Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for heddle (0.16 sec)

  1. guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

        }
    
        public int nextCodePoint() {
          int needle = random.nextInt(sum);
          int l = 0;
          int r = prob.length - 1;
          int c = prob.length / 2;
          int lv = prob[l];
          int rv = prob[r];
          int cv = prob[c];
    
          while (true) {
            if (needle == cv) {
              return chars[c - 1];
            } else if ((lv <= needle) && (needle < cv)) {
              return chars[l];
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 194.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

                return barChild;
              }
            };
        Bar bar = getDone(transform(future, function, directExecutor()));
        assertSame(barChild, bar);
      }
    
      /*
       * Android does not handle this stack overflow gracefully... though somehow some other
       * stack-overflow tests work. It must depend on the exact place the error occurs.
       */
      @AndroidIncompatible
      @J2ktIncompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LocalCache.java

          } else {
            // The pending load was removed. Delay notifications until loading completes.
            oldValue = unset();
          }
    
          // TODO(fry): could also cancel loading if we had a handle on its future
        }
    
        public ListenableFuture<V> loadFuture(K key, CacheLoader<? super K, V> loader) {
          try {
            stopwatch.start();
            V previousValue = oldValue.get();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

                return barChild;
              }
            };
        Bar bar = getDone(transform(future, function, directExecutor()));
        assertSame(barChild, bar);
      }
    
      /*
       * Android does not handle this stack overflow gracefully... though somehow some other
       * stack-overflow tests work. It must depend on the exact place the error occurs.
       */
      @AndroidIncompatible
      @J2ktIncompatible
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        // alone
        assertNull(segment.removeEntryFromChain(entryOne, entryOne));
    
        // head
        assertSame(entryOne, segment.removeEntryFromChain(entryTwo, entryTwo));
    
        // middle
        ReferenceEntry<Object, Object> newFirst = segment.removeEntryFromChain(entryThree, entryTwo);
        assertSame(keyThree, newFirst.getKey());
        assertSame(valueThree, newFirst.getValueReference().get());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        // alone
        assertNull(segment.removeEntryFromChain(entryOne, entryOne));
    
        // head
        assertSame(entryOne, segment.removeEntryFromChain(entryTwo, entryTwo));
    
        // middle
        ReferenceEntry<Object, Object> newFirst = segment.removeEntryFromChain(entryThree, entryTwo);
        assertSame(keyThree, newFirst.getKey());
        assertSame(valueThree, newFirst.getValueReference().get());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

        }
    
        public int nextCodePoint() {
          int needle = random.nextInt(sum);
          int l = 0;
          int r = prob.length - 1;
          int c = prob.length / 2;
          int lv = prob[l];
          int rv = prob[r];
          int cv = prob[c];
    
          while (true) {
            if (needle == cv) {
              return chars[c - 1];
            } else if ((lv <= needle) && (needle < cv)) {
              return chars[l];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 194.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/LocalCache.java

          } else {
            // The pending load was removed. Delay notifications until loading completes.
            oldValue = unset();
          }
    
          // TODO(fry): could also cancel loading if we had a handle on its future
        }
    
        public ListenableFuture<V> loadFuture(K key, CacheLoader<? super K, V> loader) {
          try {
            stopwatch.start();
            V previousValue = oldValue.get();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Maps.java

           *
           * ...except that it's possible for users to insert a string key with a non-string value, and
           * in that case, getProperty *will* return null.
           *
           * TODO(b/192002623): Handle that case: Either:
           *
           * - Skip non-string keys and values entirely, as proposed in the linked bug.
           *
           * - Throw ClassCastException instead of NullPointerException, as documented in the current
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFile.java

            MsrpcDfsRootEnum rpc;
            DcerpcHandle handle = null;
            FileEntry[] entries;
    
            handle = DcerpcHandle.getHandle("ncacn_np:" +
                        getAddress().getHostAddress() +
                        "[\\PIPE\\netdfs]", auth);
            try {
                rpc = new MsrpcDfsRootEnum(getServer());
                handle.sendrecv(rpc);
                if (rpc.retval != 0)
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
Back to top