Source File
pointer_unsafe.go
Belonging Package
google.golang.org/protobuf/internal/protolazy
// 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.
package protolazy
import (
)
func ( **[]IndexEntry) *[]IndexEntry {
return (*[]IndexEntry)(atomic.LoadPointer((*unsafe.Pointer)(unsafe.Pointer())))
}
func ( **[]IndexEntry, *[]IndexEntry) {
atomic.StorePointer((*unsafe.Pointer)(unsafe.Pointer()), unsafe.Pointer())
}
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)