Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 864 for Calculate (0.25 sec)

  1. subprojects/core/src/test/groovy/org/gradle/internal/problems/DefaultProblemDiagnosticsFactoryTest.groovy

        def factory = new DefaultProblemDiagnosticsFactory(DefaultFailureFactory.withDefaultClassifier(), locationAnalyzer, userCodeContext, 2)
    
        def "uses caller's stack trace to calculate problem location"() {
            given:
            def location = Stub(Location)
            def stream = factory.newStream()
    
            when:
            def diagnostics = stream.forCurrentCaller()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 17:15:42 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/gradients/math_grad.cc

        AbstractTensorHandlePtr Ones_X(temp_output);
    
        name = "Add_Log1p_Grad_X";
        // Calculate 1 + Conj(X)
        TF_RETURN_IF_ERROR(
            AddV2(ctx, Ones_X.get(), Conj_X.get(), &temp_output, name.c_str()));
    
        AbstractTensorHandlePtr Conj_XP1(temp_output);
    
        name = "Div_Log1p_Grad_X";
        // Calculate U / (1 + Conj(X))
        TF_RETURN_IF_ERROR(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 13:53:47 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  3. platforms/jvm/language-groovy/src/testFixtures/resources/org/gradle/groovy/compile/AbstractApiGroovyCompilerIntegrationSpec/canEnableAndDisableIntegerOptimization/src/main/groovy/IntegerCalculations.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    class IntegerCalculations {
        def calculate() {
            int a = 9834
            int b = 238923
            int c = a + b
            int d = c - a
            int e = d * c
            int f = e.intdiv(5)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 813 bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/CollectionSupplier.java

        /**
         * Returns a view of this supplier that will calculate its value as empty if it would be missing.
         * If this supplier already ignores absent results, returns this supplier.
         */
        CollectionSupplier<T, C> absentIgnoring();
    
        /**
         * Returns a view of this supplier that will calculate its value as empty if it would be missing,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 21 05:02:13 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/controlFlow/parenthesis.kt

    fun calculate() {
        val a = 1
        val b = 2
        val c = 3
        val result = a * <expr>(b + c)</expr> - a
        println(result)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 14:04:46 UTC 2024
    - 127 bytes
    - Viewed (0)
  6. pkg/controller/podautoscaler/replica_calculator.go

    		if err != nil {
    			return 0, time.Time{}, fmt.Errorf("unable to calculate ready pods: %s", err)
    		}
    		replicaCount = int32(math.Ceil(usageRatio * float64(readyPodCount)))
    	} else {
    		// Scale to zero or n pods depending on usageRatio
    		replicaCount = int32(math.Ceil(usageRatio))
    	}
    
    	return replicaCount, timestamp, err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 19 03:31:34 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/cache/internal/DefaultFileContentCacheFactory.java

                    location -> fileSystemAccess.readRegularFileContentHash(location.getAbsolutePath())
                        .map(contentHash -> contentCache.get(contentHash, key -> calculator.calculate(location, true))
                    ).orElseGet(
                        () -> calculator.calculate(location, false)
                    ));
            }
    
            private void assertStoredIn(IndexedCache<HashCode, V> store) {
                if (this.contentCache != store) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:51:31 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/java/toolchain-filters/tests/matchingVendorWithoutCC.out

    Could not determine the dependencies of task ':compileJava'.
    > Could not resolve all dependencies for configuration ':compileClasspath'.
       > Failed to calculate the value of task ':compileJava' property 'javaCompiler'.
          > Cannot find a Java installation on your machine matching this tasks requirements: {languageVersion=11, vendor=matching('customString'), implementation=vendor-specific} for %OS% on %ARCH%.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Jan 21 03:08:51 UTC 2024
    - 513 bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/java/toolchain-filters/tests/matchingVendorWithCC.out

    Could not determine the dependencies of task ':compileJava'.
    > Could not resolve all dependencies for configuration ':compileClasspath'.
       > Failed to calculate the value of task ':compileJava' property 'javaCompiler'.
          > Cannot find a Java installation on your machine matching this tasks requirements: {languageVersion=11, vendor=matching('customString'), implementation=vendor-specific} for %OS% on %ARCH%.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Jan 21 03:08:51 UTC 2024
    - 513 bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/ResolutionResultProvider.java

    /**
     * Some value that is calculated as part of dependency resolution, but which may have a partial or different value
     * when the execution graph is calculated.
     * @param <T>
     */
    public interface ResolutionResultProvider<T> {
    
        /**
         * Returns the value available at execution graph calculation time. Note that the value may change between when the execution graph is calculated and
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Jan 21 03:08:51 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top