- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 62 for id_map (0.13 sec)
-
pkg/kubelet/stats/pidlimit/pidlimit_linux.go
func Stats() (*statsapi.RlimitStats, error) { rlimit := &statsapi.RlimitStats{} taskMax := int64(-1) // Calculate the minimum of kernel.pid_max and kernel.threads-max as they both specify the // system-wide limit on the number of tasks. for _, file := range []string{"/proc/sys/kernel/pid_max", "/proc/sys/kernel/threads-max"} { if content, err := os.ReadFile(file); err == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Sep 17 09:24:29 UTC 2023 - 2.4K bytes - Viewed (0) -
pkg/kubelet/pod/pod_manager.go
} func podsMapToPods(UIDMap map[kubetypes.ResolvedPodUID]*v1.Pod) []*v1.Pod { pods := make([]*v1.Pod, 0, len(UIDMap)) for _, pod := range UIDMap { pods = append(pods, pod) } return pods } func mirrorPodsMapToMirrorPods(UIDMap map[kubetypes.MirrorPodUID]*v1.Pod) []*v1.Pod { pods := make([]*v1.Pod, 0, len(UIDMap)) for _, pod := range UIDMap { pods = append(pods, pod) } return pods
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:00 UTC 2024 - 11.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/update_control_dependencies.cc
<< "Malformed " << TF::kParallelExecAnnotation << " attribute"; return failure(); } if (id_pairs.empty()) continue; TF::ParallelIdsMap& ids_map = op_to_parallel_ids_map[island]; for (const auto& [group_id, branch_id] : id_pairs) ids_map[group_id] = branch_id; } return success(); } // Fills `op_to_parallel_ids_map` from parallel execution attributes in
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jan 30 07:53:51 UTC 2024 - 8.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/dense_to_sparse.cc
std::vector<int> b_size = {}; std::vector<int> b_map = {}; PopulateEncodingParams(block_size, &traversal_order, &format, &b_map, &b_size); if (type.getElementType().isF32()) { tflite::internal::sparsity::FormatConverter<float> format_converter( shape, traversal_order, format, b_size, b_map); std::vector<float> data; data.reserve(type.getNumElements());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 16.1K bytes - Viewed (0) -
test/named.go
isInt(Int(0)) i = 10 asInt(*&i) isInt(*&i) asInt(23) asInt(Int(f)) isInt(Int(f)) asMap(m) isMap(m) asMap(nil) m = nil asMap(make(Map)) isMap(make(Map)) asMap(*&m) isMap(*&m) asMap(Map(nil)) isMap(Map(nil)) asMap(Map{}) isMap(Map{}) asSlice(slice) isSlice(slice) asSlice(make(Slice, 5)) isSlice(make(Slice, 5)) asSlice([]byte{1, 2, 3})
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 4.6K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/PluginParameterException.java
boolean isCollection = false; boolean isMap = false; boolean isProperties = false; if (!isArray) { try { // assuming Type is available in current ClassLoader isCollection = Collection.class.isAssignableFrom(Class.forName(param.getType())); isMap = Map.class.isAssignableFrom(Class.forName(param.getType()));
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue May 09 23:46:02 UTC 2023 - 6.8K bytes - Viewed (0) -
pkg/util/kernel/constants.go
// (ref: https://github.com/torvalds/linux/commit/35dfb013149f74c2be1ff9c78f14e6a3cd1539d1) const IPVSConnReuseModeFixedKernelVersion = "5.9" // UserNamespacesSupportKernelVersion is the kernel version where idmap for tmpfs support was added // (ref: https://github.com/torvalds/linux/commit/05e6295f7b5e05f09e369a3eb2882ec5b40fff20) const UserNamespacesSupportKernelVersion = "6.3"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 10:18:16 UTC 2024 - 2.7K bytes - Viewed (0) -
cmd/erasure-healing-common.go
etags = make([]string, len(partsMetadata)) vidMap := map[string]int{} for index, metadata := range partsMetadata { if errs[index] != nil { continue } vid := metadata.VersionID if metadata.VersionID == "" { vid = nullVersionID } vidMap[vid]++ etags[index] = metadata.Metadata["etag"] } for _, count := range vidMap { // do we have enough common versions
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 12.5K bytes - Viewed (0) -
test/typeparam/orderedmap.go
// > 0 if the first is greater. func _New[K, V any](compare func(K, K) int) *_Map[K, V] { return &_Map[K, V]{compare: compare} } // _NewOrdered returns a new map whose key is an ordered type. // This is like _New, but does not require providing a compare function. // The map compare function uses the obvious key ordering. func _NewOrdered[K Ordered, V any]() *_Map[K, V] { return _New[K, V](func(k1, k2 K) int { switch { case k1 < k2:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 7.1K bytes - Viewed (0) -
pkg/kubelet/stats/helper.go
type specVal struct { ref statsapi.UserDefinedMetricDescriptor valType cadvisorapiv1.DataType time time.Time value float64 } udmMap := map[string]*specVal{} for _, spec := range info.Spec.CustomMetrics { udmMap[spec.Name] = &specVal{ ref: statsapi.UserDefinedMetricDescriptor{ Name: spec.Name, Type: statsapi.UserDefinedMetricType(spec.Type), Units: spec.Units, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 17 23:40:02 UTC 2023 - 14.8K bytes - Viewed (0)