Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 76 for bargs (0.03 sec)

  1. cni/pkg/plugin/plugin.go

    		}
    	}()
    
    	conf, err := parseConfig(args.StdinData)
    	if err != nil {
    		log.Errorf("istio-cni cmdAdd failed to parse config %v %v", string(args.StdinData), err)
    		return err
    	}
    
    	// Create a kube client
    	client, err := newK8sClient(*conf)
    	if err != nil {
    		return err
    	}
    
    	// Actually do the add
    	if err := doAddRun(args, conf, client, IptablesInterceptRuleMgr()); err != nil {
    		return err
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

     # Reset levels of all the loggers to default value (warning)  for a specific Ztunnel pod.
     istioctl ztunnel-config log <pod-name[.namespace]> -r
    `,
    		Aliases: []string{"o"},
    		Args: func(cmd *cobra.Command, args []string) error {
    			if err := common.validateArgs(cmd, args); err != nil {
    				return err
    			}
    			if reset && loggerLevelString != "" {
    				cmd.Println(cmd.UsageString())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 22K bytes
    - Viewed (0)
  5. cmd/endpoint-ellipses_test.go

    		t.Run("", func(t *testing.T) {
    			argPatterns := make([]ellipses.ArgPattern, len(testCase.args))
    			for i, arg := range testCase.args {
    				patterns, err := ellipses.FindEllipsesPatterns(arg)
    				if err != nil {
    					t.Fatalf("Unexpected failure %s", err)
    				}
    				argPatterns[i] = patterns
    			}
    
    			gotIndexes, err := getSetIndexes(testCase.args, testCase.totalSizes, testCase.envOverride, argPatterns)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/block.go

    //
    // }
    func (b *Block) removePhiArg(phi *Value, i int) {
    	n := len(b.Preds)
    	if numPhiArgs := len(phi.Args); numPhiArgs-1 != n {
    		b.Fatalf("inconsistent state for %v, num predecessors: %d, num phi args: %d", phi, n, numPhiArgs)
    	}
    	phi.Args[i].Uses--
    	phi.Args[i] = phi.Args[n]
    	phi.Args[n] = nil
    	phi.Args = phi.Args[:n]
    	phielimValue(phi)
    }
    
    // LackingPos indicates whether b is a block whose position should be inherited
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testplugin/plugin_test.go

    			strings.HasPrefix(e, "LD_LIBRARY_PATH=") {
    			s += " "
    			s += escape(e)
    		}
    	}
    	for _, a := range cmd.Args {
    		s += " "
    		s += escape(a)
    	}
    	s += " )"
    	return s
    }
    
    func run(t *testing.T, bin string, args ...string) string {
    	cmd := exec.Command(bin, args...)
    	cmdLine := asCommandLine(".", cmd)
    	prettyPrintf("%s\n", cmdLine)
    	cmd.Stderr = new(strings.Builder)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. build/root/Makefile

    endif
    endif
    
    # This controls the verbosity of the build.  Higher numbers mean more output.
    KUBE_VERBOSE ?= 1
    
    define ALL_HELP_INFO
    # Build code.
    #
    # Args:
    #   WHAT: Directory or Go package names to build.  If any of these directories
    #   has a 'main' package, the build will produce executable files under
    #   $(OUT_DIR)/bin.  If not specified, "everything" will be built.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/cmd/upgrade/common.go

    		if newK8sVersion == "" {
    			if err := cmdutil.ValidateExactArgNumber(args, []string{"version"}); err != nil {
    				return nil, nil, nil, nil, err
    			}
    		}
    	}
    
    	// If option was specified in both args and config file, args will overwrite the config file.
    	if len(args) == 1 {
    		newK8sVersion = args[0]
    	}
    
    	if upgradeApply {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py

          Bias and activation function are optional.
          """
    
          def __init__(
              self,
              weight_shape: Sequence[int],
          ) -> None:
            """Initializes a MatmulModel.
    
            Args:
              weight_shape: Shape of the weight tensor.
            """
            self.filters = np.random.uniform(low=-1.0, high=1.0, size=weight_shape)
    
            if bias_fn is not None:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top