Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for geteuid (0.05 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. src/test/java/jcifs/internal/RequestTest.java

            }
    
            @Override
            public void setResponse(CommonServerMessageBlockResponse msg) {
                this.response = (TestResponse) msg;
            }
    
            @Override
            public long getMid() {
                return mid;
            }
    
            @Override
            public void setMid(long mid) {
                this.mid = mid;
            }
    
            @Override
            public int getCommand() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K 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. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

        @Nonnull
        Model getModel();
    
        /**
         * Shorthand method.
         *
         * @return the build element of the project model
         */
        @Nonnull
        default Build getBuild() {
            Build build = getModel().getBuild();
            return build != null ? build : Build.newInstance();
        }
    
        /**
         * Returns the path to the pom file for this project.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Feb 27 11:07:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFileOutputStream.java

                        len -= cnt;
                        off += cnt;
                    } else if (this.useNTSmbs) {
                        this.reqx.setParam(fh.getFid(), this.fp, len - w, b, off, w);
                        if ((flags & 1) != 0) {
                            this.reqx.setParam(fh.getFid(), this.fp, len, b, off, w);
                            this.reqx.setWriteMode(0x8);
                        } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

            assertNotNull(cancelRequest);
            assertTrue(cancelRequest instanceof SmbComNtCancel);
    
            // Verify the cancel request has the correct MID
            assertEquals(12345, cancelRequest.getMid());
        }
    
        @Test
        @DisplayName("Test writeParameterWordsWireFormat for primary NT transaction")
        void testWriteParameterWordsWireFormatPrimary() {
            byte[] dst = new byte[256];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top