- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for RetPtr (0.11 sec)
-
test/fixedbugs/issue9537.dir/b.go
) type X struct { *a.X } type Intf interface { Get() []byte RetPtr(int) *int RetRPtr(int) (int, *int) } func main() { x := &a.X{T: [32]byte{1, 2, 3, 4}} var ix Intf = X{x} t1 := ix.Get() t2 := x.Get() if !bytes.Equal(t1, t2) { panic(t1) } p1 := ix.RetPtr(5) p2 := x.RetPtr(7) if *p1 != 6 || *p2 != 8 { panic(*p1) } r1, r2 := ix.RetRPtr(10)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 22 03:25:12 UTC 2015 - 678 bytes - Viewed (0) -
test/fixedbugs/issue9537.dir/a.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 22 03:25:12 UTC 2015 - 386 bytes - Viewed (0) -
cmd/post-policy_test.go
keyConditionStr, contentLengthCondStr, algorithmConditionStr, dateConditionStr, credentialConditionStr, uuidConditionStr) retStr := "{" retStr = retStr + expirationStr + "," retStr += conditionStr retStr += "}" return []byte(retStr) } // newPostPolicyBytesV4 - creates a bare bones postpolicy string with key and bucket matches.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 30.2K bytes - Viewed (0) -
src/runtime/mgcstack.go
// Returns 0 if there are no more pointers available. // // This prefers non-conservative pointers so we scan stack objects // precisely if there are any non-conservative pointers to them. func (s *stackScanState) getPtr() (p uintptr, conservative bool) { for _, head := range []**stackWorkBuf{&s.buf, &s.cbuf} { buf := *head if buf == nil { // Never had any data. continue } if buf.nobj == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 21 21:06:52 UTC 2023 - 10.6K bytes - Viewed (0) -
src/runtime/mgcmark.go
// // The state's pointer queue prioritizes precise pointers over // conservative pointers so that we'll prefer scanning stack // objects precisely. state.buildIndex() for { p, conservative := state.getPtr() if p == 0 { break } obj := state.findObject(p) if obj == nil { continue } r := obj.r if r == nil { // We've already scanned this object. continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 21:25:11 UTC 2024 - 52.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go
) // EscapeCommFunction constants. See https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-escapecommfunction. const ( SETXOFF = 1 SETXON = 2 SETRTS = 3 CLRRTS = 4 SETDTR = 5 CLRDTR = 6 SETBREAK = 8 CLRBREAK = 9 ) // PurgeComm constants. See https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-purgecomm. const ( PURGE_TXABORT = 0x0001
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 05 22:18:42 UTC 2024 - 82.8K bytes - Viewed (0)