_id
stringlengths
2
7
title
stringclasses
1 value
partition
stringclasses
3 values
text
stringlengths
6
2.61k
language
stringclasses
1 value
meta_information
dict
c172100
validation
// FetchNext fetches next chunk in query result set.
{ "resource": "" }
c172101
validation
// CloseResultsetID releases the hdb resultset handle.
{ "resource": "" }
c172102
validation
// Commit executes a database commit.
{ "resource": "" }
c172103
validation
// NewReader creates a new Reader instance.
{ "resource": "" }
c172104
validation
// NewReaderSize creates a new Reader instance with given size for bufio.Reader.
{ "resource": "" }
c172105
validation
// GetError returns reader error.
{ "resource": "" }
c172106
validation
// Skip skips cnt bytes from reading.
{ "resource": "" }
c172107
validation
// ReadB reads and returns a byte.
{ "resource": "" }
c172108
validation
// ReadFull implements io.ReadFull on Reader.
{ "resource": "" }
c172109
validation
// ReadBool reads and returns a boolean.
{ "resource": "" }
c172110
validation
// ReadInt16 reads and returns an int16.
{ "resource": "" }
c172111
validation
// ReadUint16 reads and returns an uint16.
{ "resource": "" }
c172112
validation
// ReadInt32 reads and returns an int32.
{ "resource": "" }
c172113
validation
// ReadUint32 reads and returns an uint32.
{ "resource": "" }
c172114
validation
// ReadInt64 reads and returns an int64.
{ "resource": "" }
c172115
validation
// ReadUint64 reads and returns an uint64.
{ "resource": "" }
c172116
validation
// ReadFloat32 reads and returns a float32.
{ "resource": "" }
c172117
validation
// ReadFloat64 reads and returns a float64.
{ "resource": "" }
c172118
validation
// ReadCesu8 reads a size CESU-8 encoded byte sequence and returns an UTF-8 byte slice.
{ "resource": "" }
c172119
validation
// NewWriter creates a new Writer instance.
{ "resource": "" }
c172120
validation
// NewWriterSize creates a new Writer instance with given size for bufio.Writer.
{ "resource": "" }
c172121
validation
// WriteZeroes writes cnt zero byte values.
{ "resource": "" }
c172122
validation
// Write writes the contents of p.
{ "resource": "" }
c172123
validation
// WriteB writes a byte.
{ "resource": "" }
c172124
validation
// WriteBool writes a boolean.
{ "resource": "" }
c172125
validation
// WriteInt8 writes an int8.
{ "resource": "" }
c172126
validation
// WriteInt16 writes an int16.
{ "resource": "" }
c172127
validation
// WriteUint32 writes an uint32.
{ "resource": "" }
c172128
validation
// WriteInt64 writes an int64.
{ "resource": "" }
c172129
validation
// WriteFloat32 writes a float32.
{ "resource": "" }
c172130
validation
// WriteFloat64 writes a float64.
{ "resource": "" }
c172131
validation
// WriteString writes a string.
{ "resource": "" }
c172132
validation
// WriteCesu8 writes an UTF-8 byte slice as CESU-8 and returns the CESU-8 bytes written.
{ "resource": "" }
c172133
validation
// WriteStringCesu8 is like WriteCesu8 with an UTF-8 string as parameter.
{ "resource": "" }
c172134
validation
// DataType converts a type code into one of the supported data types by the driver.
{ "resource": "" }
c172135
validation
// Name returns the result field name.
{ "resource": "" }
c172136
validation
// NewBasicAuthConnector creates a connector for basic authentication.
{ "resource": "" }
c172137
validation
// Locale returns the locale of the connector.
{ "resource": "" }
c172138
validation
// FetchSize returns the fetchSize of the connector.
{ "resource": "" }
c172139
validation
// Timeout returns the timeout of the connector.
{ "resource": "" }
c172140
validation
// TLSConfig returns the TLS configuration of the connector.
{ "resource": "" }
c172141
validation
// SetTLSConfig sets the TLS configuration of the connector.
{ "resource": "" }
c172142
validation
// SessionVariables returns the session variables stored in connector.
{ "resource": "" }
c172143
validation
// SetSessionVariables sets the session varibles of the connector.
{ "resource": "" }
c172144
validation
// BasicAuthDSN return the connector DSN for basic authentication.
{ "resource": "" }
c172145
validation
// Row fills the dest value slice with row data at index idx.
{ "resource": "" }
c172146
validation
// strings with one byte length
{ "resource": "" }
c172147
validation
// NewLob creates a new Lob instance with the io.Reader and io.Writer given as parameters.
{ "resource": "" }
c172148
validation
// TokenString returns a printable string for a token or Unicode character.
{ "resource": "" }
c172149
validation
// NewScanner creates a new Scaner instance.
{ "resource": "" }
c172150
validation
// Next returns the next Token.
{ "resource": "" }
c172151
validation
// RandomIdentifier returns a random Identifier prefixed by the prefix parameter. // This function is used to generate database objects with random names for test and example code.
{ "resource": "" }
c172152
validation
// String implements Stringer interface.
{ "resource": "" }
c172153
validation
// Parse splitting & decoding compact serialized json web token, returns slice of byte arrays, each representing part of token
{ "resource": "" }
c172154
validation
// Serialize converts given parts into compact serialization format
{ "resource": "" }
c172155
validation
// Align left pads given byte array with zeros till it have at least bitSize length.
{ "resource": "" }
c172156
validation
// Xor is doing byte by byte exclusive or of 2 byte arrays
{ "resource": "" }
c172157
validation
// Slice is splitting input byte array into slice of subarrays. Each of count length.
{ "resource": "" }
c172158
validation
// Random generates byte array with random data of byteCount length
{ "resource": "" }
c172159
validation
// Concat combine several arrays into single one, resulting slice = A1 | A2 | A3 | ... | An
{ "resource": "" }
c172160
validation
// Unwrap same thing as Contact, just different interface, combines several array into single one
{ "resource": "" }
c172161
validation
// UInt64ToBytes unwrap uint64 value to byte array of length 8 using big endian
{ "resource": "" }
c172162
validation
// UInt32ToBytes unwrap uint32 value to byte array of length 4 using big endian
{ "resource": "" }
c172163
validation
// Dump produces printable debug representation of byte array as string
{ "resource": "" }
c172164
validation
// Decode decodes base64url string to byte array
{ "resource": "" }
c172165
validation
// Encode encodes given byte array to base64url string
{ "resource": "" }
c172166
validation
// Decode verifies, decrypts and decompresses given JWT token using management key. // Management key is of different type for different key management or signing algorithms, see specific alg implementation documentation. // // Returns decoded payload as a string, headers and not nil error if something went wrong.
{ "resource": "" }
c172167
validation
// Decode verifies, decrypts and decompresses given JWT token using management key. // Management key is of different type for different key management or signing algorithms, see specific alg implementation documentation. // // Returns decoded payload as a raw bytes, headers and not nil error if something went wrong.
{ "resource": "" }
c172168
validation
// DerivePBKDF2 implements Password Based Key Derivation Function 2, RFC 2898. Derives key of keyBitLength size, given password, salt, iteration count and hash function
{ "resource": "" }
c172169
validation
// ReadPrivate loads ecdsa.PrivateKey from given PKCS1 or PKCS8 blobs
{ "resource": "" }
c172170
validation
// ReadPublic loads rsa.PublicKey from PKIX or PKCS1 X509 blobs
{ "resource": "" }
c172171
validation
// AddPkcs7 pads given byte array using pkcs7 padding schema till it has blockSize length in bytes
{ "resource": "" }
c172172
validation
// RemovePkcs7 removes pkcs7 padding from previously padded byte array
{ "resource": "" }
c172173
validation
// ContainerMetrics is deprecated in favor of ContainerEnvelopes, since // returning the ContainerMetric type directly hides important // information, like the timestamp. // // The returned values will be the same as ContainerEnvelopes, just with // the Envelope stripped out.
{ "resource": "" }
c172174
validation
// SortRecent sorts a slice of LogMessages by timestamp. The sort is stable, so messages with the same timestamp are sorted // in the order that they are received. // // The input slice is sorted; the return value is simply a pointer to the same slice.
{ "resource": "" }
c172175
validation
// SortContainerMetrics sorts a slice of containerMetrics by InstanceIndex. // // The input slice is sorted; the return value is simply a pointer to the same slice.
{ "resource": "" }
c172176
validation
// New creates a new consumer to a trafficcontroller.
{ "resource": "" }
c172177
validation
// TailingLogs listens indefinitely for log messages only; other event types // are dropped. // Whenever an error is encountered, the error will be sent down the error // channel and TailingLogs will attempt to reconnect up to 5 times. After // five failed reconnection attempts, TailingLogs will give up and close the ...
{ "resource": "" }
c172178
validation
// TailingLogsWithoutReconnect functions identically to TailingLogs but without // any reconnect attempts when errors occur.
{ "resource": "" }
c172179
validation
// Stream listens indefinitely for all log and event messages. // // Messages are presented in the order received from the loggregator server. // Chronological or other ordering is not guaranteed. It is the responsibility // of the consumer of these channels to provide any desired sorting mechanism. // // Whenever an e...
{ "resource": "" }
c172180
validation
// StreamWithoutReconnect functions identically to Stream but without any // reconnect attempts when errors occur.
{ "resource": "" }
c172181
validation
// Firehose streams all data. All clients with the same subscriptionId will // receive a proportionate share of the message stream. Each pool of clients // will receive the entire stream. // // Messages are presented in the order received from the loggregator server. // Chronological or other ordering is not guarantee...
{ "resource": "" }
c172182
validation
// FirehoseWithoutReconnect functions identically to Firehose but without any // reconnect attempts when errors occur.
{ "resource": "" }
c172183
validation
// FilteredFirehose streams a filtered set of envelopes. It has functionality // similar to Firehose.
{ "resource": "" }
c172184
validation
// SetOnConnectCallback sets a callback function to be called with the // websocket connection is established.
{ "resource": "" }
c172185
validation
// Close terminates all previously opened websocket connections to the traffic // controller. It will return an error if there are no open connections, or // if it has problems closing any connection.
{ "resource": "" }
c172186
validation
// zpool is a helper function to wrap typical calls to zpool.
{ "resource": "" }
c172187
validation
// GetZpool retrieves a single ZFS zpool by name.
{ "resource": "" }
c172188
validation
// Destroy destroys a ZFS zpool by name.
{ "resource": "" }
c172189
validation
// ListZpools list all ZFS zpools accessible on the current system.
{ "resource": "" }
c172190
validation
// Error returns the string representation of an Error.
{ "resource": "" }
c172191
validation
// zfs is a helper function to wrap typical calls to zfs.
{ "resource": "" }
c172192
validation
// GetDataset retrieves a single ZFS dataset by name. This dataset could be // any valid ZFS dataset type, such as a clone, filesystem, snapshot, or volume.
{ "resource": "" }
c172193
validation
// Clone clones a ZFS snapshot and returns a clone dataset. // An error will be returned if the input dataset is not of snapshot type.
{ "resource": "" }
c172194
validation
// Unmount unmounts currently mounted ZFS file systems.
{ "resource": "" }
c172195
validation
// Mount mounts ZFS file systems.
{ "resource": "" }
c172196
validation
// ReceiveSnapshot receives a ZFS stream from the input io.Reader, creates a // new snapshot with the specified name, and streams the input data into the // newly-created snapshot.
{ "resource": "" }
c172197
validation
// SendSnapshot sends a ZFS stream of a snapshot to the input io.Writer. // An error will be returned if the input dataset is not of snapshot type.
{ "resource": "" }
c172198
validation
// Destroy destroys a ZFS dataset. If the destroy bit flag is set, any // descendents of the dataset will be recursively destroyed, including snapshots. // If the deferred bit flag is set, the snapshot is marked for deferred // deletion.
{ "resource": "" }
c172199
validation
// Rename renames a dataset.
{ "resource": "" }