Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for SignedBytes (0.05 seconds)

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

        assertThat(SignedBytes.saturatedCast(LEAST - 1L)).isEqualTo(LEAST);
        assertThat(SignedBytes.saturatedCast(Long.MAX_VALUE)).isEqualTo(GREATEST);
        assertThat(SignedBytes.saturatedCast(Long.MIN_VALUE)).isEqualTo(LEAST);
      }
    
      private static void assertCastFails(long value) {
        try {
          SignedBytes.checkedCast(value);
          fail("Cast to byte should have failed: " + value);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/primitives/UnsignedBytes.java

     * <i>unsigned</i> (that is, any negative value {@code b} is treated as the positive value {@code
     * 256 + b}). The corresponding methods that treat the values as signed are found in {@link
     * SignedBytes}, and the methods for which signedness is not an issue are in {@link Bytes}.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/PrimitivesExplained">primitive utilities</a>.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 21K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/hash/BloomFilter.java

    import com.google.common.base.Predicate;
    import com.google.common.hash.BloomFilterStrategies.LockFreeBitArray;
    import com.google.common.math.DoubleMath;
    import com.google.common.primitives.SignedBytes;
    import com.google.common.primitives.UnsignedBytes;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.InlineMe;
    import java.io.DataInputStream;
    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