Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for Ui (0.08 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/driver/webui.go

    		ui.options.UI.PrintErr(err)
    		return nil, nil
    	}
    	if configEditor != nil {
    		configEditor(&cfg)
    	}
    	catcher := &errorCatcher{UI: ui.options.UI}
    	options := *ui.options
    	options.UI = catcher
    	_, rpt, err := generateRawReport(ui.copier.newCopy(), cmd, cfg, &options)
    	if err != nil {
    		http.Error(w, err.Error(), http.StatusBadRequest)
    		ui.options.UI.PrintErr(err)
    		return nil, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 14K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/driver/fetch.go

    				o.UI.PrintErr("Saved profile in ", tempFile.Name())
    			}
    		}
    		if err != nil {
    			o.UI.PrintErr("Could not save profile: ", err)
    		}
    	}
    
    	if err := p.CheckValid(); err != nil {
    		return nil, err
    	}
    
    	return p, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/driver/stacks.go

    		http.Error(w, "error serializing stacks for flame graph",
    			http.StatusInternalServerError)
    		ui.options.UI.PrintErr(err)
    		return
    	}
    
    	nodes := make([]string, len(stacks.Sources))
    	for i, src := range stacks.Sources {
    		nodes[i] = src.FullName
    	}
    	nodes[0] = "" // root is not a real node
    
    	_, legend := report.TextItems(rpt)
    	ui.render(w, req, "stacks", rpt, errList, legend, webArgs{
    		Stacks:   template.JS(b),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/symbolizer/symbolizer.go

    			case "default":
    				continue
    			}
    			s.UI.PrintErr("ignoring unrecognized symbolization option: " + mode)
    			s.UI.PrintErr("expecting -symbolize=[local|fastlocal|remote|none][:force][:demangle=[none|full|templates|default]")
    		}
    	}
    
    	var err error
    	if local {
    		// Symbolize locally using binutils.
    		if err = localSymbolize(p, fast, force, s.Obj, s.UI); err != nil {
    			s.UI.PrintErr("local symbolization: " + err.Error())
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/internal/driver/driver.go

    func generateTagRootsLeaves(prof *profile.Profile, cfg config, ui plugin.UI) {
    	tagRootLabelKeys := dropEmptyStrings(strings.Split(cfg.TagRoot, ","))
    	tagLeafLabelKeys := dropEmptyStrings(strings.Split(cfg.TagLeaf, ","))
    	rootm, leafm := addLabelNodes(prof, tagRootLabelKeys, tagLeafLabelKeys, cfg.Unit)
    	warnNoMatches(cfg.TagRoot == "" || rootm, "TagRoot", ui)
    	warnNoMatches(cfg.TagLeaf == "" || leafm, "TagLeaf", ui)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/driver/driver.go

    }
    
    // A UI manages user interactions.
    type UI interface {
    	// ReadLine returns a line of text (a command) read from the user.
    	// prompt is printed before reading the command.
    	ReadLine(prompt string) (string, error)
    
    	// Print shows a message to the user.
    	// It formats the text as fmt.Print would and adds a final \n if not already present.
    	// For line-based UI, Print writes to standard error.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go

    }
    
    // A UI manages user interactions.
    type UI interface {
    	// ReadLine returns a line of text (a command) read from the user.
    	// prompt is printed before reading the command.
    	ReadLine(prompt string) (string, error)
    
    	// Print shows a message to the user.
    	// It formats the text as fmt.Print would and adds a final \n if not already present.
    	// For line-based UI, Print writes to standard error.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. cmd/ftp-server-driver.go

    	}
    
    	ui, ok := globalIAMSys.GetUser(context.Background(), username)
    	if !ok {
    		return false, nil
    	}
    	return subtle.ConstantTimeCompare([]byte(ui.Credentials.SecretKey), []byte(password)) == 1, nil
    }
    
    func (driver *ftpDriver) getMinIOClient(ctx *ftp.Context) (*minio.Client, error) {
    	ui, ok := globalIAMSys.GetUser(context.Background(), ctx.Sess.LoginUser())
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 14K bytes
    - Viewed (0)
  9. cmd/sftp-server.go

    		if subtle.ConstantTimeCompare([]byte(ui.Credentials.SecretKey), pass) != 1 {
    			return nil, errAuthentication
    		}
    	}
    
    	return &ssh.Permissions{
    		CriticalOptions: map[string]string{
    			"AccessKey":    ui.Credentials.AccessKey,
    			"SecretKey":    ui.Credentials.SecretKey,
    			"SessionToken": ui.Credentials.SessionToken,
    		},
    		Extensions: make(map[string]string),
    	}, nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 16K bytes
    - Viewed (0)
  10. manifests/addons/dashboards/README.md

    This is the preferred method for any new dashboards.
    
    ## Legacy Dashboards
    
    Many of our older dashboards are manually created in the UI and exported as JSON and checked in.
    
    ## Generation
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 815 bytes
    - Viewed (0)
Back to top