Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 143 for bargs (0.08 sec)

  1. src/crypto/tls/key_schedule_test.go

    	ae 99 01 41 c5 92 4d 57 bb 6f a3 1b 9e 5f 9d`))
    
    	type args struct {
    		secret     []byte
    		label      string
    		transcript hash.Hash
    	}
    	tests := []struct {
    		name string
    		args args
    		want []byte
    	}{
    		{
    			`derive secret for handshake "tls13 derived"`,
    			args{
    				parseVector(`PRK (32 octets):  33 ad 0a 1c 60 7e c0 3b 09 e6 cd 98 93 68 0c e2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go

    			}
    			// reflection requires that the value be addressable in order to call set,
    			// so we must ensure the value we created is available on the heap (not a problem
    			// for normal usage)
    			if !tt.args.v.CanAddr() {
    				x := reflect.New(tt.args.v.Type())
    				x.Elem().Set(tt.args.v)
    				tt.args.v = x.Elem()
    			}
    			growSlice(tt.args.v, tt.args.maxCapacity, tt.args.sizes...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewritePPC64latelower.go

    		}
    		v.reset(OpSelect1)
    		v.Type = t
    		v.AddArg(z)
    		return true
    	}
    	return false
    }
    func rewriteValuePPC64latelower_OpPPC64ISEL(v *Value) bool {
    	v_2 := v.Args[2]
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	// match: (ISEL [a] x (MOVDconst [0]) z)
    	// result: (ISELZ [a] x z)
    	for {
    		a := auxIntToInt32(v.AuxInt)
    		x := v_0
    		if v_1.Op != OpPPC64MOVDconst || auxIntToInt64(v_1.AuxInt) != 0 {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  4. src/os/exec/exec_test.go

    	"hang":          cmdHang,
    }
    
    func cmdEcho(args ...string) {
    	iargs := []any{}
    	for _, s := range args {
    		iargs = append(iargs, s)
    	}
    	fmt.Println(iargs...)
    }
    
    func cmdEchoEnv(args ...string) {
    	for _, s := range args {
    		fmt.Println(os.Getenv(s))
    	}
    }
    
    func cmdCat(args ...string) {
    	if len(args) == 0 {
    		io.Copy(os.Stdout, os.Stdin)
    		return
    	}
    	exit := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  5. cni/pkg/plugin/plugin_test.go

    	}
    }
    
    func Test_dedupPorts(t *testing.T) {
    	type args struct {
    		ports []string
    	}
    	tests := []struct {
    		name string
    		args args
    		want []string
    	}{
    		{
    			name: "No duplicates",
    			args: args{ports: []string{"1234", "2345"}},
    			want: []string{"1234", "2345"},
    		},
    		{
    			name: "Sequential Duplicates",
    			args: args{ports: []string{"1234", "1234", "2345", "2345"}},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  6. src/cmd/nm/nm.go

    		os.Exit(2)
    	}
    
    	args := flag.Args()
    	filePrefix = len(args) > 1
    	if len(args) == 0 {
    		flag.Usage()
    	}
    
    	for _, file := range args {
    		nm(file)
    	}
    
    	os.Exit(exitCode)
    }
    
    var exitCode = 0
    
    func errorf(format string, args ...any) {
    	log.Printf(format, args...)
    	exitCode = 1
    }
    
    func nm(file string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/cmd/compile/internal/ssa/export_test.go

    }
    
    func (d TestFrontend) Logf(msg string, args ...interface{}) { d.t.Logf(msg, args...) }
    func (d TestFrontend) Log() bool                            { return true }
    
    func (d TestFrontend) Fatalf(_ src.XPos, msg string, args ...interface{}) { d.t.Fatalf(msg, args...) }
    func (d TestFrontend) Warnl(_ src.XPos, msg string, args ...interface{})  { d.t.Logf(msg, args...) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 21:19:39 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. tests/integration/ambient/wasm_test.go

    }
    
    func applyWasmConfig(ctx framework.TestContext, ns string, args map[string]any, path string) error {
    	return ctx.ConfigIstio().EvalFile(ns, args, path).Apply()
    }
    
    func installWasmExtension(ctx framework.TestContext, pluginName, wasmModuleURL, imagePullPolicy, pluginVersion, targetType, targetName, path string) error {
    	kind, group, name := getTargetRefValues(targetType, targetName)
    
    	args := map[string]any{
    		"WasmPluginName":    pluginName,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 21:02:05 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top