Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 14 for defaultPort (0.11 seconds)

  1. android/guava/src/com/google/common/net/HostAndPort.java

       *
       * @param defaultPort a port number, from [0..65535]
       * @return a HostAndPort instance, guaranteed to have a defined port.
       */
      public HostAndPort withDefaultPort(int defaultPort) {
        checkArgument(isValidPort(defaultPort));
        if (hasPort()) {
          return this;
        }
        return new HostAndPort(host, defaultPort, hasBracketlessColons);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/net/HostAndPortTest.java

          return;
        }
        assertThat(expectHost).isNotNull();
    
        // 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);
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 10K bytes
    - Click Count (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. */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10.3K bytes
    - Click Count (1)
  4. 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);
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  5. docs/de/docs/tutorial/query-params-str-validations.md

    ///
    
    So würden Sie `Query()` als den Defaultwert Ihres Funktionsparameters verwenden und den Parameter `max_length` auf 50 setzen:
    
    {* ../../docs_src/query_params_str_validations/tutorial002_py310.py hl[7] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  6. 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);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  7. docs/de/docs/tutorial/response-model.md

    {* ../../docs_src/response_model/tutorial004_py310.py hl[9,11:12] *}
    
    * `description: Union[str, None] = None` (oder `str | None = None` in Python 3.10) hat einen Defaultwert `None`.
    * `tax: float = 10.5` hat einen Defaultwert `10.5`.
    * `tags: List[str] = []` hat eine leere Liste als Defaultwert: `[]`.
    
    Aber Sie möchten diese vielleicht vom Resultat ausschließen, wenn Sie gar nicht gesetzt wurden.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 17.5K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                // Only set the alternate port to the port property if it was successful
                final int altPort = port == 0 || port == DEFAULT_PORT ? 139 : DEFAULT_PORT;
                negotiate(altPort, resp);
                port = altPort;
            }
    
            if (resp.dialectIndex > 10) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.8K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/smb1/SmbConstants.java

    package jcifs.smb1.smb1;
    
    import java.net.InetAddress;
    import java.util.LinkedList;
    import java.util.TimeZone;
    
    import jcifs.smb1.Config;
    
    interface SmbConstants {
    
        /** Default SMB port number */
        int DEFAULT_PORT = 445;
    
        /** Default maximum multiplex count */
        int DEFAULT_MAX_MPX_COUNT = 10;
        /** Default response timeout in milliseconds */
        int DEFAULT_RESPONSE_TIMEOUT = 30000;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  10. docs/de/llm-prompt.md

    * the button: der Button
    * the cloud provider: der Cloudanbieter
    * the CLI: Das CLI
    * the coverage: Die Testabdeckung
    * the command line interface: Das Kommandozeileninterface
    * the default value: der Defaultwert
    * the default value: NOT der Standardwert
    * the default declaration: die Default-Deklaration
    * the deployment: das Deployment
    * the dict: das Dict
    * the dictionary: das Dictionary
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Dec 29 18:54:20 GMT 2025
    - 9.8K bytes
    - Click Count (0)
Back to Top