100+ results for 'php exit'
Not the results you expected?
class-cp-user-relationships.php (https://gitlab.com/clusterpress/clusterpress) PHP · 543 lines
heap.c (https://github.com/zick/kashiwa.git) C · 422 lines
284 if (!heap_rootset) {
285 fprintf(stderr, "heap rootset is full\n");
286 exit(1);
287 }
288 heap_rootset_free = heap_rootset + heap_rootset_size / sizeof(lobject*);
306 if (!heap_remset) {
307 fprintf(stderr, "heap remset is full\n");
308 exit(1);
309 }
310 heap_remset_free = heap_remset + heap_remset_size / sizeof(void*);
401 if (!heap || prev_heap) {
402 fprintf(stderr, "heap is full.\n");
403 exit(1);
404 }
405 prev_heap = heap_from;
tdo24m.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 475 lines
✨ Summary
This C code is a driver for a Toppoly TDO24M LCD panel, a type of display used in various devices. It provides a Linux kernel module that allows the device to be recognized and controlled by the operating system. The code handles initialization, power management, and communication with the display controller.
This C code is a driver for a Toppoly TDO24M LCD panel, a type of display used in various devices. It provides a Linux kernel module that allows the device to be recognized and controlled by the operating system. The code handles initialization, power management, and communication with the display controller.
407 }
409 static int __devexit tdo24m_remove(struct spi_device *spi)
410 {
411 struct tdo24m *lcd = dev_get_drvdata(&spi->dev);
464 module_init(tdo24m_init);
466 static void __exit tdo24m_exit(void)
467 {
468 spi_unregister_driver(&tdo24m_driver);
469 }
470 module_exit(tdo24m_exit);
472 MODULE_AUTHOR("Eric Miao <eric.miao@marvell.com>");
rmd128.c (https://github.com/dmitriy103/bravo_kernel-2.6.35.git) C · 328 lines
User_agent.php (https://github.com/usagi-project/mynets1.git) PHP · 500 lines
db_helper.php (https://github.com/mrbmc/erector.git) PHP · 338 lines
1 <?php
2 /**
3 * This file houses the MpmDbHelper class.
4 *
5 * @package mysql_php_migrations
6 * @subpackage Helpers
7 * @license http://www.opensource.org/licenses/bsd-license.php The New BSD License
8 * @link http://code.google.com/p/mysql-php-migrations/
9 */
12 * The MpmDbHelper class is used to fetch database objects (PDO or Mysqli right now) and perform basic database actions.
13 *
14 * @package mysql_php_migrations
15 * @subpackage Helpers
16 */
ctkWorkflowTest2.cpp (https://github.com/cim-unito/CTK.git) C++ · 270 lines
80 }
81 }
82 return numberOfTimesEntryExitTest(step1, step1Entry, step1Exit, step2, step2Entry, step2Exit, step3, step3Entry, step3Exit, step4, step4Entry, step4Exit);
83 }
101 return 0;
102 }
103 return currentStepAndNumberOfTimesEntryExitTest(workflow, expectedStep, step1, step1Entry, step1Exit, step2, step2Entry, step2Exit, step3, step3Entry, step3Exit, step4, step4Entry, step4Exit);
104 }
114 return 0;
115 }
116 return numberOfTimesEntryExitTest(step1, step1Entry, step1Exit, step2, step2Entry, step2Exit, step3, step3Entry, step3Exit, step4, step4Entry, step4Exit);
117 }
MPSUM_Admin_Themes.php (https://gitlab.com/memuller.web/wp_site) PHP · 280 lines
1 <?php
2 /**
3 * Controls the themes tab
112 //Redirect back to settings screen
113 wp_redirect( esc_url_raw( add_query_arg( $query_args, MPSUM_Admin::get_url() ) ) );
114 exit;
115 }
205 }
206 ?>
207 <div class="updated"><p><strong><?php echo esc_html( $message ); ?></strong></p></div>
208 <?php
212 ?>
213 <form action="<?php echo esc_url( add_query_arg( array() ) ); ?>" method="post">
214 <?php
System.Diagnostics.Process.cs (https://gitlab.com/0072016/0072016-corefx-) C# · 204 lines
28 [System.ComponentModel.DefaultValueAttribute(false)]
29 public bool EnableRaisingEvents { get { return default(bool); } set { } }
30 public int ExitCode { get { return default(int); } }
31 public System.DateTime ExitTime { get { return default(System.DateTime); } }
32 public bool HasExited { get { return default(bool); } }
33 public int Id { get { return default(int); } }
34 public string MachineName { get { return default(string); } }
62 public long WorkingSet64 { get { return default(long); } }
63 public event System.Diagnostics.DataReceivedEventHandler ErrorDataReceived { add { } remove { } }
64 public event System.EventHandler Exited { add { } remove { } }
65 public event System.Diagnostics.DataReceivedEventHandler OutputDataReceived { add { } remove { } }
66 public void BeginErrorReadLine() { }
78 public void Kill() { }
79 public static void LeaveDebugMode() { }
80 protected void OnExited() { }
81 public void Refresh() { }
82 public bool Start() { return default(bool); }
CreationMinerais.php (https://github.com/Samsuffi/braldahim.git) PHP · 340 lines
1 <?php
3 /**
35 $retour .= $this->suppressionSurPalissades();
37 Bral_Util_Log::batchs()->trace("Bral_Batchs_CreationMinerais - calculBatchImpl - exit -");
38 return $retour;
39 }
80 $filonTable->delete($where);
81 }
82 Bral_Util_Log::batchs()->trace("Bral_Batchs_CreationMinerais - suppressionSurEau - exit -");
83 return $retour;
84 }
125 $filonTable->delete($where);
126 }
127 Bral_Util_Log::batchs()->trace("Bral_Batchs_CreationMinerais - suppressionSurLieux - exit -");
128 return $retour;
129 }
CHOPPER.C
(git://github.com/AnimatorPro/Animator-Pro.git)
C · 296 lines
✨ Summary
This is a function that reads a line of text from a file and returns it as a string. It uses a combination of jgetline
and po_skip_space
to skip leading whitespace and read the rest of the line into a buffer. The function then checks if the line contains an error message, and if so, sets the error_line_number
field in the pcb
structure to the current line number. If no error is found, the function returns the line as a string.
This is a function that reads a line of text from a file and returns it as a string. It uses a combination of jgetline
and po_skip_space
to skip leading whitespace and read the rest of the line into a buffer. The function then checks if the line contains an error message, and if so, sets the error_line_number
field in the pcb
structure to the current line number. If no error is found, the function returns the line as a string.
cpqphp_core.c
(http://photon-android.googlecode.com/svn/)
C · 1489 lines
✨ Summary
This C code implements a PCI Hotplug controller driver for Compaq systems. It manages the hotplug functionality, including enabling and disabling devices, handling interrupts, and providing debug information. The code is part of the Linux kernel and is responsible for interacting with the system’s hardware to manage device connections and disconnections.
This C code implements a PCI Hotplug controller driver for Compaq systems. It manages the hotplug functionality, including enabling and disabling devices, handling interrupts, and providing debug information. The code is part of the Linux kernel and is responsible for interacting with the system’s hardware to manage device connections and disconnections.
43 #include <asm/uaccess.h>
45 #include "cpqphp.h"
46 #include "cpqphp_nvram.h"
608 }
610 static struct hotplug_slot_ops cpqphp_hotplug_slot_ops = {
611 .set_attention_status = set_attention_status,
612 .enable_slot = process_SI,
716 hotplug_slot->private = slot;
717 snprintf(name, SLOT_NAME_SIZE, "%u", slot->number);
718 hotplug_slot->ops = &cpqphp_hotplug_slot_ops;
720 hotplug_slot_info->power_status = get_slot_enabled(ctrl, slot);
874 /* Check for the proper subsytem ID's
875 * Intel uses a different SSID programming model than Compaq.
876 * For Intel, each SSID bit identifies a PHP capability.
877 * Also Intel HPC's may have RID=0.
878 */
Consumer.php (https://bitbucket.org/acidel/buykoala.git) PHP · 279 lines
1 <?php
2 /**
3 * Zend Framework
17 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
18 * @license http://framework.zend.com/license/new-bsd New BSD License
19 * @version $Id: Consumer.php 23170 2010-10-19 18:29:24Z mabe $
20 */
22 /** Zend_Oauth */
23 #require_once 'Zend/Oauth.php';
25 /** Zend_Uri */
26 #require_once 'Zend/Uri.php';
28 /** Zend_Oauth_Http_RequestToken */
subscription.php (https://github.com/kainbacher/Notethrower.git) PHP · 273 lines
5 include_once('../Includes/Config.php');
6 include_once('../Includes/Snippets.php');
7 include_once('../Includes/TemplateUtil.php');
74 //prevent reload
75 header('Location: ' . $GLOBALS['BASE_URL'] . 'invite/'.$subscription->rand_str.'/success');
76 //header('Location: subscription.php?action=success&code='.$subscription->rand_str);
77 exit;
217 $namecheck = Subscription::fetch_for_username(get_param('username'));
218 if($namecheck){
219 header('Location: subscription.php?action=error&type=name');
220 exit;
225 '${Optional/referrerId}' => get_param('referrerid'),
226 '${Optional/error}' => $error,
227 '${phpSelf}' => basename($_SERVER['PHP_SELF'], '.php'),
228 '${userName}' => get_param('username'),
229 '${Common/pageFooter}' => buildPageFooter()
mail.php (https://bitbucket.org/allanxyh/uniquemall.git) PHP · 406 lines
94 $header .= 'Reply-To: ' . '=?UTF-8?B?' . base64_encode($this->sender) . '?=' . '<' . $this->from . '>' . $this->newline;
95 $header .= 'Return-Path: ' . $this->from . $this->newline;
96 $header .= 'X-Mailer: PHP/' . phpversion() . $this->newline;
97 //$header .= 'Content-Type: multipart/related; boundary="' . $boundary . '"' . $this->newline . $this->newline;
98 $header .= 'Content-Type: multipart/related; boundary="' . $boundary . '"' . $this->newline . $this->newline;
199 if (substr($reply, 0, 3) != 250) {
200 trigger_error('Error: EHLO not accepted from server!');
201 exit();
202 }
233 if (substr($reply, 0, 3) != 334) {
234 trigger_error('Error: Username not accepted from server!');
235 exit();
236 }
profile.php (https://github.com/jaden54/GATE.git) PHP · 303 lines
1 <?php
2 session_start();
4 if (!isset($_SESSION['user'])) {
6 header ('Location: index.php');
8 exit();
133 style="vertical-align: middle; width: 160px; height: 60px; background-color: rgb(213, 209, 225); text-align: center;"><big
134 style="color: rgb(77, 67, 102);">'.$user.'</big><br>
135 <a href="deconnexion.php"><small>D�connexion</small></a></td>
136 </tr>
137 </tbody>
151 <td
152 style="vertical-align: middle; width: 120px; text-align: center; background-color: rgb(255, 214, 254);"><a
153 href="accueil.php"><span style="text-decoration: underline;">Accueil</span></a><br>
154 </td>
155 </tr>
test_dir_m17n.rb (https://gitlab.com/essere.lab.public/qualitas.class-corpus) Ruby · 239 lines
21 opts = {:encoding => Encoding.default_external} if /mswin|mingw/ =~ RUBY_PLATFORM
22 ents = Dir.entries(".", opts)
23 exit ents.include?(filename)
24 EOS
25 }
33 opts = {:encoding => Encoding.default_external} if /mswin|mingw/ =~ RUBY_PLATFORM
34 ents = Dir.entries(".", opts)
35 exit ents.include?(filename) || ((RUBY_PLATFORM =~ /darwin/) != nil && ents.include?("%FF"))
36 EOS
37 assert_ruby_status(%w[-EUTF-8], <<-'EOS', nil, :chdir=>d)
40 opts = {:encoding => Encoding.default_external} if /mswin|mingw/ =~ RUBY_PLATFORM
41 ents = Dir.entries(".", opts)
42 exit ents.include?(filename) || ((RUBY_PLATFORM =~ /darwin/) != nil && ents.include?("%FF"))
43 EOS
44 }
ventanaJuego.java (https://gitlab.com/vitalimatias/prog3_tp1_2048) Java · 306 lines
rmd128.c (https://gitlab.com/kush/linux) C · 327 lines
theming-functions.php (https://github.com/livinglab/openlab.git) PHP · 602 lines
532 $indexItemTargetIndex = -1;
533 $indexItem = $api->getIndexItem($index, $indexItemIndex);
534 }
554 global $indexItemRef;
556 $indexItemRef = $api->getIndexItemRef($indexItem);
558 }
566 $indexItemTargetIndex++;
567 if($indexItemTargetIndex >= $api->getIndexItemTargetCount($indexItem)) {
568 unset($indexItem);
581 global $indexItemTargetIndex;
583 $indexItemTarget = $api->getIndexItemTarget($indexItem, $indexItemTargetIndex);
584 }
DB_result.php (https://gitlab.com/ricoru21/py_incidencia) PHP · 410 lines
1 <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
2 /**
3 * CodeIgniter
4 *
5 * An open source application development framework for PHP 5.1.6 or newer
6 *
7 * @package CodeIgniter
407 // END DB_result class
409 /* End of file DB_result.php */
410 /* Location: ./system/database/DB_result.php */
prg.test.php (https://github.com/manubamba/cakephp-search-plugin-v1.1.git) PHP · 373 lines
1 <?php
2 /**
3 * Copyright 2009-2010, Cake Development Corporation (http://cakedc.com)
7 *
8 * @copyright Copyright 2009-2010, Cake Development Corporation (http://cakedc.com)
9 * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
10 */
83 * @param string $url
84 * @param string $status
85 * @param string $exit
86 * @return void
87 */
88 public function redirect($url, $status = NULL, $exit = true) {
89 $this->redirectUrl = $url;
90 }
OS_NS_stdlib.h (https://gitlab.com/Kanedias/MangosDeprecated) C Header · 332 lines
73 ACE_NAMESPACE_INLINE_FUNCTION
74 int atexit (ACE_EXIT_HOOK func);
76 ACE_NAMESPACE_INLINE_FUNCTION
216 #endif /* ACE_HAS_WINCE */
218 // exit_hook and set_exit_hook not in spec
219 /// Function that is called by <ACE_OS::exit>, if non-null.
220 extern ACE_Export ACE_EXIT_HOOK exit_hook_;
222 /// For use by ACE_Object_Manager only, to register its exit hook..
223 ACE_NAMESPACE_INLINE_FUNCTION
224 ACE_EXIT_HOOK set_exit_hook (ACE_EXIT_HOOK hook);
226 ACE_NAMESPACE_INLINE_FUNCTION
dtbmv.c (https://github.com/mattkoes/antelope_contrib.git) C · 348 lines
29 UPLO = 'U' or 'u' A is an upper triangular matrix.
30 UPLO = 'L' or 'l' A is a lower triangular matrix.
31 Unchanged on exit.
32 TRANS - CHARACTER*1.
33 On entry, TRANS specifies the operation to be performed as
36 TRANS = 'T' or 't' x := A'*x.
37 TRANS = 'C' or 'c' x := A'*x.
38 Unchanged on exit.
39 DIAG - CHARACTER*1.
40 On entry, DIAG specifies whether or not A is unit
43 DIAG = 'N' or 'n' A is not assumed to be unit
44 triangular.
45 Unchanged on exit.
46 N - INTEGER.
47 On entry, N specifies the order of the matrix A.
cl_ltp.c (https://github.com/diegocarrera/isabel.git) C · 247 lines
78 /* init the sub state */
79 if (Pitch_fr_init(&s->pitchSt)) {
80 cl_ltp_exit(&s);
81 return -1;
82 }
111 /*************************************************************************
112 *
113 * Function: cl_ltp_exit
114 * Purpose: The memory used for state memory is freed
115 *
116 **************************************************************************
117 */
118 void cl_ltp_exit (clLtpState **state)
119 {
120 if (state == NULL || *state == NULL)
MavenModuleBuilderHelper.java (https://bitbucket.org/nbargnesi/idea.git) Java · 239 lines
IncidenceGraph.html
(http://hadesmem.googlecode.com/svn/trunk/)
HTML · 0 lines
✨ Summary
This HTML code outputs a documentation page for the IncidenceGraph concept in Boost, a C++ library. It provides an interface for efficient access to out-edges of each vertex in a graph, including associated types, valid expressions, and complexity guarantees. The page includes notes on implementation requirements and constraints for algorithms using this concept.
This HTML code outputs a documentation page for the IncidenceGraph concept in Boost, a C++ library. It provides an interface for efficient access to out-edges of each vertex in a graph, including associated types, valid expressions, and complexity guarantees. The page includes notes on implementation requirements and constraints for algorithms using this concept.
pl1.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 597 lines
HelpTOCPanel.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 436 lines
✨ Summary
This Java code creates a graphical user interface (GUI) for displaying and navigating through a table of contents (TOC). It uses a JTree component to display the TOC, with each node representing a link to a URL. The GUI allows users to click on nodes to navigate to their corresponding URLs, and it also provides tooltips for each node’s title.
This Java code creates a graphical user interface (GUI) for displaying and navigating through a table of contents (TOC). It uses a JTree component to display the TOC, with each node representing a link to a URL. The GUI allows users to click on nodes to navigate to their corresponding URLs, and it also provides tooltips for each node’s title.
desktop.bsh (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 143 lines
67 /*
68 ret = JOptionPane.showInternalConfirmDialog( pane,
69 "This workspace has not been saved. Do you really want to exit?" );
70 if ( ret == JOptionPane.YES_OPTION )
71 exit();
72 */
73 frame.dispose();
74 exit();
75 }
83 else if ( com.equals("Save Workspace") )
84 JOptionPane.showInternalMessageDialog( pane, "Unimplemented" );
85 else if ( com.equals("Exit") )
86 shutdown();
87 }
cpu-hotplug.txt (http://omnia2droid.googlecode.com/svn/trunk/) Unknown · 391 lines
allclasses-frame.html
(https://jedit.svn.sourceforge.net/svnroot/jedit)
HTML · 44 lines
✨ Summary
This HTML code generates a table with links to various classes related to Java compilation, displayed as a list of clickable items. The table has a heading and each link is wrapped in a font element for styling purposes. The links are targeted to open in the same frame as the current page.
This HTML code generates a table with links to various classes related to Java compilation, displayed as a list of clickable items. The table has a heading and each link is wrapped in a font element for styling purposes. The links are targeted to open in the same frame as the current page.
gpio.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 376 lines
✨ Summary
This C code implements a GPIO-based driver for NAND flash memory, allowing users to control and interact with NAND devices using GPIO pins on a microcontroller. It provides a platform-independent interface for accessing NAND memory, including reading, writing, and verifying data, as well as controlling the device’s state. The driver is designed to work with various NAND controllers and microcontrollers.
This C code implements a GPIO-based driver for NAND flash memory, allowing users to control and interact with NAND devices using GPIO pins on a microcontroller. It provides a platform-independent interface for accessing NAND memory, including reading, writing, and verifying data, as well as controlling the device’s state. The driver is designed to work with various NAND controllers and microcontrollers.
172 }
174 static int __devexit gpio_nand_remove(struct platform_device *dev)
175 {
176 struct gpiomtd *gpiomtd = platform_get_drvdata(dev);
363 }
365 static void __exit gpio_nand_exit(void)
366 {
367 platform_driver_unregister(&gpio_nand_driver);
370 module_init(gpio_nand_init);
371 module_exit(gpio_nand_exit);
373 MODULE_LICENSE("GPL");
Platform.cpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ · 242 lines
✨ Summary
This C++ code provides a virtual memory management system for operating systems, allowing for allocation and deallocation of memory blocks with specific permissions and alignment requirements. It supports both Windows and POSIX platforms, using different APIs to achieve similar functionality. The code includes helper functions for rounding up to the nearest power of two and checking alignment.
This C++ code provides a virtual memory management system for operating systems, allowing for allocation and deallocation of memory blocks with specific permissions and alignment requirements. It supports both Windows and POSIX platforms, using different APIs to achieve similar functionality. The code includes helper functions for rounding up to the nearest power of two and checking alignment.
Desktop.java
(http://loon-simple.googlecode.com/svn/trunk/)
Java · 504 lines
✨ Summary
This Java class represents a desktop application’s UI component, managing its layout, components, and interactions. It handles events such as hover, selection, and modal windows, updating the UI accordingly. The class provides methods for getting and setting various properties, validating the UI, and retrieving specific components or layers within the UI.
This Java class represents a desktop application’s UI component, managing its layout, components, and interactions. It handles events such as hover, selection, and modal windows, updating the UI accordingly. The class provides methods for getting and setting various properties, validating the UI, and retrieving specific components or layers within the UI.
mqsc.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 231 lines
98 <MARKUP>chad</MARKUP>
99 <MARKUP>chadev</MARKUP>
100 <MARKUP>chadexit</MARKUP>
101 <MARKUP>channel</MARKUP>
102 <MARKUP>chltype</MARKUP>
111 <MARKUP>clustime</MARKUP>
112 <MARKUP>clwldata</MARKUP>
113 <MARKUP>clwlexit</MARKUP>
114 <MARKUP>clwlwen</MARKUP>
115 <MARKUP>cmdlevel</MARKUP>
161 <MARKUP>modename</MARKUP>
162 <MARKUP>mrdata</MARKUP>
163 <MARKUP>mrexit</MARKUP>
164 <MARKUP>mrrty</MARKUP>
165 <MARKUP>mrtmr</MARKUP>
nodeGen.cpp
(git://github.com/ticking/self.git)
C++ · 469 lines
✨ Summary
This C++ code is part of a compiler implementation, specifically responsible for generating branch instructions (if-else statements) in machine code. It creates nodes and merges them to represent conditional branches, allowing the compiler to decide which path to take based on the program’s logic. The generated code is optimized for performance and minimizes unnecessary operations.
This C++ code is part of a compiler implementation, specifically responsible for generating branch instructions (if-else statements) in machine code. It creates nodes and merges them to represent conditional branches, allowing the compiler to decide which path to take based on the program’s logic. The generated code is optimized for performance and minimizes unnecessary operations.
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.
143 public void valueChanged(ListSelectionEvent e) { event("valueChanged", e); }
144 public void menuDragMouseEntered(MenuDragMouseEvent e) { event("menuDragMouseEntered", e); }
145 public void menuDragMouseExited(MenuDragMouseEvent e) { event("menuDragMouseExited", e); }
146 public void menuDragMouseDragged(MenuDragMouseEvent e) { event("menuDragMouseDragged", e); }
147 public void menuDragMouseReleased(MenuDragMouseEvent e) { event("menuDragMouseReleased", e); }
191 public void mouseReleased(MouseEvent e) { event("mouseReleased", e); }
192 public void mouseEntered(MouseEvent e) { event("mouseEntered", e); }
193 public void mouseExited(MouseEvent e) { event("mouseExited", e); }
194 public void mouseDragged(MouseEvent e) { event("mouseDragged", e); }
195 public void mouseMoved(MouseEvent e) { event("mouseMoved", e); }
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.
packet_history.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 490 lines
✨ Summary
This C code implements a timestamp-based congestion control algorithm for TCP-like protocols, specifically DCCP (Datagram Congestion Control Protocol). It manages a ring buffer to store timestamp and CCVal values, sampling RTT (Round-Trip Time) from these values to adjust congestion control parameters. The code provides functions for allocating and purging the ring buffer, as well as computing RTT samples based on timestamp and CCVal values.
This C code implements a timestamp-based congestion control algorithm for TCP-like protocols, specifically DCCP (Datagram Congestion Control Protocol). It manages a ring buffer to store timestamp and CCVal values, sampling RTT (Round-Trip Time) from these values to adjust congestion control parameters. The code provides functions for allocating and purging the ring buffer, as well as computing RTT samples based on timestamp and CCVal values.
BrowserOptionPane.html
(https://jedit.svn.sourceforge.net/svnroot/jedit)
HTML · 419 lines
✨ Summary
This HTML code is a documentation page for a Java class called BrowserOptionPane
. It displays information about the class, including its purpose, fields, methods, and nested classes. The page includes navigation links to related classes and a summary of the class’s contents. The output appears to be generated by a tool or framework that creates documentation pages from Java source code.
This HTML code is a documentation page for a Java class called BrowserOptionPane
. It displays information about the class, including its purpose, fields, methods, and nested classes. The page includes navigation links to related classes and a summary of the class’s contents. The output appears to be generated by a tool or framework that creates documentation pages from Java source code.
280 </TR>
281 <TR BGCOLOR="white" CLASS="TableRowColor">
282 <TD><CODE>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle</CODE></TD>
283 </TR>
284 </TABLE>
entry.S
(http://omnia2droid.googlecode.com/svn/trunk/)
Assembly · 1116 lines
✨ Summary
This Assembly code is part of a Linux kernel implementation, specifically the system call handling mechanism. It defines a table of system calls and their corresponding handlers, which are executed when a system call is made by user space. The code also includes constants for integer and symbol values used in the system call handling process.
This Assembly code is part of a Linux kernel implementation, specifically the system call handling mechanism. It defines a table of system calls and their corresponding handlers, which are executed when a system call is made by user space. The code also includes constants for integer and symbol values used in the system call handling process.
traps.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 768 lines
✨ Summary
This C code defines a set of exception handlers for a Linux kernel, which are triggered when specific conditions occur during execution. The handlers catch and handle exceptions such as stack overflows, division by zero, and data corruption, among others. They print error messages, trigger system calls, and perform other necessary actions to prevent the program from crashing or causing further damage.
This C code defines a set of exception handlers for a Linux kernel, which are triggered when specific conditions occur during execution. The handlers catch and handle exceptions such as stack overflows, division by zero, and data corruption, among others. They print error messages, trigger system calls, and perform other necessary actions to prevent the program from crashing or causing further damage.
jedit_keys.props (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 235 lines
XmlToBinary.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 311 lines
✨ Summary
This Java code converts an XML file to a binary format using the XmlToBinary
class. It takes two command-line arguments: the input XML file and the output binary file. The conversion process is performed in the main
method, which creates an instance of XmlToBinary
and calls its convertXmlToBinary
method with the provided arguments.
This Java code converts an XML file to a binary format using the XmlToBinary
class. It takes two command-line arguments: the input XML file and the output binary file. The conversion process is performed in the main
method, which creates an instance of XmlToBinary
and calls its convertXmlToBinary
method with the provided arguments.
performance_binary.cpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ · 0 lines
✨ Summary
This C++ code tests serialization and deserialization of a custom class A
using Boost.Serialization. It creates an instance of A
, serializes it to a temporary file, then deserializes it back into another instance of A
. The test verifies that the original and deserialized instances are equal, ensuring that the serialization process works correctly.
This C++ code tests serialization and deserialization of a custom class A
using Boost.Serialization. It creates an instance of A
, serializes it to a temporary file, then deserializes it back into another instance of A
. The test verifies that the original and deserialized instances are equal, ensuring that the serialization process works correctly.
CommandoDialog.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 504 lines
✨ Summary
This Java code defines a graphical user interface (GUI) for managing command-line scripts. It consists of a settings pane, an action handler, and a text area pane. The GUI allows users to load, edit, and execute command-line scripts, with features such as syntax highlighting and line wrapping. The code uses various Java components and event listeners to handle user interactions and update the GUI accordingly.
This Java code defines a graphical user interface (GUI) for managing command-line scripts. It consists of a settings pane, an action handler, and a text area pane. The GUI allows users to load, edit, and execute command-line scripts, with features such as syntax highlighting and line wrapping. The code uses various Java components and event listeners to handle user interactions and update the GUI accordingly.
FileVFS.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 687 lines
✨ Summary
This Java code implements a file system view for a text editor, allowing users to interact with files and directories on their local file system. It provides methods for creating input/output streams, saving files, setting permissions, and preserving file permissions. The code also handles Unix-specific commands like chmod
and ls
.
This Java code implements a file system view for a text editor, allowing users to interact with files and directories on their local file system. It provides methods for creating input/output streams, saving files, setting permissions, and preserving file permissions. The code also handles Unix-specific commands like chmod
and ls
.
GalleryView.java (https://bitbucket.org/atchariya/nokia.git) Java · 290 lines
56 addCommand(Commands.MENU_ABOUT);
57 addCommand(Commands.MENU_HELP);
58 addCommand(Commands.MENU_EXIT);
59 addCommand(Commands.EXIT);
78 midlet.viewForward(midlet.getHelpView());
79 midlet.getCameraView().setCategoryBarInvisible();
80 } else if (command == Commands.MENU_EXIT || command == Commands.EXIT) {
81 midlet.destroyApp(true);
82 }
question49234.sh (https://bitbucket.org/shuangxinyu/emacspack.git) Shell · 42 lines
mbx.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 351 lines
✨ Summary
This C code implements a mailbox system for Virtual Function (VF) communication on a hardware platform. It provides functions for sending and receiving messages between the PF (Physical Function) and VF, including locking and unlocking the mailbox to prevent race conditions. The code initializes the mailbox parameters and sets up the necessary operations for reading and writing messages.
This C code implements a mailbox system for Virtual Function (VF) communication on a hardware platform. It provides functions for sending and receiving messages between the PF (Physical Function) and VF, including locking and unlocking the mailbox to prevent race conditions. The code initializes the mailbox parameters and sets up the necessary operations for reading and writing messages.
regress-83532-001.js (https://bitbucket.org/ultra_iter/qt-vtl.git) JavaScript · 71 lines
Install.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 122 lines
✨ Summary
This Java code is a main class for an installer, written by Slava Pestov and placed into the public domain. It checks the Java version, handles command-line arguments to determine installation mode (text-only or non-interactive), loads configuration properties from “install.props”, and copies files to a specified output directory using a progress bar.
This Java code is a main class for an installer, written by Slava Pestov and placed into the public domain. It checks the Java version, handles command-line arguments to determine installation mode (text-only or non-interactive), loads configuration properties from “install.props”, and copies files to a specified output directory using a progress bar.
elf.h
(http://omnia2droid.googlecode.com/svn/trunk/)
C++ Header · 117 lines
✨ Summary
This C header file defines various constants and structures for ARM ELF (Executable and Linkable Format) files, including register definitions, architecture-specific flags, and functions for loading and executing programs. It also provides a way to set personality functions for atexit registration and loads implementation-specific libraries for optimization. The code is specific to the ARM architecture and its ELF file format.
This C header file defines various constants and structures for ARM ELF (Executable and Linkable Format) files, including register definitions, architecture-specific flags, and functions for loading and executing programs. It also provides a way to set personality functions for atexit registration and loads implementation-specific libraries for optimization. The code is specific to the ARM architecture and its ELF file format.
process.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 82 lines
✨ Summary
This C code initializes and starts a Linux kernel, specifically for user mode (user space) emulation. It sets up signal handling, maps stub pages to the stack, and starts the kernel execution process. The start_uml
function is responsible for initializing the kernel in user space, while start_kernel_proc
handles the kernel’s initialization and execution.
This C code initializes and starts a Linux kernel, specifically for user mode (user space) emulation. It sets up signal handling, maps stub pages to the stack, and starts the kernel execution process. The start_uml
function is responsible for initializing the kernel in user space, while start_kernel_proc
handles the kernel’s initialization and execution.
journal.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 2456 lines
✨ Summary
This C code initializes and manages a journaling system for Linux file systems, specifically ext4. It sets up various data structures, caches, and modules to handle journaling operations, including logging, caching, and device name mapping. The code also handles module initialization and cleanup, as well as error handling and debugging features.
This C code initializes and manages a journaling system for Linux file systems, specifically ext4. It sets up various data structures, caches, and modules to handle journaling operations, including logging, caching, and device name mapping. The code also handles module initialization and cleanup, as well as error handling and debugging features.
adjacent_find.qbk (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines
guidelines.html
(http://hadesmem.googlecode.com/svn/trunk/)
HTML · 0 lines
✨ Summary
This HTML code outputs a documentation page for a C++ library, specifically a container class. It provides detailed information on how to use and implement the class, including best practices and common pitfalls. The content is organized into sections, with links to related resources and references. The output appears to be a technical manual or reference guide for developers using the library.
This HTML code outputs a documentation page for a C++ library, specifically a container class. It provides detailed information on how to use and implement the class, including best practices and common pitfalls. The content is organized into sections, with links to related resources and references. The output appears to be a technical manual or reference guide for developers using the library.
308 for normal standard containers.</p>
309 <p><tt class="docutils literal"><span class="pre">ptr_vector</span></tt>, <tt class="docutils literal"><span class="pre">ptr_list</span></tt> and <tt class="docutils literal"><span class="pre">ptr_deque</span></tt> offer the programmer different
310 complexity tradeoffs and should be used accordingly. <tt class="docutils literal"><span class="pre">ptr_vector</span></tt> is the
311 type of sequence that should be used by default. <tt class="docutils literal"><span class="pre">ptr_list</span></tt> should be used
312 when there are frequent insertions and deletions from the middle of the
awk.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 116 lines
au6610.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 259 lines
✨ Summary
This C code implements a Linux driver for the Alcor Micro AU6610 DVB-T USB2.0 device. It provides functionality for interacting with the device, including attaching frontend and tuner components, managing I2C communication, and handling USB operations. The code is part of the Linux kernel’s USB subsystem and is designed to work with the dvb_usb framework.
This C code implements a Linux driver for the Alcor Micro AU6610 DVB-T USB2.0 device. It provides functionality for interacting with the device, including attaching frontend and tuner components, managing I2C communication, and handling USB operations. The code is part of the Linux kernel’s USB subsystem and is designed to work with the dvb_usb framework.
228 .name = "dvb_usb_au6610",
229 .probe = au6610_probe,
230 .disconnect = dvb_usb_device_exit,
231 .id_table = au6610_table,
232 };
244 }
246 static void __exit au6610_module_exit(void)
247 {
248 /* deregister this driver from the USB subsystem */
252 module_init(au6610_module_init);
253 module_exit(au6610_module_exit);
255 MODULE_AUTHOR("Antti Palosaari <crope@iki.fi>");
tsc2007.h
(http://omnia2droid.googlecode.com/svn/trunk/)
C++ Header · 18 lines
✨ Summary
This C header file defines a structure tsc2007_platform_data
that contains function pointers and variables related to the TSC2007 device, which is an I2C-based temperature sensor. The structure includes model information, electrical characteristics, and functions for getting pendown state, clearing pending interrupts, initializing hardware, and exiting hardware operations.
This C header file defines a structure tsc2007_platform_data
that contains function pointers and variables related to the TSC2007 device, which is an I2C-based temperature sensor. The structure includes model information, electrical characteristics, and functions for getting pendown state, clearing pending interrupts, initializing hardware, and exiting hardware operations.
HtmlParser.jj (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 620 lines
smp.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 445 lines
✨ Summary
This C code is part of a Linux kernel implementation for Cavium SoC processors. It handles various tasks such as booting, resetting cores, and sending interrupts to secondary CPUs. The code provides platform-specific functions for managing CPU operations, including hotplug support, which allows adding or removing CPUs dynamically during runtime.
This C code is part of a Linux kernel implementation for Cavium SoC processors. It handles various tasks such as booting, resetting cores, and sending interrupts to secondary CPUs. The code provides platform-specific functions for managing CPU operations, including hotplug support, which allows adding or removing CPUs dynamically during runtime.
TODO.txt (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 36 lines
PluginJAR.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 1746 lines
✨ Summary
This Java code defines a class that manages plugins for a text editor. It reads and writes plugin data to a file, including plugin names, URLs, boolean flags, and string values. The class also handles plugin installation, uninstallation, and updates. It uses a proprietary format for storing plugin data, which is specific to the text editor’s architecture.
This Java code defines a class that manages plugins for a text editor. It reads and writes plugin data to a file, including plugin names, URLs, boolean flags, and string values. The class also handles plugin installation, uninstallation, and updates. It uses a proprietary format for storing plugin data, which is specific to the text editor’s architecture.
ServerKiller.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 134 lines
✨ Summary
This Java code checks if a jEdit server is running on the local machine, attempts to shut it down by sending a shutdown command, and then exits with an error code if the shutdown fails. It uses a socket connection to communicate with the server and waits for its closure before continuing execution.
This Java code checks if a jEdit server is running on the local machine, attempts to shut it down by sending a shutdown command, and then exits with an error code if the shutdown fails. It uses a socket connection to communicate with the server and waits for its closure before continuing execution.
79 // we can't close the socket cleanly, because we want
80 // to wait for complete exit, and then it's too late.
81 // so the socket is closed when the JVM is shut down.
82 String script;
83 script = "jEdit.exit(null,true);\n";
85 out.writeUTF(script);
119 /**
120 * try to connect to any running server instance and close it.
121 * exit with an error code on failure, but not if no server was found.
122 */
123 public static void main(String[] args)
mv88e6123_61_65.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 448 lines
✨ Summary
This C code defines a driver for a network interface card (NIC) model 88e6123-61-65. It provides functions for probing, setting up, and managing the NIC’s configuration, as well as retrieving statistics and strings related to its operation. The code is part of the Linux kernel’s networking subsystem and allows userspace applications to interact with the NIC.
This C code defines a driver for a network interface card (NIC) model 88e6123-61-65. It provides functions for probing, setting up, and managing the NIC’s configuration, as well as retrieving statistics and strings related to its operation. The code is part of the Linux kernel’s networking subsystem and allows userspace applications to interact with the NIC.
HistoryTextField.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 423 lines
✨ Summary
This Java code defines a custom HistoryTextField
class that extends JTextField
. It provides functionality for navigating through a history of text input, including backward and forward searching, popup menus, and keyboard shortcuts. The class uses an inner class MouseHandler
to handle mouse events and an inner class HistoryBorder
to draw the border of the text field with a down arrow icon.
This Java code defines a custom HistoryTextField
class that extends JTextField
. It provides functionality for navigating through a history of text input, including backward and forward searching, popup menus, and keyboard shortcuts. The class uses an inner class MouseHandler
to handle mouse events and an inner class HistoryBorder
to draw the border of the text field with a down arrow icon.
vm.rst
(git://github.com/clawpack/clawpack-4.x.git)
ReStructuredText · 251 lines
✨ Summary
This text provides instructions on how to set up and use a virtual machine (VM) for running a Linux environment, specifically XUbuntu 9.10. It covers topics such as installing guest additions, capturing the mouse pointer, resizing the VM window, setting the host key, and troubleshooting issues. The goal is to provide a step-by-step guide for users to set up and use the virtual machine for their needs.
This text provides instructions on how to set up and use a virtual machine (VM) for running a Linux environment, specifically XUbuntu 9.10. It covers topics such as installing guest additions, capturing the mouse pointer, resizing the VM window, setting the host key, and troubleshooting issues. The goal is to provide a step-by-step guide for users to set up and use the virtual machine for their needs.
make_htmls.py
(git://github.com/clawpack/clawpack-4.x.git)
Python · 70 lines
✨ Summary
This script generates HTML files from source files in a specified directory and its subdirectories, using a custom clawcode2html.py
script. It prompts for confirmation before proceeding, and displays which directories were successfully created and which failed. The script can be run with a single directory path as an argument or without one, defaulting to the $CLAW
environment variable.
This script generates HTML files from source files in a specified directory and its subdirectories, using a custom clawcode2html.py
script. It prompts for confirmation before proceeding, and displays which directories were successfully created and which failed. The script can be run with a single directory path as an argument or without one, defaulting to the $CLAW
environment variable.
basics.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 297 lines
nls_iso8859-9.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 274 lines
✨ Summary
This C code defines a Unicode character mapping for the ISO-8859-9 encoding scheme, which is used to represent non-English characters in Windows systems. It registers this mapping with the Linux kernel’s NLS (Normalization and Language Support) system, allowing it to be used by applications that require Unicode support. The code also includes initialization and exit functions to register and unregister the mapping with the kernel.
This C code defines a Unicode character mapping for the ISO-8859-9 encoding scheme, which is used to represent non-English characters in Windows systems. It registers this mapping with the Linux kernel’s NLS (Normalization and Language Support) system, allowing it to be used by applications that require Unicode support. The code also includes initialization and exit functions to register and unregister the mapping with the kernel.
ada95.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 225 lines
Cell.h
(https://freespeech.svn.sourceforge.net/svnroot/freespeech)
C++ Header · 86 lines
✨ Summary
This C++ header file defines a class Cell
that represents a node in a decision tree, and a class MutualInformation
. The Cell
class has methods for splitting data into child nodes, finding thresholds, and calculating template features. It also includes an operator overload for input/output streams. The MutualInformation
class calculates mutual information between two variables.
This C++ header file defines a class Cell
that represents a node in a decision tree, and a class MutualInformation
. The Cell
class has methods for splitting data into child nodes, finding thresholds, and calculating template features. It also includes an operator overload for input/output streams. The MutualInformation
class calculates mutual information between two variables.
autogen.sh
(https://freespeech.svn.sourceforge.net/svnroot/freespeech)
Shell · 146 lines
✨ Summary
This shell script checks for required packages (autoconf, libtool, and gettext) to compile a GNU project, specifically Gnome. It then runs configure with default flags, generates makefiles, and compiles the project if necessary. If any required package is missing, it displays an error message and exits. The script also handles cases where no arguments are provided or when the configure process fails.
This shell script checks for required packages (autoconf, libtool, and gettext) to compile a GNU project, specifically Gnome. It then runs configure with default flags, generates makefiles, and compiles the project if necessary. If any required package is missing, it displays an error message and exits. The script also handles cases where no arguments are provided or when the configure process fails.
memset.S
(http://omnia2droid.googlecode.com/svn/trunk/)
Assembly · 363 lines
✨ Summary
This Assembly code implements a memset
function, which fills a specified area of memory with a given value. The code uses various addressing modes and instructions to handle aligned and unaligned byte stores, as well as different loop conditions for terminating early. It also includes conditional branches and jump instructions to optimize performance.
This Assembly code implements a memset
function, which fills a specified area of memory with a given value. The code uses various addressing modes and instructions to handle aligned and unaligned byte stores, as well as different loop conditions for terminating early. It also includes conditional branches and jump instructions to optimize performance.
tsql.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 1020 lines
113 <KEYWORD1>END</KEYWORD1>
114 <KEYWORD1>ERRLVL</KEYWORD1>
115 <KEYWORD1>ERROREXIT</KEYWORD1>
116 <KEYWORD1>ESCAPE</KEYWORD1>
117 <KEYWORD1>EXCEPT</KEYWORD1>
118 <KEYWORD1>EXEC</KEYWORD1>
119 <KEYWORD1>EXECUTE</KEYWORD1>
120 <KEYWORD1>EXIT</KEYWORD1>
121 <KEYWORD1>FAST_FORWARD</KEYWORD1>
122 <KEYWORD1>FETCH</KEYWORD1>
160 <KEYWORD1>MAX</KEYWORD1>
161 <KEYWORD1>MIN</KEYWORD1>
162 <KEYWORD1>MIRROREXIT</KEYWORD1>
163 <KEYWORD1>NATIONAL</KEYWORD1>
164 <KEYWORD1>NEXT</KEYWORD1>
word_count_functor.flex (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines
ClearCasePlugin.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 291 lines
✨ Summary
This Java code is a plugin for the JEdit text editor, specifically designed to interact with ClearCase version control software. It provides various commands and functionality such as checking out, checking in, adding to source control, comparing versions, and displaying version trees, all integrated into the JEdit interface.
This Java code is a plugin for the JEdit text editor, specifically designed to interact with ClearCase version control software. It provides various commands and functionality such as checking out, checking in, adding to source control, comparing versions, and displaying version trees, all integrated into the JEdit interface.
48 if(dialog.getExitValue().equals("Ok"))
49 {
50 CheckOut command = new CheckOut(file, dialog.getReserved(), dialog.getComment());
64 CheckInDialog dialog = new CheckInDialog(view);
66 if(dialog.getExitValue().equals("Ok"))
67 {
68 CheckIn command = new CheckIn(file, dialog.getComment());
82 AddToSourceControlDialog dialog = new AddToSourceControlDialog(view);
84 if(dialog.getExitValue().equals("Ok"))
85 {
86 AddToSourceControl command = new AddToSourceControl(
pl-sql.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 503 lines
EditorExiting.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 43 lines
✨ Summary
This Java class represents a message sent before an editor exits. It extends another class EBMessage
and has a constructor that takes an EBComponent
as its source. The message is part of the jEdit application, which is a text editor. When the editor is about to exit, this message is sent to notify other parts of the application.
This Java class represents a message sent before an editor exits. It extends another class EBMessage
and has a constructor that takes an EBComponent
as its source. The message is part of the jEdit application, which is a text editor. When the editor is about to exit, this message is sent to notify other parts of the application.
1 /*
2 * EditorExiting.java - Message sent before the editor exits
3 * Copyright (C) 2000 Slava Pestov
4 *
25 /**
26 * Message sent just before jEdit exits.
27 * @author Slava Pestov
28 * @version $Id: EditorExiting.java 12504 2008-04-22 23:12:43Z ezust $
30 * @since jEdit 2.3pre2
31 */
32 public class EditorExiting extends EBMessage
33 {
34 /**
35 * Creates a new editor exiting message.
36 * @param source The message source
37 */
FileVFS.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 505 lines
✨ Summary
This Java code implements a file system interface for a text editor, allowing users to interact with files on their local machine. It provides methods for creating, reading, writing, and deleting files, as well as managing file permissions and updating the file system when changes are made. The code is designed to work on Unix-like systems, but does nothing on non-Unix platforms.
This Java code implements a file system interface for a text editor, allowing users to interact with files on their local machine. It provides methods for creating, reading, writing, and deleting files, as well as managing file permissions and updating the file system when changes are made. The code is designed to work on Unix-like systems, but does nothing on non-Unix platforms.
after.groovy.template (https://bitbucket.org/nbargnesi/idea.git) Unknown · 15 lines
EnhancedMenuItem.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 214 lines
✨ Summary
This Java class, EnhancedMenuItem, extends JMenuItem to add support for multi-key shortcuts in a text editor. It creates a custom menu item with an optional accelerator string and displays it on the screen. The class also handles mouse events, such as hover and click, to provide additional functionality like displaying a message when the user hovers over the menu item.
This Java class, EnhancedMenuItem, extends JMenuItem to add support for multi-key shortcuts in a text editor. It creates a custom menu item with an optional accelerator string and displays it on the screen. The class also handles mouse events, such as hover and click, to provide additional functionality like displaying a message when the user hovers over the menu item.
vbscript.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 740 lines
apm-power.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 129 lines
✨ Summary
This C code implements an input power event handler for Linux, specifically bridging the APM (Advanced Power Management) system to the Linux input subsystem. It registers a custom input device that responds to power-related events, such as suspend requests, and forwards them to the APM system. This allows the APM system to interact with the Linux kernel’s power management features.
This C code implements an input power event handler for Linux, specifically bridging the APM (Advanced Power Management) system to the Linux input subsystem. It registers a custom input device that responds to power-related events, such as suspend requests, and forwards them to the APM system. This allows the APM system to interact with the Linux kernel’s power management features.
macro-tips.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 921 lines
pinfo.vim (https://bitbucket.org/ultra_iter/vim-qt.git) Vim Script · 110 lines
pl-sql.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 398 lines
LuaProjectTemplate.java (https://bitbucket.org/Tsiannian/cocos2d-x.git) Java · 68 lines
TextAreaDropHandler.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 101 lines
✨ Summary
This Java class, TextAreaDropHandler
, extends DropTargetAdapter
to handle drag and drop operations within a text area in a JEdit application. It logs debug information, saves the current buffer and caret position when dragging begins, moves the caret position during drag over, resets the buffer and caret position when dragging ends, and drops the dragged content into the text area.
This Java class, TextAreaDropHandler
, extends DropTargetAdapter
to handle drag and drop operations within a text area in a JEdit application. It logs debug information, saves the current buffer and caret position when dragging begins, moves the caret position during drag over, resets the buffer and caret position when dragging ends, and drops the dragged content into the text area.
CastaliaPasLexTypes.pas
(git://github.com/moparisthebest/Simba.git)
Pascal · 322 lines
✨ Summary
This Pascal code defines a set of token types and functions for parsing source code. It includes various keywords, operators, and symbols used in programming languages. The TokenName
function returns the name of a token as a string, while IsTokenIDJunk
checks if a given token ID is considered junk or invalid. The code also defines a custom data type TmwPasLexStatus
to store parsing information.
This Pascal code defines a set of token types and functions for parsing source code. It includes various keywords, operators, and symbols used in programming languages. The TokenName
function returns the name of a token as a string, while IsTokenIDJunk
checks if a given token ID is considered junk or invalid. The code also defines a custom data type TmwPasLexStatus
to store parsing information.
TreeDemo.java (https://bitbucket.org/__wp__/mb-linux-msli.git) Java · 318 lines
example.cxx
(https://swig.svn.sourceforge.net/svnroot/swig)
C++ · 50 lines
✨ Summary
The code outputs messages indicating when objects are created and destroyed, such as “VectorArray new: self=%p” and “VectorArray delete: self=%p”. It also handles array index out of bounds errors with a panic message and exits the program. Additionally, it prints the size of the VectorArray object.
The code outputs messages indicating when objects are created and destroyed, such as “VectorArray new: self=%p” and “VectorArray delete: self=%p”. It also handles array index out of bounds errors with a panic message and exits the program. Additionally, it prints the size of the VectorArray object.
upload.php
(http://rorptm.googlecode.com/svn/trunk/)
PHP · 107 lines
✨ Summary
This PHP script is a file uploader for FCKeditor, a text editor for internet. It checks if the uploaded file meets certain criteria (e.g., valid type, allowed extension) and renames the file if another one with the same name already exists in the target directory. If successful, it sends a JavaScript notification to the parent window with the upload results.
This PHP script is a file uploader for FCKeditor, a text editor for internet. It checks if the uploaded file meets certain criteria (e.g., valid type, allowed extension) and renames the file if another one with the same name already exists in the target directory. If successful, it sends a JavaScript notification to the parent window with the upload results.
1 <?php
2 /*
3 * FCKeditor - The text editor for internet
5 *
6 * Licensed under the terms of the GNU Lesser General Public License:
7 * http://www.opensource.org/licenses/lgpl-license.php
8 *
9 * For further information visit:
12 * "Support Open Source software. What about a donation today?"
13 *
14 * File Name: upload.php
15 * This is the "File Uploader" for PHP.
33 // Check if this uploader has been enabled.
34 if ( !$Config['Enabled'] )
35 SendResults( '1', '', '', 'This file uploader is disabled. Please check the "editor/filemanager/upload/php/config.php" file' ) ;
37 // Check if the file has been correctly uploaded.
keybindings.properties
(git://github.com/greedy/scala-llvm.git)
Properties File · 71 lines
✨ Summary
This properties file defines keybinding mappings for JLine, a terminal emulator. It maps various keyboard shortcuts to specific actions, such as moving the cursor, deleting characters, and navigating through history buffers. The mappings allow users to customize their terminal experience with keyboard shortcuts, making it easier to perform common tasks like editing lines, scrolling through history, and searching for previous commands.
This properties file defines keybinding mappings for JLine, a terminal emulator. It maps various keyboard shortcuts to specific actions, such as moving the cursor, deleting characters, and navigating through history buffers. The mappings allow users to customize their terminal experience with keyboard shortcuts, making it easier to perform common tasks like editing lines, scrolling through history, and searching for previous commands.
director_thread_runme.java
(https://swig.svn.sourceforge.net/svnroot/swig)
Java · 37 lines
✨ Summary
This Java code loads a native library called “director_thread” and attempts to run a class named director_thread_Derived
that extends another class Foo
. The run()
method is called, which presumably performs some operation, but it causes an exception due to the setVal(getVal() - 1)
line.
This Java code loads a native library called “director_thread” and attempts to run a class named director_thread_Derived
that extends another class Foo
. The run()
method is called, which presumably performs some operation, but it causes an exception due to the setVal(getVal() - 1)
line.
msm_v4l2.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 798 lines
✨ Summary
This C code implements a V4L2 (Video for Linux) driver for MSM (Mobile Station Modem) devices, specifically designed for Android-based smartphones. It registers a video device with the kernel and provides various functions for controlling the camera, overlay, and other video-related operations. The code also includes initialization and exit routines to manage the driver’s lifecycle.
This C code implements a V4L2 (Video for Linux) driver for MSM (Mobile Station Modem) devices, specifically designed for Android-based smartphones. It registers a video device with the kernel and provides various functions for controlling the camera, overlay, and other video-related operations. The code also includes initialization and exit routines to manage the driver’s lifecycle.
common.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 494 lines
✨ Summary
This C code initializes and configures various components for an IXP4xx SoC (System-on-Chip). It sets up the clock source, timer, and clock events to manage the system’s timing and scheduling. The code also configures the expansion bus size and registers devices with the Linux kernel. Overall, it provides a foundation for booting and running applications on an IXP4xx-based system.
This C code initializes and configures various components for an IXP4xx SoC (System-on-Chip). It sets up the clock source, timer, and clock events to manage the system’s timing and scheduling. The code also configures the expansion bus size and registers devices with the Linux kernel. Overall, it provides a foundation for booting and running applications on an IXP4xx-based system.
amf-uml-loop_nodes.ads
(git://github.com/landgraf/matreshka.git)
Ada · 160 lines
✨ Summary
This Ada code defines a runtime library component for modeling loops in UML (Unified Modeling Language) structured activity nodes. It provides an interface for accessing and manipulating loop node properties, such as body output, test, setup part, and result pins. The interface is abstract, meaning it cannot be instantiated directly, but rather serves as a blueprint for other classes to implement specific loop node behaviors.
This Ada code defines a runtime library component for modeling loops in UML (Unified Modeling Language) structured activity nodes. It provides an interface for accessing and manipulating loop node properties, such as body output, test, setup part, and result pins. The interface is abstract, meaning it cannot be instantiated directly, but rather serves as a blueprint for other classes to implement specific loop node behaviors.
kcapi_proc.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 315 lines
✨ Summary
This C code creates a set of system procedures (proc) for managing kernel drivers and their associated data. It sets up directories, creates files under those directories, and defines functions to read and display information about these files. The procedures are designed to be accessed through the Linux file system, allowing users to view and manage driver-related data.
This C code creates a set of system procedures (proc) for managing kernel drivers and their associated data. It sets up directories, creates files under those directories, and defines functions to read and display information about these files. The procedures are designed to be accessed through the Linux file system, allowing users to view and manage driver-related data.
bp-core-cache.php (https://bitbucket.org/simplemediacode/bptrunk.git) PHP · 130 lines
tc.php
(http://typecho.googlecode.com/svn/trunk/)
PHP · 29 lines
✨ Summary
This PHP script processes a PHP file by removing unnecessary whitespace, stripping out require_once
statements, and appending the contents of an optional input file to the end of the script. The modified script is then written back to the original output file.
This PHP script processes a PHP file by removing unnecessary whitespace, stripping out require_once
statements, and appending the contents of an optional input file to the end of the script. The modified script is then written back to the original output file.
1 <?php
3 /** ???????? */
4 if (!isset($argv[1])) {
5 echo 'no args';
6 exit(1);
7 }
13 if (!isset($options['in']) || !isset($options['out'])) {
14 echo 'no input or output file';
15 exit(1);
16 }
18 $str = php_strip_whitespace($options['in']);
19 $str = preg_replace("/require_once\s+('|\")[_0-9a-z-\/\.]+\\1\s*;/is", '', $str);
20 $str = trim(ltrim($str, '<?php'));