Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 738 for attributes (0.36 seconds)

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

            @Test
            @DisplayName("DosFileFilter wildcard and attributes are preserved through unwrap")
            void dosFileFilter_preservesFieldsThroughUnwrap() throws Exception {
                // Test with various wildcard patterns and attribute masks
                String[] wildcards = { "*.txt", "test*", null };
                int[] attributes = { 0x10, 0x20, 0x07 };
    
                for (int i = 0; i < wildcards.length; i++) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/smb1/FileEntry.java

         */
        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.
         *
         * @return the creation time in milliseconds since epoch
         */
        long createTime();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 881 bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

            @DisplayName("Should handle file attributes with multiple flags set")
            void testMultipleFileAttributeFlags() throws SMBProtocolDecodingException {
                // Given
                byte[] buffer = new byte[60];
                SMBUtil.writeInt2(60, buffer, 0);
    
                // Set multiple attribute flags
                int attributes = 0x01 | 0x02 | 0x04 | 0x10 | 0x20; // Multiple attributes
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

            }
    
            return responseData;
        }
    
        /**
         * Parses file ownership attributes and adds them to the response data.
         *
         * @param responseData the response data to add attributes to
         * @param file the file to parse attributes from
         * @return the file owner attribute view
         * @throws CrawlingAccessException if parsing fails
         */
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Nov 23 12:19:14 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  5. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/nullaway/NullawayAttributes.kt

    import org.gradle.api.artifacts.Configuration
    import org.gradle.api.attributes.Attribute
    import org.gradle.api.attributes.AttributeCompatibilityRule
    import org.gradle.api.attributes.CompatibilityCheckDetails
    import org.gradle.api.provider.Provider
    
    enum class NullawayState {
        ENABLED, DISABLED
    }
    
    object NullawayAttributes {
        val nullawayAttribute = Attribute.of("org.gradle.gradlebuild.nullaway", NullawayState::class.java)
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Aug 20 13:18:23 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

            };
    
            for (int attributes : attributeFlags) {
                // Given
                FileBasicInfo info =
                        new FileBasicInfo(TEST_CREATE_TIME, TEST_LAST_ACCESS_TIME, TEST_LAST_WRITE_TIME, TEST_CHANGE_TIME, attributes);
    
                // When & Then
                assertEquals(attributes, info.getAttributes());
            }
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/core/xml/SAXParserFactoryUtilTest.java

            is.setSystemId("include.xml");
            parser.parse(is, new DefaultHandler() {
    
                @Override
                public void startElement(final String uri, final String localName, final String qName, final Attributes attributes)
                        throws SAXException {
                    if ("bar".equals(qName)) {
                        included = true;
                    }
                }
    
                @Override
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/smb1/DosFileFilterTest.java

            assertTrue(filter.accept(file), "Attributes match should be accepted");
            verify(file, times(1)).getAttributes();
        }
    
        @Test
        public void testAcceptReturnsFalseWhenAttributesDoNotMatch() throws Exception {
            SmbFile file = mock(SmbFile.class);
            when(file.getAttributes()).thenReturn(SmbFile.ATTR_HIDDEN);
            assertFalse(filter.accept(file), "Attributes not matching should be rejected");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationTest.java

        private final int fid = 123;
        private final int attributes = 1;
        private final long createTime = System.currentTimeMillis();
        private final long lastWriteTime = System.currentTimeMillis();
    
        @BeforeEach
        void setUp() {
            trans2SetFileInformation = new Trans2SetFileInformation(fid, attributes, createTime, lastWriteTime);
        }
    
        @Test
        void testConstructor() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                    }
                }
            }
            return null;
        }
    
        /**
         * Gets an attribute value as an integer.
         *
         * @param attributes the named node map of attributes
         * @param name the attribute name
         * @return the attribute value as Integer, null if not found or not parseable
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 55.3K bytes
    - Click Count (0)
Back to Top