100+ results for 'php copy'
Not the results you expected?
ConstructorNode.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 164 lines
✨ Summary
This Java class represents a constructor node in an abstract syntax tree (AST). It extends TigerNode
and provides methods to access and manipulate its parameters, type parameters, and throws clause. The toString()
method returns a string representation of the constructor node, including its formal parameters and type parameters.
This Java class represents a constructor node in an abstract syntax tree (AST). It extends TigerNode
and provides methods to access and manipulate its parameters, type parameters, and throws clause. The toString()
method returns a string representation of the constructor node, including its formal parameters and type parameters.
1 /*
2 Copyright (c) 2005, Dale Anson
3 All rights reserved.
6 are permitted provided that the following conditions are met:
8 * Redistributions of source code must retain the above copyright notice,
9 this list of conditions and the following disclaimer.
10 * Redistributions in binary form must reproduce the above copyright notice,
15 specific prior written permission.
17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
18 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
21 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
22 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
SVGFEFuncRElement.idl (https://bitbucket.org/ultra_iter/qt-vtl.git) IDL · 31 lines
1 /*
2 * Copyright (C) 2006 Apple Inc. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright
Advertiser.php (https://bitbucket.org/blackriver/openx.git) PHP · 371 lines
1 <?php
3 /*
6 | ========== |
7 | |
8 | Copyright (c) 2003-2009 OpenX Limited |
9 | For contact details, see: http://www.openx.org/ |
10 | |
19 | GNU General Public License for more details. |
20 | |
21 | You should have received a copy of the GNU General Public License |
22 | along with this program; if not, write to the Free Software |
23 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
35 // Required classes
36 require_once MAX_PATH . '/lib/OA/Dal/Statistics.php';
38 /**
counter.hpp (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines
lmmi_helper.c (https://gitlab.com/paelzer/qemu) C · 747 lines
2 * Loongson Multimedia Instruction emulation helpers for QEMU.
3 *
4 * Copyright (c) 2011 Richard Henderson <rth@twiddle.net>
5 *
6 * This library is free software; you can redistribute it and/or
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
18 */
Location.js (https://github.com/stephaneerard/qooxdoo.git) JavaScript · 406 lines
main.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 56 lines
1 /****************************************************************************
2 **
3 ** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
4 ** All rights reserved.
5 ** Contact: Nokia Corporation (qt-info@nokia.com)
13 ** modification, are permitted provided that the following conditions are
14 ** met:
15 ** * Redistributions of source code must retain the above copyright
16 ** notice, this list of conditions and the following disclaimer.
17 ** * Redistributions in binary form must reproduce the above copyright
24 ** permission.
25 **
26 ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
27 ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
28 ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
inline-javascript-imports.py (https://bitbucket.org/ultra_iter/qt-vtl.git) Python · 81 lines
1 #!/usr/bin/env python
2 #
3 # Copyright (C) 2011 Google Inc. All rights reserved.
4 #
5 # Redistribution and use in source and binary forms, with or without
7 # met:
8 #
9 # * Redistributions of source code must retain the above copyright
10 # notice, this list of conditions and the following disclaimer.
11 # * Redistributions in binary form must reproduce the above
12 # copyright notice, this list of conditions and the following disclaimer
13 # in the documentation and/or other materials provided with the
14 # distribution.
CachedImage.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 381 lines
1 /*
2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de)
3 Copyright (C) 2001 Dirk Mueller (mueller@kde.org)
4 Copyright (C) 2002 Waldo Bastian (bastian@kde.org)
5 Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com)
6 Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved.
8 This library is free software; you can redistribute it and/or
16 Library General Public License for more details.
18 You should have received a copy of the GNU Library General Public License
19 along with this library; see the file COPYING.LIB. If not, write to
ScriptState.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 96 lines
1 /*
2 * Copyright (C) 2009, 2011 Google Inc. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
6 * met:
7 *
8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above
11 * copyright notice, this list of conditions and the following disclaimer
12 * in the documentation and/or other materials provided with the
13 * distribution.
16 * this software without specific prior written permission.
17 *
18 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
faq.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 114 lines
5 <!-- -->
6 <!-- jEdit FAQ -->
7 <!-- Copyright (C) 2001-2002 John Gellene -->
9 <!-- $Id: faq.xml 3974 2002-01-17 16:57:28Z jgellene $
42 <affiliation><address><email>jgellene@nyc.rr.com</email></address></affiliation>
43 </author>
44 <copyright><year>2002</year><holder>John Gellene</holder></copyright>
45 <legalnotice><title>Legal Notice</title>
46 <para>
47 Permission is granted to copy, distribute and/or modify this document
48 under the terms of the GNU Free Documentation License, Version 1.1 or
49 any later version published by the Free Software Foundation; with no
InstallSchema.php (https://gitlab.com/svillegas/magento2) PHP · 407 lines
ezisbn10to13converter.php (https://bitbucket.org/ericsagnes/ezpublish-multisite.git) PHP · 355 lines
deletion_test.cpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ · 0 lines
✨ Summary
The code tests various scenarios for removing connections from a signal in Boost.Signals2 library, including removing self-connections, prior connections, after connections, and disconnecting equal connections. It verifies that the output matches the expected values in each test case. The tests cover different edge cases to ensure the library’s functionality is correct.
The code tests various scenarios for removing connections from a signal in Boost.Signals2 library, including removing self-connections, prior connections, after connections, and disconnecting equal connections. It verifies that the output matches the expected values in each test case. The tests cover different edge cases to ensure the library’s functionality is correct.
GrCodeReferenceElement.java (https://bitbucket.org/nbargnesi/idea.git) Java · 27 lines
content_actionhandler.php (https://github.com/SylvainGuittard/ezlightbox.git) PHP · 364 lines
1 <?php
2 //
3 // Created on: <2007-11-21 13:01:28 ab>
5 // SOFTWARE NAME: eZ Lightbox extension for eZ Publish
6 // SOFTWARE RELEASE: 0.x
7 // COPYRIGHT NOTICE: Copyright (C) 1999-2010 eZ Systems AS
8 // SOFTWARE LICENSE: GNU General Public License v2.0
9 // NOTICE: >
17 // GNU General Public License for more details.
18 //
19 // You should have received a copy of version 2.0 of the GNU General
20 // Public License along with this program; if not, write to the Free
21 // Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
AclVoterTest.php (https://gitlab.com/TouirMohamedMarwen/Symfony2) PHP · 432 lines
1 <?php
3 /*
6 * (c) Fabien Potencier <fabien@symfony.com>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
21 use Symfony\Component\Security\Acl\Voter\AclVoter;
23 class AclVoterTest extends \PHPUnit_Framework_TestCase
24 {
25 /**
Editor.php (https://github.com/adaykin/zf2.git) PHP · 601 lines
1 <?php
2 /**
3 * Zend Framework
9 * It is also available through the world-wide-web at this URL:
10 * http://framework.zend.com/license/new-bsd
11 * If you did not receive a copy of the license and are unable to
12 * obtain it through the world-wide-web, please send an email
13 * to license@zend.com so we can send you a copy immediately.
16 * @package Zend_Dojo
17 * @subpackage Form_Element
18 * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
19 * @license http://framework.zend.com/license/new-bsd New BSD License
20 */
35 * @package Zend_Dojo
36 * @subpackage Form_Element
37 * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
38 * @license http://framework.zend.com/license/new-bsd New BSD License
39 */
build.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 151 lines
99 </jar>
101 <!-- copy the plugin jar to the jedit plugin directory -->
102 <copy file="${dist.dir}/${jar.name}" todir="${install.dir}"/>
111 <echo>preparing files</echo>
113 <!-- copy the config files to deployment directory -->
114 <copy todir="${build.dir}">
118 <include name="*.html" />
119 </fileset>
120 </copy>
122 <!-- insert the build number/date into the documentation -->
ArchiveDirectoryCache.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 211 lines
✨ Summary
This Java class, ArchiveDirectoryCache
, caches remote directories to improve performance by storing their listings in a temporary file and storing the file path in a hash table for efficient lookup. It provides methods to cache, retrieve, and clear cached directory listings, as well as manage its internal state and settings directory.
This Java class, ArchiveDirectoryCache
, caches remote directories to improve performance by storing their listings in a temporary file and storing the file path in a hash table for efficient lookup. It provides methods to cache, retrieve, and clear cached directory listings, as well as manage its internal state and settings directory.
1 /*
2 * ArchiveDirectoryCache.java - Caches remote directories to improve performance
3 * Copyright (C) 2000 Slava Pestov
4 *
5 * This program is free software; you can redistribute it and/or
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with DirectoryCache.class program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Mode.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 285 lines
✨ Summary
This Java class, Mode
, represents an edit mode for a text editor. It defines settings and properties for editing specific types of files, such as syntax highlighting and folding. The class provides methods to initialize, load, and set properties, as well as check if the current buffer matches the specified file name and first line.
This Java class, Mode
, represents an edit mode for a text editor. It defines settings and properties for editing specific types of files, such as syntax highlighting and folding. The class provides methods to initialize, load, and set properties, as well as check if the current buffer matches the specified file name and first line.
4 * :folding=explicit:collapseFolds=1:
5 *
6 * Copyright (C) 1998, 1999, 2000 Slava Pestov
7 * Copyright (C) 1999 mike dillon
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
EBPlugin.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 59 lines
✨ Summary
This Java class, EBPlugin
, is an abstract base class for plugins that extend the EditBus. It provides a default implementation of handling messages sent on the bus, but warns if a subclass doesn’t override this method as expected. The class also extends another class called EditPlugin
and implements the EBComponent
interface.
This Java class, EBPlugin
, is an abstract base class for plugins that extend the EditBus. It provides a default implementation of handling messages sent on the bus, but warns if a subclass doesn’t override this method as expected. The class also extends another class called EditPlugin
and implements the EBComponent
interface.
1 /*
2 * EBPlugin.java - An EditBus plugin
3 * Copyright (C) 1999 Slava Pestov
4 *
5 * This program is free software; you can redistribute it and/or
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
SkDashPathEffect.h (https://bitbucket.org/Tsiannian/cocos2d-x.git) C++ Header · 66 lines
LaTeXPlugin.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 59 lines
✨ Summary
This Java class, LatexPlugin
, extends a plugin for an editor (JEdit) and manages LaTeX-related functionality. It adds components to and removes them from an edit bus, which is used to manage components in the editor. The class also handles messages related to LaTeX editing, but currently does nothing with them.
This Java class, LatexPlugin
, extends a plugin for an editor (JEdit) and manages LaTeX-related functionality. It adds components to and removes them from an edit bus, which is used to manage components in the editor. The class also handles messages related to LaTeX editing, but currently does nothing with them.
1 /*
2 * LaTeXPlugin.java
3 * Copyright (C) 2002 Anthony Roy
4 *
5 * This program is free software; you can redistribute it and/or
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
15.8.1.5-1.js (https://bitbucket.org/ultra_iter/qt-vtl.git) JavaScript · 66 lines
5 * The contents of this file are subject to the Mozilla Public License Version
6 * 1.1 (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
8 * http://www.mozilla.org/MPL/
9 *
18 * The Initial Developer of the Original Code is
19 * Netscape Communications Corporation.
20 * Portions created by the Initial Developer are Copyright (C) 1998
21 * the Initial Developer. All Rights Reserved.
22 *
ProjectListener.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 75 lines
✨ Summary
This is a Java interface definition for a ProjectListener
that extends the EventListener
interface. It provides methods to be notified when files are added, removed, and project properties change in a project. The listener can react to these events by implementing the corresponding methods.
This is a Java interface definition for a ProjectListener
that extends the EventListener
interface. It provides methods to be notified when files are added, removed, and project properties change in a project. The listener can react to these events by implementing the corresponding methods.
IgnoreDialog.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 172 lines
✨ Summary
This Java code creates a graphical user interface (GUI) dialog box for ignoring files and directories in a Subversion version control system. The dialog allows users to select whether to ignore specific files, directories, or patterns within directories, as well as enable recursive ignoring. It also includes options for canceling the operation and displaying the selected path, filename, pattern, and recursive status.
This Java code creates a graphical user interface (GUI) dialog box for ignoring files and directories in a Subversion version control system. The dialog allows users to select whether to ignore specific files, directories, or patterns within directories, as well as enable recursive ignoring. It also includes options for canceling the operation and displaying the selected path, filename, pattern, and recursive status.
1 /*
2 Copyright (c) 2008, Dale Anson
3 All rights reserved.
6 are permitted provided that the following conditions are met:
8 * Redistributions of source code must retain the above copyright notice,
9 this list of conditions and the following disclaimer.
10 * Redistributions in binary form must reproduce the above copyright notice,
15 specific prior written permission.
17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
18 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
21 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
22 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
BufferSwitcher.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 114 lines
✨ Summary
This Java class, BufferSwitcher
, is a part of an integrated development environment (IDE) for editing files. It creates a dropdown menu that displays a list of available buffers (files being edited). The user can select a buffer from this list and switch to it in the IDE. The class also updates the list of buffers when they change, ensuring the correct buffer is displayed.
This Java class, BufferSwitcher
, is a part of an integrated development environment (IDE) for editing files. It creates a dropdown menu that displays a list of available buffers (files being edited). The user can select a buffer from this list and switch to it in the IDE. The class also updates the list of buffers when they change, ensuring the correct buffer is displayed.
1 /*
2 * BufferSwitcher.java - Status bar
3 * Copyright (C) 2000, 2004 Slava Pestov
4 *
5 * This program is free software; you can redistribute it and/or
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Handler.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 35 lines
✨ Summary
This Java code defines a protocol handler for jEdit plugins, specifically the “list” URL protocol. It opens a connection to a plugin resource and returns an URLConnection
object that can be used to interact with the plugin. The handler is part of a larger system for managing and interacting with jEdit plugins.
This Java code defines a protocol handler for jEdit plugins, specifically the “list” URL protocol. It opens a connection to a plugin resource and returns an URLConnection
object that can be used to interact with the plugin. The handler is part of a larger system for managing and interacting with jEdit plugins.
1 /*
2 * Handler.java - jEdit plugin list URL protocol handler
3 * Copyright (C) 1999 Slava Pestov
4 *
5 * This program is free software; you can redistribute it and/or
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
unicode.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 493 lines
✨ Summary
This C code is part of a file system implementation, specifically for handling Unicode file names on Unix-like systems. It translates file names from a proprietary format to a standard format, replacing non-standard characters with marks and encoding special characters using hexadecimal codes. The code also handles file extensions and CRC (Cyclic Redundancy Check) values.
This C code is part of a file system implementation, specifically for handling Unicode file names on Unix-like systems. It translates file names from a proprietary format to a standard format, replacing non-standard characters with marks and encoding special characters using hexadecimal codes. The code also handles file extensions and CRC (Cyclic Redundancy Check) values.
FirewallOptionPane.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 131 lines
✨ Summary
This Java code defines a FirewallOptionPane
class that extends AbstractOptionPane
. It creates a GUI panel for configuring firewall settings, including HTTP and SOCKS proxy options. The panel is initialized with default values from a configuration file and allows users to enable or disable these options. When the user saves their changes, the new settings are saved to the configuration file.
This Java code defines a FirewallOptionPane
class that extends AbstractOptionPane
. It creates a GUI panel for configuring firewall settings, including HTTP and SOCKS proxy options. The panel is initialized with default values from a configuration file and allows users to enable or disable these options. When the user saves their changes, the new settings are saved to the configuration file.
4 * :folding=explicit:collapseFolds=1:
5 *
6 * Copyright (C) 1999 Dirk Moebius
7 * Portions copyright (C) 2002 Slava Pestov
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
list.cpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ · 0 lines
✨ Summary
This C++ code tests the functionality of Boost’s MPL (Meta-Programming Library) for working with lists, specifically list0
, list1
, list2
, and list9
. It verifies that the size, emptiness, front element, and next elements of these lists are correctly calculated using various MPL functions.
This C++ code tests the functionality of Boost’s MPL (Meta-Programming Library) for working with lists, specifically list0
, list1
, list2
, and list9
. It verifies that the size, emptiness, front element, and next elements of these lists are correctly calculated using various MPL functions.
decay_array.hpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ Header · 0 lines
✨ Summary
This C++ header defines a metafunction decay_array
that takes an array type as input and returns its corresponding pointer-to-element type. The function is used to decay arrays into pointers, allowing for more flexible use in template metaprogramming. It’s part of the Boost Phoenix library, providing a way to work with arrays in a more expressive and generic manner.
This C++ header defines a metafunction decay_array
that takes an array type as input and returns its corresponding pointer-to-element type. The function is used to decay arrays into pointers, allowing for more flexible use in template metaprogramming. It’s part of the Boost Phoenix library, providing a way to work with arrays in a more expressive and generic manner.
1 // Copyright 2005 Daniel Wallin.
2 // Copyright 2005 Joel de Guzman.
3 //
4 // Use, modification and distribution is subject to the Boost Software
5 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
6 // http://www.boost.org/LICENSE_1_0.txt)
7 //
8 // Modeled after range_ex, Copyright 2004 Eric Niebler
10 #ifndef PHOENIX_ALGORITHM_DETAIL_DECAY_ARRAY_HPP
numerics_fwd.hpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ Header · 0 lines
✨ Summary
This C++ header file defines a set of parsers for numerical data types, including unsigned integers, signed integers, and real numbers with various policies for decimal point handling. It provides a framework for parsing numerical values in different formats and allows users to customize the parsing behavior through template parameters. The code is part of the Boost Spirit library.
This C++ header file defines a set of parsers for numerical data types, including unsigned integers, signed integers, and real numbers with various policies for decimal point handling. It provides a framework for parsing numerical values in different formats and allows users to customize the parsing behavior through template parameters. The code is part of the Boost Spirit library.
1 /*=============================================================================
2 Copyright (C) 2006 Tobias Schwinger
3 http://spirit.sourceforge.net/
5 Distributed under the Boost Software License, Version 1.0. (See accompanying
6 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 =============================================================================*/
8 #if !defined(BOOST_SPIRIT_NUMERICS_FWD_HPP)
porting.qbk (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines
1 [/==============================================================================
2 Copyright (C) 2001-2010 Joel de Guzman
3 Copyright (C) 2001-2005 Dan Marsden
4 Copyright (C) 2001-2010 Thomas Heller
6 Distributed under the Boost Software License, Version 1.0. (See accompanying
7 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
8 ===============================================================================/]
RenderSVGShadowTreeRootContainer.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 106 lines
1 /*
2 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
3 *
4 * This library is free software; you can redistribute it and/or
12 * Library General Public License for more details.
13 *
14 * You should have received a copy of the GNU Library General Public License
15 * along with this library; see the file COPYING.LIB. If not, write to
AudioNodeInput.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 270 lines
1 /*
2 * Copyright (C) 2010, Google Inc. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright
146 if (m_renderingStateNeedUpdating && !node()->isMarkedForDeletion()) {
147 // Copy from m_outputs to m_renderingOutputs.
148 m_renderingOutputs.resize(m_outputs.size());
149 unsigned j = 0;
Fonts.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 411 lines
✨ Summary
This Java code retrieves and manipulates font properties for a graphical user interface (GUI). It checks if fonts can display localized text, such as languages and characters, and returns boolean values indicating success or failure. The code uses desktop properties to retrieve font information from the operating system’s toolkit.
This Java code retrieves and manipulates font properties for a graphical user interface (GUI). It checks if fonts can display localized text, such as languages and characters, and returns boolean values indicating success or failure. The code uses desktop properties to retrieve font information from the operating system’s toolkit.
1 /*
2 * Copyright (c) 2001-2006 JGoodies Karsten Lentzsch. All Rights Reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are met:
6 *
7 * o Redistributions of source code must retain the above copyright notice,
8 * this list of conditions and the following disclaimer.
9 *
10 * o Redistributions in binary form must reproduce the above copyright notice,
11 * this list of conditions and the following disclaimer in the documentation
12 * and/or other materials provided with the distribution.
16 * from this software without specific prior written permission.
17 *
18 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
20 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
JSSVGSetElement.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 76 lines
WebGLUniformLocation.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 59 lines
1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Google Inc. All rights reserved.
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
AssemblyInfo.cs
(http://google-gdata.googlecode.com/svn/trunk/)
C# · 23 lines
✨ Summary
This C# code is a part of an assembly definition, specifying metadata about the assembly. It includes copyright information and licensing details under the Apache License 2.0. The AssemblyDelaySign
attribute sets the delay signing behavior to false, while AssemblyKeyName
specifies an empty key name. Finally, it defines the assembly’s title as “Google Data API Contacts Library”.
This C# code is a part of an assembly definition, specifying metadata about the assembly. It includes copyright information and licensing details under the Apache License 2.0. The AssemblyDelaySign
attribute sets the delay signing behavior to false, while AssemblyKeyName
specifies an empty key name. Finally, it defines the assembly’s title as “Google Data API Contacts Library”.
stackFormat (git://github.com/ticking/self.git) Unknown · 70 lines
qUI2Events.self (git://github.com/ticking/self.git) Unknown · 284 lines
1 '$Revision: 30.1 $'
2 '
3 Copyright 1992-2006 Sun Microsystems, Inc. and Stanford University.
4 See the LICENSE file for license information.
5 '
18 bootstrap remove: 'revision' From:
19 bootstrap remove: 'subpartNames' From:
20 globals modules init copy ) From: bootstrap setObjectAnnotationOf: bootstrap stub -> 'globals' -> 'modules' -> 'qUI2Events' -> () From: ( |
21 {} = 'ModuleInfo: Creator: globals modules qUI2Events.
23 CopyDowns:
24 globals modules init. copy
75 ui2Event = bootstrap define: bootstrap stub -> 'globals' -> 'quartzGlobals' -> 'ui2Event' -> () ToBe: bootstrap addSlotsTo: (
76 bootstrap remove: 'parent' From:
77 globals abstractUI2Event copy ) From: bootstrap setObjectAnnotationOf: bootstrap stub -> 'globals' -> 'quartzGlobals' -> 'ui2Event' -> () From: ( |
78 {} = 'ModuleInfo: Creator: globals quartzGlobals ui2Event.
Tag.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 102 lines
✨ Summary
This Java class represents a tag in a source file, used by an integrated development environment (IDE). It stores information about the tag, such as its name, line number, and icon, and provides methods to access this information. The class extends another class called SourceAsset
and uses a Hashtable to store icons for different types of tags.
This Java class represents a tag in a source file, used by an integrated development environment (IDE). It stores information about the tag, such as its name, line number, and icon, and provides methods to access this information. The class extends another class called SourceAsset
and uses a Hashtable to store icons for different types of tags.
1 /*
2 Copyright (C) 2006 Shlomy Reinstein
4 This program is free software; you can redistribute it and/or
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
ConsoleBeanShell.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 97 lines
✨ Summary
This Java code defines a ConsoleBeanShell
class that executes commands in jEdit’s BeanShell interpreter. It provides methods for printing information messages, executing commands, stopping the console, and waiting for user input. The class is designed to work with jEdit’s console interface, allowing users to interact with the BeanShell interpreter from within the editor.
This Java code defines a ConsoleBeanShell
class that executes commands in jEdit’s BeanShell interpreter. It provides methods for printing information messages, executing commands, stopping the console, and waiting for user input. The class is designed to work with jEdit’s console interface, allowing users to interact with the BeanShell interpreter from within the editor.
4 * :folding=explicit:collapseFolds=1:
5 *
6 * Copyright (C) 2000, 2001 Slava Pestov
7 *
8 * This program is free software; you can redistribute it and/or
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
tip95.html
(https://jedit.svn.sourceforge.net/svnroot/jedit)
HTML · 2 lines
✨ Summary
This HTML code snippet provides instructions on how to recover deleted lines of code by pressing a specific keyboard shortcut: C+e C+y. It opens a dialog box listing the 20 most recently deleted runs of text, allowing users to easily retrieve their lost changes.
This HTML code snippet provides instructions on how to recover deleted lines of code by pressing a specific keyboard shortcut: C+e C+y. It opens a dialog box listing the 20 most recently deleted runs of text, allowing users to easily retrieve their lost changes.
1 <html><body>Suppose you delete a few lines of code, make some further changes, then realize you want the lines of code back. While you just could copy your changes to the clipboard, undo a bunch of times, and paste, there is an easier way. Simply press <b>C+e C+y</b> which will open a dialog box listing the 20 most recently deleted runs of text.</body></html>
MIShell.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 71 lines
✨ Summary
This Java class implements a custom shell for the GDB debugger, specifically designed to work with the MI (Machine Interface) protocol. It extends the BaseShell
class and overrides several methods to customize its behavior, including printing information messages and executing commands. The class is part of a larger plugin architecture for the jEdit text editor.
This Java class implements a custom shell for the GDB debugger, specifically designed to work with the MI (Machine Interface) protocol. It extends the BaseShell
class and overrides several methods to customize its behavior, including printing information messages and executing commands. The class is part of a larger plugin architecture for the jEdit text editor.
1 /*
2 Copyright (C) 2007 Shlomy Reinstein
4 This program is free software; you can redistribute it and/or
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Blame.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 156 lines
✨ Summary
This Java code is a SVN blame tool, which displays the revision history of a file by showing the author and revision number for each line of code. It takes a LogData object as input, which contains information about the SVN repository, username, password, and paths to analyze. The output is displayed on the console.
This Java code is a SVN blame tool, which displays the revision history of a file by showing the author and revision number for each line of code. It takes a LogData object as input, which contains information about the SVN repository, username, password, and paths to analyze. The output is displayed on the console.
1 /*
2 Copyright (c) 2007, Dale Anson
3 All rights reserved.
6 are permitted provided that the following conditions are met:
8 * Redistributions of source code must retain the above copyright notice,
9 this list of conditions and the following disclaimer.
10 * Redistributions in binary form must reproduce the above copyright notice,
15 specific prior written permission.
17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
18 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
21 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
22 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
TabItemWidget.java
(http://keywatch.googlecode.com/svn/trunk/)
Java · 180 lines
✨ Summary
This Java code defines a TabItemWidget
class, which represents a single tab item on a desktop panel. It displays a label and a close button, allowing users to rename or remove the associated desktop. When the close button is clicked, it prompts the user to confirm removal. If renamed, it updates the desktop’s name and saves changes.
This Java code defines a TabItemWidget
class, which represents a single tab item on a desktop panel. It displays a label and a close button, allowing users to rename or remove the associated desktop. When the close button is clicked, it prompts the user to confirm removal. If renamed, it updates the desktop’s name and saves changes.
multiple_defs1.cpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ · 0 lines
✨ Summary
This C++ code defines a regular expression pattern using Boost.Xpressive library. It creates two regex objects: srx
which matches one or more of any character (+_
) and drx
which matches one or more of any character (compiled from the string “.+”). The program then calls an external function f()
and returns its result, but does not print anything.
This C++ code defines a regular expression pattern using Boost.Xpressive library. It creates two regex objects: srx
which matches one or more of any character (+_
) and drx
which matches one or more of any character (compiled from the string “.+”). The program then calls an external function f()
and returns its result, but does not print anything.
gtl_minkowski_tutorial.htm
(http://hadesmem.googlecode.com/svn/trunk/)
HTML · 0 lines
✨ Summary
This HTML code outputs a tutorial on implementing Minkowski sum of polygons as convolution of polygon sets using the Boost.Polygon library. It includes examples, images, and licensing information. The output is a web page that explains how to use the library to perform geometric operations, including convolution, and provides an example usage with images.
This HTML code outputs a tutorial on implementing Minkowski sum of polygons as convolution of polygon sets using the Boost.Polygon library. It includes examples, images, and licensing information. The output is a web page that explains how to use the library to perform geometric operations, including convolution, and provides an example usage with images.
212 <tbody vAlign="top">
213 <tr>
214 <th class="docinfo-name">Copyright:</th>
215 <td>Copyright Š Intel Corporation 2008-2010.</td>
219 <td class="field-body">Distributed under the Boost Software License,
220 Version 1.0. (See accompanying file <tt class="literal">
221 <span class="pre">LICENSE_1_0.txt</span></tt> or copy at
222 <a class="reference" target="_top" href="http://www.boost.org/LICENSE_1_0.txt">
223 http://www.boost.org/LICENSE_1_0.txt</a>)</td>
scoped_ptr_example.hpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ Header · 0 lines
✨ Summary
This C++ header file demonstrates the usage of boost::scoped_ptr
with an incomplete type, example::implementation
. The example
class uses a private nested class implementation
and a boost::scoped_ptr
to manage its lifetime. Despite being an incomplete type in translation units using this header, boost::scoped_ptr< implementation >
is still valid due to the completeness of the type in the implementation unit where destruction is instantiated.
This C++ header file demonstrates the usage of boost::scoped_ptr
with an incomplete type, example::implementation
. The example
class uses a private nested class implementation
and a boost::scoped_ptr
to manage its lifetime. Despite being an incomplete type in translation units using this header, boost::scoped_ptr< implementation >
is still valid due to the completeness of the type in the implementation unit where destruction is instantiated.
1 // Boost scoped_ptr_example header file ------------------------------------//
3 // Copyright Beman Dawes 2001. Distributed under the Boost
4 // Software License, Version 1.0. (See accompanying file
5 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
17 // destruction is actually instantiated.
19 class example : private boost::noncopyable
20 {
21 public:
qnodefns_p.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 176 lines
1 /****************************************************************************
2 **
3 ** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
4 ** All rights reserved.
5 ** Contact: Nokia Corporation (qt-info@nokia.com)
26 ** file. Please review the following information to ensure the GNU General
27 ** Public License version 3.0 requirements will be met:
28 ** http://www.gnu.org/copyleft/gpl.html.
29 **
30 ** Other Usage
kcomedilib_main.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 561 lines
✨ Summary
This C code implements a device driver for a generic serial interface, providing a framework for managing multiple devices and handling various ioctl operations such as locking, canceling, polling, mapping, and unmapping. It provides a flexible way to register callback functions and handle asynchronous operations. The code is designed to be portable across different platforms.
This C code implements a device driver for a generic serial interface, providing a framework for managing multiple devices and handling various ioctl operations such as locking, canceling, polling, mapping, and unmapping. It provides a flexible way to register callback functions and handle asynchronous operations. The code is designed to be portable across different platforms.
5 COMEDI - Linux Control and Measurement Device Interface
6 Copyright (C) 1997-2000 David A. Schleef <ds@schleef.org>
8 This program is free software; you can redistribute it and/or modify
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
listitem.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 109 lines
1 /****************************************************************************
2 **
3 ** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
4 ** All rights reserved.
5 ** Contact: Nokia Corporation (qt-info@nokia.com)
26 ** file. Please review the following information to ensure the GNU General
27 ** Public License version 3.0 requirements will be met:
28 ** http://www.gnu.org/copyleft/gpl.html.
29 **
30 ** Other Usage
94 private:
95 Q_DISABLE_COPY(ListItem)
96 QGraphicsGridLayout *m_txtlayout;
97 QGraphicsLinearLayout *m_layout;
Include_Guard.bsh (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 97 lines
4 * directive in current buffer to ensure that header is included only
5 * once per compilation unit
6 * Copyright (C) 2001 John Gellene
7 * jgellene@nyc.rr.com
8 * http://community.jedit.org
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with the jEdit program; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
WordWrap.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 65 lines
✨ Summary
This Java code defines a custom action for a text editor, specifically Log Viewer. When triggered, it toggles word wrapping (line wrapping) on or off in the currently selected log file. It uses a separate class to handle the action and interacts with the main application’s GUI components. The action is part of a larger plugin for the jEdit text editor.
This Java code defines a custom action for a text editor, specifically Log Viewer. When triggered, it toggles word wrapping (line wrapping) on or off in the currently selected log file. It uses a separate class to handle the action and interacts with the main application’s GUI components. The action is part of a larger plugin for the jEdit text editor.
1 /*
2 * Copyright (C) 2003 Don Brown (mrdon@techie.com)
3 * Copyright (C) 2000, 2001 Greg Merrill (greghmerrill@yahoo.com)
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with Log Viewer; if not, write to the Free Software
15 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
InstallPanel.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 1155 lines
✨ Summary
This Java code is part of a plugin manager for an IDE (Integrated Development Environment). It provides functionality to manage plugins, including sorting and filtering plugin information, displaying plugin details in a table, and handling keyboard and mouse events. The code also includes rendering and focus management for the plugin table.
This Java code is part of a plugin manager for an IDE (Integrated Development Environment). It provides functionality to manage plugins, including sorting and filtering plugin information, displaying plugin details in a table, and handling keyboard and mouse events. The code also includes rendering and focus management for the plugin table.
4 * :folding=explicit:collapseFolds=1:
5 *
6 * Copyright (C) 2002 Kris Kopicki
7 *
8 * This program is free software; you can redistribute it and/or
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
KeyboardCommand.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 32 lines
✨ Summary
This Java code defines an enumeration called KeyboardCommand
with five possible values: NONE
, TAB_OUT_FORWARD
, TAB_OUT_BACK
, EDIT_PLUGIN
, and CLOSE_PLUGIN_MANAGER
. It appears to be part of a plugin manager for the jEdit text editor, allowing different keyboard commands to be executed.
This Java code defines an enumeration called KeyboardCommand
with five possible values: NONE
, TAB_OUT_FORWARD
, TAB_OUT_BACK
, EDIT_PLUGIN
, and CLOSE_PLUGIN_MANAGER
. It appears to be part of a plugin manager for the jEdit text editor, allowing different keyboard commands to be executed.
4 * :folding=explicit:collapseFolds=1:
5 *
6 * Copyright  2010 jEdit contributors
7 *
8 * This program is free software; you can redistribute it and/or
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
CommandLineReader.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 108 lines
✨ Summary
This Java code creates a custom Reader
class called CommandLineReader
that modifies the behavior of the standard input stream when reading from the command line. It treats empty lines as ‘;\n’ to make the interpreter more user-friendly, but ignores this behavior when reading from files non-interactively.
This Java code creates a custom Reader
class called CommandLineReader
that modifies the behavior of the standard input stream when reading from the command line. It treats empty lines as ‘;\n’ to make the interpreter more user-friendly, but ignores this behavior when reading from files non-interactively.
8 * The contents of this file are subject to the Sun Public License Version *
9 * 1.0 (the "License"); you may not use this file except in compliance with *
10 * the License. A copy of the License is available at http://www.sun.com *
11 * *
12 * The Original Code is BeanShell. The Initial Developer of the Original *
13 * Code is Pat Niemeyer. Portions created by Pat Niemeyer are Copyright *
14 * (C) 2000. All Rights Reserved. *
15 * *
KeyframeAnimation.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 101 lines
1 /*
2 * Copyright (C) 2007 Apple Inc. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
AccessibilityListBoxOption.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 79 lines
1 /*
2 * Copyright (C) 2008 Apple Inc. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
JavaArrayJSC.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 67 lines
1 /*
2 * Copyright (C) 2003, 2004, 2005, 2007, 2009, 2010 Apple Inc. All rights reserved.
3 * Copyright 2010, The Android Open Source Project
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
CvsQuickListContentProvider.java (https://bitbucket.org/nbargnesi/idea.git) Java · 49 lines
MouseOptionPane.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 154 lines
✨ Summary
This Java code defines a custom options panel for a text editor, specifically for mouse-related settings. It allows users to configure various mouse actions, such as dragging and dropping text, joining non-word characters, pasting from middle mouse button clicks, and modifying gutter click behavior. The settings are saved when the user closes the options panel.
This Java code defines a custom options panel for a text editor, specifically for mouse-related settings. It allows users to configure various mouse actions, such as dragging and dropping text, joining non-word characters, pasting from middle mouse button clicks, and modifying gutter click behavior. The settings are saved when the user closes the options panel.
4 * :folding=explicit:collapseFolds=1:
5 *
6 * Copyright (C) 2003 Slava Pestov
7 *
8 * This program is free software; you can redistribute it and/or
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
ActionContext.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 72 lines
✨ Summary
This Java class, ActionContext
, manages a collection of action sets for an editor and browser application. It provides methods to retrieve actions by name and get the action set that contains a specified action. The class is part of the jEdit project and has been maintained since version 4.2pre1.
This Java class, ActionContext
, manages a collection of action sets for an editor and browser application. It provides methods to retrieve actions by name and get the action set that contains a specified action. The class is part of the jEdit project and has been maintained since version 4.2pre1.
4 * :folding=explicit:collapseFolds=1:
5 *
6 * Copyright (C) 1998, 2003 Slava Pestov
7 *
8 * This program is free software; you can redistribute it and/or
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
SortedSequence.html
(http://xbird.googlecode.com/svn/trunk/)
HTML · 297 lines
✨ Summary
This is a rendered HTML page that displays the contents of a Java class file, specifically the KeyStrippingIterator
class. The code shows the class’s constructor, methods, and fields, providing a detailed view of its implementation. It appears to be generated by a tool such as javadoc or a Java IDE.
This is a rendered HTML page that displays the contents of a Java class file, specifically the KeyStrippingIterator
class. The code shows the class’s constructor, methods, and fields, providing a detailed view of its implementation. It appears to be generated by a tool such as javadoc or a Java IDE.
5 <FONT color="green">002</FONT> * @(#)$Id: SortedSequence.java 3619 2008-03-26 07:23:03Z yui $<a name="line.2"></a>
6 <FONT color="green">003</FONT> *<a name="line.3"></a>
7 <FONT color="green">004</FONT> * Copyright 2006-2008 Makoto YUI<a name="line.4"></a>
8 <FONT color="green">005</FONT> *<a name="line.5"></a>
9 <FONT color="green">006</FONT> * Licensed under the Apache License, Version 2.0 (the "License");<a name="line.6"></a>
10 <FONT color="green">007</FONT> * you may not use this file except in compliance with the License.<a name="line.7"></a>
11 <FONT color="green">008</FONT> * You may obtain a copy of the License at<a name="line.8"></a>
12 <FONT color="green">009</FONT> *<a name="line.9"></a>
13 <FONT color="green">010</FONT> * http://www.apache.org/licenses/LICENSE-2.0<a name="line.10"></a>
dimens.xml (http://softkeyboard.googlecode.com/svn/) text · 0 lines
3 /*
4 **
5 ** Copyright 2008, The Android Open Source Project
6 **
7 ** Licensed under the Apache License, Version 2.0 (the "License");
8 ** you may not use this file except in compliance with the License.
9 ** You may obtain a copy of the License at
10 **
11 ** http://www.apache.org/licenses/LICENSE-2.0
CharIndexedSegment.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 98 lines
✨ Summary
This Java class, CharIndexedSegment
, provides a way to search within Segment
objects using regular expressions from the gnu.regexp
package. It allows for searching in both forward and reverse directions, with methods to get the character at a specific index, check if an index is valid, reset the index, and move the index by a certain amount.
This Java class, CharIndexedSegment
, provides a way to search within Segment
objects using regular expressions from the gnu.regexp
package. It allows for searching in both forward and reverse directions, with methods to get the character at a specific index, check if an index is valid, reset the index, and move the index by a certain amount.
4 * :folding=explicit:collapseFolds=1:
5 *
6 * Copyright (C) 1998 Wes Biggs
7 * Copyright (C) 2000, 2001 Slava Pestov
17 * GNU Library General Public License for more details.
18 *
19 * You should have received a copy of the GNU Library General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
TemplateSettings.java (https://bitbucket.org/nbargnesi/idea.git) Java · 747 lines
OptionsManager.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 203 lines
✨ Summary
This Java class, OptionsManager
, is a singleton that manages settings for a Lucene plugin. It loads and saves settings from an XML file, storing options such as automatically indexing projects, directories, file name regex, and index interval. The class provides methods to get and set these options, as well as clear the settings.
This Java class, OptionsManager
, is a singleton that manages settings for a Lucene plugin. It loads and saves settings from an XML file, storing options such as automatically indexing projects, directories, file name regex, and index interval. The class provides methods to get and set these options, as well as clear the settings.
1 /*
2 * Copyright (c) 2008 Eric Berry <elberry@gmail.com>
3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a copy
5 * of this software and associated documentation files (the "Software"), to deal
6 * in the Software without restriction, including without limitation the rights
7 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8 * copies of the Software, and to permit persons to whom the Software is
9 * furnished to do so, subject to the following conditions:
10 *
11 * The above copyright notice and this permission notice shall be included in
12 * all copies or substantial portions of the Software.
13 *
15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
EditBus.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 167 lines
✨ Summary
The EditBus
class is a global event notification mechanism for jEdit, a text editor. It allows plugins and other components to receive messages reflecting changes in the application’s state, such as buffer changes or property updates. The bus maintains a list of registered components, which receive messages sent using the send()
method.
The EditBus
class is a global event notification mechanism for jEdit, a text editor. It allows plugins and other components to receive messages reflecting changes in the application’s state, such as buffer changes or property updates. The bus maintains a list of registered components, which receive messages sent using the send()
method.
4 * :folding=explicit:collapseFolds=1:
5 *
6 * Copyright (C) 1999 Slava Pestov
7 *
8 * This program is free software; you can redistribute it and/or
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
82 {
83 components.add(comp);
84 copyComponents = null;
85 }
86 } //}}}
dist_nc_f_incl_test.cpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ · 0 lines
✨ Summary
This C++ code is a test for the non_central_f
distribution header, ensuring that all necessary files are included and compiled correctly. It includes the header file itself, another test file, and template instantiations for different data types to verify compilation results. The purpose is to validate the correctness of the non_central_f
distribution implementation.
This C++ code is a test for the non_central_f
distribution header, ensuring that all necessary files are included and compiled correctly. It includes the header file itself, another test file, and template instantiations for different data types to verify compilation results. The purpose is to validate the correctness of the non_central_f
distribution implementation.
1 // Copyright John Maddock 2008.
2 // Use, modification and distribution are subject to the
3 // Boost Software License, Version 1.0. (See accompanying file
4 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5 //
6 // Basic sanity check that header <boost/math/distributions/non_central_f.hpp>
ellint_3.html
(http://hadesmem.googlecode.com/svn/trunk/)
HTML · 0 lines
✨ Summary
This HTML code outputs a documentation page for a mathematical function, specifically the elliptic integral of the third kind. It provides information on the function’s properties, usage, and implementation details, including its relation to Carlson’s integrals. The page includes equations, diagrams, and references to external resources, such as the Boost Software License.
This HTML code outputs a documentation page for a mathematical function, specifically the elliptic integral of the third kind. It provides information on the function’s properties, usage, and implementation details, including its relation to Carlson’s integrals. The page includes equations, diagrams, and references to external resources, such as the Boost Software License.
309 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
310 <td align="left"></td>
311 <td align="right"><div class="copyright-footer">Copyright © 2006 , 2007, 2008, 2009, 2010 John Maddock, Paul A. Bristow,
312 Hubert Holin, Xiaogang Zhang, Bruno Lalande, Johan Råde, Gautam Sewani and
313 Thijs van den Berg<p>
314 Distributed under the Boost Software License, Version 1.0. (See accompanying
315 file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
316 </p>
317 </div></td>
InstallMacrosDialog.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 532 lines
✨ Summary
This Java code is for a graphical user interface (GUI) dialog box that allows users to manage and download macros from a database. It provides features such as sorting, searching, and selecting macros to download. The GUI includes buttons, text fields, and lists to display the available macros and their properties.
This Java code is for a graphical user interface (GUI) dialog box that allows users to manage and download macros from a database. It provides features such as sorting, searching, and selecting macros to download. The GUI includes buttons, text fields, and lists to display the available macros and their properties.
4 * :folding=explicit:collapseFolds=1:
5 *
6 * Copyright (C) 2002 Carmine Lucarelli
7 *
8 * This program is free software; you can redistribute it and/or
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
cache.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 416 lines
✨ Summary
This C code implements a caching system for file systems, known as FS-Cache. It allows multiple file systems to share cached data and reduces I/O operations by storing frequently accessed files in memory. The code provides functions to add, remove, and manage caches, as well as handle errors and withdraw caches from service.
This C code implements a caching system for file systems, known as FS-Cache. It allows multiple file systems to share cached data and reduces I/O operations by storing frequently accessed files in memory. The code provides functions to add, remove, and manage caches, as well as handle errors and withdraw caches from service.
platform.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 131 lines
✨ Summary
This C code implements a device driver framework for Linux, specifically designed to work with the Open Firmware (OF) protocol. It provides functions and macros for registering, unregistering, and managing OF-based devices, including probe, remove, suspend, resume, and shutdown operations. The code also defines a bus type that matches OF devices using a custom match function.
This C code implements a device driver framework for Linux, specifically designed to work with the Open Firmware (OF) protocol. It provides functions and macros for registering, unregistering, and managing OF-based devices, including probe, remove, suspend, resume, and shutdown operations. The code also defines a bus type that matches OF devices using a custom match function.
BufferChanging.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 67 lines
✨ Summary
This Java class, BufferChanging
, is a message sent by the EditPane when its buffer changes. It notifies plugins that the buffer has changed and provides the new buffer object. The class extends PositionChanging
and includes error checking to ensure the new buffer is not null. It also logs an error if it is.
This Java class, BufferChanging
, is a message sent by the EditPane when its buffer changes. It notifies plugins that the buffer has changed and provides the new buffer object. The class extends PositionChanging
and includes error checking to ensure the new buffer is not null. It also logs an error if it is.
4 * :folding=explicit:collapseFolds=1:
5 *
6 * Copyright (C) 2006 Alan Ezust
7 *
8 * This program is free software; you can redistribute it and/or
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
AuthenticationChallengeBase.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 113 lines
1 /*
2 * Copyright (C) 2007 Apple Inc. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright
ImageDecoderQt.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 81 lines
1 /*
2 * Copyright (C) 2006 Friedemann Kleint <fkleint@trolltech.com>
3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
SocketStreamHandleBase.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 72 lines
1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Google Inc. All rights reserved.
7 * met:
8 *
9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 * * Redistributions in binary form must reproduce the above
12 * copyright notice, this list of conditions and the following disclaimer
13 * in the documentation and/or other materials provided with the
14 * distribution.
17 * this software without specific prior written permission.
18 *
19 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
thread_data.hpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ Header · 0 lines
✨ Summary
This C++ header file provides a thread management system for Windows, including thread creation, interruption, and waiting. It defines a thread_data_base
class that manages thread-specific data, such as handles and callbacks. The this_thread
namespace provides functions for yielding control to other threads, interruptible waiting, and sleeping with optional timeouts.
This C++ header file provides a thread management system for Windows, including thread creation, interruption, and waiting. It defines a thread_data_base
class that manages thread-specific data, such as handles and callbacks. The this_thread
namespace provides functions for yielding control to other threads, interruptible waiting, and sleeping with optional timeouts.
always.hpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ Header · 0 lines
✨ Summary
This C++ header defines a metafunction always
that takes a single value of type Value
. The function is designed to always return its input value, regardless of the type of the input. It uses Boost.MPL (Meta-Programming Library) to achieve this functionality. The code includes necessary preprocessor directives and documentation comments for licensing and copyright information.
This C++ header defines a metafunction always
that takes a single value of type Value
. The function is designed to always return its input value, regardless of the type of the input. It uses Boost.MPL (Meta-Programming Library) to achieve this functionality. The code includes necessary preprocessor directives and documentation comments for licensing and copyright information.
Threshold.h
(https://freespeech.svn.sourceforge.net/svnroot/freespeech)
C++ Header · 47 lines
✨ Summary
This C++ header file defines a class Threshold
that inherits from Node
. It represents a node in a graphical processing pipeline, specifically for applying a threshold to an image. The class has a constructor, destructor, and a method to retrieve output data. It also includes copyright information and licensing details under the GNU General Public License.
This C++ header file defines a class Threshold
that inherits from Node
. It represents a node in a graphical processing pipeline, specifically for applying a threshold to an image. The class has a constructor, destructor, and a method to retrieve output data. It also includes copyright information and licensing details under the GNU General Public License.
1 // Copyright (C) 2000 Dominic Letourneau (doumdi@yahoo.com)
2 //
3 // This program is free software; you can redistribute it and/or modify
11 // General Public License for more details.
12 //
13 // You should have received a copy of the GNU General Public License
14 // along with this file. If not, write to the Free Software Foundation,
15 // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
RepositoryBeanInfo.java (https://bitbucket.org/nbargnesi/idea.git) Java · 46 lines
sharpsl_param.h
(http://omnia2droid.googlecode.com/svn/trunk/)
C++ Header · 38 lines
✨ Summary
This C++ header defines a struct sharpsl_param_info
that contains hardware parameters specific to Sharp SL series devices, such as display settings and touch input configurations. The struct is packed tightly in memory to save space. It also declares an external variable sharpsl_param
of type sharpsl_param_info
, and a function sharpsl_save_param
that presumably saves the device’s parameters to storage.
This C++ header defines a struct sharpsl_param_info
that contains hardware parameters specific to Sharp SL series devices, such as display settings and touch input configurations. The struct is packed tightly in memory to save space. It also declares an external variable sharpsl_param
of type sharpsl_param_info
, and a function sharpsl_save_param
that presumably saves the device’s parameters to storage.
BeanShellEvaluator.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 47 lines
✨ Summary
This Java class, BeanShellEvaluator
, extends a Preprocessor
and provides a method to process SQL text using BeanShell, a scripting language. The doProcess
method takes a string input, evaluates it in the context of a BeanShell namespace, and returns the result as a string.
This Java class, BeanShellEvaluator
, extends a Preprocessor
and provides a method to process SQL text using BeanShell, a scripting language. The doProcess
method takes a string input, evaluates it in the context of a BeanShell namespace, and returns the result as a string.
1 /**
2 * BeanShellEvaluator.java - Sql Plugin
3 * Copyright (C) 2001 Sergey V. Udaltsov
4 * svu@users.sourceforge.net
5 *
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
JCompiler.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 454 lines
✨ Summary
This Java code is a compiler for Java programs. It takes a set of .java
files, compiles them into bytecode, and then runs the resulting classes using Sun’s javac
tool. The compiled output is displayed in a GUI window, allowing users to view the compilation process and any errors that occur.
This Java code is a compiler for Java programs. It takes a set of .java
files, compiles them into bytecode, and then runs the resulting classes using Sun’s javac
tool. The compiled output is displayed in a GUI window, allowing users to view the compilation process and any errors that occur.
10 * GNU General Public License for more details.
11 *
12 * You should have received a copy of the GNU General Public License
13 * along with this program; if not, write to the Free Software
14 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
356 arguments = new String[vectorArgs.size()];
357 vectorArgs.copyInto(arguments);
QuickNotepad.props (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 68 lines
26 quicknotepad.choose-file \
27 quicknotepad.save-file \
28 quicknotepad.copy-to-buffer
30 # action labels for actions supplied by dockables.xml
34 quicknotepad.choose-file.label=Choose notepad file
35 quicknotepad.save-file.label=Save notepad file
36 quicknotepad.copy-to-buffer.label=Copy notepad to buffer
38 # plugin option pane
56 quicknotepad.choose-file.icon=Open.png
57 quicknotepad.save-file.icon=Save.png
58 quicknotepad.copy-to-buffer.icon=CopyToBuffer.png
60 # default settings
nommgr.h
(http://angel-engine.googlecode.com/svn/trunk/)
C Header · 61 lines
✨ Summary
This C header code is a stub for a memory management and tracking software, likely a custom implementation of malloc and friends. It undefines the standard library’s malloc and related functions to prevent accidental use of the original implementations. The code also includes copyright information and restrictions on usage and redistribution.
This C header code is a stub for a memory management and tracking software, likely a custom implementation of malloc and friends. It undefines the standard library’s malloc and related functions to prevent accidental use of the original implementations. The code also includes copyright information and restrictions on usage and redistribution.
20 // * If you use this software (in part or in whole) you must credit the author.
21 // * This software may not be re-distributed (in part or in whole) in a modified
22 // form without clear documentation on how to obtain a copy of the original work.
23 // * You may not use this software to directly or indirectly cause harm to others.
24 // * This software is provided as-is and without warrantee. Use at your own risk.
29 // Originally created on 12/22/2000 by Paul Nettle
30 //
31 // Copyright 2000, Fluid Studios, Inc., all rights reserved.
32 // ---------------------------------------------------------------------------------------------------------------------------------
AbbrevsOptionPane.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 508 lines
✨ Summary
This Java code is a GUI application for managing abbreviations and expansions. It allows users to add, remove, and sort abbreviations based on their text content. The data is stored in a Hashtable
and displayed in a table with two columns: abbreviation and expansion. The application uses a custom comparator to sort the data alphabetically.
This Java code is a GUI application for managing abbreviations and expansions. It allows users to add, remove, and sort abbreviations based on their text content. The data is stored in a Hashtable
and displayed in a table with two columns: abbreviation and expansion. The application uses a custom comparator to sort the data alphabetically.
4 * :folding=explicit:collapseFolds=1:
5 *
6 * Copyright (C) 1999, 2000, 2001, 2002 Slava Pestov
7 *
8 * This program is free software; you can redistribute it and/or
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Iterator.cc
(https://freespeech.svn.sourceforge.net/svnroot/freespeech)
C++ · 158 lines
✨ Summary
This C++ code defines a class Iterator
that implements an iterator node in a network of nodes. It provides methods to get output, connect to other nodes, and initialize itself based on parameters and conditions. The iterator’s behavior is controlled by the presence of certain parameters and nodes, such as a condition node and a do-while loop flag.
This C++ code defines a class Iterator
that implements an iterator node in a network of nodes. It provides methods to get output, connect to other nodes, and initialize itself based on parameters and conditions. The iterator’s behavior is controlled by the presence of certain parameters and nodes, such as a condition node and a do-while loop flag.
1 // Copyright (C) 1999 Jean-Marc Valin & Dominic Letourneau
2 //
3 // This program is free software; you can redistribute it and/or modify
11 // General Public License for more details.
12 //
13 // You should have received a copy of the GNU General Public License
14 // along with this file. If not, write to the Free Software Foundation,
15 // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Makefile.in.in (https://freespeech.svn.sourceforge.net/svnroot/freespeech) Unknown · 250 lines
LoadLibraryWithNonConstantStringInspection.java (https://bitbucket.org/nbargnesi/idea.git) Java · 95 lines
TagHighlight.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 370 lines
✨ Summary
This Java code is a part of an editor plugin that highlights matching XML tags in a text editor. It uses a combination of buffer changes and caret updates to detect when a tag is being edited, and then updates the highlighting accordingly. The plugin also handles cases where a tag is inserted or removed from the buffer.
This Java code is a part of an editor plugin that highlights matching XML tags in a text editor. It uses a combination of buffer changes and caret updates to detect when a tag is being edited, and then updates the highlighting accordingly. The plugin also handles cases where a tag is inserted or removed from the buffer.
audio.h
(https://freespeech.svn.sourceforge.net/svnroot/freespeech)
C Header · 25 lines
✨ Summary
This C header file defines three inline functions for audio processing: bark
, dB
, and undB
. The bark
function calculates a bark scale value from a frequency, while dB
converts a sound pressure level to decibels. The undB
function reverses this conversion, returning the original sound pressure level from a decibel value. These functions are likely used in speech processing or audio analysis applications.
This C header file defines three inline functions for audio processing: bark
, dB
, and undB
. The bark
function calculates a bark scale value from a frequency, while dB
converts a sound pressure level to decibels. The undB
function reverses this conversion, returning the original sound pressure level from a decibel value. These functions are likely used in speech processing or audio analysis applications.
sh7763rdp_defconfig (http://omnia2droid.googlecode.com/svn/trunk/) Unknown · 1237 lines
750 # CONFIG_FB_BOOT_VESA_SUPPORT is not set
751 CONFIG_FB_CFB_FILLRECT=y
752 CONFIG_FB_CFB_COPYAREA=y
753 CONFIG_FB_CFB_IMAGEBLIT=y
754 # CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
755 # CONFIG_FB_SYS_FILLRECT is not set
756 # CONFIG_FB_SYS_COPYAREA is not set
757 # CONFIG_FB_SYS_IMAGEBLIT is not set
758 CONFIG_FB_FOREIGN_ENDIAN=y
board-ap325rxa.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 567 lines
✨ Summary
This C code is a board-specific initialization and configuration for an embedded system, likely a SoC (System-on-Chip) based device. It sets up various peripherals such as GPIO pins, I2C, SPI, and CEU interfaces, and configures the boot mode pin settings. The code also defines a machine vector that identifies the specific hardware configuration of the AP-325RXA board.
This C code is a board-specific initialization and configuration for an embedded system, likely a SoC (System-on-Chip) based device. It sets up various peripherals such as GPIO pins, I2C, SPI, and CEU interfaces, and configures the boot mode pin settings. The code also defines a machine vector that identifies the specific hardware configuration of the AP-325RXA board.
3 * (Compatible with Algo System ., LTD. - AP-320A)
4 *
5 * Copyright (C) 2008 Renesas Solutions Corp.
6 * Author : Yusuke Goda <goda.yuske@renesas.com>
7 *
8 * This file is subject to the terms and conditions of the GNU General Public
9 * License. See the file "COPYING" in the main directory of this archive
10 * for more details.
11 */
swsusp_asm64.S
(http://omnia2droid.googlecode.com/svn/trunk/)
Assembly · 185 lines
✨ Summary
This Assembly code implements a swsusp (Software Suspend) function for the S390 architecture, which is used to suspend and resume the execution of a process. It saves the current state of the process, suspends its execution, and then restores the saved state when resuming execution. The code handles both suspension and restoration of the process, including saving and restoring registers, stack pointers, and other relevant information.
This Assembly code implements a swsusp (Software Suspend) function for the S390 architecture, which is used to suspend and resume the execution of a process. It saves the current state of the process, suspends its execution, and then restores the saved state when resuming execution. The code handles both suspension and restoration of the process, including saving and restoring registers, stack pointers, and other relevant information.
CurrentBufferSet.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 67 lines
✨ Summary
This Java class, CurrentBufferSet
, implements a file set for searching the current buffer in an editor. It provides methods to get the first, next, and all files in the set, as well as the total number of files and code associated with it. The class is designed to work within an editor’s search functionality, allowing users to search the contents of the currently open file.
This Java class, CurrentBufferSet
, implements a file set for searching the current buffer in an editor. It provides methods to get the first, next, and all files in the set, as well as the total number of files and code associated with it. The class is designed to work within an editor’s search functionality, allowing users to search the contents of the currently open file.
4 * :folding=explicit:collapseFolds=1:
5 *
6 * Copyright (C) 1999, 2001 Slava Pestov
7 *
8 * This program is free software; you can redistribute it and/or
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Selection.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 230 lines
✨ Summary
This Java code defines an abstract class Selection
that represents a portion of text in a buffer. It provides methods to get the start and end offsets, as well as line numbers, of the selection. The class also extends two concrete classes: Range
for ordinary range selections and Rect
for rectangular selections.
This Java code defines an abstract class Selection
that represents a portion of text in a buffer. It provides methods to get the start and end offsets, as well as line numbers, of the selection. The class also extends two concrete classes: Range
for ordinary range selections and Rect
for rectangular selections.
4 * :folding=explicit:collapseFolds=1:
5 *
6 * Copyright (C) 2001 Slava Pestov
7 *
8 * This program is free software; you can redistribute it and/or
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
110 //{{{ Selection constructor
111 protected Selection(Selection copy)
112 {
113 start = copy.start;
ScriptingCore.cpp (https://bitbucket.org/Tsiannian/cocos2d-x.git) C++ · 882 lines
4 //
5 // Created by Rolando Abarca on 3/14/12.
6 // Copyright (c) 2012 Zynga Inc. All rights reserved.
7 //
789 jsval std_string_to_jsval(JSContext* cx, std::string& v) {
790 JSString *str = JS_NewStringCopyZ(cx, v.c_str());
791 return STRING_TO_JSVAL(str);
792 }
794 jsval c_string_to_jsval(JSContext* cx, const char* v) {
795 JSString *str = JS_NewStringCopyZ(cx, v);
796 return STRING_TO_JSVAL(str);
797 }
signed_int.html
(http://hadesmem.googlecode.com/svn/trunk/)
HTML · 0 lines
✨ Summary
This HTML code outputs a documentation page for Boost libraries, specifically the numeric generators section. It displays information about various numeric generator functions, including their syntax, parameters, and return types. The page includes links to related sections and a copyright notice at the bottom.
This HTML code outputs a documentation page for Boost libraries, specifically the numeric generators section. It displays information about various numeric generator functions, including their syntax, parameters, and return types. The page includes links to related sections and a copyright notice at the bottom.
258 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
259 <td align="left"></td>
260 <td align="right"><div class="copyright-footer">Copyright © 2001-2011 Joel de Guzman, Hartmut Kaiser<p>
261 Distributed under the Boost Software License, Version 1.0. (See accompanying
262 file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
word_count_functor.flex (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines
emb-qvfb.qdoc (https://bitbucket.org/ultra_iter/qt-vtl.git) Unknown · 278 lines
year.hpp (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines
2 // unit/quantity manipulation and conversion
3 //
4 // Copyright (C) 2003-2008 Matthias Christian Schabel
5 // Copyright (C) 2007-2008 Steven Watanabe
6 //
7 // Distributed under the Boost Software License, Version 1.0. (See
8 // accompanying file LICENSE_1_0.txt or copy at
9 // http://www.boost.org/LICENSE_1_0.txt)
SubduedFillPainter.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 56 lines
✨ Summary
This Java class, SubduedFillPainter
, extends a parent class to create a fill painter that returns images with a subdued 3D gradient appearance. It overrides two methods to adjust the colors used in the gradient, resulting in a milder and less intense visual effect compared to its parent class.
This Java class, SubduedFillPainter
, extends a parent class to create a fill painter that returns images with a subdued 3D gradient appearance. It overrides two methods to adjust the colors used in the gradient, resulting in a milder and less intense visual effect compared to its parent class.
1 /*
2 * Copyright (c) 2005-2010 Substance Kirill Grouchnikov. All Rights Reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are met:
6 *
7 * o Redistributions of source code must retain the above copyright notice,
8 * this list of conditions and the following disclaimer.
9 *
10 * o Redistributions in binary form must reproduce the above copyright notice,
11 * this list of conditions and the following disclaimer in the documentation
12 * and/or other materials provided with the distribution.
16 * from this software without specific prior written permission.
17 *
18 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
20 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PngFile.c
(http://angel-engine.googlecode.com/svn/trunk/)
C · 443 lines
✨ Summary
This C code provides functions for reading and writing PNG (Portable Network Graphics) files. The png_read_data
function reads data from a file, while png_write_data
writes data to a file. The png_flush
function is used to flush the output buffer after writing data. The png_read
and png_write
functions are wrappers around these three functions, providing a more convenient interface for reading and writing PNG files.
This C code provides functions for reading and writing PNG (Portable Network Graphics) files. The png_read_data
function reads data from a file, while png_write_data
writes data to a file. The png_flush
function is used to flush the output buffer after writing data. The png_read
and png_write
functions are wrappers around these three functions, providing a more convenient interface for reading and writing PNG files.
SecondUnsafeCallTest.java (https://bitbucket.org/nbargnesi/idea.git) Java · 53 lines
pdx7.adsr~.pd (git://github.com/pd-projects/pdx7.git) Unknown · 427 lines
7 #X obj 15 13 inlet substate;
8 #X obj 15 35 route substate;
9 #X obj 159 55 r \$0-copy;
10 #X msg 159 76 copy;
73 #X connect 5 1 3 1;
74 #X restore 524 30 pd cnv.ctl;
75 #X obj 669 90 bng 15 250 50 0 \$0-copy empty copy 0 -6 0 8 -225271
76 -1 -1;
77 #X obj 669 118 bng 15 250 50 0 \$0-paste empty paste 0 -6 0 8 -257472
BrowserListener.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 47 lines
✨ Summary
This Java interface defines a listener for events related to file selection and activation in a Virtual File System (VFS) browser. It provides two methods: filesSelected
and filesActivated
, which are called when files are selected and double-clicked, respectively, allowing the listener to respond to these events.
This Java interface defines a listener for events related to file selection and activation in a Virtual File System (VFS) browser. It provides two methods: filesSelected
and filesActivated
, which are called when files are selected and double-clicked, respectively, allowing the listener to respond to these events.
1 /*
2 * BrowserListener.java - VFS browser listener
3 * Copyright (C) 2000 Slava Pestov
4 *
5 * This program is free software; you can redistribute it and/or
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
CompletionInfoHandler.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 161 lines
✨ Summary
This Java class, CompletionInfoHandler
, extends the default handler for XML parsing and provides a custom implementation to handle completion information. It processes XML elements, attributes, and entities to populate a CompletionInfo
object with relevant data, such as entity declarations, element definitions, and attribute specifications.
This Java class, CompletionInfoHandler
, extends the default handler for XML parsing and provides a custom implementation to handle completion information. It processes XML elements, attributes, and entities to populate a CompletionInfo
object with relevant data, such as entity declarations, element definitions, and attribute specifications.
CatalogManager.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 640 lines
✨ Summary
This Java code manages XML catalogs and resources for a text editor, specifically JEdit. It loads and parses catalog files, handles resource downloads, and updates the catalog when the user changes a file on disk. The code uses a custom Entry
class to represent XML entries and a VFSUpdateHandler
component to reload catalogs when files are modified.
This Java code manages XML catalogs and resources for a text editor, specifically JEdit. It loads and parses catalog files, handles resource downloads, and updates the catalog when the user changes a file on disk. The code uses a custom Entry
class to represent XML entries and a VFSUpdateHandler
component to reload catalogs when files are modified.
4 * :folding=explicit:collapseFolds=1:
5 *
6 * Copyright (C) 2001, 2003 Slava Pestov
7 * Portions copyright (C) 2002 Chris Stevenson
196 try
197 {
198 file = copyToLocalFile(session[0],vfs,newSystemId);
199 }
200 finally
233 File oldDtdFile = new File((String)resourceCache.get(e));
235 File newFile = copyToLocalFile(new URL(e.id));
237 oldDtdFile.delete();
404 } //}}}
406 //{{{ copyToLocalFile() method
407 private static File copyToLocalFile(Object session, VFS vfs, String path)
NT_MAKEFILE (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines
IFileSystem.java (https://bitbucket.org/nbargnesi/idea.git) Java · 31 lines
4 * The contents of this file are subject to the Sun Public License
5 * Version 1.0 (the "License"). You may not use this file except in
6 * compliance with the License. A copy of the License is available at
7 * http://www.sun.com/
8 *
9 * The Original Code is NetBeans. The Initial Developer of the Original
10 * Code is Sun Microsystems, Inc. Portions Copyright 1997-2000 Sun
11 * Microsystems, Inc. All Rights Reserved.
12 */
PrismaticJoint.java
(http://loon-simple.googlecode.com/svn/trunk/)
Java · 147 lines
✨ Summary
This Java code defines a class PrismaticJoint
that extends Joint
. It provides functionality for a prismatic joint, which allows translation along an axis while preventing relative rotation. The class includes methods to get and set joint limits, motor speed, and force, as well as enable/disable the limit and motor features.
This Java code defines a class PrismaticJoint
that extends Joint
. It provides functionality for a prismatic joint, which allows translation along an axis while preventing relative rotation. The class includes methods to get and set joint limits, motor speed, and force, as well as enable/disable the limit and motor features.
1 /*******************************************************************************
2 * Copyright 2010 Mario Zechner (contact@badlogicgames.com)
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the
5 * License. You may obtain a copy of the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
MessageDialog.java
(http://loon-simple.googlecode.com/svn/trunk/)
Java · 264 lines
✨ Summary
This Java code is a utility class for creating and manipulating images with custom dialog boxes. It provides methods to create images with different layouts, resize them, and apply alpha blending effects. The getRMXPDialog
method creates an image with a dialog box layout, while the getRMXPDialog(LImage rmxpImage, int width, int height, int size, int offset)
method is a variant that takes an existing image as input.
This Java code is a utility class for creating and manipulating images with custom dialog boxes. It provides methods to create images with different layouts, resize them, and apply alpha blending effects. The getRMXPDialog
method creates an image with a dialog box layout, while the getRMXPDialog(LImage rmxpImage, int width, int height, int size, int offset)
method is a variant that takes an existing image as input.
Go_to_Column.bsh (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 52 lines
PhraseScorer.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 65 lines
1 /*------------------------------------------------------------------------------
2 * Copyright (C) 2003-2006 Ben van Klinken and the CLucene Team
3 *
4 * Distributable under the terms of either the Apache License (Version 2.0) or
5 * the GNU Lesser General Public License, as specified in the COPYING file.
6 ------------------------------------------------------------------------------*/
7 #ifndef _lucene_search_PhraseScorer_
NetworkLogger.cc
(https://freespeech.svn.sourceforge.net/svnroot/freespeech)
C++ · 59 lines
✨ Summary
This C++ code implements a network logger that writes log messages to an output stream while ensuring thread safety using a semaphore. The NetworkLogger
class provides methods for writing log data, including strings and exceptions, which are protected by a critical section that is acquired using the semaphore. This prevents concurrent access to the output stream from multiple threads.
This C++ code implements a network logger that writes log messages to an output stream while ensuring thread safety using a semaphore. The NetworkLogger
class provides methods for writing log data, including strings and exceptions, which are protected by a critical section that is acquired using the semaphore. This prevents concurrent access to the output stream from multiple threads.
1 // Copyright (C) 1999 Dominic Letourneau
2 //
3 // This program is free software; you can redistribute it and/or modify
11 // General Public License for more details.
12 //
13 // You should have received a copy of the GNU General Public License
14 // along with this file. If not, write to the Free Software Foundation,
15 // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
qxml.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 427 lines
1 /****************************************************************************
2 **
3 ** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
4 ** All rights reserved.
5 ** Contact: Nokia Corporation (qt-info@nokia.com)
26 ** file. Please review the following information to ensure the GNU General
27 ** Public License version 3.0 requirements will be met:
28 ** http://www.gnu.org/copyleft/gpl.html.
29 **
30 ** Other Usage
110 friend class QXmlSimpleReaderPrivate;
111 Q_DISABLE_COPY(QXmlNamespaceSupport)
112 };
uaccess.h
(http://omnia2droid.googlecode.com/svn/trunk/)
C++ Header · 294 lines
✨ Summary
This C header file provides a set of functions for accessing and manipulating memory in user space, ensuring that operations are performed safely and securely. It includes functions for copying data from/to userspace, checking access permissions, and handling errors, providing a way to interact with the operating system’s memory management.
This C header file provides a set of functions for accessing and manipulating memory in user space, ensuring that operations are performed safely and securely. It includes functions for copying data from/to userspace, checking access permissions, and handling errors, providing a way to interact with the operating system’s memory management.
183 })
185 #define __copy_from_user(to, from, n) copy_from_user(to, from, n)
186 #define __copy_to_user(to, from, n) copy_to_user(to, from, n)
187 #define __copy_to_user_inatomic __copy_to_user
188 #define __copy_from_user_inatomic __copy_from_user
190 #define copy_to_user_ret(to,from,n,retval) ({ if (copy_to_user(to,from,n))\
191 return retval; })
193 #define copy_from_user_ret(to,from,n,retval) ({ if (copy_from_user(to,from,n))\
194 return retval; })
FileEntryTest.java (https://bitbucket.org/nbargnesi/idea.git) Java · 146 lines
1 /*
2 * Copyright 2000-2009 JetBrains s.r.o.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
41 FileEntry file = new FileEntry("name", c("content"), 123L, true);
43 Entry copy = file.copy();
45 assertEquals("name", copy.getName());
56 parent.addChild(file);
58 Entry copy = file.copy();
59 assertNull(copy.getParent());
RETokenRange.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 52 lines
✨ Summary
This Java class, RETokenRange
, represents a token range in regular expressions. It extends the REToken
class and provides methods to match input characters within a specified range (inclusive) with sensitivity options. The class also includes a dump
method to print the token range as a string.
This Java class, RETokenRange
, represents a token range in regular expressions. It extends the REToken
class and provides methods to match input characters within a specified range (inclusive) with sensitivity options. The class also includes a dump
method to print the token range as a string.
1 /*
2 * gnu/regexp/RETokenRange.java
3 * Copyright (C) 1998-2001 Wes Biggs
4 *
5 * This library is free software; you can redistribute it and/or modify
13 * GNU Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
matreshka-internals-calendars.ads
(git://github.com/landgraf/matreshka.git)
Ada · 83 lines
✨ Summary
This Ada code defines a package for calendar-related functionality, specifically time zones and dates. It introduces several types: Absolute_Time
and Relative_Time
to represent time in seconds since a base date (October 1582), Julian_Day_Number
to represent days since the Julian Day Number 1, and Internal_Time_Zone
to store information about time zones. The package also provides an alias for the UTC time zone.
This Ada code defines a package for calendar-related functionality, specifically time zones and dates. It introduces several types: Absolute_Time
and Relative_Time
to represent time in seconds since a base date (October 1582), Julian_Day_Number
to represent days since the Julian Day Number 1, and Internal_Time_Zone
to store information about time zones. The package also provides an alias for the UTC time zone.
9 ------------------------------------------------------------------------------
10 -- --
11 -- Copyright  2011, Vadim Godunko <vgodunko@gmail.com> --
12 -- All rights reserved. --
13 -- --
16 -- are met: --
17 -- --
18 -- * Redistributions of source code must retain the above copyright --
19 -- notice, this list of conditions and the following disclaimer. --
20 -- --
21 -- * Redistributions in binary form must reproduce the above copyright --
22 -- notice, this list of conditions and the following disclaimer in the --
23 -- documentation and/or other materials provided with the distribution. --
mii.c
(https://bitbucket.org/freebsd/freebsd-head/)
C · 647 lines
✨ Summary
This is a function that takes two unsigned integers as input and returns an unsigned integer representing the OUI (Organizationally Unique Identifier) of the PHY device. The function first reverses the bits in the two input integers, then combines them into a single 32-bit value using bitwise OR operations. Finally, it reverses the bits again to produce the final output.
This is a function that takes two unsigned integers as input and returns an unsigned integer representing the OUI (Organizationally Unique Identifier) of the PHY device. The function first reverses the bits in the two input integers, then combines them into a single 32-bit value using bitwise OR operations. Finally, it reverses the bits again to produce the final output.
3 /*-
4 * Copyright (c) 1998 The NetBSD Foundation, Inc.
5 * All rights reserved.
6 *
12 * modification, are permitted provided that the following conditions
13 * are met:
14 * 1. Redistributions of source code must retain the above copyright
15 * notice, this list of conditions and the following disclaimer.
16 * 2. Redistributions in binary form must reproduce the above copyright
487 if (args == NULL)
488 goto skip;
489 bcopy((char *)&ma, (char *)args, sizeof(ma));
490 phy = device_add_child(*miibus, NULL, -1);
491 if (phy == NULL) {
ndis_events.c
(https://bitbucket.org/freebsd/freebsd-head/)
C · 809 lines
✨ Summary
This C code initializes a Windows-based network interface for receiving notifications about network events, such as packet arrival and error conditions. It creates an instance of a WMI (Windows Management Instrumentation) object sink, connects to a WMI server, and registers asynchronous notifications with the sink. The sink provides methods for querying, adding references, releasing, indicating, and setting the status of the notification.
This C code initializes a Windows-based network interface for receiving notifications about network events, such as packet arrival and error conditions. It creates an instance of a WMI (Windows Management Instrumentation) object sink, connects to a WMI server, and registers asynchronous notifications with the sink. The sink provides methods for querying, adding references, releasing, indicating, and setting the status of the notification.
PlatformStrategiesWinCE.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 154 lines
1 /*
2 * Copyright (C) 2010 Patrick Gansterer <paroga@paroga.com>
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright
63 virtual WTF::String contextMenuItemTagOpenLinkInNewWindow();
64 virtual WTF::String contextMenuItemTagDownloadLinkToDisk();
65 virtual WTF::String contextMenuItemTagCopyLinkToClipboard();
66 virtual WTF::String contextMenuItemTagOpenImageInNewWindow();
67 virtual WTF::String contextMenuItemTagDownloadImageToDisk();
68 virtual WTF::String contextMenuItemTagCopyImageToClipboard();
69 virtual WTF::String contextMenuItemTagOpenFrameInNewWindow();
70 virtual WTF::String contextMenuItemTagCopy();
WKGraphicsContextCG.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 42 lines
1 /*
2 * Copyright (C) 2011 Apple Inc. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright
nsIdleServiceX.h
(git://github.com/zpao/v8monkey.git)
C++ Header · 54 lines
✨ Summary
This C++ header file defines a class nsIdleServiceX
that inherits from nsIdleService
. It provides an implementation for idle time polling and uses a custom poll mode. The class is designed to be used in Mozilla applications, with licensing information provided at the top of the file. It includes support for multiple licenses (MPL, GPL, LGPL) and allows for flexible usage under different terms.
This C++ header file defines a class nsIdleServiceX
that inherits from nsIdleService
. It provides an implementation for idle time polling and uses a custom poll mode. The class is designed to be used in Mozilla applications, with licensing information provided at the top of the file. It includes support for multiple licenses (MPL, GPL, LGPL) and allows for flexible usage under different terms.
4 * The contents of this file are subject to the Mozilla Public License Version
5 * 1.1 (the "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at
7 * http://www.mozilla.org/MPL/
8 *
16 * The Initial Developer of the Original Code is
17 * Shawn Wilsher <me@shawnwilsher.com>
18 * Portions created by the Initial Developer are Copyright (C) 2007
19 * the Initial Developer. All Rights Reserved.
20 *
pxa2xx-pcm.h
(http://omnia2droid.googlecode.com/svn/trunk/)
C++ Header · 31 lines
✨ Summary
This C header file defines an interface for ALSA (Advanced Linux Sound Architecture) PCM (Pulse Code Modulation) on Intel PXA2xx chipsets. It provides structures and functions for managing DMA (Direct Memory Access) operations, playback, capture, and startup/shutdown of PCM devices. The code is part of the Linux kernel’s sound system.
This C header file defines an interface for ALSA (Advanced Linux Sound Architecture) PCM (Pulse Code Modulation) on Intel PXA2xx chipsets. It provides structures and functions for managing DMA (Direct Memory Access) operations, playback, capture, and startup/shutdown of PCM devices. The code is part of the Linux kernel’s sound system.
CartesianSeries.java
(http://gwt-ext.googlecode.com/svn/trunk/)
Java · 81 lines
✨ Summary
This Java code defines a class CartesianSeries
that extends JsObject
. It represents a vertical or horizontal axis of a Cartesian chart in the YUI Charts widget library. The class provides methods to set and get values for the xField and yField, which are used to access data from a source.
This Java code defines a class CartesianSeries
that extends JsObject
. It represents a vertical or horizontal axis of a Cartesian chart in the YUI Charts widget library. The class provides methods to set and get values for the xField and yField, which are used to access data from a source.
1 /*
2 * GWT-Ext Widget Library
3 * Copyright 2007 - 2008, GWT-Ext LLC., and individual contributors as indicated
4 * by the @authors tag. See the copyright.txt in the distribution for a
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this software; if not, write to the Free
19 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
WebOpenPanelParameters.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 57 lines
1 /*
2 * Copyright (C) 2010 Apple Inc. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright
xprt.c
(http://photon-android.googlecode.com/svn/)
C · 1160 lines
✨ Summary
This C code implements a transport layer for RPC (Remote Procedure Call) communications. It manages a pool of slots to handle incoming requests, prioritizes them based on their priority, and ensures that resources are released when no longer needed. The code also handles creation, destruction, and reference management of the transport instance.
This C code implements a transport layer for RPC (Remote Procedure Call) communications. It manages a pool of slots to handle incoming requests, prioritizes them based on their priority, and ensures that resources are released when no longer needed. The code also handles creation, destruction, and reference management of the transport instance.
33 * tasks that rely on callbacks.
34 *
35 * Copyright (C) 1995-1997, Olaf Kirch <okir@monad.swb.de>
36 *
37 * Transport switch API copyright (C) 2005, Chuck Lever <cel@netapp.com>
872 * @task: controlling RPC task
873 *
874 * We have to copy the iovec because sendmsg fiddles with its contents.
875 */
876 void xprt_transmit(struct rpc_task *task)
ExplicitFoldHandler.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 101 lines
✨ Summary
This Java class, ExplicitFoldHandler
, is a fold handler for the jEdit text editor. It folds lines based on markers (“{{{” and “}}}”) embedded in the text, increasing the fold level when an opening bracket appears three times and decreasing it when a closing bracket appears three times.
This Java class, ExplicitFoldHandler
, is a fold handler for the jEdit text editor. It folds lines based on markers (“{{{” and “}}}”) embedded in the text, increasing the fold level when an opening bracket appears three times and decreasing it when a closing bracket appears three times.
4 * :folding=explicit:collapseFolds=1:
5 *
6 * Copyright (C) 2001 Slava Pestov
7 *
8 * This program is free software; you can redistribute it and/or
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
glue.cpp
(git://github.com/ticking/self.git)
C++ · 50 lines
✨ Summary
This C++ code defines a set of glue functions for various data types and operations, such as vectors, objects, foreign pointers, and more. It also includes function declarations from the C standard library, specifically ceil
, floor
, and rint
. The code is likely part of a larger project that requires these glue functions to be implemented in C++.
This C++ code defines a set of glue functions for various data types and operations, such as vectors, objects, foreign pointers, and more. It also includes function declarations from the C standard library, specifically ceil
, floor
, and rint
. The code is likely part of a larger project that requires these glue functions to be implemented in C++.
RoleVoter.php
(git://github.com/symfony/symfony.git)
PHP · 62 lines
✨ Summary
This PHP class, RoleVoter
, implements a voter for Symfony’s security system. It checks if any attribute of an object starts with a given prefix (‘ROLE_’) and grants access if the role is present in the token’s roles. If the attribute is ‘ROLE_PREVIOUS_ADMIN’, it triggers deprecation warnings. The voter returns ACCESS_ABSTAIN
by default, unless the attribute matches one of the token’s roles, in which case it returns ACCESS_GRANTED
.
This PHP class, RoleVoter
, implements a voter for Symfony’s security system. It checks if any attribute of an object starts with a given prefix (‘ROLE_’) and grants access if the role is present in the token’s roles. If the attribute is ‘ROLE_PREVIOUS_ADMIN’, it triggers deprecation warnings. The voter returns ACCESS_ABSTAIN
by default, unless the attribute matches one of the token’s roles, in which case it returns ACCESS_GRANTED
.
en-GB.plg_finder_weblinks.ini (https://bitbucket.org/kraymitchell/fcd.git) Unknown · 11 lines
tmv.c
(git://github.com/xbmc/xbmc.git)
C · 200 lines
✨ Summary
This C code implements a demuxer for the 8088flex TMV file format, which is used to store audio and video data in a compressed form. The code provides functions for probing, reading headers, packets, and seeking within the files, as well as registering the demuxer with FFmpeg. It also defines the structure of the TMVContext, which holds metadata about the audio and video streams.
This C code implements a demuxer for the 8088flex TMV file format, which is used to store audio and video data in a compressed form. The code provides functions for probing, reading headers, packets, and seeking within the files, as well as registering the demuxer with FFmpeg. It also defines the structure of the TMVContext, which holds metadata about the audio and video streams.
1 /*
2 * 8088flex TMV file demuxer
3 * Copyright (c) 2009 Daniel Verkamp <daniel at drv.nu>
4 *
5 * This file is part of FFmpeg.
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with FFmpeg; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
ax88x90reg.h
(https://bitbucket.org/freebsd/freebsd-head/)
C++ Header · 39 lines
✨ Summary
This is a header file for an AX88x90-based network interface controller (NIC). It defines several registers and their associated bit masks for accessing the MII bus, testing, and GPIO pins on the ASIC.
This is a header file for an AX88x90-based network interface controller (NIC). It defines several registers and their associated bit masks for accessing the MII bus, testing, and GPIO pins on the ASIC.
1 /*-
2 * Copyright (c) 2005, M. Warner Losh.
3 * All rights reserved.
4 *
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice unmodified, this list of conditions, and the following
10 * disclaimer.
11 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the distribution.
CallerGxp.gxp (http://gxp.googlecode.com/svn/trunk/) text · 0 lines
1 <!DOCTYPE gxp:template SYSTEM "http://gxp.googlecode.com/svn/trunk/resources/xhtml.ent">
2 <!--
3 Copyright (C) 2008 Google Inc.
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
9 http://www.apache.org/licenses/LICENSE-2.0
DerivationRule.java
(http://ontouml.googlecode.com/svn/trunk/)
Java · 47 lines
✨ Summary
This Java code defines an interface DerivationRule
that extends a base class Rule
. It represents a derivation rule in a UML model and has one feature: a reference list of conclusions, which is bidirectional and opposite to another concept called “conclusion rule”. The interface provides a method to access this reference list.
This Java code defines an interface DerivationRule
that extends a base class Rule
. It represents a derivation rule in a UML model and has one feature: a reference list of conclusions, which is bidirectional and opposite to another concept called “conclusion rule”. The interface provides a method to access this reference list.
LICENSE (https://swig.svn.sourceforge.net/svnroot/swig) Unknown · 23 lines
13 directories, are distributed under the following terms:
15 You may copy, modify, distribute, and make derivative works based on
16 this software, in source code or object code form, without
17 restriction. If you distribute the software to others, you may do
19 is, without warranty of any kind.
21 See the COPYRIGHT file for a list of contributors to SWIG and their
22 copyright notices.
std_string.i (https://swig.svn.sourceforge.net/svnroot/swig) Unknown · 153 lines
iriap.c
(http://photon-android.googlecode.com/svn/)
C · 1094 lines
✨ Summary
This C code implements a Linux kernel module that provides a file system interface to interact with LM-IAS (Logical Management Interface for Application Server) objects and their attributes. It allows users to list, read, and manipulate LM-IAS objects and their attributes using a sequence-based file system interface. The code also includes watchdog timer functionality to abort queries that take too long.
This C code implements a Linux kernel module that provides a file system interface to interact with LM-IAS (Logical Management Interface for Application Server) objects and their attributes. It allows users to list, read, and manipulate LM-IAS objects and their attributes using a sequence-based file system interface. The code also includes watchdog timer functionality to abort queries that take too long.
CMaterial.h
(https://jetpp.svn.sourceforge.net/svnroot/jetpp)
C++ Header · 67 lines
✨ Summary
This is a C++ header file that defines a class CMaterial
which inherits from CStatic
. It contains the class’s declaration, including its constructor, attributes, operations, and overrides. The code also includes message map functions for handling events and a macro to insert additional declarations. It appears to be part of a larger project, likely a graphical user interface (GUI) application.
This is a C++ header file that defines a class CMaterial
which inherits from CStatic
. It contains the class’s declaration, including its constructor, attributes, operations, and overrides. The code also includes message map functions for handling events and a macro to insert additional declarations. It appears to be part of a larger project, likely a graphical user interface (GUI) application.
7 /* The contents of this file are subject to the Jet3D Public License */
8 /* Version 1.02 (the "License"); you may not use this file except in */
9 /* compliance with the License. You may obtain a copy of the License at */
10 /* http://www.jet3d.com */
11 /* */
16 /* */
17 /* The Original Code is Jet3D, released December 12, 1999. */
18 /* Copyright (C) 1996-1999 Eclipse Entertainment, L.L.C. All Rights Reserved */
19 /* */
20 /****************************************************************************************/
gtkmm2.spec (git://github.com/repoforge/rpms.git) Unknown · 116 lines
init_32.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 536 lines
✨ Summary
This C code initializes and manages memory for a SPARC-based Linux system. It allocates valid address space, maps physical pages to virtual addresses, and tracks available memory. The code also handles memory initialization, freeing unused kernel memory, and flushing pages to RAM. Additionally, it provides functions for managing initrd memory and exporting the sparc_flush_page_to_ram
function.
This C code initializes and manages memory for a SPARC-based Linux system. It allocates valid address space, maps physical pages to virtual addresses, and tracks available memory. The code also handles memory initialization, freeing unused kernel memory, and flushing pages to RAM. Additionally, it provides functions for managing initrd memory and exporting the sparc_flush_page_to_ram
function.
2 * linux/arch/sparc/mm/init.c
3 *
4 * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
5 * Copyright (C) 1995 Eddie C. Dost (ecd@skynet.be)
6 * Copyright (C) 1998 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
7 * Copyright (C) 2000 Anton Blanchard (anton@samba.org)
297 * define check_pgt_cache empty.
298 *
299 * We simply copy the 2.4 implementation for now.
300 */
301 static int pgt_cache_water[2] = { 25, 50 };
347 protection_map[0] = PAGE_NONE;
348 protection_map[1] = PAGE_READONLY;
349 protection_map[2] = PAGE_COPY;
350 protection_map[3] = PAGE_COPY;
nsViewSourceHTML.h
(git://github.com/zpao/v8monkey.git)
C Header · 167 lines
✨ Summary
This C++ header file defines a class CViewSourceHTML
that generates HTML content based on a given input. It includes features like syntax highlighting, tokenization, and entity expansion. The class is designed to work with Mozilla’s HTML parser and provides methods for writing tags, attributes, and text content. It also handles errors and verification of the context stack.
This C++ header file defines a class CViewSourceHTML
that generates HTML content based on a given input. It includes features like syntax highlighting, tokenization, and entity expansion. The class is designed to work with Mozilla’s HTML parser and provides methods for writing tags, attributes, and text content. It also handles errors and verification of the context stack.
5 * The contents of this file are subject to the Mozilla Public License Version
6 * 1.1 (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
8 * http://www.mozilla.org/MPL/
9 *
17 * The Initial Developer of the Original Code is
18 * Netscape Communications Corporation.
19 * Portions created by the Initial Developer are Copyright (C) 1998
20 * the Initial Developer. All Rights Reserved.
21 *
130 nsresult SetBaseURI(const nsAString& baseSpec);
131 static void ExpandEntities(const nsAString& textIn, nsString& textOut);
132 static void CopyPossibleEntity(nsAString::const_iterator& iter,
133 const nsAString::const_iterator& end,
134 nsAString& textBuffer);
help-doc.html (https://svn.apache.org/repos/asf/incubator/droids/) text · 0 lines
tas.h
(http://photon-android.googlecode.com/svn/)
C++ Header · 56 lines
✨ Summary
This C header file defines constants and macros for the TAS codec, a digital signal processor used in audio devices. It provides settings for various audio parameters such as volume, treble, bass, and loudness, as well as control registers for managing these settings. The definitions are likely used by an operating system or firmware to interact with the TAS codec.
This C header file defines constants and macros for the TAS codec, a digital signal processor used in audio devices. It provides settings for various audio parameters such as volume, treble, bass, and loudness, as well as control registers for managing these settings. The definitions are likely used by an operating system or firmware to interact with the TAS codec.
CCQuicktimeCaptureDataTest.java
(http://creativecomputing.googlecode.com/svn/trunk/)
Java · 72 lines
✨ Summary
This Java code creates a graphical application that captures video frames from a QuickTime capture device and displays them as a grayscale ellipse pattern on the screen, with the brightness of each pixel affecting its radius. The frame rate is printed to the console during runtime. It uses the CCQuicktimeCaptureData class to interact with the capture device and the CCApp class for general application functionality.
This Java code creates a graphical application that captures video frames from a QuickTime capture device and displays them as a grayscale ellipse pattern on the screen, with the brightness of each pixel affecting its radius. The frame rate is printed to the console during runtime. It uses the CCQuicktimeCaptureData class to interact with the capture device and the CCApp class for general application functionality.
1 /*
2 * Copyright (c) 2009 Christian Riekoff <info@texone.org>
3 *
4 * This file is free software: you may copy, redistribute and/or modify it
12 * General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 *
17 * This file incorporates work covered by the following copyright and
18 * permission notice:
19 */
CCMenu.h
(git://github.com/kstenerud/ObjectAL-for-iPhone.git)
C Header · 0 lines
✨ Summary
This is a C header file for a CCMenu class, which is part of the cocos2d framework for iPhone development. It defines a menu system that can be customized with various alignment options and has properties such as opacity and color. The class allows adding items dynamically and conforms to certain protocols.
This is a C header file for a CCMenu class, which is part of the cocos2d framework for iPhone development. It defines a menu system that can be customized with various alignment options and has properties such as opacity and color. The class allows adding items dynamically and conforms to certain protocols.
2 * cocos2d for iPhone: http://www.cocos2d-iphone.org
3 *
4 * Copyright (c) 2008-2010 Ricardo Quesada
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights
9 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 * copies of the Software, and to permit persons to whom the Software is
11 * furnished to do so, subject to the following conditions:
12 *
13 * The above copyright notice and this permission notice shall be included in
14 * all copies or substantial portions of the Software.
15 *
nsUniscribeBreaker.cpp
(git://github.com/zpao/v8monkey.git)
C++ · 92 lines
✨ Summary
This C++ code extracts complex line breaks from a given text and stores them in an array. It uses the ScriptItemize function to break down the text into individual items, then checks each item for a soft break using the ScriptBreak function. The results are stored in an array of boolean values indicating whether each character is a soft break or not.
This C++ code extracts complex line breaks from a given text and stores them in an array. It uses the ScriptItemize function to break down the text into individual items, then checks each item for a soft break using the ScriptBreak function. The results are stored in an array of boolean values indicating whether each character is a soft break or not.
5 * The contents of this file are subject to the Mozilla Public License Version
6 * 1.1 (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
8 * http://www.mozilla.org/MPL/
9 *
17 * The Initial Developer of the Original Code is
18 * Pattara Kiatisevi <ott@linux.thai.net>.
19 * Portions created by the Initial Developer are Copyright (C) 2007
20 * the Initial Developer. All Rights Reserved.
21 *
cap_inline.h
(http://photon-android.googlecode.com/svn/)
C++ Header · 410 lines
✨ Summary
This C++ header file defines a set of functions for interacting with various components of a system, such as the ARM CPU, VPM, LCD, and others. It provides functions to check if certain features are present, retrieve maximum clock speeds, and determine LCD resolutions. The code is likely used in a low-level system or embedded device application.
This C++ header file defines a set of functions for interacting with various components of a system, such as the ARM CPU, VPM, LCD, and others. It provides functions to check if certain features are present, retrieve maximum clock speeds, and determine LCD resolutions. The code is likely used in a low-level system or embedded device application.
1 /*****************************************************************************
2 * Copyright 2009 Broadcom Corporation. All rights reserved.
3 *
4 * Unless you and Broadcom execute a separate written software license
5 * agreement governing use of this software, this software is licensed to you
6 * under the terms of the GNU General Public License version 2, available at
7 * http://www.broadcom.com/licenses/GPLv2.php (the "GPL").
8 *
9 * Notwithstanding the above, under no circumstances may you combine this
pickle.h
(git://github.com/zpao/v8monkey.git)
C Header · 278 lines
✨ Summary
This C header file defines a class Pickle
that represents a serialized data structure. It provides methods for reading and writing data, including allocation and resizing of the buffer, alignment, and padding with null bytes. The class also includes functions for finding the end of the pickled data within a given range and updating iterators by a specified number of bytes.
This C header file defines a class Pickle
that represents a serialized data structure. It provides methods for reading and writing data, including allocation and resizing of the buffer, alignment, and padding with null bytes. The class also includes functions for finding the end of the pickled data within a given range and updating iterators by a specified number of bytes.
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
48 Pickle(const char* data, int data_len);
50 // Initializes a Pickle as a deep copy of another Pickle.
51 Pickle(const Pickle& other);
53 // Performs a deep copy.
54 Pickle& operator=(const Pickle& other);
152 // Same as WriteData, but allows the caller to write directly into the
153 // Pickle. This saves a copy in cases where the data is not already
154 // available in a buffer. The caller should take care to not write more
155 // than the length it declares it will. Use ReadData to get the data.
event-min.js
(http://gwt-ext.googlecode.com/svn/trunk/)
JavaScript · 11 lines
✨ Summary
This JavaScript code defines a set of utility functions and classes for handling events, such as event listeners, key presses, and custom events. It provides a foundation for building event-driven applications, including event providers, key listeners, and custom event functionality. The code is part of the YUI (Yahoo! User Interface) library, which was widely used in web development before being replaced by newer libraries like jQuery.
This JavaScript code defines a set of utility functions and classes for handling events, such as event listeners, key presses, and custom events. It provides a foundation for building event-driven applications, including event providers, key listeners, and custom event functionality. The code is part of the YUI (Yahoo! User Interface) library, which was widely used in web development before being replaced by newer libraries like jQuery.