- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 191 for Ints (0.03 sec)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
// Check information level int actualInfoLevel = SMBUtil.readInt2(buffer, 0); assertEquals(0x0101, actualInfoLevel); } @ParameterizedTest @ValueSource(ints = { -1, 0, 100, 255, Integer.MAX_VALUE }) void testMapInformationLevelWithUnsupportedLevels(int level) { if (level == FileInformation.FILE_BASIC_INFO || level == FileInformation.FILE_STANDARD_INFO
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java
assertEquals("Payload exceeds buffer size", exception.getMessage()); } @ParameterizedTest @ValueSource(ints = { 1, 10, 100, 500, 1024 }) void testReadDataWireFormatWithVariousSizes(int dataSize) throws SMBProtocolDecodingException { if (dataSize > outputBuffer.length) { return; // Skip sizes larger than buffer
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
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;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 25.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
assertEquals(1, SMBUtil.readInt4(smallBuffer, 16)); } @ParameterizedTest @DisplayName("Should encode consistently with various flag values") @ValueSource(ints = { 0, 1, 2, 4, 16, 0xFF, 0xFFFF, 0xFFFFFF, 0x7FFFFFFF, -1 }) void testEncodingWithVariousFlags(int flags) { lock = new Smb2Lock(1024L, 2048L, flags); int encoded = lock.encode(buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
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;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 35.7K bytes - Viewed (0) -
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;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
// When int result = response.writeBytesWireFormat(dst, dstIndex); // Then assertEquals(0, result); } @ParameterizedTest @ValueSource(ints = { 0, 10, 50, 99 }) @DisplayName("Should return 0 regardless of destination index") void testWriteBytesWireFormatWithDifferentIndices(int index) { // Given byte[] dst = new byte[100];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
assertEquals(0, bytesRead); assertEquals(0, response.getAttributes()); assertEquals(0, response.getSize()); } @ParameterizedTest @ValueSource(ints = { 0x0001, 0x0002, 0x0004, 0x0010, 0x0020, 0x0080, 0x0100 }) void testDifferentFileAttributes(int fileAttribute) { // Test various file attribute values
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/SMBSigningDigestTest.java
assertFalse(result, "Verify should return false for invalid signature"); verify(signingDigest, times(1)).verify(testData, offset, length, extraPad, message); } @ParameterizedTest @ValueSource(ints = { 0, 1, 2, 4, 8, 16 }) @DisplayName("Test verify method with different extra padding values") void testVerifyWithDifferentExtraPadding(int extraPad) { // Arrange int offset = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
assertTrue(str.contains("remark=null")); assertTrue(str.endsWith("]")); } @ParameterizedTest @DisplayName("Test toString with various type values") @ValueSource(ints = { 0x00000000, 0x00000001, 0x00000003, 0x80000000, 0x80000001, 0xFFFFFFFF }) void testToStringWithVariousTypes(int type) { SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, type, TEST_REMARK);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0)