Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 182 for getAttributes (0.2 seconds)

  1. src/test/java/jcifs/smb1/smb1/InfoTest.java

            java.lang.reflect.Field size = SmbComQueryInformationResponse.class.getDeclaredField("fileSize");
            size.setAccessible(true);
            size.setInt(resp, 2048);
    
            assertEquals(0xABCD, resp.getAttributes());
            assertEquals(1630000001000L, resp.getCreateTime());
            assertEquals(1630000001000L, resp.getLastWriteTime());
            assertEquals(2048, resp.getSize());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/DirFileEntryAdapterIterator.java

         */
        @Override
        protected SmbResource adapt(final FileEntry e) throws MalformedURLException {
            return new SmbFile(getParent(), e.getName(), true, SmbConstants.TYPE_FILESYSTEM, e.getAttributes(), e.createTime(),
                    e.lastModified(), e.lastAccess(), e.length());
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/smb1/DosFileFilter.java

         * specified the server may still return objects that are not directories).
         */
        @Override
        public boolean accept(final SmbFile file) throws SmbException {
            return (file.getAttributes() & attributes) != 0;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

            info.endOfFile = 1024;
    
            assertEquals("test.txt", info.getName());
            assertEquals(SmbFile.TYPE_FILESYSTEM, info.getType());
            assertEquals(SmbFile.ATTR_ARCHIVE, info.getAttributes());
            assertEquals(1672531200000L, info.createTime());
            assertEquals(1672617600000L, info.lastModified());
            assertEquals(1024, info.length());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/DosFileFilter.java

         * specified the server may still return objects that are not directories).
         */
        @Override
        public boolean accept(final SmbFile file) throws SmbException {
            return (file.getAttributes() & this.attributes) != 0;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. docs/smb3-features/04-directory-leasing-design.md

                this.name = name;
                this.size = attrs.getSize();
                this.lastModified = attrs.getLastWriteTime();
                this.isDirectory = attrs.isDirectory();
                this.attributes = attrs.getAttributes();
                this.creationTime = attrs.getCreateTime();
                this.lastAccessTime = attrs.getLastAccessTime();
            }
            
            public boolean matches(SmbFileAttributes attrs) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 36.2K bytes
    - Click Count (0)
  7. src/main/java/jcifs/netbios/UniAddress.java

         * DirContext context;
         * UnknownHostException uhe = null;
         *
         * try {
         * context = new InitialDirContext();
         * for ( ;; ) {
         * try {
         * Attributes attributes = context.getAttributes(
         * "dns:/_ldap._tcp.dc._msdcs." + name,
         * new String[] { "SRV" }
         * );
         * return name;
         * } catch (NameNotFoundException nnfe) {
         * uhe = new UnknownHostException(nnfe.getMessage());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/base/login/SamlCredential.java

        private final String nameidSPNameQualifier;
    
        /**
         * Constructor.
         * @param auth The SAML authentication.
         */
        public SamlCredential(final Auth auth) {
            attributes = auth.getAttributes();
            nameId = auth.getNameId();
            nameIdFormat = auth.getNameIdFormat();
            sessionIndex = auth.getSessionIndex();
            nameidNameQualifier = auth.getNameIdNameQualifier();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            assertEquals(size, fileInfo.getSize());
            assertEquals(lastModified, fileInfo.getLastModified());
            assertEquals(isDirectory, fileInfo.isDirectory());
            assertEquals(attributes, fileInfo.getAttributes());
            assertEquals(creationTime, fileInfo.getCreationTime());
            assertEquals(lastAccessTime, fileInfo.getLastAccessTime());
        }
    
        @Test
        public void testUpdateExistingChild() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

                        for (int i = 0; i < nodeList.getLength(); i++) {
                            final Node node = nodeList.item(i);
                            final NamedNodeMap attributes = node.getAttributes();
                            if (attributes != null) {
                                final Node classAttr = attributes.getNamedItem("class");
                                if (classAttr != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 9K bytes
    - Click Count (0)
Back to Top