- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 466 for ctx_ (0.18 seconds)
-
cmd/sts-handlers.go
// Set the newly generated credentials. updatedAt, err := globalIAMSys.SetTempUser(ctx, cred.AccessKey, cred, "") if err != nil { writeSTSErrorResponse(ctx, w, ErrSTSInternalError, err) return } // Call hook for site replication. if cred.ParentUser != globalActiveCred.AccessKey { replLogIf(ctx, globalSiteReplicationSys.IAMChangeHook(ctx, madmin.SRIAMItem{ Type: madmin.SRIAMItemSTSAcc,
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 36.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
pool = new SmbTransportPoolImpl(); // Setup default mock behaviors when(ctx.getConfig()).thenReturn(config); when(ctx.getNameServiceClient()).thenReturn(nameSvc); when(ctx.getCredentials()).thenReturn(creds); when(ctx.getTransportPool()).thenReturn(pool); // Default config values when(config.getLocalAddr()).thenReturn(null);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 19.2K bytes - Click Count (0) -
tensorflow/c/eager/c_api_experimental.h
// this context. TF_CAPI_EXPORT extern void TFE_ContextEnableGraphCollection(TFE_Context* ctx); // Disables only graph collection in RunMetadata on the functions executed from // this context. TF_CAPI_EXPORT extern void TFE_ContextDisableGraphCollection(TFE_Context* ctx); // TODO(fishx): Move these monitoring APIs into a separate file.
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Click Count (1) -
cmd/iam-etcd-store.go
} func (ies *IAMEtcdStore) loadPolicyDocWithRetry(ctx context.Context, policy string, m map[string]PolicyDoc, _ int) error { return ies.loadPolicyDoc(ctx, policy, m) } func (ies *IAMEtcdStore) loadPolicyDoc(ctx context.Context, policy string, m map[string]PolicyDoc) error { data, err := ies.loadIAMConfigBytes(ctx, getPolicyDocPath(policy)) if err != nil { if err == errConfigNotFound {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.9K bytes - Click Count (0) -
cmd/auth-handler_test.go
func TestIsReqAuthenticated(t *testing.T) { ctx, cancel := context.WithCancel(GlobalContext) defer cancel() objLayer, fsDir, err := prepareFS(ctx) if err != nil { t.Fatal(err) } defer os.RemoveAll(fsDir) if err = newTestConfig(globalMinioDefaultRegion, objLayer); err != nil { t.Fatalf("unable initialize config file, %s", err) } initAllSubsystems(ctx) initConfigSubsystem(ctx, objLayer)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 15.4K bytes - Click Count (0) -
internal/grid/stream.go
Requests chan<- []byte muxID uint64 ctx context.Context } // Send a payload to the remote server. func (s *Stream) Send(b []byte) error { if s.Requests == nil { return errors.New("stream does not accept requests") } select { case s.Requests <- b: return nil case <-s.ctx.Done(): return context.Cause(s.ctx) } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jun 07 15:51:52 GMT 2024 - 3.1K bytes - Click Count (0) -
cmd/iam-object-store.go
} func (iamOS *IAMObjectStore) loadPolicyDoc(ctx context.Context, policy string, m map[string]PolicyDoc) error { p, err := iamOS.loadPolicy(ctx, policy) if err != nil { return err } m[policy] = p return nil } func (iamOS *IAMObjectStore) loadPolicyDocs(ctx context.Context, m map[string]PolicyDoc) error { ctx, cancel := context.WithCancel(ctx) defer cancel()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 26.6K bytes - Click Count (0) -
tensorflow/c/eager/c_api_cluster_test.cc
CheckRemoteMatMulExecutesOK(ctx, remote_device_name, local_device_name); TFE_ContextUpdateServerDef(ctx, 0, serialized.data(), serialized.size(), status); EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); CheckRemoteMatMulExecutesOK(ctx, remote_device_name, local_device_name); TFE_DeleteContext(ctx); TF_DeleteStatus(status);
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 19.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SpnegoContextTest.java
ctx.setMechs(updated); assertArrayEquals(updated, ctx.getMechs()); } @Test @DisplayName("toString includes wrapped mechanism context") void testToString() { SpnegoContext ctx = newContext(); when(this.mechContext.toString()).thenReturn("MECHCTX"); assertEquals("SPNEGO[MECHCTX]", ctx.toString()); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0) -
cmd/lock-rest-client.go
func (c *lockRESTClient) RLock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) { return c.call(ctx, lockRPCRLock, &args) } // Lock calls lock REST API. func (c *lockRESTClient) Lock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) { return c.call(ctx, lockRPCLock, &args) } // RUnlock calls read unlock REST API.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Jul 29 18:10:04 GMT 2024 - 3.3K bytes - Click Count (0)