Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for geteuid (0.05 sec)

  1. src/test/java/jcifs/dcerpc/DcerpcBindingTest.java

            assertEquals(endpoint, dcerpcBinding.getEndpoint(), "Endpoint should be set correctly.");
            assertNotNull(dcerpcBinding.getUuid(), "UUID should be set for a valid pipe endpoint.");
            assertEquals("4B324FC8-1670-01D3-1278-5A47BF6EE188", dcerpcBinding.getUuid().toString(), "UUID should be parsed correctly.");
            assertEquals(3, dcerpcBinding.getMajor(), "Major version should be parsed correctly.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/persistent/HandleGuidTest.java

            UUID uuid = UUID.randomUUID();
            HandleGuid guid1 = new HandleGuid(uuid);
            HandleGuid guid2 = new HandleGuid(guid1.toBytes());
    
            assertEquals(guid1, guid2);
            assertEquals(uuid, guid1.getUuid());
        }
    
        @Test
        public void testHandleGuidInvalidBytes() {
            assertThrows(IllegalArgumentException.class, () -> {
                new HandleGuid(new byte[8]); // Wrong length
            });
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java

                result[8 + i] = (byte) (leastSig >>> (56 - i * 8));
            }
    
            return result;
        }
    
        /**
         * Get the underlying UUID
         * @return the UUID
         */
        public UUID getUuid() {
            return guid;
        }
    
        @Override
        public String toString() {
            return guid.toString();
        }
    
        @Override
        public boolean equals(Object obj) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. 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)
  5. src/test/java/jcifs/util/transport/ResponseTest.java

        }
    
        @Test
        void testGetMid() {
            long mid = 54321L;
            when(mockResponse.getMid()).thenReturn(mid);
            assertEquals(mid, mockResponse.getMid());
    
            // Verify the method was called
            verify(mockResponse, times(1)).getMid();
        }
    
        @Test
        void testVerifySignature() {
            byte[] buffer = new byte[] { 1, 2, 3 };
            int offset = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

        @Override
        public void alignToBaseDirectory(Model model, File basedir) {
            if (basedir == null) {
                return;
            }
    
            Build build = model.getBuild();
    
            if (build != null) {
                build.setDirectory(alignToBaseDirectory(build.getDirectory(), basedir));
    
                build.setSourceDirectory(alignToBaseDirectory(build.getSourceDirectory(), basedir));
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/DcerpcBinding.java

         * @return the endpoint
         */
        public String getEndpoint() {
            return this.endpoint;
        }
    
        /**
         * @return the uuid
         */
        UUID getUuid() {
            return this.uuid;
        }
    
        /**
         * @return the major
         */
        int getMajor() {
            return this.major;
        }
    
        /**
         * @return the minor
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12/ProjectInheritanceTest.java

            File pom1 = new File(pom0Basedir, "p1/pom.xml");
    
            getProjectWithDependencies(pom0);
            MavenProject project1 = getProjectWithDependencies(pom1);
    
            Map pluginMap = project1.getBuild().getPluginsAsMap();
            Plugin compilerPlugin = (Plugin) pluginMap.get("org.apache.maven.plugins:maven-compiler-plugin");
    
            assertNotNull(compilerPlugin);
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue May 27 13:59:13 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top