- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 69 for Itoa (0.03 sec)
-
cmd/handler-api.go
} if tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt); ok { tc.FuncName = "s3.MaxClients" } w.Header().Set("X-RateLimit-Limit", strconv.Itoa(cap(pool))) w.Header().Set("X-RateLimit-Remaining", strconv.Itoa(cap(pool)-len(pool))) ctx := r.Context() select { case pool <- struct{}{}: defer func() { <-pool }() globalHTTPStats.addRequestsInQueue(-1)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 26 17:07:10 UTC 2024 - 10.4K bytes - Viewed (0) -
internal/logger/target/console/console.go
} if entry.API.Args.VersionID != "" { args = args + ", versionId=" + entry.API.Args.VersionID } if len(entry.API.Args.Objects) > 0 { args = args + ", multiObject=true, numberOfObjects=" + strconv.Itoa(len(entry.API.Args.Objects)) } if len(args) > 0 { apiString += "(" + args + ")" } } } else { apiString = "INTERNAL" } timeString := "Time: " + entry.Time.Format(logger.TimeFormat)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 3.9K bytes - Viewed (0) -
buildscripts/gen-ldflags.go
package main import ( "fmt" "os" "os/exec" "strconv" "strings" "time" ) func genLDFlags(version string) string { releaseTag, date := releaseTag(version) copyrightYear := strconv.Itoa(date.Year()) ldflagsStr := "-s -w" ldflagsStr += " -X github.com/minio/minio/cmd.Version=" + version ldflagsStr += " -X github.com/minio/minio/cmd.CopyrightYear=" + copyrightYear
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 16 23:10:48 UTC 2022 - 3.3K bytes - Viewed (0) -
cmd/ftp-server.go
PublicIP: publicIP, }) if err != nil { logger.Fatal(err, "unable to initialize FTP server") } logger.Info(fmt.Sprintf("%s listening on %s", name, net.JoinHostPort(publicIP, strconv.Itoa(port)))) if err = ftpServer.ListenAndServe(); err != nil { logger.Fatal(err, "unable to start FTP server") }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Mar 09 03:07:08 UTC 2024 - 4.8K bytes - Viewed (0) -
internal/kms/conn.go
func (t Type) String() string { switch t { case MinKMS: return "MinIO KMS" case MinKES: return "MinIO KES" case Builtin: return "MinIO builtin" default: return "!INVALID:" + strconv.Itoa(int(t)) } } // Status describes the current state of a KMS. type Status struct { Online map[string]struct{} Offline map[string]Error } // DEK is a data encryption key. It consists of a
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 5K bytes - Viewed (0) -
internal/s3select/select_benchmark_test.go
buf := &bytes.Buffer{} csvWriter := csv.NewWriter(buf) csvWriter.Write([]string{"id", "name", "age", "city"}) for i := 0; i < count; i++ { csvWriter.Write([]string{ strconv.Itoa(i), newRandString(10), newRandString(5), newRandString(10), }) } csvWriter.Flush() return buf.Bytes() } type nullResponseWriter struct{}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 14 13:54:47 UTC 2022 - 5K bytes - Viewed (0) -
cni/pkg/repair/netns.go
"github.com/prometheus/procfs" corev1 "k8s.io/api/core/v1" "istio.io/istio/pkg/log" ) func getPidNamespace(pid int) string { return "/host/proc/" + strconv.Itoa(pid) + "/ns/net" } func runInHost[T any](f func() (T, error)) (T, error) { var res T ns := getPidNamespace(1) err := netns.WithNetNSPath(ns, func(_ netns.NetNS) error { var err error res, err = f()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 28 19:12:54 UTC 2024 - 4.3K bytes - Viewed (0) -
cmd/main.go
for _, cmd := range closestCommands { console.Printf("\t‘%s’\n", cmd) } } os.Exit(1) } return app } func startupBanner(banner io.Writer) { CopyrightYear = strconv.Itoa(time.Now().Year()) fmt.Fprintln(banner, color.Blue("Copyright:")+color.Bold(" 2015-%s MinIO, Inc.", CopyrightYear)) fmt.Fprintln(banner, color.Blue("License:")+color.Bold(" "+MinioLicense))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 30 22:59:48 UTC 2024 - 6.5K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/clusters/clusters.go
fmt.Fprintln(w, "ENDPOINT\tSTATUS\tOUTLIER CHECK\tCLUSTER") for _, ce := range clusterEndpoint { var endpoint string if ce.port != 0 { endpoint = ce.address + ":" + strconv.Itoa(ce.port) } else { endpoint = ce.address } fmt.Fprintf(w, "%v\t%v\t%v\t%v\n", endpoint, core.HealthStatus_name[int32(ce.status)], printFailedOutlierCheck(ce.failedOutlierCheck), ce.cluster) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Nov 03 08:41:32 UTC 2022 - 5.8K bytes - Viewed (0) -
cmd/data-scanner.go
RespElements: map[string]string{"x-minio-versions": strconv.Itoa(len(objInfos))}, }) auditLogInternal(context.Background(), AuditLogOptions{ Event: "scanner:manyversions", APIName: "Scanner", Bucket: i.bucket, Object: i.objectPath(), Tags: map[string]string{ "x-minio-versions": strconv.Itoa(len(objInfos)), }, }) } cumulativeSize := int64(0)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 21:10:34 UTC 2024 - 48.4K bytes - Viewed (0)