Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 479 for matched (0.09 sec)

  1. 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)
  2. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

            KerberosAuthData mockAuthData2 = mock(KerberosAuthData.class);
    
            // Mock the parse method to return two different objects based on input
            // Must use matchers for all arguments when using any matcher
            mockedStaticAuthData.when(() -> KerberosAuthData.parse(eq(1), eq(new byte[] { 0x01 }), any(Map.class)))
                    .thenReturn(Collections.singletonList(mockAuthData1));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt

                            sniMatchers =
                              listOf(
                                object : SNIMatcher(StandardConstants.SNI_HOST_NAME) {
                                  override fun matches(serverName: SNIServerName): Boolean {
                                    acceptedHostName = (serverName as SNIHostName).asciiName
                                    return true
                                  }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

            .isNotEqualTo(thread3.getName().substring(0, thread.getName().lastIndexOf('-')));
      }
    
      private static void checkThreadPoolName(Thread thread, int threadId) {
        assertThat(thread.getName()).matches("^pool-\\d+-thread-" + threadId + "$");
      }
    
      public void testNameFormatWithPercentS_custom() {
        String format = "super-duper-thread-%s";
        ThreadFactory factory = builder.setNameFormat(format).build();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.6K bytes
    - Viewed (0)
Back to top