_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c172600 | validation | // Update updates each System managed by the World. It is invoked by the engine
// once every frame, with dt being the duration since the previous update. | {
"resource": ""
} | ||
c172601 | validation | // RemoveEntity removes the entity across all systems. | {
"resource": ""
} | ||
c172602 | validation | // NewBasics creates an amount of new entities with a new unique identifiers. It
// is safe for concurrent use, and performs better than NewBasic for large
// numbers of entities. | {
"resource": ""
} | ||
c172603 | validation | // AppendChild appends a child to the BasicEntity | {
"resource": ""
} | ||
c172604 | validation | // Less will return true if the ID of element at i is less than j;
// part of the sort.Interface | {
"resource": ""
} | ||
c172605 | validation | // Swap the elements at positions i and j
// part of the sort.Interface | {
"resource": ""
} | ||
c172606 | validation | // NewGroup creates a new broadcast group. | {
"resource": ""
} | ||
c172607 | validation | // Members returns a slice of Members that are currently in the Group. | {
"resource": ""
} | ||
c172608 | validation | // Leave removes the provided member from the group and closes him | {
"resource": ""
} | ||
c172609 | validation | // Add adds a member to the group for the provided interface channel. | {
"resource": ""
} | ||
c172610 | validation | // Broadcast messages received from one group member to others.
// If incoming messages not arrived during `timeout` then function returns. | {
"resource": ""
} | ||
c172611 | validation | // Send broadcasts a message to every one of a Group's members. | {
"resource": ""
} | ||
c172612 | validation | // Send broadcasts a message from one Member to the channels of all
// the other members in its group. | {
"resource": ""
} | ||
c172613 | validation | // NewBot creates a new instance of Bot | {
"resource": ""
} | ||
c172614 | validation | // Uptime returns the uptime of the bot | {
"resource": ""
} | ||
c172615 | validation | // Incoming message gathering routine | {
"resource": ""
} | ||
c172616 | validation | // Handles message speed throtling | {
"resource": ""
} | ||
c172617 | validation | // WaitFor will block until a message matching the given filter is received | {
"resource": ""
} | ||
c172618 | validation | // StandardRegistration performsa a basic set of registration commands | {
"resource": ""
} | ||
c172619 | validation | // Set username, real name, and mode | {
"resource": ""
} | ||
c172620 | validation | // SetNick sets the bots nick on the irc server | {
"resource": ""
} | ||
c172621 | validation | // Run starts the bot and connects to the server. Blocks until we disconnect from the server. | {
"resource": ""
} | ||
c172622 | validation | // ChMode is used to change users modes in a channel
// operator = "+o" deop = "-o"
// ban = "+b" | {
"resource": ""
} | ||
c172623 | validation | // Close closes the bot | {
"resource": ""
} | ||
c172624 | validation | // AddTrigger adds a trigger to the bot's handlers | {
"resource": ""
} | ||
c172625 | validation | // Handle executes the trigger action if the condition is satisfied | {
"resource": ""
} | ||
c172626 | validation | // StartUnixListener starts up a unix domain socket listener for reconnects to
// be sent through | {
"resource": ""
} | ||
c172627 | validation | // Attempt to hijack session previously running bot | {
"resource": ""
} | ||
c172628 | validation | // Ended returns true if the Call has reached a terminal state, and false
// otherwise, or if the state can't be determined. | {
"resource": ""
} | ||
c172629 | validation | // EndedUnsuccessfully returns true if the Call has reached a terminal state
// and that state isn't "completed". | {
"resource": ""
} | ||
c172630 | validation | // Cancel an in-progress Call with the given sid. Cancel will not affect
// in-progress Calls, only those in queued or ringing. | {
"resource": ""
} | ||
c172631 | validation | // Hang up an in-progress call. | {
"resource": ""
} | ||
c172632 | validation | // Redirect the given call to the given URL. | {
"resource": ""
} | ||
c172633 | validation | // Initiate a new Call. | {
"resource": ""
} | ||
c172634 | validation | // MakeCall starts a new Call from the given phone number to the given phone
// number, dialing the url when the call connects. MakeCall is a wrapper around
// Create; if you need more configuration, call that function directly. | {
"resource": ""
} | ||
c172635 | validation | // GetCallsInRange gets an Iterator containing calls in the range [start, end),
// optionally further filtered by data. GetCallsInRange panics if start is not
// before end. Any date filters provided in data will be ignored. If you have
// an end, but don't want to specify a start, use twilio.Epoch for start. If
// you... | {
"resource": ""
} | ||
c172636 | validation | // GetNextCallsInRange retrieves the page at the nextPageURI and continues
// retrieving pages until any results are found in the range given by start or
// end, or we determine there are no more records to be found in that range.
//
// If CallPage is non-nil, it will have at least one result. | {
"resource": ""
} | ||
c172637 | validation | // GetRecordings returns an array of recordings for this Call. Note there may
// be more than one Page of results. | {
"resource": ""
} | ||
c172638 | validation | // GetRecordings returns an iterator of recording pages for this Call.
// Note there may be more than one Page of results. | {
"resource": ""
} | ||
c172639 | validation | // returns the call price by country | {
"resource": ""
} | ||
c172640 | validation | // returns the call price by number | {
"resource": ""
} | ||
c172641 | validation | // returns a list of countries where Twilio voice services are available and the corresponding URL
// for retrieving the country specific voice prices. | {
"resource": ""
} | ||
c172642 | validation | // returns the message price by country | {
"resource": ""
} | ||
c172643 | validation | // returns a list of countries where Twilio messaging services are available and the corresponding URL
// for retrieving the country specific messaging prices. | {
"resource": ""
} | ||
c172644 | validation | // Delete the Key with the given sid. If the Key has already been
// deleted, or does not exist, Delete returns nil. If another error or a
// timeout occurs, the error is returned. | {
"resource": ""
} | ||
c172645 | validation | // GetAlertsInRange gets an Iterator containing conferences in the range
// [start, end), optionally further filtered by data. GetAlertsInRange
// panics if start is not before end. Any date filters provided in data will
// be ignored. If you have an end, but don't want to specify a start, use
// twilio.Epoch for start... | {
"resource": ""
} | ||
c172646 | validation | // GetNextAlertsInRange retrieves the page at the nextPageURI and continues
// retrieving pages until any results are found in the range given by start or
// end, or we determine there are no more records to be found in that range.
//
// If AlertPage is non-nil, it will have at least one result. | {
"resource": ""
} | ||
c172647 | validation | // Description tries as hard as possible to give you a one sentence description
// of this Alert, based on its contents. Description does not include a
// trailing period. | {
"resource": ""
} | ||
c172648 | validation | // StatusCode attempts to return a HTTP status code for this Alert. Returns
// 0 if the status code cannot be found. | {
"resource": ""
} | ||
c172649 | validation | // Friendly prints out a friendly version of the Direction, following the
// example shown in the Twilio Dashboard. | {
"resource": ""
} | ||
c172650 | validation | // SendMessage is a convenience wrapper around Create. | {
"resource": ""
} | ||
c172651 | validation | // GetPage returns a single page of resources. To retrieve multiple pages, use
// GetPageIterator. | {
"resource": ""
} | ||
c172652 | validation | // GetMessagesInRange gets an Iterator containing calls in the range [start,
// end), optionally further filtered by data. GetMessagesInRange panics if
// start is not before end. Any date filters provided in data will be ignored.
// If you have an end, but don't want to specify a start, use twilio.Epoch for
// start. ... | {
"resource": ""
} | ||
c172653 | validation | // GetNextMessagesInRange retrieves the page at the nextPageURI and continues
// retrieving pages until any results are found in the range given by start or
// end, or we determine there are no more records to be found in that range.
//
// If MessagePage is non-nil, it will have at least one result. | {
"resource": ""
} | ||
c172654 | validation | // Get returns a single Queue or an error. | {
"resource": ""
} | ||
c172655 | validation | // Create a new Queue. | {
"resource": ""
} | ||
c172656 | validation | // Delete the Queue with the given sid. If the Queue has
// already been deleted, or does not exist, Delete returns nil. If another
// error or a timeout occurs, the error is returned. | {
"resource": ""
} | ||
c172657 | validation | // GetConferencesInRange gets an Iterator containing conferences in the range
// [start, end), optionally further filtered by data. GetConferencesInRange
// panics if start is not before end. Any date filters provided in data will
// be ignored. If you have an end, but don't want to specify a start, use
// twilio.Epoch... | {
"resource": ""
} | ||
c172658 | validation | // GetNextConferencesInRange retrieves the page at the nextPageURI and continues
// retrieving pages until any results are found in the range given by start or
// end, or we determine there are no more records to be found in that range.
//
// If ConferencePage is non-nil, it will have at least one result. | {
"resource": ""
} | ||
c172659 | validation | // NewPhoneNumber parses the given value as a phone number or returns an error
// if it cannot be parsed as one. If a phone number does not begin with a plus
// sign, we assume it's a US national number. Numbers are stored in E.164
// format. | {
"resource": ""
} | ||
c172660 | validation | // Friendly returns a friendly international representation of the phone
// number, for example, "+14105554092" is returned as "+1 410-555-4092". If the
// phone number is not in E.164 format, we try to parse it as a US number. If
// we cannot parse it as a US number, it is returned as is. | {
"resource": ""
} | ||
c172661 | validation | // NewTwilioTime returns a TwilioTime instance. val should be formatted using
// the TimeLayout. | {
"resource": ""
} | ||
c172662 | validation | // Price flips the sign of the amount and prints it with a currency symbol for
// the given unit. | {
"resource": ""
} | ||
c172663 | validation | // capitalize the first letter in s | {
"resource": ""
} | ||
c172664 | validation | // Delete the Caller ID with the given sid. If the ID has already been deleted,
// or does not exist, Delete returns nil. If another error or a timeout occurs,
// the error is returned. | {
"resource": ""
} | ||
c172665 | validation | // returns a new Client to use the pricing API | {
"resource": ""
} | ||
c172666 | validation | // NewClient creates a Client for interacting with the Twilio API. This is the
// main entrypoint for API interactions; view the methods on the subresources
// for more information. | {
"resource": ""
} | ||
c172667 | validation | // CreateResource makes a POST request to the given resource. | {
"resource": ""
} | ||
c172668 | validation | // Make a request to the Twilio API. | {
"resource": ""
} | ||
c172669 | validation | // Delete the Application with the given sid. If the Application has already been
// deleted, or does not exist, Delete returns nil. If another error or a
// timeout occurs, the error is returned. | {
"resource": ""
} | ||
c172670 | validation | // URL returns the URL that can be used to play this recording, based on the
// extension. No error is returned if you provide an invalid extension. As of
// October 2016, the valid values are ".wav" and ".mp3". | {
"resource": ""
} | ||
c172671 | validation | // Delete the Recording with the given sid. If the Recording has already been
// deleted, or does not exist, Delete returns nil. If another error or a
// timeout occurs, the error is returned. | {
"resource": ""
} | ||
c172672 | validation | // Get returns a Media struct representing a Media instance, or an error. | {
"resource": ""
} | ||
c172673 | validation | // BuyNumber attempts to buy the provided phoneNumber and returns it if
// successful. | {
"resource": ""
} | ||
c172674 | validation | // Get retrieves a single IncomingPhoneNumber. | {
"resource": ""
} | ||
c172675 | validation | // Release removes an IncomingPhoneNumber from your account. | {
"resource": ""
} | ||
c172676 | validation | // GetPage retrieves an IncomingPhoneNumberPage, filtered by the given data. | {
"resource": ""
} | ||
c172677 | validation | // Get returns a single Transcription or an error. | {
"resource": ""
} | ||
c172678 | validation | // Delete the Transcription with the given sid. If the Transcription has
// already been deleted, or does not exist, Delete returns nil. If another
// error or a timeout occurs, the error is returned. | {
"resource": ""
} | ||
c172679 | validation | // returns the phone number price by country | {
"resource": ""
} | ||
c172680 | validation | // returns a list of countries where Twilio phone numbers are supported | {
"resource": ""
} | ||
c172681 | validation | // Next asks for the next page of resources and decodes the results into v. | {
"resource": ""
} | ||
c172682 | validation | // NewNextPageIterator returns a PageIterator based on the provided
// nextPageURI, and is designed for iterating if you have a nextPageURI and not
// a list of query values.
//
// NewNextPageIterator panics if nextPageURI is empty. | {
"resource": ""
} | ||
c172683 | validation | // containsResultsInRange returns true if any results are in the range
// [start, end). | {
"resource": ""
} | ||
c172684 | validation | // indexesOutsideRange returns the indexes of times in results that are outside
// of [start, end). indexesOutsideRange panics if start is later than end. | {
"resource": ""
} | ||
c172685 | validation | // NewDefaultLogger return a logger split by fileSize by default | {
"resource": ""
} | ||
c172686 | validation | // init filelogger split by fileSize | {
"resource": ""
} | ||
c172687 | validation | // init fileLogger split by daily | {
"resource": ""
} | ||
c172688 | validation | // After some interval time, goto check the current fileLogger's size or date | {
"resource": ""
} | ||
c172689 | validation | // If the current fileLogger need to split, just split | {
"resource": ""
} | ||
c172690 | validation | // passive to close fileLogger | {
"resource": ""
} | ||
c172691 | validation | // Receive logStr from f's logChan and print logstr to file | {
"resource": ""
} | ||
c172692 | validation | // Printf throw logstr to channel to print to the logger.
// Arguments are handled in the manner of fmt.Printf. | {
"resource": ""
} | ||
c172693 | validation | // Print throw logstr to channel to print to the logger.
// Arguments are handled in the manner of fmt.Print. | {
"resource": ""
} | ||
c172694 | validation | // Println throw logstr to channel to print to the logger.
// Arguments are handled in the manner of fmt.Println. | {
"resource": ""
} | ||
c172695 | validation | // Change the sizeSplit fileLogger's bak file count | {
"resource": ""
} | ||
c172696 | validation | // Change the sizeSplit fileLogger's single file size | {
"resource": ""
} | ||
c172697 | validation | // return length in bytes for regular files | {
"resource": ""
} | ||
c172698 | validation | // GetProfile fetches the recipient's profile from facebook platform
// Non empty UserID has to be specified in order to receive the information | {
"resource": ""
} | ||
c172699 | validation | // Handler is the main HTTP handler for the Messenger service.
// It MUST be attached to some web server in order to receive messages | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.