100+ results for 'php delete'
Not the results you expected?
ViewerListener.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 247 lines
✨ Summary
This Java code defines a class ViewerListener
that listens to GUI events and responds to them in a graphical user interface (GUI) for managing projects. It handles actions such as creating, deleting, importing, and removing files from projects, as well as displaying configuration options. The listener is part of a larger application that manages projects and their associated files.
This Java code defines a class ViewerListener
that listens to GUI events and responds to them in a graphical user interface (GUI) for managing projects. It handles actions such as creating, deleting, importing, and removing files from projects, as well as displaying configuration options. The listener is part of a larger application that manages projects and their associated files.
77 this.createProject();
79 } else if (source == this.viewer.deleteProjectBtn) {
80 this.deleteSelectedProject();
210 /**
211 * Delete all this project and select all projects.
212 */
213 private void deleteSelectedProject() {
216 int confirmed =
217 JOptionPane.showConfirmDialog( viewer,
218 "Are you sure you want to delete the project: " + project + " ?",
219 "Delete project?",
stem_UTF_8_norwegian.c (https://github.com/cpc26/4store.git) C · 299 lines
175 case 0: return 0;
176 case 1:
177 { int ret = slice_del(z); /* delete, line 44 */
178 if (ret < 0) return ret;
179 }
189 }
190 lab0:
191 { int ret = slice_del(z); /* delete, line 46 */
192 if (ret < 0) return ret;
193 }
223 }
224 z->bra = z->c; /* ], line 59 */
225 { int ret = slice_del(z); /* delete, line 59 */
226 if (ret < 0) return ret;
227 }
PeakShapeEllipsoidTest.h (https://github.com/wdzhou/mantid.git) C Header · 281 lines
Form.php (https://gitlab.com/fbi/web) PHP · 390 lines
1 <?php
3 /*
104 public function getFiles()
105 {
106 if (!in_array($this->getMethod(), array('POST', 'PUT', 'DELETE'))) {
107 return array();
108 }
124 /**
125 * Gets the field values as PHP.
126 *
127 * This method converts fields with th array notation
128 * (like foo[bar] to arrays) like PHP does.
129 *
130 * @return array An array of field values.
admin_selectTable.php (https://github.com/loboda/cs411.git) PHP · 571 lines
342 <td>
343 <button type="deleteButton" onclick="showDelete('memberof', '<?php print($row['GroupName']); ?>', '<?php print($row['StudentID']); ?>', '<?php print($row['AssnID']); ?>' )">Delete</button>
344 </td>
345 <?php
513 <td>
514 <button type="deleteButton" onclick="showDelete('takes', '<?php print($row['StudentID']); ?>', '<?php print($row['CourseID']); ?>', '0' )">Delete</button>
515 </td>
516 <?php
555 <td>
556 <button type="deleteButton" onclick="showDelete('teaches', '<?php print($row['InstructorID']); ?>', '<?php print($row['CourseID']); ?>', '0' )">Delete</button>
557 </td>
558 <?php
options.php (https://github.com/livinglab/openlab.git) PHP · 316 lines
1 <?php
2 /**
3 * Genesis Framework.
278 }
280 // Cycle through $data, insert value or delete field.
281 foreach ( (array) $data as $field => $value ) {
282 // Save $value, or delete if the $value is empty.
284 update_post_meta( $post->ID, $field, $value );
285 } else {
286 delete_post_meta( $post->ID, $field );
287 }
288 }
305 $settings = wp_parse_args( $new, $old );
307 // Allow settings to be deleted.
308 foreach ( $settings as $key => $value ) {
309 if ( 'unset' == $value ) {
CsrfComponentTest.php (https://gitlab.com/vannh/portal_training) PHP · 308 lines
1 <?php
2 /**
3 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
4 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
5 *
9 *
10 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
11 * @link http://cakephp.org CakePHP(tm) Project
12 * @since 3.0.0
13 * @license http://www.opensource.org/licenses/mit-license.php MIT License
87 {
88 return [
89 ['PATCH'], ['PUT'], ['POST'], ['DELETE']
90 ];
91 }
HttpTestCaseTest.php (https://github.com/devilsansclue/ZendFramework.git) PHP · 316 lines
1 <?php
2 /**
3 * Zend Framework
23 // Call Zend_Controller_Request_HttpTestCaseTest::main() if this source file is executed directly.
24 if (!defined("PHPUnit_MAIN_METHOD")) {
25 define("PHPUnit_MAIN_METHOD", "Zend_Controller_Request_HttpTestCaseTest::main");
28 /** Zend_Controller_Request_HttpTestCase */
29 require_once 'Zend/Controller/Request/HttpTestCase.php';
31 /**
40 * @group Zend_Controller_Request
41 */
42 class Zend_Controller_Request_HttpTestCaseTest extends PHPUnit_Framework_TestCase
43 {
44 /**
ScreenshotHelper.cs
(https://hg01.codeplex.com/d3future)
C# · 206 lines
✨ Summary
This C# code provides a set of utility methods for capturing and saving screenshots of UI elements, including entire windows and individual elements. It supports various image formats (bmp, jpg, gif, png, tiff) and allows saving to streams or files. The code also handles cases where the screenshot cannot be saved due to errors or file existence issues.
This C# code provides a set of utility methods for capturing and saving screenshots of UI elements, including entire windows and individual elements. It supports various image formats (bmp, jpg, gif, png, tiff) and allows saving to streams or files. The code also handles cases where the screenshot cannot be saved due to errors or file existence issues.
Protection.php (https://github.com/vadimonus/moodle.git) PHP · 581 lines
22 * @package PHPExcel_Worksheet
23 * @copyright Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)
24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
25 * @version ##VERSION##, ##DATE##
33 * @package PHPExcel_Worksheet
34 * @copyright Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)
35 */
36 class PHPExcel_Worksheet_Protection
111 * @var boolean
112 */
113 private $deleteRows = false;
115 /**
333 *
334 * @param boolean $pValue
335 * @return PHPExcel_Worksheet_Protection
336 */
337 public function setInsertColumns($pValue = false)
MappingTest.php (https://bitbucket.org/openplacement/sherlock.git) PHP · 306 lines
1 <?php
2 namespace Sherlock\tests;
6 /**
7 * Generated by PHPUnit_SkeletonGenerator 1.2.0 on 2013-02-07 at 03:12:53.
8 */
9 class MappingTest extends \PHPUnit_Framework_TestCase
34 /*
35 try {
36 $this->object->index('testmapping')->delete();
37 } catch (\Exception $e) {
237 );
239 $response = $index->delete();
240 $this->assertEquals(true, $response->ok);
phplist.css (https://github.com/shafiqissani/Online-Book-Shop.git) CSS · 236 lines
59 .title {font-weight: bold; font-size: 11px; color: #999966; font-style: normal; font-family: verdana, sans-serif; text-decoration: none; padding-left:5px;}
61 .phphead,
62 a:active.phphead,
63 a:link.phphead,
64 a:hover.phphead,
65 a:visited.phphead {font-size: 14px; color: #000000; font-style: normal; font-family: verdana, sans-serif; text-decoration: none; padding-left:20px;}
67 .menulinkleft {margin : 0px; padding : 0px;}
100 .listorder {font-family: verdana, sans-serif;font-size : 10px; color : black; padding:0px; width:20px;}
102 .delete {font-family: verdana, sans-serif;font-size : 11px; color : red;background-color : #DEDEB6; font-weight: bold; border-top: 1px black solid; border-bottom: 1px black solid;display : block; text-align : right; text-decoration : none; padding: 2px;vertical-align : top; padding-left : 3px;}
104 a.deletelink,
ElementIDs.h
(http://better-oblivion-sorting-software.googlecode.com/svn/)
C Header · 101 lines
✨ Summary
This is a header file for a C++ program that defines various constants used throughout the program, including IDs for menu items and buttons, as well as other settings and options. It also includes documentation comments describing each constant and its purpose.
This is a header file for a C++ program that defines various constants used throughout the program, including IDs for menu items and buttons, as well as other settings and options. It also includes documentation comments describing each constant and its purpose.
Interface.js (https://github.com/Wkasel/qooxdoo.git) JavaScript · 523 lines
10 License:
11 LGPL: http://www.gnu.org/licenses/lgpl.html
12 EPL: http://www.eclipse.org/org/documents/epl-v10.php
13 See the LICENSE file in the project's top-level directory for details.
411 // no members
412 var def = qx.lang.Object.clone(classDef);
413 delete (def.members);
415 if (this.isDebugOn())
422 // no properties
423 var def = qx.lang.Object.clone(classDef);
424 delete (def.properties);
426 if (this.isDebugOn())
auth.php (https://bitbucket.org/whiterabbitfl/ci_base.git) PHP · 333 lines
Abstract.php (https://github.com/hettema/Stages.git) PHP · 393 lines
list.c (https://gitlab.com/Manizuca/xserver) C · 386 lines
160 assert(memcmp(c, &child[1], sizeof(struct child)) == 0);
162 /* delete first node */
163 xorg_list_del(&child[1].node);
164 assert(!xorg_list_is_empty(&parent.children));
168 assert(memcmp(c, &child[0], sizeof(struct child)) == 0);
170 /* delete last node */
171 xorg_list_add(&child[1].node, &parent.children);
172 xorg_list_del(&child[0].node);
175 assert(memcmp(c, &child[1], sizeof(struct child)) == 0);
177 /* delete list head */
178 xorg_list_add(&child[0].node, &parent.children);
179 xorg_list_del(&parent.children);
_toolbar.php (https://github.com/schmunk42/p3media.git) PHP · 226 lines
127 "visible" => $showDeleteButton && (Yii::app()->user->checkAccess(
128 "P3media.P3MediaTranslation.*"
129 ) || Yii::app()->user->checkAccess("P3media.P3MediaTranslation.Delete"))
130 )
131 );
175 );
176 ?> </div>
177 <?php if ($this->action->id == 'admin'): ?>
178 <div class="btn-group">
218 <?php if ($this->action->id == 'admin'): ?>
219 <div class="search-form" style="display:none">
220 <?php Yii::beginProfile('P3MediaTranslation.view.toolbar.search'); ?> <?php $this->renderPartial(
221 '_search',
222 array('model' => $model,)
Page.php (https://github.com/bblc/tomatocms208v1.git) PHP · 297 lines
1 <?php
2 /**
3 * TomatoCMS
15 * @copyright Copyright (c) 2009-2010 TIG Corporation (http://www.tig.vn)
16 * @license http://www.gnu.org/licenses/gpl-2.0.txt GNU GENERAL PUBLIC LICENSE Version 2
17 * @version $Id: Page.php 4891 2010-08-24 20:06:55Z huuphuoc $
18 * @since 2.0.5
19 */
141 }
143 public function delete($page)
144 {
145 $sql = sprintf("DELETE FROM " . $this->_prefix . "page
dswscope.c
(http://photon-android.googlecode.com/svn/)
C · 215 lines
✨ Summary
This C code implements a scope stack manipulation system for ACPI (Advanced Configuration and Power Interface) objects. It allows pushing and popping scopes onto a stack, managing object types and node names. The acpi_ds_scope_stack_clear
, acpi_ds_scope_stack_push
, and acpi_ds_scope_stack_pop
functions handle these operations, providing a way to manage the scope hierarchy of ACPI objects.
This C code implements a scope stack manipulation system for ACPI (Advanced Configuration and Power Interface) objects. It allows pushing and popping scopes onto a stack, managing object types and node names. The acpi_ds_scope_stack_clear
, acpi_ds_scope_stack_push
, and acpi_ds_scope_stack_pop
functions handle these operations, providing a way to manage the scope hierarchy of ACPI objects.
hashtable.mzscheme.ss (https://github.com/EgoIncarnate/bpm.git) Scheme · 270 lines
5 make-hash-table hash-table? alist->hash-table
6 hash-table-equivalence-function hash-table-hash-function
7 hash-table-ref hash-table-ref/default hash-table-set! hash-table-delete! hash-table-exists? hash-table-update! hash-table-update!/default
8 hash-table-size hash-table-keys hash-table-values hash-table-walk hash-table-fold hash-table->alist hash-table-copy hash-table-merge!
9 hash string-hash string-ci-hash hash-by-identity)
131 (vector-ref entries hash))))
133 (define (%hash-table-delete! entries compare hash key)
134 (let ((entrylist (vector-ref entries hash)))
135 (cond ((null? entrylist) #f)
206 (hash-table-update! hash-table key function (lambda () default)))
208 (define (hash-table-delete! hash-table key)
209 (if (%hash-table-delete! (hash-table-entries hash-table)
carrilana.sql (https://github.com/RamonCidL/Carrilanas.git) SQL · 338 lines
1 -- phpMyAdmin SQL Dump
2 -- version 3.2.4
3 -- http://www.phpmyadmin.net
6 -- Tiempo de generación: 26-10-2011 a las 13:58:40
7 -- Versión del servidor: 5.1.41
8 -- Versión de PHP: 5.3.1
10 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
294 --
295 ALTER TABLE `comentario`
296 ADD CONSTRAINT `fk_comentario_miembro1` FOREIGN KEY (`miembro_id`) REFERENCES `miembro` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
298 --
300 --
301 ALTER TABLE `equipo`
302 ADD CONSTRAINT `fk_equipo_categoria` FOREIGN KEY (`categoria_id`) REFERENCES `categoria` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
304 --
Config.php (https://github.com/pimcore/pimcore.git) PHP · 586 lines
PermissibleAco.php (https://github.com/kiang/olc_baker.git) PHP · 313 lines
1 <?php
3 /**
104 foreach ($children as $id => $child) {
105 if (!in_array($child, $keys)) {
106 $this->delete($id);
107 unset($children[$id]);
108 }
262 $app_cont = get_class_methods($app_cont);
263 foreach ($controllers[1] as $file) {
264 if (substr($file, -14) === 'Controller.php') {
265 $cont = Inflector::camelize(substr($file, 0, -4));
266 $controllerName = substr($cont, 0, -10);
290 $plug_cont = get_class_methods($plug_cont);
291 foreach ($controllers[1] as $file) {
292 if (substr($file, -14) === 'Controller.php') {
293 $cont = Inflector::camelize(substr($file, 0, -4));
294 if (App::import('Controller', $plugin . '.' . substr($cont, 0, -10))) {
ControllerTest.php (https://github.com/corneliusweiss/Tine-2.0-Open-Source-Groupware-and-CRM.git) PHP · 266 lines
1 <?php
2 /**
3 * Tine 2.0 - http://www.tine20.org
118 }
120 public function testDeleteFolder()
121 {
122 $syncrotonFolder = $this->testCreateFolder();
124 $controller = Syncroton_Data_Factory::factory($this->_class, $this->_getDevice(Syncroton_Model_Device::TYPE_IPHONE), new Tinebase_DateTime(null, null, 'de_DE'));
126 $controller->deleteFolder($syncrotonFolder);
127 }
177 /**
178 * testDeleteEntry
179 */
180 public function testDeleteEntry()
ichiring.c (https://github.com/baoilleach/openbabel-svn-mirror.git) C · 336 lines
13 * the GNU Lesser General Public License as published by the Free Software
14 * Foundation:
15 * http://www.opensource.org/licenses/lgpl-2.1.php
16 */
149 #endif /* } QUEUE_QINT == 1 */
151 QUEUE *QueueDelete( QUEUE *q )
152 {
153 if ( q ) {
304 if ( cSource )
305 inchi_free ( cSource );
306 QueueDelete( q );
307 */
308 return nMinRingSize;
CreationMinerais.php (https://github.com/Canop/braldahim.git) PHP · 340 lines
1 <?php
3 /**
66 $nb++;
67 if ($nb == $limit) {
68 $filonTable->delete($where);
69 $nb = 0;
70 $where = "";
74 if ($where != "") {
75 $filonTable->delete($where);
76 }
77 }
79 if ($where != "") {
80 $filonTable->delete($where);
81 }
82 Bral_Util_Log::batchs()->trace("Bral_Batchs_CreationMinerais - suppressionSurEau - exit -");
userdata.sql (https://github.com/nikolasco/zotero-oac.git) SQL · 375 lines
209 );
211 CREATE TABLE deletedItems (
212 itemID INTEGER PRIMARY KEY,
213 dateDeleted DEFAULT CURRENT_TIMESTAMP NOT NULL
285 FOREIGN KEY (syncObjectTypeID) REFERENCES syncObjectTypes(syncObjectTypeID)
286 );
287 CREATE INDEX syncDeleteLog_timestamp ON syncDeleteLog(timestamp);
289 CREATE TABLE storageDeleteLog (
293 PRIMARY KEY (libraryID, key)
294 );
295 CREATE INDEX storageDeleteLog_timestamp ON storageDeleteLog(timestamp);
297 CREATE TABLE oacContexts (
japanese-euc.php (https://github.com/hatone/Nucleus-v3.64.git) PHP · 185 lines
1 <?php
3 /*
4 * @version $Id: japanese-euc.php 931 2009-02-11 08:33:42Z shizuki $
5 * @version $NucleusJP: japanese-euc.php,v 1.3 2007/02/04 06:28:46 kimitake Exp $
22 define('_SKINFILES_RENAME_FILE_MSG', '¥Õ¥¡¥¤¥ë');
23 define('_SKINFILES_RENAME_FILE_MSG2', '¤Î̾Á°¤ò²¼µ¤ËÊѹ¹:');
24 define('_SKINFILES_DELETE', '����');
25 define('_SKINFILES_EDIT', 'ÊÔ½¸');
26 define('_SKINFILES_CANCEL', '¥¥ã¥ó¥»¥ë');
35 define('_SKINFILES_CREATE', 'ºîÀ®');
36 define('_SKINFILES_UPLOAD', '¥¢¥Ã¥×¥í¡¼¥É');
37 define('_SKINFILES_DELETE_FILE', '�ե�����');
38 define('_SKINFILES_DELETE_FILE2', ' ���������ޤ�����');
class.QueryBuilderPlatformMssql.php (https://github.com/palmic/2yaml.git) PHP · 335 lines
1 <?php
2 class QueryBuilderPlatformMssql extends QueryBuilderPlatform
3 {
20 }
22 public function getDelete(/*string*/ $table, QueryBuilderWhere $where = NULL) {
23 if ($where instanceof QueryBuilderWhere) $whereString = $this->getWhereStringByObject($where);
24 $table = reset($this->getQuotesTableName()) . $table . end($this->getQuotesTableName());
25 $out = "DELETE FROM $table \n$whereString";
26 return $out;
27 }
Relationship.php (https://github.com/michaelmcandrew/cic.git) PHP · 311 lines
1 <?php
3 /*
44 */
46 require_once 'api/utils.php';
48 require_once 'CRM/Contact/BAO/Relationship.php';
49 require_once 'CRM/Contact/BAO/RelationshipType.php';
51 /**
71 $sourceContact = $contact->id;
72 $targetContact = $target_contact->id;
73 require_once 'CRM/Contact/DAO/RelationshipType.php';
74 $reletionType = & new CRM_Contact_DAO_RelationshipType();
75 $reletionType->name_a_b = $relationship_type_name;
S3.php (https://github.com/basdog22/Qool.git) PHP · 332 lines
manager.cpp (https://github.com/Dadomba/IGEM_2011_ENSPS_Final_Folder.git) C++ · 341 lines
return_status.php (https://gitlab.com/shapcy/opencart) PHP · 375 lines
1 <?php
2 class ControllerLocalisationReturnStatus extends Controller {
3 private $error = array();
77 }
79 public function delete() {
80 $this->load->language('localisation/return_status');
158 $data['add'] = $this->url->link('localisation/return_status/add', 'token=' . $this->session->data['token'] . $url, true);
159 $data['delete'] = $this->url->link('localisation/return_status/delete', 'token=' . $this->session->data['token'] . $url, true);
161 $data['return_statuses'] = array();
191 $data['button_add'] = $this->language->get('button_add');
192 $data['button_edit'] = $this->language->get('button_edit');
193 $data['button_delete'] = $this->language->get('button_delete');
195 if (isset($this->error['warning'])) {
Synchronization.php (https://github.com/imr/horde.git) PHP · 305 lines
1 <?php
2 /**
3 * Handles synchronization of the list query cache.
4 *
5 * PHP version 5
6 *
7 * @category Kolab
9 * @author Gunnar Wrobel <wrobel@pardus.de>
10 * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1
11 * @link http://pear.horde.org/index.php?package=Kolab_Storage
12 */
24 * @author Gunnar Wrobel <wrobel@pardus.de>
25 * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1
26 * @link http://pear.horde.org/index.php?package=Kolab_Storage
27 */
28 class Horde_Kolab_Storage_List_Query_List_Cache_Synchronization
Adapter.php (https://github.com/imr/horde.git) PHP · 314 lines
1 <?php
2 /**
3 * Copyright 2007 Maintainable Software, LLC
255 /**
256 * Executes the delete statement and returns the number of rows affected.
257 *
258 * @param string $sql SQL statement.
265 * @throws Horde_Db_Exception
266 */
267 public function delete($sql, $arg1 = null, $arg2 = null);
269 /**
model.php (https://github.com/janmoesen/forkcms.git) PHP · 432 lines
Actions.java
(http://loon-simple.googlecode.com/svn/trunk/)
Java · 202 lines
✨ Summary
This Java class manages actions for actors in a game, allowing them to be added, removed, and updated. It provides methods for pausing and starting actions, as well as updating the elapsed time to step through each action’s sequence of events. The class uses an ArrayMap
to store actions associated with each actor, and an ActionElement
object to represent a single action’s state and behavior.
This Java class manages actions for actors in a game, allowing them to be added, removed, and updated. It provides methods for pausing and starting actions, as well as updating the elapsed time to step through each action’s sequence of events. The class uses an ArrayMap
to store actions associated with each actor, and an ActionElement
object to represent a single action’s state and behavior.
random_access_index.hpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ Header · 0 lines
✨ Summary
This C++ header file defines a class random_access_index
that provides a random access interface for storing and querying data. It allows insertion, deletion, and iteration over elements in the index, with features like invariant checking and specialized algorithms for swapping indices. The class is designed to work with various super-metatypes and tag lists, providing flexibility and customization options for different use cases.
This C++ header file defines a class random_access_index
that provides a random access interface for storing and querying data. It allows insertion, deletion, and iteration over elements in the index, with features like invariant checking and specialized algorithms for swapping indices. The class is designed to work with various super-metatypes and tag lists, providing flexibility and customization options for different use cases.
manifest.py (https://bitbucket.org/nbargnesi/idea.git) Python · 200 lines
161 # start with a readonly loop that finds the offset of
162 # each line and creates the deltas
163 for f, todelete in work:
164 # bs will either be the index of the item or the insert point
165 start, end = self._search(addbuf, f, start)
166 if not todelete:
167 l = "%s\000%s%s\n" % (f, revlog.hex(map[f]), map.flags(f))
168 else:
169 if start == end:
170 # item we want to delete was not found, error out
171 raise AssertionError(
172 _("failed to remove %s from manifest") % f)
build.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 241 lines
152 <echo>preparing files</echo>
153 <!-- clean out the config and doc deployment directories -->
154 <delete>
155 <fileset dir="${config.dir}" includes="**/*"/>
156 <fileset dir="${doc.dir}" includes="**/*"/>
157 </delete>
159 <!-- copy the config files to deployment directory
196 <!-- ========================================================================
197 Target: clean
198 deletes all files from the temp directory
199 ========================================================================= -->
200 <target name="clean" description="Delete all files from the classes directory.">
using-plugins.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 143 lines
build.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 160 lines
54 <!-- Main Targets {{{ -->
55 <target name="clean-main">
56 <delete dir="${main.build.dir}" />
57 <mkdir dir="${main.build.dir}"/>
58 <delete dir="${main.dist.dir}" />
128 <!-- Test Targets {{{ -->
129 <target name="clean-test">
130 <delete dir="${test.build.dir}" />
131 <mkdir dir="${test.build.dir}"/>
132 <delete dir="${test.dist.dir}" />
progress.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 1060 lines
190 <KEYWORD1>DEFAULT-WINDOW</KEYWORD1>
191 <KEYWORD1>DEFINE</KEYWORD1>
192 <KEYWORD1>DELETE</KEYWORD1>
193 <KEYWORD1>DESCENDING</KEYWORD1>
194 <KEYWORD1>DIALOG-BOX</KEYWORD1>
328 <KEYWORD1>OS-COPY</KEYWORD1>
329 <KEYWORD1>OS-CREATE-DIR</KEYWORD1>
330 <KEYWORD1>OS-DELETE</KEYWORD1>
331 <KEYWORD1>OS-DIR</KEYWORD1>
332 <KEYWORD1>OS-RENAME</KEYWORD1>
797 <KEYWORD3>CREATE-RESULT-LIST-ENTRY</KEYWORD3>
798 <KEYWORD3>DEBUG</KEYWORD3>
799 <KEYWORD3>DELETE</KEYWORD3>
800 <KEYWORD3>DELETE-CHAR</KEYWORD3>
801 <KEYWORD3>DELETE-CURRENT-ROW</KEYWORD3>
802 <KEYWORD3>DELETE-LINE</KEYWORD3>
coldfusion.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 645 lines
171 <FUNCTION>ArrayAvg</FUNCTION>
172 <FUNCTION>ArrayClear</FUNCTION>
173 <FUNCTION>ArrayDeleteAt</FUNCTION>
174 <FUNCTION>ArrayInsertAt</FUNCTION>
175 <FUNCTION>ArrayIsEmpty</FUNCTION>
252 <FUNCTION>ListContains</FUNCTION>
253 <FUNCTION>ListContainsNoCase</FUNCTION>
254 <FUNCTION>ListDeleteAt</FUNCTION>
255 <FUNCTION>ListFind</FUNCTION>
256 <FUNCTION>ListFindNoCase</FUNCTION>
268 <FUNCTION>StructCopy</FUNCTION>
269 <FUNCTION>StructCount</FUNCTION>
270 <FUNCTION>StructDelete</FUNCTION>
271 <FUNCTION>StructFind</FUNCTION>
272 <FUNCTION>StructInsert</FUNCTION>
FileVFS.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 687 lines
✨ Summary
This Java code implements a file system view for a text editor, allowing users to interact with files and directories on their local file system. It provides methods for creating input/output streams, saving files, setting permissions, and preserving file permissions. The code also handles Unix-specific commands like chmod
and ls
.
This Java code implements a file system view for a text editor, allowing users to interact with files and directories on their local file system. It provides methods for creating input/output streams, saving files, setting permissions, and preserving file permissions. The code also handles Unix-specific commands like chmod
and ls
.
50 public FileVFS()
51 {
52 super("file",READ_CAP | WRITE_CAP | BROWSE_CAP | DELETE_CAP
53 | RENAME_CAP | MKDIR_CAP | LOW_LATENCY_CAP
54 | (OperatingSystem.isCaseInsensitiveFS()
162 } //}}}
164 //{{{ recursiveDelete() method
165 /**
166 * #
167 * @param path the directory path to recursive delete
168 * @return true if successful, else false
169 */
HistoryModel.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 334 lines
✨ Summary
This Java code defines a HistoryModel
class that manages a list of history entries for a text editor. It allows loading and saving history data to a file, trimming the list to a maximum size, and providing methods for accessing individual entries. The model is designed to be used by multiple text editors, with features like automatic backup and versioning.
This Java code defines a HistoryModel
class that manages a list of history entries for a text editor. It allows loading and saving history data to a file, trimming the list to a maximum size, and providing methods for accessing individual entries. The model is designed to be used by multiple text editors, with features like automatic backup and versioning.
JSOESStandardDerivatives.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 125 lines
43 static const HashTableValue JSOESStandardDerivativesPrototypeTableValues[2] =
44 {
45 { "FRAGMENT_SHADER_DERIVATIVE_HINT_OES", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsOESStandardDerivativesFRAGMENT_SHADER_DERIVATIVE_HINT_OES), (intptr_t)0 THUNK_GENERATOR(0) },
46 { 0, 0, 0, 0 THUNK_GENERATOR(0) }
47 };
DiffGlobalPhysicalOverview.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 154 lines
✨ Summary
This Java code is part of a diff (difference) tool, specifically a graphical overview of two versions of text files. It displays a visual representation of the differences between the two files, including inserted and deleted lines, with a cursor indicating the current line in each file. The display is rendered using graphics and colors to highlight changes.
This Java code is part of a diff (difference) tool, specifically a graphical overview of two versions of text files. It displays a visual representation of the differences between the two files, including inserted and deleted lines, with a cursor indicating the current line in each file. The display is rendered using graphics and colors to highlight changes.
90 rightOffset = hunk.line1;
92 if (hunk.inserted == 0 && hunk.deleted != 0) { // DELETE
93 leftColor = JDiffPlugin.overviewDeletedColor;
94 rightColor = JDiffPlugin.overviewInvalidColor;
95 } else if (hunk.inserted != 0 && hunk.deleted == 0) { // INSERT
96 leftColor = JDiffPlugin.overviewInvalidColor;
97 rightColor = JDiffPlugin.overviewInsertedColor;
103 left.y = inner.y + (int) Math.round(leftOffset * pxlPerLine);
104 right.y = inner.y + (int) Math.round(rightOffset * pxlPerLine);
105 left.height = Math.max(1, (int) Math.round(hunk.deleted * pxlPerLine));
106 right.height = Math.max(1, (int) Math.round(hunk.inserted * pxlPerLine));
107 gfx.setColor(leftColor);
Delete.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 101 lines
✨ Summary
This Java class, Delete
, provides a command to delete files and directories from a Subversion repository using the svnkit library. It takes in a DeleteData
object containing paths to be deleted, username, password, and output/error streams. The class processes these inputs, performs the deletes, and returns a DeleteResults
object with success or error messages for each path.
This Java class, Delete
, provides a command to delete files and directories from a Subversion repository using the svnkit library. It takes in a DeleteData
object containing paths to be deleted, username, password, and output/error streams. The class processes these inputs, performs the deletes, and returns a DeleteResults
object with success or error messages for each path.
46 public class Delete {
48 public DeleteResults delete( DeleteData data ) throws CommandInitializationException, SVNException {
50 // validate data values
81 // actually do the deletes(s)
82 PrintStream out = data.getOut();
83 DeleteResults results = new DeleteResults();
84 for ( String path : paths ) {
85 try {
86 File file = new File(path);
87 client.doDelete( file, data.getForce(), data.getDeleteFiles(), data.getDryRun() );
88 results.addPath(path);
89 }
UpdateData.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 106 lines
✨ Summary
This Java class represents data from a Subversion (SVN) update operation, containing information about conflicted files, added files, deleted files, updated files, and the SVN revision number. It provides getter and setter methods to access and modify these fields, allowing for easy manipulation of the update data.
This Java class represents data from a Subversion (SVN) update operation, containing information about conflicted files, added files, deleted files, updated files, and the SVN revision number. It provides getter and setter methods to access and modify these fields, allowing for easy manipulation of the update data.
7 private List<String> conflictedFiles = null;
8 private List<String> addedFiles = null;
9 private List<String> deletedFiles = null;
10 private List<String> updatedFiles = null;
11 private SVNRevision revision = SVNRevision.HEAD;
74 /**
75 * Returns the value of deletedFiles.
76 */
77 public List<String> getDeletedFiles() {
82 * Sets the value of deletedFiles.
83 * @param deletedFiles The value to assign deletedFiles.
84 */
85 public void setDeletedFiles( List<String> deletedFiles ) {
86 this.deletedFiles = deletedFiles;
87 }
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.
18 <a href="#2">Creating a project from existing files</a><br>
19 <a href="#3">Handling individual files</a><br>
20 <a href="#4">How to undelete a deleted file</a><br>
21 <a href="#41">Merging</a><br>
22 <a href="#5">Bugtraq</a><br>
278 <br> <img src="added.png"> The file has been scheduled for "add" to the repository.<br>
279 <br> <img src="conflict.png"> The file has a conflict that needs to be resolved.<br>
280 <br> <img src="deleted.png"> The file has been deleted from the repository.<br>
281 <br> <img src="ignored.png"> The file is ignored by Subversion.<br>
282 <br> <img src="locked.png"> The file is locked by Subversion.<br>
374 <hr>
375 <p>
376 <a name="4"><h2>How to undelete a deleted file</h2></a>
377 </p>
378 <p>
rpz.h
(https://bitbucket.org/freebsd/freebsd-head/)
C Header · 201 lines
✨ Summary
This C header file defines a response policy zone (RPZ) system for DNS, which allows administrators to specify custom responses to certain queries. It provides data structures and functions for managing RPZ zones, CIDR blocks, and policies, as well as handling queries and recursion. The code is part of the ISC BIND DNS server software.
This C header file defines a response policy zone (RPZ) system for DNS, which allows administrators to specify custom responses to certain queries. It provides data structures and functions for managing RPZ zones, CIDR blocks, and policies, as well as handling queries and recursion. The code is part of the ISC BIND DNS server software.
legousbtower.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 1082 lines
✨ Summary
This C code implements a Linux kernel module for interacting with LEGO USB Tower devices. It registers a device driver with the USB subsystem, allowing users to communicate with the device and retrieve its firmware version. The module also handles device disconnection and provides information about the device’s status. It is designed to work with LEGO USB Tower devices and provides basic functionality for interacting with them.
This C code implements a Linux kernel module for interacting with LEGO USB Tower devices. It registers a device driver with the USB subsystem, allowing users to communicate with the device and retrieve its firmware version. The module also handles device disconnection and provides information about the device’s status. It is designed to work with LEGO USB Tower devices and provides basic functionality for interacting with them.
241 static ssize_t tower_read (struct file *file, char __user *buffer, size_t count, loff_t *ppos);
242 static ssize_t tower_write (struct file *file, const char __user *buffer, size_t count, loff_t *ppos);
243 static inline void tower_delete (struct lego_usb_tower *dev);
244 static int tower_open (struct inode *inode, struct file *file);
245 static int tower_release (struct inode *inode, struct file *file);
307 /**
308 * tower_delete
309 */
310 static inline void tower_delete (struct lego_usb_tower *dev)
462 /* the device was unplugged before the file was released */
464 /* unlock here as tower_delete frees dev */
465 mutex_unlock(&dev->lock);
466 tower_delete (dev);
regress-312351.js (https://bitbucket.org/ultra_iter/qt-vtl.git) JavaScript · 50 lines
30 * use your version of this file under the terms of the MPL, indicate your
31 * decision by deleting the provisions above and replace them with the notice
32 * and other provisions required by the GPL or the LGPL. If you do not delete
33 * the provisions above, a recipient may use your version of this file under
34 * the terms of any one of the MPL, the GPL or the LGPL.
PluginJAR.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 1746 lines
✨ Summary
This Java code defines a class that manages plugins for a text editor. It reads and writes plugin data to a file, including plugin names, URLs, boolean flags, and string values. The class also handles plugin installation, uninstallation, and updates. It uses a proprietary format for storing plugin data, which is specific to the text editor’s architecture.
This Java code defines a class that manages plugins for a text editor. It reads and writes plugin data to a file, including plugin names, URLs, boolean flags, and string values. The class also handles plugin installation, uninstallation, and updates. It uses a proprietary format for storing plugin data, which is specific to the text editor’s architecture.
makefile.jmk (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 71 lines
basics.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 297 lines
283 To repeat a command multiple times, enter a number in the action bar, then invoke the command. For example,
284 <quote><keycap>C+ENTER</keycap> <keycap>1</keycap> <keycap>4</keycap>
285 <keycap>C+d</keycap></quote> will delete
286 14 lines; <quote><keycap>C+ENTER</keycap> <keycap>9</keycap>
287 <keycap>#</keycap></quote>
DropDownSelect.js
(http://enginey.googlecode.com/svn/trunk/)
JavaScript · 235 lines
✨ Summary
This is a JavaScript class that defines a form field widget, specifically a dropdown menu. It handles events such as focus, blur, and keypress, validating user input and displaying error messages if necessary. The class also manages the visibility and behavior of the dropdown menu, including loading its contents from a specified function.
This is a JavaScript class that defines a form field widget, specifically a dropdown menu. It handles events such as focus, blur, and keypress, validating user input and displaying error messages if necessary. The class also manages the visibility and behavior of the dropdown menu, including loading its contents from a specified function.
108 if(!this._iReadOnly){
109 this.attr("readOnly", (len === 1));
110 delete this._iReadOnly;
111 }
112 if(!this._iDisabled){
113 this.attr("disabled", (len === 0));
114 delete this._iDisabled;
115 }
116 this._setValueAttr(this.value);
156 this.state = "";
157 this._setStateClass();
158 delete this._message;
159 },
DemoGameManager.h
(http://angel-engine.googlecode.com/svn/trunk/)
C Header · 83 lines
✨ Summary
This C++ header file defines two classes: DemoScreen
and DemoGameManager
. The former is a renderable screen with a list of objects, while the latter is a game manager that handles rendering, sound, and message reception for multiple screens. It’s part of a game engine, likely using the Angel graphics library.
This C++ header file defines two classes: DemoScreen
and DemoGameManager
. The former is a renderable screen with a list of objects, while the latter is a game manager that handles rendering, sound, and message reception for multiple screens. It’s part of a game engine, likely using the Angel graphics library.
tst_qitemselectionmodel.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 2713 lines
build.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 78 lines
Cell.h
(https://freespeech.svn.sourceforge.net/svnroot/freespeech)
C++ Header · 86 lines
✨ Summary
This C++ header file defines a class Cell
that represents a node in a decision tree, and a class MutualInformation
. The Cell
class has methods for splitting data into child nodes, finding thresholds, and calculating template features. It also includes an operator overload for input/output streams. The MutualInformation
class calculates mutual information between two variables.
This C++ header file defines a class Cell
that represents a node in a decision tree, and a class MutualInformation
. The Cell
class has methods for splitting data into child nodes, finding thresholds, and calculating template features. It also includes an operator overload for input/output streams. The MutualInformation
class calculates mutual information between two variables.
15.8.1.5-1.js (https://bitbucket.org/ultra_iter/qt-vtl.git) JavaScript · 66 lines
31 * use your version of this file under the terms of the MPL, indicate your
32 * decision by deleting the provisions above and replace them with the notice
33 * and other provisions required by the GPL or the LGPL. If you do not delete
34 * the provisions above, a recipient may use your version of this file under
35 * the terms of any one of the MPL, the GPL or the LGPL.
43 ECMA Section: 15.8.1.5.js
44 Description: All value properties of the Math object should have
45 the attributes [DontEnum, DontDelete, ReadOnly]
47 this test checks the ReadOnly attribute of Math.LOG10E
FavoritesVFS.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 213 lines
✨ Summary
This Java code implements a Virtual File System (VFS) for storing frequently-visited directories, known as “favorites”. It allows users to add and remove favorites, which are stored in a list and updated when changed. The VFS is used by the JEdit text editor.
This Java code implements a Virtual File System (VFS) for storing frequently-visited directories, known as “favorites”. It allows users to add and remove favorites, which are stored in a list and updated when changed. The VFS is used by the JEdit text editor.
34 * returns the favorites list. The deletePath of each entry is the
35 * directory prefixed with "favorites:" so that right-clicking on a
36 * favorite and clicking 'delete' in the browser just deletes the
37 * favorite, and not the directory itself.
38 * @author Slava Pestov
46 public FavoritesVFS()
47 {
48 super("favorites",DELETE_CAP | LOW_LATENCY_CAP,
49 new String[] { EA_TYPE });
77 } //}}}
79 //{{{ _delete() method
80 public boolean _delete(Object session, String path, Component comp)
pngwin.def
(http://angel-engine.googlecode.com/svn/trunk/)
Module-Definition · 215 lines
✨ Summary
This is a LIBPNG module definition file for Windows, specifying the functions and variables exported by the library. It defines the interface between the library and other programs, allowing them to interact with PNG image data. The code lists over 100 functions and variables, including those related to image creation, reading, writing, and manipulation, as well as error handling and memory management.
This is a LIBPNG module definition file for Windows, specifying the functions and variables exported by the library. It defines the interface between the library and other programs, allowing them to interact with PNG image data. The code lists over 100 functions and variables, including those related to image creation, reading, writing, and manipulation, as well as error handling and memory management.
UINode.cc
(https://freespeech.svn.sourceforge.net/svnroot/freespeech)
C++ · 282 lines
✨ Summary
This C++ code defines a class UINode
that represents a node in a network, which can be used to build and generate code for various types of nodes. It provides methods for inserting parameters, creating links, building nodes, and generating code. The code is designed to work with a larger system that uses a factory pattern to create different types of nodes based on their names and parameter sets.
This C++ code defines a class UINode
that represents a node in a network, which can be used to build and generate code for various types of nodes. It provides methods for inserting parameters, creating links, building nodes, and generating code. The code is designed to work with a larger system that uses a factory pattern to create different types of nodes based on their names and parameter sets.
MDB.java
(http://loon-simple.googlecode.com/svn/trunk/)
Java · 69 lines
✨ Summary
This is a Java interface named MDB, which appears to be part of a database management system. It provides methods for interacting with tables in a database, including opening and closing tables, inserting, updating, and deleting data, as well as retrieving table lists and keys. The interface also includes methods for managing the database’s state, such as beginning and ending transactions.
This is a Java interface named MDB, which appears to be part of a database management system. It provides methods for interacting with tables in a database, including opening and closing tables, inserting, updating, and deleting data, as well as retrieving table lists and keys. The interface also includes methods for managing the database’s state, such as beginning and ending transactions.
38 public Set getTables();
40 public boolean deleteTable();
42 public boolean isClose();
50 public void update(String key, Object value);
52 public Object deleteIndex(long keyIndex);
54 public Object delete(String key);
56 public Object deleteTableAndReturn(String key);
58 public Object select(String key);
sas.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 442 lines
95 <SEQ TYPE="FUNCTION" AT_WORD_START="TRUE">PROC CONTENTS</SEQ>
96 <SEQ TYPE="FUNCTION" AT_WORD_START="TRUE">PROC DATASETS</SEQ>
97 <SEQ TYPE="FUNCTION" AT_WORD_START="TRUE">PROC DELETE</SEQ>
98 <SEQ TYPE="FUNCTION" AT_WORD_START="TRUE">PROC FORMAT</SEQ>
99 <SEQ TYPE="FUNCTION" AT_WORD_START="TRUE">PROC FREQ</SEQ>
246 <KEYWORD2>DECENDING</KEYWORD2>
247 <KEYWORD2>DEFINE</KEYWORD2>
248 <KEYWORD2>DELETE</KEYWORD2>
249 <KEYWORD2>DELIMITER</KEYWORD2>
250 <KEYWORD2>DISPLAY</KEYWORD2>
BrowserColorsOptionPane.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 346 lines
✨ Summary
This Java code creates a GUI component for managing browser colors. It allows users to add, remove, and edit color settings for different file types. The component displays a table with two columns: one for glob patterns and another for corresponding colors. Users can select new colors from a palette or enter custom values. The changes are saved when the user clicks “Save”.
This Java code creates a GUI component for managing browser colors. It allows users to add, remove, and edit color settings for different file types. The component displays a table with two columns: one for glob patterns and another for corresponding colors. Users can select new colors from a palette or enter custom values. The changes are saved when the user clicks “Save”.
FileVFS.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 505 lines
✨ Summary
This Java code implements a file system interface for a text editor, allowing users to interact with files on their local machine. It provides methods for creating, reading, writing, and deleting files, as well as managing file permissions and updating the file system when changes are made. The code is designed to work on Unix-like systems, but does nothing on non-Unix platforms.
This Java code implements a file system interface for a text editor, allowing users to interact with files on their local machine. It provides methods for creating, reading, writing, and deleting files, as well as managing file permissions and updating the file system when changes are made. The code is designed to work on Unix-like systems, but does nothing on non-Unix platforms.
44 public FileVFS()
45 {
46 super("file",READ_CAP | WRITE_CAP | BROWSE_CAP | DELETE_CAP
47 | RENAME_CAP | MKDIR_CAP | LOW_LATENCY_CAP);
48 } //}}}
277 } //}}}
279 //{{{ _delete() method
280 public boolean _delete(Object session, String path, Component comp)
281 {
282 boolean retVal = new File(path).delete();
283 if(retVal)
284 VFSManager.sendVFSUpdate(this,path,true);
294 // Case-insensitive fs workaround
295 if(!from.equalsIgnoreCase(to))
296 _to.delete();
298 boolean retVal = new File(from).renameTo(_to);
HardKeyboardSequenceHandler.java
(http://softkeyboard.googlecode.com/svn/)
Java · 210 lines
✨ Summary
This Java class, HardKeyboardSequenceHandler
, is a part of an Android keyboard implementation. It manages sequences of key events and maps them to characters. The class stores these sequences in a HashMap and uses them to predict the next character based on the input key event. It also keeps track of the last typed key event time and resets the sequence if it exceeds a certain living time threshold.
This Java class, HardKeyboardSequenceHandler
, is a part of an Android keyboard implementation. It manages sequences of key events and maps them to characters. The class stores these sequences in a HashMap and uses them to predict the next character based on the input key event. It also keeps track of the last typed key event time and resets the sequence if it exceeds a certain living time threshold.
lao_qwerty.xml (http://softkeyboard.googlecode.com/svn/) XML · 86 lines
base2.js
(http://enginey.googlecode.com/svn/trunk/)
JavaScript · 973 lines
✨ Summary
This JavaScript code defines a set of modules and namespaces for a programming language, including Base
, Abstract
, Module
, Enumerable
, Array2
, Hash
, Collection
, RegGrp
, and Namespace
. It sets up the namespace hierarchy and exports functions from each module. The code also includes some utility functions like extend
and format
.
This JavaScript code defines a set of modules and namespaces for a programming language, including Base
, Abstract
, Module
, Enumerable
, Array2
, Hash
, Collection
, RegGrp
, and Namespace
. It sets up the namespace hierarchy and exports functions from each module. The code also includes some utility functions like extend
and format
.
68 var proto = new this;
69 extend.call(proto, _instance);
70 delete Base._prototyping;
72 // create the wrapper for the constructor function
77 this._constructing = true;
78 constructor.apply(this, arguments);
79 delete this._constructing;
80 } else { // casting
81 var object = arguments[0];
565 if (Array[name]) {
566 IArray[name] = Array[name];
567 delete IArray.prototype[name];
568 }
569 Array2[name] = IArray[name];
jedit.props (https://jedit.svn.sourceforge.net/svnroot/jedit) MSBuild · 437 lines
vbscript.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 740 lines
375 <LITERAL2>adMovePrevious</LITERAL2>
376 <LITERAL2>adAddNew</LITERAL2>
377 <LITERAL2>adDelete</LITERAL2>
378 <LITERAL2>adUpdate</LITERAL2>
379 <LITERAL2>adBookmark</LITERAL2>
473 <LITERAL2>adEditInProgress</LITERAL2>
474 <LITERAL2>adEditAdd</LITERAL2>
475 <LITERAL2>adEditDelete</LITERAL2>
476 -->
477 <!-- RecordStatusEnum Values -->
479 <LITERAL2>adRecNew</LITERAL2>
480 <LITERAL2>adRecModified</LITERAL2>
481 <LITERAL2>adRecDeleted</LITERAL2>
482 <LITERAL2>adRecUnmodified</LITERAL2>
483 <LITERAL2>adRecInvalid</LITERAL2>
Display_Abbreviations.bsh (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 392 lines
pl-sql.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 398 lines
ValuePattern.java (https://bitbucket.org/__wp__/mb-linux-msli.git) Java · 58 lines
qdesktopservices.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 312 lines
users-guide.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 406 lines
i82365.h
(http://photon-android.googlecode.com/svn/)
C++ Header · 136 lines
✨ Summary
This C++ header file defines constants and macros for interacting with the Intel 82365SL PCMCIA controller, a type of expansion card slot in older computers. It provides offsets for various registers, flags for register values, and macros for accessing specific registers and features. The code is likely used to communicate with the 82365SL controller in a Linux system.
This C++ header file defines constants and macros for interacting with the Intel 82365SL PCMCIA controller, a type of expansion card slot in older computers. It provides offsets for various registers, flags for register values, and macros for accessing specific registers and features. The code is likely used to communicate with the 82365SL controller in a Linux system.
23 * your version of this file under the MPL, indicate your decision by
24 * deleting the provisions above and replace them with the notice and
25 * other provisions required by the GPL. If you do not delete the
26 * provisions above, a recipient may use your version of this file
27 * under either the MPL or the GPL.
faq-use.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 715 lines
63 <guimenuitem>Abbreviations</guimenuitem> option pane. You
64 will see a checkbox option for <quote>Space bar expands
65 abbrevs</quote>. Here you can also add, modify and delete
66 abbreviations on a global basis or for individual editing
67 modes.</para>
255 <guimenuitem>Favorites</guimenuitem> button, and select
256 <guimenuitem>Add to favorites</guimenuitem> from the
257 resulting menu. To delete a directory from the favorites
258 list, use the same menu to go to the favorites list.
259 Right-click on the directory to be deleted and select
260 <guimenuitem>Delete</guimenuitem>. This operation will
261 delete the directory from the list of favorites but will
608 close-all.shortcut=C+q C+w
609 regexp.shortcut=C+q C+x
610 paste-deleted.shortcut=C+q C+y
611 redo.shortcut=C+q C+z
612 #}}}
BrowserColorsOptionPane.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 406 lines
✨ Summary
This Java code creates a graphical user interface (GUI) component that displays a table of color settings for a text editor. The table allows users to edit glob patterns and colors, which are then saved back to the text editor’s configuration. The GUI uses a custom ColorRenderer
class to display colors in the table cells.
This Java code creates a graphical user interface (GUI) component that displays a table of color settings for a text editor. The table allows users to edit glob patterns and colors, which are then saved back to the text editor’s configuration. The GUI uses a custom ColorRenderer
class to display colors in the table cells.
FuzzySet.h
(https://freespeech.svn.sourceforge.net/svnroot/freespeech)
C Header · 123 lines
✨ Summary
This C++ header file defines a class FuzzySet
that represents a set of fuzzy functions, which are used to model uncertainty in decision-making and other applications. The class provides methods for adding, retrieving, and manipulating fuzzy functions, as well as evaluating the membership values of these functions at given input points.
This C++ header file defines a class FuzzySet
that represents a set of fuzzy functions, which are used to model uncertainty in decision-making and other applications. The class provides methods for adding, retrieving, and manipulating fuzzy functions, as well as evaluating the membership values of these functions at given input points.
tsql.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 1020 lines
99 <KEYWORD1>DECLARE</KEYWORD1>
100 <KEYWORD1>DEFAULT</KEYWORD1>
101 <KEYWORD1>DELETE</KEYWORD1>
102 <KEYWORD1>DENY</KEYWORD1>
103 <KEYWORD1>DESC</KEYWORD1>
582 <KEYWORD3>sp_defaultdb</KEYWORD3>
583 <KEYWORD3>sp_defaultlanguage</KEYWORD3>
584 <KEYWORD3>sp_delete_alert</KEYWORD3>
585 <KEYWORD3>sp_delete_backuphistory</KEYWORD3>
586 <KEYWORD3>sp_delete_category</KEYWORD3>
587 <KEYWORD3>sp_delete_job</KEYWORD3>
588 <KEYWORD3>sp_delete_jobschedule</KEYWORD3>
589 <KEYWORD3>sp_delete_jobserver</KEYWORD3>
track_objects.i (https://swig.svn.sourceforge.net/svnroot/swig) Unknown · 96 lines
TODO.txt (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 20 lines
UIDocument.cc
(https://freespeech.svn.sourceforge.net/svnroot/freespeech)
C++ · 653 lines
✨ Summary
This C++ code is part of a neural network simulator, specifically a user interface (UIDocument) class that manages and runs simulations. It allows users to build, run, and visualize networks using a graphical interface. The code includes functions for building networks, running simulations, generating code, and updating network information.
This C++ code is part of a neural network simulator, specifically a user interface (UIDocument) class that manages and runs simulations. It allows users to build, run, and visualize networks using a graphical interface. The code includes functions for building networks, running simulations, generating code, and updating network information.
32 //cerr << "destroying UIDocument " << name << endl;
33 for (unsigned int i=0;i<networks.size();i++)
34 delete networks[i];
36 for (unsigned int i=0;i<textParams.size();i++)
37 delete textParams[i];
39 for (unsigned int i=0;i<docInputs.size();i++)
40 delete docInputs[i];
42 for (unsigned int i=0;i<docOutputs.size();i++)
IDBBackingStore.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 114 lines
52 virtual void getObjectStores(int64_t databaseId, Vector<int64_t>& foundIds, Vector<String>& foundNames, Vector<String>& foundKeyPaths, Vector<bool>& foundAutoIncrementFlags) = 0;
53 virtual bool createObjectStore(int64_t databaseId, const String& name, const String& keyPath, bool autoIncrement, int64_t& assignedObjectStoreId) = 0;
54 virtual void deleteObjectStore(int64_t databaseId, int64_t objectStoreId) = 0;
56 class ObjectStoreRecordIdentifier : public RefCounted<ObjectStoreRecordIdentifier> {
64 virtual bool putObjectStoreRecord(int64_t databaseId, int64_t objectStoreId, const IDBKey&, const String& value, ObjectStoreRecordIdentifier*) = 0;
65 virtual void clearObjectStore(int64_t databaseId, int64_t objectStoreId) = 0;
66 virtual void deleteObjectStoreRecord(int64_t databaseId, int64_t objectStoreId, const ObjectStoreRecordIdentifier*) = 0;
67 virtual double nextAutoIncrementNumber(int64_t databaseId, int64_t objectStoreId) = 0;
68 virtual bool keyExistsInObjectStore(int64_t databaseId, int64_t objectStoreId, const IDBKey&, ObjectStoreRecordIdentifier* foundRecordIdentifier) = 0;
77 virtual void getIndexes(int64_t databaseId, int64_t objectStoreId, Vector<int64_t>& foundIds, Vector<String>& foundNames, Vector<String>& foundKeyPaths, Vector<bool>& foundUniqueFlags) = 0;
78 virtual bool createIndex(int64_t databaseId, int64_t objectStoreId, const String& name, const String& keyPath, bool isUnique, int64_t& indexId) = 0;
79 virtual void deleteIndex(int64_t databaseId, int64_t objectStoreId, int64_t indexId) = 0;
80 virtual bool putIndexDataForRecord(int64_t databaseId, int64_t objectStoreId, int64_t indexId, const IDBKey&, const ObjectStoreRecordIdentifier*) = 0;
81 virtual bool deleteIndexDataForRecord(int64_t databaseId, int64_t objectStoreId, int64_t indexId, const ObjectStoreRecordIdentifier*) = 0;
macro-tips.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 921 lines
185 that take the initial, default text to be displayed in the
186 field as a parameter. When the message box is displayed, the
187 default text will appear and can be altered or deleted by
188 the user.</para>
189 </listitem>
913 <para>Execution of the macro is halted until the message dialog
914 box is closed. When you have finished debugging the macro, you
915 should delete or comment out the debugging calls to
916 <function>Macros.message()</function> in your final source
917 code.</para>
ASBeautifier.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 1865 lines
✨ Summary
This Java code appears to be a part of a C/C++ preprocessor, specifically handling variable and function declarations. It checks for valid characters in identifiers, handles header detection, and manages indentation levels during parsing. The code seems to be designed to ensure that the output is syntactically correct and follows standard C/C++ conventions.
This Java code appears to be a part of a C/C++ preprocessor, specifically handling variable and function declarations. It checks for valid characters in identifiers, handles header detection, and manages indentation levels during parsing. The code seems to be designed to ensure that the output is syntactically correct and follows standard C/C++ conventions.
711 // check if this line ends a multi-line #define.
712 // if so, use the #define's cloned beautifier for the line's indentation
713 // and then remove it from the active beautifier stack and delete it.
714 if (!backslashEndsPrevLine && isInDefineDefinition && !isInDefine) {
715 String beautifiedLine;
FLWORArranger.java
(http://xbird.googlecode.com/svn/trunk/)
Java · 1011 lines
✨ Summary
This Java code is part of an XQuery processor, specifically a dependency checker and optimizer. It analyzes an XQuery expression to identify dependencies between variables and clauses, allowing for optimization and simplification of the query. The code uses visitor patterns to traverse the abstract syntax tree of the XQuery expression and detect dependencies, which are then used to optimize the query.
This Java code is part of an XQuery processor, specifically a dependency checker and optimizer. It analyzes an XQuery expression to identify dependencies between variables and clauses, allowing for optimization and simplification of the query. The code uses visitor patterns to traverse the abstract syntax tree of the XQuery expression and detect dependencies, which are then used to optimize the query.
erlang.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 267 lines
ClearCaseConstants.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 84 lines
✨ Summary
This Java code defines an interface named ClearCaseConstants
that provides a set of constants for ClearCase commands and options. It includes strings representing various commands, such as COMMAND_CLEARTOOL
, COMMAND_CLEARFINDCO
, and option flags like OPTION_KEEP_FILE
. The constants are likely used to interact with the ClearCase version control system in a Java application.
This Java code defines an interface named ClearCaseConstants
that provides a set of constants for ClearCase commands and options. It includes strings representing various commands, such as COMMAND_CLEARTOOL
, COMMAND_CLEARFINDCO
, and option flags like OPTION_KEEP_FILE
. The constants are likely used to interact with the ClearCase version control system in a Java application.
rm.bsh (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 22 lines
plugin-tips.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 161 lines
31 need to list them in the <filename>plugin.<replaceable>class
32 name</replaceable>.files</filename> property. If you don't do so, they
33 don't get deleted if the plugin is uninstalled. See the documentation
34 for the <ulink url="../api/org/gjt/sp/jedit/EditPlugin.html">
35 <classname>EditPlugin</classname></ulink> class for details.</para>
build.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 172 lines
UtilTargetError.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 74 lines
✨ Summary
This Java code defines a custom exception class UtilTargetError
that extends UtilEvalError
. It represents an error that occurs when a utility or other class throws an exception without having access to its caller context (Node). The class has two constructors and overrides the toEvalError
method to create a new instance of TargetError
.
This Java code defines a custom exception class UtilTargetError
that extends UtilEvalError
. It represents an error that occurs when a utility or other class throws an exception without having access to its caller context (Node). The class has two constructors and overrides the toEvalError
method to create a new instance of TargetError
.
json.jj (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 763 lines
477 sb.append((String)o);
478 while(sb.length() > 0 && sb.charAt(sb.length() - 1) == ' ')
479 sb.deleteCharAt(sb.length() - 1);
480 a.set(a.size() - 1, sb.toString() );
481 }
484 static void trimNL() {
485 if(outputBuffer.length() > 0 && outputBuffer.charAt(outputBuffer.length() - 1) == '\n')
486 outputBuffer.deleteCharAt(outputBuffer.length() - 1);
487 if(outputBuffer.length() > 0 && outputBuffer.charAt(outputBuffer.length() - 1) == '\r')
488 outputBuffer.deleteCharAt(outputBuffer.length() - 1);
493 StringBuilder sb = new StringBuilder(s);
494 while(sb.length() > 0 && (sb.charAt(sb.length() - 1) == '\r' || sb.charAt(sb.length() - 1) == '\n'))
495 sb.deleteCharAt(sb.length() - 1);
496 }
pl-sql.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 503 lines
help.html
(https://jedit.svn.sourceforge.net/svnroot/jedit)
HTML · 188 lines
✨ Summary
This HTML code outputs a documentation page for a spell checking plugin for the Java-based text editor jEdit. It provides information on how to build and use the plugin, its features, current bugs and todo list, as well as release history. The content is written in a formal tone, suggesting that it is intended for technical users or developers who want to learn about the plugin’s functionality and development process.
This HTML code outputs a documentation page for a spell checking plugin for the Java-based text editor jEdit. It provides information on how to build and use the plugin, its features, current bugs and todo list, as well as release history. The content is written in a formal tone, suggesting that it is intended for technical users or developers who want to learn about the plugin’s functionality and development process.
77 <dd>Replaces the word not in the <cite> Not in Dictionary</cite> text field with the word in the
78 <cite> Change to</cite> text field. If the <cite> Change to</cite> text field is empty,
79 the button name changes to <cite>Delete</cite>. To remove the selected word from the item, click
80 <cite>Delete</cite>.</dd>
83 text field with the word in the
84 <cite> Change to</cite> text field. If the <cite> Change to</cite> text field is empty,
85 the button name changes to <cite>Delete</cite>. To remove all instances of the selected word from the item, click
86 <cite>Delete</cite>.</dd>
97 <dt>Change to:</dt>
98 <dd>Displays a suggested word to replace the word that appears in the <cite> Not in Dictionary</cite>
99 text field. To accept the suggested replacement, click <cite>Change</cite>. To delete the word in the
100 <cite> Not in Dictionary</cite> text field, delete the text in the <cite> Change to</cite>
101 text field, and then click <cite>Delete</cite>.</dd>
102 <dt>Suggestions:</dt>
103 <dd>Lists suggested replacement words.</dd>
filefn.cpp
(git://github.com/xbmc/xbmc.git)
C++ · 439 lines
✨ Summary
This C++ code provides functions for interacting with files and directories on various operating systems. It includes file name conversion, CRC calculation, renaming, deleting, and directory deletion. The code is designed to be platform-independent, using Windows-specific APIs where necessary, but also providing fallbacks for other operating systems.
This C++ code provides functions for interacting with files and directories on various operating systems. It includes file name conversion, CRC calculation, renaming, deleting, and directory deletion. The code is designed to be platform-independent, using Windows-specific APIs where necessary, but also providing fallbacks for other operating systems.
bucket.py
(git://github.com/linkedin/indextank-service.git)
Python · 495 lines
✨ Summary
This is a Python class that represents an Amazon S3 bucket. It has various methods for interacting with the bucket, such as listing its contents, setting its permissions, and deleting it.
This is a Python class that represents an Amazon S3 bucket. It has various methods for interacting with the bucket, such as listing its contents, setting its permissions, and deleting it.
230 force_http=force_http)
232 def delete_key(self, key_name, headers=None):
233 """
234 Deletes a key from the bucket.
236 :type key_name: string
237 :param key_name: The key name to delete
238 """
239 response = self.connection.make_request('DELETE', self.name, key_name, headers=headers)
492 raise S3ResponseError(response.status, response.reason, body)
494 def delete(self, headers=None):
495 return self.connection.delete_bucket(self.name, headers=headers)
dhd_common.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 1733 lines
✨ Summary
This C code snippet appears to be part of a wireless networking driver, specifically related to Wi-Fi scanning and management. It provides functions for requesting Wi-Fi scans, deleting BSS (Basic Service Set) entries, and retrieving partial scan results. The code also handles various error conditions and manages internal data structures, such as the iscan_chain
buffer.
This C code snippet appears to be part of a wireless networking driver, specifically related to Wi-Fi scanning and management. It provides functions for requesting Wi-Fi scans, deleting BSS (Basic Service Set) entries, and retrieving partial scan results. The code also handles various error conditions and manages internal data structures, such as the iscan_chain
buffer.
keybindings.properties
(git://github.com/greedy/scala-llvm.git)
Properties File · 71 lines
✨ Summary
This properties file defines keybinding mappings for JLine, a terminal emulator. It maps various keyboard shortcuts to specific actions, such as moving the cursor, deleting characters, and navigating through history buffers. The mappings allow users to customize their terminal experience with keyboard shortcuts, making it easier to perform common tasks like editing lines, scrolling through history, and searching for previous commands.
This properties file defines keybinding mappings for JLine, a terminal emulator. It maps various keyboard shortcuts to specific actions, such as moving the cursor, deleting characters, and navigating through history buffers. The mappings allow users to customize their terminal experience with keyboard shortcuts, making it easier to perform common tasks like editing lines, scrolling through history, and searching for previous commands.
20 7=ABORT
22 # BACKSPACE, CTRL-H: delete the previous character
23 # 8 is the ASCII code for backspace and therefor
24 # deleting the previous character
25 8=DELETE_PREV_CHAR
27 # TAB, CTRL-I: signal that console completion should be attempted
55 20=NEXT_WORD
57 # CTRL-U: delete all the characters before the cursor position
58 21=KILL_LINE_PREV
67 24=DELETE_NEXT_WORD
69 # DELETE, CTRL-?: delete the next character
70 # 127 is the ASCII code for delete
ftpwindow.py
(http://editra-plugins.googlecode.com/svn/trunk/)
Python · 695 lines
✨ Summary
This is a Python class that implements a graphical user interface (GUI) component, specifically a file explorer widget. It displays a list of files and folders, allowing users to interact with them through context menus and keyboard shortcuts. The GUI updates dynamically in response to changes in the underlying data structure, such as when new files or folders are added or removed.
This is a Python class that implements a graphical user interface (GUI) component, specifically a file explorer widget. It displays a list of files and folders, allowing users to interact with them through context menus and keyboard shortcuts. The GUI updates dynamically in response to changes in the underlying data structure, such as when new files or folders are added or removed.
195 child.Enable(enable)
197 def NotifyFtpFileDeleted(self, name):
198 """Callback from FtpFile's owned by this client.
199 @param name: name of file deleted
377 self._client.RenameAsync(path, name)
379 elif e_id == ID_DELETE:
380 # Remove the selected path
381 # TODO: add support for removing directories
387 if result == wx.YES:
388 self._client.DeleteFileAsync(path)
390 elif e_id == ID_REFRESH:
619 self._menu.Append(ID_EDIT, _("Edit"))
620 self._menu.Append(ID_RENAME, _("Rename") + u"...")
621 item = self._menu.Append(ID_DELETE, _("Delete"))
622 bmp = wx.ArtProvider.GetBitmap(str(ed_glob.ID_DELETE), wx.ART_MENU)
SqlSessionManager.java
(http://mybatis.googlecode.com/svn/trunk/)
Java · 296 lines
✨ Summary
This Java code defines a class SqlSession
that manages database connections and transactions for a SQL query execution framework. It provides methods to execute queries, commit, rollback, and close sessions, as well as manage cache and connection pooling. The class uses an interceptor pattern to handle exceptions and provide a fallback session if the current one is closed or throws an exception.
This Java code defines a class SqlSession
that manages database connections and transactions for a SQL query execution framework. It provides methods to execute queries, commit, rollback, and close sessions, as well as manage cache and connection pooling. The class uses an interceptor pattern to handle exceptions and provide a fallback session if the current one is closed or throws an exception.
CSSParser.cpp
(git://github.com/CyanogenMod/android_external_webkit.git)
C++ · 5431 lines
✨ Summary
This C++ code is part of a web browser’s CSS parser, responsible for parsing and validating CSS properties. It checks the validity of individual CSS properties, such as background
, border
, and outline
, by verifying their syntax, values, and relationships with other properties in shorthand declarations. The code returns true if the property is valid or false otherwise.
This C++ code is part of a web browser’s CSS parser, responsible for parsing and validating CSS properties. It checks the validity of individual CSS properties, such as background
, border
, and outline
, by verifying their syntax, values, and relationships with other properties in shorthand declarations. The code returns true if the property is valid or false otherwise.
167 clearVariables();
169 delete m_valueList;
171 fastFree(m_data);
173 if (m_floatingMediaQueryExpList) {
174 deleteAllValues(*m_floatingMediaQueryExpList);
175 delete m_floatingMediaQueryExpList;
176 }
177 delete m_floatingMediaQueryExp;
178 delete m_floatingMediaQuery;
179 fastDeleteAllValues(m_floatingSelectors);
180 deleteAllValues(m_floatingValueLists);
color-theme.el
(git://github.com/rejeep/emacs.git)
Emacs Lisp · 0 lines
✨ Summary
This Emacs Lisp code defines a package for managing and sharing color themes. It allows users to define their own themes, submit them to the maintainer, and load existing themes from a directory. The code also provides functions for initializing the theme package, printing a theme’s contents, and submitting a theme to the maintainer.
This Emacs Lisp code defines a package for managing and sharing color themes. It allows users to define their own themes, submit them to the maintainer, and load existing themes from a directory. The code also provides functions for initializing the theme package, printing a theme’s contents, and submitting a theme to the maintainer.
588 (when (functionp 'goto-address); Emacs
589 (dolist (o (overlays-in (point-min) (point-max)))
590 (delete-overlay o))
591 (goto-address))))
651 ;; (color-theme-spec-filter '((t (:stipple nil :background "Black" :foreground "SteelBlue" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :width semi-condensed :family "misc-fixed"))))
653 (defun color-theme-plist-delete (plist prop)
654 "Delete property PROP from property list PLIST by side effect.
670 plist)
672 ;; (color-theme-plist-delete '(a b c d e f g h) 'a)
673 ;; (color-theme-plist-delete '(a b c d e f g h) 'b)
674 ;; (color-theme-plist-delete '(a b c d e f g h) 'c)
675 ;; (color-theme-plist-delete '(a b c d e f g h) 'g)