- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 162 for _Trace (0.1 sec)
-
src/go/ast/ast.go
return s.Label.End() } return token.Pos(int(s.TokPos) + len(s.Tok.String())) } func (s *BlockStmt) End() token.Pos { if s.Rbrace.IsValid() { return s.Rbrace + 1 } if n := len(s.List); n > 0 { return s.List[n-1].End() } return s.Lbrace + 1 } func (s *IfStmt) End() token.Pos { if s.Else != nil { return s.Else.End() } return s.Body.End() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 28 21:32:41 UTC 2024 - 35.6K bytes - Viewed (0) -
src/runtime/internal/sys/consts_norace.go
// Copyright 2022 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. //go:build !race package sys
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 16:26:25 UTC 2022 - 208 bytes - Viewed (0) -
src/internal/race/race.go
// Copyright 2015 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. //go:build race package race import ( "runtime" "unsafe" ) const Enabled = true func Acquire(addr unsafe.Pointer) { runtime.RaceAcquire(addr) } func Release(addr unsafe.Pointer) { runtime.RaceRelease(addr) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:27 UTC 2023 - 881 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/race.go
// Copyright 2012 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. //go:build (darwin && race) || (linux && race) || (freebsd && race) package unix import ( "runtime" "unsafe" ) const raceenabled = true func raceAcquire(addr unsafe.Pointer) { runtime.RaceAcquire(addr) } func raceReleaseMerge(addr unsafe.Pointer) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 629 bytes - Viewed (0) -
src/runtime/race.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build race package runtime import ( "internal/abi" "unsafe" ) // Public race detection API, present iff build with -race. func RaceRead(addr unsafe.Pointer) func RaceWrite(addr unsafe.Pointer) func RaceReadRange(addr unsafe.Pointer, len int)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 20.4K bytes - Viewed (0) -
src/syscall/syscall_ptrace_test.go
t.Skipf("skipped because sh is not available") } attr := &os.ProcAttr{ Sys: &syscall.SysProcAttr{ Ptrace: true, }, } proc, err := os.StartProcess(bin, []string{bin}, attr) if err == nil { proc.Kill() } if err != nil && !os.IsPermission(err) { t.Fatalf("StartProcess with ptrace enabled failed: %v", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 768 bytes - Viewed (0) -
src/cmd/compile/internal/test/race.go
// to) trigger compiler data races, so they will be exercised on // the racecompile builder. // // This package is not imported so functions here are not included // in the actual compiler. // Issue 55357: data race when building multiple instantiations of // generic closures with _ parameters. func Issue55357() { type U struct { A int B string C string } var q T55357[U] q.Count() q.List()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 20 22:16:41 UTC 2022 - 1.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/plan9/race.go
// Copyright 2012 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. //go:build plan9 && race package plan9 import ( "runtime" "unsafe" ) const raceenabled = true func raceAcquire(addr unsafe.Pointer) { runtime.RaceAcquire(addr) } func raceReleaseMerge(addr unsafe.Pointer) { runtime.RaceReleaseMerge(addr) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 587 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/windows/race.go
// Copyright 2012 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. //go:build windows && race package windows import ( "runtime" "unsafe" ) const raceenabled = true func raceAcquire(addr unsafe.Pointer) { runtime.RaceAcquire(addr) } func raceReleaseMerge(addr unsafe.Pointer) { runtime.RaceReleaseMerge(addr) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 591 bytes - Viewed (0) -
src/race.bash
# Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. # race.bash tests the standard library under the race detector. # https://golang.org/doc/articles/race_detector.html set -e function usage {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 04 14:17:20 UTC 2022 - 919 bytes - Viewed (0)