Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for getTimer (0.28 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/internal/model/CustomPluginObjectFactoryIntegrationTest.groovy

                        factory = of
                    }
    
                    String name
    
                    Person getRiker() {
                       factory.newInstance(Person, 'Riker')
                    }
    
                    void checkRiker(Action<? super Person> check) {
                        check.execute(getRiker())
                    }
                }
    
                class Person {
    
                    @javax.inject.Inject
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 13 21:29:11 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  7. 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)
  8. src/main/webapp/js/admin/plugins/form-validator/date.js

    ire("jquery")):b(a.jQuery)}(this,function(a){!function(a){function b(a,b,d){var e=new Date(a,b,d),f=new Date,g=f.getFullYear()-e.getFullYear();e.setFullYear(e.getFullYear()+g),e>f&&(g--,e.setFullYear(e.getFullYear()-1));var h=Math.floor((f.getTime()-e.getTime())/864e5),i=g+h/(c(f.getFullYear())?366:365),j=((i+"").split(".")[1]||"").substr(0,3);return i>=0?Math.floor(i)+(j>=915?1:0):(j*=10,Math.floor(i)+(j<=840?1:0))}function c(a){var b=new Date(a,1,28);return b.setDate(b.getDate()+1),1===b.getMo...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 1.6K 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