Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 213 for NOR (0.02 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/RuleSourceApplicationTest.groovy

            def project = buildProject()
            project.apply type: CustomRuleSource
    
            then:
            project.modelRegistry.realize("foo", String) == "bar"
        }
    
        def "cannot apply a type that is neither a plugin nor a rule source"() {
            when:
            def project = buildProject()
            project.apply type: String
    
            then:
            PluginApplicationException e = thrown()
            e.cause instanceof InvalidPluginException
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/core/BuildScanAutoApplyClasspathIntegrationTest.groovy

                gradleEnterpriseFixture
            }
    
            @Override
            void assertNotAutoApplied(String output) {
                // Develocity plugin is applied neither as a transitive dependency, nor via auto-application mechanism as Gradle Enterprise plugin is present
                autoAppliedPluginFixture.notApplied(output)
            }
        }
    
        def setup() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 18:43:04 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt

            # possibly modified.
            #
            # NB: a `for` loop captures its iteration list before it begins, so
            # changing the positional parameters here affects neither the number of
            # iterations, nor the values presented in `arg`.
            shift                   # remove old arg
            set -- "\$@" "\$arg"      # push replacement arg
        done
    fi
    
    <% /*
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 13:43:33 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. cni/pkg/util/podutil_test.go

    			args: args{
    				namespace: namespaceWithAmbientEnabledLabel,
    				pod:       podWithAmbientEnabledLabel,
    			},
    			want: true,
    		},
    		{
    			name: "ambient mode enabled for neither namespace nor pod",
    			args: args{
    				namespace: unlabelledNamespace,
    				pod:       unlabelledPod,
    			},
    			want: false,
    		},
    		{
    			name: "pod has sidecar and namespace has ambient enabled",
    			args: args{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 03 19:29:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr.go

    		v, err := strconv.Atoi(s)
    		if err != nil {
    			return 0, false, fmt.Errorf("invalid value %q: %v", intOrStr.StrVal, err)
    		}
    		return int(v), true, nil
    	}
    	return 0, false, fmt.Errorf("invalid type: neither int nor percentage")
    }
    
    func getIntOrPercentValueSafely(intOrStr *IntOrString) (int, bool, error) {
    	switch intOrStr.Type {
    	case Int:
    		return intOrStr.IntValue(), false, nil
    	case String:
    		isPercent := false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. src/internal/trace/testdata/testprog/cpu-profile.go

    	for i := 0; i < 500 || time.Since(t0) < dur; i++ {
    		accum = f(accum)
    	}
    	*y = accum
    }
    
    var (
    	salt1 = 0
    )
    
    // The actual CPU hogging function.
    // Must not call other functions nor access heap/globals in the loop,
    // otherwise under race detector the samples will be in the race runtime.
    func cpuHog1(x int) int {
    	return cpuHog0(x, 1e5)
    }
    
    func cpuHog0(x, n int) int {
    	foo := x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. src/cmd/go/internal/telemetrycmd/telemetry.go

    When telemetry is in local mode, counter data is written to the local file
    system, but will not be uploaded to remote servers.
    
    When telemetry is off, local counter data is neither collected nor uploaded.
    
    When telemetry is on, telemetry data is written to the local file system
    and periodically sent to https://telemetry.go.dev/. Uploaded data is used to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 20:16:39 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. platforms/software/build-init/src/test/groovy/org/gradle/buildinit/tasks/InitBuildSpec.groovy

                'my.package',
                '2rt9.thing',
                'a.class.of.mine',
                'if.twice.then.double',
                'custom.for.stuff',
                'th-is.isnt.legal',
                'nor.is.-.this',
                'nor.is._.this',
            ]
        }
    
        def "should allow unusual but valid package name: #validPackageName"() {
            given:
            projectLayoutRegistry.get("java-library") >> defaultGenerator
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:43 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  9. src/runtime/cpuprof.go

    }
    
    // add adds the stack trace to the profile.
    // It is called from signal handlers and other limited environments
    // and cannot allocate memory or acquire locks that might be
    // held at the time of the signal, nor can it use substantial amounts
    // of stack.
    //
    //go:nowritebarrierrec
    func (p *cpuProfile) add(tagPtr *unsafe.Pointer, stk []uintptr) {
    	// Simple cas-lock to coordinate with setcpuprofilerate.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/version.go

    				return kubernetesReleaseVersion(clientVersion, fetcher)
    			}
    		}
    
    		if clientVersionErr != nil {
    			if err != nil {
    				klog.Warningf("could not obtain neither client nor remote version; fall back to: %s", constants.CurrentKubernetesVersion)
    				return kubernetesReleaseVersion(constants.CurrentKubernetesVersion.String(), fetcher)
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 10:50:19 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top