_id
stringlengths
2
7
text
stringlengths
6
2.61k
title
stringclasses
1 value
c172100
// FetchNext fetches next chunk in query result set.
c172101
// CloseResultsetID releases the hdb resultset handle.
c172102
// Commit executes a database commit.
c172103
// NewReader creates a new Reader instance.
c172104
// NewReaderSize creates a new Reader instance with given size for bufio.Reader.
c172105
// GetError returns reader error.
c172106
// Skip skips cnt bytes from reading.
c172107
// ReadB reads and returns a byte.
c172108
// ReadFull implements io.ReadFull on Reader.
c172109
// ReadBool reads and returns a boolean.
c172110
// ReadInt16 reads and returns an int16.
c172111
// ReadUint16 reads and returns an uint16.
c172112
// ReadInt32 reads and returns an int32.
c172113
// ReadUint32 reads and returns an uint32.
c172114
// ReadInt64 reads and returns an int64.
c172115
// ReadUint64 reads and returns an uint64.
c172116
// ReadFloat32 reads and returns a float32.
c172117
// ReadFloat64 reads and returns a float64.
c172118
// ReadCesu8 reads a size CESU-8 encoded byte sequence and returns an UTF-8 byte slice.
c172119
// NewWriter creates a new Writer instance.
c172120
// NewWriterSize creates a new Writer instance with given size for bufio.Writer.
c172121
// WriteZeroes writes cnt zero byte values.
c172122
// Write writes the contents of p.
c172123
// WriteB writes a byte.
c172124
// WriteBool writes a boolean.
c172125
// WriteInt8 writes an int8.
c172126
// WriteInt16 writes an int16.
c172127
// WriteUint32 writes an uint32.
c172128
// WriteInt64 writes an int64.
c172129
// WriteFloat32 writes a float32.
c172130
// WriteFloat64 writes a float64.
c172131
// WriteString writes a string.
c172132
// WriteCesu8 writes an UTF-8 byte slice as CESU-8 and returns the CESU-8 bytes written.
c172133
// WriteStringCesu8 is like WriteCesu8 with an UTF-8 string as parameter.
c172134
// DataType converts a type code into one of the supported data types by the driver.
c172135
// Name returns the result field name.
c172136
// NewBasicAuthConnector creates a connector for basic authentication.
c172137
// Locale returns the locale of the connector.
c172138
// FetchSize returns the fetchSize of the connector.
c172139
// Timeout returns the timeout of the connector.
c172140
// TLSConfig returns the TLS configuration of the connector.
c172141
// SetTLSConfig sets the TLS configuration of the connector.
c172142
// SessionVariables returns the session variables stored in connector.
c172143
// SetSessionVariables sets the session varibles of the connector.
c172144
// BasicAuthDSN return the connector DSN for basic authentication.
c172145
// Row fills the dest value slice with row data at index idx.
c172146
// strings with one byte length
c172147
// NewLob creates a new Lob instance with the io.Reader and io.Writer given as parameters.
c172148
// TokenString returns a printable string for a token or Unicode character.
c172149
// NewScanner creates a new Scaner instance.
c172150
// Next returns the next Token.
c172151
// 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.
c172152
// String implements Stringer interface.
c172153
// Parse splitting & decoding compact serialized json web token, returns slice of byte arrays, each representing part of token
c172154
// Serialize converts given parts into compact serialization format
c172155
// Align left pads given byte array with zeros till it have at least bitSize length.
c172156
// Xor is doing byte by byte exclusive or of 2 byte arrays
c172157
// Slice is splitting input byte array into slice of subarrays. Each of count length.
c172158
// Random generates byte array with random data of byteCount length
c172159
// Concat combine several arrays into single one, resulting slice = A1 | A2 | A3 | ... | An
c172160
// Unwrap same thing as Contact, just different interface, combines several array into single one
c172161
// UInt64ToBytes unwrap uint64 value to byte array of length 8 using big endian
c172162
// UInt32ToBytes unwrap uint32 value to byte array of length 4 using big endian
c172163
// Dump produces printable debug representation of byte array as string
c172164
// Decode decodes base64url string to byte array
c172165
// Encode encodes given byte array to base64url string
c172166
// 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.
c172167
// 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.
c172168
// DerivePBKDF2 implements Password Based Key Derivation Function 2, RFC 2898. Derives key of keyBitLength size, given password, salt, iteration count and hash function
c172169
// ReadPrivate loads ecdsa.PrivateKey from given PKCS1 or PKCS8 blobs
c172170
// ReadPublic loads rsa.PublicKey from PKIX or PKCS1 X509 blobs
c172171
// AddPkcs7 pads given byte array using pkcs7 padding schema till it has blockSize length in bytes
c172172
// RemovePkcs7 removes pkcs7 padding from previously padded byte array
c172173
// 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.
c172174
// 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.
c172175
// SortContainerMetrics sorts a slice of containerMetrics by InstanceIndex. // // The input slice is sorted; the return value is simply a pointer to the same slice.
c172176
// New creates a new consumer to a trafficcontroller.
c172177
// 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 ...
c172178
// TailingLogsWithoutReconnect functions identically to TailingLogs but without // any reconnect attempts when errors occur.
c172179
// 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...
c172180
// StreamWithoutReconnect functions identically to Stream but without any // reconnect attempts when errors occur.
c172181
// 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...
c172182
// FirehoseWithoutReconnect functions identically to Firehose but without any // reconnect attempts when errors occur.
c172183
// FilteredFirehose streams a filtered set of envelopes. It has functionality // similar to Firehose.
c172184
// SetOnConnectCallback sets a callback function to be called with the // websocket connection is established.
c172185
// 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.
c172186
// zpool is a helper function to wrap typical calls to zpool.
c172187
// GetZpool retrieves a single ZFS zpool by name.
c172188
// Destroy destroys a ZFS zpool by name.
c172189
// ListZpools list all ZFS zpools accessible on the current system.
c172190
// Error returns the string representation of an Error.
c172191
// zfs is a helper function to wrap typical calls to zfs.
c172192
// 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.
c172193
// Clone clones a ZFS snapshot and returns a clone dataset. // An error will be returned if the input dataset is not of snapshot type.
c172194
// Unmount unmounts currently mounted ZFS file systems.
c172195
// Mount mounts ZFS file systems.
c172196
// 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.
c172197
// 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.
c172198
// 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.
c172199
// Rename renames a dataset.