Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,265 for Calling (0.66 sec)

  1. tensorflow/cc/experimental/libtf/tests/perf_test.cc

      return TaggedValue(args.tuple()[0].i64() + args.tuple()[1].i64());
    }
    
    int64_t AddRaw(int64_t a, int64_t b) { return a + b; }
    
    }  // namespace
    
    // Add numbers in a loop by calling a callable.
    void CallFunctions(::testing::benchmark::State& state) {
      Integer sum(0);
      Callable callable((impl::TaggedValue(impl::Func(AddTagged))));
      *callable.Call<Integer>(sum, Integer(30));
      size_t i = 0;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 15 16:58:38 UTC 2021
    - 3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/egressselector/egress_selector_test.go

    			if err == nil && tc.expectedError != nil {
    				t.Errorf("calling NewEgressSelector expected error: %s, did not get it", *tc.expectedError)
    			}
    			if err != nil && tc.expectedError == nil {
    				t.Errorf("unexpected error calling NewEgressSelector got: %#v", err)
    			}
    			if err != nil && tc.expectedError != nil && err.Error() != *tc.expectedError {
    				t.Errorf("calling NewEgressSelector expected error: %s, got %#v", *tc.expectedError, err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 26 22:41:29 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  3. 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)
  4. subprojects/core-api/src/main/java/org/gradle/api/artifacts/CapabilityResolutionDetails.java

         */
        List<ComponentVariantIdentifier> getCandidates();
    
        /**
         * Selects a particular candidate to solve the conflict. It is recommended to
         * provide a human-readable explanation to the choice by calling the {@link #because(String)} method
         *
         * @param candidate the selected candidate
         * @return this details instance
         *
         * @since 6.0
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 23 15:47:10 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/FilteringProviderTest.groovy

        }
    
        def "does not fail when calling get() after producer task has completed"() {
            given:
            def property = propertyWithCompletedProducer()
            def provider = property.filter { it.contains("1") }
    
            when:
            provider.get()
    
            then:
            noExceptionThrown()
        }
    
        def "fails when calling getOrNull() before producer task has completed"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 20:21:32 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  6. pkg/volume/metrics_block_linux_test.go

    	if !volumetest.MetricsEqualIgnoreTimestamp(actual, expected) {
    		t.Errorf("Expected empty Metrics from uninitialized MetricsBlock, actual %v", *actual)
    	}
    	if err == nil {
    		t.Errorf("Expected error when calling GetMetrics on uninitialized MetricsBlock, actual nil")
    	}
    
    	metrics = NewMetricsBlock("/nonexistent/device/node")
    	actual, err = metrics.GetMetrics()
    	if !volumetest.MetricsEqualIgnoreTimestamp(actual, expected) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 18 09:43:07 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  7. platforms/core-runtime/functional/src/main/java/org/gradle/internal/lazy/Lazy.java

     * are possible and creating a lazy provider can be done by calling
     * one of the factory methods:
     * <ul>
     *     <li>{@link #unsafe()} would create a lazy wrapper which performs no synchronization at all when calling the supplier: it may be called several times concurrently by different threads. Not thread safe!</li>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:22:02 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-problems-base/src/main/kotlin/org/gradle/internal/configuration/problems/ProblemFactory.kt

    interface ProblemFactory {
        /**
         * Returns a default location inferred from the calling thread's state.
         */
        fun locationForCaller(consumer: String? = null): PropertyTrace
    
        /**
         * Creates a problem with the given message and exception.
         *
         * Problem has no documentation, and a default location is inferred from the calling thread's state.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 21:59:50 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. src/runtime/cgo/gcc_s390x.S

    .file "gcc_s390x.S"
    
    /*
     * void crosscall_s390x(void (*fn)(void), void *g)
     *
     * Calling into the go tool chain, where all registers are caller save.
     * Called from standard s390x C ABI, where r6-r13, r15, and f8-f15 are
     * callee-save, so they must be saved explicitly.
     */
    .globl crosscall_s390x
    crosscall_s390x:
    	/* save r6-r15 in the register save area of the calling function */
    	stmg    %r6, %r15, 48(%r15)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 05 16:41:48 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/attributes/CompatibilityCheckDetails.java

         *
         * @return the value from the producer
         */
        @Nullable
        T getProducerValue();
    
        /**
         * Calling this method will indicate that the attributes are compatible.
         */
        void compatible();
    
        /**
         * Calling this method will indicate that the attributes are incompatible.
         */
        void incompatible();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 20 12:31:13 UTC 2019
    - 1.7K bytes
    - Viewed (0)
Back to top