100+ results for 'Format'
Not the results you expected?
cvmx-fpa-defs.h (https://github.com/Bdaman80/hero-kernel-2.6.35.git) C Header · 403 lines
oper_32b.c (https://bitbucket.org/aways/android_frameworks_av.git) C · 223 lines
gp_Hypr.hxx (https://github.com/jehc/MondocosmOS.git) C++ Header · 299 lines
164 //! This line is obtained by the symmetrical transformation <br>
165 //! of "Directrix1" with respect to the "YAxis" of the hyperbola. <br>
197 //! Returns the branch of hyperbola obtained by doing the <br>
198 //! symmetrical transformation of <me> with respect to the <br>
199 //! "YAxis" of <me>. <br>
224 //! Performs the symmetrical transformation of an hyperbola with <br>
225 //! respect to the point P which is the center of the symmetry. <br>
230 //! Performs the symmetrical transformation of an hyperbola with <br>
231 //! respect to an axis placement which is the axis of the symmetry. <br>
236 //! Performs the symmetrical transformation of an hyperbola with <br>
237 //! respect to a plane. The axis placement A2 locates the plane <br>
InfProtocolObject.py (https://gitlab.com/envieidoc/Clover) Python · 311 lines
PortalUrlProviderImpl.java (https://github.com/Jasig/uPortal.git) Java · 259 lines
ei_encode_test.c (https://github.com/midnightskinhead/otp.git) C · 466 lines
TreeWalker.php (https://bitbucket.org/iiic/iszp.git) PHP · 409 lines
iwl-bus.h (https://github.com/mstsirkin/kvm.git) C Header · 139 lines
trace_printk.c (https://github.com/dmitriy103/bravo_kernel-2.6.35.git) C · 251 lines
24 /*
25 * modules trace_printk()'s formats are autosaved in struct trace_bprintk_fmt
26 * which are queued on trace_bprintk_fmt_list.
38 static inline struct trace_bprintk_fmt *lookup_format(const char *fmt)
39 {
48 static
49 void hold_module_trace_bprintk_format(const char **start, const char **end)
50 {
54 for (iter = start; iter < end; iter++) {
55 struct trace_bprintk_fmt *tb_fmt = lookup_format(*iter);
56 if (tb_fmt) {
73 static int module_trace_bprintk_format_notify(struct notifier_block *self,
74 unsigned long val, void *data)
elfcore.h (https://github.com/dmitriy103/bravo_kernel-2.6.35.git) C Header · 171 lines
71 * to GDB in order for GDB to do the necessary relocations. The
72 * fields (below) used to communicate this information are placed
73 * immediately after ``pr_reg'', so that the loadmap addresses may
157 * the same kernel and hardware config to see what PC values meant.
158 * Dumping its extra ELF program headers includes all the other information
159 * a debugger needs to easily find how the gate DSO was being used.
spectrum_def.h (https://github.com/dmitriy103/bravo_kernel-2.6.35.git) C Header · 202 lines
r100_track.h (https://github.com/mstsirkin/linux.git) C Header · 197 lines
thread_info.h (https://github.com/dmitriy103/bravo_kernel-2.6.35.git) C Header · 173 lines
4 /* thread_info.h: m32r low-level thread information
5 *
60 /*
61 * macros/functions for gaining access to the thread information structure
62 */
81 /* how to get the thread information struct from C */
82 static inline struct thread_info *current_thread_info(void)
97 /* thread information allocation */
98 #ifdef CONFIG_DEBUG_STACK_USAGE
130 /*
131 * thread information flags
132 * - these are process state flags that various assembly files may need to access
forums_controller_spec.rb (https://github.com/Epictetus/Rails-CMS-Wiki-Forum.git) Ruby · 161 lines
snoopdns.c (https://github.com/eerpini/xinu.git) C · 610 lines
80 break;
81 case DNS_RESP_FORMAT:
82 fprintf(stdout, "(Format Error)\n");
162 case DNS_TYPE_HINFO:
163 fprintf(stdout,"(Host Information)\n");
164 break;
273 case DNS_TYPE_HINFO:
274 fprintf(stdout,"(Host Information)\n");
275 break;
469 case DNS_TYPE_HINFO:
470 fprintf(stdout,"(Host Information)\n");
471 break;
ppp_defs.h (https://bitbucket.org/ysat0/linux.git) C Header · 150 lines
svga_overlay.h (https://bitbucket.org/ysat0/linux.git) C Header · 201 lines
37 /*
38 * Video formats we support
39 */
45 typedef enum {
46 SVGA_OVERLAY_FORMAT_INVALID = 0,
47 SVGA_OVERLAY_FORMAT_YV12 = VMWARE_FOURCC_YV12,
48 SVGA_OVERLAY_FORMAT_YUY2 = VMWARE_FOURCC_YUY2,
49 SVGA_OVERLAY_FORMAT_UYVY = VMWARE_FOURCC_UYVY,
50 } SVGAOverlayFormat;
136 static inline bool
137 VMwareVideoGetAttributes(const SVGAOverlayFormat format, /* IN */
138 uint32 *width, /* IN / OUT */
floppy.h (https://bitbucket.org/ysat0/linux.git) C Header · 213 lines
cache-xsc3l2.c (https://bitbucket.org/ysat0/linux.git) C · 220 lines
activity_streams.yml (https://github.com/chartmann/bettermeans.git) YAML · 211 lines
formatter.hpp (https://bitbucket.org/sonofusion/.simulation.git) C++ Header · 196 lines
80 //! Formatter function
81 formatter_type m_Formatter;
86 */
87 basic_formatter() : m_Formatter(default_formatter())
88 {
92 */
93 basic_formatter(basic_formatter const& that) : m_Formatter(that.m_Formatter)
94 {
98 */
99 basic_formatter(BOOST_RV_REF(this_type) that) BOOST_NOEXCEPT : m_Formatter(boost::move(that.m_Formatter))
100 {
186 #ifdef BOOST_LOG_USE_WCHAR_T
187 typedef basic_formatter< wchar_t > wformatter;
188 #endif
security_manager.h (https://github.com/soulxu/libvirt-xuhj.git) C Header · 100 lines
34 virSecurityManagerPtr virSecurityManagerNew(const char *name,
35 bool allowDiskFormatProbing);
41 gid_t group,
42 bool allowDiskFormatProbing,
43 bool dynamicOwnership);
50 const char *virSecurityManagerGetModel(virSecurityManagerPtr mgr);
51 bool virSecurityManagerGetAllowDiskFormatProbing(virSecurityManagerPtr mgr);
util.h (https://bitbucket.org/ysat0/linux.git) C Header · 172 lines
arm_iir_lattice_q15.c (https://github.com/sgk/Arduino.git) C · 403 lines
55 * The function is implemented using a 64-bit internal accumulator.
56 * Both coefficients and state variables are represented in 1.15 format and multiplications yield a 2.30 result.
57 * The 2.30 intermediate results are accumulated in a 64-bit accumulator in 34.30 format.
58 * There is no risk of internal overflow with this approach and the full precision of intermediate multiplications is preserved.
59 * After all additions have been performed, the accumulator is truncated to 34.15 format by discarding low 15 bits.
60 * Lastly, the accumulator is saturated to yield a result in 1.15 format.
ui00006.ksh (https://bitbucket.org/ssteinmetz/openesb-core.git) Korn Shell · 135 lines
LAFServlet.java (https://bitbucket.org/ldassonville/openesb-core.git) Java · 162 lines
18 * with the fields enclosed by brackets "[]" replaced with
19 * your own identifying information: Portions Copyright
20 * [year] [name of copyright owner]
34 import java.io.PrintWriter;
35 import java.text.SimpleDateFormat;
36 import java.util.Date;
141 Date date = gregoriancalendar.getTime();
142 SimpleDateFormat simpledateformat = new SimpleDateFormat("yyMMddHHmmssSSS");
143 String s = simpledateformat.format(date);
Union.java (https://bitbucket.org/ldassonville/openesb-components.git) Java · 129 lines
messages_th.properties (https://github.com/oystea/playground.git) Properties File · 35 lines
SUDescriptor.java (https://bitbucket.org/ldassonville/openesb-components.git) Java · 361 lines
MessageChannelMultiPageTest.java (https://gitlab.com/blocknotary/IonicInterviews) Java · 110 lines
ConfluenceExportMojo.java (https://gitlab.com/essere.lab.public/qualitas.class-corpus) Java · 192 lines
EventDispatcher.java (https://gitlab.com/essere.lab.public/qualitas.class-corpus) Java · 149 lines
FacadeTaskHelper.java (https://gitlab.com/essere.lab.public/qualitas.class-corpus) Java · 165 lines
Makefile (https://bitbucket.org/killerpenguinassassins/open_distrib_devel.git) Makefile · 265 lines
38 archive_read_support_compression_xz.c \
39 archive_read_support_format_all.c \
40 archive_read_support_format_ar.c \
41 archive_read_support_format_cpio.c \
42 archive_read_support_format_empty.c \
43 archive_read_support_format_iso9660.c \
44 archive_read_support_format_mtree.c \
45 archive_read_support_format_raw.c \
46 archive_read_support_format_tar.c \
47 archive_read_support_format_xar.c \
48 archive_read_support_format_zip.c \
sysinfoapi.h (https://gitlab.com/ubuntu-trusty/mingw-w64) C Header · 117 lines
61 typedef enum _COMPUTER_NAME_FORMAT {
62 ComputerNameNetBIOS,
70 ComputerNameMax
71 } COMPUTER_NAME_FORMAT;
83 WINBASEAPI UINT WINAPI GetSystemWindowsDirectoryW (LPWSTR lpBuffer, UINT uSize);
84 WINBASEAPI WINBOOL WINAPI GetComputerNameExA (COMPUTER_NAME_FORMAT NameType, LPSTR lpBuffer, LPDWORD nSize);
85 WINBASEAPI WINBOOL WINAPI GetComputerNameExW (COMPUTER_NAME_FORMAT NameType, LPWSTR lpBuffer, LPDWORD nSize);
89 WINBASEAPI WINBOOL WINAPI GetVersionExW (LPOSVERSIONINFOW lpVersionInformation);
90 WINBASEAPI WINBOOL WINAPI GetLogicalProcessorInformation (PSYSTEM_LOGICAL_PROCESSOR_INFORMATION Buffer, PDWORD ReturnedLength);
91 NTSYSAPI ULONGLONG NTAPI VerSetConditionMask (ULONGLONG ConditionMask, ULONG TypeMask, UCHAR Condition);
98 #if _WIN32_WINNT >= 0x0601
99 WINBASEAPI WINBOOL WINAPI GetLogicalProcessorInformationEx (LOGICAL_PROCESSOR_RELATIONSHIP RelationshipType, PSYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX Buffer, PDWORD ReturnedLength);
100 WINBASEAPI WINBOOL WINAPI GetOsSafeBootMode (PDWORD Flags);
TransaccionConsultoresGenera.java (https://gitlab.com/Alexs14/capri-re-sabas) Java · 116 lines
AppDelegate.m (https://gitlab.com/Mr.Tomato/weibo_ios_sdk_sso-oauth) Objective C · 121 lines
54 {
55 // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
56 // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
87 NSString *title = @"发送结果";
88 NSString *message = [NSString stringWithFormat:@"响应状态: %d\n响应UserInfo数据: %@\n原请求UserInfo数据: %@",
89 response.statusCode, response.userInfo, response.requestUserInfo];
100 NSString *title = @"认证结果";
101 NSString *message = [NSString stringWithFormat:@"响应状态: %d\nresponse.userId: %@\nresponse.accessToken: %@\n响应UserInfo数据: %@\n原请求UserInfo数据: %@",
102 response.statusCode, [(WBAuthorizeResponse *)response userID], [(WBAuthorizeResponse *)response accessToken], response.userInfo, response.requestUserInfo];
github_controller_spec.rb (https://gitlab.com/Hubbitus/gitlab-ee) Ruby · 161 lines
BaseActivity.java (https://gitlab.com/adamlwalker/android-discourse) Java · 124 lines
93 if (hasActionBar()) {
94 allTab.setText(String.format("%s (%d)", getString(R.string.uv_all_results_filter), results));
95 articlesTab.setText(String.format("%s (%d)", getString(R.string.uv_articles_filter), articleResults));
96 ideasTab.setText(String.format("%s (%d)", getString(R.string.uv_ideas_filter), ideaResults));
97 }
MarkdownDescriptor.php (https://gitlab.com/Pasantias/pasantiasASLG) PHP · 143 lines
ProgressFormatter.php (https://gitlab.com/Pasantias/pasantiasASLG) PHP · 171 lines
9 *
10 * For the full copyright and license information, please view the LICENSE
11 * file that was distributed with this source code.
14 namespace PhpSpec\Formatter;
20 class ProgressFormatter extends ConsoleFormatter
21 {
111 */
112 private function formatProgressOutput($barLengths, $percents, $isDecorated)
113 {
166 $barLengths = $this->getBarLengths($stats->getCountsHash());
167 $progress = $this->formatProgressOutput($barLengths, $percents, $io->isDecorated());
lima_drm.h (https://github.com/kvaneesh/linux.git) C Header · 176 lines
drm_client.h (https://github.com/kvaneesh/linux.git) C Header · 196 lines
cps-vec-ns16550.S (https://github.com/kvaneesh/linux.git) Assembly · 212 lines
opp2420_data.c (https://github.com/kvaneesh/linux.git) C · 131 lines
mei-client-bus.rst (https://github.com/kvaneesh/linux.git) ReStructuredText · 168 lines
ATM_Params.h (https://github.com/Bootz/Singularity.git) C Header · 214 lines
DurationDatatypeValidator.hpp (https://github.com/rauls/newscaster.git) C++ Header · 131 lines
protocol_yfs.h (https://github.com/kvaneesh/linux.git) C Header · 176 lines
cvmx-led-defs.h (https://github.com/kvaneesh/linux.git) C Header · 214 lines
24 * This file may also be available under a different license from Cavium.
25 * Contact Cavium Networks for more information
26 ***********************license end**************************************/
140 uint64_t reserved_4_63:60;
141 uint64_t format:4;
142 #else
143 uint64_t format:4;
144 uint64_t reserved_4_63:60;
DOM_RangeException.hpp (https://github.com/rauls/newscaster.git) C++ Header · 144 lines
writing-modes.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 910 lines
10 edit modes are easy to create and modify. This section will start with a
11 short XML primer, followed by detailed information about each supported tag
12 and highlighting rule.</para>
213 (for example, in HTML mode, one rule set highlights HTML tags, and
214 another highlights inline JavaScript). For information about using more
215 than one ruleset, see <xref linkend="mode-rule-span" />.</para>
251 <listitem>
252 <para><literal>DIGIT_RE</literal> - see below for information
253 about these two attributes.</para>
343 comment strings (in the case of HTML, for example, in HTML text and
344 inline JavaScript). For information about the commenting commands,
345 see <xref linkend="commenting" />.</para>
399 end of the sequence will be highlighted. See <xref
400 linkend="mode-match-type" /> for more information.</para>
401 </listitem>
TaskHandler.php (git://github.com/alexgorbatchev/SyntaxHighlighter.git) text · 0 lines
foxpro.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 1762 lines
205 <KEYWORD3>ErrorMessage</KEYWORD3>
206 <KEYWORD3>FormatChange</KEYWORD3>
207 <KEYWORD3>GotFocus</KEYWORD3>
286 <KEYWORD3>GetData</KEYWORD3>
287 <KEYWORD3>GetFormat</KEYWORD3>
288 <KEYWORD3>SetData</KEYWORD3>
289 <KEYWORD3>SetFormat</KEYWORD3>
290 <KEYWORD3>OLECompleteDrag</KEYWORD3>
448 <KEYWORD3>ForeColor</KEYWORD3>
449 <KEYWORD3>Format</KEYWORD3>
450 <KEYWORD3>FormCount</KEYWORD3>
629 <KEYWORD3>BoundTo</KEYWORD3>
630 <KEYWORD3>DateFormat</KEYWORD3>
631 <KEYWORD3>DateMark</KEYWORD3>
ixgb_hw.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 1303 lines
✨ Summary
This C code is part of a driver for 10GbE network interface cards (NICs). It provides functions to reset the link, optics module, and phy layer for different NIC types. The code also handles specific configurations for Broadcom and Sun variant NICs. It uses low-level hardware registers to control the NIC’s behavior and waits for certain conditions before returning a link status or resetting the optics module.
This C code is part of a driver for 10GbE network interface cards (NICs). It provides functions to reset the link, optics module, and phy layer for different NIC types. The code also handles specific configurations for Broadcom and Sun variant NICs. It uses low-level hardware registers to control the NIC’s behavior and waits for certain conditions before returning a link status or resetting the optics module.
ldm.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 1552 lines
✨ Summary
This C code is part of a disk partitioning system, specifically designed to handle dynamic disks. It reads and parses data from a database stored on a device, creating partitions and devices as needed. The code checks for signs of a dynamic disk, validates the database contents, and creates the necessary partitions and devices.
This C code is part of a disk partitioning system, specifically designed to handle dynamic disks. It reads and parses data from a database stored on a device, creating partitions and devices as needed. The code checks for signs of a dynamic disk, validates the database contents, and creates the necessary partitions and devices.
34 * ldm_debug/info/error/crit - Output an error message
35 * @f: A printf format string containing the message
36 * @...: Variables to substitute into @f
51 __attribute__ ((format (printf, 3, 4)))
52 static void _ldm_printk (const char *level, const char *function,
122 * @data: Raw database PRIVHEAD structure loaded from the device
123 * @ph: In-memory privhead structure in which to return parsed information
124 *
125 * This parses the LDM database PRIVHEAD structure supplied in @data and
126 * sets up the in-memory privhead structure @ph with the obtained information.
127 *
178 * @data: Raw database TOCBLOCK structure loaded from the device
179 * @toc: In-memory toc structure in which to return parsed information
180 *
SkDrawBitmap.h (https://bitbucket.org/Tsiannian/cocos2d-x.git) C++ Header · 83 lines
LICENSE
(https://jedit.svn.sourceforge.net/svnroot/jedit)
License · 32 lines
✨ Summary
The license allows for internal distribution and use of the Unicode Character Database files, as well as redistribution to third parties with notice and disclaimer retained. It disclaims fitness for purpose and makes no warranties, and limits rights to redistribute the data. The recipient agrees to determine applicability of information provided.
The license allows for internal distribution and use of the Unicode Character Database files, as well as redistribution to third parties with notice and disclaimer retained. It disclaims fitness for purpose and makes no warranties, and limits rights to redistribute the data. The recipient agrees to determine applicability of information provided.
10 kind are expressed or implied. The recipient agrees to determine
11 applicability of information provided. If this file has been purchased on
12 magnetic or optical media from Unicode, Inc., the sole remedy for any claim
21 Recipient is granted the right to make copies in any form for internal
22 distribution and to freely use the information supplied in the creation of
23 products supporting the UnicodeTM Standard. The files in the Unicode
25 organizations (whether for profit or not) as long as this notice and the
26 disclaimer notice are retained. Information can be extracted from these
27 files and used in documentation or programs, as long as there is an
users-guide.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 406 lines
168 Create project: shows the project properties dialog, where you can
169 enter information about a new project. After creating a new
170 project, you'll be asked if you want to import its files, and it
322 <para>
323 The configuration for the ProjectViewer plugin is now stored in XML format;
324 this makes it mandatory to have an XML parser available in the system. For
launcher-guide.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 593 lines
37 If unsuccessful, it attempts to start jEdit and repeats the socket
38 transmission once it can obtain the port and key information. The
39 component will abandon the effort to connect roughly twenty seconds after
135 specified on the <command>jedit.exe</command> command line
136 directly. For information about platform-independent command
137 line options, see <xref linkend="cli-usage" />.
221 installed, an error message will be displayed in jEdit. See <xref
222 linkend="using-plugins" /> for more information about installing
223 plugins.
322 port number found in jEdit's server file; the value is not tested for
323 authenticity. It returns zero if the server information file cannot
324 be located.
331 authorization key found in jEdit's server file; the value is not tested
332 for authenticity. It returns zero if the server information file cannot
333 be located.
morphSaving.self (git://github.com/ticking/self.git) Unknown · 1626 lines
Newtonsoft.Json.xml (https://bitbucket.org/BillinghamJ/small-makeitjson.git) XML · 8255 lines
141 <summary>
142 Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
143 </summary>
716 </member>
717 <member name="P:Newtonsoft.Json.JsonWriter.Formatting">
718 <summary>
719 Indicates how JSON text output is formatted.
720 </summary>
721 </member>
722 <member name="P:Newtonsoft.Json.JsonWriter.DateFormatHandling">
723 <summary>
SessionsPlugin.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 308 lines
✨ Summary
This Java code is part of a plugin for an integrated development environment (IDE). It manages session switching between different views within the IDE, allowing users to save and load their current work sessions. The code creates a toolbar or buffer list component that displays a list of available sessions, enabling users to switch between them.
This Java code is part of a plugin for an integrated development environment (IDE). It manages session switching between different views within the IDE, allowing users to save and load their current work sessions. The code creates a toolbar or buffer list component that displays a list of available sessions, enabling users to switch between them.
60 // The last open session won't be restored.
61 // Show an information dialog.
62 showInfoMessage("sessions.manager.info.restore");
299 JOptionPane.showMessageDialog(null, new Object[] { msg, notAgain },
300 title, JOptionPane.INFORMATION_MESSAGE);
301 jEdit.setBooleanProperty(key + ".notAgain", notAgain.isSelected());
activity-log.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 43 lines
19 <para>
20 jEdit writes the following information to the activity log:
21 </para>
22 <itemizedlist>
23 <listitem><para>Information about your Java implementation (version,
24 operating system, architecture, etc).</para></listitem>
26 are shown in dialog boxes as well, but the activity log usually
27 contains more detailed and technical information).
28 </para></listitem>
29 <listitem><para>All sorts of debugging information that can be helpful
30 when tracking down bugs.</para></listitem>
31 <listitem><para>Information about loaded plugins.</para></listitem>
32 </itemizedlist>
TemplateFile.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 217 lines
✨ Summary
This Java class represents a file within the templates directory hierarchy, providing information about the template and its label. It acts as a proxy for a Template object, allowing access to the template’s properties and behavior. The class implements the TreeNode interface, enabling it to be used in a tree-like data structure.
This Java class represents a file within the templates directory hierarchy, providing information about the template and its label. It acts as a proxy for a Template object, allowing access to the template’s properties and behavior. The class implements the TreeNode interface, enabling it to be used in a tree-like data structure.
32 * A TemplateFile is similar to a java.io.File object as it acts as a reference
33 * to a template file, but it also contains information describing the template
34 * (eg. a label to be used on the Templates menu).
169 * Revision 1.3 2002/07/29 14:14:58 sjakob
170 * Changed template label-matching regular expression for new Velocity format:
171 * ## template = <label>
Preview_Javadoc_of_Buffer.bsh (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 609 lines
301 // Format the current time.
302 java.text.SimpleDateFormat formatter
303 = new java.text.SimpleDateFormat ("yyyy.MMMMM.dd 'at' hh:mm:ss zzz");
304 java.util.Date currentTime_1 = new java.util.Date();
305 String dateString = formatter.format(currentTime_1);
306 header.append("<BR><font size=-1>");
590 Macro index data (in DocBook format)
plugin-intro.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 132 lines
JEditMode.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 106 lines
✨ Summary
This Java class, JEditMode
, represents a mode for the jEdit text editor. It extends the Mode
class and provides methods to retrieve properties from the mode’s configuration, load the mode from disk if necessary, and handle loading issues. The class is designed to work with jEdit’s configuration system.
This Java class, JEditMode
, represents a mode for the jEdit text editor. It extends the Mode
class and provides methods to retrieve properties from the mode’s configuration, load the mode from disk if necessary, and handle loading issues. The class is designed to work with jEdit’s configuration system.
lua.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 235 lines
inode.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 5312 lines
✨ Summary
This C code is part of a file system implementation, specifically handling journaling and data corruption protection for a Linux file system. It provides functions to manage inodes, handle page faults, and ensure data integrity by writing changes to a journal before modifying the underlying storage. The code ensures that file system updates are atomic and consistent, preventing data corruption and ensuring system reliability.
This C code is part of a file system implementation, specifically handling journaling and data corruption protection for a Linux file system. It provides functions to manage inodes, handle page faults, and ensure data integrity by writing changes to a journal before modifying the underlying storage. The code ensures that file system updates are atomic and consistent, preventing data corruption and ensuring system reliability.
Duplicate_Line.bsh (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 71 lines
bootstrap.js
(http://enginey.googlecode.com/svn/trunk/)
JavaScript · 463 lines
✨ Summary
This JavaScript code is a part of the Dojo toolkit, a popular JavaScript library for building web applications. It provides various utility functions and APIs for tasks such as object manipulation, event handling, and debugging. The code defines several functions that can be used to perform common operations in a web application, including eval
, deprecated
, and experimental
markers.
This JavaScript code is a part of the Dojo toolkit, a popular JavaScript library for building web applications. It provides various utility functions and APIs for tasks such as object manipulation, event handling, and debugging. The code defines several functions that can be used to perform common operations in a web application, including eval
, deprecated
, and experimental
markers.
43 // flag as a last resort. `debugAtAllCosts` has no effect when loading
44 // resources across domains. For usage information, see the
45 // [Dojo Book](http://dojotoolkit.org/book/book-dojo/part-4-meta-dojo-making-your-dojo-code-run-faster-and-better/debugging-facilities/deb)
324 // Useful for longer api chains where you have to test each object in
325 // the chain, or when you have an object reference in string format.
326 // Objects are created as needed along `path`. Returns the passed
354 // Useful for longer api chains where you have to test each object in
355 // the chain, or when you have an object reference in string format.
356 // name:
apdl.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 7537 lines
203 <SEQ TYPE="KEYWORD1" AT_WORD_START="TRUE">/FOC</SEQ>
204 <SEQ TYPE="KEYWORD1" AT_WORD_START="TRUE">/FORMAT</SEQ>
205 <SEQ TYPE="KEYWORD1" AT_WORD_START="TRUE">/FOR</SEQ>
213 <SEQ TYPE="KEYWORD1" AT_WORD_START="TRUE">/GFI</SEQ>
214 <SEQ TYPE="KEYWORD1" AT_WORD_START="TRUE">/GFORMAT</SEQ>
215 <SEQ TYPE="KEYWORD1" AT_WORD_START="TRUE">/GFO</SEQ>
399 <!-- *msg command: variable formats -->
400 <SEQ TYPE="KEYWORD2">%C</SEQ> <!-- alphamuneric format -->
401 <SEQ TYPE="KEYWORD2">%G</SEQ> <!-- double precision format -->
402 <SEQ TYPE="KEYWORD2">%I</SEQ> <!-- integer format -->
DatePrototype.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 1096 lines
149 {
150 CFDateFormatterStyle dateStyle = (format != LocaleTime ? kCFDateFormatterLongStyle : kCFDateFormatterNoStyle);
151 CFDateFormatterStyle timeStyle = (format != LocaleDate ? kCFDateFormatterLongStyle : kCFDateFormatterNoStyle);
168 CFLocaleRef locale = CFLocaleCopyCurrent();
169 CFDateFormatterRef formatter = CFDateFormatterCreate(0, locale, dateStyle, timeStyle);
170 CFRelease(locale);
173 CFStringRef customFormatCFString = CFStringCreateWithCharacters(0, customFormatString.characters(), customFormatString.length());
174 CFDateFormatterSetFormat(formatter, customFormatCFString);
175 CFRelease(customFormatCFString);
220 // need offset.
221 char* formatString = strdup(nl_langinfo(formats[format]));
222 char* yPos = strchr(formatString, 'y');
276 static JSCell* formatLocaleDate(ExecState* exec, DateInstance* dateObject, double, LocaleDateTimeFormat format)
277 {
perl.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 595 lines
bind_tests_advanced.cpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ · 0 lines
✨ Summary
This C++ code is a test suite for the Phoenix library, which provides a set of functional programming utilities. It tests various features such as nested binds, unlambda functions, protect, and lambda functors used as arguments to other lambda functors. The tests verify that these features work correctly and produce expected results.
This C++ code is a test suite for the Phoenix library, which provides a set of functional programming utilities. It tests various features such as nested binds, unlambda functions, protect, and lambda functors used as arguments to other lambda functors. The tests verify that these features work correctly and produce expected results.
WebGLTexture.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 130 lines
51 void setLevelInfo(GC3Denum target, GC3Dint level, GC3Denum internalFormat, GC3Dsizei width, GC3Dsizei height, GC3Denum type);
53 bool canGenerateMipmaps();
54 // Generate all level information.
55 void generateMipmapLevelInfo();
57 GC3Denum getInternalFormat(GC3Denum target, GC3Dint level) const;
58 GC3Denum getType(GC3Denum target, GC3Dint level) const;
82 : valid(false)
83 , internalFormat(0)
84 , width(0)
92 valid = true;
93 internalFormat = internalFmt;
94 width = w;
sorter.js
(http://enginey.googlecode.com/svn/trunk/)
JavaScript · 89 lines
✨ Summary
This JavaScript code defines a sorting function for data sets. It creates a custom comparator function based on user-defined attributes and their corresponding sorting directions. The basicComparator
function is used as a fallback if no specific comparator is defined, treating undefined values as larger. The createSortFunction
helper function generates the sorting function based on the provided attribute array and store object.
This JavaScript code defines a sorting function for data sets. It creates a custom comparator function based on user-defined attributes and their corresponding sorting directions. The basicComparator
function is used as a fallback if no specific comparator is defined, treating undefined values as larger. The createSortFunction
helper function generates the sorting function based on the provided attribute array and store object.
LICENSE (http://enginey.googlecode.com/svn/trunk/) Unknown · 196 lines
80 Licensor reserves the right to satisfy this obligation by placing a
81 machine-readable copy of the Source Code in an information repository
82 reasonably calculated to permit inexpensive and convenient access by You for as
83 long as Licensor continues to distribute the Original Work, and by publishing
84 the address of that information repository in a notice immediately following
85 the copyright notice that applies to the Original Work.
boot.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 1847 lines
✨ Summary
This C code is part of the Linux kernel’s ACPI (Advanced Configuration and Power Interface) subsystem. It initializes and configures various ACPI-related parameters, such as enabling or disabling ACPI features, setting interrupt routing, and configuring system clock sources. The code also handles command-line arguments to control these settings during boot time.
This C code is part of the Linux kernel’s ACPI (Advanced Configuration and Power Interface) subsystem. It initializes and configures various ACPI-related parameters, such as enabling or disabling ACPI features, setting interrupt routing, and configuring system clock sources. The code also handles command-line arguments to control these settings during boot time.
atl2.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 3111 lines
✨ Summary
This C code is part of a Linux kernel module that configures and initializes network interface cards (NICs). It validates user-provided configuration parameters for each NIC, ensuring they fall within valid ranges, and sets default values if necessary. The validated settings are then used to initialize various hardware components, such as transmit and receive ring sizes, interrupt timers, and flash vendor information.
This C code is part of a Linux kernel module that configures and initializes network interface cards (NICs). It validates user-provided configuration parameters for each NIC, ensuring they fall within valid ranges, and sets default values if necessary. The validated settings are then used to initialize various hardware components, such as transmit and receive ring sizes, interrupt timers, and flash vendor information.
Delegate.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 573 lines
✨ Summary
This Java code is part of a text editor’s plugin system, responsible for managing various menus and actions. It defines classes for handling recent files, macros, and new views, as well as actions to show files in the Finder. The code provides a framework for plugins to interact with the text editor, allowing users to customize its behavior through menu options and keyboard shortcuts.
This Java code is part of a text editor’s plugin system, responsible for managing various menus and actions. It defines classes for handling recent files, macros, and new views, as well as actions to show files in the Finder. The code provides a framework for plugins to interact with the text editor, allowing users to customize its behavior through menu options and keyboard shortcuts.
qt-linguist.qdocconf (https://bitbucket.org/ultra_iter/qt-vtl.git) Unknown · 5 lines
editdistance.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 59 lines
13 ** appearing in the file LICENSE.LGPL included in the packaging of this
14 ** file. Please review the following information to ensure the GNU Lesser
15 ** General Public License version 2.1 requirements will be met:
25 ** and appearing in the file LICENSE.GPL included in the packaging of this
26 ** file. Please review the following information to ensure the GNU General
27 ** Public License version 3.0 requirements will be met:
Patch.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 395 lines
✨ Summary
This Java code implements a patch editor that applies changes to a text file by applying chunks of text, known as “patches”, to the original file. It supports three types of patches: add (insertion), change (replacement), and delete (removal). The code uses an offset-based system to apply patches to the original file, allowing for precise control over where in the file each patch is applied.
This Java code implements a patch editor that applies changes to a text file by applying chunks of text, known as “patches”, to the original file. It supports three types of patches: add (insertion), change (replacement), and delete (removal). The code uses an offset-based system to apply patches to the original file, allowing for precise control over where in the file each patch is applied.
7 * This Library implements a simple patch algorithm which is able to process
8 * the output of diff in normal format.<br>
9 * <br>
47 Detailed Description of Normal Format
49 The normal output format consists of one or more hunks of differences; each hunk
50 shows one area where the files differ. Normal format hunks look like this:
Base64.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 1437 lines
✨ Summary
This Java code implements a base64 encoding and decoding system. It provides two main classes: Base64
and OutputStream
. The Base64
class contains methods for encoding and decoding strings, while the OutputStream
class is used to output the encoded data. The main
method demonstrates how to use these classes by taking a command-line argument (either “decode” or “encode”) and applying it to a string input.
This Java code implements a base64 encoding and decoding system. It provides two main classes: Base64
and OutputStream
. The Base64
class contains methods for encoding and decoding strings, while the OutputStream
class is used to output the encoded data. The main
method demonstrates how to use these classes by taking a command-line argument (either “decode” or “encode”) and applying it to a string input.
PropertyListWriter.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 443 lines
✨ Summary
This Java code generates an XML file that represents a macOS application’s bundle metadata, including its name, version, and various settings such as classpath, services, and properties. The output is a standard format required by Apple for distributing applications on the Mac App Store. It creates an XML document with key-value pairs representing the bundle’s configuration.
This Java code generates an XML file that represents a macOS application’s bundle metadata, including its name, version, and various settings such as classpath, services, and properties. The output is a standard format required by Apple for distributing applications on the Mac App Store. It creates an XML document with key-value pairs representing the bundle’s configuration.
63 // Xerces serializer
64 import org.apache.xml.serialize.OutputFormat;
65 import org.apache.xml.serialize.XMLSerializer;
121 // Prettify the XML Two space indenting, no line wrapping
122 OutputFormat outputFormat = new OutputFormat();
123 outputFormat.setMethod("xml");
124 outputFormat.setIndenting(true);
125 outputFormat.setIndent(2);
126 outputFormat.setLineWidth(0);
128 // Create a DOM serlializer and write the XML
129 XMLSerializer serializer = new XMLSerializer(writer, outputFormat);
130 serializer.asDOMSerializer();
Toggle_ReadOnly.bsh (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 88 lines
qqueryparser_p.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ Header · 110 lines
InstallPanel.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 632 lines
✨ Summary
This Java code is part of a plugin manager for the JEdit text editor. It displays a table of plugins, allowing users to sort and install them. The code handles user interactions, such as clicking on column headers to sort the table, and installing selected plugins with optional dependencies. It also includes progress indicators and confirmation dialogs for installation operations.
This Java code is part of a plugin manager for the JEdit text editor. It displays a table of plugins, allowing users to sort and install them. The code handles user interactions, such as clicking on column headers to sort the table, and installing selected plugins with optional dependencies. It also includes progress indicators and confirmation dialogs for installation operations.
31 import java.awt.*;
32 import java.text.NumberFormat;
33 import java.util.*;
125 //{{{ formatSize() method
126 private String formatSize(int size)
127 {
128 NumberFormat df = NumberFormat.getInstance();
129 df.setMaximumFractionDigits(1);
134 else
135 sizeText = df.format(size/1048576d) + "MB";
136 return sizeText;
205 case 3: return entry.version;
206 case 4: return formatSize(entry.size);
207 default: throw new Error("Column out of range");
README.txt (https://jedit.svn.sourceforge.net/svnroot/jedit) Plain Text · 8 lines
journal.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 2456 lines
✨ Summary
This C code initializes and manages a journaling system for Linux file systems, specifically ext4. It sets up various data structures, caches, and modules to handle journaling operations, including logging, caching, and device name mapping. The code also handles module initialization and cleanup, as well as error handling and debugging features.
This C code initializes and manages a journaling system for Linux file systems, specifically ext4. It sets up various data structures, caches, and modules to handle journaling operations, including logging, caching, and device name mapping. The code also handles module initialization and cleanup, as well as error handling and debugging features.
db_queues.rb
(git://github.com/37signals/37s_cookbooks.git)
Ruby · 103 lines
✨ Summary
This Ruby script checks the size of a database queue by executing a MySQL query and comparing its result to user-defined thresholds for warning and critical values. It outputs Nagios-compatible performance data, indicating whether the query result is within acceptable limits or not, and exits with an appropriate status code (OK, WARNING, CRITICAL, or UNKNOWN).
This Ruby script checks the size of a database queue by executing a MySQL query and comparing its result to user-defined thresholds for warning and critical values. It outputs Nagios-compatible performance data, indicating whether the query result is within acceptable limits or not, and exits with an appropriate status code (OK, WARNING, CRITICAL, or UNKNOWN).
ccid3.h
(http://omnia2droid.googlecode.com/svn/trunk/)
C++ Header · 172 lines
✨ Summary
This is a C header file that defines structures and functions for handling DCCP (Datagram Congestion Control Protocol) connections. It provides data types and functions for managing receiver and sender half-connection sockets, tracking packet loss and congestion, and controlling transmission rates. The code appears to be part of a larger network protocol implementation.
This is a C header file that defines structures and functions for handling DCCP (Datagram Congestion Control Protocol) connections. It provides data types and functions for managing receiver and sender half-connection sockets, tracking packet loss and congestion, and controlling transmission rates. The code appears to be part of a larger network protocol implementation.
FtpClient.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 1046 lines
✨ Summary
This Java code implements a basic FTP client and server framework. It provides methods for sending and receiving FTP commands, handling responses, and managing socket connections. The code includes classes for reading and writing data, as well as logging and debugging functionality. It appears to be a foundation for building a full-featured FTP application or library.
This Java code implements a basic FTP client and server framework. It provides methods for sending and receiving FTP commands, handling responses, and managing socket connections. The code includes classes for reading and writing data, as well as logging and debugging functionality. It appears to be a foundation for building a full-featured FTP application or library.
112 * the control connections are made (some servers may require
113 * this). Additional identification information in the form of
114 * a password and/or an account command may also be required by
116 * entered at any point in order to change the access control
117 * and/or accounting information. This has the effect of
118 * flushing any user, password, and account information already
134 * identification for access control. Since password
135 * information is quite sensitive, it is desirable in general
136 * to "mask" it or suppress typeout. It appears that the
138 * therefore the responsibility of the user-FTP process to hide
139 * the sensitive password information.
140 * <BR><I>Per RFC959</I>
153 * There are reply codes to differentiate these cases for the
154 * automation: when account information is required for login,
155 * the response to a successful PASSword command is reply code
Name.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 1067 lines
✨ Summary
This Java code is part of a BeanShell interpreter, which allows users to execute dynamic Java code. It handles method invocations, command loading, and error handling for a scripting language. The code parses user input, resolves compound names (e.g., “this.myMethod”), and invokes methods or commands accordingly.
This Java code is part of a BeanShell interpreter, which allows users to execute dynamic Java code. It handles method invocations, command loading, and error handling for a scripting language. The code parses user input, resolves compound names (e.g., “this.myMethod”), and invokes methods or commands accordingly.
52 which caches them subject to a class namespace change. This means that
53 we can cache information about various types of resolution here.
54 Currently very little if any information is cached. However with a future
66 for the AST (BSHMehodInvocation) to use this as it doesn't have type
67 information about the target to resolve overloaded methods.
68 (In Java, overloaded methods are resolved at compile time... here they
QtGui.4.0.0.linux-gcc-amd64.txt (https://bitbucket.org/ultra_iter/qt-vtl.git) Plain Text · 10944 lines
xhtml1-strict.dtd (https://jedit.svn.sourceforge.net/svnroot/jedit) Document Type Definition · 989 lines
9 For further information, see: http://www.w3.org/TR/xhtml1
76 <!ENTITY % Datetime "CDATA">
77 <!-- date and time information. ISO date format -->
272 <!-- generic metainformation -->
273 <!ELEMENT meta EMPTY>
435 <!-- information on author -->
449 <!--=================== Preformatted Text ================================-->
java.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 176 lines
log.rb
(git://github.com/opscode/chef.git)
Ruby · 40 lines
✨ Summary
This Ruby code initializes a logging system for the Chef framework, setting up a logger and formatter to handle log messages. It imports necessary libraries, defines a custom logger class with a formatter, and sets default settings for the formatter. The logger is designed to work with the Mixlib::Log library, providing a structured way to output logs in a consistent format.
This Ruby code initializes a logging system for the Chef framework, setting up a logger and formatter to handle log messages. It imports necessary libraries, defines a custom logger class with a formatter, and sets default settings for the formatter. The logger is designed to work with the Mixlib::Log library, providing a structured way to output logs in a consistent format.
random_shuffle.hpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ Header · 0 lines
✨ Summary
This C++ header file provides a range-based implementation of the std::random_shuffle
algorithm, which shuffles the elements in a random order within a given range. It includes overloads for both non-const and const versions of the range, as well as overloads that take an additional generator function to customize the shuffle process.
This C++ header file provides a range-based implementation of the std::random_shuffle
algorithm, which shuffles the elements in a random order within a given range. It includes overloads for both non-const and const versions of the range, as well as overloads that take an additional generator function to customize the shuffle process.
DocumentStyleTest.rb
(http://rorptm.googlecode.com/svn/trunk/)
Ruby · 86 lines
✨ Summary
This Ruby code defines a unit test class DocumentStyleTest
that tests the functionality of the DocumentStyle
class, which represents document styles in RTF (Rich Text Format). The tests cover basic properties, mutators, prefix generation, and body calculation methods to ensure they behave as expected.
This Ruby code defines a unit test class DocumentStyleTest
that tests the functionality of the DocumentStyle
class, which represents document styles in RTF (Rich Text Format). The tests cover basic properties, mutators, prefix generation, and body calculation methods to ensure they behave as expected.
usbsink-utils.patch
(git://github.com/repoforge/rpms.git)
Patch · 12 lines
✨ Summary
The patch code removes a commented-out line that defines TERABYTE
as a constant, effectively disabling its use in the code. The change is likely made to prevent accidental usage of an undefined constant.
The patch code removes a commented-out line that defines TERABYTE
as a constant, effectively disabling its use in the code. The change is likely made to prevent accidental usage of an undefined constant.
sum_avg_cxx98.cpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ · 0 lines
✨ Summary
This C++ code defines a function do_sum_avg
that calculates the sum and average of an array of integers. It is then wrapped in a boost::function
object, which allows its address to be stored and passed around like any other pointer. The code demonstrates how a function can be stored and reused as a variable.
This C++ code defines a function do_sum_avg
that calculates the sum and average of an array of integers. It is then wrapped in a boost::function
object, which allows its address to be stored and passed around like any other pointer. The code demonstrates how a function can be stored and reused as a variable.
libsidutils.vcproj (git://github.com/xbmc/xbmc.git) Unknown · 335 lines
GlobalAssemblyInfo.cs (https://bitbucket.org/jens13/cleanzip.git) C# · 17 lines
TwoLeggedOAuthExample.java
(http://gdata-java-client.googlecode.com/svn/trunk/)
Java · 117 lines
✨ Summary
This Java code demonstrates a 2-Legged OAuth flow to access Google Data using the Google Data Java Client Library. It collects user information, sets up OAuth objects, and makes a request to Google with the obtained credentials, displaying the response data.
This Java code demonstrates a 2-Legged OAuth flow to access Google Data using the Google Data Java Client Library. It collects user information, sets up OAuth objects, and makes a request to Google with the obtained credentials, displaying the response data.
40 ////////////////////////////////////////////////////////////////////////////
41 // STEP 1: Gather the user's information
42 ////////////////////////////////////////////////////////////////////////////
44 // This step collects information from the user, such as the consumer key
45 // and which service to query. This is just a general setup routine, and
46 // the method by which you collect user information may be different in your
47 // implementation.