- Sort Score
- Result 10 results
- Languages All
Results 541 - 550 of 2,090 for contexts (0.05 sec)
-
cmd/server-main_test.go
t.Error("expected hash", testcase.hash, "got", sctx.Layout.pools[0].cmdline) } } }) } } // Tests initializing new object layer. func TestNewObjectLayer(t *testing.T) { ctx, cancel := context.WithCancel(context.Background()) defer cancel() // Tests for ErasureSD object layer. nDisks := 1 disks, err := getRandomDisks(nDisks) if err != nil { t.Fatal("Failed to create drives for the backend") }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Dec 07 09:33:56 UTC 2023 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Authenticator.java
} /** * Get lifetime of this context. * * @return the remaining lifetime in seconds. If the default lifetime is * used, this value have no meaning. */ public int getLifeTime () { return this.contextLifetime; } /** * Set the lifetime for this context. * * @param time * the lifetime in seconds
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 13K bytes - Viewed (0) -
cmd/metrics-v3-cluster-usage.go
"Cluster object version count distribution", "range") ) // loadClusterUsageObjectMetrics - reads cluster usage metrics. // // This is a `MetricsLoaderFn`. func loadClusterUsageObjectMetrics(ctx context.Context, m MetricValues, c *metricsCache) error { dataUsageInfo, err := c.dataUsageInfo.Get() if err != nil { metricsLogIf(ctx, err) return nil } // data usage has not captured any data yet.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jul 14 18:11:42 UTC 2024 - 6.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ClassLoaderUtilTest.java
assertThat(ClassLoaderUtil.getClassLoader(TestCase.class), is(sameInstance(TestCase.class.getClassLoader()))); final ClassLoader context = Thread.currentThread().getContextClassLoader(); try { final ClassLoader cl = new URLClassLoader(new URL[0], getClass().getClassLoader()); Thread.currentThread().setContextClassLoader(cl);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3K bytes - Viewed (0) -
cmd/sftp-server_test.go
if err == nil || !errors.Is(err, errNoSuchUser) { c.Fatalf("expected err(%s) but got (%s)", errNoSuchUser, err) } } func (s *TestSuiteIAM) SFTPInvalidServiceAccountPassword(c *check) { ctx, cancel := context.WithTimeout(context.Background(), testDefaultTimeout) defer cancel() accessKey, secretKey := mustGenerateCredentials(c) err := s.adm.SetUser(ctx, accessKey, secretKey, madmin.AccountEnabled) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 28 09:06:25 UTC 2024 - 8.3K bytes - Viewed (0) -
cmd/bootstrap-peer-server.go
} // client to talk to bootstrap NEndpoints. type bootstrapRESTClient struct { gridConn *grid.Connection } // Verify function verifies the server config. func (client *bootstrapRESTClient) Verify(ctx context.Context, srcCfg *ServerSystemConfig) (err error) { if newObjectLayerFn() != nil { return nil } recvCfg, err := serverVerifyHandler.Call(ctx, client.gridConn, grid.NewMSS()) if err != nil { return err
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 8.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
Builder<E> combine(Builder<E> other) { addAll(other.contents, other.size); return this; } /** * Returns a newly-created {@code ImmutableList} based on the contents of the {@code Builder}. */ @Override public ImmutableList<E> build() { forceCopy = true; return asImmutableList(contents, size); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 27.7K bytes - Viewed (0) -
internal/http/listener_test.go
} nextTest: for i, testCase := range testCases { listener, errs := newHTTPListener(context.Background(), testCase.serverAddrs, TCPOptions{}, ) for _, err := range errs { if err != nil { if strings.Contains(err.Error(), "The requested address is not valid in its context") { // Ignore if IP is unbindable. continue nextTest }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 17:41:02 UTC 2024 - 11.8K bytes - Viewed (0) -
cmd/metrics-v3-ilm.go
) // loadILMMetrics - `MetricsLoaderFn` for ILM metrics. func loadILMMetrics(_ context.Context, m MetricValues, _ *metricsCache) error { if globalExpiryState != nil { m.Set(expiryPendingTasks, float64(globalExpiryState.PendingTasks())) } if globalTransitionState != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 06 09:36:25 UTC 2024 - 2.3K bytes - Viewed (0) -
cmd/bootstrap-messages.go
bs.mu.RLock() for _, i := range bs.info { traceInfo = append(traceInfo, i) } bs.mu.RUnlock() return traceInfo } func (bs *bootstrapTracer) Publish(ctx context.Context, trace *pubsub.PubSub[madmin.TraceInfo, madmin.TraceType]) { for _, bsEvent := range bs.Events() { if bsEvent.Message != "" { select { case <-ctx.Done(): default: trace.Publish(bsEvent) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 23 10:07:06 UTC 2023 - 1.7K bytes - Viewed (0)