PageRenderTime 1957ms queryTime 503ms sortTime 42ms getByIdsTime 437ms findMatchingLines 792ms

100+ results results for 'php flush repo:nethesis/nethserver-mail-common' (1957 ms)

Not the results you expected?
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
                    
                
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
                    
                
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
                    
                
JUnit.php https://gitlab.com/zan_zan/laravel_sample | 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
                    
                
Store.php https://gitlab.com/ealexis.t/trends | PHP | 707 lines
                    
1<?php
                    
2
                    
560     */
                    
561    public function flush()
                    
562    {
                    
                
schema.test.php https://github.com/ata/internal.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	}
                    
                
Base.php https://github.com/jfoucher/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]$/';
                    
                
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');
                    
                
schema.test.php https://github.com/NAzT/TraffyTwitterAdsManager.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	}
                    
                
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     *
                    
                
innodb.lib.php https://gitlab.com/ctheilman92/Aging-In-Place | 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            ),
                    
                
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     *
                    
                
rewrite.php https://bitbucket.org/zachisit/zachis.it-m.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	}
                    
                
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/zsj888/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///////////////////////////////////////////////////////////////////////////////
                    
                
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  }
                    
                
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
                    
                
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	 *
                    
                
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    {
                    
                
RedirectPluginTest.php https://gitlab.com/fayimora/pp | 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(
                    
                
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{
                    
                
permissions.inc.php https://github.com/gadamiak/modx-revolution-pl.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.';
                    
                
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'));
                    
                
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.)
                    
                
File.php https://github.com/FranckErnewein/citron.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');
                    
                
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
                    
                
shell.test.php https://gitlab.com/hakimkal/evricaevents | 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
                    
                
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    {
                    
                
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		]);
                    
                
Rfc2231Encoder.php https://gitlab.com/isdzulqor/Slis-Dev | PHP | 92 lines
                    
1<?php
                    
2
                    
55
                    
56        $this->_charStream->flushContents();
                    
57        $this->_charStream->importString($string);
                    
                
SimpleKeyCacheInputStreamTest.php https://gitlab.com/daniruizcamacho/pfcascensores | 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    }
                    
                
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
                    
                
output.php https://bitbucket.org/asosso/joomla25.git | PHP | 122 lines
                    
1<?php
                    
2/**
                    
81			ob_start();
                    
82			ob_implicit_flush(false);
                    
83
                    
                
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  }
                    
                
open_graph.jsp https://github.com/jrhoun/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>
                    
                
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    },
                    
                
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>
                    
                
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");
                    
                
DDC512Test.php https://github.com/l3l0/BehatExamples.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/cyanogenmod/android_kernel_samsung_smdk4210.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
                    
                
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 *
                    
                
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        }
                    
                
permissions.inc.php https://github.com/goldsky/revolution.git | PHP | 189 lines
                    
1<?php
                    
2/**
                    
69$_lang['perm.file_view_desc'] = 'De inhoud van files kunnen bekijken.';
                    
70$_lang['perm.flush_sessions_desc'] = 'Kan sessie gegevens van de gehele site flushen.';
                    
71$_lang['perm.frames_desc'] = 'Om de MODX manager UI &uuml;berhaupt te gebruiken.';
                    
                
dbo_mysqli.test.php https://github.com/bheiskell/Riiga.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 */
                    
                
biblio_list.inc.php https://gitlab.com/mucill/majalengka | PHP | 294 lines
                    
1<?php
                    
2/**
                    
81      // $_sql_criteria .= " $_boolean ";
                    
82      // flush title string concatenation
                    
83      if ($_field != 'title' && $_title_buffer != '') {
                    
255    // checking custom frontpage fields file
                    
256    $custom_frontpage_record_file = SB.$sysconf['template']['dir'].'/'.$sysconf['template']['theme'].'/custom_frontpage_record.inc.php';
                    
257    if (file_exists($custom_frontpage_record_file)) {
                    
                
driver.php https://github.com/enygma/fuel.git | PHP | 475 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * Fuel is a fast, lightweight, community driven PHP5 framework.
                    
6 *
                    
11 * @copyright	2010 Dan Horrigan
                    
12 * @link		http://fuelphp.com
                    
13 */
                    
111	/**
                    
112	 * Flushes the whole cache for a specific storage type or just a part of it when $section is set
                    
113	 * (might not work with all storage drivers), defaults to the default storage type
                    
340	 * @access	public
                    
341	 * @param	string|array	Valid PHP callback
                    
342	 * @param	array 			Arguements for the above function/method
                    
474
                    
475/* End of file driver.php */
                    
476
                    
                
APC.php https://bitbucket.org/thomashii/vtigercrm-6-for-postgresql.git | PHP | 285 lines
                    
1<?php
                    
2/**
                    
22 * @package    PHPExcel_CachedObjectStorage
                    
23 * @copyright  Copyright (c) 2006 - 2012 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 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
35 */
                    
35 */
                    
36class PHPExcel_CachedObjectStorage_APC extends PHPExcel_CachedObjectStorage_CacheBase implements PHPExcel_CachedObjectStorage_ICache {
                    
37
                    
85     */
                    
86	public function addCacheData($pCoord, PHPExcel_Cell $cell) {
                    
87		if (($pCoord !== $this->_currentObjectID) && ($this->_currentObjectID !== null)) {
                    
237	 * @access	public
                    
238	 * @param	PHPExcel_Worksheet	$parent		The worksheet for this cell collection
                    
239	 * @param	array of mixed		$arguments	Additional initialisation arguments
                    
                
ImagesController.php https://gitlab.com/jensdwul1/nmdad3.local | PHP | 362 lines
                    
1<?php
                    
2
                    
230        $em->persist($image);
                    
231        $em->flush();
                    
232
                    
314            $em->remove($image);
                    
315            $em->flush();
                    
316        }
                    
339            $em->persist($image); // Manage entity Image for persistence.
                    
340            $em->flush();         // Persist to database.
                    
341
                    
                
PredisTestCase.php git://github.com/nrk/predis.git | PHP | 340 lines
                    
1<?php
                    
2
                    
19 */
                    
20abstract class PredisTestCase extends \PHPUnit_Framework_TestCase
                    
21{
                    
177     * @param array $options    Additional client options.
                    
178     * @param bool  $flushdb    Flush selected database before returning the client.
                    
179     *
                    
181     */
                    
182    protected function createClient(array $parameters = null, array $options = null, $flushdb = true)
                    
183    {
                    
198
                    
199        if ($flushdb) {
                    
200            $client->flushdb();
                    
303     *
                    
304     * @throws \PHPUnit_Framework_SkippedTestError When expected Redis server version is not met.
                    
305     */
                    
                
Memcache.php https://gitlab.com/Iftekhar_ramim/AtomicProjects_127301_B21 | PHP | 312 lines
                    
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
                    
91     */
                    
92	public function addCacheData($pCoord, PHPExcel_Cell $cell) {
                    
93		if (($pCoord !== $this->_currentObjectID) && ($this->_currentObjectID !== null)) {
                    
299	 * Identify whether the caching method is currently available
                    
300	 * Some methods are dependent on the availability of certain extensions being enabled in the PHP build
                    
301	 *
                    
                
base.py https://github.com/marcelnicolay/torneira.git | Python | 84 lines
                    
6#
                    
7#     http://www.opensource.org/licenses/osl-3.0.php
                    
8#
                    
77        session.delete(self)
                    
78        session.flush()
                    
79
                    
83            session.add(self)
                    
84        session.flush()
                    
85
                    
                
tag.php https://github.com/mcatm/blox.git | PHP | 439 lines
                    
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2
                    
62		if (isset($param['count'])) {
                    
63			$CI->db->flush_cache();
                    
64			return $count;//カウントを返すだけ
                    
81				$out = $CI->data->get($CI->db->get(DB_TBL_TAG, $param['qty'], $param['offset']), $param);
                    
82				$CI->db->flush_cache();
                    
83				return $out;
                    
85			
                    
86			$CI->db->flush_cache();
                    
87			
                    
100		}
                    
101		$CI->db->flush_cache();
                    
102	}
                    
174			if (isset($param['count'])) {
                    
175				$CI->db->flush_cache();
                    
176				return $count;//カウントを返すだけ
                    
                
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
                    
                
orderinglist.py https://gitlab.com/abhi1tb/build | Python | 389 lines
                    
5# This module is part of SQLAlchemy and is released under
                    
6# the MIT License: http://www.opensource.org/licenses/mit-license.php
                    
7
                    
104      SQLAlchemy's unit of work performs all INSERTs before DELETEs within a
                    
105      single flush.  In the case of a primary key, it will trade
                    
106      an INSERT/DELETE of the same primary key for an UPDATE statement in order
                    
                
HTML.php https://gitlab.com/gustCL/syscar | PHP | 468 lines
                    
34	define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');
                    
35	require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
                    
36}
                    
42 * @package    PHPExcel_Reader
                    
43 * @copyright  Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
44 */
                    
44 */
                    
45class PHPExcel_Reader_HTML extends PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader
                    
46{
                    
402	 * @param 	string 		$pFilename
                    
403	 * @param	PHPExcel	$objPHPExcel
                    
404	 * @return 	PHPExcel
                    
406	 */
                    
407	public function loadIntoExisting($pFilename, PHPExcel $objPHPExcel)
                    
408	{
                    
                
generate.php https://github.com/ryangroth5/claims.git | PHP | 374 lines
                    
1<?php
                    
2
                    
2
                    
3# php generate.php
                    
4# -- Runs everything in the modules directory
                    
4# -- Runs everything in the modules directory
                    
5# php generate.php custom
                    
6# -- Runs only the module starting with "custom"
                    
6# -- Runs only the module starting with "custom"
                    
7# php generate.php --outfile=custom-api custom
                    
8# -- Runs the custom module, serializes to custom-api.xml
                    
8# -- Runs the custom module, serializes to custom-api.xml
                    
9# php generate.php dijit dojo
                    
10# -- Runs both dijit and dojo modules
                    
19require_once('includes/dojo.inc');
                    
20require_once('lib/generator/JsonSerializer.php');
                    
21require_once('lib/generator/XmlSerializer.php');
                    
                
OutputCache.php https://gitlab.com/faisaliqbal/mytripsorter | PHP | 89 lines
                    
1<?php
                    
2/**
                    
62        ob_start();
                    
63        ob_implicit_flush(0);
                    
64        $this->keyStack[] = $key;
                    
81
                    
82        $output = ob_get_flush();
                    
83        if ($output === false) {
                    
                
wlfc_proto.h https://bitbucket.org/cyanogenmod/lge-kernel-iproj.git | C Header | 216 lines
                    
6* under the terms of the GNU General Public License version 2 (the "GPL"),
                    
7* available at http://www.broadcom.com/licenses/GPLv2.php, with the
                    
8* following added to such license:
                    
210#define WLHOST_REORDERDATA_DEL_FLOW		0x01
                    
211#define WLHOST_REORDERDATA_FLUSH_ALL		0x02
                    
212#define WLHOST_REORDERDATA_CURIDX_VALID		0x04
                    
                
CakeTestFixture.php https://gitlab.com/manuperazafa/elsartenbackend | PHP | 328 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
                    
4 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
10 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
11 * @link          http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
                    
12 * @package       Cake.TestSuite.Fixture
                    
12 * @package       Cake.TestSuite.Fixture
                    
13 * @since         CakePHP(tm) v 1.2.0.4667
                    
14 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
                    
34/**
                    
35 * CakePHP's DBO driver (e.g: DboMysql).
                    
36 *
                    
152				ClassRegistry::config(array('ds' => 'test'));
                    
153				ClassRegistry::flush();
                    
154			} elseif (isset($import['table'])) {
                    
                
overview.md https://gitlab.com/xanium4332/atom-config | Markdown | 231 lines
                    
7
                    
8Marko supports [progressive HTML rendering](http://markojs.com/docs/marko/async-taglib/) by writing directly to an output stream so that HTML can be sent over the wire sooner. Marko automatically flushes around asynchronous parts of the template so that the HTML is delivered in the optimized number of chunks. Because Marko is an asynchronous templating language, additional data can be asynchronously fetched even after rendering has begun. These characteristics make Marko an excellent choice for creating high performance websites.
                    
9
                    
22- Sublime Text: [marko-sublime](https://github.com/merwan7/sublime-marko)
                    
23- WebStorm: [marko.tmbundle](https://github.com/marko-js/marko-tmbundle) (See: [Importing TextMate Bundles](https://www.jetbrains.com/phpstorm/help/importing-textmate-bundles.html))
                    
24- TextMate: [marko.tmbundle](https://github.com/marko-js/marko-tmbundle)
                    
                
ShortCodeBeforeAfterTest.php https://gitlab.com/mattswann/launch-housing | PHP | 252 lines
                    
1<?php
                    
2
                    
2
                    
3include_once(dirname(dirname(__FILE__)) . '/ExportToHtmlTemplate.php');
                    
4include_once(dirname(dirname(__FILE__)) . '/ExportToHtmlTable.php');
                    
4include_once(dirname(dirname(__FILE__)) . '/ExportToHtmlTable.php');
                    
5include_once(dirname(dirname(__FILE__)) . '/ExportToJson.php');
                    
6include_once(dirname(dirname(__FILE__)) . '/ExportToValue.php');
                    
7
                    
8include_once('MockQueryResultIterator.php');
                    
9include_once('WP_Mock_Functions.php');
                    
9include_once('WP_Mock_Functions.php');
                    
10include_once('WPDB_Mock.php');
                    
11include_once('SquashOutputUnitTest.php');
                    
19        if ($this->bufferOutput) {
                    
20            ob_flush();
                    
21            ob_end_clean();
                    
                
LifecycleCallbackTest.php https://github.com/l3l0/BehatExamples.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        
                    
                
apc.object-cache.php https://gitlab.com/endomorphosis/falkenstein | PHP | 380 lines
                    
1<?php
                    
2/*
                    
9
                    
10Install this file to wp-content/object-cache.php
                    
11
                    
19if ( version_compare( '5.2.4', phpversion(), '>=' ) ) {
                    
20	wp_die( 'The APC object cache backend requires PHP 5.2 or higher. You are running ' . phpversion() . '. Please remove the <code>object-cache.php</code> file from your content directory.' );
                    
21}
                    
24	// Regular die, not wp_die(), because it gets sandboxed and shown in a small iframe
                    
25	die( '<strong>ERROR:</strong> This is <em>not</em> a plugin, and it should not be activated as one.<br /><br />Instead, <code>' . str_replace( $_SERVER['DOCUMENT_ROOT'], '', __FILE__ ) . '</code> must be moved to <code>' . str_replace( $_SERVER['DOCUMENT_ROOT'], '', trailingslashit( WP_CONTENT_DIR ) ) . 'object-cache.php</code>' );
                    
26} else {
                    
27
                    
28// Users with setups where multiple installs share a common wp-config.php can use this
                    
29// to guarantee uniqueness for the keys generated by this object cache
                    
60
                    
61function wp_cache_flush() {
                    
62	global $wp_object_cache;
                    
                
Dispatcher.php https://gitlab.com/kimting254/wbms | PHP | 486 lines
                    
1<?php namespace Illuminate\Events;
                    
2
                    
168	/**
                    
169	 * Flush a set of pushed events.
                    
170	 *
                    
173	 */
                    
174	public function flush($event)
                    
175	{
                    
                
RedisVersion280.php https://gitlab.com/webbroteam/satisfaction-mvc | PHP | 265 lines
                    
1<?php
                    
2
                    
117            'DBSIZE'                    => 'Predis\Command\ServerDatabaseSize',
                    
118            'FLUSHDB'                   => 'Predis\Command\ServerFlushDatabase',
                    
119            'FLUSHALL'                  => 'Predis\Command\ServerFlushAll',
                    
                
MantisBaseTest.java https://github.com/tita/tita.git | Java | 265 lines
                    
50
                    
51    private final String url = this.defaultLogin.getIssueTracker().getUrl() + "/api/soap/mantisconnect.php";
                    
52    private final String user = this.defaultLogin.getUserName();
                    
100        Long id = this.session.addProject(newProject);
                    
101        this.session.flush();
                    
102        return id;
                    
130        long id = this.session.addIssue(newIssue);
                    
131        this.session.flush();
                    
132        return id;
                    
153        Long id = this.session.addNote(issueId, newNote);
                    
154        this.session.flush();
                    
155        return id;
                    
169                this.session.deleteProject(old.getId());
                    
170                this.session.flush();
                    
171            }
                    
                
cake.php https://github.com/adivik2000/nigraha.git | PHP | 511 lines
                    
2<?php
                    
3/* SVN FILE: $Id: cake.php 5318 2007-06-20 09:01:21Z phpnut $ */
                    
4/**
                    
10 *
                    
11 * CakePHP(tm) :  Rapid Development Framework <http://www.cakephp.org/>
                    
12 * Copyright 2005-2007,	Cake Software Foundation, Inc.
                    
20 * @copyright		Copyright 2005-2007, Cake Software Foundation, Inc.
                    
21 * @link				http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
                    
22 * @package			cake
                    
148		}
                    
149		define('PHP5', (phpversion() >= 5));
                    
150		define('DS', DIRECTORY_SEPARATOR);
                    
165		if (!isset($this->args[0]) || !isset($this->params['working'])) {
                    
166			$this->stdout("\nCakePHP Console: ");
                    
167			$this->stdout('This file has been loaded incorrectly and cannot continue.');
                    
                
 

Source

Language