Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 247 for Complement (0.52 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

     * instance for non-daemon threads.
     *
     * The task runner is also responsible for releasing held threads when the library is unloaded.
     * This is for the benefit of container environments that implement code unloading.
     *
     * Most applications should share a process-wide [TaskRunner] and use queues for per-client work.
     */
    class TaskRunner(
      val backend: Backend,
      internal val logger: Logger = TaskRunner.logger,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/TreeTraverser.java

     * (hdegabcf).
     *
     * <p>Null nodes are strictly forbidden.
     *
     * <p>Because this is an abstract class, not an interface, you can't use a lambda expression to
     * implement it:
     *
     * {@snippet :
     * // won't work
     * TreeTraverser<NodeType> traverser = node -> node.getChildNodes();
     * }
     *
     * Instead, you can pass a lambda expression to the {@code using} factory method:
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestStringListGenerator.java

        int i = 0;
        for (Object e : elements) {
          array[i++] = (String) e;
        }
        return create(array);
      }
    
      /**
       * Creates a new collection containing the given elements; implement this method instead of {@link
       * #create(Object...)}.
       */
      protected abstract List<String> create(String[] elements);
    
      @Override
      public String[] createArray(int length) {
        return new String[length];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/timer/MonitorTarget.java

    import org.codelibs.fess.Constants;
    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.taglib.FessFunctions;
    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * Abstract base class for monitor targets that implement timeout functionality.
     */
    public abstract class MonitorTarget implements TimeoutTarget {
    
        /**
         * Default constructor.
         */
        public MonitorTarget() {
            // Default constructor
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/ListenableFuture.java

                })
            .then(onFulfilled, onRejected);
      }
    }
    
    /**
     * Subset of the elemental2 IThenable interface without the single-parameter overload, which allows
     * us to implement it using a default implementation in J2cl ListenableFuture.
     */
    @JsType(isNative = true, namespace = JsPackage.GLOBAL, name = "IThenable")
    interface IThenable<T extends @Nullable Object> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/BufferCacheTest.java

            assertNotSame(buffer1, buffer2, "Different calls should return different buffers initially");
        }
    
        @Test
        @DisplayName("releaseBuffer and getBuffer should implement buffer reuse")
        void testBufferReuse() {
            // Given
            byte[] originalBuffer = testCache.getBuffer();
    
            // When - release and get again
            testCache.releaseBuffer(originalBuffer);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Funnel.java

     *         .putUnencodedChars(person.getLastName())
     *         .putInt(person.getAge());
     *   }
     * }
     * }
     *
     * @author Dimitris Andreou
     * @since 11.0
     */
    @Beta
    @DoNotMock("Implement with a lambda")
    public interface Funnel<T extends @Nullable Object> extends Serializable {
    
      /**
       * Sends a stream of data from the {@code from} object into the sink {@code into}. There is no
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/Types.java

       * AnnotatedElement}, which {@code TypeVariable} began to extend only in Java 8. Those methods
       * refer only to types present under Android, so we could implement them in {@code
       * TypeVariableImpl} today. (We could probably then make {@code TypeVariableImpl} implement {@code
       * AnnotatedElement} so that we get partial compile-time checking.)
       *
       * <p>This workaround should be removed at a distant future time when <a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRootTest.java

            assertTrue("FessWebResourceRoot should extend StandardRoot", StandardRoot.class.isAssignableFrom(FessWebResourceRoot.class));
            assertTrue("FessWebResourceRoot should implement WebResourceRoot",
                    WebResourceRoot.class.isAssignableFrom(FessWebResourceRoot.class));
        }
    
        public void test_classStructure() {
            // Basic class structure tests that don't require complex mocking
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SessionSetupHandlerTest.java

        // Provide two implementations: an anonymous class and a Mockito mock
        static Stream<Arguments> implementations() {
            SessionSetupHandler anon = new SessionSetupHandler() {
                // no methods to implement (marker interface)
            };
            SessionSetupHandler mock = mock(SessionSetupHandler.class);
            return Stream.of(Arguments.of(anon), Arguments.of(mock));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top