- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 67 for setitimer (0.62 sec)
-
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonStopEvent.java
+ ", pid=" + pid + ", status=" + status + "}"; } boolean occurredInLastHours(final int numHours) { Calendar cal = Calendar.getInstance(); cal.setTime(new Date(System.currentTimeMillis())); cal.add(Calendar.HOUR_OF_DAY, -1 * numHours); return timestamp.after(cal.getTime()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:38 UTC 2024 - 4.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_filter_test.go
RequestInfo: reqInfo, User: flowUser, } // Add 1 second to the fake clock during QueueNoteFn newTime := startTime.Add(time.Second) qnf := fq.QueueNoteFn(func(bool) { clk.FakePassiveClock.SetTime(newTime) }) ctx := request.WithLatencyTrackers(context.Background()) controller.Handle(ctx, rd, noteFn, workEstr, qnf, func() {}) latencyTracker, ok := request.LatencyTrackersFrom(ctx) if !ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:40 UTC 2023 - 5.6K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/AbstractModule.groovy
writeContents(bos, cl) ZipArchiveOutputStream zipStream = new ZipArchiveOutputStream(testFile) try { def entry = new ZipArchiveEntry(testFile.name) entry.setTime(lmd.getTime()) zipStream.putArchiveEntry(entry) zipStream << bos.toByteArray() zipStream.closeArchiveEntry() zipStream.finish() } finally {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultFileLockManager.java
} if (fileLockContentionHandler.maybePingOwner(lockInfo.port, lockInfo.lockId, displayName, backoff.getTimer().getElapsedMillis() - lastPingTime, backoff.getSignal())) { lastPingTime = backoff.getTimer().getElapsedMillis();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:32 UTC 2024 - 22.3K bytes - Viewed (0) -
src/cmd/distpack/pack.go
} version, versionTime := readVERSION(goroot) // Start with files from GOROOT, filtering out non-distribution files. base, err := NewArchive(goroot) if err != nil { log.Fatal(err) } base.SetTime(versionTime) base.SetMode(mode) base.Remove( ".git/**", ".gitattributes", ".github/**", ".gitignore", "VERSION.cache", "misc/cgo/*/_obj/**", "**/.DS_Store",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 10.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/InPlaceClasspathBuilder.java
return null; } } private ZipArchiveEntry newZipEntryWithFixedTime(String name) { ZipArchiveEntry entry = new ZipArchiveEntry(name); entry.setTime(ZipCopyAction.CONSTANT_TIME_FOR_ZIP_ENTRIES); return entry; } private void configureCompression(ZipArchiveEntry entry, CompressionMethod compressionMethod, byte[] contents) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 09 14:05:09 UTC 2024 - 6.9K bytes - Viewed (0) -
pkg/controlplane/controller/legacytokentracking/controller_test.go
controller.configMapCache.Delete(&corev1.ConfigMap{ ObjectMeta: metav1.ObjectMeta{Namespace: metav1.NamespaceSystem, Name: ConfigMapName}, }) controller.clock.(*testingclock.FakeClock).SetTime(createAt) if err := controller.syncConfigMap(); err != nil { t.Errorf("Failed to sync ConfigMap, err: %v", err) } } if diff := cmp.Diff(test.expectedActions, client.Actions()); diff != "" {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 19 17:33:34 UTC 2023 - 7.6K bytes - Viewed (0) -
cmd/warm-backend-azure.go
blobURL := az.serviceURL.NewContainerURL(az.Bucket).NewBlockBlobURL(az.getDest(object)) // set tier if specified - if az.StorageClass != "" { if _, err := blobURL.SetTier(ctx, az.tier(), azblob.LeaseAccessConditions{}, azblob.RehydratePriorityStandard); err != nil { return "", azureToObjectError(err, az.Bucket, object) } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Mar 05 16:44:08 UTC 2024 - 7.8K bytes - Viewed (0) -
pkg/kubelet/kubelet_node_status_test.go
// Should report kubelet not ready if the runtime check is out of date clock.SetTime(time.Now().Add(-maxWaitForContainerRuntime)) kubelet.updateRuntimeUp() checkNodeStatus(v1.ConditionFalse, "KubeletNotReady") // Should report kubelet ready if the runtime check is updated clock.SetTime(time.Now()) kubelet.updateRuntimeUp() checkNodeStatus(v1.ConditionTrue, "KubeletReady")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 08 19:23:19 UTC 2024 - 115.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/TimeConversionUtil.java
final Calendar calendar; if (locale == null) { calendar = Calendar.getInstance(); } else { calendar = Calendar.getInstance(locale); } calendar.setTime(date); return calendar; } /** * 文字列を{@link Time}に変換します。 * * @param str * 文字列 * @return 変換された{@link Time} */
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 21.2K bytes - Viewed (0)