Home
last modified time | relevance | path

Searched refs:memory (Results 1 – 25 of 231) sorted by relevance

12345678910

/PHP-5.4/ext/sysvsem/tests/
H A Dsysv.phpt2 General semaphore and shared memory test
11 $MEMSIZE = 512; // size of shared memory to allocate
13 $SHMKEY = 2; // Shared memory key
34 echo "Fail to attach shared memory.\n";
47 echo "Write var1 to shared memory.\n";
56 echo "Write var2 to shared memory.\n";
80 // remove shared memory segmant from SysV
104 Success to attach shared memory : %s.
105 Write var1 to shared memory.
106 Write var2 to shared memory.
[all …]
/PHP-5.4/ext/standard/tests/streams/
H A Dbug61371-win.phpt2 Bug #61371: stream_context_create() causes memory leaks on use streams_socket_create
19 echo 'memory: '.round($current / 1024, 0)."kb\n";
36 memory: %dkb
38 memory: %dkb
40 memory: %dkb
41 memory: %dkb
43 memory: %dkb
45 memory: %dkb
H A Dbug61371.phpt2 Bug #61371: stream_context_create() causes memory leaks on use streams_socket_create
19 echo 'memory: '.round($current / 1024, 0)."kb\n";
36 memory: %dkb
38 memory: %dkb
40 memory: %dkb
41 memory: %dkb
43 memory: %dkb
45 memory: %dkb
H A Dbug44818.phpt2 Bug #44818 (php://memory writeable when opened read only)
12 test("php://memory","r");
13 test("php://memory","r+");
18 php://memory, r
23 php://memory, r+
/PHP-5.4/ext/shmop/tests/
H A D001.phpt13 $write_d2 = "test #2 append data to shared memory segment";
33 echo "data in memory is: " . shmop_read($shm_id, 0, $written) . "\n";
45 echo "data in memory is: " . shmop_read($shm_id, 0, $written) . "\n";
47 /* try to append data to the shared memory segment, this should fail */
69 echo "data in memory is: " . shmop_read($shm_id, 0, strlen($write_d1 . $write_d2)) . "\n";
84 data in memory is: test #1 of the shmop() extension
86 data in memory is: test #1 of the shmop() extension
90 data in memory is: test #1 of the shmop() extensiontest #2 append data to shared memory segment
/PHP-5.4/Zend/
H A DREADME.ZEND_MM7 The goal of the new memory manager (available since PHP 5.2) is to reduce memory
8 allocation overhead and speedup memory management.
10 The new manager's "configure" has no "--disable-zend-memory-manager" option,
13 between malloc and emalloc at runtime so you can use internal and external memory
31 that valgrind can correctly track the memory leaks in shared extensions. For
/PHP-5.4/Zend/tests/
H A Dbug55509.phpt2 Bug #55509 (segfault on x86_64 using more than 2G memory)
15 // check the available memory
27 die('skip Not enough memory.');
46 die('skip Not enough memory.');
71 Fatal error: Allowed memory size of %d bytes exhausted%s(tried to allocate %d bytes) in %sbug55509.…
H A Dbug64660.phpt2 Bug #64660 (Segfault on memory exhaustion within function definition)
11 Parse error: memory exhausted in %s on line %d
H A Dbug40770.phpt2 Bug #40770 (Apache child exits when PHP memory limit reached)
22 Fatal error: Allowed memory size of 8388608 bytes exhausted%s(tried to allocate %d bytes) in %s on …
H A Dbug27598.phpt2 Bug #27598 (list() array key assignment causes HUGE memory leak)
/PHP-5.4/ext/pdo_sqlite/tests/
H A Dbug43831.phpt23 $foo = new Foo("sqlite::memory:");
28 $bar = new Bar("sqlite::memory:");
34 $bar = new PDO("sqlite::memory:", null, null, array(PDO::ATTR_PERSISTENT => true));
35 $baz = new MyPDO("sqlite::memory:", null, null, array(PDO::ATTR_PERSISTENT => true));
H A Dbug35336.phpt15 $a = new PDO("sqlite::memory:");// pool ("sqlite::memory:");
H A Dcommon.phpt9 'PDOTEST_DSN' => 'sqlite::memory:'
/PHP-5.4/ext/sqlite3/tests/
H A Dsqlite3_prepare_001.phpt2 SQLite3 - memory leak on SQLite3Result and SQLite3Stmt
9 $class = new SQLite3(':memory:');
H A Dnew_db.inc3 $db = new SQLite3(':memory:');
/PHP-5.4/ext/sysvshm/
H A Dconfig.m45 PHP_ARG_ENABLE(sysvshm,whether to enable System V shared memory support,
6 [ --enable-sysvshm Enable the System V shared memory support])
/PHP-5.4/ext/standard/tests/file/
H A Dbug52820.phpt13 if (!curl_setopt($handle, CURLOPT_STDERR, fopen("php://memory", "w+")))
33 fclose(do_stuff("php://memory"));
39 leak_variable(do_stuff("php://memory"), true);
50 memory stream (close after):
64 memory stream (leak):
/PHP-5.4/ext/spl/tests/
H A DSplTempFileObject_constructor_memory_lt1_variation.phpt10 string(12) "php://memory"
12 string(12) "php://memory"
/PHP-5.4/ext/pdo_oci/tests/
H A Dbug46274.phpt30 $blob = fopen('php://memory', 'a');
40 $blob = fopen('php://memory', 'a');
60 Corrupts memory
H A Dbug46274_2.phpt30 $blob = fopen('php://memory', 'a');
40 $blob = fopen('php://memory', 'a');
64 Corrupts memory
/PHP-5.4/ext/zlib/tests/
H A Dgzinflate-bug42663.phpt2 Bug #42663 (gzinflate() try to allocate all memory with truncated $data)
17 // inflate $truncated string (check if it will not eat all memory)
/PHP-5.4/ext/standard/tests/filters/
H A Dfilter_errors.inc18 $stream = fopen('php://memory', 'wb+');
28 $stream = fopen('php://memory', 'wb+');
/PHP-5.4/ext/curl/tests/
H A Dbug65458.phpt2 Bug #65458 (curl memory leak)
20 // the number of iterations in the loop, if we're wasting memory here, we
H A Dbug45161.phpt2 Bug #45161 (Reusing a curl handle leaks memory)
22 // Fill memory for test
/PHP-5.4/ext/standard/tests/math/
H A Dbug21523.phpt2 Bug #21523 (number_format tries to allocate negative amount of memory)

Completed in 46 milliseconds

12345678910