100+ results for 'Format'
Not the results you expected?
oper_32b.c (https://bitbucket.org/aways/android_frameworks_av.git) C · 223 lines
cvmx-fpa-defs.h (https://github.com/TrueBlueDrew/Ace-GB-DHD.git) C Header · 403 lines
gp_Hypr.hxx (https://github.com/jehc/MondocosmOS.git) C++ Header · 299 lines
162 gp_Ax1 Directrix1() const;
164 //! This line is obtained by the symmetrical transformation <br>
165 //! of "Directrix1" with respect to the "YAxis" of the hyperbola. <br>
166 gp_Ax1 Directrix2() const;
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>
200 gp_Hypr OtherBranch() const;
222 Standard_EXPORT void Mirror(const gp_Pnt& P) ;
224 //! Performs the symmetrical transformation of an hyperbola with <br>
225 //! respect to the point P which is the center of the symmetry. <br>
226 Standard_EXPORT gp_Hypr Mirrored(const gp_Pnt& P) const;
InfProtocolObject.py (https://gitlab.com/envieidoc/Clover) Python · 311 lines
PortalUrlProviderImpl.java (https://github.com/Jasig/uPortal.git) Java · 259 lines
1 /**
2 * Licensed to Apereo under one or more contributor license agreements. See the NOTICE file
3 * distributed with this work for additional information regarding copyright ownership. Apereo
4 * licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use
5 * this file except in compliance with the License. You may obtain a copy of the License at the
ei_encode_test.c (https://github.com/up2u0609/otp.git) C · 466 lines
TreeWalker.php (https://bitbucket.org/alessandro-aglietti/itis-leonardo-da-vinci.git) PHP · 409 lines
14 *
15 * This software consists of voluntary contributions made by many individuals
16 * and is licensed under the MIT license. For more information, see
17 * <http://www.doctrine-project.org>.
18 */
29 {
30 /**
31 * Initializes TreeWalker with important information about the ASTs to be walked
32 *
33 * @param Query $query The parsed Query.
iwl-bus.h (https://github.com/mstsirkin/kvm.git) C Header · 139 lines
r100_track.h (https://github.com/mstsirkin/kvm.git) C Header · 197 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.
27 */
36 };
38 static inline struct trace_bprintk_fmt *lookup_format(const char *fmt)
39 {
40 struct trace_bprintk_fmt *pos;
48 static
49 void hold_module_trace_bprintk_format(const char **start, const char **end)
50 {
51 const char **iter;
elfcore.h (https://github.com/dmitriy103/bravo_kernel-2.6.35.git) C Header · 171 lines
70 /* When using FDPIC, the loadmap addresses need to be communicated
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
74 * be viewed as part of the register set if so desired.
156 * contents makes post-mortem fully interpretable later without matching up
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.
160 */
spectrum_def.h (https://github.com/dmitriy103/bravo_kernel-2.6.35.git) C Header · 202 lines
thread_info.h (https://github.com/dmitriy103/bravo_kernel-2.6.35.git) C Header · 173 lines
2 #define _ASM_M32R_THREAD_INFO_H
4 /* thread_info.h: m32r low-level thread information
5 *
6 * Copyright (C) 2002 David Howells (dhowells@redhat.com)
60 /*
61 * macros/functions for gaining access to the thread information structure
62 */
63 #ifndef __ASSEMBLY__
79 #define init_stack (init_thread_union.stack)
81 /* how to get the thread information struct from C */
82 static inline struct thread_info *current_thread_info(void)
83 {
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
79 fprintf(stdout, "(No Error)\n");
80 break;
81 case DNS_RESP_FORMAT:
82 fprintf(stdout, "(Format Error)\n");
161 break;
162 case DNS_TYPE_HINFO:
163 fprintf(stdout,"(Host Information)\n");
164 break;
165 case DNS_TYPE_MINFO:
272 break;
273 case DNS_TYPE_HINFO:
274 fprintf(stdout,"(Host Information)\n");
275 break;
276 case DNS_TYPE_MINFO:
468 break;
469 case DNS_TYPE_HINFO:
470 fprintf(stdout,"(Host Information)\n");
471 break;
472 case DNS_TYPE_MINFO:
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,
136 static inline bool
137 VMwareVideoGetAttributes(const SVGAOverlayFormat format, /* IN */
138 uint32 *width, /* IN / OUT */
139 uint32 *height, /* 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
85 * Default constructor. Creates a formatter that only outputs log message.
86 */
87 basic_formatter() : m_Formatter(default_formatter())
88 {
89 }
91 * Copy constructor
92 */
93 basic_formatter(basic_formatter const& that) : m_Formatter(that.m_Formatter)
94 {
95 }
97 * Move constructor
98 */
99 basic_formatter(BOOST_RV_REF(this_type) that) BOOST_NOEXCEPT : m_Formatter(boost::move(that.m_Formatter))
100 {
101 }
security_manager.h (https://github.com/soulxu/libvirt-xuhj.git) C Header · 100 lines
34 virSecurityManagerPtr virSecurityManagerNew(const char *name,
35 bool allowDiskFormatProbing);
37 virSecurityManagerPtr virSecurityManagerNewStack(virSecurityManagerPtr primary,
40 virSecurityManagerPtr virSecurityManagerNewDAC(uid_t user,
41 gid_t group,
42 bool allowDiskFormatProbing,
43 bool dynamicOwnership);
49 const char *virSecurityManagerGetDOI(virSecurityManagerPtr mgr);
50 const char *virSecurityManagerGetModel(virSecurityManagerPtr mgr);
51 bool virSecurityManagerGetAllowDiskFormatProbing(virSecurityManagerPtr mgr);
53 int virSecurityManagerRestoreImageLabel(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
54 * \par
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.
LAFServlet.java (https://bitbucket.org/ldassonville/openesb-core.git) Java · 162 lines
17 * If applicable add the following below this CDDL HEADER,
18 * with the fields enclosed by brackets "[]" replaced with
19 * your own identifying information: Portions Copyright
20 * [year] [name of copyright owner]
21 */
33 import java.io.IOException;
34 import java.io.PrintWriter;
35 import java.text.SimpleDateFormat;
36 import java.util.Date;
37 import java.util.GregorianCalendar;
140 GregorianCalendar gregoriancalendar = new GregorianCalendar();
141 Date date = gregoriancalendar.getTime();
142 SimpleDateFormat simpledateformat = new SimpleDateFormat("yyMMddHHmmssSSS");
143 String s = simpledateformat.format(date);
ui00006.ksh (https://bitbucket.org/ldassonville/openesb-core.git) Korn Shell · 135 lines
ACKCONTENT.java (https://bitbucket.org/ldassonville/openesb-components.git) Java · 188 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
42 /**
43 * base interface that models the service information described in the service unit descriptor for
44 * consumed services and provided services.
45 */
67 }
68 /**
69 * this interface represents the consumed service information in the su descriptor.
70 */
71 public interface Consumes extends Service {
MessageChannelMultiPageTest.java (https://gitlab.com/blocknotary/IonicInterviews) Java · 110 lines
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements. See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership. The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the
ConfluenceExportMojo.java (https://gitlab.com/essere.lab.public/qualitas.class-corpus) Java · 192 lines
2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements. See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the
feTurbulence.svg (https://gitlab.com/essere.lab.public/qualitas.class-corpus) SVG · 112 lines
7 Licensed to the Apache Software Foundation (ASF) under one or more
8 contributor license agreements. See the NOTICE file distributed with
9 this work for additional information regarding copyright ownership.
10 The ASF licenses this file to You under the Apache License, Version 2.0
11 (the "License"); you may not use this file except in compliance with
Environment.java (https://gitlab.com/essere.lab.public/qualitas.class-corpus) Java · 176 lines
2 * Licensed to the Apache Software Foundation (ASF) under one or more
3 * contributor license agreements. See the NOTICE file distributed with
4 * this work for additional information regarding copyright ownership.
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
Makefile (https://bitbucket.org/killerpenguinassassins/open_distrib_devel.git) Makefile · 265 lines
37 archive_read_support_compression_uu.c \
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
59 } MEMORYSTATUSEX,*LPMEMORYSTATUSEX;
61 typedef enum _COMPUTER_NAME_FORMAT {
62 ComputerNameNetBIOS,
63 ComputerNameDnsHostname,
69 ComputerNamePhysicalDnsFullyQualified,
70 ComputerNameMax
71 } COMPUTER_NAME_FORMAT;
73 WINBASEAPI WINBOOL WINAPI GlobalMemoryStatusEx (LPMEMORYSTATUSEX lpBuffer);
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);
92 WINBASEAPI VOID WINAPI GetSystemTimePreciseAsFileTime (LPFILETIME lpSystemTimeAsFileTime);
97 #endif
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);
101 #endif
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
53 - (void)applicationDidEnterBackground:(UIApplication *)application
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.
57 }
86 {
87 NSString *title = @"发送结果";
88 NSString *message = [NSString stringWithFormat:@"响应状态: %d\n响应UserInfo数据: %@\n原请求UserInfo数据: %@",
89 response.statusCode, response.userInfo, response.requestUserInfo];
90 UIAlertView *alert = [[UIAlertView alloc] initWithTitle:title
99 {
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];
103 UIAlertView *alert = [[UIAlertView alloc] initWithTitle:title
github_controller_spec.rb (https://gitlab.com/fatihacet/gitlab-ce) Ruby · 161 lines
BaseActivity.java (https://gitlab.com/adamlwalker/android-discourse) Java · 124 lines
92 public void updateScopedSearch(int results, int articleResults, int ideaResults) {
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 }
98 }
MarkdownDescriptor.php (https://gitlab.com/Pasantias/pasantiasASLG) PHP · 143 lines
ProgressFormatter.php (https://gitlab.com/Pasantias/pasantiasASLG) PHP · 171 lines
8 * (c) Konstantin Kudryashov <ever.zet@gmail.com>
9 *
10 * For the full copyright and license information, please view the LICENSE
11 * file that was distributed with this source code.
12 */
14 namespace PhpSpec\Formatter;
16 use PhpSpec\Console\IO;
18 use PhpSpec\Event\ExampleEvent;
20 class ProgressFormatter extends ConsoleFormatter
21 {
22 const FPS = 10;
lima_drm.h (https://github.com/kvaneesh/linux.git) C Header · 176 lines
26 /**
27 * get various information of the GPU
28 */
29 struct drm_lima_get_param {
52 /**
53 * get information of a buffer
54 */
55 struct drm_lima_gem_info {
62 #define LIMA_SUBMIT_BO_WRITE 0x02
64 /* buffer information used by one task */
65 struct drm_lima_gem_submit_bo {
66 __u32 handle; /* in, GEM buffer handle */
drm_client.h (https://github.com/kvaneesh/linux.git) C Header · 196 lines
155 struct drm_client_buffer *
156 drm_client_framebuffer_create(struct drm_client_dev *client, u32 width, u32 height, u32 format);
157 void drm_client_framebuffer_delete(struct drm_client_buffer *buffer);
158 int drm_client_framebuffer_flush(struct drm_client_buffer *buffer, struct drm_rect *rect);
cps-vec-ns16550.S (https://github.com/kvaneesh/linux.git) Assembly · 212 lines
161 * @a0: pointer to NULL-terminated ASCII string naming the exception
162 *
163 * Write information that may be useful in debugging an exception to the
164 * UART configured by CONFIG_MIPS_CPS_NS16550_*. As this BEV exception
165 * will only be run if something goes horribly wrong very early during
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
59 Once the driver is registered and bound to the device, a driver will typically
60 try to do some I/O on this bus and this should be done through the :c:func:`mei_cl_send`
61 and :c:func:`mei_cl_recv` functions. More detailed information is in :ref:`api` section.
63 In order for a driver to be notified about pending traffic or event, the driver
i18nTest.php (https://github.com/bheneka/gitta.git) PHP · 159 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
23 *
24 * This file may also be available under a different license from Cavium.
25 * Contact Cavium Networks for more information
26 ***********************license end**************************************/
139 #ifdef __BIG_ENDIAN_BITFIELD
140 uint64_t reserved_4_63:60;
141 uint64_t format:4;
142 #else
143 uint64_t format:4;
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
9 <filename>.xml</filename>. XML is a very simple language, and as a result
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>
13 <para>Editing a mode or a mode catalog file within jEdit will cause the
212 different rulesets being used to highlight different parts of a buffer
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>
216 <para>The <literal>RULES</literal> tag supports the following
250 </listitem>
251 <listitem>
252 <para><literal>DIGIT_RE</literal> - see below for information
253 about these two attributes.</para>
254 </listitem>
TaskHandler.php (git://github.com/alexgorbatchev/SyntaxHighlighter.git) text · 0 lines
16 *
17 * This software consists of voluntary contributions made by many individuals
18 * and is licensed under the LGPL. For more information please see
19 * <http://phing.info>.
20 */
147 }
149 // add file position information to the task (from parser)
150 // should be used in task exceptions to provide details
151 $this->task->setLocation($this->parser->getLocation());
foxpro.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 1762 lines
204 <KEYWORD3>Error</KEYWORD3>
205 <KEYWORD3>ErrorMessage</KEYWORD3>
206 <KEYWORD3>FormatChange</KEYWORD3>
207 <KEYWORD3>GotFocus</KEYWORD3>
208 <KEYWORD3>Hide</KEYWORD3>
285 <KEYWORD3>ClearData</KEYWORD3>
286 <KEYWORD3>GetData</KEYWORD3>
287 <KEYWORD3>GetFormat</KEYWORD3>
288 <KEYWORD3>SetData</KEYWORD3>
289 <KEYWORD3>SetFormat</KEYWORD3>
447 <KEYWORD3>ForceFocus</KEYWORD3>
448 <KEYWORD3>ForeColor</KEYWORD3>
449 <KEYWORD3>Format</KEYWORD3>
450 <KEYWORD3>FormCount</KEYWORD3>
451 <KEYWORD3>FormIndex</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.
33 /**
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
37 *
49 #define ldm_info(f, a...) _ldm_printk (KERN_INFO, __func__, f, ##a)
51 __attribute__ ((format (printf, 3, 4)))
52 static void _ldm_printk (const char *level, const char *function,
53 const char *fmt, ...)
121 * ldm_parse_privhead - Read the LDM Database PRIVHEAD structure
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
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.
9 are made as to fitness for any particular purpose. No warranties of any
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
13 will be exchange of defective media within 90 days of receipt.
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
24 Character Database can be redistributed to third parties or other
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
28 accompanying notice indicating the source.
users-guide.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 406 lines
167 <para>
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
171 will become the active project.
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
325 those using Java 1.3, you can dowload Crimson or Xerces from
launcher-guide.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 593 lines
36 successful, it transmits the appropriate BeanShell script to the server.
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
40 it launches the application.
134 <quote>Set jEdit Parameters</quote> dialog box, and cannot be
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" />.
138 </para>
220 be treated as the base for comparison purposes. If the plugin is not
221 installed, an error message will be displayed in jEdit. See <xref
222 linkend="using-plugins" /> for more information about installing
223 plugins.
224 </para>
morphSaving.self (git://github.com/ticking/self.git) Unknown · 1626 lines
Newtonsoft.Json.xml (https://bitbucket.org/BillinghamJ/small-makeitjson.git) XML · 8255 lines
140 <member name="P:Newtonsoft.Json.JsonReader.DateParseHandling">
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>
144 </member>
715 </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>
724 Get or set how dates are written to JSON text.
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.
59 // "Restore previously open files on startup" is off.
60 // The last open session won't be restored.
61 // Show an information dialog.
62 showInfoMessage("sessions.manager.info.restore");
63 }
298 GUIUtilities.hideSplashScreen();
299 JOptionPane.showMessageDialog(null, new Object[] { msg, notAgain },
300 title, JOptionPane.INFORMATION_MESSAGE);
301 jEdit.setBooleanProperty(key + ".notAgain", notAgain.isSelected());
302 }
activity-log.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 43 lines
18 </para>
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>
25 <listitem><para>All error messages and runtime exceptions (most errors
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
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.
31 /**
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).
35 */
168 *
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>
172 *
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>");
307 header.append(dateString);
588 /*
590 Macro index data (in DocBook format)
592 <listitem>
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.
715 * links them into chain and (if we are synchronous) writes them to disk.
716 * In other words, it prepares a branch that can be spliced onto the
717 * inode. It stores the information about that chain in the branch[], in
718 * the same format as ext4_get_branch() would do. We are calling it after
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.
42 // `debugAtAllCosts`, it is strongly recommended that you enable this
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)
46 debugAtAllCosts: false,
323 // description:
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
327 // value if setting is successful or `undefined` if not.
353 // description:
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:
357 // Path to an property, in the form "A.B.C".
apdl.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 7537 lines
202 <SEQ TYPE="KEYWORD1" AT_WORD_START="TRUE">/FOCUS</SEQ>
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>
206 <SEQ TYPE="KEYWORD1" AT_WORD_START="TRUE">/FTYPE</SEQ>
212 <SEQ TYPE="KEYWORD1" AT_WORD_START="TRUE">/GFILE</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>
216 <SEQ TYPE="KEYWORD1" AT_WORD_START="TRUE">/GLINE</SEQ>
397 <SEQ TYPE="OPERATOR">/</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
148 static JSCell* formatLocaleDate(ExecState* exec, DateInstance*, double timeInMilliseconds, LocaleDateTimeFormat format)
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);
274 }
276 static JSCell* formatLocaleDate(ExecState* exec, DateInstance* dateObject, double, LocaleDateTimeFormat format)
277 {
278 const GregorianDateTime* gregorianDateTime = dateObject->gregorianDateTime(exec);
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
49 int getMinFilter() const { return m_minFilter; }
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;
59 GC3Dsizei getWidth(GC3Denum target, GC3Dint level) const;
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
79 Work along with each copy of the Original Work that Licensor distributes.
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.
296 NSData data = pboard.dataForType("NSFilenamesPboardType");
297 String[] error = new String[1];
298 int[] format = new int[1];
299 NSArray filenames = (NSArray)NSPropertyListSerialization.propertyListFromData(data,
300 NSPropertyListSerialization.PropertyListImmutable,
301 format,
302 error);
303 int count = filenames.count();
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
12 ** License version 2.1 as published by the Free Software Foundation and
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:
16 ** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
24 ** Public License version 3.0 as published by the Free Software Foundation
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:
28 ** http://www.gnu.org/copyleft/gpl.html.
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.
6 /**
7 * This Library implements a simple patch algorithm which is able to process
8 * the output of diff in normal format.<br>
9 * <br>
10 * This class implements the algorithm.<br>
45 This comment is covered under the GNU Free Documentation License.
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:
52 change-command
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.
20 * automatically. Generally things are cleaner. You'll probably have to
21 * change some method calls that you were making to support the new
22 * options format (<tt>int</tt>s that you "OR" together).</li>
23 * <li>v1.5.1 - Fixed bug when decompressing and decoding to a
24 * byte[] using <tt>decode( String s, boolean gzipCompressed )</tt>.
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;
66 import org.apache.xml.serialize.LineSeparator;
120 new FileOutputStream(fileName), "UTF-8"));
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
Toggle_ReadOnly.bsh (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 88 lines
join.cpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ · 0 lines
✨ Summary
This C++ code is a unit test suite for the boost::range
library, specifically testing the join()
function. It creates various combinations of source range types and tests their join functionality with different target ranges, ensuring correct behavior and type demotion. The test suite covers various range types, including vectors, lists, and deques, to ensure comprehensive coverage.
This C++ code is a unit test suite for the boost::range
library, specifically testing the join()
function. It creates various combinations of source range types and tests their join functionality with different target ranges, ensuring correct behavior and type demotion. The test suite covers various range types, including vectors, lists, and deques, to ensure comprehensive coverage.
qqueryparser_p.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ Header · 110 lines
10 ** License version 2.1 as published by the Free Software Foundation and
11 ** appearing in the file LICENSE.LGPL included in the packaging of this file.
12 ** Please review the following information to ensure the GNU Lesser General
13 ** Public License version 2.1 requirements will be met:
14 ** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
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.
30 import java.awt.event.*;
31 import java.awt.*;
32 import java.text.NumberFormat;
33 import java.util.*;
34 import org.gjt.sp.jedit.gui.*;
123 //}}}
125 //{{{ formatSize() method
126 private String formatSize(int size)
127 {
128 NumberFormat df = NumberFormat.getInstance();
129 df.setMaximumFractionDigits(1);
130 df.setMinimumFractionDigits(0);
133 sizeText = size/1024 + "KB";
134 else
135 sizeText = df.format(size/1048576d) + "MB";
136 return sizeText;
137 } //}}}
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.
111 * normally be the first command transmitted by the user after
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
115 * some servers. Servers may allow a new USER command to be
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
133 * user name command, and, for some sites, completes the user's
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
137 * server has no foolproof way to achieve this. It is
138 * therefore the responsibility of the user-FTP process to hide
139 * the sensitive password information.
140 * <BR><I>Per RFC959</I>
141 **/
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.
51 Name objects are created by the factory method NameSpace getNameResolver(),
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
65 the MethodInvoker (BshMethod or JavaMethod) however there is no easy way
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
69 are, of necessity, dynamic). So it would have to do what we do here
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
7 Namespace = http://www.w3.org/1999/xhtml
9 For further information, see: http://www.w3.org/TR/xhtml1
11 Copyright (c) 1998-2000 W3C (MIT, INRIA, Keio),
76 <!ENTITY % Datetime "CDATA">
77 <!-- date and time information. ISO date format -->
79 <!ENTITY % Script "CDATA">
270 >
272 <!-- generic metainformation -->
273 <!ELEMENT meta EMPTY>
274 <!ATTLIST meta
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.
ticket_5556_is_sorted_namespace.cpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ · 0 lines
✨ Summary
This C++ code initializes a unit test suite for testing issues related to the Boost.Range library, specifically ticket #5556. It sets up a test case using the test_ticket_5556
function and adds it to a test suite named “RangeTestSuite.ticket_5556”. The test suite is then initialized with command-line arguments.
This C++ code initializes a unit test suite for testing issues related to the Boost.Range library, specifically ticket #5556. It sets up a test case using the test_ticket_5556
function and adds it to a test suite named “RangeTestSuite.ticket_5556”. The test suite is then initialized with command-line arguments.
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