Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 3,288 for converts (0.26 sec)

  1. subprojects/core-api/src/test/groovy/org/gradle/internal/typeconversion/NotationConverterToNotationParserAdapterTest.groovy

        def converter = Mock(NotationConverter)
        def parser = new NotationConverterToNotationParserAdapter(converter)
    
        def "converts notation"() {
            given:
            converter.convert(12, _) >> { Object notation, NotationConvertResult result -> result.converted("12") }
    
            expect:
            parser.parseNotation(12) == "12"
        }
    
        def "can convert to null value"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 15 16:06:48 UTC 2017
    - 1.5K bytes
    - Viewed (0)
  2. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/BuildConverter.java

    import org.gradle.api.model.ObjectFactory;
    import org.gradle.api.plugins.jvm.internal.JvmPluginServices;
    
    /**
     * Converts some existing build to a Gradle build.
     */
    public interface BuildConverter extends BuildInitializer {
        /**
         * Can this converter be applied to the contents of the current directory?
         */
        boolean canApplyToCurrentDirectory(Directory current);
    
        String getSourceBuildDescription();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:47:19 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/test/integration/conversion/webhook.go

    		converted := []runtime.RawExtension{}
    		errMsgs := []string{}
    		for _, obj := range review.Request.Objects {
    			convertedObj, err := converterFunc(review.Request.DesiredAPIVersion, obj)
    			if err != nil {
    				errMsgs = append(errMsgs, err.Error())
    			}
    
    			converted = append(converted, convertedObj)
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 14 01:38:09 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/util/NumberUtilTest.groovy

            100L * 1000**5      | "88.8 PiB"
        }
    
        def "converts to 1024 based human readable format (#bytes -> #humanReadableString)"() {
            expect:
            formatBytes(bytes) == humanReadableString
    
            where:
            bytes | humanReadableString
            0     | '0 B'
            null  | 'unknown size'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Converter.java

     * </ul>
     *
     * <p>Using a converter:
     *
     * <ul>
     *   <li>Convert one instance in the "forward" direction using {@code converter.convert(a)}.
     *   <li>Convert multiple instances "forward" using {@code converter.convertAll(as)}.
     *   <li>Convert in the "backward" direction using {@code converter.reverse().convert(b)} or {@code
     *       converter.reverse().convertAll(bs)}.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/managedfields.go

    	}
    
    	encodedManagedFields, err := encodeManagedFields(managed)
    	if err != nil {
    		return fmt.Errorf("failed to convert back managed fields to API: %v", err)
    	}
    	accessor.SetManagedFields(encodedManagedFields)
    
    	return nil
    }
    
    // DecodeManagedFields converts ManagedFields from the wire format (api format)
    // to the format used by sigs.k8s.io/structured-merge-diff
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  7. src/crypto/internal/nistec/p256_ordinv.go

    	// the order of the scalar field. Elements in the Montgomery domain take the
    	// form a×R and p256OrdMul calculates (a × b × R⁻¹) mod n. RR is R in the
    	// domain, or R×R mod n, thus p256OrdMul(x, RR) gives x×R, i.e. converts x
    	// into the Montgomery domain.
    	RR := &p256OrdElement{0x83244c95be79eea2, 0x4699799c49bd6fa6,
    		0x2845b2392b6bec59, 0x66e12d94f3d95620}
    
    	p256OrdMul(_1, x, RR)      // _1
    	p256OrdSqr(x, _1, 1)       // _10
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/saved_model/core/test_utils.h

    std::unique_ptr<StaticDeviceMgr> CreateTestingDeviceMgr();
    
    // Creates an EagerContext suitable for local tests. Does not take ownership
    // of `device_mgr`.
    EagerContextPtr CreateTestingEagerContext(DeviceMgr* device_mgr);
    
    // Converts a tensorflow::DatatypeSet to std::vector<DataType>.
    // This is useful for tests using GTest's ::testing::ValuesIn, since
    // DataTypeSet doesn't fullfill all the constraints of an STL-like iterable.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/python/jax_to_tfl_flatbuffer.h

    #include "tensorflow/lite/toco/model_flags.pb.h"
    #include "tensorflow/lite/toco/toco_flags.pb.h"
    
    namespace tensorflow {
    
    // Converts the given Jax model to a TF Lite FlatBuffer
    // string according to the given model flags, toco flags and tags. Returns error
    // status if it fails to convert the input.
    Status ConvertJaxToTFLiteFlatBuffer(const std::string& input,
                                        const toco::ModelFlags& model_flags,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/CaseFormat.java

      }
    
      /**
       * Returns a serializable {@code Converter} that converts strings from this format to {@code
       * targetFormat}.
       *
       * @since 16.0
       */
      public Converter<String, String> converterTo(CaseFormat targetFormat) {
        return new StringConverter(this, targetFormat);
      }
    
      private static final class StringConverter extends Converter<String, String>
          implements Serializable {
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 19 20:20:14 UTC 2022
    - 6.3K bytes
    - Viewed (0)
Back to top