_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c25200 | train | // aggregate accumulates the datapoints. | {
"resource": ""
} | ||
c25201 | train | // Error string. | {
"resource": ""
} | ||
c25202 | train | // Build runs the "build" hook commands. | {
"resource": ""
} | ||
c25203 | train | // Deploy runs the "deploy" hook commands. | {
"resource": ""
} | ||
c25204 | train | // run a hook command. | {
"resource": ""
} | ||
c25205 | train | // ClearHeader removes all header fields. | {
"resource": ""
} | ||
c25206 | train | // ReadFileJSON reads json from the given path. | {
"resource": ""
} | ||
c25207 | train | // Camelcase string with optional args. | {
"resource": ""
} | ||
c25208 | train | // NewInlineProgressInt with the given total. | {
"resource": ""
} | ||
c25209 | train | // Fatal error. | {
"resource": ""
} | ||
c25210 | train | // IsJSON returns true if the string looks like json. | {
"resource": ""
} | ||
c25211 | train | // IsNotFound returns true if err is not nil and represents a missing resource. | {
"resource": ""
} | ||
c25212 | train | // Env returns a slice from environment variable map. | {
"resource": ""
} | ||
c25213 | train | // PrefixLines prefixes the lines in s with prefix. | {
"resource": ""
} | ||
c25214 | train | // WaitForListen blocks until `u` is listening with timeout. | {
"resource": ""
} | ||
c25215 | train | // IsListening returns true if there's a server listening on `u`. | {
"resource": ""
} | ||
c25216 | train | // ExitStatus returns the exit status of cmd. | {
"resource": ""
} | ||
c25217 | train | // Log outputs a log message. | {
"resource": ""
} | ||
c25218 | train | // LogClear clears the line and outputs a log message. | {
"resource": ""
} | ||
c25219 | train | // LogTitle outputs a log title. | {
"resource": ""
} | ||
c25220 | train | // LogName outputs a log message with name. | {
"resource": ""
} | ||
c25221 | train | // LogListItem outputs a list item. | {
"resource": ""
} | ||
c25222 | train | // ToFloat returns a float or NaN. | {
"resource": ""
} | ||
c25223 | train | // MillisecondsSince returns the duration as milliseconds relative to time t. | {
"resource": ""
} | ||
c25224 | train | // ParseDuration string with day and month approximation support. | {
"resource": ""
} | ||
c25225 | train | // ParseSections returns INI style sections from r. | {
"resource": ""
} | ||
c25226 | train | // Cost returns the total cost. | {
"resource": ""
} | ||
c25227 | train | // functionVars returns the function variables as terraform -var arguments. | {
"resource": ""
} | ||
c25228 | train | // Generate a series of variables apex_function_FUNCTION that contains the arn of the functions
// This function is being phased out in favour of apex_function_arns | {
"resource": ""
} | ||
c25229 | train | // Generates a map that has the function's name as a key and the arn of the function as a value | {
"resource": ""
} | ||
c25230 | train | // Generates a map that has the function's name as a key and the full name of the function as a value | {
"resource": ""
} | ||
c25231 | train | // Run command in specified directory. | {
"resource": ""
} | ||
c25232 | train | // Collect and aggregate metrics for multiple functions. | {
"resource": ""
} | ||
c25233 | train | // find command by `name`. | {
"resource": ""
} | ||
c25234 | train | // output root commands. | {
"resource": ""
} | ||
c25235 | train | // output flags. | {
"resource": ""
} | ||
c25236 | train | // Open checks for files in the function directory to infer its runtime. | {
"resource": ""
} | ||
c25237 | train | // NewProvider with session and dry run | {
"resource": ""
} | ||
c25238 | train | // NewService returns Lambda service with AWS config | {
"resource": ""
} | ||
c25239 | train | // Build adds the nodejs shim files. | {
"resource": ""
} | ||
c25240 | train | // outputTFvars format. | {
"resource": ""
} | ||
c25241 | train | // outputList format. | {
"resource": ""
} | ||
c25242 | train | // free a range of fecPacket | {
"resource": ""
} | ||
c25243 | train | // the read loop for a client session | {
"resource": ""
} | ||
c25244 | train | // monitor incoming data for all connections of server | {
"resource": ""
} | ||
c25245 | train | // encode a segment into buffer | {
"resource": ""
} | ||
c25246 | train | // NewKCP create a new kcp control object, 'conv' must equal in two endpoint
// from the same connection. | {
"resource": ""
} | ||
c25247 | train | // newSegment creates a KCP segment | {
"resource": ""
} | ||
c25248 | train | // delSegment recycles a KCP segment | {
"resource": ""
} | ||
c25249 | train | // ReserveBytes keeps n bytes untouched from the beginning of the buffer
// the output_callback function should be aware of this
// return false if n >= mss | {
"resource": ""
} | ||
c25250 | train | // PeekSize checks the size of next message in the recv queue | {
"resource": ""
} | ||
c25251 | train | // returns true if data has repeated | {
"resource": ""
} | ||
c25252 | train | // SetMtu changes MTU size, default is 1400 | {
"resource": ""
} | ||
c25253 | train | // WaitSnd gets how many packet is waiting to be sent | {
"resource": ""
} | ||
c25254 | train | // newUDPSession create a new udp session for client or server | {
"resource": ""
} | ||
c25255 | train | // WriteBuffers write a vector of byte slices to the underlying connection | {
"resource": ""
} | ||
c25256 | train | // SetWriteDelay delays write for bulk transfer until the next update interval | {
"resource": ""
} | ||
c25257 | train | // SetWindowSize set maximum window size | {
"resource": ""
} | ||
c25258 | train | // SetACKNoDelay changes ack flush option, set true to flush ack immediately, | {
"resource": ""
} | ||
c25259 | train | // SetDUP duplicates udp packets for kcp output, for testing purpose only | {
"resource": ""
} | ||
c25260 | train | // SetReadBuffer sets the socket read buffer, no effect if it's accepted from Listener | {
"resource": ""
} | ||
c25261 | train | // kcp update, returns interval for next calling | {
"resource": ""
} | ||
c25262 | train | // SetReadBuffer sets the socket read buffer for the Listener | {
"resource": ""
} | ||
c25263 | train | // SetWriteBuffer sets the socket write buffer for the Listener | {
"resource": ""
} | ||
c25264 | train | // SetDSCP sets the 6bit DSCP field of IP header | {
"resource": ""
} | ||
c25265 | train | // AcceptKCP accepts a KCP connection | {
"resource": ""
} | ||
c25266 | train | // Close stops listening on the UDP address. Already Accepted connections are not closed. | {
"resource": ""
} | ||
c25267 | train | // closeSession notify the listener that a session has closed | {
"resource": ""
} | ||
c25268 | train | // ListenWithOptions listens for incoming KCP packets addressed to the local address laddr on the network "udp" with packet encryption,
// dataShards, parityShards defines Reed-Solomon Erasure Coding parameters | {
"resource": ""
} | ||
c25269 | train | // ServeConn serves KCP protocol for a single packet connection. | {
"resource": ""
} | ||
c25270 | train | // DialWithOptions connects to the remote address "raddr" on the network "udp" with packet encryption | {
"resource": ""
} | ||
c25271 | train | // NewConn establishes a session and talks KCP protocol over a packet connection. | {
"resource": ""
} | ||
c25272 | train | // ToSlice returns current snmp info as slice | {
"resource": ""
} | ||
c25273 | train | // Copy make a copy of current snmp snapshot | {
"resource": ""
} | ||
c25274 | train | // Reset values to zero | {
"resource": ""
} | ||
c25275 | train | // NewSimpleXORBlockCrypt simple xor with key expanding | {
"resource": ""
} | ||
c25276 | train | // packet encryption with local CFB mode | {
"resource": ""
} | ||
c25277 | train | // LocalAddr is used to get the local address of the
// underlying connection. | {
"resource": ""
} | ||
c25278 | train | // newStream is used to construct a new stream within
// a given session for an ID | {
"resource": ""
} | ||
c25279 | train | // Read is used to read from the stream | {
"resource": ""
} | ||
c25280 | train | // Write is used to write to the stream | {
"resource": ""
} | ||
c25281 | train | // write is used to write to the stream, may return on
// a short write. | {
"resource": ""
} | ||
c25282 | train | // sendFlags determines any flags that are appropriate
// based on the current stream state | {
"resource": ""
} | ||
c25283 | train | // sendWindowUpdate potentially sends a window update enabling
// further writes to take place. Must be invoked with the lock. | {
"resource": ""
} | ||
c25284 | train | // sendClose is used to send a FIN | {
"resource": ""
} | ||
c25285 | train | // Close is used to close the stream | {
"resource": ""
} | ||
c25286 | train | // forceClose is used for when the session is exiting | {
"resource": ""
} | ||
c25287 | train | // processFlags is used to update the state of the stream
// based on set flags, if any. Lock must be held | {
"resource": ""
} | ||
c25288 | train | // incrSendWindow updates the size of our send window | {
"resource": ""
} | ||
c25289 | train | // readData is used to handle a data frame | {
"resource": ""
} | ||
c25290 | train | // SetDeadline sets the read and write deadlines | {
"resource": ""
} | ||
c25291 | train | // SetWriteDeadline sets the deadline for future Write calls | {
"resource": ""
} | ||
c25292 | train | // Shrink is used to compact the amount of buffers utilized
// This is useful when using Yamux in a connection pool to reduce
// the idle memory utilization. | {
"resource": ""
} | ||
c25293 | train | // Server is used to initialize a new server-side connection.
// There must be at most one server-side connection. If a nil config is
// provided, the DefaultConfiguration will be used. | {
"resource": ""
} | ||
c25294 | train | // Client is used to initialize a new client-side connection.
// There must be at most one client-side connection. | {
"resource": ""
} | ||
c25295 | train | // newSession is used to construct a new session | {
"resource": ""
} | ||
c25296 | train | // NumStreams returns the number of currently open streams | {
"resource": ""
} | ||
c25297 | train | // Open is used to create a new stream as a net.Conn | {
"resource": ""
} | ||
c25298 | train | // Accept is used to block until the next available stream
// is ready to be accepted. | {
"resource": ""
} | ||
c25299 | train | // Close is used to close the session and all streams.
// Attempts to send a GoAway before closing the connection. | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.