- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 121 for host (0.02 sec)
-
cmd/net_test.go
{":0", "", "0"}, {"server:https", "server", "443"}, {"server:http", "server", "80"}, } for _, testCase := range testCases { host, port := mustSplitHostPort(testCase.hostPort) if testCase.expectedHost != host { t.Fatalf("host: expected = %v, got = %v", testCase.expectedHost, host) } if testCase.expectedPort != port { t.Fatalf("port: expected = %v, got = %v", testCase.expectedPort, port) } } }Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 9.2K bytes - Viewed (0) -
cmd/notification.go
g := errgroup.WithNErrs(len(sys.peerClients)) for index, client := range sys.peerClients { if client == nil { continue } host := client.host.String() if len(opts.hosts) > 0 { if _, ok := opts.hosts[host]; !ok { continue } } index := index g.Go(func() error { var err error reply[index], err = sys.peerClients[index].GetMetrics(ctx, t, opts)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 45.9K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
networkLogs .assertLogEqual("--> POST $url http/1.1") .assertLogEqual("Content-Type: text/plain; charset=utf-8") .assertLogEqual("Content-Length: 3") .assertLogEqual("Host: $host") .assertLogEqual("Connection: Keep-Alive") .assertLogEqual("Accept-Encoding: gzip") .assertLogMatch(Regex("""User-Agent: okhttp/.+""")) .assertLogEqual("--> END POST")Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 37.5K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
throws UnknownHostException { if (host == null || host.length() == 0) { return getLocalHost(); } final Name name = new Name(this.transportContext.getConfig(), host, type, scope); if (!Character.isDigit(host.charAt(0))) { return doNameQuery(name, svr); } int IP = 0x00;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 38.5K bytes - Viewed (0) -
src/main/java/jcifs/util/PathValidator.java
// Validate host String host = url.getHost(); if (host == null || host.isEmpty()) { throw new SmbException("SMB URL missing host"); } // Validate host format if (!isValidHost(host)) { throw new SmbException("Invalid host in SMB URL"); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.5K bytes - Viewed (0) -
cmd/admin-handlers.go
mRemote := collectRemoteMetrics(cctx, types, collectMetricsOpts{}) cancel() m.Merge(&mRemote) for idx, host := range m.Hosts { m.Hosts[idx] = anonAddr(host) } for host, metrics := range m.ByHost { m.ByHost[anonAddr(host)] = metrics delete(m.ByHost, host) } return &m } anonymizeCmdLine := func(cmdLine string) string { if anonParam != anonymizeStrict {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 99.6K bytes - Viewed (0) -
cmd/api-response_test.go
{ request: &http.Request{ Host: "127.0.0.1:9000", Header: map[string][]string{ "X-Forwarded-Scheme": {httpScheme}, }, }, bucket: "testbucket1", object: "test/1.txt", expectedLocation: "http://127.0.0.1:9000/testbucket1/test/1.txt", }, { request: &http.Request{ Host: "127.0.0.1:9000", Header: map[string][]string{Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 3.5K bytes - Viewed (0) -
cmd/endpoint-ellipses_test.go
{ []string{"http://host{0...5}/data{1...28}"}, []uint64{168}, [][]uint64{{12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12}}, 12, true, }, // Incorrect custom set drive count. { []string{"http://host{0...5}/data{1...28}"}, []uint64{168}, nil, 10, false, }, // Failure not divisible number of disks. { []string{"http://host{1...11}/data{1...11}"},Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 15.1K bytes - Viewed (0) -
cmd/bucket-targets.go
defer sys.hMutex.RUnlock() if h, ok := sys.hc[ep.Host]; ok { return !h.Online } go sys.initHC(ep) return false } // markOffline sets endpoint to offline if network i/o timeout seen. func (sys *BucketTargetSys) markOffline(ep *url.URL) { sys.hMutex.Lock() defer sys.hMutex.Unlock() if h, ok := sys.hc[ep.Host]; ok { h.Online = false sys.hc[ep.Host] = h } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 20.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
/** * * @param loc * @param host * @return tree handle * @throws IOException */ public synchronized SmbTreeHandleImpl connectHost(final SmbResourceLocatorImpl loc, final String host) throws IOException { return connectHost(loc, host, null); } /** * * @param loc * @param host * @param referral * @return tree handleRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (1)