- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 579 for fmt (0.01 sec)
-
cmd/metacache-marker.go
if o.ID == "" { // Mark as returning listing... return fmt.Sprintf("%s[minio_cache:%s,return:]", marker, markerTagVersion) } if strings.ContainsAny(o.ID, "[:,") { internalLogIf(context.Background(), fmt.Errorf("encodeMarker: uuid %s contained invalid characters", o.ID)) } return fmt.Sprintf("%s[minio_cache:%s,id:%s,p:%d,s:%d]", marker, markerTagVersion, o.ID, o.pool, o.set)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 2.5K bytes - Viewed (0) -
istioctl/pkg/authz/authz.go
}) if err != nil { return nil, fmt.Errorf("failed to get pod: %s", err) } if len(pods) != 1 { return nil, fmt.Errorf("expecting only 1 pod for %s.%s, found: %d", podName, podNamespace, len(pods)) } data, err := kubeClient.EnvoyDo(context.TODO(), podName, podNamespace, "GET", "config_dump") if err != nil { return nil, fmt.Errorf("failed to get proxy config for %s.%s: %s", podName, podNamespace, err)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 5K bytes - Viewed (0) -
internal/s3select/csv/args.go
if utf8.RuneCountInString(s) > 1 { return fmt.Errorf("unsupported QuoteCharacter '%v'", s) } args.QuoteCharacter = s case "QuoteEscapeCharacter": switch utf8.RuneCountInString(s) { case 0: args.QuoteEscapeCharacter = defaultQuoteEscapeCharacter case 1: args.QuoteEscapeCharacter = s default: return fmt.Errorf("unsupported QuoteEscapeCharacter '%v'", s) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 20 18:31:45 UTC 2024 - 5.7K bytes - Viewed (0) -
istioctl/pkg/util/common.go
return c.Err.Error() } // Confirm waits for a user to confirm with the supplied message. func Confirm(msg string, writer io.Writer) bool { for { _, _ = fmt.Fprintf(writer, "%s ", msg) var response string _, err := fmt.Scanln(&response) if err != nil { return false } switch strings.ToUpper(response) { case "Y", "YES": return true case "N", "NO": return false } }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 1.6K bytes - Viewed (0) -
logger/sql.go
vars[idx] = nullStr } case fmt.Stringer: reflectValue := reflect.ValueOf(v) switch reflectValue.Kind() { case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64, reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64: vars[idx] = fmt.Sprintf("%d", reflectValue.Interface()) case reflect.Float32, reflect.Float64: vars[idx] = fmt.Sprintf("%.6f", reflectValue.Interface())
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Mar 21 08:00:02 UTC 2024 - 5K bytes - Viewed (0) -
misc/linkcheck/linkcheck.go
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Oct 06 15:53:04 UTC 2021 - 3.9K bytes - Viewed (0) -
istioctl/pkg/authz/listener.go
sortedNames = append(sortedNames, name) } sort.Strings(sortedNames) for _, name := range sortedNames { buf.WriteString(fmt.Sprintf("%s\t%s\t%d\n", action, name, len(policyToRule[name]))) } } } w := new(tabwriter.Writer).Init(writer, 0, 8, 3, ' ', 0) if _, err := fmt.Fprint(w, buf.String()); err != nil { log.Errorf("failed to print output: %s", err) } _ = w.Flush()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Sep 11 15:29:30 UTC 2023 - 6K bytes - Viewed (0) -
docs/debugging/reorder-disks/main.go
if err := syscall.Stat(path, &stat); err != nil { return "", fmt.Errorf("unable to stat `%s`: %w", path, err) } devID := uint64(stat.Dev) major := (devID & 0x00000000000fff00) >> 8 major |= (devID & 0xfffff00000000000) >> 32 minor := (devID & 0x00000000000000ff) >> 0 minor |= (devID & 0x00000ffffff00000) >> 12 return fmt.Sprintf("%d:%d", major, minor), nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.4K bytes - Viewed (0) -
internal/logger/utils.go
package logger import ( "context" "errors" "fmt" "net/http" "regexp" "runtime" "github.com/minio/minio/internal/color" ) var ansiRE = regexp.MustCompile("(\x1b[^m]*m)") // Print ANSI Control escape func ansiEscape(format string, args ...interface{}) { Esc := "\x1b" fmt.Printf("%s%s", Esc, fmt.Sprintf(format, args...)) } func ansiMoveRight(n int) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 04 23:10:08 UTC 2022 - 1.7K bytes - Viewed (0) -
statement_test.go
package gorm import ( "fmt" "reflect" "testing" "gorm.io/gorm/clause" ) func TestWhereCloneCorruption(t *testing.T) { for whereCount := 1; whereCount <= 8; whereCount++ { t.Run(fmt.Sprintf("w=%d", whereCount), func(t *testing.T) { s := new(Statement) for w := 0; w < whereCount; w++ { s = s.clone() s.AddClause(clause.Where{ Exprs: s.BuildCondition(fmt.Sprintf("where%d", w)), }) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Dec 23 13:19:41 UTC 2023 - 1.9K bytes - Viewed (0)