- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for parsePort (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
cmd/url_test.go
// benchmark utility which helps obtain number of allocations and bytes allocated per ops. b.ReportAllocs() // the actual benchmark for PutObject starts here. Reset the benchmark timer. b.ResetTimer() if err := req.ParseForm(); err != nil { b.Fatal(err) } b.RunParallel(func(pb *testing.PB) { for pb.Next() { req.Form.Get("uploadId") } }) // Benchmark ends here. Stop timer. b.StopTimer() }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Nov 16 17:28:29 GMT 2021 - 2K bytes - Click Count (0) -
cmd/net.go
localLoopbacks = mustGetLocalLoopbacks() ) // mustSplitHostPort is a wrapper to net.SplitHostPort() where error is assumed to be a fatal. func mustSplitHostPort(hostPort string) (host, port string) { xh, err := xnet.ParseHost(hostPort) if err != nil { logger.FatalIf(err, "Unable to split host port %s", hostPort) } return xh.Name, xh.Port.String() } // mustGetLocalIPs returns IPs of local interface
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.6K bytes - Click Count (1) -
docs/sts/web-identity.go
} }) http.HandleFunc("/oauth2/callback", func(w http.ResponseWriter, r *http.Request) { log.Printf("%s %s", r.Method, r.RequestURI) if err := r.ParseForm(); err != nil { http.Error(w, err.Error(), http.StatusBadRequest) return } if r.Form.Get("state") != state { http.Error(w, "state did not match", http.StatusBadRequest) return }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 19 09:13:33 GMT 2023 - 7.8K bytes - Click Count (0) -
cmd/consolelogger.go
func (sys *HTTPConsoleLoggerSys) SetNodeName(nodeName string) { if !globalIsDistErasure { sys.nodeName = "" return } host, err := xnet.ParseHost(globalLocalNodeName) if err != nil { logger.FatalIf(err, "Unable to start console logging subsystem") } sys.nodeName = host.Name } // HasLogListeners returns true if console log listeners are registered
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 5.4K bytes - Click Count (0)