Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 64 for getegid (0.05 sec)

  1. 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)
  2. src/test/java/jcifs/smb/SIDTest.java

            }
    
            @Test
            @DisplayName("getRid throws for domain SIDs")
            void testGetRidForDomainThrows() {
                byte[] ident = new byte[] { 0, 0, 0, 0, 0, 5 };
                SID domain = new SID(buildSidT((byte) 1, ident, 10, 20), jcifs.SID.SID_TYPE_DOMAIN, "DOM", null, false);
                IllegalArgumentException ex = assertThrows(IllegalArgumentException.class, domain::getRid);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K 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/main/java/jcifs/util/transport/Response.java

        /**
         * Sets the message ID.
         *
         * @param k the message ID to set
         */
        void setMid(long k);
    
        /**
         * Gets the message ID.
         *
         * @return mid
         */
        long getMid();
    
        /**
         * Verifies the signature of this response.
         *
         * @param buffer the buffer containing the signature data
         * @param i the starting index in the buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. 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)
  6. api/go1.txt

    pkg os, func FindProcess(int) (*Process, error)
    pkg os, func Getegid() int
    pkg os, func Getenv(string) string
    pkg os, func Geteuid() int
    pkg os, func Getgid() int
    pkg os, func Getgroups() ([]int, error)
    pkg os, func Getpagesize() int
    pkg os, func Getpid() int
    pkg os, func Getppid() int
    pkg os, func Getuid() int
    pkg os, func Getwd() (string, error)
    pkg os, func Hostname() (string, error)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         */
        public final int getTid() {
            return this.tid;
        }
    
        /**
         * @param tid
         *            the tid to set
         */
        @Override
        public final void setTid(final int tid) {
            this.tid = tid;
        }
    
        /**
         * Gets the process identifier
         * @return the pid
         */
        public final int getPid() {
            return this.pid;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
Back to top