100+ results for 'php pack'
Not the results you expected?
lmi_helper.c (https://github.com/mstsirkin/qemu.git) C · 745 lines
ConstructorNode.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 164 lines
✨ Summary
This Java class represents a constructor node in an abstract syntax tree (AST). It extends TigerNode
and provides methods to access and manipulate its parameters, type parameters, and throws clause. The toString()
method returns a string representation of the constructor node, including its formal parameters and type parameters.
This Java class represents a constructor node in an abstract syntax tree (AST). It extends TigerNode
and provides methods to access and manipulate its parameters, type parameters, and throws clause. The toString()
method returns a string representation of the constructor node, including its formal parameters and type parameters.
ParseException.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 193 lines
✨ Summary
This Java code defines a custom exception class ParseException
that is used to handle parsing errors in a parser generated by JavaCC. It provides constructors for creating exceptions with different information, such as the current token and expected tokens, and a method to generate an error message based on this information. The exception can be thrown when a parsing error occurs during the execution of the parser.
This Java code defines a custom exception class ParseException
that is used to handle parsing errors in a parser generated by JavaCC. It provides constructors for creating exceptions with different information, such as the current token and expected tokens, and a method to generate an error message based on this information. The exception can be thrown when a parsing error occurs during the execution of the parser.
CommandLineReader.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 108 lines
✨ Summary
This Java code creates a CommandLineReader
class that extends FilterReader
. It reads input from the standard input stream, replacing empty lines with ;\n
, allowing for more pleasant interaction on the command line. The reader is tested in a simple main method that continuously prints the read characters.
This Java code creates a CommandLineReader
class that extends FilterReader
. It reads input from the standard input stream, replacing empty lines with ;\n
, allowing for more pleasant interaction on the command line. The reader is tested in a simple main method that continuously prints the read characters.
InstallSchema.php (https://gitlab.com/yousafsyed/easternglamor) PHP · 407 lines
1 <?php
2 /**
3 * Copyright © 2016 Magento. All rights reserved.
18 /**
19 * {@inheritdoc}
20 * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
21 */
22 public function install(SchemaSetupInterface $setup, ModuleContextInterface $context)
170 \Magento\Framework\DB\Ddl\Table::ACTION_CASCADE
171 )->setComment(
172 'Instances of Widget for Package Theme'
173 );
174 $installer->getConnection()->createTable($table);
Advertiser.php (https://bitbucket.org/blackriver/openx.git) PHP · 371 lines
mavlink_msg_sensor_offsets.h (https://github.com/pchickey/purple-ardupilot-mega.git) C Header · 386 lines
1 // MESSAGE SENSOR_OFFSETS PACKING
3 #define MAVLINK_MSG_ID_SENSOR_OFFSETS 150
45 /**
46 * @brief Pack a sensor_offsets message
47 * @param system_id ID of this system
48 * @param component_id ID of this component (e.g. 200 for IMU)
63 * @return length of the message in bytes (excluding serial stream start sign)
64 */
65 static inline uint16_t mavlink_msg_sensor_offsets_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
66 int16_t mag_ofs_x, int16_t mag_ofs_y, int16_t mag_ofs_z, float mag_declination, int32_t raw_press, int32_t raw_temp, float gyro_cal_x, float gyro_cal_y, float gyro_cal_z, float accel_cal_x, float accel_cal_y, float accel_cal_z)
67 {
83 memcpy(_MAV_PAYLOAD_NON_CONST(msg), buf, 42);
84 #else
85 mavlink_sensor_offsets_t packet;
86 packet.mag_ofs_x = mag_ofs_x;
CustomWagonManager.java (https://bitbucket.org/nbargnesi/idea.git) Java · 159 lines
MavenPluginConfigurationParameterDomExtender.java (https://bitbucket.org/nbargnesi/idea.git) Java · 35 lines
PackageDotHtmlMayBePackageInfo.html (https://bitbucket.org/nbargnesi/idea.git) HTML · 15 lines
3 This inspection reports any package.html files. These files are used for documenting
4 packages. Since J2SE 5 it is recommended to use package-info.java files instead, since such
5 files can also contain package annotations. In this way, package-info.java becomes the
6 sole repository for package level annotations and documentation.
7 <p>
8 This inspection provides a quickfix to convert the package.html file to a package-info.java file.
9 If a package-info.java file is already present this inspection provides a quickfix to delete
10 the package.html file, since the Javadoc tool would ignore it then anyway.
11 <!-- tooltip end -->
12 <p>
ezisbn10to13converter.php (https://bitbucket.org/ericsagnes/ezpublish-multisite.git) PHP · 355 lines
EmptyRunnable.java (https://bitbucket.org/nbargnesi/idea.git) Java · 27 lines
ChangeDiffRequestPresentable.java (https://bitbucket.org/nbargnesi/idea.git) Java · 224 lines
GrCodeReferenceElement.java (https://bitbucket.org/nbargnesi/idea.git) Java · 27 lines
AclVoterTest.php (https://gitlab.com/TouirMohamedMarwen/Symfony2) PHP · 432 lines
class-cp-user-relationships.php (https://gitlab.com/dev73/clusterpress) PHP · 543 lines
GitCheckoutOperation.java (https://bitbucket.org/nbargnesi/idea.git) Java · 254 lines
Editor.php (https://github.com/lazenge/zf2.git) PHP · 601 lines
1 <?php
2 /**
3 * Zend Framework
6 *
7 * This source file is subject to the new BSD license that is bundled
8 * with this package in the file LICENSE.txt.
9 * It is also available through the world-wide-web at this URL:
10 * http://framework.zend.com/license/new-bsd
14 *
15 * @category Zend
16 * @package Zend_Dojo
17 * @subpackage Form_Element
33 * @uses \Zend\Form\ElementException
34 * @category Zend
35 * @package Zend_Dojo
36 * @subpackage Form_Element
Tag.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 102 lines
✨ Summary
This Java class represents a tag in a source file, used by an integrated development environment (IDE). It stores information about the tag, such as its name, line number, and icon, and provides methods to access this information. The class extends another class called SourceAsset
and uses a Hashtable to store icons for different types of tags.
This Java class represents a tag in a source file, used by an integrated development environment (IDE). It stores information about the tag, such as its name, line number, and icon, and provides methods to access this information. The class extends another class called SourceAsset
and uses a Hashtable to store icons for different types of tags.
CvsQuickListContentProvider.java (https://bitbucket.org/nbargnesi/idea.git) Java · 49 lines
RepositoryBeanInfo.java (https://bitbucket.org/nbargnesi/idea.git) Java · 46 lines
TryIdenticalCatches.after.java (https://bitbucket.org/nbargnesi/idea.git) Java · 120 lines
QuantitySelection.java (https://bitbucket.org/nbargnesi/idea.git) Java · 117 lines
VcsErrorViewPanel.java (https://bitbucket.org/nbargnesi/idea.git) Java · 32 lines
GrDocTagImpl.java (https://bitbucket.org/nbargnesi/idea.git) Java · 101 lines
tmv.c
(git://github.com/xbmc/xbmc.git)
C · 200 lines
✨ Summary
This C code implements a demuxer for the 8088flex TMV file format, which is used to store audio and video data in a compressed form. The code provides functions for probing, reading headers, packets, and seeking within the files, as well as registering the demuxer with FFmpeg. It also defines the structure of the TMVContext, which holds metadata about the audio and video streams.
This C code implements a demuxer for the 8088flex TMV file format, which is used to store audio and video data in a compressed form. The code provides functions for probing, reading headers, packets, and seeking within the files, as well as registering the demuxer with FFmpeg. It also defines the structure of the TMVContext, which holds metadata about the audio and video streams.
148 }
150 static int tmv_read_packet(AVFormatContext *s, AVPacket *pkt)
151 {
152 TMVContext *tmv = s->priv_data;
158 return AVERROR_EOF;
160 ret = av_get_packet(pb, pkt, pkt_size);
162 if (tmv->stream_index)
194 .read_probe = tmv_probe,
195 .read_header = tmv_read_header,
196 .read_packet = tmv_read_packet,
197 .read_seek = tmv_read_seek,
198 .flags = AVFMT_GENERIC_INDEX,
DebuggerConfigurable.java (https://bitbucket.org/nbargnesi/idea.git) Java · 100 lines
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.
CharIndexedSegment.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 98 lines
✨ Summary
This Java class, CharIndexedSegment
, provides a way to search within Segment
objects using regular expressions from the gnu.regexp
package. It allows for searching in both forward and reverse directions, with methods to get the character at a specific index, check if an index is valid, reset the index, and move the index by a certain amount.
This Java class, CharIndexedSegment
, provides a way to search within Segment
objects using regular expressions from the gnu.regexp
package. It allows for searching in both forward and reverse directions, with methods to get the character at a specific index, check if an index is valid, reset the index, and move the index by a certain amount.
TemplateSettings.java (https://bitbucket.org/nbargnesi/idea.git) Java · 747 lines
matreshka-internals-calendars.ads
(git://github.com/landgraf/matreshka.git)
Ada · 83 lines
✨ Summary
This Ada code defines a package for calendar-related functionality, specifically time zones and dates. It introduces several types: Absolute_Time
and Relative_Time
to represent time in seconds since a base date (October 1582), Julian_Day_Number
to represent days since the Julian Day Number 1, and Internal_Time_Zone
to store information about time zones. The package also provides an alias for the UTC time zone.
This Ada code defines a package for calendar-related functionality, specifically time zones and dates. It introduces several types: Absolute_Time
and Relative_Time
to represent time in seconds since a base date (October 1582), Julian_Day_Number
to represent days since the Julian Day Number 1, and Internal_Time_Zone
to store information about time zones. The package also provides an alias for the UTC time zone.
Blame.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 156 lines
✨ Summary
This Java code is a SVN blame tool, which displays the revision history of a file by showing the author and revision number for each line of code. It takes a LogData object as input, which contains information about the SVN repository, username, password, and paths to analyze. The output is displayed on the console.
This Java code is a SVN blame tool, which displays the revision history of a file by showing the author and revision number for each line of code. It takes a LogData object as input, which contains information about the SVN repository, username, password, and paths to analyze. The output is displayed on the console.
CurrentPositionPainter.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 46 lines
✨ Summary
This Java class, CurrentPositionPainter
, extends another class called DebuggerPainter
. It is used to paint a specific line in an edit pane, likely for debugging purposes. The painting includes drawing a magenta rectangle at the current position on the screen, with additional lines and points to represent the physical line’s location.
This Java class, CurrentPositionPainter
, extends another class called DebuggerPainter
. It is used to paint a specific line in an edit pane, likely for debugging purposes. The painting includes drawing a magenta rectangle at the current position on the screen, with additional lines and points to represent the physical line’s location.
OptionPane.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 118 lines
✨ Summary
This Java code defines a custom option pane for a text editor, allowing users to configure various settings such as push away mode, layout, and animations. It uses a combination of JComboBox and JCheckBox components to provide a user-friendly interface for setting these options. The changes are saved when the “Save” button is clicked, updating the text editor’s properties accordingly.
This Java code defines a custom option pane for a text editor, allowing users to configure various settings such as push away mode, layout, and animations. It uses a combination of JComboBox and JCheckBox components to provide a user-friendly interface for setting these options. The changes are saved when the “Save” button is clicked, updating the text editor’s properties accordingly.
CartesianSeries.java
(http://gwt-ext.googlecode.com/svn/trunk/)
Java · 81 lines
✨ Summary
This Java code defines a class CartesianSeries
that extends JsObject
. It represents a vertical or horizontal axis of a Cartesian chart in the YUI Charts widget library. The class provides methods to set and get values for the xField and yField, which are used to access data from a source.
This Java code defines a class CartesianSeries
that extends JsObject
. It represents a vertical or horizontal axis of a Cartesian chart in the YUI Charts widget library. The class provides methods to set and get values for the xField and yField, which are used to access data from a source.
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.
CTagsFileProvider.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 57 lines
✨ Summary
This Java class, CTagsFileProvider
, is a provider of identifier names from a tags file generated by ctags. It loads and processes the identifiers from the file, storing them in an internal list. The class provides methods to process the file, forget the loaded identifiers, and iterate over the identifiers, allowing for use in other parts of the application.
This Java class, CTagsFileProvider
, is a provider of identifier names from a tags file generated by ctags. It loads and processes the identifiers from the file, storing them in an internal list. The class provides methods to process the file, forget the loaded identifiers, and iterate over the identifiers, allowing for use in other parts of the application.
WriteOutsideTemplateException.java (https://jedit.svn.sourceforge.net/svnroot/jedit) Java · 11 lines
KeyboardCommand.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 32 lines
✨ Summary
This Java code defines an enumeration called KeyboardCommand
with five possible values: NONE
, TAB_OUT_FORWARD
, TAB_OUT_BACK
, EDIT_PLUGIN
, and CLOSE_PLUGIN_MANAGER
. It appears to be part of a plugin manager for the jEdit text editor, allowing different keyboard commands to be executed.
This Java code defines an enumeration called KeyboardCommand
with five possible values: NONE
, TAB_OUT_FORWARD
, TAB_OUT_BACK
, EDIT_PLUGIN
, and CLOSE_PLUGIN_MANAGER
. It appears to be part of a plugin manager for the jEdit text editor, allowing different keyboard commands to be executed.
ActionContext.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 72 lines
✨ Summary
This Java class, ActionContext
, manages a collection of action sets for an editor and browser application. It provides methods to retrieve actions by name and get the action set that contains a specified action. The class is part of the jEdit project and has been maintained since version 4.2pre1.
This Java class, ActionContext
, manages a collection of action sets for an editor and browser application. It provides methods to retrieve actions by name and get the action set that contains a specified action. The class is part of the jEdit project and has been maintained since version 4.2pre1.
InvalidHeaderException.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 43 lines
✨ Summary
This Java code defines a custom exception class InvalidHeaderException
that extends the built-in IOException
. It provides two constructors: one with no message and another with a specified error message, both of which call the superclass constructor to set the error message. This exception is intended to be used when there’s an issue with a TAR archive header.
This Java code defines a custom exception class InvalidHeaderException
that extends the built-in IOException
. It provides two constructors: one with no message and another with a specified error message, both of which call the superclass constructor to set the error message. This exception is intended to be used when there’s an issue with a TAR archive header.
LoadLibraryWithNonConstantStringInspection.java (https://bitbucket.org/nbargnesi/idea.git) Java · 95 lines
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.
IFileSystem.java (https://bitbucket.org/nbargnesi/idea.git) Java · 31 lines
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.
CurrentBufferSet.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 67 lines
✨ Summary
This Java class, CurrentBufferSet
, implements a file set for searching the current buffer in an editor. It provides methods to get the first, next, and all files in the set, as well as the total number of files and code associated with it. The class is designed to work within an editor’s search functionality, allowing users to search the contents of the currently open file.
This Java class, CurrentBufferSet
, implements a file set for searching the current buffer in an editor. It provides methods to get the first, next, and all files in the set, as well as the total number of files and code associated with it. The class is designed to work within an editor’s search functionality, allowing users to search the contents of the currently open file.
Selection.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 230 lines
✨ Summary
This Java code defines an abstract class Selection
that represents a portion of text in a buffer. It provides methods to get the start and end offsets, as well as line numbers, of the selection. The class also extends two concrete classes: Range
for ordinary range selections and Rect
for rectangular selections.
This Java code defines an abstract class Selection
that represents a portion of text in a buffer. It provides methods to get the start and end offsets, as well as line numbers, of the selection. The class also extends two concrete classes: Range
for ordinary range selections and Rect
for rectangular selections.
ProfileAction.java (https://bitbucket.org/nbargnesi/idea.git) Java · 173 lines
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.
ITaskRegistrarAsync.html
(http://keywatch.googlecode.com/svn/trunk/)
HTML · 383 lines
✨ Summary
This HTML code is a documentation page for a Java class, ITaskRegistrarAsync
. It displays information about the class, including its methods, fields, and constructors. The page includes navigation links to related classes and a summary of the class’s contents. The output appears to be generated from public sources, such as Javadoc comments in the Java codebase.
This HTML code is a documentation page for a Java class, ITaskRegistrarAsync
. It displays information about the class, including its methods, fields, and constructors. The page includes navigation links to related classes and a summary of the class’s contents. The output appears to be generated from public sources, such as Javadoc comments in the Java codebase.
36 <TR ALIGN="center" VALIGN="top">
37 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
39 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ITaskRegistrarAsync.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
331 <TR ALIGN="center" VALIGN="top">
332 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
333 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
334 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
335 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ITaskRegistrarAsync.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
MouseOptionPane.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 154 lines
✨ Summary
This Java code defines a custom options panel for a text editor, specifically for mouse-related settings. It allows users to configure various mouse actions, such as dragging and dropping text, joining non-word characters, pasting from middle mouse button clicks, and modifying gutter click behavior. The settings are saved when the user closes the options panel.
This Java code defines a custom options panel for a text editor, specifically for mouse-related settings. It allows users to configure various mouse actions, such as dragging and dropping text, joining non-word characters, pasting from middle mouse button clicks, and modifying gutter click behavior. The settings are saved when the user closes the options panel.
PrismaticJoint.java
(http://loon-simple.googlecode.com/svn/trunk/)
Java · 147 lines
✨ Summary
This Java code defines a class PrismaticJoint
that extends Joint
. It provides functionality for a prismatic joint, which allows translation along an axis while preventing relative rotation. The class includes methods to get and set joint limits, motor speed, and force, as well as enable/disable the limit and motor features.
This Java code defines a class PrismaticJoint
that extends Joint
. It provides functionality for a prismatic joint, which allows translation along an axis while preventing relative rotation. The class includes methods to get and set joint limits, motor speed, and force, as well as enable/disable the limit and motor features.
BrowserListener.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 47 lines
✨ Summary
This Java interface defines a listener for events related to file selection and activation in a Virtual File System (VFS) browser. It provides two methods: filesSelected
and filesActivated
, which are called when files are selected and double-clicked, respectively, allowing the listener to respond to these events.
This Java interface defines a listener for events related to file selection and activation in a Virtual File System (VFS) browser. It provides two methods: filesSelected
and filesActivated
, which are called when files are selected and double-clicked, respectively, allowing the listener to respond to these events.
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.
simple-macros.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 720 lines
93 classes</firstterm> to make this distinction. Some of jEdit's classes
94 (such as those dealing with regular expressions and XML) are derived
95 from or make use of classes in other open-source Java packages. Except
96 for BeanShell itself, we won't be discussing them in this guide.
97 </para>
146 <para>
147 Another missing item from a Java perspective is a
148 <function>package</function> statement. In Java, such a statement is
149 used to bundle together a number of files so that their classes become
150 visible to one another. Packages are not part of BeanShell,
156 Finally, there are no <function>import</function> statements in this
157 script. In Java, an <function>import</function> statement makes public
158 classes from other packages visible within the file in which the
159 statement occurs without having to specify a fully
160 qualified class name. Without an import statement or a fully qualified
SideKickPlugin.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 435 lines
✨ Summary
This Java code is part of a text editor’s plugin that provides features like syntax highlighting, auto-completion, and parsing. It creates a background thread to parse buffers in real-time, updates the UI with parsed data, and manages toolbars and caret handlers for editing. The code also handles buffer parsing, parsing cancellation, and cleanup of resources when the view is stopped or removed.
This Java code is part of a text editor’s plugin that provides features like syntax highlighting, auto-completion, and parsing. It creates a background thread to parse buffers in real-time, updates the UI with parsed data, and manages toolbars and caret handlers for editing. The code also handles buffer parsing, parsing cancellation, and cleanup of resources when the view is stopped or removed.
Mode.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 285 lines
✨ Summary
This Java class, Mode
, represents an edit mode for a text editor. It defines settings and properties for editing specific types of files, such as syntax highlighting and folding. The class provides methods to initialize, load, and set properties, as well as check if the current buffer matches the specified file name and first line.
This Java class, Mode
, represents an edit mode for a text editor. It defines settings and properties for editing specific types of files, such as syntax highlighting and folding. The class provides methods to initialize, load, and set properties, as well as check if the current buffer matches the specified file name and first line.
LogViewerAttributes.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 371 lines
✨ Summary
This Java class provides a set of properties and methods for configuring a log viewer application. It allows users to customize settings such as font, buffer size, latency, and tab placement, as well as store and retrieve these values from a configuration file. The class also handles default values and invalid input, ensuring that the application remains stable and functional.
This Java class provides a set of properties and methods for configuring a log viewer application. It allows users to customize settings such as font, buffer size, latency, and tab placement, as well as store and retrieve these values from a configuration file. The class also handles default values and invalid input, ensuring that the application remains stable and functional.
ProjectListener.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 75 lines
✨ Summary
This is a Java interface definition for a ProjectListener
that extends the EventListener
interface. It provides methods to be notified when files are added, removed, and project properties change in a project. The listener can react to these events by implementing the corresponding methods.
This is a Java interface definition for a ProjectListener
that extends the EventListener
interface. It provides methods to be notified when files are added, removed, and project properties change in a project. The listener can react to these events by implementing the corresponding methods.
sh7763rdp_defconfig (http://omnia2droid.googlecode.com/svn/trunk/) Unknown · 1237 lines
Command.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 39 lines
✨ Summary
This is a Java interface definition for a command pattern implementation. It specifies a standard interface for various command classes, requiring them to implement an execute
method that takes a string array of parameters and throws two custom exceptions: CommandInitializationException
and CommandExecutionException
. This allows commands to be executed with standardized input and output handling.
This is a Java interface definition for a command pattern implementation. It specifies a standard interface for various command classes, requiring them to implement an execute
method that takes a string array of parameters and throws two custom exceptions: CommandInitializationException
and CommandExecutionException
. This allows commands to be executed with standardized input and output handling.
ContextOptionPane.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 381 lines
✨ Summary
This Java code creates a graphical user interface (GUI) for adding new actions to an editor. It allows users to select an action set, choose an action from that set, and add it to the editor’s context menu. The GUI includes options for customizing the action’s label and separator. When the “OK” button is clicked, the selected action is added to the editor’s context menu.
This Java code creates a graphical user interface (GUI) for adding new actions to an editor. It allows users to select an action set, choose an action from that set, and add it to the editor’s context menu. The GUI includes options for customizing the action’s label and separator. When the “OK” button is clicked, the selected action is added to the editor’s context menu.
MessageDialog.java
(http://loon-simple.googlecode.com/svn/trunk/)
Java · 264 lines
✨ Summary
This Java code is a utility class for creating and manipulating images with custom dialog boxes. It provides methods to create images with different layouts, resize them, and apply alpha blending effects. The getRMXPDialog
method creates an image with a dialog box layout, while the getRMXPDialog(LImage rmxpImage, int width, int height, int size, int offset)
method is a variant that takes an existing image as input.
This Java code is a utility class for creating and manipulating images with custom dialog boxes. It provides methods to create images with different layouts, resize them, and apply alpha blending effects. The getRMXPDialog
method creates an image with a dialog box layout, while the getRMXPDialog(LImage rmxpImage, int width, int height, int size, int offset)
method is a variant that takes an existing image as input.
GalleryView.java (https://bitbucket.org/atchariya/nokia.git) Java · 290 lines
Fonts.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 411 lines
✨ Summary
This Java code retrieves and manipulates font properties for a graphical user interface (GUI). It checks if fonts can display localized text, such as languages and characters, and returns boolean values indicating success or failure. The code uses desktop properties to retrieve font information from the operating system’s toolkit.
This Java code retrieves and manipulates font properties for a graphical user interface (GUI). It checks if fonts can display localized text, such as languages and characters, and returns boolean values indicating success or failure. The code uses desktop properties to retrieve font information from the operating system’s toolkit.
29 */
31 package org.pushingpixels.substance.internal.fonts;
33 import java.awt.Font;
45 * <p>
46 *
47 * TODO: Consider changing the visibility of the package private methods to
48 * public. As an alternative we may provide a FontPolicy that can emulate the
49 * font choice on Windows XP/2000 and Windows Vista for different software
ConsoleBeanShell.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 97 lines
✨ Summary
This Java code defines a ConsoleBeanShell
class that executes commands in jEdit’s BeanShell interpreter. It provides methods for printing information messages, executing commands, stopping the console, and waiting for user input. The class is designed to work with jEdit’s console interface, allowing users to interact with the BeanShell interpreter from within the editor.
This Java code defines a ConsoleBeanShell
class that executes commands in jEdit’s BeanShell interpreter. It provides methods for printing information messages, executing commands, stopping the console, and waiting for user input. The class is designed to work with jEdit’s console interface, allowing users to interact with the BeanShell interpreter from within the editor.
ConsoleInstall.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 139 lines
✨ Summary
This Java code performs a text-only installation of an application. It prompts the user to select components to install, sets configuration options for operating system tasks, and starts the installation process in a separate thread. The output displays the selected installation directory, component choices, and progress updates during the installation.
This Java code performs a text-only installation of an application. It prompts the user to select components to install, sets configuration options for operating system tasks, and starts the installation process in a separate thread. The output displays the selected installation directory, component choices, and progress updates during the installation.
MIShell.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 71 lines
✨ Summary
This Java class implements a custom shell for the GDB debugger, specifically designed to work with the MI (Machine Interface) protocol. It extends the BaseShell
class and overrides several methods to customize its behavior, including printing information messages and executing commands. The class is part of a larger plugin architecture for the jEdit text editor.
This Java class implements a custom shell for the GDB debugger, specifically designed to work with the MI (Machine Interface) protocol. It extends the BaseShell
class and overrides several methods to customize its behavior, including printing information messages and executing commands. The class is part of a larger plugin architecture for the jEdit text editor.
CopyAction.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 325 lines
✨ Summary
This Java code implements a “Copy” action for an integrated development environment (IDE). It allows users to copy files from one location to another, either within the same repository or between different repositories. The action creates a new process that performs the copy operation and displays the results in the IDE’s UI.
This Java code implements a “Copy” action for an integrated development environment (IDE). It allows users to copy files from one location to another, either within the same repository or between different repositories. The action creates a new process that performs the copy operation and displays the results in the IDE’s UI.
listitem.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 109 lines
11 ** This file may be used under the terms of the GNU Lesser General Public
12 ** License version 2.1 as published by the Free Software Foundation and
13 ** appearing in the file LICENSE.LGPL included in the packaging of this
14 ** file. Please review the following information to ensure the GNU Lesser
15 ** General Public License version 2.1 requirements will be met:
18 ** In addition, as a special exception, Nokia gives you certain additional
19 ** rights. These rights are described in the Nokia Qt LGPL Exception
20 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
21 **
22 ** GNU General Public License Usage
23 ** Alternatively, this file may be used under the terms of the GNU General
24 ** Public License version 3.0 as published by the Free Software Foundation
25 ** and appearing in the file LICENSE.GPL included in the packaging of this
26 ** file. Please review the following information to ensure the GNU General
27 ** Public License version 3.0 requirements will be met:
DynamicMenuChanged.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 70 lines
✨ Summary
This Java class represents a message that triggers the recreation of a dynamic menu in the jEdit text editor. It takes a menu name as an argument and stores it internally, allowing all menus with this name to be recreated upon display. The class extends EBMessage
and provides methods for accessing the menu name and generating a string representation of the message.
This Java class represents a message that triggers the recreation of a dynamic menu in the jEdit text editor. It takes a menu name as an argument and stores it internally, allowing all menus with this name to be recreated upon display. The class extends EBMessage
and provides methods for accessing the menu name and generating a string representation of the message.
CssSideKickPlugin.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 29 lines
✨ Summary
This Java class, CssSideKickPlugin
, defines a plugin for CSS sidekick functionality. It contains constants for the plugin’s name and option prefix, which can be used to identify and configure the plugin in a larger application. The class provides no additional functionality beyond defining these constants.
This Java class, CssSideKickPlugin
, defines a plugin for CSS sidekick functionality. It contains constants for the plugin’s name and option prefix, which can be used to identify and configure the plugin in a larger application. The class provides no additional functionality beyond defining these constants.
json.jj (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 763 lines
WordWrap.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 65 lines
✨ Summary
This Java code defines a custom action for a text editor, specifically Log Viewer. When triggered, it toggles word wrapping (line wrapping) on or off in the currently selected log file. It uses a separate class to handle the action and interacts with the main application’s GUI components. The action is part of a larger plugin for the jEdit text editor.
This Java code defines a custom action for a text editor, specifically Log Viewer. When triggered, it toggles word wrapping (line wrapping) on or off in the currently selected log file. It uses a separate class to handle the action and interacts with the main application’s GUI components. The action is part of a larger plugin for the jEdit text editor.
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.
CommandLineReader.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 108 lines
✨ Summary
This Java code creates a custom Reader
class called CommandLineReader
that modifies the behavior of the standard input stream when reading from the command line. It treats empty lines as ‘;\n’ to make the interpreter more user-friendly, but ignores this behavior when reading from files non-interactively.
This Java code creates a custom Reader
class called CommandLineReader
that modifies the behavior of the standard input stream when reading from the command line. It treats empty lines as ‘;\n’ to make the interpreter more user-friendly, but ignores this behavior when reading from files non-interactively.
HistoryModel.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 320 lines
✨ Summary
This Java class, HistoryModel
, is a list model for storing and managing a history of text input. It allows multiple instances to be created with unique names, and provides methods for adding, retrieving, and saving entries in the history. The data is stored in a vector and can be loaded from a file when the application starts.
This Java class, HistoryModel
, is a list model for storing and managing a history of text input. It allows multiple instances to be created with unique names, and provides methods for adding, retrieving, and saving entries in the history. The data is stored in a vector and can be loaded from a file when the application starts.
OptionsManager.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 203 lines
✨ Summary
This Java class, OptionsManager
, is a singleton that manages settings for a Lucene plugin. It loads and saves settings from an XML file, storing options such as automatically indexing projects, directories, file name regex, and index interval. The class provides methods to get and set these options, as well as clear the settings.
This Java class, OptionsManager
, is a singleton that manages settings for a Lucene plugin. It loads and saves settings from an XML file, storing options such as automatically indexing projects, directories, file name regex, and index interval. The class provides methods to get and set these options, as well as clear the settings.
EditBus.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 167 lines
✨ Summary
The EditBus
class is a global event notification mechanism for jEdit, a text editor. It allows plugins and other components to receive messages reflecting changes in the application’s state, such as buffer changes or property updates. The bus maintains a list of registered components, which receive messages sent using the send()
method.
The EditBus
class is a global event notification mechanism for jEdit, a text editor. It allows plugins and other components to receive messages reflecting changes in the application’s state, such as buffer changes or property updates. The bus maintains a list of registered components, which receive messages sent using the send()
method.
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.
BSHArrayInitializer.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 148 lines
✨ Summary
This Java code defines a class BSHArrayInitializer
that extends SimpleNode
. It is used to initialize arrays in a scripting language, allowing for dynamic array creation with variable dimensions and initializers. The class evaluates an array initializer syntax and creates an array of the specified base type with the given dimensions and initializers.
This Java code defines a class BSHArrayInitializer
that extends SimpleNode
. It is used to initialize arrays in a scripting language, allowing for dynamic array creation with variable dimensions and initializers. The class evaluates an array initializer syntax and creates an array of the specified base type with the given dimensions and initializers.
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.
MavenImportingSettings.java (https://bitbucket.org/nbargnesi/idea.git) Java · 271 lines
sharpsl_param.h
(http://omnia2droid.googlecode.com/svn/trunk/)
C++ Header · 38 lines
✨ Summary
This C++ header defines a struct sharpsl_param_info
that contains hardware parameters specific to Sharp SL series devices, such as display settings and touch input configurations. The struct is packed tightly in memory to save space. It also declares an external variable sharpsl_param
of type sharpsl_param_info
, and a function sharpsl_save_param
that presumably saves the device’s parameters to storage.
This C++ header defines a struct sharpsl_param_info
that contains hardware parameters specific to Sharp SL series devices, such as display settings and touch input configurations. The struct is packed tightly in memory to save space. It also declares an external variable sharpsl_param
of type sharpsl_param_info
, and a function sharpsl_save_param
that presumably saves the device’s parameters to storage.
CodeObjectType.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 178 lines
✨ Summary
This Java class, CodeObjectType
, represents a type of object in a database schema. It provides methods to retrieve text and statement purpose information about code objects, such as their creation prefix and purpose for loading object code. The class is part of a larger SQL plugin system.
This Java class, CodeObjectType
, represents a type of object in a database schema. It provides methods to retrieve text and statement purpose information about code objects, such as their creation prefix and purpose for loading object code. The class is part of a larger SQL plugin system.
BeanShellEvaluator.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 47 lines
✨ Summary
This Java class, BeanShellEvaluator
, extends a Preprocessor
and provides a method to process SQL text using BeanShell, a scripting language. The doProcess
method takes a string input, evaluates it in the context of a BeanShell namespace, and returns the result as a string.
This Java class, BeanShellEvaluator
, extends a Preprocessor
and provides a method to process SQL text using BeanShell, a scripting language. The doProcess
method takes a string input, evaluates it in the context of a BeanShell namespace, and returns the result as a string.
P4GlobalOptionPane.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 76 lines
✨ Summary
This Java code defines a plugin configuration pane for a Perforce version control system. It displays and allows editing of global settings, including the Perforce path, editor command, and file monitoring options. The changes are saved to a configuration object when the user clicks “save”. The code is part of a larger plugin for the JEdit text editor.
This Java code defines a plugin configuration pane for a Perforce version control system. It displays and allows editing of global settings, including the Perforce path, editor command, and file monitoring options. The changes are saved to a configuration object when the user clicks “save”. The code is part of a larger plugin for the JEdit text editor.
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 */
17 package net.sourceforge.jedit.jcompiler;
19 //jEdit interface
308 {
310 String pkgName = JavaUtils.getPackageName(filename);
313 // If no package stmt found then pkgName would be null
314 if (parent != null && pkgName == null) {
315 args[1] = args[1] + System.getProperty("path.separator") + parent;
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.
Makefile.in.in (https://freespeech.svn.sourceforge.net/svnroot/freespeech) Unknown · 250 lines
7 # Please note that the actual code is *not* freely available.
9 PACKAGE = @PACKAGE@
10 VERSION = @VERSION@
90 || ( rm -f $(srcdir)/$(PACKAGE).pot \
91 && mv $(PACKAGE).po $(srcdir)/$(PACKAGE).pot )
93 $(srcdir)/cat-id-tbl.c: stamp-cat-id; @:
96 sed -f ../intl/po2tbl.sed $(srcdir)/$(PACKAGE).pot \
97 | sed -e "s/@PACKAGE NAME@/$(PACKAGE)/" > cat-id-tbl.tmp
98 if cmp -s cat-id-tbl.tmp $(srcdir)/cat-id-tbl.c; then \
99 rm cat-id-tbl.tmp; \
133 $(INSTALL_DATA) $$cat $$dir/$(PACKAGE)$(INSTOBJEXT); \
134 echo "installing $$cat as $$dir/$(PACKAGE)$(INSTOBJEXT)"; \
135 else \
136 $(INSTALL_DATA) $(srcdir)/$$cat $$dir/$(PACKAGE)$(INSTOBJEXT); \
MethodOverridesPrivateMethodInspection.java (https://bitbucket.org/nbargnesi/idea.git) Java · 93 lines
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.
ndis_events.c
(https://bitbucket.org/freebsd/freebsd-head/)
C · 809 lines
✨ Summary
This C code initializes a Windows-based network interface for receiving notifications about network events, such as packet arrival and error conditions. It creates an instance of a WMI (Windows Management Instrumentation) object sink, connects to a WMI server, and registers asynchronous notifications with the sink. The sink provides methods for querying, adding references, releasing, indicating, and setting the status of the notification.
This C code initializes a Windows-based network interface for receiving notifications about network events, such as packet arrival and error conditions. It creates an instance of a WMI (Windows Management Instrumentation) object sink, connects to a WMI server, and registers asynchronous notifications with the sink. The sink provides methods for querying, adding references, releasing, indicating, and setting the status of the notification.
description.html (https://jedit.svn.sourceforge.net/svnroot/jedit) HTML · 2 lines
DelegateColorScheme.java (https://bitbucket.org/nbargnesi/idea.git) Java · 182 lines
VcsChangeDetailsManager.java (https://bitbucket.org/nbargnesi/idea.git) Java · 365 lines
ReplaceForEachLoopWithIndexedForLoopIntention.java (https://bitbucket.org/nbargnesi/idea.git) Java · 272 lines
CreateAssertPredicate.java (https://bitbucket.org/nbargnesi/idea.git) Java · 90 lines
emb-qvfb.qdoc (https://bitbucket.org/ultra_iter/qt-vtl.git) Unknown · 278 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.
SubduedFillPainter.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 56 lines
✨ Summary
This Java class, SubduedFillPainter
, extends a parent class to create a fill painter that returns images with a subdued 3D gradient appearance. It overrides two methods to adjust the colors used in the gradient, resulting in a milder and less intense visual effect compared to its parent class.
This Java class, SubduedFillPainter
, extends a parent class to create a fill painter that returns images with a subdued 3D gradient appearance. It overrides two methods to adjust the colors used in the gradient, resulting in a milder and less intense visual effect compared to its parent class.
SecondUnsafeCallTest.java (https://bitbucket.org/nbargnesi/idea.git) Java · 53 lines
GroovyValidGroupNameTest.groovy (https://bitbucket.org/nbargnesi/idea.git) Groovy · 31 lines
pdx7.adsr~.pd (git://github.com/pd-projects/pdx7.git) Unknown · 427 lines
63 #X floatatom 108 59 5 100 1000 0 width - -;
64 #X floatatom 112 83 4 50 500 0 height - -;
65 #X obj 92 132 pack 0 0;
66 #X msg 92 159 vis_size \$1 \$2;
67 #X obj 110 106 t b f;
95 #X obj 95 138 sel 0;
96 #X obj 144 138 t b;
97 #X obj 104 399 pack 0 \$2;
98 #X obj 362 112 inlet;
99 #X obj 309 301 del \$2;
100 #X obj 338 324 f \$4;
101 #X obj 363 411 pack 0 \$3;
102 #X obj 410 112 inlet;
103 #X obj 459 111 inlet;
javafx.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 90 lines
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.
PathReferenceProvider.java (https://bitbucket.org/nbargnesi/idea.git) Java · 36 lines
RETokenRange.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 52 lines
✨ Summary
This Java class, RETokenRange
, represents a token range in regular expressions. It extends the REToken
class and provides methods to match input characters within a specified range (inclusive) with sensitivity options. The class also includes a dump
method to print the token range as a string.
This Java class, RETokenRange
, represents a token range in regular expressions. It extends the REToken
class and provides methods to match input characters within a specified range (inclusive) with sensitivity options. The class also includes a dump
method to print the token range as a string.
ExplicitFoldHandler.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 101 lines
✨ Summary
This Java class, ExplicitFoldHandler
, is a fold handler for the jEdit text editor. It folds lines based on markers (“{{{” and “}}}”) embedded in the text, increasing the fold level when an opening bracket appears three times and decreasing it when a closing bracket appears three times.
This Java class, ExplicitFoldHandler
, is a fold handler for the jEdit text editor. It folds lines based on markers (“{{{” and “}}}”) embedded in the text, increasing the fold level when an opening bracket appears three times and decreasing it when a closing bracket appears three times.
RoleVoter.php
(git://github.com/symfony/symfony.git)
PHP · 62 lines
✨ Summary
This PHP class, RoleVoter
, implements a voter for Symfony’s security system. It checks if any attribute of an object starts with a given prefix (‘ROLE_’) and grants access if the role is present in the token’s roles. If the attribute is ‘ROLE_PREVIOUS_ADMIN’, it triggers deprecation warnings. The voter returns ACCESS_ABSTAIN
by default, unless the attribute matches one of the token’s roles, in which case it returns ACCESS_GRANTED
.
This PHP class, RoleVoter
, implements a voter for Symfony’s security system. It checks if any attribute of an object starts with a given prefix (‘ROLE_’) and grants access if the role is present in the token’s roles. If the attribute is ‘ROLE_PREVIOUS_ADMIN’, it triggers deprecation warnings. The voter returns ACCESS_ABSTAIN
by default, unless the attribute matches one of the token’s roles, in which case it returns ACCESS_GRANTED
.
INSTALL.libusb.in (https://libusb.svn.sourceforge.net/svnroot/libusb) Unknown · 60 lines
DerivationRule.java
(http://ontouml.googlecode.com/svn/trunk/)
Java · 47 lines
✨ Summary
This Java code defines an interface DerivationRule
that extends a base class Rule
. It represents a derivation rule in a UML model and has one feature: a reference list of conclusions, which is bidirectional and opposite to another concept called “conclusion rule”. The interface provides a method to access this reference list.
This Java code defines an interface DerivationRule
that extends a base class Rule
. It represents a derivation rule in a UML model and has one feature: a reference list of conclusions, which is bidirectional and opposite to another concept called “conclusion rule”. The interface provides a method to access this reference list.
5 * $Id$
6 */
7 package OntoUML.URML;
9 import org.eclipse.emf.common.util.EList;
21 * </p>
22 *
23 * @see OntoUML.URML.URMLPackage#getDerivationRule()
24 * @model
25 * @generated
37 * <!-- end-user-doc -->
38 * @return the value of the '<em>Conclusion</em>' reference list.
39 * @see OntoUML.URML.URMLPackage#getDerivationRule_Conclusion()
40 * @see OntoUML.URML.Conclusion#getConclusionRule
41 * @model opposite="conclusionRule"
pom.xml (http://mycila.googlecode.com/svn/) XML · 340 lines
10 <artifactId>maven-deployer</artifactId>
11 <version>1.0</version>
12 <packaging>jar</packaging>
14 <name>maven-deployer</name>
129 </configuration>
130 </plugin>
131 <!-- packaging -->
132 <plugin>
133 <artifactId>maven-source-plugin</artifactId>
185 <execution>
186 <id>make-assembly</id>
187 <phase>package</phase>
188 <goals>
189 <goal>attached</goal>
matreshka-internals-strings-configuration__x86_64.ads
(git://github.com/landgraf/matreshka.git)
Ada · 61 lines
✨ Summary
This Ada code defines a configuration package for handling strings on an x86_64 platform. It specifies a string handler to be used, which is platform-dependent, and provides an initialization procedure that sets up this handler. The package is designed to work with the Matreshka project, which focuses on localization, internationalization, and globalization.
This Ada code defines a configuration package for handling strings on an x86_64 platform. It specifies a string handler to be used, which is platform-dependent, and provides an initialization procedure that sets up this handler. The package is designed to work with the Matreshka project, which focuses on localization, internationalization, and globalization.
42 -- $Revision$ $Date$
43 ------------------------------------------------------------------------------
44 -- This is x86_64 specific version of the package.
45 ------------------------------------------------------------------------------
46 with Matreshka.Internals.Strings.Handlers.X86_64;
48 package Matreshka.Internals.Strings.Configuration is
50 pragma Preelaborate;
layout.lisp
(https://bitbucket.org/skypher/weblocks-stable/)
Lisp · 59 lines
✨ Summary
This Lisp code defines a web application framework using Weblocks, a continuations-based web framework. It creates a main page with a flash widget displaying an initial message and navigation widgets for employees and companies pages. The employees and companies pages are defined as composites of gridedit widgets, which display data in tables and allow editing.
This Lisp code defines a web application framework using Weblocks, a continuations-based web framework. It creates a main page with a flash widget displaying an initial message and navigation widgets for employees and companies pages. The employees and companies pages are defined as composites of gridedit widgets, which display data in tables and allow editing.
help-doc.html (https://svn.apache.org/repos/asf/incubator/droids/) text · 0 lines
39 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
40 <TR ALIGN="center" VALIGN="top">
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="org/apache/droids/dynamic/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
125 Use</H3>
126 <BLOCKQUOTE>
127 Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.</BLOCKQUOTE>
128 <H3>
129 Tree (Class Hierarchy)</H3>
131 There is a <A HREF="overview-tree.html">Class Hierarchy</A> page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with <code>java.lang.Object</code>. The interfaces do not inherit from <code>java.lang.Object</code>.<UL>
132 <LI>When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.<LI>When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.</UL>
133 </BLOCKQUOTE>
134 <H3>
171 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
172 <TR ALIGN="center" VALIGN="top">
173 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="org/apache/droids/dynamic/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
174 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
175 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
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.
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.