Search Options

Results per page
Sort
Preferred Languages
Advance

Results 871 - 880 of 1,132 for Implementations (0.07 sec)

  1. android/guava-testlib/src/com/google/common/testing/RelationshipTester.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.ArrayList;
    import java.util.List;
    import junit.framework.AssertionFailedError;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Implementation helper for {@link EqualsTester} and {@link EquivalenceTester} that tests for
     * equivalence classes.
     *
     * @author Gregory Kick
     */
    @GwtCompatible
    @NullMarked
    final class RelationshipTester<T> {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/StandardMutableNetwork.java

    import static java.util.Objects.requireNonNull;
    
    import com.google.common.collect.ImmutableList;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    
    /**
     * Standard implementation of {@link MutableNetwork} that supports both directed and undirected
     * graphs. Instances of this class should be constructed with {@link NetworkBuilder}.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testCompute_presentNullToNull() {
        // The spec is somewhat ambiguous about this case, but the actual default implementation
        // in Map will remove a present null.
        initMapWithNullValue();
        assertNull(
            "Map.compute(presentMappedToNull, functionReturningNull) should return null",
            getMap()
                .compute(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

     * its comparator (which might be the element that was just added). This is different from
     * conventional bounded queues, which either block or reject new elements when full.
     *
     * <p>This implementation is based on the <a
     * href="http://portal.acm.org/citation.cfm?id=6621">min-max heap</a> developed by Atkinson, et al.
     * Unlike many other double-ended priority queues, it stores elements in a single array, as compact
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 33.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

    import jakarta.servlet.FilterConfig;
    import jakarta.servlet.ServletContext;
    import jakarta.servlet.http.HttpServletResponse;
    
    /**
     * SPNEGO (Security Provider Negotiation Protocol) authenticator implementation.
     *
     * This class provides Single Sign-On (SSO) authentication using the SPNEGO protocol,
     * which is commonly used for Kerberos-based authentication in Windows environments.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 17.8K bytes
    - Viewed (3)
  6. src/test/java/jcifs/util/StringsTest.java

            void testFindUNITerminationNotFound() {
                // Given
                byte[] bufferWithoutTermination = "Hello".getBytes(StandardCharsets.UTF_16LE);
    
                // When & Then - the implementation throws ArrayIndexOutOfBoundsException when buffer bounds are exceeded
                assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/Name.java

     */
    
    package jcifs.netbios;
    
    import jcifs.Configuration;
    import jcifs.NetbiosName;
    import jcifs.util.Hexdump;
    import jcifs.util.Strings;
    
    /**
     * NetBIOS name implementation.
     * This class represents NetBIOS names used in SMB networking.
     */
    public class Name implements NetbiosName {
    
        private static final int TYPE_OFFSET = 31;
        private static final int SCOPE_OFFSET = 33;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

                context.initSecContext(malformedToken, 0, malformedToken.length);
            });
            // Exception is thrown, but cause may or may not be set depending on implementation
            assertNotNull(e.getMessage()); // Should have an error message
        }
    
        @Test
        void testGetters() {
            // Simple test for getter methods
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java

    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    
    /**
     * Integration tests for witness protocol implementation.
     * Uses mock services to simulate witness behavior.
     */
    @ExtendWith(MockitoExtension.class)
    public class WitnessIntegrationTest {
    
        @Mock
        private CIFSContext mockContext;
    
        @Mock
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/ASN1UtilTest.java

        }
    
        // --- as(Class, DLSequence, int) ---
    
        @Test
        void testAs_DLSequence_RecursiveBug() {
            // This test exposes a recursive bug in the current implementation
            // The method calls itself, leading to a StackOverflowError.
            ASN1EncodableVector vector = new ASN1EncodableVector();
            vector.add(new ASN1Integer(10));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top