Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 143 for bargs (0.04 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/DynamicObjectIntegrationTest.groovy

            buildFile """
                class DynamicThing {
                    def methods = [:]
                    def props = [:]
    
                    def methodMissing(String name, args) {
                        methods[name] = args.toList()
                    }
    
                    def propertyMissing(String name) {
                        props[name]
                    }
    
                    def propertyMissing(String name, value) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  2. src/internal/coverage/cfile/ts_test.go

    	src := filepath.Join(dstdir, "hello.go")
    	if err := os.WriteFile(src, []byte(hellogo), 0777); err != nil {
    		t.Fatalf("write failed: %v", err)
    	}
    	args := []string{"run", "-covermode=" + testing.CoverMode(), src}
    	cmd := exec.Command(testenv.GoToolPath(t), args...)
    	cmd.Env = updateGoCoverDir(os.Environ(), dstdir, true)
    	if b, err := cmd.CombinedOutput(); err != nil {
    		t.Fatalf("go run failed (%v): %s", err, b)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:58:07 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. src/internal/trace/testdata/cmd/gotraceraw/main.go

    import (
    	"flag"
    	"fmt"
    	"io"
    	"log"
    	"os"
    
    	"internal/trace/raw"
    	"internal/trace/version"
    )
    
    func init() {
    	flag.Usage = func() {
    		fmt.Fprintf(flag.CommandLine.Output(), "Usage: %s [mode]\n", os.Args[0])
    		fmt.Fprintf(flag.CommandLine.Output(), "\n")
    		fmt.Fprintf(flag.CommandLine.Output(), "Supported modes:")
    		fmt.Fprintf(flag.CommandLine.Output(), "\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:29 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. src/go/types/typexpr.go

    	}
    	if !isValid(gtyp) {
    		return gtyp // error already reported
    	}
    
    	// evaluate arguments
    	targs := check.typeList(ix.Indices)
    	if targs == nil {
    		return Typ[Invalid]
    	}
    
    	if orig, _ := gtyp.(*Alias); orig != nil {
    		return check.instance(ix.Pos(), orig, targs, nil, check.context())
    	}
    
    	orig := asNamed(gtyp)
    	if orig == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheLambdaIntegrationTest.groovy

                                CommandLineArgumentProvider cmdLineArgumentProvider = () -> Collections.singleton("-Dfoo=bar");
                                task.doLast(t -> {
                                    System.out.println("args: " + cmdLineArgumentProvider.asArguments());
                                });
                            });
                        }
                    }
                """
            }
    
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DynamicFunctionDescValueParameterSymbol.kt

        override val annotations: KaAnnotationList
            get() = withValidityAssertion { KaEmptyAnnotationList(token) }
    
        override val name: Name
            get() = withValidityAssertion { Name.identifier("args") }
    
        override val hasDefaultValue: Boolean
            get() = withValidityAssertion { false }
    
        override val isVararg: Boolean
            get() = withValidityAssertion { true }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modcmd/edit.go

    	}
    
    	if *editJSON && *editPrint {
    		base.Fatalf("go: cannot use both -json and -print")
    	}
    
    	if len(args) > 1 {
    		base.Fatalf("go: too many arguments")
    	}
    	var gomod string
    	if len(args) == 1 {
    		gomod = args[0]
    	} else {
    		gomod = modload.ModFilePath()
    	}
    
    	if *editModule != "" {
    		if err := module.CheckImportPath(*editModule); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  8. src/go/types/api_test.go

    			for ii, inst := range instances {
    				var targs []Type
    				for i := 0; i < inst.Inst.TypeArgs.Len(); i++ {
    					targs = append(targs, inst.Inst.TypeArgs.At(i))
    				}
    				typ := inst.Inst.Type
    
    				testInst := test.instances[ii]
    				if got := inst.Ident.Name; got != testInst.name {
    					t.Fatalf("got name %s, want %s", got, testInst.name)
    				}
    				if len(targs) != len(testInst.targs) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheProblems.kt

        private
        fun hasTooManyProblems(summary: Summary) =
            summary.nonSuppressedProblemCount > startParameter.maxProblems
    
        private
        fun log(msg: String, vararg args: Any = emptyArray()) {
            logger.warn(msg, *args)
        }
    
        private
        val logger = Logging.getLogger(ConfigurationCacheProblems::class.java)
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:04:02 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. cmd/kube-controller-manager/app/options/options_test.go

    	fs := pflag.NewFlagSet("addflagstest", pflag.ContinueOnError)
    	s, _ := NewKubeControllerManagerOptions()
    	// flag set to parse the args that are required to start the kube controller manager
    	for _, f := range s.Flags([]string{""}, []string{""}, nil).FlagSets {
    		fs.AddFlagSet(f)
    	}
    
    	fs.Parse(args)
    	// Sort GCIgnoredResources because it's built from a map, which means the
    	// insertion order is random.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top