You've already forked linux-packaging-mono
Imported Upstream version 5.10.0.47
Former-commit-id: d0813289fa2d35e1f8ed77530acb4fb1df441bc0
This commit is contained in:
parent
88ff76fe28
commit
e46a49ecf1
@@ -48,6 +48,16 @@
|
||||
line-height: 0px;
|
||||
}
|
||||
|
||||
.mapi-codeblock {
|
||||
display: block;
|
||||
padding: 5pt 5pt;
|
||||
margin: 10pt;
|
||||
white-space: pre;
|
||||
font-family: monospace;
|
||||
border: 1px solid rgba(233,233,233,1);
|
||||
background-color: rgba(249,249,249,1);
|
||||
}
|
||||
|
||||
.mapi-entry code {
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
@@ -243,7 +253,12 @@ mono_sha1_get_digest_from_file (const gchar *filename, guchar digest [20])
|
||||
<p />
|
||||
<div class="mapi-section">Parameters</div>
|
||||
<table class="mapi-parameters"><tbody><tr><td><i>filename</i></td><td> file name</td></tr><tr><td><i>digest</i></td><td> 20-byte buffer receiving the hash code.</td></tr></tbody></table> <div class="mapi-section">Description</div>
|
||||
<div> <p /> Get the SHA-1 hash of a file. The result is put in the 20-byte buffer <i>digest</i>. <p /> If an IO error happens the value in <i>digest</i> is not updated.</div>
|
||||
<div>
|
||||
<p />
|
||||
Get the SHA-1 hash of a file. The result is put in
|
||||
the 20-byte buffer <i>digest</i>.
|
||||
<p />
|
||||
If an IO error happens the value in <i>digest</i> is not updated.</div>
|
||||
</div><!--mapi-description -->
|
||||
</div><!--height container -->
|
||||
</div> <!-- class=mapi -->
|
||||
@@ -339,7 +354,12 @@ mono_md5_get_digest_from_file (const gchar *filename, guchar digest[16])
|
||||
<p />
|
||||
<div class="mapi-section">Parameters</div>
|
||||
<table class="mapi-parameters"><tbody><tr><td><i>filename</i></td><td> file name</td></tr><tr><td><i>digest</i></td><td> 16-byte buffer receiving the hash code.</td></tr></tbody></table> <div class="mapi-section">Description</div>
|
||||
<div> <p /> Get the MD5 hash of a file. The result is put in the 16-byte buffer <i>digest</i>. <p /> If an IO error happens the value in <i>digest</i> is not updated.</div>
|
||||
<div>
|
||||
<p />
|
||||
Get the MD5 hash of a file. The result is put in
|
||||
the 16-byte buffer <i>digest</i>.
|
||||
<p />
|
||||
If an IO error happens the value in <i>digest</i> is not updated.</div>
|
||||
</div><!--mapi-description -->
|
||||
</div><!--height container -->
|
||||
</div> <!-- class=mapi -->
|
||||
@@ -360,7 +380,10 @@ mono_md5_get_digest (const guchar *buffer, gint buffer_size, guchar digest[16])
|
||||
<p />
|
||||
<div class="mapi-section">Parameters</div>
|
||||
<table class="mapi-parameters"><tbody><tr><td><i>buffer</i></td><td> byte buffer</td></tr><tr><td><i>buffer_size</i></td><td> buffer size (in bytes)</td></tr><tr><td><i>digest</i></td><td> 16-byte buffer receiving the hash code.</td></tr></tbody></table> <div class="mapi-section">Description</div>
|
||||
<div> <p /> Get the MD5 hash of a buffer. The result is put in the 16-byte buffer <i>digest</i>.</div>
|
||||
<div>
|
||||
<p />
|
||||
Get the MD5 hash of a buffer. The result is put in
|
||||
the 16-byte buffer <i>digest</i>.</div>
|
||||
</div><!--mapi-description -->
|
||||
</div><!--height container -->
|
||||
</div> <!-- class=mapi -->
|
||||
@@ -399,7 +422,10 @@ mono_digest_get_public_token (guchar* token, const guchar *pubkey, guint32 len)
|
||||
</div>
|
||||
<p />
|
||||
<div class="mapi-section">Description</div>
|
||||
<div> <p /> Get the public token from public key data. <i>token</i> must point to at least 8 bytes of storage.</div>
|
||||
<div>
|
||||
<p />
|
||||
Get the public token from public key data.
|
||||
<i>token</i> must point to at least 8 bytes of storage.</div>
|
||||
</div><!--mapi-description -->
|
||||
</div><!--height container -->
|
||||
|
||||
@@ -616,7 +642,8 @@ mono_mempool_new (void)
|
||||
<div> a new memory pool.
|
||||
</div>
|
||||
<div class="mapi-section">Description</div>
|
||||
<div> <p /></div>
|
||||
<div>
|
||||
<p /></div>
|
||||
</div><!--mapi-description -->
|
||||
</div><!--height container -->
|
||||
</div> <!-- class=mapi -->
|
||||
@@ -637,7 +664,9 @@ mono_mempool_destroy (MonoMemPool *pool)
|
||||
<p />
|
||||
<div class="mapi-section">Parameters</div>
|
||||
<table class="mapi-parameters"><tbody><tr><td><i>pool</i></td><td> the memory pool to destroy</td></tr></tbody></table> <div class="mapi-section">Description</div>
|
||||
<div> <p /> Free all memory associated with this pool.</div>
|
||||
<div>
|
||||
<p />
|
||||
Free all memory associated with this pool.</div>
|
||||
</div><!--mapi-description -->
|
||||
</div><!--height container -->
|
||||
</div> <!-- class=mapi -->
|
||||
@@ -661,7 +690,10 @@ mono_mempool_alloc (MonoMemPool *pool, guint size)
|
||||
<div> the address of a newly allocated memory block.
|
||||
</div>
|
||||
<div class="mapi-section">Description</div>
|
||||
<div> <p /> Allocates a new block of memory in <i>pool</i> . <p /></div>
|
||||
<div>
|
||||
<p />
|
||||
Allocates a new block of memory in <i>pool</i> .
|
||||
<p /></div>
|
||||
</div><!--mapi-description -->
|
||||
</div><!--height container -->
|
||||
</div> <!-- class=mapi -->
|
||||
@@ -681,7 +713,9 @@ mono_mempool_alloc0 (MonoMemPool *pool, guint size)
|
||||
</div>
|
||||
<p />
|
||||
<div class="mapi-section">Description</div>
|
||||
<div> <p /> same as <code>mono_mempool_alloc</code>, but fills memory with zero.</div>
|
||||
<div>
|
||||
<p />
|
||||
same as <code>mono_mempool_alloc</code>, but fills memory with zero.</div>
|
||||
</div><!--mapi-description -->
|
||||
</div><!--height container -->
|
||||
</div> <!-- class=mapi -->
|
||||
@@ -702,7 +736,9 @@ mono_mempool_invalidate (MonoMemPool *pool)
|
||||
<p />
|
||||
<div class="mapi-section">Parameters</div>
|
||||
<table class="mapi-parameters"><tbody><tr><td><i>pool</i></td><td> the memory pool to invalidate</td></tr></tbody></table> <div class="mapi-section">Description</div>
|
||||
<div> <p /> Fill the memory associated with this pool to 0x2a (42). Useful for debugging.</div>
|
||||
<div>
|
||||
<p />
|
||||
Fill the memory associated with this pool to 0x2a (42). Useful for debugging.</div>
|
||||
</div><!--mapi-description -->
|
||||
</div><!--height container -->
|
||||
</div> <!-- class=mapi -->
|
||||
@@ -723,7 +759,12 @@ mono_mempool_stats (MonoMemPool *pool)
|
||||
<p />
|
||||
<div class="mapi-section">Parameters</div>
|
||||
<table class="mapi-parameters"><tbody><tr><td><i>pool</i></td><td> the memory pool we need stats for</td></tr></tbody></table> <div class="mapi-section">Description</div>
|
||||
<div> <p /> Print a few stats about the mempool: - Total memory allocated (malloced) by mem pool - Number of chunks/blocks memory is allocated in - How much memory is available to dispense before a new malloc must occur?</div>
|
||||
<div>
|
||||
<p />
|
||||
Print a few stats about the mempool:
|
||||
- Total memory allocated (malloced) by mem pool
|
||||
- Number of chunks/blocks memory is allocated in
|
||||
- How much memory is available to dispense before a new malloc must occur?</div>
|
||||
</div><!--mapi-description -->
|
||||
</div><!--height container -->
|
||||
</div> <!-- class=mapi -->
|
||||
@@ -744,7 +785,9 @@ mono_mempool_contains_addr (MonoMemPool *pool,
|
||||
</div>
|
||||
<p />
|
||||
<div class="mapi-section">Description</div>
|
||||
<div> <p /> Determines whether <i>addr</i> is inside the memory used by the mempool.</div>
|
||||
<div>
|
||||
<p />
|
||||
Determines whether <i>addr</i> is inside the memory used by the mempool.</div>
|
||||
</div><!--mapi-description -->
|
||||
</div><!--height container -->
|
||||
|
||||
@@ -793,7 +836,9 @@ mono_bitset_clear (MonoBitSet *set, guint32 pos)
|
||||
<p />
|
||||
<div class="mapi-section">Parameters</div>
|
||||
<table class="mapi-parameters"><tbody><tr><td><i>set</i></td><td> bitset ptr</td></tr><tr><td><i>pos</i></td><td> unset bit at this pos</td></tr></tbody></table> <div class="mapi-section">Description</div>
|
||||
<div> <p /> Unset bit at <i>pos</i>, counting from 0.</div>
|
||||
<div>
|
||||
<p />
|
||||
Unset bit at <i>pos</i>, counting from 0.</div>
|
||||
</div><!--mapi-description -->
|
||||
</div><!--height container -->
|
||||
</div> <!-- class=mapi -->
|
||||
@@ -813,7 +858,9 @@ mono_bitset_clear_all (MonoBitSet *set)
|
||||
<p />
|
||||
<div class="mapi-section">Parameters</div>
|
||||
<table class="mapi-parameters"><tbody><tr><td><i>set</i></td><td> bitset ptr</td></tr></tbody></table> <div class="mapi-section">Description</div>
|
||||
<div> <p /> Unset all bits.</div>
|
||||
<div>
|
||||
<p />
|
||||
Unset all bits.</div>
|
||||
</div><!--mapi-description -->
|
||||
</div><!--height container -->
|
||||
</div> <!-- class=mapi -->
|
||||
@@ -856,7 +903,9 @@ mono_bitset_copyto (const MonoBitSet *src, MonoBitSet *dest)
|
||||
<p />
|
||||
<div class="mapi-section">Parameters</div>
|
||||
<table class="mapi-parameters"><tbody><tr><td><i>src</i></td><td> bitset ptr to copy from</td></tr><tr><td><i>dest</i></td><td> bitset ptr to copy to</td></tr></tbody></table> <div class="mapi-section">Description</div>
|
||||
<div> <p /> Copy one bitset to another.</div>
|
||||
<div>
|
||||
<p />
|
||||
Copy one bitset to another.</div>
|
||||
</div><!--mapi-description -->
|
||||
</div><!--height container -->
|
||||
</div> <!-- class=mapi -->
|
||||
@@ -960,7 +1009,8 @@ mono_bitset_find_start (const MonoBitSet *set)
|
||||
<p />
|
||||
<div class="mapi-section">Parameters</div>
|
||||
<table class="mapi-parameters"><tbody><tr><td><i>set</i></td><td> bitset ptr</td></tr></tbody></table> <div class="mapi-section">Description</div>
|
||||
<div> Equivalent to <code>mono_bitset_find_first (set, -1)</code> but faster.</div>
|
||||
<div>
|
||||
Equivalent to <code>mono_bitset_find_first (set, -1)</code> but faster.</div>
|
||||
</div><!--mapi-description -->
|
||||
</div><!--height container -->
|
||||
</div> <!-- class=mapi -->
|
||||
@@ -981,7 +1031,9 @@ mono_bitset_foreach (MonoBitSet *set, MonoBitSetFunc func, gpointer data)
|
||||
<p />
|
||||
<div class="mapi-section">Parameters</div>
|
||||
<table class="mapi-parameters"><tbody><tr><td><i>set</i></td><td> bitset ptr</td></tr><tr><td><i>func</i></td><td> Function to call for every set bit</td></tr><tr><td><i>data</i></td><td> pass this as second arg to func</td></tr></tbody></table> <div class="mapi-section">Description</div>
|
||||
<div> Calls <i>func</i> for every bit set in bitset. Argument 1 is the number of the bit set, argument 2 is data</div>
|
||||
<div>
|
||||
Calls <i>func</i> for every bit set in bitset. Argument 1 is the number of
|
||||
the bit set, argument 2 is data</div>
|
||||
</div><!--mapi-description -->
|
||||
</div><!--height container -->
|
||||
</div> <!-- class=mapi -->
|
||||
@@ -1016,7 +1068,9 @@ mono_bitset_intersection (MonoBitSet *dest, const MonoBitSet *src)
|
||||
<p />
|
||||
<div class="mapi-section">Parameters</div>
|
||||
<table class="mapi-parameters"><tbody><tr><td><i>dest</i></td><td> bitset ptr to hold intersection</td></tr><tr><td><i>src</i></td><td> bitset ptr to copy</td></tr></tbody></table> <div class="mapi-section">Description</div>
|
||||
<div> <p /> Make intersection of one bitset and another.</div>
|
||||
<div>
|
||||
<p />
|
||||
Make intersection of one bitset and another.</div>
|
||||
</div><!--mapi-description -->
|
||||
</div><!--height container -->
|
||||
</div> <!-- class=mapi -->
|
||||
@@ -1036,7 +1090,9 @@ mono_bitset_invert (MonoBitSet *set)
|
||||
<p />
|
||||
<div class="mapi-section">Parameters</div>
|
||||
<table class="mapi-parameters"><tbody><tr><td><i>set</i></td><td> bitset ptr</td></tr></tbody></table> <div class="mapi-section">Description</div>
|
||||
<div> <p /> Flip all bits.</div>
|
||||
<div>
|
||||
<p />
|
||||
Flip all bits.</div>
|
||||
</div><!--mapi-description -->
|
||||
</div><!--height container -->
|
||||
</div> <!-- class=mapi -->
|
||||
@@ -1056,7 +1112,11 @@ mono_bitset_mem_new (gpointer mem, guint32 max_size, guint32 flags)
|
||||
<p />
|
||||
<div class="mapi-section">Parameters</div>
|
||||
<table class="mapi-parameters"><tbody><tr><td><i>mem</i></td><td> The location the bitset is stored</td></tr><tr><td><i>max_size</i></td><td> The number of bits you want to hold</td></tr><tr><td><i>flags</i></td><td> bitfield of flags</td></tr></tbody></table> <div class="mapi-section">Description</div>
|
||||
<div> <p /> Return <i>mem</i>, which is now a initialized bitset of size <i>max_size</i>. It is not freed even if called with <code>mono_bitset_free</code>. <i>mem</i> must be at least as big as <code>mono_bitset_alloc_size</code> returns for the same <i>max_size</i>.</div>
|
||||
<div>
|
||||
<p />
|
||||
Return <i>mem</i>, which is now a initialized bitset of size <i>max_size</i>. It is
|
||||
not freed even if called with <code>mono_bitset_free</code>. <i>mem</i> must be at least
|
||||
as big as <code>mono_bitset_alloc_size</code> returns for the same <i>max_size</i>.</div>
|
||||
</div><!--mapi-description -->
|
||||
</div><!--height container -->
|
||||
</div> <!-- class=mapi -->
|
||||
@@ -1098,7 +1158,9 @@ mono_bitset_set (MonoBitSet *set, guint32 pos)
|
||||
<p />
|
||||
<div class="mapi-section">Parameters</div>
|
||||
<table class="mapi-parameters"><tbody><tr><td><i>set</i></td><td> bitset ptr</td></tr><tr><td><i>pos</i></td><td> set bit at this pos</td></tr></tbody></table> <div class="mapi-section">Description</div>
|
||||
<div> <p /> Set bit at <i>pos</i>, counting from 0.</div>
|
||||
<div>
|
||||
<p />
|
||||
Set bit at <i>pos</i>, counting from 0.</div>
|
||||
</div><!--mapi-description -->
|
||||
</div><!--height container -->
|
||||
</div> <!-- class=mapi -->
|
||||
@@ -1118,7 +1180,9 @@ mono_bitset_set_all (MonoBitSet *set)
|
||||
<p />
|
||||
<div class="mapi-section">Parameters</div>
|
||||
<table class="mapi-parameters"><tbody><tr><td><i>set</i></td><td> bitset ptr</td></tr></tbody></table> <div class="mapi-section">Description</div>
|
||||
<div> <p /> Set all bits.</div>
|
||||
<div>
|
||||
<p />
|
||||
Set all bits.</div>
|
||||
</div><!--mapi-description -->
|
||||
</div><!--height container -->
|
||||
</div> <!-- class=mapi -->
|
||||
@@ -1159,7 +1223,9 @@ mono_bitset_sub (MonoBitSet *dest, const MonoBitSet *src)
|
||||
<p />
|
||||
<div class="mapi-section">Parameters</div>
|
||||
<table class="mapi-parameters"><tbody><tr><td><i>dest</i></td><td> bitset ptr to hold bitset - src</td></tr><tr><td><i>src</i></td><td> bitset ptr to copy</td></tr></tbody></table> <div class="mapi-section">Description</div>
|
||||
<div> <p /> Unset all bits in <i>dest</i> that are set in <i>src</i>.</div>
|
||||
<div>
|
||||
<p />
|
||||
Unset all bits in <i>dest</i> that are set in <i>src</i>.</div>
|
||||
</div><!--mapi-description -->
|
||||
</div><!--height container -->
|
||||
</div> <!-- class=mapi -->
|
||||
@@ -1182,7 +1248,8 @@ mono_bitset_test (const MonoBitSet *set, guint32 pos)
|
||||
<div> a nonzero value if set, 0 otherwise.
|
||||
</div>
|
||||
<div class="mapi-section">Description</div>
|
||||
<div> Test bit at <i>pos</i>, counting from 0.</div>
|
||||
<div>
|
||||
Test bit at <i>pos</i>, counting from 0.</div>
|
||||
</div><!--mapi-description -->
|
||||
</div><!--height container -->
|
||||
</div> <!-- class=mapi -->
|
||||
@@ -1224,7 +1291,9 @@ mono_bitset_union (MonoBitSet *dest, const MonoBitSet *src)
|
||||
<p />
|
||||
<div class="mapi-section">Parameters</div>
|
||||
<table class="mapi-parameters"><tbody><tr><td><i>dest</i></td><td> bitset ptr to hold union</td></tr><tr><td><i>src</i></td><td> bitset ptr to copy</td></tr></tbody></table> <div class="mapi-section">Description</div>
|
||||
<div> <p /> Make union of one bitset and another.</div>
|
||||
<div>
|
||||
<p />
|
||||
Make union of one bitset and another.</div>
|
||||
</div><!--mapi-description -->
|
||||
</div><!--height container -->
|
||||
</div> <!-- class=mapi -->
|
||||
@@ -1264,7 +1333,9 @@ mono_bitset_intersection_2 (MonoBitSet *dest, const MonoBitSet *src1, const Mono
|
||||
<p />
|
||||
<div class="mapi-section">Parameters</div>
|
||||
<table class="mapi-parameters"><tbody><tr><td><i>dest</i></td><td> bitset ptr to hold intersection</td></tr><tr><td><i>src1</i></td><td> first bitset</td></tr><tr><td><i>src2</i></td><td> second bitset</td></tr></tbody></table> <div class="mapi-section">Description</div>
|
||||
<div> <p /> Make intersection of two bitsets</div>
|
||||
<div>
|
||||
<p />
|
||||
Make intersection of two bitsets</div>
|
||||
</div><!--mapi-description -->
|
||||
</div><!--height container -->
|
||||
|
||||
@@ -1332,7 +1403,10 @@ mono_create_ftnptr (MonoDomain *domain, gpointer addr)
|
||||
</div>
|
||||
<p />
|
||||
<div class="mapi-section">Description</div>
|
||||
<div> <p /> Given a function address, create a function descriptor for it. This is only needed on some platforms.</div>
|
||||
<div>
|
||||
<p />
|
||||
Given a function address, create a function descriptor for it.
|
||||
This is only needed on some platforms.</div>
|
||||
</div><!--mapi-description -->
|
||||
</div><!--height container -->
|
||||
|
||||
@@ -1360,8 +1434,32 @@ mono_create_ftnptr (MonoDomain *domain, gpointer addr)
|
||||
<div class="mapi-ptr"></div>
|
||||
|
||||
<div class="mapi-declaration mapi-section">Syntax</div>
|
||||
<div class="mapi-prototype">mono_profiler_load</div>
|
||||
<div class="mapi-prototype">void
|
||||
mono_profiler_load (const char *desc)
|
||||
|
||||
</div>
|
||||
<p />
|
||||
<div class="mapi-section">Description</div>
|
||||
<div>
|
||||
<p />
|
||||
Loads a profiler module based on the specified description. <i>desc</i> can be
|
||||
of the form <code>name:args</code> or just <code>name</code>. For example, <code>log:sample</code> and
|
||||
<code>log</code> will both load <code>libmono-profiler-log.so</code>. The description is passed
|
||||
to the module after it has been loaded. If the specified module has already
|
||||
been loaded, this function has no effect.
|
||||
<p />
|
||||
A module called <code>foo</code> should declare an entry point like so:
|
||||
<p />
|
||||
<pre><code class="mapi-codeblock">
|
||||
void mono_profiler_init_foo (const char *desc)
|
||||
{
|
||||
}
|
||||
</code></pre>
|
||||
<p />
|
||||
This function is <strong>not</strong> async safe.
|
||||
<p />
|
||||
This function may <strong>only</strong> be called by embedders prior to running managed
|
||||
code.</div>
|
||||
</div><!--mapi-description -->
|
||||
</div><!--height container -->
|
||||
</div> <!-- class=mapi -->
|
||||
|
Reference in New Issue
Block a user