100+ results for 'php pack'

Not the results you expected?

lmi_helper.c (https://github.com/mstsirkin/qemu.git) C · 745 lines

256 }

257

258 uint64_t helper_packsswh(uint64_t fs, uint64_t ft)

259 {

260 uint64_t fd = 0;

280 }

281

282 uint64_t helper_packsshb(uint64_t fs, uint64_t ft)

283 {

284 uint64_t fd = 0;

299 }

300

301 uint64_t helper_packushb(uint64_t fs, uint64_t ft)

302 {

303 uint64_t fd = 0;

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.

26 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

27 */

28 package sidekick.java.node;

29

30 import java.util.*;

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.

1 /* Generated By:JavaCC: Do not edit this line. ParseException.java Version 3.0 */

2 package sidekick.java.parser;

3

4 /**

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.

33

34

35 package org.gjt.sp.jedit.bsh;

36

37 import java.io.*;

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

1 <?php

2

3 /*

27

28 /**

29 * @package OpenXDal

30 * @subpackage Statistics

34

35 // Required classes

36 require_once MAX_PATH . '/lib/OA/Dal/Statistics.php';

37

38 /**

mavlink_msg_sensor_offsets.h (https://github.com/pchickey/purple-ardupilot-mega.git) C Header · 386 lines

1 // MESSAGE SENSOR_OFFSETS PACKING

2

3 #define MAVLINK_MSG_ID_SENSOR_OFFSETS 150

44

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

14 * limitations under the License.

15 */

16 package org.jetbrains.idea.maven.server.embedder;

17

18 import gnu.trove.THashMap;

MavenPluginConfigurationParameterDomExtender.java (https://bitbucket.org/nbargnesi/idea.git) Java · 35 lines

14 * limitations under the License.

15 */

16 package org.jetbrains.idea.maven.dom;

17

18 import com.intellij.codeInsight.completion.CompletionUtil;

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

1 <?php

2 /**

3 * File containing the eZISBN10To13Converter class.

6 * @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2

7 * @version 2012.8

8 * @package kernel

9 */

10

EmptyRunnable.java (https://bitbucket.org/nbargnesi/idea.git) Java · 27 lines

14 * limitations under the License.

15 */

16 package com.intellij.openapi.util;

17

18 public class EmptyRunnable implements Runnable {

ChangeDiffRequestPresentable.java (https://bitbucket.org/nbargnesi/idea.git) Java · 224 lines

14 * limitations under the License.

15 */

16 package com.intellij.openapi.vcs.changes.actions;

17

18 import com.intellij.CommonBundle;

GrCodeReferenceElement.java (https://bitbucket.org/nbargnesi/idea.git) Java · 27 lines

15 */

16

17 package org.jetbrains.plugins.groovy.lang.psi.api.types;

18

19 import org.jetbrains.plugins.groovy.lang.psi.GrReferenceElement;

AclVoterTest.php (https://gitlab.com/TouirMohamedMarwen/Symfony2) PHP · 432 lines

1 <?php

2

3 /*

4 * This file is part of the Symfony package.

5 *

6 * (c) Fabien Potencier <fabien@symfony.com>

21 use Symfony\Component\Security\Acl\Voter\AclVoter;

22

23 class AclVoterTest extends \PHPUnit_Framework_TestCase

24 {

25 /**

class-cp-user-relationships.php (https://gitlab.com/dev73/clusterpress) PHP · 543 lines

1 <?php

2 /**

3 * ClusterPress User Relationships.

4 *

5 * @package ClusterPress\user\classes

6 * @subpackage user-relationships

GitCheckoutOperation.java (https://bitbucket.org/nbargnesi/idea.git) Java · 254 lines

14 * limitations under the License.

15 */

16 package git4idea.branch;

17

18 import com.intellij.notification.NotificationType;

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.

17 */

18

19 package ctags.sidekick;

20 import java.net.URL;

21 import java.util.Hashtable;

CvsQuickListContentProvider.java (https://bitbucket.org/nbargnesi/idea.git) Java · 49 lines

14 * limitations under the License.

15 */

16 package com.intellij.cvsSupport2.actions;

17

18 import com.intellij.openapi.actionSystem.ActionManager;

RepositoryBeanInfo.java (https://bitbucket.org/nbargnesi/idea.git) Java · 46 lines

14 * limitations under the License.

15 */

16 package org.jetbrains.idea.maven.dom.converters.repositories.beans;

17

18 import com.intellij.util.xmlb.annotations.Attribute;

TryIdenticalCatches.after.java (https://bitbucket.org/nbargnesi/idea.git) Java · 120 lines

1 package com.siyeh.igtest.errorhandling.try_identical_catches;

2

3 class TryIdenticalCatches {

QuantitySelection.java (https://bitbucket.org/nbargnesi/idea.git) Java · 117 lines

14 * limitations under the License.

15 */

16 package com.intellij.openapi.vcs;

17

18 import java.util.HashSet;

VcsErrorViewPanel.java (https://bitbucket.org/nbargnesi/idea.git) Java · 32 lines

14 * limitations under the License.

15 */

16 package com.intellij.openapi.vcs.impl;

17

18 import com.intellij.ide.errorTreeView.NewErrorTreeViewPanel;

GrDocTagImpl.java (https://bitbucket.org/nbargnesi/idea.git) Java · 101 lines

15 */

16

17 package org.jetbrains.plugins.groovy.lang.groovydoc.psi.impl;

18

19 import com.intellij.lang.ASTNode;

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.

148 }

149

150 static int tmv_read_packet(AVFormatContext *s, AVPacket *pkt)

151 {

152 TMVContext *tmv = s->priv_data;

158 return AVERROR_EOF;

159

160 ret = av_get_packet(pb, pkt, pkt_size);

161

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

14 * limitations under the License.

15 */

16 package com.intellij.xdebugger.impl.settings;

17

18 import com.intellij.openapi.options.Configurable;

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.

1 package beauty.util;

2

3 import java.io.*;

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.

21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

22 */

23 //package org.gjt.sp.jedit.search;

24 package xsearch;

TemplateSettings.java (https://bitbucket.org/nbargnesi/idea.git) Java · 747 lines

15 */

16

17 package com.intellij.codeInsight.template.impl;

18

19 import com.intellij.AbstractBundle;

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.

44 with Interfaces;

45

46 package Matreshka.Internals.Calendars is

47

48 pragma Preelaborate;

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.

27 */

28

29 package ise.plugin.svn.command;

30

31 import java.io.*;

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.

17 */

18

19 package debugger.jedit;

20

21 import java.awt.Color;

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.

1 package myDoggy;

2

3 import javax.swing.JCheckBox;

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.

21 */

22

23 package com.gwtext.client.widgets.chart.yui;

24

25 import com.google.gwt.core.client.JavaScriptObject;

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.

64 with AMF.UML.Vertexs;

65

66 package AMF.UML.States is

67

68 pragma Preelaborate;

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.

1 package com.illengineer.jcc;

2

3 import java.util.*;

WriteOutsideTemplateException.java (https://jedit.svn.sourceforge.net/svnroot/jedit) Java · 11 lines

1 package superabbrevs.template;

2

3 public class WriteOutsideTemplateException extends Exception {

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.

20 */

21

22 package org.gjt.sp.jedit.pluginmgr;

23

24 enum KeyboardCommand

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.

21 */

22

23 package org.gjt.sp.jedit;

24

25 import java.util.*;

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.

14 */

15

16 package installer;

17

18 import java.io.IOException;

LoadLibraryWithNonConstantStringInspection.java (https://bitbucket.org/nbargnesi/idea.git) Java · 95 lines

14 * limitations under the License.

15 */

16 package com.siyeh.ig.security;

17

18 import com.intellij.psi.*;

PublicStaticArrayFieldInspection.java (https://bitbucket.org/nbargnesi/idea.git) Java · 68 lines

14 * limitations under the License.

15 */

16 package com.siyeh.ig.security;

17

18 import com.intellij.psi.PsiArrayType;

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.

18 */

19

20 package org.gjt.sp.jedit.gui;

21

22 import javax.swing.event.*;

IFileSystem.java (https://bitbucket.org/nbargnesi/idea.git) Java · 31 lines

11 * Microsystems, Inc. All Rights Reserved.

12 */

13 package org.netbeans.lib.cvsclient.file;

14

15 import java.io.File;

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.

33

34

35 package bsh;

36

37 import java.awt.event.*;

57

58 Note: This module relies on features of Swing and will only compile

59 with JDK1.2 or JDK1.1 + the swing package. For other environments simply

60 do not compile this class.

61 */

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.

21 */

22

23 package org.gjt.sp.jedit.search;

24

25 import org.gjt.sp.jedit.*;

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.

21 */

22

23 package org.gjt.sp.jedit.textarea;

24

25 import org.gjt.sp.jedit.Buffer;

97 } //}}}

98

99 //{{{ Package-private members

100 int start, end, startLine, endLine;

101 //}}}

ProfileAction.java (https://bitbucket.org/nbargnesi/idea.git) Java · 173 lines

14 * limitations under the License.

15 */

16 package com.intellij.android.designer.actions;

17

18 import com.intellij.android.designer.designSurface.AndroidDesignerEditorPanel;

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.

14 * -----------------------------------------------------------------------------------------------

15 */

16 package keymind.keywatch.gui.client.desktop;

17

18 import com.google.gwt.event.dom.client.ClickEvent;

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.

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>&nbsp;</TD>

38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>

39 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>

40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ITaskRegistrarAsync.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>

41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>

42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>

43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</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>&nbsp;</TD>

333 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>

334 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>

335 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ITaskRegistrarAsync.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</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.

21 */

22

23 package org.gjt.sp.jedit.options;

24

25 //{{{ Imports

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.

12 ******************************************************************************/

13

14 package com.badlogic.gdx.physics.box2d.joints;

15

16 import com.badlogic.gdx.physics.box2d.Joint;

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.

18 */

19

20 package org.gjt.sp.jedit.browser;

21

22 import java.util.EventListener;

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.

20 */

21

22 package sidekick.css;

23

24

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.

21 */

22

23 package sidekick;

24

25 //{{{ Imports

336 } //}}}

337

338 //{{{ Package-private members

339

340 //{{{ startParsingBuffer()

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.

22 */

23

24 package org.gjt.sp.jedit;

25

26 //{{{ Imports

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.

15 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

16 */

17 package logviewer;

18

19 import java.awt.Font;

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.

17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

18 */

19 package projectviewer.event;

20

21 import java.util.EventListener;

sh7763rdp_defconfig (http://omnia2droid.googlecode.com/svn/trunk/) Unknown · 1237 lines

331 # Networking options

332 #

333 CONFIG_PACKET=y

334 # CONFIG_PACKET_MMAP is not set

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.

27 */

28

29 package ise.plugin.svn.command;

30

31 /**

32 * Interface for the various command classes in this package, this is the

33 * standard Command pattern.

34 */

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.

18 */

19

20 package org.gjt.sp.jedit.options;

21

22 import javax.swing.border.*;

299 updateList();

300

301 pack();

302 setLocationRelativeTo(JOptionPane.getFrameForComponent(comp));

303 show();

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.

1 package org.loon.framework.android.game.action.avg;

2

3 import java.util.HashMap;

GalleryView.java (https://bitbucket.org/atchariya/nokia.git) Java · 290 lines

1 package com.nokia.cameraframe.views;

2

3 import java.io.IOException;

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.

29 */

30

31 package org.pushingpixels.substance.internal.fonts;

32

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.

21 */

22

23 package console;

24

25 //{{{ Imports

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.

12 */

13

14 package installer;

15

16 import java.io.*;

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.

17 */

18

19 package gdb.output;

20

21 import gdb.core.CommandManager;

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.

27 */

28

29 package ise.plugin.svn.action;

30

31 import ise.plugin.svn.gui.OutputPanel;

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.

22 */

23

24 package org.gjt.sp.jedit.msg;

25

26 import org.gjt.sp.jedit.*;

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.

20 */

21

22 package sidekick.css;

23

24 public class CssSideKickPlugin {

json.jj (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 763 lines

36

37 PARSER_BEGIN(JsonParser)

38 package beauty.parsers.json;

39

40 import java.io.*;

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.

15 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

16 */

17 package logviewer;

18

19 import java.awt.Cursor;

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.

21 */

22

23 package org.gjt.sp.jedit.pluginmgr;

24

25 //{{{ Imports

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.

33

34

35 package bsh;

36

37 import java.io.*;

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.

21 */

22

23 package org.jymc.jpydebug.utils;

24

25 //{{{ Imports

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.

20 * THE SOFTWARE.

21 */

22 package com.townsfolkdesigns.lucene.jedit.manager;

23

24 import java.beans.XMLDecoder;

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.

21 */

22

23 package org.gjt.sp.jedit;

24

25 import java.util.*;

52 *

53 * Message types sent by jEdit can be found in the

54 * {@link org.gjt.sp.jedit.msg} package.<p>

55 *

56 * Plugins can also send their own messages - any object can send a message to

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.

21 */

22

23 package macroManager;

24

25 //{{{ Imports

261 updateTotalSize();

262

263 pack();

264 setLocationRelativeTo(frame);

265 show();

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.

33

34

35 package org.gjt.sp.jedit.bsh;

36

37 import java.lang.reflect.Array;

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.

21 */

22

23 package org.gjt.sp.jedit.msg;

24

25 import java.util.Arrays;

MavenImportingSettings.java (https://bitbucket.org/nbargnesi/idea.git) Java · 271 lines

14 * limitations under the License.

15 */

16 package org.jetbrains.idea.maven.project;

17

18 import com.intellij.util.containers.ContainerUtil;

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.

30 unsigned int phad_keyword;

31 unsigned int phadadj;

32 } __attribute__((packed));

33

34

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.

19 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

20 */

21 package sql.serverTypes.complex;

22

23 import java.io.*;

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.

19 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

20 */

21 package sql.preprocessors;

22

23 import org.gjt.sp.jedit.*;

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.

19 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

20 */

21 package p4plugin.config;

22

23 //{{{ Imports

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.

15 */

16

17 package net.sourceforge.jedit.jcompiler;

18

19 //jEdit interface

308 {

309

310 String pkgName = JavaUtils.getPackageName(filename);

311

312

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.

33

34

35 package bsh;

36

37 /**

Makefile.in.in (https://freespeech.svn.sourceforge.net/svnroot/freespeech) Unknown · 250 lines

7 # Please note that the actual code is *not* freely available.

8

9 PACKAGE = @PACKAGE@

10 VERSION = @VERSION@

11

90 || ( rm -f $(srcdir)/$(PACKAGE).pot \

91 && mv $(PACKAGE).po $(srcdir)/$(PACKAGE).pot )

92

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

14 * limitations under the License.

15 */

16 package com.siyeh.ig.visibility;

17

18 import com.intellij.psi.PsiClass;

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.

12 * "Permission is granted to link this code with software released under

13 * the Apache license version 1.1, for example used by the Xerces XML

14 * parser package."

15 */

16

17 package xml;

18

19 //{{{ Imports

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.

471 return -1;

472

473 pos = os_strstr(tmp, " (Microsoft's Packet Scheduler)");

474 if (pos)

475 *pos = '\0';

description.html (https://jedit.svn.sourceforge.net/svnroot/jedit) HTML · 2 lines

1 Groovy comes packaged with the Groovy programming language, a dynamic scripting language for the JVM. It also provides an enhanced commando file for running Groovy scripts.

2

DelegateColorScheme.java (https://bitbucket.org/nbargnesi/idea.git) Java · 182 lines

14 * limitations under the License.

15 */

16 package com.intellij.openapi.editor.colors.impl;

17

18 import com.intellij.openapi.editor.colors.ColorKey;

VcsChangeDetailsManager.java (https://bitbucket.org/nbargnesi/idea.git) Java · 365 lines

14 * limitations under the License.

15 */

16 package com.intellij.openapi.vcs.changes;

17

18 import com.intellij.openapi.Disposable;

ReplaceForEachLoopWithIndexedForLoopIntention.java (https://bitbucket.org/nbargnesi/idea.git) Java · 272 lines

14 * limitations under the License.

15 */

16 package com.siyeh.ipp.forloop;

17

18 import com.intellij.openapi.project.Project;

CreateAssertPredicate.java (https://bitbucket.org/nbargnesi/idea.git) Java · 90 lines

14 * limitations under the License.

15 */

16 package com.siyeh.ipp.junit;

17

18 import com.intellij.codeInsight.AnnotationUtil;

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

11 ** Alternatively, this file may be used under the terms of the GNU Free

12 ** Documentation License version 1.3 as published by the Free Software

13 ** Foundation and appearing in the file included in the packaging of

14 ** this file.

15 **

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.

1 package clearcase;

2 /**

3 * TODO how to support different versions of ClearCase?

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.

28 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

29 */

30 package org.pushingpixels.substance.api.painter.fill;

31

32 import java.awt.Color;

SecondUnsafeCallTest.java (https://bitbucket.org/nbargnesi/idea.git) Java · 53 lines

14 *

15 */

16 package org.jetbrains.plugins.groovy.inspections.secondUnsafeCall;

17

18 import com.intellij.codeInsight.intention.IntentionAction;

GroovyValidGroupNameTest.groovy (https://bitbucket.org/nbargnesi/idea.git) Groovy · 31 lines

14 * limitations under the License.

15 */

16 package org.jetbrains.plugins.groovy.inspections

17

18 import com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase

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

74 <KEYWORD2>def</KEYWORD2>

75 <KEYWORD2>import</KEYWORD2>

76 <KEYWORD2>package</KEYWORD2>

77 <KEYWORD2>var</KEYWORD2>

78 <KEYWORD2>var</KEYWORD2>

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.

12 * "Permission is granted to link this code with software released under

13 * the Apache license version 1.1, for example used by the Xerces XML

14 * parser package."

15 */

16

17 package xml;

18

19 //{{{ Imports

352 } //}}}

353

354 //{{{ Package-private members

355

356 //{{{ init() method

PathReferenceProvider.java (https://bitbucket.org/nbargnesi/idea.git) Java · 36 lines

15 */

16

17 package com.intellij.openapi.paths;

18

19 import com.intellij.psi.PsiElement;

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.

18 */

19

20 package gnu.regexp;

21

22 final class RETokenRange extends REToken {

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.

21 */

22

23 package org.gjt.sp.jedit.buffer;

24

25 import javax.swing.text.Segment;

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.

1 <?php

2

3 /*

4 * This file is part of the Symfony package.

5 *

6 * (c) Fabien Potencier <fabien@symfony.com>

INSTALL.libusb.in (https://libusb.svn.sourceforge.net/svnroot/libusb) Unknown · 60 lines

2 ========================

3

4 % gzip -cd libusb-@LIBUSB_VERSION@.tar.gz | tar xvf - # unpack the sources

5 % cd libusb-@LIBUSB_VERSION@ # change to the toplevel directory

6 % ./configure # run the `configure' script

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.

5 * $Id$

6 */

7 package OntoUML.URML;

8

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>

13

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.

42 -- $Revision$ $Date$

43 ------------------------------------------------------------------------------

44 -- This is x86_64 specific version of the package.

45 ------------------------------------------------------------------------------

46 with Matreshka.Internals.Strings.Handlers.X86_64;

47

48 package Matreshka.Internals.Strings.Configuration is

49

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.

1

2 (in-package :weblocks-elephant-demo)

3

4 (defun initial-page (k)

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>&nbsp;</TD>

42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>

43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</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>&nbsp;</TD>

174 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>

175 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</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.

13 #include "testing/gtest/include/gtest/gtest_prod.h"

14

15 // This class provides facilities for basic binary value packing and unpacking.

16 //

17 // The Pickle class supports appending primitive values (ints, strings, etc.)

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.

1 package wogwt.translatable.http;

2

3