Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 126 for Sprintln (0.05 sec)

  1. src/cmd/asm/internal/lex/input.go

    }
    
    var panicOnError bool // For testing.
    
    func (in *Input) Error(args ...interface{}) {
    	if panicOnError {
    		panic(fmt.Errorf("%s:%d: %s", in.File(), in.Line(), fmt.Sprintln(args...)))
    	}
    	fmt.Fprintf(os.Stderr, "%s:%d: %s", in.File(), in.Line(), fmt.Sprintln(args...))
    	os.Exit(1)
    }
    
    // expectText is like Error but adds "got XXX" where XXX is a quoted representation of the most recent token.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 06 13:17:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. docs/debugging/xl-meta/main.go

    						if err != nil {
    							fmt.Println("combine WriteFile:", err)
    						}
    						fmt.Println("Remapped", partName, "to", fn)
    					}
    					delete(partDataToVerID, partName)
    					err := os.WriteFile(fn, data, os.ModePerm)
    					if err != nil {
    						fmt.Println("WriteFile:", err)
    					}
    				}
    			}
    			if len(partDataToVerID) > 0 {
    				fmt.Println("MISSING PART FILES:")
    				for k := range partDataToVerID {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  3. src/bufio/example_test.go

    	for scanner.Scan() {
    		fmt.Println(scanner.Text()) // Println will add back the final '\n'
    	}
    	if err := scanner.Err(); err != nil {
    		fmt.Fprintln(os.Stderr, "reading standard input:", err)
    	}
    }
    
    // Return the most recent call to Scan as a []byte.
    func ExampleScanner_Bytes() {
    	scanner := bufio.NewScanner(strings.NewReader("gopher"))
    	for scanner.Scan() {
    		fmt.Println(len(scanner.Bytes()) == 6)
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. cmd/main.go

    	fmt.Fprintln(banner, color.Blue("License:")+color.Bold(" "+MinioLicense))
    	fmt.Fprintln(banner, color.Blue("Version:")+color.Bold(" %s (%s %s/%s)", ReleaseTag, runtime.Version(), runtime.GOOS, runtime.GOARCH))
    }
    
    func versionBanner(c *cli.Context) io.Reader {
    	banner := &strings.Builder{}
    	fmt.Fprintln(banner, color.Bold("%s version %s (commit-id=%s)", c.App.Name, c.App.Version, CommitID))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 30 22:59:48 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/DefaultEncryptInvoker.java

                    context.terminal.writer().println("This tool works only in interactive mode!");
                    context.terminal
                            .writer()
                            .println("Tool purpose is to configure password management on developer workstations.");
                    context.terminal
                            .writer()
                            .println(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. src/bytes/example_test.go

    	fmt.Println(bytes.ContainsAny([]byte("I like seafood."), "去是伟大的."))
    	fmt.Println(bytes.ContainsAny([]byte("I like seafood."), ""))
    	fmt.Println(bytes.ContainsAny([]byte(""), ""))
    	// Output:
    	// true
    	// true
    	// false
    	// false
    }
    
    func ExampleContainsRune() {
    	fmt.Println(bytes.ContainsRune([]byte("I like seafood."), 'f'))
    	fmt.Println(bytes.ContainsRune([]byte("I like seafood."), 'ö'))
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 07 17:22:36 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

            pw.println("# ");
            pw.println("# The Main  ");
            pw.println("# ");
            pw.println("# Comment ");
            pw.println("# ");
            pw.println("");
            pw.println("# Another comment");
            pw.println("");
            pw.println("# A value comment");
            pw.println("key1 = val1");
            pw.println("");
            pw.println("# Another value comment");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/ConfiguredGoalSupport.java

                        .writer()
                        .println(messageBuilderFactory.builder().info(s).build());
                if (entry.getKey() == SecDispatcher.ValidationResponse.Level.ERROR) {
                    consumer = s -> context.terminal
                            .writer()
                            .println(messageBuilderFactory.builder().error(s).build());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top