package goblint

Build not yet checked
  1. Overview
  2. Docs
Static analysis framework for C

Install

dune-project
 Dependency

Authors

Maintainers

Sources

goblint-2.9.0.tbz
sha256=882f25e68cc14d42879ab4775fb2cf99aaac7e3cc70d58fa632b7edef304a731
sha512=dc90f0a685709688bbc13c80d0e2b01bf87cf2bbdc7f0c22632227ae32bee9377f3f1cb50f00cf564d6f1313c27fba5d811c53bb17a24972ab5aa570bf62278b

doc/goblint.parallel/Goblint_parallel/Data/ConcurrentHashmap/index.html

Module Data.ConcurrentHashmapSource

A lock free concurrency safe hashmap

Parameters

module D : DefaultType
module HM : Batteries.Hashtbl.S with type key = H.t

Signature

Sourcetype key = H.t
Sourcetype value = D.t Atomic.t
Sourcetype t
Sourceval create : unit -> t
Sourceval to_list : t -> (key * value) list
Sourceval to_seq : t -> (key * value) Batteries.Seq.t
Sourceval to_seq_values : t -> value Batteries.Seq.t
Sourceval to_hashtbl : t -> D.t HM.t
Sourceval find_option : t -> key -> value option
Sourceval find : t -> key -> value

find t k returns the value associated with k in t. If k is not present, it raises Not_found. Use this method if you expect the value to be present in the hashmap

Sourceval mem : t -> key -> bool
Sourceval find_create : t -> key -> value * bool

find_create t k returns the value associated with k in t. If k is not present, it creates a new value using the default factory and adds it to t. It returns the new value and a boolean indicating whether it was created.