Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 47 for Setpgid (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/test/java/jcifs/ConfigurationTest.java

                mockConfig.getCapabilities();
                mockConfig.getFlags2();
                mockConfig.getSessionLimit();
                mockConfig.getOemEncoding();
                mockConfig.getLocalTimezone();
                mockConfig.getPid();
                mockConfig.getMaxMpxCount();
                mockConfig.isSigningEnabled();
                mockConfig.isIpcSigningEnforced();
                mockConfig.isSigningEnforced();
                mockConfig.isEncryptionEnabled();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. src/archive/zip/writer_test.go

    		Method: Deflate,
    		Mode:   0644,
    	},
    	{
    		Name:   "setuid",
    		Data:   []byte("setuid file"),
    		Method: Deflate,
    		Mode:   0755 | fs.ModeSetuid,
    	},
    	{
    		Name:   "setgid",
    		Data:   []byte("setgid file"),
    		Method: Deflate,
    		Mode:   0755 | fs.ModeSetgid,
    	},
    	{
    		Name:   "symlink",
    		Data:   []byte("../link/target"),
    		Method: Deflate,
    		Mode:   0755 | fs.ModeSymlink,
    	},
    	{
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

            when(handle.ensureOpen()).thenReturn(fd);
            when(fd.getTree()).thenReturn(tree);
            when(tree.isSMB2()).thenReturn(false);
            when(tree.getConfig()).thenReturn(config);
            when(config.getPid()).thenReturn(1234);
    
            // Stub send to populate the provided response instance via reflection
            Mockito.doAnswer(inv -> {
                Object resp = inv.getArgument(1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/config/DelegatingConfiguration.java

            return this.delegate.getLocalTimezone();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#getPid()
         */
        @Override
        public int getPid() {
            return this.delegate.getPid();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#getMaxMpxCount()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24.1K bytes
    - Viewed (0)
Back to top