Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for defaultPort (0.12 sec)

  1. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

          return;
        }
        assertNotNull(expectHost);
    
        // Apply withDefaultPort(), yielding hp2.
        boolean badDefaultPort = defaultPort < 0 || defaultPort > 65535;
        HostAndPort hp2 = null;
        try {
          hp2 = hp.withDefaultPort(defaultPort);
          assertFalse(badDefaultPort);
        } catch (IllegalArgumentException e) {
          assertTrue(badDefaultPort);
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/net/HostAndPortTest.java

          return;
        }
        assertNotNull(expectHost);
    
        // Apply withDefaultPort(), yielding hp2.
        boolean badDefaultPort = defaultPort < 0 || defaultPort > 65535;
        HostAndPort hp2 = null;
        try {
          hp2 = hp.withDefaultPort(defaultPort);
          assertFalse(badDefaultPort);
        } catch (IllegalArgumentException e) {
          assertTrue(badDefaultPort);
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

    import kotlin.text.Charsets.UTF_8
    import kotlin.time.Duration
    import okhttp3.Dispatcher
    import okhttp3.EventListener
    import okhttp3.Headers
    import okhttp3.HttpUrl
    import okhttp3.HttpUrl.Companion.defaultPort
    import okhttp3.OkHttpClient
    import okhttp3.Response
    import okhttp3.internal.http2.Header
    import okio.Buffer
    import okio.BufferedSource
    import okio.Source
    
    /** GMT and UTC are equivalent for our purposes. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (1)
  4. okhttp/api/jvm/okhttp.api

    	public static final fun defaultPort (Ljava/lang/String;)I
    	public final fun encodedFragment ()Ljava/lang/String;
    	public final fun encodedPassword ()Ljava/lang/String;
    	public final fun encodedPath ()Ljava/lang/String;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  5. okhttp/api/android/okhttp.api

    	public static final fun defaultPort (Ljava/lang/String;)I
    	public final fun encodedFragment ()Ljava/lang/String;
    	public final fun encodedPassword ()Ljava/lang/String;
    	public final fun encodedPath ()Ljava/lang/String;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbTransportPoolTest.java

                // When
                SmbTransport result = transportPool.getSmbTransport(context, address, DEFAULT_PORT, false, true);
    
                // Then
                assertNotNull(result);
                assertEquals(transport, result);
                verify(transportPool).getSmbTransport(context, address, DEFAULT_PORT, false, true);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/query-params.md

    ```
    
    gehen, werden die Parameter-Werte Ihrer Funktion sein:
    
    * `skip=20`: da Sie das in der URL gesetzt haben
    * `limit=10`: weil das der Defaultwert ist
    
    ## Optionale Parameter
    
    Auf die gleiche Weise können Sie optionale Query-Parameter deklarieren, indem Sie deren Defaultwert auf `None` setzen:
    
    {* ../../docs_src/query_params/tutorial002_py310.py hl[7] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/HandlerTest.java

        @Test
        @DisplayName("getDefaultPort returns SMB default port")
        void testGetDefaultPort() {
            // Arrange
            Handler handler = newHandler();
            // Act & Assert
            assertEquals(SmbConstants.DEFAULT_PORT, handler.getDefaultPort(), "Default port should match SmbConstants");
        }
    
        @Test
        @DisplayName("openConnection returns SmbFile using provided CIFSContext")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbConstantsTest.java

            // SmbConstants is an interface with static final fields
            // Verify constants maintain their values
            assertEquals(445, SmbConstants.DEFAULT_PORT);
    
            // Test that the constant values are as expected for protocol compliance
            assertTrue(SmbConstants.DEFAULT_PORT > 0);
            assertTrue(SmbConstants.DEFAULT_RESPONSE_TIMEOUT > 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

        /**
         * Verify that the hard‑coded default values are present.
         */
        @Test
        @DisplayName("Default constant values match expectations")
        void defaultValues() {
            assertEquals(445, SmbConstants.DEFAULT_PORT);
            assertEquals(10, SmbConstants.DEFAULT_MAX_MPX_COUNT);
            assertEquals(30000, SmbConstants.DEFAULT_RESPONSE_TIMEOUT);
            assertEquals(35000, SmbConstants.DEFAULT_SO_TIMEOUT);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top