Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 3,288 for converts (0.58 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/dom/DomTest.kt

    import org.gradle.internal.declarativedsl.parsing.ParseTestUtil.Parser.parseAsTopLevelBlock
    import kotlin.test.Test
    import kotlin.test.assertEquals
    
    
    object DomTest {
        @Test
        fun `converts a simple language tree to document`() {
            val tree = parseAsTopLevelBlock(
                """
                myFun {
                    a = 1
                    b = f("x", z.f("y"))
                    c = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. operator/pkg/version/version.go

    func IsVersionString(path string) bool {
    	_, err := goversion.NewSemver(path)
    	if err != nil {
    		return false
    	}
    	vs := Version{}
    	return yaml.Unmarshal([]byte(path), &vs) == nil
    }
    
    // TagToVersionString converts an istio container tag into a version string
    func TagToVersionString(path string) (string, error) {
    	path = strings.TrimPrefix(path, releasePrefix)
    	ver, err := goversion.NewSemver(path)
    	if err != nil {
    		return "", err
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 29 14:15:26 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. tensorflow/cc/saved_model/experimental/public/concrete_function_list.h

    namespace tensorflow {
    namespace experimental {
    namespace cc {
    
    // ConcreteFunctionList helps convert an opaque pointer to an array of
    // ConcreteFunction pointers to a std::vector.
    class ConcreteFunctionList {
     public:
      // Converts this object to a std::vector<ConcreteFunction*>
      std::vector<ConcreteFunction*> ToVector();
    
     private:
      friend class SavedModelAPI;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 12 19:37:48 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  4. src/crypto/internal/boring/hmac.go

    package boring
    
    // #include "goboringcrypto.h"
    import "C"
    import (
    	"bytes"
    	"crypto"
    	"hash"
    	"runtime"
    	"unsafe"
    )
    
    // hashToMD converts a hash.Hash implementation from this package
    // to a BoringCrypto *C.GO_EVP_MD.
    func hashToMD(h hash.Hash) *C.GO_EVP_MD {
    	switch h.(type) {
    	case *sha1Hash:
    		return C._goboringcrypto_EVP_sha1()
    	case *sha224Hash:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 17:51:31 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. platforms/documentation/docs-asciidoctor-extensions-base/src/test/groovy/org/gradle/docs/asciidoctor/IdGeneratorTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.docs.asciidoctor
    
    import spock.lang.Specification
    
    class IdGeneratorTest extends Specification {
    
        def "converts string to identifier"(String source, String id) {
            expect:
            IdGenerator.generateId(source) == id
    
            where:
            source                   | id
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/utils/bfloat16_type.h

    #include "mlir/IR/Types.h"  // from @llvm-project
    
    namespace mlir::quant::stablehlo {
    
    // Returns true if the type or its element type is a float type with bit_width
    // > 16.
    bool IsLargeFloatType(Type type);
    
    // Converts large float type to bfloat16. Otherwise returns original type.
    Type ToBfloat16Type(Type type);
    
    }  // namespace mlir::quant::stablehlo
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 19 23:51:52 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. src/strconv/ctoa.go

    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package strconv
    
    // FormatComplex converts the complex number c to a string of the
    // form (a+bi) where a and b are the real and imaginary parts,
    // formatted according to the format fmt and precision prec.
    //
    // The format fmt and precision prec have the same meaning as in [FormatFloat].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/preprocess_op.td

    include "mlir/Dialect/Func/IR/FuncOps.td"
    include "mlir/Dialect/Arith/IR/ArithOps.td"
    include "tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.td"
    include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td"
    
    // Converts tf.Const to arith.constant for statically shaped, non-opaque constants.
    // Needed for QuantizationDriver to recognize constants.
    def ConvertTfConstToArithConst : Pat<
      (TF_ConstOp:$res DenseElementsAttr:$value),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.td

    include "mlir/Dialect/Func/IR/FuncOps.td"
    include "mlir/Dialect/Arith/IR/ArithOps.td"
    include "tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.td"
    include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td"
    
    // Converts reamaining arith.constant ops from quantization passes back to
    // tf.Const ops.
    def ConvertArithConstToTfConst : Pat<
      (Arith_ConstantOp:$res DenseElementsAttr:$value),
      (TF_ConstOp $value),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/config/resetconfiguration.go

    	}
    	if err == nil {
    		prepareStaticVariables(config)
    	}
    	return config, err
    }
    
    // LoadResetConfigurationFromFile loads versioned ResetConfiguration from file, converts it to internal, defaults and validates it
    func LoadResetConfigurationFromFile(cfgPath string, opts LoadOrDefaultConfigurationOptions) (*kubeadmapi.ResetConfiguration, error) {
    	klog.V(1).Infof("loading configuration from %q", cfgPath)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 05 12:41:16 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top