- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 469 for ESCAPE (0.07 sec)
-
test/abi/part_live.go
//go:registerparams func GC() { runtime.GC(); runtime.GC() } func main() { s := make([]int, 3) escape(s) p := int(uintptr(unsafe.Pointer(&s[2])) + 42) // likely point to unallocated memory poison([3]int{p, p, p}) F(s) } //go:noinline //go:registerparams func poison([3]int) {} //go:noinline //go:registerparams func escape(s []int) { g = s }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 07 03:42:11 UTC 2021 - 823 bytes - Viewed (0) -
src/go/scanner/scanner_test.go
{`'\x0g'`, token.CHAR, 4, `'\x0g'`, "illegal character U+0067 'g' in escape sequence"}, {`'\u'`, token.CHAR, 3, `'\u'`, "illegal character U+0027 ''' in escape sequence"}, {`'\u0'`, token.CHAR, 4, `'\u0'`, "illegal character U+0027 ''' in escape sequence"}, {`'\u00'`, token.CHAR, 5, `'\u00'`, "illegal character U+0027 ''' in escape sequence"}, {`'\u000'`, token.CHAR, 6, `'\u000'`, "illegal character U+0027 ''' in escape sequence"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 15:38:31 UTC 2023 - 34.6K bytes - Viewed (0) -
test/escape_sync_atomic.go
// errorcheck -0 -m -l // Copyright 2019 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. // Test escape analysis for sync/atomic. package escape import ( "sync/atomic" "unsafe" ) // BAD: should be "leaking param: addr to result ~r1 level=1$". func LoadPointer(addr *unsafe.Pointer) unsafe.Pointer { // ERROR "leaking param: addr$"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 17 19:09:15 UTC 2019 - 943 bytes - Viewed (0) -
guava-gwt/src/com/google/common/ForceGuavaCompilation.gwt.xml
<inherits name="com.google.common.base.Base" /> <inherits name="com.google.common.cache.Cache" /> <inherits name="com.google.common.collect.Collect" /> <inherits name="com.google.common.escape.Escape" /> <inherits name="com.google.common.html.Html" /> <inherits name="com.google.common.io.Io" /> <inherits name="com.google.common.math.Math" /> <inherits name="com.google.common.net.Net" />
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Sep 27 15:04:14 UTC 2021 - 1.1K bytes - Viewed (0) -
test/abi/part_live_2.go
//go:registerparams func GC() { runtime.GC(); runtime.GC() } func main() { s := make([]int, 3) escape(s) p := int(uintptr(unsafe.Pointer(&s[2])) + 42) // likely point to unallocated memory poison([3]int{p, p, p}) F(s) } //go:noinline //go:registerparams func poison([3]int) {} //go:noinline //go:registerparams func escape(s []int) { g = s }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 07 03:42:11 UTC 2021 - 986 bytes - Viewed (0) -
test/fixedbugs/bug320.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 963 bytes - Viewed (0) -
src/runtime/cgo.go
var cgoHasExtraM bool // cgoUse is called by cgo-generated code (using go:linkname to get at // an unexported name). The calls serve two purposes: // 1) they are opaque to escape analysis, so the argument is considered to // escape to the heap. // 2) they keep the argument alive until the call site; the call is emitted after // the end of the (presumed) use of the argument by C.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:47 UTC 2024 - 3.1K bytes - Viewed (0) -
guava-gwt/test/com/google/common/escape/testing/Testing.gwt.xml
(I hope that this workaround does not cause its own problems in the future.) --> <super-source path="super"/> <inherits name="com.google.common.annotations.Annotations" /> <inherits name="com.google.common.escape.Escape" /> <inherits name="com.google.gwt.core.Core" /> <inherits name="com.google.gwt.junit.JUnit" /> <inherits name="com.google.gwt.user.User" />
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Jan 06 15:30:58 UTC 2022 - 1.5K bytes - Viewed (0) -
test/fixedbugs/issue52193.go
func f() { // ERROR "can inline f" var i interface{ m() } = T(0) // ERROR "T\(0\) does not escape" i.m() // ERROR "devirtualizing i.m" "inlining call to T.m" } type T int func (T) m() { // ERROR "can inline T.m" if never { f() // ERROR "inlining call to f" "devirtualizing i.m" "T\(0\) does not escape" } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 09 17:21:38 UTC 2024 - 1.2K bytes - Viewed (0) -
src/net/url/url.go
// The RFC allows ';', ':', '&', '=', '+', '$', and ',' in // userinfo, so we must escape only '@', '/', and '?'. // The parsing of userinfo treats ':' as special so we must escape // that too. return c == '@' || c == '/' || c == '?' || c == ':' case encodeQueryComponent: // §3.4 // The RFC reserves (so we must escape) everything. return true case encodeFragment: // §4.1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:53 UTC 2024 - 36.1K bytes - Viewed (0)