PageRenderTime 41ms queryTime 79ms sortTime 1ms getByIdsTime 109ms findMatchingLines 33ms

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

Not the results you expected?
content.php https://github.com/dg482/joomla-platform.git | PHP | 391 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	 *
                    
88
                    
89			// Get the asset id from the database.
                    
90			$this->_db->setQuery($query);
                    
272		{
                    
273			$this->setError(JText::_('JLIB_DATABASE_ERROR_ARTICLE_UNIQUE_ALIAS'));
                    
274			return false;
                    
                
contentbuilderitems.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 324 lines
                    
110    /**
                    
111     * @return JDatabaseQuery
                    
112     */
                    
277   	 *
                    
278   	 * @return	JDatabaseQuery
                    
279   	 * @since	1.6
                    
                
content.php https://github.com/Hackwar/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
                    
                
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://bitbucket.org/camcory/android_packages_apps_email.git | Java | 299 lines
                    
28import android.content.Context;
                    
29import android.database.Cursor;
                    
30import android.database.CursorWrapper;
                    
30import android.database.CursorWrapper;
                    
31import android.database.MatrixCursor;
                    
32import android.net.Uri;
                    
                
ContentProviderNative.cs https://bitbucket.org/festevezga/xobotos.git | C# | 183 lines
                    
67
                    
68		public abstract android.database.Cursor query(System.Uri arg1, string[] arg2, string
                    
69			 arg3, string[] arg4, string arg5);
                    
92		[Sharpen.ImplementsInterface(@"android.content.IContentProvider")]
                    
93		public android.database.Cursor query(System.Uri url, string[] projection, string 
                    
94			selection, string[] selectionArgs, string sortOrder)
                    
                
ContentProviderAccessor.java https://bitbucket.org/kavi707/fkf_resturent_app.git | Java | 333 lines
                    
1package com.fkf.resturent.database.dbprovider;
                    
2
                    
5import android.content.Context;
                    
6import android.database.Cursor;
                    
7import android.net.Uri;
                    
8import android.util.Log;
                    
9import com.fkf.resturent.database.LocalDatabaseSQLiteOpenHelper;
                    
10import com.fkf.resturent.database.PopularOrLatestRecipe;
                    
10import com.fkf.resturent.database.PopularOrLatestRecipe;
                    
11import com.fkf.resturent.database.Recipe;
                    
12
                    
27    /**
                    
28     * save new updated time stamp in database
                    
29     * @param newModifiedTimeStamp
                    
33        ContentValues values = new ContentValues();
                    
34        values.put(LocalDatabaseSQLiteOpenHelper.MODIFIED_TIME_STAMP, newModifiedTimeStamp);
                    
35
                    
                
ContentObserverTest.java https://gitlab.com/brian0218/rk3288_r-box_android4.4.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()
                    
                
contenthistory.php https://bitbucket.org/ke2083/transfans.co.uk-website.git | PHP | 384 lines
                    
187	/**
                    
188	 * Method to query the database using values from lookup objects.
                    
189	 *
                    
192	 *
                    
193	 * @return  mixed  Value from database (for example, name or title) on success, false on failure.
                    
194	 *
                    
                
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/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/snowindy/medsite.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
                    
                
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_types.rb https://github.com/jackzhuo/engine.git | Ruby | 243 lines
                    
56      def content_types
                    
57        database['site']['content_types']
                    
58      end
                    
                
ContentService.cs https://bitbucket.org/festevezga/xobotos.git | C# | 356 lines
                    
51		public override void registerContentObserver(System.Uri uri, bool notifyForDescendents
                    
52			, android.database.IContentObserver observer)
                    
53		{
                    
58		[Sharpen.ImplementsInterface(@"android.content.IContentService")]
                    
59		public override void unregisterContentObserver(android.database.IContentObserver 
                    
60			observer)
                    
66		[Sharpen.ImplementsInterface(@"android.content.IContentService")]
                    
67		public override void notifyChange(System.Uri uri, android.database.IContentObserver
                    
68			 observer, bool observerWantsSelfNotifications, bool syncToNetwork)
                    
77
                    
78			internal readonly android.database.IContentObserver mObserver;
                    
79
                    
82			[Sharpen.Stub]
                    
83			internal ObserverCall(android.content.ContentService.ObserverNode node, android.database.IContentObserver
                    
84				 observer, bool selfNotify)
                    
                
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
                    
                
ContentFilesystem.java https://gitlab.com/boxnia/NFU_MOVIL | Java | 216 lines
                    
22import android.content.Context;
                    
23import android.database.Cursor;
                    
24import android.net.Uri;
                    
                
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/robschley/joomla-platform.git | PHP | 364 lines
                    
23	 *
                    
24	 * @param   JDatabaseDriver  $db  A database connector object
                    
25	 *
                    
27	 */
                    
28	public function __construct(JDatabaseDriver $db)
                    
29	{
                    
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
                    
                
content.php https://bitbucket.org/seyar/kinda.local.git | PHP | 222 lines
                    
77        
                    
78            $query = DB::query(Database::SELECT, 
                    
79            'SELECT content.* FROM content '
                    
                
Content.php https://bitbucket.org/ke2083/transfans.co.uk-website.git | PHP | 357 lines
                    
31	 *
                    
32	 * @param   \JDatabaseDriver  $db  A database connector object
                    
33	 *
                    
36	 */
                    
37	public function __construct(\JDatabaseDriver $db)
                    
38	{
                    
101
                    
102			// Get the asset id from the database.
                    
103			$this->_db->setQuery($query);
                    
349		{
                    
350			$this->setError(\JText::_('JLIB_DATABASE_ERROR_ARTICLE_UNIQUE_ALIAS'));
                    
351
                    
                
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,
                    
                
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.php https://github.com/andergmartins/joomla-platform.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/mucill/majalengka | PHP | 275 lines
                    
25define('INDEX_AUTH', '1');
                    
26// key to get full database access
                    
27define('DB_ACCESS', 'fa');
                    
                
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/Kichrum/joomla-test.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	 *
                    
                
content.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 373 lines
                    
89	/**
                    
90	* @param database A database connector object
                    
91	*/
                    
                
ContentResolver.java https://github.com/JTroniks/CyanogenMod-7.git | Java | 62 lines
                    
5public final  java.lang.String getType(android.net.Uri url) { throw new RuntimeException("Stub!"); }
                    
6public final  android.database.Cursor query(android.net.Uri uri, java.lang.String[] projection, java.lang.String selection, java.lang.String[] selectionArgs, java.lang.String sortOrder) { throw new RuntimeException("Stub!"); }
                    
7public final  java.io.InputStream openInputStream(android.net.Uri uri) throws java.io.FileNotFoundException { throw new RuntimeException("Stub!"); }
                    
18public final  android.content.ContentProviderClient acquireContentProviderClient(java.lang.String name) { throw new RuntimeException("Stub!"); }
                    
19public final  void registerContentObserver(android.net.Uri uri, boolean notifyForDescendents, android.database.ContentObserver observer) { throw new RuntimeException("Stub!"); }
                    
20public final  void unregisterContentObserver(android.database.ContentObserver observer) { throw new RuntimeException("Stub!"); }
                    
20public final  void unregisterContentObserver(android.database.ContentObserver observer) { throw new RuntimeException("Stub!"); }
                    
21public  void notifyChange(android.net.Uri uri, android.database.ContentObserver observer) { throw new RuntimeException("Stub!"); }
                    
22public  void notifyChange(android.net.Uri uri, android.database.ContentObserver observer, boolean syncToNetwork) { throw new RuntimeException("Stub!"); }
                    
                
content-update.sql https://github.com/iuri/PWTI.git | SQL | 211 lines
                    
180    dbms_output.put_line('Creating CR_SCHEDULED_RELEASE_JOB table ' ||
                    
181     'for tracking database job for scheduled publishing...');
                    
182
                    
                
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.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.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.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
                    
                
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;
                    
                
ContentProvider.java https://gitlab.com/brian0218/rk3066_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/rk3066_r-box_android4.2.2_sdk | Java | 465 lines
                    
23import android.content.IContentProvider;
                    
24import android.database.Cursor;
                    
25import android.net.Uri;
                    
                
ContentResolverTest.java https://gitlab.com/brian0218/rk3066_r-box_android4.2.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();
                    
                
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 );");
                    
                
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;
                    
                
ContentService.java https://gitlab.com/brian0218/rk3188_r-box_android4.2.2_sdk | Java | 838 lines
                    
20import android.app.ActivityManager;
                    
21import android.database.IContentObserver;
                    
22import android.database.sqlite.SQLiteException;
                    
                
ContentProviderNative.java https://gitlab.com/brian0218/rk3188_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;
                    
                
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_;
                    
                
ContentService.java https://bitbucket.org/festevezga/xobotos.git | Java | 716 lines
                    
19import android.accounts.Account;
                    
20import android.database.IContentObserver;
                    
21import android.database.sqlite.SQLiteException;
                    
                
ContentResolver.java https://bitbucket.org/festevezga/xobotos.git | Java | 1201 lines
                    
27import android.content.res.Resources;
                    
28import android.database.ContentObserver;
                    
29import android.database.Cursor;
                    
29import android.database.Cursor;
                    
30import android.database.CursorWrapper;
                    
31import android.database.IContentObserver;
                    
                
ContentProviderNative.java https://bitbucket.org/festevezga/xobotos.git | Java | 624 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.CursorToBulkCursorAdaptor;
                    
24import android.database.CursorWindow;
                    
25import android.database.DatabaseUtils;
                    
26import android.database.IBulkCursor;
                    
26import android.database.IBulkCursor;
                    
27import android.database.IContentObserver;
                    
28import android.net.Uri;
                    
299        } catch (Exception e) {
                    
300            DatabaseUtils.writeExceptionToParcel(reply, e);
                    
301            return true;
                    
                
content_files_modal.php https://bitbucket.org/mbaily/tremain.git | PHP | 478 lines
                    
84	 *	2. Next, it calls Filemanager's upload_file
                    
85	 *		- That uploads the file and adds it to the database
                    
86	 *	3. Then it generates a response based upon Filemanager's response:
                    
131
                    
132		// Both uploads the file and adds it to the database
                    
133		$upload_response = $this->filemanager->upload_file($file_dir, FALSE, $restrict_image);
                    
                
ContentMapBuilder.php https://bitbucket.org/ferOnti/processmaker.git | PHP | 84 lines
                    
7/**
                    
8 * This class adds structure of 'CONTENT' table to 'workflow' DatabaseMap object.
                    
9 *
                    
27    /**
                    
28     * The database map.
                    
29     */
                    
32    /**
                    
33     * Tells us if this DatabaseMapBuilder is built so that we
                    
34     * don't have to re-build it every time.
                    
35     *
                    
36     * @return     boolean true if this DatabaseMapBuilder is built, false otherwise.
                    
37     */
                    
43    /**
                    
44     * Gets the databasemap this map builder built.
                    
45     *
                    
                
contenttype.py https://github.com/goldenboy/skiheilw2p.git | Python | 718 lines
                    
9CONTENT_TYPE dictionary created against freedesktop.org' shared mime info
                    
10database version 0.70.
                    
11"""
                    
359    '.oda': 'application/oda',
                    
360    '.odb': 'application/vnd.oasis.opendocument.database',
                    
361    '.odc': 'application/vnd.oasis.opendocument.chart',
                    
                
ContentCache.java https://bitbucket.org/camcory/android_packages_apps_email.git | Java | 850 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;
                    
53 * 1. Get a CacheToken: CacheToken token = cache.getToken(id);
                    
54 * 2. Get a cursor from the database: Cursor cursor = db.query(....);
                    
55 * 3. Put the cursor in the cache: cache.putCursor(cursor, id, token);
                    
                
ContentValue.html https://github.com/rst/rst.github.com.git | HTML | 393 lines
                    
32of a data source in a <a name="org.positronicnet.content.ContentRepository" class="extype" href="ContentRepository.html">ContentRepository</a> ---
                    
33currently, a SQLite database or Android ContentProvider.</p><p>NB that there are implicit conversions in the ContentValue
                    
34companion object that coerce various primitive types to a
                    
39SQLite convention of converting them to an integer 0 (false)
                    
40or 1 (true).</p><p>A further implementation note:</p><p>Android's Database API has two forms of binding:  in a lot
                    
41of places, you can stuff things into a contentValues, which
                    
                
ContentRepository.html https://github.com/rst/rst.github.com.git | HTML | 408 lines
                    
30      
                    
31          <div class="fullcommenttop" id="comment"><div class="comment cmt"><p>Generic interface to &quot;content repositories&quot;, including databases
                    
32and ContentResolvers.  Each repository can host multiple &quot;sources&quot;
                    
32and ContentResolvers.  Each repository can host multiple &quot;sources&quot;
                    
33(tables in a database, ContentProviders for the content resolver,
                    
34etc.).  Ordinarily these methods aren't invoked directly, but instead
                    
40semantics much.</p><p>The type parameters are the type of the handle to the underlying Android
                    
41objects (e.g., a <code>SQLiteDatabase</code>) and the type of the row IDs returned
                    
42by <code>insert</code>.  (Note that most of the
                    
44specification of a String <code>where</code> argument which can name a source with
                    
45more specificity, e.g., a table within a database.)</p><p>For use with the ORM, the latter must be <code>Long</code>; thus, for
                    
46instance, the ORM can handle a
                    
127        
                    
128        <span class="params">(<span name="whence">whence: SourceType</span>, <span name="cols">cols: <span name="scala.Array" class="extype">Array</span>[String]</span>, <span name="where">where: String</span>, <span name="whereArgs">whereArgs: <span name="scala.Array" class="extype">Array</span>[String]</span>, <span name="groupBy">groupBy: String</span>, <span name="having">having: String</span>, <span name="order">order: String</span>, <span name="limit">limit: String</span>)</span><span class="result">: <span name="android.database.Cursor" class="extype">Cursor</span></span>
                    
129      </span>
                    
                
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)) {
                    
                
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());
                    
                
ContentProviderNative.java https://github.com/semiecho/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/semiecho/android_frameworks_base.git | Java | 842 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 *
                    
                
content.py https://github.com/chandankumar2199/askbot-devel.git | Python | 398 lines
                    
127        ``subscription_records`` - query set of ``~askbot.models.EmailFeedSetting``
                    
128        this argument is used to reduce number of database queries
                    
129        """
                    
                
content_block_test.rb https://github.com/Doap/browsercms.git | Ruby | 333 lines
                    
92
                    
93  test "Destroying a block should mark it as deleted, rather than remove it from the database" do
                    
94    @block.destroy
                    
97    assert_equal 1, found.size, "Should find one record"
                    
98    assert_not_nil found[0], "A block should still exist in the database"
                    
99    assert_equal true, found[0].deleted, "It's published flag should be true"
                    
                
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_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):
                    
                
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
                    
                
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;
                    
                
ContentResolverTest.java https://github.com/roberttaylor426/robolectric.git | Java | 365 lines
                    
25import android.app.Activity;
                    
26import android.database.Cursor;
                    
27import android.net.Uri;
                    
30import com.xtremelabs.robolectric.WithTestDefaultsRunner;
                    
31import com.xtremelabs.robolectric.tester.android.database.TestCursor;
                    
32
                    
55    public void insert_shouldReturnIncreasingUris() throws Exception {
                    
56        shadowContentResolver.setNextDatabaseIdForInserts(21);
                    
57
                    
                
content.php https://bitbucket.org/ke2083/transfans.co.uk-website.git | PHP | 379 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)
                    
335	 *
                    
336	 * @return  JDatabaseQuery  A database object.
                    
337	 *
                    
                
ContentsUtils.java https://bitbucket.org/kshark27/just-player.git | Java | 981 lines
                    
49import android.content.pm.ProviderInfo;
                    
50import android.database.Cursor;
                    
51import android.net.Uri;
                    
                
content.php https://bitbucket.org/simancms/simancms.git | PHP | 568 lines
                    
41					$ctg=[];
                    
42					while ($row = database_fetch_assoc($result))
                    
43						{
                    
171					$result = execsql($sql);
                    
172					while ($row = database_fetch_object($result))
                    
173						{
                    
219				$ctg_id = intval(sm_getvars('ctgid'));
                    
220			$sql = "SELECT ".database_get_fn_name('rand')."() as rndrow,".sm_table_prefix()."content.*, ".sm_table_prefix()."categories.* FROM ".sm_table_prefix()."content, ".sm_table_prefix()."categories WHERE ".sm_table_prefix()."content.id_category_c=".sm_table_prefix()."categories.id_category";
                    
221			$sql .= ' AND '.sm_table_prefix().'categories.can_view<='.SM::User()->Level();
                    
236					$i = 0;
                    
237					while ($row = database_fetch_assoc($result))
                    
238						{
                    
370									$j = 0;
                    
371									while ($tmprow = database_fetch_assoc($tmpresult))
                    
372										{
                    
                
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	 *
                    
                
ContentResolverTestMock.java https://github.com/zhangyongjiang/SORMA.git | Java | 374 lines
                    
14import android.content.ContentValues;
                    
15import android.database.Cursor;
                    
16
                    
34        final Statement statement = connection.createStatement();
                    
35        ormDefinition.createDatabase(new SqlExecutor() {
                    
36            public void execute(String sql) throws Exception {
                    
                
content-item-procs.tcl https://github.com/iuri/PWTI.git | TCL | 896 lines
                    
159
                    
160    Delete a content item from the database. If the content item
                    
161    to delete has children content items referencing its parent
                    
                
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 ),
                    
                
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>
                    
                
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  }
                    
                
ContentProvider.cs https://bitbucket.org/festevezga/xobotos.git | C# | 363 lines
                    
61			[Sharpen.ImplementsInterface(@"android.content.IContentProvider")]
                    
62			public override android.database.Cursor query(System.Uri uri, string[] projection
                    
63				, string selection, string[] selectionArgs, string sortOrder)
                    
248		[Sharpen.Stub]
                    
249		public abstract android.database.Cursor query(System.Uri uri, string[] projection
                    
250			, string selection, string[] selectionArgs, string sortOrder);
                    
                
content_visibility.php https://github.com/AJenbo/ubuntudanmark.dk.git | PHP | 863 lines
                    
22	/**
                    
23	* Database object
                    
24	* @var \phpbb\db\driver\driver_interface
                    
69	* @param	\phpbb\event\dispatcher_interface	$phpbb_dispatcher	Event dispatcher object
                    
70	* @param	\phpbb\db\driver\driver_interface	$db		Database object
                    
71	* @param	\phpbb\user		$user			User object
                    
                
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 ) . " )"
                    
                
content.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 399 lines
                    
31	 *
                    
32	 * @param   JDatabaseDriver  $db  A database connector object
                    
33	 *
                    
93
                    
94			// Get the asset id from the database.
                    
95			$this->_db->setQuery($query);
                    
297		{
                    
298			$this->setError(JText::_('JLIB_DATABASE_ERROR_ARTICLE_UNIQUE_ALIAS'));
                    
299
                    
310	/**
                    
311	 * Method to set the publishing state for a row or list of rows in the database
                    
312	 * table. The method respects checked out rows by other users and will attempt
                    
341			{
                    
342				$this->setError(JText::_('JLIB_DATABASE_ERROR_NO_ROWS_SELECTED'));
                    
343				return false;
                    
                
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
                    
                
content.php https://gitlab.com/lankerd/paGO---Testing-Site | 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
                    
                
ContentObject.php https://github.com/Shigaru/shigaru.git | PHP | 716 lines
                    
8 * to manage multi lingual sites especially in all dynamic information
                    
9 * which are stored in the database.
                    
10 *
                    
376	/**
                    
377	 * This method copies a currect database object into the translations
                    
378	 * The original object might be the same kind of object and it is not required that
                    
                
ContentElement.php https://github.com/Shigaru/shigaru.git | PHP | 483 lines
                    
8 * to manage multi lingual sites especially in all dynamic information
                    
9 * which are stored in the database.
                    
10 *
                    
210	/** Generating the sql statement to retrieve the information
                    
211	 * from the database
                    
212	 */
                    
304
                    
305	/** Generating the sql statement to retrieve the orphans information from the database
                    
306	 */
                    
                
Contents.m https://bitbucket.org/matthewbrett/spm-versions.git | Objective C | 366 lines
                    
38% connex.h                      1.2
                    
39% dbh.h                         (Mayo clinic database sub-definitions)
                    
40% spm.m                         2.64
                    
                
content_item_service.php https://github.com/mackensen/moodle.git | PHP | 391 lines
                    
107
                    
108        // Make sure the guest user exists in the database.
                    
109        if (!\core_user::get_user($CFG->siteguest)) {
                    
109        if (!\core_user::get_user($CFG->siteguest)) {
                    
110            throw new \coding_exception('The guest user does not exist in the database.');
                    
111        }
                    
                
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.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	 */
                    
                
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>
                    
                
ContentBlock.php https://gitlab.com/RonLab1987/YupePlusClear | PHP | 240 lines
                    
64    /**
                    
65     * @return string the associated database table name
                    
66     */
                    
                
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;
                    
                
ContentResolver.java https://github.com/Kali-/android_frameworks_base.git | Java | 1205 lines
                    
27import android.content.res.Resources;
                    
28import android.database.ContentObserver;
                    
29import android.database.CrossProcessCursorWrapper;
                    
29import android.database.CrossProcessCursorWrapper;
                    
30import android.database.Cursor;
                    
31import android.database.CursorWrapper;
                    
31import android.database.CursorWrapper;
                    
32import android.database.IContentObserver;
                    
33import android.net.Uri;
                    
                
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);
                    
                
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     */
                    
                
ContentProviderClient.java https://gitlab.com/drgroovestarr/frameworks_base | Java | 595 lines
                    
21import android.content.res.AssetFileDescriptor;
                    
22import android.database.CrossProcessCursorWrapper;
                    
23import android.database.Cursor;
                    
                
ContentProvider.java https://gitlab.com/drgroovestarr/frameworks_base | Java | 1167 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;
                    
64 * multiple applications you can use a database directly via
                    
65 * {@link android.database.sqlite.SQLiteDatabase}.
                    
66 *
                    
217                // We do not call ContentProvider#query with a modified where clause since
                    
218                // the implementation is not guaranteed to be backed by a SQL database, hence
                    
219                // it may not handle properly the tautology where clause we would have created.
                    
                
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 *
                    
                
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;
                    
                
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	 *
                    
                
content.php https://github.com/CCI-Studios/Wee-Magazine.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;
                    
                
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;
                    
                
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
                    
                
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',
                    
                
 

Source

Language