_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c11200 | train | // Mul multiplies every element by f and returns mat. | {
"resource": ""
} | ||
c11201 | train | // Muled returns a copy of the matrix with every element multiplied by f. | {
"resource": ""
} | ||
c11202 | train | // Mult multiplies this matrix with the given matrix m and saves the result in this matrix. | {
"resource": ""
} | ||
c11203 | train | // AssignMat3x3 assigns a 3x3 sub-matrix and sets the rest of the matrix to the ident value. | {
"resource": ""
} | ||
c11204 | train | // TransformVec4 multiplies v with mat and saves the result in v. | {
"resource": ""
} | ||
c11205 | train | // SetTranslation sets the translation elements of the matrix. | {
"resource": ""
} | ||
c11206 | train | // Translate adds v to the translation part of the matrix. | {
"resource": ""
} | ||
c11207 | train | // ScaleVec3 multiplies the scaling diagonal of the matrix by s. | {
"resource": ""
} | ||
c11208 | train | // AssignPerspectiveProjection assigns a perspective projection transformation. | {
"resource": ""
} | ||
c11209 | train | // AssignOrthogonalProjection assigns an orthogonal projection transformation. | {
"resource": ""
} | ||
c11210 | train | // Transpose3x3 transposes the 3x3 sub-matrix. | {
"resource": ""
} | ||
c11211 | train | // Adjugate computes the adjugate of this matrix and returns mat | {
"resource": ""
} | ||
c11212 | train | // returns a 3x3 matrix without the i-th column and j-th row | {
"resource": ""
} | ||
c11213 | train | // Inverts the given matrix.
// Does not check if matrix is singular and may lead to strange results! | {
"resource": ""
} | ||
c11214 | train | // Scaled returns a copy of vec with all elements multiplies by f. | {
"resource": ""
} | ||
c11215 | train | // Abs sets every component of the vector to its absolute value. | {
"resource": ""
} | ||
c11216 | train | // Absed returns a copy of the vector containing the absolute values. | {
"resource": ""
} | ||
c11217 | train | // Mul multiplies the components of the vector with the respective components of v. | {
"resource": ""
} | ||
c11218 | train | // Mul returns the component wise product of two vectors. | {
"resource": ""
} | ||
c11219 | train | // Min returns the component wise minimum of two vectors. | {
"resource": ""
} | ||
c11220 | train | // Max returns the component wise maximum of two vectors. | {
"resource": ""
} | ||
c11221 | train | // Dot returns the dot product of two vectors. | {
"resource": ""
} | ||
c11222 | train | // AssignZRotation assigns a rotation around the z axis to the rotation part of the matrix and sets the remaining elements to their ident value. | {
"resource": ""
} | ||
c11223 | train | // ContainsPoint returns if a point is contained within the box. | {
"resource": ""
} | ||
c11224 | train | // Join enlarges this box to contain also the given box. | {
"resource": ""
} | ||
c11225 | train | // Joined returns the minimal box containing both a and b. | {
"resource": ""
} | ||
c11226 | train | // Flatten generates a flat map from a nested one. The original may include values of type map, slice and scalar,
// but not struct. Keys in the flat map will be a compound of descending map keys and slice iterations.
// The presentation of keys is set by style. A prefix is joined to each key. | {
"resource": ""
} | ||
c11227 | train | // Setup is called by Caddy to parse the config block | {
"resource": ""
} | ||
c11228 | train | // ExtractToken will find a JWT token in the token sources specified.
// If tss is empty, the DefaultTokenSources are used. | {
"resource": ""
} | ||
c11229 | train | // handleUnauthorized checks, which action should be performed if access was denied.
// It returns the status code and writes the Location header in case of a redirect.
// Possible caddy variables in the location value will be substituted. | {
"resource": ""
} | ||
c11230 | train | // contains checks weather list is a slice ans containts the
// supplied string value. | {
"resource": ""
} | ||
c11231 | train | // NewLazyPublicKeyFileBackend returns a new LazyPublicKeyBackend | {
"resource": ""
} | ||
c11232 | train | // NewLazyHmacKeyBackend creates a new LazyHmacKeyBackend | {
"resource": ""
} | ||
c11233 | train | // NewDefaultKeyBackends will read from the environment and return key backends based on
// values from environment variables JWT_SECRET or JWT_PUBLIC_KEY. An error is returned if
// the keys are not able to be parsed or if an inconsistent configuration is found. | {
"resource": ""
} | ||
c11234 | train | // ProvideKey will asssert that the token signing algorithm and the configured key match | {
"resource": ""
} | ||
c11235 | train | // ProvideKey will assert that the token signing algorithm and the configured key match | {
"resource": ""
} | ||
c11236 | train | // ProvideKey always returns an error when no key signing method is specified | {
"resource": ""
} | ||
c11237 | train | // Creates a new dataPoint | {
"resource": ""
} | ||
c11238 | train | // Predict updates the "Predicted" value for the input dataPoint | {
"resource": ""
} | ||
c11239 | train | // Set the name of variable i | {
"resource": ""
} | ||
c11240 | train | // GetVar gets the name of variable i | {
"resource": ""
} | ||
c11241 | train | // Registers a feature cross to be applied to the data points. | {
"resource": ""
} | ||
c11242 | train | // Train the regression with some data points | {
"resource": ""
} | ||
c11243 | train | // Run the regression | {
"resource": ""
} | ||
c11244 | train | // Coeff returns the calculated coefficient for variable i | {
"resource": ""
} | ||
c11245 | train | // Display a dataPoint as a string | {
"resource": ""
} | ||
c11246 | train | // Display a regression as a string | {
"resource": ""
} | ||
c11247 | train | // Feature cross based on computing the power of an input. | {
"resource": ""
} | ||
c11248 | train | // Feature cross based on the multiplication of multiple inputs. | {
"resource": ""
} | ||
c11249 | train | // MicroService sets the micro.Service used internally | {
"resource": ""
} | ||
c11250 | train | // Flags sets the command flags. | {
"resource": ""
} | ||
c11251 | train | // Action sets the command action. | {
"resource": ""
} | ||
c11252 | train | // When a .NET app running via HWC buildpack receives its first HTTP request,
// it has to do just-in-time compilation, which can take ~10 seconds. | {
"resource": ""
} | ||
c11253 | train | // Returns all app usage events that occured since the given app usage event guid | {
"resource": ""
} | ||
c11254 | train | // Purge removes count oldest entries from DigestAuth.clients | {
"resource": ""
} | ||
c11255 | train | // DigestAuthParams parses Authorization header from the
// http.Request. Returns a map of auth parameters or nil if the header
// is not a valid parsable Digest auth header. | {
"resource": ""
} | ||
c11256 | train | // JustCheck returns a new http.HandlerFunc, which requires
// DigestAuth to successfully authenticate a user before calling
// wrapped http.HandlerFunc.
//
// Authenticated Username is passed as an extra
// X-Authenticated-Username header to the wrapped HandlerFunc. | {
"resource": ""
} | ||
c11257 | train | // NewDigestAuthenticator generates a new DigestAuth object | {
"resource": ""
} | ||
c11258 | train | // UpdateHeaders updates headers with this Info's ResponseHeaders. It is
// safe to call this function on nil Info. | {
"resource": ""
} | ||
c11259 | train | // FromContext returns authentication information from the context or
// nil if no such information present. | {
"resource": ""
} | ||
c11260 | train | // JustCheck returns a new http.HandlerFunc, which requires
// authenticator to successfully authenticate a user before calling
// wrapped http.HandlerFunc. | {
"resource": ""
} | ||
c11261 | train | // RandomKey returns a random 16-byte base64 alphabet string | {
"resource": ""
} | ||
c11262 | train | // CheckSecret returns true if the password matches the encrypted
// secret. | {
"resource": ""
} | ||
c11263 | train | // HtdigestFileProvider is a SecretProvider implementation based on
// htdigest-formated files. It will automatically reload htdigest file
// on changes. It panics on syntax errors in htdigest files. | {
"resource": ""
} | ||
c11264 | train | // HtpasswdFileProvider is a SecretProvider implementation based on
// htpasswd-formated files. It will automatically reload htpasswd file
// on changes. It panics on syntax errors in htpasswd files. Realm
// argument of the SecretProvider is ignored. | {
"resource": ""
} | ||
c11265 | train | // MD5Crypt is the MD5 password crypt implementation. | {
"resource": ""
} | ||
c11266 | train | // NewFamily consumes a MetricFamily and transforms it to the local Family type. | {
"resource": ""
} | ||
c11267 | train | // FetchMetricFamilies retrieves metrics from the provided URL, decodes them
// into MetricFamily proto messages, and sends them to the provided channel. It
// returns after all MetricFamilies have been sent. | {
"resource": ""
} | ||
c11268 | train | // ParseResponse consumes an http.Response and pushes it to the MetricFamily
// channel. It returns when all MetricFamilies are parsed and put on the
// channel. | {
"resource": ""
} | ||
c11269 | train | // ParseReader consumes an io.Reader and pushes it to the MetricFamily
// channel. It returns when all MetricFamilies are parsed and put on the
// channel. | {
"resource": ""
} | ||
c11270 | train | // Fix the routing rules | {
"resource": ""
} | ||
c11271 | train | // Mount the addtional disk | {
"resource": ""
} | ||
c11272 | train | // NewSpdyStreamProvider creates a stream provider by starting a spdy
// session on the given connection. The server argument is used to
// determine whether the spdy connection is the client or server side. | {
"resource": ""
} | ||
c11273 | train | // NewTransport returns an object implementing the
// libchan Transport interface using a stream provider. | {
"resource": ""
} | ||
c11274 | train | // NewSendChannel creates and returns a new send channel. The receive
// end will get picked up on the remote end through the remote calling
// WaitReceiveChannel. | {
"resource": ""
} | ||
c11275 | train | // WaitReceiveChannel waits for a new channel be created by a remote
// call to NewSendChannel. | {
"resource": ""
} | ||
c11276 | train | // CreateNestedReceiver creates a new channel returning the local
// receiver and the remote sender. The remote sender needs to be
// sent across the channel before being utilized. | {
"resource": ""
} | ||
c11277 | train | // CreateNestedReceiver creates a new channel returning the local
// sender and the remote receiver. The remote receiver needs to be
// sent across the channel before being utilized. | {
"resource": ""
} | ||
c11278 | train | // Send sends a message across the channel to a receiver on the
// other side of the transport. | {
"resource": ""
} | ||
c11279 | train | // Receive receives a message sent across the channel from
// a sender on the other side of the transport. | {
"resource": ""
} | ||
c11280 | train | // BufferedPipe returns an inmemory buffered pipe. | {
"resource": ""
} | ||
c11281 | train | // Pipe creates a top-level channel pipe using an in memory transport. | {
"resource": ""
} | ||
c11282 | train | // Copy copies from a receiver to a sender until an EOF is
// received. The number of copies made is returned along
// with any error that may have halted copying prior to an EOF. | {
"resource": ""
} | ||
c11283 | train | // execute parses and executes a template using vars. | {
"resource": ""
} | ||
c11284 | train | // FlattenString generates a flat JSON map from a nested one. Keys in the flat map will be a compound of
// descending map keys and slice iterations. The presentation of keys is set by style. A prefix is joined
// to each key. | {
"resource": ""
} | ||
c11285 | train | // Spec is an entry point of a plugin and will be called to register this middleware plugin withing vulcand | {
"resource": ""
} | ||
c11286 | train | // FromCli constructs a middleware instance from the command line parameters. | {
"resource": ""
} | ||
c11287 | train | // getHeapProfile responds with a pprof-formatted heap profile. | {
"resource": ""
} | ||
c11288 | train | // parseForm the request data based on its content type. | {
"resource": ""
} | ||
c11289 | train | // Constructs the middleware from the command line | {
"resource": ""
} | ||
c11290 | train | // supervise listens for error notifications and triggers graceful restart. | {
"resource": ""
} | ||
c11291 | train | // processChange takes the backend change notification emitted by the backend
// and applies it to the server. | {
"resource": ""
} | ||
c11292 | train | // MarkServerAnomalies takes the list of servers and marks anomalies detected within this set
// by modifying the inner Verdict property. | {
"resource": ""
} | ||
c11293 | train | // MarkAnomalies takes the list of stats and marks anomalies detected within this group by updating
// the Verdict property. | {
"resource": ""
} | ||
c11294 | train | // New returns a new frontend instance. | {
"resource": ""
} | ||
c11295 | train | // BackendKey returns the storage key of an associated backend. | {
"resource": ""
} | ||
c11296 | train | // Route returns HTTP path. It should be used to configure an HTTP router to
// forward requests coming to the path to this frontend instance. | {
"resource": ""
} | ||
c11297 | train | // UpsertMiddleware upserts a middleware. | {
"resource": ""
} | ||
c11298 | train | // DeleteMiddleware deletes a middleware if there is one with the specified
// storage key or does nothing otherwise. | {
"resource": ""
} | ||
c11299 | train | // CfgWithStats returns the frontend storage config with associated round trip
// stats. | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.