Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 130 for getPtype (2.34 sec)

  1. src/test/java/jcifs/smb/SIDTest.java

                    "8, Unknown" })
            @DisplayName("getType and getTypeText cover all types")
            void testGetTypeAndText(int type, String text) {
                byte[] ident = new byte[] { 0, 0, 0, 0, 0, 5 };
                SID sid = new SID(buildSidT((byte) 1, ident, 42), type, "DOM", "acct", false);
                assertEquals(type, sid.getType());
                assertEquals(text, sid.getTypeText());
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java

            AvTargetName avTargetName = new AvTargetName(rawBytes);
    
            // Verify the AvPair type is MsvAvTargetName
            assertEquals(AvPair.MsvAvTargetName, avTargetName.getType(), "AvPair type should be MsvAvTargetName");
            // Verify the raw bytes are correctly stored
            assertArrayEquals(rawBytes, avTargetName.getRaw(), "Raw bytes should match the input");
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/SambaHelper.java

        }
    
        /**
         * Gets the account ID from a SID.
         * @param sid The SID.
         * @return The account ID.
         */
        public String getAccountId(final SID sid) {
            final int type = sid.getType();
            if (logger.isDebugEnabled()) {
                try {
                    logger.debug("Processing SID: {} {} {}", type, sid, sid.toDisplayString());
                } catch (final Exception e) {
                    // ignore
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

            when(mockTree.getConfig()).thenReturn(mockConfig);
            when(mockTree.isConnected()).thenReturn(true);
            when(mockTree.getTreeId()).thenReturn(1L);
    
            when(mockFile.getType()).thenReturn(SmbConstants.TYPE_FILESYSTEM);
        }
    
        @Nested
        @DisplayName("Happy path")
        class HappyPath {
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/FileEntry.java

         *
         * @return the file or directory name
         */
        String getName();
    
        /**
         * Gets the type of the entry.
         *
         * @return the entry type
         */
        int getType();
    
        /**
         * Gets the file attributes.
         *
         * @return the file attributes
         */
        int getAttributes();
    
        /**
         * Gets the creation time.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 881 bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

             * @return message type
             */
            public int getType() {
                return type;
            }
    
            /**
             * Sets the notification message type.
             *
             * @param type the message type (WITNESS_RESOURCE_CHANGE, WITNESS_CLIENT_MOVE, WITNESS_SHARE_MOVE, or WITNESS_IP_CHANGE)
             */
            public void setType(int type) {
                this.type = type;
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/ntlmssp/av/AvPair.java

        public AvPair(final int type, final byte[] raw) {
            this.type = type;
            this.raw = raw;
        }
    
        /**
         * Gets the AV pair type
         * @return the type
         */
        public final int getType() {
            return this.type;
        }
    
        /**
         * Gets the raw data bytes
         * @return the raw
         */
        public final byte[] getRaw() {
            return this.raw;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/dict/ApiAdminDictAction.java

        protected ListBody createListBody(final DictionaryFile<? extends DictionaryItem> dictionaryFile) {
            final ListBody body = new ListBody();
            body.id = dictionaryFile.getId();
            body.type = dictionaryFile.getType();
            body.path = dictionaryFile.getPath();
            body.timestamp = dictionaryFile.getTimestamp();
            return body;
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SID.java

        public SID getDomainSid() {
            return new SID(this, SID_TYPE_DOMAIN, this.domainName, null, getType() != SID_TYPE_DOMAIN);
        }
    
        /**
         * Get the RID
         *
         * This is the last subauthority identifier
         *
         * @return the RID
         */
        @Override
        public int getRid() {
            if (getType() == SID_TYPE_DOMAIN) {
                throw new IllegalArgumentException("This SID is a domain sid");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

        void testType1MessageCreation() {
            // When
            Type1Message type1 = new Type1Message(mockContext);
    
            // Then
            assertNotNull(type1);
            // Note: getType() method does not exist in Type1Message
            assertTrue(type1.getFlags() != 0); // Should have some flags set
        }
    
        @Test
        @DisplayName("Should create Type 1 message with custom flags")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top