- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 949 for second (0.07 sec)
-
cni/pkg/nodeagent/pod_cache_test.go
netns2 := p.UpsertPodCacheWithNetns(string(pod.UID), wl2) if netns2 != ns { t.Fatalf("Expected the original Netns for the same uid, got %p and %p", netns2, ns) } if !ns2.closed.Load() { t.Fatal("Expected the second Netns to be closed") } } func TestDoubleTake(t *testing.T) { p := newPodNetnsCache(openNsTestOverride) pod := &corev1.Pod{ObjectMeta: metav1.ObjectMeta{UID: "testUID"}} ns := newFakeNs(inc())
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Aug 14 19:36:19 UTC 2024 - 4.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/JdkBackedImmutableMap.java
Map<K, V> delegateMap = Maps.newHashMapWithExpectedSize(n); // If duplicates are allowed, this map will track the last value for each duplicated key. // A second pass will retain only the first entry for that key, but with this last value. The // value will then be replaced by null, signaling that later entries with the same key should // be deleted.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 4.8K bytes - Viewed (0) -
internal/jwt/parser_test.go
}, }, false, -1, }, { "Standard Claims", "", defaultKeyFunc, &StandardClaims{ StandardClaims: jwt.StandardClaims{ ExpiresAt: time.Now().Add(time.Second * 10).Unix(), }, }, true, 0, }, } func mapClaimsToken(claims *MapClaims) string { claims.SetAccessKey("test") j := jwt.NewWithClaims(jwt.SigningMethodHS512, claims)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Nov 05 19:20:08 UTC 2021 - 6K bytes - Viewed (0) -
cmd/admin-handlers-users-race_test.go
runAllIAMConcurrencyTests(testCase, &check{t, testCase.serverType}) }, ) } } func (s *TestSuiteIAM) TestDeleteUserRace(c *check) { ctx, cancel := context.WithTimeout(context.Background(), 90*time.Second) defer cancel() bucket := getRandomBucketName() err := s.client.MakeBucket(ctx, bucket, minio.MakeBucketOptions{}) if err != nil { c.Fatalf("bucket creat error: %v", err) } // Create a policy policy
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 28 09:06:25 UTC 2024 - 4K bytes - Viewed (0) -
cmd/metacache-server-pool.go
var c *metacache if rpc == nil { resp := localMetacacheMgr.getBucket(ctx, o.Bucket).findCache(*o) c = &resp } else { rctx, cancel := context.WithTimeout(ctx, 5*time.Second) c, err = rpc.GetMetacacheListing(rctx, *o) cancel() } if err != nil { if errors.Is(err, context.Canceled) { // Context is canceled, return at once.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 16:23:16 UTC 2024 - 12.7K bytes - Viewed (0) -
cmd/batch-handlers.go
if endpoint == "" { return nil } buf, err := json.Marshal(ri) if err != nil { return err } ctx, cancel := context.WithTimeout(ctx, 10*time.Second) defer cancel() req, err := http.NewRequestWithContext(ctx, http.MethodPost, endpoint, bytes.NewReader(buf)) if err != nil { return err } if token != "" { req.Header.Set("Authorization", token)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 18 15:32:09 UTC 2024 - 62.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/ExecJob.java
if (timeout <= 0) { return null; } return TimeoutManager.getInstance().addTimeoutTarget(() -> { logger.warn("Process is terminated due to {} second exceeded.", timeout); ComponentUtil.getProcessHelper().destroyProcess(sessionId); processTimeout = true; }, timeout, false); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 7.7K bytes - Viewed (0) -
cmd/storage-rest-client.go
} return info, nil } // In all other cases cache the value upto 1sec. client.diskInfoCache.InitOnce(time.Second, cachevalue.Opts{}, func(ctx context.Context) (info DiskInfo, err error) { ctx, cancel := context.WithTimeout(ctx, 5*time.Second) defer cancel() nopts := DiskInfoOptions{DiskID: *client.diskID.Load(), Metrics: true}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Oct 13 13:07:21 UTC 2024 - 30.2K bytes - Viewed (0) -
cmd/metrics-v3-cache.go
m.percUtil = float64(ioStats.TotalTicks) * 100 / (durationSecs * 1000) return } func newDriveMetricsCache() *cachevalue.Cache[storageMetrics] { var ( // prevDriveIOStats is used to calculate "per second" // values for IOStat related disk metrics e.g. reads/sec. prevDriveIOStats map[string]madmin.DiskIOStats prevDriveIOStatsMu sync.RWMutex prevDriveIOStatsRefreshedAt time.Time )
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 09 00:51:34 UTC 2024 - 8.1K bytes - Viewed (0) -
cmd/kms-handlers_test.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 22.3K bytes - Viewed (0)