- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,564 for remapping (0.28 sec)
-
staging/src/k8s.io/cli-runtime/pkg/resource/result.go
return nil, fmt.Errorf("a resource mapping could not be loaded from %v", reflect.TypeOf(r.sources[i])) } mapping := m.ResourceMapping() mappings[mapping.Resource] = mapping } if len(mappings) != 1 { return nil, fmt.Errorf("expected only a single resource type") } for _, mapping := range mappings { return mapping, nil } return nil, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 23:00:24 UTC 2019 - 7.3K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/resource/builder.go
if seen[mapping.GroupVersionKind] { continue } seen[mapping.GroupVersionKind] = true mappings = append(mappings, mapping) } return mappings, nil } func (b *Builder) resourceTupleMappings() (map[string]*meta.RESTMapping, error) { mappings := make(map[string]*meta.RESTMapping) canonical := make(map[schema.GroupVersionResource]struct{})
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 10:17:56 UTC 2023 - 37.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/meta/firsthit_restmapper.go
} // RESTMapping provides the REST mapping for the resource based on the // kind and version. This implementation supports multiple REST schemas and // return the first match. func (m FirstHitRESTMapper) RESTMapping(gk schema.GroupKind, versions ...string) (*RESTMapping, error) { errors := []error{} for _, t := range m.MultiRESTMapper { ret, err := t.RESTMapping(gk, versions...) if err == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 05 23:44:02 UTC 2021 - 2.8K bytes - Viewed (0) -
src/cmd/link/internal/ld/outbuf_windows.go
bufHdr.Len = int(filesize) bufHdr.Cap = int(filesize) // copy heap to new mapping if uint64(oldlen+len(out.heap)) > filesize { panic("mmap size too small") } copy(out.buf[oldlen:], out.heap) out.heap = out.heap[:0] return nil } func (out *OutBuf) munmap() { if out.buf == nil { return } // Apparently unmapping without flush may cause ACCESS_DENIED error // (see issue 38440).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 09 01:59:25 UTC 2022 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/cluster_tf_ops_pass.cc
// appropriate. OpBuilder builder(block, block->end()); IRMapping mapping; for (int i : llvm::seq<int>(0, metadata.inputs.size())) { Value original_value = metadata.inputs[i]; Value new_value = func_op.getArgument(i); mapping.map(original_value, new_value); } for (Operation *op : metadata.ops) { builder.clone(*op, mapping); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 13.4K bytes - Viewed (0) -
src/runtime/pprof/proto_windows.go
// license that can be found in the LICENSE file. package pprof import ( "errors" "internal/syscall/windows" "os" "syscall" ) // readMapping adds memory mapping information to the profile. func (b *profileBuilder) readMapping() { snap, err := createModuleSnapshot() if err != nil { // pprof expects a map entry, so fake one, when we haven't added anything yet. b.addMappingEntry(0, 0, 0, "", "", true)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 03 16:07:59 UTC 2023 - 2.2K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.5.md
- **Node** - [alpha] Added ability to preserve access to host userns when userns remapping is enabled in container runtime ([kubernetes/features#127](https://github.com/kubernetes/enhancements/issues/127))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 24 02:28:26 UTC 2020 - 136.4K bytes - Viewed (1) -
tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.cc
} SmallVector<Value> CloneOpWithReplacedOperands( OpBuilder& builder, Operation* op, const ArrayRef<Value> new_operands) { IRMapping mapping; for (const auto& arg : enumerate(new_operands)) { mapping.map(op->getOperand(arg.index()), arg.value()); } return builder.clone(*op, mapping)->getResults(); } FailureOr<int32_t> CastI64ToI32(const int64_t value) { if (!llvm::isInt<32>(value)) { DEBUG_WITH_TYPE(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.8K bytes - Viewed (0) -
pkg/kubelet/userns/userns_manager.go
} } var uids []*runtimeapi.IDMapping var gids []*runtimeapi.IDMapping for _, u := range userNs.UIDMappings { uids = append(uids, &runtimeapi.IDMapping{ HostId: u.HostId, ContainerId: u.ContainerId, Length: u.Length, }) } for _, g := range userNs.GIDMappings { gids = append(gids, &runtimeapi.IDMapping{ HostId: g.HostId, ContainerId: g.ContainerId,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_initializer_function_ops_to_main.cc
// function's arguments. Returns the `IRMapping` that contains the // relationship. IRMapping CloneSrcFuncArgumentsToMainFunc(func::FuncOp src_func_op, func::FuncOp main_func_op) { IRMapping mapper{}; for (auto [src_arg_idx, src_arg] : llvm::enumerate(src_func_op.getArguments())) { // No need to create a mapping when there is no usage - it will not affect
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun May 12 12:54:52 UTC 2024 - 15.3K bytes - Viewed (0)