Result:
found more than 806 distributions - search limited to the first 2001 files matching your query ( run in 1.502 )


DBIx-Class-Helpers

 view release on metacpan or  search on metacpan

lib/DBIx/Class/Helper/ResultSet/DateMethods1/Announcement.pod  view on Meta::CPAN

database?

Here's a query I originally wrote with date ops.  Basically it groups some
columns by some "date parts" like year, month, day, etc.  You can use it to make
nice reports of things like how many things have been done per month, or maybe
find out if the system is more busy in the summer:

 $rs->search(undef, {
    columns => {
       count => '*',
       year  => $rs->dt_SQL_pluck({ -ident => '.start' }, 'year'),

 view all matches for this distribution


DBIx-Class-RandomColumns

 view release on metacpan or  search on metacpan

lib/DBIx/Class/RandomColumns.pm  view on Meta::CPAN

        } while $check and
                $tries-- and
                $self->result_source->resultset->search({$column => $id})->count;
    }

    $self->throw_exception("escaped from busy loop in DBIx::Class::RandomColumns::get_random_column_id()")
        unless $tries;

    return $id;
}

 view all matches for this distribution


DBIx-DR

 view release on metacpan or  search on metacpan

lib/DBIx/DR/Iterator.pm  view on Meta::CPAN


=head2 grep

Constructs new iterator that is subset of parent iterator.

    my $busy = $list->grep(sub { $_[0]->busy ? 1 : 0 });

=head2 push

Pushes one element into iterator.

 view all matches for this distribution


DBIx-FullTextSearch

 view release on metacpan or  search on metacpan

test_data/README  view on Meta::CPAN

	might be relevant. You can of course also send patches to
	actual bugs.

	Mention the word "XBase" in the Subject line, otherwise your
	post will probably just slip through my 1 MB daily email load
	without even being read. Please note that I'm _very_ busy, so
	try to help me to help you by using the latest version of the
	module, minimalizing the script code that causes you problems,
	providing me with tiny sample of datafile, anything that might
	be related. Detailed description and small examples are the
	best.

 view all matches for this distribution


DBIx-OnlineDDL

 view release on metacpan or  search on metacpan

lib/DBIx/OnlineDDL/Helper/SQLite.pm  view on Meta::CPAN

        # See FK comment in MySQL module.  FKs in SQLite are a per-connection enabled
        # feature, so this is always a "session" command.
        'PRAGMA foreign_keys = OFF',

        # DB timeouts
        'PRAGMA busy_timeout = '.int($db_timeouts->{lock_file} * 1_000),  # busy_timeout uses ms
    );

    # SQLite version 3.25.0 fixes table renames to also rename references to the table,
    # ie: child FKs.  Since SQLite doesn't yet have an DDL statement for renaming the FKs
    # back to the old name, setting this PRAGMA variable is the only option.

 view all matches for this distribution


DBIx-Poggy

 view release on metacpan or  search on metacpan

lib/DBIx/Poggy.pm  view on Meta::CPAN


=over 4

=item pool_size

number of connections to create, creates one more in case all are busy

=back

Returns a new pool object.

 view all matches for this distribution


DBIx-TableHash

 view release on metacpan or  search on metacpan

TableHash.pm  view on Meta::CPAN

                                is all fields in the record.

=head1 SUPPORT

I am unable to provide any technical support for this module.  The
whole reason I had to make it was that I was way too busy (lazy?) to
write all that SQL code...

But you are encouraged to send patches, bug warnings, updates, thanks,
or suggestions for improvements to the author as listed below.

 view all matches for this distribution


DBIx-TextIndex

 view release on metacpan or  search on metacpan

testdata/encantadas.txt  view on Meta::CPAN

contrary moods of his more varying mind, or shipwreck and sudden death in
solitary waves -- whatever was the cause, the blithe stranger never was
seen again.

Yet, however dire a calamity was here in store, misgivings of it ere due
time never disturbed the Cholos' busy mind, now all intent upon the
toilsome matter which had brought them hither. Nay, by swift doom coming
like the thief at night, ere seven weeks went by, two of the little party
were removed from all anxieties of land or sea. No more they sought to gaze
with feverish fear, or still more feverish hope, beyond the present's
horizon line, but into the furthest future their own silent spirits sailed.

testdata/encantadas.txt  view on Meta::CPAN

In the first were scored the days, each tenth one marked by a longer and
deeper notch; the second was scored for the number of seafowl eggs for
sustenance, picked out from the rocky nests; the third, how many fish had
been caught from the shore; the fourth, how many small tortoises found
inland; the fifth, how many days of sun; the sixth, of clouds; which last,
of the two, was the greater one. Long night of busy numbering, misery's
mathematics, to weary her too-wakeful soul to sleep; yet sleep for that was
none.

The panel of the days was deeply worn -- the long tenth notches half
effaced, as alphabets of the blind. Ten thousand times the longing widow

testdata/encantadas.txt  view on Meta::CPAN

ready to push off and then spring himself. With the sagacity of their race,
the dogs now seemed aware that they were in the very instant of being
deserted upon a barren strand. The gunwales of the boat were high; its prow
-- presented inland -- was lifted; so, owing to the water, which they
seemed instinctively to shun, the dogs could not well leap into the little
craft. But their busy paws hard scraped the prow, as it had been some
farmer's door shutting them out from shelter in a winter storm. A clamorous
agony of alarm. They did not howl, or whine; they all but spoke.

"Push off! Give way!" cried the mate. The boat gave one heavy drag and
lurch, and next moment shot swiftly from the beach, turned on her heel, and

testdata/encantadas.txt  view on Meta::CPAN

This proved an Englishman, and a smuggler, a sort of craft not apt to be
overcharitable. Oberlus is severely whipped, then handcuffed, taken ashore,
and compelled to make known his habitation and produce his property. His
potatoes, pumpkins, and tortoises, with a pile of dollars he had hoarded
from his mercantile operations, were secured on the spot. But while the too
vindictive smugglers were busy destroying his hut and garden, Oberlus makes
his escape into the mountains, and conceals himself there in impenetrable
recesses, only known to himself, till the ship sails, when he ventures
back, and by means of an old file which he sticks into a tree, contrives to
free himself from his handcuffs.

 view all matches for this distribution


DBIx-TryAgain

 view release on metacpan or  search on metacpan

t/lock.t  view on Meta::CPAN


ok $locker->do("PRAGMA locking_mode = EXCLUSIVE"), 'lock' or diag $locker->errstr;
ok $locker->do("BEGIN EXCLUSIVE"), 'begin transaction' or diag $locker->errstr;
ok $locker->do("COMMIT"), 'commit' or diag $locker->errstr;

$dbh->sqlite_busy_timeout(1);

# Now ready to try again :
ok !$dbh->do("insert into foo (a) values (10)"), "do failed";
like ($DBI::errstr, qr/locked/i, "got locked message");

 view all matches for this distribution


DDL-Oracle

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

the latest". You would do yourself a favor by upgrading beforehand.

There is pod documentation for using DDL::Oracle in the Oracle.pm file.
From the .../DDL directory, try 'pod2text Oracle.pm'.

Please remember that I'm (hopefully employed and) busy. Try to help 
yourself first, then try to help me help you by following these 
guidelines carefully.  (Note specifically that I'm unlikely to answer a 
question that's answered clearly in the on-line documentation.)

Regards,

 view all matches for this distribution


DJabberd

 view release on metacpan or  search on metacpan

lib/DJabberd/Stanza/StartTLS.pm  view on Meta::CPAN


sub actual_error_on_empty_read {
    my ($class, $ssl) = @_;
    my $err = Net::SSLeay::get_error($ssl, -1);
    if ($err == ERROR_WANT_READ || $err == ERROR_WANT_WRITE) {
        # Not an actual error, SSL is busy doing something like renegotiating encryption
        # just try again next time
        return undef;
    }
    if ($err == ERROR_SYSCALL) {
        # return the specific syscall error

 view all matches for this distribution


DOCSIS-ConfigFile

 view release on metacpan or  search on metacpan

lib/DOCSIS/ConfigFile/mibs/PKTC-IETF-SIG-MIB  view on Meta::CPAN

    pktcSigDevToneSteady                    TruthValue
    }

pktcSigDevToneType        OBJECT-TYPE
    SYNTAX       INTEGER {
                 busy(1),
                 confirmation(2),
                 dial(3),
                 messageWaiting(4),
                 offHookWarning(5),
                 ringBack(6),

lib/DOCSIS/ConfigFile/mibs/PKTC-IETF-SIG-MIB  view on Meta::CPAN

    SYNTAX       Unsigned32
    UNITS        "seconds"
    MAX-ACCESS   read-create
    STATUS       current
    DESCRIPTION
        " This object contains the default time out value for busy
          tone.  The MTA MUST NOT update this object with the
          value provided in the NCS message (if present).  If
          the value of the object is modified by the SNMP Management
          Station, the MTA MUST use the new value as a default only
          for a new signal requested by the NCS message.

 view all matches for this distribution


DPKG-Log

 view release on metacpan or  search on metacpan

test_data/big.log  view on Meta::CPAN

2010-06-22 18:47:48 status unpacked lvm2 2.02.39-7
2010-06-22 18:47:48 status unpacked lvm2 2.02.39-7
2010-06-22 18:47:48 status half-configured lvm2 2.02.39-7
2010-06-22 18:47:48 status installed lvm2 2.02.39-7
2010-06-22 18:48:17 startup archives unpack
2010-06-22 18:48:17 install busybox <keine> 1:1.10.2-2
2010-06-22 18:48:17 status half-installed busybox 1:1.10.2-2
2010-06-22 18:48:17 status triggers-pending man-db 2.5.2-4
2010-06-22 18:48:17 status half-installed busybox 1:1.10.2-2
2010-06-22 18:48:17 status unpacked busybox 1:1.10.2-2
2010-06-22 18:48:17 status unpacked busybox 1:1.10.2-2
2010-06-22 18:48:17 trigproc man-db 2.5.2-4 2.5.2-4
2010-06-22 18:48:17 status half-configured man-db 2.5.2-4
2010-06-22 18:48:17 status installed man-db 2.5.2-4
2010-06-22 18:48:18 startup packages configure
2010-06-22 18:48:18 configure busybox 1:1.10.2-2 1:1.10.2-2
2010-06-22 18:48:18 status unpacked busybox 1:1.10.2-2
2010-06-22 18:48:18 status half-configured busybox 1:1.10.2-2
2010-06-22 18:48:18 status installed busybox 1:1.10.2-2
2010-06-22 18:48:19 startup archives unpack
2010-06-22 18:48:19 install libvolume-id0 <keine> 0.125-7+lenny3
2010-06-22 18:48:19 status half-installed libvolume-id0 0.125-7+lenny3
2010-06-22 18:48:19 status unpacked libvolume-id0 0.125-7+lenny3
2010-06-22 18:48:19 status unpacked libvolume-id0 0.125-7+lenny3

test_data/big.log  view on Meta::CPAN

2010-06-24 12:38:44 status unpacked git 1:1.7.1-1
2010-06-24 12:38:44 install autopoint <keine> 0.18.1.1-1
2010-06-24 12:38:44 status half-installed autopoint 0.18.1.1-1
2010-06-24 12:38:45 status unpacked autopoint 0.18.1.1-1
2010-06-24 12:38:45 status unpacked autopoint 0.18.1.1-1
2010-06-24 12:38:45 upgrade busybox 1:1.10.2-2 1:1.15.3-1
2010-06-24 12:38:45 status half-configured busybox 1:1.10.2-2
2010-06-24 12:38:45 status unpacked busybox 1:1.10.2-2
2010-06-24 12:38:45 status half-installed busybox 1:1.10.2-2
2010-06-24 12:38:45 status half-installed busybox 1:1.10.2-2
2010-06-24 12:38:45 status unpacked busybox 1:1.15.3-1
2010-06-24 12:38:45 status unpacked busybox 1:1.15.3-1
2010-06-24 12:38:46 install libao-common <keine> 1.0.0-4
2010-06-24 12:38:46 status half-installed libao-common 1.0.0-4
2010-06-24 12:38:46 status unpacked libao-common 1.0.0-4
2010-06-24 12:38:46 status unpacked libao-common 1.0.0-4
2010-06-24 12:38:46 install libao4 <keine> 1.0.0-4

test_data/big.log  view on Meta::CPAN

2010-06-24 14:52:46 status installed libpcsclite1 1.5.5-3
2010-06-24 14:52:46 configure x11-xfs-utils 7.4+1 7.4+1
2010-06-24 14:52:46 status unpacked x11-xfs-utils 7.4+1
2010-06-24 14:52:46 status half-configured x11-xfs-utils 7.4+1
2010-06-24 14:52:46 status installed x11-xfs-utils 7.4+1
2010-06-24 14:52:46 configure busybox 1:1.15.3-1 1:1.10.2-2
2010-06-24 14:52:46 status unpacked busybox 1:1.15.3-1
2010-06-24 14:52:46 status half-configured busybox 1:1.15.3-1
2010-06-24 14:52:46 status installed busybox 1:1.15.3-1
2010-06-24 14:52:46 configure vim-tiny 2:7.2.438+hg~d44112feb815-5+b1 1:7.1.314-3+lenny2
2010-06-24 14:52:46 status unpacked vim-tiny 2:7.2.438+hg~d44112feb815-5+b1
2010-06-24 14:52:46 status unpacked vim-tiny 2:7.2.438+hg~d44112feb815-5+b1
2010-06-24 14:52:46 status half-configured vim-tiny 2:7.2.438+hg~d44112feb815-5+b1
2010-06-24 14:52:47 update-alternatives: run with --install /usr/bin/rview rview /usr/bin/vim.tiny 10

test_data/big.log  view on Meta::CPAN

2010-08-16 13:54:48 status half-installed bluez 4.66-1
2010-08-16 13:54:49 status half-installed bluez 4.66-1
2010-08-16 13:54:52 status half-installed bluez 4.66-1
2010-08-16 13:54:52 status unpacked bluez 4.69-1
2010-08-16 13:54:52 status unpacked bluez 4.69-1
2010-08-16 13:54:52 upgrade busybox 1:1.15.3-1 1:1.17.1-2
2010-08-16 13:54:52 status half-configured busybox 1:1.15.3-1
2010-08-16 13:54:52 status unpacked busybox 1:1.15.3-1
2010-08-16 13:54:52 status half-installed busybox 1:1.15.3-1
2010-08-16 13:54:52 status half-installed busybox 1:1.15.3-1
2010-08-16 13:54:53 status half-installed busybox 1:1.15.3-1
2010-08-16 13:54:53 status unpacked busybox 1:1.17.1-2
2010-08-16 13:54:53 status unpacked busybox 1:1.17.1-2
2010-08-16 13:54:53 upgrade capplets-data 1:2.30.1-1 1:2.30.1-2
2010-08-16 13:54:53 status half-configured capplets-data 1:2.30.1-1
2010-08-16 13:54:53 status unpacked capplets-data 1:2.30.1-1
2010-08-16 13:54:53 status half-installed capplets-data 1:2.30.1-1
2010-08-16 13:54:53 status triggers-pending gconf2 2.28.1-3

test_data/big.log  view on Meta::CPAN

2010-08-16 14:04:23 status unpacked bluez 4.69-1
2010-08-16 14:04:23 status unpacked bluez 4.69-1
2010-08-16 14:04:23 status unpacked bluez 4.69-1
2010-08-16 14:04:23 status half-configured bluez 4.69-1
2010-08-16 14:04:23 status installed bluez 4.69-1
2010-08-16 14:04:23 configure busybox 1:1.17.1-2 1:1.17.1-2
2010-08-16 14:04:23 status unpacked busybox 1:1.17.1-2
2010-08-16 14:04:23 status half-configured busybox 1:1.17.1-2
2010-08-16 14:04:23 status installed busybox 1:1.17.1-2
2010-08-16 14:04:23 configure capplets-data 1:2.30.1-2 1:2.30.1-2
2010-08-16 14:04:23 status unpacked capplets-data 1:2.30.1-2
2010-08-16 14:04:23 status unpacked capplets-data 1:2.30.1-2
2010-08-16 14:04:23 status half-configured capplets-data 1:2.30.1-2
2010-08-16 14:04:23 status installed capplets-data 1:2.30.1-2

test_data/big.log  view on Meta::CPAN

2010-08-30 11:23:53 status triggers-pending software-center 2.0.7debian4
2010-08-30 11:23:53 status half-installed app-install-data 2010.01.31
2010-08-30 11:23:57 status half-installed app-install-data 2010.01.31
2010-08-30 11:23:57 status unpacked app-install-data 2010.08.21
2010-08-30 11:23:57 status unpacked app-install-data 2010.08.21
2010-08-30 11:23:57 upgrade busybox 1:1.17.1-2 1:1.17.1-4
2010-08-30 11:23:57 status half-configured busybox 1:1.17.1-2
2010-08-30 11:23:57 status unpacked busybox 1:1.17.1-2
2010-08-30 11:23:57 status half-installed busybox 1:1.17.1-2
2010-08-30 11:23:58 status half-installed busybox 1:1.17.1-2
2010-08-30 11:23:58 status unpacked busybox 1:1.17.1-4
2010-08-30 11:23:58 status unpacked busybox 1:1.17.1-4
2010-08-30 11:23:58 upgrade cl-asdf 2:2.004-1 2:2.005-1
2010-08-30 11:23:58 status half-configured cl-asdf 2:2.004-1
2010-08-30 11:23:58 status unpacked cl-asdf 2:2.004-1
2010-08-30 11:23:58 status half-installed cl-asdf 2:2.004-1
2010-08-30 11:23:58 status half-installed cl-asdf 2:2.004-1

test_data/big.log  view on Meta::CPAN

2010-08-30 11:30:49 status installed acpi-support-base 0.137-5
2010-08-30 11:30:49 configure app-install-data 2010.08.21 2010.08.21
2010-08-30 11:30:49 status unpacked app-install-data 2010.08.21
2010-08-30 11:30:49 status half-configured app-install-data 2010.08.21
2010-08-30 11:30:49 status installed app-install-data 2010.08.21
2010-08-30 11:30:49 configure busybox 1:1.17.1-4 1:1.17.1-4
2010-08-30 11:30:49 status unpacked busybox 1:1.17.1-4
2010-08-30 11:30:49 status half-configured busybox 1:1.17.1-4
2010-08-30 11:30:49 status installed busybox 1:1.17.1-4
2010-08-30 11:30:49 configure cl-asdf 2:2.005-1 2:2.005-1
2010-08-30 11:30:49 status unpacked cl-asdf 2:2.005-1
2010-08-30 11:30:49 status half-configured cl-asdf 2:2.005-1
2010-08-30 11:30:51 status installed cl-asdf 2:2.005-1
2010-08-30 11:30:51 configure common-lisp-controller 7.4 7.4

test_data/big.log  view on Meta::CPAN

2010-10-22 11:41:07 status unpacked bogofilter 1.2.2-1
2010-10-22 11:41:07 status half-installed bogofilter 1.2.2-1
2010-10-22 11:41:07 status half-installed bogofilter 1.2.2-1
2010-10-22 11:41:07 status unpacked bogofilter 1.2.2-2
2010-10-22 11:41:07 status unpacked bogofilter 1.2.2-2
2010-10-22 11:41:08 upgrade busybox 1:1.17.1-4 1:1.17.1-6
2010-10-22 11:41:08 status half-configured busybox 1:1.17.1-4
2010-10-22 11:41:08 status unpacked busybox 1:1.17.1-4
2010-10-22 11:41:08 status half-installed busybox 1:1.17.1-4
2010-10-22 11:41:08 status half-installed busybox 1:1.17.1-4
2010-10-22 11:41:08 status half-installed busybox 1:1.17.1-4
2010-10-22 11:41:08 status unpacked busybox 1:1.17.1-6
2010-10-22 11:41:08 status unpacked busybox 1:1.17.1-6
2010-10-22 11:41:08 upgrade devscripts 2.10.68 2.10.69
2010-10-22 11:41:08 status half-configured devscripts 2.10.68
2010-10-22 11:41:08 status unpacked devscripts 2.10.68
2010-10-22 11:41:08 status half-installed devscripts 2.10.68
2010-10-22 11:41:08 status half-installed devscripts 2.10.68

test_data/big.log  view on Meta::CPAN

2010-10-22 11:44:05 status installed bogofilter-bdb 1.2.2-2
2010-10-22 11:44:05 configure bogofilter 1.2.2-2 1.2.2-2
2010-10-22 11:44:05 status unpacked bogofilter 1.2.2-2
2010-10-22 11:44:05 status half-configured bogofilter 1.2.2-2
2010-10-22 11:44:05 status installed bogofilter 1.2.2-2
2010-10-22 11:44:05 configure busybox 1:1.17.1-6 1:1.17.1-6
2010-10-22 11:44:05 status unpacked busybox 1:1.17.1-6
2010-10-22 11:44:05 status half-configured busybox 1:1.17.1-6
2010-10-22 11:44:05 status installed busybox 1:1.17.1-6
2010-10-22 11:44:05 configure devscripts 2.10.69 2.10.69
2010-10-22 11:44:05 status unpacked devscripts 2.10.69
2010-10-22 11:44:05 status unpacked devscripts 2.10.69
2010-10-22 11:44:05 status unpacked devscripts 2.10.69
2010-10-22 11:44:05 status unpacked devscripts 2.10.69

test_data/big.log  view on Meta::CPAN

2010-11-16 09:59:02 status half-installed apache2-utils 2.2.16-3
2010-11-16 09:59:02 status half-installed apache2-utils 2.2.16-3
2010-11-16 09:59:02 status half-installed apache2-utils 2.2.16-3
2010-11-16 09:59:02 status unpacked apache2-utils 2.2.16-4
2010-11-16 09:59:02 status unpacked apache2-utils 2.2.16-4
2010-11-16 09:59:02 upgrade busybox 1:1.17.1-6 1:1.17.1-8
2010-11-16 09:59:02 status half-configured busybox 1:1.17.1-6
2010-11-16 09:59:02 status unpacked busybox 1:1.17.1-6
2010-11-16 09:59:02 status half-installed busybox 1:1.17.1-6
2010-11-16 09:59:02 status half-installed busybox 1:1.17.1-6
2010-11-16 09:59:02 status half-installed busybox 1:1.17.1-6
2010-11-16 09:59:03 status unpacked busybox 1:1.17.1-8
2010-11-16 09:59:03 status unpacked busybox 1:1.17.1-8
2010-11-16 09:59:03 upgrade common-lisp-controller 7.4 7.4+nmu1
2010-11-16 09:59:03 status half-configured common-lisp-controller 7.4
2010-11-16 09:59:03 status unpacked common-lisp-controller 7.4
2010-11-16 09:59:03 status half-installed common-lisp-controller 7.4
2010-11-16 09:59:03 status half-installed common-lisp-controller 7.4

test_data/big.log  view on Meta::CPAN

2010-11-16 10:03:02 status installed apache2-mpm-worker 2.2.16-4
2010-11-16 10:03:02 configure apache2 2.2.16-4 2.2.16-4
2010-11-16 10:03:02 status unpacked apache2 2.2.16-4
2010-11-16 10:03:02 status half-configured apache2 2.2.16-4
2010-11-16 10:03:02 status installed apache2 2.2.16-4
2010-11-16 10:03:02 configure busybox 1:1.17.1-8 1:1.17.1-8
2010-11-16 10:03:02 status unpacked busybox 1:1.17.1-8
2010-11-16 10:03:02 status half-configured busybox 1:1.17.1-8
2010-11-16 10:03:02 status installed busybox 1:1.17.1-8
2010-11-16 10:03:02 configure common-lisp-controller 7.4+nmu1 7.4+nmu1
2010-11-16 10:03:02 status unpacked common-lisp-controller 7.4+nmu1
2010-11-16 10:03:02 status unpacked common-lisp-controller 7.4+nmu1
2010-11-16 10:03:02 status unpacked common-lisp-controller 7.4+nmu1
2010-11-16 10:03:02 status unpacked common-lisp-controller 7.4+nmu1

 view all matches for this distribution


DR-Tarantool

 view release on metacpan or  search on metacpan

lib/DR/Tarantool/StartTest.pm  view on Meta::CPAN

    my @xlogs = glob catfile $self->{temp}, '*.xlog';
    unlink for @xlogs;
}

{
    my %busy_ports;

    sub _find_free_port {

        while( 1 ) {
            my $port = 10000 + int rand 30000;
            next if exists $busy_ports{ $port };
            next unless IO::Socket::INET->new(
                Listen    => 5,
                LocalAddr => '127.0.0.1',
                LocalPort => $port,
                Proto     => 'tcp',
                (($^O eq 'MSWin32') ? () : (ReuseAddr => 1)),
            );
            return $busy_ports{ $port } = $port;
        }
    }
}

=head1 COPYRIGHT AND LICENSE

 view all matches for this distribution


DR-Tnt

 view release on metacpan or  search on metacpan

lib/DR/Tnt/Test.pm  view on Meta::CPAN

}



sub free_port() {
    state $busy_ports = {};
    while( 1 ) {
        my $port = 10000 + int rand 30000;
        next if exists $busy_ports->{ $port };
        next unless IO::Socket::INET->new(
            Listen    => 5,
            LocalAddr => '127.0.0.1',
            LocalPort => $port,
            Proto     => 'tcp',
            (($^O eq 'MSWin32') ? () : (ReuseAddr => 1)),
        );
        return $busy_ports->{ $port } = $port;
    }
}

sub start_tarantool {
    my %opts = @_;

 view all matches for this distribution


Daje-Plugin-Tools

 view release on metacpan or  search on metacpan

_Deparsed_XSubs.pm  view on Meta::CPAN

sub _login;
sub backup_from_dbh;
sub backup_from_file;
sub backup_to_dbh;
sub backup_to_file;
sub busy_timeout;
sub collation_needed;
sub commit;
sub commit_hook;
sub create_aggregate;
sub create_collation;

_Deparsed_XSubs.pm  view on Meta::CPAN

sub set_authorizer;
sub sqlite_backup_from_dbh;
sub sqlite_backup_from_file;
sub sqlite_backup_to_dbh;
sub sqlite_backup_to_file;
sub sqlite_busy_timeout;
sub sqlite_collation_needed;
sub sqlite_commit_hook;
sub sqlite_create_aggregate;
sub sqlite_create_collation;
sub sqlite_create_function;

 view all matches for this distribution


Dancer-Layout-Bootstrap

 view release on metacpan or  search on metacpan

public/javascripts/jQuery/jquery-ui-1.12.min.js  view on Meta::CPAN

this.isMultiLine=o||!a&&this._isContentEditable(this.element),this.valueMethod=this.element[o||a?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(n...
}},_updateDatepicker:function(e){this.maxRows=4,m=e,e.dpDiv.empty().append(this._generateHTML(e)),this._attachHandlers(e);var i,s=this._getNumberOfMonths(e),n=s[1],a=17,r=e.dpDiv.find("."+this._dayOverClass+" a");r.length>0&&o.apply(r.get(0)),e.dpDiv...
},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)|...
},disable:t.noop,enable:t.noop,close:function(e){var i=this;this._isOpen&&this._trigger("beforeClose",e)!==!1&&(this._isOpen=!1,this._focusedElement=null,this._destroyOverlay(),this._untrackInstance(),this.opener.filter(":focusable").trigger("focus")...
},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var e,i,s=this.options,n=this.element.find(".ui-slider-handle"),o="<span tabindex='0'></span>",a=[];for(i=s.values&&s....
this._delay(function(){n===this.counter&&this.refreshPositions(!s)})},_clear:function(t,e){function i(t,e,i){return function(s){i._trigger(t,s,e._uiHash(e))}}this.reverting=!1;var s,n=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.p...

 view all matches for this distribution


Dancer

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

 - Fix temporary directory handling in serialiser tests (PR 1133, nanis)

 [ENHANCEMENTS]
 - Promoting 1.3144 to stable.		    Only one odd, rare failure
   remains on CPAN Testers, which I cannot reproduce.
 - Bind to 127.0.0.1 in tests to avoid occasional spurious failures on busy
   build hosts (PR 1136, thanks to @redbaron)
 - More efficient handling of large requests - don't store the raw request
   body, but fish it out of the HTTP::Body object's temp file if required
   (PR 1134, David Precious (bigpresh))

Changes  view on Meta::CPAN

 - Allow mixd named params and splats in route definitions (PR 1086,
   veryrusty)

1.3144 2015-11-04
 [ENHANCEMENTS]
 - Bind to 127.0.0.1 in tests to avoid occasional spurious failures on busy
   build hosts (PR 1136, thanks to @redbaron)

1.3143 2015-10-26
 - Note: new release manager for Dancer1: David Precious (BIGPRESH)

 view all matches for this distribution


Dancer2-Plugin-DBIC-Async

 view release on metacpan or  search on metacpan

lib/Dancer2/Plugin/DBIC/Async.pm  view on Meta::CPAN

delegates I/O to a background worker pool.

=head2 Non-Blocking I/O (Concurrency)

In a traditional sync app, if a database query takes B<500ms>, that L<Dancer2>
worker is B<"busy"> and cannot accept any other incoming requests for that
B<half a second>.

=over 4

=item Sync

 view all matches for this distribution


Dash

 view release on metacpan or  search on metacpan

share/assets/dash_renderer/dash_renderer.dev.js  view on Meta::CPAN

(function(global) {
var Module = function(Module) {
  Module = Module || {};
  var Module = Module;

var Module;if(!Module)Module=(typeof Module!=="undefined"?Module:null)||{};var moduleOverrides={};for(var key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var ENVIRONMENT_IS_WEB=false;var ENVIRONMENT_IS_WORKER=false;var...
var asm=(function(global,env,buffer) {
"use asm";var a=new global.Int8Array(buffer);var b=new global.Int16Array(buffer);var c=new global.Int32Array(buffer);var d=new global.Uint8Array(buffer);var e=new global.Uint16Array(buffer);var f=new global.Uint32Array(buffer);var g=new global.Float3...
// EMSCRIPTEN_START_FUNCS
function CV(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,i=0.0,j=0.0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0.0,t=0.0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0;$=l;l=l+9...
function s_(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:do if((e|0)!=(f|0)){p=b+76|0;l=b+356|0;m=f;n=b+360|0;i=e+1|0;o=b+364|0;h=m-e|0;j=(i|0)==(f|0);k=e+2|0;b:do switch(a[p+(d[e>>0]|0)>>0]|0){case 4:{if(j){e=-1;break a...

 view all matches for this distribution


Data-Buffer-Shared

 view release on metacpan or  search on metacpan

eg/ev_eventfd.pl  view on Meta::CPAN

#!/usr/bin/env perl
# EV event loop integration via eventfd
#
# The eventfd descriptor is pollable — plug it directly into EV::io
# for non-blocking notifications without busy-wait.
#
# Requires: EV
use strict;
use warnings;
use POSIX qw(_exit);

 view all matches for this distribution


Data-Downloader

 view release on metacpan or  search on metacpan

lib/Data/Downloader/DB.pm  view on Meta::CPAN

    $dbh->do("PRAGMA count_changes = OFF");
    if (my $mode = $ENV{DATA_DOWNLOADER_JOURNAL_MODE}) {
	$dbh->do("PRAGMA journal_mode = $mode")
	    if (grep $_ eq $mode, qw(DELETE TRUNCATE PERSIST MEMORY WAL OFF));
    }
    $dbh->sqlite_busy_timeout(1000*300);  # wait up to 5 minutes if it is locked
    return $dbh;
}

=item simple

 view all matches for this distribution


Data-ICal

 view release on metacpan or  search on metacpan

lib/Data/ICal.pm  view on Meta::CPAN

popular calendaring programs such as Apple's iCal.

Each L<Data::ICal> object is a collection of "entries", which are objects of a
subclass of L<Data::ICal::Entry>.  The types of entries defined by iCalendar
(which refers to them as "components") include events, to-do items, journal
entries, free/busy time indicators, and time zone descriptors; in addition,
events and to-do items can contain alarm entries.  (Currently, L<Data::ICal>
only implements to-do items and events.)

L<Data::ICal> is a subclass of L<Data::ICal::Entry>; see its manpage for more
methods applicable to L<Data::ICal>.

 view all matches for this distribution


Data-Iterator

 view release on metacpan or  search on metacpan

Iterator_en.pod  view on Meta::CPAN


Standard is the Perl-like format for Hashes/Arrays:

 my $path = "{'key1'}{'key2'}[2][1]";

If you are too busy to write all the brackets and braces, this will do ok:

 my $path = 'key1.key2.2.1';

If you choose not to use brackets/braces, hash keys have to contain at least one non-numerical character. Otherwise they will be taken as an array index - and will cause a non-fatal error plus warning.

 view all matches for this distribution


Data-JPack

 view release on metacpan or  search on metacpan

share/js/01-workerpool.js  view on Meta::CPAN

		this._executeNext();
		return promise;

	}
	_executeNext(){
    //console.log("is busy", this.isBusy);
		if((!this.isBusy) && (this.requestQueue.length>0)){
			//console.log(`POSTING TO WORKER ${this.id}`);
			this.isBusy=true;
			let r=this.requestQueue.shift();
			this.responseQueue.push(r);

share/js/01-workerpool.js  view on Meta::CPAN

      try {
			  this.worker.postMessage({cmd:"callFunction",name:r.name, arg:r.arg },r.transfer);
      }
      catch(e){
        let er={data:{name:"error", result:undefined}};
        // Could not send message, probably a bad argument. Make as not busy
				let r=this.responseQueue.shift();
				//console.log(`Response from worker ${this.id}`);
				r.rejecter(er);
				this.isBusy=false;
				this._executeNext();	//Trigger the queue again

 view all matches for this distribution


Data-MessagePack-Stream

 view release on metacpan or  search on metacpan

msgpack-3.3.0/Doxyfile  view on Meta::CPAN

# The SYMBOL_CACHE_SIZE determines the size of the internal cache use to
# determine which symbols to keep in memory and which to flush to disk.
# When the cache is full, less often used symbols will be written to disk.
# For small to medium size projects (<1000 input files) the default value is
# probably good enough. For larger projects a too small cache size can cause
# doxygen to be busy swapping symbols to and from disk most of the time
# causing a significant performance penality.
# If the system has enough physical memory increasing the cache will improve the
# performance by keeping more symbols in memory. Note that the value works on
# a logarithmic scale so increasing the size by one will roughly double the
# memory usage. The cache size is given by this formula:

 view all matches for this distribution


Data-MuForm

 view release on metacpan or  search on metacpan

t/repeatable/list.t  view on Meta::CPAN

    has_field 'tags' => ( type => 'Repeatable' );
    has_field 'tags.contains';

    sub validate_tags_contains {
        my ( $self, $field ) = @_;
        if ( $field->value eq 'busybee' ) {
            $field->add_error('That tag is not allowed');
        }
    }
}

t/repeatable/list.t  view on Meta::CPAN

};
is_deeply( $form->fif, $fif, 'fif is correct' );

is_deeply( $form->values, $params, 'values are correct' );

$params = { name => 'sally', tags => ['busybee', 'sillysally', 'missymim'] };
$form->process($params);
ok( $form->field('tags.0')->has_errors, 'instance has errors' );
ok( $form->has_errors, 'form has errors' );

done_testing;

 view all matches for this distribution


Data-Password-Filter

 view release on metacpan or  search on metacpan

share/dictionary.txt  view on Meta::CPAN

bustle
bustled
bustles
bustling
busts
busy
busybodies
busybody
busybody's
busying
busyness
busyness's
busywork
busywork's
but
butane
butane's
butch
butcher

 view all matches for this distribution


( run in 1.502 second using v1.01-cache-2.11-cpan-39bf76dae61 )