_id stringlengths 2 7 | text stringlengths 6 2.61k | title stringclasses 1
value |
|---|---|---|
c11100 | // Unlisten removes a channel from the Listener's channel list. Returns
// ErrChannelNotOpen if the Listener is not listening on the specified channel.
// Returns immediately with no error if there is no connection. Note that you
// might still get notifications for this channel even after Unlisten has
// returned.
/... | |
c11101 | // UnlistenAll removes all channels from the Listener's channel list. Returns
// immediately with no error if there is no connection. Note that you might
// still get notifications for any of the deleted channels even after
// UnlistenAll has returned. | |
c11102 | // Ping the remote server to make sure it's alive. Non-nil return value means
// that there is no active connection. | |
c11103 | // Synchronize the list of channels we want to be listening on with the server
// after the connection has been established. | |
c11104 | // caller should NOT be holding l.lock | |
c11105 | // Close disconnects the Listener from the database and shuts it down.
// Subsequent calls to its methods will return an error. Close returns an
// error if the connection has already been closed. | |
c11106 | // appendEncodedText encodes item in text format as required by COPY
// and appends to buf | |
c11107 | // Returns the cached timezone for the specified offset, creating and caching
// it if necessary. | |
c11108 | // formatTs formats t into a format postgres understands. | |
c11109 | // FormatTimestamp formats t into Postgres' text format for timestamps. | |
c11110 | // Parse a bytea value received from the server. Both "hex" and the legacy
// "escape" format are supported. | |
c11111 | // NewSimpleBindRequest returns a bind request | |
c11112 | // SimpleBind performs the simple bind operation defined in the given request | |
c11113 | // Bind performs a bind with the given username and password | |
c11114 | // NewError creates an LDAP error with the given code and underlying error | |
c11115 | // IsErrorWithCode returns true if the given error is an LDAP error with the given result code | |
c11116 | // CompileFilter converts a string representation of a filter into a BER-encoded packet | |
c11117 | // Convert from "ABC\xx\xx\xx" form to literal bytes for transport | |
c11118 | // NewDelRequest creates a delete request for the given DN and controls | |
c11119 | // Del executes the given delete request | |
c11120 | // sslCertificatePermissions checks the permissions on user-supplied certificate
// files. The key file should have very little access.
//
// libpq does not check key file permissions on Windows. | |
c11121 | // hexify returns a colon separated, hexadecimal representation
// of a given byte array. | |
c11122 | // decodeKey returns the algorithm and key size for a public key. | |
c11123 | // certWarnings prints a list of warnings to show common mistakes in certs. | |
c11124 | // algWarnings checks key sizes, signature algorithms. | |
c11125 | // ssl generates a function to upgrade a net.Conn based on the "sslmode" and
// related settings. The function is nil when no upgrade should take place. | |
c11126 | // sslClientCertificates adds the certificate specified in the "sslcert" and
// "sslkey" settings, or if they aren't set, from the .postgresql directory
// in the user's home directory. The configured files must exist and have
// the correct permissions. | |
c11127 | // sslCertificateAuthority adds the RootCA specified in the "sslrootcert" setting. | |
c11128 | // sslHomeCertificates returns the path and stats of certificates in the current
// user's home directory. | |
c11129 | // sslVerifyCertificateAuthority carries out a TLS handshake to the server and
// verifies the presented certificate against the CA, i.e. the one specified in
// sslrootcert or the system CA if sslrootcert was not specified. | |
c11130 | // Adds descriptions to an LDAP Response packet for debugging | |
c11131 | // DebugBinaryFile reads and prints packets from the given filename | |
c11132 | // readBytes reads a byte array from the reader. The encoding provides
// a 4-byte prefix indicating the number of bytes which follow. | |
c11133 | // Returns a SHA1 hash which has been pre-keyed with the specified
// password according to the JCEKS algorithm. | |
c11134 | // Parse parses the key store from the specified reader. | |
c11135 | // GetPrivateKeyAndCerts retrieves the specified private key. Returns
// nil if the private key does not exist or alias points to a non
// private key entry. | |
c11136 | // GetCert retrieves the specified certificate. Returns nil if the
// certificate does not exist or alias points to a non certificate
// entry. | |
c11137 | // ListPrivateKeys lists the names of the private keys stored in the key store. | |
c11138 | // ListCerts lists the names of the certs stored in the key store. | |
c11139 | // LoadFromFile loads the key store from the specified file. | |
c11140 | // LoadFromReader loads the key store from the specified file. | |
c11141 | // Implement the "QueryerContext" interface | |
c11142 | // Implement the "ExecerContext" interface | |
c11143 | // Implement the "ConnBeginTx" interface | |
c11144 | // Printf writes debug output | |
c11145 | // EncodeTLSInfoToText returns a human readable string, suitable for certigo console output. | |
c11146 | // EncodeTLSToObject returns a JSON-marshallable description of a TLS connection | |
c11147 | // EncodeCRIToObject returns a JSON-marshallable representation of a CertificateRequestInfo object. | |
c11148 | // Just a map lookup with a default | |
c11149 | // Fill in a human readable name, extracted from the slug | |
c11150 | // FindControl returns the first control of the given type in the list, or nil | |
c11151 | // NewControlString returns a generic control | |
c11152 | // readCertsFromStream takes some input and converts it to PEM blocks. | |
c11153 | // EncodeX509ToPEM converts an X.509 certificate into a PEM block for output. | |
c11154 | // Convert a PKCS7 envelope into a PEM block for output. | |
c11155 | // Convert a key into one or more PEM blocks for output. | |
c11156 | // pemScanner will return a bufio.Scanner that splits the input
// from the given reader into PEM blocks. | |
c11157 | // TransformVec2 multiplies v with mat and saves the result in v. | |
c11158 | // Transpose transposes the matrix. | |
c11159 | // Scale multiplies the first 3 element of the vector by f and returns vec. | |
c11160 | // Invert inverts the vector. | |
c11161 | // Vec3 returns a vec3.T with the first three components of the vector.
// See also Vec3DividedByW | |
c11162 | // AssignVec3 assigns v to the first three components and sets the fourth to 1. | |
c11163 | // Dot4 returns the 4 element dot product of two vectors. | |
c11164 | // Angle returns the angle between two vectors. | |
c11165 | // Clamp clamps the vector's components to be in the range of min to max. | |
c11166 | // Clamped returns a copy of the vector with the components clamped to be in the range of min to max. | |
c11167 | // ContainsPoint returns if a point is contained within the rectangle. | |
c11168 | // Scaled returns a copy of vec with the first 3 elements multiplies by f. | |
c11169 | // Dot4 returns the 4 element vdot product of two vectors. | |
c11170 | // RotateAroundPoint rotates the vector counter-clockwise around a point. | |
c11171 | // IsLeftWinding returns if the angle from a to b is left winding. | |
c11172 | // IsRightWinding returns if the angle from a to b is right winding. | |
c11173 | // Normalize normalizes to a unit quaternation. | |
c11174 | // Normalized returns a copy normalized to a unit quaternation. | |
c11175 | // Negate negates the quaternion. | |
c11176 | // Invert inverts the quaterion. | |
c11177 | // RotateVec3 rotates v by the rotation represented by the quaternion. | |
c11178 | // Dot returns the dot product of two quaternions. | |
c11179 | // Mul multiplies two quaternions. | |
c11180 | // Mul3 multiplies three quaternions. | |
c11181 | // Mul4 multiplies four quaternions. | |
c11182 | // Vec3Diff returns the rotation quaternion between two vectors. | |
c11183 | // NewRect creates a Rect from two points. | |
c11184 | // Area calculates the area of the rectangle. | |
c11185 | // Joined returns the minimal rectangle containing both a and b. | |
c11186 | // FromAxisAngle returns a quaternion representing a rotation around and axis. | |
c11187 | // FromEulerAngles returns a quaternion representing Euler angle rotations. | |
c11188 | // AxisAngle extracts the rotation in form of an axis and a rotation angle. | |
c11189 | // ScaleVec2 multiplies the 2D scaling diagonal of the matrix by s. | |
c11190 | // SetTranslation sets the 2D translation elements of the matrix. | |
c11191 | // Translate adds v to the 2D translation part of the matrix. | |
c11192 | // TransformVec3 multiplies v with mat and saves the result in v. | |
c11193 | // Quaternion extracts a quaternion from the rotation part of the matrix. | |
c11194 | // AssignQuaternion assigns a quaternion to the rotations part of the matrix and sets the other elements to their ident value. | |
c11195 | // AssignCoordinateSystem assigns the rotation of a orthogonal coordinates system to the rotation part of the matrix and sets the remaining elements to their ident value. | |
c11196 | // Scale multiplies all element of the vector by f and returns vec. | |
c11197 | // Rotated returns a counter-clockwise rotated copy of the vector. | |
c11198 | // AssignEulerRotation assigns Euler angle rotations to the rotation part of the matrix and sets the remaining elements to their ident value. | |
c11199 | // ExtractEulerAngles extracts the rotation part of the matrix as Euler angle rotation values. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.