Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for myprint (0.12 sec)

  1. istioctl/pkg/analyze/analyze.go

    func Analyze(ctx cli.Context) *cobra.Command {
    	var verbose bool
    	analysisCmd := &cobra.Command{
    		Use:   "analyze <file>...",
    		Short: "Analyze Istio configuration and print validation messages",
    		Long: fmt.Sprintf("Analyze Istio configuration and print validation messages.\n"+
    			"For more information about message codes, refer to:\n%s", url.ConfigAnalysis),
    		Example: `  # Analyze the current live cluster
      istioctl analyze
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 31 06:53:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingException.java

            writer.print(problems.size());
            writer.print((problems.size() == 1) ? " problem was " : " problems were ");
            writer.print("encountered while building the effective toolchains");
            writer.println();
    
            for (Problem 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.7K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/table/writer.go

    		return
    	}
    	sep := getMaxWidths(output)
    	for _, row := range output {
    		for i, col := range row {
    			_, _ = fmt.Fprint(c.writer, col.String())
    			if i == len(row)-1 {
    				_, _ = fmt.Fprint(c.writer, "\n")
    			} else {
    				padAmount := sep[i] - utf8.RuneCount([]byte(col.Value)) + 2
    				_, _ = fmt.Fprint(c.writer, strings.Repeat(" ", padAmount))
    			}
    		}
    	}
    }
    
    func getMaxWidths(output [][]Cell) []int {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 06 09:43:25 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. istioctl/pkg/precheck/precheck.go

    				}
    				msgs = append(msgs, m...)
    			}
    
    			// Print all the messages to stdout in the specified format
    			msgs = msgs.SortedDedupedCopy()
    			outputMsgs := diag.Messages{}
    			for _, m := range msgs {
    				if m.Type.Level().IsWorseThanOrEqualTo(outputThreshold.Level) {
    					outputMsgs = append(outputMsgs, m)
    				}
    			}
    			output, err := formatting.Print(outputMsgs, msgOutputFormat, true)
    			if err != nil {
    				return err
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 02:31:32 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. 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)
  6. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java

        }
    
        private void println(String event, String message) {
            print(event, message);
            out.println();
        }
    
        private void print(String event, String message) {
            out.print("Aether Transfer - " + event);
            if (message != null) {
                out.print(": ");
                out.print(message);
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/SystemStreamLog.java

            print("info", content, error);
        }
    
        /**
         * @see org.apache.maven.plugin.logging.Log#info(java.lang.Throwable)
         */
        public void info(Throwable error) {
            print("info", error);
        }
    
        /**
         * @see org.apache.maven.plugin.logging.Log#warn(java.lang.CharSequence)
         */
        public void warn(CharSequence content) {
            print("warn", content);
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. 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)
  9. src/bufio/example_test.go

    package bufio_test
    
    import (
    	"bufio"
    	"bytes"
    	"fmt"
    	"os"
    	"strconv"
    	"strings"
    )
    
    func ExampleWriter() {
    	w := bufio.NewWriter(os.Stdout)
    	fmt.Fprint(w, "Hello, ")
    	fmt.Fprint(w, "world!")
    	w.Flush() // Don't forget to flush!
    	// Output: Hello, world!
    }
    
    func ExampleWriter_AvailableBuffer() {
    	w := bufio.NewWriter(os.Stdout)
    	for _, i := range []int64{1, 2, 3, 4} {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. cmd/erasure-metadata.go

    			if meta.IsRemote() {
    				// ILM transition fields
    				fmt.Fprint(h, meta.TransitionStatus)
    				fmt.Fprint(h, meta.TransitionTier)
    				fmt.Fprint(h, meta.TransitionedObjName)
    				fmt.Fprint(h, meta.TransitionVersionID)
    			}
    
    			// If metadata says encrypted, ask for it in quorum.
    			if etyp, ok := crypto.IsEncrypted(meta.Metadata); ok {
    				fmt.Fprint(h, etyp)
    			}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top