Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 3,288 for converts (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. tensorflow/compiler/mlir/lite/python/saved_model_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 saved_model(either v1 or v2) 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 ConvertSavedModelToTFLiteFlatBuffer(
        const toco::ModelFlags& model_flags, toco::TocoFlags& toco_flags,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/adapter/ObjectGraphAdapter.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.tooling.internal.adapter;
    
    import javax.annotation.Nullable;
    
    /**
     * Converts or adapts objects to views over the objects.
     */
    public interface ObjectGraphAdapter {
        @Nullable
        <T> T adapt(Class<T> targetType, Object sourceObject);
    
        <T> ViewBuilder<T> builder(Class<T> viewType);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 928 bytes
    - Viewed (0)
  7. 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)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/Describables.java

    import org.apache.commons.lang.StringUtils;
    import org.gradle.api.Describable;
    
    public class Describables {
        private Describables() {
        }
    
        /**
         * Returns a describable that converts the provided value to a string each time the display name is queried. Can pass a {@link Describable} or {@link DisplayName}.
         */
        public static DisplayName of(Object displayName) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/python/graphdef_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 GraphDef to a TF Lite FlatBuffer string according to the
    // given model flags, toco flags and debug information. Returns error status if
    // it fails to convert the input.
    absl::Status ConvertGraphDefToTFLiteFlatBuffer(
        const toco::ModelFlags& model_flags, toco::TocoFlags& toco_flags,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 11 19:29:56 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/common.py

    def do_test(create_module_fn, exported_names=None, show_debug_info=False):
      """Runs test.
    
      1. Performs absl and tf "main"-like initialization that must run before almost
         anything else.
      2. Converts `tf.Module` to SavedModel
      3. Converts SavedModel to MLIR
      4. Prints the textual MLIR to stdout (it is expected that the caller will have
         FileCheck checks in its file to check this output).
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 02 23:49:27 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top