Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 60 for beforeSend (0.14 sec)

  1. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

            then:
            1 * host.beforeRead(null) >> "<reason>"
    
            and:
            def e = thrown(IllegalStateException)
            e.message == "Cannot query the value of this property because <reason>."
    
            when:
            property.attachOwner(owner(), displayName("<display-name>"))
            property.get()
    
            then:
            1 * host.beforeRead(null) >> "<reason>"
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValueState.java

            }
    
            @Override
            public boolean shouldFinalize(Describable displayName, @Nullable ModelObject producer) {
                if (disallowUnsafeRead) {
                    String reason = host.beforeRead(producer);
                    if (reason != null) {
                        throw new IllegalStateException(cannotFinalizeValueOf(displayName, reason));
                    }
                }
                return true;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/MappingProvider.java

                throw new IllegalStateException("The transformer in MappingProvider must always return a value");
            }
            return transformedValue;
        }
    
        @Override
        protected void beforeRead(EvaluationContext.ScopeContext context) {}
    
        @Override
        protected String toStringNoReentrance() {
            return "map(" + (type == null ? "" : type.getName() + " ") + provider + " " + transformer + ")";
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/FileSystemPropertySpec.groovy

            prop.attachProducer(owner(task))
            prop.disallowUnsafeRead()
    
            when:
            def result = location.present
    
            then:
            result
            1 * host.beforeRead(null) >> null
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. src/reflect/example_test.go

    	// 42
    	// unhandled kind func
    }
    
    func ExampleMakeFunc() {
    	// swap is the implementation passed to MakeFunc.
    	// It must work in terms of reflect.Values so that it is possible
    	// to write code without knowing beforehand what the types
    	// will be.
    	swap := func(in []reflect.Value) []reflect.Value {
    		return []reflect.Value{in[1], in[0]}
    	}
    
    	// makeSwap expects fptr to be a pointer to a nil function.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 19 20:04:36 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_unified_experimental.h

    // TF_OutputList holds the list of TF_AbstractTensor that results from executing
    // an operation, or provided to create a function.
    // When executing an operation in an eager context, the expected number of
    // outputs must be set beforehand with `TF_OutputListSetNumOutputs`.
    typedef struct TF_OutputList TF_OutputList;
    TF_OutputList* TF_NewOutputList();
    void TF_DeleteOutputList(TF_OutputList* o);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Oct 24 11:27:00 UTC 2021
    - 7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/cli-runtime/pkg/resource/query_param_verifier_v3.go

    // which implements the Verifier interface. The caching characteristics of the
    // OpenAPI V3 specs are determined by the passed oapiClient. For memory caching, the
    // client should be wrapped beforehand as: cached.NewClient(oapiClient). The disk
    // caching is determined by the discovery client the oapiClient is created from.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 01:23:27 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/internal/classpath/transforms/ClasspathElementTransformForAgent.java

        @Override
        protected void processClassFile(ClasspathBuilder.EntryBuilder builder, ClasspathEntryVisitor.Entry classEntry) throws IOException {
            // We can filter out "unsupported" classes without checking the manifest beforehand.
            // Even if this JAR isn't multi-release per manifest, classes in META-INF/ cannot be loaded, so they are just weird resources.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 20:14:01 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/cmd/phases/join/preflight.go

    		fmt.Println("[preflight] This might take a minute or two, depending on the speed of your internet connection")
    		fmt.Println("[preflight] You can also perform this action beforehand using 'kubeadm config images pull'")
    		if err := preflight.RunPullImagesCheck(utilsexec.New(), initCfg, j.IgnorePreflightErrors()); err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. src/go/types/methodset.go

    // Note: NewMethodSet is intended for external use only as it
    //       requires interfaces to be complete. It may be used
    //       internally if LookupFieldOrMethod completed the same
    //       interfaces beforehand.
    
    // NewMethodSet returns the method set for the given type T.
    // It always returns a non-nil method set, even if it is empty.
    func NewMethodSet(T Type) *MethodSet {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
Back to top