_id
stringlengths
2
7
text
stringlengths
6
2.61k
title
stringclasses
1 value
c11200
// Mul multiplies every element by f and returns mat.
c11201
// Muled returns a copy of the matrix with every element multiplied by f.
c11202
// Mult multiplies this matrix with the given matrix m and saves the result in this matrix.
c11203
// AssignMat3x3 assigns a 3x3 sub-matrix and sets the rest of the matrix to the ident value.
c11204
// TransformVec4 multiplies v with mat and saves the result in v.
c11205
// SetTranslation sets the translation elements of the matrix.
c11206
// Translate adds v to the translation part of the matrix.
c11207
// ScaleVec3 multiplies the scaling diagonal of the matrix by s.
c11208
// AssignPerspectiveProjection assigns a perspective projection transformation.
c11209
// AssignOrthogonalProjection assigns an orthogonal projection transformation.
c11210
// Transpose3x3 transposes the 3x3 sub-matrix.
c11211
// Adjugate computes the adjugate of this matrix and returns mat
c11212
// returns a 3x3 matrix without the i-th column and j-th row
c11213
// Inverts the given matrix. // Does not check if matrix is singular and may lead to strange results!
c11214
// Scaled returns a copy of vec with all elements multiplies by f.
c11215
// Abs sets every component of the vector to its absolute value.
c11216
// Absed returns a copy of the vector containing the absolute values.
c11217
// Mul multiplies the components of the vector with the respective components of v.
c11218
// Mul returns the component wise product of two vectors.
c11219
// Min returns the component wise minimum of two vectors.
c11220
// Max returns the component wise maximum of two vectors.
c11221
// Dot returns the dot product of two vectors.
c11222
// AssignZRotation assigns a rotation around the z axis to the rotation part of the matrix and sets the remaining elements to their ident value.
c11223
// ContainsPoint returns if a point is contained within the box.
c11224
// Join enlarges this box to contain also the given box.
c11225
// Joined returns the minimal box containing both a and b.
c11226
// 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.
c11227
// Setup is called by Caddy to parse the config block
c11228
// ExtractToken will find a JWT token in the token sources specified. // If tss is empty, the DefaultTokenSources are used.
c11229
// 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.
c11230
// contains checks weather list is a slice ans containts the // supplied string value.
c11231
// NewLazyPublicKeyFileBackend returns a new LazyPublicKeyBackend
c11232
// NewLazyHmacKeyBackend creates a new LazyHmacKeyBackend
c11233
// 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.
c11234
// ProvideKey will asssert that the token signing algorithm and the configured key match
c11235
// ProvideKey will assert that the token signing algorithm and the configured key match
c11236
// ProvideKey always returns an error when no key signing method is specified
c11237
// Creates a new dataPoint
c11238
// Predict updates the "Predicted" value for the input dataPoint
c11239
// Set the name of variable i
c11240
// GetVar gets the name of variable i
c11241
// Registers a feature cross to be applied to the data points.
c11242
// Train the regression with some data points
c11243
// Run the regression
c11244
// Coeff returns the calculated coefficient for variable i
c11245
// Display a dataPoint as a string
c11246
// Display a regression as a string
c11247
// Feature cross based on computing the power of an input.
c11248
// Feature cross based on the multiplication of multiple inputs.
c11249
// MicroService sets the micro.Service used internally
c11250
// Flags sets the command flags.
c11251
// Action sets the command action.
c11252
// 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.
c11253
// Returns all app usage events that occured since the given app usage event guid
c11254
// Purge removes count oldest entries from DigestAuth.clients
c11255
// 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.
c11256
// 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.
c11257
// NewDigestAuthenticator generates a new DigestAuth object
c11258
// UpdateHeaders updates headers with this Info's ResponseHeaders. It is // safe to call this function on nil Info.
c11259
// FromContext returns authentication information from the context or // nil if no such information present.
c11260
// JustCheck returns a new http.HandlerFunc, which requires // authenticator to successfully authenticate a user before calling // wrapped http.HandlerFunc.
c11261
// RandomKey returns a random 16-byte base64 alphabet string
c11262
// CheckSecret returns true if the password matches the encrypted // secret.
c11263
// 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.
c11264
// 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.
c11265
// MD5Crypt is the MD5 password crypt implementation.
c11266
// NewFamily consumes a MetricFamily and transforms it to the local Family type.
c11267
// 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.
c11268
// ParseResponse consumes an http.Response and pushes it to the MetricFamily // channel. It returns when all MetricFamilies are parsed and put on the // channel.
c11269
// ParseReader consumes an io.Reader and pushes it to the MetricFamily // channel. It returns when all MetricFamilies are parsed and put on the // channel.
c11270
// Fix the routing rules
c11271
// Mount the addtional disk
c11272
// 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.
c11273
// NewTransport returns an object implementing the // libchan Transport interface using a stream provider.
c11274
// NewSendChannel creates and returns a new send channel. The receive // end will get picked up on the remote end through the remote calling // WaitReceiveChannel.
c11275
// WaitReceiveChannel waits for a new channel be created by a remote // call to NewSendChannel.
c11276
// 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.
c11277
// 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.
c11278
// Send sends a message across the channel to a receiver on the // other side of the transport.
c11279
// Receive receives a message sent across the channel from // a sender on the other side of the transport.
c11280
// BufferedPipe returns an inmemory buffered pipe.
c11281
// Pipe creates a top-level channel pipe using an in memory transport.
c11282
// 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.
c11283
// execute parses and executes a template using vars.
c11284
// 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.
c11285
// Spec is an entry point of a plugin and will be called to register this middleware plugin withing vulcand
c11286
// FromCli constructs a middleware instance from the command line parameters.
c11287
// getHeapProfile responds with a pprof-formatted heap profile.
c11288
// parseForm the request data based on its content type.
c11289
// Constructs the middleware from the command line
c11290
// supervise listens for error notifications and triggers graceful restart.
c11291
// processChange takes the backend change notification emitted by the backend // and applies it to the server.
c11292
// MarkServerAnomalies takes the list of servers and marks anomalies detected within this set // by modifying the inner Verdict property.
c11293
// MarkAnomalies takes the list of stats and marks anomalies detected within this group by updating // the Verdict property.
c11294
// New returns a new frontend instance.
c11295
// BackendKey returns the storage key of an associated backend.
c11296
// Route returns HTTP path. It should be used to configure an HTTP router to // forward requests coming to the path to this frontend instance.
c11297
// UpsertMiddleware upserts a middleware.
c11298
// DeleteMiddleware deletes a middleware if there is one with the specified // storage key or does nothing otherwise.
c11299
// CfgWithStats returns the frontend storage config with associated round trip // stats.