Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 2,062 for watch (0.02 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

                fail("Should throw IndexOutOfBoundsException for negative index");
            } catch (IndexOutOfBoundsException e) {
                // Expected
            }
    
            try {
                ruleManager.addRule(5, rule2);
                fail("Should throw IndexOutOfBoundsException for index > size");
            } catch (IndexOutOfBoundsException e) {
                // Expected
            }
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  2. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/ConscryptSocketAdapter.kt

              Conscrypt.isAvailable() && atLeastVersion(2, 1, 0) -> true
              else -> false
            }
          } catch (e: NoClassDefFoundError) {
            false
          } catch (e: ClassNotFoundException) {
            false
          }
    
        fun atLeastVersion(
          major: Int,
          minor: Int = 0,
          patch: Int = 0,
        ): Boolean {
          val conscryptVersion = Conscrypt.version() ?: return false
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/WholeOperationTimeoutTest.kt

            ) {
              exceptionRef.set(e)
              latch.countDown()
            }
    
            @Throws(IOException::class)
            override fun onResponse(
              call: Call,
              response: Response,
            ) {
              response.close()
              latch.countDown()
            }
          },
        )
        latch.await()
        assertThat(call.isCanceled()).isTrue()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java

      private final CountDownLatch latch;
    
      public ListenableFutureTester(ListenableFuture<?> future) {
        this.exec = newCachedThreadPool();
        this.future = checkNotNull(future);
        this.latch = new CountDownLatch(1);
      }
    
      public void setUp() {
        future.addListener(
            new Runnable() {
              @Override
              public void run() {
                latch.countDown();
              }
            },
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/SitemapsRule.java

         */
        @Override
        public boolean match(final ResponseData responseData) {
            if (super.match(responseData)) {
                try (final InputStream is = responseData.getResponseBody()) {
                    final SitemapsHelper sitemapsHelper = crawlerContainer.getComponent("sitemapsHelper");
                    return sitemapsHelper.isValid(is);
                } catch (final CrawlingAccessException e) {
                    throw e;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java

                }
            }
            if (executeCallbacks.size() > 0) {
                try {
                    executeCallbacks.stream().forEach(callback -> callback.accept(response));
                } catch (final Exception ignore) {}
            }
            latch.countDown();
        }
    
        /**
         * Rejects the deferred computation with the given throwable.
         * @param t The throwable.
         */
        public void reject(final Throwable t) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

         * @throws CIFSException if an error occurs during fetching
         */
        protected abstract boolean fetchMore() throws CIFSException;
    
        /**
         * Gets the current batch of results.
         *
         * @return array of file entries in the current batch
         */
        protected abstract FileEntry[] getResults();
    
        /**
         * Closes the enumeration and releases resources.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  8. docs/hotfixes.md

    ```
    commit 99bf4d0c429f04dbd013ba98840d07b759ae1702 (tag: RELEASE.2019-06-15T23-07-18Z)
    Author: Harshavardhana <******@****.***>
    Date:   Sat Jun 15 11:27:17 2019 -0700
    
        [security] Match ${aws:username} exactly instead of prefix match (#7791)
    
        This PR fixes a security issue where an IAM user based
        on his policy is granted more privileges than restricted
        by the users IAM policy.
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 14 21:36:02 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/Dfs.java

                    final int _klen = _key.length();
                    boolean match = false;
    
                    if (_klen == key.length()) {
                        match = _key.equals(key);
                    } else if (_klen < key.length()) {
                        match = _key.regionMatches(0, key, 0, _klen) && key.charAt(_klen) == '\\';
                    }
    
                    if (match) {
                        dr = (DfsReferral) referrals.map.get(_key);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

    public abstract class AbstractListenableFutureTest extends TestCase {
    
      protected CountDownLatch latch;
      protected ListenableFuture<Boolean> future;
    
      @Override
      protected void setUp() throws Exception {
    
        // Create a latch and a future that waits on the latch.
        latch = new CountDownLatch(1);
        future = createListenableFuture(Boolean.TRUE, null, latch);
      }
    
      @Override
      protected void tearDown() throws Exception {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top