- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 431 for ints (0.02 sec)
-
android/guava-tests/test/com/google/common/base/ThrowablesTest.java
import com.google.common.base.TestExceptions.SomeUncheckedException; import com.google.common.base.TestExceptions.YetAnotherCheckedException; import com.google.common.collect.Iterables; import com.google.common.primitives.Ints; import com.google.common.testing.NullPointerTester; import java.util.List; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link Throwables}. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
int actualInfoLevel = SMBUtil.readInt2(buffer, 2); assertEquals(0x0101, actualInfoLevel); // Check reserved bytes (should be 0) int reserved = SMBUtil.readInt2(buffer, 4); assertEquals(0, reserved); } @DisplayName("Test writeParametersWireFormat with different FIDs") @ParameterizedTest @ValueSource(ints = { 0, 1, 0xFFFF, 0x8000, 0x7FFF })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
assertEquals(response.getTreeId(), response.getTid()); } /** * Helper method to create a valid response buffer */ private byte[] createValidResponseBuffer(int shareType, int shareFlags, int capabilities, int maxAccess) { byte[] buffer = new byte[256]; SMBUtil.writeInt2(16, buffer, 0); buffer[2] = (byte) shareType; buffer[3] = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbNamedPipeTest.java
} @ParameterizedTest @DisplayName("getPipeType echoes constructor input (edge values)") @ValueSource(ints = { 0, SmbPipeResource.PIPE_TYPE_RDONLY, SmbPipeResource.PIPE_TYPE_WRONLY, SmbPipeResource.PIPE_TYPE_DCE_TRANSACT }) void getPipeTypeEchoesInput(int pipeType) throws Exception { // Arrange & Act SmbNamedPipe pipe = new SmbNamedPipe("smb://server/IPC$/foo", pipeType, ctx());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java
private static final int FILE_NOTIFY_CHANGE_EA = 0x00000080; private static final int FILE_NOTIFY_CHANGE_SECURITY = 0x00000100; private static final int FILE_NOTIFY_CHANGE_STREAM_NAME = 0x00000200; private static final int FILE_NOTIFY_CHANGE_STREAM_SIZE = 0x00000400; private static final int FILE_NOTIFY_CHANGE_STREAM_WRITE = 0x00000800;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.4K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/BloomFilterStrategies.java
Funnel<? super T> funnel, int numHashFunctions, LockFreeBitArray bits) { long bitSize = bits.bitSize(); long hash64 = Hashing.murmur3_128().hashObject(object, funnel).asLong(); int hash1 = (int) hash64; int hash2 = (int) (hash64 >>> 32); boolean bitsChanged = false; for (int i = 1; i <= numHashFunctions; i++) { int combinedHash = hash1 + (i * hash2);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/DiscreteDomain.java
IntegerDomain() { super(true); } @Override public @Nullable Integer next(Integer value) { int i = value; return (i == Integer.MAX_VALUE) ? null : i + 1; } @Override public @Nullable Integer previous(Integer value) { int i = value; return (i == Integer.MIN_VALUE) ? null : i - 1; } @Override Integer offset(Integer origin, long distance) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/jcifs/NetbiosNameTest.java
// Given int testType = 0x20; // Server service when(mockNetbiosName.getNameType()).thenReturn(testType); // When int nameType = mockNetbiosName.getNameType(); // Then assertEquals(testType, nameType); verify(mockNetbiosName).getNameType(); } @ParameterizedTest @ValueSource(ints = { 0x00, 0x03, 0x06, 0x1B, 0x1C, 0x1D, 0x1E, 0x20 })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
@ValueSource(ints = { 0, 1, 2, 5, 10 }) void testEncodeWithDifferentCipherCounts(int count) { int[] ciphers = new int[count]; for (int i = 0; i < count; i++) { ciphers[i] = i + 1; } context = new EncryptionNegotiateContext(mockConfig, ciphers); int encoded = context.encode(buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/ThrowablesTest.java
import com.google.common.base.TestExceptions.SomeUncheckedException; import com.google.common.base.TestExceptions.YetAnotherCheckedException; import com.google.common.collect.Iterables; import com.google.common.primitives.Ints; import com.google.common.testing.NullPointerTester; import java.util.List; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link Throwables}. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.9K bytes - Viewed (0)