- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 653 for HANDLE (0.05 sec)
-
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
} @Test @DisplayName("Should handle null protocol ID") void testNullProtocolId() { // Protocol ID is a constant in transform header, not settable // This test is not applicable - the protocol ID is always TRANSFORM_PROTOCOL_ID assertTrue(true); } @Test @DisplayName("Should handle invalid protocol ID length") void testInvalidProtocolIdLength() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/samrTest.java
void testConstructorAndOpnum() { // When: Creating close handle message samr.SamrCloseHandle message = new samr.SamrCloseHandle(mockPolicyHandle); // Then: Should have correct opnum and handle assertEquals(0x01, message.getOpnum()); assertEquals(mockPolicyHandle, message.handle); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Aug 06 05:33:11 UTC 2025 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/SmbPipeResource.java
int PIPE_TYPE_UNSHARED = 0x800; /** * Gets the type of this pipe. * * @return the type of the pipe */ int getPipeType(); /** * Create a pipe handle * * @return pipe handle, needs to be closed when finished */ SmbPipeHandle openPipe();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
@Test @DisplayName("Should handle empty buffer encoding") void testEmptyBufferEncoding() { byte[] buffer = new byte[256]; testMessage.setBytesWritten(0); int len = testMessage.encode(buffer, 0); assertTrue(len >= Smb2Constants.SMB2_HEADER_LENGTH); } @Test @DisplayName("Should handle large MID values")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
assertArrayEquals(new int[] { 1, 2 }, context.getHashAlgos()); assertArrayEquals(new byte[] { 0x0A, 0x0B, 0x0C, 0x0D }, context.getSalt()); } @Test @DisplayName("Should handle empty arrays in decode") void testDecodeEmptyArrays() throws SMBProtocolDecodingException { // Arrange context = new PreauthIntegrityNegotiateContext();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRegistration.java
this.flags = flags; } /** * Gets the context handle. * * @return the context handle */ public byte[] getContextHandle() { return contextHandle; } /** * Sets the context handle. * * @param contextHandle the context handle */ public void setContextHandle(byte[] contextHandle) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 6.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
// Lease completely broken - invalidate cache entry.invalidate(); } if ((newState & Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING) == 0) { // Lost handle cache - may need to close directory handle changeNotifier.stopWatching(directoryPath); } // Forward to base lease manager baseLeaseManager.handleLeaseBreak(leaseKey, newState); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type3MessageTest.java
assertNotNull(type3.getNTResponse()); assertTrue(type3.getLMResponse().length > 0); assertTrue(type3.getNTResponse().length > 0); } @Test @DisplayName("Should handle Unicode strings") void testUnicodeStrings() throws Exception { // Given Type2Message type2 = createMockType2Message(); String unicodeDomain = "TËSTDØMÄIN";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
// Then assertEquals(4, bytesRead, "Failed at position " + pos); } } @Test @DisplayName("Should handle buffer with exact required size") void testReadBytesWireFormatExactBufferSize() throws SMBProtocolDecodingException { // Given byte[] buffer = new byte[4];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0)