Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 172 for doprint (0.15 sec)

  1. doc/go_mem.html

    func setup() {
    	a = "hello, world"
    }
    
    func doprint() {
    	once.Do(setup)
    	print(a)
    }
    
    func twoprint() {
    	go doprint()
    	go doprint()
    }
    </pre>
    
    <p>
    calling <code>twoprint</code> will call <code>setup</code> exactly
    once.
    The <code>setup</code> function will complete before either call
    of <code>print</code>.
    The result will be that <code>"hello, world"</code> will be printed
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  2. docs/debugging/xl-meta/main.go

    					b = bytes.TrimFunc(b, func(r rune) bool {
    						return r == '{' || r == '}' || r == '\n' || r == '\r'
    					})
    				}
    
    				toPrint = append(toPrint, fmt.Sprintf("%s%s", b0, string(b)))
    			}
    		}
    		sort.Strings(toPrint)
    		fmt.Printf("{\n%s\n}\n", strings.Join(toPrint, ",\n"))
    		if c.Bool("combine") {
    			for partName, data := range foundData {
    				if verid := partDataToVerID[partName]; verid != [2]string{} {
    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. 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)
  4. src/main/java/jcifs/http/NetworkExplorer.java

                        out.print("; height: 18;\" HREF=\"");
                        out.print(path);
                        out.print(name);
                        out.print("\"><b>");
                        out.print(name);
                        out.print("</b></a>");
                    }
                    else {
                        out.print(";\" HREF=\"");
                        out.print(path);
                        out.print(name);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K bytes
    - Viewed (0)
  5. 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)
  6. ci/official/utilities/extract_resultstore_links.py

        tree.write(f)
        if verbose:
          print(f'\nWrote XML with Bazel invocation results to {file_path}')
    
    
    def print_invocation_results(result_store_dict: ResultDictType):
      """Prints out a short summary of the found ResultStore links (if any)."""
      print()
      if not result_store_dict:
        print('Found no ResultStore links for Bazel build/test invocations.')
      else:
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Nov 08 17:50:27 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                        out.print( path );
                        out.print( name );
                        out.print( "\"><b>" );
                        out.print( name );
                        out.print( "</b></a>" );
                    } else {
                        out.print( ";\" HREF=\"" );
                        out.print( path );
                        out.print( name );
                        out.print( "\"><b>" );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 22 03:57:31 UTC 2020
    - 19.7K bytes
    - Viewed (0)
  8. internal/rest/client.go

    	}
    
    	// Only display request header.
    	reqTrace, err := httputil.DumpRequestOut(req, false)
    	if err != nil {
    		return
    	}
    
    	// Write request to trace output.
    	_, err = fmt.Fprint(c.TraceOutput, string(reqTrace))
    	if err != nil {
    		return
    	}
    
    	// Only display response header.
    	var respTrace []byte
    
    	// For errors we make sure to dump response body as well.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  9. scripts/docs.py

                if non_translatable_path.exists():
                    error_paths.append(non_translatable_path)
        if error_paths:
            print("Non-translated pages found, remove them:")
            for error_path in error_paths:
                print(error_path)
            raise typer.Abort()
        print("No non-translated pages found ✅")
    
    
    @app.command()
    def verify_docs():
        verify_readme()
        verify_config()
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 08 11:01:17 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. tests/create_test.go

    	}
    
    	if _, ok := records[0]["@id"]; ok && fmt.Sprint(res2["id"]) != fmt.Sprint(records[0]["@id"]) {
    		t.Errorf("failed to create data from map with table, @id != id, got %v, expect %v", res2["id"], records[0]["@id"])
    	}
    
    	if _, ok := records[1]["id"]; ok && fmt.Sprint(res3["id"]) != fmt.Sprint(records[1]["@id"]) {
    		t.Errorf("failed to create data from map with table, @id != id")
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 26.4K bytes
    - Viewed (0)
Back to top