Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 106 for account (0.15 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

          }
        }
      }
    
      private static class CountingIterable implements Iterable<String> {
        int count = 0;
    
        @Override
        public Iterator<String> iterator() {
          count++;
          return asList("a", "b", "a").iterator();
        }
      }
    
      public void testCopyOf_plainIterable() {
        CountingIterable iterable = new CountingIterable();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

          int before = processCalled;
          super.processRemaining(bb);
          int after = processCalled;
          assertEquals(before + 1, after); // default implementation pads and calls process()
          processCalled--; // don't count the tail invocation (makes tests a bit more understandable)
        }
    
        // ensures that the number of invocations looks sane
        void assertInvariants(int expectedBytes) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/CharStreams.java

          total += read;
          Java8Compatibility.clear(buf);
        }
        return total;
      }
    
      /**
       * Discards {@code n} characters of data from the reader. This method will block until the full
       * amount has been skipped. Does not close the reader.
       *
       * @param reader the reader to read from
       * @param n the number of characters to skip
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ForwardingSortedMultiset.java

       * methods: {@link SortedMultiset#clear}, {@link SortedMultiset#comparator}, {@link
       * SortedMultiset#contains}, {@link SortedMultiset#containsAll}, {@link SortedMultiset#count},
       * {@link SortedMultiset#firstEntry} {@link SortedMultiset#headMultiset}, {@link
       * SortedMultiset#isEmpty}, {@link SortedMultiset#lastEntry}, {@link SortedMultiset#subMultiset},
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 8.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Splitter.java

       *
       * <p>For example, {@code Splitter.on(',').limit(3).split("a,b,c,d")} returns an iterable
       * containing {@code ["a", "b", "c,d"]}. When omitting empty strings, the omitted strings do not
       * count. Hence, {@code Splitter.on(',').limit(3).omitEmptyStrings().split("a,,,b,,,c,d")} returns
       * an iterable containing {@code ["a", "b", "c,d"]}. When trim is requested, all entries are
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/GcFinalization.java

            throw new RuntimeException("Unexpected interrupt while waiting for latch", ie);
          }
        } while (System.nanoTime() - deadline < 0);
        throw formatRuntimeException(
            "Latch failed to count down within %d second timeout", timeoutSeconds);
      }
    
      /**
       * Creates a garbage object that counts down the latch in its finalizer. Sequestered into a
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/CharMatcher.java

       */
      public int countIn(CharSequence sequence) {
        int count = 0;
        for (int i = 0; i < sequence.length(); i++) {
          if (matches(sequence.charAt(i))) {
            count++;
          }
        }
        return count;
      }
    
      /**
       * Returns a string containing all non-matching characters of a character sequence, in order. For
       * example:
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Chars.java

       *
       * @param array the source array
       * @param minLength the minimum length the returned array must guarantee
       * @param padding an extra amount to "grow" the array by if growth is necessary
       * @throws IllegalArgumentException if {@code minLength} or {@code padding} is negative
       * @return an array containing the values of {@code array}, with guaranteed minimum length {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

          // otherwise have another task queued on to it. Note the exception to this, cancellation, is
          // specially handled in execute() - execute() calls triggered by cancellation are no-ops, and
          // thus don't count.
          requireNonNull(sequencer).latestTaskQueue = executingTaskQueue;
          sequencer = null;
          try {
            // requireNonNull is safe, as discussed above.
            Runnable localTask = requireNonNull(task);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Doubles.java

       *
       * @param array the source array
       * @param minLength the minimum length the returned array must guarantee
       * @param padding an extra amount to "grow" the array by if growth is necessary
       * @throws IllegalArgumentException if {@code minLength} or {@code padding} is negative
       * @return an array containing the values of {@code array}, with guaranteed minimum length {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 27.1K bytes
    - Viewed (0)
Back to top