- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for Turing (0.63 sec)
-
misc/go_android_exec/main.go
// and indicates whether it is // and returns the path to the package source relative to $GOROOT (or $GOPATH). func pkgPath() (importPath string, isStd bool, modPath, modDir string, err error) { errorf := func(format string, args ...any) (string, bool, string, string, error) { return "", false, "", "", fmt.Errorf(format, args...) } goTool, err := goTool() if err != nil { return errorf("%w", err) }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Aug 21 17:46:57 GMT 2023 - 15.3K bytes - Viewed (0) -
cmd/main.go
cli.BoolFlag{ Name: "compat", Usage: "enable strict S3 compatibility by turning off certain performance optimizations", Hidden: true, }, // This flag is hidden and to be used only during certain performance testing. cli.BoolFlag{ Name: "no-compat", Usage: "disable strict S3 compatibility by turning on certain performance optimizations", Hidden: true, }, } // Help template for minio.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 17:57:52 GMT 2024 - 6.4K bytes - Viewed (0) -
src/cmd/cgo/internal/swig/testdata/callback/main.go
} println("OK") } func fatal(f string, args ...any) { fmt.Fprintln(os.Stderr, fmt.Sprintf(f, args...)) os.Exit(1) } type GoCallback struct{} func (p *GoCallback) Run() string { return "GoCallback.Run" } func testCall() { c := NewCaller() cb := NewCallback() c.SetCallback(cb) s := c.Call() if s != "Callback::run" { fatal("unexpected string from Call: %q", s) } c.DelCallback()
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:07 GMT 2023 - 1K bytes - Viewed (0) -
docs/debugging/pprofgoparser/main.go
} func parseGoroutineType2(path string) (map[time.Duration][]string, error) { f, err := os.Open(path) if err != nil { return nil, err } bf := bytes.Buffer{} save := func(s string) { bf.WriteString(s + "\n") } reset := func() { bf.Reset() } ret := make(map[time.Duration][]string) s := bufio.NewScanner(f) s.Split(bufio.ScanLines) var (
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Mar 06 11:43:16 GMT 2024 - 3.4K bytes - Viewed (0) -
src/cmd/asm/main.go
flags.D = append(flags.D, "GOEXPERIMENT_"+exp) } } var ok, diag bool var failedFile string for _, f := range flag.Args() { lexer := lex.NewLexer(f) parser := asm.NewParser(ctxt, architecture, lexer) ctxt.DiagFunc = func(format string, args ...interface{}) { diag = true log.Printf(format, args...) } if *flags.SymABIs { ok = parser.ParseSymABIs(buf)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Aug 29 07:48:38 GMT 2023 - 2.7K bytes - Viewed (0) -
docs/debugging/inspect/main.go
*keyHex = strings.ReplaceAll(text, "\n", "") *keyHex = strings.TrimSpace(*keyHex) } } var inputFileName, outputFileName string // Parse parameters switch { case *stdin: // Parse 'mc support inspect --json' output input := struct { File string `json:"file"` Key string `json:"key"` }{} got, err := io.ReadAll(os.Stdin) if err != nil { fatalErr(err) }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 11 21:22:47 GMT 2024 - 4.8K bytes - Viewed (0) -
docs/debugging/hash-set/main.go
"strings" "github.com/dchest/siphash" "github.com/google/uuid" ) // hashes the key returning an integer based on the input algorithm. // This function currently supports // - SIPMOD func sipHashMod(key string, cardinality int, id [16]byte) int { if cardinality <= 0 { return -1 } // use the faster version as per siphash docs // https://github.com/dchest/siphash#usage
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Sep 19 18:05:16 GMT 2022 - 3.7K bytes - Viewed (0) -
docs/debugging/s3-verify/main.go
"github.com/minio/minio-go/v7/pkg/credentials" ) var ( sourceEndpoint, sourceAccessKey, sourceSecretKey string sourceBucket, sourcePrefix string targetEndpoint, targetAccessKey, targetSecretKey string targetBucket, targetPrefix string minimumObjectAge string debug bool insecure bool )
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Jun 22 15:12:47 GMT 2022 - 8.4K bytes - Viewed (0) -
docs/debugging/healing-bin/main.go
{{end}} ` app.Flags = []cli.Flag{} app.Action = func(c *cli.Context) error { if !c.Args().Present() { cli.ShowAppHelpAndExit(c, 1) // last argument is exit code } ht := make(map[string]map[string]interface{}) file := c.Args().Get(0) if strings.HasSuffix(file, ".zip") { var sz int64 f, err := os.Open(file) if err != nil { return err } if st, err := f.Stat(); err == nil {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Sep 19 18:05:16 GMT 2022 - 3.2K bytes - Viewed (0) -
src/cmd/cgo/internal/swig/testdata/stdio/main.go
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:07 GMT 2023 - 975 bytes - Viewed (0)