view release on metacpan or search on metacpan
0.12 2024-04-05 00:25:30 EDT
* Update TinySoundFont to newest commit
0.11 2021-01-11 23:39:33 EST
* Fix building on threaded perls
0.10 2021-01-11 00:10:30 EST
* Initial release
view all matches for this distribution
view release on metacpan or search on metacpan
ninstr|||
no_bareword_allowed|||
no_fh_allowed|||
no_op|||
not_a_number|||
nothreadhook||5.008000|
nuke_stacks|||
num_overflow|||n
oopsAV|||
oopsCV|||
oopsHV|||
save_scalar|||
save_set_svflags||5.009000|
save_shared_pvref||5.007003|
save_sptr|||
save_svref|||
save_threadsv||5.005000|
save_vptr||5.006000|
savepvn|||
savepv|||
savesharedpv||5.007003|
savestack_grow_cnt||5.008001|
#endif
/*
* Boilerplate macros for initializing and accessing interpreter-local
* data from C. All statics in extensions should be reworked to use
* this, if you want to make the extension thread-safe. See ext/re/re.xs
* for an example of the use of these macros.
*
* Code that uses these macros is responsible for the following:
* 1. #define MY_CXT_KEY to a unique string, e.g. "DynaLoader_guts"
* 2. Declare a typedef named my_cxt_t that is a structure that contains
defined(PERL_CAPI) || defined(PERL_IMPLICIT_CONTEXT)
#ifndef START_MY_CXT
/* This must appear in all extensions that define a my_cxt_t structure,
* right after the definition (i.e. at file scope). The non-threads
* case below uses it to declare the data as static. */
#define START_MY_CXT
#if (PERL_VERSION < 4 || (PERL_VERSION == 4 && PERL_SUBVERSION < 68 ))
/* Fetches the SV that keeps the per-interpreter data. */
#else
/* older perls don't have PL_numeric_radix_sv so the radix
* must manually be requested from locale.h
*/
#include <locale.h>
dTHR; /* needed for older threaded perls */
struct lconv *lc = localeconv();
char *radix = lc->decimal_point;
if (radix && IN_LOCALE) {
STRLEN len = strlen(radix);
if (*sp + len <= send && memEQ(*sp, radix, len)) {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Audio/aKodePlayer.pm view on Meta::CPAN
Stop playing and release any resources allocated while playing.
=item wait()
Waits for the file to finish playing (eof or error) and calls
stop. This blocks the calling thread.
=item detach()
Detach the player from the current thread (once detached, you won't be
able to apply any methods on the player object).
=item pause()
Pause the player.
view all matches for this distribution
view release on metacpan or search on metacpan
Authen-ACE4.ppd view on Meta::CPAN
<TITLE>Authen-ACE4</TITLE>
<ABSTRACT></ABSTRACT>
<AUTHOR></AUTHOR>
<IMPLEMENTATION>
<OS NAME="MSWin32" />
<ARCHITECTURE NAME="MSWin32-x86-multi-thread" />
<CODEBASE HREF="MSWin32-x86-multi-thread/Authen-ACE4.tar.gz" />
</IMPLEMENTATION>
<IMPLEMENTATION>
<OS NAME="MSWin32" />
<ARCHITECTURE NAME="MSWin32-x86-multi-thread-5.8" />
<CODEBASE HREF="MSWin32-x86-multi-thread-5.8/Authen-ACE4.tar.gz" />
</IMPLEMENTATION>
<IMPLEMENTATION>
<OS NAME="MSWin32" />
<ARCHITECTURE NAME="MSWin32-x86-multi-thread-5.10" />
<CODEBASE HREF="MSWin32-x86-multi-thread-5.10/Authen-ACE4.tar.gz" />
</IMPLEMENTATION>
<IMPLEMENTATION>
<OS NAME="MSWin32" />
<ARCHITECTURE NAME="MSWin32-x86-multi-thread-5.12" />
<CODEBASE HREF="MSWin32-x86-multi-thread-5.12/Authen-ACE4.tar.gz" />
</IMPLEMENTATION>
<IMPLEMENTATION>
<OS NAME="MSWin32" />
<ARCHITECTURE NAME="MSWin32-x64-multi-thread-5.8" />
<CODEBASE HREF="MSWin32-x64-multi-thread-5.8/Authen-ACE4.tar.gz" />
</IMPLEMENTATION>
<IMPLEMENTATION>
<OS NAME="MSWin32" />
<ARCHITECTURE NAME="MSWin32-x64-multi-thread-5.10" />
<CODEBASE HREF="MSWin32-x64-multi-thread-5.10/Authen-ACE4.tar.gz" />
</IMPLEMENTATION>
<IMPLEMENTATION>
<OS NAME="MSWin32" />
<ARCHITECTURE NAME="MSWin32-x64-multi-thread-5.12" />
<CODEBASE HREF="MSWin32-x64-multi-thread-5.12/Authen-ACE4.tar.gz" />
</IMPLEMENTATION>
</SOFTPKG>
view all matches for this distribution
view release on metacpan or search on metacpan
There are two types of possible authentication methods with
cyrus-sasl authentication interface. In cyrus-sasl v1.5.x
there was only pwcheck method available (unconnected socket type - no fork).
In v2.x there is new saslauthd daemon - replacement for pwcheck
(connected socket type - forking processes). I think the next stage
would be connected socket without forking but with threads.
Authen::CyrusSASL was developed & tested on Solaris8. Interfacse is based
on the Authen::Radius package.
Authen::CyrusSASL is (c)2001 Piotr Klaban.
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Test/More.pm view on Meta::CPAN
# sorted with the same algorithm.
#
# Ensure that references are not accidentally treated the same as a
# string containing the reference.
#
# Have to inline the sort routine due to a threading/sort bug.
# See [rt.cpan.org 6782]
#
# I don't know how references would be sorted so we just don't sort
# them. This means eq_set doesn't really work with refs.
return eq_array(
view all matches for this distribution
view release on metacpan or search on metacpan
ninstr|||
no_bareword_allowed|||
no_fh_allowed|||
no_op|||
not_a_number|||
nothreadhook||5.008000|
nuke_stacks|||
num_overflow|||n
offer_nice_chunk|||
oopsAV|||
oopsHV|||
#endif
/* Hint: PL_ppaddr
* Calling an op via PL_ppaddr requires passing a context argument
* for threaded builds. Since the context argument is different for
* 5.005 perls, you can use aTHXR (supplied by ppport.h), which will
* automatically be defined as the correct argument.
*/
#if (PERL_BCDVERSION <= 0x5005005)
#endif
/*
* Boilerplate macros for initializing and accessing interpreter-local
* data from C. All statics in extensions should be reworked to use
* this, if you want to make the extension thread-safe. See ext/re/re.xs
* for an example of the use of these macros.
*
* Code that uses these macros is responsible for the following:
* 1. #define MY_CXT_KEY to a unique string, e.g. "DynaLoader_guts"
* 2. Declare a typedef named my_cxt_t that is a structure that contains
defined(PERL_CAPI) || defined(PERL_IMPLICIT_CONTEXT)
#ifndef START_MY_CXT
/* This must appear in all extensions that define a my_cxt_t structure,
* right after the definition (i.e. at file scope). The non-threads
* case below uses it to declare the data as static. */
#define START_MY_CXT
#if (PERL_BCDVERSION < 0x5004068)
/* Fetches the SV that keeps the per-interpreter data. */
#else
/* older perls don't have PL_numeric_radix_sv so the radix
* must manually be requested from locale.h
*/
#include <locale.h>
dTHR; /* needed for older threaded perls */
struct lconv *lc = localeconv();
char *radix = lc->decimal_point;
if (radix && IN_LOCALE) {
STRLEN len = strlen(radix);
if (*sp + len <= send && memEQ(*sp, radix, len)) {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Authen/Libwrap.pm view on Meta::CPAN
In early 2003 I was contacted by another Perl developer who had developed an
XS interface to libwrap that covered more of the API than mine did.
Originally he offered it as a patch to my module, but at the time I wasn't
in a position to actively maintain anything on CPAN, so I suggested that he
upload it himself. I unfortunately lost the email thread to a disk crash.
As of December 2003 I don't see any other modules professing to support
libwrap om CPAN. If that person is still out there, please get in contact
with me, otherwise I'll plan on implementing some of these TODOs in the new
year:
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Authen/Passphrase/Argon2.pm view on Meta::CPAN
hash_hex - hex decimal argon2 value
# optional params
cost - optional - default 3 - This is the time-cost factor, typically a small integer that can be derived as explained above.
factor - optional - default '32M' - This is the memory costs factor. This must be given as a integer followed by an order of magnitude (k, M or G for kilobytes, megabytes or gigabytes respectively), e.g. '64M'.
parallelism - optional - default 1 - This is the number of threads that are used in computing it.
size - optional - default 16 - This is the size of the raw result in bytes. Typical values are 16 or 32.
=cut
=head2 $ppr->algorithm
view all matches for this distribution