Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 3,288 for converts (0.22 sec)

  1. pkg/util/strcase/camelcase.go

    }
    
    // CamelCaseWithSeparator splits the given string by the separator, converts the parts to CamelCase and then re-joins them.
    func CamelCaseWithSeparator(n string, sep string) string {
    	p := strings.Split(n, sep)
    	for i := 0; i < len(p); i++ {
    		p[i] = CamelCase(p[i])
    	}
    	return strings.Join(p, "")
    }
    
    // CamelCaseToKebabCase converts "MyName" to "my-name"
    func CamelCaseToKebabCase(s string) string {
    	switch s {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 28 19:48:10 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. pkg/printers/storage/storage.go

    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/kubernetes/pkg/printers"
    )
    
    // TableConvertor struct - converts objects to metav1.Table using printers.TableGenerator
    type TableConvertor struct {
    	printers.TableGenerator
    }
    
    // ConvertToTable method - converts objects to metav1.Table objects using TableGenerator
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 26 18:18:18 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  5. tools/bug-report/pkg/util/path/path.go

    			// Is str of the form node[expr], convert to "node", "[expr]"?
    			nBracket := strings.IndexRune(str, '[')
    			if nBracket > 0 {
    				r = append(r, str[:nBracket], str[nBracket:])
    			} else {
    				// str is "[expr]" or "node"
    				r = append(r, str)
    			}
    		}
    	}
    	return r
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Sep 01 20:55:53 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc

      else
        input_tensor.AsProtoField(&tensor_proto);
      return tensor_proto;
    }
    
    static std::string MangleTensor(const Tensor& tensor) {
      return mangling_util::MangleTensor(ConvertToProto(tensor));
    }
    
    // Converts a TensorFlow tensor into an MLIR elements attribute.
    template <typename T>
    absl::StatusOr<ElementsAttr> ConvertFlatTensor(const Tensor& input_tensor,
                                                   ShapedType type) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  7. 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)
  8. pkg/api/testing/applyconfiguration_test.go

    	"k8s.io/kubernetes/pkg/api/legacyscheme"
    	api "k8s.io/kubernetes/pkg/apis/core"
    )
    
    // TestUnstructuredRoundTripApplyConfigurations converts each known object type through unstructured
    // to the apply configuration for that object type, then converts it back to the object type and
    // verifies it is unchanged.
    func TestUnstructuredRoundTripApplyConfigurations(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 20:12:50 UTC 2022
    - 7.3K bytes
    - Viewed (0)
  9. 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)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverter.java

        }
    
        /**
         * Converts a javadoc link into docbook.
         */
        public Node resolve(String link, ClassMetaData classMetaData, GenerationListener listener) {
            Node node = doResolve(link, classMetaData, listener);
            if (node != null) {
                return node;
            }
    
            listener.warning(String.format("Could not convert Javadoc link '%s'", link));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7K bytes
    - Viewed (0)
Back to top