Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 340 for bots (1.52 sec)

  1. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        ExecutorService exec = Executors.newCachedThreadPool();
    
        int listenerCount = 20;
        CountDownLatch listenerLatch = new CountDownLatch(listenerCount);
    
        // Test that listeners added both before and after the value is available
        // get called correctly.
        for (int i = 0; i < 20; i++) {
    
          // Right in the middle start up a thread to close the latch.
          if (i == 10) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 18:30:30 GMT 2023
    - 6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/AbstractIteratorTest.java

        } catch (IllegalStateException expected) {
        }
      }
    
      // Technically we should test other reentrant scenarios (4 combinations of
      // hasNext/next), but we'll cop out for now, knowing that
      // next() both start by invoking hasNext() anyway.
    
      /** Throws an undeclared checked exception. */
      private static void sneakyThrow(Throwable t) {
        class SneakyThrower<T extends Throwable> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu May 04 09:41:29 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java

        String safeInput = "\uD800\uDC00"; // 0x10000
        assertEquals(safeInput, surrogateEscaper.escape(safeInput));
    
        // A surrogate pair defining a code point outside the safe range (but both
        // of the surrogate characters lie within the safe range). It is important
        // not to accidentally treat this as a sequence of safe characters.
        String unsafeInput = "\uDBFF\uDFFF"; // 0x10FFFF
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 23:02:38 GMT 2024
    - 5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java

        static final int SMB_FIND_FILE_DIRECTORY_INFO = 0x101;
        static final int SMB_FIND_FILE_FULL_DIRECTORY_INFO = 0x102;
        static final int SMB_FILE_NAMES_INFO = 0x103;
        static final int SMB_FILE_BOTH_DIRECTORY_INFO = 0x104;
    
        private int sid;
        private boolean isEndOfSearch;
        private int eaErrorOffset;
        private int lastNameOffset, lastNameBufferIndex;
        private String lastName;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

          canRemove = false;
          expectedModCount++;
          if (cursor < size()) {
            MoveDesc<E> moved = removeAt(cursor);
            if (moved != null) {
              // Either both are null or neither is, but we check both to satisfy the nullness checker.
              if (forgetMeNot == null || skipMe == null) {
                forgetMeNot = new ArrayDeque<>();
                skipMe = new ArrayList<>(3);
              }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/escape/EscapersTest.java

        builder.addEscape(' ', "-");
        builder.addEscape('!', "$");
        Escaper second = builder.build();
        // This should have no effect on existing escapers.
        builder.addEscape(' ', "*");
    
        // Test both escapers after modifying the builder.
        assertEquals("Xhe_Xuick_Xrown_XoxX", first.escape("The Quick Brown Fox!"));
        assertEquals("Xhe-Xuick-Xrown-Xox$", second.escape("The Quick Brown Fox!"));
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/PredecessorsFunction.java

     * transformation:
     *
     * <pre>{@code
     * someGraphAlgorithm(startNode, node -> ImmutableList.of(node.mother(), node.father()));
     * }</pre>
     *
     * <p>Graph algorithms that need additional capabilities (accessing both predecessors and
     * successors, iterating over the edges, etc.) should declare their input to be of a type that
     * provides those capabilities, such as {@link Graph}, {@link ValueGraph}, or {@link Network}.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 4.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/SuccessorsFunction.java

     * transformation:
     *
     * <pre>{@code
     * someGraphAlgorithm(startNode, node -> ImmutableList.of(node.leftChild(), node.rightChild()));
     * }</pre>
     *
     * <p>Graph algorithms that need additional capabilities (accessing both predecessors and
     * successors, iterating over the edges, etc.) should declare their input to be of a type that
     * provides those capabilities, such as {@link Graph}, {@link ValueGraph}, or {@link Network}.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 4.3K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

            }
    
            return s;
        }
    
        /**
         * Removes the leading directory separator from the specified filesystem path (if any). For platform-independent
         * behavior, this method accepts both the forward slash and the backward slash as separator.
         *
         * @param path The filesystem path, may be <code>null</code>.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Murmur3_128HashFunction.java

      // TODO(user): when the shortcuts are implemented, update BloomFilterStrategies
      private final int seed;
    
      Murmur3_128HashFunction(int seed) {
        this.seed = seed;
      }
    
      @Override
      public int bits() {
        return 128;
      }
    
      @Override
      public Hasher newHasher() {
        return new Murmur3_128Hasher(seed);
      }
    
      @Override
      public String toString() {
        return "Hashing.murmur3_128(" + seed + ")";
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 5.6K bytes
    - Viewed (0)
Back to top