Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 155 for wildcard (0.13 seconds)

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

        @Test
        public void testAcceptIgnoresWildcard() throws Exception {
            // Wildcard shouldn't affect accept logic.
            DosFileFilter customFilter = new DosFileFilter("*.txt", SmbFile.ATTR_DIRECTORY);
            SmbFile file = mock(SmbFile.class);
            when(file.getAttributes()).thenReturn(SmbFile.ATTR_DIRECTORY);
            assertTrue(customFilter.accept(file), "Wildcard should be ignored in accept");
        }
    
        @Test
    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)
  2. okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

          buffer.write(this, length.toLong())
        }
        while (!buffer.exhausted()) {
          var publicSuffix = buffer.readUtf8LineStrict()
          if (publicSuffix.contains("*")) {
            // A wildcard rule, let's replace the wildcard with a value.
            publicSuffix = publicSuffix.replace("\\*".toRegex(), "square")
          }
          assertThat(publicSuffixDatabase.getEffectiveTldPlusOne(publicSuffix)).isNull()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 22:00:49 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/cors/CorsHandlerFactory.java

         */
        protected Map<String, CorsHandler> handerMap = new HashMap<>();
    
        /**
         * Adds a CORS handler for the specified origin.
         *
         * @param origin the origin pattern (can be "*" for wildcard)
         * @param handler the CORS handler to associate with the origin
         */
        public void add(final String origin, final CorsHandler handler) {
            if (logger.isDebugEnabled()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/cors.md

    In this case, the list would have to include `http://localhost:8080` for the `:8080`-frontend to work correctly.
    
    ## Wildcards { #wildcards }
    
    It's also possible to declare the list as `"*"` (a "wildcard") to say that all are allowed.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/NetServerEnumIterator.java

         * Constructs a NetServerEnumIterator for enumerating network servers
         * @param parent
         *            the parent SMB file
         * @param th
         *            the tree handle to use
         * @param wildcard
         *            wildcard pattern for filtering servers
         * @param searchAttributes
         *            attributes to search for
         * @param filter
         *            optional resource name filter
         * @throws CIFSException
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

        @ParameterizedTest
        @DisplayName("Test writeParametersWireFormat with various wildcards")
        @CsvSource({ "'\\path', '*.txt', '\\path\\*.txt'", "'\\path\\', '*.doc', '\\path\\*.doc'", "'\\', '*.*', '\\*.*'",
                "'\\test', 'file?.txt', '\\test\\file?.txt'" })
        void testWriteParametersWireFormatWithVariousWildcards(String path, String wildcard, String expectedFullPath) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  7. 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)
  8. guava-tests/test/com/google/common/reflect/TypesTest.java

      public void testNewArrayType_upperBoundedWildcard() {
        Type wildcard = Types.subtypeOf(Number.class);
        assertEquals(Types.subtypeOf(Number[].class), Types.newArrayType(wildcard));
      }
    
      public void testNewArrayType_lowerBoundedWildcard() {
        Type wildcard = Types.supertypeOf(Number.class);
        assertEquals(Types.supertypeOf(Number[].class), Types.newArrayType(wildcard));
      }
    
      public void testNewArrayType_serializable() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 15.5K bytes
    - Click Count (0)
  9. cmd/batch-job-common-types.go

    func (kv BatchJobKV) Empty() bool {
    	return kv.Key == "" && kv.Value == ""
    }
    
    // Match matches input kv with kv, value will be wildcard matched depending on the user input
    func (kv BatchJobKV) Match(ikv BatchJobKV) bool {
    	if kv.Empty() {
    		return true
    	}
    	if strings.EqualFold(kv.Key, ikv.Key) {
    		return wildcard.Match(kv.Value, ikv.Value)
    	}
    	return false
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java

                    "xxx:aaa");
            assertQueryBuilder(WildcardQueryBuilder.class, //
                    "{\"wildcard\":{\"url\":{\"wildcard\":\"*aaa*\",\"boost\":1.0}}}", //
                    "inurl:aaa");
            assertQueryBuilder(TermQueryBuilder.class, //
                    "{\"term\":{\"url\":{\"value\":\"aaa\",\"boost\":1.0}}}", //
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 20.4K bytes
    - Click Count (0)
Back to Top