- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 480 for ints (0.07 sec)
-
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
guava/src/com/google/common/primitives/ImmutableIntArray.java
} /** Returns an immutable array containing the given values, in order. */ public static ImmutableIntArray of(int e0, int e1, int e2, int e3, int e4) { return new ImmutableIntArray(new int[] {e0, e1, e2, e3, e4}); } /** Returns an immutable array containing the given values, in order. */ public static ImmutableIntArray of(int e0, int e1, int e2, int e3, int e4, int e5) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 21.5K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
assertEquals(expectedSize, request.size()); } @ParameterizedTest @DisplayName("Should calculate size for various data lengths") @ValueSource(ints = { 0, 1, 7, 8, 100, 512, 1024, 4096, 65536 }) void testSizeWithVariousDataLengths(int dataLength) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
android/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 Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 10.4K bytes - Viewed (0) -
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jan 08 14:27:16 UTC 2025 - 10.7K bytes - Viewed (0) -
guava/src/com/google/common/hash/Crc32cHashFunction.java
/* * This trick allows us to avoid having separate states for "first four ints" and "all other * four int chunks." The state we want after the first four bytes is * * crc0 = ~int0 * crc1 = int1 * crc2 = int2 * crc3 = int3 * * ...so we set crc0 so that computeForWord(crc0) = -1 and xoring it with the first intRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java
Smb2LogoffRequest req = newRequest(); int base = Smb2Constants.SMB2_HEADER_LENGTH + 4; // structure size int expected = ((base + 7) / 8) * 8; // expected 8-byte alignment // Act int actual = req.size(); // Assert assertEquals(expected, actual, "size() must be 8-byte aligned"); } @ParameterizedTest @ValueSource(ints = { 0, 1, 5 })
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/util/EncdecTest.java
assertEquals(0x56, buffer[2] & 0xFF); assertEquals(0x78, buffer[3] & 0xFF); } @ParameterizedTest @ValueSource(ints = { 0, 1, 255, 256, 65535, 65536, Integer.MAX_VALUE }) @DisplayName("Should handle boundary values") void testBoundaryValues(int value) { // Given byte[] buffer = new byte[4]; // When Encdec.enc_uint32le(value, buffer, 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java
* - Positive values not in DOS_ERROR_CODES map to NT_STATUS_UNSUCCESSFUL */ @ParameterizedTest @ValueSource(ints = { 0, 1, 123, -7 }) void testGetNtStatusVariousCodes(int errcode) { SmbException ex = new SmbException(errcode, false); int expected; if (errcode == 0) { expected = 0; } else if ((errcode & 0xC0000000) != 0) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0)