100+ results for 'php exit lang:PHP repo:gencer/punbb'
Not the results you expected?
class-cp-user-relationships.php (https://gitlab.com/dev73/clusterpress) PHP · 543 lines
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>");
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 */
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
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 }
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>
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 }
class-wc-report-taxes-by-date.php (https://gitlab.com/campus-academy/krowkaramel) PHP · 264 lines
3 if ( ! defined( 'ABSPATH' ) ) {
4 exit; // Exit if accessed directly
5 }
33 <a
34 href="#"
35 download="report-<?php echo esc_attr( $current_range ); ?>-<?php echo date_i18n( 'Y-m-d', current_time( 'timestamp' ) ); ?>.csv"
36 class="export_csv"
37 data-export="table"
212 <th class="total_row"><?php _e( 'Number of orders', 'woocommerce' ); ?></th>
213 <th class="total_row"><?php _e( 'Total sales', 'woocommerce' ); ?> <?php echo wc_help_tip( __( "This is the sum of the 'Order total' field within your orders.", 'woocommerce' ) ); ?></th>
214 <th class="total_row"><?php _e( 'Total shipping', 'woocommerce' ); ?> <?php echo wc_help_tip( __( "This is the sum of the 'Shipping total' field within your orders.", 'woocommerce' ) ); ?></th>
215 <th class="total_row"><?php _e( 'Total tax', 'woocommerce' ); ?> <?php echo wc_help_tip( __( 'This is the total tax for the rate (shipping tax + product tax).', 'woocommerce' ) ); ?></th>
216 <th class="total_row"><?php _e( 'Net profit', 'woocommerce' ); ?> <?php echo wc_help_tip( __( 'Total sales minus shipping and tax.', 'woocommerce' ) ); ?></th>
217 </tr>
218 </thead>
wc-meta-box-functions.php (https://github.com/Canuckaholic/Pop-Digital.git) PHP · 223 lines
Manager.php (https://github.com/max-shamaev/swarm.git) PHP · 482 lines
content.php (https://github.com/livinglab/openlab.git) PHP · 204 lines
class-cp-interactions-cluster.php (https://gitlab.com/dev73/clusterpress) PHP · 345 lines
CodeUnitFindingVisitor.php (https://gitlab.com/jjpa2018/dashboard) PHP · 323 lines
1 <?php declare(strict_types=1);
2 /*
3 * This file is part of phpunit/php-code-coverage.
4 *
5 * (c) Sebastian Bergmann <sebastian@phpunit.de>
29 use PhpParser\NodeVisitorAbstract;
30 use SebastianBergmann\Complexity\CyclomaticComplexityCalculatingVisitor;
32 /**
122 $traverser = new NodeTraverser;
124 $cyclomaticComplexityCalculatingVisitor = new CyclomaticComplexityCalculatingVisitor;
126 $traverser->addVisitor($cyclomaticComplexityCalculatingVisitor);
129 $traverser->traverse($nodes);
131 return $cyclomaticComplexityCalculatingVisitor->cyclomaticComplexity();
132 }
class-wc-rest-stripe-account-keys-controller.php (https://gitlab.com/campus-academy/krowkaramel) PHP · 232 lines
field_link_color.php (https://gitlab.com/rubengrb/ws.vidrialum) PHP · 207 lines
Form.php (https://github.com/tquensen/MiniMVC.git) PHP · 363 lines
1 <?php
3 class MiniMVC_Form
267 header('Location: ' . $url);
268 exit;
269 }
275 header('Location: ' . $url);
276 exit;
277 }
347 // $t = MiniMVC_Registry::getInstance()->helper->i18n->get('_form');
348 // $response = array('status' => false, 'message' => $t->errorAjaxMissingField);
349 // exit;
350 // } elseif (!$field = $this->getElement($_POST['_validateField'])) {
351 // $t = MiniMVC_Registry::getInstance()->helper->i18n->get('_form');
User_agent.php (https://gitlab.com/sittipongwork/impro_dashboard) PHP · 550 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
86 private function _load_agent_file()
87 {
88 if (defined('ENVIRONMENT') AND is_file(APPPATH.'config/'.ENVIRONMENT.'/user_agents.php'))
89 {
90 include(APPPATH.'config/'.ENVIRONMENT.'/user_agents.php');
91 }
92 elseif (is_file(APPPATH.'config/user_agents.php'))
93 {
94 include(APPPATH.'config/user_agents.php');
config.class.php (https://github.com/baigoStudio/baigoSSO.git) PHP · 427 lines
1 <?php
2 /*-----------------------------------------------------------------
3 !!!!警告!!!!
9 // 不能非法包含或直接执行
10 defined('IN_GINKGO') or exit('Access denied');
12 // 配置管理类
353 public static function write($path, $value = '') {
354 if (is_array($value)) {
355 $_str_outPut = '<?php return ' . var_export($value, true) . ';';
356 } else if (is_numeric($value)) {
357 $_str_outPut = '<?php return ' . $value . ';';
358 } else if (is_string($value)) {
359 $_str_outPut = '<?php return \'' . $value . '\';';
360 }
vid_camara_axispresetpos.control.php (https://gitlab.com/talueses/SIPVE) PHP · 221 lines
1 <?php
2 /*******************************************************************************\
3 * @copyright
36 \*******************************************************************************/
37 ?>
38 <?php
39 require_once "../model/vid_camara_axispresetpos.model.php"; // Class MODEL VidCamaraAxispresetpos()
40 require_once "../../inicio/controller/controller.php";// Class CONTROL Controller()
42 /**
46 class ControlVidCamaraAxispresetpos extends Controller{
47 /**
48 * @var string mensaje de exito o error
49 */
50 var $mensaje = null;
XmlImportTemplateParser.php (https://gitlab.com/najomie/fit-hippie) PHP · 444 lines
1 <?php
2 /**
3 * @author Olexandr Zanichkovsky <olexandr.zanichkovsky@zophiatech.com>
5 */
7 require_once dirname(__FILE__) . '/ast/XmlImportAstSequence.php';
8 require_once dirname(__FILE__) . '/ast/XmlImportAstPrint.php';
9 require_once dirname(__FILE__) . '/ast/XmlImportAstText.php';
10 require_once dirname(__FILE__) . '/ast/XmlImportAstWith.php';
11 require_once dirname(__FILE__) . '/ast/XmlImportAstForeach.php';
12 require_once dirname(__FILE__) . '/ast/XmlImportAstIf.php';
13 require_once dirname(__FILE__) . '/ast/XmlImportAstMath.php';
14 require_once dirname(__FILE__) . '/ast/XmlImportAstSpintax.php';
StyleController.php (https://bitbucket.org/sebastien247/creativefolio.git) PHP · 307 lines
1 <?php
3 namespace CreativeFolio\EditorBundle\Controller;
91 }
93 //exit;//return false;
95 return $this->render('EditorBundle:Style:new.html.twig', array(
197 $em->flush();*/
199 exit; //return $this->redirect($this->generateUrl('style_edit', array('id' => $id)));
200 //}
201 }
203 var_dump("not");
205 exit;
206 }
table_torch.php (https://github.com/splitfeed/Table-Torch.git) PHP · 374 lines
Reports.php (https://gitlab.com/dmsapiens/physicians) PHP · 327 lines
1 <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
3 class Reports extends CI_Controller {
40 }
41 echo $h;
42 exit;
43 }
308 header( 'Content-Type: text/csv;charset=utf-8' );
309 header( 'Content-Disposition: attachment;filename=report'.$filename);
310 $fp = fopen('php://output', 'w');
312 foreach($result as $row)
324 fclose($fp);
325 exit;
326 }
327 }
Segmenter.php (https://gitlab.com/campus-academy/krowkaramel) PHP · 209 lines
Cdn_CloudFrontFsd_Popup.php (https://gitlab.com/karlen/ayo_wp) PHP · 345 lines
auth_lang.php (https://gitlab.com/jankube/CodeIgniter-Ion-Auth) PHP · 165 lines
i2c-stu300.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 1057 lines
✨ Summary
This C code implements a driver for a ST Microelectronics DDC (Display Controller) I2C adapter, which is used to connect display devices to a system’s motherboard. The driver provides a platform-independent interface for accessing the I2C bus and managing the adapter’s hardware and software settings. It is designed to work with various systems that use this type of adapter.
This C code implements a driver for a ST Microelectronics DDC (Display Controller) I2C adapter, which is used to connect display devices to a system’s motherboard. The driver provides a platform-independent interface for accessing the I2C bus and managing the adapter’s hardware and software settings. It is designed to work with various systems that use this type of adapter.
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.
cpu-hotplug.txt (http://omnia2droid.googlecode.com/svn/trunk/) Unknown · 391 lines
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.
vt8231.c
(http://photon-android.googlecode.com/svn/)
C · 1013 lines
✨ Summary
This C code implements a Linux kernel driver for the VT8231 chip, which is a chipset used in some older motherboards. The driver reads sensor data from the chip and provides it to the system, allowing users to monitor temperatures, voltages, and other system parameters. It also handles device initialization, registration, and unregistration with the PCI bus.
This C code implements a Linux kernel driver for the VT8231 chip, which is a chipset used in some older motherboards. The driver reads sensor data from the chip and provides it to the system, allowing users to monitor temperatures, voltages, and other system parameters. It also handles device initialization, registration, and unregistration with the PCI bus.
789 }
791 static int __devexit vt8231_remove(struct platform_device *pdev)
792 {
793 struct vt8231_data *data = platform_get_drvdata(pdev);
904 err = -ENOMEM;
905 printk(KERN_ERR "vt8231: Device allocation failed\n");
906 goto exit;
907 }
994 }
996 static void __exit sm_vt8231_exit(void)
997 {
998 pci_unregister_driver(&vt8231_pci_driver);
CHANGES.txt (https://jedit.svn.sourceforge.net/svnroot/jedit) Plain Text · 2241 lines
jedit_keys.props (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 228 lines
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.
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.
local_date_time.cpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ · 0 lines
✨ Summary
The code displays a date and time in two formats:
2004-Aug-30 10:00:00 EDT
(using locale settings)
2004-Aug-30 10:00:00 Eastern Daylight Time
(with time zone information)
The code displays a date and time in two formats:
2004-Aug-30 10:00:00 EDT
(using locale settings)2004-Aug-30 10:00:00 Eastern Daylight Time
(with time zone information)
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.
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.
regress-472450-01.js
(git://github.com/zpao/v8monkey.git)
JavaScript · 65 lines
✨ Summary
This JavaScript code tests a specific assertion error related to stack management in a JavaScript engine, specifically regarding the relationship between StackBase(fp)
and blockDepth
. It sets up a test environment with JIT (Just-In-Time) compilation enabled and disabled, then runs a series of functions to trigger the assertion. The expected output is an empty string, indicating that the assertion should not be triggered.
This JavaScript code tests a specific assertion error related to stack management in a JavaScript engine, specifically regarding the relationship between StackBase(fp)
and blockDepth
. It sets up a test environment with JIT (Just-In-Time) compilation enabled and disabled, then runs a series of functions to trigger the assertion. The expected output is an empty string, indicating that the assertion should not be triggered.
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 }
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.
norwegian.qph (https://bitbucket.org/ultra_iter/qt-vtl.git) Unknown · 1005 lines
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.
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
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>");
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.
regress-457824.js
(git://github.com/zpao/v8monkey.git)
JavaScript · 65 lines
✨ Summary
This JavaScript code is a test case for decompilation of a function call with a new object creation. It defines a function test
that creates an anonymous function g
which calls another function a(b).c
. The test then compares the generated source code of g
with the expected output to ensure it matches the original function call.
This JavaScript code is a test case for decompilation of a function call with a new object creation. It defines a function test
that creates an anonymous function g
which calls another function a(b).c
. The test then compares the generated source code of g
with the expected output to ensure it matches the original function call.
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.
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
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.
jedit_gui.props (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 2648 lines
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.
WebKitPreBuild.cmd (https://bitbucket.org/ultra_iter/qt-vtl.git) Batch · 11 lines
dist.sh
(http://jplex.googlecode.com/svn/trunk/)
Shell · 63 lines
✨ Summary
This shell script generates a distribution package for the jPlex project, including compiled JavaScript files and demo files. It checks if a release already exists, then compiles the JavaScript code using yuicompressor, copies demo files, removes SVN directories, and moves files to the final output folder. The resulting package is named after the version number and revision.
This shell script generates a distribution package for the jPlex project, including compiled JavaScript files and demo files. It checks if a release already exists, then compiles the JavaScript code using yuicompressor, copies demo files, removes SVN directories, and moves files to the final output folder. The resulting package is named after the version number and revision.
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.
NavigationFilterDemo.java (https://bitbucket.org/__wp__/mb-linux-msli.git) Java · 205 lines
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.
windfarm_pm81.c
(http://photon-android.googlecode.com/svn/)
C · 814 lines
✨ Summary
This C code implements a thermal control system for Apple’s iMac G5 laptop. It monitors and controls the temperature of various components, such as the CPU, hard drive, and power supply, to prevent overheating. The system uses sensors and controls to adjust fan speeds and other settings to maintain optimal temperatures. It is designed to work with the Linux kernel and can be loaded as a module for use on compatible systems.
This C code implements a thermal control system for Apple’s iMac G5 laptop. It monitors and controls the temperature of various components, such as the CPU, hard drive, and power supply, to prevent overheating. The system uses sensors and controls to adjust fan speeds and other settings to maintain optimal temperatures. It is designed to work with the Linux kernel and can be loaded as a module for use on compatible systems.
723 }
725 static int __devexit wf_smu_remove(struct platform_device *ddev)
726 {
727 wf_unregister_client(&wf_smu_events);
798 }
800 static void __exit wf_smu_exit(void)
801 {
807 module_init(wf_smu_init);
808 module_exit(wf_smu_exit);
810 MODULE_AUTHOR("Benjamin Herrenschmidt <benh@kernel.crashing.org>");
bluecard_cs.c
(http://photon-android.googlecode.com/svn/)
C · 981 lines
✨ Summary
This C code implements a PCMCIA driver for a BlueCard device, which is a type of smart card reader. The driver provides configuration and control functions for the device, including opening and closing connections to the device, handling interrupts, and managing the device’s state. It also registers itself as a PCMCIA driver with the Linux kernel.
This C code implements a PCMCIA driver for a BlueCard device, which is a type of smart card reader. The driver provides configuration and control functions for the device, including opening and closing connections to the device, handling interrupts, and managing the device’s state. It also registers itself as a PCMCIA driver with the Linux kernel.
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.
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
hdlc.h
(http://photon-android.googlecode.com/svn/)
C++ Header · 132 lines
✨ Summary
This C header file provides a generic framework for HDLC (High-Level Data-Link Control) support on Linux systems. It defines structures and functions for managing HDLC devices, protocols, and operations, allowing hardware drivers to interact with the HDLC layer. The code is designed to be modular and extensible, enabling different protocols to be registered and used with the HDLC framework.
This C header file provides a generic framework for HDLC (High-Level Data-Link Control) support on Linux systems. It defines structures and functions for managing HDLC devices, protocols, and operations, allowing hardware drivers to interact with the HDLC layer. The code is designed to be modular and extensible, enabling different protocols to be registered and used with the HDLC framework.