Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for flipped (0.31 sec)

  1. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

        if ((next & 1) != 0) {
          return (next >>> 1) ^ CRC32C_GENERATOR_FLIPPED;
        } else {
          return next >>> 1;
        }
      }
    
      public void testCrc32cStrideTable() {
        int next = CRC32C_GENERATOR_FLIPPED;
        for (int i = 0; i < 12; i++) { // for 3 ints = 12 bytes in between each stride window
          next = (next >>> 8) ^ Crc32cHashFunction.Crc32cHasher.BYTE_TABLE[next & 0xFF];
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 23 18:30:33 GMT 2020
    - 6.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

        if ((next & 1) != 0) {
          return (next >>> 1) ^ CRC32C_GENERATOR_FLIPPED;
        } else {
          return next >>> 1;
        }
      }
    
      public void testCrc32cStrideTable() {
        int next = CRC32C_GENERATOR_FLIPPED;
        for (int i = 0; i < 12; i++) { // for 3 ints = 12 bytes in between each stride window
          next = (next >>> 8) ^ Crc32cHashFunction.Crc32cHasher.BYTE_TABLE[next & 0xFF];
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Dec 23 18:30:33 GMT 2020
    - 6.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ReaderInputStream.java

       * is perpetually "flipped" (unencoded characters between position and limit).
       */
      private CharBuffer charBuffer;
    
      /**
       * byteBuffer holds encoded characters that have not yet been sent to the caller of the input
       * stream. When encoding it is "unflipped" (encoded bytes between 0 and position) and when
       * draining it is flipped (undrained bytes between position and limit).
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    before, `and things are worse than ever,' thought the poor child,
    `for I never was so small as this before, never!  And I declare
    it's too bad, that it is!'
    
      As she said these words her foot slipped, and in another
    moment, splash! she was up to her chin in salt water.  Her first
    idea was that she had somehow fallen into the sea, `and in that
    case I can go back by railway,' she said to herself.  (Alice had
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterables.java

       *
       * <p>The returned iterable's iterator supports {@code remove()} if the iterator of the underlying
       * iterable supports it. Note that it is <i>not</i> possible to delete the last skipped element by
       * immediately calling {@code remove()} on that iterator, as the {@code Iterator} contract states
       * that a call to {@code remove()} before a call to {@code next()} will throw an {@link
       * IllegalStateException}.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Converter.java

     *       <i>not</i> the same string ({@code "1.00"}) we started with
     * </ol>
     *
     * <p>Note that it should still be the case that the round-tripped and original objects are
     * <i>similar</i>.
     *
     * <h3>Nullability</h3>
     *
     * <p>A converter always converts {@code null} to {@code null} and non-null references to non-null
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Range.java

         * https://stackoverflow.com/a/35754308/28465
         *
         * In that explanation's notation, our `overlap` check would be `x1 < y2 && y1 < x2`. We've
         * flipped one part of the check so that we're using "less than" in both cases (rather than a
         * mix of "less than" and "greater than"). We've also switched to "strictly less than" rather
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/BaseEncoding.java

      /**
       * Returns an encoding that behaves equivalently to this encoding, but adds a separator string
       * after every {@code n} characters. Any occurrences of any characters that occur in the separator
       * are skipped over in decoding.
       *
       * @throws IllegalArgumentException if any alphabet or padding characters appear in the separator
       *     string, or if {@code n <= 0}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/LocalCache.java

                return true;
              }
            }
          }
          return false;
        }
    
        /**
         * Advances to the given entry. Returns true if the entry was valid, false if it should be
         * skipped.
         */
        boolean advanceTo(ReferenceEntry<K, V> entry) {
          try {
            long now = ticker.read();
            K key = entry.getKey();
            V value = getLiveValue(entry, now);
    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)
  10. android/guava/src/com/google/common/io/ByteStreams.java

        long skipped = skipUpTo(in, n);
        if (skipped < n) {
          throw new EOFException(
              "reached end of stream after skipping " + skipped + " bytes; " + n + " bytes expected");
        }
      }
    
      /**
       * Discards up to {@code n} bytes of data from the input stream. This method will block until
       * either the full amount has been skipped or until the end of the stream is reached, whichever
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
Back to top