100+ results for 'php date'
Not the results you expected?
InstallSchema.php (https://gitlab.com/yousafsyed/easternglamor) PHP · 407 lines
257 null,
258 ['unsigned' => true, 'nullable' => false, 'default' => '0'],
259 'Layout Update Id'
260 )->addIndex(
261 $installer->getIdxName('widget_instance_page_layout', 'page_id'),
301 null,
302 ['identity' => true, 'unsigned' => true, 'nullable' => false, 'primary' => true],
303 'Layout Update Id'
304 )->addColumn(
305 'handle',
324 \Magento\Framework\DB\Ddl\Table::TYPE_TIMESTAMP,
325 null,
326 ['nullable' => true, 'default' => \Magento\Framework\DB\Ddl\Table::TIMESTAMP_UPDATE],
327 'Last Update Timestamp'
373 ['layout_update_id']
374 )->addForeignKey(
375 $installer->getFkName('layout_link', 'layout_update_id', 'layout_update', 'layout_update_id'),
376 'layout_update_id',
faq.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 114 lines
58 <!-- <revision>
59 <revnumber>0.1</revnumber>
60 <date>Sept. 23, 2001</date>
61 <revremark>Initial draft.</revremark>
62 </revision>
63 <revision>
64 <revnumber>0.2</revnumber>
65 <date>Sept. 25, 2001</date>
66 <revremark>Sections 1-3 prepared.</revremark>
67 </revision>
68 <revision>
69 <revnumber>0.3</revnumber>
70 <date>Sept. 27, 2001</date>
71 <revremark>Section 4 prepared.</revremark>
72 </revision>
PluginUpdate.html
(https://jedit.svn.sourceforge.net/svnroot/jedit)
HTML · 124 lines
✨ Summary
This HTML code is a documentation page for a Java class, PluginUpdate
, generated by javadoc. It displays information about the class, including its usage, package tree, deprecated classes, and related links. The page includes navigation bars at the top and bottom, with links to other documentation pages and an index of all classes.
This HTML code is a documentation page for a Java class, PluginUpdate
, generated by javadoc. It displays information about the class, including its usage, package tree, deprecated classes, and related links. The page includes navigation bars at the top and bottom, with links to other documentation pages and an index of all classes.
5 <!-- Generated by javadoc (build 1.5.0_14) on Tue Jul 22 07:14:20 GMT-08:00 2008 -->
6 <TITLE>
7 Uses of Class org.gjt.sp.jedit.msg.PluginUpdate (jEdit API)
8 </TITLE>
31 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
32 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
33 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../org/gjt/sp/jedit/msg/PluginUpdate.html" title="class in org.gjt.sp.jedit.msg"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
34 <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
35 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
50 NEXT</FONT></TD>
51 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
52 <A HREF="../../../../../../index.html?org/gjt/sp/jedit/msg/class-use/PluginUpdate.html" target="_top"><B>FRAMES</B></A>
53 <A HREF="PluginUpdate.html" target="_top"><B>NO FRAMES</B></A>
67 <CENTER>
68 <H2>
69 <B>Uses of Class<br>org.gjt.sp.jedit.msg.PluginUpdate</B></H2>
70 </CENTER>
71 No usage of org.gjt.sp.jedit.msg.PluginUpdate
Advertiser.php (https://bitbucket.org/valmy/openx.git) PHP · 371 lines
47 *
48 * @param integer $advertiserId The ID of the advertiser to view statistics
49 * @param date $oStartDate The date from which to get statistics (inclusive)
50 * @param date $oEndDate The date to which to get statistics (inclusive)
230 * @param date $oStartDate The date from which to get statistics (inclusive)
231 * @param date $oEndDate The date to which to get statistics (inclusive)
232 * @param bool $localTZ Should stats be using the manager TZ or UTC?
233 *
284 AND
285 z.zoneid = s.zone_id
286 " . $this->getWhereDate($oStartDate, $oEndDate, $localTZ) . "
287 GROUP BY
288 p.affiliateid, p.name
358 AND
359 z.zoneid = s.zone_id
360 " . $this->getWhereDate($oStartDate, $oEndDate, $localTZ) . "
361 GROUP BY
362 p.affiliateid, p.name,
ezisbn10to13converter.php (https://bitbucket.org/ericsagnes/ezpublish-multisite.git) PHP · 355 lines
1 <?php
2 /**
3 * File containing the eZISBN10To13Converter class.
203 " (" . $classAttribute->attribute( 'name' ) . "):" );
205 $this->updateContentFromClassAttribute( $classAttribute->attribute( 'id' ) );
206 $this->updateClassAttributeToISBN13( $classAttribute->attribute( 'id' ) );
212 /*!
213 Update content in a ezisbn datatype for one specific class attribute id.
214 \param $classAttributeID is the class attribute id for for the ISBN datatype.
215 */
216 function updateContentFromClassAttribute( $classAttributeID )
217 {
218 $asObject = true;
CachedImage.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 381 lines
GrCodeReferenceElement.java (https://bitbucket.org/nbargnesi/idea.git) Java · 27 lines
sitemailer_.php (https://gitlab.com/nvtdn2006/azora) PHP · 384 lines
1 <?php
2 class SiteMailer
3 {
26 $config = Factory::getConfig();
27 $cryptographer = Factory::getCryptographer();
28 $this->randomHash = $cryptographer->MD5(date('r', time()));
29 $this->fromMail = $config['PRMSConfig']->noreply_mail;
30 $this->setheaders();
52 $this->headers .= "MIME-Version: 1.0\r\n";
53 //$this->headers .= "Content-Type: multipart/mixed; boundary=\"PHP-mixed-" . $this->randomHash . "\"\r\n";
54 $this->headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
55 }
89 /*if ($this->attachment != '')
90 {
91 $this->msgBody .= "\r\n--PHP-mixed-" . $this->randomHash . "--";
92 $this->msgBody .= $this->attachment;
93 $this->msgBody .= "\r\n--PHP-mixed-" . $this->randomHash . "--";
Editor.php (https://github.com/adaykin/zf2.git) PHP · 601 lines
1 <?php
2 /**
3 * Zend Framework
578 /**
579 * Set update interval
580 *
581 * @param int $interval
582 * @return \Zend\Dojo\Form\Element\Editor
583 */
584 public function setUpdateInterval($interval)
585 {
586 return $this->setDijitParam('updateInterval', (int) $interval);
589 /**
590 * Get update interval
591 *
592 * @return int
class-cp-user-relationships.php (https://gitlab.com/clusterpress/clusterpress) PHP · 543 lines
171 * @type int $secondary_id The secondary content ID (eg: Site).
172 * @type string $name The name of the relationship.
173 * @type string $date The date the relationship was saved.
174 * }
175 * @return bool True on success, false otherwise
250 }
252 $updated = $wpdb->update(
253 $this->table,
254 $r,
498 * @type int $secondary_id The secondary content ID (eg: Site).
499 * @type string $name The name of the relationship.
500 * @type string $date The date the relationship was saved.
501 * }
502 * @return array List of item ids or object ids
CHANGES.txt (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 52 lines
jquery-1.2.6.js
(http://fatal-error.googlecode.com/svn/trunk/)
JavaScript · 3550 lines
✨ Summary
This JavaScript code extends jQuery’s functionality, adding event handling and DOM manipulation capabilities to HTML elements. It provides methods for binding events, triggering events, toggling click handlers, and checking if the DOM is ready. The code also includes a ready
function that can be used to execute functions when the DOM is loaded.
This JavaScript code extends jQuery’s functionality, adding event handling and DOM manipulation capabilities to HTML elements. It provides methods for binding events, triggering events, toggling click handlers, and checking if the DOM is ready. The code also includes a ready
function that can be used to execute functions when the DOM is loaded.
SvnSelectRevisionPanel.java (https://bitbucket.org/nbargnesi/idea.git) Java · 52 lines
zone.php (https://bitbucket.org/sandeepbhaskar/inspiredliving.git) PHP · 441 lines
1 <?php
2 class ControllerLocalisationZone extends Controller {
3 private $error = array();
20 $this->load->model('localisation/zone');
22 if (($this->request->server['REQUEST_METHOD'] == 'POST') && $this->validateForm()) {
23 $this->model_localisation_zone->addZone($this->request->post);
45 }
47 public function update() {
48 $this->load->language('localisation/zone');
52 $this->load->model('localisation/zone');
54 if (($this->request->server['REQUEST_METHOD'] == 'POST') && $this->validateForm()) {
55 $this->model_localisation_zone->editZone($this->request->get['zone_id'], $this->request->post);
15.8.1.5-1.js (https://bitbucket.org/ultra_iter/qt-vtl.git) JavaScript · 66 lines
RenderSVGShadowTreeRootContainer.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 106 lines
41 }
43 void RenderSVGShadowTreeRootContainer::updateStyle(Node::StyleChange change)
44 {
45 if (m_shadowRoot && m_shadowRoot->attached())
47 }
49 void RenderSVGShadowTreeRootContainer::updateFromElement()
50 {
51 bool hadExistingTree = m_shadowRoot;
87 ASSERT(!m_recreateTree);
88 RenderSVGTransformableContainer::updateFromElement();
89 }
AudioNodeInput.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 270 lines
cifsglob.h
(http://omnia2droid.googlecode.com/svn/trunk/)
C Header · 711 lines
✨ Summary
This C header file defines various global variables and data structures for a CIFS (Common Internet File System) implementation, which is a protocol used to access Windows networks from Linux systems. It sets up locks and counters for managing SMB sessions, transactions, and buffers, as well as debug counters and miscellaneous settings.
This C header file defines various global variables and data structures for a CIFS (Common Internet File System) implementation, which is a protocol used to access Windows networks from Linux systems. It sets up locks and counters for managing SMB sessions, transactions, and buffers, as well as debug counters and miscellaneous settings.
367 int write_behind_rc;
368 __u32 cifsAttrs; /* e.g. DOS archive bit, sparse, compressed, system */
369 unsigned long time; /* jiffies of last update/check of inode */
370 bool clientCanCacheRead:1; /* read oplock */
371 bool clientCanCacheAll:1; /* read and writebehind oplock */
605 /****************************************************************************
606 * Locking notes. All updates to global variables and lists should be
607 * protected by spinlocks or semaphores.
608 *
611 * GlobalMid_Lock protects:
612 * list operations on pending_mid_q and oplockQ
613 * updates to XID counters, multiplex id and SMB sequence numbers
614 * GlobalSMBSesLock protects:
615 * list operations on tcp and SMB session lists and tCon lists
ComplexSchemaValidation3.xml (https://bitbucket.org/nbargnesi/idea.git) XML · 26 lines
18 <processAction id="calendar.actionitemPropertyUpdate" policyId="" redirect="true" nextAction="calendar.actionitemList" errorAction="calendar.actionitemProperties">
19 <processService type="odfUpdate" componentId="calendar" description="actionitem" dynamicValidation="odf.actionitem.update"/>
20 <paramSet>
21 <param name="odf_pk" source="request" value="odf_pk"/>
KeyframeAnimation.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 101 lines
checksums.c (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines
CommitMessage.java (https://bitbucket.org/nbargnesi/idea.git) Java · 179 lines
69 labelPanel.add(separatorPanel, BorderLayout.CENTER);
70 ActionToolbar toolbar = ActionManager.getInstance().createActionToolbar(ActionPlaces.UNKNOWN, getToolbarActions(), true);
71 toolbar.updateActionsImmediately();
72 toolbar.setReservePlaceAutoPopupIcon(false);
73 toolbar.getComponent().setBorder(BorderFactory.createEmptyBorder());
ProfileAction.java (https://bitbucket.org/nbargnesi/idea.git) Java · 173 lines
72 @Override
73 protected void update(Profile item, Presentation presentation, boolean popup) {
74 presentation.setText(item.getName());
75 }
83 myProfileList.addVersion();
84 myVersion = myProfileList.getVersion();
85 updateActions(item);
86 }
87 return item != EDIT_PROFILE;
93 designerActionGroup.add(myActionGroup);
95 updateActions();
96 }
javascript.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 560 lines
156 <KEYWORD3>Array</KEYWORD3>
157 <KEYWORD3>Boolean</KEYWORD3>
158 <KEYWORD3>Date</KEYWORD3>
159 <KEYWORD3>Function</KEYWORD3>
160 <KEYWORD3>Global</KEYWORD3>
197 <LITERAL2>adAddNew</LITERAL2>
198 <LITERAL2>adDelete</LITERAL2>
199 <LITERAL2>adUpdate</LITERAL2>
200 <LITERAL2>adBookmark</LITERAL2>
201 <LITERAL2>adApproxPosition</LITERAL2>
202 <LITERAL2>adUpdateBatch</LITERAL2>
203 <LITERAL2>adResync</LITERAL2>
204 <LITERAL2>adNotify</LITERAL2>
pngread.c (https://bitbucket.org/ultra_iter/qt-vtl.git) C · 1457 lines
396 #endif /* PNG_SEQUENTIAL_READ_SUPPORTED */
398 /* Optional call to update the users info_ptr structure */
399 void PNGAPI
400 png_read_update_info(png_structp png_ptr, png_infop info_ptr)
401 {
402 png_debug(1, "in png_read_update_info");
404 if (png_ptr == NULL)
410 else
411 png_warning(png_ptr,
412 "Ignoring extra png_read_update_info() call;"
413 " row buffer not reallocated");
GitCheckoutOperation.java (https://bitbucket.org/nbargnesi/idea.git) Java · 254 lines
104 if (!fatalErrorHappened) {
105 notifySuccess();
106 updateRecentBranch();
107 }
108 }
238 sleepABit();
239 refreshRoot(repository);
240 // repository state will be auto-updated with this VFS refresh => in general there is no need to call GitRepository#update()
241 // but to avoid problems of the asynchronous refresh, let's force update the repository info.
242 repository.update(GitRepository.TrackedTopic.CURRENT_BRANCH, GitRepository.TrackedTopic.CURRENT_REVISION);
243 }
244 }
TemplateSettings.java (https://bitbucket.org/nbargnesi/idea.git) Java · 747 lines
711 }
713 public List<TemplateImpl> collectMatchingCandidates(String key, Character shortcutChar, boolean hasArgument) {
714 final Collection<TemplateImpl> templates = getTemplates(key);
715 List<TemplateImpl> candidates = new ArrayList<TemplateImpl>();
727 continue;
728 }
729 candidates.add(template);
730 }
731 return candidates;
activity.php (https://bitbucket.org/simplemediacode/bptrunk.git) PHP · 78 lines
13 <ul>
15 <?php bp_get_options_nav(); ?>
17 <li id="activity-filter-select" class="last">
18 <label for="activity-filter-by"><?php _e( 'Show:', 'buddypress' ); ?></label>
19 <select id="activity-filter-by">
20 <option value="-1"><?php _e( 'Everything', 'buddypress' ); ?></option>
21 <option value="activity_update"><?php _e( 'Updates', 'buddypress' ); ?></option>
23 <?php
35 <option value="friendship_accepted,friendship_created"><?php _e( 'Friendships', 'buddypress' ); ?></option>
37 <?php endif;
39 endif;
XnSensorDepthGenerator.h
(git://github.com/PrimeSense/Sensor.git)
C Header · 109 lines
✨ Summary
This C++ header file defines a class XnSensorDepthGenerator
that generates depth data from a PrimeSense sensor. It provides methods for accessing and manipulating depth maps, user positions, alternative viewpoints, and frame synchronization. The class also includes event handling and callback registration mechanisms to notify other modules of changes.
This C++ header file defines a class XnSensorDepthGenerator
that generates depth data from a PrimeSense sensor. It provides methods for accessing and manipulating depth maps, user positions, alternative viewpoints, and frame synchronization. The class also includes event handling and callback registration mechanisms to notify other modules of changes.
Html5.xml (https://bitbucket.org/nbargnesi/idea.git) XML · 100 lines
tip52.html (https://jedit.svn.sourceforge.net/svnroot/jedit) HTML · 6 lines
efivars.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 762 lines
✨ Summary
This C code implements an EFI (Extensible Firmware Interface) variables facility, allowing users to interact with firmware settings through a sysfs interface. It registers a subsystem with the firmware and vars subsystems, creating directories for storing and retrieving variable data. The code also provides functions for creating new variables, deleting existing ones, and exporting attributes to sysfs.
This C code implements an EFI (Extensible Firmware Interface) variables facility, allowing users to interact with firmware settings through a sysfs interface. It registers a subsystem with the firmware and vars subsystems, creating directories for storing and retrieving variable data. The code also provides functions for creating new variables, deleting existing ones, and exporting attributes to sysfs.
build.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 151 lines
CHANGELOG.txt (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 13 lines
3 0.1 Initial Release
4 0.2.1 Updated for 4.3pre6 encoding options pane
5 0.2.2 Removed redundant buffer options pane
6 1.0 Bug fixes, "Combined Options" remembers previous selected tab.
7 1.0.1 Updated for jEdit 4.3pre17.
8 Fixed # 3013717 - don't save optionpanes unless they are shown.
9 1.0.2 Optional no longer hardcodes the list of options panes to create, so core
TabItemWidget.java
(http://keywatch.googlecode.com/svn/trunk/)
Java · 180 lines
✨ Summary
This Java code defines a TabItemWidget
class, which represents a single tab item on a desktop panel. It displays a label and a close button, allowing users to rename or remove the associated desktop. When the close button is clicked, it prompts the user to confirm removal. If renamed, it updates the desktop’s name and saves changes.
This Java code defines a TabItemWidget
class, which represents a single tab item on a desktop panel. It displays a label and a close button, allowing users to rename or remove the associated desktop. When the close button is clicked, it prompts the user to confirm removal. If renamed, it updates the desktop’s name and saves changes.
11 * Revision History:
12 * $URL: http://keywatch.googlecode.com/svn/trunk/src/server/gwtgui/src/keymind/keywatch/gui/client/desktop/TabItemWidget.java $
13 * $Date: 2009-09-17 11:14:51 +0200 (Thu, 17 Sep 2009) $, $Rev: $
14 * -----------------------------------------------------------------------------------------------
15 */
148 // Save immediately
149 GUICtrl.getProfileManager().setDirty(true);
150 GUICtrl.getProfileManager().updateProfile(false);
151 }
152 else
BufferSwitcher.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 114 lines
✨ Summary
This Java class, BufferSwitcher
, is a part of an integrated development environment (IDE) for editing files. It creates a dropdown menu that displays a list of available buffers (files being edited). The user can select a buffer from this list and switch to it in the IDE. The class also updates the list of buffers when they change, ensuring the correct buffer is displayed.
This Java class, BufferSwitcher
, is a part of an integrated development environment (IDE) for editing files. It creates a dropdown menu that displays a list of available buffers (files being edited). The user can select a buffer from this list and switch to it in the IDE. The class also updates the list of buffers when they change, ensuring the correct buffer is displayed.
process.hh
(git://github.com/ticking/self.git)
C++ Header · 368 lines
✨ Summary
This C++ header file appears to be part of a virtual machine (VM) implementation, specifically for the Self programming language. It provides functionality for managing processes, stacks, and memory allocation within the VM. The code includes functions for switching between different stack modes, handling preemption, and executing continuation functions on the VM stack.
This C++ header file appears to be part of a virtual machine (VM) implementation, specifically for the Self programming language. It provides functionality for managing processes, stacks, and memory allocation within the VM. The code includes functions for switching between different stack modes, handling preemption, and executing continuation functions on the VM stack.
propertyOptimize-4.js
(git://github.com/zpao/v8monkey.git)
JavaScript · 17 lines
✨ Summary
The code creates a new prototype Foo
for the Bar
function, which inherits properties from an object o
. The o
object defines a getter for the property y
, but only if the updated
flag is set to true
. When a new instance of Bar
is created, its y
property is initially undefined, and setting it triggers the getter, updating the updated
flag.
The code creates a new prototype Foo
for the Bar
function, which inherits properties from an object o
. The o
object defines a getter for the property y
, but only if the updated
flag is set to true
. When a new instance of Bar
is created, its y
property is initially undefined, and setting it triggers the getter, updating the updated
flag.
1 // Make sure new script properties can be invalidated on specialized prototype
2 // types while they are still being constructed.
7 }
9 updated = false;
10 var o = {valueOf: function() {
11 Object.defineProperty(Object.prototype, 'y', {set:function() { updated = true; }})
14 function Bar() {}
15 Bar.prototype = new Foo(o, 1, 2);
16 assertEq(updated, true);
17 assertEq(Bar.prototype.y, undefined);
doxygen.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 362 lines
NorwegianIME.java
(http://scandinavian-keyboard.googlecode.com/svn/trunk/)
Java · 1713 lines
✨ Summary
This Java code is part of a Norwegian keyboard layout implementation for Android devices. It defines various methods and data structures to handle keyboard input, word frequency calculations, and letter symbol mapping. The code appears to be responsible for processing user input, validating words, and promoting words to the user dictionary based on their frequency.
This Java code is part of a Norwegian keyboard layout implementation for Android devices. It defines various methods and data structures to handle keyboard input, word frequency calculations, and letter symbol mapping. The code appears to be responsible for processing user input, validating words, and promoting words to the user dictionary based on their frequency.
123 private NorwegianKeyboardView mInputView;
124 private CandidateViewContainer mCandidateViewContainer;
125 private CandidateView mCandidateView;
340 public View onCreateCandidatesView() {
341 mKeyboardSwitcher.makeKeyboards(true);
342 mCandidateViewContainer = (CandidateViewContainer) getLayoutInflater().inflate(
343 R.layout.candidates, null);
344 mCandidateViewContainer.initViews();
345 mCandidateView = (CandidateView) mCandidateViewContainer.findViewById(R.id.candidates);
346 mCandidateView.setService(this);
476 public void onUpdateSelection(int oldSelStart, int oldSelEnd,
477 int newSelStart, int newSelEnd,
478 int candidatesStart, int candidatesEnd) {
479 super.onUpdateSelection(oldSelStart, oldSelEnd, newSelStart, newSelEnd,
AStarFinderPool.java
(http://loon-simple.googlecode.com/svn/trunk/)
Java · 124 lines
✨ Summary
This Java class implements an A* pathfinding algorithm for a game, allowing users to search for paths between two points on a 2D field. It uses a thread pool to run multiple searches concurrently and provides methods for searching paths with various parameters, such as flying mode and flag. The class also includes a task queue to manage running tasks and a stop method to interrupt the pathfinding process.
This Java class implements an A* pathfinding algorithm for a game, allowing users to search for paths between two points on a 2D field. It uses a thread pool to run multiple searches concurrently and provides methods for searching paths with various parameters, such as flying mode and flag. The class also includes a task queue to manage running tasks and a stop method to interrupt the pathfinding process.
strings.xml (http://softkeyboard.googlecode.com/svn/) XML · 139 lines
item.hpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ Header · 0 lines
✨ Summary
This C++ header file provides a set of metafunction templates for working with sequences, specifically for finding and manipulating elements at specific positions in a sequence. It includes two main template families: v_item
and v_mask
, which are used to access and manipulate elements in a sequence, respectively.
This C++ header file provides a set of metafunction templates for working with sequences, specifically for finding and manipulating elements at specific positions in a sequence. It includes two main template families: v_item
and v_mask
, which are used to access and manipulate elements in a sequence, respectively.
simple-macros.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 720 lines
495 import java.text.DateFormat;
497 String newText = DateFormat.getDateInstance()
498 .format(new Date());
524 Date d = new Date();
525 DateFormat df = DateFormat.getDateInstance();
526 String result = df.format(d);
527 </programlisting>
545 <listitem>
546 <para>
547 <function>DateFormat.getDateInstance()</function> is a static method
548 that creates and returns a <classname>DateFormat</classname> object. As
551 text. The method <function>getDateInstance()</function> returns a
552 <classname>DateFormat</classname> object that parses and formats dates.
553 It will use the default <glossterm>locale</glossterm> or text format
554 specified in the user's Java installation.
Makefile.in.in (https://freespeech.svn.sourceforge.net/svnroot/freespeech) Unknown · 250 lines
SqlPlugin.props (https://jedit.svn.sourceforge.net/svnroot/jedit) MSBuild · 172 lines
65 sql.options.common.label=Common
66 sql.options.popupSuccessfulEmptyUpdateMessages.label=Popup messages on successful 'empty' updates
68 sql.options.jdbc.classpath.label=Drivers' classpath
90 sql.publishOK.message={0} {1} was successfully executed on {2}.
92 sql.updateOK.title=Insert/update success
93 sql.updateOK.message={0} record(s) successfully modified
InstallMacrosDialog.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 532 lines
✨ Summary
This Java code is for a graphical user interface (GUI) dialog box that allows users to manage and download macros from a database. It provides features such as sorting, searching, and selecting macros to download. The GUI includes buttons, text fields, and lists to display the available macros and their properties.
This Java code is for a graphical user interface (GUI) dialog box that allows users to manage and download macros from a database. It provides features such as sorting, searching, and selecting macros to download. The GUI includes buttons, text fields, and lists to display the available macros and their properties.
39 {
40 static final int INSTALL = 0;
41 static final int UPDATE = 1;
43 //{{{ InstallPluginsDialog constructor
47 (mode == INSTALL
48 ? jEdit.getProperty("install-macros.title")
49 : jEdit.getProperty("update-macros.title")),true); */
51 public InstallMacrosDialog(Frame frame)
76 JLabel label = new JLabel(jEdit.getProperty("install-macros.caption"));
77 infoPanel.add(label);
78 dateLabel = new JLabel(jEdit.getProperty("install-macros.refresh") + " " + MacroList.timestamp);
79 infoPanel.add(dateLabel);
220 box.add(Box.createGlue());
222 sort = new JButton(jEdit.getProperty("install-macros.sort-by-date"));
223 sort.addActionListener(new ActionHandler());
224 box.add(sort);
MD5Sum.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 64 lines
✨ Summary
This Java class provides a utility for calculating the MD5 sum of input streams, files, and strings. It uses the MessageDigest API to compute the MD5 hash and converts the result to a hexadecimal string using a custom toHex
method. The class offers three methods to calculate the MD5 sum: one for an InputStream, one for a File, and one for a String.
This Java class provides a utility for calculating the MD5 sum of input streams, files, and strings. It uses the MessageDigest API to compute the MD5 hash and converts the result to a hexadecimal string using a custom toHex
method. The class offers three methods to calculate the MD5 sum: one for an InputStream, one for a File, and one for a String.
_events.rhtml
(http://rorptm.googlecode.com/svn/trunk/)
Ruby HTML · 31 lines
✨ Summary
This Ruby HTML code outputs a list of events with their dates, projects, and titles. It also displays additional information such as “today!”, “tomorrow”, “near future”, “past” based on the event date relative to today’s date. Each event has an optional delete link if it’s a calendar event.
This Ruby HTML code outputs a list of events with their dates, projects, and titles. It also displays additional information such as “today!”, “tomorrow”, “near future”, “past” based on the event date relative to today’s date. Each event has an optional delete link if it’s a calendar event.
4 <% for e in @events -%>
5 <li id="item_<%=e[:id]%>">
6 <b><%= date = e[:date] %></b>
7 <b><%= e[:project] %></b>
8 <%= e[:title] %>
11 <% if(date == Date.today) -%>
12 <div class="duetoday">today !</div>
13 <% elsif(date > Date.today and date <= Date.today+1) -%>
14 <div class="duetoday">tomorrow!</div>
15 <% elsif(date > Date.today and date <= Date.today+3) -%>
16 <div class="duenear"><%= time_ago_in_words(date+1) %></div>
17 <% elsif(date > Date.today) -%>
18 <div class="duefutur"><%= time_ago_in_words(date+1) %></div>
19 <% elsif(date < Date.today) -%>
20 <div class="duepast"><%= time_ago_in_words(date) + " ago !" %></div>
MavenImportingSettings.java (https://bitbucket.org/nbargnesi/idea.git) Java · 271 lines
44 private boolean keepSourceFolders = true;
45 private boolean useMavenOutput = true;
46 private String updateFoldersOnImportPhase = UPDATE_FOLDERS_DEFAULT_PHASE;
48 private boolean downloadSourcesAutomatically = false;
137 }
139 public void setUpdateFoldersOnImportPhase(String updateFoldersOnImportPhase) {
140 this.updateFoldersOnImportPhase = updateFoldersOnImportPhase;
189 if (updateFoldersOnImportPhase != null
190 ? !updateFoldersOnImportPhase.equals(that.updateFoldersOnImportPhase)
191 : that.updateFoldersOnImportPhase != null) {
217 result <<= 1;
219 result = 31 * result + (updateFoldersOnImportPhase != null ? updateFoldersOnImportPhase.hashCode() : 0);
220 result = 31 * result + dedicatedModuleDir.hashCode();
221 result = 31 * result + generatedSourcesFolder.hashCode();
icon.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 199 lines
concept.dtd (https://bitbucket.org/nbargnesi/idea.git) Document Type Definition · 176 lines
4 <!-- MODULE: DITA Concept DTD -->
5 <!-- VERSION: 1.1 -->
6 <!-- DATE: June 2006 -->
7 <!-- -->
8 <!-- ============================================================= -->
22 <!-- PURPOSE: DTD to describe DITA Concepts -->
23 <!-- -->
24 <!-- ORIGINAL CREATION DATE: -->
25 <!-- March 2001 -->
26 <!-- -->
29 <!-- All Rights Reserved. -->
30 <!-- -->
31 <!-- UPDATES: -->
32 <!-- 2006.06.07 RDA: Added indexing domain -->
33 <!-- 2006.06.21 RDA: Added props attribute extensions -->
AbbrevsOptionPane.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 508 lines
✨ Summary
This Java code is a GUI application for managing abbreviations and expansions. It allows users to add, remove, and sort abbreviations based on their text content. The data is stored in a Hashtable
and displayed in a table with two columns: abbreviation and expansion. The application uses a custom comparator to sort the data alphabetically.
This Java code is a GUI application for managing abbreviations and expansions. It allows users to add, remove, and sort abbreviations based on their text content. The data is stored in a Hashtable
and displayed in a table with two columns: abbreviation and expansion. The application uses a custom comparator to sort the data alphabetically.
133 add(BorderLayout.SOUTH,buttons);
134 setsComboBox.setSelectedIndex(jEdit.getIntegerProperty("options.abbrevs.combobox.index", 0));
135 updateEnabled();
136 } //}}}
169 //}}}
171 //{{{ updateEnabled() method
172 private void updateEnabled()
223 abbrevsModel.add(abbrev,expansion);
224 updateEnabled();
225 } //}}}
261 public void valueChanged(ListSelectionEvent evt)
262 {
263 updateEnabled();
264 }
265 } //}}}
PngFile.c
(http://angel-engine.googlecode.com/svn/trunk/)
C · 443 lines
✨ Summary
This C code provides functions for reading and writing PNG (Portable Network Graphics) files. The png_read_data
function reads data from a file, while png_write_data
writes data to a file. The png_flush
function is used to flush the output buffer after writing data. The png_read
and png_write
functions are wrappers around these three functions, providing a more convenient interface for reading and writing PNG files.
This C code provides functions for reading and writing PNG (Portable Network Graphics) files. The png_read_data
function reads data from a file, while png_write_data
writes data to a file. The png_flush
function is used to flush the output buffer after writing data. The png_read
and png_write
functions are wrappers around these three functions, providing a more convenient interface for reading and writing PNG files.
ex_end_of_month_day.xml (http://hadesmem.googlecode.com/svn/trunk/) XML · 0 lines
8 -->
10 <section id="date_time.examples.end_of_month_day">
11 <title>End of the Months</title>
21 */
23 #include "boost/date_time/gregorian/gregorian.hpp"
24 #include <iostream>
36 try {
37 int day = gregorian_calendar::end_of_month_day(year,month);
38 date end_of_month(year,month,day);
40 //Iterate thru by months --
index.html
(https://jedit.svn.sourceforge.net/svnroot/jedit)
HTML · 74 lines
✨ Summary
This HTML code outputs a documentation page for the BufferLocal Plugin, a jEdit plugin that saves and restores settings made using the Buffer Options dialog box. It explains how to use the plugin, its features, and configuration options, including automatic buffer closing with a time limit. The plugin stores settings in a file named .bufferlocalplugin.cfg in the user’s jEdit settings directory.
This HTML code outputs a documentation page for the BufferLocal Plugin, a jEdit plugin that saves and restores settings made using the Buffer Options dialog box. It explains how to use the plugin, its features, and configuration options, including automatic buffer closing with a time limit. The plugin stores settings in a file named .bufferlocalplugin.cfg in the user’s jEdit settings directory.
users-guide.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 474 lines
409 <itemizedlist>
410 <listitem><para>Updated to use jEdit 4.0pre4 text area extension API.
411 </para></listitem>
412 </itemizedlist>
419 <itemizedlist>
420 <listitem><para>Updated for jEdit 4.0 API changes.</para></listitem>
421 <listitem><para>EditBus plugin merged with this one.</para></listitem>
422 <listitem><para>Changes to error source API; see <xref linkend="api" />
460 <listitem><para>Error highlighting does not highlight leading whitespace
461 of lines, leading to better appearance</para></listitem>
462 <listitem><para>Minor update for jEdit 3.2 selection API</para></listitem>
463 <listitem><para>Documentation generated with DocBook</para></listitem>
464 <listitem><para>Error reporting API documentation included</para></listitem>
emb-qvfb.qdoc (https://bitbucket.org/ultra_iter/qt-vtl.git) Unknown · 278 lines
237 The \gui View menu allows the user to modify the target's refresh
238 rate (\gui {View|Refresh Rate...}), making \c qvfb check for
239 updated regions more or less frequently.
241 The regions of the display that have changed are updated
245 not be apparent until the program is run using a real framebuffer.
246 If little drawing is being done, the framebuffer will not show any
247 updates between drawing events. If an application is displaying an
248 animation, the updates will be frequent, and the application and
ManualMapper.cpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ · 186 lines
✨ Summary
This C++ code is a manual memory mapper for Windows, allowing users to map a DLL into a target process and execute its exports. It takes command-line arguments for the process ID, module path, and optional export name. The program outputs version information, copyright notice, and elapsed time, then maps the specified DLL into the target process and prints the mapped base address.
This C++ code is a manual memory mapper for Windows, allowing users to map a DLL into a target process and execute its exports. It takes command-line arguments for the process ID, module path, and optional export name. The program outputs version information, copyright notice, and elapsed time, then maps the specified DLL into the target process and prints the mapped base address.
CatalogManager.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 640 lines
✨ Summary
This Java code manages XML catalogs and resources for a text editor, specifically JEdit. It loads and parses catalog files, handles resource downloads, and updates the catalog when the user changes a file on disk. The code uses a custom Entry
class to represent XML entries and a VFSUpdateHandler
component to reload catalogs when files are modified.
This Java code manages XML catalogs and resources for a text editor, specifically JEdit. It loads and parses catalog files, handles resource downloads, and updates the catalog when the user changes a file on disk. The code uses a custom Entry
class to represent XML entries and a VFSUpdateHandler
component to reload catalogs when files are modified.
34 import org.gjt.sp.jedit.io.VFS;
35 import org.gjt.sp.jedit.io.VFSManager;
36 import org.gjt.sp.jedit.msg.VFSUpdate;
37 import org.gjt.sp.util.Log;
38 import org.xml.sax.InputSource;
357 static void init()
358 {
359 EditBus.addToBus(vfsUpdateHandler = new VFSUpdateHandler());
360 } //}}}
363 static void uninit()
364 {
365 EditBus.removeFromBus(vfsUpdateHandler);
366 } //}}}
qspinbox.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 188 lines
105 protected:
106 bool event(QEvent *event);
107 virtual QValidator::State validate(QString &input, int &pos) const;
108 virtual int valueFromText(const QString &text) const;
109 virtual QString textFromValue(int val) const;
163 void setDecimals(int prec);
165 virtual QValidator::State validate(QString &input, int &pos) const;
166 virtual double valueFromText(const QString &text) const;
167 virtual QString textFromValue(double val) const;
widgetsbase.ui.4 (https://bitbucket.org/ultra_iter/qt-vtl.git) Forth · 1177 lines
173 </property>
174 <property name="title">
175 <string>Date/Time Editors</string>
176 </property>
177 <layout class="QGridLayout">
201 </item>
202 <item row="1" column="1">
203 <widget class="Q3DateEdit" name="dateEdit">
204 <property name="date">
205 <date>
206 <year>2000</year>
207 <month>1</month>
208 <day>1</day>
209 </date>
210 </property>
211 </widget>
qscreen_qws.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 392 lines
amf-uml-states.ads
(git://github.com/landgraf/matreshka.git)
Ada · 320 lines
✨ Summary
This is an Ada implementation of a UML State Machine class. It defines a set of abstract operations and attributes for managing states, including entry and exit actions, state invariants, and relationships with other states and state machines. The class provides a framework for modeling complex state-based systems and allows for redefinition and extension of existing states.
This is an Ada implementation of a UML State Machine class. It defines a set of abstract operations and attributes for managing states, including entry and exit actions, state invariants, and relationships with other states and state machines. The class provides a framework for modeling complex state-based systems and allows for redefinition and extension of existing states.
40 -- --
41 ------------------------------------------------------------------------------
42 -- $Revision$ $Date$
43 ------------------------------------------------------------------------------
44 -- This file is generated, don't edit it.
102 -- Getter of State::deferrableTrigger.
103 --
104 -- A list of triggers that are candidates to be retained by the state
105 -- machine if they trigger no transitions out of the state (not consumed).
106 -- A deferred trigger is retained until the state machine reaches a state
DemoScreenMultipleControllers.cpp
(http://angel-engine.googlecode.com/svn/trunk/)
C++ · 164 lines
✨ Summary
This C++ code creates a demo screen for multiple controllers, displaying two actors that can be controlled by separate gamepads. The Start
function initializes the scene with two actors and some text elements, while the Update
function updates the positions of the actors based on input from the connected controllers.
This C++ code creates a demo screen for multiple controllers, displaying two actors that can be controlled by separate gamepads. The Start
function initializes the scene with two actors and some text elements, while the Update
function updates the positions of the actors based on input from the connected controllers.
39 //Create two Actors that we're going to manipulate with the two
40 // controllers. All the actual interesting stuff happens in the
41 // DemoScreenMultipleControllers::Update function.
42 a = new Actor();
43 a->SetSize(4.0f);
82 }
84 void DemoScreenMultipleControllers::Update(float dt)
85 {
86 //We can access the controllers via the shortcuts:
mpi_type.h
(http://omnia2droid.googlecode.com/svn/trunk/)
C++ Header · 84 lines
✨ Summary
This C header file defines basic data types for the Message Passing Interface (MPI). It provides definitions for signed and unsigned integer types, such as S8
, U8
, S32
, and U32
. It also defines structures for 64-bit integers (S64
and U64
) and pointers to these types. The file allows for customization of the pointer type by defining MPI_POINTER
before including it.
This C header file defines basic data types for the Message Passing Interface (MPI). It provides definitions for signed and unsigned integer types, such as S8
, U8
, S32
, and U32
. It also defines structures for 64-bit integers (S64
and U64
) and pointers to these types. The file allows for customization of the pointer type by defining MPI_POINTER
before including it.
5 * Name: mpi_type.h
6 * Title: MPI Basic type definitions
7 * Creation Date: June 6, 2000
8 *
9 * mpi_type.h Version: 01.05.02
12 * ---------------
13 *
14 * Date Version Description
15 * -------- -------- ------------------------------------------------------
16 * 05-08-00 00.10.01 Original release for 0.10 spec dated 4/26/2000.
17 * 06-06-00 01.00.01 Update version number for 1.0 release.
18 * 11-02-00 01.01.01 Original release for post 1.0 work
19 * 02-20-01 01.01.02 Added define and ifdef for MPI_POINTER.
TemplateDir.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 229 lines
✨ Summary
This Java code defines a TemplateDir
class, which represents a directory within a templates hierarchy. It scans the templates directory, creates a tree of template files and directories, and generates a string representation of the hierarchy for debugging purposes. The class provides methods to access and manipulate the template directory structure, including adding menu items and retrieving child nodes.
This Java code defines a TemplateDir
class, which represents a directory within a templates hierarchy. It scans the templates directory, creates a tree of template files and directories, and generates a string representation of the hierarchy for debugging purposes. The class provides methods to access and manipulate the template directory structure, including adding menu items and retrieving child nodes.
61 this.templateFiles = new Vector();
62 try {
63 // Make sure we always have an up to date backup filter
64 createBackupFilter();
199 *
200 * Revision 1.3 2002/02/22 02:34:36 sjakob
201 * Updated Templates for jEdit 4.0 actions API changes.
202 * Selection of template menu items can now be recorded in macros.
203 *
210 *
211 * Revision 1.3 2000/03/08 15:46:49 sjakob
212 * Updated README, CHANGES, to-do files.
213 * Use properties for error messages, rather than hard-coded strings.
214 *
xprt.c
(http://photon-android.googlecode.com/svn/)
C · 1160 lines
✨ Summary
This C code implements a transport layer for RPC (Remote Procedure Call) communications. It manages a pool of slots to handle incoming requests, prioritizes them based on their priority, and ensures that resources are released when no longer needed. The code also handles creation, destruction, and reference management of the transport instance.
This C code implements a transport layer for RPC (Remote Procedure Call) communications. It manages a pool of slots to handle incoming requests, prioritizes them based on their priority, and ensures that resources are released when no longer needed. The code also handles creation, destruction, and reference management of the transport instance.
78 * - a reply is received and
79 * - a full number of requests are outstanding and
80 * - the congestion window hasn't been updated recently.
81 */
82 #define RPC_CWNDSHIFT (8U)
769 /**
770 * xprt_update_rtt - update an RPC client's RTT state after receiving a reply
771 * @task: RPC request that recently completed
772 *
773 */
774 void xprt_update_rtt(struct rpc_task *task)
775 {
776 struct rpc_rqst *req = task->tk_rqstp;
OverriddenMethod.Quadruple.cs
(https://Silverlight.svn.codeplex.com/svn)
C# · 101 lines
✨ Summary
This C# class OverriddenMethod
is a test class for methods with 3 parameters, providing a base implementation that can be overridden by derived classes. It includes event handlers for pre-test and post-test actions, allowing developers to perform custom tests before and after the base implementation is invoked. The class also handles parameter validation and invocation of test actions.
This C# class OverriddenMethod
is a test class for methods with 3 parameters, providing a base implementation that can be overridden by derived classes. It includes event handlers for pre-test and post-test actions, allowing developers to perform custom tests before and after the base implementation is invoked. The class also handles parameter validation and invocation of test actions.
FileEntryTest.java (https://bitbucket.org/nbargnesi/idea.git) Java · 146 lines
javap.bsh (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 63 lines
SplashScreen.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 155 lines
✨ Summary
This Java code creates a splash screen for a graphical user interface (GUI) application, displaying an image and a progress bar with version information. It uses AWT APIs to create the GUI components and waits for the image to load before showing the splash screen. The advance()
method updates the progress bar over time.
This Java code creates a splash screen for a graphical user interface (GUI) application, displaying an image and a progress bar with version information. It uses AWT APIs to create the GUI components and waits for the image to load before showing the splash screen. The advance()
method updates the progress bar over time.
CompletionRequest.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 219 lines
✨ Summary
This Java class, CompletionRequest
, is part of a CSS editor’s auto-completion feature. It analyzes user input and suggests possible completions based on CSS properties, units, and values. The class uses regular expressions to parse the input text and determine whether it matches certain patterns, allowing it to provide relevant suggestions for completion.
This Java class, CompletionRequest
, is part of a CSS editor’s auto-completion feature. It analyzes user input and suggests possible completions based on CSS properties, units, and values. The class uses regular expressions to parse the input text and determine whether it matches certain patterns, allowing it to provide relevant suggestions for completion.
TagHighlight.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 370 lines
✨ Summary
This Java code is a part of an editor plugin that highlights matching XML tags in a text editor. It uses a combination of buffer changes and caret updates to detect when a tag is being edited, and then updates the highlighting accordingly. The plugin also handles cases where a tag is inserted or removed from the buffer.
This Java code is a part of an editor plugin that highlights matching XML tags in a text editor. It uses a combination of buffer changes and caret updates to detect when a tag is being edited, and then updates the highlighting accordingly. The plugin also handles cases where a tag is inserted or removed from the buffer.
70 if(msg instanceof BufferUpdate)
71 {
72 BufferUpdate bu = (BufferUpdate)msg;
73 Buffer buffer = bu.getBuffer();
74 if(bu.getWhat() == BufferUpdate.PROPERTIES_CHANGED)
80 else if(msg instanceof EditPaneUpdate)
81 {
82 EditPaneUpdate epu = (EditPaneUpdate)msg;
83 EditPane editPane = epu.getEditPane();
85 if(epu.getWhat() == EditPaneUpdate.BUFFER_CHANGED)
86 {
87 if(editPane.getTextArea() == textArea)
227 } //}}}
229 //{{{ updateHighlightWithDelay() method
230 private void updateHighlightWithDelay()
JThis.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 238 lines
✨ Summary
This Java code defines a set of listener interfaces and event handlers for various GUI events, such as button clicks, key presses, and window changes. It also provides a method to update an image in a graphical application. The code uses a custom interpreter and call stack system to handle the event handling and method invocation.
This Java code defines a set of listener interfaces and event handlers for various GUI events, such as button clicks, key presses, and window changes. It also provides a method to update an image in a graphical application. The code uses a custom interpreter and call stack system to handle the event handling and method invocation.
2 * *
3 * This file is part of the BeanShell Java Scripting distribution. *
4 * Documentation and updates may be found at http://www.beanshell.org/ *
5 * *
6 * Sun Public License Notice: *
123 public void ancestorRemoved(AncestorEvent e) { event("ancestorRemoved", e); }
124 public void ancestorMoved(AncestorEvent e) { event("ancestorMoved", e); }
125 public void caretUpdate(CaretEvent e) { event("caretUpdate", e); }
126 public void editingStopped(ChangeEvent e) { event("editingStopped", e); }
127 public void editingCanceled(ChangeEvent e) { event("editingCanceled", e); }
128 public void stateChanged(ChangeEvent e) { event("stateChanged", e); }
129 public void insertUpdate(DocumentEvent e) { event("insertUpdate", e); }
130 public void removeUpdate(DocumentEvent e) { event("removeUpdate", e); }
131 public void changedUpdate(DocumentEvent e) { event("changedUpdate", e); }
132 public void hyperlinkUpdate(HyperlinkEvent e) { event("internalFrameOpened", e); }
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.
BufferChanging.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 67 lines
✨ Summary
This Java class, BufferChanging
, is a message sent by the EditPane when its buffer changes. It notifies plugins that the buffer has changed and provides the new buffer object. The class extends PositionChanging
and includes error checking to ensure the new buffer is not null. It also logs an error if it is.
This Java class, BufferChanging
, is a message sent by the EditPane when its buffer changes. It notifies plugins that the buffer has changed and provides the new buffer object. The class extends PositionChanging
and includes error checking to ensure the new buffer is not null. It also logs an error if it is.
1 /*
2 * BufferChanging.java - Buffer changing (specialized Edit Pane update message)
3 * :tabSize=8:indentSize=8:noTabs=false:
4 * :folding=explicit:collapseFolds=1:
46 public BufferChanging(EditPane editPane, Buffer newBuffer)
47 {
48 super(editPane, EditPaneUpdate.BUFFER_CHANGING);
49 if (newBuffer == null)
50 {
ali5451.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 2379 lines
✨ Summary
This C code implements a PCI driver for an ALI 5451 sound card. It initializes and configures the sound card, sets up mixer and PCM channels, and registers the device with the ALSA sound system. The code also handles power management and suspend/resume operations. When loaded, it registers the driver with the kernel and provides a way to interact with the sound card.
This C code implements a PCI driver for an ALI 5451 sound card. It initializes and configures the sound card, sets up mixer and PCM channels, and registers the device with the ALSA sound system. The code also handles power management and suspend/resume operations. When loaded, it registers the driver with the kernel and provides a way to interact with the sound card.
912 }
914 static void snd_ali_update_ptr(struct snd_ali *codec, int channel)
915 {
916 struct snd_ali_voice *pvoice;
945 #endif
946 if (pvoice->running) {
947 snd_ali_printk("update_ptr: cso=%4.4x cspf=%d.\n",
948 (u16)temp, cspf);
949 spin_unlock(&codec->reg_lock);
987 pchregs->data.aint = inl(ALI_REG(codec, pchregs->regs.aint));
988 for (channel = 0; channel < ALI_CHANNELS; channel++)
989 snd_ali_update_ptr(codec, channel);
990 }
991 outl((TARGET_REACHED | MIXER_OVERFLOW | MIXER_UNDERFLOW),
ConfigurableFoldHandlerPlugin.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 209 lines
✨ Summary
This Java code defines a plugin for the jEdit text editor, allowing users to configure fold handling settings. It reads and stores these settings in properties files, and provides methods for accessing and modifying them. The plugin also handles changes to fold string settings by unregistering and re-registering the fold handler with the jEdit buffer.
This Java code defines a plugin for the jEdit text editor, allowing users to configure fold handling settings. It reads and stores these settings in properties files, and provides methods for accessing and modifying them. The plugin also handles changes to fold string settings by unregistering and re-registering the fold handler with the jEdit buffer.
36 import org.gjt.sp.jedit.GUIUtilities;
37 import org.gjt.sp.jedit.msg.PropertiesChanged;
38 import org.gjt.sp.jedit.msg.EditPaneUpdate;
39 import org.gjt.sp.jedit.buffer.FoldHandler;
58 if(msg instanceof PropertiesChanged)
59 readProperties();
60 else if(msg instanceof EditPaneUpdate)
61 {
62 Object what = ((EditPaneUpdate)msg).getWhat();
64 // the only message I can see when a buffer is closed is this one
65 // so at this point check if the old buffer has closed
66 if(what.equals(EditPaneUpdate.BUFFER_CHANGED))
67 foldHandler.checkBuffers();
68 }
DependencyMemberInfoModel.java (https://bitbucket.org/nbargnesi/idea.git) Java · 90 lines
18 * Created by IntelliJ IDEA.
19 * User: dsl
20 * Date: 09.07.2002
21 * Time: 15:03:42
22 * To change template for new class use
76 public void memberInfoChanged(final Collection<M> changedMembers) {
77 if (myTooltipManager != null) myTooltipManager.invalidate();
78 for (M changedMember : changedMembers) {
79 myMemberDependencyGraph.memberChanged(changedMember);
InstallPanel.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 1155 lines
✨ Summary
This Java code is part of a plugin manager for an IDE (Integrated Development Environment). It provides functionality to manage plugins, including sorting and filtering plugin information, displaying plugin details in a table, and handling keyboard and mouse events. The code also includes rendering and focus management for the plugin table.
This Java code is part of a plugin manager for an IDE (Integrated Development Environment). It provides functionality to manage plugins, including sorting and filtering plugin information, displaying plugin details in a table, and handling keyboard and mouse events. The code also includes rendering and focus management for the plugin table.
84 this.window = window;
85 this.updates = updates;
87 setBorder(new EmptyBorder(12,12,12,12));
620 this.version = branch.version;
621 this.size = size;
622 this.date = branch.date;
623 this.description = plugin.description;
624 this.set = set;
625 this.install = false;
626 this.plugin = plugin;
627 SimpleDateFormat format = new SimpleDateFormat("d MMMM yyyy", Locale.ENGLISH);
628 try
629 {
BSHBinaryExpression.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 228 lines
✨ Summary
This Java class implements binary expressions for a scripting language, specifically handling instanceof and boolean operations. It evaluates the left-hand side of an expression, determines its type, and then performs the specified operation on the left-hand side and right-hand side based on their types. The result is returned as a Primitive object.
This Java class implements binary expressions for a scripting language, specifically handling instanceof and boolean operations. It evaluates the left-hand side of an expression, determines its type, and then performs the specified operation on the left-hand side and right-hand side based on their types. The result is returned as a Primitive object.
LICENSE-2.0.txt (https://bitbucket.org/nbargnesi/idea.git) Plain Text · 202 lines
JCompiler.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 454 lines
✨ Summary
This Java code is a compiler for Java programs. It takes a set of .java
files, compiles them into bytecode, and then runs the resulting classes using Sun’s javac
tool. The compiled output is displayed in a GUI window, allowing users to view the compilation process and any errors that occur.
This Java code is a compiler for Java programs. It takes a set of .java
files, compiles them into bytecode, and then runs the resulting classes using Sun’s javac
tool. The compiled output is displayed in a GUI window, allowing users to view the compilation process and any errors that occur.
15.6.4.3-2.js (https://bitbucket.org/ultra_iter/qt-vtl.git) JavaScript · 67 lines
qnodefns_p.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 176 lines
BaseCheckinHandlerFactory.java (https://bitbucket.org/nbargnesi/idea.git) Java · 46 lines
VcsChangeDetailsManager.java (https://bitbucket.org/nbargnesi/idea.git) Java · 365 lines
SecondUnsafeCallTest.java (https://bitbucket.org/nbargnesi/idea.git) Java · 53 lines
default.po (https://bitbucket.org/floresj/notetime.git) Portable Object · 26 lines
ChromeClientWinCE.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 403 lines
231 }
233 void ChromeClientWinCE::invalidateWindow(const IntRect&, bool)
234 {
235 notImplemented();
236 }
238 void ChromeClientWinCE::invalidateContentsAndWindow(const IntRect& updateRect, bool immediate)
239 {
240 RECT rect = updateRect;
245 }
247 void ChromeClientWinCE::invalidateContentsForSlowScroll(const IntRect& updateRect, bool immediate)
248 {
249 invalidateContentsAndWindow(updateRect, immediate);
aclocal.m4
(https://bitbucket.org/freebsd/freebsd-head/)
m4 · 905 lines
✨ Summary
This M4 code is a collection of configuration and build scripts for a C library, likely the GNU Binutils. It sets up various macros and functions for building and testing the library, including support for different tar formats, gettext, and other dependencies. The script also includes several external M4 files that provide additional functionality.
This M4 code is a collection of configuration and build scripts for a C library, likely the GNU Binutils. It sets up various macros and functions for building and testing the library, including support for different tar formats, gettext, and other dependencies. The script also includes several external M4 files that provide additional functionality.
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.
20 <li>Configurable location of <a href="http://aspell.sourceforge.net/">Aspell</a>
21 executable</li>
22 <li>Spell check dialog to allow the user to validate each suspect word. The
23 dialog has buttons for: Cancel, Change, Change All, Ignore, and Ignore All.
24 It shows the suspect word, lists suggested replacements, and has a field
61 to hide this on Windows?)</li>
62 <li>You will be prompted with a MS-Office-like spell check dialog box for each
63 word that needs to be validated.</li>
64 <li>Below is more info on the dialog box.</li>
65 </ul>
173 <li>Added build files (<code>build.xml</code> and <code>makefile.jmk</code>)
174 to distribution</li>
175 <li>Updated <code>help.html</code> with test feedback and system requirements</li>
176 <li>The <code>ValidationDialog</code> now remembers its last placement. This
177 mean that once you move it out-of-the-way, it stays out-of-the-way.</li>
django.po (git://github.com/django/django.git) Portable Object · 46 lines
history-restore.pl
(git://github.com/shabble/irssi-scripts.git)
Perl · 186 lines
✨ Summary
This Perl script is a template for an IRC bot that displays and restores a fake history of messages. It uses Irssi, a Perl IRC client library, to interact with the IRC server. The script initializes itself, binds commands to display and restore the history, and simulates typing and pressing keys on the keyboard.
This Perl script is a template for an IRC bot that displays and restores a fake history of messages. It uses Irssi, a Perl IRC client library, to interact with the IRC server. The script initializes itself, binds commands to display and restore the history, and simulates typing and pressing keys on the keyboard.
pfs_bug435788_1.rdf (git://github.com/zpao/v8monkey.git) Unknown · 162 lines
10 <RDF:Description about="urn:mozilla:plugin:{8d3ab839-e03e-41a5-acd3-be1eabf94810}">
11 <pfs:updates><RDF:Seq>
12 <RDF:li resource="urn:mozilla:plugin:{8d3ab839-e03e-41a5-acd3-be1eabf94810}:"/>
13 </RDF:Seq></pfs:updates>
36 <RDF:Description about="urn:mozilla:plugin:{949a51e0-c633-4d9e-bf3a-6e0c2bc6e508}">
37 <pfs:updates><RDF:Seq>
38 <RDF:li resource="urn:mozilla:plugin:{949a51e0-c633-4d9e-bf3a-6e0c2bc6e508}:"/>
39 </RDF:Seq></pfs:updates>
62 <RDF:Description about="urn:mozilla:plugin:{cf1765cc-f962-4680-8a4d-2ba13971a24f}">
63 <pfs:updates><RDF:Seq>
64 <RDF:li resource="urn:mozilla:plugin:{cf1765cc-f962-4680-8a4d-2ba13971a24f}:"/>
65 </RDF:Seq></pfs:updates>
Plugin4.pm
(http://maatkit.googlecode.com/svn/trunk/)
Perl · 27 lines
✨ Summary
This Perl code defines a class Plugin4
that appears to be part of an ORM (Object-Relational Mapping) system, likely for a database-driven application. It sets up a custom insert operation with a unique constraint and updates related records when a duplicate is inserted. The methods defined in the class handle various events before and after inserts, but no actual actions are taken.
This Perl code defines a class Plugin4
that appears to be part of an ORM (Object-Relational Mapping) system, likely for a database-driven application. It sets up a custom insert operation with a unique constraint and updates related records when a duplicate is inserted. The methods defined in the class handle various events before and after inserts, but no actual actions are taken.
version.js
(git://github.com/isaacs/npm.git)
JavaScript · 290 lines
✨ Summary
This JavaScript code is part of a package manager’s versioning system, specifically for npm (Node Package Manager). It handles Git-related tasks, such as checking if the working directory is clean and creating a new tag with a specific message. The code also writes data to files like package.json
and npm-shrinkwrap.json
. Its purpose is to automate the process of releasing a new version of a package.
This JavaScript code is part of a package manager’s versioning system, specifically for npm (Node Package Manager). It handles Git-related tasks, such as checking if the working directory is clean and creating a new tag with a specific message. The code also writes data to files like package.json
and npm-shrinkwrap.json
. Its purpose is to automate the process of releasing a new version of a package.
99 !localData.hasGit && [checkGit, localData],
100 [lifecycle, lifecycleData, 'preversion', where],
101 [updatePackage, newVersion, silent],
102 [lifecycle, lifecycleData, 'version', where],
103 [commit, localData, newVersion],
121 }
123 function updatePackage (newVersion, silent, cb_) {
124 function cb (er) {
125 if (!er && !silent) output('v' + newVersion)
136 function commit (localData, newVersion, cb) {
137 updateShrinkwrap(newVersion, function (er, hasShrinkwrap) {
138 if (er || !localData.hasGit) return cb(er)
139 localData.hasShrinkwrap = hasShrinkwrap
frame.scrbl
(git://github.com/gmarceau/PLT.git)
Racket · 949 lines
✨ Summary
This Racket code defines a set of classes and interfaces for building text editors, including frame classes such as frame:basic
, frame:text
, and frame:searchable
. It also defines mixin classes that add functionality to these frames, such as frame:editor
and frame:searchable-text
. The code provides a framework for creating customizable text editors with features like searching, pasting, and status lines.
This Racket code defines a set of classes and interfaces for building text editors, including frame classes such as frame:basic
, frame:text
, and frame:searchable
. It also defines mixin classes that add functionality to these frames, such as frame:editor
and frame:searchable-text
. The code provides a framework for creating customizable text editors with features like searching, pasting, and status lines.
191 @defmethod*[#:mode override (((on-size (width number?) (height number?)) void?))]{
193 Updates the preferences, according to the width and
194 height. The preferences key is the one passed
195 to the initialization argument of the class.
242 The screen space for status lines is not created until
243 @method[frame:status-line<%> update-status-line] is called with a
244 string. Additionally, the screen space for one status line is re-used when by
245 another status line when the first passes @racket[#f] to
246 @method[frame:status-line<%> update-status-line]. In this manner, the status
247 line frame avoids opening too many status lines and avoids flashing the
248 status lines open and closed too often.
help-doc.html (https://svn.apache.org/repos/asf/incubator/droids/) text · 0 lines
CCQuicktimeCaptureDataTest.java
(http://creativecomputing.googlecode.com/svn/trunk/)
Java · 72 lines
✨ Summary
This Java code creates a graphical application that captures video frames from a QuickTime capture device and displays them as a grayscale ellipse pattern on the screen, with the brightness of each pixel affecting its radius. The frame rate is printed to the console during runtime. It uses the CCQuicktimeCaptureData class to interact with the capture device and the CCApp class for general application functionality.
This Java code creates a graphical application that captures video frames from a QuickTime capture device and displays them as a grayscale ellipse pattern on the screen, with the brightness of each pixel affecting its radius. The frame rate is printed to the console during runtime. It uses the CCQuicktimeCaptureData class to interact with the capture device and the CCApp class for general application functionality.
Header.pl
(git://github.com/zpao/v8monkey.git)
Perl · 183 lines
✨ Summary
The Perl code generates a table with various metrics related to web page loading times, including parsing, content creation, frame creation, style resolution, reflow, total layout time, and total page load time. The table is formatted in a specific way, with columns for the metric name, percentage of total time spent on that task, and a brief description.
The Perl code generates a table with various metrics related to web page loading times, including parsing, content creation, frame creation, style resolution, reflow, total layout time, and total page load time. The table is formatted in a specific way, with columns for the metric name, percentage of total time spent on that task, and a brief description.
54 #$buildRoot = $ARGV[0];
55 #$buildIDFile = '< '.$buildRoot.'\bin\chrome\locales\en-US\navigator\locale\navigator.dtd';
56 $pullDate = $ARGV[1];
57 $useClockTime = $ARGV[2];
94 print (TABLE_FILE "<center><b><font size=+2>Seamonkey Win32</font></B></Center>");
95 print (TABLE_FILE "<BR>");
96 print (TABLE_FILE "<center><font size=+2 color=maroon>$pullDate</font></center>");
97 print (TABLE_FILE "<BR><center><b><font size=+1>");
98 print (TABLE_FILE "$weekday{$wday} ");
Adventure Works DW.dwproj (https://MSFTDBProdSamples.svn.codeplex.com/svn) Unknown · 209 lines
pickle.h
(git://github.com/zpao/v8monkey.git)
C Header · 278 lines
✨ Summary
This C header file defines a class Pickle
that represents a serialized data structure. It provides methods for reading and writing data, including allocation and resizing of the buffer, alignment, and padding with null bytes. The class also includes functions for finding the end of the pickled data within a given range and updating iterators by a specified number of bytes.
This C header file defines a class Pickle
that represents a serialized data structure. It provides methods for reading and writing data, including allocation and resizing of the buffer, alignment, and padding with null bytes. The class also includes functions for finding the end of the pickled data within a given range and updating iterators by a specified number of bytes.
en_ZW.xml (git://github.com/landgraf/matreshka.git) XML · 141 lines
4 <identity>
5 <version number="$Revision: 4767 $"/>
6 <generation date="$Date: 2010-02-27 20:54:27 -0600 (Sat, 27 Feb 2010) $"/>
7 <language type="en"/>
8 <territory type="ZW"/>
9 </identity>
10 <dates>
11 <calendars>
12 <calendar type="gregorian">
13 <dateFormats>
14 <dateFormatLength type="full">
15 <dateFormat>
16 <pattern>EEEE dd MMMM y</pattern>
17 </dateFormat>
PeriodicUpdater.java
(http://wogwt.googlecode.com/svn/trunk/)
Java · 74 lines
✨ Summary
This Java class, PeriodicUpdater
, extends another class called Updater
. It creates a timer that schedules an AJAX request to a specified URL at regular intervals (in milliseconds) and updates a container element with the response. The update can be cancelled or restarted as needed.
This Java class, PeriodicUpdater
, extends another class called Updater
. It creates a timer that schedules an AJAX request to a specified URL at regular intervals (in milliseconds) and updates a container element with the response. The update can be cancelled or restarted as needed.
6 /**
7 * This class will do an ajax request every X milliseconds to the url specified
8 * by the updateContainer's "updateUrl" attribute and replace the contents of
9 * the updateContainer with the response.
19 *
20 */
21 public class PeriodicUpdater extends Updater {
23 private Timer timer;
24 private int frequencyInMilliseconds;
26 public PeriodicUpdater(String updateContainerID, int frequencyInMilliseconds) {
27 super(updateContainerID);
30 }
32 public PeriodicUpdater(String updateContainerID, int frequencyInMilliseconds, AfterDOMUpdateCallback callback) {
33 super(updateContainerID, callback);
HTTP.java
(http://ftr-gwt-library.googlecode.com/svn/trunk/)
Java · 167 lines
✨ Summary
This Java code converts between HTTP header strings and JSON objects. It can parse an HTTP header string into a JSON object, and vice versa. The toJSONObject
method takes an HTTP header string and returns a JSON object containing its elements and attributes, while the toString
method takes a JSON object and returns an equivalent HTTP header string.
This Java code converts between HTTP header strings and JSON objects. It can parse an HTTP header string into a JSON object, and vice versa. The toJSONObject
method takes an HTTP header string and returns a JSON object containing its elements and attributes, while the toString
method takes a JSON object and returns an equivalent HTTP header string.
56 * In addition, the other parameters in the header will be captured, using
57 * the HTTP field names as JSON names, so that <pre>
58 * Date: Sun, 26 May 2002 18:06:04 GMT
59 * Cookie: Q=q2=PPEAsg--; B=677gi6ouf29bn&b=2&f=s
60 * Cache-Control: no-cache</pre>
61 * become
62 * <pre>{...
63 * Date: "Sun, 26 May 2002 18:06:04 GMT",
64 * Cookie: "Q=q2=PPEAsg--; B=677gi6ouf29bn&b=2&f=s",
65 * "Cache-Control": "no-cache",
66 * ...}</pre>
67 * It does no further checking or conversion. It does not parse dates.
68 * It does not do '%' transforms on URLs.
69 * @param string An HTTP header string.