Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 98 for getTimer (0.16 sec)

  1. platforms/core-runtime/time/src/main/java/org/gradle/internal/time/ExponentialBackoff.java

            }
            return result.getValue();
        }
    
        long backoffPeriodFor(int iteration) {
            return random.nextInt(Math.min(iteration, CAP_FACTOR)) * slotTime;
        }
    
        public CountdownTimer getTimer() {
            return timer;
        }
    
        public S getSignal() {
            return signal;
        }
    
        public interface Signal {
            Signal SLEEP = new Signal() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:49:35 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonStopEvent.java

            }
            if (o == null || getClass() != o.getClass()) {
                return false;
            }
    
            DaemonStopEvent stopEvent = (DaemonStopEvent) o;
            return timestamp.getTime() == stopEvent.timestamp.getTime()
                && (reason != null ? reason.equals(stopEvent.reason) : stopEvent.reason == null);
        }
    
        @Override
        public int hashCode() {
            int result = timestamp.hashCode();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/DefaultNamedDomainObjectList.java

            return new DefaultNamedDomainObjectList<T>(this, createFilter(spec), getInstantiator(), getNamer());
        }
    
        @Override
        public <S extends T> NamedDomainObjectList<S> withType(Class<S> type) {
            return new DefaultNamedDomainObjectList<S>(this, createFilter(type), getInstantiator(), getNamer());
        }
    
        @Override
        public List<T> findAll(Closure cl) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. subprojects/core/src/main/java/org/gradle/api/internal/DelegatingNamedDomainObjectSet.java

            return getDelegate().getByName(name, configureAction);
        }
    
        @Override
        public Namer<T> getNamer() {
            return getDelegate().getNamer();
        }
    
        @Override
        public SortedSet<String> getNames() {
            return getDelegate().getNames();
        }
    
        @Override
        public List<Rule> getRules() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 08:18:33 UTC 2023
    - 4.5K bytes
    - Viewed (0)
Back to top