Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for toUnsignedInt (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava/src/com/google/common/hash/Murmur3_128HashFunction.java

            case 4:
              k1 ^= (long) toUnsignedInt(bb.get(3)) << 24; // fall through
            case 3:
              k1 ^= (long) toUnsignedInt(bb.get(2)) << 16; // fall through
            case 2:
              k1 ^= (long) toUnsignedInt(bb.get(1)) << 8; // fall through
            case 1:
              k1 ^= (long) toUnsignedInt(bb.get(0));
              break;
            default:
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

          assertThat(UnsignedBytes.checkedCast(toUnsignedInt(value))).isEqualTo(value);
        }
        assertCastFails(256L);
        assertCastFails(-1L);
        assertCastFails(Long.MAX_VALUE);
        assertCastFails(Long.MIN_VALUE);
      }
    
      public void testSaturatedCast() {
        for (byte value : VALUES) {
          assertThat(UnsignedBytes.saturatedCast(toUnsignedInt(value))).isEqualTo(value);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

    import static com.google.common.base.Preconditions.checkPositionIndexes;
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.hash.Hashing.GOOD_FAST_HASH_SEED;
    import static java.lang.Byte.toUnsignedInt;
    import static java.nio.charset.StandardCharsets.UTF_8;
    
    import com.google.common.primitives.Chars;
    import com.google.common.primitives.Ints;
    import com.google.common.primitives.Longs;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/io/ByteSourceTest.java

    import static com.google.common.io.TestOption.SKIP_THROWS;
    import static com.google.common.io.TestOption.WRITE_THROWS;
    import static com.google.common.truth.Truth.assertThat;
    import static java.lang.Byte.toUnsignedInt;
    import static java.lang.Math.max;
    import static java.lang.Math.min;
    import static java.nio.charset.StandardCharsets.US_ASCII;
    import static org.junit.Assert.assertArrayEquals;
    import static org.junit.Assert.assertThrows;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

    import static com.google.common.io.TestOption.SKIP_THROWS;
    import static com.google.common.io.TestOption.WRITE_THROWS;
    import static com.google.common.truth.Truth.assertThat;
    import static java.lang.Byte.toUnsignedInt;
    import static java.lang.Math.max;
    import static java.lang.Math.min;
    import static java.nio.charset.StandardCharsets.US_ASCII;
    import static org.junit.Assert.assertArrayEquals;
    import static org.junit.Assert.assertThrows;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/hash/BloomFilter.java

     * the License.
     */
    
    package com.google.common.hash;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static java.lang.Byte.toUnsignedInt;
    import static java.lang.Math.max;
    
    import com.google.common.annotations.Beta;
    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.base.Predicate;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 10 22:28:12 GMT 2026
    - 27.6K bytes
    - Click Count (0)
Back to Top