X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=docs%2Fsources%2Fmono-api-utils.html;h=813fb8d7f0dd76469dd6fd1901c6748ae7b9385f;hb=411a37af27905eaa44dac1a31f6387a11c0b0244;hp=8b013eb0d565620347cc85f78dfea58e31875cfc;hpb=b87c7e29df7d04e3199e224c8b8e9a41292cec1b;p=mono.git diff --git a/docs/sources/mono-api-utils.html b/docs/sources/mono-api-utils.html index 8b013eb0d56..813fb8d7f0d 100644 --- a/docs/sources/mono-api-utils.html +++ b/docs/sources/mono-api-utils.html @@ -1,124 +1,5 @@

Utility Methods

-

Bitsets

- -

MonoBitsets are a set of routines used to manipulate sets - of bits. - -

mono_bitset_alloc_size

-

mono_bitset_clear

-

mono_bitset_clear_all

-

mono_bitset_clone

-

mono_bitset_copyto

-

mono_bitset_count

-

mono_bitset_equal

-

mono_bitset_find_first

-

mono_bitset_find_last

-

mono_bitset_find_start

-

mono_bitset_foreach

-

mono_bitset_free

-

mono_bitset_intersection

-

mono_bitset_invert

-

mono_bitset_mem_new

-

mono_bitset_new

-

mono_bitset_set

-

mono_bitset_set_all

-

mono_bitset_size

-

mono_bitset_sub

-

mono_bitset_test

-

mono_bitset_test_bulk

-

mono_bitset_union

-

mono_bitset_find_first_unset

-

mono_bitset_intersection_2

- -

Hashtables

- -

GHashTable is used when you need to store object - references into a hashtable, objects stored in a - MonoGHashTable are properly tracked by the garbage - collector. - -

The MonoGHashTable data type has the same API as - the GLIB. - -

mono_g_hash_table_destroy

-

mono_g_hash_table_foreach

-

mono_g_hash_table_foreach_remove

-

mono_g_hash_table_foreach_steal

-

mono_g_hash_table_insert

-

mono_g_hash_table_lookup

-

mono_g_hash_table_lookup_extended

-

mono_g_hash_table_new

-

mono_g_hash_table_new_full

-

mono_g_hash_table_remap

-

mono_g_hash_table_remove

-

mono_g_hash_table_replace

-

mono_g_hash_table_size

-

mono_g_hash_table_steal

- -

Raw buffer

- -

Raw buffers provide an abstraction to load segments of - files into memory. If the operating system supports it, the - files are not loaded, but are mapped into the address space of - the process (On Unix, this is done using the mmap(2) - system call). - -

mono_raw_buffer_load

-

mono_raw_buffer_update

-

mono_raw_buffer_free

- -

SHA1 Signatures

- -

mono_sha1_init

-

mono_sha1_update

-

mono_sha1_get_digest_from_file

-

mono_sha1_get_digest

-

mono_sha1_final

- -

MD5 Signatures

- -

mono_md5_init

-

mono_md5_update

-

mono_md5_get_digest_from_file

-

mono_md5_get_digest

-

mono_md5_final

- -

mono_digest_get_public_token

- -

Memory Pools

- -

Memory pools are a convenient way of tracking memory - allocations that are used for one specific task, they are also - faster than using the standard memory allocation procedures, - as they are designed to be used only by a single thread at a - time. - -

MonoMemPool objects are not thread safe, which - means that you should not share the objects across multiple - threads without providing proper locking around it (unlike - malloc and free which are thread safe). - -

When a MonoMemPool is released with - mono_mempool_destroy all of the of the memory - allocated from that memory pool with - mono_mempool_alloc and mono_mempool_alloc0 - is released. - -

mono_mempool_new

-

mono_mempool_destroy

-

mono_mempool_alloc

-

mono_mempool_alloc0

-

mono_mempool_empty

-

mono_mempool_invalidate

-

mono_mempool_stats

-

mono_mempool_contains_addr

- -

JIT utilities

- -

mono_is_power_of_two

-

mono_signbit_double

-

mono_signbit_float

Disassembling Generated Code

@@ -126,15 +7,13 @@

mono_disasm_code

mono_disasm_code_one

-

mono_disassemble_code

Walking the Stack

-

mono_walk_stack

mono_stack_walk_no_il

+

mono_stack_walk_async_safe

Others

-

mono_escape_uri_string

mono_guid_to_string