Search Options

Results per page
Sort
Preferred Languages
Advance

Results 831 - 840 of 1,579 for setI (0.1 sec)

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

    import static java.util.Collections.sort;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.List;
    import java.util.SortedSet;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Create integer sets for testing collections that are sorted by natural ordering.
     *
     * @author Chris Povirk
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 19:03:19 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationTest.java

        @BeforeEach
        public void setUp() {
            smbComQueryInformation = new SmbComQueryInformation(TEST_FILE_NAME);
        }
    
        @Test
        public void testConstructor() {
            // Test if the constructor sets the file name and command correctly
            assertEquals(TEST_FILE_NAME, smbComQueryInformation.path);
            assertEquals(ServerMessageBlock.SMB_COM_QUERY_INFORMATION, smbComQueryInformation.command);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/MapToStringTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.MapFeature;
    import java.util.LinkedHashMap;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code toString()} operations on a map. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

                when(mockBuffer.dec_ndr_short()).thenReturn(decodedValue);
    
                // When: Decoding the value
                ndrShort.decode(mockBuffer);
    
                // Then: Should call dec_ndr_short and set value correctly
                verify(mockBuffer).dec_ndr_short();
                verifyNoMoreInteractions(mockBuffer);
                assertEquals(decodedValue, ndrShort.value);
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt

      }
    
      @Test
      fun receiveAndSendMultipleCookies() {
        server.enqueue(
          MockResponse
            .Builder()
            .addHeader("Set-Cookie", "a=android")
            .addHeader("Set-Cookie", "b=banana")
            .build(),
        )
        server.enqueue(MockResponse())
        val cookieManager = CookieManager(null, CookiePolicy.ACCEPT_ORIGINAL_SERVER)
        client =
          client
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ForwardingMultiset.java

      @Override
      public int remove(@Nullable Object element, int occurrences) {
        return delegate().remove(element, occurrences);
      }
    
      @Override
      public Set<E> elementSet() {
        return delegate().elementSet();
      }
    
      @Override
      public Set<Entry<E>> entrySet() {
        return delegate().entrySet();
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

            totalKeyRotations.incrementAndGet();
            lastKeyRotationTime.set(System.currentTimeMillis());
        }
    
        /**
         * Get the current key rotation count
         *
         * @return number of times keys have been rotated
         */
        public int getKeyRotationCount() {
            return rotationCount;
        }
    
        /**
         * Set the key rotation bytes limit
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.net.InetSocketAddress;
    import java.nio.ByteBuffer;
    import java.util.EnumSet;
    import java.util.Set;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import jcifs.internal.smb2.rdma.RdmaAccess;
    import jcifs.internal.smb2.rdma.RdmaCapability;
    import jcifs.internal.smb2.rdma.RdmaConnection;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractSortedMultiset.java

    /**
     * This class provides a skeletal implementation of the {@link SortedMultiset} interface.
     *
     * <p>The {@link #count} and {@link #size} implementations all iterate across the set returned by
     * {@link Multiset#entrySet()}, as do many methods acting on the set returned by {@link
     * #elementSet()}. Override those methods for better performance.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/CollectionFuture.java

        @RetainedLocalRef List<@Nullable Present<V>> localValues = values;
        if (localValues != null) {
          localValues.set(index, new Present<>(returnValue));
        }
      }
    
      @Override
      final void handleAllCompleted() {
        @RetainedLocalRef List<@Nullable Present<V>> localValues = values;
        if (localValues != null) {
          set(combine(localValues));
        }
      }
    
      @Override
      void releaseResources(ReleaseResourcesReason reason) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top