Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 2,701 for converts (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. subprojects/core/src/testFixtures/groovy/org/gradle/process/ShellScript.groovy

            }
            return new PosixBuilder()
        }
    
        /**
         * Converts a list of command line elements (returned by {@link #getCommandLine()}) to a list of Java/Groovy/Kotlin string literals.
         * Literals include surrounding quotes and have special symbols escaped, so they are safe to use in the sources.
         * @param cmd the command line elements to be converted
         * @return a List of string literals
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/cel/mutation/common/val.go

    	if typeDesc != reflect.TypeOf(result) {
    		return nil, fmt.Errorf("unable to convert to %v", typeDesc)
    	}
    	result = make(map[string]any, len(v.fields))
    	for k, v := range v.fields {
    		converted, err := convertField(v)
    		if err != nil {
    			return nil, fmt.Errorf("fail to convert field %q: %w", k, err)
    		}
    		result[k] = converted
    	}
    	return result, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 21:55:08 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. platforms/jvm/language-jvm/src/test/groovy/org/gradle/api/internal/tasks/compile/BaseForkOptionsConverterTest.groovy

    import org.gradle.api.tasks.compile.BaseForkOptions
    import spock.lang.Specification
    
    class BaseForkOptionsConverterTest extends Specification {
        BaseForkOptionsConverter converter = new BaseForkOptionsConverter(TestFiles.execFactory())
    
        def "converts a base fork options to a java fork options"() {
            BaseForkOptions baseForkOptions = new BaseForkOptions()
            baseForkOptions.memoryInitialSize = "128m"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. android/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