Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,540 for Calling (0.47 sec)

  1. pkg/kubelet/clustertrustbundle/clustertrustbundle_manager_test.go

    	if err != nil {
    		t.Fatalf("Error while calling GetTrustAnchorsByName: %v", err)
    	}
    
    	if diff := diffBundles(gotBundle, []byte(ctb1.Spec.TrustBundle)); diff != "" {
    		t.Fatalf("Got bad bundle; diff (-got +want)\n%s", diff)
    	}
    
    	gotBundle, err = ctbManager.GetTrustAnchorsByName("ctb2", false)
    	if err != nil {
    		t.Fatalf("Error while calling GetTrustAnchorsByName: %v", err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/AbstractClassBackedManagedTypeIntegrationTest.groovy

                }
    
                apply type: RulePlugin
            '''
    
            then:
            fails 'tasks'
    
            and:
            failure.assertHasCause("Calling setters of a managed type on itself is not allowed")
        }
    
        def "calling setters of super class from non-abstract getters is not allowed"() {
            when:
            defineCallsSetterInNonAbstractGetterClass()
            buildFile << '''
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/file/FileTreeElement.java

        /**
         * Opens this file as an input stream. Generally, calling this method is more performant than calling {@code new
         * FileInputStream(getFile())}.
         *
         * @return The input stream. Never returns null. The caller is responsible for closing this stream.
         */
        InputStream open();
    
        /**
         * Copies the content of this file to an output stream. Generally, calling this method is more performant than
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 13:43:13 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/options/tracing_test.go

    				t.Errorf("calling ReadTracingConfiguration expected error: %s, did not get it", *tc.expectedError)
    			}
    			if err != nil && tc.expectedError == nil {
    				t.Errorf("unexpected error calling ReadTracingConfiguration got: %#v", err)
    			}
    			if err != nil && tc.expectedError != nil && !strings.HasPrefix(err.Error(), *tc.expectedError) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 05 02:24:38 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  5. src/runtime/debugcall.go

    	getg().schedlink.set(callingG)
    	mcall(func(gp *g) {
    		callingG := gp.schedlink.ptr()
    		gp.schedlink = 0
    
    		// Unlock this goroutine from the M if necessary. The
    		// calling G will relock.
    		if gp.lockedm != 0 {
    			gp.lockedm = 0
    			gp.m.lockedg = 0
    		}
    
    		// Switch back to the calling goroutine. At some point
    		// the scheduler will schedule us again and we'll
    		// finish exiting.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 20:50:21 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dependencies/DefaultMutableVersionConstraintTest.groovy

            when:
            version.reject('1.0.1', '1.0.2')
    
            then:
            version.requiredVersion == '1.0'
            version.rejectedVersions == ['1.0.1', '1.0.2']
        }
    
        def "calling 'prefers' resets the list of rejects"() {
            given:
            def version = new DefaultMutableVersionConstraint('1.0')
            version.reject('1.0.1')
    
            when:
            version.prefer('1.1')
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/CircularEvaluationSpec.groovy

         * @param <T> the provider value type
         */
        static abstract class CircularFunctionEvaluationSpec<T> extends CircularEvaluationSpec<T> {
            abstract ProviderInternal<T> providerWithSelfReference()
    
            def "calling #consumer throws exception if user code causes circular evaluation"(
                Consumer<ProviderInternal<?>> consumer
            ) {
                given:
                def provider = providerWithSelfReference()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 20:21:32 UTC 2023
    - 8K bytes
    - Viewed (0)
  8. platforms/jvm/language-jvm/src/main/java/org/gradle/api/plugins/FeatureSpec.java

         * @param sourceSet the source set
         */
        void usingSourceSet(SourceSet sourceSet);
    
        /**
         * Declares a capability of this feature.
         * <p>
         * Calling this method multiple times will declare <i>additional</i>
         * capabilities. Note that calling this method will drop the default
         * capability that is added by
         * {@link JavaPluginExtension#registerFeature(String, org.gradle.api.Action)}.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 18:44:49 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/TransformBackedProviderTest.groovy

        }
    
        def "does not fail when calling get() after producer task has completed"() {
            given:
            def property = propertyWithCompletedProducer()
            def provider = property.map { Integer.parseInt(it) }
    
            when:
            provider.get()
    
            then:
            0 * progressEventEmitter._
        }
    
        def "fails when calling getOrNull() before producer task has completed"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 15:06:10 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/DeprecatedConfigurationUsageIntegrationTest.groovy

        }
    
        def "calling deprecated usage produces a deprecation warning"() {
            given:
            buildFile << """
                configurations.consumable('custom')
    
                configurations.custom.getConsistentResolutionSource()
            """
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 02:32:37 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top