- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 291 for 0500 (0.02 sec)
-
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
assertEquals(8, getFieldValue(netShareEnum, "maxParameterCount")); assertEquals((byte) 0x00, getFieldValue(netShareEnum, "maxSetupCount")); assertEquals(0, getFieldValue(netShareEnum, "setupCount")); assertEquals(5000, getFieldValue(netShareEnum, "timeout")); // Verify command and subcommand from parent class
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpDateTest.kt
} @Test @Throws(Exception::class) fun parseNonStandardStrings() { // RFC 822, updated by RFC 1123 with any TZ assertThat("Thu, 01 Jan 1970 00:00:00 GMT-01:00".toHttpDateOrNull()!!.time).isEqualTo(3600000L) assertThat("Thu, 01 Jan 1970 00:00:00 PST".toHttpDateOrNull()!!.time).isEqualTo(28800000L) // Ignore trailing junk
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NodeStatusRequest.java
isBroadcast = false; } @Override int writeBodyWireFormat(final byte[] dst, final int dstIndex) { final int tmp = questionName.hexCode; questionName.hexCode = 0x00; // type has to be 0x00 for node status final int result = writeQuestionSectionWireFormat(dst, dstIndex); questionName.hexCode = tmp; return result; } @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java
dstIndex++; dst[dstIndex++] = (byte) 0x00; // Reserved1 SMBUtil.writeInt2(this.tflags, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt4(this.timeout, dst, dstIndex); dstIndex += 4; dst[dstIndex++] = (byte) 0x00; // Reserved2 dst[dstIndex++] = (byte) 0x00; } SMBUtil.writeInt2(this.parameterCount, dst, dstIndex);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInformationTest.java
byte[] buffer = new byte[100]; // Define behavior when(mockFileInfo.decode(buffer, 0, 100)).thenReturn(8); // Test decode int decoded = mockFileInfo.decode(buffer, 0, 100); assertEquals(8, decoded); // Verify interaction verify(mockFileInfo).decode(buffer, 0, 100); } /** * Test FileInformation as Encodable */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java
} } else { // no password in tree connect passwordLength = 1; } dst[dstIndex] = disconnectTid ? (byte) 0x01 : (byte) 0x00; dstIndex++; dst[dstIndex++] = (byte) 0x00; writeInt2(passwordLength, dst, dstIndex); return 4; } @Override int writeBytesWireFormat(final byte[] dst, int dstIndex) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java
} else { this.path = filename + "\\"; } this.wildcard = wildcard; this.searchAttributes = searchAttributes & 0x37; /* generally ignored tho */ this.tflags = 0x00; this.informationLevel = SMB_FILE_BOTH_DIRECTORY_INFO; this.totalDataCount = 0; this.maxParameterCount = 10; this.maxItems = batchCount; this.maxDataCount = batchSize;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java
void testConstructor() throws Exception { Trans2GetDfsReferral cmd = new Trans2GetDfsReferral("/file"); assertEquals("/file", getPrivateField(cmd, "path")); assertEquals((byte) 0x00, getPrivateField(cmd, "maxSetupCount")); assertEquals(4096, getPrivateField(cmd, "maxDataCount")); } @Test @DisplayName("writeSetupWireFormat writes subCommand and padding")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/util/HexdumpTest.java
@DisplayName("Hexdump Utility Tests") class HexdumpTest extends BaseTest { @Test @DisplayName("Should convert byte array to hex string") void testToHexString() { // Given byte[] data = { 0x00, 0x0F, (byte) 0xFF, 0x7F, (byte) 0x80 }; // When String result = Hexdump.toHexString(data); // Then assertNotNull(result); assertEquals("000FFF7F80", result); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0)