Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 2,686 for Created (0.06 sec)

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

    @GwtIncompatible
    @J2ktIncompatible
    @NullMarked
    abstract class DummyProxy {
    
      /**
       * Returns a new proxy for {@code interfaceType}. Proxies of the same interface are equal to each
       * other if the {@link DummyProxy} instance that created the proxies are equal.
       */
      final <T> T newProxy(TypeToken<T> interfaceType) {
        Set<Class<?>> interfaceClasses = new LinkedHashSet<>();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt

        routePlanner.autoGeneratePlans = true
        routePlanner.defaultConnectionIdleAtNanos = expireTime
        val address = routePlanner.address
        val pool = routePlanner.pool
    
        // Connections are created as soon as a policy is set
        setPolicy(pool, address, AddressPolicy(2))
        assertThat(pool.connectionCount()).isEqualTo(2)
    
        // Connections are replaced if they idle out or are evicted from the pool
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java

     * <p>
     * Because most of the logic lives in {@link jcifs.internal.smb1.ServerMessageBlock}
     * the tests create a mock {@link Configuration} and instantiate SmbComQueryInformation
     * directly.  Since the byte‑encoding logic is located in the superclass, the
     * tests verify that the byte buffer created by {@link
     * SmbComQueryInformation#writeBytesWireFormat(byte[], int)} is correctly built
     * for both Unicode and OEM encodings.
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/internal/Finalizer.java

      // By preference, we will use the Thread constructor that has an `inheritThreadLocals` parameter.
      // But before Java 9, our only way not to inherit ThreadLocals is to zap them after the thread
      // is created, by accessing a private field.
      private static final @Nullable Constructor<Thread> bigThreadConstructor =
          getBigThreadConstructor();
    
      private static final @Nullable Field inheritableThreadLocals =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2Test.java

            // When
            MsrpcSamrConnect2 msrpcSamrConnect2 = new MsrpcSamrConnect2(testServer, testAccess, mockPolicyHandle);
    
            // Then
            assertNotNull(msrpcSamrConnect2, "MsrpcSamrConnect2 should be created successfully");
        }
    
        @Test
        @DisplayName("Should set ptype field to 0")
        void shouldSetPtypeToZero() throws NoSuchFieldException, IllegalAccessException {
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/net/InetAddresses.java

       * @return {@link Inet4Address} corresponding to the supplied byte array
       * @throws IllegalArgumentException if a valid {@link Inet4Address} can not be created
       */
      private static Inet4Address getInet4Address(byte[] bytes) {
        checkArgument(
            bytes.length == 4,
            "Byte array has invalid length for an IPv4 address: %s != 4.",
            bytes.length);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            outputBuffer = new byte[1024];
            response = new TransTransactNamedPipeResponse(mockConfig, outputBuffer);
        }
    
        @Test
        void testConstructor() {
            // Verify that the response is created with correct configuration and buffer
            assertNotNull(response);
    
            // Use reflection to verify the outputBuffer is set correctly
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableMap.java

          }
          entriesUsed = true;
          ImmutableMap<K, V> map =
              RegularImmutableMap.create(localSize, localAlternatingKeysAndValues, this);
          if (throwIfDuplicateKeys && duplicateKey != null) {
            throw duplicateKey.exception();
          }
          return map;
        }
    
        /**
         * Returns a newly-created immutable map. The iteration order of the returned map is the order
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 41.2K bytes
    - Viewed (0)
  9. cmd/leak-detect_test.go

    // Leak detection is done when tests are run, should ignore the tests related functions,
    // and other runtime functions while identifying leaks.
    var ignoredStackFns = []string{
    	"",
    	// Below are the stacks ignored by the upstream leaktest code.
    	"testing.Main(",
    	"testing.tRunner(",
    	"testing.tRunner(",
    	"runtime.goexit",
    	"created by runtime.gc",
    	// ignore the snapshot function.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

          totalSize += values.size();
        }
      }
    
      /**
       * Creates an unmodifiable, empty collection of values.
       *
       * <p>This is used in {@link #removeAll} on an empty key.
       */
      Collection<V> createUnmodifiableEmptyCollection() {
        return unmodifiableCollectionSubclass(createCollection());
      }
    
      /**
       * Creates the collection of values for a single key.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
Back to top