Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 106 for Gettid (0.04 sec)

  1. src/main/java/jcifs/internal/CommonServerMessageBlockRequest.java

         * @return whether to allow chaining
         */
        boolean allowChain(CommonServerMessageBlockRequest next);
    
        /**
         * Sets the tree ID.
         *
         * @param t the tree ID to set
         */
        void setTid(int t);
    
        /**
         * Gets the custom response timeout for this request.
         *
         * @return custom response timeout for this request
         */
        Integer getOverrideTimeout();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/dtyp/ACETest.java

        }
    
        @Test
        @DisplayName("Test getSID returns correct SID")
        void testGetSID() throws SmbException {
            assertNull(ace.getSID());
    
            SID testSid = new SID("S-1-5-21-1234567890-123456789-123456789-1000");
            ace.sid = testSid;
    
            assertSame(testSid, ace.getSID());
        }
    
        @Test
        @DisplayName("Test decode with offset")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java

            // Should return dataCount
            assertEquals(5, result);
        }
    
        @Test
        void testGetSid() {
            // Test the getSid method
            // By default, it should be 0
            assertEquals(0, response.getSid());
        }
    
        @Test
        void testGetResumeKey() {
            // Test the getResumeKey method
            // By default, it should be 0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ACETest.java

            @Test
            @DisplayName("Should define getSID method returning SID")
            void shouldDefineMethods() {
                ACE ace = mock(ACE.class);
                SID mockSid = mock(SID.class);
                when(ace.getSID()).thenReturn(mockSid);
    
                SID result = ace.getSID();
                assertSame(mockSid, result);
                verify(ace).getSID();
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/SambaHelperTest.java

        }
    
        private static final SID USER_SID = new SID() {
    
            @Override
            public SID getDomainSid() {
                return null;
            }
    
            @Override
            public int getRid() {
                return 0;
            }
    
            @Override
            public String toDisplayString() {
                return getDomainName() + "\\" + getAccountName();
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. lib/wasm/wasm_exec.js

    			unlink(path, callback) { callback(enosys()); },
    			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(); },
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Sun Dec 08 15:34:47 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. 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)
Back to top