Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 4,226 for fmtE (0.04 sec)

  1. istioctl/pkg/writer/envoy/configdump/configdump.go

    		sb strings.Builder
    	)
    
    	fmt.Fprintf(&sb, "%d.%d.%d", version.GetMajorNumber(), version.GetMinorNumber(), version.GetPatch())
    	if label, ok := md[buildLabelKey]; ok {
    		fmt.Fprintf(&sb, "-%s", label.GetStringValue())
    	}
    	if status, ok := md[statusKey]; ok {
    		fmt.Fprintf(&sb, "/%s", status.GetStringValue())
    	}
    	if typ, ok := md[buildTypeKey]; ok {
    		fmt.Fprintf(&sb, "/%s", typ.GetStringValue())
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 20:46:41 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. internal/color/color.go

    		}
    		return fmt.Sprintf
    	}()
    
    	RedBold = func() func(a ...interface{}) string {
    		if IsTerminal() {
    			return color.New(color.FgRed, color.Bold).SprintFunc()
    		}
    		return fmt.Sprint
    	}()
    
    	RedBoldf = func() func(format string, a ...interface{}) string {
    		if IsTerminal() {
    			return color.New(color.FgRed, color.Bold).SprintfFunc()
    		}
    		return fmt.Sprintf
    	}()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 17:57:52 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. docs/debugging/xl-meta/main.go

    						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 {
    					fmt.Println(k)
    				}
    				fmt.Println("END MISSING PART FILES")
    			}
    		}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:49:23 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  4. src/math/bits/make_examples.go

    				} else {
    					fmt.Fprintf(w, "\tfmt.Printf(\"%%0%db\\n\", bits.%s(%d))\n", size, f, e.in)
    				}
    				fmt.Fprintf(w, "\t// Output:\n")
    				fmt.Fprintf(w, "\t// %0*b\n", size, e.in)
    				fmt.Fprintf(w, "\t// %0*b\n", size, e.out[i])
    				if e.name == "RotateLeft" && e.out2[i] != nil {
    					fmt.Fprintf(w, "\t// %0*b\n", size, e.out2[i])
    				}
    			default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. pkg/config/validation/agent/extensionprovider.go

    	if config == nil {
    		return fmt.Errorf("nil TracingLightStepProvider")
    	}
    	if err := validateExtensionProviderService(config.Service); err != nil {
    		errs = AppendErrors(errs, err)
    	}
    	if err := ValidatePort(int(config.Port)); err != nil {
    		errs = AppendErrors(errs, fmt.Errorf("invalid service port: %v", err))
    	}
    	if config.AccessToken == "" {
    		errs = AppendErrors(errs, fmt.Errorf("access token is required"))
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. src/math/big/calibrate_test.go

    	maxSqr := computeSqrThreshold(200, 500, 10, 3, sqrModeBasic, sqrModeKaratsuba)
    	if minSqr != 0 {
    		fmt.Printf("found basicSqrThreshold = %d\n", minSqr)
    	} else {
    		fmt.Println("no basicSqrThreshold found")
    	}
    	if maxSqr != 0 {
    		fmt.Printf("found karatsubaSqrThreshold = %d\n", maxSqr)
    	} else {
    		fmt.Println("no karatsubaSqrThreshold found")
    	}
    }
    
    func karatsubaLoad(b *testing.B) {
    	BenchmarkMul(b)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  7. 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)
  8. pkg/kubelet/cm/util/cdi/cdi.go

    	key, err := annotationKey(plugin, deviceID)
    	if err != nil {
    		return annotations, fmt.Errorf("CDI annotation failed: %v", err)
    	}
    	if _, ok := annotations[key]; ok {
    		return annotations, fmt.Errorf("CDI annotation failed, key %q used", key)
    	}
    	value, err := annotationValue(devices)
    	if err != nil {
    		return annotations, fmt.Errorf("CDI annotation failed: %v", err)
    	}
    
    	if annotations == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 09:48:24 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top