- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 2,300 for _context (0.21 sec)
-
cmd/generic-handlers.go
tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt) // Reject unsupported reserved metadata first before validation. if containsReservedMetadata(r.Header) { if ok { tc.FuncName = "handler.ValidRequest" tc.ResponseRecorder.LogErrBody = true } defer logger.AuditLog(r.Context(), w, r, mustGetClaimsFromToken(r))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 20.5K bytes - Viewed (0) -
internal/dsync/drwmutex.go
ctx, cancel := context.WithTimeout(ctx, ds.Timeouts.Acquire) defer cancel() // Special context for NetLockers - do not use timeouts. // Also, pass the trace context info if found for debugging netLockCtx := context.Background() tc, ok := ctx.Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt) if ok { netLockCtx = context.WithValue(netLockCtx, mcontext.ContextTraceKey, tc) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 15:49:49 UTC 2024 - 20.4K bytes - Viewed (0) -
cmd/object_api_suite_test.go
} // Tests validate PutObject without prefix. func testPutObject(obj ObjectLayer, instanceType string, t TestErrHandler) { content := []byte("testcontent") length := int64(len(content)) readerEOF := newTestReaderEOF(content) readerNoEOF := newTestReaderNoEOF(content) err := obj.MakeBucket(context.Background(), "bucket", MakeBucketOptions{}) if err != nil { t.Fatalf("%s: <ERROR> %s", instanceType, err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 02 15:13:05 UTC 2024 - 33.3K bytes - Viewed (0) -
cmd/object-api-deleteobject_test.go
err := obj.MakeBucket(context.Background(), testCase.bucketName, MakeBucketOptions{}) if err != nil { t.Fatalf("%s : %s", instanceType, err.Error()) } for _, object := range testCase.objectToUploads { md5Bytes := md5.Sum([]byte(object.content)) oi, err := obj.PutObject(context.Background(), testCase.bucketName, object.name, mustGetPutObjReader(t, strings.NewReader(object.content),
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 29 01:40:52 UTC 2024 - 4.1K bytes - Viewed (0) -
src/main/java/jcifs/CIFSContext.java
*/ package jcifs; import java.net.URLStreamHandler; /** * Encapsulation of client context * * * A context holds the client configuration, shared services as well as the active credentials. * * Usually you will want to create one context per client configuration and then * multiple sub-contexts using different credentials (if necessary). *
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.7K bytes - Viewed (0) -
internal/hash/reader.go
// NewReader enforces S3 compatibility strictly by ensuring caller // does not send more content than specified size. func NewReader(ctx context.Context, src io.Reader, size int64, md5Hex, sha256Hex string, actualSize int64) (*Reader, error) { return newReader(ctx, src, size, md5Hex, sha256Hex, actualSize, false, nil) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 19 12:59:07 UTC 2024 - 10.9K bytes - Viewed (0) -
cmd/api-response.go
} content.Key = s3EncodeName(object.Name, encodingType) content.LastModified = amztime.ISO8601Format(object.ModTime.UTC()) if object.ETag != "" { content.ETag = "\"" + object.ETag + "\"" } content.Size = object.Size if object.StorageClass != "" { content.StorageClass = filterStorageClass(ctx, object.StorageClass) } else { content.StorageClass = globalMinioDefaultStorageClass } content.Owner = owner
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 19:27:06 UTC 2024 - 33.4K bytes - Viewed (0) -
internal/etag/reader.go
// encryptedContent := Encrypt(compressedContent) // // // Now, we need an io.Reader that can access // // the ETag computed over the content. // reader := etag.Wrap(encryptedContent, content) func Wrap(wrapped, content io.Reader) io.Reader { if t, ok := content.(Tagger); ok { return wrapReader{ Reader: wrapped, Tagger: t, } } return wrapReader{ Reader: wrapped, } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 4.8K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret.go
secretNamespace = opt.Namespace } return client.Kube().CoreV1().Secrets(secretNamespace).Get(context.TODO(), secretName, metav1.GetOptions{}) } func getOrCreateServiceAccount(client kube.CLIClient, opt RemoteSecretOptions) (*v1.ServiceAccount, error) { if sa, err := client.Kube().CoreV1().ServiceAccounts(opt.Namespace).Get( context.TODO(), opt.ServiceAccountName, metav1.GetOptions{}); err == nil { return sa, nil
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 15 16:31:46 UTC 2024 - 23.3K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_distributed_manager.h
// Set up distributed execution environment on local and remote tasks. // When `reset_context` is true, initialize new cluster context state based // on cluster configurations provided in `server_def`; otherwise, update // existing context state with the provided `server_def`. Contexts created // on remote tasks will be considered stale and garbage collected after // `keep_alive_secs` of inactivity.
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 2.9K bytes - Viewed (0)