- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for CgoCheck2 (0.16 sec)
-
src/internal/goexperiment/exp_cgocheck2_off.go
// Code generated by mkconsts.go. DO NOT EDIT. //go:build !goexperiment.cgocheck2 package goexperiment const CgoCheck2 = false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:27 UTC 2023 - 153 bytes - Viewed (0) -
src/internal/goexperiment/exp_cgocheck2_on.go
// Code generated by mkconsts.go. DO NOT EDIT. //go:build goexperiment.cgocheck2 package goexperiment const CgoCheck2 = true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:27 UTC 2023 - 151 bytes - Viewed (0) -
src/runtime/atomic_pointer.go
// //go:nosplit func atomicstorep(ptr unsafe.Pointer, new unsafe.Pointer) { if writeBarrier.enabled { atomicwb((*unsafe.Pointer)(ptr), new) } if goexperiment.CgoCheck2 { cgoCheckPtrWrite((*unsafe.Pointer)(ptr), new) } atomic.StorepNoWB(noescape(ptr), new) } // atomic_storePointer is the implementation of runtime/internal/UnsafePointer.Store
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 4K bytes - Viewed (0) -
test/fixedbugs/issue20250.go
// errorcheck -0 -live -l //go:build !goexperiment.cgocheck2 // Copyright 2017 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. // Issue 20250: liveness differed with concurrent compilation // due to propagation of addrtaken to outer variables for // closure variables. package p type T struct { s [2]string }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 727 bytes - Viewed (0) -
src/cmd/cgo/internal/testerrors/ptr_test.go
goexperiment = nil } i := slices.Index(goexperiment, "cgocheck2") changed := false if cgocheck2 && i < 0 { goexperiment = append(goexperiment, "cgocheck2") changed = true } else if !cgocheck2 && i >= 0 { goexperiment = append(goexperiment[:i], goexperiment[i+1:]...) changed = true } if changed { cmd.Env = append(cmd.Env, "GOEXPERIMENT="+strings.Join(goexperiment, ",")) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 03 16:07:49 UTC 2023 - 21.2K bytes - Viewed (0) -
test/codegen/structs.go
// asmcheck //go:build !goexperiment.cgocheck2 // Copyright 2018 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 codegen // This file contains code generation tests related to the handling of // struct types. // ------------- // // Zeroing // // ------------- // type Z1 struct { a, b, c int }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 923 bytes - Viewed (0) -
src/internal/goexperiment/flags.go
// Arenas causes the "arena" standard library package to be visible // to the outside world. Arenas bool // CgoCheck2 enables an expensive cgo rule checker. // When this experiment is enabled, cgo rule checks occur regardless // of the GODEBUG=cgocheck setting provided at runtime. CgoCheck2 bool // LoopVar changes loop semantics so that each iteration gets its own // copy of the iteration variable. LoopVar bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 16:19:47 UTC 2024 - 4.2K bytes - Viewed (0) -
src/runtime/cgocheck.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Code to check that pointer writes follow the cgo rules. // These functions are invoked when GOEXPERIMENT=cgocheck2 is enabled. package runtime import ( "internal/abi" "internal/goarch" "unsafe" ) const cgoWriteBarrierFail = "unpinned Go pointer stored into non-Go memory"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 09 04:07:57 UTC 2024 - 7.6K bytes - Viewed (0) -
test/fixedbugs/issue15747.go
// errorcheck -0 -live //go:build !goexperiment.cgocheck2 // Copyright 2016 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. // Issue 15747: liveness analysis was marking heap-escaped params live too much, // and worse was using the wrong bitmap bits to do so. package p var global *[]byte type Q struct{} type T struct{ M string }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 1.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/writebarrier.go
wbsym := f.fe.Syslook("writeBarrier") wbaddr = f.Entry.NewValue1A(initpos, OpAddr, f.Config.Types.UInt32Ptr, wbsym, sb) wbZero = f.fe.Syslook("wbZero") wbMove = f.fe.Syslook("wbMove") if buildcfg.Experiment.CgoCheck2 { cgoCheckPtrWrite = f.fe.Syslook("cgoCheckPtrWrite") cgoCheckMemmove = f.fe.Syslook("cgoCheckMemmove") } const0 = f.ConstInt32(f.Config.Types.UInt32, 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:09:14 UTC 2023 - 23.5K bytes - Viewed (0)