_id
stringlengths
2
7
text
stringlengths
6
2.61k
title
stringclasses
1 value
c172700
// DeleteGetStartedButton delets a button set by SetGetStartedButton
c172701
// NewWebURLButton creates a button used in ButtonTemplate that redirects user to external address upon clicking the URL
c172702
// NewPostbackButton creates a button used in ButtonTemplate that upon clicking sends a payload request to the server
c172703
// NewPhoneNumberButton creates a button used in ButtonTemplate that upon clicking opens a native dialer
c172704
// Lua accepts concatenation with string and number.
c172705
// commonKind returns the kind to which v1 and v2 can be converted with the // least information loss.
c172706
// 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.
c172707
// Shorthand for kind-switches.
c172708
// Lua 5.1 'lua_tostring' function only supports string and numbers. Extend it for internal purposes. // From the Lua 5.3 source code.
c172709
// Mark value on top of the stack as visited using the registry index.
c172710
// Push visited value on top of the stack. // If the value was not visited, return false and push nothing.
c172711
// Also for arrays.
c172712
// 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.
c172713
// NewLuaObject creates a new LuaObject from stack index.
c172714
// NewLuaObjectFromName creates a new LuaObject from the object designated by // the sequence of 'subfields'.
c172715
// NewLuaObjectFromValue creates a new LuaObject from a Go value. // Note that this will convert any slices or maps into Lua tables.
c172716
// Close frees the Lua reference of this object.
c172717
// Get stores in 'a' the Lua value indexed at the sequence of 'subfields'. // 'a' must be a pointer as in LuaToGo.
c172718
// GetObject returns the LuaObject indexed at the sequence of 'subfields'.
c172719
// Push pushes this LuaObject on the stack.
c172720
// Setv copies values between two tables in the same Lua state. // It overwrites existing values.
c172721
// Iter creates a Lua iterator.
c172722
// NewClient creates a new Client connection from the user name, password and // resource passed to it. It uses default host URL and conf URL.
c172723
// NewClientWithServerInfo creates a new Client connection from the user name, password, // resource, host URL and conf URL passed to it.
c172724
// Status sends a string to HipChat to indicate whether the client is available // to chat, away or idle.
c172725
// Join accepts the room id and the name used to display the client in the // room.
c172726
// Part accepts the room id to part.
c172727
// 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.
c172728
// PrivSay accepts a client id, the name of the client, and the message // body and sends the private message to the HipChat // user.
c172729
// 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.
c172730
// RequestRooms will send an outgoing request to get // the room information for all rooms
c172731
// RequestUsers will send an outgoing request to get // the user information for all users
c172732
// Make a deep copy from src into dst.
c172733
// ToTable turns StringData type into a TabularData type
c172734
// NumRows returns the number of rows in a table map
c172735
// LongestLine returns the longest step line in a scenario.
c172736
// LongestLine returns the longest step line in a feature.
c172737
// 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.
c172738
// 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
c172739
// Encode in little endian
c172740
// Decode parses a RDB file from r and calls the decode hooks on d.
c172741
// Calls putPart up to nTry times to recover from transient errors.
c172742
// uploads a part, checking the etag against the calculated value
c172743
// Try to abort multipart upload. Do not error on failure.
c172744
// Check the virtual server instance is ready for use
c172745
// Find the price in the given package that has the specified category
c172746
// Find the price in the given package with the specified size
c172747
// Find the price in the given package with the specified size and iops
c172748
// WithTimeout adds the timeout to the find vms by states params
c172749
// WithContext adds the context to the find vms by states params
c172750
// WithStates adds the states to the find vms by states params
c172751
// WithPayload adds the payload to the update Vm with state o k response
c172752
// WithTimeout adds the timeout to the order Vm by filter params
c172753
// WithContext adds the context to the order Vm by filter params
c172754
// WithBody adds the body to the order Vm by filter params
c172755
// Update updates the agent settings for a given instance ID.
c172756
// NewHTTPClient creates a new soft layer VM pool HTTP client.
c172757
// New creates a new soft layer VM pool client
c172758
// SetTransport changes the transport on the client and all its subresources
c172759
// Validate validates this vms response
c172760
// WithTimeout adds the timeout to the find vms by deployment params
c172761
// WithContext adds the context to the find vms by deployment params
c172762
// WithDeployment adds the deployment to the find vms by deployment params
c172763
// WithTimeout adds the timeout to the update Vm params
c172764
// WithContext adds the context to the update Vm params
c172765
// WithBody adds the body to the update Vm params
c172766
// NewAgentSettings creates new agent settings for a VM.
c172767
// ConfigureNetworks updates the agent settings with the networks settings.
c172768
// DetachPersistentDisk updates the agent settings in order to delete an attached persistent disk.
c172769
// Validate validates the TLS options.
c172770
// WithTimeout adds the timeout to the find vms by filters params
c172771
// WithContext adds the context to the find vms by filters params
c172772
// WithBody adds the body to the find vms by filters params
c172773
// WithTimeout adds the timeout to the delete Vm params
c172774
// WithContext adds the context to the delete Vm params
c172775
// WithCid adds the cid to the delete Vm params
c172776
// WithPayload adds the payload to the add Vm o k response
c172777
// Validate validates this state
c172778
// WithTimeout adds the timeout to the update Vm with state params
c172779
// WithContext adds the context to the update Vm with state params
c172780
// WithBody adds the body to the update Vm with state params
c172781
// WithCid adds the cid to the update Vm with state params
c172782
// WithTimeout adds the timeout to the add Vm params
c172783
// WithContext adds the context to the add Vm params
c172784
// WithBody adds the body to the add Vm params
c172785
// Validate validates the Agent options.
c172786
// WithTimeout adds the timeout to the list Vm params
c172787
// WithContext adds the context to the list Vm params
c172788
// WithPayload adds the payload to the order Vm by filter o k response
c172789
// Validate validates this error type
c172790
// WithTimeout adds the timeout to the get Vm by cid params
c172791
// WithContext adds the context to the get Vm by cid params
c172792
// WithCid adds the cid to the get Vm by cid params
c172793
// Validate validates this Vm response
c172794
// LoadCodec loads a pre-compiled language file
c172795
// MustLoadCodec panics if word bank is missing, only for tests
c172796
// loadBank opens a wordlist file and returns all words inside
c172797
// 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
c172798
// 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.
c172799
// Sum returns the first 20 bytes of SHA256 of the bz.