Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1131 - 1140 of 1,364 for implementations (0.07 sec)

  1. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

    import java.util.concurrent.ScheduledFuture;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@code Futures#withTimeout}.
     *
     * <p>Future that delegates to another but will finish early (via a {@link TimeoutException} wrapped
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

          assertTrue(bb.remaining() < bufferSize);
          int before = processCalled;
          super.processRemaining(bb);
          int after = processCalled;
          assertEquals(before + 1, after); // default implementation pads and calls process()
          processCalled--; // don't count the tail invocation (makes tests a bit more understandable)
        }
    
        // ensures that the number of invocations looks sane
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

    import java.util.TimeZone;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    class ServerMessageBlockTest {
    
        private TestServerMessageBlock smb;
    
        // A concrete implementation of the abstract ServerMessageBlock for testing
        private static class TestServerMessageBlock extends ServerMessageBlock {
            private byte[] paramWords;
            private byte[] bytes;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            assertThrows(Exception.class, () -> {
                response.readBytesWireFormat(buffer, offset);
            });
        }
    
        @Test
        @DisplayName("Should verify NotifyResponse interface implementation")
        void testNotifyResponseInterface() {
            // Then
            assertTrue(response instanceof NotifyResponse);
            assertNotNull(response.getNotifyInformation());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/EndpointPair.java

          }
    
          EndpointPair<?> other = (EndpointPair<?>) obj;
          if (isOrdered() != other.isOrdered()) {
            return false;
          }
    
          // Equivalent to the following simple implementation:
          // boolean condition1 = nodeU().equals(other.nodeU()) && nodeV().equals(other.nodeV());
          // boolean condition2 = nodeU().equals(other.nodeV()) && nodeV().equals(other.nodeU());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  6. docs/features/interceptors.md

            response.request().url(), (t2 - t1) / 1e6d, response.headers()));
    
        return response;
      }
    }
    ```
    
    A call to `chain.proceed(request)` is a critical part of each interceptor’s implementation. This simple-looking method is where all the HTTP work happens, producing a response to satisfy the request. If `chain.proceed(request)` is being called more than once previous response bodies must be closed.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a {@code Multiset}
     * implementation.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     */
    @GwtIncompatible
    public class MultisetTestSuiteBuilder<E>
        extends AbstractCollectionTestSuiteBuilder<MultisetTestSuiteBuilder<E>, E> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

            response = new Trans2QueryPathInformationResponse(mockConfig, FileInformation.FILE_BASIC_INFO);
    
            byte[] buffer = new byte[0];
            response.setDataCount(0);
    
            // The implementation will try to decode even with an empty buffer, causing ArrayIndexOutOfBoundsException
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                response.readDataWireFormat(buffer, 0, 0);
            });
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractConditionQuery.java

            }
        }
    
        // ===================================================================================
        //                                                              DBFlute Implementation
        //                                                              ======================
        @Override
        public ColumnRealName toColumnRealName(String columnDbName) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 21.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/job/ExecJob.java

         */
        protected ExecJob() {
            // Default constructor
        }
    
        /**
         * Executes the job and returns the result as a string.
         * This method contains the main business logic for the specific job implementation.
         *
         * @return the execution result message or summary
         */
        public abstract String execute();
    
        /**
         * Returns the execution type identifier for this job.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top