_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c172700 | validation | // DeleteGetStartedButton delets a button set by SetGetStartedButton | {
"resource": ""
} | ||
c172701 | validation | // NewWebURLButton creates a button used in ButtonTemplate that redirects user to external address upon clicking the URL | {
"resource": ""
} | ||
c172702 | validation | // NewPostbackButton creates a button used in ButtonTemplate that upon clicking sends a payload request to the server | {
"resource": ""
} | ||
c172703 | validation | // NewPhoneNumberButton creates a button used in ButtonTemplate that upon clicking opens a native dialer | {
"resource": ""
} | ||
c172704 | validation | // Lua accepts concatenation with string and number. | {
"resource": ""
} | ||
c172705 | validation | // commonKind returns the kind to which v1 and v2 can be converted with the
// least information loss. | {
"resource": ""
} | ||
c172706 | validation | // pushNumberValue pushes the number resulting from an arithmetic operation.
//
// At least one operand must be a proxy for this function to be called. See the
// main documentation for the conversion rules. | {
"resource": ""
} | ||
c172707 | validation | // Shorthand for kind-switches. | {
"resource": ""
} | ||
c172708 | validation | // Lua 5.1 'lua_tostring' function only supports string and numbers. Extend it for internal purposes.
// From the Lua 5.3 source code. | {
"resource": ""
} | ||
c172709 | validation | // Mark value on top of the stack as visited using the registry index. | {
"resource": ""
} | ||
c172710 | validation | // Push visited value on top of the stack.
// If the value was not visited, return false and push nothing. | {
"resource": ""
} | ||
c172711 | validation | // Also for arrays. | {
"resource": ""
} | ||
c172712 | validation | // GoToLua pushes a Go value 'val' on the Lua stack.
//
// It unboxes interfaces.
//
// Pointers are followed recursively. Slices, structs and maps are copied over as tables. | {
"resource": ""
} | ||
c172713 | validation | // NewLuaObject creates a new LuaObject from stack index. | {
"resource": ""
} | ||
c172714 | validation | // NewLuaObjectFromName creates a new LuaObject from the object designated by
// the sequence of 'subfields'. | {
"resource": ""
} | ||
c172715 | validation | // NewLuaObjectFromValue creates a new LuaObject from a Go value.
// Note that this will convert any slices or maps into Lua tables. | {
"resource": ""
} | ||
c172716 | validation | // Close frees the Lua reference of this object. | {
"resource": ""
} | ||
c172717 | validation | // Get stores in 'a' the Lua value indexed at the sequence of 'subfields'.
// 'a' must be a pointer as in LuaToGo. | {
"resource": ""
} | ||
c172718 | validation | // GetObject returns the LuaObject indexed at the sequence of 'subfields'. | {
"resource": ""
} | ||
c172719 | validation | // Push pushes this LuaObject on the stack. | {
"resource": ""
} | ||
c172720 | validation | // Setv copies values between two tables in the same Lua state.
// It overwrites existing values. | {
"resource": ""
} | ||
c172721 | validation | // Iter creates a Lua iterator. | {
"resource": ""
} | ||
c172722 | validation | // NewClient creates a new Client connection from the user name, password and
// resource passed to it. It uses default host URL and conf URL. | {
"resource": ""
} | ||
c172723 | validation | // NewClientWithServerInfo creates a new Client connection from the user name, password,
// resource, host URL and conf URL passed to it. | {
"resource": ""
} | ||
c172724 | validation | // Status sends a string to HipChat to indicate whether the client is available
// to chat, away or idle. | {
"resource": ""
} | ||
c172725 | validation | // Join accepts the room id and the name used to display the client in the
// room. | {
"resource": ""
} | ||
c172726 | validation | // Part accepts the room id to part. | {
"resource": ""
} | ||
c172727 | validation | // Say accepts a room id, the name of the client in the room, and the message
// body and sends the message to the HipChat room. | {
"resource": ""
} | ||
c172728 | validation | // PrivSay accepts a client id, the name of the client, and the message
// body and sends the private message to the HipChat
// user. | {
"resource": ""
} | ||
c172729 | validation | // KeepAlive is meant to run as a goroutine. It sends a single whitespace
// character to HipChat every 60 seconds. This keeps the connection from
// idling after 150 seconds. | {
"resource": ""
} | ||
c172730 | validation | // RequestRooms will send an outgoing request to get
// the room information for all rooms | {
"resource": ""
} | ||
c172731 | validation | // RequestUsers will send an outgoing request to get
// the user information for all users | {
"resource": ""
} | ||
c172732 | validation | // Make a deep copy from src into dst. | {
"resource": ""
} | ||
c172733 | validation | // ToTable turns StringData type into a TabularData type | {
"resource": ""
} | ||
c172734 | validation | // NumRows returns the number of rows in a table map | {
"resource": ""
} | ||
c172735 | validation | // LongestLine returns the longest step line in a scenario. | {
"resource": ""
} | ||
c172736 | validation | // LongestLine returns the longest step line in a feature. | {
"resource": ""
} | ||
c172737 | validation | // BuildAndRunDirWithGoBuildTags builds the given director's features into Go
// Code using the filters provided. Also takes a string for the build tags to
// be passed to the go command. An error is returned if the build fails.
//
// If goBuildTags is empty, the param will be ignored. | {
"resource": ""
} | ||
c172738 | validation | // ToSlash is being used to coerce the different
// os PathSeparators into the forward slash
// as the forward slash is required by Go's import statement | {
"resource": ""
} | ||
c172739 | validation | // Encode in little endian | {
"resource": ""
} | ||
c172740 | validation | // Decode parses a RDB file from r and calls the decode hooks on d. | {
"resource": ""
} | ||
c172741 | validation | // Calls putPart up to nTry times to recover from transient errors. | {
"resource": ""
} | ||
c172742 | validation | // uploads a part, checking the etag against the calculated value | {
"resource": ""
} | ||
c172743 | validation | // Try to abort multipart upload. Do not error on failure. | {
"resource": ""
} | ||
c172744 | validation | // Check the virtual server instance is ready for use | {
"resource": ""
} | ||
c172745 | validation | // Find the price in the given package that has the specified category | {
"resource": ""
} | ||
c172746 | validation | // Find the price in the given package with the specified size | {
"resource": ""
} | ||
c172747 | validation | // Find the price in the given package with the specified size and iops | {
"resource": ""
} | ||
c172748 | validation | // WithTimeout adds the timeout to the find vms by states params | {
"resource": ""
} | ||
c172749 | validation | // WithContext adds the context to the find vms by states params | {
"resource": ""
} | ||
c172750 | validation | // WithStates adds the states to the find vms by states params | {
"resource": ""
} | ||
c172751 | validation | // WithPayload adds the payload to the update Vm with state o k response | {
"resource": ""
} | ||
c172752 | validation | // WithTimeout adds the timeout to the order Vm by filter params | {
"resource": ""
} | ||
c172753 | validation | // WithContext adds the context to the order Vm by filter params | {
"resource": ""
} | ||
c172754 | validation | // WithBody adds the body to the order Vm by filter params | {
"resource": ""
} | ||
c172755 | validation | // Update updates the agent settings for a given instance ID. | {
"resource": ""
} | ||
c172756 | validation | // NewHTTPClient creates a new soft layer VM pool HTTP client. | {
"resource": ""
} | ||
c172757 | validation | // New creates a new soft layer VM pool client | {
"resource": ""
} | ||
c172758 | validation | // SetTransport changes the transport on the client and all its subresources | {
"resource": ""
} | ||
c172759 | validation | // Validate validates this vms response | {
"resource": ""
} | ||
c172760 | validation | // WithTimeout adds the timeout to the find vms by deployment params | {
"resource": ""
} | ||
c172761 | validation | // WithContext adds the context to the find vms by deployment params | {
"resource": ""
} | ||
c172762 | validation | // WithDeployment adds the deployment to the find vms by deployment params | {
"resource": ""
} | ||
c172763 | validation | // WithTimeout adds the timeout to the update Vm params | {
"resource": ""
} | ||
c172764 | validation | // WithContext adds the context to the update Vm params | {
"resource": ""
} | ||
c172765 | validation | // WithBody adds the body to the update Vm params | {
"resource": ""
} | ||
c172766 | validation | // NewAgentSettings creates new agent settings for a VM. | {
"resource": ""
} | ||
c172767 | validation | // ConfigureNetworks updates the agent settings with the networks settings. | {
"resource": ""
} | ||
c172768 | validation | // DetachPersistentDisk updates the agent settings in order to delete an attached persistent disk. | {
"resource": ""
} | ||
c172769 | validation | // Validate validates the TLS options. | {
"resource": ""
} | ||
c172770 | validation | // WithTimeout adds the timeout to the find vms by filters params | {
"resource": ""
} | ||
c172771 | validation | // WithContext adds the context to the find vms by filters params | {
"resource": ""
} | ||
c172772 | validation | // WithBody adds the body to the find vms by filters params | {
"resource": ""
} | ||
c172773 | validation | // WithTimeout adds the timeout to the delete Vm params | {
"resource": ""
} | ||
c172774 | validation | // WithContext adds the context to the delete Vm params | {
"resource": ""
} | ||
c172775 | validation | // WithCid adds the cid to the delete Vm params | {
"resource": ""
} | ||
c172776 | validation | // WithPayload adds the payload to the add Vm o k response | {
"resource": ""
} | ||
c172777 | validation | // Validate validates this state | {
"resource": ""
} | ||
c172778 | validation | // WithTimeout adds the timeout to the update Vm with state params | {
"resource": ""
} | ||
c172779 | validation | // WithContext adds the context to the update Vm with state params | {
"resource": ""
} | ||
c172780 | validation | // WithBody adds the body to the update Vm with state params | {
"resource": ""
} | ||
c172781 | validation | // WithCid adds the cid to the update Vm with state params | {
"resource": ""
} | ||
c172782 | validation | // WithTimeout adds the timeout to the add Vm params | {
"resource": ""
} | ||
c172783 | validation | // WithContext adds the context to the add Vm params | {
"resource": ""
} | ||
c172784 | validation | // WithBody adds the body to the add Vm params | {
"resource": ""
} | ||
c172785 | validation | // Validate validates the Agent options. | {
"resource": ""
} | ||
c172786 | validation | // WithTimeout adds the timeout to the list Vm params | {
"resource": ""
} | ||
c172787 | validation | // WithContext adds the context to the list Vm params | {
"resource": ""
} | ||
c172788 | validation | // WithPayload adds the payload to the order Vm by filter o k response | {
"resource": ""
} | ||
c172789 | validation | // Validate validates this error type | {
"resource": ""
} | ||
c172790 | validation | // WithTimeout adds the timeout to the get Vm by cid params | {
"resource": ""
} | ||
c172791 | validation | // WithContext adds the context to the get Vm by cid params | {
"resource": ""
} | ||
c172792 | validation | // WithCid adds the cid to the get Vm by cid params | {
"resource": ""
} | ||
c172793 | validation | // Validate validates this Vm response | {
"resource": ""
} | ||
c172794 | validation | // LoadCodec loads a pre-compiled language file | {
"resource": ""
} | ||
c172795 | validation | // MustLoadCodec panics if word bank is missing, only for tests | {
"resource": ""
} | ||
c172796 | validation | // loadBank opens a wordlist file and returns all words inside | {
"resource": ""
} | ||
c172797 | validation | // given this many words, we will produce this many bytes.
// sometimes there are two possibilities.
// if maybeShorter is true, then represents len OR len-1 bytes | {
"resource": ""
} | ||
c172798 | validation | // GetIndex finds the index of the words to create bytes
// Generates a map the first time it is loaded, to avoid needless
// computation when list is not used. | {
"resource": ""
} | ||
c172799 | validation | // Sum returns the first 20 bytes of SHA256 of the bz. | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.