Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 217 for getPtype (0.08 sec)

  1. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

        @Test
        @DisplayName("Test ServerInfo1 getType for workgroup")
        void testServerInfo1GetTypeWorkgroup() throws Exception {
            NetServerEnum2Response.ServerInfo1 server = response.new ServerInfo1();
            server.type = 0x80000000; // SV_TYPE_DOMAIN_ENUM flag
            assertEquals(SmbConstants.TYPE_WORKGROUP, server.getType());
        }
    
        @Test
        @DisplayName("Test ServerInfo1 getType for server")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

                SmbFile file = new SmbFile("smb1://server/share/file.txt");
                // Without a real connection, getType relies on path parsing.
                // getUncPath0() will result in a path > 1, so it should be TYPE_FILESYSTEM
                assertEquals(SmbFile.TYPE_FILESYSTEM, file.getType());
            }
    
            @Test
            public void testGetTypeForShare() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SID.java

     * <p>
     * Consider the following output of <code>examples/SidLookup.java</code>:
     *
     * <pre>
     *        toString: S-1-5-21-4133388617-793952518-2001621813-512
     * toDisplayString: WNET\Domain Admins
     *         getType: 2
     *     getTypeText: Domain group
     *   getDomainName: WNET
     *  getAccountName: Domain Admins
     * </pre>
     */
    public interface SID {
    
        /**
         * SID type indicating no type information.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 881 bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFile.java

        /**
         * Returned by {@link #getType()} if the resource this {@code SmbFile}
         * represents is a server.
         */
        public static final int TYPE_SERVER = 0x04;
        /**
         * Returned by {@link #getType()} if the resource this {@code SmbFile}
         * represents is a share.
         */
        public static final int TYPE_SHARE = 0x08;
        /**
         * Returned by {@link #getType()} if the resource this {@code SmbFile}
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/PluginHelper.java

            }
    
            /**
             * Gets the type of the artifact based on its name.
             *
             * @return the artifact type
             */
            public ArtifactType getType() {
                return ArtifactType.getType(name);
            }
    
            /**
             * Returns a string representation of the artifact.
             *
             * @return a string in the format "name:version"
             */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactFactoryRequest.java

        String getGroupId();
    
        String getArtifactId();
    
        String getVersion();
    
        String getClassifier();
    
        String getExtension();
    
        String getType();
    
        static ArtifactFactoryRequest build(
                Session session, String groupId, String artifactId, String version, String extension) {
            return ArtifactFactoryRequest.builder()
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SIDCacheImplTest.java

            assertEquals("TESTDOM", s1.getDomainName());
            assertEquals(jcifs.SID.SID_TYPE_USER, s1.getType());
    
            assertEquals("Domain Users", s2.getAccountName());
            assertEquals("TESTDOM", s2.getDomainName());
            assertEquals(jcifs.SID.SID_TYPE_DOM_GRP, s2.getType());
    
            // Interaction: sendrecv invoked exactly once
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NetServerFileEntryAdapterIterator.java

         * @return
         * @throws MalformedURLException
         */
        @Override
        protected SmbResource adapt(final FileEntry e) throws MalformedURLException {
            return new SmbFile(getParent(), e.getName(), false, e.getType(), SmbConstants.ATTR_READONLY | SmbConstants.ATTR_DIRECTORY, 0L, 0L,
                    0L, 0L);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.6K bytes
    - Viewed (0)
Back to top