Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 96 for dela (0.13 sec)

  1. android/guava/src/com/google/common/util/concurrent/ListeningScheduledExecutorService.java

      @Override
      ListenableScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit);
    
      /** @since 15.0 (previously returned ScheduledFuture) */
      @Override
      <V extends @Nullable Object> ListenableScheduledFuture<V> schedule(
          Callable<V> callable, long delay, TimeUnit unit);
    
      /** @since 15.0 (previously returned ScheduledFuture) */
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/HashTestUtils.java

            while (!diff) {
              int delta = (1 << i) | (1 << j);
              int key1 = rand.nextInt();
              // apply delta
              int key2 = key1 ^ delta;
    
              // get hashes
              int hash1 = function.hashInt(key1).asInt();
              int hash2 = function.hashInt(key2).asInt();
    
              // this 2-bit candidate delta is not a characteristic
              // if deltas are different
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

          notifyStopped();
        }
      }
    
      /*
       * A NoOp service that will delay the startup and shutdown notification for a configurable amount
       * of time.
       */
      private static class NoOpDelayedService extends NoOpService {
        private long delay;
    
        public NoOpDelayedService(long delay) {
          this.delay = delay;
        }
    
        @Override
        protected void doStart() {
          new Thread() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java

       */
      @Override
      protected void expectContents(Collection<E> expectedCollection) {
        List<E> expectedList = Helpers.copyToList(expectedCollection);
        // Avoid expectEquals() here to delay reason manufacture until necessary.
        if (getList().size() != expectedList.size()) {
          fail("size mismatch: " + reportContext(expectedList));
        }
        for (int i = 0; i < expectedList.size(); i++) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/UnhashableObject.java

    import com.google.common.annotations.GwtCompatible;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An unhashable object to be used in testing as values in our collections.
     *
     * @author Regina O'Dell
     */
    @GwtCompatible
    public class UnhashableObject implements Comparable<UnhashableObject> {
      private final int value;
    
      public UnhashableObject(int value) {
        this.value = value;
      }
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 20 11:19:03 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/repository/UserLocalArtifactRepository.java

        public Artifact find(Artifact artifact) {
            File artifactFile = new File(localRepository.getBasedir(), pathOf(artifact));
    
            // We need to set the file here or the resolver will fail with an NPE, not fully equipped to deal
            // with multiple local repository implementations yet.
            artifact.setFile(artifactFile);
    
            return artifact;
        }
    
        @Override
        public String getId() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java

        public Artifact find(Artifact artifact) {
            File artifactFile = new File(getBasedir(), pathOf(artifact));
    
            // We need to set the file here or the resolver will fail with an NPE, not fully equipped to deal
            // with multiple local repository implementations yet.
            artifact.setFile(artifactFile);
    
            if (artifactFile.exists()) {
                artifact.setResolved(true);
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/BytesTest.java

      }
    
      public void testToArray_threadSafe() {
        for (int delta : new int[] {+1, 0, -1}) {
          for (int i = 0; i < VALUES.length; i++) {
            List<Byte> list = Bytes.asList(VALUES).subList(0, i);
            Collection<Byte> misleadingSize = Helpers.misleadingSizeCollection(delta);
            misleadingSize.addAll(list);
            byte[] arr = Bytes.toArray(misleadingSize);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        boolean longWait = TimeUnit.NANOSECONDS.toSeconds(thread.timeSpentBlocked) >= 5;
        // Count how long it actually took to return; we'll accept any number between the expected delay
        // and the approximate actual delay, to be robust to variance in thread scheduling.
        char overWaitNanosFirstDigit =
            Long.toString(
                    thread.timeSpentBlocked - TimeUnit.MILLISECONDS.toNanos(longWait ? 5000 : 3000))
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/plugin/PluginManagerTest.java

        //      a hinting process which helps flesh out the full specification of the plugin. The plugin manager should
        //      only deal in concrete terms -- all version finding mumbo jumbo is a customization to base functionality
        //      the plugin manager provides.
    
        @Test
        void testRemoteResourcesPlugin() throws Exception {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 13.1K bytes
    - Viewed (0)
Back to top