Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 507 for INSTANCES (0.07 seconds)

  1. guava/src/com/google/common/base/Joiner.java

     *
     * <p>If neither {@link #skipNulls()} nor {@link #useForNull(String)} is specified, the joining
     * methods will throw {@link NullPointerException} if any given element is null.
     *
     * <p><b>Warning: joiner instances are always immutable</b>; a configuration method such as {@code
     * useForNull} has no effect on the instance it is invoked on! You must store and use the new joiner
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Apr 14 15:16:19 GMT 2025
    - 21K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/rdma/RdmaProviderFactory.java

    import org.slf4j.LoggerFactory;
    
    import jcifs.Configuration;
    import jcifs.internal.smb2.rdma.disni.DisniRdmaProvider;
    import jcifs.internal.smb2.rdma.tcp.TcpRdmaProvider;
    
    /**
     * Factory for creating RDMA provider instances.
     *
     * This factory attempts to select the best available RDMA provider
     * based on system capabilities and configuration preferences.
     */
    public class RdmaProviderFactory {
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetElementSetTester.java

      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testElementSetClear() {
        getMultiset().elementSet().clear();
        assertEmpty(getMultiset());
      }
    
      /**
       * Returns {@link Method} instances for the read tests that assume multisets support duplicates so
       * that the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 4.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

            // Then
            assertTrue(smbComTreeDisconnect instanceof ServerMessageBlock);
        }
    
        /**
         * Test multiple instances are independent
         */
        @Test
        @DisplayName("Test multiple instances are independent")
        public void testMultipleInstancesIndependence() {
            // Setup mock to return a valid PID
            when(mockConfig.getPid()).thenReturn(5678);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  5. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

     * documented. Exceptions to this are {@link #containsKey}, {@link #size}, {@link #isEmpty}, {@link
     * #asMap}, and {@link #toString}.
     *
     * <p>Instances of this class may be used by multiple threads concurrently. All operations are
     * atomic unless otherwise noted.
     *
     * <p>Instances of this class are serializable if the keys are serializable.
     *
     * <p><b>Note:</b> If your values are always positive and less than 2^31, you may wish to use a
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Oct 10 23:13:45 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link PairedStatsAccumulator}. This tests the stats methods for instances built with
     * {@link PairedStatsAccumulator#add}, and various error cases of that method. For tests of the
     * {@link PairedStatsAccumulator#snapshot} method which returns {@link PairedStats} instances, see
     * {@link PairedStatsTest}.
     *
     * @author Pete Gillin
     */
    @NullUnmarked
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 23.4K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/ResponseCommonTest.kt

        assertThat(response.body.byteString()).isEqualTo(EMPTY)
      }
    
      /**
       * Returns a new response body that refuses to be read once it has been closed. This is true of
       * most [BufferedSource] instances, but not of [Buffer].
       */
      private fun responseBody(content: String): ResponseBody {
        val data = Buffer().writeUtf8(content)
        val source: Source =
          object : Source {
            var closed = false
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  8. compat/maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * MavenMerger is based on same instances, subclasses should override KeyComputer per type
     */
    class MavenMergerTest {
        private MavenMerger mavenMerger = new MavenMerger();
    
        @Test
        void mergeArtifactId() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

     * used; or if the class exposes a public parameter-less constructor then it will be "new"d and
     * returned.
     *
     * <p>All default instances returned by {@link #get} are generics-safe. Clients won't get type
     * errors for using {@code get(Comparator.class)} as a {@code Comparator<Foo>}, for example.
     * Immutable empty instances are returned for collection types; {@code ""} for string; {@code 0} for
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/ImmutableBiMap.java

        checkNonnegative(expectedSize, "expectedSize");
        return new Builder<>(expectedSize);
      }
    
      /**
       * A builder for creating immutable bimap instances, especially {@code public static final} bimaps
       * ("constant bimaps"). Example:
       *
       * {@snippet :
       * static final ImmutableBiMap<String, Integer> WORD_TO_INT =
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 22.2K bytes
    - Click Count (0)
Back to Top