- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 118 for getDir (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/smb/SmbFileOutputStream.java
len -= cnt; off += cnt; } else if (this.useNTSmbs) { this.reqx.setParam(fh.getFid(), this.fp, len - w, b, off, w); if ((flags & 1) != 0) { this.reqx.setParam(fh.getFid(), this.fp, len, b, off, w); this.reqx.setWriteMode(0x8); } else {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 12.8K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/Type3MessageTest.java
// Then // MIC (Message Integrity Check) should be included for newer versions if (type3.isMICRequired()) { assertNotNull(type3.getMic()); assertEquals(16, type3.getMic().length); // MIC is 16 bytes } } @Test @DisplayName("Should handle case sensitivity correctly") void testCaseSensitivity() throws Exception { // GivenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.3K bytes - Click Count (0) -
src/test/java/jcifs/config/BaseConfigurationTest.java
assertNotNull(testConfig.getRandom()); assertNotNull(testConfig.getLocalTimezone()); // Check PID is set assertTrue(testConfig.getPid() >= 0); assertTrue(testConfig.getPid() < 65536); // Check machine ID assertNotNull(testConfig.getMachineId()); assertEquals(32, testConfig.getMachineId().length); // Check native OS
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 20.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java
assertNotNull(cancelRequest); assertTrue(cancelRequest instanceof SmbComNtCancel); // Verify the cancel request has the correct MID assertEquals(12345, cancelRequest.getMid()); } @Test @DisplayName("Test writeParameterWordsWireFormat for primary NT transaction") void testWriteParameterWordsWireFormatPrimary() { byte[] dst = new byte[256];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java
@Mock private Configuration mockConfig; private SmbComSetInformationResponse response; @BeforeEach void setUp() { // Setup mock configuration to avoid NPE when(mockConfig.getPid()).thenReturn(12345); response = new SmbComSetInformationResponse(mockConfig); } @Test @DisplayName("Constructor accepts valid config") void constructorValid() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 4.1K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java
// Then assertNotNull(dfsRootEnum, "The MsrpcDfsRootEnum object should not be null."); // The server name is stored in a protected field without a public getter, so we cannot directly test it. // We can test the public fields that are set. assertEquals(200, dfsRootEnum.level, "The level should be initialized to 200.");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.5K bytes - Click Count (0) -
src/main/java/jcifs/util/transport/Response.java
/** * Sets the message ID. * * @param k the message ID to set */ void setMid(long k); /** * Gets the message ID. * * @return mid */ long getMid(); /** * Verifies the signature of this response. * * @param buffer the buffer containing the signature data * @param i the starting index in the bufferCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/RequestTest.java
} @Override public void setResponse(CommonServerMessageBlockResponse msg) { this.response = (TestResponse) msg; } @Override public long getMid() { return mid; } @Override public void setMid(long mid) { this.mid = mid; } @Override public int getCommand() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
setTreeIdMethod.setAccessible(true); setTreeIdMethod.invoke(response, 12345); // When int tid = response.getTid(); // Then assertEquals(12345, tid); } @Test @DisplayName("Should validate TID correctly") void testIsValidTid() throws Exception { // Test invalid TID (-1)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinInternalFilteringTest.kt
"Method" to "$containingType.foo()", "Method" to "$containingType.fooExt(java.lang.String)", "Method" to "$containingType.fooExt(int)", "Method" to "$containingType.getBar()", "Method" to "$containingType.getBarExt(java.lang.String)", "Method" to "$containingType.getBazar()", "Method" to "$containingType.getBazarExt(int)", ) + (if (isEnum) listOf(
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 14 02:17:00 GMT 2025 - 6.5K bytes - Click Count (0)