- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for splitResource (0.13 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/predicates/rules/rules.go
} } return false } func splitResource(resSub string) (res, sub string) { parts := strings.SplitN(resSub, "/", 2) if len(parts) == 2 { return parts[0], parts[1] } return parts[0], "" } func (r *Matcher) resource() bool { opRes, opSub := r.Attr.GetResource().Resource, r.Attr.GetSubresource() for _, res := range r.Rule.Resources { res, sub := splitResource(res) resMatch := res == "*" || res == opRes
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 07 21:38:55 UTC 2022 - 3.7K bytes - Viewed (0) -
src/cmd/link/internal/loadpe/ldpe.go
// This has been seen for .idata sections, which we // want to ignore. See issues 5106 and 5273. continue } splitResources := strings.HasPrefix(rsect.Name, ".rsrc$") issehsect := issehsect(arch, rsect) sb := l.MakeSymbolUpdater(state.sectsyms[rsect]) for j, r := range rsect.Relocs { if int(r.SymbolTableIndex) >= len(f.COFFSymbols) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 18 20:26:46 UTC 2023 - 26.5K bytes - Viewed (0) -
src/cmd/link/internal/ld/pe.go
// section name. splitResources := strings.Contains(ctxt.loader.SymName(rsrcsym), ".rsrc$") relocs := ctxt.loader.Relocs(rsrcsym) data := ctxt.loader.Data(rsrcsym) for ri := 0; ri < relocs.Count(); ri++ { r := relocs.At(ri) p := data[r.Off():] val := uint32(int64(h.virtualAddress) + r.Add()) if splitResources {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 19:01:27 UTC 2023 - 48.8K bytes - Viewed (0)