Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 202 for Ints (0.02 seconds)

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

    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertFalse;
    
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Sets;
    import com.google.common.primitives.Ints;
    import com.google.common.testing.EqualsTester;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    import java.nio.charset.Charset;
    import java.util.Arrays;
    import java.util.Random;
    import java.util.Set;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/CompactHashMap.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.base.Preconditions;
    import com.google.common.primitives.Ints;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.concurrent.LazyInit;
    import com.google.j2objc.annotations.WeakOuter;
    import java.io.IOException;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 35.7K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/net/InetAddresses.java

    import com.google.common.base.CharMatcher;
    import com.google.common.base.MoreObjects;
    import com.google.common.hash.Hashing;
    import com.google.common.io.ByteStreams;
    import com.google.common.primitives.Ints;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.math.BigInteger;
    import java.net.Inet4Address;
    import java.net.Inet6Address;
    import java.net.InetAddress;
    import java.net.NetworkInterface;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 47.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

                assertNotNull(response.getDfsResponse());
                assertEquals(3, response.getDfsResponse().getNumReferrals());
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 1, 2, 5, 10 })
            @DisplayName("Should handle varying number of referrals")
            void testReadDataWireFormatVaryingReferrals(int numReferrals) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/util/MD4.java

                tail[padLen + i] = (byte) (count * 8 >>> 8 * i);
            }
    
            engineUpdate(tail, 0, tail.length);
    
            final byte[] result = new byte[16];
            // cast this MD4's context (array of 4 ints) into an array of 16 bytes.
            for (int i = 0; i < 4; i++) {
                for (int j = 0; j < 4; j++) {
                    result[i * 4 + j] = (byte) (context[i] >>> 8 * j);
                }
            }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/dtyp/ACETest.java

            assertEquals(0x08, ace.getFlags());
            assertEquals(0x00000001, ace.getAccessMask());
        }
    
        @ParameterizedTest
        @DisplayName("Test various access mask values")
        @ValueSource(ints = { 0x00000001, // FILE_READ_DATA
                0x00000002, // FILE_WRITE_DATA
                0x00000004, // FILE_APPEND_DATA
                0x00010000, // DELETE
                0x00020000, // READ_CONTROL
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

                        "Should throw configured exception");
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 1, 10, 50, 100, 255 })
            @DisplayName("Should handle various data lengths")
            void testVariousDataLengths(int length) throws SMBProtocolDecodingException {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

                assertEquals("Expected structureSize = 4", exception.getMessage());
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 1, 2, 3, 5, 6, 100, 65535 })
            @DisplayName("Should throw exception for various invalid structure sizes")
            void testReadBytesWireFormatVariousInvalidSizes(int structureSize) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            assertEquals(testSessionId, decodedHeader.getSessionId());
        }
    
        // Duplicate testFlags method removed - keeping the first one
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 64, 1024, 4096, 65536 })
        @DisplayName("Should handle various message sizes")
        void testVariousMessageSizes(int messageSize) {
            // When
            transformHeader.setOriginalMessageSize(messageSize);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    
        @ParameterizedTest
        @DisplayName("Test writeBytesWireFormat with different info sizes")
        @ValueSource(ints = { 0, 10, 50, 100, 255 })
        void testWriteBytesWireFormatWithDifferentSizes(int infoSize) {
            request = new Smb2SetInfoRequest(mockConfig, testFileId);
    
            Encodable mockInfo = mock(Encodable.class);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
Back to Top