Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 101 for qprint (0.28 sec)

  1. src/fmt/fmt_test.go

    	desc  string
    	fn    func()
    }{
    	{0, `Sprintf("")`, func() { _ = Sprintf("") }},
    	{1, `Sprintf("xxx")`, func() { _ = Sprintf("xxx") }},
    	{0, `Sprintf("%x")`, func() { _ = Sprintf("%x", 7) }},
    	{1, `Sprintf("%x")`, func() { _ = Sprintf("%x", 1<<16) }},
    	{3, `Sprintf("%80000s")`, func() { _ = Sprintf("%80000s", "hello") }}, // large buffer (>64KB)
    	{1, `Sprintf("%s")`, func() { _ = Sprintf("%s", "hello") }},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  2. src/cmd/cgo/out.go

    			fmt.Fprint(fgo2, "\tif e != 0 {\n")
    			fmt.Fprint(fgo2, "\t\treturn ")
    			if !void {
    				fmt.Fprint(fgo2, "r, ")
    			}
    			fmt.Fprint(fgo2, "e\n")
    			fmt.Fprint(fgo2, "\t}\n")
    			fmt.Fprint(fgo2, "\treturn ")
    			if !void {
    				fmt.Fprint(fgo2, "r, ")
    			}
    			fmt.Fprint(fgo2, "nil\n")
    		} else if !void {
    			fmt.Fprint(fgo2, "\treturn r\n")
    		}
    
    		fmt.Fprint(fgo2, "}\n")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  3. src/cmd/go/internal/test/test.go

    		}
    		addTestVet(b, p, run, nil)
    		print := &work.Action{
    			Mode:       "test print",
    			Actor:      work.ActorFunc(builderPrintTest),
    			Deps:       []*work.Action{run},
    			Package:    p,
    			IgnoreFail: true, // print even if test failed
    		}
    		return build, run, print, nil
    	}
    
    	// Build Package structs describing:
    	//	pmain - pkg.test binary
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  4. src/testing/testing.go

    	} else {
    		if c.chatty != nil {
    			if c.bench {
    				// Benchmarks don't print === CONT, so we should skip the test
    				// printer and just print straight to stdout.
    				fmt.Print(c.decorate(s, depth+1))
    			} else {
    				c.chatty.Printf(c.name, "%s", c.decorate(s, depth+1))
    			}
    
    			return
    		}
    		c.output = append(c.output, c.decorate(s, depth+1)...)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  5. src/go/printer/nodes.go

    		p.print(token.SWITCH)
    		p.controlClause(false, s.Init, s.Tag, nil)
    		p.block(s.Body, 0)
    
    	case *ast.TypeSwitchStmt:
    		p.print(token.SWITCH)
    		if s.Init != nil {
    			p.print(blank)
    			p.stmt(s.Init, false)
    			p.print(token.SEMICOLON)
    		}
    		p.print(blank)
    		p.stmt(s.Assign, false)
    		p.print(blank)
    		p.block(s.Body, 0)
    
    	case *ast.CommClause:
    		if s.Comm != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  6. istioctl/pkg/describe/describe.go

    					fmt.Fprintf(writer, "WARNING: User ID (UID) 1337 is reserved for the sidecar proxy.\n")
    				}
    			}
    		}
    	}
    
    	fmt.Fprintf(writer, "Pod: %s\n", kname(pod.ObjectMeta))
    	fmt.Fprintf(writer, "   Pod Revision: %s\n", revision)
    	if len(ports) > 0 {
    		fmt.Fprintf(writer, "   Pod Ports: %s\n", strings.Join(ports, ", "))
    	} else {
    		fmt.Fprintf(writer, "   Pod does not expose ports\n")
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  7. src/html/template/exec_test.go

    	// Print etc.
    	{"print", `{{print "hello, print"}}`, "hello, print", tVal, true},
    	{"print 123", `{{print 1 2 3}}`, "1 2 3", tVal, true},
    	{"print nil", `{{print nil}}`, "&lt;nil&gt;", tVal, true},
    	{"println", `{{println 1 2 3}}`, "1 2 3\n", tVal, true},
    	{"printf int", `{{printf "%04x" 127}}`, "007f", tVal, true},
    	{"printf float", `{{printf "%g" 3.5}}`, "3.5", tVal, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  8. src/text/template/exec_test.go

    	// Print etc.
    	{"print", `{{print "hello, print"}}`, "hello, print", tVal, true},
    	{"print 123", `{{print 1 2 3}}`, "1 2 3", tVal, true},
    	{"print nil", `{{print nil}}`, "<nil>", tVal, true},
    	{"println", `{{println 1 2 3}}`, "1 2 3\n", tVal, true},
    	{"printf int", `{{printf "%04x" 127}}`, "007f", tVal, true},
    	{"printf float", `{{printf "%g" 3.5}}`, "3.5", tVal, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  9. configure.py

      print('    %s' % config['cudnn_include_dir'])
    
      if 'tensorrt_version' in config:
        print('Found TensorRT %s in:' % config['tensorrt_version'])
        print('    %s' % config['tensorrt_library_dir'])
        print('    %s' % config['tensorrt_include_dir'])
    
      if config.get('nccl_version', None):
        print('Found NCCL %s in:' % config['nccl_version'])
        print('    %s' % config['nccl_library_dir'])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 04:32:44 UTC 2024
    - 53.8K bytes
    - Viewed (1)
  10. src/runtime/traceback.go

    	}
    	print("goroutine ", gp.goid)
    	if gp.m != nil && gp.m.throwing >= throwTypeRuntime && gp == gp.m.curg || level >= 2 {
    		print(" gp=", gp)
    		if gp.m != nil {
    			print(" m=", gp.m.id, " mp=", gp.m)
    		} else {
    			print(" m=nil")
    		}
    	}
    	print(" [", status)
    	if isScan {
    		print(" (scan)")
    	}
    	if waitfor >= 1 {
    		print(", ", waitfor, " minutes")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top