Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 1,857 for constructs (0.06 sec)

  1. src/test/java/jcifs/dcerpc/UUIDTest.java

        private static final byte[] NODE = { (byte) 0xAA, (byte) 0xBB, (byte) 0xCC, (byte) 0xDD, (byte) 0xEE, (byte) 0xFF };
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Constructor with rpc.uuid_t should copy all fields correctly")
            void testConstructorWithRpcUuidT() {
                // Arrange
                rpc.uuid_t rpcUuid = new rpc.uuid_t();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java

    import org.junit.jupiter.params.provider.ValueSource;
    
    /**
     * Unit tests for {@link TransWaitNamedPipeResponse}.
     *
     * The implementation contains only trivial methods that return {@code 0}
     * or construct a string representation.  The tests focus on:
     *
     * <ul>
     *   <li>happy‑path behaviour</li>
     *   <li>boundary arguments (e.g., negative indices, large values)</li>
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Futures.java

       *
       * <p>Instances of {@code exceptionClass} are created by choosing an arbitrary public constructor
       * that accepts zero or more arguments, all of type {@code String} or {@code Throwable}
       * (preferring constructors with at least one {@code String}, then preferring constructors with at
       * least one {@code Throwable}) and calling the constructor via reflection. If the exception did
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableList.java

       */
      public static <E> ImmutableList<E> of(E e1) {
        return construct(e1);
      }
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
       * @throws NullPointerException if any element is null
       */
      public static <E> ImmutableList<E> of(E e1, E e2) {
        return construct(e1, e2);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SIDTest.java

                // Act: construct from bytes and re-encode
                SID sid = new SID(bytes, 0);
                byte[] roundTrip = sid.toByteArray();
    
                // Assert
                assertArrayEquals(bytes, roundTrip);
                assertEquals("S-1-5-10-20", sid.toString());
            }
    
            @Test
            @DisplayName("Binary constructor with invalid sub_authority_count throws RuntimeCIFSException")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

            reader.read("ANY") { header ->
              val bytes = reader.readUnknown()
              return AnyValue(
                tagClass = header.tagClass,
                tag = header.tag,
                constructed = header.constructed,
                length = header.length,
                bytes = bytes,
              )
            }
          }
    
          override fun toDer(
            writer: DerWriter,
            value: AnyValue,
          ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. src/test/java/jcifs/spnego/SpnegoExceptionTest.java

    import org.junit.jupiter.api.Test;
    
    import jcifs.BaseTest;
    import jcifs.CIFSException;
    
    /**
     * Tests for SpnegoException constructors and behavior.
     */
    @DisplayName("SpnegoException Tests")
    class SpnegoExceptionTest extends BaseTest {
    
        @Test
        @DisplayName("Should create SpnegoException with default constructor")
        void testDefaultConstructor() {
            // When
            SpnegoException ex = new SpnegoException();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Lists.java

       * use the {@code ArrayList} {@linkplain ArrayList#ArrayList() constructor} directly, taking
       * advantage of <a
       * href="https://docs.oracle.com/javase/tutorial/java/generics/genTypeInference.html#type-inference-instantiation">"diamond"
       * syntax</a>.
       */
      @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call
      public static <E extends @Nullable Object> ArrayList<E> newArrayList() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

            MockitoAnnotations.openMocks(this);
            wrapper = new CIFSContextCredentialWrapper(mockDelegate, mockCredentials);
        }
    
        @Test
        @DisplayName("Should construct with delegate and credentials")
        void testConstructor() {
            // Verify that the constructor correctly sets the delegate (inherited from CIFSContextWrapper)
            // and the credentials. The delegate is tested implicitly by calling super's methods.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/DfsReferralTest.java

    /**
     * Tests for the DfsReferral class.
     * This class tests the functionality of the DfsReferral class,
     * ensuring that objects are constructed correctly, appended properly,
     * and that the toString method returns the expected format.
     */
    class DfsReferralTest {
    
        /**
         * Tests the default constructor of the DfsReferral class.
         * It verifies that a new DfsReferral object is initialized with its 'next'
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top