PageRenderTime 253ms queryTime 86ms sortTime 0ms getByIdsTime 85ms findMatchingLines 38ms

100+ results results for 'database file:content' (253 ms)

Not the results you expected?
ContentView.js https://gitlab.com/x33n/phantomjs | JavaScript | 303 lines
                    
47
                    
48        if (representedObject instanceof WebInspector.DatabaseTableObject)
                    
49            return new WebInspector.DatabaseTableContentView(representedObject);
                    
50
                    
51        if (representedObject instanceof WebInspector.DatabaseObject)
                    
52            return new WebInspector.DatabaseContentView(representedObject);
                    
107        return true;
                    
108    if (representedObject instanceof WebInspector.DatabaseTableObject)
                    
109        return true;
                    
109        return true;
                    
110    if (representedObject instanceof WebInspector.DatabaseObject)
                    
111        return true;
                    
                
ContentCacheTests.java https://gitlab.com/Atomic-ROM/packages_apps_Email | Java | 302 lines
                    
21import android.content.Context;
                    
22import android.database.Cursor;
                    
23import android.database.CursorWrapper;
                    
23import android.database.CursorWrapper;
                    
24import android.database.MatrixCursor;
                    
25import android.net.Uri;
                    
                
ContentObserverTest.java https://gitlab.com/brian0218/rk3066_r-box_android4.2.2_sdk | Java | 215 lines
                    
16
                    
17package android.database.cts;
                    
18
                    
19
                    
20import android.database.ContentObserver;
                    
21import android.net.Uri;
                    
                
contentparser.py https://gitlab.com/sunkistm/gitlab-web2py | Python | 132 lines
                    
57        path = 'contenttype.py'
                    
58    vregex = re.compile('database version (?P<version>.+?)\.?\n')
                    
59    sys.stdout.write('Checking contenttype.py database version:')
                    
71        exit()
                    
72    sys.stdout.write('Checking freedesktop.org database version:')
                    
73    sys.stdout.flush()
                    
88    if cversion == nversion:
                    
89        sys.stdout.write('\nContenttype.py database is up to date\n')
                    
90        exit()
                    
91    try:
                    
92        raw_input('\nContenttype.py database updates are available from:\n%s (approx. 0.5MB)\nPress enter to continue or CTRL-C to quit now\nWARNING: this will replace contenttype.py file content IN PLACE' % url)
                    
93    except:
                    
94        exit()
                    
95    sys.stdout.write('\nDownloading new database:')
                    
96    sys.stdout.flush()
                    
                
ContentView.js https://gitlab.com/paretje/qtwebkit | JavaScript | 397 lines
                    
88
                    
89        if (representedObject instanceof WebInspector.DatabaseTableObject)
                    
90            return new WebInspector.DatabaseTableContentView(representedObject, extraArguments);
                    
91
                    
92        if (representedObject instanceof WebInspector.DatabaseObject)
                    
93            return new WebInspector.DatabaseContentView(representedObject, extraArguments);
                    
94
                    
95        if (representedObject instanceof WebInspector.IndexedDatabaseObjectStore)
                    
96            return new WebInspector.IndexedDatabaseObjectStoreContentView(representedObject, extraArguments);
                    
97
                    
98        if (representedObject instanceof WebInspector.IndexedDatabaseObjectStoreIndex)
                    
99            return new WebInspector.IndexedDatabaseObjectStoreContentView(representedObject, extraArguments);
                    
208            return true;
                    
209        if (representedObject instanceof WebInspector.DatabaseTableObject)
                    
210            return true;
                    
                
content.php https://github.com/realityking/joomla-platform.git | PHP | 372 lines
                    
24	 *
                    
25	 * @param   JDatabaseDriver  $db  A database connector object
                    
26	 *
                    
28	 */
                    
29	public function __construct(JDatabaseDriver $db)
                    
30	{
                    
84
                    
85			// Get the asset id from the database.
                    
86			$this->_db->setQuery($query);
                    
273		{
                    
274			$this->setError(JText::_('JLIB_DATABASE_ERROR_ARTICLE_UNIQUE_ALIAS'));
                    
275
                    
281	/**
                    
282	 * Method to set the publishing state for a row or list of rows in the database
                    
283	 * table. The method respects checked out rows by other users and will attempt
                    
                
Content.php https://github.com/lillem4n/kohana-module-pajas.git | PHP | 343 lines
                    
6	/**
                    
7	 * The database driver
                    
8	 *
                    
45	{
                    
46		parent::__construct(); // Connect to the database
                    
47
                    
306	/**
                    
307	 * Set the database driver
                    
308	 *
                    
                
content.php https://github.com/cladjidane/D-mo-HTML5-CSS3.git | PHP | 362 lines
                    
3 * @package     Joomla.Platform
                    
4 * @subpackage  Database
                    
5 *
                    
11
                    
12jimport('joomla.database.tableasset');
                    
13
                    
25	 *
                    
26	 * @param   database  &$db  A database connector object
                    
27	 *
                    
87
                    
88			// Get the asset id from the database.
                    
89			$this->_db->setQuery($query);
                    
245		if ($table->load(array('alias'=>$this->alias,'catid'=>$this->catid)) && ($table->id != $this->id || $this->id==0)) {
                    
246			$this->setError(JText::_('JLIB_DATABASE_ERROR_ARTICLE_UNIQUE_ALIAS'));
                    
247			return false;
                    
                
ContentHelper.hxx https://bitbucket.org/markjenkins/libreoffice_ubuntu-debian-fixes.git | C++ Header | 198 lines
                    
46{
                    
47    class ODatabaseModelImpl;
                    
48    struct ContentProperties
                    
72        ContentProperties   m_aProps;
                    
73        ODatabaseModelImpl* m_pDataSource; // this will stay alive as long as the content exists
                    
74    };
                    
                
ContentObserver.java https://gitlab.com/AvayKumar/android_frameworks_base | Java | 239 lines
                    
16
                    
17package android.database;
                    
18
                    
                
content.md https://gitlab.com/apachipa/docs | Markdown | 163 lines
                    
2
                    
3Apache Cassandra is an open source distributed database management system designed to handle large amounts of data across many commodity servers, providing high availability with no single point of failure. Cassandra offers robust support for clusters spanning multiple datacenters, with asynchronous masterless replication allowing low latency operations for all clients.
                    
4
                    
60
                    
61The following command starts another Cassandra container instance and runs `cqlsh` (Cassandra Query Language Shell) against your original Cassandra container, allowing you to execute CQL statements against your database instance:
                    
62
                    
140
                    
141-	Let Docker manage the storage of your database data [by writing the database files to disk on the host system using its own internal volume management](https://docs.docker.com/userguide/dockervolumes/#adding-a-data-volume). This is the default and is easy and fairly transparent to the user. The downside is that the files may be hard to locate for tools and applications that run directly on the host system, i.e. outside containers.
                    
142-	Create a data directory on the host system (outside the container) and [mount this to a directory visible from inside the container](https://docs.docker.com/userguide/dockervolumes/#mount-a-host-directory-as-a-data-volume). This places the database files in a known location on the host system, and makes it easy for tools and applications on the host system to access the files. The downside is that the user needs to make sure that the directory exists, and that e.g. directory permissions and other security mechanisms on the host system are set up correctly.
                    
162
                    
163If there is no database initialized when the container starts, then a default database will be created. While this is the expected behavior, this means that it will not accept incoming connections until such initialization completes. This may cause issues when using automation tools, such as `docker-compose`, which start several containers simultaneously.
                    
164
                    
                
content.php https://github.com/spn87/tt_tour.git | PHP | 341 lines
                    
10
                    
11jimport('joomla.database.tableasset');
                    
12
                    
22	/**
                    
23	 * @param	database	A database connector object
                    
24	 * @since	1.0
                    
75
                    
76			// Get the asset id from the database.
                    
77			$this->_db->setQuery($query);
                    
228		if ($table->load(array('alias'=>$this->alias,'catid'=>$this->catid)) && ($table->id != $this->id || $this->id==0)) {
                    
229			$this->setError(JText::_('JLIB_DATABASE_ERROR_ARTICLE_UNIQUE_ALIAS'));
                    
230			return false;
                    
235	/**
                    
236	 * Method to set the publishing state for a row or list of rows in the database
                    
237	 * table.  The method respects checked out rows by other users and will attempt
                    
                
ContentFilesystem.java https://gitlab.com/rollbrettler/gallery | Java | 216 lines
                    
22import android.content.Context;
                    
23import android.database.Cursor;
                    
24import android.net.Uri;
                    
                
ContentAwareGenerator.php https://gitlab.com/reasonat/test8 | PHP | 320 lines
                    
65     *
                    
66     * @throws RouteNotFoundException If there is no such route in the database
                    
67     */
                    
                
content_browser_client.cc https://gitlab.com/jonnialva90/iridium-browser | C++ | 397 lines
                    
173
                    
174bool ContentBrowserClient::AllowWorkerDatabase(
                    
175    const GURL& url,
                    
                
content.php https://gitlab.com/mucill/majalengka | PHP | 275 lines
                    
25define('INDEX_AUTH', '1');
                    
26// key to get full database access
                    
27define('DB_ACCESS', 'fa');
                    
                
ContentHasContent.php https://github.com/jiiarra/site.git | PHP | 246 lines
                    
2/**
                    
3 *  ContentHasContent -> ContentHasContent database model for content has content link table.
                    
4 *
                    
                
Content.java https://bitbucket.org/novelli/josser.git | Java | 365 lines
                    
9 * Description: JOSSER - A Java Tool capable to parse DMOZ RDF dumps and export them to 
                    
10 *              any JDBC compliant relational database 
                    
11 *               
                    
                
content.md https://gitlab.com/apachipa/docs | Markdown | 134 lines
                    
88
                    
89To start a Zend Server cluster you must provide a Mysql compatible database:
                    
90
                    
116
                    
117-	MYSQL\_HOSTNAME - ip or hostname of MySQL database
                    
118-	MYSQL\_PORT - MySQL listening port
                    
120-	MYSQL\_PASSWORD
                    
121-	MYSQL\_DBNAME - Name of the database Zend Server will use for cluster ops (created automatically if it does not exist).
                    
122
                    
                
content.php https://bitbucket.org/eternaware/joomus.git | PHP | 364 lines
                    
23	 *
                    
24	 * @param   JDatabaseDriver  $db  A database connector object
                    
25	 *
                    
82
                    
83			// Get the asset id from the database.
                    
84			$this->_db->setQuery($query);
                    
268		{
                    
269			$this->setError(JText::_('JLIB_DATABASE_ERROR_ARTICLE_UNIQUE_ALIAS'));
                    
270			return false;
                    
275	/**
                    
276	 * Method to set the publishing state for a row or list of rows in the database
                    
277	 * table. The method respects checked out rows by other users and will attempt
                    
306			{
                    
307				$this->setError(JText::_('JLIB_DATABASE_ERROR_NO_ROWS_SELECTED'));
                    
308				return false;
                    
                
content.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 373 lines
                    
89	/**
                    
90	* @param database A database connector object
                    
91	*/
                    
                
ContentDataStore.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 691 lines
                    
62 * would contain a single entry which would represent the shapefile on disk. A 
                    
63 * postgis datastore could contain many entries, one for each table in the database.
                    
64 * </p>
                    
69 * entry corresponds to a WFS "Feature Type", which have namespace qualified name.
                    
70 * Other datastores (such as databases) use unqualified names.
                    
71 * </p>
                    
                
content.login.php https://github.com/nils-werner/symphony-2.git | PHP | 275 lines
                    
168						 */
                    
169						Symphony::ExtensionManager()->notifyMembers('AuthorLoginFailure', '/login/', array('username' => Symphony::Database()->cleanValue($_POST['username'])));
                    
170						$this->failedLoginAttempt = true;
                    
183						 */
                    
184						Symphony::ExtensionManager()->notifyMembers('AuthorLoginSuccess', '/login/', array('username' => Symphony::Database()->cleanValue($_POST['username'])));
                    
185
                    
191
                    
192					$author = Symphony::Database()->fetchRow(0, sprintf("
                    
193							SELECT `id`, `email`, `first_name`
                    
195							WHERE `email` = '%1\$s' OR `username` = '%1\$s'
                    
196						", Symphony::Database()->cleanValue($_POST['email'])
                    
197					));
                    
199					if(!empty($author)){
                    
200						Symphony::Database()->delete('tbl_forgotpass', " `expiry` < '".DateTimeObj::getGMT('c')."' ");
                    
201
                    
                
content.tex https://gitlab.com/sorind/tagfs | LaTeX | 396 lines
                    
72which makes ebook management easier, implemented in userspace. The vast majority
                    
73of these applications rely on a database where mappings between files and 
                    
74associated metadata are stored and expose a set of commands which translate
                    
74associated metadata are stored and expose a set of commands which translate
                    
75to specific queries for the database.  
                    
76
                    
                
content.php https://github.com/cholalabs/CholaApps2.0.git | PHP | 341 lines
                    
10
                    
11jimport('chola.database.tableasset');
                    
12
                    
22	/**
                    
23	 * @param	database	A database connector object
                    
24	 * @since	1.0
                    
75
                    
76			// Get the asset id from the database.
                    
77			$this->_db->setQuery($query);
                    
228		if ($table->load(array('alias'=>$this->alias,'catid'=>$this->catid)) && ($table->id != $this->id || $this->id==0)) {
                    
229			$this->setError(JText::_('JLIB_DATABASE_ERROR_ARTICLE_UNIQUE_ALIAS'));
                    
230			return false;
                    
235	/**
                    
236	 * Method to set the publishing state for a row or list of rows in the database
                    
237	 * table.  The method respects checked out rows by other users and will attempt
                    
                
ContentService.java https://gitlab.com/brian0218/rk3066_r-box_android4.2.2_sdk | Java | 838 lines
                    
20import android.app.ActivityManager;
                    
21import android.database.IContentObserver;
                    
22import android.database.sqlite.SQLiteException;
                    
                
ContentResolver.java https://gitlab.com/brian0218/rk3066_r-box_android4.2.2_sdk | Java | 1167 lines
                    
26import android.content.res.Resources;
                    
27import android.database.ContentObserver;
                    
28import android.database.CrossProcessCursorWrapper;
                    
28import android.database.CrossProcessCursorWrapper;
                    
29import android.database.Cursor;
                    
30import android.database.IContentObserver;
                    
                
ContentProviderOperation.java https://gitlab.com/brian0218/rk3066_r-box_android4.2.2_sdk | Java | 598 lines
                    
18
                    
19import android.database.Cursor;
                    
20import android.net.Uri;
                    
                
ContentProviderNative.java https://gitlab.com/brian0218/rk3066_r-box_android4.2.2_sdk | Java | 648 lines
                    
19import android.content.res.AssetFileDescriptor;
                    
20import android.database.BulkCursorDescriptor;
                    
21import android.database.BulkCursorNative;
                    
21import android.database.BulkCursorNative;
                    
22import android.database.BulkCursorToCursorAdaptor;
                    
23import android.database.Cursor;
                    
24import android.database.CursorToBulkCursorAdaptor;
                    
25import android.database.DatabaseUtils;
                    
26import android.database.IBulkCursor;
                    
26import android.database.IBulkCursor;
                    
27import android.database.IContentObserver;
                    
28import android.net.Uri;
                    
305        } catch (Exception e) {
                    
306            DatabaseUtils.writeExceptionToParcel(reply, e);
                    
307            return true;
                    
                
ContentProviderTest.java https://gitlab.com/brian0218/rk3066_r-box_android4.2.2_sdk | Java | 446 lines
                    
32import android.database.Cursor;
                    
33import android.database.sqlite.SQLiteDatabase;
                    
34import android.net.Uri;
                    
56    protected void tearDown() throws Exception {
                    
57        mContext.deleteDatabase(TEST_DB_NAME);
                    
58        mContext.deleteFile(TEST_FILE_NAME);
                    
399    private class OpenFileContentProvider extends ContentProvider {
                    
400        private SQLiteDatabase mDb;
                    
401
                    
402        OpenFileContentProvider(String fileName, String dbName) {
                    
403            // delete the database if it already exists
                    
404            mContext.deleteDatabase(dbName);
                    
404            mContext.deleteDatabase(dbName);
                    
405            mDb = mContext.openOrCreateDatabase(dbName, Context.MODE_PRIVATE, null);
                    
406            mDb.execSQL("CREATE TABLE files ( _data TEXT );");
                    
                
ContentResolverTest.java https://gitlab.com/brian0218/rk3288_r-box_android4.4.2_sdk | Java | 1062 lines
                    
28import android.cts.util.PollingCheck;
                    
29import android.database.ContentObserver;
                    
30import android.database.Cursor;
                    
30import android.database.Cursor;
                    
31import android.database.sqlite.SQLiteQueryBuilder;
                    
32import android.net.Uri;
                    
92
                    
93        // add three rows to database when every test case start.
                    
94        ContentValues values = new ContentValues();
                    
                
ContentProviderOperationTest.java https://gitlab.com/brian0218/rk3188_r-box_android4.2.2_sdk | Java | 550 lines
                    
19import android.content.ContentValues;
                    
20import android.database.Cursor;
                    
21import android.database.MatrixCursor;
                    
                
ContentProvider.java https://gitlab.com/brian0218/rk3188_r-box_android4.2.2_sdk | Java | 1137 lines
                    
25import android.content.res.Configuration;
                    
26import android.database.Cursor;
                    
27import android.database.SQLException;
                    
54 * multiple applications you can use a database directly via
                    
55 * {@link android.database.sqlite.SQLiteDatabase}.
                    
56 *
                    
                
Content.java https://gitlab.com/brian0218/rk3188_r-box_android4.2.2_sdk | Java | 465 lines
                    
23import android.content.IContentProvider;
                    
24import android.database.Cursor;
                    
25import android.net.Uri;
                    
                
content_subresource_filter_web_contents_helper.h https://github.com/chromium/chromium.git | C Header | 214 lines
                    
29namespace safe_browsing {
                    
30class SafeBrowsingDatabaseManager;
                    
31}  // namespace safe_browsing
                    
116      SubresourceFilterProfileContext* profile_context,
                    
117      scoped_refptr<safe_browsing::SafeBrowsingDatabaseManager>
                    
118          database_manager,
                    
127      SubresourceFilterProfileContext* profile_context,
                    
128      scoped_refptr<safe_browsing::SafeBrowsingDatabaseManager>
                    
129          database_manager,
                    
141
                    
142  // Sets the SafeBrowsingDatabaseManager instance to use on new throttle
                    
143  // managers. Note, this will not update the database_manager_ value on
                    
177
                    
178  scoped_refptr<safe_browsing::SafeBrowsingDatabaseManager> database_manager_;
                    
179  raw_ptr<VerifiedRulesetDealer::Handle> dealer_handle_;
                    
                
contenthistory.php https://gitlab.com/lankerd/paGO---Testing-Site | PHP | 367 lines
                    
175	/**
                    
176	 * Method to query the database using values from lookup objects.
                    
177	 *
                    
180	 *
                    
181	 * @return  mixed  Value from database (for example, name or title) on success, false on failure.
                    
182	 *
                    
                
content.php https://github.com/alanbarrett/moodle.git | PHP | 345 lines
                    
63        // A record with the id must exist in 'contentbank_content' table.
                    
64        // To improve performance, we are only checking the id is set, but no querying the database.
                    
65        if (!isset($record->id)) {
                    
118        // A record with the id must exist in 'contentbank_content' table.
                    
119        // To improve performance, we are only checking the id is set, but no querying the database.
                    
120        if (!isset($this->content->id)) {
                    
                
content.php https://bitbucket.org/asosso/joomla25.git | PHP | 382 lines
                    
110	 * @since   2.5
                    
111	 * @throws  Exception on database error.
                    
112	 */
                    
140	 * @since   2.5
                    
141	 * @throws  Exception on database error.
                    
142	 */
                    
183	 * @since   2.5
                    
184	 * @throws  Exception on database error.
                    
185	 */
                    
190		{
                    
191			// Query the database for the old access level if the item isn't new
                    
192			if (!$isNew)
                    
339	 *
                    
340	 * @return  JDatabaseQuery  A database object.
                    
341	 *
                    
                
ContentEntityAggregatorSensorPlugin.php https://gitlab.com/Drulenium-bot/monitoring | PHP | 628 lines
                    
9use Drupal\Component\Utility\SafeMarkup;
                    
10use Drupal\Core\Database\Database;
                    
11use Drupal\Core\DependencyInjection\DependencySerializationTrait;
                    
21use Drupal\monitoring\Result\SensorResultInterface;
                    
22use Drupal\monitoring\SensorPlugin\DatabaseAggregatorSensorPluginBase;
                    
23use Drupal\monitoring\SensorPlugin\ExtendedInfoSensorPluginInterface;
                    
26/**
                    
27 * Content entity database aggregator.
                    
28 *
                    
37 */
                    
38class ContentEntityAggregatorSensorPlugin extends DatabaseAggregatorSensorPluginBase implements ExtendedInfoSensorPluginInterface {
                    
39
                    
217    $field_type_manager = \Drupal::service('plugin.manager.field.field_type');
                    
218    Database::startLog('monitoring_ceasp');
                    
219
                    
                
ContentService.java https://gitlab.com/AvayKumar/android_frameworks_base | Java | 1133 lines
                    
32import android.content.SyncStatusInfo;
                    
33import android.database.IContentObserver;
                    
34import android.database.sqlite.SQLiteException;
                    
                
ContentResolver.java https://gitlab.com/AvayKumar/android_frameworks_base | Java | 1111 lines
                    
25import android.content.res.Resources;
                    
26import android.database.ContentObserver;
                    
27import android.database.CrossProcessCursorWrapper;
                    
27import android.database.CrossProcessCursorWrapper;
                    
28import android.database.Cursor;
                    
29import android.database.IContentObserver;
                    
115     * For example, this will be set to true if the sync is initiated by a call to
                    
116     * {@link ContentResolver#notifyChange(android.net.Uri, android.database.ContentObserver, boolean)}
                    
117     */
                    
                
ContentProviderOperation.java https://gitlab.com/AvayKumar/android_frameworks_base | Java | 628 lines
                    
19import android.content.ContentProvider;
                    
20import android.database.Cursor;
                    
21import android.net.Uri;
                    
                
ContentProviderNative.java https://gitlab.com/AvayKumar/android_frameworks_base | Java | 763 lines
                    
19import android.content.res.AssetFileDescriptor;
                    
20import android.database.BulkCursorDescriptor;
                    
21import android.database.BulkCursorToCursorAdaptor;
                    
21import android.database.BulkCursorToCursorAdaptor;
                    
22import android.database.Cursor;
                    
23import android.database.CursorToBulkCursorAdaptor;
                    
23import android.database.CursorToBulkCursorAdaptor;
                    
24import android.database.DatabaseUtils;
                    
25import android.database.IContentObserver;
                    
359        } catch (Exception e) {
                    
360            DatabaseUtils.writeExceptionToParcel(reply, e);
                    
361            return true;
                    
                
ContentProviderClient.java https://gitlab.com/AvayKumar/android_frameworks_base | Java | 460 lines
                    
19import android.content.res.AssetFileDescriptor;
                    
20import android.database.Cursor;
                    
21import android.net.Uri;
                    
                
ContentTranslationUITestBase.php https://gitlab.com/reasonat/test8 | PHP | 576 lines
                    
80    $entity = entity_load($this->entityTypeId, $this->entityId, TRUE);
                    
81    $this->assertTrue($entity, 'Entity found in the database.');
                    
82    $this->drupalGet($entity->urlInfo());
                    
                
ContentQueryMapTest.java https://gitlab.com/chprasanna93/platform_cts | Java | 379 lines
                    
23import android.content.Context;
                    
24import android.database.Cursor;
                    
25import android.os.Handler;
                    
                
ContentEntityTest.php https://gitlab.com/mohamed_hussein/prodt | PHP | 474 lines
                    
223    if (!$configuration['include_translations']) {
                    
224      // Confirm that the anonymous user is in the source database but not
                    
225      // included in the rows returned by the content_entity.
                    
                
ContentTranslationUITestBase.php https://gitlab.com/mohamed_hussein/prodt | PHP | 635 lines
                    
83    $entity = $storage->load($this->entityId);
                    
84    $this->assertNotEmpty($entity, 'Entity found in the database.');
                    
85    $this->drupalGet($entity->toUrl());
                    
                
content.logs.php https://github.com/nick-ryall/redirection_manager.git | PHP | 386 lines
                    
147						foreach ($checked as $log_id) {
                    
148							$this->_Parent->Database->query("
                    
149								DELETE FROM
                    
                
content_favicon_driver_unittest.cc https://github.com/chromium/chromium.git | C++ | 238 lines
                    
93
                    
94// Test that a download is initiated when there isn't a favicon in the database
                    
95// for either the page URL or the icon URL.
                    
                
ContentDatabase.cpp https://github.com/u-voelkel/fuppes.git | C++ | 1421 lines
                    
30#include "ContentDatabase.h"
                    
31#include "../ContentDatabase/ContentDatabase.h"
                    
32#include "../SharedLog.h"
                    
75/*
                    
76 CContentDatabase* CContentDatabase::m_Instance = 0;
                    
77
                    
77
                    
78 CContentDatabase* CContentDatabase::Shared()
                    
79 {
                    
86
                    
87CContentDatabase::CContentDatabase(Fuppes::FuppesConfig& fuppesConfig, CFileDetails& fileDetails, Plugins::CPluginMgr& pluginMgr, VirtualContainer::Manager& virtualContainerMgr):
                    
88        m_fuppesConfig(fuppesConfig),
                    
108
                    
109CContentDatabase::~CContentDatabase()
                    
110{
                    
                
content.md https://gitlab.com/apachipa/docs | Markdown | 239 lines
                    
2
                    
3[Couchbase Server](http://en.wikipedia.org/wiki/Couchbase_Server) is an open-source, distributed (shared-nothing architecture) NoSQL document-oriented database and key-value store that is optimized for interactive applications.
                    
4
                    
                
content_models.py https://gitlab.com/gregtyka/ka-lite | Python | 753 lines
                    
1"""
                    
2This module acts as the only interface point between the main app and the database backend for the content.
                    
3
                    
18
                    
19from peewee import Model, SqliteDatabase, CharField, TextField, BooleanField, ForeignKeyField, PrimaryKeyField, Using,\
                    
20    DoesNotExist, fn, IntegerField, OperationalError, FloatField
                    
23
                    
24from .base import available_content_databases
                    
25from .settings import CONTENT_DATABASE_PATH, CHANNEL
                    
31
                    
32# This Item is defined without a database.
                    
33# This allows us to use a separate database for each language, so that we
                    
34# can reduce performance cost, and keep queries simple for multiple languages.
                    
35# In addition, we can distribute databases separately for each language pack.
                    
36class Item(Model):
                    
                
ContentObjectRenderer.php https://bitbucket.org/imia_de/t3ext-imia-base.git | PHP | 501 lines
                    
29use TYPO3\CMS\Core\Database\ConnectionPool;
                    
30use TYPO3\CMS\Core\Database\DatabaseConnection;
                    
31use TYPO3\CMS\Core\LinkHandling\LinkService;
                    
                
contenthistory.php https://gitlab.com/ricardosanchez/prueba | PHP | 214 lines
                    
20	 * Array of object fields to unset from the data object before calculating SHA1 hash. This allows us to detect a meaningful change
                    
21	 * in the database row using the hash. This can be read from the #__content_types content_history_options column.
                    
22	 *
                    
40	 *
                    
41	 * @param   JDatabaseDriver  $db  A database connector object
                    
42	 *
                    
                
ContentTranslationUITestBase.php https://gitlab.com/guillaumev/alkarama | PHP | 626 lines
                    
83    $entity = $storage->load($this->entityId);
                    
84    $this->assertTrue($entity, 'Entity found in the database.');
                    
85    $this->drupalGet($entity->urlInfo());
                    
                
content.cxx https://bitbucket.org/jorgenio/libreoffice.git | C++ | 575 lines
                    
77      m_aURLParameter( Identifier->getContentIdentifier(),pDatabases ),
                    
78      m_pDatabases( pDatabases ) // not owner
                    
79{
                    
217    URLParameter                                 m_aURLParameter;
                    
218    Databases*                                   m_pDatabases;
                    
219
                    
236          m_aURLParameter( aURLParameter ),
                    
237          m_pDatabases( pDatabases )
                    
238    {
                    
265    URLParameter                                 m_aURLParameter;
                    
266    Databases*                                   m_pDatabases;
                    
267
                    
277        URLParameter aURLParameter,
                    
278        Databases* pDatabases )
                    
279        : m_xSMgr( xSMgr ),
                    
                
ContentDevelGenerate.php https://gitlab.com/andecode/theme-spark | PHP | 729 lines
                    
8use Drupal\content_translation\ContentTranslationManagerInterface;
                    
9use Drupal\Core\Database\Connection;
                    
10use Drupal\Core\Datetime\DateFormatterInterface;
                    
130  /**
                    
131   * Database connection.
                    
132   *
                    
132   *
                    
133   * @var \Drupal\Core\Database\Connection
                    
134   */
                    
167   *   Provides system time.
                    
168   * @param \Drupal\Core\Database\Connection $database
                    
169   *   Database connection.
                    
184    $this->time = $time;
                    
185    $this->database = $database;
                    
186  }
                    
                
ContentHandler.cs https://github.com/enjoii/WCell.git | C# | 568 lines
                    
7using WCell.Constants;
                    
8using WCell.Core.Database;
                    
9using WCell.Core.Initialization;
                    
9using WCell.Core.Initialization;
                    
10using WCell.RealmServer.Database;
                    
11using WCell.Util;
                    
95		/// <summary>
                    
96		/// Reports incorrect data, that is not Database-provider dependent.
                    
97		/// </summary>
                    
105		/// <summary>
                    
106		/// Reports incorrect data, that is not Database-provider dependent.
                    
107		/// </summary>
                    
126		/// <summary>
                    
127		/// Reports incorrect data, caused by the Database-provider.
                    
128		/// </summary>
                    
                
content.php https://gitlab.com/ricardosanchez/prueba | PHP | 348 lines
                    
24	 *
                    
25	 * @param   JDatabaseDriver  $db  A database connector object
                    
26	 *
                    
28	 */
                    
29	public function __construct(JDatabaseDriver $db)
                    
30	{
                    
90
                    
91			// Get the asset id from the database.
                    
92			$this->_db->setQuery($query);
                    
340		{
                    
341			$this->setError(JText::_('JLIB_DATABASE_ERROR_ARTICLE_UNIQUE_ALIAS'));
                    
342
                    
                
content.php https://bitbucket.org/dgough/annamaria-daneswood-25102012.git | PHP | 1539 lines
                    
146	;
                    
147	$database->setQuery( $query );
                    
148	$id = $database->loadResult();
                    
157function frontpage( $gid, &$access, $pop, $now, $limit, $limitstart ) {
                    
158	global $database, $mainframe;
                    
159
                    
160	$now 		= _CURRENT_SERVER_TIME;
                    
161	$nullDate 	= $database->getNullDate();
                    
162	$noauth 	= !$mainframe->getCfg( 'shownoauth' );
                    
243function showSection( $id, $gid, &$access, $now ) {
                    
244	global $database, $mainframe, $Itemid;
                    
245
                    
315		$xwhere2 = "\n AND b.state = 1"
                    
316		. "\n AND ( b.publish_up = " . $database->Quote( $nullDate ) . " OR b.publish_up <= " . $database->Quote( $now ) . " )"
                    
317		. "\n AND ( b.publish_down = " . $database->Quote( $nullDate ) . " OR b.publish_down >= " . $database->Quote( $now ) . " )"
                    
                
ContentObservableTest.java https://gitlab.com/brian0218/rk3288_r-box_android4.4.2_sdk | Java | 156 lines
                    
16
                    
17package android.database.cts;
                    
18
                    
19
                    
20import android.database.ContentObservable;
                    
21import android.database.ContentObserver;
                    
                
ContentState.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 467 lines
                    
93 * This class may be extended if your implementaiton wishes to capture additional information
                    
94 * per transaction. A database implementation using a JDBCContentState to store a JDBC Connection
                    
95 * remains a good example.
                    
441     * <p>
                    
442     * Any resources that the state holds onto (like a database connection) should be closed or
                    
443     * disposes when this method is called. This method may be extended by subclasses, but not
                    
                
ContentService.java https://github.com/PapaDocta/android_frameworks_base.git | Java | 630 lines
                    
19import android.accounts.Account;
                    
20import android.database.IContentObserver;
                    
21import android.database.sqlite.SQLiteException;
                    
                
ContentResolver.java https://github.com/PapaDocta/android_frameworks_base.git | Java | 1203 lines
                    
23import android.content.res.Resources;
                    
24import android.database.ContentObserver;
                    
25import android.database.Cursor;
                    
25import android.database.Cursor;
                    
26import android.database.CursorWrapper;
                    
27import android.database.IContentObserver;
                    
                
ContentProviderNative.java https://github.com/PapaDocta/android_frameworks_base.git | Java | 572 lines
                    
19import android.content.res.AssetFileDescriptor;
                    
20import android.database.BulkCursorNative;
                    
21import android.database.BulkCursorToCursorAdaptor;
                    
21import android.database.BulkCursorToCursorAdaptor;
                    
22import android.database.Cursor;
                    
23import android.database.CursorWindow;
                    
23import android.database.CursorWindow;
                    
24import android.database.DatabaseUtils;
                    
25import android.database.IBulkCursor;
                    
25import android.database.IBulkCursor;
                    
26import android.database.IContentObserver;
                    
27import android.net.Uri;
                    
261        } catch (Exception e) {
                    
262            DatabaseUtils.writeExceptionToParcel(reply, e);
                    
263            return true;
                    
                
ContentProvider.java https://github.com/PapaDocta/android_frameworks_base.git | Java | 834 lines
                    
23import android.content.res.Configuration;
                    
24import android.database.Cursor;
                    
25import android.database.CursorToBulkCursorAdaptor;
                    
25import android.database.CursorToBulkCursorAdaptor;
                    
26import android.database.CursorWindow;
                    
27import android.database.IBulkCursor;
                    
27import android.database.IBulkCursor;
                    
28import android.database.IContentObserver;
                    
29import android.database.SQLException;
                    
46 * multiple applications you can use a database directly via
                    
47 * {@link android.database.sqlite.SQLiteDatabase}.
                    
48 *
                    
                
ContentTypesTable.php git://github.com/QuickAppsCMS/QuickApps-CMS.git | PHP | 132 lines
                    
20/**
                    
21 * Represents "content_types" database table.
                    
22 *
                    
                
ContentImporter.php https://gitlab.com/koodersmiikka/operaatio-terveys | PHP | 1045 lines
                    
19use Core;
                    
20use Database;
                    
21use Job;
                    
                
content.php https://gitlab.com/ricardosanchez/prueba | PHP | 380 lines
                    
101	 * @since   2.5
                    
102	 * @throws  Exception on database error.
                    
103	 */
                    
135	 * @since   2.5
                    
136	 * @throws  Exception on database error.
                    
137	 */
                    
177	 * @since   2.5
                    
178	 * @throws  Exception on database error.
                    
179	 */
                    
184		{
                    
185			// Query the database for the old access level if the item isn't new.
                    
186			if (!$isNew)
                    
336	 *
                    
337	 * @return  JDatabaseQuery  A database object.
                    
338	 *
                    
                
content.tpl https://gitlab.com/phamngsinh/baitaplon_sinhvien | Smarty Template | 52 lines
                    
39	<!-- END NO DB_FOUND --> 
                    
40	<p><a href="menu.php?action=dbrefresh">{L_LOAD_DATABASE}</a></p>
                    
41</fieldset>
                    
                
ContentController.php https://github.com/ramziammar/websites.git | PHP | 438 lines
                    
132	/**
                    
133	 * Returns the associated database record
                    
134	 */
                    
                
ContentBlock.php https://gitlab.com/RonLab1987/YupePlusClear | PHP | 240 lines
                    
64    /**
                    
65     * @return string the associated database table name
                    
66     */
                    
                
ContentionStrategyTest.java https://github.com/thelastpickle/cassandra.git | Java | 430 lines
                    
36import net.nicoulaj.compilecommand.annotations.Inline;
                    
37import org.apache.cassandra.config.DatabaseDescriptor;
                    
38
                    
48    {
                    
49        DatabaseDescriptor.daemonInitialization();
                    
50    }
                    
                
ContentionStrategy.java https://github.com/thelastpickle/cassandra.git | Java | 651 lines
                    
25import com.codahale.metrics.Snapshot;
                    
26import org.apache.cassandra.config.DatabaseDescriptor;
                    
27import org.apache.cassandra.db.ConsistencyLevel;
                    
49import static java.util.concurrent.TimeUnit.*;
                    
50import static org.apache.cassandra.config.DatabaseDescriptor.*;
                    
51import static org.apache.cassandra.metrics.ClientRequestsMetricsHolder.casReadMetrics;
                    
                
content.cs https://github.com/jracabado/justEdit-.git | C# | 1168 lines
                    
61
                    
62        // Sync database access
                    
63        private static object _dbReadSyncLock = new object();
                    
229                // we need to re-load the content, else the dtd changes won't be picked up by the XmlDocument
                    
230                content.Instance.XmlContentInternal = content.Instance.LoadContentFromDatabase();
                    
231            }
                    
237        /// <summary>
                    
238        /// Load content from database in a background thread
                    
239        /// Replaces active content when done.
                    
240        /// </summary>
                    
241        public virtual void RefreshContentFromDatabaseAsync()
                    
242        {
                    
250                    {
                    
251                        XmlDocument xmlDoc = LoadContentFromDatabase();
                    
252                        XmlContentInternal = xmlDoc;
                    
                
ContentType.cs https://github.com/jracabado/justEdit-.git | C# | 1273 lines
                    
22    /// ContentTypes defines the datafields of Content objects of that type, it's similar to defining columns 
                    
23    /// in a database table, where the PropertyTypes on the ContentType each responds to a Column, and the Content
                    
24    /// objects is similar to a row of data, where the Properties on the Content object corresponds to the PropertyTypes
                    
55        ///// <param name="UseOptimizedMode">if set to <c>true</c> [use optimized mode] which loads in the data from the 
                    
56        ///// database in an optimized manner (less queries)
                    
57        ///// </param>
                    
78        /// This is like creating a ContentType node using optimized mode but this lets you set
                    
79        /// all of the properties that are initialized normally from the database.
                    
80        /// This is used for performance reasons.
                    
                
Content.cs https://github.com/jracabado/justEdit-.git | C# | 732 lines
                    
23    /// Content is a datastructure that holds generic data defined in its corresponding ContentType. Content can in some
                    
24    /// sence be compared to a row in a database table, it's contenttype hold a definition of the columns and the Content
                    
25    /// contains the data
                    
130        /// This is here for performance reasons only. If the _contentTypeIcon is manually set
                    
131        /// then a database call is not made to initialize the ContentType.
                    
132        /// 
                    
251        /// <summary>
                    
252        /// Used to persist object changes to the database. This ensures that the properties are re-loaded from the database.
                    
253        /// </summary>
                    
386        /// <summary>
                    
387        /// Removes the Xml cached in the database - unpublish and cleaning
                    
388        /// </summary>
                    
                
contentcodes.class.php https://github.com/pijulius/jcore.git | PHP | 316 lines
                    
254			'SQL_HOST',
                    
255			'SQL_DATABASE',
                    
256			'SQL_USER',
                    
                
content_index_database.h https://github.com/chromium/chromium.git | C Header | 191 lines
                    
4
                    
5#ifndef CONTENT_BROWSER_CONTENT_INDEX_CONTENT_INDEX_DATABASE_H_
                    
6#define CONTENT_BROWSER_CONTENT_INDEX_CONTENT_INDEX_DATABASE_H_
                    
32
                    
33// Handles interacting with the Service Worker Database for Content Index
                    
34// entries. This is owned by the ContentIndexContext.
                    
34// entries. This is owned by the ContentIndexContext.
                    
35class CONTENT_EXPORT ContentIndexDatabase {
                    
36 public:
                    
36 public:
                    
37  ContentIndexDatabase(
                    
38      BrowserContext* browser_context,
                    
40
                    
41  ContentIndexDatabase(const ContentIndexDatabase&) = delete;
                    
42  ContentIndexDatabase& operator=(const ContentIndexDatabase&) = delete;
                    
                
content.publish.php https://github.com/nils-werner/symphony-2.git | PHP | 1408 lines
                    
112					$field_id = FieldManager::fetchFieldIDFromElementName(
                    
113						Symphony::Database()->cleanValue($handle),
                    
114						$section->get('id')
                    
174			}
                    
175			catch(DatabaseException $ex) {
                    
176				$this->pageAlert(__('An error occurred while retrieving filtered entries. Showing all entries instead.'), Alert::ERROR);
                    
                
ContentObserverController.java https://gitlab.com/amardeep434/nitro_base | Java | 459 lines
                    
21import android.content.Context;
                    
22import android.database.ContentObserver;
                    
23import android.net.Uri;
                    
                
ContentService.java https://gitlab.com/amardeep434/nitro_base | Java | 1213 lines
                    
42import android.content.pm.ProviderInfo;
                    
43import android.database.IContentObserver;
                    
44import android.database.sqlite.SQLiteException;
                    
                
ContentProviderClient.java https://gitlab.com/amardeep434/nitro_base | Java | 562 lines
                    
21import android.content.res.AssetFileDescriptor;
                    
22import android.database.CrossProcessCursorWrapper;
                    
23import android.database.Cursor;
                    
                
ContentProvider.java https://gitlab.com/amardeep434/nitro_base | Java | 1153 lines
                    
31import android.content.res.Configuration;
                    
32import android.database.Cursor;
                    
33import android.database.MatrixCursor;
                    
33import android.database.MatrixCursor;
                    
34import android.database.SQLException;
                    
35import android.net.Uri;
                    
63 * multiple applications you can use a database directly via
                    
64 * {@link android.database.sqlite.SQLiteDatabase}.
                    
65 *
                    
216                // We do not call ContentProvider#query with a modified where clause since
                    
217                // the implementation is not guaranteed to be backed by a SQL database, hence
                    
218                // it may not handle properly the tautology where clause we would have created.
                    
                
ContentValues.java https://gitlab.com/drgroovestarr/frameworks_base | Java | 533 lines
                    
429                // for booleans is an integer with a value of 0 or 1. Without this check, boolean
                    
430                // values obtained via DatabaseUtils#cursorRowToContentValues will always return
                    
431                // false.
                    
                
ContentProviderOperation.java https://gitlab.com/drgroovestarr/frameworks_base | Java | 691 lines
                    
19import android.content.ContentProvider;
                    
20import android.database.Cursor;
                    
21import android.net.Uri;
                    
210    /**
                    
211     * Returns true if the operation allows yielding the database to other transactions
                    
212     * if the database is contended.
                    
213     *
                    
214     * @see android.database.sqlite.SQLiteDatabase#yieldIfContendedSafely()
                    
215     */
                    
                
ContentObject.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 712 lines
                    
8 * to manage multi lingual sites especially in all dynamic information
                    
9 * which are stored in the database.
                    
10 *
                    
374	/**
                    
375	 * This method copies a currect database object into the translations
                    
376	 * The original object might be the same kind of object and it is not required that
                    
                
ContentElementTableField.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 127 lines
                    
8 * to manage multi lingual sites especially in all dynamic information
                    
9 * which are stored in the database.
                    
10 *
                    
                
content.php https://github.com/ProjectBenelux/Website.git | PHP | 206 lines
                    
95	 * The id passed will usually be the primary key of the model data in the
                    
96	 * database but as this is model specific it can be interpreted in other ways.
                    
97	 *
                    
                
contentbox.sql https://github.com/Ortus-Solutions/ContentBox.git | SQL | 468 lines
                    
8# Host: 127.0.0.1 (MySQL 5.7.22)
                    
9# Database: contentbox
                    
10# Generation Time: 2022-02-18 20:12:42 +0000
                    
                
ContentQueryMapTest.java https://gitlab.com/brian0218/rk3066_r-box_android4.2.2_sdk | Java | 373 lines
                    
22import android.content.ContentValues;
                    
23import android.database.Cursor;
                    
24import android.os.Handler;
                    
                
content.php https://bitbucket.org/asosso/joomla25.git | PHP | 401 lines
                    
3 * @package     Joomla.Platform
                    
4 * @subpackage  Database
                    
5 *
                    
11
                    
12jimport('joomla.database.tableasset');
                    
13jimport('joomla.database.table');
                    
26	 *
                    
27	 * @param   JDatabase  &$db  A database connector object
                    
28	 *
                    
86
                    
87			// Get the asset id from the database.
                    
88			$this->_db->setQuery($query);
                    
268		{
                    
269			$this->setError(JText::_('JLIB_DATABASE_ERROR_ARTICLE_UNIQUE_ALIAS'));
                    
270			return false;
                    
                
ContentCache.java https://gitlab.com/Atomic-ROM/packages_apps_Email | Java | 822 lines
                    
19import android.content.ContentValues;
                    
20import android.database.CrossProcessCursor;
                    
21import android.database.Cursor;
                    
21import android.database.Cursor;
                    
22import android.database.CursorWindow;
                    
23import android.database.CursorWrapper;
                    
23import android.database.CursorWrapper;
                    
24import android.database.MatrixCursor;
                    
25import android.net.Uri;
                    
54 * 1. Get a CacheToken: CacheToken token = cache.getToken(id);
                    
55 * 2. Get a cursor from the database: Cursor cursor = db.query(....);
                    
56 * 3. Put the cursor in the cache: cache.putCursor(cursor, id, token);
                    
                
contenttype.py https://gitlab.com/sunkistm/gitlab-web2py | Python | 855 lines
                    
9CONTENT_TYPE dictionary created against freedesktop.org's shared mime info
                    
10database version 1.1.
                    
11
                    
437    '.oda': 'application/oda',
                    
438    '.odb': 'application/vnd.oasis.opendocument.database',
                    
439    '.odc': 'application/vnd.oasis.opendocument.chart',
                    
                
content_switches.h https://gitlab.com/f3822/qtwebengine-chromium | C Header | 324 lines
                    
52CONTENT_EXPORT extern const char kDisableCompositingForTransition[];
                    
53CONTENT_EXPORT extern const char kDisableDatabases[];
                    
54CONTENT_EXPORT extern const char kDisableDeadlineScheduling[];
                    
                
ContentHandler.php https://gitlab.com/link233/bootmw | PHP | 1246 lines
                    
63 * A content handler knows how do deal with a specific type of content on a wiki
                    
64 * page. Content is stored in the database in a serialized form (using a
                    
65 * serialization format a.k.a. MIME type) and is unserialized into its native
                    
                
content.php https://gitlab.com/wildanoo/E-procurement | PHP | 836 lines
                    
151	
                    
152		/* get data for table view from database with pagination */
                    
153	
                    
194	
                    
195		/* get data for table view from database with pagination */
                    
196	
                    
                
Content.php https://github.com/lillem4n/kohana-module-pajas.git | PHP | 495 lines
                    
19		{
                    
20			// Add image files that does not exist in database
                    
21			$tracked_images = $this->get_images(NULL, array(), TRUE);
                    
                
ContentService.java https://gitlab.com/amardeep434/android_frameworks_base_n | Java | 1180 lines
                    
34import android.content.pm.PackageManagerInternal;
                    
35import android.database.IContentObserver;
                    
36import android.database.sqlite.SQLiteException;
                    
                
content_history_backend_db_unittest.cc https://github.com/chromium/chromium.git | C++ | 134 lines
                    
15//    the history backend (since there is a lot of logic) but gets can come
                    
16//    directly from the HistoryDatabase. This is because the backend generally
                    
17//    has no logic in the getter except threading stuff, which we don't want
                    
103            << "\"." << std::endl
                    
104            << "**This will cause database conflicts with persisted values**"
                    
105            << std::endl
                    
114            << cur_reason.value << ")" << std::endl
                    
115            << "This may cause database conflicts with persisted values"
                    
116            << std::endl
                    
                
ContentPager.java https://gitlab.com/SkyDragon-OSP/platform_frameworks_support | Java | 708 lines
                    
22import android.content.ContentResolver;
                    
23import android.database.CrossProcessCursor;
                    
24import android.database.Cursor;
                    
24import android.database.Cursor;
                    
25import android.database.CursorWindow;
                    
26import android.database.CursorWrapper;
                    
111 * {@link ContentResolver#query(Uri, String[], String, String[], String)}. If the underlying
                    
112 * type is a {@link android.database.CrossProcessCursor} or
                    
113 * {@link android.database.AbstractWindowedCursor} it'll have a {@link CursorWindow} field.
                    
                
ContentService.php https://gitlab.com/madebycloud/derekman | PHP | 447 lines
                    
236	/**
                    
237	 * Saves a content model to the database.
                    
238	 *
                    
                
content.edit.php https://github.com/bauhouse/sym-extensions.git | PHP | 379 lines
                    
25				
                    
26			if(!$existing = $this->_Parent->Database->fetchRow(0, "SELECT * FROM `tbl_pages` WHERE `id` = '$page_id' LIMIT 1"))
                    
27				$this->_Parent->customError(E_USER_ERROR, __('Page not found'), __('The page you requested to edit does not exist.'), false, true, 'error', array('header' => 'HTTP/1.0 404 Not Found'));
                    
70
                    
71				$types = $this->_Parent->Database->fetchCol('type', "SELECT `type` FROM `tbl_pages_types` WHERE page_id = '$page_id' ORDER BY `type` ASC");		
                    
72				$fields['type'] = @implode(', ', $types);
                    
130			
                    
131			$pages = $this->_Parent->Database->fetch("SELECT * FROM `tbl_pages` WHERE `id` != '{$page_id}' ORDER BY `title` ASC");
                    
132			
                    
232				# Delegate: Delete
                    
233				# Description: Prior to deletion. Provided with Page's database ID
                    
234				//$ExtensionManager->notifyMembers('Delete', getCurrentPage(), array('page' => $page_id));
                    
235
                    
236			    $page = $this->_Parent->Database->fetchRow(0, "SELECT * FROM tbl_pages WHERE `id` = '$page_id'");
                    
237
                    
                
contentRenderer.cfc https://github.com/ngocthanhit/MuraCMS.git | ColdFusion CFScript | 1012 lines
                    
25provided that these modules (a) may only modify the �/trunk/www/plugins/ directory through the Mura CMS
                    
26plugin installation API, (b) must not alter any default objects in the Mura CMS database
                    
27and (c) must not alter any files in the following directories except in cases where the code contains
                    
                
content_switches.h https://github.com/chromium/chromium.git | C Header | 300 lines
                    
45CONTENT_EXPORT extern const char kDisableBlinkFeatures[];
                    
46CONTENT_EXPORT extern const char kDisableDatabases[];
                    
47CONTENT_EXPORT extern const char kDisableDisplayList2dCanvas[];
                    
                
content_index_database_unittest.cc https://github.com/chromium/chromium.git | C++ | 538 lines
                    
124              blink::mojom::kInvalidServiceWorkerRegistrationId);
                    
125    database_ = std::make_unique<ContentIndexDatabase>(
                    
126        &browser_context_, embedded_worker_test_helper_.context_wrapper());
                    
235
                    
236  ContentIndexDatabase* database() { return database_.get(); }
                    
237
                    
299  scoped_refptr<ServiceWorkerRegistration> service_worker_registration_;
                    
300  std::unique_ptr<ContentIndexDatabase> database_;
                    
301};
                    
302
                    
303TEST_F(ContentIndexDatabaseTest, DatabaseOperations) {
                    
304  // Initially database will be empty.
                    
328
                    
329TEST_F(ContentIndexDatabaseTest, DatabaseOperationsBadSWID) {
                    
330  url::Origin other_origin = url::Origin::Create(GURL("https://other.com"));
                    
                
content_index_database.cc https://github.com/chromium/chromium.git | C++ | 667 lines
                    
130
                    
131ContentIndexDatabase::ContentIndexDatabase(
                    
132    BrowserContext* browser_context,
                    
138
                    
139ContentIndexDatabase::~ContentIndexDatabase() = default;
                    
140
                    
140
                    
141void ContentIndexDatabase::AddEntry(
                    
142    int64_t service_worker_registration_id,
                    
176      icons.size(),
                    
177      base::BindOnce(&ContentIndexDatabase::DidSerializeIcons,
                    
178                     weak_ptr_factory_.GetWeakPtr(),
                    
254
                    
255void ContentIndexDatabase::DeleteEntryImpl(
                    
256    int64_t service_worker_registration_id,
                    
                
content_subresource_filter_throttle_manager_unittest.cc https://github.com/chromium/chromium.git | C++ | 1174 lines
                    
30#include "components/subresource_filter/content/browser/content_subresource_filter_web_contents_helper.h"
                    
31#include "components/subresource_filter/content/browser/fake_safe_browsing_database_manager.h"
                    
32#include "components/subresource_filter/content/browser/profile_interaction_manager.h"
                    
246        web_contents, throttle_manager_test_support_->profile_context(),
                    
247        /*database_manager=*/nullptr, dealer_handle_.get());
                    
248
                    
                
content_subresource_filter_throttle_manager.h https://github.com/chromium/chromium.git | C Header | 427 lines
                    
16#include "base/supports_user_data.h"
                    
17#include "components/safe_browsing/core/browser/db/database_manager.h"
                    
18#include "components/subresource_filter/content/browser/subframe_navigation_filtering_throttle.h"
                    
124      SubresourceFilterProfileContext* profile_context,
                    
125      scoped_refptr<safe_browsing::SafeBrowsingDatabaseManager>
                    
126          database_manager,
                    
155      SubresourceFilterProfileContext* profile_context,
                    
156      scoped_refptr<safe_browsing::SafeBrowsingDatabaseManager>
                    
157          database_manager,
                    
                
content_extractor_browsertest.cc https://github.com/chromium/chromium.git | C++ | 439 lines
                    
33#include "components/dom_distiller/core/task_tracker.h"
                    
34#include "components/leveldb_proto/public/proto_database.h"
                    
35#include "components/leveldb_proto/public/proto_database_provider.h"
                    
                
content_switches.h https://gitlab.com/jonnialva90/iridium-browser | C Header | 303 lines
                    
37CONTENT_EXPORT extern const char kDisablePreferCompositingToLCDText[];
                    
38CONTENT_EXPORT extern const char kDisableDatabases[];
                    
39CONTENT_EXPORT extern const char kDisableDelayAgnosticAec[];
                    
                
content_switches.cc https://gitlab.com/jonnialva90/iridium-browser | C++ | 968 lines
                    
90// Disables HTML5 DB support.
                    
91const char kDisableDatabases[]              = "disable-databases";
                    
92
                    
                
content_extractor_browsertest.cc https://gitlab.com/jonnialva90/iridium-browser | C++ | 429 lines
                    
26#include "components/dom_distiller/core/task_tracker.h"
                    
27#include "components/leveldb_proto/proto_database.h"
                    
28#include "components/leveldb_proto/proto_database_impl.h"
                    
125
                    
126  // TODO(cjhopman): use an in-memory database instead of an on-disk one with
                    
127  // temporary directory.
                    
127  // temporary directory.
                    
128  scoped_ptr<leveldb_proto::ProtoDatabaseImpl<ArticleEntry> > db(
                    
129      new leveldb_proto::ProtoDatabaseImpl<ArticleEntry>(
                    
                
content.md https://gitlab.com/apachipa/docs | Markdown | 102 lines
                    
30
                    
314.	If this is a new database, you'll need to run `upgrade`
                    
32
                    
77
                    
78Database credentials for your Postgres server. These values aren't needed if a linked `postgres` container exists.
                    
79
                    
                
ContentFilesystem.java https://gitlab.com/bsan/ionicDev | Java | 319 lines
                    
38import android.content.ContentResolver;
                    
39import android.database.Cursor;
                    
40import android.net.Uri;
                    
                
content_types_controller_spec.rb https://github.com/next-l/enju_leaf.git | Ruby | 174 lines
                    
111        content_type = ContentType.create! valid_attributes
                    
112        # Assuming there are no other content_types in the database, this
                    
113        # specifies that the ContentType created on the previous line
                    
                
ContentController.php https://github.com/manubamba/site.git | PHP | 1382 lines
                    
215
                    
216			// Get all content types from the database
                    
217			$modelContentTypes = new Default_Model_ContentTypes();
                    
224
                    
225			 // If set content type exists in database, invalidContentType
                    
226			 // is set to false
                    
282
                    
283			// Content type id is needed when adding content  to database
                    
284			$contentTypeId = $modelContentTypes->getIdByType($contentType);
                    
396
                    
397				// If form data is valid, handle database insertions
                    
398				$validForm = $form->isValid($data) ? true : (isset($data['content_save']) && $data['content_save'] != '');
                    
                
ContentLibrary.pm https://github.com/geuma/pDLNA.git | Perl | 1774 lines
                    
29use PDLNA::Config;
                    
30use PDLNA::Database;
                    
31use PDLNA::FFmpeg;
                    
40	{
                    
41		my $dbh = PDLNA::Database::connect();
                    
42		$dbh->{AutoCommit} = 0;
                    
82		# update our timestamp when finished
                    
83		PDLNA::Database::update_db(
                    
84			$dbh,
                    
107
                    
108		PDLNA::Database::disconnect($dbh);
                    
109
                    
256				my @results = ();
                    
257				PDLNA::Database::select_db(
                    
258					$dbh,
                    
                
Content.php https://github.com/gauravk90/site.git | PHP | 1506 lines
                    
2/**
                    
3 *  Content -> Content database model for content table.
                    
4 *
                    
405	 *
                    
406	 *   Gets content by name from database. This is used in search function.
                    
407	 *
                    
407	 *
                    
408	 *   This function rapes your database, when there's lots of content.
                    
409	 *   To fix this the <LIKE %searchTerm%> in query
                    
482	 *
                    
483	 *   This also helps to rape your database.
                    
484	 *   Should find a better way to retrieve the total
                    
                
ContentController.php https://github.com/gauravk90/site.git | PHP | 1373 lines
                    
215
                    
216			// Get all content types from the database
                    
217			$modelContentTypes = new Default_Model_ContentTypes();
                    
224
                    
225			 // If set content type exists in database, invalidContentType
                    
226			 // is set to false
                    
282
                    
283			// Content type id is needed when adding content  to database
                    
284			$contentTypeId = $modelContentTypes->getIdByType($contentType);
                    
394
                    
395				// If form data is valid, handle database insertions
                    
396				if ($form->isValid($data)) {
                    
                
Content.php https://github.com/jiiarra/site.git | PHP | 1505 lines
                    
2/**
                    
3 *  Content -> Content database model for content table.
                    
4 *
                    
408	 *
                    
409	 *   Gets content by name from database. This is used in search function.
                    
410	 *
                    
410	 *
                    
411	 *   This function rapes your database, when there's lots of content.
                    
412	 *   To fix this the <LIKE %searchTerm%> in query
                    
                
 

Source

Language