Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 816 for Caller (1.54 sec)

  1. guava-tests/test/com/google/common/io/CharStreamsTest.java

          @Override
          public int read(char[] cbuf, int off, int len) throws IOException {
            // if a buffer isn't being cleared correctly, this method will eventually start being called
            // with a len of 0 forever
            if (len <= 0) {
              fail("read called with a len of " + len);
            }
            // read fewer than the max number of chars to read
            // shouldn't be a problem unless the buffer is shrinking each call
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/context/AbstractCIFSContextTest.java

        @Test
        void testRun_successfulClose() throws CIFSException {
            // Simulate the shutdown hook being run
            context.run();
    
            assertTrue(context.isCloseCalled()); // Verify close() was called
        }
    
        @Test
        void testRun_closeThrowsException() throws CIFSException {
            // Create a spy on the context to make close() throw an exception
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java

         * mirror, its URL and ID will be updated to match the values from the mirror specification. Repositories without a
         * matching mirror will pass through unchanged. Note: This method must be called before
         * {@link #injectAuthentication(List, List)} or the repositories will end up with the wrong credentials.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. internal/lru/lru.go

    //	}
    //	close(c.done)
    // }
    
    // removeOldest removes the oldest item from the cache. Has to be called with lock!
    func (c *LRU[K, V]) removeOldest() {
    	if ent := c.evictList.Back(); ent != nil {
    		c.removeElement(ent)
    	}
    }
    
    // removeElement is used to remove a given list element from the cache. Has to be called with lock!
    func (c *LRU[K, V]) removeElement(e *Entry[K, V]) {
    	c.evictList.Remove(e)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/AbstractConfigHelperTest.java

            configHelper.setLoadCallback(() -> {
                latch.countDown();
                return 1;
            });
    
            configHelper.update();
    
            assertTrue("Load method should be called within 5 seconds", latch.await(5, TimeUnit.SECONDS));
            assertEquals(1, configHelper.getLoadCallCount());
        }
    
        public void test_update_multipleCallsIncrementLoadCount() throws InterruptedException {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 00:03:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

                    return existingInfo;
                }
    
                @Override
                public void store(CrawlingInfo entity) {
                    // Should not be called for existing info
                    fail("Store should not be called for existing info");
                }
    
                @Override
                public void storeInfo(List<CrawlingInfoParam> crawlingInfoParamList) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsCreator.java

         */
        public ProtwordsCreator() {
            super("protwords.*\\.txt");
        }
    
        /**
         * Registers this creator with the dictionary manager.
         * This method is called automatically after construction to add this creator to the dictionary manager.
         */
        @PostConstruct
        public void register() {
            if (logger.isInfoEnabled()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

       *
       * <p>If a code point has no mapped replacement then it is checked against the safe range. If it
       * lies outside that, then {@link #escapeUnsafe} is called, otherwise no escaping is performed.
       *
       * @param replacementMap a map of characters to their escaped representations
       * @param safeMin the lowest character value in the safe range
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Callback.kt

    import okio.IOException
    
    interface Callback {
      /**
       * Called when the request could not be executed due to cancellation, a connectivity problem or
       * timeout. Because networks can fail during an exchange, it is possible that the remote server
       * accepted the request before the failure.
       */
      fun onFailure(
        call: Call,
        e: IOException,
      )
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/SmbCircuitBreaker.java

            /**
             * Called when circuit state changes
             *
             * @param circuitBreaker the circuit breaker
             * @param fromState previous state
             * @param toState new state
             */
            void onStateChange(SmbCircuitBreaker circuitBreaker, State fromState, State toState);
    
            /**
             * Called when a request succeeds
             *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
Back to top