- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 726 for Printf (0.12 sec)
-
internal/logger/logger.go
return hex.EncodeToString(hh.Sum(nil)) } // LogAlwaysIf prints a detailed error message during // the execution of the server. func LogAlwaysIf(ctx context.Context, subsystem string, err error, errKind ...interface{}) { if err == nil { return } logIf(ctx, subsystem, err, errKind...) } // LogIf prints a detailed error message during // the execution of the server, if it is not an
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 22 09:43:48 UTC 2024 - 12.4K bytes - Viewed (0) -
istioctl/pkg/checkinject/checkinject.go
if nsMatched && podMatched { if nsLabel != "" && podLabel != "" { return fmt.Sprintf("Namespace label %s matches, and pod label %s matches", nsLabel, podLabel), true } else if nsLabel != "" { outMsg := fmt.Sprintf("Namespace label %s matches", nsLabel) if strings.Contains(nsLabel, "kubernetes.io/metadata.name") {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 9.3K bytes - Viewed (0) -
ci/official/utilities/get_versions.sh
# matches the /search/ regular expression. "print $N" prints the Nth "field", # where fields are strings separated by whitespace. export TF_VER_MAJOR=$(awk '/#define TF_MAJOR_VERSION/ {print $3}' tensorflow/core/public/version.h) export TF_VER_MINOR=$(awk '/#define TF_MINOR_VERSION/ {print $3}' tensorflow/core/public/version.h) export TF_VER_PATCH=$(awk '/#define TF_PATCH_VERSION/ {print $3}' tensorflow/core/public/version.h)
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Jan 10 19:39:41 UTC 2024 - 2.3K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
for _, n := range names { if n.Kind == "fconst" { fmt.Fprintf(&b, "\t%s,\n", n.C) } else { fmt.Fprintf(&b, "\t0,\n") } } fmt.Fprintf(&b, "\t1\n") fmt.Fprintf(&b, "};\n") // do the same work for strings. for i, n := range names { if n.Kind == "sconst" { fmt.Fprintf(&b, "const char __cgodebug_str__%d[] = %s;\n", i, n.C)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 18 15:07:34 UTC 2024 - 97.1K bytes - Viewed (0) -
istioctl/pkg/validate/validate.go
objLabels, err := GetTemplateLabels(un) if err != nil { return err } url := fmt.Sprintf("See %s\n", url.DeploymentRequirements) if !labels.HasCanonicalServiceName(objLabels) || !labels.HasCanonicalServiceRevision(objLabels) { fmt.Fprintf(writer, "deployment %q may not provide Istio metrics and telemetry labels: %q. "+url, fmt.Sprintf("%s/%s:", un.GetName(), un.GetNamespace()), objLabels) } return nil }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 15 22:27:47 UTC 2024 - 14.3K bytes - Viewed (0) -
internal/config/errors-utils.go
func (u Err) Msgf(m string, args ...interface{}) Err { e := u.Clone() if len(args) == 0 { e.msg = m } else { e.msg = fmt.Sprintf(m, args...) } return e } // Hint - Replace the current error's message func (u Err) Hint(m string, args ...interface{}) Err { e := u.Clone() e.hint = fmt.Sprintf(m, args...) return e } // ErrFn function wrapper type ErrFn func(err error) Err
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 3.8K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list.go
return "<no pods>" } podText := strconv.Itoa(counts.pods) if counts.disabled > 0 { podText += fmt.Sprintf(" (injection disabled: %d)", counts.disabled) } if counts.needsRestart > 0 { podText += fmt.Sprintf(" NEEDS RESTART: %d", counts.needsRestart) } return fmt.Sprintf("%s: %s", injectedRevision, podText)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Oct 18 11:39:52 UTC 2024 - 10.6K bytes - Viewed (0) -
istioctl/pkg/util/formatting/formatter.go
} ) // render turns a Message instance into a string with an option of colored bash output func render(m diag.Message, colorize bool) string { return fmt.Sprintf("%s%v%s [%v]%s %s", colorPrefix(m, colorize), m.Type.Level(), colorSuffix(colorize), m.Type.Code(), m.Origin(), fmt.Sprintf(m.Type.Template(), m.Parameters...), ) } func colorPrefix(m diag.Message, colorize bool) string { if !colorize { return "" }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Jul 11 02:41:45 UTC 2023 - 3.1K bytes - Viewed (0) -
internal/config/certsinfo.go
switch oid[3] { case 3: values = append(values, fmt.Sprintf("CN=%s", name.Value)) case 6: values = append(values, fmt.Sprintf("C=%s", name.Value)) case 8: values = append(values, fmt.Sprintf("ST=%s", name.Value)) case 10: values = append(values, fmt.Sprintf("O=%s", name.Value)) case 11: values = append(values, fmt.Sprintf("OU=%s", name.Value)) default:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 16 17:28:29 UTC 2021 - 3.1K bytes - Viewed (0) -
src/cmd/addr2line/main.go
"strconv" "strings" "cmd/internal/objfile" "cmd/internal/telemetry/counter" ) func printUsage(w *os.File) { fmt.Fprintf(w, "usage: addr2line binary\n") fmt.Fprintf(w, "reads addresses from standard input and writes two lines for each:\n") fmt.Fprintf(w, "\tfunction name\n") fmt.Fprintf(w, "\tfile:line\n") } func usage() { printUsage(os.Stderr) os.Exit(2) } func main() { log.SetFlags(0)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Jun 21 19:58:04 UTC 2024 - 2.4K bytes - Viewed (0)