- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 60 for mp (0.18 sec)
-
pkg/config/model_test.go
func TestToMap(t *testing.T) { cases := []struct { input Spec mp map[string]any }{ // Istio type { input: &networking.VirtualService{Gateways: []string{"foobar"}}, mp: map[string]any{ "gateways": []any{"foobar"}, }, }, // Kubernetes type { input: &corev1.PodSpec{ServiceAccountName: "foobar"}, mp: map[string]any{ "serviceAccountName": "foobar", }, },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 17:37:32 UTC 2024 - 7.9K bytes - Viewed (0) -
src/runtime/netpoll_windows.go
return gList{}, 0 } var entries [64]overlappedEntry var wait uint32 var toRun gList mp := getg().m if delay >= 1e15 { // An arbitrary cap on how long to wait for a timer. // 1e15 ns == ~11.5 days. delay = 1e15 } if delay > 0 && mp.waitIocpHandle != 0 { // GetQueuedCompletionStatusEx doesn't use a high resolution timer internally,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 9.4K bytes - Viewed (0) -
src/runtime/preempt_nonwindows.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build !windows package runtime //go:nosplit func osPreemptExtEnter(mp *m) {} //go:nosplit
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 290 bytes - Viewed (0) -
src/runtime/os_netbsd_arm.go
import ( "internal/abi" "unsafe" ) func lwp_mcontext_init(mc *mcontextt, stk unsafe.Pointer, mp *m, gp *g, fn uintptr) { // Machine dependent mcontext initialisation for LWP. mc.__gregs[_REG_R15] = uint32(abi.FuncPCABI0(lwp_tramp)) mc.__gregs[_REG_R13] = uint32(uintptr(stk)) mc.__gregs[_REG_R0] = uint32(uintptr(unsafe.Pointer(mp))) mc.__gregs[_REG_R1] = uint32(uintptr(unsafe.Pointer(gp))) mc.__gregs[_REG_R2] = uint32(fn) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 1.1K bytes - Viewed (0) -
src/runtime/export_debug_test.go
// a signal handler. Add the go:nowritebarrierrec annotation and restructure // this to avoid write barriers. switch h.gp.atomicstatus.Load() { case _Grunning: if getg().m != h.mp { println("trap on wrong M", getg().m, h.mp) return false } // Save the signal context h.saveSigContext(ctxt) // Set PC to debugCallV2. ctxt.setsigpc(uint64(abi.FuncPCABIInternal(debugCallV2)))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 5.1K bytes - Viewed (0) -
src/runtime/os3_plan9.go
return _NCONT } if sendNote(note) { return _NCONT } } if flags&_SigKill != 0 { goto Exit } if flags&_SigThrow == 0 { return _NCONT } Throw: mp.throwing = throwTypeRuntime mp.caughtsig.set(gp) startpanic_m() print(notestr, "\n") print("PC=", hex(c.pc()), "\n") print("\n") level, _, docrash = gotraceback() if level > 0 { goroutineheader(gp)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 4K bytes - Viewed (0) -
pkg/volume/util/nested_volumes.go
// as /dir/nested and /dir/nested/other, only create /dir/nested. for _, mp := range allMountPoints { if !strings.HasPrefix(mp, myMPSlash) { continue // skip -- not nested beneath myMountPoint } isNested := false for _, prevNestedMP := range prevNestedMPs { if strings.HasPrefix(mp, prevNestedMP) { isNested = true break } } if isNested {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 18 12:19:17 UTC 2022 - 4.1K bytes - Viewed (0) -
src/internal/coverage/test/roundtrip_test.go
} pmp := dec.ModulePath() if pmp != mp { t.Errorf("dec.ModulePath(): got %s want %s", pmp, mp) } } func TestMetaDataEncoderDecoder(t *testing.T) { // Test encode path. pp := "foo/bar/pkg" pn := "pkg" mp := "barmod" b, err := encodemeta.NewCoverageMetaDataBuilder(pp, pn, mp) if err != nil { t.Fatalf("making builder: %v", err) } f1 := coverage.FuncDesc{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 20 21:42:05 UTC 2023 - 8.5K bytes - Viewed (0) -
pkg/volume/emptydir/empty_dir_linux.go
} // Find mount point for the path mountPoint, err := func(mps []mount.MountPoint, mpPath string) (*mount.MountPoint, error) { for _, mp := range mps { if mp.Path == mpPath { return &mp, nil } } return nil, fmt.Errorf("mount point for %s not found", mpPath) }(mountPoints, path) if err != nil { return nil, err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 3.6K bytes - Viewed (0) -
src/internal/types/testdata/check/const1.go
// constant conversions package const1 import "math" const( mi = ^int(0) mu = ^uint(0) mp = ^uintptr(0) logSizeofInt = uint(mi>>8&1 + mi>>16&1 + mi>>32&1) logSizeofUint = uint(mu>>8&1 + mu>>16&1 + mu>>32&1) logSizeofUintptr = uint(mp>>8&1 + mp>>16&1 + mp>>32&1) ) const ( minInt8 = -1<<(8<<iota - 1) minInt16 minInt32 minInt64 minInt = -1<<(8<<logSizeofInt - 1) )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 31 16:11:16 UTC 2023 - 8.5K bytes - Viewed (0)