- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for Setpgid (0.08 sec)
-
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
assertEquals(0x1234, testBlock.getTid()); } @Test @DisplayName("Test PID property") void testPidProperty() { testBlock.setPid(0x5678); assertEquals(0x5678, testBlock.getPid()); } @Test @DisplayName("Test UID property") void testUidProperty() { testBlock.setUid(0x9ABC);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K 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/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java
this.andx.setErrorCode(getErrorCode()); this.andx.setFlags(getFlags()); this.andx.setFlags2(getFlags2()); this.andx.setTid(getTid()); this.andx.setPid(getPid()); this.andx.setUid(getUid()); this.andx.setMid(getMid()); this.andx.setUseUnicode(this.isUseUnicode()); if (this.andx instanceof AndXServerMessageBlock) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
when(mockConfig.getPid()).thenReturn(1234); // When smbComTreeDisconnect = new SmbComTreeDisconnect(mockConfig); // Then assertNotNull(smbComTreeDisconnect); assertEquals(ServerMessageBlock.SMB_COM_TREE_DISCONNECT, smbComTreeDisconnect.getCommand()); verify(mockConfig).getPid(); // Verify getPid was called } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.5K 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/SmbComNtTransactionResponseTest.java
// Test at various positions in the buffer int[] positions = { 0, 10, 50, 100, 150 }; for (int pos : positions) { when(mockConfig.getPid()).thenReturn(1234); // Mock getPid for each new instance response = new TestSmbComNtTransactionResponse(mockConfig); // Reset response // Fill buffer at position for (int i = 0; i < 37; i++) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java
} @Test @DisplayName("Test configuration usage") void testConfigurationUsage() { // Verify configuration is used - getPid() is called in parent constructor verify(mockConfig, atLeastOnce()).getPid(); } @Test @DisplayName("Test transaction response with different commands") void testTransactionResponseWithDifferentCommands() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.4K bytes - Viewed (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() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.1K bytes - Viewed (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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
} /** * Gets the process identifier * @return the pid */ public final int getPid() { return this.pid; } /** * Sets the process identifier * @param pid * the pid to set */ public final void setPid(final int pid) { this.pid = pid; } /** * Gets the user identifier
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 38.9K bytes - Viewed (0)