Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for usage (0.2 sec)

  1. cmd/main.go

    		Value:  defaultConfigDir.Get(),
    		Usage:  "[DEPRECATED] path to legacy configuration directory",
    		Hidden: true,
    	},
    	cli.StringFlag{
    		Name:  "certs-dir, S",
    		Value: defaultCertsDir.Get(),
    		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",
    	},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  2. src/cmd/addr2line/main.go

    	// pprof expects this behavior when checking for addr2line
    	if len(os.Args) > 1 && os.Args[1] == "--help" {
    		printUsage(os.Stdout)
    		os.Exit(0)
    	}
    
    	flag.Usage = usage
    	flag.Parse()
    	if flag.NArg() != 1 {
    		usage()
    	}
    
    	f, err := objfile.Open(flag.Arg(0))
    	if err != nil {
    		log.Fatal(err)
    	}
    	defer f.Close()
    
    	tab, err := f.PCLineTable()
    	if err != nil {
    		log.Fatalf("reading %s: %v", flag.Arg(0), err)
    	}
    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)
  3. src/cmd/cgo/internal/swig/testdata/callback/main.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"fmt"
    	"os"
    )
    
    func main() {
    	if len(os.Args) != 2 {
    		fatal("usage: callback testname")
    	}
    	switch os.Args[1] {
    	default:
    		fatal("unknown test %q", os.Args[1])
    	case "Call":
    		testCall()
    	case "Callback":
    		testCallback()
    	}
    	println("OK")
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 1K bytes
    - Viewed (0)
  4. docs/debugging/healing-bin/main.go

    	"github.com/minio/cli"
    	"github.com/tinylib/msgp/msgp"
    )
    
    func main() {
    	app := cli.NewApp()
    	app.Copyright = "MinIO, Inc."
    	app.Usage = "healing.bin to JSON"
    	app.HideVersion = true
    	app.HideHelpCommand = true
    	app.CustomAppHelpTemplate = `NAME:
      {{.Name}} - {{.Usage}}
    
    USAGE:
      {{.Name}} {{if .VisibleFlags}}[FLAGS]{{end}} [HEALINGBINFILE|INSPECTZIPFILE]
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  5. docs/debugging/hash-set/main.go

    // - 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
    	k0, k1 := binary.LittleEndian.Uint64(id[0:8]), binary.LittleEndian.Uint64(id[8:16])
    	sum64 := siphash.Hash(k0, k1, []byte(key))
    	return int(sum64 % uint64(cardinality))
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  6. docs/debugging/inspect/main.go

    		if err != nil {
    			fatalErr(err)
    		}
    		fatalErr(json.Unmarshal(got, &input))
    		inputFileName = input.File
    		*keyHex = input.Key
    	case len(flag.Args()) == 1:
    		inputFileName = flag.Args()[0]
    	default:
    		flag.Usage()
    		fatalIf(true, "Only 1 file can be decrypted")
    		os.Exit(1)
    	}
    
    	// Calculate the output file name
    	switch {
    	case strings.HasSuffix(inputFileName, ".enc"):
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  7. docs/debugging/xl-meta/main.go

    	app.Flags = []cli.Flag{
    		cli.BoolFlag{
    			Usage:  "print each file as a separate line without formatting",
    			Name:   "ndjson",
    			Hidden: true,
    		},
    		cli.BoolFlag{
    			Usage: "display inline data keys and sizes",
    			Name:  "data",
    		},
    		cli.BoolFlag{
    			Usage: "export inline data",
    			Name:  "export",
    		},
    		cli.BoolFlag{
    			Usage: "combine inline data",
    			Name:  "combine",
    		},
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
Back to top