Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,263 for fmtE (0.04 sec)

  1. src/hash/crc32/gen_const_ppc64le.go

    		fmt.Fprintf(w, "\t/* x^%d mod p(x)%s, x^%d mod p(x)%s, x^%d mod p(x)%s, x^%d mod p(x)%s */\n", i+128, "", i+96, "", i+64, "", i+32, "")
    		fmt.Fprintf(w, "DATA ·%sConst+%d(SB)/8,$0x%08x%08x\n", polyid, j*8, c, d)
    		fmt.Fprintf(w, "DATA ·%sConst+%d(SB)/8,$0x%08x%08x\n", polyid, (j+1)*8, a, b)
    
    		j += 2
    		fmt.Fprintf(w, "\n")
    	}
    
    	fmt.Fprintf(w, "GLOBL ·%sConst(SB),RODATA,$4336\n", polyid)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 20:44:20 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. src/go/types/example_test.go

    	fset := token.NewFileSet()
    	var files []*ast.File
    	for _, src := range []string{
    		`package main
    import "fmt"
    func main() {
    	freezing := FToC(-18)
    	fmt.Println(freezing, Boiling) }
    `,
    		`package main
    import "fmt"
    type Celsius float64
    func (c Celsius) String() string { return fmt.Sprintf("%g°C", c) }
    func FToC(f float64) Celsius { return Celsius(f - 32 / 9 * 5) }
    const Boiling Celsius = 100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. src/internal/trace/testtrace/format.go

    		return nil, nil, fmt.Errorf("malformed test %s: wrong number of files", testPath)
    	}
    	if ar.Files[0].Name != "expect" {
    		return nil, nil, fmt.Errorf("malformed test %s: bad filename %s", testPath, ar.Files[0].Name)
    	}
    	if ar.Files[1].Name != "trace" {
    		return nil, nil, fmt.Errorf("malformed test %s: bad filename %s", testPath, ar.Files[1].Name)
    	}
    	tr, err := raw.NewTextReader(bytes.NewReader(ar.Files[1].Data))
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. pkg/config/validation/validation.go

    			if k == "" {
    				errs = appendErrors(errs,
    					fmt.Errorf("empty key is not supported in selector: %q", fmt.Sprintf("%s=%s", k, v)))
    			}
    			if strings.Contains(k, "*") || strings.Contains(v, "*") {
    				errs = appendErrors(errs,
    					fmt.Errorf("wildcard is not supported in selector: %q", fmt.Sprintf("%s=%s", k, v)))
    			}
    		}
    		if len(selector.Labels) == 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/util.go

    			fmt.Fprintf(w, "$%d", a.Offset)
    		} else {
    			fmt.Fprintf(w, "$%d-%d", a.Offset, a.Val.(int32))
    		}
    
    	case TYPE_FCONST:
    		str := fmt.Sprintf("%.17g", a.Val.(float64))
    		// Make sure 1 prints as 1.0
    		if !strings.ContainsAny(str, ".e") {
    			str += ".0"
    		}
    		fmt.Fprintf(w, "$(%s)", str)
    
    	case TYPE_SCONST:
    		fmt.Fprintf(w, "$%q", a.Val.(string))
    
    	case TYPE_ADDR:
    		io.WriteString(w, "$")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/doc.go

    // Here it is incorrectly applied to a string:
    //
    //	fmt.Printf("%d", "hello") // fmt.Printf format %d has arg "hello" of wrong type string
    //
    // A call to Printf must have as many operands as there are "verbs" in
    // the format string, not too few:
    //
    //	fmt.Printf("%d") // fmt.Printf format reads arg 1, but call has 0 args
    //
    // nor too many:
    //
    //	fmt.Printf("%d", 1, 2) // fmt.Printf call needs 1 arg, but has 2 args
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. 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)
  8. pkg/test/framework/resource/settings.go

    	result += fmt.Sprintf("FailOnDeprecation: 						 %v\n", s.FailOnDeprecation)
    	result += fmt.Sprintf("CIMode:            						 %v\n", s.CIMode)
    	result += fmt.Sprintf("Retries:           						 %v\n", s.Retries)
    	result += fmt.Sprintf("StableNamespaces:  						 %v\n", s.StableNamespaces)
    	result += fmt.Sprintf("Revision:          						 %v\n", s.Revision)
    	result += fmt.Sprintf("SkipWorkloads      						 %v\n", s.SkipWorkloadClasses)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. src/internal/trace/raw/textreader.go

    	}
    	trace, line := readToken(line)
    	if trace != "Trace" {
    		return nil, fmt.Errorf("failed to parse header")
    	}
    	gover, line := readToken(line)
    	if !strings.HasPrefix(gover, "Go1.") {
    		return nil, fmt.Errorf("failed to parse header Go version")
    	}
    	rawv, err := strconv.ParseUint(gover[len("Go1."):], 10, 64)
    	if err != nil {
    		return nil, fmt.Errorf("failed to parse header Go version: %v", err)
    	}
    	v := version.Version(rawv)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. cni/pkg/config/config.go

    	b.WriteString("MonitoringPort: " + fmt.Sprint(c.MonitoringPort) + "\n")
    	b.WriteString("LogUDSAddress: " + fmt.Sprint(c.LogUDSAddress) + "\n")
    	b.WriteString("CNIEventAddress: " + fmt.Sprint(c.CNIEventAddress) + "\n")
    	b.WriteString("ZtunnelUDSAddress: " + fmt.Sprint(c.ZtunnelUDSAddress) + "\n")
    
    	b.WriteString("AmbientEnabled: " + fmt.Sprint(c.AmbientEnabled) + "\n")
    	b.WriteString("AmbientDNSCapture: " + fmt.Sprint(c.AmbientDNSCapture) + "\n")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top