Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 370 for watcher (0.04 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt

     * limitations under the License.
     */
    package okhttp3.internal.ws
    
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.isEqualTo
    import assertk.assertions.matches
    import java.io.EOFException
    import java.io.IOException
    import java.net.ProtocolException
    import java.util.Random
    import kotlin.test.assertFailsWith
    import okhttp3.internal.format
    import okio.Buffer
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/PacTest.java

    class PacTest {
    
        private Map<Integer, KerberosKey> keys;
    
        @BeforeEach
        void setUp() {
            keys = new HashMap<>();
            // Use ARCFOUR-HMAC encryption type (23) which matches KERB_CHECKSUM_HMAC_MD5
            KerberosKey serverKey = new KerberosKey(new KerberosPrincipal("******@****.***"), "serverKey1234567".getBytes(),
                    PacSignature.ETYPE_ARCFOUR_HMAC, 1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

            verifyNoInteractions(mockDir);
        }
    
        /**
         * Edge: name-based filter behavior for diverse inputs.
         */
        @ParameterizedTest
        @DisplayName("name-based filter matches .txt case-insensitively")
        @CsvSource({ "notes.txt,true", "REPORT.TXT,true", "image.png,false", "archive.tar.gz,false", "txt,false" })
        void nameBasedFilterTxt(String name, boolean expected) throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/admin/FileAuthTests.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.it.admin;
    
    import static org.hamcrest.Matchers.equalTo;
    
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.fess.it.CrudTestBase;
    import org.junit.jupiter.api.AfterEach;
    import org.junit.jupiter.api.BeforeEach;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/net/InternetDomainName.java

        if (!PART_CHAR_MATCHER.matchesAllOf(asciiChars)) {
          return false;
        }
    
        // No initial or final dashes or underscores.
    
        if (DASH_MATCHER.matches(part.charAt(0))
            || DASH_MATCHER.matches(part.charAt(part.length() - 1))) {
          return false;
        }
    
        /*
         * Note that we allow (in contravention of a strict interpretation of the relevant RFCs) domain
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.9K bytes
    - Viewed (0)
  6. 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)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

                        return mirror;
                    }
                }
            }
    
            return null;
        }
    
        /**
         * This method checks if the pattern matches the originalRepository. Valid patterns:
         * <ul>
         * <li>{@code *} = everything,</li>
         * <li>{@code external:*} = everything not on the localhost and not file based,</li>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top