- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 205 for cmap (0.04 sec)
-
src/runtime/cgo/gcc_linux_arm64.c
} void x_cgo_init(G *g, void (*setg)(void*), void **tlsg, void **tlsbase) { uintptr *pbounds; /* The memory sanitizer distributed with versions of clang before 3.8 has a bug: if you call mmap before malloc, mmap may return an address that is later overwritten by the msan library. Avoid this problem by forcing a call to malloc here, before we ever call malloc.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 22:06:46 UTC 2023 - 2.2K bytes - Viewed (0) -
pkg/volume/iscsi/iscsi.go
if err != nil { err = fmt.Errorf("couldn't get secret %v/%v error: %w", secretNamespace, secretName, err) return nil, err } secret = make(map[string]string) for name, data := range secretObj.Data { klog.V(4).Infof("retrieving CHAP secret name: %s", name) secret[name] = string(data) } } } return secret, err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 23.4K bytes - Viewed (0) -
src/cmd/compile/internal/test/inl_test.go
"rand32", "readUnaligned32", "readUnaligned64", "releasem", "roundupsize", "stackmapdata", "stringStructOf", "subtract1", "subtractb", "tophash", "(*bmap).keys", "(*bmap).overflow", "(*waitq).enqueue", "funcInfo.entry", // GC-related ones "cgoInRange", "gclinkptr.ptr", "guintptr.ptr", "heapBitsSlice", "markBits.isMarked",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 09 04:07:57 UTC 2024 - 10.7K bytes - Viewed (0) -
src/runtime/sys_openbsd2.go
} func thrkill_trampoline() // mmap is used to do low-level memory allocation via mmap. Don't allow stack // splits, since this function (used by sysAlloc) is called in a lot of low-level // parts of the runtime and callers often assume it won't acquire any locks. // //go:nosplit func mmap(addr unsafe.Pointer, n uintptr, prot, flags, fd int32, off uint32) (unsafe.Pointer, int) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.7K bytes - Viewed (0) -
test/recover4.go
// so that memcopy can recover. debug.SetPanicOnFault(true) size := syscall.Getpagesize() // Map 16 pages of data with a 4-page hole in the middle. data, err := syscall.Mmap(-1, 0, 16*size, syscall.PROT_READ|syscall.PROT_WRITE, syscall.MAP_ANON|syscall.MAP_PRIVATE) if err != nil { log.Fatalf("mmap: %v", err) } // Create a hole in the mapping that's PROT_NONE.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 2.2K bytes - Viewed (0) -
cmd/genkubedocs/gen_kube_docs.go
package main import ( "bytes" "fmt" "io" "os" "github.com/spf13/cobra/doc" "github.com/spf13/pflag" "k8s.io/kubernetes/cmd/genutils" apiservapp "k8s.io/kubernetes/cmd/kube-apiserver/app" cmapp "k8s.io/kubernetes/cmd/kube-controller-manager/app" proxyapp "k8s.io/kubernetes/cmd/kube-proxy/app" schapp "k8s.io/kubernetes/cmd/kube-scheduler/app" kubeadmapp "k8s.io/kubernetes/cmd/kubeadm/app/cmd"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 01 05:59:41 UTC 2022 - 2.8K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/certlist.go
caMap[cert] = []*KubeadmCert{} } } else { ca, ok := m[cert.CAName] if !ok { return nil, errors.Errorf("certificate %q references unknown CA %q", cert.Name, cert.CAName) } caMap[ca] = append(caMap[ca], cert) } } return caMap, nil } // Certificates is a list of Certificates that Kubeadm should create. type Certificates []*KubeadmCert
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 15.8K bytes - Viewed (0) -
src/runtime/tagptr_64bit.go
// On AIX, 64-bit addresses are split into 36-bit segment number and 28-bit // offset in segment. Segment numbers in the range 0x0A0000000-0x0AFFFFFFF(LSA) // are available for mmap. // We assume all tagged addresses are from memory allocated with mmap. // We use one bit to distinguish between the two ranges. aixAddrBits = 57 aixTagBits = 64 - aixAddrBits + 3 // riscv64 SV57 mode gives 56 bits of userspace VA.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 18 20:22:50 UTC 2023 - 3.2K bytes - Viewed (0) -
pkg/kubelet/configmap/configmap_manager_test.go
manager.UnregisterPod(podWithConfigMaps("ns3", "name", s3)) existingMaps := map[string][]string{ "ns1": {"s1", "s2", "s20"}, "ns2": {"s3", "s4", "s40"}, } shouldExist := func(ns, configMap string) bool { if cmaps, ok := existingMaps[ns]; ok { for _, cm := range cmaps { if cm == configMap { return true } } } return false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 10 10:20:09 UTC 2021 - 4.8K bytes - Viewed (0) -
src/cmd/go/internal/mmap/mmap_windows.go
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package mmap import ( "fmt" "os" "syscall" "unsafe" "internal/syscall/windows" ) func mmapFile(f *os.File) (Data, error) { st, err := f.Stat() if err != nil { return Data{}, err } size := st.Size() if size == 0 { return Data{f, nil}, nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 15 21:57:36 UTC 2023 - 1K bytes - Viewed (0)