100+ results for 'requires mysql'

Not the results you expected?

test_results.py (https://gitlab.com/pooja043/Globus_Docker_1) Python · 220 lines

111 """tests using percent signs, spaces in table and column names.

112

113 This is a very fringe use case, doesn't work for MySQL

114 or Postgresql. the requirement, "percent_schema_names",

115 is marked "skip" by default.

117 """

118

119 __requires__ = ('percent_schema_names', )

120

121 __backend__ = True

requests.go (https://gitlab.com/vectorci/kubernetes) Go · 199 lines

34

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

38

89 }

90

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'

2

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]') }

32

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

41

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\"")

181

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

1

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

23

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.

32 # the command and add it to the bottom of the list. E.g., if a change

33 # that you made last week required touching a file and a change you

34 # made today requires touching the same file, just copy the old

35 # touch step and add it to the end of the list.

36 #

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.

79 * returns the result of the internal setxattr or setsecurity operations.

80 *

81 * This function requires the caller to lock the inode's i_mutex before it

82 * is executed. It also assumes that the caller will make the appropriate

83 * permission checks.

exporter.php (https://github.com/pjwiseman/joomla-cms.git) PHP · 230 lines

172 else

173 {

174 throw new Exception('JPLATFORM_ERROR_INPUT_REQUIRES_STRING_OR_ARRAY');

175 }

176

198

199 /**

200 * Sets the database connector to use for exporting structure and/or data from MySQL.

201 *

202 * @param JDatabaseDriver $db The database connector.

lilypond.xml (git://github.com/abeaumont/factor.git) XML · 819 lines

3

4 <!-- LilyPond (www.lilypond.org) mode by Bertalan Fodor <lilypondtool@organum.hu> & others at http://lily4jedit.sf.net

5 Requires jEdit 4.3pre6 or compatible

6 Recommended jEdit/modes/catalog entry:

7 <MODE NAME="lilypond" FILE="lilypond.xml"

README.md (https://bitbucket.org/rafaelmoreira/prezto.git) Markdown · 158 lines

46 - `mkdir`

47 - `mv`

48 - `mysql`

49 - `rm`

50

133 ### Developer

134

135 - `diff` highlights diff output (requires `colordiff` or `Git`).

136 - `make` highlights make output (requires `colormake`).

137 - `wdiff` highlights wdiff output (requires `wdiff `or `Git`).

138

139 ### Resource usage

content.md (https://gitlab.com/apachipa/docs) Markdown · 80 lines

7 # Notary Server

8

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.

10

11 ## How to use this image

32 },

33 "storage": {

34 "backend": "mysql",

35 "db_url": "server@tcp(mysql:3306)/notaryserver?parseTime=True"

37 }

38

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.

40

41 If you require a different configuration, you should wrap this image with your own Dockerfile.

45 # Notary Signer

46

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.

48

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"

20

21 /* --------------------- Functions to create views -------------------- */

22 int createNewIntegerMatrixView(MYSQL * sqlConn, rdbMatrix * viewMatrix,

23 char sqlString[])

24 {

28 }

29

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.

85 ThrowIfContainsInnerAtomicComposition();

86

87 Requires.NotNull(key, "key");

88

89 SetValueInternal(key, value);

101 ThrowIfCompleted();

102

103 Requires.NotNull(key, "key");

104

105 return TryGetValueInternal(key, localAtomicCompositionOnly, out value);

112 ThrowIfContainsInnerAtomicComposition();

113

114 Requires.NotNull(completeAction, "completeAction");

115

116 if (this._completeActionList == null)

template-rubygem.spec (git://github.com/repoforge/rpms.git) Unknown · 89 lines

24 BuildArch: noarch

25

26 BuildRequires: ruby(rubygems)

27 BuildRequires: ruby(abi) = %{rubyabi}

28

29 Requires: ruby(rubygems)

30 Requires: ruby(abi) = %{rubyabi}

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.

35

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 */

11

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';

16

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 )

49

50 ### What we removed in 4.0:

77 ### How to migrate from sqlite

78

79 * [Follow this guide](https://github.com/gitlabhq/gitlabhq/wiki/Migrate-from-SQLite-to-MySQL)

80

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

1 # Complete setup for my Macbook Pro, 'mbp17'

2 dep 'mbp17' do

3 requires 'dotfiles',

4 'private-dotfiles'

5

6 requires 'os x prefs'

7

8 requires 'brew packages'

9

10 requires 'special'

11

12 requires 'osx apps installed'

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>

39

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

37

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'

50

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.

109 System.err.println("You are running Java version "

110 + javaVersion + '.');

111 System.err.println("jEdit requires Java 1.5 or later.");

112 System.exit(1);

113 } //}}}

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",)

165

166 def test_on_null(self):

197 return dd

198

199 @testing.combinations("sqlite", "mysql", "mariadb", "postgresql", "oracle")

200 def test_identity_is_ignored(self, dialect):

201

218 @testing.combinations(

219 "sqlite",

220 "mysql",

221 "mariadb",

222 "postgresql",

test_results.py (https://github.com/nosmokingbandit/Watcher3.git) Python · 220 lines

111 """tests using percent signs, spaces in table and column names.

112

113 This is a very fringe use case, doesn't work for MySQL

114 or PostgreSQL. the requirement, "percent_schema_names",

115 is marked "skip" by default.

117 """

118

119 __requires__ = ('percent_schema_names', )

120

121 __backend__ = True

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.

150 mFontRef(NULL),

151 mFontRefInitialized(false),

152 mRequiresAAT(false),

153 mIsCFF(false),

154 mIsCFFInitialized(false)

157 }

158

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 };

175

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

16

17 Requires mysql client. Works on Windows and Unix.

18 */

19

24

25

26 class ADODB_mysqlt extends ADODB_mysql {

27 var $databaseType = 'mysqlt';

86 }

87

88 class ADORecordSet_mysqlt extends ADORecordSet_mysql{

89 var $databaseType = "mysqlt";

124 }

125

126 class ADORecordSet_ext_mysqlt extends ADORecordSet_mysqlt {

127

128 function MoveNext()

setup-presta-shop.rst (https://github.com/cytopia/devilbox.git) ReStructuredText · 201 lines

12

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

160

161

162 5. Add MySQL Database

163 ---------------------

164

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 }

12

16 goarc=( amd64 )

17 # Supported database tags

18 dbadapters=( mysql mongodb rethinkdb )

19 dbtags=( ${dbadapters[@]} alldbs )

20

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.

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>

335

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;

41

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;

179

180 -- Remove duplicate aces the mysql way (as you can not use the deleted table in the where clause ...)

181

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

72

73 dep 'configured.apache2' do

74 requires 'apache2'

75

76 met? {

106

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

119

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 )

93

94

95 class TestMySQLSchemaCompatibility(ApiTestBase):

96

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

123

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');

166

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');

207

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

46

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 */

141

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 */

149

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>

222

223 <listitem><para>Specify that it requires the ErrorList plugin.</para></listitem>

224

225 <listitem><para>Register an <quote>error source</quote> at some stage,

258

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.

175

176 /*

177 * Compute Duration (Requires a 64-bit multiply and divide):

178 *

179 * time_elapsed = (delta_ticks * 1000000) / PM_TIMER_FREQUENCY;

7.4.3-4-n.js (https://bitbucket.org/ultra_iter/qt-vtl.git) JavaScript · 96 lines

67 var prefValue;

68

69 print("This test requires option javascript.options.strict enabled");

70

71 options('strict');

README.txt (https://jedit.svn.sourceforge.net/svnroot/jedit) Plain Text · 189 lines

14 jEdit is a cross platform programmer's text editor written in Java.

15

16 jEdit requires Java 2 (or Java 1.1 with Swing 1.1). The recommended Java

17 version for running jEdit is Java 2 version 1.3.

18

tiffio.h (https://bitbucket.org/Tsiannian/cocos2d-x.git) C++ Header · 554 lines

55 *

56 * NB: ttag_t is unsigned int and not unsigned short because

57 * ANSI C requires that the type before the ellipsis be a

58 * promoted type (i.e. one of int, unsigned int, pointer,

59 * or double) and because we defined pseudo-tags that are

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

224 for the new tag.

225 <LI>(<I>optional</I>) If the value associated with the tag is not a scalar value

226 (e.g. the array for <TT>TransferFunction</TT>) and requires

227 special processing,

228 then add the appropriate code to <TT>TIFFReadDirectory()</TT> and

JSONObject.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 909 lines

847 {

848 if (!exec->argumentCount())

849 return throwVMError(exec, createError(exec, "JSON.parse requires at least one parameter"));

850 JSValue value = exec->argument(0);

851 UString source = value.toString(exec);

users-guide.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 418 lines

56

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

9 isEmpty(TYPELIBS) {

10 message("Microsoft Outlook type library not found!")

11 REQUIRES += Outlook

12 } else {

13 #! [1] #! [2]

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).

53

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.

238

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.

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

160 void dispatchViewportDataDidChange(const ViewportArguments&) const;

161

162 bool requiresFullscreenForVideoPlayback();

163

164 #if PLATFORM(MAC)

Display_Shortcuts.bsh (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 308 lines

28 *

29 *

30 * requires jEdit3.1pre5

31 *

32 * Notes on use:

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.

321 return true;

322 needs_arg:

323 ntfs_error(vol->sb, "The %s option requires an argument.", p);

324 return false;

325 needs_bool:

326 ntfs_error(vol->sb, "The %s option requires a boolean argument.", p);

327 return false;

328 needs_val:

java.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 225 lines

187 <LABEL>@idea</LABEL>

188 <LABEL>@pre</LABEL>

189 <LABEL>@requires</LABEL>

190 <LABEL>@post</LABEL>

191 <LABEL>@ensures</LABEL>

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.

99 if (p->nargs() != nargs)

100 {

101 std::cerr << "Error: main function requires " << p->nargs() << " arguments." << std::endl;

102 std::cerr << nargs << " supplied." << std::endl;

103 return 1;

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.

97 */

98 public JTextComponentMatcher andShowing() {

99 requireShowing(true);

100 return this;

101 }

122 "name=", quotedName(), ", ",

123 "text=", quoted(text), ", ",

124 "requireShowing=", valueOf(requireShowing()),

125 "]"

126 );

emb-install.qdoc (https://bitbucket.org/ultra_iter/qt-vtl.git) Unknown · 189 lines

155 \endlist

156

157 Note that the virtual framebuffer requires a Qt for X11

158 installation. See \l {Installing Qt for X11 Platforms} for details.

159

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.

18 #include <cstddef>

19

20 #include <boost/concept/requires.hpp>

21

22 #include <boost/geometry/geometries/concepts/point_concept.hpp>

qgl_win.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 1601 lines

568

569 /*

570 NB! requires a current GL context to work

571 */

572 QGLFormat pfiToQGLFormat(HDC hdc, int pfi)

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.

6 {

7 //Determine whether this device has the fix for RTL in the suggestions list

8 private static final boolean ms_requiresRtlWorkaround;

9

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)

16

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.

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

186 $image_contents = ob_get_clean();

187

188 // Upload an object from a resource (requires size):

189 $s3->create_object($bucket, $thumb_key, array(

190 'body' => $image_contents,

EmailComponent.php (https://bitbucket.org/floresj/notetime.git) PHP · 464 lines

143 * Line feed character(s) to be used when sending using mail() function

144 * By default PHP_EOL is used.

145 * RFC2822 requires it to be CRLF but some Unix

146 * mail transfer agents replace LF by CRLF automatically

147 * (which leads to doubling CR if CRLF is used).

changes-4.2.0 (https://bitbucket.org/ultra_iter/qt-vtl.git) Unknown · 2507 lines

123 navigation.

124

125 - Plastique style has improved support for palettes, and now requires

126 XRender support on X11 for alpha transparency.

127

170 ----------------------

171

172 - Dropped support for MySQL version 3.

173

174 - Updated Qt's SQLite version to 3.3.6.

182 ------------

183

184 - Auto-detect PostgreSQL and MySQL using pg_config and mysql_config on UNIX

185 based systems in the configure script

186

users-guide.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 474 lines

147 <itemizedlist>

148

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>

177

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.

1 #!/bin/sh

2

3 # This script requires Python support.

4 #

5 # To use, just run "trend" with the accounts to compute the trend for:

apache2-php5.ini (https://bitbucket.org/aarmea/markdown-server.git) INI · 1252 lines

716 mysql.max_links = -1

717

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

747

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

52

53 <para>Not only does the edit server pick a random TCP port number on

54 startup, it also requires that clients provide an

55 <firstterm>authorization key</firstterm>; a randomly-generated number

56 only accessible to processes running on the local machine. So not only

harfbuzz-qt.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 87 lines

35 return (HB_LineBreakClass)QUnicodeTables::lineBreakClass(ch);

36 #else

37 #error "This test currently requires Qt >= 4.3"

38 #endif

39 }

config.guess (https://bitbucket.org/ultra_iter/qt-vtl.git) Shell · 1502 lines

95

96 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a

97 # compiler to aid in system detection is discouraged as it requires

98 # temporary files to be created and, as you can see below, it is a

99 # headache to deal with in a portable fashion.

XmlElementDescriptorWithCDataContent.java (https://bitbucket.org/nbargnesi/idea.git) Java · 23 lines

20

21 public interface XmlElementDescriptorWithCDataContent {

22 boolean requiresCdataBracesInContext(@NotNull XmlTag context);

23 }

TreeBehavior.php (https://bitbucket.org/floresj/notetime.git) PHP · 1006 lines

662 * This method does not change the parent of any node.

663 *

664 * Requires a valid tree, by default it verifies the tree before beginning.

665 *

666 * Options:

qchar.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 1662 lines

683

684 /*!

685 \fn static bool QChar::requiresSurrogates(uint ucs4)

686 \since 4.7

687

curl.h (https://bitbucket.org/Tsiannian/cocos2d-x.git) C++ Header · 2142 lines

464 CURLE_FILESIZE_EXCEEDED, /* 63 - Maximum file size exceeded */

465 CURLE_USE_SSL_FAILED, /* 64 - Requested FTP SSL level failed */

466 CURLE_SEND_FAIL_REWIND, /* 65 - Sending the data requires a rewind

467 that failed */

468 CURLE_SSL_ENGINE_INITFAILED, /* 66 - failed to initialise ENGINE */

jpeglib.h (https://bitbucket.org/Tsiannian/cocos2d-x.git) C++ Header · 1159 lines

849 /* Declarations for routines called by application.

850 * The JPP macro hides prototype parameters from compilers that can't cope.

851 * Note JPP requires double parentheses.

852 */

853

symbianvibration.qdoc (https://bitbucket.org/ultra_iter/qt-vtl.git) Unknown · 193 lines

184 \section1 Symbian Vibration Library

185

186 The \c XQVibra class requires a platform library to be included. It is

187 included in the \c .pro file for the symbian target.

188

Makefile.in (https://swig.svn.sourceforge.net/svnroot/swig) Unknown · 1281 lines

341 # ----------------------------------------------------------------

342 # Build a C dynamically loadable module

343 # Note: Octave requires C++ compiler when compiling C wrappers

344 # ----------------------------------------------------------------

345

7.4.3-9-n.js (https://bitbucket.org/ultra_iter/qt-vtl.git) JavaScript · 98 lines

71

72

73 print("This test requires option javascript.options.strict enabled");

74

75 options('strict');

README (http://enginey.googlecode.com/svn/trunk/) Unknown · 42 lines

2 * You must be signed up to use Amazon S3. You can sign up for Amazon S3 at http://aws.amazon.com/s3.

3 * Use the provided proxy (/dojox/rpc/s3/proxy.php) with PHP 5.

4 * proxy.php requires the following modules:

5 o Crypt_HMAC

6 o HTTP_Request

README.txt (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 115 lines

12 jEdit is a cross platform programmer's text editor written in Java.

13

14 jEdit requires either Java 2 version 1.3 or 1.4. It will not run with

15 earlier versions.

16

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.

41 * the project.</p>

42 *

43 * <p>This requires special treatment in VPTProject.</p>

44 *

45 * @author Marcelo Vanzin

jedit.1 (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 163 lines

27 for HTML, XML, C/C++, Python, Perl, Ruby, Lisp, Scheme, and many others.

28

29 \fBjEdit\fP Requires Sun Java 2 version 1.6.

30

31 \fBjEdit\fP is released under the GNU General Public License, which can be found in

qdrawhelper_sse2.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 544 lines

520 static inline Int32x4 v_toInt(Float32x4 x) { return _mm_cvttps_epi32(x); }

521

522 // pre-VS 2008 doesn't have cast intrinsics, whereas 2008 and later requires it

523 #if defined(Q_CC_MSVC) && _MSC_VER < 1500

524 static inline Int32x4 v_greaterOrEqual(Float32x4 a, Float32x4 b)

fi.po (https://bitbucket.org/ultra_iter/vim-qt.git) Portable Object · 6527 lines

443 msgstr "E708: [:]:n pitהה olla viimeisenה"

444

445 msgid "E709: [:] requires a List value"

446 msgstr "E709: [:] toimii vain listalla"

447

ja.po (https://bitbucket.org/ultra_iter/vim-qt.git) Portable Object · 6493 lines

436 msgstr "E708: [:] は最後でなければいけません"

437

438 msgid "E709: [:] requires a List value"

439 msgstr "E709: [:] にはリスト型の値が必要です"

440

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.

587 } //}}}

588

589 // A method name that starts with _ requires a session object

590

591 //{{{ _canonPath() method

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.

44 } else {

45 if (icsk->icsk_retransmits >= sysctl_dccp_retries1) {

46 /* NOTE. draft-ietf-tcpimpl-pmtud-01.txt requires pmtu

47 black hole detection. :-(

48

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:

53

Display_Abbreviations.bsh (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 392 lines

22 * $Id: Display_Abbreviations.bsh 5224 2005-06-08 22:33:27Z orutherfurd $

23 *

24 * requires JDK 1.2, jEdit3.0

25 *

26 * Notes on use:

users-guide.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 711 lines

142 <itemizedlist>

143 <listitem>

144 <para>The plugin requires jEdit 4.3pre12 or later.</para>

145 </listitem>

146 <listitem>

147 <para>The plugin requires Java JDK 1.5.</para>

148 </listitem>

149 <listitem>

set_of.qbk (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines

427 iterator insert(iterator position, const value_type & x);

428

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);

445

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);

462

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.

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

4

5 QT += qt3support

6 requires(contains(QT_CONFIG,qt3support))

7

8

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.

16 struct iovec

17 {

18 void __user *iov_base; /* BSD uses caddr_t (1003.1g requires void *) */

19 __kernel_size_t iov_len; /* Must be size_t (1003.1g) */

20 };

netwox.spec (git://github.com/repoforge/rpms.git) Unknown · 62 lines

19 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

20

21 BuildRequires: netwib, pkgconfig, libpcap, libnet

22 %{?_with_libpcapdevel:BuildRequires:libpcap-devel}

AGALMiniAssembler.as (https://github.com/ltblue/Starling-Framework.git) ActionScript · 793 lines

159 if ( ( opFound.flags & OP_VERSION2 ) && version<2 )

160 {

161 _error = "error: opcode requires version 2.";

162 break;

163 }

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.

23 install all dependencies.

24

25 The DBD::mysql, DB_File and XML::Parser modules require other applications or

26 databases: MySQL, Berkeley DB, and expat respectively.

27

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).

223

224 Requires:

225

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.

3 ###

4

5 # Requires

6 DocpadPlugin = require "#{__dirname}/../../plugin.coffee"

7

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 }

297

314 [super init]

315 bindValues = [],

316 requiresRepeatedJoin = false;

317 condition = null;

318 return self;