view release on metacpan or search on metacpan
lib/Algorithm/Backoff/RetryTimeouts.pm view on Meta::CPAN
#pod
#pod =head2 Typical scenario
#pod
#pod Here's an example scenario of the algorithm with existing defaults:
#pod
#pod $retry_algo is created, and timer starts
#pod
#pod Initial timeout is 25s
#pod
#pod 1st attempt fails instantly
#pod
lib/Algorithm/Backoff/RetryTimeouts.pm view on Meta::CPAN
=head2 Typical scenario
Here's an example scenario of the algorithm with existing defaults:
$retry_algo is created, and timer starts
Initial timeout is 25s
1st attempt fails instantly
view all matches for this distribution
view release on metacpan or search on metacpan
examples/corpus/SlideShowApplet.java view on Meta::CPAN
import java.net.*; //for URL needed for image loading
public class SlideShowApplet extends JApplet { //(B)
int frameIndex = 0; //current frame number
String dir; //directory relative to the codebase
Timer timer; //timer for sequencing through images
int pause; //time interval between images
int numImages; //number of images to display
int width; //width of the applet
int height; //height of the applet
int displayWidth;
examples/corpus/SlideShowApplet.java view on Meta::CPAN
statusLabel = new JLabel("Loading Images...", JLabel.CENTER);
statusLabel.setForeground( Color.red );
contentPane.add(statusLabel);
timer = new Timer( pause, new ActionListener() { //(G)
public void actionPerformed( ActionEvent evt ) {
frameIndex++; //(H)
if ( frameIndex == numImages )
frameIndex = 1;
newFrameAvailable = true;
contentPane.repaint();
}
});
timer.setInitialDelay( 0 );
timer.setCoalesce(false);
images = new ImageIcon[numImages]; //(I)
new Thread() { //(J)
public void run() {
loadImages();
examples/corpus/SlideShowApplet.java view on Meta::CPAN
}.start();
}
public void start() { //(K)
if ( finishedLoading )
timer.restart();
}
public void loadImages() { //(L)
String prefix = dir + "/flower";
for ( int i = 0; i < numImages; i++ ) {
examples/corpus/SlideShowApplet.java view on Meta::CPAN
"Couldn't create image: badly formed URL" );
}
}
finishedLoading = true;
statusLabel.setText( null );
timer.start();
}
public void stop() { //(N)
timer.stop();
}
public String getAppletInfo() { //(O)
return "Title: A SlideShow Applet\n";
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alice.pm view on Meta::CPAN
$self->shutdown;
$cb->() if $cb;
};
$w = AE::idle sub {$shutdown->() unless $self->connected_ircs};
$t = AE::timer 3, 0, $shutdown;
}
sub shutdown {
my $self = shift;
lib/Alice.pm view on Meta::CPAN
for my $irc ($self->ircs) {
my $name = $irc->name;
unless (exists $self->config->servers->{$name}) {
$self->send_info("config", "removing $name server");
if ($irc->is_disconnected) {
$self->cancel_reconnect($name) if $irc->reconnect_timer;
$irc->cl(undef);
$self->remove_irc($name);
}
else {
$irc->removed(1);
view all matches for this distribution
view release on metacpan or search on metacpan
corpus/vcpkg/r2/installed/vcpkg/info/openssl-windows_1.1.1d-1_x64-windows.list view on Meta::CPAN
x64-windows/debug/html/man3/DSAparams_print_fp.html
x64-windows/debug/html/man3/DTLS_client_method.html
x64-windows/debug/html/man3/DTLS_get_data_mtu.html
x64-windows/debug/html/man3/DTLS_method.html
x64-windows/debug/html/man3/DTLS_server_method.html
x64-windows/debug/html/man3/DTLS_set_timer_cb.html
x64-windows/debug/html/man3/DTLS_timer_cb.html
x64-windows/debug/html/man3/DTLSv1_2_client_method.html
x64-windows/debug/html/man3/DTLSv1_2_method.html
x64-windows/debug/html/man3/DTLSv1_2_server_method.html
x64-windows/debug/html/man3/DTLSv1_client_method.html
x64-windows/debug/html/man3/DTLSv1_listen.html
corpus/vcpkg/r2/installed/vcpkg/info/openssl-windows_1.1.1d-1_x64-windows.list view on Meta::CPAN
x64-windows/html/man3/DSAparams_print_fp.html
x64-windows/html/man3/DTLS_client_method.html
x64-windows/html/man3/DTLS_get_data_mtu.html
x64-windows/html/man3/DTLS_method.html
x64-windows/html/man3/DTLS_server_method.html
x64-windows/html/man3/DTLS_set_timer_cb.html
x64-windows/html/man3/DTLS_timer_cb.html
x64-windows/html/man3/DTLSv1_2_client_method.html
x64-windows/html/man3/DTLSv1_2_method.html
x64-windows/html/man3/DTLSv1_2_server_method.html
x64-windows/html/man3/DTLSv1_client_method.html
x64-windows/html/man3/DTLSv1_listen.html
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/CSFML.pm view on Meta::CPAN
=item C<graphics> - hardware acceleration of 2D graphics including sprites, polygons and text rendering
=item C<network> - TCP and UDP network sockets, data encapsulation facilities, HTTP and FTP classes
=item C<system> - vector and Unicode string classes, portable threading and timer facilities
=item C<window> - window and input device management including support for joysticks, OpenGL context management
=back
view all matches for this distribution
view release on metacpan or search on metacpan
src/Source/LibJXR/image/decode/strdec.c view on Meta::CPAN
//================================================
pSC = (CWMImageStrCodec*)pb; pb += sizeof(*pSC);
if(pSC == NULL)
return ICERR_ERROR;
// Set up perf timers
PERFTIMER_ONLY(pSC->m_fMeasurePerf = pSCP->fMeasurePerf);
PERFTIMER_NEW(pSC->m_fMeasurePerf, &pSC->m_ptEndToEndPerf);
PERFTIMER_NEW(pSC->m_fMeasurePerf, &pSC->m_ptEncDecPerf);
PERFTIMER_START(pSC->m_fMeasurePerf, pSC->m_ptEndToEndPerf);
PERFTIMER_START(pSC->m_fMeasurePerf, pSC->m_ptEncDecPerf);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/GvaScript/lib/GvaScript.js view on Meta::CPAN
// - clear match result
_clear_quick_navi: function() {
if(this._quick_navi_mode !== false)
window.clearTimeout(this._quick_navi_mode);
this._quick_navi_mode = false; // quick_navi mode active (navi timer)
this._quick_navi_word = ""; // word to navigate to
this.labels_array = null; // tree labels array
},
_assertNode: function(elem, msg) {
lib/Alien/GvaScript/lib/GvaScript.js view on Meta::CPAN
Event.stop(event);
this._quick_navi_word += event.keyName; // always uppercase
var is_quick_navi_mode = (this._quick_navi_mode !== false);
// drop the previous timer
if(is_quick_navi_mode) {
window.clearTimeout(this._quick_navi_mode);
}
// initialize labels_array on start of quick-search
// (mandate of dynamic trees)
else {
this.labels_array = this.rootElement.select('.'+this.classes.label);
}
// activate a new timer
this._quick_navi_mode = window.setTimeout(function() {
this._clear_quick_navi();
}.bind(this), 800);
var selectedLabel = this.label(selectedNode);
view all matches for this distribution
view release on metacpan or search on metacpan
patches/Makefile_im.mingw view on Meta::CPAN
CF_im_fftw = -c -Wall -O2 -Ifftw -I../include -DFFTW_ENABLE_FLOAT $(CF_im_fftw_EXTRA)
LF_im_fftw = -lim_process -lim -lzlib1 -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -luuid -loleaut32 -lole32 -lcomctl32 $(LF_im_fftw_EXTRA)
SLIB_im_fftw = ../lib/$(BUILDNICK)/libim_fftw.a
DLIB_im_fftw = ../lib/$(BUILDNICK)/libim_fftw.dll.a
ILIB_im_fftw = ../lib/$(BUILDNICK)/im_fftw_alien_.dll
OBJS_im_fftw = ../obj/$(BUILDNICK)/im_fftw/im_fft.o ../obj/$(BUILDNICK)/im_fftw/config.o ../obj/$(BUILDNICK)/im_fftw/executor.o ../obj/$(BUILDNICK)/im_fftw/fftwnd.o ../obj/$(BUILDNICK)/im_fftw/fn_1.o ../obj/$(BUILDNICK)/im_fftw/fn_10.o ../obj/$(BUILD...
../obj/$(BUILDNICK)/im_fftw/im_fft.o : ./process/im_fft.cpp ; g++ $(CF_ALL) $(CF_im_fftw) $^ -o $@
../obj/$(BUILDNICK)/im_fftw/config.o : ./fftw/config.c ; gcc $(CF_ALL) $(CF_im_fftw) $^ -o $@
../obj/$(BUILDNICK)/im_fftw/executor.o : ./fftw/executor.c ; gcc $(CF_ALL) $(CF_im_fftw) $^ -o $@
../obj/$(BUILDNICK)/im_fftw/fftwnd.o : ./fftw/fftwnd.c ; gcc $(CF_ALL) $(CF_im_fftw) $^ -o $@
patches/Makefile_im.mingw view on Meta::CPAN
../obj/$(BUILDNICK)/im_fftw/generic.o : ./fftw/generic.c ; gcc $(CF_ALL) $(CF_im_fftw) $^ -o $@
../obj/$(BUILDNICK)/im_fftw/malloc.o : ./fftw/malloc.c ; gcc $(CF_ALL) $(CF_im_fftw) $^ -o $@
../obj/$(BUILDNICK)/im_fftw/planner.o : ./fftw/planner.c ; gcc $(CF_ALL) $(CF_im_fftw) $^ -o $@
../obj/$(BUILDNICK)/im_fftw/putils.o : ./fftw/putils.c ; gcc $(CF_ALL) $(CF_im_fftw) $^ -o $@
../obj/$(BUILDNICK)/im_fftw/rader.o : ./fftw/rader.c ; gcc $(CF_ALL) $(CF_im_fftw) $^ -o $@
../obj/$(BUILDNICK)/im_fftw/timer.o : ./fftw/timer.c ; gcc $(CF_ALL) $(CF_im_fftw) $^ -o $@
../obj/$(BUILDNICK)/im_fftw/twiddle.o : ./fftw/twiddle.c ; gcc $(CF_ALL) $(CF_im_fftw) $^ -o $@
../obj/$(BUILDNICK)/im_fftw/wisdom.o : ./fftw/wisdom.c ; gcc $(CF_ALL) $(CF_im_fftw) $^ -o $@
../obj/$(BUILDNICK)/im_fftw/wisdomio.o : ./fftw/wisdomio.c ; gcc $(CF_ALL) $(CF_im_fftw) $^ -o $@
$(SLIB_im_fftw): $(OBJS_im_fftw)
view all matches for this distribution
view release on metacpan or search on metacpan
src/judy-1.0.5/test/Judy1LTime.c view on Meta::CPAN
//
// cc -static -O3 Judy1LTime.c -lJudy -lm
//
// the -static is for a little better performace on some platforms
//
// if optional high-resolution timers are desired:
//
// cc -static -O3 -DJU_LINUX_IA32 Judy1LTime.c -lJudy -lm
//
// and read below:
//
src/judy-1.0.5/test/Judy1LTime.c view on Meta::CPAN
// Note: I have found some Linux systems (2.4.18-6mdk) have bugs in the
// gettimeofday() routine. Sometimes the difference of two consective calls
// returns a negative ~2840 microseconds instead of 0 or 1. If you use the
// above #include "timeit.h" and compile with timeit.c and use
// -DJU_LINUX_IA32, that problem will be eliminated. This is because for
// delta times less than .1 sec, the hardware free running timer is used
// instead of gettimeofday(). I have found the negative time problem
// appears about 40-50 times per second with numerous gettimeofday() calls.
// You should just ignore negative times output.
#define TIMER_vars(T) struct timeval __TVBeg_##T, __TVEnd_##T
src/judy-1.0.5/test/Judy1LTime.c view on Meta::CPAN
{
// Names of Judy Arrays
void *J1 = NULL; // Judy1
void *JL = NULL; // JudyL
TIMER_vars(tm1); // declare timer variables
Word_t Count1, CountL;
Word_t Bytes;
double Mult;
Pms_t Pms;
src/judy-1.0.5/test/Judy1LTime.c view on Meta::CPAN
#define __FUNCTI0N__ "TestJudyIns"
Word_t
TestJudyIns(void **J1, void **JL, Word_t Seed, Word_t Elements)
{
TIMER_vars(tm1); // declare timer variables
Word_t TstIndex;
Word_t elm;
Word_t *PValue;
Word_t Seed1 = 0;
int Rc;
src/judy-1.0.5/test/Judy1LTime.c view on Meta::CPAN
#define __FUNCTI0N__ "TestJudyDup"
Word_t
TestJudyDup(void **J1, void **JL, Word_t Seed, Word_t Elements)
{
TIMER_vars(tm1); // declare timer variables
Word_t LowIndex = ~0UL;
Word_t TstIndex;
Word_t elm;
Word_t *PValue;
Word_t Seed1;
src/judy-1.0.5/test/Judy1LTime.c view on Meta::CPAN
#define __FUNCTI0N__ "TestJudyGet"
Word_t
TestJudyGet(void *J1, void *JL, Word_t Seed, Word_t Elements)
{
TIMER_vars(tm1); // declare timer variables
Word_t LowIndex = ~0UL;
Word_t TstIndex;
Word_t elm;
Word_t *PValue;
Word_t Seed1;
src/judy-1.0.5/test/Judy1LTime.c view on Meta::CPAN
#define __FUNCTI0N__ "TestJudyCount"
int
TestJudyCount(void *J1, void *JL, Word_t LowIndex, Word_t Elements)
{
TIMER_vars(tm1); // declare timer variables
Word_t elm;
Word_t Count1, CountL;
Word_t TstIndex = LowIndex;
int Rc;
src/judy-1.0.5/test/Judy1LTime.c view on Meta::CPAN
#define __FUNCTI0N__ "TestJudyNext"
Word_t
TestJudyNext(void *J1, void *JL, Word_t LowIndex, Word_t Elements)
{
TIMER_vars(tm1); // declare timer variables
Word_t elm;
double DDel;
Word_t icnt;
Word_t lp;
src/judy-1.0.5/test/Judy1LTime.c view on Meta::CPAN
#define __FUNCTI0N__ "TestJudyPrev"
int
TestJudyPrev(void *J1, void *JL, Word_t HighIndex, Word_t Elements)
{
TIMER_vars(tm1); // declare timer variables
Word_t elm;
double DDel;
Word_t icnt;
Word_t lp;
src/judy-1.0.5/test/Judy1LTime.c view on Meta::CPAN
// Returns number of consecutive Indexes
Word_t
TestJudyNextEmpty(void *J1, void *JL, Word_t LowIndex, Word_t Elements)
{
TIMER_vars(tm1); // declare timer variables
Word_t elm;
double DDel;
Word_t icnt;
Word_t lp;
src/judy-1.0.5/test/Judy1LTime.c view on Meta::CPAN
#define __FUNCTI0N__ "TestJudyPrevEmpty"
Word_t
TestJudyPrevEmpty(void *J1, void *JL, Word_t HighIndex, Word_t Elements)
{
TIMER_vars(tm1); // declare timer variables
Word_t elm;
double DDel;
Word_t icnt;
Word_t lp;
src/judy-1.0.5/test/Judy1LTime.c view on Meta::CPAN
#define __FUNCTI0N__ "TestJudyDel"
int
TestJudyDel(void **J1, void **JL, Word_t Seed, Word_t Elements)
{
TIMER_vars(tm1); // declare timer variables
Word_t TstIndex;
Word_t elm;
Word_t Seed1;
int Rc;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Plotly/Kaleido.pm view on Meta::CPAN
my $h;
my $data;
eval {
my ( $in, $out, $err );
$h = IPC::Run::start( \@cmd, \$in, \$out, \$err,
my $t = IPC::Run::timer(30) );
while ( not $data and not $t->is_expired ) {
$h->pump;
$data = $decode_json_safe->($out);
}
$h->finish;
view all matches for this distribution
view release on metacpan or search on metacpan
prototype.js view on Meta::CPAN
this.registerCallback();
},
registerCallback: function() {
this.timer = setInterval(this.onTimerEvent.bind(this), this.frequency * 1000);
},
execute: function() {
this.callback(this);
},
stop: function() {
if (!this.timer) return;
clearInterval(this.timer);
this.timer = null;
},
onTimerEvent: function() {
if (!this.currentlyExecuting) {
try {
prototype.js view on Meta::CPAN
this.onTimerEvent();
},
stop: function() {
this.updater.options.onComplete = undefined;
clearTimeout(this.timer);
(this.onComplete || Prototype.emptyFunction).apply(this, arguments);
},
updateComplete: function(response) {
if (this.options.decay) {
this.decay = (response.responseText == this.lastText ?
this.decay * this.options.decay : 1);
this.lastText = response.responseText;
}
this.timer = this.onTimerEvent.bind(this).delay(this.decay * this.frequency);
},
onTimerEvent: function() {
this.updater = new Ajax.Updater(this.container, this.url, this.options);
}
prototype.js view on Meta::CPAN
(function() {
/* Support for the DOMContentLoaded event is based on work by Dan Webb,
Matthias Miller, Dean Edwards and John Resig. */
var timer, fired = false;
function fireContentLoadedEvent() {
if (fired) return;
if (timer) window.clearInterval(timer);
document.fire("dom:loaded");
fired = true;
}
if (document.addEventListener) {
if (Prototype.Browser.WebKit) {
timer = window.setInterval(function() {
if (/loaded|complete/.test(document.readyState))
fireContentLoadedEvent();
}, 0);
Event.observe(window, "load", fireContentLoadedEvent);
view all matches for this distribution
view release on metacpan or search on metacpan
patches/SDL-1.2.14-configure view on Meta::CPAN
enable_video
enable_events
enable_joystick
enable_cdrom
enable_threads
enable_timers
enable_file
enable_loadso
enable_cpuinfo
enable_assembly
enable_oss
patches/SDL-1.2.14-configure view on Meta::CPAN
--enable-video Enable the video subsystem [[default=yes]]
--enable-events Enable the events subsystem [[default=yes]]
--enable-joystick Enable the joystick subsystem [[default=yes]]
--enable-cdrom Enable the cdrom subsystem [[default=yes]]
--enable-threads Enable the threading subsystem [[default=yes]]
--enable-timers Enable the timer subsystem [[default=yes]]
--enable-file Enable the file subsystem [[default=yes]]
--enable-loadso Enable the shared object loading subsystem
[[default=yes]]
--enable-cpuinfo Enable the cpuinfo subsystem [[default=yes]]
--enable-assembly Enable assembly routines [[default=yes]]
patches/SDL-1.2.14-configure view on Meta::CPAN
SOURCES="$SOURCES $srcdir/src/cpuinfo/*.c"
SOURCES="$SOURCES $srcdir/src/events/*.c"
SOURCES="$SOURCES $srcdir/src/file/*.c"
SOURCES="$SOURCES $srcdir/src/stdlib/*.c"
SOURCES="$SOURCES $srcdir/src/thread/*.c"
SOURCES="$SOURCES $srcdir/src/timer/*.c"
SOURCES="$SOURCES $srcdir/src/video/*.c"
# Check whether --enable-audio was given.
if test "${enable_audio+set}" = set; then :
patches/SDL-1.2.14-configure view on Meta::CPAN
if test x$enable_threads != xyes; then
$as_echo "#define SDL_THREADS_DISABLED 1" >>confdefs.h
fi
# Check whether --enable-timers was given.
if test "${enable_timers+set}" = set; then :
enableval=$enable_timers;
else
enable_timers=yes
fi
if test x$enable_timers != xyes; then
$as_echo "#define SDL_TIMERS_DISABLED 1" >>confdefs.h
fi
# Check whether --enable-file was given.
if test "${enable_file+set}" = set; then :
patches/SDL-1.2.14-configure view on Meta::CPAN
case "$host" in
arm-*-elf*) # FIXME: Can we get more specific for iPodLinux?
ARCH=linux
CheckDummyVideo
CheckIPod
# Set up files for the timer library
if test x$enable_timers = xyes; then
$as_echo "#define SDL_TIMER_UNIX 1" >>confdefs.h
SOURCES="$SOURCES $srcdir/src/timer/unix/*.c"
have_timers=yes
fi
;;
*-*-linux*|*-*-uclinux*|*-*-gnu*|*-*-k*bsd*-gnu|*-*-bsdi*|*-*-freebsd*|*-*-dragonfly*|*-*-netbsd*|*-*-openbsd*|*-*-sysv5*|*-*-solaris*|*-*-hpux*|*-*-irix*|*-*-aix*|*-*-osf*)
case "$host" in
*-*-linux*) ARCH=linux ;;
patches/SDL-1.2.14-configure view on Meta::CPAN
SOURCES="$SOURCES $srcdir/src/thread/irix/*.c"
SOURCES="$SOURCES $srcdir/src/thread/generic/SDL_sysmutex.c"
SOURCES="$SOURCES $srcdir/src/thread/generic/SDL_syscond.c"
have_threads=yes
fi
# Set up files for the timer library
if test x$enable_timers = xyes; then
$as_echo "#define SDL_TIMER_UNIX 1" >>confdefs.h
SOURCES="$SOURCES $srcdir/src/timer/unix/*.c"
have_timers=yes
fi
;;
*-*-qnx*)
ARCH=qnx
CheckDummyVideo
patches/SDL-1.2.14-configure view on Meta::CPAN
$as_echo "#define SDL_CDROM_QNX 1" >>confdefs.h
SOURCES="$SOURCES $srcdir/src/cdrom/qnx/*.c"
have_cdrom=yes
fi
# Set up files for the timer library
if test x$enable_timers = xyes; then
$as_echo "#define SDL_TIMER_UNIX 1" >>confdefs.h
SOURCES="$SOURCES $srcdir/src/timer/unix/*.c"
have_timers=yes
fi
;;
*-*-mingw32*)
ARCH=win32
if test "$build" != "$host"; then # cross-compiling
patches/SDL-1.2.14-configure view on Meta::CPAN
SOURCES="$SOURCES $srcdir/src/thread/win32/SDL_syssem.c"
SOURCES="$SOURCES $srcdir/src/thread/win32/SDL_systhread.c"
SOURCES="$SOURCES $srcdir/src/thread/generic/SDL_syscond.c"
have_threads=yes
fi
# Set up files for the timer library
if test x$enable_timers = xyes; then
$as_echo "#define SDL_TIMER_WIN32 1" >>confdefs.h
SOURCES="$SOURCES $srcdir/src/timer/win32/*.c"
have_timers=yes
fi
# Set up files for the shared object loading library
if test x$enable_loadso = xyes; then
$as_echo "#define SDL_LOADSO_WIN32 1" >>confdefs.h
patches/SDL-1.2.14-configure view on Meta::CPAN
$as_echo "#define SDL_CDROM_WIN32 1" >>confdefs.h
SOURCES="$SOURCES $srcdir/src/cdrom/win32/*.c"
have_cdrom=yes
fi
# Set up files for the timer library
if test x$enable_timers = xyes; then
$as_echo "#define SDL_TIMER_UNIX 1" >>confdefs.h
SOURCES="$SOURCES $srcdir/src/timer/unix/*.c"
have_timers=yes
fi
# Set up the system libraries we need
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lwinmm"
;;
*-wince*)
patches/SDL-1.2.14-configure view on Meta::CPAN
SOURCES="$SOURCES $srcdir/src/thread/win32/SDL_syssem.c"
SOURCES="$SOURCES $srcdir/src/thread/win32/SDL_systhread.c"
SOURCES="$SOURCES $srcdir/src/thread/generic/SDL_syscond.c"
have_threads=yes
fi
# Set up files for the timer library
if test x$enable_timers = xyes; then
$as_echo "#define SDL_TIMER_WINCE 1" >>confdefs.h
SOURCES="$SOURCES $srcdir/src/timer/wince/*.c"
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lcoredll -lmmtimer"
have_timers=yes
fi
# Set up files for the shared object loading library
if test x$enable_loadso = xyes; then
$as_echo "#define SDL_LOADSO_WIN32 1" >>confdefs.h
patches/SDL-1.2.14-configure view on Meta::CPAN
SOURCES="$SOURCES $srcdir/src/thread/beos/*.c"
SOURCES="$SOURCES $srcdir/src/thread/generic/SDL_sysmutex.c"
SOURCES="$SOURCES $srcdir/src/thread/generic/SDL_syscond.c"
have_threads=yes
fi
# Set up files for the timer library
if test x$enable_timers = xyes; then
$as_echo "#define SDL_TIMER_BEOS 1" >>confdefs.h
SOURCES="$SOURCES $srcdir/src/timer/beos/*.c"
have_timers=yes
fi
# Set up files for the shared object loading library
if test x$enable_loadso = xyes; then
case "$host" in
*-*-beos*)
patches/SDL-1.2.14-configure view on Meta::CPAN
$as_echo "#define SDL_CDROM_MACOSX 1" >>confdefs.h
SOURCES="$SOURCES $srcdir/src/cdrom/macosx/*.c"
have_cdrom=yes
fi
# Set up files for the timer library
if test x$enable_timers = xyes; then
$as_echo "#define SDL_TIMER_UNIX 1" >>confdefs.h
SOURCES="$SOURCES $srcdir/src/timer/unix/*.c"
have_timers=yes
fi
# The Mac OS X platform requires special setup.
SDLMAIN_SOURCES="$srcdir/src/main/macosx/*.m"
EXTRA_CFLAGS="$EXTRA_CFLAGS -fpascal-strings"
SDL_LIBS="-lSDLmain $SDL_LIBS"
patches/SDL-1.2.14-configure view on Meta::CPAN
$as_echo "#define SDL_CDROM_MINT 1" >>confdefs.h
SOURCES="$SOURCES $srcdir/src/cdrom/mint/*.c"
have_cdrom=yes
fi
# Set up files for the timer library
if test x$enable_timers = xyes; then
if test x$enable_threads = xyes -a x$enable_pth = xyes; then
$as_echo "#define SDL_TIMER_UNIX 1" >>confdefs.h
SOURCES="$SOURCES $srcdir/src/timer/unix/*.c"
else
$as_echo "#define SDL_TIMER_MINT 1" >>confdefs.h
SOURCES="$SOURCES $srcdir/src/timer/mint/*.c"
SOURCES="$SOURCES $srcdir/src/timer/mint/*.S"
fi
have_timers=yes
fi
;;
*-riscos)
ARCH=riscos
CheckOSS
patches/SDL-1.2.14-configure view on Meta::CPAN
$as_echo "#define SDL_JOYSTICK_RISCOS 1" >>confdefs.h
SOURCES="$SOURCES $srcdir/src/joystick/riscos/*.c"
have_joystick=yes
fi
# Set up files for the timer library
if test x$enable_timers = xyes; then
$as_echo "#define SDL_TIMER_RISCOS 1" >>confdefs.h
SOURCES="$SOURCES $srcdir/src/timer/riscos/*.c"
have_timers=yes
fi
# The RISC OS platform requires special setup.
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -ljpeg -ltiff -lpng -lz"
;;
*)
patches/SDL-1.2.14-configure view on Meta::CPAN
$as_echo "#define SDL_THREADS_DISABLED 1" >>confdefs.h
fi
SOURCES="$SOURCES $srcdir/src/thread/generic/*.c"
fi
if test x$have_timers != xyes; then
if test x$enable_timers = xyes; then
$as_echo "#define SDL_TIMERS_DISABLED 1" >>confdefs.h
fi
SOURCES="$SOURCES $srcdir/src/timer/dummy/*.c"
fi
if test x$have_loadso != xyes; then
if test x$enable_loadso = xyes; then
$as_echo "#define SDL_LOADSO_DISABLED 1" >>confdefs.h
view all matches for this distribution
view release on metacpan or search on metacpan
src/subversion/subversion/po/sv.po view on Meta::CPAN
"\n"
"Denna funktion är till för arkivförvaltare som vill utnyttja nya\n"
"funktioner i Subversion utan att behöva företa sig en hel utskrivning\n"
"och återställning av arkivet. Uppgraderingen i sig gör bara så lite arbete\n"
"som nödvändigt för att åstadkomma detta och samtidigt upprätthålla arkivets\n"
"helhet. Den garanterar inte ett optimerat arkivtillstånd vilket en\n"
"utskrivning och återställning skulle göra.\n"
#: ../svnadmin/svnadmin.c:483
msgid ""
"usage: svnadmin verify REPOS_PATH\n"
src/subversion/subversion/po/sv.po view on Meta::CPAN
"Optimize network handling based on the assumption\n"
" that most clients are connected with a bitrate of\n"
" ARG Mbit/s.\n"
" Default is 0 (optimizations disabled)."
msgstr ""
"Optimera nätverkshanteringen under antagandet att\n"
" de flesta klienter är anslutna med en\n"
" överföringshastighet på ARG Mbit/s.\n"
" Normalvärdet är 0 (optimeringar avstängda)."
#. ### Making the assumption here that WIN32 never has fork and so
#. * ### this option never exists when --service exists.
#: ../svnserve/svnserve.c:256
msgid "use threads instead of fork [mode: daemon]"
view all matches for this distribution
view release on metacpan or search on metacpan
share/swagger-ui-bundle.js.map view on Meta::CPAN
{"version":3,"sources":["webpack://SwaggerUIBundle/webpack/universalModuleDefinition","webpack://SwaggerUIBundle/webpack/bootstrap","webpack://SwaggerUIBundle/./node_modules/react/react.js","webpack://SwaggerUIBundle/./node_modules/immutable/dist/imm...
view all matches for this distribution
view release on metacpan or search on metacpan
src/win32/include/sys/time.h view on Meta::CPAN
#define _TIMEVAL_DEFINED
struct timeval {
long tv_sec;
long tv_usec;
};
#define timerisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec)
#define timercmp(tvp, uvp, cmp) \
(((tvp)->tv_sec != (uvp)->tv_sec) ? \
((tvp)->tv_sec cmp (uvp)->tv_sec) : \
((tvp)->tv_usec cmp (uvp)->tv_usec))
#define timerclear(tvp) (tvp)->tv_sec = (tvp)->tv_usec = 0
#endif /* _TIMEVAL_DEFINED */
#ifndef _TIMEZONE_DEFINED /* also in sys/time.h */
#define _TIMEZONE_DEFINED
/* Provided for compatibility with code that assumes that
view all matches for this distribution
view release on metacpan or search on metacpan
#define NT_PPC_VSX 0x102 /* PowerPC VSX registers */
#define NT_386_TLS 0x200 /* i386 TLS slots (struct user_desc) */
#define NT_386_IOPERM 0x201 /* x86 io permission bitmap (1=deny) */
#define NT_X86_XSTATE 0x202 /* x86 extended state using xsave */
#define NT_S390_HIGH_GPRS 0x300 /* s390 upper register halves */
#define NT_S390_TIMER 0x301 /* s390 timer register */
#define NT_S390_TODCMP 0x302 /* s390 TOD clock comparator register */
#define NT_S390_TODPREG 0x303 /* s390 TOD programmable register */
#define NT_S390_CTRS 0x304 /* s390 control registers */
#define NT_S390_PREFIX 0x305 /* s390 prefix register */
#define NT_S390_LAST_BREAK 0x306 /* s390 breaking event address */
view all matches for this distribution
view release on metacpan or search on metacpan
share/docs/data-218318ee90d3522428760e464306d0ed.js view on Meta::CPAN
If you are unsure which license is appropriate for your use, please contact the sales department
at http://www.sencha.com/contact.
Build date: 2013-04-03 15:07:25
*/
Docs = {"data":{"localStorageDb":"ext-3","guides":[],"search":[{"meta":{},"icon":"icon-class","fullName":"Ext.CompositeElement","sort":1,"name":"CompositeElement","url":"#!/api/Ext.CompositeElement"},{"meta":{},"icon":"icon-method","fullName":"Ext.Co...
view all matches for this distribution
view release on metacpan or search on metacpan
share/vendor/js/jquery-1.10.2.js view on Meta::CPAN
}
};
}
});
}
var fxNow, timerId,
rfxtypes = /^(?:toggle|show|hide)$/,
rfxnum = new RegExp( "^(?:([+-])=|)(" + core_pnum + ")([a-z%]*)$", "i" ),
rrun = /queueHooks$/,
animationPrefilters = [ defaultPrefilter ],
tweeners = {
share/vendor/js/jquery-1.10.2.js view on Meta::CPAN
if ( jQuery.isFunction( animation.opts.start ) ) {
animation.opts.start.call( elem, animation );
}
jQuery.fx.timer(
jQuery.extend( tick, {
elem: elem,
anim: animation,
queue: animation.opts.queue
})
share/vendor/js/jquery-1.10.2.js view on Meta::CPAN
}
return this.each(function() {
var dequeue = true,
index = type != null && type + "queueHooks",
timers = jQuery.timers,
data = jQuery._data( this );
if ( index ) {
if ( data[ index ] && data[ index ].stop ) {
stopQueue( data[ index ] );
share/vendor/js/jquery-1.10.2.js view on Meta::CPAN
stopQueue( data[ index ] );
}
}
}
for ( index = timers.length; index--; ) {
if ( timers[ index ].elem === this && (type == null || timers[ index ].queue === type) ) {
timers[ index ].anim.stop( gotoEnd );
dequeue = false;
timers.splice( index, 1 );
}
}
// start the next in the queue if the last step wasn't forced
// timers currently will call their complete callbacks, which will dequeue
// but only if they were gotoEnd
if ( dequeue || !gotoEnd ) {
jQuery.dequeue( this, type );
}
});
share/vendor/js/jquery-1.10.2.js view on Meta::CPAN
return this.each(function() {
var index,
data = jQuery._data( this ),
queue = data[ type + "queue" ],
hooks = data[ type + "queueHooks" ],
timers = jQuery.timers,
length = queue ? queue.length : 0;
// enable finishing flag on private data
data.finish = true;
share/vendor/js/jquery-1.10.2.js view on Meta::CPAN
if ( hooks && hooks.stop ) {
hooks.stop.call( this, true );
}
// look for any active animations, and finish them
for ( index = timers.length; index--; ) {
if ( timers[ index ].elem === this && timers[ index ].queue === type ) {
timers[ index ].anim.stop( true );
timers.splice( index, 1 );
}
}
// look for any animations in the old queue and finish them
for ( index = 0; index < length; index++ ) {
share/vendor/js/jquery-1.10.2.js view on Meta::CPAN
swing: function( p ) {
return 0.5 - Math.cos( p*Math.PI ) / 2;
}
};
jQuery.timers = [];
jQuery.fx = Tween.prototype.init;
jQuery.fx.tick = function() {
var timer,
timers = jQuery.timers,
i = 0;
fxNow = jQuery.now();
for ( ; i < timers.length; i++ ) {
timer = timers[ i ];
// Checks the timer has not already been removed
if ( !timer() && timers[ i ] === timer ) {
timers.splice( i--, 1 );
}
}
if ( !timers.length ) {
jQuery.fx.stop();
}
fxNow = undefined;
};
jQuery.fx.timer = function( timer ) {
if ( timer() && jQuery.timers.push( timer ) ) {
jQuery.fx.start();
}
};
jQuery.fx.interval = 13;
jQuery.fx.start = function() {
if ( !timerId ) {
timerId = setInterval( jQuery.fx.tick, jQuery.fx.interval );
}
};
jQuery.fx.stop = function() {
clearInterval( timerId );
timerId = null;
};
jQuery.fx.speeds = {
slow: 600,
fast: 200,
share/vendor/js/jquery-1.10.2.js view on Meta::CPAN
// Back Compat <1.8 extension point
jQuery.fx.step = {};
if ( jQuery.expr && jQuery.expr.filters ) {
jQuery.expr.filters.animated = function( elem ) {
return jQuery.grep(jQuery.timers, function( fn ) {
return elem === fn.elem;
}).length;
};
}
jQuery.fn.offset = function( options ) {
view all matches for this distribution
view release on metacpan or search on metacpan
xgboost/dmlc-core/include/dmlc/recordio.h
xgboost/dmlc-core/include/dmlc/registry.h
xgboost/dmlc-core/include/dmlc/serializer.h
xgboost/dmlc-core/include/dmlc/thread_local.h
xgboost/dmlc-core/include/dmlc/threadediter.h
xgboost/dmlc-core/include/dmlc/timer.h
xgboost/dmlc-core/include/dmlc/type_traits.h
xgboost/dmlc-core/make/config.mk
xgboost/dmlc-core/make/dmlc.mk
xgboost/dmlc-core/scripts/lint.py
xgboost/dmlc-core/scripts/packages.mk
xgboost/rabit/include/dmlc/type_traits.h
xgboost/rabit/include/rabit/c_api.h
xgboost/rabit/include/rabit/internal/engine.h
xgboost/rabit/include/rabit/internal/io.h
xgboost/rabit/include/rabit/internal/rabit-inl.h
xgboost/rabit/include/rabit/internal/timer.h
xgboost/rabit/include/rabit/internal/utils.h
xgboost/rabit/include/rabit/rabit.h
xgboost/rabit/include/rabit/serializable.h
xgboost/rabit/lib/README.md
xgboost/rabit/python/rabit.py
view all matches for this distribution
view release on metacpan or search on metacpan
libcares/acinclude.m4 view on Meta::CPAN
fi
#
case "$ac_cv_func_clock_gettime" in
yes)
AC_DEFINE_UNQUOTED(HAVE_CLOCK_GETTIME_MONOTONIC, 1,
[Define to 1 if you have the clock_gettime function and monotonic timer.])
;;
esac
#
fi
#
view all matches for this distribution
view release on metacpan or search on metacpan
src/catch.hpp view on Meta::CPAN
};
} // end namespace Catch
// end catch_section_info.h
// start catch_timer.h
#include <cstdint>
namespace Catch {
src/catch.hpp view on Meta::CPAN
auto getElapsedSeconds() const -> double;
};
} // namespace Catch
// end catch_timer.h
#include <string>
namespace Catch {
class Section : NonCopyable {
src/catch.hpp view on Meta::CPAN
SectionInfo m_info;
std::string m_name;
Counts m_assertions;
bool m_sectionIncluded;
Timer m_timer;
};
} // end namespace Catch
#define INTERNAL_CATCH_SECTION( ... ) \
src/catch.hpp view on Meta::CPAN
std::string m_name;
std::size_t m_count = 0;
std::size_t m_iterationsToRun = 1;
uint64_t m_resolution;
Timer m_timer;
static auto getResolution() -> uint64_t;
public:
// Keep most of this inline as it's on the code path that is being timed
BenchmarkLooper( StringRef name )
: m_name( name ),
m_resolution( getResolution() )
{
reportStart();
m_timer.start();
}
explicit operator bool() {
if( m_count < m_iterationsToRun )
return true;
src/catch.hpp view on Meta::CPAN
void BenchmarkLooper::reportStart() {
getResultCapture().benchmarkStarting( { m_name } );
}
auto BenchmarkLooper::needsMoreIterations() -> bool {
auto elapsed = m_timer.getElapsedNanoseconds();
// Exponentially increasing iterations until we're confident in our timer resolution
if( elapsed < m_resolution ) {
m_iterationsToRun *= 10;
return true;
}
src/catch.hpp view on Meta::CPAN
m_shouldReportUnexpected = true;
m_lastAssertionInfo = { "TEST_CASE"_sr, testCaseInfo.lineInfo, StringRef(), ResultDisposition::Normal };
seedRng(*m_config);
Timer timer;
CATCH_TRY {
if (m_reporter->getPreferences().shouldRedirectStdOut) {
#if !defined(CATCH_CONFIG_EXPERIMENTAL_REDIRECT)
RedirectedStdOut redirectedStdOut;
RedirectedStdErr redirectedStdErr;
timer.start();
invokeActiveTestCase();
redirectedCout += redirectedStdOut.str();
redirectedCerr += redirectedStdErr.str();
#else
OutputRedirect r(redirectedCout, redirectedCerr);
timer.start();
invokeActiveTestCase();
#endif
} else {
timer.start();
invokeActiveTestCase();
}
duration = timer.getElapsedSeconds();
} CATCH_CATCH_ANON (TestFailureException&) {
// This just means the test was aborted due to failure
} CATCH_CATCH_ALL {
// Under CATCH_CONFIG_FAST_COMPILE, unexpected exceptions under REQUIRE assertions
// are reported without translation at the point of origin.
src/catch.hpp view on Meta::CPAN
Section::Section( SectionInfo const& info )
: m_info( info ),
m_sectionIncluded( getResultCapture().sectionStarted( m_info, m_assertions ) )
{
m_timer.start();
}
Section::~Section() {
if( m_sectionIncluded ) {
SectionEndInfo endInfo{ m_info, m_assertions, m_timer.getElapsedSeconds() };
if( uncaught_exceptions() )
getResultCapture().sectionEndedEarly( endInfo );
else
getResultCapture().sectionEnded( endInfo );
}
src/catch.hpp view on Meta::CPAN
return TestSpecParser( ITagAliasRegistry::get() ).parse( arg ).testSpec();
}
} // namespace Catch
// end catch_test_spec_parser.cpp
// start catch_timer.cpp
#include <chrono>
static const uint64_t nanosecondsInSecond = 1000000000;
src/catch.hpp view on Meta::CPAN
auto Timer::getElapsedSeconds() const -> double {
return getElapsedMicroseconds()/1000000.0;
}
} // namespace Catch
// end catch_timer.cpp
// start catch_tostring.cpp
#if defined(__clang__)
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wexit-time-destructors"
view all matches for this distribution
view release on metacpan or search on metacpan
libuv/docs/code/proc-streams/main.c
libuv/docs/code/proc-streams/test.c
libuv/docs/code/progress/main.c
libuv/docs/code/queue-cancel/main.c
libuv/docs/code/queue-work/main.c
libuv/docs/code/ref-timer/main.c
libuv/docs/code/signal/main.c
libuv/docs/code/spawn/main.c
libuv/docs/code/tcp-echo-server/main.c
libuv/docs/code/thread-create/main.c
libuv/docs/code/tty-gravity/main.c
libuv/docs/src/static/loop_iteration.png
libuv/docs/src/stream.rst
libuv/docs/src/tcp.rst
libuv/docs/src/threading.rst
libuv/docs/src/threadpool.rst
libuv/docs/src/timer.rst
libuv/docs/src/tty.rst
libuv/docs/src/udp.rst
libuv/docs/src/upgrading.rst
libuv/docs/src/version.rst
libuv/gyp_uv.py
libuv/src/inet.c
libuv/src/queue.h
libuv/src/strscpy.c
libuv/src/strscpy.h
libuv/src/threadpool.c
libuv/src/timer.c
libuv/src/unix/aix-common.c
libuv/src/unix/aix.c
libuv/src/unix/android-ifaddrs.c
libuv/src/unix/async.c
libuv/src/unix/atomic-ops.h
libuv/test/benchmark-fs-stat.c
libuv/test/benchmark-getaddrinfo.c
libuv/test/benchmark-list.h
libuv/test/benchmark-loop-count.c
libuv/test/benchmark-million-async.c
libuv/test/benchmark-million-timers.c
libuv/test/benchmark-multi-accept.c
libuv/test/benchmark-ping-pongs.c
libuv/test/benchmark-pound.c
libuv/test/benchmark-pump.c
libuv/test/benchmark-sizes.c
libuv/test/test-tcp-writealot.c
libuv/test/test-thread-equal.c
libuv/test/test-thread.c
libuv/test/test-threadpool-cancel.c
libuv/test/test-threadpool.c
libuv/test/test-timer-again.c
libuv/test/test-timer-from-check.c
libuv/test/test-timer.c
libuv/test/test-tmpdir.c
libuv/test/test-tty-duplicate-key.c
libuv/test/test-tty.c
libuv/test/test-udp-alloc-cb-fail.c
libuv/test/test-udp-bind.c
view all matches for this distribution
view release on metacpan or search on metacpan
rfc1321.txt view on Meta::CPAN
/* Initialize block */
for (i = 0; i < TEST_BLOCK_LEN; i++)
block[i] = (unsigned char)(i & 0xff);
/* Start timer */
time (&startTime);
/* Digest blocks */
MDInit (&context);
for (i = 0; i < TEST_BLOCK_COUNT; i++)
MDUpdate (&context, block, TEST_BLOCK_LEN);
MDFinal (digest, &context);
/* Stop timer */
time (&endTime);
printf (" done\n");
printf ("Digest = ");
MDPrint (digest);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Tickit/Widget/Button.pm view on Meta::CPAN
method key_click
{
$self->click;
if( my $window = $self->window ) {
$self->set_style_tag( active => 1 );
$window->tickit->timer( after => 0.1, sub { $self->set_style_tag( active => 0 ) } );
}
return 1;
}
method _activate
view all matches for this distribution
view release on metacpan or search on metacpan
avs_setdocdate
avs_setdocdatetime
avs_setparseflags
avs_setrankval
avs_startdoc
avs_timer
avs_total_docs
avs_version
avs_create_options
avs_create_parameters
);
avs_setrankval(idx, valtype, value)
avs_startdoc(idx, pDocId, flags, pStartLoc)
avs_timer(current)
avs_total_docs(idx, pDoccount)
avs_version(license_key)
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alvis/HTML.pm view on Meta::CPAN
{
$html=~s/<\/?(?:(?i)ruby|rbc|rtc|rb|rt|rp)(?=\W)/\0/sgo;
}
if ($self->{wml})
{
$html=~s/<\/?(?:(?i)access|card|template|wml|anchor|do|onevent|postfield|go|noop|prev|refresh|fieldset|optgroup|select|setvar|timer)(?=\W)/\0/sgo;
}
# $html=~s/=\s*([\"\'])([^\0]*?)\1/&_neutralize_trouble($1,$2)/sgoe;
$html=~s/(?<=\0).*?>//sgo;
$html=~s/\0/ /go;
lib/Alvis/HTML.pm view on Meta::CPAN
# If we have some tags left, do some fixing
if (!$self->{alvisKeep}||!$self->{alvisRemove}||!$self->{obsolete}||
!$self->{proprietary}||!$self->{xhtml}||!$self->{wml})
{
# Often we have <TAG ... </TAG>. Fix that.
$html=~s/(<\/?(?:(?i)a|frame|iframe|h[1-6]|p|div|dl|ul|ol|table|li|dd|dt|th|td|caption|tr|blockquote|hr|br|dir|menu|form|fieldset|legend|label|input|select|option|textarea|isindex|noframes|frameset|tfoot|body|tbody|html|head|abbr|acronym|address|app...
$html=~s/(?<=\0)([^>]*?)(?=\0)/$1>/sgo;
$html=~s/(?<=\0)([^\0>]*?)$/$1>/sgo;
$html=~s/\0/ /go;
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alvis/NLPPlatform.pm view on Meta::CPAN
my $id;
# Timer
my $timer_mem;
# because those variables have to be viewed in the sigint handler !!!
my $nlp_host;
my $nlp_port;
my $connection_retry;
lib/Alvis/NLPPlatform.pm view on Meta::CPAN
}
###########################################################################
sub starttimer(){
my $sec;
my $usec;
($sec,$usec)=gettimeofday();
$usec/=1000000;
$timer_mem=($sec+$usec);
}
sub endtimer(){
my $sec;
my $usec;
($sec,$usec)=gettimeofday();
$usec/=1000000;
return (($sec+$usec)-$timer_mem);
}
sub linguistic_annotation {
lib/Alvis/NLPPlatform.pm view on Meta::CPAN
$Alvis::NLPPlatform::Annotation::phrase_idx = 1;
$Alvis::NLPPlatform::Annotation::syntactic_relation_idx = 1;
print STDERR "Working Language: " . $Alvis::NLPPlatform::Annotation::ALVISLANGUAGE . "\n";
starttimer();
if ($ENABLE_TOKEN) {
# Tokenize
Alvis::NLPPlatform::UserNLPWrappers->tokenize($h_config,$doc_hash);
# print STDERR $Alvis::NLPPlatform::Annotation::nb_max_tokens. "\n";
$time_tok+=endtimer();
print STDERR "\tTokenization Time : $time_tok\n";
push @{$doc_hash->{"log_processing0"}->{"comments"}}, "Tokenization Time : $time_tok";
if ($Alvis::NLPPlatform::Annotation::nb_max_tokens >0) {
# Scan for NE
if($ENABLE_NER==1){
starttimer();
Alvis::NLPPlatform::UserNLPWrappers->scan_ne($h_config, $doc_hash);
$time_ne+=endtimer();
print STDERR "\tNamed Entity Recognition Time : $time_ne\n";
push @{$doc_hash->{"log_processing0"}->{"comments"}}, "Named Entity Recognition Time : $time_ne";
}
# Word segmentation
if($ENABLE_WORD==1){
starttimer();
Alvis::NLPPlatform::UserNLPWrappers->word_segmentation($h_config, $doc_hash);
$time_word+=endtimer();
print STDERR "\tWord Segmentation Time : $time_word\n";
push @{$doc_hash->{"log_processing0"}->{"comments"}}, "Word Segmentation Time : $time_word";
}
if($dont_annotate==1){
lib/Alvis/NLPPlatform.pm view on Meta::CPAN
push @tab_errors,"Temporary files can be found with the following prefix: $TMPFILE\n";
}
# Sentence segmentation
if($ENABLE_SENTENCE==1){
starttimer();
if(!$dont_annotate){Alvis::NLPPlatform::UserNLPWrappers->sentence_segmentation($h_config, $doc_hash)};
$time_sent+=endtimer();
print STDERR "\tSentence Segmentation Time : $time_sent\n";
push @{$doc_hash->{"log_processing0"}->{"comments"}}, "Sentence Segmentation Time : $time_sent";
}
# PoS tagging / Lemmatization
if($ENABLE_POS==1){
starttimer();
if(!$dont_annotate){Alvis::NLPPlatform::UserNLPWrappers->pos_tag($h_config, $doc_hash)};
$time_pos+=endtimer();
print STDERR "\tPart of Speech Tagging Time : $time_pos\n";
push @{$doc_hash->{"log_processing0"}->{"comments"}}, "Part of Speech Tagging Time : $time_pos";
}
# Term tagging
if($ENABLE_TERM_TAG==1){
starttimer();
if(!$dont_annotate){Alvis::NLPPlatform::UserNLPWrappers->term_tag($h_config, $doc_hash)};
$time_term+=endtimer();
print STDERR "\tTerm Tagging Time : $time_term\n";
push @{$doc_hash->{"log_processing0"}->{"comments"}}, "Term Tagging Time : $time_term";
}
# Syntactic parsing
if($ENABLE_SYNTAX==1){
starttimer();
if(!$dont_annotate){Alvis::NLPPlatform::UserNLPWrappers->syntactic_parsing($h_config, $doc_hash)};
$time_synt+=endtimer();
print STDERR "\tSyntactic Parsing Time : $time_synt\n";
push @{$doc_hash->{"log_processing0"}->{"comments"}}, "Syntactic Parsing Time : $time_synt";
}
# Semantic tagging
if($ENABLE_SEMANTIC_TAG==1){
starttimer();
if(!$dont_annotate){Alvis::NLPPlatform::UserNLPWrappers->semantic_feature_tagging($h_config, $doc_hash)};
$time_semtag+=endtimer();
print STDERR "\tSemantic Feature Tagging Time : $time_semtag\n";
push @{$doc_hash->{"log_processing0"}->{"comments"}}, "Semantic Feature Tagging Time : $time_semtag";
}
}
lib/Alvis/NLPPlatform.pm view on Meta::CPAN
$phrase_idx=1;
@tab_errors=();
starttimer();
# $doc_xml =~ s/("<\?xml version=\"1.0\" encoding=\"$charset\"?>\n
$doc_hash=Alvis::NLPPlatform::Annotation::load_xml($doc_xml, $h_config);
$time_load+=endtimer();
# Recording computing data (time and entity size)
# init
$doc_hash->{"log_processing0"}->{"datatype"}="log_processing";
$doc_hash->{"log_processing0"}->{"log_id"} = "time";
lib/Alvis/NLPPlatform.pm view on Meta::CPAN
# Save to XML file
$cur_doc_nb++;
print STDERR "Rendering XML... ";
starttimer();
$time_render = 0;
push @{$doc_hash->{"log_processing0"}->{"comments"}}, "XML rendering Time : \@RENDER_TIME_NOT_SET\@";
Alvis::NLPPlatform::Annotation::render_xml($doc_hash, $descriptor, $printCollectionHeaderFooter, $h_config);
$time_render+=endtimer();
# TODO : recording the xml rendering time
# Recording statistical data (time and entity size)
# XML rendering (unsuable)
lib/Alvis/NLPPlatform.pm view on Meta::CPAN
print STDERR "Processing $id";
my $doc_hash;
Alvis::NLPPlatform::starttimer();
$doc_hash=Alvis::NLPPlatform::Annotation::load_xml($doc_xml, \%config);
my $time_load+=Alvis::NLPPlatform::endtimer();
# Recording computing data (time and entity size)
# init
# $doc_hash->{"log_processing"} = {};
$doc_hash->{"log_processing0"}->{"datatype"}="log_processing";
lib/Alvis/NLPPlatform.pm view on Meta::CPAN
# Save to XML file
print STDERR "\tRendering XML... ";
starttimer();
$time_render = 0;
push @{$doc_hash->{"log_processing0"}->{"comments"}}, "XML rendering Time : \@RENDER_TIME_NOT_SET\@";
Alvis::NLPPlatform::Annotation::render_xml($doc_hash, $sock, 1,\%config);
$time_render+=endtimer();
# TODO : recording the xml rendering time
print STDERR "done\n";
print $sock "<DONE>\n";
lib/Alvis/NLPPlatform.pm view on Meta::CPAN
configuration file. The dependencies of the linguistic
annotations are then coded. For instance, asking for POS annotation will
imply tokenization, word and sentence segmentations.
=head2 starttimer()
starttimer()
This method records the current date and time. It is used to compute
the time of a processing step.
=head2 endtimer()
endtimer();
This method ends the timer and returns the time of a processing step, according to the time recorded by C<starttimer()>.
=head2 linguistic_annotation()
view all matches for this distribution
view release on metacpan or search on metacpan
t/test/resources/terms view on Meta::CPAN
mucosal immune response mucosal immune response
multicomponent phosphorelay multicomponent phosphorelay
multicopy plasmid multicopy plasmid
multicopy vector multicopy vector
multidrug-efflux multidrug-efflux
multimeric precursor multimeric precursor
multiple copy multiple copy
multiple protoxin gene multiple protoxin gene
multiple role multiple role
multiple sigma factor multiple sigma factor
multiple signal multiple signal
view all matches for this distribution
view release on metacpan or search on metacpan
factpacks/Linux.fact view on Meta::CPAN
# Linux factpack
# 1999-Dec-29
# Author: Kimmie Dicaire <kdicaire@ispchannel.com>
# see http://novaone.linux-help.org/linuxiqs
Open CASCADE => <reply> $who, The Open CASCADE Object Libraries are reusable C++ object libraries for producing all types of domain-specific graphic modeling applications. URL: http://www.opencascade.org/downloads/down.html
nettimer => <reply> $who, netttimer is a very small, simple program that calculates the amount of time and money you've spent using the Internet. URL: http://members.xoom.com/kodgehopper/nettimer-0.02.tar.gz
TkUsr => <reply> $who, TkUsr is a small program that allows you to manage the Self-mode of a USR/3Com MessagePlus modem. URL: http://ldrolez.free.fr/tkusr-latest.tar.gz
PAG Project => <reply> $who, The PAG Project is a travel agency program that features travel registrations, client database and billing with advanced search features and a really nice looking interface. URL: http://www.jedi.claranet.fr/pag.tar.gz
3D-Stereogram => <reply> $who, Generates 3D pixelpictures which are visible without 3d-glasses.. URL: http://www.snafu.de/~mathe.kcbo/
3Dfx Banshee framebuffer driver for Linux/x86 => <reply> $who, 3Dfx Banshee driver for Linux framebuffer subsystem. URL: http://www.hut.fi/~hmallat/linux/3dfx.html
3dom => <reply> $who, A general purpose 3d object modeler.. URL: http://www.gv.kotnet.org/~kdf/3dom/
factpacks/Linux.fact view on Meta::CPAN
gfcc => <reply> $who, GTK+ firewall (ipchains). URL: http://icarus.autostock.co.kr/
gfind => <reply> $who, GUI front-end to GNU find utility. URL: http://iconmedia.com/aaron/gfind.html
GFingerPoken => <reply> $who, BlackBox-type GTK-based game. URL: http://gfpoken.bigw.org/
gfirecracker => <reply> $who, Gtk control panel for the X-10 Firecracker. URL: http://www.sector13.org/kazin/projects/gfirecracker.html
GFlash => <reply> $who, A testing/Flashcard application for Linux. URL: http://www.bgw.org/projects/gflash/
gfocustimer => <reply> $who, Tracking of X input focus for time charging. URL: http://quozl.us.netrek.org/gfocustimer/
gfontview => <reply> $who, Font Viewer. URL: http://www.geocities.com/SiliconValley/Foothills/1458/
Gforth => <reply> $who, GNU project implementation of the Forth programming language. URL: http://www.jwdt.com/~paysan/gforth.html
gfortune => <reply> $who, Enhanced fortune cookie program. URL: http://tirin.openworld.co.uk/fortune.html
gfract => <reply> $who, GTK-based fractal program. URL: http://www.iki.fi/osku/gfract/
gFTP => <reply> $who, A multithreaded ftp client for X Windows. URL: http://gftp.seul.org/
factpacks/Linux.fact view on Meta::CPAN
gTempConv => <reply> $who, Small utility for conversion between misc. URL: http://sites.inka.de/~W1752/gtc/
GTerm => <reply> $who, Abstract terminal emulator core (VT102/VT52). URL: ftp://www.techsource.com/gtermv09.tar
GTetrinet => <reply> $who, A clone of the game Tetrinet.. URL: http://gtetrinet.netpedia.net/
GTExplorer => <reply> $who, A game theory visualization tool. URL: http://www.ling.ed.ac.uk/~oliphant/gte
gTick => <reply> $who, GTK+ based metronome. URL: http://bsenet.cjb.net/gtick
GTimer => <reply> $who, Scheduler for your personal activities. URL: http://www.radix.net/~cknudsen/gtimer/
GTK File Browser => <reply> $who, Small, fast, lightweight, GTK File Browser. URL: http://members.tripod.com/Yarick/FileBrowser.html
GTK H3O.net Headline Viewer => <reply> $who, Headline grabber for your Linux desktop.. URL: http://www.h3o.net/h3o4/bin/gtk.h3opoll.tgz
GTK MikMod => <reply> $who, An advanced multi-threaded module player.. URL: http://www.gnugeneration.com/
Gtk See => <reply> $who, An image viewer based on the X-Window system and GTK+. URL: http://hotaru.clinuxworld.com/gtksee/
Gtk Undo Library => <reply> $who, A multilevel undo/redo facility for GTK.. URL: http://www-dse.doc.ic.ac.uk/~np2/software/undo.html
factpacks/Linux.fact view on Meta::CPAN
portfwd => <reply> $who, Forwards incoming TCP connections and UDP packets.. URL: http://nucleo.freeservers.com/portfwd/
PortScanner => <reply> $who, Simple and easy to use TCP port scanner. URL: http://www.ameth.org/~veilleux/portscan.html
PortSentry => <reply> $who, Detects and responds to port scans against a target host inreal-time.. URL: http://www.psionic.com/abacus/portsentry/
Portslave => <reply> $who, . URL: http://portslave.linuxrouter.org/
PortZilla => <reply> $who, Port scanner for Linux. URL: http://www.altern.org/vih/pzilla/
POSIX 1003.1b clock/timer patch => <reply> $who, Kernel patch to provide POSIX 1003.1b clocks and timers. URL: http://www.rhdv.cistron.nl/posix.html
POSIX ACLs for Linux => <reply> $who, Kernel patches for ACLs, Ext2 file system implementation, and user utilities. URL: http://major.rithus.co.at/acl/
Post Office => <reply> $who, X11 Emailer/Newsreader. URL: http://www.tarball.net/postoffice/
Postfix => <reply> $who, The Postfix MTA. URL: http://www.postfix.org/
PostgreSQL => <reply> $who, Robust, next-generation, Object-Relational DBMS(ORDBMS). URL: http://www.postgresql.org/
PostgreSQL JDBC Driver => <reply> $who, JDBC driver for the PostgreSQL DBS. URL: http://www.retep.org.uk/postgres/
factpacks/Linux.fact view on Meta::CPAN
qotdd => <reply> $who, Quote of the Day daemon. URL: http://www.zevils.com/linux/qotdd/qotdd.html
qpasswd => <reply> $who, POP3 password changing utility for qmail+poppasswd. URL: ftp://games.online.bg/pub/unix/net/qpasswd/qpasswd-1.1pl1.tar.gz
Qpopper => <reply> $who, POP3 server. URL: http://eudora.qualcomm.com/freeware/qpop.html
qpopper-mysql => <reply> $who, A patch to add a decent set of MySQL capabilities to qpopper 2.53. URL: http://www.riverstyx.net/qpopmysql/
qps => <reply> $who, Displays processes in an X11 window. URL: http://www.nada.kth.se/~f91-men/qps/
QpThread Library for C++ => <reply> $who, Thread library for C++ with support for signals, exceptions, timer etc.. URL: http://www.gncz.cz/kra/index.html
qrend => <reply> $who, Minimalist raytracer. URL: http://esh.netpedia.net/qrend/
QScheme => <reply> $who, Really fast, small and easy to interface Scheme interpreter. URL: http://www.sof.ch/dan/qscheme/index-e.html
Qstat => <reply> $who, A command-line program that displays the status of Internet Quake servers. URL: http://www.activesw.com/people/steve/qstat.html
Qt => <reply> $who, GUI software toolkit. URL: http://www.troll.no/products/qt.html
Qt Architect => <reply> $who, GUI dialog designer for the Qt widget set.. URL: http://www.qtarch.intranova.net/
factpacks/Linux.fact view on Meta::CPAN
UPSomatic => <reply> $who, UPS parcel pricing for US sources, all destinations. URL: ftp://ftp.linux.org.uk/pub/linux/alan/UPSomatic/
Uptime client => <reply> $who, Keep track of your uptime and compare it with other hosts.. URL: http://uptime.hexon.cx/
Uptime Daemon => <reply> $who, Constantly checks your current uptime against uptime records. URL: http://www.vistasafe.com/ud/
Uptime Record Suite => <reply> $who, Records the record uptime. URL: http://jaeger.festing.org/projects/uptime-record/
Uptimed => <reply> $who, Uptime record daemon keeping track of the highest uptimes the system ever had. URL: http://capsi.cx/?q=code/uptimed
uptimer => <reply> $who, Adds the current uptime to your .sig file. URL: http://212.19.67.58/
uptime_applet => <reply> $who, Gnome applet which will display your system uptime. URL: http://outsole.com/uptime.shtml
UPX => <reply> $who, powerful executable packer. URL: http://wildsau.idv.uni-linz.ac.at/mfx/upx.html
URBAN => <reply> $who, A nice shoot-'em-up game for Linux and DOS, lots of blood and gore.. URL: http://urban.home.dhs.org/
Urchin ASAP => <reply> $who, Web visitor-analysis reporting system (log analyzer). URL: http://www.urchin.com/
uredir => <reply> $who, Program to redirect UDP packets. URL: http://members.home.net/id-est/uredir.html
factpacks/Linux.fact view on Meta::CPAN
WMSysMon => <reply> $who, System monitor dock app for WindowMaker/AfterStep. URL: http://www.neotokyo.org/illusion/
wmTicTacToe => <reply> $who, Dock application game for the Window Maker window manager. URL: http://atlas.ucpel.tche.br/~acamargo/
WMTime => <reply> $who, Window Maker dockapp for displaying time and date. URL: http://windowmaker.mezaway.org/dockapps/wmtime.html
WMTime-beats => <reply> $who, WMTime with internet time (beats) hack. URL: http://lengtat.com/ronny/wmtime-itime.phtml
WMTimeBomb => <reply> $who, Mine sweeper type game for WindowMaker. URL: http://www.maliwan.org/wmtimebomb.shtml
wmtimer => <reply> $who, Alarm/Countdown timer applet for Windowmaker. URL: http://www.dwave.net/~jking/wmtimer/
wmto2deb => <reply> $who, Convert WindowMaker themes to Debian packages. URL: http://keeney180-203.keeney.brown.edu/wmto2deb
wmtool => <reply> $who, . URL: http://www.mbnet.mb.ca/~ademko/gnu/
wmtools => <reply> $who, . URL: http://www.spyda.co.za/lunglet/
wmtop => <reply> $who, Graphical WindowMaker dock app to monitor the top 3 processes. URL: http://www.tanelorn.demon.co.uk/Computing/
wmToshiba.app => <reply> $who, WindowMaker dock app. URL: http://sparc.wtic.net/~inphrar3d/
factpacks/Linux.fact view on Meta::CPAN
xwintv => <reply> $who, . URL: http://www.mathematik.uni-kl.de/~wenk/xwintv.html
xwpe-alpha => <reply> $who, A programming environment for UNIX systems. URL: http://www.identicalsoftware.com/xwpe/
Xwrits => <reply> $who, Reminds you to take wrist breaks. URL: http://www.lcdf.org/xwrits/
XwwChooser => <reply> $who, Switches X11 Window Managers. URL: http://gator.naples.net/~nfn03343/XwmC.html
Xxl => <reply> $who, Simple, easy to use and user friendly graphical spreadsheet. URL: http://www.esinsa.unice.fr/xxl.html
xy2k => <reply> $who, X11 Y2K countdown timer.. URL: http://www.ipsmart.com/x11/xy2k.c
XZip => <reply> $who, A Z-machine (Infocom games) interpreter for Unix / X windows. URL: http://www.eblong.com/zarf/xzip.html
XZX => <reply> $who, Sinclair ZX Spectrum 48K/128K/+3 emulator. URL: http://www.philosys.de/~kunze/xzx/
y2l => <reply> $who, Yacc to LaTeX grammar pretty printer. URL: http://www.alchar.org/~aedil/Projects/y2l.html
YA-EDA => <reply> $who, A complete EDA tool for Linux. URL: http://www.hashbang.org/~jarl/
ya-wipe => <reply> $who, Secure file wiper. URL: http://www.erols.com/thomassr/zero/download/wipe/
factpacks/Linux.fact view on Meta::CPAN
PHP auto prepend/append script => <reply> $who, The PHP auto-prepend/append script is a ColdFusion-type application.cfm for PHP. URL: ftp://0x00.org/pub/php/php.prepend.append.tgz
OpenH323 gatekeeper => <reply> $who, The OpenH323 gatekeeper is a freely available H.323 gatekeeper based on the OpenH323 project. URL: http://www.willamowius.de/images/gk011.tar.gz
SMM++ Mud Client => <reply> $who, SMM++ Mud Client is a mud client with extended and unique features. URL: http://www.Physik.Uni-Dortmund.DE/~issevers/SMM++/downloads/smm4r2.tar.gz
SMB-Mode => <reply> $who, SMB-Mode is a simple Emacs major mode to assist in editing Samba's smb.conf configuration file. URL: http://users.gtn.net/fraserm/smb-mode.el
mpg123-mysql => <reply> $who, mpg123-mysql consists of some patches to mpg123 which make it support MySQL. URL: http://www.nonsensss.de/domi/mpg123-mysql/mpg123-mysql-0.3.tar.gz
netttimer => <reply> $who, netttimer is a very small, simple program that calculates the amount of time and money you've spent using the internet. URL: http://members.xoom.com/kodgehopper/nettimer-0.01.tar.gz
Mserv => <reply> $who, Mserv is an MP3 server that has clients for telnet, Web and shell, and is easily extendable to other forms of interface. URL: http://www.mserv.org/download/
wmMailMenu => <reply> $who, wmMailMenu creates a Window Maker menu with mail addresses. URL: http://student.dei.uc.pt/~mtavares/wmMailMenu/wmMailMenu-latest.tgz
XPLSISNJASP => <reply> $who, XPLSISNJASP (Xplisnjasp Parport LightShow Is Not Just A Software Project) is an XMMS visualization plugin and it provides a light show via parallel port. URL: http://www.na.linux.hr/projects/xplsisnjasp/
ipacct => <reply> $who, ipacct is a script which collects IP accounting information for metered IP accounting usage. URL: ftp://ftp2.empnet.com/pub/ipacct/ipacct-1.06.tar.gz
fblogo => <reply> $who, fblogo will let you replace the penguin boot-logo you see when booting kernels with framebuffer support.. URL: http://home.sol.no/~dvedoy/fblogo-0.1.tar.gz
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Amon2/Setup/Asset/jQuery.pm view on Meta::CPAN
}
sub files {
return {
'js/jquery-3.6.1.min.js' => '/*! jQuery v3.6.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof windo...
'
}
;
}
view all matches for this distribution