- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 66 for filemap (0.18 sec)
-
pkg/config/resource/origin.go
type Origin interface { FriendlyName() string Namespace() Namespace Reference() Reference // FieldMap returns the flat map containing paths of the fields in the resource as keys, // and their corresponding line numbers as values FieldMap() map[string]int Comparator() string // ClusterName returns the cluster name where the resource is located ClusterName() cluster.ID }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 1.2K bytes - Viewed (0) -
src/cmd/link/internal/ld/outbuf_windows.go
// Windows DOC links: // // https://docs.microsoft.com/en-us/windows/win32/api/memoryapi/nf-memoryapi-flushviewoffile // https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-flushfilebuffers err = syscall.FlushFileBuffers(syscall.Handle(out.f.Fd())) if err != nil { Exitf("FlushFileBuffers failed: %v", err) } err = syscall.UnmapViewOfFile(uintptr(unsafe.Pointer(&out.buf[0])))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 09 01:59:25 UTC 2022 - 2.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/value.go
return &structValue{ Fields: []*Field{}, fieldMap: map[string]*Field{}, } } type structValue struct { Fields []*Field fieldMap map[string]*Field } // AddField appends a MapField to the MapValue and indexes the field by name. func (sv *structValue) AddField(field *Field) { sv.Fields = append(sv.Fields, field) sv.fieldMap[field.Name] = field }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 10 22:05:55 UTC 2022 - 20.5K bytes - Viewed (0) -
pkg/config/analysis/analyzers/util/find_errorline_utils.go
) // ErrorLine returns the line number of the input path key in the resource func ErrorLine(r *resource.Instance, path string) (line int, found bool) { fieldMap := r.Origin.FieldMap() line, ok := fieldMap[path] if !ok { return 0, false } return line, true } // ExtractLabelFromSelectorString returns the label of the match in the k8s labels.Selector
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Aug 07 15:18:05 UTC 2023 - 4.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/ApiResult.java
facetField = facetResponse.getFieldList().stream().map(field -> { final Map<String, Object> fieldMap = new HashMap<>(2, 1f); fieldMap.put("name", field.getName()); fieldMap.put("result", field.getValueCountMap().entrySet().stream().map(e -> { final Map<String, Object> valueCount = new HashMap<>(2, 1f);
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12.2K bytes - Viewed (0) -
internal/lock/lock_windows.go
var lockType uint32 = lockFileFailImmediately | lockFileExclusiveLock if flag == syscall.O_RDONLY { // https://docs.microsoft.com/en-us/windows/desktop/api/fileapi/nf-fileapi-lockfileex //lint:ignore SA4016 Reasons lockType = lockFileFailImmediately // Set this to enable shared lock and fail immediately. } return lockedOpenFile(path, flag, perm, lockType) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Oct 18 18:08:15 UTC 2023 - 7.9K bytes - Viewed (0) -
src/cmd/internal/pkgpath/pkgpath.go
// between packages whose paths are different but mangle to // the same string. More recent versions use a new mangler // that avoids these collisions. const filepat = "*_gccgo_manglechck.go" f, err := os.CreateTemp(tmpdir, filepat) if err != nil { return nil, err } gofilename := f.Name() f.Close() defer os.Remove(gofilename)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 02:13:02 UTC 2022 - 4.2K bytes - Viewed (0) -
pkg/config/analysis/legacy/source/kube/origin.go
} return o.FullName.Namespace } // Reference implements resource.Origin func (o *Origin) Reference() resource.Reference { return o.Ref } // FieldMap implements resource.Origin func (o *Origin) FieldMap() map[string]int { return o.FieldsMap } // ClusterName implements resource.Origin func (o *Origin) ClusterName() cluster.ID { return o.Cluster }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 2.8K bytes - Viewed (0) -
src/cmd/link/internal/ld/pcln.go
// Write filetab. writeFiletab := func(ctxt *Link, s loader.Sym) { sb := ctxt.loader.MakeSymbolUpdater(s) // Write the strings. for filename, loc := range fileOffsets { sb.AddStringAt(int64(loc), expandFile(filename)) } } state.nfiles = uint32(len(fileOffsets)) state.filetab = state.addGeneratedSym(ctxt, "runtime.filetab", fileSize, writeFiletab) return cuOffsets
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 29.6K bytes - Viewed (0) -
src/os/stat_windows.go
if err == windows.ERROR_INVALID_PARAMETER { // Console handles, like "\\.\con", require generic read access. See // https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilew#consoles. // We haven't set it previously because it is normally not required // to read attributes and some files may not allow it.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:44:48 UTC 2024 - 5.2K bytes - Viewed (0)