- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 68 for printnl (0.12 sec)
-
src/bufio/example_test.go
reader := strings.NewReader(data) n, err := writer.ReadFrom(reader) if err != nil { fmt.Println("ReadFrom Error:", err) return } if err = writer.Flush(); err != nil { fmt.Println("Flush Error:", err) return } fmt.Println("Bytes written:", n) fmt.Println("Buffer contents:", buf.String()) // Output: // Bytes written: 41 // Buffer contents: Hello, world!
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Nov 01 21:52:12 UTC 2024 - 5.5K bytes - Viewed (0) -
istioctl/pkg/writer/compare/sds/writer.go
} return err } // printDiffsTabular prints the secret in table format func (w *sdsWriter) printDiffsTabular(statuses []SecretItemDiff) error { if len(statuses) == 0 { fmt.Fprintln(w.w, "No secrets found to diff.") return nil } tw := new(tabwriter.Writer).Init(w.w, 0, 5, 5, ' ', 0) fmt.Fprintln(tw, strings.Join(secretDiffColumns, "\t")) for _, status := range statuses {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Oct 28 19:52:53 UTC 2024 - 4.8K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig.go
Aliases: []string{"es"}, Args: func(cmd *cobra.Command, args []string) error { if len(args) != 1 && (labelSelector == "") { cmd.Println(cmd.UsageString()) return fmt.Errorf("stats requires pod name or label selector") } if len(args) == 1 && (labelSelector != "") { cmd.Println(cmd.UsageString()) return fmt.Errorf("name cannot be provided when the label selector is specified") } return nil },
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 15:53:49 UTC 2024 - 50.6K bytes - Viewed (0) -
istioctl/pkg/describe/describe.go
if matches < possibleDests { // We've printed the match conditions. We can't say for sure that matching // traffic will reach this pod, because an earlier match condition could have captured it. fmt.Fprintf(writer, "%s%d additional destination(s) that will not reach this pod\n", printSpaces(initPrintNum+printLevel1), possibleDests-matches) // If we matched, but printed nothing, treat this as the catch-all if facts == 0 {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 50.6K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/SystemStreamLog.java
System.out.println("[" + prefix + "] " + sWriter.toString()); } private void print(String prefix, CharSequence content, Throwable error) { StringWriter sWriter = new StringWriter(); PrintWriter pWriter = new PrintWriter(sWriter); error.printStackTrace(pWriter);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java
writer.print(problems.size()); writer.print((problems.size() == 1) ? " problem was " : " problems were "); writer.print("encountered while building the effective settings"); writer.println(); for (SettingsProblem problem : problems) { writer.print("["); writer.print(problem.getSeverity()); writer.print("] ");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java
writer.print(" - ["); writer.print(problem.getSeverity()); writer.print("] "); writer.print(problem.getMessage()); String location = ModelProblemUtils.formatLocation(problem, modelId); if (!location.isEmpty()) { writer.print(" @ "); writer.print(location); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.6K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
if len(result.SkippedAnalyzers) > 0 { fmt.Fprintln(cmd.ErrOrStderr(), "Skipped analyzers:") for _, a := range result.SkippedAnalyzers { fmt.Fprintln(cmd.ErrOrStderr(), "\t", a) } } if len(result.ExecutedAnalyzers) > 0 { fmt.Fprintln(cmd.ErrOrStderr(), "Executed analyzers:") for _, a := range result.ExecutedAnalyzers { fmt.Fprintln(cmd.ErrOrStderr(), "\t", a) } }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 31 06:53:50 UTC 2024 - 17.6K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jStdoutLogger.java
this.out = requireNonNull(out); } // // These are the only methods we need in our primordial logger // public void error(String msg) { out.print(ERROR); out.println(msg); } public void error(String msg, Throwable t) { error(msg); if (null != t) { t.printStackTrace(out); } } //
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.3K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleRepositoryListener.java
println("metadataResolved", event.getMetadata() + " from " + event.getRepository()); } public void metadataResolving(RepositoryEvent event) { println("metadataResolving", event.getMetadata() + " from " + event.getRepository()); } private void println(String event, String message) { out.println("Aether Repository - " + event + ": " + message); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K bytes - Viewed (0)