100+ results for 'php exit'

Not the results you expected?

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

1 <?php

2 /**

3 * ClusterPress User Relationships.

9 */

10

11 // Exit if accessed directly.

12 defined( 'ABSPATH' ) || exit;

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.

407 }

408

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);

465

466 static void __exit tdo24m_exit(void)

467 {

468 spi_unregister_driver(&tdo24m_driver);

469 }

470 module_exit(tdo24m_exit);

471

472 MODULE_AUTHOR("Eric Miao <eric.miao@marvell.com>");

rmd128.c (https://github.com/dmitriy103/bravo_kernel-2.6.35.git) C · 328 lines

317 }

318

319 static void __exit rmd128_mod_fini(void)

320 {

321 crypto_unregister_shash(&alg);

323

324 module_init(rmd128_mod_init);

325 module_exit(rmd128_mod_fini);

326

327 MODULE_LICENSE("GPL");

User_agent.php (https://github.com/usagi-project/mynets1.git) PHP · 500 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 4.3.2 or newer

6 *

7 * @package CodeIgniter

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 */

10

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 }

84

101 return 0;

102 }

103 return currentStepAndNumberOfTimesEntryExitTest(workflow, expectedStep, step1, step1Entry, step1Exit, step2, step2Entry, step2Exit, step3, step3Entry, step3Exit, step4, step4Entry, step4Exit);

104 }

105

114 return 0;

115 }

116 return numberOfTimesEntryExitTest(step1, step1Entry, step1Exit, step2, step2Entry, step2Exit, step3, step3Entry, step3Exit, step4, step4Entry, step4Exit);

117 }

118

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 }

116

205 }

206 ?>

207 <div class="updated"><p><strong><?php echo esc_html( $message ); ?></strong></p></div>

208 <?php

211

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

2

3 /**

35 $retour .= $this->suppressionSurPalissades();

36

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 }

w1_ds2408.c (https://github.com/enqihexiaoya/htc-kernel-msm7x30-exp.git) C · 402 lines

394 }

395

396 static void __exit w1_f29_exit(void)

397 {

398 w1_unregister_family(&w1_family_29);

400

401 module_init(w1_f29_init);

402 module_exit(w1_f29_exit);

403

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.

101 {

102 lbuf = NULL;

103 goto NORMAL_EXIT;

104 }

105 }

245 #endif

246

247 NORMAL_EXIT:

248

249 pcb->error_line_number = 0; /* no error, clear this */

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.

43 #include <asm/uaccess.h>

44

45 #include "cpqphp.h"

46 #include "cpqphp_nvram.h"

608 }

609

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;

719

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 */

21

22 /** Zend_Oauth */

23 #require_once 'Zend/Oauth.php';

24

25 /** Zend_Uri */

26 #require_once 'Zend/Uri.php';

27

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 }

203

233 if (substr($reply, 0, 3) != 334) {

234 trigger_error('Error: Username not accepted from server!');

235 exit();

236 }

237

profile.php (https://github.com/jaden54/GATE.git) PHP · 303 lines

1 <?php

2 session_start();

3

4 if (!isset($_SESSION['user'])) {

5

6 header ('Location: index.php');

7

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

76 frame.getContentPane().setBackground(new Color(0, 255, 153));

77 frame.setBounds(100, 100, 450, 300);

78 frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

79 frame.getContentPane().setLayout(null);

80

rmd128.c (https://gitlab.com/kush/linux) C · 327 lines

314 }

315

316 static void __exit rmd128_mod_fini(void)

317 {

318 crypto_unregister_shash(&alg);

320

321 subsys_initcall(rmd128_mod_init);

322 module_exit(rmd128_mod_fini);

323

324 MODULE_LICENSE("GPL");

theming-functions.php (https://github.com/livinglab/openlab.git) PHP · 602 lines

532 $indexItemTargetIndex = -1;

533 $indexItem = $api->getIndexItem($index, $indexItemIndex);

534 }

535

554 global $indexItemRef;

555

556 $indexItemRef = $api->getIndexItemRef($indexItem);

557

558 }

566 $indexItemTargetIndex++;

567 if($indexItemTargetIndex >= $api->getIndexItemTargetCount($indexItem)) {

568 unset($indexItem);

581 global $indexItemTargetIndex;

582

583 $indexItemTarget = $api->getIndexItemTarget($indexItem, $indexItemTargetIndex);

584 }

585

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

408

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 */

11

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

72

73 ACE_NAMESPACE_INLINE_FUNCTION

74 int atexit (ACE_EXIT_HOOK func);

75

76 ACE_NAMESPACE_INLINE_FUNCTION

216 #endif /* ACE_HAS_WINCE */

217

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_;

221

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);

225

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

184 try {

185 workingDir = FileUtil.createTempDirectory("archetype", "tmp");

186 workingDir.deleteOnExit();

187 }

188 catch (IOException e) {

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.

129 <P>

130

131 <H3>Complexity guarantees</H3>

132

133 <P>

pl1.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 597 lines

82 <KEYWORD1>end</KEYWORD1>

83 <KEYWORD1>entry</KEYWORD1>

84 <KEYWORD1>exit</KEYWORD1>

85 <KEYWORD1>fetch</KEYWORD1>

86 <KEYWORD1>flush</KEYWORD1>

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.

356 super.processMouseEvent(evt);

357 break;

358 case MouseEvent.MOUSE_EXITED:

359 ttm.setInitialDelay(toolTipInitialDelay);

360 ttm.setReshowDelay(toolTipReshowDelay);

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 }

76

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

386 *)

387 debug_mesg CPU $ACTION event not supported

388 exit 1

389 ;;

390 esac

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.

28 <A HREF="jcompiler/JCompilerPane.html" TARGET="classFrame">JCompilerPane</A>

29 <BR>

30 <A HREF="jcompiler/NoExitSecurityManager.html" TARGET="classFrame">NoExitSecurityManager</A>

31 <BR>

32 <A HREF="jcompiler/NoExitSM2.html" TARGET="classFrame">NoExitSM2</A>

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.

172 }

173

174 static int __devexit gpio_nand_remove(struct platform_device *dev)

175 {

176 struct gpiomtd *gpiomtd = platform_get_drvdata(dev);

363 }

364

365 static void __exit gpio_nand_exit(void)

366 {

367 platform_driver_unregister(&gpio_nand_driver);

369

370 module_init(gpio_nand_init);

371 module_exit(gpio_nand_exit);

372

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.

45 "*** %s\n", file, line, exp);

46

47 exit(1);

48 }

49

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.

196

197 } else if (comp != this.hoverComponent) {

198 this.hoverComponent.processTouchExited();

199 comp.processTouchEntered();

200 }

202 } else {

203 if (this.hoverComponent != null) {

204 this.hoverComponent.processTouchExited();

205 }

206 }

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.

35

36 void NodeGen::enterScope(SSelfScope* s) { scopeStack->push(s); }

37 void NodeGen::exitScope (SSelfScope* s) {

38 assert(currentScope() == s, "exiting wrong scope");

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.

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.

122 {

123 System.err.println("\nEOF in input!");

124 System.exit(1);

125 // can't happen

126 throw new InternalError();

131 {

132 System.err.println("\nI/O error: " + io);

133 System.exit(1);

134 // can't happen

135 throw new InternalError();

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.

66 }

67

68 void tfrc_tx_packet_history_exit(void)

69 {

70 if (tfrc_tx_hist_slab != NULL) {

141 }

142

143 void tfrc_rx_packet_history_exit(void)

144 {

145 if (tfrc_rx_hist_slab != NULL) {

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.

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.

93

94 #ifdef CONFIG_LOCKDEP

95 .macro LOCKDEP_SYS_EXIT

96 tm SP_PSW+1(%r15),0x01 # returning to user ?

97 jz 0f

98 l %r1,BASED(.Llockdep_sys_exit)

99 basr %r14,%r1

100 0:

101 .endm

102 #else

103 #define LOCKDEP_SYS_EXIT

104 #endif

105

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.

312 if (panic_on_oops)

313 panic("Fatal exception: panic_on_oops");

314 oops_exit();

315 do_exit(SIGSEGV);

391 if (regs->psw.mask & PSW_MASK_PSTATE) {

392 local_irq_enable();

393 do_exit(SIGSEGV);

394 report_user_fault(interruption_code, regs);

395 } else

jedit_keys.props (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 235 lines

31 open-file.shortcut=C+o

32 print.shortcut=C+p

33 exit.shortcut=C+q

34 # C+r is a prefix

35 save.shortcut=C+s

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.

47 System.out.println("Exception with: " + file.toString());

48 e.printStackTrace();

49 System.exit(1);

50 } finally {

51 d.close();

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.

91 BOOST_CHECK(a == a1);

92 std::remove(testfile);

93 return EXIT_SUCCESS;

94 }

95

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.

189 {

190 // user has already seen the BeanShell error,

191 // so just exit

192 return;

193 }

343 {

344 // user has already seen the BeanShell error,

345 // so just exit

346 return;

347 }

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.

664 // waitFor() hangs on some Java

665 // implementations.

666 /* int exitCode = process.waitFor();

667 if(exitCode != 0)

668 Log.log(Log.NOTICE,FileVFS.class,"chmod exited with code " + exitCode); */

669 }

670

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

21 order by division_id,store_city,store_id;

22

23 .EXIT 0

24 EOF

25

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.

120 s32 ret_val = -E1000_ERR_MBX;

121

122 /* exit if we either can't write or there isn't a defined timeout */

123 if (!mbx->ops.write || !mbx->timeout)

124 goto out;

regress-83532-001.js (https://bitbucket.org/ultra_iter/qt-vtl.git) JavaScript · 71 lines

68 reportCompare('No Crash', 'No Crash', '');

69

70 exitFunc ('test');

71 }

72

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.

28 + javaVersion + ".");

29 System.err.println("This installer requires Java 1.3 or later.");

30 System.exit(1);

31 }

32

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.

107

108 /* When the program starts, a1 contains a pointer to a function to be

109 registered with atexit, as per the SVR4 ABI. A value of 0 means we

110 have no such handler. */

111 #define ELF_PLAT_INIT(_r, load_addr) (_r)->ARM_r0 = 0

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.

61 printf("start_uml - start_userspace returned %d\n",

62 userspace_pid[0]);

63 exit(1);

64 }

65 }

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.

216 journal->j_task = NULL;

217 wake_up(&journal->j_wait_done_commit);

218 jbd_debug(1, "Journal thread exiting.\n");

219 return 0;

220 }

942 }

943

944 static void jbd2_stats_proc_exit(journal_t *journal)

945 {

946 remove_proc_entry("info", journal->j_proc_entry);

adjacent_find.qbk (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines

77 * `ForwardRange`'s value type is convertible to `BinaryPredicate`'s first argument type and to `BinaryPredicate`'s second argument type.

78

79 [heading Complexity]

80

81 Linear. If `empty(rng)` then no comparisons are performed; otherwise, at most `distance(rng) - 1` comparisons.

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.

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

50 <KEYWORD1>do</KEYWORD1>

51 <KEYWORD1>else</KEYWORD1>

52 <KEYWORD1>exit</KEYWORD1>

53 <KEYWORD1>fflush</KEYWORD1>

54 <KEYWORD1>for</KEYWORD1>

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.

228 .name = "dvb_usb_au6610",

229 .probe = au6610_probe,

230 .disconnect = dvb_usb_device_exit,

231 .id_table = au6610_table,

232 };

244 }

245

246 static void __exit au6610_module_exit(void)

247 {

248 /* deregister this driver from the USB subsystem */

251

252 module_init(au6610_module_init);

253 module_exit(au6610_module_exit);

254

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.

12 interrupt source */

13 int (*init_platform_hw)(void);

14 void (*exit_platform_hw)(void);

15 };

16

HtmlParser.jj (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 620 lines

99 e.printStackTrace();

100 }

101 System.exit(0);

102 }

103

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.

338 int coreid = cvmx_get_core_num();

339

340 idle_task_exit();

341 octeon_processor_boot = 0xff;

342 per_cpu(cpu_state, coreid) = CPU_DEAD;

TODO.txt (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 36 lines

19 - cvs commandos

20 - need <INIT> code block in commando files

21 - notify of process exit

22 - multiple-line env vars don't work

23 - see if an extra pattern can eat all javac errors

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.

835 * @since jEdit 4.2pre3

836 */

837 public void deactivatePlugin(boolean exit)

838 {

839 if(!activated)

840 return;

841

842 if(!exit)

843 {

844 // buffers retain a reference to the fold handler in

879

880 EditBus.send(new PluginUpdate(this,

881 PluginUpdate.DEACTIVATED,exit));

882

883 if(!exit)

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.

78

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";

84

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.

441 module_init(mv88e6123_61_65_init);

442

443 static void __exit mv88e6123_61_65_cleanup(void)

444 {

445 unregister_switch_driver(&mv88e6123_61_65_switch_driver);

446 }

447 module_exit(mv88e6123_61_65_cleanup);

448

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.

313

314 break;

315 case MouseEvent.MOUSE_EXITED:

316 setCursor(Cursor.getDefaultCursor());

317 super.processMouseEvent(evt);

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.

95

96 Click the green running man in the lower left corner and then click

97 *"Shut Down"* to exit the VM. You can also *"Suspend"*, which preserves

98 the memory state and is better if a long job is running in the VM

99 that you want to restart later where it left off.

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.

30 if ans.lower() not in ['y','yes']:

31 print "Aborting."

32 sys.exit()

33

34 os.chdir(rootdir)

basics.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 297 lines

94 <para>

95 <guimenu>View</guimenu>&gt;<guimenuitem>Close View</guimenuitem> closes the

96 current view. If only one view is open, closing it will exit jEdit,

97 unless background mode is on; see <xref linkend="starting" /> for information

98 about starting jEdit in background mode.

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.

263 }

264

265 static void __exit exit_nls_iso8859_9(void)

266 {

267 unregister_nls(&table);

269

270 module_init(init_nls_iso8859_9)

271 module_exit(exit_nls_iso8859_9)

272

273 MODULE_LICENSE("Dual BSD/GPL");

ada95.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 225 lines

160 <KEYWORD2>end</KEYWORD2>

161 <KEYWORD2>exception</KEYWORD2>

162 <KEYWORD2>exit</KEYWORD2>

163 <KEYWORD2>for</KEYWORD2>

164 <KEYWORD2>goto</KEYWORD2>

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.

54 Cell(){}

55

56 Cell (const Cell &) {cerr << "don't call the Cell copy constructor\n"; exit(1);}

57

58 ~Cell()

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.

65

66 if test "$DIE" -eq 1; then

67 exit 1

68 fi

69

140 echo Running $srcdir/configure $conf_flags "$@" ...

141 $srcdir/configure $conf_flags "$@" \

142 && echo Now type \`make\' to compile $PKG_NAME || exit 1

143 else

144 echo Skipping configure process.

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.

297 cmp.eq p_scr, p0 = cnt, r0

298 tbit.nz.unc p_y, p0 = cnt, 2 // should we terminate with a st4 ?

299 (p_scr) br.cond.dpnt.few .restore_and_exit

300 ;; }

301 { .mib

311 (p_y) st1 [ptr1] = value

312 ;; }

313 .restore_and_exit:

314 { .mib

315 nop.m 0

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

39 if (NULL == yyin) {

40 fprintf(stderr, "Couldn't open input file!\n");

41 exit(-1);

42 }

43

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.

46

47

48 if(dialog.getExitValue().equals("Ok"))

49 {

50 CheckOut command = new CheckOut(file, dialog.getReserved(), dialog.getComment());

64 CheckInDialog dialog = new CheckInDialog(view);

65

66 if(dialog.getExitValue().equals("Ok"))

67 {

68 CheckIn command = new CheckIn(file, dialog.getComment());

82 AddToSourceControlDialog dialog = new AddToSourceControlDialog(view);

83

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

144 <KEYWORD1>EXCLUSIVE</KEYWORD1>

145 <KEYWORD1>EXECUTE</KEYWORD1>

146 <KEYWORD1>EXIT</KEYWORD1>

147 <KEYWORD1>EXTERNAL</KEYWORD1>

148 <KEYWORD1>FALSE</KEYWORD1>

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.

1 /*

2 * EditorExiting.java - Message sent before the editor exits

3 * Copyright (C) 2000 Slava Pestov

4 *

24

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.

486 process.getOutputStream().close();

487 process.getErrorStream().close();

488 int exitCode = process.waitFor();

489 if(exitCode != 0)

490 Log.log(Log.NOTICE,FileVFS.class,"chmod exited with code " + exitCode);

491 }

492

after.groovy.template (https://bitbucket.org/nbargnesi/idea.git) Unknown · 15 lines

1 swing.edt {

2 frame(title:'Frame', defaultCloseOperation:JFrame.EXIT_ON_CLOSE, pack:true, show:true) {

3 vbox {

4 textlabel = label("Click the button!")

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.

201 }

202

203 public void mouseExited(MouseEvent evt)

204 {

205 if(msgSet)

vbscript.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 740 lines

81 <KEYWORD1>wend</KEYWORD1>

82

83 <!-- Closing, Exit Statements -->

84 <KEYWORD1>exit</KEYWORD1>

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.

116 }

117

118 static void __exit apmpower_exit(void)

119 {

120 input_unregister_handler(&apmpower_handler);

122

123 module_init(apmpower_init);

124 module_exit(apmpower_exit);

125

126 MODULE_AUTHOR("Richard Purdie <rpurdie@rpsys.net>");

macro-tips.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 921 lines

352 text item or <constant>null</constant> representing no selection.

353 Any further use of this fragment would have to test the value of

354 <varname>result</varname> and likely exit from the macro if the

355 value equaled <constant>null</constant>.</para>

356

pinfo.vim (https://bitbucket.org/ultra_iter/vim-qt.git) Vim Script · 110 lines

26 \ LONG-MANUAL-LINKS FILTER-0xB7

27 \ QUIT-CONFIRMATION QUIT-CONFIRM-DEFAULT

28 \ CLEAR-SCREEN-AT-EXIT CALL-READLINE-HISTORY

29 \ HIGHLIGHTREGEXP SAFE-USER SAFE-GROUP

30

pl-sql.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 398 lines

111 <KEYWORD1>EXCEPTION_INIT</KEYWORD1>

112 <KEYWORD1>EXCLUSIVE</KEYWORD1>

113 <KEYWORD1>EXIT</KEYWORD1>

114 <KEYWORD1>FALSE</KEYWORD1>

115 <KEYWORD1>FETCH</KEYWORD1>

LuaProjectTemplate.java (https://bitbucket.org/Tsiannian/cocos2d-x.git) Java · 68 lines

59

60 public boolean onKeyDown(int keyCode, KeyEvent event) {

61 // exit program when key back is entered

62 if (keyCode == KeyEvent.KEYCODE_BACK) {

63 android.os.Process.killProcess(android.os.Process.myPid());

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.

75 } //}}}

76

77 //{{{ dragExit() method

78 @Override

79 public void dragExit(DropTargetEvent dtde)

80 {

81 Log.log(Log.DEBUG,this,"Drag exit");

82 textArea.setDragInProgress(false);

83 //textArea.getBuffer().endCompoundEdit();

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.

106 tokError,

107 tokExcept,

108 tokExit, //JThurman 2004-11-8 (flow control routine)

109 tokExport,

110 tokExports,

TreeDemo.java (https://bitbucket.org/__wp__/mb-linux-msli.git) Java · 318 lines

263 if (e.getActionCommand().equals("CLOSE"))

264 {

265 System.exit(0);

266 }

267 }

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.

39 if ((index < 0) || (index >= maxsize)) {

40 printf("Panic! Array index out of bounds.\n");

41 exit(1);

42 }

43 return items[index];

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.

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' ) ;

36

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.

9

10 # CTRL-D: close out the input stream

11 4=EXIT

12

13 # CTRL-E: move the cursor to the end of the line

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.

10 } catch (UnsatisfiedLinkError e) {

11 System.err.println("Native code library failed to load. See the chapter on Dynamic Linking Problems in the SWIG Java documentation for help.\n" + e);

12 System.exit(1);

13 }

14 }

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.

772 }

773

774 static void __exit msm_v4l2_exit(void)

775 {

776 struct video_device *pvdev = g_pmsm_v4l2_dev->pvdev;

792

793 module_init(msm_v4l2_init);

794 module_exit(msm_v4l2_exit);

795

796 MODULE_DESCRIPTION("MSM V4L2 driver");

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.

4 * Generic code shared across all IXP4XX platforms

5 *

6 * Maintainer: Deepak Saxena <dsaxena@plexity.net>

7 *

8 * Copyright 2002 (c) Intel Corporation

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.

71 -- moved to the loop variable pins after completion of execution of the

72 -- body, before the next iteration of the loop begins or before the loop

73 -- exits.

74

75 not overriding function Get_Body_Part

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.

302 }

303

304 void __exit

305 kcapi_proc_exit(void)

bp-core-cache.php (https://bitbucket.org/simplemediacode/bptrunk.git) PHP · 130 lines

1 <?php

2 /**

3 * Caching functions handle the clearing of cached objects and pages on specific

5 */

6

7 // Exit if accessed directly

8 if ( !defined( 'ABSPATH' ) ) exit;

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.

1 <?php

2

3 /** ???????? */

4 if (!isset($argv[1])) {

5 echo 'no args';

6 exit(1);

7 }

8

13 if (!isset($options['in']) || !isset($options['out'])) {

14 echo 'no input or output file';

15 exit(1);

16 }

17

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'));