- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 3,288 for converts (0.26 sec)
-
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) -
pkg/kubelet/cm/helpers_unsupported.go
MaxShares = 0 SharesPerCPU = 0 MilliCPUToCPU = 0 QuotaPeriod = 0 MinQuotaPeriod = 0 ) // MilliCPUToQuota converts milliCPU and period to CFS quota values. func MilliCPUToQuota(milliCPU, period int64) int64 { return 0 } // MilliCPUToShares converts the milliCPU to CFS shares. func MilliCPUToShares(milliCPU int64) int64 { return 0 }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 24 18:21:21 UTC 2023 - 1.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/audit/policy/util.go
a.Delete(s...) return ConvertStringSetToStages(a) } // ConvertStagesToStrings converts an array of stages to a string array func ConvertStagesToStrings(stages []audit.Stage) []string { s := make([]string, len(stages)) for i, stage := range stages { s[i] = string(stage) } return s } // ConvertStringSetToStages converts a string set to an array of stages func ConvertStringSetToStages(set sets.String) []audit.Stage {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 09 16:29:20 UTC 2021 - 1.8K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/TextUtil.java
} /** * Converts all line separators in the specified string to the specified line separator. */ @Nullable public static String convertLineSeparators(@Nullable String str, String sep) { return str == null ? null : replaceLineSeparatorsOf(str, sep); } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 12.8K bytes - Viewed (0) -
pkg/proxy/ipvs/util/ipvs_linux.go
return fmt.Errorf("could not convert local virtual server to IPVS service: %w", err) } runner.mu.Lock() defer runner.mu.Unlock() return runner.ipvsHandle.NewService(svc) } // UpdateVirtualServer is part of ipvs.Interface. func (runner *runner) UpdateVirtualServer(vs *VirtualServer) error { svc, err := toIPVSService(vs) if err != nil { return fmt.Errorf("could not convert local virtual server to IPVS service: %w", err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 05:08:41 UTC 2024 - 9K bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/path/filepath/57151.md
The new [Localize] function safely converts a slash-separated
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 20:57:18 UTC 2024 - 98 bytes - Viewed (0) -
src/go/doc/comment.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package doc import ( "go/doc/comment" "io" ) // ToHTML converts comment text to formatted HTML. // // Deprecated: ToHTML cannot identify documentation links // in the doc comment, because they depend on knowing what // package the text came from, which is not included in this API. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:31:52 UTC 2022 - 1.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/ir/QuantizeUtils.h
namespace quantfork { class UniformQuantizedValueConverter; /// Converts an attribute from a type based on /// quantizedElementType.getExpressedType() to one based on /// quantizedElementType.getStorageType(), where quantizedElementType is as from /// QuantizedType::getQuantizedElementType(). /// Returns nullptr if the conversion is not supported. On success, stores the /// converted type in outConvertedType. /// /// Examples:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jul 29 18:55:28 UTC 2022 - 3.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/seat_seconds.go
func SeatsTimesDuration(seats float64, duration time.Duration) SeatSeconds { return SeatSeconds(int64(math.Round(seats * float64(duration/time.Nanosecond) / (1e9 / ssScale)))) } // ToFloat converts to a floating-point representation. // This conversion may lose precision. func (ss SeatSeconds) ToFloat() float64 { return float64(ss) / ssScale } // DurationPerSeat returns duration per seat.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 20 09:16:46 UTC 2023 - 2.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/quota/v1/generic/registry.go
} // evaluatorsByGroupResource converts a list of evaluators to a map by group resource. func evaluatorsByGroupResource(items []quota.Evaluator) map[schema.GroupResource]quota.Evaluator { result := map[schema.GroupResource]quota.Evaluator{} for _, item := range items { result[item.GroupResource()] = item } return result } // evaluatorsList converts a map of evaluators to list
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 04 12:53:52 UTC 2020 - 2.2K bytes - Viewed (0)