100+ results for 'php round'
Not the results you expected?
CHANGES.txt (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 52 lines
test.css
(https://jedit.svn.sourceforge.net/svnroot/jedit)
CSS · 641 lines
✨ Summary
This CSS code defines a set of styles for various HTML elements, including font families, sizes, weights, and colors. It sets default values for many elements, such as body
, span
, and div
, and overrides them with more specific rules for other elements like img
and b
. The styles are often contradictory or inconsistent, suggesting a complex and potentially confusing design.
This CSS code defines a set of styles for various HTML elements, including font families, sizes, weights, and colors. It sets default values for many elements, such as body
, span
, and div
, and overrides them with more specific rules for other elements like img
and b
. The styles are often contradictory or inconsistent, suggesting a complex and potentially confusing design.
modules-defaults.php (https://gitlab.com/Magi1053/Extra) PHP · 250 lines
1 <?php
2 // Prevent file from being loaded directly
3 if ( ! defined( 'ABSPATH' ) ) {
60 // Tabbed Posts
61 'et_pb_tabbed_posts-active_tab_background_color' => '#ffffff',
62 'et_pb_tabbed_posts-inactive_tab_background_color' => '#f6f9fd',
146 'et_pb_featured_posts_slider-meta_letter_spacing' => '0px',
148 'et_pb_featured_posts_slider-slide_caption_background' => 'rgba(0, 0, 0, 0.6)',
149 'et_pb_featured_posts_slider-remove_drop_shadow' => 'off',
150 'et_pb_featured_posts_slider-border_radius' => '3px',
224 // Ads
225 'et_pb_ads-background_color' => '#FFFFFF',
226 'et_pb_ads-remove_drop_shadow' => 'off',
227 'et_pb_ads-border_radius' => '3px',
filing_costs.php (https://bitbucket.org/amitholkar/zenfile-18-05.git) PHP · 198 lines
39 ?>
40 <div class="finance_country <?php echo $status ?> custom_accordion" ref="filing_cost_country_<?php echo $invoice->id ?>"><?php echo $invoice->country ?></div>
96 <input type="hidden" name="additional_fee_id[]" value="<?php echo $additional_fee->additional_fee_id ?>">
97 <?php echo $currency_sign ?><input title="<?php echo $additional_fee->additional_fee_description_by_fa ?>" name="additional_fee_corrected_by_pm[]" value="<?php echo $additional_fee_value ?>" type="text"/>
98 </div>
99 <!-- <div class="finance_input float_left" style="width: 170px;">-->
116 <?php foreach($invoice->invoices as $file) { ?>
117 <a href="<?php echo base_url() ?>cases/download_file/<?php echo $file->file_id ?>"><?php echo $file->filename ?></a>
118 <?php } ?>
177 </div>
178 <div class="finance_input float_left">
179 <?php echo $currency_sign ?><input readonly="true" value="<?php echo $estimate_summ ?>" type="text"/>
180 </div>
181 <div class="clear"></div>
style.php (https://github.com/shafiqissani/Jewelery-Ecommerce-.git) PHP · 262 lines
84 <?php if($_GET['text_block_position'] == 1) : ?>width: <?php echo $text_block_width; ?>px;<?php else : ?>width: <?php echo $_GET['slide_width'];?>px;<?php endif; ?>
85 <?php if($_GET['text_block_position'] == 1) : ?>height: <?php echo $_GET['slide_height']; ?>px;<?php else : ?>height: <?php echo $_GET['text_block_height']; ?>px;<?php endif; ?>
86 position: absolute;
87 <?php if($_GET['text_block_position'] == 1) : ?>top: <?php echo $_GET['image_y']; ?>px;<?php endif; ?>
88 <?php if($_GET['text_block_position'] == 0) : ?>bottom: <?php echo $_GET['module_height']-$_GET['slide_height']-$_GET['image_y'];?>px;<?php endif; ?>
89 <?php if($_GET['text_block_position'] == 1) : ?>left: <?php echo $_GET['text_block_margin']; ?>px;<?php else : ?>left: <?php echo $_GET['image_x']; ?>px;<?php endif; ?>
90 background-color: <?php echo $text_overlay_bgcolor;?>;
97 <?php if($_GET['text_block_position'] == 1) : ?>width: <?php echo $text_block_width-10; ?>px;<?php else : ?>width: 90%;margin: 0 5%;<?php endif; ?>
98 <?php if($_GET['text_block_position'] == 1) : ?>height: <?php echo $text_block_height-10; ?>px;<?php else : ?>height: <?php echo $_GET['text_block_height']; ?>px;<?php endif; ?>
99 <?php if($_GET['text_block_position'] == 1) : ?>left: <?php echo $_GET['text_block_margin']; ?>px;<?php endif; ?>
100 position: absolute;
101 <?php if($_GET['text_block_position'] == 1) : ?>top: <?php echo $text_block_top; ?>px;<?php else : ?>bottom: 0;<?php endif; ?>
102 }
basic_tests.cpp (https://bitbucket.org/prenaux/boost_1_53.git) C++ · 200 lines
vec.c (https://github.com/llucax/dmd.git) C · 656 lines
module.php (https://gitlab.com/mostafame/team_website) PHP · 471 lines
1 <?php
3 class DSLC_TP_Excerpt extends DSLC_Module {
48 'refresh_on_change' => false,
49 'affect_on_change_el' => '.dslc-tp-excerpt',
50 'affect_on_change_rule' => 'background-color',
51 'section' => 'styling',
52 ),
461 if ( $the_excerpt ) :
462 ?><div class="dslc-tp-excerpt"><?php echo $the_excerpt; ?></div><?php
463 endif;
bsh.jjt (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 1196 lines
SerpentEngine.java (https://gitlab.com/edgardo001/bc-java) Java · 296 lines
5 /**
6 * Serpent is a 128-bit 32-round block cipher with variable key lengths,
7 * including 128, 192 and 256 bit keys conjectured to be at least as
8 * secure as three-key triple-DES.
54 // expand the padded key up to 33 x 128 bits of key material
55 //
56 int amount = (ROUNDS + 1) * 4;
57 int[] w = new int[amount];
rmd128.c (https://gitlab.com/kush/linux) C · 327 lines
43 #define F4(x, y, z) (y ^ (z & (x ^ y))) /* z ? x : y */
45 #define ROUND(a, b, c, d, f, k, x, s) { \
46 (a) += f((b), (c), (d)) + le32_to_cpup(&(x)) + (k); \
47 (a) = rol32((a), (s)); \
64 ddd = state[3];
66 /* round 1: left lane */
67 ROUND(aa, bb, cc, dd, F1, K1, in[0], 11);
68 ROUND(dd, aa, bb, cc, F1, K1, in[1], 14);
69 ROUND(cc, dd, aa, bb, F1, K1, in[2], 15);
70 ROUND(bb, cc, dd, aa, F1, K1, in[3], 12);
71 ROUND(aa, bb, cc, dd, F1, K1, in[4], 5);
move.php (https://github.com/MarxGames/E-Hobused.git) PHP · 328 lines
1 <?php
2 include_once 'models/game.php';
53 /*
54 move : game_id , round , performed_at , type , object , subject , param1 , param2 , extra
55 */
56 abstract class Move {
109 parent::save($game);
111 $query_string = sprintf("INSERT INTO move(game_id, type, subject, object, round, param1, param2, param3) ".
112 "VALUES (%d, 'place_horse', %d, %d, %d, %d, %d, %d);",
113 $game->values['id'],
173 function save(Game $game){
174 parent::save($game);
175 $query_string = sprintf("INSERT INTO move(game_id, type, subject, object, round, param1, param2, param3) ".
176 "VALUES (%d, 'remove_horse', %d, %d, %d, %d, %d, %d);",
177 $game->values['id'],
GlyphPacker.cs (https://github.com/virtualglobebook/OpenGlobe.git) C# · 270 lines
33 namespace OpenTK.Graphics.Text
34 {
35 class GlyphPacker
36 {
37 Node root;
39 #region --- Constructors ---
41 public GlyphPacker(int width, int height)
42 {
43 if (width <= 0)
135 /// <summary>
136 /// Rounds boundingBox to the largest integer and adds the resulting Rectangle to the GlyphPacker.
137 /// </summary>
138 /// <param name="boundingBox">The bounding box of the item to pack.</param>
dialog.js (https://gitlab.com/phamngsinh/baitaplon_sinhvien) JavaScript · 244 lines
13 $(".enddate").hide();
14 });
15 $(".round-trip-new input").click(function () {
16 $(".enddate").show();
17 });
34 $(".enddate").datepicker("setDate", d);
35 $(this).datepicker('hide');
36 if ($('.round-trip-new input[type=radio]:checked').length > 0)
37 $(".enddate").focus();
38 });
47 });
49 // enable/disable return date if roundtrip/oneway
50 if ($("#ContentPlaceHolderMainColumn_UsrSearchForm1_radioOneWay").attr("checked") == "checked") {
51 $(".enddate").addClass('disabled');
part-090.md (https://github.com/FreeCodeCamp/FreeCodeCamp.git) Markdown · 662 lines
22 tests:
23 - text: test-text
24 testString: const fb3 = code.match(/\.fb3\s*{[\s\S]+?[^}]}/g)[0]; const fb3a = code.match(/\.fb3a\s*{[\s\S]+?[^}]}/g)[0];const fb3b = code.match(/\.fb3b\s*{[\s\S]+?[^}]}/g)[0]; assert(!/background-color/g.test(fb3) && /background-color\s*:\s*var\(\s*--building-color1\s*\)\s*(;|})/g.test(fb3a) && /background-color\s*:\s*var\(\s*--building-color1\s*\)\s*(;|})/g.test(fb3b));
26 ```
60 }
62 .background-buildings, .foreground-buildings {
63 width: 100%;
64 height: 100%;
179 }
181 /* FOREGROUND BUILDINGS - "fb" stands for "foreground building" */
182 .fb1 {
183 width: 10%;
profile.php (https://github.com/jaden54/GATE.git) PHP · 303 lines
1 <?php
2 session_start();
4 if (!isset($_SESSION['user'])) {
6 header ('Location: index.php');
8 exit();
27 <title>::: Le Coin Des Elèves Du Collège Paul Eluard :::</title>
28 </head>
29 <body style="color: rgb(0, 0, 0); background-color: rgb(59, 72, 73);"
30 alink="#000099" link="#000099" vlink="#990099">
31 <br>
33 <br>
34 <table
35 style="text-align: left; width: 636px; background-color: white; height: 500px; margin-left: auto; margin-right: auto;"
36 border="0" cellpadding="0" cellspacing="0">
37 <tbody>
PaginatedList.php (https://github.com/sminnee/silverstripe-framework.git) PHP · 420 lines
1 <?php
2 /**
3 * A decorator that wraps around a data list in order to provide pagination.
18 /**
19 * Constructs a new paginated list instance around a list.
20 *
21 * @param SS_List $list The list to paginate. The getRange method will
195 * By default it returns links to every page, but if you pass the $max
196 * parameter the number of pages will be limited to that number, centered
197 * around the current page.
198 *
199 * @param int $max
234 /**
235 * Returns a summarised pagination which limits the number of pages shown
236 * around the current page for visually balanced.
237 *
238 * Example: 25 pages total, currently on page 6, context of 4 pages
__init__.py (https://github.com/adamcik/mopidy.git) Python · 361 lines
test.php (https://github.com/F5/zetacomponents.git) PHP · 297 lines
DailyJob.java (https://github.com/hirokiterashima/WISE-VLE.git) Java · 305 lines
ReviewerSubmission.inc.php (https://github.com/mcrider/pkpUpgradeTestSuite.git) PHP · 518 lines
132 function getDecisions($round = null) {
133 if ($round == null) {
134 return $this->editorDecisions;
135 } else {
136 if (isset($this->editorDecisions[$round])) return $this->editorDecisions[$round];
137 else return null;
138 }
146 function setDecisions($editorDecisions, $round) {
147 $this->stampStatusModified();
148 return $this->editorDecisions[$round] = $editorDecisions;
149 }
356 function setRound($round) {
357 return $this->setData('round', $round);
358 }
class-wp-customize-setting.php (https://gitlab.com/Blueprint-Marketing/WordPress-1) PHP · 439 lines
1 <?php
2 /**
3 * Customize Setting Class.
425 * @since 3.4.0
426 */
427 final class WP_Customize_Background_Image_Setting extends WP_Customize_Setting {
428 public $id = 'background_image_thumb';
435 */
436 public function update( $value ) {
437 remove_theme_mod( 'background_image_thumb' );
438 }
439 }
PeakShapeEllipsoidTest.h (https://github.com/wdzhou/mantid.git) C Header · 281 lines
40 TS_ASSERT_EQUALS(abcRadii, shape.abcRadii());
41 TS_ASSERT_EQUALS(abcInnerRadii, shape.abcRadiiBackgroundInner());
42 TS_ASSERT_EQUALS(abcOuterRadii, shape.abcRadiiBackgroundOuter());
92 PeakShapeEllipsoid b(a);
93 TS_ASSERT_EQUALS(abcRadii, b.abcRadii());
94 TS_ASSERT_EQUALS(abcInnerRadii, b.abcRadiiBackgroundInner());
95 TS_ASSERT_EQUALS(abcOuterRadii, b.abcRadiiBackgroundOuter());
111 TS_ASSERT_EQUALS(a.abcRadii(), b.abcRadii());
112 TS_ASSERT_EQUALS(a.abcRadiiBackgroundInner(), b.abcRadiiBackgroundInner());
113 TS_ASSERT_EQUALS(a.abcRadiiBackgroundOuter(), b.abcRadiiBackgroundOuter());
131 shape.radius(Mantid::Geometry::PeakShape::RadiusType::Radius));
132 TSM_ASSERT_EQUALS(
133 "Radius should be taken to be the max of the ABC BackgroundInner radii",
134 3.0,
135 shape.radius(Mantid::Geometry::PeakShape::RadiusType::InnerRadius));
LFont.java
(http://loon-simple.googlecode.com/svn/trunk/)
Java · 308 lines
✨ Summary
This Java code defines a class LFont
that represents a font used for rendering text on an Android screen. It provides methods to create and manipulate fonts, including getting font metrics, measuring text width, and setting font styles. The class is designed to work with the Android system’s font management system.
This Java code defines a class LFont
that represents a font used for rendering text on an Android screen. It provides methods to create and manipulate fonts, including getting font metrics, measuring text width, and setting font styles. The class is designed to work with the Android system’s font management system.
file.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 1233 lines
✨ Summary
This C code implements a file system for Linux, specifically Btrfs (B-Tree File System). It provides functions for file operations such as reading, writing, syncing, and managing metadata. The code is part of the Linux kernel and interacts with the file system’s underlying data structures to provide a consistent and efficient way to manage files on disk.
This C code implements a file system for Linux, specifically Btrfs (B-Tree File System). It provides functions for file operations such as reading, writing, syncing, and managing metadata. The code is part of the Linux kernel and interacts with the file system’s underlying data structures to provide a consistent and efficient way to manage files on disk.
cobol.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 1002 lines
74 <KEYWORD1>AUTOMATIC</KEYWORD1>
76 <KEYWORD1>BACKGROUND-COLOR</KEYWORD1>
77 <KEYWORD1>BACKGROUND-COLOUR</KEYWORD1>
283 <KEYWORD1>FOOTING</KEYWORD1>
284 <KEYWORD1>FOR</KEYWORD1>
285 <KEYWORD1>FOREGROUND-COLOR</KEYWORD1>
286 <KEYWORD1>FOREGROUND-COLOUR</KEYWORD1>
503 <KEYWORD1>RIGHT-JUSTIFY</KEYWORD1>
504 <KEYWORD1>ROLLBACK</KEYWORD1>
505 <KEYWORD1>ROUNDED</KEYWORD1>
506 <KEYWORD1>RUN</KEYWORD1>
NorwegianIME.java
(http://scandinavian-keyboard.googlecode.com/svn/trunk/)
Java · 1713 lines
✨ Summary
This Java code is part of a Norwegian keyboard layout implementation for Android devices. It defines various methods and data structures to handle keyboard input, word frequency calculations, and letter symbol mapping. The code appears to be responsible for processing user input, validating words, and promoting words to the user dictionary based on their frequency.
This Java code is part of a Norwegian keyboard layout implementation for Android devices. It defines various methods and data structures to handle keyboard input, word frequency calculations, and letter symbol mapping. The code appears to be responsible for processing user input, validating words, and promoting words to the user dictionary based on their frequency.
650 && lastTwo.charAt(0) == KEYCODE_SPACE && isSentenceSeparator(lastTwo.charAt(1))) {
651 ic.beginBatchEdit();
652 ic.deleteSurroundingText(2, 0);
653 ic.commitText(lastTwo.charAt(1) + " ", 1);
654 ic.endBatchEdit();
667 && lastThree.charAt(1) == KEYCODE_SPACE && lastThree.charAt(2) == KEYCODE_SPACE) {
668 ic.beginBatchEdit();
669 ic.deleteSurroundingText(2, 0);
670 ic.commitText(". ", 1);
671 ic.endBatchEdit();
789 postUpdateSuggestions();
790 } else {
791 ic.deleteSurroundingText(1, 0);
792 }
793 } else {
performance.html
(http://hadesmem.googlecode.com/svn/trunk/)
HTML · 0 lines
✨ Summary
This is a documentation page for a C++ library, specifically the Boost library. It provides an overview of the library’s features and performance characteristics, including memory usage and processor cycles. The page includes links to other resources, such as licensing information and contact details. It appears to be a generated HTML output from a documentation system.
This is a documentation page for a C++ library, specifically the Boost library. It provides an overview of the library’s features and performance characteristics, including memory usage and processor cycles. The page includes links to other resources, such as licensing information and contact details. It appears to be a generated HTML output from a documentation system.
276 Visitor</a>: The GOF Visitor pattern inevitably makes the whole machine
277 depend upon all events. That is, whenever a new event is added there is
278 no way around recompiling the whole state machine. This is contrary to
279 the scalability requirements</li>
353 FAQ item "<a href="faq.html#Dll">How can I compile a state machine into a
354 dynamic link library (DLL)?</a>"). Using option 2 is one way to work
355 around such problems (on some platforms, it seems to be the only
356 way)</li>
item.hpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ Header · 0 lines
✨ Summary
This C++ header file provides a set of metafunction templates for working with sequences, specifically for finding and manipulating elements at specific positions in a sequence. It includes two main template families: v_item
and v_mask
, which are used to access and manipulate elements in a sequence, respectively.
This C++ header file provides a set of metafunction templates for working with sequences, specifically for finding and manipulating elements at specific positions in a sequence. It includes two main template families: v_item
and v_mask
, which are used to access and manipulate elements in a sequence, respectively.
DefaultInputHandler.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 246 lines
✨ Summary
This Java class, DefaultInputHandler
, is a default implementation of an input handler for a text editor. It maps keystrokes to actions and inserts key typed events into the text area. It handles various keyboard inputs, including modifier keys, and invokes actions based on user input. The class also manages key bindings and prefix keys, providing a basic framework for handling user input in a text editing application.
This Java class, DefaultInputHandler
, is a default implementation of an input handler for a text editor. It maps keystrokes to actions and inserts key typed events into the text area. It handles various keyboard inputs, including modifier keys, and invokes actions based on user input. The class also manages key bindings and prefix keys, providing a basic framework for handling user input in a text editing application.
AbbrevsOptionPane.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 508 lines
✨ Summary
This Java code is a GUI application for managing abbreviations and expansions. It allows users to add, remove, and sort abbreviations based on their text content. The data is stored in a Hashtable
and displayed in a table with two columns: abbreviation and expansion. The application uses a custom comparator to sort the data alphabetically.
This Java code is a GUI application for managing abbreviations and expansions. It allows users to add, remove, and sort abbreviations based on their text content. The data is stored in a Hashtable
and displayed in a table with two columns: abbreviation and expansion. The application uses a custom comparator to sort the data alphabetically.
UltramarineColorScheme.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 145 lines
✨ Summary
This Java code defines a color scheme called “Ultramarine” and provides access to its various colors through getter methods. The color scheme is based on a set of predefined colors, including light, medium, dark, and ultra-dark shades, as well as a foreground color. These colors can be used in graphical user interfaces or other applications that require a specific visual style.
This Java code defines a color scheme called “Ultramarine” and provides access to its various colors through getter methods. The color scheme is based on a set of predefined colors, including light, medium, dark, and ultra-dark shades, as well as a foreground color. These colors can be used in graphical user interfaces or other applications that require a specific visual style.
70 /**
71 * The foreground color.
72 */
73 private static final Color foregroundColor = Color.white;
83 * (non-Javadoc)
84 *
85 * @see org.pushingpixels.substance.color.ColorScheme#getForegroundColor()
86 */
87 public Color getForegroundColor() {
88 return UltramarineColorScheme.foregroundColor;
89 }
graphicsscene.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 282 lines
71 : QGraphicsScene(x , y, width, height), mode(mode), boat(new Boat)
72 {
73 PixmapItem *backgroundItem = new PixmapItem(QString("background"),mode);
74 backgroundItem->setZValue(1);
75 backgroundItem->setPos(0,0);
76 addItem(backgroundItem);
83 //The item that display score and level
84 progressItem = new ProgressItem(backgroundItem);
86 textInformationItem = new TextInformationItem(backgroundItem);
Interpreter.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 992 lines
✨ Summary
This is a Java class that implements an interpreter for the BeanShell scripting language. It provides methods for loading and executing scripts, interacting with a parser, and customizing its behavior through configuration options such as debugging and output redirection. The class also manages a global namespace and provides access to external classes and resources.
This is a Java class that implements an interpreter for the BeanShell scripting language. It provides methods for loading and executing scripts, interacting with a parser, and customizing its behavior through configuration options such as debugging and output redirection. The class also manages a global namespace and provides access to external classes and resources.
342 }
343 } else {
344 // Workaround for JDK bug 4071281, where system.in.available()
345 // returns too large a value. This bug has been fixed in JDK 1.2.
346 InputStream src;
951 Apparently in some environments you can't catch the security exception
952 at all... e.g. as an applet in IE ... will probably have to work
953 around
954 */
955 try {
NavigableDateSelector.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 188 lines
✨ Summary
This Java class, NavigableDateSelector
, wraps an existing DateSelector
component to add a navigation bar with buttons for moving forward and backward in time. It handles clicks on these buttons by calling methods on the wrapped DateSelector
. The navigation bar’s appearance can be customized through its background color.
This Java class, NavigableDateSelector
, wraps an existing DateSelector
component to add a navigation bar with buttons for moving forward and backward in time. It handles clicks on these buttons by calling methods on the wrapped DateSelector
. The navigation bar’s appearance can be customized through its background color.
81 navigation.setLayout( new FlowLayout() );
82 navigation.setBorder( null );
83 navigation.setBackground( ise.plugin.svn.gui.dateselector.Colors.LIGHT_YELLOW );
84 navigation.add( makeNavigationButton( BACK_YEAR ) );
85 navigation.add( makeNavigationButton( BACK_MONTH ) );
92 * Create a navigable date selector by wrapping the indicated one.
93 * @param selector the raw date selector to wrap;
94 * @param background_color the background color of the navigation
95 * bar (or null for transparent). The default color is
96 * {@link ise.plugin.svn.gui.dateselector.Colors#LIGHT_YELLOW}.
100 public NavigableDateSelector( DateSelector selector, Color background_color ) {
101 this( selector );
102 navigation.setBackground( background_color );
103 }
115 if ( background_color != null )
116 navigation.setBackground( background_color );
117 else
118 navigation.setOpaque( false );
FormatterImpl.java (https://bitbucket.org/nbargnesi/idea.git) Java · 807 lines
Polygon.xml (git://github.com/deltaluca/nape.git) XML · 128 lines
application_helper.rb
(git://github.com/teambox/teambox.git)
Ruby · 287 lines
✨ Summary
This is a Ruby class that appears to be part of a web application, likely built using Rails. It provides various utility methods for tasks such as generating JavaScript paths, handling form errors, and displaying configuration options for organizations. The code also includes functionality for tracking Teambox installations and collecting statistics about the application’s usage.
This is a Ruby class that appears to be part of a web application, likely built using Rails. It provides various utility methods for tasks such as generating JavaScript paths, handling form errors, and displaying configuration options for organizations. The code also includes functionality for tracking Teambox installations and collecting statistics about the application’s usage.
152 def human_hours(hours)
153 hours = (hours.to_f * 100).round.to_f / 100
154 if hours > 0
155 minutes = ((hours % 1) * 60).round
198 "Introduce some HTML code for your main site to configure your site"
199 end
200 %(<div style="background-color: rgb(255,255,220); border-bottom: 1px solid rgb(200,200,150); width: 100%; display: block; font-size: 12px; padding: 10px 0; text-align: center">
201 #{message}
202 </div>).html_safe
218 if Teambox.config.tracking_enabled and Rails.env.production?
219 fake_img = "https://teambox.com/logo.png/#{request.host}"
220 %(<div style="background-image: url(#{fake_img})"></div>).html_safe
221 end
222 end
python.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 399 lines
listitem.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 109 lines
85 void setBorderPen(const QPen pen) { m_borderPen = pen; }
86 void setBackgroundBrush(const QBrush brush) { m_backgroundBrush = brush; }
87 void setBackgroundOpacity(const qreal opacity) { m_backgroundOpacity = opacity; }
88 void setRounding(const QSize rounding) { m_rounding = rounding; }
90 protected:
102 QPen m_borderPen;
103 QBrush m_backgroundBrush;
104 qreal m_backgroundOpacity;
105 QSize m_rounding;
106 };
This.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 224 lines
✨ Summary
This Java class represents a “this” reference in BeanShell, a JavaScript-like scripting language for Java. It provides methods to invoke methods from outside Java code, bind and unbind itself to namespaces, and manage a call stack. The class is designed to be used as an interface proxy or event callback handler, allowing scripted objects to interact with the surrounding environment.
This Java class represents a “this” reference in BeanShell, a JavaScript-like scripting language for Java. It provides methods to invoke methods from outside Java code, bind and unbind itself to namespaces, and manage a call stack. The class is designed to be used as an interface proxy or event callback handler, allowing scripted objects to interact with the surrounding environment.
lime_user_default_icon_84x68px.svg (https://bitbucket.org/ultra_iter/qt-vtl.git) SVG · 32 lines
3 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4 <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5 width="84px" height="68px" viewBox="0 0 84 68" enable-background="new 0 0 84 68" xml:space="preserve">
6 <g>
7 <linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="42.1343" y1="68.0352" x2="42.1343" y2="0.0361">
lime_user_status_idle_24x24px.svg (https://bitbucket.org/ultra_iter/qt-vtl.git) SVG · 53 lines
3 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4 <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5 width="24px" height="24px" viewBox="0 0 24 24" enable-background="new 0 0 24 24" xml:space="preserve">
6 <g>
7 <g>
JavaField.java
(http://ambienttalk.googlecode.com/svn/)
Java · 104 lines
✨ Summary
This Java class, JavaField
, is a wrapper around a native java.lang.reflect.Field
object. It provides methods to interact with the field, such as reading and writing its value, and printing its metadata. The class also implements certain methods specific to Symbiosis, an ambientTalk/2 project, allowing it to be used in symbiotic Java objects.
This Java class, JavaField
, is a wrapper around a native java.lang.reflect.Field
object. It provides methods to interact with the field, such as reading and writing its value, and printing its metadata. The class also implements certain methods specific to Symbiosis, an ambientTalk/2 project, allowing it to be used in symbiotic Java objects.
TestExceptionDetails.xaml (https://Silverlight.svn.codeplex.com/svn) XAML · 142 lines
22 </ResourceDictionary.MergedDictionaries>
24 <local:ColorSelectorConverter x:Key="expectedExceptionBackgroundColoring" TrueColor="Transparent" FalseColor="{StaticResource highlightBackground}"/>
25 <local:ColorSelectorConverter x:Key="expectedExceptionBorderColoring" TrueColor="Transparent" FalseColor="{StaticResource highlightBorder}"/>
26 <local:ColorSelectorConverter x:Key="UnhandledExceptionColor" TrueColor="Black" FalseColor="Red"/>
48 <Border BorderThickness="1" VerticalAlignment="Center"
49 BorderBrush="{StaticResource highlightBorderBrush}"
50 Background="{StaticResource highlightBackgroundBrush}"
51 Margin="0,-3,-1,-3"
52 Padding="3"
83 <Border BorderThickness="1" VerticalAlignment="Center"
84 BorderBrush="{Binding Passed, Converter={StaticResource expectedExceptionBorderColoring}}"
85 Background="{Binding Passed, Converter={StaticResource expectedExceptionBackgroundColoring}}"
86 Margin="0,-3,-1,-3"
87 Padding="3"
Triangle.bas
(http://angel-engine.googlecode.com/svn/trunk/)
Basic · 102 lines
✨ Summary
This code creates a window with a spinning colored triangle using GLFW and OpenGL. The triangle’s rotation is controlled by both the mouse position and time, creating a dynamic effect. The program also calculates and displays the frames per second (FPS) in the window title bar. It runs until the ESC key is pressed or the window is closed.
This code creates a window with a spinning colored triangle using GLFW and OpenGL. The triangle’s rotation is controlled by both the mouse position and time, creating a dynamic effect. The program also calculates and displays the frames per second (FPS) in the window title bar. It runs until the ESC key is pressed or the window is closed.
ComplexSchemaValidation19.xsd (https://bitbucket.org/nbargnesi/idea.git) XML Schema · 14453 lines
344 <xs:element name="AbstractGauge2Filler">
345 <xs:annotation>
346 <xs:documentation>This the base class of all fillers, fillers is used for coloring the background of gauge2 objects
347 </xs:documentation>
348 </xs:annotation>
747 <xs:attribute name="backColor" type="xs:string">
748 <xs:annotation>
749 <xs:documentation>Type:String - The background color name</xs:documentation>
750 </xs:annotation>
751 </xs:attribute>
752 <xs:attribute name="foreColor" type="xs:string">
753 <xs:annotation>
754 <xs:documentation>Type:String - The foreground color name</xs:documentation>
755 </xs:annotation>
756 </xs:attribute>
JavaCharStream.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 585 lines
✨ Summary
This Java code is a part of a text processing library, specifically designed to parse and manipulate text data. It appears to be responsible for adjusting line and column numbers when a token starts, and also provides methods for getting image representations of the text data, such as a string representation of the current buffer position.
This Java code is a part of a text processing library, specifically designed to parse and manipulate text data. It appears to be responsible for adjusting line and column numbers when a token starts, and also provides methods for getting image representations of the text data, such as a string representation of the current buffer position.
jedit.1 (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 163 lines
112 \fB\-background\fR
113 Run \fBjEdit\fP in background mode. In background mode, the edit server will continue
114 listening for client connections even after all views are closed. Has no effect
115 when connecting to another instance via the edit server.
116 .TP
117 \fB\-nobackground\fR
118 Disable background mode. This is the default. Has no effect when connecting to
126 \fB\-nogui\fR
127 Do not open an initial view, and instead only open one when the first
128 client connects. Can only be used in combination with the \-background switch.
129 You can use this switch to "pre-load" \fBjEdit\fP when you log in to your computer,
130 for example. Has no effect when connecting to
158 .SH BUGS
159 See http://www.jEdit.org/index.php?page=feedback for bug reporting information.
161 .SH WEB
plugin-implement.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 1233 lines
TagBranchDialog.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 297 lines
✨ Summary
This Java code creates a graphical user interface (GUI) for creating and editing SVN tags and branches. It allows users to input source and destination URLs, select a revision, add comments, and cancel or save changes. The GUI is designed to be used in an SVN repository management context, such as Subversion version control system.
This Java code creates a graphical user interface (GUI) for creating and editing SVN tags and branches. It allows users to input source and destination URLs, select a revision, add comments, and cancel or save changes. The GUI is designed to be used in an SVN repository management context, such as Subversion version control system.
RenderText.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 1670 lines
314 void RenderText::absoluteRectsForRange(Vector<IntRect>& rects, unsigned start, unsigned end, bool useSelectionHeight)
315 {
316 // Work around signed/unsigned issues. This function takes unsigneds, and is often passed UINT_MAX
317 // to mean "all the way to the end". InlineTextBox coordinates are unsigneds, so changing this
318 // function to take ints causes various internal mismatches. But selectionRect takes ints, and
407 void RenderText::absoluteQuadsForRange(Vector<FloatQuad>& quads, unsigned start, unsigned end, bool useSelectionHeight)
408 {
409 // Work around signed/unsigned issues. This function takes unsigneds, and is often passed UINT_MAX
410 // to mean "all the way to the end". InlineTextBox coordinates are unsigneds, so changing this
411 // function to take ints causes various internal mismatches. But selectionRect takes ints, and
565 int top = box->root()->selectionTop();
567 // Go ahead and round left to snap it to the nearest pixel.
568 float left = box->positionForOffset(caretOffset);
modula3.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 179 lines
PngFile.c
(http://angel-engine.googlecode.com/svn/trunk/)
C · 443 lines
✨ Summary
This C code provides functions for reading and writing PNG (Portable Network Graphics) files. The png_read_data
function reads data from a file, while png_write_data
writes data to a file. The png_flush
function is used to flush the output buffer after writing data. The png_read
and png_write
functions are wrappers around these three functions, providing a more convenient interface for reading and writing PNG files.
This C code provides functions for reading and writing PNG (Portable Network Graphics) files. The png_read_data
function reads data from a file, while png_write_data
writes data to a file. The png_flush
function is used to flush the output buffer after writing data. The png_read
and png_write
functions are wrappers around these three functions, providing a more convenient interface for reading and writing PNG files.
103 int iColorType;
104 double dGamma;
105 png_color_16 *pBackground;
106 png_uint_32 ulChannels;
107 png_uint_32 ulRowBytes;
175 // expand images of all color-type and bit-depth to 3x8 bit RGB images
176 // let the library process things like alpha, transparency, background
178 if (iBitDepth == 16)
188 png_set_gray_to_rgb(png_ptr);
190 // set the background color to draw transparent and alpha images over.
191 if (png_get_bKGD(png_ptr, info_ptr, &pBackground))
192 {
193 png_set_background(png_ptr, pBackground, PNG_BACKGROUND_GAMMA_FILE, 1, 1.0);
194 pBkgColor->red = (byte) pBackground->red;
darcs.py (https://bitbucket.org/nbargnesi/idea.git) Python · 167 lines
simple-macros.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 720 lines
8 <!-- This file covers the chapter "A few simple macros", -->
9 <!-- which introduces BeanShell through a "Hello world" script. -->
10 <!-- It provides a little background on Java syntax and -->
11 <!-- class structure. A few simple methods and macros are also -->
12 <!-- discussed, as well as one-time macro execution features -->
jEdit.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 4373 lines
✨ Summary
This Java code is part of a text editor application, managing views and user interactions. It handles view creation, closing, and switching between views. It also manages settings, garbage collection, and memory usage. The code provides methods for getting and setting various properties, such as the number of open views, the currently active view, and whether jEdit is running in background mode.
This Java code is part of a text editor application, managing views and user interactions. It handles view creation, closing, and switching between views. It also manages settings, garbage collection, and memory usage. The code provides methods for getting and setting various properties, such as the number of open views, the currently active view, and whether jEdit is running in background mode.
126 // MacOS users expect the app to keep running after all windows
127 // are closed
128 background = OperatingSystem.isMacOS();
130 //{{{ Parse command line
193 else if(arg.startsWith("-server="))
194 portFile = arg.substring(8);
195 else if(arg.startsWith("-background"))
196 background = true;
197 else if(arg.startsWith("-nobackground"))
198 background = false;
426 {
427 GUIUtilities.advanceSplashProgress();
428 if(background)
429 {
430 background = false;
RELEASE.txt (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 50 lines
qscreen_qws.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 392 lines
79 static const int qt_red_mask = (1<<(qt_rbits+qt_gbits+qt_bbits))-(1<<(qt_gbits+qt_bbits));
81 static const int qt_red_rounding_shift = qt_red_shift + qt_rbits;
82 static const int qt_green_rounding_shift = qt_green_shift + qt_gbits;
83 static const int qt_blue_rounding_shift = qt_bbits - qt_neg_blue_shift;
107 const int g=(c & qt_green_mask);
108 const int b=(c & qt_blue_mask);
109 const int tr = r >> qt_red_shift | r >> qt_red_rounding_shift;
110 const int tg = g >> qt_green_shift | g >> qt_green_rounding_shift;
111 const int tb = b << qt_neg_blue_shift | b >> qt_blue_rounding_shift;
113 return qRgb(tr,tg,tb);
Interpreter.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 1205 lines
✨ Summary
This Java code defines a class for an interpreter, providing methods for setting up and managing the interpreter’s behavior, such as source files, output streams, and exit on end of input. It also includes de-serialization setup and provides access to various properties and settings. The code appears to be part of a larger system for executing and debugging Java scripts or programs.
This Java code defines a class for an interpreter, providing methods for setting up and managing the interpreter’s behavior, such as source files, output streams, and exit on end of input. It also includes de-serialization setup and provides access to various properties and settings. The code appears to be part of a larger system for executing and debugging Java scripts or programs.
SideKickPlugin.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 435 lines
✨ Summary
This Java code is part of a text editor’s plugin that provides features like syntax highlighting, auto-completion, and parsing. It creates a background thread to parse buffers in real-time, updates the UI with parsed data, and manages toolbars and caret handlers for editing. The code also handles buffer parsing, parsing cancellation, and cleanup of resources when the view is stopped or removed.
This Java code is part of a text editor’s plugin that provides features like syntax highlighting, auto-completion, and parsing. It creates a background thread to parse buffers in real-time, updates the UI with parsed data, and manages toolbars and caret handlers for editing. The code also handles buffer parsing, parsing cancellation, and cleanup of resources when the view is stopped or removed.
bp-core-options.php (https://bitbucket.org/simplemediacode/bptrunk.git) PHP · 538 lines
1 <?php
3 /**
31 // Legacy bbPress config location
32 'bb-config-location' => ABSPATH . 'bb-config.php',
34 /** XProfile **********************************************************/
330 // Loop through options
331 foreach ( $root_blog_options as $old_meta_key => $old_meta_default ) {
332 // Clear out the value from the last time around
333 unset( $old_meta_value );
winfuncs.c (https://bitbucket.org/clivecrous/ruhack.git) C · 2451 lines
60 amii_defpens[ 5 ] = C_CYAN; /* FILLPEN */
61 amii_defpens[ 6 ] = C_WHITE; /* FILLTEXTPEN */
62 amii_defpens[ 7 ] = C_CYAN; /* BACKGROUNDPEN */
63 amii_defpens[ 8 ] = C_RED; /* HIGHLIGHTTEXTPEN */
64 amii_defpens[ 9 ] = C_WHITE; /* BARDETAILPEN */
98 amii_defpens[ 5 ] = C_GREYBLUE; /* FILLPEN */
99 amii_defpens[ 6 ] = C_LTGREY; /* FILLTEXTPEN */
100 amii_defpens[ 7 ] = C_GREYBLUE; /* BACKGROUNDPEN */
101 amii_defpens[ 8 ] = C_RED; /* HIGHLIGHTTEXTPEN */
102 amii_defpens[ 9 ] = C_WHITE; /* BARDETAILPEN */
AbstractTreeUpdater.java (https://bitbucket.org/nbargnesi/idea.git) Java · 439 lines
DelegateColorScheme.java (https://bitbucket.org/nbargnesi/idea.git) Java · 182 lines
TextEditorImpl.java (https://bitbucket.org/nbargnesi/idea.git) Java · 174 lines
16 package com.intellij.openapi.fileEditor.impl.text;
18 import com.intellij.codeHighlighting.BackgroundEditorHighlighter;
19 import com.intellij.ide.structureView.StructureViewBuilder;
20 import com.intellij.openapi.editor.Document;
140 @Override
141 public BackgroundEditorHighlighter getBackgroundHighlighter() {
142 return null;
143 }
SubversionOptions.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 141 lines
✨ Summary
This Java code defines a plugin option pane for Subversion version control system. It creates a GUI with checkboxes, spinners, and combo boxes to configure settings such as using tsvn template, maximum log entries, and file format. The settings are saved when the user clicks “save” or closes the panel.
This Java code defines a plugin option pane for Subversion version control system. It creates a GUI with checkboxes, spinners, and combo boxes to configure settings such as using tsvn template, maximum log entries, and file format. The settings are saved when the user clicks “save” or closes the panel.
67 int logRows = jEdit.getIntegerProperty( "ise.plugin.svn.logRows", 1000 );
68 ( ( JSpinner.NumberEditor ) maxLogs.getEditor() ).getModel().setValue( logRows );
69 ( ( JSpinner.NumberEditor ) maxLogs.getEditor() ).getTextField().setForeground( jEdit.getColorProperty( "view.fgColor", Color.BLACK ) );
70 ( ( JSpinner.NumberEditor ) maxLogs.getEditor() ).getTextField().setBackground( jEdit.getColorProperty( "view.bgColor", Color.WHITE ) );
SplashScreen.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 155 lines
✨ Summary
This Java code creates a splash screen for a graphical user interface (GUI) application, displaying an image and a progress bar with version information. It uses AWT APIs to create the GUI components and waits for the image to load before showing the splash screen. The advance()
method updates the progress bar over time.
This Java code creates a splash screen for a graphical user interface (GUI) application, displaying an image and a progress bar with version information. It uses AWT APIs to create the GUI components and waits for the image to load before showing the splash screen. The advance()
method updates the progress bar over time.
InstallPanel.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 1155 lines
✨ Summary
This Java code is part of a plugin manager for an IDE (Integrated Development Environment). It provides functionality to manage plugins, including sorting and filtering plugin information, displaying plugin details in a table, and handling keyboard and mouse events. The code also includes rendering and focus management for the plugin table.
This Java code is part of a plugin manager for an IDE (Integrated Development Environment). It provides functionality to manage plugins, including sorting and filtering plugin information, displaying plugin details in a table, and handling keyboard and mouse events. The code also includes rendering and focus management for the plugin table.
pdx7.adsr~.pd (git://github.com/pd-projects/pdx7.git) Unknown · 427 lines
SyntaxUtilities.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 231 lines
✨ Summary
This Java class provides utility functions for syntax and styles, including color conversion, parsing style strings, and loading syntax styles from properties. It allows users to convert colors to hex values, parse color names, and load styles with specified font families and sizes. The class is designed to work with the jEdit syntax package and provides a way to customize syntax highlighting.
This Java class provides utility functions for syntax and styles, including color conversion, parsing style strings, and loading syntax styles from properties. It allows users to convert colors to hex values, parse color names, and load styles with specified font families and sizes. The class is designed to work with the jEdit syntax package and provides a way to customize syntax highlighting.
115 * @param size Style strings only specify font style, not font family
116 * @param color If false, the styles will be monochrome
117 * @param defaultFgColor Default foreground color (if not specified in style string)
118 * @exception IllegalArgumentException if the style is invalid
119 * @since jEdit 4.3pre17
candidate_preview.xml (http://softkeyboard.googlecode.com/svn/) XML · 30 lines
AnySoftKeyboard.java
(http://softkeyboard.googlecode.com/svn/)
Java · 2062 lines
✨ Summary
This Java code is part of a keyboard application, handling various user interactions such as inputting text, deleting characters, and displaying toast messages. It also manages shared preferences, handles low memory situations, and performs lengthy operations like loading settings and updating dictionaries. The code appears to be designed for an Android application, utilizing various Android APIs and classes.
This Java code is part of a keyboard application, handling various user interactions such as inputting text, deleting characters, and displaying toast messages. It also manages shared preferences, handles low memory situations, and performs lengthy operations like loading settings and updating dictionaries. The code appears to be designed for an Android application, utilizing various Android APIs and classes.
246 mInputView = (AnyKeyboardView) getLayoutInflater().inflate(
247 //the new layout will solve the "invalidateAllKeys" problem.
248 Workarounds.isDonut()? R.layout.input_donut : R.layout.input_cupcake
249 , null);
898 && isPunctuationCharacter(lastTwo.charAt(1))) {
899 ic.beginBatchEdit();
900 ic.deleteSurroundingText(2, 0);
901 ic.commitText(lastTwo.charAt(1) + " ", 1);
902 ic.endBatchEdit();
918 && lastThree.charAt(2) == KEYCODE_SPACE) {
919 ic.beginBatchEdit();
920 ic.deleteSurroundingText(2, 0);
921 ic.commitText(". ", 1);
922 ic.endBatchEdit();
normal.conf
(git://github.com/dellort/lumbricus.git)
Config · 363 lines
✨ Summary
This configuration code defines various visual settings for a graphical user interface (GUI) application, likely a game. It specifies colors, fonts, borders, and other visual elements to be used throughout the application, including buttons, labels, and windows. The code also sets up layout and rendering options, such as background images and font styles, to create a consistent and visually appealing user experience.
This configuration code defines various visual settings for a graphical user interface (GUI) application, likely a game. It specifies colors, fonts, borders, and other visual elements to be used throughout the application, including buttons, labels, and windows. The code also sets up layout and rendering options, such as background images and font styles, to create a consistent and visually appealing user experience.
63 text-font-fore-color = "white"
64 }
65 + "/scrollbar-background" {
66 bitmap-background-res = "checkered_small"
67 bitmap-background-tile = "tile"
68 }
123 }
124 + "/wm-label" {
125 widget-background = "transparent"
126 text-font-size = "16"
127 }
358 + "/mainframe" {
359 bitmap-background-res = "background"
360 bitmap-background-tile = "fitOuter"
ellint_3.html
(http://hadesmem.googlecode.com/svn/trunk/)
HTML · 0 lines
✨ Summary
This HTML code outputs a documentation page for a mathematical function, specifically the elliptic integral of the third kind. It provides information on the function’s properties, usage, and implementation details, including its relation to Carlson’s integrals. The page includes equations, diagrams, and references to external resources, such as the Boost Software License.
This HTML code outputs a documentation page for a mathematical function, specifically the elliptic integral of the third kind. It provides information on the function’s properties, usage, and implementation details, including its relation to Carlson’s integrals. The page includes equations, diagrams, and references to external resources, such as the Boost Software License.
127 there isn't much variation in accuracy over differing platforms. Note that
128 only results for the widest floating point type on the system are given
129 as narrower types have <a class="link" href="../../backgrounders/relative_error.html#zero_error">effectively zero error</a>.
130 All values are relative errors in units of epsilon.
131 </p>
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.
javafx.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 90 lines
faq-use.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 715 lines
Fonts.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 411 lines
✨ Summary
This Java code retrieves and manipulates font properties for a graphical user interface (GUI). It checks if fonts can display localized text, such as languages and characters, and returns boolean values indicating success or failure. The code uses desktop properties to retrieve font information from the operating system’s toolkit.
This Java code retrieves and manipulates font properties for a graphical user interface (GUI). It checks if fonts can display localized text, such as languages and characters, and returns boolean values indicating success or failure. The code uses desktop properties to retrieve font information from the operating system’s toolkit.
zone.hh
(git://github.com/ticking/self.git)
C++ Header · 270 lines
✨ Summary
This C++ header file defines a memory management system for a compiler, specifically for handling nmethods (optimized methods). It provides classes and functions for managing memory allocation, deallocation, and usage tracking, as well as features like LRU caching and frame chaining. The code is designed to be used in a compiler environment, with various zones (memory regions) and objects (nmethods) that interact with each other.
This C++ header file defines a memory management system for a compiler, specifically for handling nmethods (optimized methods). It provides classes and functions for managing memory allocation, deallocation, and usage tracking, as well as features like LRU caching and frame chaining. The code is designed to be used in a compiler environment, with various zones (memory regions) and objects (nmethods) that interact with each other.
TODO.txt (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 20 lines
utils.factor (git://github.com/abeaumont/factor.git) Unknown · 21 lines
LipstikSplitPaneContentBorder.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 125 lines
✨ Summary
This Java code defines a custom border for Swing components, specifically designed to resemble a split pane’s content area. It blends two colors to create a gradient effect and draws a line around the component if desired. The border is used to visually separate the left and right sides of a split pane, creating a distinct appearance.
This Java code defines a custom border for Swing components, specifically designed to resemble a split pane’s content area. It blends two colors to create a gradient effect and draws a line around the component if desired. The border is used to visually separate the left and right sides of a split pane, creating a distinct appearance.
background-image-width-left-6.html
(git://github.com/zpao/v8monkey.git)
HTML · 70 lines
✨ Summary
This HTML code creates a webpage with nine identical blue squares, each with different background positions and sizes, arranged in three rows of three columns. The squares are positioned using absolute positioning, allowing for precise control over their layout. The use of pixel values and specific image URLs suggests that the goal is to demonstrate pixel rounding or image scaling issues.
This HTML code creates a webpage with nine identical blue squares, each with different background positions and sizes, arranged in three rows of three columns. The squares are positioned using absolute positioning, allowing for precise control over their layout. The use of pixel values and specific image URLs suggests that the goal is to demonstrate pixel rounding or image scaling issues.
2 <html>
3 <head>
4 <title>Pixel rounding testcase</title>
5 <style type="text/css">
8 div { position: absolute; height: 10px; width: 10.5px; }
10 div.i1 { top: 10px; background-image: url(blue-1x1.png); }
11 div.i3 { top: 30px; background-image: url(blue-3x3.png); }
12 div.i5 { top: 50px; background-image: url(blue-5x5.png); }
13 div.i25 { top: 70px; background-image: url(blue-25x25.png); }
15 div.p1 { left: 10.1px; background-position: top left; }
16 div.p2 { left: 30.1px; background-position: top; }
BufferList.html
(https://jedit.svn.sourceforge.net/svnroot/jedit)
HTML · 432 lines
✨ Summary
This HTML code outputs a changelog for a plugin called “BufferList” for the text editor jEdit. It displays version history, changes made in each release, and requirements for compatible versions of jEdit. The output is presented in a table format with detailed information about each version, including bug fixes and new features.
This HTML code outputs a changelog for a plugin called “BufferList” for the text editor jEdit. It displays version history, changes made in each release, and requirements for compatible versions of jEdit. The output is presented in a table format with detailed information about each version, including bug fixes and new features.
gnome-session-suspend.svg (http://gnome-colors.googlecode.com/svn/trunk/) Unknown · 330 lines
240 <path
241 sodipodi:type="arc"
242 style="fill:url(#radialGradient6177);fill-opacity:1;stroke:#babdb6;stroke-width:0.38685802;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
243 id="path6158"
244 sodipodi:cx="8.6624146"
249 transform="matrix(2.7107753,0,0,2.464925,0.447975,-1.8415564)" />
250 <path
251 style="opacity:0.11855672;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.00000048;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
252 d="M 23.96875,5.3393085 C 14.464374,5.3393085 6.75,13.021982 6.75,22.52681 C 6.75,22.912451 6.7875273,23.303738 6.8125,23.68306 C 7.4129186,14.722893 14.856864,7.6518085 23.96875,7.6518085 C 33.080637,7.6518085 40.524581,14.722894 41.125,23.68306 C 41.149973,23.303738 41.1875,22.912451 41.1875,22.52681 C 41.1875,13.021983 33.473127,5.3393084 23.96875,5.3393085 z"
253 id="path6160" />
254 <path
255 style="fill:url(#radialGradient5981);fill-opacity:1;stroke:#ce5c00;stroke-width:1.00000107;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
256 d="M 23.165684,1.5068059 C 11.702548,1.9429331 2.5000026,11.407295 2.5000026,22.975303 C 2.5000026,34.820942 12.123906,44.443799 23.97084,44.443799 C 35.817772,44.443799 45.441678,34.820946 45.441678,22.975303 C 45.441678,11.129661 35.817772,1.5068058 23.97084,1.5068059 C 23.693177,1.5068059 23.440799,1.4963388 23.165684,1.5068059 z M 23.098587,5.8005051 C 23.391363,5.7856631 23.674395,5.8005051 23.97084,5.8005051 C 33.457129,5.8005051 41.14751,13.49846 41.14751,22.975303 C 41.14751,32.452145 33.457129,40.150099 23.97084,40.150099 C 14.48455,40.150099 6.7941703,32.452145 6.7941703,22.975303 C 6.7941703,13.79461 14.022552,6.2606052 23.098587,5.8005051 z"
257 id="path6162" />
i4gl.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 665 lines
google-chrome.svg
(git://github.com/tuquito/tuquito-artwork-gnome.git)
SVG · 455 lines
✨ Summary
This SVG code represents a complex graphical element, likely an icon or logo, composed of multiple paths and shapes. The image is rendered using a combination of linear and radial gradients, with various colors and stroke styles applied to create depth and visual interest. The overall design appears to be intricate and detailed, suggesting a high level of craftsmanship or artistic expertise in its creation.
This SVG code represents a complex graphical element, likely an icon or logo, composed of multiple paths and shapes. The image is rendered using a combination of linear and radial gradients, with various colors and stroke styles applied to create depth and visual interest. The overall design appears to be intricate and detailed, suggesting a high level of craftsmanship or artistic expertise in its creation.
418 d="m 45.5,23.002416 a 21.5,20.520304 0 0 1 -42.9999993,0 21.5,20.520304 0 1 1 42.9999993,0 z" />
419 <path
420 style="color:#000000;fill:url(#radialGradient2922);fill-opacity:1;fill-rule:nonzero;stroke:url(#linearGradient2924);stroke-width:0.99999994;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
421 id="path5146"
422 d="M 22.312499,1.5049521 C 18.818697,1.6495969 11.014128,3.0172946 4.5,11.429208 l 5.9375,-3.1757614 c 0,0 0.430233,4.3217804 5.0625,7.0538544 l 1.09375,0.06107 c 1.741942,-1.894008 4.410186,-3.114689 7.406249,-3.114689 3.396662,0 6.350736,1.565405 8.03125,3.90863 l 0.125,0 c 0,0 3.749182,-1.857693 9.250001,-1.282519 0,0 0.08723,-4.231132 -3.676484,-9.4076942 0,0 -4.536259,-3.9060747 -13.484463,-3.9060747 0,0 -0.768204,-0.1092873 -1.932804,-0.061072 z"
423 sodipodi:nodetypes="cccccscccccc" />
424 <path
425 style="color:#000000;fill:url(#radialGradient2917);fill-opacity:1;fill-rule:nonzero;stroke:url(#linearGradient2919);stroke-width:0.98542738;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
426 id="path5767"
427 d="m 8.9281076,12.162196 c 0,0 -5.3205492,1.301887 -7.2406076,6.901054 0,0 -3.7958594,20.245599 19.559253,25.614735 0,0 -7.059252,-6.279255 -7.059252,-9.338958 0,0 6.312663,-1.292835 7.312499,-5.801872 l -0.78125,-1.190911 c -3.621858,-1.172817 -6.218749,-4.212129 -6.218749,-7.786722 0,-0.477416 -0.230581,-1.661696 0.125,-2.562363 -0.0709,-0.03542 -3.848885,-1.931406 -5.6968934,-5.834963 z"
440 d="m 31.503864,20.070944 a 7.5038644,6.8438775 0 1 1 -15.007728,0 7.5038644,6.8438775 0 1 1 15.007728,0 z" />
441 <path
442 style="opacity:0.4;color:#000000;fill:none;stroke:url(#linearGradient2901);stroke-width:0.99999994;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
443 id="path6544"
444 d="M 22.34375,2.4515752 C 19.788698,2.5573554 14.745597,3.4364162 9.65625,7.5816509 L 9.96875,7.42897 c 0.559433,-0.3013579 1.370422,0.1121013 1.4375,0.732868 0,0 0.345871,3.713177 4.46875,6.229378 l 0.46875,0 C 18.26953,12.526455 20.949808,11.307063 24,11.307063 c 3.4332,0 6.42668,1.493196 8.34375,3.786485 0.733445,-0.323932 3.575125,-1.387273 8.09375,-1.160374 C 40.041164,11.39971 38.664045,8.5558347 37.042266,6.2634863 36.870246,6.1435285 32.67342,2.5126472 24.15625,2.5126472 c -0.05197,0.00409 -0.104279,0.00409 -0.15625,0 0,0 -0.569761,-0.1060534 -1.65625,-0.061072 z"
application-x-java-archive.svg
(git://github.com/tuquito/tuquito-artwork-gnome.git)
SVG · 168 lines
✨ Summary
This SVG code represents a simple graphical representation of an object, likely a logo or icon. It consists of several paths and shapes that form the outline of the object, with fill colors and stroke styles applied to create visual interest. The object is positioned on a transparent background, allowing it to stand out against other elements.
This SVG code represents a simple graphical representation of an object, likely a logo or icon. It consists of several paths and shapes that form the outline of the object, with fill colors and stroke styles applied to create visual interest. The object is positioned on a transparent background, allowing it to stand out against other elements.
152 d="m 3.3215391,4.5106927 15.1106109,0 c 0.882111,0 1.279083,-0.1431999 1.532464,0.499744 l 1.53768,4.4896791 0,12.3386352 c 0,0.776254 0.05273,0.657651 -0.829386,0.657651 l -19.3458144,0 c -0.88211424,0 -0.82938734,0.118603 -0.82938734,-0.657651 l 0,-12.3386352 1.53767964,-4.489679 c 0.2463125,-0.629958 0.404039,-0.499744 1.2861532,-0.499744 z"
153 id="path2488"
154 style="fill:url(#linearGradient3051);fill-opacity:1;fill-rule:nonzero;stroke:url(#linearGradient3053);stroke-width:0.99420071;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:block;overflow:visible" />
155 <path
156 d="m 3.8027772,5.0169067 14.1655608,0 c 0.826944,0 1.338741,0.278124 1.685102,1.0424801 l 1.193033,3.208212 0,11.5663392 c 0,0.729962 -0.419421,1.097478 -1.246366,1.097478 l -17.2802955,0 c -0.826944,0 -1.1642608,-0.404205 -1.1642608,-1.13417 l 0,-11.5296472 1.1545456,-3.276997 C 2.5410054,5.3982088 2.975831,5.0169067 3.8027772,5.0169067 z"
160 d="m 10.000005,4.0001157 c 0.666667,0 1.333333,0 2,0 0,2.666665 0,5.3333341 0,7.9999993 -0.196865,0 -0.39373,0 -0.590593,0 -0.201563,0 -0.403126,0 -0.604688,0 -0.162265,0 -0.32453,0 -0.486792,0 -0.105977,0 -0.211952,0 -0.317927,0 0,-2.6666652 0,-5.3333343 0,-7.9999993 z"
161 id="rect3326"
162 style="opacity:0.4;fill:url(#linearGradient3045);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
163 <path
164 d="m 0.50000466,9.5001158 20.99988534,0"
fdctref.c
(http://amv-codec-tools.googlecode.com/svn/trunk/)
C · 158 lines
✨ Summary
This C code implements a forward discrete cosine transform (FDCT) and its inverse for an 8x8 block of data, using double precision arithmetic. The FDCT function takes an input block and produces an output block with transformed coefficients, while the IDCT function performs the reverse operation to recover the original data.
This C code implements a forward discrete cosine transform (FDCT) and its inverse for an 8x8 block of data, using double precision arithmetic. The FDCT function takes an input block and produces an output block with transformed coefficients, while the IDCT function performs the reverse operation to recover the original data.
112 * reason for adding 0.499999 instead of 0.5:
113 * s is quite often x.5 (at least for i and/or j = 0 or 4)
114 * and setting the rounding threshold exactly to 0.5 leads to an
115 * extremely high arithmetic implementation dependency of the result;
116 * s being between x.5 and x.500001 (which is now incorrectly rounded
README (https://bitbucket.org/freebsd/freebsd-head/) Unknown · 87 lines
pixmap.c
(https://swig.svn.sourceforge.net/svnroot/swig)
C · 160 lines
✨ Summary
This C code defines a set of functions for working with pixel maps (bitmaps) and frames buffers. It provides functions to create, delete, and manipulate pixel maps, as well as draw them onto frames buffers. The code also includes predefined pixel map structures for common shapes like squares, triangles, and crosses.
This C code defines a set of functions for working with pixel maps (bitmaps) and frames buffers. It provides functions to create, delete, and manipulate pixel maps, as well as draw them onto frames buffers. The code also includes predefined pixel map structures for common shapes like squares, triangles, and crosses.
Window1.xaml.cs
(https://hg01.codeplex.com/d3future)
C# · 63 lines
✨ Summary
This C# code creates a graphical user interface (GUI) for monitoring traffic data from YandexTrafficServer. It allows users to select a date and time range, view traffic data, and perform actions such as moving forward or backward in time, reloading the data, and detecting failed connections. The GUI displays various buttons and a date/time selector, with event handlers for user interactions.
This C# code creates a graphical user interface (GUI) for monitoring traffic data from YandexTrafficServer. It allows users to select a date and time range, view traffic data, and perform actions such as moving forward or backward in time, reloading the data, and detecting failed connections. The GUI displays various buttons and a date/time selector, with event handlers for user interactions.
Scripting.html
(https://swig.svn.sourceforge.net/svnroot/swig)
HTML · 475 lines
✨ Summary
This HTML code outputs a documentation page for building scripting language extensions using SWIG. It provides instructions on how to create shared libraries, link with existing libraries, and statically link the interpreter. The page explains the process in detail, including platform-specific commands and linker flags, to help users build their own scripting language extensions.
This HTML code outputs a documentation page for building scripting language extensions using SWIG. It provides instructions on how to create shared libraries, link with existing libraries, and statically link the interpreter. The page explains the process in detail, including platform-specific commands and linker flags, to help users build their own scripting language extensions.
Vector2.h
(git://github.com/lloydw/libRocket.git)
C Header · 137 lines
✨ Summary
This is a header file for a generic two-component vector class called Vector2. It defines the template type and provides various member functions such as constructors, accessor methods, mathematical operations, and comparison operators. The class also includes inline implementations of its member functions to reduce compilation time.
This is a header file for a generic two-component vector class called Vector2. It defines the template type and provides various member functions such as constructors, accessor methods, mathematical operations, and comparison operators. The class also includes inline implementations of its member functions to reduce compilation time.
notification-gsm-3g-none.svg
(git://github.com/tuquito/tuquito-artwork-gnome.git)
SVG · 72 lines
✨ Summary
This SVG code represents a graphical representation of a notification network, specifically wireless none. It consists of multiple paths that form a network with various nodes and lines connecting them. The image is created using Inkscape software and has metadata information embedded within it, including the file format and type.
This SVG code represents a graphical representation of a notification network, specifically wireless none. It consists of multiple paths that form a network with various nodes and lines connecting them. The image is created using Inkscape software and has metadata information embedded within it, including the file format and type.
55 id="path3375"
56 d="M 9.615522,11.867123 C 9.5446004,11.928375 7.979232,13.593336 7.979232,13.593336 C 7.979232,13.593336 6.4287699,11.914305 6.3705975,11.867123 C 6.4745566,11.788915 6.8988618,11.481361 7.9826121,11.485747 C 9.0489996,11.490064 9.5342996,11.791316 9.615522,11.867123 z"
57 style="opacity:0.4;fill:#9b9b9b;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:5.33333349000000023;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;overflow:visible" />
58 <path
59 id="path2513"
ARM-gcc.h
(http://photon-android.googlecode.com/svn/)
C++ Header · 121 lines
✨ Summary
This C header file defines various types and macros for working with integers of different bit sizes, including 8-bit, 16-bit, 32-bit, and 64-bit. It also provides definitions for special function names used in a GCC soft-float library to map between floating-point and integer operations. The macros are designed to be compatible with different compilers and implementations.
This C header file defines various types and macros for working with integers of different bit sizes, including 8-bit, 16-bit, 32-bit, and 64-bit. It also provides definitions for special function names used in a GCC soft-float library to map between floating-point and integer operations. The macros are designed to be compatible with different compilers and implementations.
82 #define float32_div __divsf3
83 #define int32_to_float32 __floatsisf
84 #define float32_to_int32_round_to_zero __fixsfsi
85 #define float32_to_uint32_round_to_zero __fixunssfsi
98 #define float64_div ___float64_div
99 #define int32_to_float64 ___int32_to_float64
100 #define float64_to_int32_round_to_zero ___float64_to_int32_round_to_zero
101 #define float64_to_uint32_round_to_zero ___float64_to_uint32_round_to_zero
112 #define float64_div __divdf3
113 #define int32_to_float64 __floatsidf
114 #define float64_to_int32_round_to_zero __fixdfsi
115 #define float64_to_uint32_round_to_zero __fixunsdfsi
init_32.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 536 lines
✨ Summary
This C code initializes and manages memory for a SPARC-based Linux system. It allocates valid address space, maps physical pages to virtual addresses, and tracks available memory. The code also handles memory initialization, freeing unused kernel memory, and flushing pages to RAM. Additionally, it provides functions for managing initrd memory and exporting the sparc_flush_page_to_ram
function.
This C code initializes and manages memory for a SPARC-based Linux system. It allocates valid address space, maps physical pages to virtual addresses, and tracks available memory. The code also handles memory initialization, freeing unused kernel memory, and flushing pages to RAM. Additionally, it provides functions for managing initrd memory and exporting the sparc_flush_page_to_ram
function.
if_cs.c
(http://photon-android.googlecode.com/svn/)
C · 1053 lines
✨ Summary
This C code implements a Linux module for a wireless networking card, specifically the Libertas chip. It provides a driver that interacts with the card’s firmware and hardware, allowing it to be used in Linux systems. The code handles device detection, initialization, and shutdown, as well as interrupt handling and firmware loading.
This C code implements a Linux module for a wireless networking card, specifically the Libertas chip. It provides a driver that interacts with the card’s firmware and hardware, allowing it to be used in Linux systems. The code handles device detection, initialization, and shutdown, as well as interrupt handling and firmware loading.
mul_Xsig.S
(http://photon-android.googlecode.com/svn/)
Assembly · 177 lines
✨ Summary
This Assembly code implements three functions for multiplying a fixed-point number by another number: mul32_Xsig
, mul64_Xsig
, and mul_Xsig_Xsig
. The first two functions multiply 12-byte fixed-point numbers with 32-bit and 64-bit integers, respectively, while the third function multiplies two 12-byte fixed-point numbers. The results are stored in the original input array without rounding or normalization.
This Assembly code implements three functions for multiplying a fixed-point number by another number: mul32_Xsig
, mul64_Xsig
, and mul_Xsig_Xsig
. The first two functions multiply 12-byte fixed-point numbers with 32-bit and 64-bit integers, respectively, while the third function multiplies two 12-byte fixed-point numbers. The results are stored in the original input array without rounding or normalization.
swigrun.swg (https://swig.svn.sourceforge.net/svnroot/swig) Unknown · 584 lines
407 We start searching at module start, and finish searching when start == end.
408 Note: if start == end at the beginning of the function, we go all the way around
409 the circular list.
410 */
452 We start searching at module start, and finish searching when start == end.
453 Note: if start == end at the beginning of the function, we go all the way around
454 the circular list.
455 */
blizzard.c
(http://photon-android.googlecode.com/svn/)
C · 1650 lines
✨ Summary
This C code implements a Linux driver for an LCD controller, specifically the BLIZZARD LCD controller used in some Samsung mobile devices. It provides functions for initializing and cleaning up the LCD controller, handling display updates, synchronization, and power management. The driver is part of the Linux kernel’s framebuffer subsystem and interacts with the device’s registers to control its behavior.
This C code implements a Linux driver for an LCD controller, specifically the BLIZZARD LCD controller used in some Samsung mobile devices. It provides functions for initializing and cleaning up the LCD controller, handling display updates, synchronization, and power management. The driver is part of the Linux kernel’s framebuffer subsystem and interacts with the device’s registers to control its behavior.
63 /* Data source select */
64 /* For S1D13745 */
65 #define BLIZZARD_SRC_WRITE_LCD_BACKGROUND 0x00
66 #define BLIZZARD_SRC_WRITE_LCD_DESTRUCTIVE 0x01
67 #define BLIZZARD_SRC_WRITE_OVERLAY_ENABLE 0x04
313 tmp[16] = color_mode;
314 if (zoom_off && blizzard.version == BLIZZARD_VERSION_S1D13745)
315 tmp[17] = BLIZZARD_SRC_WRITE_LCD_BACKGROUND;
316 else if (flags & OMAPFB_FORMAT_FLAG_ENABLE_OVERLAY)
317 tmp[17] = BLIZZARD_SRC_WRITE_OVERLAY_ENABLE;
667 have_zoom_for_this_update = 1;
669 /* 'background' type of screen update (as opposed to 'destructive')
670 can be used to disable scaling if scaling is active */
671 zoom_off = blizzard.zoom_on && !have_zoom_for_this_update &&
mobiTunes.at (http://ambienttalk.googlecode.com/svn/) Unknown · 251 lines
129 notification("finished exchanging library with " + remoteUser + " sharing " + senderLib.size() + " songs");
130 senderLib.retainAll(myLib); // senderLib := intersection(senderLib, myLib)
131 def matchRatio := (senderLib.size() * 100 / (myLib.size()+0.01)).round();
132 if: (matchRatio >= THRESHOLD) then: {
133 notification("Found user ", remoteUser, " with similar taste in music (",matchRatio,"% match)");
tree.css
(http://emite.googlecode.com/svn/trunk/)
CSS · 251 lines
✨ Summary
This CSS code defines styles for an XTree component, a tree-like layout used in Ext JS. It sets background colors, icons, and layouts for nodes, lines, and arrows, as well as hover effects, disabled states, and drag-and-drop interactions. The styles are tailored to work with Internet Explorer and other browsers, using vendor-specific prefixes where necessary.
This CSS code defines styles for an XTree component, a tree-like layout used in Ext JS. It sets background colors, icons, and layouts for nodes, lines, and arrows, as well as hover effects, disabled states, and drag-and-drop interactions. The styles are tailored to work with Internet Explorer and other browsers, using vendor-specific prefixes where necessary.
9 .x-tree .x-panel-body{
10 background-color:#fff;
11 }
12 .ext-strict .ext-ie .x-tree .x-panel-bwrap{
21 vertical-align: top;
22 width: 16px;
23 background-repeat: no-repeat;
24 }
25 .x-tree-node-collapsed .x-tree-node-icon, .x-tree-node-expanded .x-tree-node-icon, .x-tree-node-leaf .x-tree-node-icon{
30 vertical-align: top;
31 width: 16px;
32 background-position:center;
33 background-repeat: no-repeat;
38 /* some default icons for leaf/folder */
39 .x-tree-node-expanded .x-tree-node-icon{
40 background-image:url(../images/default/tree/folder-open.gif);
41 }
42 .x-tree-node-leaf .x-tree-node-icon{