Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 1,390 for INSTANCE (0.16 sec)

  1. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

            @Test
            @DisplayName("Should create instance with null ciphers")
            void testConstructorWithNullCiphers() {
                EncryptionNegotiateContext context = new EncryptionNegotiateContext(mockConfig, null);
    
                assertNotNull(context);
                assertNull(context.getCiphers());
            }
    
            @Test
            @DisplayName("Should create instance with empty ciphers array")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/BufferCacheImplTest.java

            assertNotNull(buf, "getBuffer should never return null");
            assertEquals(5, buf.length, "Newly allocated buffer length should match config maximum size");
        }
    
        // Happy path: get -> release -> get returns same instance, zeroed on release
        @Test
        @DisplayName("Release stores buffer for reuse and zeroes its contents")
        void releaseStoresAndZeroesBuffer() {
            BufferCacheImpl impl = new BufferCacheImpl(2, 10);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/BeanDesc.java

         */
        Iterable<FieldDesc> getFieldDescs();
    
        /**
         * Creates a new instance.
         *
         * @param <T>
         *            The type of the Bean class
         * @param args
         *            The arguments to pass to the constructor
         * @return A new instance
         */
        <T> T newInstance(Object... args);
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Sets.java

       * way {@code IdentityHashMap} handles key lookups.
       *
       * @since 8.0
       */
      public static <E extends @Nullable Object> Set<E> newIdentityHashSet() {
        return Collections.newSetFromMap(Maps.<E, Boolean>newIdentityHashMap());
      }
    
      /**
       * Creates an empty {@code CopyOnWriteArraySet} instance.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/AbstractHasher.java

        putByte((byte) (c >>> 8));
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
      public <T extends @Nullable Object> Hasher putObject(
          @ParametricNullness T instance, Funnel<? super T> funnel) {
        funnel.funnel(instance, this);
        return this;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

        }
    
        @Test
        @DisplayName("Constructor with CIFSContext: creates instance")
        void constructor_withContext_createsInstance() {
            // Arrange
            CIFSContext ctx = mock(CIFSContext.class);
    
            // Act
            SmbTreeConnectionTrace trace = new SmbTreeConnectionTrace(ctx);
    
            // Assert
            assertNotNull(trace, "Instance should be created");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  7. okhttp-zstd/README.md

    responses.
    
    Note that zstd is not used for sending requests.
    
    ```java
    OkHttpClient client = new OkHttpClient.Builder()
      .addInterceptor(ZstdInterceptor.INSTANCE)
      .build();
    ```
    
    ```kotlin
    implementation("com.squareup.okhttp3:okhttp-zstd:0.0.0")
    ```
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 19 13:41:00 UTC 2025
    - 556 bytes
    - Viewed (1)
  8. docs/en/docs/how-to/custom-request-and-route.md

    The `scope` `dict` and `receive` function are both part of the ASGI specification.
    
    And those two things, `scope` and `receive`, are what is needed to create a new `Request` instance.
    
    To learn more about the `Request` check <a href="https://www.starlette.io/requests/" class="external-link" target="_blank">Starlette's docs about Requests</a>.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/CompactHashSet.java

      // TODO(user): cache all field accesses in local vars
    
      /** Creates an empty {@code CompactHashSet} instance. */
      public static <E extends @Nullable Object> CompactHashSet<E> create() {
        return new CompactHashSet<>();
      }
    
      /**
       * Creates a <i>mutable</i> {@code CompactHashSet} instance containing the elements of the given
       * collection in unspecified order.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java

     *
     * <p>However, when {@link CollectionSize.Require} is used to annotate a test it behaves normally
     * (i.e. it requires the collection instance under test to be a certain size for the test to run).
     * Note that this means a test should not require more than one CollectionSize, since a particular
     * collection instance can only be one size at once.
     *
     * @author George van den Driessche
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top