Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 169 for caster (0.21 sec)

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

          super(master.size() + 3, MODIFIABLE, master, IteratorTester.KnownOrder.KNOWN_ORDER);
          this.master = master;
        }
    
        @Override
        protected Iterator<T> newTargetIterator() {
          // make copy from master to verify later
          targetList = Lists.newArrayList(master);
          Iterator<T> iterator = targetList.iterator();
          return Iterators.peekingIterator(iterator);
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 9K bytes
    - Viewed (0)
  2. .github/pull_request_template.md

    <!--
    Please read the contribution guidelines at
    https://github.com/google/guava/wiki/HowToContribute#code-contributions
    and
    https://github.com/google/guava/blob/master/CONTRIBUTING.md
    before sending a pull request.
    
    We generally welcome PRs for fixing trivial bugs or typos, but please refrain
    from sending a PR with significant changes unless explicitly requested.
    Plain Text
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 27 19:53:41 GMT 2023
    - 371 bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

      private static final HashFunction SIP_WITHOUT_KEY = Hashing.sipHash24();
    
      // These constants were originally ported from https://www.131002.net/siphash/siphash24.c. See:
      // https://github.com/nahi/siphash-java-inline/blob/master/src/test/java/org/jruby/util/SipHashInlineTest.java
      private static final long[] EXPECTED =
          new long[] {
            0x726fdb47dd0e0e31L,
            0x74f839c593dc67fdL,
            0x0d6c8009d9a94f5aL,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sun May 05 18:02:35 GMT 2019
    - 6.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

        // https://github.com/aappleby/smhasher/blob/master/src/main.cpp
        HashTestUtils.verifyHashFunction(hf, 32, 0xB0F57EE3);
      }
    
      public void testParanoid() {
        HashFn hf =
            new HashFn() {
              @Override
              public byte[] hash(byte[] input, int seed) {
                Hasher hasher = murmur3_32(seed).newHasher();
                Funnels.byteArrayFunnel().funnel(input, hasher);
                return hasher.hash().asBytes();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 08 13:56:22 GMT 2021
    - 8.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableAsList.java

      abstract ImmutableCollection<E> delegateCollection();
    
      @Override
      public boolean contains(@CheckForNull Object target) {
        // The collection's contains() is at least as fast as ImmutableList's
        // and is often faster.
        return delegateCollection().contains(target);
      }
    
      @Override
      public int size() {
        return delegateCollection().size();
      }
    
      @Override
      public boolean isEmpty() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableAsList.java

      abstract ImmutableCollection<E> delegateCollection();
    
      @Override
      public boolean contains(@CheckForNull Object target) {
        // The collection's contains() is at least as fast as ImmutableList's
        // and is often faster.
        return delegateCollection().contains(target);
      }
    
      @Override
      public int size() {
        return delegateCollection().size();
      }
    
      @Override
      public boolean isEmpty() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/CharSink.java

     *
     * <p>{@code CharSink} provides two kinds of methods:
     *
     * <ul>
     *   <li><b>Methods that return a writer:</b> These methods should return a <i>new</i>, independent
     *       instance each time they are called. The caller is responsible for ensuring that the
     *       returned writer is closed.
     *   <li><b>Convenience methods:</b> These are implementations of common operations that are
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/HashBasedTable.java

     * iterators that don't support {@code remove()}. Otherwise, all optional operations are supported.
     * Null row keys, columns keys, and values are not supported.
     *
     * <p>Lookups by row key are often faster than lookups by column key, because the data is stored in
     * a {@code Map<R, Map<C, V>>}. A method call like {@code column(columnKey).get(rowKey)} still runs
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/PrimitiveSink.java

       *
       * <p><b>Warning:</b> This method, which reencodes the input before processing it, is useful only
       * for cross-language compatibility. For other use cases, prefer {@link #putUnencodedChars}, which
       * is faster, produces the same output across Java releases, and processes every {@code char} in
       * the input, even if some are invalid.
       */
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/StandardTable.java

           *   `if` body above at least once. Thus, if we got this far, that `if` body initialized
           *   rowEntry at least once.
           *
           * - The only case in which rowEntry is cleared (during remove() below) happens only if the
           *   caller removed every element from columnIterator. During that process, we would have had
           *   to iterate it to exhaustion. Then we can apply the logic above about an empty
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 29.8K bytes
    - Viewed (0)
Back to top