_id
stringlengths
2
7
text
stringlengths
6
2.61k
title
stringclasses
1 value
c172600
// 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.
c172601
// RemoveEntity removes the entity across all systems.
c172602
// 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.
c172603
// AppendChild appends a child to the BasicEntity
c172604
// Less will return true if the ID of element at i is less than j; // part of the sort.Interface
c172605
// Swap the elements at positions i and j // part of the sort.Interface
c172606
// NewGroup creates a new broadcast group.
c172607
// Members returns a slice of Members that are currently in the Group.
c172608
// Leave removes the provided member from the group and closes him
c172609
// Add adds a member to the group for the provided interface channel.
c172610
// Broadcast messages received from one group member to others. // If incoming messages not arrived during `timeout` then function returns.
c172611
// Send broadcasts a message to every one of a Group's members.
c172612
// Send broadcasts a message from one Member to the channels of all // the other members in its group.
c172613
// NewBot creates a new instance of Bot
c172614
// Uptime returns the uptime of the bot
c172615
// Incoming message gathering routine
c172616
// Handles message speed throtling
c172617
// WaitFor will block until a message matching the given filter is received
c172618
// StandardRegistration performsa a basic set of registration commands
c172619
// Set username, real name, and mode
c172620
// SetNick sets the bots nick on the irc server
c172621
// Run starts the bot and connects to the server. Blocks until we disconnect from the server.
c172622
// ChMode is used to change users modes in a channel // operator = "+o" deop = "-o" // ban = "+b"
c172623
// Close closes the bot
c172624
// AddTrigger adds a trigger to the bot's handlers
c172625
// Handle executes the trigger action if the condition is satisfied
c172626
// StartUnixListener starts up a unix domain socket listener for reconnects to // be sent through
c172627
// Attempt to hijack session previously running bot
c172628
// Ended returns true if the Call has reached a terminal state, and false // otherwise, or if the state can't be determined.
c172629
// EndedUnsuccessfully returns true if the Call has reached a terminal state // and that state isn't "completed".
c172630
// Cancel an in-progress Call with the given sid. Cancel will not affect // in-progress Calls, only those in queued or ringing.
c172631
// Hang up an in-progress call.
c172632
// Redirect the given call to the given URL.
c172633
// Initiate a new Call.
c172634
// 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.
c172635
// 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...
c172636
// 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.
c172637
// GetRecordings returns an array of recordings for this Call. Note there may // be more than one Page of results.
c172638
// GetRecordings returns an iterator of recording pages for this Call. // Note there may be more than one Page of results.
c172639
// returns the call price by country
c172640
// returns the call price by number
c172641
// returns a list of countries where Twilio voice services are available and the corresponding URL // for retrieving the country specific voice prices.
c172642
// returns the message price by country
c172643
// returns a list of countries where Twilio messaging services are available and the corresponding URL // for retrieving the country specific messaging prices.
c172644
// 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.
c172645
// 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...
c172646
// 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.
c172647
// 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.
c172648
// StatusCode attempts to return a HTTP status code for this Alert. Returns // 0 if the status code cannot be found.
c172649
// Friendly prints out a friendly version of the Direction, following the // example shown in the Twilio Dashboard.
c172650
// SendMessage is a convenience wrapper around Create.
c172651
// GetPage returns a single page of resources. To retrieve multiple pages, use // GetPageIterator.
c172652
// 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. ...
c172653
// 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.
c172654
// Get returns a single Queue or an error.
c172655
// Create a new Queue.
c172656
// 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.
c172657
// 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...
c172658
// 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.
c172659
// 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.
c172660
// 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.
c172661
// NewTwilioTime returns a TwilioTime instance. val should be formatted using // the TimeLayout.
c172662
// Price flips the sign of the amount and prints it with a currency symbol for // the given unit.
c172663
// capitalize the first letter in s
c172664
// 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.
c172665
// returns a new Client to use the pricing API
c172666
// 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.
c172667
// CreateResource makes a POST request to the given resource.
c172668
// Make a request to the Twilio API.
c172669
// 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.
c172670
// 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".
c172671
// 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.
c172672
// Get returns a Media struct representing a Media instance, or an error.
c172673
// BuyNumber attempts to buy the provided phoneNumber and returns it if // successful.
c172674
// Get retrieves a single IncomingPhoneNumber.
c172675
// Release removes an IncomingPhoneNumber from your account.
c172676
// GetPage retrieves an IncomingPhoneNumberPage, filtered by the given data.
c172677
// Get returns a single Transcription or an error.
c172678
// 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.
c172679
// returns the phone number price by country
c172680
// returns a list of countries where Twilio phone numbers are supported
c172681
// Next asks for the next page of resources and decodes the results into v.
c172682
// 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.
c172683
// containsResultsInRange returns true if any results are in the range // [start, end).
c172684
// indexesOutsideRange returns the indexes of times in results that are outside // of [start, end). indexesOutsideRange panics if start is later than end.
c172685
// NewDefaultLogger return a logger split by fileSize by default
c172686
// init filelogger split by fileSize
c172687
// init fileLogger split by daily
c172688
// After some interval time, goto check the current fileLogger's size or date
c172689
// If the current fileLogger need to split, just split
c172690
// passive to close fileLogger
c172691
// Receive logStr from f's logChan and print logstr to file
c172692
// Printf throw logstr to channel to print to the logger. // Arguments are handled in the manner of fmt.Printf.
c172693
// Print throw logstr to channel to print to the logger. // Arguments are handled in the manner of fmt.Print.
c172694
// Println throw logstr to channel to print to the logger. // Arguments are handled in the manner of fmt.Println.
c172695
// Change the sizeSplit fileLogger's bak file count
c172696
// Change the sizeSplit fileLogger's single file size
c172697
// return length in bytes for regular files
c172698
// GetProfile fetches the recipient's profile from facebook platform // Non empty UserID has to be specified in order to receive the information
c172699
// Handler is the main HTTP handler for the Messenger service. // It MUST be attached to some web server in order to receive messages