Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 592 for host_ (0.02 sec)

  1. src/test/java/jcifs/SmbResourceLocatorTest.java

                String remaining = urlStr.substring(6); // Remove "smb://"
                int slashIndex = remaining.indexOf('/');
                if (slashIndex == -1) {
                    this.host = remaining;
                    this.path = "/";
                } else {
                    this.host = remaining.substring(0, slashIndex);
                    this.path = remaining.substring(slashIndex);
                }
    
                // canonical form: remove . and .. but nothing fancy
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTest.kt

            else -> ""
          }
        val effectiveHost =
          when {
            url.host.contains(":") -> "[" + url.host + "]"
            else -> url.host
          }
        assertThat(url.scheme, "scheme").isEqualTo(testData.scheme)
        assertThat(effectiveHost, "host").isEqualTo(testData.host)
        assertThat(effectivePort, "port").isEqualTo(testData.port)
        assertThat(url.encodedPath, "path").isEqualTo(testData.path)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt

      }
    
      @Test fun testHostname() {
        val headers = headersOf("Host", "host-from-header.com")
        val socket =
          MockWebServerSocket(
            FakeSocket(
              localAddress =
                InetAddress.getByAddress(
                  "host-from-address.com",
                  byteArrayOf(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
                ),
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/SessionRequestPacket.java

        }
    
        /**
         * Constructs a NetBIOS session request packet.
         *
         * @param calledName the NetBIOS name of the called (destination) host
         * @param callingName the NetBIOS name of the calling (source) host
         */
        public SessionRequestPacket(final Name calledName, final Name callingName) {
            type = SESSION_REQUEST;
            this.calledName = calledName;
            this.callingName = callingName;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/Handler.java

        protected void parseURL(final URL u, String spec, final int start, int limit) {
            final String host = u.getHost();
            String path, ref;
            int port;
    
            if (spec.equals("smb1://")) {
                spec = "smb1:////";
                limit += 2;
            } else if (!spec.startsWith("smb1://") && host != null && host.length() == 0) {
                spec = "//" + spec;
                limit += 2;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbTransportTest.java

            // Act
            String result = smbTransport.getRemoteHostName();
    
            // Assert
            assertNotNull(result, "Remote host name should not be null");
            assertEquals(hostName, result, "Returned remote host name should be the mocked host name");
            verify(smbTransport).getRemoteHostName(); // Verify that the method was called
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. buildscripts/heal-inconsistent-versions.sh

    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	"${PWD}/mc" mb --with-versioning minio/bucket
    
    	for i in $(seq 1 4); do
    		"${PWD}/mc" cp /etc/hosts minio/bucket/testobj
    
    		sudo chown -R root. "${WORK_DIR}/disk${i}"
    
    		"${PWD}/mc" cp /etc/hosts minio/bucket/testobj
    
    		sudo chown -R ${USER}. "${WORK_DIR}/disk${i}"
    	done
    
    	for vid in $("${PWD}/mc" ls --json --versions minio/bucket/testobj | jq -r .versionId); do
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 26 05:07:25 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            SmbResourceLocatorImpl l1 = locator("smb://host/share?server=srv-from-query");
            assertSame(a1, l1.getAddress());
    
            // Query parameter 'address' builds UniAddress from IP
            SmbResourceLocatorImpl l2 = locator("smb://host/share?address=127.0.0.1");
            Address first = l2.getAddress();
            assertTrue(first instanceof UniAddress);
    
            // Host with root path -> possibleNTDomainOrWorkgroup=true
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  9. docs/es/docs/advanced/middleware.md

    Impone que todas las requests entrantes tengan correctamente configurado el header `Host`, para proteger contra ataques de HTTP Host Header.
    
    {* ../../docs_src/advanced_middleware/tutorial002.py hl[2,6:8] *}
    
    Se soportan los siguientes argumentos:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt

            .build()
        serverCert =
          HeldCertificate
            .Builder()
            .signedBy(serverIntermediateCa)
            .serialNumber(3L)
            .commonName("Local Host")
            .addSubjectAlternativeName(server.hostName)
            .build()
        clientRootCa =
          HeldCertificate
            .Builder()
            .serialNumber(1L)
            .certificateAuthority(1)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top