Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 590 for args_ (0.04 sec)

  1. src/net/rpc/server_test.go

    	if args.B == 0 {
    		return errors.New("divide by zero")
    	}
    	reply.C = args.A / args.B
    	return nil
    }
    
    func (t *Arith) String(args *Args, reply *string) error {
    	*reply = fmt.Sprintf("%d+%d=%d", args.A, args.B, args.A+args.B)
    	return nil
    }
    
    func (t *Arith) Scan(args string, reply *Reply) (err error) {
    	_, err = fmt.Sscan(args, &reply.C)
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 18 05:23:29 UTC 2023
    - 19K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/arch/arm/armasm/plan9x.go

    	case STR_EQ:
    		op = "MOVW" + op[3:] + suffix
    		args[0], args[1] = args[1], args[0]
    	case STRB_EQ:
    		op = "MOVB" + op[4:] + suffix
    		args[0], args[1] = args[1], args[0]
    	case STRH_EQ:
    		op = "MOVH" + op[4:] + suffix
    		args[0], args[1] = args[1], args[0]
    	case VSTR_EQ:
    		args[0], args[1] = args[1], args[0]
    	default:
    		op = op + suffix
    	}
    
    	if args != nil {
    		op += " " + strings.Join(args, ", ")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/envoyfilter/rc_patch_test.go

    		t.Run(tt.name, func(t *testing.T) {
    			savedSharedVHost := proto.Clone(tt.args.sharedRoutesVHost).(*route.VirtualHost)
    			patchHTTPRoute(tt.args.patchContext, tt.args.patches, tt.args.routeConfiguration,
    				tt.args.virtualHost, tt.args.routeIndex, tt.args.routesRemoved, tt.args.portMap, &tt.args.clonedVhostRoutes)
    			if diff := cmp.Diff(tt.want, tt.args.virtualHost, protocmp.Transform()); diff != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  4. pkg/util/iptables/iptables_test.go

    			func(cmd string, args ...string) exec.Cmd { return fakeexec.InitFakeCmd(&fcmd, cmd, args...) },
    			func(cmd string, args ...string) exec.Cmd { return fakeexec.InitFakeCmd(&fcmd, cmd, args...) },
    			func(cmd string, args ...string) exec.Cmd { return fakeexec.InitFakeCmd(&fcmd, cmd, args...) },
    			func(cmd string, args ...string) exec.Cmd { return fakeexec.InitFakeCmd(&fcmd, cmd, args...) },
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 08 15:21:59 UTC 2023
    - 46.3K bytes
    - Viewed (0)
  5. src/internal/trace/event/go122/event.go

    	EvEventBatch: event.Spec{
    		Name: "EventBatch",
    		Args: []string{"gen", "m", "time", "size"},
    	},
    	EvStacks: event.Spec{
    		Name: "Stacks",
    	},
    	EvStack: event.Spec{
    		Name:    "Stack",
    		Args:    []string{"id", "nframes"},
    		IsStack: true,
    	},
    	EvStrings: event.Spec{
    		Name: "Strings",
    	},
    	EvString: event.Spec{
    		Name:    "String",
    		Args:    []string{"id"},
    		HasData: true,
    	},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  6. pkg/scheduler/apis/config/scheme/scheme_test.go

    kind: KubeSchedulerConfiguration
    profiles:
    - pluginConfig:
      - name: DefaultPreemption
        args:
          minCandidateNodesPercentage: 50
          minCandidateNodesAbsolute: 500
      - name: InterPodAffinity
        args:
          hardPodAffinityWeight: 5
      - name: NodeResourcesFit
        args:
          ignoredResources: ["foo"]
      - name: PodTopologySpread
        args:
          defaultConstraints:
          - maxSkew: 1
            topologyKey: zone
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 13 07:42:19 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/JavaCompilerArgumentsBuilder.java

                args.add("-bootclasspath");
                args.add(bootClasspath);
            }
            if (compileOptions.getExtensionDirs() != null) {
                args.add("-extdirs");
                args.add(compileOptions.getExtensionDirs());
            }
            if (compileOptions.getHeaderOutputDirectory() != null) {
                args.add("-h");
                args.add(compileOptions.getHeaderOutputDirectory().getPath());
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:08 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. tests/integration/pilot/istioctl_test.go

    			}
    
    			var output string
    			var args []string
    			g := NewWithT(t)
    
    			args = []string{
    				"--namespace=dummy",
    				"pc", "bootstrap", fmt.Sprintf("%s.%s", podID, apps.Namespace.Name()),
    			}
    			output, _ = istioCtl.InvokeOrFail(t, args)
    			jsonOutput := jsonUnmarshallOrFail(t, strings.Join(args, " "), output)
    			g.Expect(jsonOutput).To(HaveKey("bootstrap"))
    
    			args = []string{
    				"--namespace=dummy",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. pkg/scheduler/apis/config/validation/validation_pluginargs.go

    		allErrs = append(allErrs, err)
    	}
    	if args.MinCandidateNodesPercentage == 0 && args.MinCandidateNodesAbsolute == 0 {
    		allErrs = append(allErrs,
    			field.Invalid(percentagePath, args.MinCandidateNodesPercentage, "cannot be zero at the same time as minCandidateNodesAbsolute"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 09:29:49 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/gnu.go

    				gnuArg(&inst, 0, inst.Args[0], PC),
    				gnuArg(&inst, 1, inst.Args[1], PC))
    			buf.WriteString(asm)
    			startArg = 3
    		}
    
    	case "mtfsf", "mtfsf.":
    		buf.WriteString(opName)
    		l := inst.Args[3].(Imm)
    		if l == 0 {
    			// L == 0 is an extended mnemonic for the same.
    			asm := fmt.Sprintf(" %s,%s,%s",
    				gnuArg(&inst, 0, inst.Args[0], PC),
    				gnuArg(&inst, 1, inst.Args[1], PC),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12.2K bytes
    - Viewed (0)
Back to top