- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 18 for GUID (0.04 seconds)
-
src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java
request.encode(buffer, 0); // Verify zero GUID byte[] extractedGuid = new byte[16]; System.arraycopy(buffer, 4, extractedGuid, 0, 16); assertArrayEquals(zeroGuid, extractedGuid); } @Test @DisplayName("Test encode with all 0xFF GUID") void testEncodeWithMaxGuid() { byte[] maxGuid = new byte[16];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 13K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
assertNotNull(response.getServerGuid(), "Server GUID should not be null"); assertEquals(16, response.getServerGuid().length, "Server GUID should be 16 bytes"); assertArrayEquals(new byte[16], response.getServerGuid(), "Initial server GUID should be all zeros"); assertEquals(0, response.getSecurityMode(), "Initial security mode should be 0");
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) -
docs/smb3-features/02-persistent-handles-design.md
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 31.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
int caps = SMBUtil.readInt4(buffer, 8); assertTrue((caps & Smb2Constants.SMB2_GLOBAL_CAP_DFS) != 0); // Verify client GUID byte[] guid = new byte[16]; System.arraycopy(buffer, 12, guid, 0, 16); assertArrayEquals(testMachineId, guid); // Verify dialects assertEquals(0x0210, SMBUtil.readInt2(buffer, 36)); assertEquals(0x0300, SMBUtil.readInt2(buffer, 38));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java
} /** * Get the durable handle GUID from the response * @return the durable handle GUID or null if no durable handle was granted */ public jcifs.internal.smb2.persistent.HandleGuid getDurableHandleGuid() { // For now, return null as the GUID is typically provided in the request context // and the response doesn't necessarily contain the GUID in a standard format return null; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 15.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
} @Test @DisplayName("Should return server GUID") void testGetServerGuid() throws Exception { // Given byte[] guid = new byte[16]; for (int i = 0; i < 16; i++) { guid[i] = (byte) i; } setPrivateField(response, "serverGuid", guid); // When byte[] result = response.getServerGuid(); // ThenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 32.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
} bufferIndex += 4; // Validate sufficient buffer space for server GUID and capabilities if (buffer.length < bufferIndex + 16 + 4 + 4 + 4 + 4) { throw new SMBProtocolDecodingException("Buffer too small for server GUID and capabilities section"); } System.arraycopy(buffer, bufferIndex, this.serverGuid, 0, 16); bufferIndex += 16;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
return context.getCreateGuid(); } /** * Add a durable handle V2 context with specific GUID * @param timeoutMs the timeout in milliseconds * @param persistent true if this should be a persistent handle * @param createGuid the create GUID to use */ public void addDurableHandleV2Context(long timeoutMs, boolean persistent, jcifs.internal.smb2.persistent.HandleGuid createGuid) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 22.9K bytes - Click Count (0)