Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Lange (0.18 sec)

  1. cmd/main.go

    DESCRIPTION:
      {{.Description}}
    
    USAGE:
      {{.HelpName}} {{if .VisibleFlags}}[FLAGS] {{end}}COMMAND{{if .VisibleFlags}}{{end}} [ARGS...]
    
    COMMANDS:
      {{range .VisibleCommands}}{{join .Names ", "}}{{ "\t" }}{{.Usage}}
      {{end}}{{if .VisibleFlags}}
    FLAGS:
      {{range .VisibleFlags}}{{.}}
      {{end}}{{end}}
    VERSION:
      {{.Version}}
    `
    
    func newApp(name string) *cli.App {
    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)
  2. misc/go_android_exec/main.go

    	}
    
    	// 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
    			// binary name instead.
    			adb("exec-out", "killall -QUIT "+binName)
    		}
    	}()
    	cmd := `export TMPDIR="` + deviceGotmp + `"` +
    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)
  3. docs/debugging/hash-set/main.go

    			set := sipHashMod(prefix+object, setCount, id)
    			distrib[set] = append(distrib[set], prefix+object)
    		}
    		for set, files := range distrib {
    			fmt.Println("Set:", set+1, "Objects:", len(files))
    			if !verbose {
    				continue
    			}
    			for _, s := range files {
    				fmt.Printf("\t%s\n", s)
    			}
    		}
    		os.Exit(0)
    	}
    
    	if object == "" {
    		log.Fatalln("object name is mandatory")
    	}
    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)
  4. docs/debugging/pprofgoparser/main.go

    		fmt.Println(profFName)
    		fmt.Println(strings.Repeat("=", len(profFName)))
    		fmt.Println("")
    
    		for t, stacks := range r {
    			if less != 0 && t >= less {
    				continue
    			}
    			if goTime == 0 || math.Abs(float64(t)-float64(goTime)) <= float64(margin) {
    				for _, stack := range stacks {
    					fmt.Println(stack)
    				}
    			}
    		}
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Mar 06 11:43:16 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  5. src/cmd/asm/main.go

    	// runtime assembly code based on them.
    	if objabi.LookupPkgSpecial(ctxt.Pkgpath).AllowAsmABI {
    		for _, exp := range buildcfg.Experiment.Enabled() {
    			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)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  6. docs/debugging/reorder-disks/main.go

    	if err != nil {
    		return nil, err
    	}
    	exp := argP.Expand()
    
    	if node == "" {
    		for index, e := range exp {
    			result = append(result, localDisk{index: index, path: strings.Join(e, "")})
    		}
    	} else {
    		for index, e := range exp {
    			u, err := url.Parse(strings.Join(e, ""))
    			if err != nil {
    				return nil, err
    			}
    			if strings.Contains(u.Host, node) {
    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)
  7. docs/debugging/xl-meta/main.go

    			}
    			ok := len(splitFilled)
    			for i, sh := range splitFilled {
    				for _, v := range sh {
    					if v == 0 {
    						split[i] = nil
    						ok--
    						break
    					}
    				}
    			}
    			hasParity := 0
    			for idx, sh := range v {
    				split[idx] = sh
    				if idx >= k && len(v) > 0 {
    					hasParity++
    				}
    			}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 19.7K bytes
    - Viewed (1)
  8. docs/debugging/s3-check-md5/main.go

    	} else {
    		bucketsInfo, err := s3Client.ListBuckets(context.Background())
    		if err != nil {
    			log.Fatalln(err)
    		}
    		for _, b := range bucketsInfo {
    			buckets = append(buckets, b.Name)
    		}
    	}
    
    	for _, bucket := range buckets {
    		opts := minio.ListObjectsOptions{
    			Recursive:    true,
    			Prefix:       prefix,
    			WithVersions: versions,
    			WithMetadata: true,
    		}
    
    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)
  9. docs/debugging/xattr/main.go

    				log.Fatalln(fmt.Errorf("listing attributes failed with: %v", err))
    			}
    			names = append(names, attrs...)
    		} else {
    			names = append(names, name)
    		}
    		var data [][]string
    		for _, attr := range names {
    			value, err := getxattr(path, attr)
    			if err != nil {
    				data = append(data, []string{attr, errors.Unwrap(err).Error()})
    			} else {
    				data = append(data, []string{attr, fmt.Sprintf("%d", value)})
    			}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Dec 29 23:52:41 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  10. docs/debugging/healing-bin/main.go

    USAGE:
      {{.Name}} {{if .VisibleFlags}}[FLAGS]{{end}} [HEALINGBINFILE|INSPECTZIPFILE]
    
    files ending in '.zip' will be searched for '.healing.bin files recursively and
    printed together as a single JSON.
    
    FLAGS:
      {{range .VisibleFlags}}{{.}}
      {{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
    		}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.2K bytes
    - Viewed (0)
Back to top