- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for 68 (0.14 sec)
-
android/guava-tests/test/com/google/common/collect/RangeTest.java
// enclosed, interior assertEquals(Range.closed(5, 7), range.intersection(Range.closed(5, 7))); // enclosed with same end assertEquals(Range.closed(6, 8), range.intersection(Range.closed(6, 8))); // equal assertEquals(range, range.intersection(range)); // enclosing with same start assertEquals(range, range.intersection(Range.closed(4, 10)));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
int expectedFlags = DirectoryLeaseContext.DIRECTORY_LEASE_FLAG_RECURSIVE | DirectoryLeaseContext.DIRECTORY_LEASE_FLAG_NOTIFICATIONS; assertEquals(expectedFlags, SMBUtil.readInt4(buffer, 68)); // Verify notification filter assertEquals(0x1F, SMBUtil.readInt4(buffer, 72)); } @Test public void testDecode() { // Create a context and encode it
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
int bytesWritten = packet.writeTrailerWireFormat(dst, 0); assertTrue(bytesWritten > 0); // Each name should write at least 34 bytes (encoded name + scope) assertTrue(bytesWritten >= 68); } @Test @DisplayName("writeTrailerWireFormat with scope should handle scoped names") void testWriteTrailerWireFormatWithScope() { when(mockCalledName.getName()).thenReturn("SERVER");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/RangeTest.java
// enclosed, interior assertEquals(Range.closed(5, 7), range.intersection(Range.closed(5, 7))); // enclosed with same end assertEquals(Range.closed(6, 8), range.intersection(Range.closed(6, 8))); // equal assertEquals(range, range.intersection(range)); // enclosing with same start assertEquals(range, range.intersection(Range.closed(4, 10)));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.2K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/SocketEffect.kt
public val shutdownInput: Boolean = false, public val shutdownOutput: Boolean = false, ) : SocketEffect /** * On HTTP/2, send a [GOAWAY frame](https://tools.ietf.org/html/rfc7540#section-6.8) immediately * after the response and will close the connection when the client's socket is exhausted. * * On HTTP/1 this closes the socket. */ public object ShutdownConnection : SocketEffect /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
} } @Test void testSMB2Header() { assertNotNull(SMBUtil.SMB2_HEADER); // The actual header is 68 bytes (4 + 2 + 2 + 2 + 2 + 4 + 2 + 2 + 4 + 4 + 8 + 4 + 4 + 8 + 8 + 8 = 68) assertEquals(68, SMBUtil.SMB2_HEADER.length); // Verify SMB2 header signature assertEquals((byte) 0xFE, SMBUtil.SMB2_HEADER[0]);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
SMBUtil.writeInt4(0, buffer, 64); // eaSize // Write short name length and short name byte[] shortNameBytes = Strings.getUNIBytes(shortName); buffer[68] = (byte) shortNameBytes.length; // shortNameLength System.arraycopy(shortNameBytes, 0, buffer, 70, Math.min(shortNameBytes.length, 24)); // Write filename if (unicode) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
byte[] buffer = new byte[512]; int bytesWritten = request.writeBytesWireFormat(buffer, 64); // Verify buffer length field contains the info size int bufferLength = SMBUtil.readInt4(buffer, 68); assertEquals(infoSize, bufferLength); // Verify total bytes written assertEquals(32 + infoSize, bytesWritten); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
} @Test @DisplayName("Size should be 72 bytes (64 header + 4 body aligned to 8)") void testExactSize() { // SMB2_HEADER_LENGTH = 64, body = 4, total = 68 // size8 aligns to 8-byte boundary: (68 + 7) & ~7 = 72 assertEquals(72, echoRequest.size()); } } @Nested @DisplayName("WriteBytesWireFormat Tests")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
assertEquals((byte) 0x01, buffer[66]); assertEquals((byte) 0x04, buffer[67]); // Verify output buffer length assertEquals(0x8000, SMBUtil.readInt4(buffer, 68)); // Verify input buffer offset (should be 0 when no input buffer) assertEquals(0, SMBUtil.readInt2(buffer, 72)); // Verify input buffer length (should be 0 when no input buffer)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0)