Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 518 for white (0.14 sec)

  1. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

       * out of it for a while and see what happens.
       */
      public void testBuilder_bruteForce() {
        for (int i = 0; i < reduceIterationsIfGwt(100); i++) {
          ImmutableDoubleArray.Builder builder = ImmutableDoubleArray.builder(RANDOM.nextInt(20));
          AtomicInteger counter = new AtomicInteger(0);
          while (counter.get() < 1000) {
            BuilderOp op = BuilderOp.randomOp();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 15:23:21 GMT 2023
    - 20K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Hasher.java

       * other words, no character encoding is performed; the low byte and high byte of each {@code
       * char} are hashed directly (in that order). The input must not be updated while this method is
       * in progress.
       *
       * <p><b>Warning:</b> This method will produce different output than most other languages do when
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 5.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/package-info.java

     *       fulfills the {@link java.util.List} contract.
     *   <dt>{@link SetMultimap}
     *   <dd>An extension of {@link Multimap} which has order-independent equality and does not allow
     *       duplicate entries; that is, while a key may appear twice in a {@code SetMultimap}, each
     *       must map to a different value. {@code SetMultimap} takes its name from the fact that the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jul 06 16:29:45 GMT 2023
    - 5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

        try {
          queue.dispatch();
        } finally {
          logger.removeHandler(logHandler);
        }
    
        assertEquals(1, logHandler.getStoredLogRecords().size());
        assertEquals(
            "Exception while executing callback: MyListener custom-label",
            logHandler.getStoredLogRecords().get(0).getMessage());
      }
    
      public void testEnqueueAndDispatch_multithreaded() throws InterruptedException {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/CollectorTester.java

              A newAccum = collector.supplier().get();
              collector.accumulator().accept(newAccum, input);
              push(stack, newAccum);
            }
            push(stack, collector.supplier().get());
            while (stack.size() > 1) {
              A right = pop(stack);
              A left = pop(stack);
              push(stack, collector.combiner().apply(left, right));
            }
            return pop(stack);
          }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

       * out of it for a while and see what happens.
       */
      public void testBuilder_bruteForce() {
        for (int i = 0; i < reduceIterationsIfGwt(100); i++) {
          ImmutableLongArray.Builder builder = ImmutableLongArray.builder(RANDOM.nextInt(20));
          AtomicLong counter = new AtomicLong(0);
          while (counter.get() < 1000) {
            BuilderOp op = BuilderOp.randomOp();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/EnumsTest.java

        @SuppressWarnings("unchecked")
        Class<TestEnum> shadowTestEnum =
            (Class<TestEnum>) Class.forName(TestEnum.class.getName(), false, shadowLoader);
        assertNotSame(shadowTestEnum, TestEnum.class);
        // We can't write Set<TestEnum> because that is a Set of the TestEnum from the original
        // ClassLoader.
        Set<Object> shadowConstants = new HashSet<>();
        for (TestEnum constant : TestEnum.values()) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 8.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/ByteSourceTester.java

                  final ByteArrayOutputStream out = new ByteArrayOutputStream();
    
                  @Override
                  public boolean processBytes(byte[] buf, int off, int len) throws IOException {
                    out.write(buf, off, len);
                    return true;
                  }
    
                  @Override
                  public byte[] getResult() {
                    return out.toByteArray();
                  }
                });
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Throwables.java

        // the slower pointer, then there's a loop.
        Throwable slowPointer = throwable;
        boolean advanceSlowPointer = false;
    
        Throwable cause;
        while ((cause = throwable.getCause()) != null) {
          throwable = cause;
    
          if (throwable == slowPointer) {
            throw new IllegalArgumentException("Loop in causal chain detected.", throwable);
          }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Throwables.java

        // the slower pointer, then there's a loop.
        Throwable slowPointer = throwable;
        boolean advanceSlowPointer = false;
    
        Throwable cause;
        while ((cause = throwable.getCause()) != null) {
          throwable = cause;
    
          if (throwable == slowPointer) {
            throw new IllegalArgumentException("Loop in causal chain detected.", throwable);
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
Back to top