Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 277 for bargs (0.03 sec)

  1. src/cmd/compile/internal/types2/subst.go

    type substMap map[*TypeParam]Type
    
    // makeSubstMap creates a new substitution map mapping tpars[i] to targs[i].
    // If targs[i] is nil, tpars[i] is not substituted.
    func makeSubstMap(tpars []*TypeParam, targs []Type) substMap {
    	assert(len(tpars) == len(targs))
    	proj := make(substMap, len(tpars))
    	for i, tpar := range tpars {
    		proj[tpar] = targs[i]
    	}
    	return proj
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. src/runtime/runtime-gdb_test.go

    		// Until gold and gdb can work together, temporarily load the
    		// python script directly.
    		args = append(args,
    			"-ex", "source "+filepath.Join(testenv.GOROOT(t), "src", "runtime", "runtime-gdb.py"),
    		)
    	} else {
    		args = append(args,
    			"-ex", "info auto-load python-scripts",
    		)
    	}
    	args = append(args,
    		"-ex", "set python print-stack full",
    		"-ex", fmt.Sprintf("br main.go:%d", bp),
    		"-ex", "run",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  3. operator/cmd/mesh/uninstall.go

    )
    
    func addUninstallFlags(cmd *cobra.Command, args *uninstallArgs) {
    	cmd.PersistentFlags().BoolVarP(&args.skipConfirmation, "skip-confirmation", "y", false, skipConfirmationFlagHelpStr)
    	cmd.PersistentFlags().BoolVar(&args.force, "force", false, ForceFlagHelpStr)
    	cmd.PersistentFlags().BoolVar(&args.purge, "purge", false, "Delete all Istio related sources for all versions")
    	cmd.PersistentFlags().StringVarP(&args.revision, "revision", "r", "", revisionFlagHelpStr)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. src/go/types/check.go

    // Otherwise, it is a no-op.
    func (a *action) describef(pos positioner, format string, args ...any) {
    	if debug {
    		a.desc = &actionDesc{pos, format, args}
    	}
    }
    
    // An actionDesc provides information on an action.
    // For debugging only.
    type actionDesc struct {
    	pos    positioner
    	format string
    	args   []any
    }
    
    // A Checker maintains the state of the type checker.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/shortcircuit.go

    			if v.Op == OpPhi {
    				m[v] = true
    			}
    		}
    		for v := range m {
    			for _, a := range v.Args {
    				if a != v && m[a] {
    					return false
    				}
    			}
    		}
    	}
    
    	// Locate index of first const phi arg.
    	cidx := -1
    	for i, a := range ctl.Args {
    		if a.Op == OpConstBool {
    			cidx = i
    			break
    		}
    	}
    	if cidx == -1 {
    		return false
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 03 17:47:02 UTC 2022
    - 12.6K bytes
    - Viewed (0)
  6. pkg/kubeapiserver/options/authentication_test.go

    	testCases := []struct {
    		name         string
    		args         []string
    		expectConfig kubeauthenticator.Config
    	}{
    		{
    			name: "username prefix is '-'",
    			args: []string{
    				"--oidc-issuer-url=https://testIssuerURL",
    				"--oidc-client-id=testClientID",
    				"--oidc-username-claim=sub",
    				"--oidc-username-prefix=-",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  7. misc/go_android_exec/main.go

    	if err != nil {
    		return 0, fmt.Errorf("adb exec-out %s: %v", args, err)
    	}
    	return exitCode, err2
    }
    
    func adb(args ...string) error {
    	if out, err := adbCmd(args...).CombinedOutput(); err != nil {
    		fmt.Fprintf(os.Stderr, "adb %s\n%s", strings.Join(args, " "), out)
    		return err
    	}
    	return nil
    }
    
    func adbCmd(args ...string) *exec.Cmd {
    	if flags := os.Getenv("GOANDROID_ADB_FLAGS"); flags != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/noderesources/balanced_allocation_test.go

    		"nvidia.com/gpu": 8,
    	}
    
    	tests := []struct {
    		pod          *v1.Pod
    		pods         []*v1.Pod
    		nodes        []*v1.Node
    		expectedList framework.NodeScoreList
    		name         string
    		args         config.NodeResourcesBalancedAllocationArgs
    		runPreScore  bool
    	}{
    		{
    			// Node1 scores (remaining resources) on 0-MaxNodeScore scale
    			// CPU Fraction: 0 / 4000 = 0%
    			// Memory Fraction: 0 / 10000 = 0%
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  9. src/database/sql/fakedb_test.go

    		if args[i].Name == name {
    			return args[i].Value
    		}
    	}
    	return nil
    }
    
    // When doInsert is true, add the row to the table.
    // When doInsert is false do prep-work and error checking, but don't
    // actually add the row to the table.
    func (s *fakeStmt) execInsert(args []driver.NamedValue, doInsert bool) (driver.Result, error) {
    	db := s.c.db
    	if len(args) != s.placeholders {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 12:38:07 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  10. pkg/scheduler/extender.go

    	var (
    		result extenderv1.ExtenderPreemptionResult
    		args   *extenderv1.ExtenderPreemptionArgs
    	)
    
    	if !h.SupportsPreemption() {
    		return nil, fmt.Errorf("preempt verb is not defined for extender %v but run into ProcessPreemption", h.extenderURL)
    	}
    
    	if h.nodeCacheCapable {
    		// If extender has cached node info, pass NodeNameToMetaVictims in args.
    		nodeNameToMetaVictims := convertToMetaVictims(nodeNameToVictims)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top