- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for toSnake (0.26 sec)
-
tensorflow/c/experimental/ops/gen/common/case_format.cc
} // add delimiter if (wordStart && toSnake && !inputStart) { result.push_back(delimiter); } // add the next letter from the input string (choosing upper/lower case) const bool shouldCapIfSnake = toUpper; const bool shouldCapIfCamel = wordStart && (toUpper || !inputStart); if ((toSnake && shouldCapIfSnake) || (!toSnake && shouldCapIfCamel)) { result += toupper(c); } else {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 09:51:28 UTC 2024 - 3K bytes - Viewed (0) -
cmd/metrics-v2.go
continue } metrics = append(metrics, MetricV2{ Description: MetricDescription{ Namespace: nodeMetricNamespace, Subsystem: ilmSubsystem, Name: MetricName("action_count_" + toSnake(action.String())), Help: "Total action outcome of lifecycle checks since server uptime", Type: counterMetric, }, Value: float64(v), }) } return metrics })
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:54 UTC 2024 - 131.9K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/main/java/org/gradle/api/internal/artifacts/JavaEcosystemAttributesDescriber.java
Object status = extractAttributeValue(attributes, STATUS_ATTRIBUTE); StringBuilder sb = new StringBuilder(); if (category != null) { if (docsType != null && toName(category).equals(Category.DOCUMENTATION)) { describeDocsType(docsType, sb); } else { describeCategory(category, sb); } } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 19:13:00 UTC 2024 - 14.5K bytes - Viewed (0) -
src/net/interface.go
if ift, err = interfaceTable(0); err != nil { return false } } zc.toIndex = make(map[string]int, len(ift)) zc.toName = make(map[int]string, len(ift)) for _, ifi := range ift { zc.toIndex[ifi.Name] = ifi.Index if _, ok := zc.toName[ifi.Index]; !ok { zc.toName[ifi.Index] = ifi.Name } } return true } func (zc *ipv6ZoneCache) name(index int) string { if index == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:53 UTC 2024 - 7.6K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/node/graph_test.go
toType vertexType toNamespace string toName string start *Graph expect *Graph }{ { // single edge from a configmap to a node, will delete edge and orphaned configmap desc: "edges and source orphans are deleted, destination orphans are preserved", fromType: configMapVertexType, toType: nodeVertexType, toNamespace: "", toName: "node1", start: func() *Graph {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 23 23:14:19 UTC 2022 - 12.3K bytes - Viewed (0) -
platforms/software/platform-base/src/main/java/org/gradle/model/internal/core/DomainObjectCollectionBackedModelMap.java
public boolean apply(@Nullable T input) { return namer.determineName(input).equals(name); } } private static class ToName<T> implements Function<T, String> { private final org.gradle.api.Namer<? super T> namer; public ToName(org.gradle.api.Namer<? super T> namer) { this.namer = namer; } @Override public String apply(@Nullable T input) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 7.9K bytes - Viewed (0) -
tests/integration/security/reachability_test.go
return opts.HTTP.Path == migrationPathNonIstio } var anyNaked = or(fromNaked, toNaked) var notNaked = not(anyNaked) var notFromNaked = not(fromNaked) var notToNaked = not(toNaked) var always condition = func(echo.Instance, echo.CallOptions) bool { return true } var never condition = func(echo.Instance, echo.CallOptions) bool {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 20.6K bytes - Viewed (0) -
schema/naming_test.go
} ns := NamingStrategy{} for key, value := range maps { if ns.toDBName(key) != value { t.Errorf("%v toName should equal %v, but got %v", key, value, ns.toDBName(key)) } } maps = map[string]string{ "x": "X", "user_restrictions": "UserRestriction",
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Tue May 30 02:00:48 UTC 2023 - 7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_test_context.go
} toTake := 0 // Prefer GVK if it is our fake policy or binding for i, knownKind := range knownKinds { if knownKind == p.policyGVK || knownKind == p.bindingGVK { toTake = i break } } objectGVK = knownKinds[toTake] } // Make sure GVK is known to the fake rest mapper. To prevent cryptic error
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 19K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/node/graph.go
// will delete each orphaned "from" vertex, but will never delete the "to" vertex func (g *Graph) deleteEdges_locked(fromType, toType vertexType, toNamespace, toName string) { // get the "to" side toVert, exists := g.getVertex_rlocked(toType, toNamespace, toName) if !exists { return } // delete all edges between vertices of fromType and toVert neighborsToRemove := []*namedVertex{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:55 UTC 2024 - 17.5K bytes - Viewed (0)