100+ results for 'requires mysql'
Not the results you expected?
test_results.py (https://gitlab.com/pooja043/Globus_Docker_1) Python · 220 lines
requests.go (https://gitlab.com/vectorci/kubernetes) Go · 199 lines
35 // Options to configure the type of datastore the instance will use. This is
36 // optional, and if excluded will default to MySQL.
37 Datastore *os.DatastoreOpts
89 }
91 // Create asynchronously provisions a new database instance. It requires the
92 // user to specify a flavor and a volume size. The API service then provisions
93 // the instance with the requested flavor and sets up a volume of the specified
96 // Although this call only allows the creation of 1 instance per request, you
97 // can create an instance with multiple databases and users. The default
98 // binding for a MySQL instance is port 3306.
99 func Create(client *gophercloud.ServiceClient, opts os.CreateOptsBuilder) CreateResult {
100 return CreateResult{os.Create(client, opts)}
mysql_server_backup_spec.rb (https://gitlab.com/renatoruk/twentypress) Ruby · 405 lines
1 require 'spec_helper'
3 describe 'mysql::server::backup' do
4 on_supported_os.each do |os, facts|
5 context "on #{os}" do
29 it { is_expected.to contain_mysql_grant('testuser@localhost/*.*').with(
30 :privileges => ['SELECT', 'RELOAD', 'LOCK TABLES', 'SHOW VIEW', 'PROCESS']
31 ).that_requires('Mysql_user[testuser@localhost]') }
33 context 'with triggers included' do
37 it { is_expected.to contain_mysql_grant('testuser@localhost/*.*').with(
38 :privileges => ['SELECT', 'RELOAD', 'LOCK TABLES', 'SHOW VIEW', 'PROCESS', 'TRIGGER']
39 ).that_requires('Mysql_user[testuser@localhost]') }
40 end
154 is_expected.to contain_file('mysqlbackup.sh').with_content(
155 /mysql | bzcat -zc \${DIR}\\\${PREFIX}mysql_`date'/
156 )
157 end
license.txt (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 505 lines
183 (For example, a function in a library to compute square roots has
184 a purpose that is entirely well-defined independent of the
185 application. Therefore, Subsection 2d requires that any
186 application-supplied function or table used by this function must
187 be optional: if the application does not supply it, the square
container_test.rb (https://gitlab.com/oytunistrator/hanami) Ruby · 310 lines
5 describe Hanami::Commands::New::Container do
6 describe 'with invalid arguments' do
7 it 'requires application name' do
8 with_temp_dir do |original_wd|
9 exception = -> { Hanami::Commands::New::Container.new({}, nil) }.must_raise ArgumentError
168 it 'generates specific files for mysql2' do
169 with_temp_dir do |original_wd|
170 database = Hanami::Utils.jruby? ? :mysql : :mysql2
171 command = Hanami::Commands::New::Container.new({ database: 'mysql2' }, 'new_container')
180 actual_content.must_include("DATABASE_URL=\"#{ adapter_prefix }#{ database }://localhost/new_container_test\"")
182 assert_generated_file(fixture_root.join("Gemfile.#{ adapter_prefix }mysql2"), 'Gemfile')
183 assert_generated_file(fixture_root.join('lib', 'new_container.mysql2.rb'), 'lib/new_container.rb')
string.js (https://github.com/Babay88/moose.git) JavaScript · 297 lines
25 var checkStringType = function(type, cmpFun) {
26 return function(val) {
27 if (typeof val != "string") throw new Error(type + " requires a string type.");
28 cmpFun && cmpFun(val);
29 };
34 *
35 *
36 * Mysql CHAR datatype
37 *
38 * @function
46 *
47 * @name CHAR
48 * @memberOf moose.adapters.mysql.types
49 *
50 */
schema.sql (https://bitbucket.org/bayrock/gw2spidy.git) SQL · 294 lines
2 # This is a fix for InnoDB in MySQL >= 4.1.x
3 # It "suspends judgement" for fkey relationships until are tables are set.
4 SET FOREIGN_KEY_CHECKS = 0;
129 `profit` INTEGER,
130 `updated` DATETIME,
131 `requires_unlock` INTEGER DEFAULT 0 NOT NULL,
132 `gw2db_id` INTEGER,
133 `gw2db_external_id` INTEGER,
Result.php (https://github.com/necrogami/zf2.git) PHP · 307 lines
24 /**
25 * @var \mysqli|\mysqli_result|\mysqli_stmt
26 */
27 protected $resource = null;
80 public function initialize($resource, $generatedValue, $isBuffered = null)
81 {
82 if (!$resource instanceof \mysqli && !$resource instanceof \mysqli_result && !$resource instanceof \mysqli_stmt) {
83 throw new Exception\InvalidArgumentException('Invalid resource provided.');
84 }
138 public function getAffectedRows()
139 {
140 if ($this->resource instanceof \mysqli || $this->resource instanceof \mysqli_stmt) {
141 return $this->resource->affected_rows;
142 } else {
CleanSpec.mk
(git://github.com/RevNumbers/android_device_motorola_targa.git)
Makefile · 49 lines
✨ Summary
This Makefile code provides instructions for cleaning up intermediate files and directories during a build process. It allows users to add custom clean steps, such as touching or deleting specific files, without affecting previous clean steps. Newer clean steps must be added at the end of the list to ensure they are executed last.
This Makefile code provides instructions for cleaning up intermediate files and directories during a build process. It allows users to add custom clean steps, such as touching or deleting specific files, without affecting previous clean steps. Newer clean steps must be added at the end of the list to ensure they are executed last.
xattr.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 692 lines
✨ Summary
This C code implements a generic interface for extended attributes (EAs) on Linux file systems. It provides functions to get, list, set, and remove EAs with different prefixes, allowing multiple file systems to implement their own EA operations without modifying the underlying API. The generic_
functions dispatch calls to xattr handlers based on the EA prefix.
This C code implements a generic interface for extended attributes (EAs) on Linux file systems. It provides functions to get, list, set, and remove EAs with different prefixes, allowing multiple file systems to implement their own EA operations without modifying the underlying API. The generic_
functions dispatch calls to xattr handlers based on the EA prefix.
exporter.php (https://github.com/pjwiseman/joomla-cms.git) PHP · 230 lines
lilypond.xml (git://github.com/abeaumont/factor.git) XML · 819 lines
README.md (https://bitbucket.org/rafaelmoreira/prezto.git) Markdown · 158 lines
content.md (https://gitlab.com/apachipa/docs) Markdown · 80 lines
7 # Notary Server
9 The Notary server manages JSON formatted TUF (The Update Framework) metadata for Notary clients and the docker command line tool's Docker Content Trust features. It requires a companion Notary signer instance and a MySQL (or MariaDB) database.
11 ## How to use this image
32 },
33 "storage": {
34 "backend": "mysql",
35 "db_url": "server@tcp(mysql:3306)/notaryserver?parseTime=True"
37 }
39 The components you *must* provide are the certificates and keys, and the links for the `notarysigner` and `mysql` hostnames. The `root-ca.crt` file enables the Notary server to identify valid signers, which it communicates with over mutual TLS using a GRPC interface. The `notary-server.crt` and`notary-server.key` are used to identify this service to both external clients, and signer instances. All the certificate and key files must be readable by the notary user which is created inside the container and owns the notary-server process.
41 If you require a different configuration, you should wrap this image with your own Dockerfile.
45 # Notary Signer
47 The Notary signer is a support service for the Notary server. It manages private keys and performs all signing operations. It requires a MySQL (or MariaDB) database.
49 ## How to use this image
handle_matrix_views.c (https://github.com/GunioRobot/riotdb.git) C · 420 lines
10 #include <stdlib.h>
11 #include <string.h>
12 #include <mysql.h>
13 #include "basics.h"
14 #include "handle_vector_views.h"
21 /* --------------------- Functions to create views -------------------- */
22 int createNewIntegerMatrixView(MYSQL * sqlConn, rdbMatrix * viewMatrix,
23 char sqlString[])
24 {
28 }
30 int createNewDoubleMatrixView(MYSQL * sqlConn, rdbMatrix * viewMatrix,
31 char sqlString[])
32 {
AtomicComposition.cs
(https://hg01.codeplex.com/compositeapp)
C# · 343 lines
✨ Summary
The provided C# code defines a class AtomicComposition
that represents a nested composition of values and actions. It provides methods for adding, retrieving, and completing atomic compositions, with features like automatic expansion of storage when needed and handling overwrites quickly. The class also includes validation checks to prevent misuse or unexpected behavior.
The provided C# code defines a class AtomicComposition
that represents a nested composition of values and actions. It provides methods for adding, retrieving, and completing atomic compositions, with features like automatic expansion of storage when needed and handling overwrites quickly. The class also includes validation checks to prevent misuse or unexpected behavior.
85 ThrowIfContainsInnerAtomicComposition();
87 Requires.NotNull(key, "key");
89 SetValueInternal(key, value);
101 ThrowIfCompleted();
103 Requires.NotNull(key, "key");
105 return TryGetValueInternal(key, localAtomicCompositionOnly, out value);
112 ThrowIfContainsInnerAtomicComposition();
114 Requires.NotNull(completeAction, "completeAction");
116 if (this._completeActionList == null)
template-rubygem.spec (git://github.com/repoforge/rpms.git) Unknown · 89 lines
CompositePK_Test.cs
(http://dblinq2007.googlecode.com/svn/trunk/)
C# · 200 lines
✨ Summary
This C# code is a test suite for a database application, specifically testing composite primary keys and identity columns. It creates a Northwind database, inserts data, updates, deletes, and verifies that changes are persisted correctly. The tests cover various scenarios, including updating an unchanged column, deleting rows with composite keys, and verifying object identity.
This C# code is a test suite for a database application, specifically testing composite primary keys and identity columns. It creates a Northwind database, inserts data, updates, deletes, and verifies that changes are persisted correctly. The tests cover various scenarios, including updating an unchanged column, deleting rows with composite keys, and verifying object identity.
36 // test ns
37 #if MYSQL
38 namespace Test_NUnit_MySql
86 //delete any rows from previous testing
87 Northwind db = CreateDB();
88 // PC: this test was wrong, DeleteOnSubmit requires the object to be attached
89 // (by query result or manually, we chose here the query result)
90 //var orderDetail = new OrderDetail { OrderID = 3, ProductID = 2 };
PConfig.xml.php (https://bitbucket.org/mjdaley1/projectorcontrol.git) PHP · 117 lines
10 */
12 //Script requires Zend Framework 1.0.3+ to be installed and in the include_path directive
13 //Require Zend_DB database abstractrion class
14 require_once 'Zend/Db.php';
17 //Setup and connect the database
18 $db = Zend_Db::factory('Mysqli', array(
19 'host' => 'localhost',
20 'username' => 'configWeb',
2012-12-23-gitlab-4-release.html.md (https://gitlab.com/madhancock/www-gitlab-com) Markdown · 89 lines
46 * In admin area projects, users and groups sorted alphabetically
47 * Issue management page on dashboard improved
48 * Better integration with GitLab CI ( requires GitLab CI v1.1.1 )
50 ### What we removed in 4.0:
77 ### How to migrate from sqlite
79 * [Follow this guide](https://github.com/gitlabhq/gitlabhq/wiki/Migrate-from-SQLite-to-MySQL)
81 ### How to install GitLab v4.0.0
strings.txt.pl (https://bitbucket.org/baris/pardus-projects.git) Perl · 132 lines
66 WARNING: You need to set the max_allowed_packet parameter in your MySQL
67 configuration to at least ##needed##. Currently it is set to ##current##.
68 You can set this parameter in the [mysqld] section of your MySQL
69 configuration file.
70 EOT
78 * DATABASE ACCESS *
79 ***********************************************************************
80 * In order to access your database, Bugzilla requires that the *
81 * correct "DBD" module be installed for the database that you are *
82 * running. See below for the correct command to run to install the *
99 * REQUIRED MODULES *
100 ***********************************************************************
101 * Bugzilla requires you to install some Perl modules which are either *
102 * missing from your system, or the version on your system is too old. *
103 * See below for commands to install these modules. *
mbp17.rb (https://github.com/jondkinney/babushka-deps.git) Ruby · 124 lines
kddcup.html (https://github.com/Xorlev/csci568.git) HTML · 47 lines
22 <h3>Data Platform</h3>
23 <p>
24 At this stage of the project, the first step is to check out the data set and begin compiling statistics on the imported data. Due to the relational nature of the data, the first step was to generate a database implementing these relations. I chose to write my preprocessing script in Ruby with ActiveRecord to load data into a MySQL database. This process was extraordinarily slow (especially with SQLite), and was run overnight.
25 </p>
26 <h3>Statistics</h3>
35 <h3>Classification</h3>
36 <p>
37 The most useful classifier I can think of for this data is an ANN. Given the input set of data and having all tracks somewhat well represented with at least ten ratings gives a lot of input data for an ANN. Additionally, it would function well to predict scores of users as the project requires.
38 </p>
features.py (https://gitlab.com/mayakarya/django) Python · 80 lines
27 supports_index_column_ordering = False
28 supports_timezones = False
29 requires_explicit_null_ordering_when_grouping = True
30 allows_auto_pk_0 = False
31 uses_savepoints = True
38 @cached_property
39 def _mysql_storage_engine(self):
40 "Internal method used in Django tests. Don't rely on this from your code"
41 with self.connection.cursor() as cursor:
47 def can_introspect_foreign_keys(self):
48 "Confirm support for introspected foreign keys"
49 return self._mysql_storage_engine != 'MyISAM'
51 @cached_property
jEdit.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 4373 lines
✨ Summary
This Java code is part of a text editor application, managing views and user interactions. It handles view creation, closing, and switching between views. It also manages settings, garbage collection, and memory usage. The code provides methods for getting and setting various properties, such as the number of open views, the currently active view, and whether jEdit is running in background mode.
This Java code is part of a text editor application, managing views and user interactions. It handles view creation, closing, and switching between views. It also manages settings, garbage collection, and memory usage. The code provides methods for getting and setting various properties, such as the number of open views, the currently active view, and whether jEdit is running in background mode.
test_identity_column.py (https://bitbucket.org/zzzeek/sqlalchemy.git) Python · 331 lines
162 class IdentityDDL(_IdentityDDLFixture, fixtures.TestBase):
163 # this uses the connection dialect
164 __requires__ = ("identity_columns_standard",)
166 def test_on_null(self):
197 return dd
199 @testing.combinations("sqlite", "mysql", "mariadb", "postgresql", "oracle")
200 def test_identity_is_ignored(self, dialect):
218 @testing.combinations(
219 "sqlite",
220 "mysql",
221 "mariadb",
222 "postgresql",
test_results.py (https://github.com/nosmokingbandit/Watcher3.git) Python · 220 lines
gfxMacPlatformFontList.mm
(git://github.com/zpao/v8monkey.git)
Objective C++ · 1176 lines
✨ Summary
This Objective C++ code is responsible for loading and activating fonts on a Mac system using the ATS (Apple Typography Services) framework. It takes font data as input, activates the corresponding font in the ATS cache, and creates a new font entry if successful. If activation fails, it returns an invalid font entry. The code also includes error handling and logging to diagnose issues with font loading.
This Objective C++ code is responsible for loading and activating fonts on a Mac system using the ATS (Apple Typography Services) framework. It takes font data as input, activates the corresponding font in the ATS cache, and creates a new font entry if successful. If activation fails, it returns an invalid font entry. The code also includes error handling and logging to diagnose issues with font loading.
150 mFontRef(NULL),
151 mFontRefInitialized(false),
152 mRequiresAAT(false),
153 mIsCFF(false),
154 mIsCFFInitialized(false)
157 }
159 // ATSUI requires AAT-enabled fonts to render complex scripts correctly.
160 // For now, simple clear out the cmap codepoints for fonts that have
161 // codepoints for complex scripts. (Bug 361986)
174 };
176 const ScriptRange gScriptsThatRequireShaping[] = {
177 { eComplexScriptArabic, 0x0600, 0x077F }, // Basic Arabic, Syriac, Arabic Supplement
178 { eComplexScriptIndic, 0x0900, 0x0D7F }, // Indic scripts - Devanagari, Bengali, ..., Malayalam
adodb-mysqlt.inc.php (https://github.com/markn86/moodle.git) PHP · 132 lines
15 transactional and non-transactional updates
17 Requires mysql client. Works on Windows and Unix.
18 */
26 class ADODB_mysqlt extends ADODB_mysql {
27 var $databaseType = 'mysqlt';
86 }
88 class ADORecordSet_mysqlt extends ADORecordSet_mysql{
89 var $databaseType = "mysqlt";
124 }
126 class ADORecordSet_ext_mysqlt extends ADORecordSet_mysqlt {
128 function MoveNext()
setup-presta-shop.rst (https://github.com/cytopia/devilbox.git) ReStructuredText · 201 lines
13 .. important::
14 Using ``composer`` requires the underlying file system to support symlinks. If you
15 use **Docker Toolbox** you need to explicitly allow/enable this.
16 See below for instructions:
55 3. Install PrestaShop via ``git`` and ``composer``
56 4. Symlink webroot directory
57 5. Add MySQL database
58 6. Configure datbase connection
59 7. Setup DNS record
162 5. Add MySQL Database
163 ---------------------
build-all.sh (https://github.com/tinode/chat.git) Shell · 191 lines
8 # Check if gox is installed. Abort otherwise.
9 command -v gox >/dev/null 2>&1 || {
10 echo >&2 "This script requires https://github.com/mitchellh/gox. Please install it before running."; exit 1;
11 }
16 goarc=( amd64 )
17 # Supported database tags
18 dbadapters=( mysql mongodb rethinkdb )
19 dbtags=( ${dbadapters[@]} alldbs )
58 rm -f $GOPATH/bin/tinode
59 rm -f $GOPATH/bin/init-db
60 # Build tinode server and database initializer for RethinkDb and MySQL.
61 # For 'alldbs' tag, we compile in all available DB adapters.
62 if [ "$dbtag" = "alldbs" ]; then
index.html
(https://jedit.svn.sourceforge.net/svnroot/jedit)
HTML · 1169 lines
✨ Summary
This is a license agreement for the GNU Lesser General Public License (LGPL). It outlines the terms and conditions under which software using the LGPL can be distributed, modified, and used. The license grants permission to use, modify, and distribute the software, but also imposes restrictions on patent infringement and liability for damages.
This is a license agreement for the GNU Lesser General Public License (LGPL). It outlines the terms and conditions under which software using the LGPL can be distributed, modified, and used. The license grants permission to use, modify, and distribute the software, but also imposes restrictions on patent infringement and liability for damages.
331 Right click on the top node of your project and select "Properties". Select "Subversion" from the version control dropdown if it is not selected already. Select
332 "Subversion settings" from the left panel. The URL should be filled in for you.
333 If the repository requires a username and password, fill them in here, or leave the fields blank if the repository allows anonymous access. The format of your working copies is also displayed. You can change this value if you need to for compatibility with other SVN clients.<br>
334 <br>
889 (For example, a function in a library to compute square roots has
890 a purpose that is entirely well-defined independent of the
891 application. Therefore, Subsection 2d requires that any
892 application-supplied function or table used by this function must
893 be optional: if the application does not supply it, the square
MixedFieldPropertyAnnotationTest.java (https://github.com/aleksabl/hibernate-core.git) Java · 110 lines
34 import org.hibernate.boot.spi.MetadataImplementor;
35 import org.hibernate.cfg.Environment;
36 import org.hibernate.dialect.MySQLDialect;
37 import org.hibernate.service.ServiceRegistry;
38 import org.hibernate.tool.hbm2ddl.SchemaExport;
40 import org.hibernate.tool.schema.TargetType;
42 import org.hibernate.testing.RequiresDialect;
43 import org.hibernate.testing.TestForIssue;
44 import org.hibernate.testing.junit4.CustomRunner;
53 @TestForIssue(jiraKey = "HHH-9849")
54 @RunWith(CustomRunner.class)
55 @RequiresDialect(MySQLDialect.class)
56 public class MixedFieldPropertyAnnotationTest {
57 protected ServiceRegistry serviceRegistry;
AlfrescoSchemaUpdate-2.1-A--to--2.2-ACL.sql (https://github.com/alfresco-mirror/alfresco-mirror.git) SQL · 201 lines
1 --
2 -- Title: Update for permissions schema changes
3 -- Database: MySQL InnoDB
4 -- Since: V2.2 Schema 85
5 -- Author: Andy Hind
23 ADD COLUMN inherited_acl BIGINT,
24 ADD COLUMN is_versioned BOOLEAN NOT NULL DEFAULT FALSE,
25 ADD COLUMN requires_version BOOLEAN NOT NULL DEFAULT FALSE,
26 ADD COLUMN acl_change_set BIGINT,
27 ADD COLUMN inherits_from BIGINT,
178 DROP TABLE alf_tmp_min_ace;
180 -- Remove duplicate aces the mysql way (as you can not use the deleted table in the where clause ...)
182 CREATE TABLE tmp_to_delete SELECT ace.id FROM alf_acl_member mem RIGHT OUTER JOIN alf_access_control_entry ace ON mem.ace_id = ace.id WHERE mem.ace_id IS NULL;
apache.rb (https://github.com/ivanoats/babushka-deps.git) Ruby · 194 lines
1 dep 'lamp stack removed', :template => 'apt_packages_removed', :for => :apt do
2 removes %r{apache|mysql|php}
3 end
4 dep 'apache2 remove defaults' do
73 dep 'configured.apache2' do
74 requires 'apache2'
76 met? {
107 dep 'running.apache2' do
108 requires 'configured.apache2'
109 met? { apache2_running? }
110 meet {
115 dep 'mod_rewrite enabled.apache2' do
116 setup { set :module_name, 'rewrite' }
117 requires 'module enabled.apache2'
118 end
compatibility_test.py (https://github.com/Yelp/schematizer.git) Python · 174 lines
89 assert e.value.code == expected_exception.code
90 assert str(e.value) == (
91 'Record schema requires a non-empty fields property.'
92 )
95 class TestMySQLSchemaCompatibility(ApiTestBase):
97 @property
119 def test_compatible_new_table(self, mock_request, request_json):
120 mock_request.json_body = request_json
121 actual = compatibility_views.is_mysql_schema_compatible(mock_request)
122 assert actual is True
SQLBuilderTest.php (https://gitlab.com/bandana/Astro-Veda) PHP · 282 lines
136 * @expectedException ActiveRecord\ActiveRecordException
137 */
138 public function test_insert_requires_hash()
139 {
140 $this->sql->insert(array(1));
163 {
164 if (!$this->conn->accepts_limit_and_order_for_update_and_delete())
165 $this->mark_test_skipped('Only MySQL & Sqlite accept limit/order with UPDATE operation');
167 $this->sql->update(array('id' => 1))->order('name asc')->limit(1);
204 {
205 if (!$this->conn->accepts_limit_and_order_for_update_and_delete())
206 $this->mark_test_skipped('Only MySQL & Sqlite accept limit/order with DELETE operation');
208 $this->sql->delete(array('id' => 1))->order('name asc')->limit(1);
mysql.pp (https://gitlab.com/nrvale0/newrelic_plugins_puppet) Puppet · 165 lines
8 # $license_key:: License Key for your New Relic account
9 #
10 # $install_path:: Install Path for New Relic MySQL Plugin.
11 # Any downloaded files will be placed here.
12 # The plugin will be installed within this
13 # directory at `newrelic_mysql_plugin`.
14 #
15 # $user:: User to run as
20 # $servers:: Array of MySQL server information. If using the default username
21 # and password, the user and passwd attributes can be left off.
22 # (see mysql_user and mysql_passwd)
23 # Note also that the "name" defaults to the same as the "host"
24 # unless overriden, and as such "name" is optional.
85 $servers,
86 $metrics = '',
87 $mysql_user = '',
88 $mysql_passwd = '',
backup.rb (https://github.com/splendeo/backup.git) Ruby · 203 lines
15 require 'thor'
16 rescue LoadError
17 puts "\nBackup requires Thor to load the CLI Utility (Command Line Interface Utility) and POpen4 to determine the status of the unix processes."
18 puts "Please install both the Thor and POpen4 libraries first:\n\ngem install thor -v '~> 0.14.6'\ngem install POpen4 -v '~> 0.1.4'"
19 exit 1
79 module Database
80 autoload :Base, File.join(DATABASE_PATH, 'base')
81 autoload :MySQL, File.join(DATABASE_PATH, 'mysql')
82 autoload :PostgreSQL, File.join(DATABASE_PATH, 'postgresql')
83 autoload :MongoDB, File.join(DATABASE_PATH, 'mongodb')
175 module Database
176 autoload :Base, File.join(CONFIGURATION_PATH, 'database', 'base')
177 autoload :MySQL, File.join(CONFIGURATION_PATH, 'database', 'mysql')
178 autoload :PostgreSQL, File.join(CONFIGURATION_PATH, 'database', 'postgresql')
179 autoload :MongoDB, File.join(CONFIGURATION_PATH, 'database', 'mongodb')
Flag.java (https://github.com/googleapis/google-api-java-client-services.git) Java · 294 lines
47 /**
48 * The database version this flag applies to. Can be *MYSQL_8_0*, *MYSQL_5_6*, or *MYSQL_5_7*.
49 * The value may be {@code null}.
50 */
142 /**
143 * The database version this flag applies to. Can be *MYSQL_8_0*, *MYSQL_5_6*, or *MYSQL_5_7*.
144 * @return value or {@code null} for none
145 */
150 /**
151 * The database version this flag applies to. Can be *MYSQL_8_0*, *MYSQL_5_6*, or *MYSQL_5_7*.
152 * @param appliesTo appliesTo or {@code null} for none
153 */
users-guide.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 671 lines
221 <itemizedlist>
223 <listitem><para>Specify that it requires the ErrorList plugin.</para></listitem>
225 <listitem><para>Register an <quote>error source</quote> at some stage,
259 <para>
260 Note that the current version of the ErrorList plugin requires jEdit 4.2pre2
261 or later, so your plugin should also require at least that jEdit version.
262 If a newer version of the ErrorList plugin is available, you can
273 Errors are managed by implementations of the
274 <classname>errorlist.ErrorSource</classname> abstract class.
275 Extending this class is a bit involved and requires writing a lot of
276 low-level code; most
277 plugins can use the <classname>errorlist.DefaultErrorSource</classname>
hwtimer.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 189 lines
✨ Summary
This C code provides an interface to the ACPI (Advanced Configuration and Power Interface) power management timer, allowing users to retrieve its resolution, current value, and duration between two timestamps. It handles rollovers for 24-bit and 32-bit timers and calculates elapsed time in microseconds based on the timer’s frequency. The functions are exported as part of an ACPI module.
This C code provides an interface to the ACPI (Advanced Configuration and Power Interface) power management timer, allowing users to retrieve its resolution, current value, and duration between two timestamps. It handles rollovers for 24-bit and 32-bit timers and calculates elapsed time in microseconds based on the timer’s frequency. The functions are exported as part of an ACPI module.
7.4.3-4-n.js (https://bitbucket.org/ultra_iter/qt-vtl.git) JavaScript · 96 lines
README.txt (https://jedit.svn.sourceforge.net/svnroot/jedit) Plain Text · 189 lines
tiffio.h (https://bitbucket.org/Tsiannian/cocos2d-x.git) C++ Header · 554 lines
BinaryContentRevision.java (https://bitbucket.org/nbargnesi/idea.git) Java · 36 lines
25 public interface BinaryContentRevision extends ContentRevision {
26 /**
27 * Content of the revision. Implementers are encouraged to lazy implement this especially when it requires connection to the
28 * version control server or something.
29 * Might return null in case if file path denotes a directory or content is impossible to retreive.
addingtags.html (https://bitbucket.org/ultra_iter/qt-vtl.git) HTML · 292 lines
JSONObject.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 909 lines
users-guide.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 418 lines
57 <para>
58 The code browser requires Exuberant C Tags version 5.5 or later. You can find
59 it at <ulink url="http://ctags.sourceforge.net">http://ctags.sourceforge.net</ulink>.
60 NOTE: The standard ctags program found on many systems is NOT sufficient!!!
100 <itemizedlist>
101 <listitem><para>
102 <guimenu>Auto-parse</guimenu>: When checked, buffers are parsed automatically when saved or when you switch to another buffer. When un-checked, buffers will only be parsed when you click on the <guimenu>Parse</guimenu> button. That can be helpful when you work with extremely large files, where parsing requires some time. </para>
103 </listitem>
104 <listitem><para> <guimenu>Sort</guimenu>: When checked, all listed tags will be sorted. </para></listitem>
265 <formalpara>
266 <title>Version 1.4.3</title>
267 <para>Requires JDK 1.4, jEdit 4.3pre5, ExuberantCtags 5.5.
268 <itemizedlist>
269 <listitem>
qutlook.pro (https://bitbucket.org/ultra_iter/qt-vtl.git) Prolog · 23 lines
fsys.txt (http://omnia2droid.googlecode.com/svn/trunk/) Unknown · 287 lines
49 In summary, fsys-mode is much more similar to running in user-mode
50 than it is to running in kernel-mode. Of course, given that the
51 privilege level is at level 0, this means that fsys-mode requires some
52 care (see below).
234 needed.
235 PSR.bn Unchanged. Note: fsys-mode handlers may clear the bit, if needed.
236 Doing so requires clearing PSR.i and PSR.ic as well.
237 PSR.ia Unchanged. Note: the ia64 linux kernel never sets this bit.
BshClassManager.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 650 lines
✨ Summary
This Java class appears to be a part of a scripting engine, providing functionality for loading and executing classes. It handles class loading errors, defines classes, and provides methods for accessing and manipulating class information. The class also includes a listener interface for notifying other parts of the system when the class loader changes.
This Java class appears to be a part of a scripting engine, providing functionality for loading and executing classes. It handles class loading errors, defines classes, and provides methods for accessing and manipulating class information. The class also includes a listener interface for notifying other parts of the system when the class loader changes.
479 namespace of the base name of classes. i.e. BeanShell cannot be in the
480 process of defining two classes in different packages with the same
481 base name. To remove this limitation requires that we work through
482 namespace imports in an analogous (or using the same path) as regular
483 class import resolution. This workaround should handle most cases
Chrome.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 189 lines
Display_Shortcuts.bsh (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 308 lines
relative_error.qbk (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines
72 If the function under test returns a non-finite value when a finite result is
73 expected, or if a gross error is found, then a message is sent to `std::cerr`,
74 and a call to BOOST_ERROR() made (which means that including this header requires
75 you use Boost.Test). This is mainly a debugging/development aid
76 (and a good place for a breakpoint).
super.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 3236 lines
✨ Summary
This C code is a driver for the NTFS file system, which allows Linux to read and write files on Windows partitions. It initializes the driver, registers sysctls (configuration options), and unregisters itself when exiting. The code also includes debug messages and error handling for various scenarios, such as failed memory allocation or registration failures.
This C code is a driver for the NTFS file system, which allows Linux to read and write files on Windows partitions. It initializes the driver, registers sysctls (configuration options), and unregisters itself when exiting. The code also includes debug messages and error handling for various scenarios, such as failed memory allocation or registration failures.
java.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 225 lines
main.cpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ · 0 lines
✨ Summary
This C++ code is a compiler and interpreter for a simple programming language. It reads a source file, compiles it into machine code, executes the compiled code with user-provided arguments, and prints the result. The program checks for syntax errors during compilation and parsing, and reports any issues found.
This C++ code is a compiler and interpreter for a simple programming language. It reads a source file, compiles it into machine code, executes the compiled code with user-provided arguments, and prints the result. The program checks for syntax errors during compilation and parsing, and reports any issues found.
JTextComponentMatcher.java
(http://fest.googlecode.com/svn/)
Java · 129 lines
✨ Summary
This Java class, JTextComponentMatcher
, is used to match a JTextComponent
(a type of Swing component) based on its name, text, and visibility. It provides methods to create matchers with specific criteria, such as matching by name, text, or both, and checking if the matched component is visible. The class uses a fluent API to build complex matchers.
This Java class, JTextComponentMatcher
, is used to match a JTextComponent
(a type of Swing component) based on its name, text, and visibility. It provides methods to create matchers with specific criteria, such as matching by name, text, or both, and checking if the matched component is visible. The class uses a fluent API to build complex matchers.
emb-install.qdoc (https://bitbucket.org/ultra_iter/qt-vtl.git) Unknown · 189 lines
dot_product.hpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ Header · 0 lines
✨ Summary
This C++ header file provides a function dot_product
that calculates the dot product of two points (vectors) in n-dimensional space, where n is determined by the dimensionality of the input points. It uses recursive template metaprogramming to handle different dimensionalities and coordinate types. The result is returned as a scalar value.
This C++ header file provides a function dot_product
that calculates the dot product of two points (vectors) in n-dimensional space, where n is determined by the dimensionality of the input points. It uses recursive template metaprogramming to handle different dimensionalities and coordinate types. The result is returned as a scalar value.
qgl_win.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 1601 lines
Workarounds.java
(http://softkeyboard.googlecode.com/svn/)
Java · 117 lines
✨ Summary
This Java code provides workarounds for Android devices to correctly display right-to-left characters and handle parenthesis directionality. It checks device models, APIs, and character directions to apply fixes for RTL languages, ensuring proper rendering of Hebrew letters and parentheses in the correct direction. The code also identifies device versions (Donut and Eclair) that require these workarounds.
This Java code provides workarounds for Android devices to correctly display right-to-left characters and handle parenthesis directionality. It checks device models, APIs, and character directions to apply fixes for RTL languages, ensuring proper rendering of Hebrew letters and parentheses in the correct direction. The code also identifies device versions (Donut and Eclair) that require these workarounds.
6 {
7 //Determine whether this device has the fix for RTL in the suggestions list
8 private static final boolean ms_requiresRtlWorkaround;
10 private static final boolean ms_isDonut;
13 static
14 {
15 boolean requiresRtlWorkaround = true;//all devices required this fix (in 1.6 it is still required)
17 if (android.os.Build.MODEL.toLowerCase().contains("galaxy"))
34 requiresRtlWorkaround = (android.os.Build.TIME < 1263807011000l);
35 }
36 ms_requiresRtlWorkaround = requiresRtlWorkaround;
37 //checking f/w API is a bit tricky, we need to do it by reflection
38 boolean isDonut = false;
dw2gencfi.c
(https://bitbucket.org/freebsd/freebsd-head/)
C · 1349 lines
✨ Summary
This C code generates a .eh_frame
section for an ELF file, which is used to store information about function call frames and local variables in a program. It collects data from fde
(function definition entry) structures, creates a .eh_frame
section, and populates it with the necessary information. The generated output can be used by the compiler or linker to create an executable file that is compatible with the C++ standard.
This C code generates a .eh_frame
section for an ELF file, which is used to store information about function call frames and local variables in a program. It collects data from fde
(function definition entry) structures, creates a .eh_frame
section, and populates it with the necessary information. The generated output can be used by the compiler or linker to create an executable file that is compatible with the C++ standard.
663 if (*input_line_pointer++ != ',')
664 {
665 as_bad (_(".cfi_personality requires encoding and symbol arguments"));
666 ignore_rest_of_line ();
667 return;
733 if (*input_line_pointer++ != ',')
734 {
735 as_bad (_(".cfi_lsda requires encoding and symbol arguments"));
736 ignore_rest_of_line ();
737 return;
window.php (https://bitbucket.org/lxa478/qcrt.git) PHP · 327 lines
EmailComponent.php (https://bitbucket.org/floresj/notetime.git) PHP · 464 lines
changes-4.2.0 (https://bitbucket.org/ultra_iter/qt-vtl.git) Unknown · 2507 lines
123 navigation.
125 - Plastique style has improved support for palettes, and now requires
126 XRender support on X11 for alpha transparency.
170 ----------------------
172 - Dropped support for MySQL version 3.
174 - Updated Qt's SQLite version to 3.3.6.
182 ------------
184 - Auto-detect PostgreSQL and MySQL using pg_config and mysql_config on UNIX
185 based systems in the configure script
users-guide.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 474 lines
147 <itemizedlist>
149 <listitem><para>Specify that it requires the ErrorList and EditBus plugins.
150 The error reporting API is spread between these two plugins for historical
151 reasons.</para></listitem>
178 <para>
179 Note that the current version of the ErrorList plugin requires jEdit 4.0pre1
180 or later, so your plugin should also require at least that jEdit version.
181 If a newer version of the ErrorList plugin is available, you can
192 Errors are managed by implementations of the
193 <classname>errorlist.ErrorSource</classname> abstract class.
194 Extending this class is a bit involved and requires writing a lot of
195 low-level code; most
196 plugins can use the <classname>errorlist.DefaultErrorSource</classname>
trend
(git://github.com/jwiegley/ledger.git)
Shell · 31 lines
✨ Summary
This shell script imports a Python program into a Ledger database, allowing it to compute and display the daily trend of a specific account’s value over time. The rdev
function calculates the daily change in value, averaging previous changes to smooth out fluctuations. It then stores this data in the Ledger database for future reference.
This shell script imports a Python program into a Ledger database, allowing it to compute and display the daily trend of a specific account’s value over time. The rdev
function calculates the daily change in value, averaging previous changes to smooth out fluctuations. It then stores this data in the Ledger database for future reference.
apache2-php5.ini (https://bitbucket.org/aarmea/markdown-server.git) INI · 1252 lines
716 mysql.max_links = -1
718 ; Default port number for mysql_connect(). If unset, mysql_connect() will use
719 ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
720 ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
721 ; at MYSQL_PORT.
744 ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
745 ; SQL-Errors will be displayed.
746 mysql.trace_mode = Off
748 [MySQLi]
753 ; Default port number for mysqli_connect(). If unset, mysqli_connect() will use
754 ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
755 ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
starting.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 368 lines
harfbuzz-qt.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 87 lines
config.guess (https://bitbucket.org/ultra_iter/qt-vtl.git) Shell · 1502 lines
XmlElementDescriptorWithCDataContent.java (https://bitbucket.org/nbargnesi/idea.git) Java · 23 lines
TreeBehavior.php (https://bitbucket.org/floresj/notetime.git) PHP · 1006 lines
qchar.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 1662 lines
curl.h (https://bitbucket.org/Tsiannian/cocos2d-x.git) C++ Header · 2142 lines
jpeglib.h (https://bitbucket.org/Tsiannian/cocos2d-x.git) C++ Header · 1159 lines
symbianvibration.qdoc (https://bitbucket.org/ultra_iter/qt-vtl.git) Unknown · 193 lines
Makefile.in (https://swig.svn.sourceforge.net/svnroot/swig) Unknown · 1281 lines
7.4.3-9-n.js (https://bitbucket.org/ultra_iter/qt-vtl.git) JavaScript · 98 lines
README (http://enginey.googlecode.com/svn/trunk/) Unknown · 42 lines
README.txt (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 115 lines
DeferredProperty.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 88 lines
✨ Summary
This Java class DeferredProperty
is used to defer the loading of a property until it’s requested, avoiding ClassCastExceptions and ClassNotFoundErrors when loading PV projects. It stores serialized data and provides methods to retrieve the original string and load the object represented by the data. If loading fails, an error message is logged to the activity log.
This Java class DeferredProperty
is used to defer the loading of a property until it’s requested, avoiding ClassCastExceptions and ClassNotFoundErrors when loading PV projects. It stores serialized data and provides methods to retrieve the original string and load the object represented by the data. If loading fails, an error message is logged to the activity log.
jedit.1 (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 163 lines
qdrawhelper_sse2.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 544 lines
fi.po (https://bitbucket.org/ultra_iter/vim-qt.git) Portable Object · 6527 lines
ja.po (https://bitbucket.org/ultra_iter/vim-qt.git) Portable Object · 6493 lines
VFS.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 1149 lines
✨ Summary
This Java code is part of a file system browser for a text editor, likely NetBeans. It provides functionality to list files and directories in a file system, filter by type and name, and colorize file names based on regular expressions. The code also handles recursive directory traversal, symlinks, and binary files. It uses an internal configuration system to store user preferences, such as colorizing file names.
This Java code is part of a file system browser for a text editor, likely NetBeans. It provides functionality to list files and directories in a file system, filter by type and name, and colorize file names based on regular expressions. The code also handles recursive directory traversal, symlinks, and binary files. It uses an internal configuration system to store user preferences, such as colorizing file names.
timer.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 290 lines
✨ Summary
This C code implements the DCCP (Datagram Congestion Control Protocol) protocol for TCP/IP networks. It manages various timers and functions, such as delayed acknowledgments, keepalive messages, and transmission delays, to ensure reliable data transfer over the network. The code initializes and configures these components when a socket is created or initialized.
This C code implements the DCCP (Datagram Congestion Control Protocol) protocol for TCP/IP networks. It manages various timers and functions, such as delayed acknowledgments, keepalive messages, and transmission delays, to ensure reliable data transfer over the network. The code initializes and configures these components when a socket is created or initialized.
44 } else {
45 if (icsk->icsk_retransmits >= sysctl_dccp_retries1) {
46 /* NOTE. draft-ietf-tcpimpl-pmtud-01.txt requires pmtu
47 black hole detection. :-(
49 It is place to make it. It is not made. I do not want
50 to make it. It is disguisting. It does not work in any
51 case. Let me to cite the same draft, which requires for
52 us to implement this:
Display_Abbreviations.bsh (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 392 lines
users-guide.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 711 lines
set_of.qbk (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines
427 iterator insert(iterator position, const value_type & x);
429 * [*Requires: ] `position` is a valid iterator of the view.
430 * [*Effects: ] `position` is used as a hint to improve the efficiency of the operation. Inserts `x` into the `bimap` to which the view belongs if
431 * the set view is non-unique OR no other element with equivalent key exists,
444 void insert(InputIterator first, InputIterator last);
446 * [*Requires: ] `InputIterator` is a model of __SGI_INPUT_ITERATOR__ over elements of
447 type `value_type` or a type convertible to value_type. `first` and `last` are not
448 iterators into any view of the `bimap` to which this index
461 iterator erase(iterator position);
463 * [*Requires: ] `position` is a valid dereferenceable iterator if the set view.
464 * [*Effects:] Deletes the element pointed to by `position`.
465 * [*Returns:] An iterator pointing to the element immediately following
pm2fb.c
(http://photon-android.googlecode.com/svn/)
C · 1861 lines
✨ Summary
This C code implements a framebuffer device driver for Permedia2 graphics cards, specifically the TVP4020 and 3DLabs PerMedia2 models. It provides options for customizing video modes, horizontal and vertical sync settings, acceleration, and hardware cursor behavior. The driver is designed to work with Linux systems and can be compiled as a module or statically linked into the kernel.
This C code implements a framebuffer device driver for Permedia2 graphics cards, specifically the TVP4020 and 3DLabs PerMedia2 models. It provides options for customizing video modes, horizontal and vertical sync settings, acceleration, and hardware cursor behavior. The driver is designed to work with Linux systems and can be compiled as a module or statically linked into the kernel.
74 * support on TVP4010 and similar where there is no RAMDAC - see
75 * comment in set_video) always request +ve sync regardless of what
76 * the mode requires. This screws me because I have a Sun
77 * fixed-frequency monitor which absolutely has to have -ve sync. So
78 * these flags allow the user to specify that requests for +ve sync
q3canvas.pro (https://bitbucket.org/ultra_iter/qt-vtl.git) Prolog · 8 lines
uio.h
(http://omnia2droid.googlecode.com/svn/trunk/)
C++ Header · 57 lines
✨ Summary
This C header file defines structures and functions for User Interface Objects (UIO) in Linux. It provides a Berkeley-style UIO structure, struct iovec
, which is used to describe I/O vectors. The file also includes definitions for the maximum number of I/O vectors and a function to calculate the total length of an array of struct iovec
elements.
This C header file defines structures and functions for User Interface Objects (UIO) in Linux. It provides a Berkeley-style UIO structure, struct iovec
, which is used to describe I/O vectors. The file also includes definitions for the maximum number of I/O vectors and a function to calculate the total length of an array of struct iovec
elements.
netwox.spec (git://github.com/repoforge/rpms.git) Unknown · 62 lines
AGALMiniAssembler.as (https://github.com/ltblue/Starling-Framework.git) ActionScript · 793 lines
dependencies.pl
(git://github.com/bioperl/bioperl-live.git)
Perl · 292 lines
✨ Summary
This Perl script checks for dependencies and versions of modules and scripts in a given directory tree. It uses CPANPLUS to retrieve module information and outputs the results in a table using Perl6::Form. The script can be run with various options, including specifying a directory to check, output file name, and Perl version. It also skips BioPerl-related modules by default.
This Perl script checks for dependencies and versions of modules and scripts in a given directory tree. It uses CPANPLUS to retrieve module information and outputs the results in a table using Perl6::Form. The script can be run with various options, including specifying a directory to check, output file name, and Perl version. It also skips BioPerl-related modules by default.
This Perl script checks for dependencies and versions of modules and scripts in a given directory tree. It uses CPANPLUS to retrieve module information and outputs the results in a table using Perl6::Form. The script can be run with various options, including specifying a directory to check, output file name, and Perl version. It also skips BioPerl-related modules by default.
This Perl script checks for dependencies and versions of modules and scripts in a given directory tree. It uses CPANPLUS to retrieve module information and outputs the results in a table using Perl6::Form. The script can be run with various options, including specifying a directory to check, output file name, and Perl version. It also skips BioPerl-related modules by default.
23 install all dependencies.
25 The DBD::mysql, DB_File and XML::Parser modules require other applications or
26 databases: MySQL, Berkeley DB, and expat respectively.
28 NB: This list of packages is not authoritative. See the 'requires',
29 'build_requires' and 'recommends' sections of Build.PL instead.
222 Perl6::Form (yes I managed to get perl6 in here somehow).
224 Requires:
226 File::Find - core
admin.plugin.coffee
(git://github.com/balupton/docpad.git)
CoffeeScript · 33 lines
✨ Summary
This is a DocPad plugin that adds an administration website to the generated website. It creates a new instance of DocPad with the admin
plugin enabled and generates the website in the _docpad/plugins/admin
directory. The plugin also adds a script tag to the rendered HTML pages to load the admin scripts from the newly generated website.
This is a DocPad plugin that adds an administration website to the generated website. It creates a new instance of DocPad with the admin
plugin enabled and generates the website in the _docpad/plugins/admin
directory. The plugin also adds a script tag to the rendered HTML pages to load the admin scripts from the newly generated website.
WMQualifier.j (git://github.com/quile/Womble.git) Unknown · 583 lines
98 // where, if the attribute list is empty, we'll use all text attributes
99 // in the entity. "terms" must be present and can use boolean
100 // terms (in the expected MySQL format).
101 + match:(id)attributes terms:(id)terms {
102 return [WMMatchQualifier newWithAttributes:attributes andTerms:terms];
293 WMArray bindValues @accessors;
294 CPString condition @accessors;
295 bool requiresRepeatedJoin;
296 }
314 [super init]
315 bindValues = [],
316 requiresRepeatedJoin = false;
317 condition = null;
318 return self;