Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,265 for converts (0.15 sec)

  1. operator/pkg/util/path.go

    		if pp != p2[i] {
    			return false
    		}
    	}
    	return true
    }
    
    // ToYAMLPath converts a path string to path such that the first letter of each path element is lower case.
    func ToYAMLPath(path string) Path {
    	p := PathFromString(path)
    	for i := range p {
    		p[i] = firstCharToLowerCase(p[i])
    	}
    	return p
    }
    
    // ToYAMLPathString converts a path string such that the first letter of each path element is lower case.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 12 17:12:54 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow_to_stablehlo/python/pywrap_tensorflow_to_stablehlo_lib.h

    #include "absl/strings/string_view.h"
    
    namespace mlir::tensorflow_to_stablehlo::pywrap {
    
    // Converts a TensorFlow SavedModel to a StableHLO MLIR module and serializes it
    // to bytecode.
    //
    // Args:
    //   input_path: The path to the SavedModel directory.
    //    exported_model_signatures: Comma-separated list of exported model
    //   signatures to convert. tag_names: Comma-separated list of tags for loading
    //    SavedModel.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/security_context.go

    	synthesized.ReadonlyPaths = securitycontext.ConvertToRuntimeReadonlyPaths(effectiveSc.ProcMount)
    
    	return synthesized, nil
    }
    
    // convertToRuntimeSecurityContext converts v1.SecurityContext to runtimeapi.SecurityContext.
    func convertToRuntimeSecurityContext(securityContext *v1.SecurityContext) *runtimeapi.LinuxContainerSecurityContext {
    	if securityContext == nil {
    		return nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/util/internal/WrapperDistributionUrlConverter.java

    import org.gradle.api.NonNullApi;
    
    import java.io.File;
    import java.net.URI;
    import java.net.URISyntaxException;
    
    /**
     * Converts a wrapper distribution url to a URI.
     */
    @NonNullApi
    public class WrapperDistributionUrlConverter {
        /**
         * Converts the given distribution url to a URI.
         * <p>
         * If the url is relative, it is resolved against the given file root.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:12:34 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/TextUtil.java

            return path.replaceAll(Pattern.quote(File.separator), "/");
        }
    
        /**
         * Converts all line separators in the specified string to a single new line character.
         */
        public static String normaliseLineSeparators(String str) {
            return str == null ? null : convertLineSeparators(str, "\n");
        }
    
        /**
         * Converts all line separators in the specified string to the specified line separator.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. pkg/jwt/jwt.go

    	Envoy
    )
    
    // String converts JwksFetchMode to readable string.
    func (mode JwksFetchMode) String() string {
    	switch mode {
    	case Istiod:
    		return "Istiod"
    	case Hybrid:
    		return "Hybrid"
    	case Envoy:
    		return "Envoy"
    	default:
    		return "Unset"
    	}
    }
    
    // ConvertToJwksFetchMode converts from string value mode to enum JwksFetchMode value.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 25 00:53:18 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/PosixFilePermissionConverterTest.groovy

    import static java.nio.file.attribute.PosixFilePermission.OWNER_READ
    import static java.nio.file.attribute.PosixFilePermission.OWNER_WRITE
    
    class PosixFilePermissionConverterTest extends Specification {
        def "converts Set<PosixFilePermission to int representation"() {
    
            expect:
            PosixFilePermissionConverter.convertToInt(perms) == intValue
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. src/database/sql/driver/types.go

    		}
    		return nil, fmt.Errorf("sql/driver: couldn't convert %d into type bool", iv)
    	case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64:
    		uv := sv.Uint()
    		if uv == 1 || uv == 0 {
    			return uv == 1, nil
    		}
    		return nil, fmt.Errorf("sql/driver: couldn't convert %d into type bool", uv)
    	}
    
    	return nil, fmt.Errorf("sql/driver: couldn't convert %v (%T) into type bool", src, src)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 16:30:20 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  9. pilot/pkg/config/kube/crd/conversion.go

    		return nil, err
    	}
    	return status, nil
    }
    
    // FromYAML converts a canonical YAML to a proto message
    func FromYAML(s resource.Schema, yml string) (config.Spec, error) {
    	c, err := s.NewInstance()
    	if err != nil {
    		return nil, err
    	}
    	if err = config.ApplyYAML(c, yml); err != nil {
    		return nil, err
    	}
    	return c, nil
    }
    
    // FromJSONMap converts from a generic map to a proto message using canonical JSON encoding
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 18:26:16 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. src/internal/trace/testdata/cmd/gotraceraw/main.go

    		fmt.Fprintf(flag.CommandLine.Output(), "Supported modes:")
    		fmt.Fprintf(flag.CommandLine.Output(), "\n")
    		fmt.Fprintf(flag.CommandLine.Output(), "* text2bytes - converts a text format trace to bytes\n")
    		fmt.Fprintf(flag.CommandLine.Output(), "* bytes2text - converts a byte format trace to text\n")
    		fmt.Fprintf(flag.CommandLine.Output(), "\n")
    		flag.PrintDefaults()
    	}
    	log.SetFlags(0)
    }
    
    func main() {
    	flag.Parse()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:29 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top