Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 1,289 for Implementations (0.47 sec)

  1. src/test/java/jcifs/pac/PACDecodingExceptionTest.java

        @Test
        void testCauseConstructor() {
            Throwable cause = new RuntimeException("Root cause");
            PACDecodingException e = new PACDecodingException(cause);
            // When constructed with only a cause, the implementation passes (null, cause) to super
            // which results in a null message rather than deriving it from the cause
            assertNull(e.getMessage());
            assertSame(cause, e.getCause());
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestCache.java

    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.services.Request;
    import org.apache.maven.api.services.Result;
    
    /**
     * Interface for caching request results in Maven. This cache implementation provides
     * methods for executing and optionally caching both single requests and batches of requests.
     * <p>
     * The cache behavior is determined by the cache retention specified in the request's metadata.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.util.BitSet;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Benchmark for the {@link CharMatcher#whitespace} implementation. */
    @NullUnmarked
    public class WhitespaceMatcherBenchmark {
      private static final int STRING_LENGTH = 10000;
    
      private static final String OLD_WHITESPACE_TABLE =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java

    import java.util.HashSet;
    import java.util.List;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a Set implementation.
     *
     * @author George van den Driessche
     */
    @GwtIncompatible
    public class SetTestSuiteBuilder<E>
        extends AbstractCollectionTestSuiteBuilder<SetTestSuiteBuilder<E>, E> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/collection/LruHashSet.java

     */
    package org.codelibs.core.collection;
    
    import java.util.AbstractSet;
    import java.util.ConcurrentModificationException;
    import java.util.Iterator;
    import java.util.Set;
    
    /**
     * A {@link Set} implementation that stores its elements in a {@link LruHashMap}.
     * <p>
     * This set has a fixed maximum capacity. When the capacity is reached and a new element is added,
     * the least recently used element is removed.
     * </p>
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/context/CIFSContextWrapper.java

    import jcifs.SmbPipeResource;
    import jcifs.SmbResource;
    import jcifs.SmbTransportPool;
    import jcifs.smb.Handler;
    import jcifs.smb.SmbFile;
    import jcifs.smb.SmbNamedPipe;
    
    /**
     * A wrapper implementation of CIFSContext that delegates to another context.
     * This class allows for context decoration and customization through delegation.
     *
     * @author mbechler
     */
    public class CIFSContextWrapper implements CIFSContext {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

    import org.junit.jupiter.api.Test;
    
    import jcifs.smb1.util.Hexdump;
    
    /**
     * Unit test for {@link Trans2QueryFSInformation}. The class contains mostly
     * trivial wire-format helpers and a custom {@code toString()} implementation.
     * All tests are pure unit tests – no network or file system access is
     * required.
     */
    class Trans2QueryFSInformationTest {
    
        /** Small helper to create a byte buffer larger than the maximum expected
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/ds/DataStoreTest.java

        private DataStore dataStore;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
        }
    
        public void test_store_basic() {
            // Create a simple DataStore implementation for testing
            final AtomicBoolean storeCalled = new AtomicBoolean(false);
            final AtomicReference<DataConfig> capturedConfig = new AtomicReference<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/FileEntryTest.java

            // Arrange/Act: do nothing
            // Assert: verify no interactions
            verifyNoInteractions(mockEntry);
        }
    
        // --- Fake implementation tests (happy path and edge cases) ---
    
        @Test
        @DisplayName("Fake implementation returns provided values (happy path)")
        void fakeImplementation_happyPath() {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java

    import java.io.Serializable;
    import java.util.Collection;
    import java.util.Set;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * {@link Set} implementation that asserts that a given lock is held whenever one of its methods is
     * called.
     */
    @NullUnmarked
    class LockHeldAssertingSet<E> extends ForwardingSet<E> implements Serializable {
      final Set<E> delegate;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top