Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 387 for printnl (0.05 seconds)

  1. 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!
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Nov 01 21:52:12 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  2. misc/ios/detect.go

    		fail("did not find mobile provision matching device udids %q", udids)
    	}
    
    	fmt.Println("# Available provisioning profiles below.")
    	fmt.Println("# NOTE: Any existing app on the device with the app id specified by GOIOS_APP_ID")
    	fmt.Println("# will be overwritten when running Go programs.")
    	for _, mp := range mps {
    		fmt.Println()
    		f, err := os.CreateTemp("", "go_ios_detect_")
    		check(err)
    		fname := f.Name()
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Oct 19 23:33:30 GMT 2023
    - 3.2K bytes
    - Click Count (0)
  3. cmd/main.go

    	app.CommandNotFound = func(ctx *cli.Context, command string) {
    		console.Printf("‘%s’ is not a minio sub-command. See ‘minio --help’.\n", command)
    		closestCommands := findClosestCommands(command)
    		if len(closestCommands) > 0 {
    			console.Println()
    			console.Println("Did you mean one of these?")
    			for _, cmd := range closestCommands {
    				console.Printf("\t‘%s’\n", cmd)
    			}
    		}
    
    		os.Exit(1)
    	}
    
    	return app
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jul 30 22:59:48 GMT 2024
    - 6.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/util/LogStreamTest.java

            LogStream logStream = LogStream.getInstance();
    
            // Test various PrintStream methods
            logStream.print("test");
            logStream.print(123);
            logStream.print(true);
            logStream.println();
            logStream.println("line");
            logStream.printf("formatted %d%n", 42);
            logStream.flush();
    
            String output = testOutput.toString();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  5. src/archive/zip/example_test.go

    	}
    	defer r.Close()
    
    	// Iterate through the files in the archive,
    	// printing some of their contents.
    	for _, f := range r.File {
    		fmt.Printf("Contents of %s:\n", f.Name)
    		rc, err := f.Open()
    		if err != nil {
    			log.Fatal(err)
    		}
    		_, err = io.CopyN(os.Stdout, rc, 68)
    		if err != nil {
    			log.Fatal(err)
    		}
    		rc.Close()
    		fmt.Println()
    	}
    	// Output:
    	// Contents of README:
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Jan 27 00:22:03 GMT 2016
    - 2K bytes
    - Click Count (0)
  6. tests/tests_test.go

    		// ALTER SERVER ROLE sysadmin ADD MEMBER [gorm];
    		// GO
    		log.Println("testing sqlserver...")
    		if dbDSN == "" {
    			dbDSN = sqlserverDSN
    		}
    		db, err = gorm.Open(sqlserver.Open(dbDSN), cfg)
    	case "tidb":
    		log.Println("testing tidb...")
    		if dbDSN == "" {
    			dbDSN = tidbDSN
    		}
    		db, err = gorm.Open(mysql.Open(dbDSN), cfg)
    	default:
    		log.Println("testing sqlite3...")
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  7. internal/logger/console.go

    		}
    		// Restore the text color of the error message
    		ansiRestoreAttributes()
    		ansiMoveRight(bannerWidth)
    		// Continue  error message printing
    		fmt.Fprintln(Output, line)
    	}
    
    	// Exit because this is a fatal error message
    	ExitFunc(1)
    }
    
    type infoMsg struct{}
    
    var info infoMsg
    
    func (i infoMsg) json(msg string, args ...any) {
    	var message string
    	if msg != "" {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  8. samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java

            .url("https://publicobject.com/helloworld.txt")
            .build();
    
        System.out.println("REQUEST 1 (new connection)");
        try (Response response = client.newCall(request).execute()) {
          // Consume and discard the response body.
          response.body().source().readByteString();
        }
    
        System.out.println("REQUEST 2 (pooled connection)");
        try (Response response = client.newCall(request).execute()) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 16 23:20:49 GMT 2020
    - 5.3K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ValidateJsonNoKeywordsTask.java

                    pw.println("list of keywords below. The safest action is to rename the API to avoid conflicts.");
                    pw.println();
                    pw.printf("Keywords source: %s%n", getJsonKeywords());
                    pw.println();
                    pw.println("---------- Validation Errors -----------");
                    pw.println();
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 7.6K bytes
    - Click Count (0)
  10. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/SystemStreamLog.java

            System.out.println("[" + prefix + "] " + sWriter);
        }
    
        private void print(String prefix, CharSequence content, Throwable error) {
            StringWriter sWriter = new StringWriter();
            PrintWriter pWriter = new PrintWriter(sWriter);
    
            error.printStackTrace(pWriter);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.3K bytes
    - Click Count (0)
Back to Top