- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for from (0.14 sec)
-
src/cmd/cgo/internal/swig/testdata/callback/main.go
c.SetCallback(cb) s := c.Call() if s != "Callback::run" { fatal("unexpected string from Call: %q", s) } c.DelCallback() } func testCallback() { c := NewCaller() cb := NewDirectorCallback(&GoCallback{}) c.SetCallback(cb) s := c.Call() if s != "GoCallback.Run" { fatal("unexpected string from Call with callback: %q", s) } c.DelCallback() DeleteDirectorCallback(cb)
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:07 GMT 2023 - 1K bytes - Viewed (0) -
cmd/main.go
Usage: "path to certs directory", }, cli.BoolFlag{ Name: "quiet", Usage: "disable startup and info messages", }, cli.BoolFlag{ Name: "anonymous", Usage: "hide sensitive information from logging", }, cli.BoolFlag{ Name: "json", Usage: "output logs in JSON format", }, // Deprecated flag, so its hidden now, existing deployments will keep working. cli.BoolFlag{ Name: "compat",
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Sat Mar 09 03:07:08 GMT 2024 - 6.4K bytes - Viewed (0) -
misc/go_android_exec/main.go
} } deviceBin := fmt.Sprintf("%s/%s", deviceGotmp, binName) if err := adb("push", os.Args[1], deviceBin); err != nil { return 0, err } // Forward SIGQUIT from the go command to show backtraces from // the binary instead of from this wrapper. quit := make(chan os.Signal, 1) signal.Notify(quit, syscall.SIGQUIT) go func() { for range quit { // We don't have the PID of the running process; use the
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Mon Aug 21 17:46:57 GMT 2023 - 15.3K bytes - Viewed (0) -
src/cmd/addr2line/main.go
// just enough to support pprof. // // Usage: // // go tool addr2line binary // // Addr2line reads hexadecimal addresses, one per line and with optional 0x prefix, // from standard input. For each input address, addr2line prints two output lines, // first the name of the function containing the address and second the file:line // of the source code corresponding to that address. //
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Mon Apr 11 16:34:30 GMT 2022 - 2.3K bytes - Viewed (0) -
docs/debugging/hash-set/main.go
) func main() { flag.StringVar(&file, "file", "", "Read all objects from file, newline separated") flag.StringVar(&prefix, "prefix", "", "Add prefix to all objects") flag.StringVar(&object, "object", "", "Select an object") flag.StringVar(&deploymentID, "deployment-id", "", "MinIO deployment ID, obtained from 'format.json'") flag.IntVar(&setCount, "set-count", 0, "Total set count")
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Mon Sep 19 18:05:16 GMT 2022 - 3.7K bytes - Viewed (0) -
docs/debugging/inspect/main.go
) var ( keyHex = flag.String("key", "", "decryption key") privKeyPath = flag.String("private-key", "support_private.pem", "private key") stdin = flag.Bool("stdin", false, "expect 'mc support inspect' json output from stdin") export = flag.Bool("export", false, "export xl.meta") djson = flag.Bool("djson", false, "expect djson format for xl.meta") genkey = flag.Bool("genkey", false, "generate key pair") )
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Apr 11 21:22:47 GMT 2024 - 4.8K bytes - Viewed (0) -
docs/debugging/s3-verify/main.go
var srcEOF, tgtEOF bool srcSha256 := sha256.New() tgtSha256 := sha256.New() for { srcSha256.Reset() tgtSha256.Reset() srcEOF = !srcOk tgtEOF = !tgtOk // No objects from source AND target: Finish if srcEOF && tgtEOF { break } if !srcEOF && srcCtnt.Err != nil { log.Fatal(srcCtnt.Err) } if !tgtEOF && tgtCtnt.Err != nil { log.Fatal(tgtCtnt.Err)
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Wed Jun 22 15:12:47 GMT 2022 - 8.4K bytes - Viewed (0) -
docs/extensions/s3zip/examples/minio-go/main.go
}) if err != nil { log.Fatalln(err) } var opts minio.GetObjectOptions // Add extract header to request: opts.Set("x-minio-extract", "true") // Download API.md from the archive rd, err := s3Client.GetObject(context.Background(), "your-bucket", "path/to/file.zip/data.csv", opts) if err != nil { log.Fatalln(err) } _, err = io.Copy(os.Stdout, rd) if err != nil {
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Mon Jun 14 18:04:14 GMT 2021 - 694 bytes - Viewed (0) -
docs/debugging/reorder-disks/main.go
expectedDisksName[fmt.Sprintf("%d-%d", disk.index/setSize, disk.index%setSize)] = disk.path format, err := getFormatJSON(disk.path) if err != nil { log.Printf("Unable to read format.json from `%s`, error: %v\n", disk.path, err) continue } foundDiskLoc, err := getDiskLocation(format) if err != nil { log.Printf("Unable to get disk location of `%s`, error: %v\n", disk.path, err) continue
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 5.4K bytes - Viewed (0) -
docs/debugging/s3-check-md5/main.go
} objFullPath := func(obj minio.ObjectInfo) (fpath string) { fpath = path.Join(bucket, obj.Key) if versions { fpath += ":" + obj.VersionID } return } // List all objects from a bucket-name with a matching prefix. for object := range s3Client.ListObjects(context.Background(), bucket, opts) { if object.Err != nil { log.Println("FAILED: LIST with error:", object.Err) continue }
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Sat Feb 17 01:15:57 GMT 2024 - 6.3K bytes - Viewed (0)