Source File
bitmap.go
Belonging Package
google.golang.org/protobuf/internal/impl
// Copyright 2024 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 !racepackage impl// There is no additional data as we're not running under race detector.type RaceDetectHookData struct{}// Empty stubs for when not using the race detector. Calls to these from index.go should be optimized away.func (presence) ( uint32) {}func (presence) ( uint32, presenceSize) {}func (presence) ( uint32) {}func (presence) ( presence) {}// raceDetectHookPresent is called by the generated file interface// (*proto.internalFuncs) Present to optionally read an unprotected// shadow bitmap when race detection is enabled. In regular code it is// a noop.func raceDetectHookPresent( *uint32, uint32) {}// raceDetectHookSetPresent is called by the generated file interface// (*proto.internalFuncs) SetPresent to optionally write an unprotected// shadow bitmap when race detection is enabled. In regular code it is// a noop.func raceDetectHookSetPresent( *uint32, uint32, presenceSize) {}// raceDetectHookClearPresent is called by the generated file interface// (*proto.internalFuncs) ClearPresent to optionally write an unprotected// shadow bitmap when race detection is enabled. In regular code it is// a noop.func raceDetectHookClearPresent( *uint32, uint32) {}
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |