Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 864 for Calculate (0.28 sec)

  1. subprojects/core/src/main/java/org/gradle/internal/model/CalculatedValueContainer.java

        private final DisplayName displayName;
        // Null when the value has been calculated and assigned to the result field. When not null the result has not been calculated
        // or is currently being calculated or has just been calculated. It is possible for both this field and the result field to be
        // non-null at the same time for a brief period just after the result has been calculated
        @Nullable
        private volatile CalculationState<T, S> calculationState;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:19 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/CachingCSourceParser.java

            cache = cacheFactory.newCache("parsedCSource", 40000, new FileContentCacheFactory.Calculator<IncludeDirectives>() {
                @Override
                public IncludeDirectives calculate(File file, boolean isRegularFile) {
                    return parser.parseSource(file);
                }
            }, IncludeDirectivesSerializer.INSTANCE);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/custom_aggregator_op.cc

      void Compute(OpKernelContext* context) override {
        const Tensor& input_tensor = context->input(0);
    
        // Use the same input for the first output.
        context->set_output(0, input_tensor);
    
        // Calculate min/max statistics.
        const auto input_flat = input_tensor.flat<float>();
        Tensor *min_output = nullptr, *max_output = nullptr;
        OP_REQUIRES_OK(context, context->allocate_output("min", {}, &min_output));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. src/runtime/pprof/pe.go

    // license that can be found in the LICENSE file.
    
    package pprof
    
    import "os"
    
    // peBuildID returns a best effort unique ID for the named executable.
    //
    // It would be wasteful to calculate the hash of the whole file,
    // instead use the binary name and the last modified time for the buildid.
    func peBuildID(file string) string {
    	s, err := os.Stat(file)
    	if err != nil {
    		return file
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 20 00:18:04 UTC 2022
    - 536 bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/util/NumberUtilTest.groovy

            then:
            def ex = thrown(IllegalArgumentException)
            ex.message == "Unable to calculate percentage: 50 of -10. All inputs must be >= 0"
    
            when:
            percentOf(-1, 100) == 0
            then:
            ex = thrown(IllegalArgumentException)
            ex.message == "Unable to calculate percentage: -1 of 100. All inputs must be >= 0"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/configuration/AllProperties.java

     * properties files.
     */
    public interface AllProperties {
        /**
         * Returns the system properties defined as command-line options.
         */
        Map<String, String> getRequestedSystemProperties();
    
        /**
         * Returns all properties that should be considered to calculate build option values.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 13:41:21 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_macros.h

    #endif  // SWIG
    
    // TF_Bool is the C API typedef for unsigned char, while TF_BOOL is
    // the datatype for boolean tensors.
    #ifndef TF_Bool
    #define TF_Bool unsigned char
    #endif  // TF_Bool
    
    // Macro used to calculate struct size for maintaining ABI stability across
    // different struct implementations.
    #ifndef TF_OFFSET_OF_END
    #define TF_OFFSET_OF_END(TYPE, MEMBER) \
      (offsetof(TYPE, MEMBER) + sizeof(((TYPE *)0)->MEMBER))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat May 13 04:44:45 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. cmd/streaming-signature-v4.go

    	// Calculate signature.
    	newSignature := getSignature(signingKey, stringToSign)
    
    	return newSignature
    }
    
    // getTrailerChunkSignature - get trailer chunk signature.
    func (cr *s3ChunkedReader) getTrailerChunkSignature() string {
    	hashedChunk := hex.EncodeToString(cr.chunkSHA256Writer.Sum(nil))
    
    	// Calculate string to sign.
    	alg := signV4ChunkedAlgorithmTrailer + "\n"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  9. platforms/jvm/language-groovy/src/testFixtures/resources/org/gradle/groovy/compile/AbstractApiGroovyCompilerIntegrationSpec/canEnableAndDisableAllOptimizations/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)
  10. src/cmd/internal/notsha256/sha256block_386.s

    	MOVL	CX, DX; \
    	SHRL	$3, DX; \
    	RORL	$18, CX; \
    	ADDL	((index-7)*4)(BP), AX; \
    	XORL	CX, BX; \
    	XORL	DX, BX; \
    	ADDL	((index-16)*4)(BP), BX; \
    	ADDL	BX, AX; \
    	MOVL	AX, ((index)*4)(BP)
    
    // Calculate T1 in AX - uses AX, BX, CX and DX registers.
    // Wt is passed in AX.
    //   T1 = h + BIGSIGMA1(e) + Ch(e, f, g) + Kt + Wt
    //     BIGSIGMA1(x) = ROTR(6,x) XOR ROTR(11,x) XOR ROTR(25,x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 8.2K bytes
    - Viewed (0)
Back to top