- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for IfNode (0.11 sec)
-
pkg/test/framework/components/echo/config/param/template.go
// That's all we need when looking for well-known params. firstIdentifier := n.(*parse.FieldNode).Ident[0] out.Insert(firstIdentifier) case parse.NodeIf: out.Merge(getParams(n.(*parse.IfNode).Pipe)) case parse.NodeWith: out.Merge(getParams(n.(*parse.WithNode).Pipe)) case parse.NodeRange: out.Merge(getParams(n.(*parse.RangeNode).Pipe)) case parse.NodeAction:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Sep 15 21:32:48 UTC 2022 - 2.8K bytes - Viewed (0) -
src/internal/syscall/unix/siginfo_linux_test.go
if v := unsafe.Sizeof(si); v != 128 { t.Fatalf("sizeof: got %d, want 128", v) } ofSigno := 0 ofErrno := 4 ofCode := 8 if strings.HasPrefix(runtime.GOARCH, "mips") { // These two fields are swapped on MIPS platforms. ofErrno, ofCode = ofCode, ofErrno } ofPid := 12 if host64bit { ofPid = 16 } ofUid := ofPid + 4 ofStatus := ofPid + 8 offsets := []struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 01:23:00 UTC 2024 - 1.3K bytes - Viewed (0) -
src/runtime/lfstack.go
func lfnodeValidate(node *lfnode) { if base, _, _ := findObject(uintptr(unsafe.Pointer(node)), 0, 0); base != 0 { throw("lfstack node allocated from the heap") } if lfstackUnpack(lfstackPack(node, ^uintptr(0))) != node { printlock() println("runtime: bad lfnode address", hex(uintptr(unsafe.Pointer(node)))) throw("bad lfnode address") } } func lfstackPack(node *lfnode, cnt uintptr) uint64 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 2K bytes - Viewed (0) -
src/runtime/lfstack_test.go
return (*LFNode)(unsafe.Pointer(node)) } func toMyNode(node *LFNode) *MyNode { return (*MyNode)(unsafe.Pointer(node)) } var global any func TestLFStack(t *testing.T) { stack := new(uint64) global = stack // force heap allocation // Check the stack is initially empty. if LFStackPop(stack) != nil { t.Fatalf("stack is not empty") } // Push one element.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 17 23:12:04 UTC 2022 - 2.7K bytes - Viewed (0) -
src/encoding/xml/typeinfo.go
valid := true switch mode := finfo.flags & fMode; mode { case 0: finfo.flags |= fElement case fAttr, fCDATA, fCharData, fInnerXML, fComment, fAny, fAny | fAttr: if f.Name == xmlName || tag != "" && mode != fAttr { valid = false } default: // This will also catch multiple modes in a single field. valid = false } if finfo.flags&fMode == fAny { finfo.flags |= fElement }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 07 00:23:29 UTC 2023 - 9.6K bytes - Viewed (0) -
src/runtime/align_runtime_test.go
unsafe.Offsetof(heapStatsDelta{}.inHeap), unsafe.Offsetof(heapStatsDelta{}.inStacks), unsafe.Offsetof(heapStatsDelta{}.inPtrScalarBits), unsafe.Offsetof(heapStatsDelta{}.inWorkBufs), unsafe.Offsetof(lfnode{}.next), unsafe.Offsetof(mstats{}.last_gc_nanotime), unsafe.Offsetof(mstats{}.last_gc_unix), unsafe.Offsetof(workType{}.bytesMarked), } // AtomicVariables is the set of global variables on which we perform
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 1.8K bytes - Viewed (0)