package goblint

  1. Overview
  2. Docs
Static analysis framework for C

Install

dune-project
 Dependency

Authors

Maintainers

Sources

goblint-2.8.0.tbz
sha256=9175eec0143102243964e34a0786584fd590c60422009259c705a89a27f88de4
sha512=9d760007dd8d003cf596516444ed7acc7370fc3d446e75ac71b0176522c3baae090410762f9035e7aae4f6b0e394bf28bb5b1c08ca0476920b94aa919ef04f42

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.