- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 78 for getUuid (0.05 sec)
-
src/test/java/jcifs/dcerpc/DcerpcBindingTest.java
assertEquals(endpoint, dcerpcBinding.getEndpoint(), "Endpoint should be set correctly."); assertNotNull(dcerpcBinding.getUuid(), "UUID should be set for a valid pipe endpoint."); assertEquals("4B324FC8-1670-01D3-1278-5A47BF6EE188", dcerpcBinding.getUuid().toString(), "UUID should be parsed correctly."); assertEquals(3, dcerpcBinding.getMajor(), "Major version should be parsed correctly.");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/HandleGuidTest.java
UUID uuid = UUID.randomUUID(); HandleGuid guid1 = new HandleGuid(uuid); HandleGuid guid2 = new HandleGuid(guid1.toBytes()); assertEquals(guid1, guid2); assertEquals(uuid, guid1.getUuid()); } @Test public void testHandleGuidInvalidBytes() { assertThrows(IllegalArgumentException.class, () -> { new HandleGuid(new byte[8]); // Wrong length });
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcBind.java
buf.enc_ndr_short(0); /* reserved2 */ buf.enc_ndr_short(0); /* context id */ buf.enc_ndr_small(1); /* number of items */ buf.enc_ndr_small(0); /* reserved */ this.binding.getUuid().encode(buf); buf.enc_ndr_short(this.binding.getMajor()); buf.enc_ndr_short(this.binding.getMinor()); DCERPC_UUID_SYNTAX_NDR.encode(buf); buf.enc_ndr_long(2); /* syntax version */ }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcBinding.java
* @return the endpoint */ public String getEndpoint() { return this.endpoint; } /** * @return the uuid */ UUID getUuid() { return this.uuid; } /** * @return the major */ int getMajor() { return this.major; } /** * @return the minor */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
assertEquals(0x3456, testBlock.getFlags2()); assertEquals(0x1234, testBlock.getTid()); assertEquals(0x5678, testBlock.getPid()); assertEquals(0x9ABC, testBlock.getUid()); assertEquals(0xDEF0, testBlock.getMid()); } @Test @DisplayName("Test decode with signature verification failure")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
lib/wasm/wasm_exec.js
utimes(path, atime, mtime, callback) { callback(enosys()); }, }; } if (!globalThis.process) { globalThis.process = { getuid() { return -1; }, getgid() { return -1; }, geteuid() { return -1; }, getegid() { return -1; }, getgroups() { throw enosys(); }, pid: -1, ppid: -1, umask() { throw enosys(); }, cwd() { throw enosys(); }, chdir() { throw enosys(); },
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Sun Dec 08 15:34:47 UTC 2024 - 16.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java
class ConstructorTests { private Configuration mockConfig; @BeforeEach void setUp() { mockConfig = mock(Configuration.class); when(mockConfig.getPid()).thenReturn(12345); } @Test @DisplayName("Should initialize with correct command and MID") void testConstructorInitialization() throws Exception { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeImplTest.java
// Mock config methods needed for SMB1 when(config.getPid()).thenReturn(1234); SmbComTreeConnectAndXResponse response = mock(SmbComTreeConnectAndXResponse.class); when(response.getService()).thenReturn("A:"); when(response.isValidTid()).thenReturn(true); when(response.getTid()).thenReturn(1); when(session.send(any(), any())).thenReturn(response);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
} /** * Gets the user identifier * @return the uid */ public final int getUid() { return this.uid; } /** * @param uid * the uid to set */ @Override public final void setUid(final int uid) { this.uid = uid; } /** * Gets the signature sequence number
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 38.9K bytes - Viewed (0)