- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 127 for SetTime (0.11 sec)
-
pkg/kubelet/images/image_gc_manager_test.go
assert.Len(fakeRuntime.ImageList, 2) // Move clock by a lot, and the images should continue to not be garbage colleced // See https://stackoverflow.com/questions/25065055/what-is-the-maximum-time-time-in-go fakeClock.SetTime(time.Unix(1<<63-62135596801, 999999999)) images, err = manager.freeOldImages(ctx, images, fakeClock.Now(), oldStartTime) require.NoError(t, err) assert.Len(images, 1) assert.Len(fakeRuntime.ImageList, 2) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 15:38:20 UTC 2024 - 29.2K bytes - Viewed (0) -
pkg/scheduler/internal/queue/scheduling_queue_test.go
queue.AddUnschedulableIfNotPresent(logger, pInfo, 1) // Override clock to exceed the DefaultPodMaxInUnschedulablePodsDuration so that unschedulable pods // will be moved to activeQ c.SetTime(timestamp.Add(DefaultPodMaxInUnschedulablePodsDuration + 1)) queue.flushUnschedulablePodsLeftover(logger) }, wantAttempts: 2, wantInitialAttemptTs: timestamp, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 146.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java
assertThat(new SimpleDateFormat("HH:mm:ss").format(calendar.getTime()), is("11:49:00")); } /** * @throws Exception */ @Test public void testToCalendar_MediumStyle() throws Exception { final Calendar calendar = toCalendar("11:49:10"); assertThat(new SimpleDateFormat("HH:mm:ss").format(calendar.getTime()), is("11:49:10")); } /** * @throws Exception
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java
} /** * @throws Exception */ @Test public void testToCalendar_MediumStyle() throws Exception { final Calendar calendar = toCalendar("2010/9/7 11:49:10", Locale.JAPAN); assertThat(new SimpleDateFormat("yyyy/MM/dd HH:mm:ss").format(calendar.getTime()), is("2010/09/07 11:49:10")); } /**
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 11.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java
assertThat(new SimpleDateFormat("yyyy/MM/dd").format(calendar.getTime()), is("2010/09/07")); } /** * @throws Exception */ @Test public void testToCalendar_MediumStyle() throws Exception { final Calendar calendar = toCalendar("2010/9/7"); assertThat(new SimpleDateFormat("yyyy/MM/dd").format(calendar.getTime()), is("2010/09/07")); } /** * @throws Exception
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9.4K bytes - Viewed (0) -
src/runtime/vdso_test.go
// signal from the child process. t.Log(err) testenv.SkipFlaky(t, 63734) } } t.Fatal(err) } if got := bytes.Count(out, []byte("gettime")); got >= calls { t.Logf("found %d gettime calls, want < %d", got, calls) // Try to double-check that a C program uses the VDSO. tempdir := t.TempDir() cfn := filepath.Join(tempdir, "time.c") cexe := filepath.Join(tempdir, "time")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 17 19:47:47 UTC 2024 - 3.7K bytes - Viewed (0) -
platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/ClientForwardingTestOutputOperationListener.java
DefaultTestOutputResult result = new DefaultTestOutputResult(progressEvent.getTime(), progressEvent.getTime(), destination, progress.getOutput().getMessage()); eventConsumer.progress(new DefaultTestOutputEvent(progressEvent.getTime(), descriptor, result)); } } private static int getDestination(TestOutputEvent.Destination destination) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 3.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/ByteConversionUtil.java
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/DoubleConversionUtil.java
} else if (o instanceof java.util.Date) { if (pattern != null) { return new Double(new SimpleDateFormat(pattern).format(o)); } return new Double(((java.util.Date) o).getTime()); } else { return toDouble(o.toString()); } } private static Double toDouble(final String s) { if (StringUtil.isEmpty(s)) { return null; }
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/IntegerConversionUtil.java
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.7K bytes - Viewed (0)