Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 237 for bargs (0.92 sec)

  1. src/runtime/syscall_windows_test.go

    	t := reflect.TypeOf(f.goFunc)
    	cTypes := make([]string, t.NumIn())
    	cArgs := make([]string, t.NumIn())
    	for i := range cTypes {
    		// We included stdint.h, so this works for all sized
    		// integer types, and uint8Pair_t.
    		cTypes[i] = t.In(i).Name() + "_t"
    		if t.In(i).Name() == "uint8Pair" {
    			cArgs[i] = fmt.Sprintf("(uint8Pair_t){%d,1}", i)
    		} else {
    			cArgs[i] = fmt.Sprintf("%d", i+1)
    		}
    	}
    	fmt.Fprintf(w, `
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 16:31:35 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go

    		if !ok || !it.Empty() {
    			// Skip variadic functions accepting non-interface{} args.
    			return
    		}
    	}
    	args := call.Args
    	if len(args) <= firstArg {
    		// Skip calls without variadic args.
    		return
    	}
    	args = args[firstArg:]
    
    	if firstArg == 0 {
    		if sel, ok := call.Args[0].(*ast.SelectorExpr); ok {
    			if x, ok := sel.X.(*ast.Ident); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  3. cmd/endpoint-ellipses.go

    // This applies to even distributed setup syntax as well.
    func GetAllSets(setDriveCount uint64, args ...string) ([][]string, error) {
    	var setArgs [][]string
    	if !ellipses.HasEllipses(args...) {
    		var setIndexes [][]uint64
    		// Check if we have more one args.
    		if len(args) > 1 {
    			var err error
    			setIndexes, err = getSetIndexes(args, []uint64{uint64(len(args))}, setDriveCount, nil)
    			if err != nil {
    				return nil, err
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/op.go

    	for i := int64(0); i < a.NResults(); i++ {
    		tys = append(tys, a.TypeOfResult(i))
    	}
    	tys = append(tys, types.TypeMem)
    	return types.NewResults(tys)
    }
    
    // NArgs returns the number of arguments (including receiver, if there is one).
    func (a *AuxCall) NArgs() int64 {
    	return int64(len(a.abiInfo.InParams()))
    }
    
    // String returns "AuxCall{<fn>}"
    func (a *AuxCall) String() string {
    	var fn string
    	if a.Fn == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  5. src/cmd/go/internal/script/cmds.go

    			},
    		},
    		func(s *State, args ...string) (WaitFunc, error) {
    			return nil, doCompare(s, true, args...)
    		})
    }
    
    func doCompare(s *State, env bool, args ...string) error {
    	quiet := false
    	if len(args) > 0 && args[0] == "-q" {
    		quiet = true
    		args = args[1:]
    	}
    	if len(args) != 2 {
    		return ErrUsage
    	}
    
    	name1, name2 := args[0], args[1]
    	var text1, text2 string
    	switch name1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/DefaultBuildLauncherTest.groovy

            then:
            1 * asyncConnection.run(!null, !null) >> { args ->
                ConsumerAction<GradleProject> action = args[0]
                action.run(connection)
                adaptedHandler = args[1]
                adaptedHandler.onComplete(null)
            }
            1 * connection.run(Void, _) >> {args ->
                ConsumerOperationParameters params = args[1]
                assert params.tasks == []
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/DefaultRepositoryHandlerTest.groovy

            1 * repo1.content(_) >> { args ->
                args[0].execute(repo1Content)
            }
            1 * repo1Content.includeGroup("foo")
            1 * repo2.content(_) >> { args ->
                args[0].execute(repo2Content)
            }
            1 * repo2Content.excludeGroup("foo")
            1 * repo3.content(_) >> { args ->
                args[0].execute(repo3Content)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 18:02:33 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  8. src/cmd/go/main.go

    	telemetry.Inc("go/invocations")
    	telemetry.CountFlags("go/flag:", *flag.CommandLine)
    
    	args := flag.Args()
    	if len(args) < 1 {
    		base.Usage()
    	}
    
    	cfg.CmdName = args[0] // for error messages
    	if args[0] == "help" {
    		telemetry.Inc("go/subcommand:" + strings.Join(append([]string{"help"}, args[1:]...), "-"))
    		help.Help(os.Stdout, args[1:])
    		return
    	}
    
    	if cfg.GOROOT == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:09:11 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. cluster/gce/gci/configure.sh

      if [[ "${kube_addon_registry}" != "registry.k8s.io" ]]; then
        find "${dst_dir}" \( -name '*.yaml' -or -name '*.yaml.in' \) -print0 | \
          xargs -0 sed -ri "s@(image:\s.*)registry.k8s.io@\1${kube_addon_registry}@"
        find "${dst_dir}" \( -name '*.manifest' -or -name '*.json' \) -print0 | \
          xargs -0 sed -ri "s@(image\":\s+\")registry.k8s.io@\1${kube_addon_registry}@"
      fi
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 04:14:02 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  10. src/syscall/mksyscall.pl

    				push @args, "uintptr($name)";
    			}
    		} elsif($type eq "int64" && $_32bit ne "") {
    			if(@args % 2 && $arm) {
    				# arm abi specifies 64-bit argument uses
    				# (even, odd) pair
    				push @args, "0"
    			}
    			if($_32bit eq "big-endian") {
    				push @args, "uintptr($name>>32)", "uintptr($name)";
    			} else {
    				push @args, "uintptr($name)", "uintptr($name>>32)";
    			}
    		} else {
    			push @args, "uintptr($name)";
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:15:02 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top