Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 486 for matcher (0.04 sec)

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

        }
    
        /**
         * Verify that {@link #toString()} with no root cause equals the default
         * {@code IOException#toString()}.
         */
        @Test
        @DisplayName("toString without root cause matches IOException#toString")
        void testToStringWithoutRootCause() {
            SmbException ex = new SmbException(0, false);
            assertEquals("jcifs.smb1.smb1.SmbException: NT_STATUS_SUCCESS", ex.toString());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

         * <li>{@code *,!repo1} = everything except {@code repo1}.</li>
         * </ul>
         *
         * @param originalRepository to compare for a match.
         * @param pattern used for match.
         * @return true if the repository is a match to this pattern.
         */
        static boolean matchPattern(ArtifactRepository originalRepository, String pattern) {
            boolean result = false;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeImpl.java

            }
        }
    
        boolean matches(final String shr, final String servc) {
            return this.share.equalsIgnoreCase(shr) && (servc == null || servc.startsWith("??") || this.service.equalsIgnoreCase(servc));
        }
    
        @Override
        public boolean equals(final Object obj) {
            if (obj instanceof final SmbTreeImpl tree) {
                return matches(tree.share, tree.service);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

        }
    
        @Test
        public void testDeleteByQueryWithNoMatches() {
            // Test delete with query that matches nothing
            boolean result = SuggestUtil.deleteByQuery(client, settings, TEST_INDEX, QueryBuilders.termQuery("nonexistent", "value"));
            assertTrue(result); // Should still return true even with no matches
        }
    
        @Test(expected = SuggesterException.class)
        public void testDeleteByQueryWithInvalidIndex() {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                if (SSN_LIMIT != 1) {
                    final ListIterator iter = CONNECTIONS.listIterator();
                    while (iter.hasNext()) {
                        conn = (SmbTransport) iter.next();
                        if (conn.matches(address, port, localAddr, localPort, hostName)
                                && (SSN_LIMIT == 0 || conn.sessions.size() < SSN_LIMIT)) {
                            return conn;
                        }
                    }
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

                if (field.getType() == int.class) {
                    String name = field.getName();
                    // Check that constant names follow UPPER_SNAKE_CASE convention
                    assertTrue(name.matches("[A-Z_]+"), "Constant " + name + " should follow UPPER_SNAKE_CASE convention");
                    // Check that all constants end with _SECURITY_INFO
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. logger/sql.go

    		}
    	}
    	return true
    }
    
    // A list of Go types that should be converted to SQL primitives
    var convertibleTypes = []reflect.Type{reflect.TypeOf(time.Time{}), reflect.TypeOf(false), reflect.TypeOf([]byte{})}
    
    // RegEx matches only numeric values
    var numericPlaceholderRe = regexp.MustCompile(`\$\d+\$`)
    
    func isNumeric(k reflect.Kind) bool {
    	switch k {
    	case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
    		return true
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt

    import okio.ByteString
    
    /**
     * Encode and decode a model object like a [Long] or [Certificate] as DER bytes.
     */
    internal interface DerAdapter<T> {
      /** Returns true if this adapter can read [header] in a choice. */
      fun matches(header: DerHeader): Boolean
    
      /**
       * Returns a value from this adapter.
       *
       * This must always return a value, though it doesn't necessarily need to consume data from
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java

            responseData.setUrl("http://example.com");
    
            assertTrue(rule.match(responseData));
            assertTrue(rule.match(responseData));
            assertTrue(rule.match(responseData));
            assertEquals(3, rule.getMatchCallCount());
        }
    
        /**
         * Test Rule with always false match
         */
        public void test_ruleNeverMatch() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  10. schema/relationship.go

    				matched := true
    				for idx, ref := range r.References {
    					if !(rel.References[idx].PrimaryKey == ref.PrimaryKey && rel.References[idx].ForeignKey == ref.ForeignKey &&
    						rel.References[idx].PrimaryValue == ref.PrimaryValue) {
    						matched = false
    						break
    					}
    				}
    
    				if matched {
    					return nil
    				}
    			}
    		}
    	}
    
    	var (
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Aug 18 11:44:52 UTC 2025
    - 23.1K bytes
    - Viewed (1)
Back to top