Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 131 for println (0.12 sec)

  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!
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. 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)
  3. 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...")
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Sep 30 03:21:19 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12scm/ProjectInheritanceTest.java

            System.out.println("\n\n");
            System.out.println("Parent SCM URL is: " + project0.getScm().getUrl());
            System.out.println("Child SCM URL is: " + project1.getScm().getUrl());
            System.out.println();
            System.out.println("Parent SCM connection is: " + project0.getScm().getConnection());
            System.out.println("Child SCM connection is: " + project1.getScm().getConnection());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top