Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 1,076 for call1 (0.01 sec)

  1. guava/src/com/google/common/cache/ForwardingCache.java

    import java.util.concurrent.Callable;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.ExecutionException;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A cache which forwards all its method calls to another cache. Subclasses should override one or
     * more methods to modify the behavior of the backing cache as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/QueueTestSuiteBuilder.java

        return new QueueTestSuiteBuilder<E>().usingGenerator(generator);
      }
    
      private boolean runCollectionTests = true;
    
      /**
       * Specify whether to skip the general collection tests. Call this method when testing a
       * collection that's both a queue and a list, to avoid running the common collection tests twice.
       * By default, collection tests do run.
       */
      @CanIgnoreReturnValue
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java

        @Test
        @DisplayName("close does nothing and does not touch handle")
        void close_doesNothing() throws Exception {
            // Arrange
            SmbPipeOutputStream out = newStream();
            // constructor already calls handle.getPipe(); clear interactions to focus on close()
            clearInvocations(handle);
    
            // Act
            out.close();
    
            // Assert
            verifyNoInteractions(handle);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestCache.java

         * @return The result from the supplier (either fresh or cached)
         * @throws RuntimeException Any exception thrown by the supplier will be cached and re-thrown on subsequent calls
         */
        <REQ extends Request<?>, REP extends Result<REQ>> REP request(REQ req, Function<REQ, REP> supplier);
    
        /**
         * Executes and optionally caches a batch of requests using the provided supplier function.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Converter.java

     *   <li>Use {@code converter} or {@code converter.reverse()} anywhere a {@link
     *       java.util.function.Function} is accepted (for example {@link java.util.stream.Stream#map
     *       Stream.map}).
     *   <li><b>Do not</b> call {@link #doForward} or {@link #doBackward} directly; these exist only to
     *       be overridden.
     * </ul>
     *
     * <h3>Example</h3>
     *
     * {@snippet :
     * return Converter.from(
     *     Integer::toHexString,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 21:43:06 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/AbstractIntervalControllerTest.java

            assertFalse(controller.isIgnoreException());
    
            controller.setIgnoreException(true);
            assertTrue(controller.isIgnoreException());
        }
    
        /**
         * Test multiple delay calls
         */
        public void test_multipleDelayCalls() {
            final TestIntervalController controller = new TestIntervalController();
    
            controller.delay(IntervalController.PRE_PROCESSING);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:58:39 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java

            when(readRequest.getTreeId()).thenReturn(123); // Set consistent tree ID for affinity
    
            when(mockChannelManager.getHealthyChannels()).thenReturn(Arrays.asList(channel1, channel2));
    
            // Multiple calls with same file ID should return same channel
            ChannelInfo first = loadBalancer.selectChannel(readRequest);
            ChannelInfo second = loadBalancer.selectChannel(readRequest);
    
            assertEquals(first, second);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/package-info.java

     *   <li>{@link UnmodifiableIterator}
     *   <li>{@link UnmodifiableListIterator}
     * </ul>
     *
     * <h2>Forwarding collections</h2>
     *
     * We provide implementations of collections that forward all method calls to a delegate collection
     * by default. Subclasses can override one or more methods to implement the decorator pattern. For
     * an example, see {@link ForwardingCollection}.
     *
     * <h2>Other</h2>
     *
     * <ul>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ForwardingMultiset.java

    import java.util.Collection;
    import java.util.Iterator;
    import java.util.Objects;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A multiset which forwards all its method calls to another multiset. Subclasses should override
     * one or more methods to modify the behavior of the backing multiset as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt

        }
      }
    
      /** Returns once all stream actions complete successfully. */
      fun awaitSuccess() {
        val futureTask =
          results.poll(5, TimeUnit.SECONDS)
            ?: throw AssertionError("no onRequest call received")
        futureTask.get(5, TimeUnit.SECONDS)
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 3.3K bytes
    - Viewed (0)
Back to top