Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for maxargs (0.12 sec)

  1. src/runtime/export_windows_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Export guts for testing.
    
    package runtime
    
    import "unsafe"
    
    const MaxArgs = maxArgs
    
    var (
    	OsYield                 = osyield
    	TimeBeginPeriodRetValue = &timeBeginPeriodRetValue
    )
    
    func NumberOfProcessors() int32 {
    	var info systeminfo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 17:25:00 UTC 2024
    - 759 bytes
    - Viewed (0)
  2. src/internal/trace/base.go

    	"internal/trace/event/go122"
    	"internal/trace/version"
    )
    
    // maxArgs is the maximum number of arguments for "plain" events,
    // i.e. anything that could reasonably be represented as a baseEvent.
    //
    // TODO(mknyszek): This is only 6 instead of 5 because GoStatusStack
    // has 5 arguments and needs to smuggle in a 6th. Figure out a way to
    // shrink this in the future.
    const maxArgs = 6
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. operator/cmd/mesh/manifest.go

    	}
    
    	mgcArgs := &ManifestGenerateArgs{}
    	mdcArgs := &manifestDiffArgs{}
    
    	args := &RootArgs{}
    
    	mgc := ManifestGenerateCmd(ctx, args, mgcArgs)
    	mdc := manifestDiffCmd(mdcArgs)
    	ic := InstallCmd(ctx)
    
    	addFlags(mc, args)
    	addFlags(mgc, args)
    	addFlags(mdc, args)
    
    	addManifestGenerateFlags(mgc, mgcArgs)
    	addManifestDiffFlags(mdc, mdcArgs)
    
    	mc.AddCommand(mgc)
    	mc.AddCommand(mdc)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/util/WrapUtil.java

         */
        @SafeVarargs
        @SuppressWarnings("varargs")
        public static <T> Set<T> toSet(T... items) {
            logDeprecation(7);
            Set<T> coll = new HashSet<T>();
            Collections.addAll(coll, items);
            return coll;
        }
    
        /**
         * Wraps the given items in a mutable domain object set.
         */
        @SafeVarargs
        @SuppressWarnings("varargs")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jan 28 16:04:22 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/SettingsIncludeManyIntegrationTest.groovy

                includeFunction == 'includeFlat' ? "../" + name : name
            }) as String[])
        }
    
        @Requires(UnitTestPreconditions.IsGroovy3)
        def "including over 250 projects is not possible via varargs in Groovy 3"() {
            createProjectDirectories(254, includeFunction)
            // Groovy doesn't even support >=255 args at compilation, so to trigger the right error
            // 254 projects must be used instead.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  6. testing/performance/src/performanceTest/groovy/org/gradle/performance/experiment/maven/JavaTestGradleVsMavenPerformanceTest.groovy

            runner.gradleTasks = ["clean", gradleTask]
            runner.equivalentMavenTasks = ["clean", mavenTask]
            if (mavenTask == "package") {
                runner.mvnArgs << "-Dmaven.test.skip=true"
            }
            runner.warmUpRuns = 2
            runner.runs = 5
    
            when:
            def results = runner.run()
    
            then:
            results.assertFasterThanMaven()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/sys/cpu/cpu_gccgo_x86.go

    //go:build (386 || amd64 || amd64p32) && gccgo
    
    package cpu
    
    //extern gccgoGetCpuidCount
    func gccgoGetCpuidCount(eaxArg, ecxArg uint32, eax, ebx, ecx, edx *uint32)
    
    func cpuid(eaxArg, ecxArg uint32) (eax, ebx, ecx, edx uint32) {
    	var a, b, c, d uint32
    	gccgoGetCpuidCount(eaxArg, ecxArg, &a, &b, &c, &d)
    	return a, b, c, d
    }
    
    //extern gccgoXgetbv
    func gccgoXgetbv(eax, edx *uint32)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 795 bytes
    - Viewed (0)
  8. cmd/api-resources.go

    func getObjectResources(values url.Values) (uploadID string, partNumberMarker, maxParts int, encodingType string, errCode APIErrorCode) {
    	var err error
    	errCode = ErrNone
    
    	if values.Get("max-parts") != "" {
    		if maxParts, err = strconv.Atoi(values.Get("max-parts")); err != nil {
    			errCode = ErrInvalidMaxParts
    			return
    		}
    	} else {
    		maxParts = maxPartsList
    	}
    
    	if values.Get("part-number-marker") != "" {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 07 18:25:26 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/sys/cpu/cpu_x86.s

    // license that can be found in the LICENSE file.
    
    //go:build (386 || amd64 || amd64p32) && gc
    
    #include "textflag.h"
    
    // func cpuid(eaxArg, ecxArg uint32) (eax, ebx, ecx, edx uint32)
    TEXT ·cpuid(SB), NOSPLIT, $0-24
    	MOVL eaxArg+0(FP), AX
    	MOVL ecxArg+4(FP), CX
    	CPUID
    	MOVL AX, eax+8(FP)
    	MOVL BX, ebx+12(FP)
    	MOVL CX, ecx+16(FP)
    	MOVL DX, edx+20(FP)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 600 bytes
    - Viewed (0)
  10. build-logic/kotlin-dsl/src/test/kotlin/gradlebuild/kotlindsl/generator/codegen/FunctionSinceRepositoryTest.kt

                        listOf("java.lang.String"),
                        false
                    )
                )
            )
        }
    
        @Test
        fun `can extract JavaFunction from single parameter with varargs signature string`() {
            assertThat(
                javaFunctionOf("org.gradle.SomeType.methodMan(java.lang.String[])"),
                equalTo(
                    JavaFunction(
                        "org.gradle.SomeType",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Nov 12 16:16:08 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top