github.com/primecitizens/pcz/std@v0.2.1/builtin/map/access.go (about)

     1  // SPDX-License-Identifier: Apache-2.0
     2  // Copyright 2023 The Prime Citizens
     3  
     4  package stdmap
     5  
     6  import (
     7  	"unsafe"
     8  
     9  	"github.com/primecitizens/pcz/std/core/abi"
    10  )
    11  
    12  // TODO: implement
    13  
    14  func MapAccess1(t *abi.MapType, h *hmap, key unsafe.Pointer) unsafe.Pointer   { return nil }
    15  func MapAccess1Fast32(t *abi.MapType, h *hmap, key uint32) unsafe.Pointer     { return nil }
    16  func MapAccess1Fast64(t *abi.MapType, h *hmap, key uint64) unsafe.Pointer     { return nil }
    17  func MapAccess1FastString(t *abi.MapType, h *hmap, key string) unsafe.Pointer { return nil }
    18  func MapAccess1Fat(t *abi.MapType, h *hmap, key unsafe.Pointer, zero *abi.Type) unsafe.Pointer {
    19  	return nil
    20  }
    21  
    22  func MapAccess2(t *abi.MapType, h *hmap, key unsafe.Pointer) (unsafe.Pointer, bool) {
    23  	return nil, false
    24  }
    25  func MapAccess2Fast32(t *abi.MapType, h *hmap, key uint32) (unsafe.Pointer, bool) { return nil, false }
    26  func MapAccess2Fast64(t *abi.MapType, h *hmap, key uint64) (unsafe.Pointer, bool) { return nil, false }
    27  func MapAccess2FastString(t *abi.MapType, h *hmap, key string) (unsafe.Pointer, bool) {
    28  	return nil, false
    29  }
    30  func MapAccess2Fat(t *abi.MapType, h *hmap, key unsafe.Pointer, zero *abi.Type) (unsafe.Pointer, bool) {
    31  	return nil, false
    32  }