repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Exception/SerializationException.php | src/Exception/SerializationException.php | <?php
namespace Icicle\Concurrent\Exception;
class SerializationException extends ChannelException {}
| php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Exception/ThreadException.php | src/Exception/ThreadException.php | <?php
namespace Icicle\Concurrent\Exception;
class ThreadException extends \Exception implements Exception {}
| php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Exception/StatusError.php | src/Exception/StatusError.php | <?php
namespace Icicle\Concurrent\Exception;
class StatusError extends \Error implements Exception {}
| php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Exception/ForkException.php | src/Exception/ForkException.php | <?php
namespace Icicle\Concurrent\Exception;
class ForkException extends \Exception implements Exception {}
| php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Exception/Exception.php | src/Exception/Exception.php | <?php
namespace Icicle\Concurrent\Exception;
interface Exception extends \Icicle\Exception\Exception, Throwable {}
| php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Exception/SynchronizationError.php | src/Exception/SynchronizationError.php | <?php
namespace Icicle\Concurrent\Exception;
class SynchronizationError extends \Error implements Error {}
| php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Exception/TaskException.php | src/Exception/TaskException.php | <?php
namespace Icicle\Concurrent\Exception;
class TaskException extends \Exception implements Exception
{
/**
* @var string Stack trace of the panic.
*/
private $trace;
/**
* Creates a new panic error.
*
* @param string $message The panic message.
* @param int $code Th... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Exception/Error.php | src/Exception/Error.php | <?php
namespace Icicle\Concurrent\Exception;
interface Error extends \Icicle\Exception\Error, Throwable {}
| php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Exception/SharedMemoryException.php | src/Exception/SharedMemoryException.php | <?php
namespace Icicle\Concurrent\Exception;
class SharedMemoryException extends \Exception implements Exception {}
| php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Exception/LockAlreadyReleasedError.php | src/Exception/LockAlreadyReleasedError.php | <?php
namespace Icicle\Concurrent\Exception;
class LockAlreadyReleasedError extends \Error implements Error {}
| php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Exception/WorkerException.php | src/Exception/WorkerException.php | <?php
namespace Icicle\Concurrent\Exception;
class WorkerException extends \Exception implements Exception
{
/**
* @param string $message
* @param \Throwable|null $previous
*/
public function __construct(string $message, \Throwable $previous = null)
{
parent::__construct($message, 0,... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Exception/PanicError.php | src/Exception/PanicError.php | <?php
namespace Icicle\Concurrent\Exception;
class PanicError extends \Error implements Error
{
/**
* @var string Stack trace of the panic.
*/
private $trace;
/**
* Creates a new panic error.
*
* @param string $message The panic message.
* @param int $code The panic cod... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Exception/ChannelException.php | src/Exception/ChannelException.php | <?php
namespace Icicle\Concurrent\Exception;
class ChannelException extends \Exception implements Exception
{
public function __construct(string $message, \Throwable $previous = null)
{
parent::__construct($message, 0, $previous);
}
}
| php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Exception/MutexException.php | src/Exception/MutexException.php | <?php
namespace Icicle\Concurrent\Exception;
class MutexException extends \Exception implements Exception {}
| php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Exception/SemaphoreException.php | src/Exception/SemaphoreException.php | <?php
namespace Icicle\Concurrent\Exception;
class SemaphoreException extends \Exception implements Exception {}
| php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Exception/Throwable.php | src/Exception/Throwable.php | <?php
namespace Icicle\Concurrent\Exception;
interface Throwable extends \Icicle\Exception\Throwable {}
| php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Sync/Parcel.php | src/Sync/Parcel.php | <?php
namespace Icicle\Concurrent\Sync;
/**
* A parcel object for sharing data across execution contexts.
*
* A parcel is an object that stores a value in a safe way that can be shared
* between different threads or processes. Different handles to the same parcel
* will access the same data, and a parcel handle i... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Sync/PosixSemaphore.php | src/Sync/PosixSemaphore.php | <?php
namespace Icicle\Concurrent\Sync;
use Icicle\Concurrent\Exception\SemaphoreException;
use Icicle\Exception\UnsupportedError;
use Icicle\Coroutine;
/**
* A non-blocking, interprocess POSIX semaphore.
*
* Uses a POSIX message queue to store a queue of permits in a lock-free data structure. This semaphore imple... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Sync/Synchronizable.php | src/Sync/Synchronizable.php | <?php
namespace Icicle\Concurrent\Sync;
/**
* An object that can be synchronized for exclusive access across contexts.
*/
interface Synchronizable
{
/**
* @coroutine
*
* Asynchronously invokes a callback while maintaining an exclusive lock on the object.
*
* The arguments passed to the c... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Sync/ChannelledStream.php | src/Sync/ChannelledStream.php | <?php
namespace Icicle\Concurrent\Sync;
use Icicle\Concurrent\Exception\{ChannelException, SerializationException};
use Icicle\Exception\InvalidArgumentError;
use Icicle\Stream\{DuplexStream, ReadableStream, WritableStream};
/**
* An asynchronous channel for sending data between threads and processes.
*
* Supports... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Sync/Channel.php | src/Sync/Channel.php | <?php
namespace Icicle\Concurrent\Sync;
/**
* Interface for sending messages between execution contexts.
*/
interface Channel
{
/**
* @coroutine
*
* @return \Generator
*
* @resolve mixed
*
* @throws \Icicle\Concurrent\Exception\StatusError Thrown if the context has not been sta... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Sync/Lock.php | src/Sync/Lock.php | <?php
namespace Icicle\Concurrent\Sync;
use Icicle\Concurrent\Exception\LockAlreadyReleasedError;
/**
* A handle on an acquired lock from a synchronization object.
*
* This object is not thread-safe; after acquiring a lock from a mutex or
* semaphore, the lock should reside in the same thread or process until it ... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Sync/Semaphore.php | src/Sync/Semaphore.php | <?php
namespace Icicle\Concurrent\Sync;
/**
* A non-blocking counting semaphore.
*
* Objects that implement this interface should guarantee that all operations
* are atomic. Implementations do not have to guarantee that acquiring a lock
* is first-come, first serve.
*/
interface Semaphore extends \Countable
{
... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Sync/FileMutex.php | src/Sync/FileMutex.php | <?php
namespace Icicle\Concurrent\Sync;
use Icicle\Concurrent\Exception\MutexException;
use Icicle\Coroutine;
/**
* A cross-platform mutex that uses exclusive files as the lock mechanism.
*
* This mutex implementation is not always atomic and depends on the operating
* system's implementation of file creation ope... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Sync/Mutex.php | src/Sync/Mutex.php | <?php
namespace Icicle\Concurrent\Sync;
/**
* A non-blocking synchronization primitive that can be used for mutual exclusion across contexts.
*
* Objects that implement this interface should guarantee that all operations
* are atomic. Implementations do not have to guarantee that acquiring a lock
* is first-come,... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Sync/SharedMemoryParcel.php | src/Sync/SharedMemoryParcel.php | <?php
namespace Icicle\Concurrent\Sync;
use Icicle\Concurrent\Exception\SharedMemoryException;
use Icicle\Exception\UnsupportedError;
/**
* A container object for sharing a value across contexts.
*
* A shared object is a container that stores an object inside shared memory.
* The object can be accessed and mutate... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Sync/Internal/ExitSuccess.php | src/Sync/Internal/ExitSuccess.php | <?php
namespace Icicle\Concurrent\Sync\Internal;
class ExitSuccess implements ExitStatus
{
/**
* @var mixed
*/
private $result;
public function __construct($result)
{
$this->result = $result;
}
/**
* {@inheritdoc}
*/
public function getResult()
{
re... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Sync/Internal/ExitStatus.php | src/Sync/Internal/ExitStatus.php | <?php
namespace Icicle\Concurrent\Sync\Internal;
interface ExitStatus
{
/**
* @return mixed Return value of the callable given to the execution context.
*
* @throws \Icicle\Concurrent\Exception\PanicError If the context exited with an uncaught exception.
*/
public function getResult();
}
| php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Sync/Internal/ExitFailure.php | src/Sync/Internal/ExitFailure.php | <?php
namespace Icicle\Concurrent\Sync\Internal;
use Icicle\Concurrent\Exception\PanicError;
class ExitFailure implements ExitStatus
{
/**
* @var string
*/
private $type;
/**
* @var string
*/
private $message;
/**
* @var int
*/
private $code;
/**
* @va... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Threading/Parcel.php | src/Threading/Parcel.php | <?php
namespace Icicle\Concurrent\Threading;
use Icicle\Concurrent\Sync\Parcel as SyncParcel;
/**
* A thread-safe container that shares a value between multiple threads.
*/
class Parcel implements SyncParcel
{
/**
* @var \Icicle\Concurrent\Threading\Mutex
*/
private $mutex;
/**
* @var \I... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Threading/Semaphore.php | src/Threading/Semaphore.php | <?php
namespace Icicle\Concurrent\Threading;
use Icicle\Concurrent\Sync\Semaphore as SyncSemaphore;
/**
* An asynchronous semaphore based on pthreads' synchronization methods.
*
* This is an implementation of a thread-safe semaphore that has non-blocking
* acquire methods. There is a small tradeoff for asynchrono... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Threading/Mutex.php | src/Threading/Mutex.php | <?php
namespace Icicle\Concurrent\Threading;
use Icicle\Concurrent\Sync\Mutex as SyncMutex;
/**
* A thread-safe, asynchronous mutex using the pthreads locking mechanism.
*
* Compatible with POSIX systems and Microsoft Windows.
*/
class Mutex implements SyncMutex
{
/**
* @var \Icicle\Concurrent\Threading\... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Threading/Thread.php | src/Threading/Thread.php | <?php
namespace Icicle\Concurrent\Threading;
use Icicle\Concurrent\Exception\{StatusError, SynchronizationError, ThreadException};
use Icicle\Concurrent\Strand;
use Icicle\Concurrent\Sync\{ChannelledStream, Internal\ExitStatus};
use Icicle\Coroutine;
use Icicle\Exception\{InvalidArgumentError, UnsupportedError};
use I... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Threading/Internal/Storage.php | src/Threading/Internal/Storage.php | <?php
namespace Icicle\Concurrent\Threading\Internal;
/**
* @internal
*/
class Storage extends \Threaded
{
/**
* @var mixed
*/
private $value;
/**
* @param mixed $value
*/
public function __construct($value)
{
$this->value = $value;
}
/**
* @return mixed... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Threading/Internal/Semaphore.php | src/Threading/Internal/Semaphore.php | <?php
namespace Icicle\Concurrent\Threading\Internal;
use Icicle\Concurrent\Sync\Lock;
use Icicle\Coroutine;
/**
* An asynchronous semaphore based on pthreads' synchronization methods.
*
* @internal
*/
class Semaphore extends \Threaded
{
const LATENCY_TIMEOUT = 0.01; // 10 ms
/**
* @var int The numb... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Threading/Internal/Mutex.php | src/Threading/Internal/Mutex.php | <?php
namespace Icicle\Concurrent\Threading\Internal;
use Icicle\Concurrent\Sync\Lock;
use Icicle\Coroutine;
/**
* @internal
*/
class Mutex extends \Threaded
{
const LATENCY_TIMEOUT = 0.01; // 10 ms
/**
* @var bool
*/
private $lock = true;
/**
* Attempts to acquire the lock and slee... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Threading/Internal/Thread.php | src/Threading/Internal/Thread.php | <?php
namespace Icicle\Concurrent\Threading\Internal;
use Icicle\Concurrent\Exception\{ChannelException, SerializationException};
use Icicle\Concurrent\Sync\{Channel, ChannelledStream, Internal\ExitFailure, Internal\ExitSuccess};
use Icicle\Coroutine\Coroutine;
use Icicle\Loop;
use Icicle\Stream\Pipe\DuplexPipe;
/**
... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Forking/Fork.php | src/Forking/Fork.php | <?php
namespace Icicle\Concurrent\Forking;
use Icicle\Concurrent\Exception\{ForkException, ChannelException, SerializationException, StatusError, SynchronizationError};
use Icicle\Concurrent\{Process, Strand};
use Icicle\Concurrent\Sync\{Channel, ChannelledStream};
use Icicle\Concurrent\Sync\Internal\{ExitFailure, Exi... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/tests/TestCase.php | tests/TestCase.php | <?php
namespace Icicle\Tests\Concurrent;
use Icicle\Tests\Concurrent\Stub\CallbackStub;
/**
* Abstract test class with methods for creating callbacks and asserting runtimes.
*/
abstract class TestCase extends \PHPUnit_Framework_TestCase
{
const RUNTIME_PRECISION = 2; // Number of decimals to use in runtime calc... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/tests/AbstractContextTest.php | tests/AbstractContextTest.php | <?php
namespace Icicle\Tests\Concurrent;
use Icicle\Concurrent\Sync\Internal\ExitSuccess;
use Icicle\Coroutine;
use Icicle\Loop;
abstract class AbstractContextTest extends TestCase
{
abstract public function createContext(callable $function);
public function testIsRunning()
{
Coroutine\create(fun... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/tests/Worker/WorkerProcessTest.php | tests/Worker/WorkerProcessTest.php | <?php
namespace Icicle\Tests\Concurrent\Worker;
use Icicle\Concurrent\Worker\WorkerProcess;
class WorkerProcessTest extends AbstractWorkerTest
{
protected function createWorker()
{
return new WorkerProcess();
}
}
| php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/tests/Worker/WorkerThreadTest.php | tests/Worker/WorkerThreadTest.php | <?php
namespace Icicle\Tests\Concurrent\Worker;
use Icicle\Concurrent\Worker\WorkerThread;
/**
* @group threading
* @requires extension pthreads
*/
class WorkerThreadTest extends AbstractWorkerTest
{
protected function createWorker()
{
return new WorkerThread();
}
}
| php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/tests/Worker/TestTask.php | tests/Worker/TestTask.php | <?php
namespace Icicle\Tests\Concurrent\Worker;
use Icicle\Concurrent\Worker\{Environment, Task};
class TestTask implements Task
{
private $returnValue;
public function __construct($returnValue)
{
$this->returnValue = $returnValue;
}
public function run(Environment $environment)
{
... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/tests/Worker/ProcessPoolTest.php | tests/Worker/ProcessPoolTest.php | <?php
namespace Icicle\Tests\Concurrent\Worker;
use Icicle\Concurrent\Worker\{DefaultPool, WorkerFactory, WorkerProcess};
/**
* @group process
*/
class ProcessPoolTest extends AbstractPoolTest
{
protected function createPool($min = null, $max = null)
{
$factory = $this->getMock(WorkerFactory::class)... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/tests/Worker/WorkerForkTest.php | tests/Worker/WorkerForkTest.php | <?php
namespace Icicle\Tests\Concurrent\Worker;
use Icicle\Concurrent\Worker\WorkerFork;
/**
* @group forking
* @requires extension pcntl
*/
class WorkerForkTest extends AbstractWorkerTest
{
protected function createWorker()
{
return new WorkerFork();
}
}
| php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/tests/Worker/FunctionsTest.php | tests/Worker/FunctionsTest.php | <?php
namespace Icicle\Tests\Concurrent\Worker;
use Icicle\Concurrent\Worker;
use Icicle\Concurrent\Worker\{Environment, Pool, Task, WorkerFactory};
use Icicle\Coroutine\Coroutine;
use Icicle\Tests\Concurrent\TestCase;
class FunctionsTest extends TestCase
{
public function testPool()
{
$pool = $this->... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/tests/Worker/AbstractWorkerTest.php | tests/Worker/AbstractWorkerTest.php | <?php
namespace Icicle\Tests\Concurrent\Worker;
use Icicle\Awaitable;
use Icicle\Coroutine;
use Icicle\Loop;
use Icicle\Tests\Concurrent\TestCase;
abstract class AbstractWorkerTest extends TestCase
{
/**
* @return \Icicle\Concurrent\Worker\Worker
*/
abstract protected function createWorker();
p... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/tests/Worker/AbstractPoolTest.php | tests/Worker/AbstractPoolTest.php | <?php
namespace Icicle\Tests\Concurrent\Worker;
use Icicle\Awaitable;
use Icicle\Coroutine;
use Icicle\Loop;
use Icicle\Tests\Concurrent\TestCase;
abstract class AbstractPoolTest extends TestCase
{
/**
* @param int $min
* @param int $max
*
* @return \Icicle\Concurrent\Worker\Pool
*/
a... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/tests/Worker/ThreadPoolTest.php | tests/Worker/ThreadPoolTest.php | <?php
namespace Icicle\Tests\Concurrent\Worker;
use Icicle\Concurrent\Worker\{DefaultPool, WorkerFactory, WorkerThread};
/**
* @group threading
* @requires extension pthreads
*/
class ThreadPoolTest extends AbstractPoolTest
{
protected function createPool($min = null, $max = null)
{
$factory = $thi... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/tests/Worker/ForkPoolTest.php | tests/Worker/ForkPoolTest.php | <?php
namespace Icicle\Tests\Concurrent\Worker;
use Icicle\Concurrent\Worker\{DefaultPool, WorkerFactory, WorkerFork};
/**
* @group forking
* @requires extension pcntl
*/
class ForkPoolTest extends AbstractPoolTest
{
protected function createPool($min = null, $max = null)
{
$factory = $this->getMoc... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/tests/Sync/LockTest.php | tests/Sync/LockTest.php | <?php
namespace Icicle\Tests\Concurrent\Sync;
use Icicle\Concurrent\Sync\Lock;
use Icicle\Tests\Concurrent\TestCase;
class LockTest extends TestCase
{
public function testIsReleased()
{
$lock = new Lock($this->createCallback(1));
$this->assertFalse($lock->isReleased());
$lock->release(... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/tests/Sync/AbstractSemaphoreTest.php | tests/Sync/AbstractSemaphoreTest.php | <?php
namespace Icicle\Tests\Concurrent\Sync;
use Icicle\Concurrent\Sync\Lock;
use Icicle\Coroutine;
use Icicle\Loop;
use Icicle\Tests\Concurrent\TestCase;
abstract class AbstractSemaphoreTest extends TestCase
{
/**
* @var \Icicle\Concurrent\Sync\Semaphore
*/
protected $semaphore;
/**
* @r... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/tests/Sync/FileMutexTest.php | tests/Sync/FileMutexTest.php | <?php
namespace Icicle\Tests\Concurrent\Sync;
use Icicle\Concurrent\Sync\FileMutex;
use Icicle\Coroutine;
use Icicle\Loop;
use Icicle\Tests\Concurrent\TestCase;
class FileMutexTest extends TestCase
{
public function testAcquire()
{
Coroutine\create(function () {
$mutex = new FileMutex();
... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/tests/Sync/PosixSemaphoreTest.php | tests/Sync/PosixSemaphoreTest.php | <?php
namespace Icicle\Tests\Concurrent\Sync;
use Icicle\Concurrent\Forking\Fork;
use Icicle\Concurrent\Sync\{PosixSemaphore, Semaphore};
use Icicle\Coroutine;
use Icicle\Loop;
/**
* @group posix
* @requires extension sysvmsg
*/
class PosixSemaphoreTest extends AbstractSemaphoreTest
{
public function createSem... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/tests/Sync/SharedMemoryParcelTest.php | tests/Sync/SharedMemoryParcelTest.php | <?php
namespace Icicle\Tests\Concurrent\Sync;
use Icicle\Concurrent\Sync\SharedMemoryParcel;
use Icicle\Coroutine\Coroutine;
/**
* @requires extension shmop
* @requires extension sysvmsg
*/
class SharedMemoryParcelTest extends AbstractParcelTest
{
private $parcel;
protected function createParcel($value)
... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/tests/Sync/AbstractParcelTest.php | tests/Sync/AbstractParcelTest.php | <?php
namespace Icicle\Tests\Concurrent\Sync;
use Icicle\Coroutine\Coroutine;
use Icicle\Loop;
use Icicle\Tests\Concurrent\TestCase;
abstract class AbstractParcelTest extends TestCase
{
/**
* @return \Icicle\Concurrent\Sync\Parcel
*/
abstract protected function createParcel($value);
public func... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/tests/Sync/ChannelledStreamTest.php | tests/Sync/ChannelledStreamTest.php | <?php
namespace Icicle\Tests\Concurrent\Sync;
use Icicle\Concurrent\Sync\ChannelledStream;
use Icicle\Coroutine;
use Icicle\Loop;
use Icicle\Stream\{DuplexStream, ReadableStream};
use Icicle\Stream\Exception\{UnreadableException, UnwritableException};
use Icicle\Tests\Concurrent\TestCase;
class ChannelledStreamTest e... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/tests/Threading/ThreadTest.php | tests/Threading/ThreadTest.php | <?php
namespace Icicle\Tests\Concurrent\Threading;
use Icicle\Concurrent\Threading\Thread;
use Icicle\Coroutine;
use Icicle\Loop;
use Icicle\Tests\Concurrent\AbstractContextTest;
/**
* @group threading
* @requires extension pthreads
*/
class ThreadTest extends AbstractContextTest
{
public function createContex... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/tests/Threading/SemaphoreTest.php | tests/Threading/SemaphoreTest.php | <?php
namespace Icicle\Tests\Concurrent\Threading;
use Icicle\Concurrent\Sync\Semaphore as SyncSemaphore;
use Icicle\Concurrent\Threading\{Semaphore, Thread};
use Icicle\Coroutine;
use Icicle\Loop;
use Icicle\Tests\Concurrent\Sync\AbstractSemaphoreTest;
/**
* @group threading
* @requires extension pthreads
*/
clas... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/tests/Threading/MutexTest.php | tests/Threading/MutexTest.php | <?php
namespace Icicle\Tests\Concurrent\Threading;
use Icicle\Concurrent\Threading\Mutex;
use Icicle\Coroutine;
use Icicle\Loop;
use Icicle\Tests\Concurrent\TestCase;
/**
* @group threading
* @requires extension pthreads
*/
class MutexTest extends TestCase
{
public function testAcquire()
{
Coroutin... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/tests/Threading/ParcelTest.php | tests/Threading/ParcelTest.php | <?php
namespace Icicle\Tests\Concurrent\Threading;
use Icicle\Concurrent\Threading\Parcel;
use Icicle\Tests\Concurrent\Sync\AbstractParcelTest;
/**
* @requires extension pthreads
*/
class ParcelTest extends AbstractParcelTest
{
protected function createParcel($value)
{
return new Parcel($value);
... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/tests/Forking/ForkTest.php | tests/Forking/ForkTest.php | <?php
namespace Icicle\Tests\Concurrent\Forking;
use Icicle\Concurrent\Forking\Fork;
use Icicle\Coroutine;
use Icicle\Loop;
use Icicle\Tests\Concurrent\AbstractContextTest;
/**
* @group forking
* @requires extension pcntl
*/
class ForkTest extends AbstractContextTest
{
public function createContext(callable $f... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/tests/Stub/CallbackStub.php | tests/Stub/CallbackStub.php | <?php
namespace Icicle\Tests\Concurrent\Stub;
class CallbackStub
{
public function __invoke() {}
}
| php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/bin/worker.php | bin/worker.php | #!/usr/bin/env php
<?php
// Redirect all output written using echo, print, printf, etc. to STDERR.
ob_start(function ($data) {
fwrite(STDERR, $data);
return '';
}, 1, 0);
$paths = [
dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'autoload.php',
dirname(__DIR__) . DIRECTORY_SEPARATOR . 'ven... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/examples/BlockingTask.php | examples/BlockingTask.php | <?php
namespace Icicle\Examples\Concurrent;
use Icicle\Concurrent\Worker\Environment;
use Icicle\Concurrent\Worker\Task;
class BlockingTask implements Task
{
/**
* @var callable
*/
private $function;
/**
* @var mixed[]
*/
private $args;
/**
* @param callable $function Do... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/examples/worker.php | examples/worker.php | #!/usr/bin/env php
<?php
require dirname(__DIR__).'/vendor/autoload.php';
use Icicle\Concurrent\Worker\DefaultWorkerFactory;
use Icicle\Coroutine;
use Icicle\Examples\Concurrent\BlockingTask;
use Icicle\Loop;
Coroutine\create(function () {
$factory = new DefaultWorkerFactory();
$worker = $factory->create();
... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/examples/thread.php | examples/thread.php | #!/usr/bin/env php
<?php
require dirname(__DIR__).'/vendor/autoload.php';
use Icicle\Concurrent\Threading\Thread;
use Icicle\Coroutine;
use Icicle\Loop;
$timer = Loop\periodic(1, function () {
static $i;
$i = $i ? ++$i : 1;
print "Demonstrating how alive the parent is for the {$i}th time.\n";
});
Corouti... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/examples/worker-pool.php | examples/worker-pool.php | #!/usr/bin/env php
<?php
require dirname(__DIR__).'/vendor/autoload.php';
use Icicle\Awaitable;
use Icicle\Concurrent\Worker\DefaultPool;
use Icicle\Coroutine;
use Icicle\Examples\Concurrent\BlockingTask;
use Icicle\Loop;
Coroutine\create(function() {
$pool = new DefaultPool();
$pool->start();
$coroutine... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/examples/fork.php | examples/fork.php | #!/usr/bin/env php
<?php
require dirname(__DIR__).'/vendor/autoload.php';
use Icicle\Concurrent\Forking\Fork;
use Icicle\Coroutine;
use Icicle\Loop;
Coroutine\create(function () {
$context = Fork::spawn(function () {
print "Child sleeping for 4 seconds...\n";
sleep(4);
yield from $this->s... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/index.php | index.php | <?php
header('Location: app/index.php'); | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/properties_view.php | app/properties_view.php | <?php
// This script and data application was generated by AppGini, https://bigprof.com/appgini
// Download AppGini for free from https://bigprof.com/appgini/download/
include_once(__DIR__ . '/lib.php');
@include_once(__DIR__ . '/hooks/properties.php');
include_once(__DIR__ . '/properties_dml.php');
// mm: can th... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/footer.php | app/footer.php | <!-- Add footer template above here -->
<div class="clearfix"></div>
<?php if(!Request::val('Embedded')) { ?>
<div style="height: 70px;" class="hidden-print"></div>
<?php } ?>
</div> <!-- /div class="container" -->
<?php if(!defined('APPGINI_SETUP') && is_file(__DIR__ . '/hooks/footer-extras.php'))... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/home.php | app/home.php | <?php
if(!isset($Translation)) { @header('Location: index.php'); exit; }
include_once(__DIR__ . '/header.php');
@include(__DIR__ . '/hooks/links-home.php');
if(is_file(__DIR__ . '/hooks/home-custom.php')) {
include(__DIR__ . '/hooks/home-custom.php');
include_once(__DIR__ . '/footer.php');
exit;
}
/*
C... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/settings-manager.php | app/settings-manager.php | <?php
/* includes and bootstrapping code common to setup, users area and admin area */
error_reporting(E_ERROR | E_PARSE);
// if hooks/__bootstrap.php is found, it's included before any other files
// to define the very first booting steps performed by app. Useful for controlling
// session behavior, overriding d... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/applicants_and_tenants_autofill.php | app/applicants_and_tenants_autofill.php | <?php
// This script and data application was generated by AppGini, https://bigprof.com/appgini
// Download AppGini for free from https://bigprof.com/appgini/download/
include_once(__DIR__ . '/lib.php');
handle_maintenance();
header('Content-type: text/javascript; charset=' . datalist_db_encoding);
$table_perms... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/incCommon.php | app/incCommon.php | <?php
#########################################################
/*
~~~~~~ LIST OF FUNCTIONS ~~~~~~
get_table_groups() -- returns an associative array (table_group => tables_array)
getTablePermissions($tn) -- returns an array of permissions allowed for logged member to given table (allowAccess, allowInsert, allo... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | true |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/membership_signup.php | app/membership_signup.php | <?php
include_once(__DIR__ . '/lib.php');
if(MULTI_TENANTS) redirect(SaaS::signupUrl(), true);
$adminConfig = config('adminConfig');
$app_name = APP_TITLE;
if(!$cg = sqlValue("select count(1) from membership_groups where allowSignup=1")) {
$noSignup = true;
echo error_message($Translation['sign up disabled']... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/applications_leases_autofill.php | app/applications_leases_autofill.php | <?php
// This script and data application was generated by AppGini, https://bigprof.com/appgini
// Download AppGini for free from https://bigprof.com/appgini/download/
include_once(__DIR__ . '/lib.php');
handle_maintenance();
header('Content-type: text/javascript; charset=' . datalist_db_encoding);
$table_perms... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/ajax_check_unique.php | app/ajax_check_unique.php | <?php
/**
* Checks if the value of a specific unique field already exists
* @param t table name
* @param f field name
* @param id the value of the PK of the record if it already exists
* @param value the value to be checked for being a duplicate
* @returns json result: { "result": "ok" } or { "result": "e... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/employment_and_income_history_dml.php | app/employment_and_income_history_dml.php | <?php
// Data functions (insert, update, delete, form) for table employment_and_income_history
// This script and data application was generated by AppGini, https://bigprof.com/appgini
// Download AppGini for free from https://bigprof.com/appgini/download/
function employment_and_income_history_insert(&$error_messag... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/definitions.php | app/definitions.php | <?php
// The constants below can be overridden by defining them with different values in hooks/__bootstrap.php
@define('DEBUG_MODE', false);
@define('SESSION_NAME', 'Rental_property_manager');
@define('APP_TITLE', 'Rental Property Manager');
@define('APP_DIR', __DIR__);
@define('APP_VERSION', '25.13');
@define(... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/employment_and_income_history_view.php | app/employment_and_income_history_view.php | <?php
// This script and data application was generated by AppGini, https://bigprof.com/appgini
// Download AppGini for free from https://bigprof.com/appgini/download/
include_once(__DIR__ . '/lib.php');
@include_once(__DIR__ . '/hooks/employment_and_income_history.php');
include_once(__DIR__ . '/employment_and_inc... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/ajax-update-calculated-fields.php | app/ajax-update-calculated-fields.php | <?php
define('PREPEND_PATH', '');
include_once(__DIR__ . '/lib.php');
/*
* calculated fields configuration array, $calc:
* table => [calculated fields], ..
* where calculated fields:
* field => query, ...
*/
$calc = calculated_fields();
cleanup_calc_fields($calc);
list($tab... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/lib.php | app/lib.php | <?php
// This script and data application was generated by AppGini, https://bigprof.com/appgini
// Download AppGini for free from https://bigprof.com/appgini/download/
include_once(__DIR__ . '/settings-manager.php');
include_once(__DIR__ . '/datalist.php');
include_once(__DIR__ . '/incCommon.php');
detect_confi... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/lang.js.php | app/lang.js.php | <?php
include_once(__DIR__ . '/lib.php');
// Set the content type to JavaScript
header('Content-Type: application/javascript');
// Calculate the cache duration (in seconds)
// Here, we set it to 1 week (7 days)
$cacheDuration = 7 * 24 * 60 * 60; // 1 week in seconds
// Set the Cache-Control header
// 'public' means... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/ajax_combo.php | app/ajax_combo.php | <?php
// This script and data application was generated by AppGini, https://bigprof.com/appgini
// Download AppGini for free from https://bigprof.com/appgini/download/
/*
ajax-callable script that returns code for either a combo drop-down or an auto-complete
drop-down, based on number of items.
REQUEST parameters:... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/applications_leases_view.php | app/applications_leases_view.php | <?php
// This script and data application was generated by AppGini, https://bigprof.com/appgini
// Download AppGini for free from https://bigprof.com/appgini/download/
include_once(__DIR__ . '/lib.php');
@include_once(__DIR__ . '/hooks/applications_leases.php');
include_once(__DIR__ . '/applications_leases_dml.php'... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/checkMemberID.php | app/checkMemberID.php | <?php
include_once(__DIR__ . '/lib.php');
$current_user = Request::val('currentUser', false);
$username = is_allowed_username(Request::val('memberID'), $current_user);
if(is_ajax()) exit('username-' . ($username ? 'available' : 'unavailable'));
include_once(__DIR__ . '/header.php');
?>
<style>
nav, .hidden-pr... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/membership_profile.php | app/membership_profile.php | <?php
include_once(__DIR__ . '/lib.php');
if(MULTI_TENANTS) redirect(call_user_func_array('SaaS::profileUrl', []), true);
$adminConfig = config('adminConfig');
/* no access for guests */
if(Authentication::isGuest()) {
@header('HTTP/1.0 403 Forbidden');
@header('Location: index.php?signIn=1');
exit;
}
$... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/property_photos_autofill.php | app/property_photos_autofill.php | <?php
// This script and data application was generated by AppGini, https://bigprof.com/appgini
// Download AppGini for free from https://bigprof.com/appgini/download/
include_once(__DIR__ . '/lib.php');
handle_maintenance();
header('Content-type: text/javascript; charset=' . datalist_db_encoding);
$table_perms... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/import-csv.php | app/import-csv.php | <?php
define('PREPEND_PATH', '');
include_once(__DIR__ . '/lib.php');
// accept a record as an assoc array, return transformed row ready to insert to table
$transformFunctions = [
'applicants_and_tenants' => function($data, $options = []) {
if(isset($data['phone'])) $data['phone'] = str_replace('-', '', $data... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/property_photos_dml.php | app/property_photos_dml.php | <?php
// Data functions (insert, update, delete, form) for table property_photos
// This script and data application was generated by AppGini, https://bigprof.com/appgini
// Download AppGini for free from https://bigprof.com/appgini/download/
function property_photos_insert(&$error_message = '') {
global $Translati... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/datalist.php | app/datalist.php | <?php
class DataList {
// this class generates the data table ...
var $QueryFieldsTV,
$QueryFieldsCSV,
$QueryFieldsFilters,
$QueryFieldsQS,
$QueryFrom,
$QueryWhere,
$QueryOrder,
$filterers,
$translation,
$FilterAnd,
$FilterField,
$FilterOperator,
$FilterValue,
$QueryFieldsIndexed,
$Filt... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | true |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/applications_leases_dml.php | app/applications_leases_dml.php | <?php
// Data functions (insert, update, delete, form) for table applications_leases
// This script and data application was generated by AppGini, https://bigprof.com/appgini
// Download AppGini for free from https://bigprof.com/appgini/download/
function applications_leases_insert(&$error_message = '') {
global $T... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | true |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/applicants_and_tenants_view.php | app/applicants_and_tenants_view.php | <?php
// This script and data application was generated by AppGini, https://bigprof.com/appgini
// Download AppGini for free from https://bigprof.com/appgini/download/
include_once(__DIR__ . '/lib.php');
@include_once(__DIR__ . '/hooks/applicants_and_tenants.php');
include_once(__DIR__ . '/applicants_and_tenants_dm... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/defaultFilters.php | app/defaultFilters.php | <?php if(!isset($Translation)) { @header('Location: index.php'); exit; } ?>
<table class="table table-striped table-bordered hidden" id="css-query-table">
<tr><td>odd</td></tr>
<tr><td>even</td></tr>
</table>
<div class="row">
<div class="col-md-8" id="filters-section">
<div class="page-header"><h1>
<span id=... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | true |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/link.php | app/link.php | <?php
include_once(__DIR__ . '/lib.php');
// upload paths
$p = [
'properties' => [
'photo' => getUploadDir(''),
'primary key' => 'id'
],
'property_photos' => [
'photo' => getUploadDir(''),
'primary key' => 'id'
],
'units' => [
'photo' => getUploadDir(''),
'primary key' => 'id'
],
'un... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/rental_owners_dml.php | app/rental_owners_dml.php | <?php
// Data functions (insert, update, delete, form) for table rental_owners
// This script and data application was generated by AppGini, https://bigprof.com/appgini
// Download AppGini for free from https://bigprof.com/appgini/download/
function rental_owners_insert(&$error_message = '') {
global $Translation;
... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | true |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/defaultLang.php | app/defaultLang.php | <?php
/*
IMPORTANT:
==========
If you wish to translate the interface of your AppGini app,
DO NOT TRANSLATE THIS FILE.
Instead, you should translate the language.php file.
*/
$TranslationEn = [
'ImageFolder' => './images/',
'membership management' => 'Membership Management',
'password mismatch' => "Password doesn... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | true |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/references_view.php | app/references_view.php | <?php
// This script and data application was generated by AppGini, https://bigprof.com/appgini
// Download AppGini for free from https://bigprof.com/appgini/download/
include_once(__DIR__ . '/lib.php');
@include_once(__DIR__ . '/hooks/references.php');
include_once(__DIR__ . '/references_dml.php');
// mm: can th... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.