Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 63 for Longs (0.01 sec)

  1. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

    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;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.Immutable;
    import java.io.Serializable;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/QuantilesTest.java

    import com.google.common.collect.Ordering;
    import com.google.common.math.Quantiles.ScaleAndIndexes;
    import com.google.common.primitives.Doubles;
    import com.google.common.primitives.Ints;
    import com.google.common.primitives.Longs;
    import com.google.common.truth.Correspondence;
    import com.google.common.truth.Correspondence.BinaryPredicate;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.Random;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/QuantilesTest.java

    import com.google.common.collect.Ordering;
    import com.google.common.math.Quantiles.ScaleAndIndexes;
    import com.google.common.primitives.Doubles;
    import com.google.common.primitives.Ints;
    import com.google.common.primitives.Longs;
    import com.google.common.truth.Correspondence;
    import com.google.common.truth.Correspondence.BinaryPredicate;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.Random;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Hashing.java

     *
     * @author Kevin Bourrillion
     * @author Jesse Wilson
     * @author Austin Appleby
     */
    @GwtCompatible
    final class Hashing {
      private Hashing() {}
    
      /*
       * These should be ints, but we need to use longs to force GWT to do the multiplications with
       * enough precision.
       */
      private static final long C1 = 0xcc9e2d51;
      private static final long C2 = 0x1b873593;
    
      /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/package-info.java

     *       </ul>
     *   <li>{@link Chars}
     *   <li>{@link Doubles}
     *   <li>{@link Floats}
     *   <li>{@link Ints}
     *       <ul>
     *         <li>{@link UnsignedInts}
     *       </ul>
     *   <li>{@link Longs}
     *       <ul>
     *         <li>{@link UnsignedLongs}
     *       </ul>
     *   <li>{@link Shorts}
     * </ul>
     *
     * <h3>General static utilities</h3>
     *
     * <ul>
     *   <li>{@link Primitives}
     * </ul>
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jan 03 15:30:05 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/AllocInfoTest.java

        }
    
        /**
         * Parameterised test of capacity values, including edge cases such as
         * zero and negative capacities.
         */
        @ParameterizedTest
        @ValueSource(longs = { 0L, -1L, Long.MAX_VALUE })
        @DisplayName("capacity may be any long value")
        void testCapacityEdgeValues(long capacity) {
            when(mockAllocInfo.getCapacity()).thenReturn(capacity);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

    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;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.Immutable;
    import java.io.Serializable;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java

        }
    
        /**
         * Parameterised test for a selection of edge and typical values.
         */
        @ParameterizedTest(name = "Encode and decode {0}")
        @ValueSource(longs = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE })
        public void testEncodeWithVariousValues(long val) throws NdrException {
            NdrHyper hyper = new NdrHyper(val);
            // Create buffer with extra space for alignment
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/util/SMBUtilTest.java

        @ParameterizedTest
        @ValueSource(longs = { 0L, 1L, 0xFFFFFFFFL, 0x12345678L, 0x80000000L })
        void testWriteReadInt4RoundTrip(long input) {
            byte[] buffer = new byte[8];
            SMBUtil.writeInt4(input, buffer, 0);
            int result = SMBUtil.readInt4(buffer, 0);
            assertEquals((int) (input & 0xFFFFFFFFL), result);
        }
    
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/AllocInfoTest.java

        @Nested
        @DisplayName("Edge Cases and Boundary Tests")
        class EdgeCasesTests {
    
            @ParameterizedTest
            @DisplayName("Should handle boundary values for capacity")
            @ValueSource(longs = { 0L, 1L, -1L, 1024L, 1048576L, 1073741824L, Long.MAX_VALUE, Long.MIN_VALUE, Long.MAX_VALUE - 1,
                    Long.MIN_VALUE + 1 })
            void shouldHandleBoundaryValuesForCapacity(long capacity) {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top