PageRenderTime 342ms queryTime 36ms sortTime 41ms getByIdsTime 127ms findMatchingLines 77ms

100+ results results for 'php flush repo:kalichava/adrenalins' (342 ms)

Not the results you expected?
schema.test.php https://bitbucket.org/webpolis/liiv.git | PHP | 353 lines
                    
1<?php
                    
2/**
                    
6 *
                    
7 * CakePHP :  Rapid Development Framework (http://www.cakephp.org)
                    
8 * Copyright 2006-2009, Cake Software Foundation, Inc.
                    
14 * @copyright     Copyright 2006-2009, Cake Software Foundation, Inc.
                    
15 * @link          http://www.cakefoundation.org/projects/info/cakephp CakePHP Project
                    
16 * @package       cake
                    
18 * @since         CakePHP v 1.3
                    
19 * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
                    
20 */
                    
171		$this->assertEqual(strtolower($this->Shell->Schema->name), APP_DIR);
                    
172		$this->assertEqual($this->Shell->Schema->file, 'other_file.php');
                    
173		$this->assertEqual($this->Shell->Schema->connection, 'test_suite');
                    
280		$this->Shell->generate();
                    
281		unlink(TMP . 'schema.php');
                    
282	}
                    
                
schema.test.php https://bitbucket.org/unsl/listop.git | PHP | 353 lines
                    
1<?php
                    
2/**
                    
6 *
                    
7 * CakePHP :  Rapid Development Framework (http://www.cakephp.org)
                    
8 * Copyright 2006-2010, Cake Software Foundation, Inc.
                    
14 * @copyright     Copyright 2006-2010, Cake Software Foundation, Inc.
                    
15 * @link          http://www.cakefoundation.org/projects/info/cakephp CakePHP Project
                    
16 * @package       cake
                    
18 * @since         CakePHP v 1.3
                    
19 * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
                    
20 */
                    
171		$this->assertEqual(strtolower($this->Shell->Schema->name), APP_DIR);
                    
172		$this->assertEqual($this->Shell->Schema->file, 'other_file.php');
                    
173		$this->assertEqual($this->Shell->Schema->connection, 'test_suite');
                    
280		$this->Shell->generate();
                    
281		unlink(TMP . 'schema.php');
                    
282	}
                    
                
UpdateCommand.php https://github.com/genemu/GenemuDoctrineExtraBundle.git | PHP | 290 lines
                    
1<?php
                    
2
                    
53        } else {
                    
54            $this->em->flush();
                    
55        }
                    
66                $files = new Finder();
                    
67                $files->files()->name('*Controller.php')->in($dir);
                    
68
                    
69                foreach ($files as $file) {
                    
70                    if ('Controller.php' !== $controllerName = $file->getBasename('Controller.php')) {
                    
71                        $ns = $class->getNamespace().'\\Controller';
                    
76
                    
77                        $reflection = new \ReflectionClass($ns.'\\'.$file->getBasename('.php'));
                    
78
                    
                
Base.php https://github.com/ezimuel/phrozn.git | PHP | 378 lines
                    
1<?php
                    
2/**
                    
156    /**
                    
157     * Output string to stdout (flushes output). Wrapper around Outputter
                    
158     *
                    
170        if (count(\ob_get_status()) !== 0) {
                    
171            ob_flush();
                    
172        }
                    
322    {
                    
323        if (PHP_OS == 'WINNT' || PHP_OS == 'WIN32') {
                    
324            $pattern = '/^[a-zA-z]:.*[^.lnk]$/';
                    
                
WindowsStreamWrapper.php https://gitlab.com/xolotsoft/pumasruiz | PHP | 404 lines
                    
1<?php
                    
2
                    
19 *
                    
20 * See also https://code.google.com/p/php-wfio/ for a PHP extension
                    
21 * and comments on http://www.rooftopsolutions.nl/blog/filesystem-encoding-and-php
                    
216
                    
217    public function stream_flush()
                    
218    {
                    
218    {
                    
219        return fflush($this->handle);
                    
220    }
                    
                
DisciplinaController.php https://gitlab.com/hersan/ultra | PHP | 340 lines
                    
1<?php
                    
2
                    
97            $em->persist($entity);
                    
98            $em->flush();
                    
99
                    
257        if ($editForm->isValid()) {
                    
258            $em->flush();
                    
259
                    
299            $em->remove($entity);
                    
300            $em->flush();
                    
301
                    
                
AllTests.php https://bitbucket.org/ksekar/campus.git | PHP | 253 lines
                    
1<?php
                    
2
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
21 * @version    $Id: AllTests.php 24594 2012-01-05 21:27:01Z matthew $
                    
22 */
                    
23
                    
24if (!defined('PHPUnit_MAIN_METHOD')) {
                    
25    define('PHPUnit_MAIN_METHOD', 'Zend_AllTests::main');
                    
27
                    
28require_once 'Zend/Acl/AclTest.php';
                    
29require_once 'Zend/Amf/AllTests.php';
                    
29require_once 'Zend/Amf/AllTests.php';
                    
30require_once 'Zend/Application/AllTests.php';
                    
31require_once 'Zend/AuthTest.php';
                    
36require_once 'Zend/Cloud/AllTests.php';
                    
37require_once 'Zend/CodeGenerator/Php/AllTests.php';
                    
38require_once 'Zend/Db/AllTests.php';
                    
                
reset.php https://github.com/3den/J-MediaGalleries.git | PHP | 393 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version		$Id: reset.php 19024 2010-10-02 18:53:34Z 3dentech $
                    
4 * @package		Joomla.Site
                    
181
                    
182		// Flush the user data from the session.
                    
183		$app->setUserState('com_users.reset.token', null);
                    
360		$itemid = $itemid !== null ? '&Itemid='.$itemid : '';
                    
361		$link = 'index.php?option=com_users&view=reset&layout=confirm'.$itemid;
                    
362
                    
                
LimitTestCase.php https://github.com/robertleeplummerjr/bluebox.git | PHP | 329 lines
                    
1<?php
                    
2/*
                    
18 * and is licensed under the LGPL. For more information, see
                    
19 * <http://www.phpdoctrine.org>.
                    
20 */
                    
28 * @author      Konsta Vesterinen <kvesteri@cc.hut.fi>
                    
29 * @license     http://www.opensource.org/licenses/lgpl-license.php LGPL
                    
30 * @category    Object Relational Mapping
                    
30 * @category    Object Relational Mapping
                    
31 * @link        www.phpdoctrine.org
                    
32 * @since       1.0
                    
58        $coll[3]->name = "photo 4";
                    
59        $this->connection->flush();
                    
60
                    
215
                    
216    public function testConnectionFlushing() 
                    
217    {
                    
                
bcmevent.h https://bitbucket.org/zarboz/ville-dlx-merger.git | C Header | 355 lines
                    
8 * under the terms of the GNU General Public License version 2 (the "GPL"),
                    
9 * available at http://www.broadcom.com/licenses/GPLv2.php, with the
                    
10 * following added to such license:
                    
46#define WLC_EVENT_MSG_LINK		0x01	
                    
47#define WLC_EVENT_MSG_FLUSHTXQ		0x02	
                    
48#define WLC_EVENT_MSG_GROUP		0x04	
                    
                
VertexSetProperty.java https://gitlab.com/zaverichintan/lumify | Java | 223 lines
                    
208        graphVertex = setPropertyResult.elementMutation.save(authorizations);
                    
209        graph.flush();
                    
210
                    
214
                    
215        this.workQueueRepository.pushGraphPropertyQueue(graphVertex, propertyKey, propertyName, workspaceId, visibilitySource);
                    
216
                    
                
JUnit.php https://gitlab.com/judielsm/Handora | PHP | 448 lines
                    
17 */
                    
18class PHPUnit_Util_Log_JUnit extends PHPUnit_Util_Printer implements PHPUnit_Framework_TestListener
                    
19{
                    
128
                    
129        if ($test instanceof PHPUnit_Framework_SelfDescribing) {
                    
130            $buffer = $test->toString() . "\n";
                    
157     */
                    
158    public function addFailure(PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time)
                    
159    {
                    
197                'error',
                    
198                PHPUnit_Util_XML::prepareString(
                    
199                    "Incomplete Test\n" .
                    
216     *
                    
217     * @param PHPUnit_Framework_Test $test
                    
218     * @param Exception              $e
                    
                
BasicMediaPlayerPluginMac.mm https://github.com/GordonSmith/FireBreath.git | Objective C++ | 332 lines
                    
6            New BSD License
                    
7            http://www.opensource.org/licenses/bsd-license.php
                    
8            - or -
                    
160        
                    
161        //CGContextFlush(cgContext);
                    
162        CGContextSynchronize(cgContext);
                    
164        printf("%s() QDEndCGContext=%ld\n", __func__, status);
                    
165        //QDFlushPortBuffer(port, NULL);
                    
166    }
                    
                
permissions.inc.php https://bitbucket.org/orchdork10159/dnsman.ly.git | PHP | 190 lines
                    
1<?php
                    
2/**
                    
71$_lang['perm.file_view_desc'] = 'De inhoud van files kunnen bekijken.';
                    
72$_lang['perm.flush_sessions_desc'] = 'Kan sessie gegevens van de gehele site flushen.';
                    
73$_lang['perm.frames_desc'] = 'Om de MODX manager UI &uuml;berhaupt te gebruiken.';
                    
                
run-tests.py https://bitbucket.org/mdavid/cherokee-webserver-svnclone.git | Python | 489 lines
                    
137if php_interpreter:
                    
138    print_key('PHP', php_interpreter)
                    
139else:
                    
139else:
                    
140    print_key('PHP', "Couldn't find a suitable PHP interpreter (with fastcgi support)")
                    
141
                    
229vserver!1!document_root = %(www)s
                    
230vserver!1!directory_index = test_index.html,test_index.php,/super_test_index.php
                    
231vserver!1!rule!1!match = default
                    
248
                    
249for php in php_ext.split("\n"):
                    
250    CONF_BASE += "vserver!1!rule!%s\n" % (php)
                    
289    obj.nobody   = nobody
                    
290    obj.php_conf = php_ext
                    
291    objs.append(obj)
                    
                
Cli.php https://gitlab.com/sokeara/ayana-journeys | PHP | 283 lines
                    
63					  try {
                    
64                        $w3_cacheflush = w3_instance('W3_CacheFlush');
                    
65                        $w3_cacheflush->pgcache_flush_post($vars['post_id']);
                    
99					try {
                    
100                      $w3_cacheflush = w3_instance('W3_CacheFlush');
                    
101                      $w3_cacheflush->pgcache_flush();
                    
101                      $w3_cacheflush->pgcache_flush();
                    
102                      $w3_cacheflush->varnish_flush();
                    
103 					}
                    
256
                    
257			 flush    			   flushes whole cache or specific items based on provided arguments
                    
258			 querystring			 update query string for all static files
                    
260			 pgcache_cleanup   Generally triggered from a cronjob, allows for manual Garbage collection of page cache to be triggered
                    
261             apc_reload_files SNS/local file.php file2.php file3.php Tells apc to compile files
                    
262             apc_delete_based_on_regex SNS/local expression Tells apc to delete files that match a RegEx mask
                    
                
innodb.lib.php https://github.com/drbowen/openemr.git | PHP | 411 lines
                    
1<?php
                    
2/* vim: set expandtab sw=4 ts=4 sts=4: */
                    
5 *
                    
6 * @package PhpMyAdmin-Engines
                    
7 */
                    
7 */
                    
8if (! defined('PHPMYADMIN')) {
                    
9    exit;
                    
14 *
                    
15 * @package PhpMyAdmin-Engines
                    
16 */
                    
66            ),
                    
67            'innodb_flush_log_at_trx_commit' => array(
                    
68            ),
                    
68            ),
                    
69            'innodb_flush_method' => array(
                    
70            ),
                    
                
Store.php https://gitlab.com/ealexis.t/trends | PHP | 707 lines
                    
1<?php
                    
2
                    
560     */
                    
561    public function flush()
                    
562    {
                    
                
rewrite.php https://bitbucket.org/antonyravel/cape-resorts.git | PHP | 425 lines
                    
1<?php
                    
2
                    
42		/*WARNING: Do nothook rewrite rule regentation on the init hook for anything other than dev. */
                    
43		//add_action('init',array(&$this, 'flush'));
                    
44		
                    
161	/**
                    
162	* The permalinks needs to be flushed after activation
                    
163	*/
                    
163	*/
                    
164	function flush() { 
                    
165		global $wp_rewrite, $ngg;
                    
166		
                    
167        // reload slug, maybe it changed during the flush routine
                    
168        $this->slug = $ngg->options['permalinkSlug'];
                    
172			
                    
173		$wp_rewrite->flush_rules();
                    
174	}
                    
                
ez_sql_core.php https://github.com/LamCiuLoeng/BookShare.git | PHP | 552 lines
                    
1<?php
                    
2
                    
99
                    
100		function flush()
                    
101		{
                    
                
HTML.php https://bitbucket.org/crowdguru/phpexcel.git | PHP | 495 lines
                    
34	define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');
                    
35	require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
                    
36}
                    
149		// Create new PHPExcel
                    
150		$objPHPExcel = new PHPExcel();
                    
151
                    
430	/**
                    
431	 * Loads PHPExcel from file into PHPExcel instance
                    
432	 *
                    
433	 * @param 	string 		$pFilename
                    
434	 * @param	PHPExcel	$objPHPExcel
                    
435	 * @return 	PHPExcel
                    
437	 */
                    
438	public function loadIntoExisting($pFilename, PHPExcel $objPHPExcel)
                    
439	{
                    
                
Parametro.php https://gitlab.com/bluedrayco/Portafolio | PHP | 439 lines
                    
1<?php
                    
2
                    
181
                    
182        $this->entityManager->flush();
                    
183
                    
332            $this->entityManager->persist($parametro);
                    
333            $this->entityManager->flush();
                    
334
                    
373                $parametro->setActivo(false);
                    
374                $this->entityManager->flush();
                    
375            $this->buildRespuesta('delete');
                    
                
XMLWriter.php https://gitlab.com/najomie/fit-hippie | PHP | 402 lines
                    
1<?php
                    
2
                    
3// Handle eval errors that cause the script to finish
                    
4$wpaeErrorHandler = new WpaePhpInterpreterErrorHandler();
                    
5register_shutdown_function(array($wpaeErrorHandler, 'handle'));
                    
136     */
                    
137    public function wpae_flush()
                    
138    {
                    
138    {
                    
139        if (!in_array(XmlExportEngine::$exportOptions['xml_template_type'], array('custom', 'XmlGoogleMerchants'))) return $this->flush(true);
                    
140
                    
                
File.php https://gitlab.com/rsilveira1987/Expresso | PHP | 473 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: File.php 10020 2009-08-18 14:34:09Z j.fischer@metaways.de $
                    
21 */
                    
67    /**
                    
68     * Flush output.
                    
69     *
                    
73     */
                    
74    abstract public function flush();
                    
75
                    
190         */
                    
191        if (PHP_INT_SIZE > 4) {
                    
192            $str = $this->_fread(8);
                    
218         */
                    
219        if (PHP_INT_SIZE > 4) {
                    
220            settype($value, 'integer');
                    
                
BlackHole.php https://gitlab.com/faisaliqbal/mytripsorter | PHP | 502 lines
                    
1<?php
                    
2/**
                    
17use Zend\Cache\Storage\ClearExpiredInterface;
                    
18use Zend\Cache\Storage\FlushableInterface;
                    
19use Zend\Cache\Storage\IterableInterface;
                    
30    ClearExpiredInterface,
                    
31    FlushableInterface,
                    
32    IterableInterface,
                    
413
                    
414    /* FlushableInterface */
                    
415
                    
416    /**
                    
417     * Flush the whole storage
                    
418     *
                    
420     */
                    
421    public function flush()
                    
422    {
                    
                
AllTests.php https://github.com/christophervalles/Zend-Framework-Skeleton.git | PHP | 253 lines
                    
1<?php
                    
2
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
21 * @version    $Id: AllTests.php 23775 2011-03-01 17:25:24Z ralph $
                    
22 */
                    
23
                    
24if (!defined('PHPUnit_MAIN_METHOD')) {
                    
25    define('PHPUnit_MAIN_METHOD', 'Zend_AllTests::main');
                    
27
                    
28require_once 'Zend/Acl/AclTest.php';
                    
29require_once 'Zend/Amf/AllTests.php';
                    
29require_once 'Zend/Amf/AllTests.php';
                    
30require_once 'Zend/Application/AllTests.php';
                    
31require_once 'Zend/AuthTest.php';
                    
36require_once 'Zend/Cloud/AllTests.php';
                    
37require_once 'Zend/CodeGenerator/Php/AllTests.php';
                    
38require_once 'Zend/Db/AllTests.php';
                    
                
ServerVersion28.php https://gitlab.com/daniruizcamacho/pfcascensores | PHP | 247 lines
                    
1<?php
                    
2
                    
117            'dbsize'                    => 'Predis\Command\ServerDatabaseSize',
                    
118            'flushdb'                   => 'Predis\Command\ServerFlushDatabase',
                    
119            'flushall'                  => 'Predis\Command\ServerFlushAll',
                    
                
Descarte.php https://gitlab.com/SFMSP/Hagape | PHP | 346 lines
                    
1<?php
                    
2
                    
306                        $this->getEm()->remove($this->getEm()->getReference('Estoque\Entity\ItemDescarte', $item->getId()));
                    
307                        $this->getEm()->flush();
                    
308                        $this->getEm()->clear();
                    
                
JUnit.php https://gitlab.com/dzakiafif/cokelatklasik | PHP | 452 lines
                    
16 * @author     Sebastian Bergmann <sebastian@phpunit.de>
                    
17 * @copyright  Sebastian Bergmann <sebastian@phpunit.de>
                    
18 * @license    http://www.opensource.org/licenses/BSD-3-Clause  The BSD 3-Clause License
                    
21 */
                    
22class PHPUnit_Util_Log_JUnit extends PHPUnit_Util_Printer implements PHPUnit_Framework_TestListener
                    
23{
                    
161     */
                    
162    public function addFailure(PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time)
                    
163    {
                    
179            'failure',
                    
180            PHPUnit_Util_XML::prepareString($buffer)
                    
181        );
                    
437     * Enables or disables the writing of the document
                    
438     * in flush().
                    
439     *
                    
                
permissions.inc.php https://bitbucket.org/orchdork10159/dnsman.ly.git | PHP | 193 lines
                    
1<?php
                    
2/**
                    
74$_lang['perm.file_view_desc'] = 'Inhalte von Dateien anzeigen.';
                    
75$_lang['perm.flush_sessions_desc'] = 'Sessions Site-übergreifend zurücksetzen.';
                    
76$_lang['perm.frames_desc'] = 'Die MODX-Manager-Oberfläche benutzen.';
                    
                
File.php https://github.com/Martin1982/IBMessagingWorkshopServer.git | PHP | 473 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: File.php 20096 2010-01-06 02:05:09Z bkarwin $
                    
21 */
                    
67    /**
                    
68     * Flush output.
                    
69     *
                    
73     */
                    
74    abstract public function flush();
                    
75
                    
190         */
                    
191        if (PHP_INT_SIZE > 4) {
                    
192            $str = $this->_fread(8);
                    
218         */
                    
219        if (PHP_INT_SIZE > 4) {
                    
220            settype($value, 'integer');
                    
                
pearcmd.php https://github.com/ianbogda/FileZ.git | PHP | 445 lines
                    
27 */
                    
28if ('/usr/share/php' != '@'.'include_path'.'@') {
                    
29    ini_set('include_path', '/usr/share/php');
                    
59if (!isset($_SERVER['argv']) && !isset($argv) && !isset($HTTP_SERVER_VARS['argv'])) {
                    
60    echo 'ERROR: either use the CLI php executable, or set register_argc_argv=On in php.ini';
                    
61    exit(1);
                    
132// this is used in the error handler to retrieve a relative path
                    
133$_PEAR_PHPDIR = $config->get('php_dir');
                    
134$ui->setConfig($config);
                    
166                );
                    
167                $config->set('php_dir', $pearbase . DIRECTORY_SEPARATOR . 'php');
                    
168                $config->set('data_dir', $pearbase . DIRECTORY_SEPARATOR . 'data');
                    
377        return "PEAR Version: ".$GLOBALS['pear_package_version'].
                    
378               "\nPHP Version: ".phpversion().
                    
379               "\nZend Engine Version: ".zend_version().
                    
                
HttpHeaders.php https://github.com/Shreef/zf2.git | PHP | 327 lines
                    
1<?php
                    
2/**
                    
166    /**
                    
167     * Flush all data from all protocols and send all data to response headers.
                    
168     *
                    
168     *
                    
169     * @return boolean Returns TRUE if data was flushed
                    
170     */
                    
170     */
                    
171    public function flush()
                    
172    {
                    
226     * The channel is ready as long as the request and response objects are initialized,
                    
227     * can send headers and the FirePHP header exists in the User-Agent.
                    
228     *
                    
244     * and messages sent prior are kept but discarded when the channel is finally
                    
245     * flushed at the end of the request.
                    
246     *
                    
                
PersistenceBuilder.php https://github.com/l3l0/BehatExamples.git | PHP | 337 lines
                    
1<?php
                    
2/*
                    
27 * PersistenceBuilder builds the queries used by the persisters to update and insert
                    
28 * documents when a DocumentManager is flushed. It uses the changeset information in the
                    
29 * UnitOfWork to build queries using atomic operators like $set, $unset, etc.
                    
30 *
                    
31 * @license     http://www.opensource.org/licenses/lgpl-license.php LGPL
                    
32 * @link        www.doctrine-project.com
                    
                
output_minify.php https://gitlab.com/vanthanhhoh/devlovebook | PHP | 87 lines
                    
1<?php
                    
2
                    
83    }
                    
84    public function action_flush_static_file($params = array()) {
                    
85        //n($params);
                    
                
DefaultRevalidationTest.php https://gitlab.com/x33n/respond | PHP | 246 lines
                    
1<?php
                    
2
                    
76        $server = $this->getServer();
                    
77        $server->flush();
                    
78
                    
141    {
                    
142        $this->getServer()->flush();
                    
143        $this->getServer()->enqueue(array(
                    
219    {
                    
220        $this->getServer()->flush();
                    
221        $this->getServer()->enqueue(array(
                    
                
http_server.cpp https://github.com/diegoIta/hiphop-php.git | C++ | 489 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | HipHop for PHP                                                       |
                    
4   +----------------------------------------------------------------------+
                    
6   +----------------------------------------------------------------------+
                    
7   | This source file is subject to version 3.01 of the PHP license,      |
                    
8   | that is bundled with this package in the file LICENSE, and is        |
                    
9   | available through the world-wide-web at the following url:           |
                    
10   | http://www.php.net/license/3_01.txt                                  |
                    
11   | If you did not receive a copy of the PHP license and are unable to   |
                    
12   | obtain it through the world-wide-web, please send a note to          |
                    
13   | license@php.net so we can mail you a copy immediately.               |
                    
14   +----------------------------------------------------------------------+
                    
42
                    
43namespace HPHP {
                    
44///////////////////////////////////////////////////////////////////////////////
                    
                
output.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 122 lines
                    
1<?php
                    
2/**
                    
81			ob_start();
                    
82			ob_implicit_flush(false);
                    
83
                    
                
shell.test.php https://github.com/cgajardo/repositorium.git | PHP | 501 lines
                    
8 *
                    
9 * CakePHP :  Rapid Development Framework (http://cakephp.org)
                    
10 * Copyright 2006-2010, Cake Software Foundation, Inc.
                    
15 * @copyright     Copyright 2006-2010, Cake Software Foundation, Inc.
                    
16 * @link          http://cakephp.org CakePHP Project
                    
17 * @package       cake
                    
18 * @subpackage    cake.tests.cases.console.libs
                    
19 * @since         CakePHP v 1.2.0.7726
                    
20 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
370
                    
371		$path = $expected = DS . 'tmp' . DS . 'ab' . DS . 'index.php';
                    
372		$this->assertEqual($this->Shell->shortPath($path), $expected);
                    
409		$path = TMP . 'shell_test';
                    
410		$file = $path . DS . 'file1.php';
                    
411
                    
                
permissions.inc.php https://github.com/goldsky/revolution.git | PHP | 189 lines
                    
1<?php
                    
2/**
                    
69$_lang['perm.file_view_desc'] = 'Untuk melihat isi dari file.';
                    
70$_lang['perm.flush_sessions_desc'] = 'Dapat flush sesi di situs.';
                    
71$_lang['perm.frames_desc'] = 'Menggunakan UI MODX Manager sama sekali.';
                    
                
APCcache.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 151 lines
                    
1<?php
                    
2/*
                    
124
                    
125  public function flush() {
                    
126    $allinfo = apc_cache_info('user');
                    
143  public function clear() {
                    
144    return $this->flush();
                    
145  }
                    
                
sbhnddma.h https://github.com/netarchy/infuse4g-sources.git | C Header | 343 lines
                    
9 * under the terms of the GNU General Public License version 2 (the "GPL"),
                    
10 * available at http://www.broadcom.com/licenses/GPLv2.php, with the
                    
11 * following added to such license:
                    
81#define	XC_LE		((uint32)1 << 2)	/* loopback enable */
                    
82#define	XC_FL		((uint32)1 << 4)	/* flush request */
                    
83#define	XC_PD		((uint32)1 << 11)	/* parity check disable */
                    
227#define	D64_XC_LE		0x00000004	/* loopback enable */
                    
228#define	D64_XC_FL		0x00000010	/* flush request */
                    
229#define	D64_XC_PD		0x00000800	/* parity check disable */
                    
                
ext_std_output.cpp https://github.com/soitun/hiphop-php.git | C++ | 303 lines
                    
50const int64_t k_PHP_OUTPUT_HANDLER_STDFLAGS =
                    
51  k_PHP_OUTPUT_HANDLER_CLEANABLE | k_PHP_OUTPUT_HANDLER_FLUSHABLE |
                    
52  k_PHP_OUTPUT_HANDLER_REMOVABLE;
                    
67  if (flags & k_PHP_OUTPUT_HANDLER_CLEANABLE) f |= OBFlags::Cleanable;
                    
68  if (flags & k_PHP_OUTPUT_HANDLER_FLUSHABLE) f |= OBFlags::Flushable;
                    
69  if (flags & k_PHP_OUTPUT_HANDLER_REMOVABLE) f |= OBFlags::Removable;
                    
287
                    
288  HHVM_RC_INT(PHP_OUTPUT_HANDLER_CONT, k_PHP_OUTPUT_HANDLER_CONT);
                    
289  HHVM_RC_INT(PHP_OUTPUT_HANDLER_WRITE, k_PHP_OUTPUT_HANDLER_WRITE);
                    
291  HHVM_RC_INT(PHP_OUTPUT_HANDLER_CLEAN, k_PHP_OUTPUT_HANDLER_CLEAN);
                    
292  HHVM_RC_INT(PHP_OUTPUT_HANDLER_FLUSH, k_PHP_OUTPUT_HANDLER_FLUSH);
                    
293  HHVM_RC_INT(PHP_OUTPUT_HANDLER_END, k_PHP_OUTPUT_HANDLER_END);
                    
295  HHVM_RC_INT(PHP_OUTPUT_HANDLER_CLEANABLE, k_PHP_OUTPUT_HANDLER_CLEANABLE);
                    
296  HHVM_RC_INT(PHP_OUTPUT_HANDLER_FLUSHABLE, k_PHP_OUTPUT_HANDLER_FLUSHABLE);
                    
297  HHVM_RC_INT(PHP_OUTPUT_HANDLER_REMOVABLE, k_PHP_OUTPUT_HANDLER_REMOVABLE);
                    
                
export.php https://gitlab.com/x33n/ampache | PHP | 72 lines
                    
1<?php
                    
2/* vim:set softtabstop=4 shiftwidth=4 expandtab: */
                    
22
                    
23require_once '../lib/init.php';
                    
24
                    
44        // instead of waiting until contents are generated, which could take a long time.
                    
45        ob_implicit_flush(true);
                    
46
                    
67    default:
                    
68        require_once AmpConfig::get('prefix') . '/templates/show_export.inc.php';
                    
69    break;
                    
                
Mmc.c https://gitlab.com/envieidoc/Clover | C | 454 lines
                    
8  which accompanies this distribution.  The full text of the license may be found at
                    
9  http://opensource.org/licenses/bsd-license.php
                    
10
                    
111  MmcHostInstance->BlockIo.WriteBlocks = MmcWriteBlocks;
                    
112  MmcHostInstance->BlockIo.FlushBlocks = MmcFlushBlocks;
                    
113
                    
                
RedirectPluginTest.php https://gitlab.com/techniconline/kmc | PHP | 277 lines
                    
1<?php
                    
2
                    
17    {
                    
18        // Flush the server and queue up a redirect followed by a successful response
                    
19        $this->getServer()->flush();
                    
58    {
                    
59        // Flush the server and queue up a redirect followed by a successful response
                    
60        $this->getServer()->flush();
                    
83    {
                    
84        $this->getServer()->flush();
                    
85        $this->getServer()->enqueue(array(
                    
102    {
                    
103        $this->getServer()->flush();
                    
104        $this->getServer()->enqueue(array(
                    
123    {
                    
124        $this->getServer()->flush();
                    
125        $this->getServer()->enqueue(array(
                    
                
Memcache.php https://gitlab.com/team_fsn/fsn-php | PHP | 312 lines
                    
20 *
                    
21 * @category   PHPExcel
                    
22 * @package    PHPExcel_CachedObjectStorage
                    
22 * @package    PHPExcel_CachedObjectStorage
                    
23 * @copyright  Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
                    
33 * @package    PHPExcel_CachedObjectStorage
                    
34 * @copyright  Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
35 */
                    
35 */
                    
36class PHPExcel_CachedObjectStorage_Memcache extends PHPExcel_CachedObjectStorage_CacheBase implements PHPExcel_CachedObjectStorage_ICache {
                    
37
                    
106	/**
                    
107	 * Is a value set in the current PHPExcel_CachedObjectStorage_ICache for an indexed cell?
                    
108	 *
                    
                
InheritanceTest.php https://bitbucket.org/hanutimes/hanutimes.git | PHP | 143 lines
                    
1<?php
                    
2
                    
17 * @link http://www.gediminasm.org
                    
18 * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
19 */
                    
54        $this->em->persist($article);
                    
55        $this->em->flush();
                    
56        $this->em->clear();
                    
71        $this->em->persist($article);
                    
72        $this->em->flush();
                    
73        $this->em->clear();
                    
104        $this->em->persist($image);
                    
105        $this->em->flush();
                    
106
                    
114        $this->em->persist($image);
                    
115        $this->em->flush();
                    
116        $this->em->clear();
                    
                
shell.test.php https://github.com/cpfarher/pruebascake.git | PHP | 501 lines
                    
8 *
                    
9 * CakePHP :  Rapid Development Framework (http://cakephp.org)
                    
10 * Copyright 2005-2011, Cake Software Foundation, Inc.
                    
15 * @copyright     Copyright 2005-2011, Cake Software Foundation, Inc.
                    
16 * @link          http://cakephp.org CakePHP Project
                    
17 * @package       cake
                    
18 * @subpackage    cake.tests.cases.console.libs
                    
19 * @since         CakePHP v 1.2.0.7726
                    
20 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
370
                    
371		$path = $expected = DS . 'tmp' . DS . 'ab' . DS . 'index.php';
                    
372		$this->assertEqual($this->Shell->shortPath($path), $expected);
                    
409		$path = TMP . 'shell_test';
                    
410		$file = $path . DS . 'file1.php';
                    
411
                    
                
mailqueue__qmaillib.php https://github.com/yourhty/hypervm.git | PHP | 123 lines
                    
1<?php 
                    
2
                    
5
                    
6static function QueueFlush()
                    
7{
                    
                
SimpleKeyCacheInputStreamTest.php https://github.com/nattaphat/hgis.git | PHP | 77 lines
                    
1<?php
                    
2
                    
2
                    
3require_once 'Swift/Tests/SwiftUnitTestCase.php';
                    
4require_once 'Swift/KeyCache/SimpleKeyCacheInputStream.php';
                    
4require_once 'Swift/KeyCache/SimpleKeyCacheInputStream.php';
                    
5require_once 'Swift/KeyCache.php';
                    
6
                    
30
                    
31    public function testFlushContentClearsKey()
                    
32    {
                    
42
                    
43        $stream->flushBuffers();
                    
44    }
                    
                
ResultPrinter.php https://github.com/allanfreitas/qcodo.git | PHP | 338 lines
                    
45
                    
46require_once 'PHPUnit/Framework.php';
                    
47require_once 'PHPUnit/Util/Filter.php';
                    
47require_once 'PHPUnit/Util/Filter.php';
                    
48require_once 'PHPUnit/Util/TestDox/NamePrettifier.php';
                    
49require_once 'PHPUnit/Util/Printer.php';
                    
50
                    
51PHPUnit_Util_Filter::addFileToFilter(__FILE__, 'PHPUNIT');
                    
52
                    
65 */
                    
66abstract class PHPUnit_Util_TestDox_ResultPrinter extends PHPUnit_Util_Printer implements PHPUnit_Framework_TestListener
                    
67{
                    
150     */
                    
151    public function addFailure(PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time)
                    
152    {
                    
                
ext_imagick.cpp https://github.com/tstarling/hiphop-php.git | C++ | 359 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | HipHop for PHP                                                       |
                    
4   +----------------------------------------------------------------------+
                    
5   | Copyright (c) 2010-2014 Facebook, Inc. (http://www.facebook.com)     |
                    
6   | Copyright (c) 1997-2010 The PHP Group                                |
                    
7   +----------------------------------------------------------------------+
                    
7   +----------------------------------------------------------------------+
                    
8   | This source file is subject to version 3.01 of the PHP license,      |
                    
9   | that is bundled with this package in the file LICENSE, and is        |
                    
10   | available through the world-wide-web at the following url:           |
                    
11   | http://www.php.net/license/3_01.txt                                  |
                    
12   | If you did not receive a copy of the PHP license and are unable to   |
                    
13   | obtain it through the world-wide-web, please send a note to          |
                    
14   | license@php.net so we can mail you a copy immediately.               |
                    
15   +----------------------------------------------------------------------+
                    
                
serverEnv.ml https://gitlab.com/iranjith4/hhvm | OCaml | 65 lines
                    
51let file_filter f =
                    
52  (FindUtils.is_php f && not (FilesToIgnore.should_ignore f))
                    
53  || FindUtils.is_js f
                    
64    Printf.fprintf oc "%s\n" (Relative_path.to_absolute s));
                    
65  flush oc
                    
66
                    
                
CpuFlushTlb.s https://gitlab.com/envieidoc/Clover | Assembly | 59 lines
                    
4/// which accompanies this distribution.  The full text of the license may be found at        
                    
5/// http://opensource.org/licenses/bsd-license.php                                            
                    
6///                                                                                           
                    
11///
                    
12///   CpuFlushTlb.s
                    
13///
                    
23
                    
24.proc   CpuFlushTlb
                    
25.type   CpuFlushTlb, @function
                    
25.type   CpuFlushTlb, @function
                    
26CpuFlushTlb::
                    
27        alloc               loc0 = ar.pfs, 0, 3, 5, 0
                    
                
AssertStoreCanBeLocalized.php https://gitlab.com/yousafsyed/easternglamor | PHP | 78 lines
                    
1<?php
                    
2/**
                    
47
                    
48        // Flush cache
                    
49        $adminCache->open();
                    
49        $adminCache->open();
                    
50        $adminCache->getActionsBlock()->flushMagentoCache();
                    
51        $adminCache->getMessagesBlock()->waitSuccessMessage();
                    
62
                    
63        \PHPUnit_Framework_Assert::assertTrue(
                    
64            $cmsIndex->getSearchBlock()->isPlaceholderContains($welcomeText),
                    
                
File.php https://github.com/Enrise/Zend.git | PHP | 473 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: File.php 24593 2012-01-05 20:35:02Z matthew $
                    
21 */
                    
67    /**
                    
68     * Flush output.
                    
69     *
                    
73     */
                    
74    abstract public function flush();
                    
75
                    
190         */
                    
191        if (PHP_INT_SIZE > 4) {
                    
192            $str = $this->_fread(8);
                    
218         */
                    
219        if (PHP_INT_SIZE > 4) {
                    
220            settype($value, 'integer');
                    
                
TableMessage.php https://gitlab.com/devtoannh/cafe | PHP | 165 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: TableMessage.php 23775 2011-03-01 17:25:24Z ralph $
                    
21 */
                    
23/** Zend_Wildfire_Plugin_FirePhp */
                    
24require_once 'Zend/Wildfire/Plugin/FirePhp.php';
                    
25
                    
26/** Zend_Wildfire_Plugin_FirePhp_Message */
                    
27require_once 'Zend/Wildfire/Plugin/FirePhp/Message.php';
                    
28
                    
30 * A message envelope that can be updated for the duration of the requet before
                    
31 * it gets flushed at the end of the request.
                    
32 *
                    
38 */
                    
39class Zend_Wildfire_Plugin_FirePhp_TableMessage extends Zend_Wildfire_Plugin_FirePhp_Message
                    
40{
                    
                
EncoderListener.php https://bitbucket.org/iiic/iszp.git | PHP | 75 lines
                    
1<?php
                    
2
                    
2
                    
3// file: vendor/Extension/Encoder/EncoderListener.php
                    
4
                    
15        return array(
                    
16            'onFlush',
                    
17            'loadClassMetadata'
                    
30
                    
31    public function onFlush(EventArgs $args)
                    
32    {
                    
                
DDC1209Test.php https://bitbucket.org/iiic/iszp.git | PHP | 125 lines
                    
1<?php
                    
2
                    
6
                    
7require_once __DIR__ . '/../../../TestInit.php';
                    
8
                    
29        $this->_em->persist(new DDC1209_3());
                    
30        $this->_em->flush();
                    
31    }
                    
40
                    
41        $this->_em->flush();
                    
42
                    
45
                    
46        $this->_em->flush();
                    
47    }
                    
                
yii-debug-toolbar.php https://github.com/LosYear/FluentCMS.git | PHP | 114 lines
                    
1<?php
                    
2
                    
69	'Opens' => '',
                    
70	'Flush tables' => '',
                    
71	'Open tables' => '',
                    
                
SnsClient.php https://gitlab.com/juanito.abelo/nlmobile | PHP | 378 lines
                    
1<?php
                    
2
                    
6
                    
7w3_require_once(W3TC_LIB_W3_DIR . '/Enterprise/SnsBase.php');
                    
8
                    
29    /**
                    
30     * Flushes DB caches
                    
31     *
                    
32     */
                    
33    function dbcache_flush() {
                    
34        $this->_prepare_message(array('action' => 'dbcache_flush'));
                    
37    /**
                    
38     * Flushes minify caches
                    
39     *
                    
40     */
                    
41    function minifycache_flush() {
                    
42        $this->_prepare_message(array('action' => 'minifycache_flush'));
                    
                
index.php https://bitbucket.org/GlitchMr/abxd.git | PHP | 196 lines
                    
1<?php
                    
2
                    
6	
                    
7require('lib/common.php');
                    
8
                    
15	{
                    
16		$bucket = "userMangler"; include("./lib/pluginloader.php");
                    
17		$b = $user['birthday'];
                    
62			$selfsettings = Settings::$pluginsettings[$pluginpages[$page]];
                    
63			$page = "./plugins/".$plugins[$pluginpages[$page]]['dir']."/page_".$page.".php";
                    
64			if(!file_exists($page))
                    
69		else {
                    
70			$page = 'pages/'.$page.'.php';
                    
71			if(!file_exists($page))
                    
79		}
                    
80		require('pages/404.php');
                    
81	}
                    
                
ReadOnlyStreamWrapperTest.php https://gitlab.com/geeta7/drupal | PHP | 93 lines
                    
1<?php
                    
2
                    
71    // Attempt to flush output to the file
                    
72    $this->assertFalse(@fflush($handle), 'Unable to flush output to file using the read-only stream wrapper.');
                    
73    // Attempt to close the stream.  (Suppress errors, as fclose triggers fflush.)
                    
                
TicketController.php https://gitlab.com/brainstrategist/helpdesk | PHP | 322 lines
                    
1<?php
                    
2
                    
187                    $em->persist($response);
                    
188                    $em->flush();
                    
189
                    
193                        $em->persist($user);
                    
194                        $em->flush();
                    
195                    }
                    
244                $em->persist($ticket);
                    
245                $em->flush();
                    
246                return new JsonResponse(array('message'=>"Done"));
                    
310                    $em->persist($ticket);
                    
311                    $em->flush();
                    
312
                    
                
MemcachedStore.php https://gitlab.com/pomirleanu.florentin/SMS-Client | PHP | 140 lines
                    
1<?php namespace Illuminate\Cache;
                    
2
                    
114	 */
                    
115	public function flush()
                    
116	{
                    
116	{
                    
117		$this->memcached->flush();
                    
118	}
                    
                
plain-file.cpp https://github.com/soitun/hiphop-php.git | C++ | 374 lines
                    
10   | http://www.php.net/license/3_01.txt                                  |
                    
11   | If you did not receive a copy of the PHP license and are unable to   |
                    
12   | obtain it through the world-wide-web, please send a note to          |
                    
12   | obtain it through the world-wide-web, please send a note to          |
                    
13   | license@php.net so we can mail you a copy immediately.               |
                    
14   +----------------------------------------------------------------------+
                    
105
                    
106  // For these defined in php fopen but C stream have different modes
                    
107  switch (mode[0]) {
                    
235  setEof(false);
                    
236  flush();
                    
237  // lseek instead of seek to be consistent with read
                    
287
                    
288const StaticString s_php("PHP");
                    
289
                    
                
open_graph.jsp https://github.com/vilmospapp/liferay-portal.git | JavaServer Pages | 97 lines
                    
72			<div class="aspect-ratio aspect-ratio-191-to-100 bg-light mb-0 preview-seo-image">
                    
73				<div class="preview-seo-placeholder" id="<portlet:namespace />openGraphPreviewPlaceholder">
                    
74					<liferay-ui:icon
                    
82
                    
83				<img alt="" class="aspect-ratio-item aspect-ratio-item-center-middle aspect-ratio-item-flush <%= Validator.isNull(openGraphSettingsDisplayContext.getOpenGraphImageURL()) ? "hide" : "" %>" id="<portlet:namespace />openGraphPreviewImage" src="<%= openGraphSettingsDisplayContext.getOpenGraphImageURL() %>" />
                    
84			</div>
                    
                
StreamTransferTest.class.php https://github.com/ghiata/xp-framework.git | PHP | 177 lines
                    
1<?php namespace net\xp_framework\unittest\io\streams;
                    
2
                    
50      public function write($data) { }
                    
51      public function flush() { }
                    
52      public function close() { throw new IOException("Close error"); }
                    
64      public function write($data) { }
                    
65      public function flush() { }
                    
66      public function close() { $this->closed= TRUE; }
                    
                
RouteCollectionBuilderTest.php https://gitlab.com/ealexis.t/trends | PHP | 324 lines
                    
1<?php
                    
2
                    
18
                    
19class RouteCollectionBuilderTest extends \PHPUnit_Framework_TestCase
                    
20{
                    
85
                    
86    public function testFlushOrdering()
                    
87    {
                    
134
                    
135    public function testFlushSetsRouteNames()
                    
136    {
                    
156
                    
157    public function testFlushSetsDetailsOnChildrenRoutes()
                    
158    {
                    
222     */
                    
223    public function testFlushPrefixesPaths($collectionPrefix, $routePath, $expectedPath)
                    
224    {
                    
                
NestedTreeRootTest.php https://github.com/kaiwa/DoctrineExtensions.git | PHP | 337 lines
                    
1<?php
                    
2
                    
15 * @link http://www.gediminasm.org
                    
16 * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
17 */
                    
38            $minutes = intval($took / 60); $seconds = $took % 60;
                    
39            echo sprintf("%s --> %02d:%02d", $msg, $minutes, $seconds) . PHP_EOL;
                    
40        };
                    
59        }
                    
60        $this->em->flush();
                    
61        $dumpTime($start, $num.' - inserts took:');
                    
71
                    
72        $this->em->flush();
                    
73        $dumpTime($start, 'moving took:');
                    
128        $this->em->persist($node);
                    
129        $this->em->flush();
                    
130        $this->em->clear();
                    
                
Logger.php https://gitlab.com/nitm/yii2-module | PHP | 395 lines
                    
1<?php
                    
2
                    
38		parent::init();
                    
39		$this->currentUser = (\Yii::$app->hasProperty('user') && \Yii::$app->user->getId()) ? \Yii::$app->user->getIdentity() : new \nitm\models\User(['username' => (php_sapi_name() == 'cli' ? 'console' : 'web')]);
                    
40
                    
47			self::EVENT_PROCESS => [$this, 'process'],
                    
48			self::EVENT_END => [$this, 'flush']
                    
49		]);
                    
                
dbo_mysqli.test.php https://github.com/geeknbar/projet-tut-site-web.git | PHP | 328 lines
                    
1<?php
                    
2/* SVN FILE: $Id$ */
                    
5 *
                    
6 * PHP versions 4 and 5
                    
7 *
                    
7 *
                    
8 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
9 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
14 * @copyright     Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
15 * @link          http://cakephp.org CakePHP(tm) Project
                    
16 * @package       cake
                    
17 * @subpackage    cake.cake.libs
                    
18 * @since         CakePHP(tm) v 1.2.0
                    
19 * @version       $Revision$
                    
21 * @lastmodified  $Date$
                    
22 * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
                    
23 */
                    
                
Rfc2231Encoder.php https://gitlab.com/isdzulqor/Slis-Dev | PHP | 92 lines
                    
1<?php
                    
2
                    
55
                    
56        $this->_charStream->flushContents();
                    
57        $this->_charStream->importString($string);
                    
                
options.php https://github.com/howardlei82/IGSM-Website.git | PHP | 279 lines
                    
125
                    
126var spinner = '<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>';
                    
127
                    
171		<h2>
                    
172			<?php _e('Yet Another Related Posts Plugin Options','yarpp');?> <small><?php
                    
173      echo yarpp_get_option('version');
                    
176
                    
177	<?php echo "<div id='yarpp-version' style='display:none;'>".yarpp_get_option('version')."</div>"; ?>
                    
178
                    
273			<input type="submit" class='button-primary' name="update_yarpp" value="<?php _e("Update options",'yarpp')?>" />
                    
274			<!--<input type="submit" onclick='return confirm("<?php _e("Do you really want to reset your configuration?",'yarpp');?>");' class="yarpp_warning" name="reset_yarpp" value="<?php _e('Reset options','yarpp')?>" />-->
                    
275		</p>
                    
276	</div>
                    
277<!--cache engine: <?php echo $yarpp_cache->name;?>; cache status: <?php echo $yarpp_cache->cache_status();?>-->
                    
278
                    
                
run-mpe.php https://github.com/orchestra-io/sample-openx.git | PHP | 59 lines
                    
1<?php
                    
2
                    
24+---------------------------------------------------------------------------+
                    
25$Id: run-mpe.php 30820 2009-01-13 19:02:17Z andrew.hill $
                    
26*/
                    
32// Send headers to the client before proceeding
                    
33flush();
                    
34
                    
38// Run maintenance
                    
39// Done this way so that it works in CLI PHP
                    
40$path = dirname(__FILE__);
                    
40$path = dirname(__FILE__);
                    
41require_once $path . '/../../init.php';
                    
42
                    
48
                    
49require_once MAX_PATH . '/lib/OA/Maintenance/Priority.php';
                    
50
                    
                
UserVertexLoader.java https://gitlab.com/zaverichintan/lumify | Java | 106 lines
                    
67
                    
68            workQueueRepository.pushGraphPropertyQueue(userVertex, LumifyProperties.TITLE.getProperty(userVertex));
                    
69
                    
70            if( !Strings.isNullOrEmpty(profileImageUrl) ) {
                    
71                workQueueRepository.pushGraphPropertyQueue(userVertex, TwitterOntology.PROFILE_IMAGE_URL.getProperty(userVertex));
                    
72            }
                    
73
                    
74            workQueueRepository.pushGraphPropertyQueue(userVertex, TwitterOntology.SCREEN_NAME.getProperty(userVertex));
                    
75        }
                    
100        final Vertex userVertex = vertexBuilder.save(authorizations);
                    
101        graph.flush();
                    
102
                    
                
Placeholder.js https://github.com/Wkasel/qooxdoo.git | JavaScript | 325 lines
                    
11     LGPL: http://www.gnu.org/licenses/lgpl.html
                    
12     EPL: http://www.eclipse.org/org/documents/epl-v10.php
                    
13     See the LICENSE file in the project's top-level directory for details.
                    
30      this.getRoot().add(widget);
                    
31      this.flush();
                    
32
                    
86      widget.focus();
                    
87      this.flush();
                    
88      this.assertEquals("", this.__getVisibleValueOf(widget), "wrong visible value after focus");
                    
92      this.getRoot().focus();
                    
93      this.flush();
                    
94
                    
98          this.getRoot().focus();
                    
99          this.flush();
                    
100          this.assertTrue(this.__isPlaceholderVisible(widget));
                    
                
Parser.php https://bitbucket.org/dbaltas/zend-framework-1.x-on-git.git | PHP | 407 lines
                    
1<?php
                    
2
                    
2
                    
3require_once('Scope.php');
                    
4require_once('Symbol.php');
                    
4require_once('Symbol.php');
                    
5require_once('Destructable.php');
                    
6
                    
35  public function __destruct() {
                    
36    $this->mem_flush('scopes', 'tokens', 'token', 'scope');
                    
37  }
                    
                
paymentserver.cpp https://gitlab.com/AirTank/primecoin | C++ | 161 lines
                    
3// Distributed under the MIT/X11 software license, see the accompanying
                    
4// file COPYING or http://www.opensource.org/licenses/mit-license.php.
                    
5
                    
84        socket->write(block);
                    
85        socket->flush();
                    
86
                    
                
Tree.js https://github.com/mengu/grooxdoo.git | JavaScript | 149 lines
                    
11     LGPL: http://www.gnu.org/licenses/lgpl.html
                    
12     EPL: http://www.eclipse.org/org/documents/epl-v10.php
                    
13     See the LICENSE file in the project's top-level directory for details.
                    
36
                    
37      this.flush();
                    
38    },
                    
                
DDC512Test.php https://github.com/dlondero/fantamanager.git | PHP | 94 lines
                    
1<?php
                    
2namespace Doctrine\Tests\ORM\Functional\Ticket;
                    
3
                    
4require_once __DIR__ . '/../../../TestInit.php';
                    
5
                    
27        
                    
28        $this->_em->flush();
                    
29        $this->_em->clear();
                    
                
bcmevent.h https://bitbucket.org/abdulhadif/android_kernel_samsung_espresso10.git | C Header | 311 lines
                    
8 * under the terms of the GNU General Public License version 2 (the "GPL"),
                    
9 * available at http://www.broadcom.com/licenses/GPLv2.php, with the
                    
10 * following added to such license:
                    
43#define WLC_EVENT_MSG_LINK		0x01
                    
44#define WLC_EVENT_MSG_FLUSHTXQ		0x02
                    
45#define WLC_EVENT_MSG_GROUP		0x04
                    
                
template-tags.php https://gitlab.com/ReneMC/Custom-wordpress-theme | PHP | 258 lines
                    
1<?php
                    
2/**
                    
22	<nav class="navigation comment-navigation" role="navigation">
                    
23		<h2 class="screen-reader-text"><?php _e( 'Comment navigation', 'twentyfifteen' ); ?></h2>
                    
24		<div class="nav-links">
                    
24		<div class="nav-links">
                    
25			<?php
                    
26				if ( $prev_link = get_previous_comments_link( __( 'Older Comments', 'twentyfifteen' ) ) ) :
                    
35	</nav><!-- .comment-navigation -->
                    
36	<?php
                    
37	endif;
                    
162/**
                    
163 * Flush out the transients used in {@see twentyfifteen_categorized_blog()}.
                    
164 *
                    
166 */
                    
167function twentyfifteen_category_transient_flusher() {
                    
168	// Like, beat it. Dig?
                    
                
index.php https://github.com/zachleat/Parlour.git | PHP | 61 lines
                    
1<?php
                    
2include_once('config.php');
                    
2include_once('config.php');
                    
3include_once('Zend/Service/Flickr.php');
                    
4$flickr = new Zend_Service_Flickr(PARLOUR_FLICKR_API_KEY);
                    
7<head>
                    
8    <title><?php echo PARLOUR_PAGE_TITLE; ?></title>
                    
9    <link type="text/css" rel="stylesheet" href="index.css"></link>
                    
13        <div id="title">
                    
14            <?php echo PARLOUR_PAGE_TITLE; ?>
                    
15        </div>
                    
34?>
                    
35		        <div class="frame" name="<?php echo $result->id; ?>" fullscreen-photo="<?php echo $large->uri; ?>" fullscreen-width="<?php echo $large->width; ?>" fullscreen-height="<?php echo $large->height; ?>">
                    
36		            <div class="border">
                    
37			            <div class="photo">
                    
38			                <a href="http://www.flickr.com/photos/<?php echo $result->owner . '/' . $result->id; ?>"><img src="<?php echo $small->uri; ?>" style="width: <?php echo $small->width; ?>px; height: <?php echo $small->height; ?>px;"/></a>
                    
39			            </div>
                    
                
LifecycleCallbackTest.php https://github.com/maartendekeizer/doctrine2.git | PHP | 277 lines
                    
1<?php
                    
2
                    
5
                    
6require_once __DIR__ . '/../../TestInit.php';
                    
7
                    
27        $this->_em->persist($entity);
                    
28        $this->_em->flush();
                    
29        
                    
40        
                    
41        $this->_em->flush();
                    
42        
                    
51        $this->_em->persist($user);
                    
52        $this->_em->flush();
                    
53        
                    
54        $user->setName('Alice');
                    
55        $this->_em->flush(); // Triggers preUpdate
                    
56        
                    
                
fileman_file_download.php https://gitlab.com/Rad1calDreamer/honey | PHP | 69 lines
                    
1<?
                    
2require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php");
                    
3require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/fileman/prolog.php");
                    
6	$APPLICATION->AuthForm(GetMessage("ACCESS_DENIED"));
                    
7require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/fileman/include.php");
                    
8IncludeModuleLangFile(__FILE__);
                    
23	$strWarning = GetMessage("FILEMAN_FILENOT_FOUND")." ";
                    
24elseif(!$USER->CanDoOperation('edit_php') && (HasScriptExtension($path) || substr(CFileman::GetFileName($path), 0, 1) == "."))
                    
25	$strWarning .= GetMessage("FILEMAN_FILE_DOWNLOAD_PHPERROR")."\n";
                    
51		echo fread($f, $bufSize);
                    
52		ob_flush();
                    
53		flush();
                    
61$APPLICATION->SetTitle(GetMessage("FILEMAN_FILEDOWNLOAD")." \"".$arFile["name"]."\"");
                    
62require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_after.php");
                    
63?>
                    
                
template-tags.php https://github.com/mchow01/Security.git | PHP | 298 lines
                    
1<?php
                    
2/**
                    
36	<nav class="navigation pagination" role="navigation">
                    
37		<h1 class="screen-reader-text"><?php esc_html_e( 'Posts navigation', 'twentyfifteen' ); ?></h1>
                    
38		<div class="nav-links">
                    
38		<div class="nav-links">
                    
39			<?php echo $links; ?>
                    
40		</div><!-- .nav-links -->
                    
41	</nav><!-- .pagination -->
                    
42	<?php
                    
43	endif;
                    
73	<nav class="navigation post-navigation" role="navigation">
                    
74		<h1 class="screen-reader-text"><?php esc_html_e( 'Post navigation', 'twentyfifteen' ); ?></h1>
                    
75		<div class="nav-links">
                    
75		<div class="nav-links">
                    
76			<?php
                    
77			if ( is_attachment() ) :
                    
                
CssCollectionRenderer.php https://gitlab.com/geeta7/drupal | PHP | 223 lines
                    
1<?php
                    
2
                    
85    // browser-caching. The string changes on every update or full cache
                    
86    // flush, forcing browsers to load a new copy of the files, as the
                    
87    // URL changed.
                    
                
shell.test.php https://github.com/bb-dev/cakephp2x.git | PHP | 501 lines
                    
8 *
                    
9 * CakePHP : Rapid Development Framework (http://cakephp.org)
                    
10 * Copyright 2006-2009, Cake Software Foundation, Inc.
                    
15 * @copyright     Copyright 2006-2009, Cake Software Foundation, Inc.
                    
16 * @link          http://cakephp.org CakePHP Project
                    
17 * @package       cake
                    
18 * @subpackage    cake.tests.cases.console.libs
                    
19 * @since         CakePHP v 1.2.0.7726
                    
20 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
369
                    
370		$path = $expected = DS . 'tmp' . DS . 'ab' . DS . 'index.php';
                    
371		$this->assertEqual($this->Shell->shortPath($path), $expected);
                    
408		$path = TMP . 'shell_test';
                    
409		$file = $path . DS . 'file1.php';
                    
410
                    
                
couchdb_source.test.php https://github.com/predominant/datasources.git | PHP | 530 lines
                    
1<?php
                    
2/**
                    
3 * Couchdb DataSource Test file
                    
4 * PHP version 5
                    
5 *
                    
5 *
                    
6 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
7 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
12 * @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
13 * @link http://cakephp.org CakePHP(tm) Project
                    
14 * @package datasources
                    
15 * @subpackage datasources.models.datasources
                    
16 * @since CakePHP Datasources v 0.3
                    
17 * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
527		unset($this->Couchdb);
                    
528		ClassRegistry::flush();
                    
529	}
                    
                
BuildTutorial.java https://github.com/RoDaniel/featurehouse.git | Java | 130 lines
                    
43                build.write("</target>\n</project>");
                    
44                build.flush();
                    
45                build.close();
                    
78            System.out.println("... transformed");
                    
79            convert(source, xsl_site, new File(destination, "index.php"));
                    
80            File buildfile = new File(destination, "build.xml");
                    
                
PagstractList.php https://gitlab.com/php.bjoernbartels.earth/phpagstract | PHP | 280 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * PHPagstract list token symbol class
                    
4 */
                    
4 */
                    
5namespace PHPagstract\Symbol\Symbols\Tokens;
                    
6
                    
6
                    
7use PHPagstract\Symbol\Symbols\AbstractTokenSymbol;
                    
8use PHPagstract\Token\Tokens\Token;
                    
8use PHPagstract\Token\Tokens\Token;
                    
9use PHPagstract\Symbol\Symbols\Properties\ListProperty;
                    
10
                    
11/**
                    
12 * PHPagstract list token symbol class
                    
13 *
                    
                
driver.php https://github.com/erikbrannstrom/core.git | PHP | 455 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * Fuel is a fast, lightweight, community driven PHP5 framework.
                    
4 *
                    
9 * @copyright  2010 - 2011 Fuel Development Team
                    
10 * @link       http://fuelphp.com
                    
11 */
                    
103	/**
                    
104	 * Flushes the whole cache for a specific storage type or just a part of it when $section is set
                    
105	 * (might not work with all storage drivers), defaults to the default storage type
                    
324	 *
                    
325	 * @param   string|array  Valid PHP callback
                    
326	 * @param   array         Arguements for the above function/method
                    
                
TableMessage.php https://github.com/basdog22/Qool.git | PHP | 165 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: TableMessage.php 24594 2012-01-05 21:27:01Z matthew $
                    
21 */
                    
23/** Zend_Wildfire_Plugin_FirePhp */
                    
24require_once 'Zend/Wildfire/Plugin/FirePhp.php';
                    
25
                    
26/** Zend_Wildfire_Plugin_FirePhp_Message */
                    
27require_once 'Zend/Wildfire/Plugin/FirePhp/Message.php';
                    
28
                    
30 * A message envelope that can be updated for the duration of the requet before
                    
31 * it gets flushed at the end of the request.
                    
32 *
                    
38 */
                    
39class Zend_Wildfire_Plugin_FirePhp_TableMessage extends Zend_Wildfire_Plugin_FirePhp_Message
                    
40{
                    
                
Installer.php https://github.com/390/core.git | PHP | 152 lines
                    
1<?php
                    
2/**
                    
142
                    
143        $this->entityManager->flush();
                    
144
                    
                
CountryDAO.inc.php https://github.com/mcrider/pkpUpgradeTestSuite.git | PHP | 99 lines
                    
1<?php
                    
2
                    
3/**
                    
4 * @file classes/i18n/CountryDAO.inc.php
                    
5 *
                    
15
                    
16// $Id: CountryDAO.inc.php,v 1.6 2009/04/08 21:34:54 asmecher Exp $
                    
17
                    
52			if ($cacheTime !== null && $cacheTime < filemtime($this->getFilename())) {
                    
53				$caches[$locale]->flush();
                    
54			}
                    
                
FileCache.inc.php https://github.com/mcrider/pkpUpgradeTestSuite.git | PHP | 114 lines
                    
1<?php
                    
2
                    
3/**
                    
4 * FileCache.inc.php
                    
5 *
                    
10 *
                    
11 * Provides caching based on machine-generated PHP code on the filesystem.
                    
12 *
                    
12 *
                    
13 * $Id: FileCache.inc.php,v 1.12 2007/09/21 16:38:34 asmecher Exp $
                    
14 */
                    
34
                    
35		$this->filename = $path . DIRECTORY_SEPARATOR . "fc-$context-" . str_replace('/', '.', $cacheId) . '.php';
                    
36
                    
45	/**
                    
46	 * Flush the cache
                    
47	 */
                    
                
ext_output.cpp https://github.com/zsj888/hiphop-php.git | C++ | 71 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | HipHop for PHP                                                       |
                    
4   +----------------------------------------------------------------------+
                    
5   | Copyright (c) 2010 Facebook, Inc. (http://www.facebook.com)          |
                    
6   | Copyright (c) 1997-2010 The PHP Group                                |
                    
7   +----------------------------------------------------------------------+
                    
7   +----------------------------------------------------------------------+
                    
8   | This source file is subject to version 3.01 of the PHP license,      |
                    
9   | that is bundled with this package in the file LICENSE, and is        |
                    
10   | available through the world-wide-web at the following url:           |
                    
11   | http://www.php.net/license/3_01.txt                                  |
                    
12   | If you did not receive a copy of the PHP license and are unable to   |
                    
13   | obtain it through the world-wide-web, please send a note to          |
                    
14   | license@php.net so we can mail you a copy immediately.               |
                    
15   +----------------------------------------------------------------------+
                    
                
myFunciones.php https://gitlab.com/fabian.morales/Mezanine | PHP | 157 lines
                    
1<?php
                    
2/*
                    
49        ob_clean();
                    
50        flush();
                    
51
                    
54            print $buffer;
                    
55            flush();
                    
56        }
                    
                
 

Source

Language