- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 248 for 40 (0.01 seconds)
-
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
Encdec.enc_uint16le((short) 40, inB, 8); when(mockSmbPipeHandleInternal.isStale()).thenReturn(false); when(mockSmbPipeHandleInternal.sendrecv(buf, 0, 50, inB, 4280)).thenReturn(40); int result = handle.doSendReceiveFragment(buf, 0, 50, inB); assertEquals(40, result); verify(mockSmbPipeHandleInternal).sendrecv(buf, 0, 50, inB, 4280);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
// Decode to new instance (decode reads 36 bytes, encode writes 40) FileBasicInfo decoded = new FileBasicInfo(); int decodedBytes = decoded.decode(buffer, 0, 36); // Verify encoding/decoding assertEquals(40, encodedBytes); // encode writes 40 bytes (includes padding) assertEquals(36, decodedBytes); // decode reads 36 bytes (no padding)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java
byte[] buffer = new byte[64]; int dstIndex = 8; // When int bytesEncoded = info.encode(buffer, dstIndex); // Then assertEquals(40, bytesEncoded); // Should encode 40 bytes // Use SMBUtil to read times back properly assertEquals(TEST_CREATE_TIME, SMBUtil.readTime(buffer, dstIndex));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13K bytes - Click Count (0) -
src/main/java/jcifs/smb1/ntlmssp/Type2Message.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 13K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
// Prepare test data byte[] buffer = createValidBuffer("file.txt", "FILE~1.TXT", true); long expectedEndOfFile = 1024L * 1024L; // 1MB SMBUtil.writeInt8(expectedEndOfFile, buffer, 40); // Decode fileBothDirectoryInfo.decode(buffer, 0, buffer.length); // Verify assertEquals(expectedEndOfFile, fileBothDirectoryInfo.length()); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.9K bytes - Click Count (0) -
lib/wasm/wasm_exec.js
const result = Reflect.apply(v, undefined, args); sp = this._inst.exports.getsp() >>> 0; // see comment above storeValue(sp + 40, result); this.mem.setUint8(sp + 48, 1); } catch (err) { sp = this._inst.exports.getsp() >>> 0; // see comment above storeValue(sp + 40, err); this.mem.setUint8(sp + 48, 0); } }, // func valueNew(v ref, args []ref) (ref, bool)
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Sun Dec 08 15:34:47 GMT 2024 - 16.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
request = new Smb2QueryInfoRequest(mockConfig); int size = request.size(); // Expected size calculation: size8(SMB2_HEADER_LENGTH + 40) // size8 rounds up to nearest multiple of 8 int expectedRawSize = Smb2Constants.SMB2_HEADER_LENGTH + 40; int expectedSize = (expectedRawSize + 7) & ~7; // Round up to nearest 8 assertEquals(expectedSize, size); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/MathTesting.java
// Add boundary values manually to avoid over/under flow (this covers 2^N for 0 and 31). intValues.add(Integer.MAX_VALUE - 1, Integer.MAX_VALUE); // Add values up to 40. This covers cases like "square of a prime" and such. for (int i = 1; i <= 40; i++) { intValues.add(i); } // Now add values near 2^N for lots of values of N. for (int exponent : asList(2, 3, 4, 9, 15, 16, 17, 24, 25, 30)) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 9.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
buffer.put((byte) 0x01); // SubAuthorityCount buffer.put(new byte[] { 0, 0, 0, 0, 0, 1 }); // IdentifierAuthority buffer.putInt(0); // SubAuthority // Group SID at offset 40 buffer.position(40); buffer.put((byte) 0x01); // Revision buffer.put((byte) 0x01); // SubAuthorityCount buffer.put(new byte[] { 0, 0, 0, 0, 0, 2 }); // IdentifierAuthority
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 26.9K bytes - Click Count (0)