PageRenderTime 2228ms queryTime 100ms sortTime 962ms getByIdsTime 56ms findMatchingLines 20ms

100+ results results for 'git' (2228 ms)

Not the results you expected?
bmp085.c https://github.com/ab3416/linux-2.6.git | C | 483 lines
                    
2
                    
3    This driver supports the bmp085 digital barometric pressure
                    
4    and temperature sensor from Bosch Sensortec. The datasheet
                    
                
DiffResultsViewForLine.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 321 lines
                    
42
                    
43package org.netbeans.modules.git.ui.history;
                    
44
                    
60import org.netbeans.api.diff.StreamSource;
                    
61import org.netbeans.modules.git.client.GitProgressSupport;
                    
62import org.netbeans.modules.git.ui.diff.DiffStreamSource;
                    
63import org.netbeans.modules.git.ui.history.RepositoryRevision.Event;
                    
64import org.netbeans.modules.git.utils.GitUtils;
                    
65import org.netbeans.modules.versioning.util.Utils;
                    
96    @Override
                    
97    protected GitProgressSupport createShowDiffTask (Event revision1, Event revision2, boolean showLastDifference) {
                    
98        if (revision1 == null) {
                    
125
                    
126    private class ShowDiffTask extends GitProgressSupport {
                    
127        private final File file;
                    
                
DomTextTest.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 336 lines
                    
36 * @author Ahmed Ashour
                    
37 * @author Rodney Gitzel
                    
38 * @author Sudhan Moghe
                    
                
products_spec.rb https://gitlab.com/adamlwalker/spree | Ruby | 394 lines
                    
123        # FactoryGirl.attributes_for is un-deprecated!
                    
124        #   https://github.com/thoughtbot/factory_girl/issues/274#issuecomment-3592054
                    
125        FactoryGirl.attributes_for(:simple_product)
                    
                
amplc_pc263.c https://bitbucket.org/codefirex/kernel_samsung_jf.git | C | 489 lines
                    
41
                    
42Each board appears as one subdevice, with 16 digital outputs, each
                    
43connected to a reed-relay. Relay contacts are closed when output is 1.
                    
309	s = dev->subdevices + 0;
                    
310	/* digital i/o subdevice */
                    
311	s->type = COMEDI_SUBD_DIO;
                    
314	s->maxdata = 1;
                    
315	s->range_table = &range_digital;
                    
316	s->insn_bits = pc263_dio_insn_bits;
                    
404		s->state |= data[0] & data[1];
                    
405		/* Write out the new digital output lines */
                    
406		outb(s->state & 0xFF, dev->iobase);
                    
409
                    
410	/* on return, data[1] contains the value of the digital
                    
411	 * input and output lines. */
                    
                
Xvproto.h https://gitlab.com/brian0218/rk3188_r-box_android4.2.2_sdk | C Header | 604 lines
                    
1/***********************************************************
                    
2Copyright 1991 by Digital Equipment Corporation, Maynard, Massachusetts,
                    
3and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
                    
10both that copyright notice and this permission notice appear in 
                    
11supporting documentation, and that the names of Digital or MIT not be
                    
12used in advertising or publicity pertaining to distribution of the
                    
14
                    
15DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
                    
16ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
                    
16ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
                    
17DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
                    
18ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
                    
34**
                    
35**   David Carver (Digital Workstation Engineering/Project Athena)
                    
36**
                    
                
hid-multitouch.c https://github.com/genesi/linux-shortbus.git | C | 516 lines
                    
173
                    
174	case HID_UP_DIGITIZER:
                    
175		switch (usage->hid) {
                    
                
UnpackedObject.cs https://github.com/jfcantin/monodevelop.git | C# | 484 lines
                    
1/*
                    
2This code is derived from jgit (http://eclipse.org/jgit).
                    
3Copyright owners are documented in jgit's IP log.
                    
46using ICSharpCode.SharpZipLib.Zip.Compression;
                    
47using NGit;
                    
48using NGit.Errors;
                    
48using NGit.Errors;
                    
49using NGit.Storage.File;
                    
50using NGit.Util;
                    
52
                    
53namespace NGit.Storage.File
                    
54{
                    
100					{
                    
101						throw new CorruptObjectException(id, JGitText.Get().corruptObjectNoHeader);
                    
102					}
                    
                
dgetv0.f https://github.com/wizzk42/scipy.git | FORTRAN Legacy | 419 lines
                    
366      if (msglvl .gt. 2) then
                    
367          call dvout (logfil, 1, rnorm0, ndigit, 
                    
368     &                '_getv0: re-orthonalization ; rnorm0 is')
                    
368     &                '_getv0: re-orthonalization ; rnorm0 is')
                    
369          call dvout (logfil, 1, rnorm, ndigit, 
                    
370     &                '_getv0: re-orthonalization ; rnorm is')
                    
399      if (msglvl .gt. 0) then
                    
400         call dvout (logfil, 1, rnorm, ndigit,
                    
401     &        '_getv0: B-norm of initial / restarted starting vector')
                    
403      if (msglvl .gt. 3) then
                    
404         call dvout (logfil, n, resid, ndigit,
                    
405     &        '_getv0: initial / restarted starting vector')
                    
                
iso8859_15.py https://github.com/albertz/CPython.git | Python | 307 lines
                    
95    '/'        #  0x2F -> SOLIDUS
                    
96    '0'        #  0x30 -> DIGIT ZERO
                    
97    '1'        #  0x31 -> DIGIT ONE
                    
97    '1'        #  0x31 -> DIGIT ONE
                    
98    '2'        #  0x32 -> DIGIT TWO
                    
99    '3'        #  0x33 -> DIGIT THREE
                    
99    '3'        #  0x33 -> DIGIT THREE
                    
100    '4'        #  0x34 -> DIGIT FOUR
                    
101    '5'        #  0x35 -> DIGIT FIVE
                    
101    '5'        #  0x35 -> DIGIT FIVE
                    
102    '6'        #  0x36 -> DIGIT SIX
                    
103    '7'        #  0x37 -> DIGIT SEVEN
                    
103    '7'        #  0x37 -> DIGIT SEVEN
                    
104    '8'        #  0x38 -> DIGIT EIGHT
                    
105    '9'        #  0x39 -> DIGIT NINE
                    
                
decimal64.c https://bitbucket.org/killerpenguinassassins/open_distrib_devel.git | C | 337 lines
                    
41
                    
42#define  DECNUMDIGITS 16	/* we need decNumbers with space for 16 */
                    
43#include "config.h"
                    
66/* rounding mode (used if the coefficient is more than DECIMAL64_Pmax */
                    
67/* digits or an overflow is detected).  If the exponent is out of the */
                    
68/* valid range then Overflow or Underflow will be raised.             */
                    
78  uInt status = 0;		/* status accumulator */
                    
79  Int pad = 0;			/* coefficient pad digits */
                    
80  decNumber dw;			/* work */
                    
84
                    
85  /* If the number is finite, and has too many digits, or the exponent */
                    
86  /* could be out of range then we reduce the number under the */
                    
90      Int ae = dn->exponent + dn->digits - 1;	/* adjusted exponent */
                    
91      if (dn->digits > DECIMAL64_Pmax	/* too many digits */
                    
92	  || ae > DECIMAL64_Emax	/* likely overflow */
                    
                
decimal32.c https://bitbucket.org/killerpenguinassassins/open_distrib_devel.git | C | 337 lines
                    
41
                    
42#define  DECNUMDIGITS  7	/* we need decNumbers with space for 7 */
                    
43#include "config.h"
                    
66/* rounding mode (used if the coefficient is more than DECIMAL32_Pmax */
                    
67/* digits or an overflow is detected).  If the exponent is out of the */
                    
68/* valid range then Overflow or Underflow will be raised.             */
                    
78  uInt status = 0;		/* status accumulator */
                    
79  Int pad = 0;			/* coefficient pad digits */
                    
80  decNumber dw;			/* work */
                    
84
                    
85  /* If the number is finite, and has too many digits, or the exponent */
                    
86  /* could be out of range then we reduce the number under the */
                    
90      Int ae = dn->exponent + dn->digits - 1;	/* adjusted exponent */
                    
91      if (dn->digits > DECIMAL32_Pmax	/* too many digits */
                    
92	  || ae > DECIMAL32_Emax	/* likely overflow */
                    
                
set-defaults.sh https://gitlab.com/rrevanth/dotfiles | Shell | 339 lines
                    
6# The original idea (and a couple settings) were grabbed from:
                    
7#   https://github.com/mathiasbynens/dotfiles/blob/master/.osx
                    
8# More from:
                    
8# More from:
                    
9#    https://gist.github.com/brandonb927/3195465
                    
10#
                    
                
iforce-main.c https://github.com/fopina/ZTE-Joe-Kernel-2.6.29.git | C | 496 lines
                    
70	{ 0x044f, 0xa01c, "Thrustmaster Motor Sport GT",		btn_wheel, abs_wheel, ff_iforce },
                    
71	{ 0x046d, 0xc281, "Logitech WingMan Force",			btn_joystick, abs_joystick, ff_iforce },
                    
72	{ 0x046d, 0xc291, "Logitech WingMan Formula Force",		btn_wheel, abs_wheel, ff_iforce },
                    
                
VfrUtilityLib.h https://gitlab.com/envieidoc/Clover | C Header | 406 lines
                    
57
                    
58struct SConfigItem {
                    
59  INT8          *mName;         // varstore name
                    
61  SConfigInfo   *mInfoStrList;  // list of Offset/Value in the varstore
                    
62  SConfigItem   *mNext;
                    
63
                    
64public:
                    
65  SConfigItem (IN INT8 *, IN INT8 *);
                    
66  SConfigItem (IN INT8 *, IN INT8 *, IN UINT8, IN UINT16, IN UINT16, IN EFI_IFR_TYPE_VALUE);
                    
66  SConfigItem (IN INT8 *, IN INT8 *, IN UINT8, IN UINT16, IN UINT16, IN EFI_IFR_TYPE_VALUE);
                    
67  virtual ~SConfigItem ();
                    
68};
                    
71private:
                    
72  SConfigItem *mItemListHead;
                    
73  SConfigItem *mItemListTail;
                    
                
bootstrap-notify.js https://gitlab.com/caroliina/ITX8540-backendAPI | JavaScript | 404 lines
                    
20* License: MIT License
                    
21* Website: https://github.com/mouse0270/bootstrap-growl
                    
22*/
                    
                
git_http_spec.rb https://gitlab.com/TheWoollyBully/gitlab-ce | Ruby | 398 lines
                    
85          it "responds with status 404" do
                    
86            allow(Gitlab.config.gitlab_shell).to receive(:receive_pack).and_return(false)
                    
87
                    
208              it "repeated attempts followed by successful attempt" do
                    
209                options = Gitlab.config.rack_attack.git_basic_auth
                    
210                maxretry = options[:maxretry] - 1
                    
256        it "downloads get status 200" do
                    
257          clone_get "#{project.path_with_namespace}.git", user: 'gitlab-ci-token', password: token
                    
258
                    
262        it "uploads get status 401 (no project existence information leak)" do
                    
263          push_get "#{project.path_with_namespace}.git", user: 'gitlab-ci-token', password: token
                    
264
                    
331        allow_any_instance_of(Repository).to receive(:blob_at).with('5937ac0a7beb003549fc5fd26fc247adbce4a52e', 'info/refs') do
                    
332          Gitlab::Git::Blob.find(project.repository, 'master', '.gitignore')
                    
333        end
                    
                
com.gianlu.aria2app.yml https://gitlab.com/onitake/fdroiddata | YAML | 517 lines
                    
9WebSite: https://gianlu.xyz/projects/Aria2App
                    
10SourceCode: https://github.com/devgianlu/Aria2App
                    
11IssueTracker: https://github.com/devgianlu/Aria2App/issues
                    
12Translation: https://crowdin.com/project/aria2app
                    
13Changelog: https://github.com/devgianlu/Aria2App/releases
                    
14Donate: https://www.paypal.me/devgianlu
                    
19
                    
20RepoType: git
                    
21Repo: https://github.com/devgianlu/Aria2App
                    
                
decContext.h https://github.com/CyanogenMod/android_external_icu4c.git | C Header | 268 lines
                    
43/*  clamp    -- must be either 0 or 1                                 */
                    
44/*  digits   -- must be in the range 1 through 999999999              */
                    
45/*  emax     -- must be in the range 0 through 999999999              */
                    
88  typedef struct {
                    
89    int32_t  digits;               /* working precision               */
                    
90    int32_t  emax;                 /* maximum positive exponent       */
                    
101  /* Maxima and Minima for context settings                           */
                    
102  #define DEC_MAX_DIGITS 999999999
                    
103  #define DEC_MIN_DIGITS         1
                    
150    #if DECSUBSET
                    
151    #define DEC_Lost_digits          0x00000100
                    
152    #endif
                    
168    #if DECSUBSET
                    
169    #define DEC_Lost_digits          0x00000000
                    
170    #endif
                    
                
ucurr.h https://github.com/CyanogenMod/android_external_icu4c.git | C Header | 360 lines
                    
26 * <ul><li>A display symbol, for a specific locale
                    
27 * <li>The number of fraction digits to display
                    
28 * <li>A rounding increment
                    
165/**
                    
166 * Returns the number of the number of fraction digits that should
                    
167 * be displayed for the given currency.
                    
169 * @param ec input-output error code
                    
170 * @return a non-negative number of fraction digits to be
                    
171 * displayed, or 0 if there is an error
                    
174U_STABLE int32_t U_EXPORT2
                    
175ucurr_getDefaultFractionDigits(const UChar* currency,
                    
176                               UErrorCode* ec);
                    
                
ak4642.c https://bitbucket.org/Tofe/picasso-kernel.git | C | 571 lines
                    
146
                    
147	SOC_DOUBLE_R_TLV("Digital Playback Volume", L_DVC, R_DVC,
                    
148			 0, 0xFF, 1, out_tlv),
                    
                
ImageHelper.h https://github.com/nnormand/DGtal.git | C Header | 452 lines
                    
220   * @tparam I any model of CImage
                    
221   * @tparam S any model of CDigitalSet
                    
222   *
                    
236   * I is an ImageContainerBySTLMap and 
                    
237   * S is a @link DigitalSetFromMap DigitalSetFromMap\<I\>@endlink as follows: 
                    
238   * @code
                    
258   * @param aImg an image
                    
259   * @param aSet a digital set
                    
260   * @param aPoint a point
                    
281   * I is an ImageContainerBySTLMap and 
                    
282   * S is a @link DigitalSetFromMap DigitalSetFromMap\<I\>@endlink as follows: 
                    
283   * @code
                    
322   * I is an ImageContainerBySTLMap and 
                    
323   * S is a @link DigitalSetFromMap DigitalSetFromMap\<I\>@endlink as follows: 
                    
324   * @code
                    
                
ItemBlockTalisman.java https://gitlab.com/MineYourMind/ThaumicTinkerer | Java | 315 lines
                    
39import thaumcraft.common.config.ConfigBlocks;
                    
40import thaumcraft.common.config.ConfigItems;
                    
41import thaumic.tinkerer.client.core.helper.IconHelper;
                    
310    public ThaumicTinkererRecipe getRecipeItem() {
                    
311        return new ThaumicTinkererInfusionRecipe(LibResearch.KEY_BLOCK_TALISMAN, new ItemStack(this), 9, new AspectList().add(Aspect.VOID, 65).add(Aspect.DARKNESS, 32).add(Aspect.MAGIC, 50).add(Aspect.ELDRITCH, 32), new ItemStack(ConfigItems.itemFocusPortableHole),
                    
312                new ItemStack(ThaumicTinkerer.registry.getFirstItemFromClass(ItemKamiResource.class)), new ItemStack(Blocks.ender_chest), new ItemStack(Items.diamond), new ItemStack(ThaumicTinkerer.registry.getFirstItemFromClass(ItemKamiResource.class)), new ItemStack(ConfigItems.itemResource, 1, 11), new ItemStack(ConfigBlocks.blockJar, 1, 3));
                    
                
catalog_oldstyle.py https://github.com/joerivanleeuwen/presto.git | Python | 345 lines
                    
11## name, J2000 right ascension (h m s) and its error, J2000 declination
                    
12## (deg. ' ") and its error, Galactic longitude and latitude (deg.),
                    
13## pulse period (s) and its error, pulse period derivative (10^-15) and
                    
21## in which the pulsar has been detected. Errors are in the last quoted
                    
22## digit of the value.
                    
23
                    
25## period (d) and its error, projected semi-major axis (s) and its error,
                    
26## orbit eccentricity and its error, longitude of periastron (deg.) and
                    
27## its error, epoch of periastron (MJD) and its error. For some
                    
33## name, J2000 right ascension (h m s) and its error, J2000 declination
                    
34## (deg. ' ") and its error, Galactic longitude and latitude (deg.),
                    
35## pulse period (s) and its error, pulse period derivative (10^-15) and
                    
                
notify_spec.rb https://gitlab.com/realsatomic/gitlab | Ruby | 383 lines
                    
11
                    
12  include_context 'gitlab email notification'
                    
13
                    
21    it 'has the characteristics of a threaded reply' do
                    
22      host = Gitlab.config.gitlab.host
                    
23      route_key = "#{epic.class.model_name.singular_route_key}_#{epic.id}"
                    
33    it 'has a Reply-To header' do
                    
34      is_expected.to have_header 'Reply-To', /<reply+(.*)@#{Gitlab.config.gitlab.host}>\Z/
                    
35    end
                    
294
                    
295    it_behaves_like 'an email sent from GitLab'
                    
296    it_behaves_like 'it should not have Gmail Actions links'
                    
310
                    
311    it_behaves_like 'an email sent from GitLab'
                    
312    it_behaves_like 'it should not have Gmail Actions links'
                    
                
adding_database_indexes.md https://gitlab.com/realsatomic/gitlab | Markdown | 327 lines
                    
3group: Database
                    
4info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
                    
5---
                    
127In other words, this data is only reliable for a frequently used database with
                    
128plenty of data and with as many GitLab features enabled (and being used) as
                    
129possible.
                    
220def up
                    
221  # Temporary index to be removed in 13.9 https://gitlab.com/gitlab-org/gitlab/-/issues/1234
                    
222  add_concurrent_index :projects, :creator_id, where: 'emails_disabled = false', name: INDEX_NAME
                    
235many hours. Necessary database operations like `autovacuum` cannot run, and
                    
236on GitLab.com, the deployment process is blocked waiting for index
                    
237creation to finish.
                    
3261. Run `bundle exec rails gitlab:db:reindex` so that the index is created asynchronously.
                    
3271. To verify the index, open the PostgreSQL console using the [GDK](https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/howto/postgresql.md) command `gdk psql` and run the command `\d <index_name>` to check that your newly created index exists.
                    
328
                    
                
HTMLTokenMarker.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 408 lines
                    
306              backslash = false;
                    
307              if (!Character.isLetterOrDigit(c) && c != '_')
                    
308                doKeyword(line, i, c);
                    
                
GeneralAppIdDecoder.java https://github.com/brycecurtis/phonegap-plugins.git | Java | 414 lines
                    
93
                    
94    int digit1  = (numeric - 8) / 11;
                    
95    int digit2  = (numeric - 8) % 11;
                    
96
                    
97    return new DecodedNumeric(pos + 7, digit1, digit2);
                    
98  }
                    
165
                    
166      if(numeric.isFirstDigitFNC1()){
                    
167        DecodedInformation information;
                    
167        DecodedInformation information;
                    
168        if (numeric.isSecondDigitFNC1()) {
                    
169          information = new DecodedInformation(current.position, buffer.toString());
                    
170        } else {
                    
171          information = new DecodedInformation(current.position, buffer.toString(), numeric.getSecondDigit());
                    
172        }
                    
                
t1404-update-ref-errors.sh https://gitlab.com/oyvholm/git | Shell | 407 lines
                    
2
                    
3test_description='Test git update-ref error handling'
                    
4. ./test-lib.sh
                    
21	printf "create $prefix/%s $C\n" $before |
                    
22	git update-ref --stdin &&
                    
23	git for-each-ref $prefix >unchanged &&
                    
25	then
                    
26		git pack-refs --all
                    
27	fi &&
                    
28	printf "create $prefix/%s $C\n" $create >input &&
                    
29	test_must_fail git update-ref --stdin <input 2>output.err &&
                    
30	grep -F "$error" output.err &&
                    
30	grep -F "$error" output.err &&
                    
31	git for-each-ref $prefix >actual &&
                    
32	test_cmp unchanged actual
                    
                
markedoc.sed https://github.com/seth/Emysql.git | sed | 378 lines
                    
17# SAMPLE FILES:
                    
18# https://github.com/hdiedrich/markedoc/tree/master/samples
                    
19# SAMPLE RESULTS:
                    
40# ----------------------------------------------------------
                    
41# Repository: https://github.com/hdiedrich/markedoc/
                    
42# Issues: https://github.com/hdiedrich/markedoc/issues
                    
                
mlp.py https://github.com/delallea/DeepLearningTutorials.git | Python | 344 lines
                    
8hidden layers making the architecture deep. The tutorial will also tackle 
                    
9the problem of MNIST digit classification.
                    
10
                    
                
Sd2PinMap.h https://github.com/armyofevilrobots/Sprinter.git | C Header | 353 lines
                    
315  if (__builtin_constant_p(pin) && pin < digitalPinCount) {
                    
316    return (*digitalPinMap[pin].ddr >> digitalPinMap[pin].bit) & 1;
                    
317  } else {
                    
326    } else {
                    
327      *digitalPinMap[pin].ddr &= ~(1 << digitalPinMap[pin].bit);
                    
328    }
                    
335  if (__builtin_constant_p(pin) && pin < digitalPinCount) {
                    
336    return (*digitalPinMap[pin].pin >> digitalPinMap[pin].bit) & 1;
                    
337  } else {
                    
344    if (value) {
                    
345      *digitalPinMap[pin].port |= 1 << digitalPinMap[pin].bit;
                    
346    } else {
                    
346    } else {
                    
347      *digitalPinMap[pin].port &= ~(1 << digitalPinMap[pin].bit);
                    
348    }
                    
                
HttpDownloadHelper.java https://github.com/avar/elasticsearch.git | Java | 400 lines
                    
228        private boolean redirectionAllowed(URL aSource, URL aDest) throws IOException {
                    
229            // Argh, github does this...
                    
230//            if (!(aSource.getProtocol().equals(aDest.getProtocol()) || ("http"
                    
                
test.cc https://github.com/YueRen/Sources.git | C++ | 592 lines
                    
87// #include "CCRing.h" // Too old!
                    
88#include "kernel/digitech.h"
                    
89#include "kernel/linear_algebra/eigenval.h"
                    
                
configure.in https://bitbucket.org/joneshf/cloudi.git | Autoconf | 398 lines
                    
6# the version.sh script. Hence, it should be updated there.
                    
7# The version in git should reflect the *next* version planned.
                    
8#
                    
                
dashdash.bash_completion.in https://gitlab.com/Erdrix/archiveServices | Autoconf | 366 lines
                    
5# The original template lives here:
                    
6# https://github.com/trentm/node-dashdash/blob/master/etc/dashdash.bash_completion.in
                    
7#
                    
21# - support for knowing which options take arguments
                    
22# - support for subcommands (e.g. 'git log <TAB>' to show just options for the
                    
23#   log subcommand)
                    
41#       $ tool -<TAB>       # matching opts
                    
42#       $ git lo<TAB>       # matching subcmds
                    
43#
                    
                
PlanRoutes.html https://gitlab.com/railway/railway-land | HTML | 192 lines
                    
40            </li>
                    
41            <li>Saate teha m&uuml;&uuml;git&ouml;&ouml;d.
                    
42            </li>
                    
49    </p>
                    
50    <p>Kui ruut  <b>Kasuta praeguse kaardi ulatust</b> on m&auml;rgitud, siis arvestatakse anal&uuml;&uuml;sis ainult praeguses kuvaulatuses n&auml;htavaid objekte. Kui see ruut pole m&auml;rgitud, kasutatakse k&otilde;iki sisendkihis olevaid objekte ka siis, kui need pole praegu kaardil n&auml;ha.
                    
51    </p>
                    
                
cp856.py https://bitbucket.org/beqa/nvdadependencyvirtualenvironment.git | Python | 307 lines
                    
95    u'/'        #  0x2F -> SOLIDUS
                    
96    u'0'        #  0x30 -> DIGIT ZERO
                    
97    u'1'        #  0x31 -> DIGIT ONE
                    
97    u'1'        #  0x31 -> DIGIT ONE
                    
98    u'2'        #  0x32 -> DIGIT TWO
                    
99    u'3'        #  0x33 -> DIGIT THREE
                    
99    u'3'        #  0x33 -> DIGIT THREE
                    
100    u'4'        #  0x34 -> DIGIT FOUR
                    
101    u'5'        #  0x35 -> DIGIT FIVE
                    
101    u'5'        #  0x35 -> DIGIT FIVE
                    
102    u'6'        #  0x36 -> DIGIT SIX
                    
103    u'7'        #  0x37 -> DIGIT SEVEN
                    
103    u'7'        #  0x37 -> DIGIT SEVEN
                    
104    u'8'        #  0x38 -> DIGIT EIGHT
                    
105    u'9'        #  0x39 -> DIGIT NINE
                    
                
cms.pagetree.scss https://github.com/keimlink/django-cms.git | Sass | 602 lines
                    
2/*!
                    
3 * @copyright: https://github.com/divio/django-cms
                    
4 */
                    
                
types_swagger_doc_generated.go https://gitlab.com/hasura/kubernetes | Go | 208 lines
                    
20// generate Swagger API documentation for its models. Please read this PR for more
                    
21// information on the implementation: https://github.com/emicklei/go-restful/pull/215
                    
22//
                    
                
SerialReadMaxMSP.pde https://bitbucket.org/bhagman/wiring.git | Processing | 523 lines
                    
29    {
                    
30      digitalWrite(ledpin, HIGH); // turn ON the LED
                    
31    }
                    
33    {
                    
34      digitalWrite(ledpin, LOW);  // otherwise turn it OFF
                    
35    }
                    
                
ctrl_sincronizar.control.op.php https://gitlab.com/talueses/SIPVE | PHP | 263 lines
                    
33  *     @link http://sourceforge.net/projects/sipve/   - SourceForge
                    
34  *     @link https://gitlab.com/talueses/SIPVE - Gitlab Repositorio.
                    
35  * 
                    
                
fr.html https://github.com/mrnbrkt/asciicasts.com-translations.git | HTML | 110 lines
                    
13<pre class="terminal">
                    
14mkdir -p ~/.rvm/src/ &amp;&amp; cd ~/.rvm/src &amp;&amp; rm -rf ./rvm/ &amp;&amp; git clone git://github.com/wayneeseguin/rvm.git &amp;&amp; cd rvm &amp;&amp; ./install
                    
15</pre>
                    
                
gitlab-rails.rb https://gitlab.com/jmcgeheeiv/omnibus-gitlab | Ruby | 378 lines
                    
23gitlab_rails_etc_dir = File.join(gitlab_rails_dir, "etc")
                    
24gitlab_rails_static_etc_dir = "/opt/gitlab/etc/gitlab-rails"
                    
25gitlab_rails_working_dir = File.join(gitlab_rails_dir, "working")
                    
146if node['gitlab']['gitlab-rails']['redis_port']
                    
147  redis_auth = ":#{node['gitlab']['gitlab-rails']['redis_password']}@" if node['gitlab']['gitlab-rails']['redis_password']
                    
148  redis_url = "redis://#{redis_auth}#{node['gitlab']['gitlab-rails']['redis_host']}:#{node['gitlab']['gitlab-rails']['redis_port']}"
                    
153gitlab_rails = if node['gitlab']['gitlab-ci']['db_key_base']
                    
154                 node['gitlab']['gitlab-rails'].to_hash.merge!({ db_key_base: node['gitlab']['gitlab-ci']['db_key_base'] })
                    
155               else
                    
232    node['gitlab']['gitlab-rails'].to_hash.merge(
                    
233      gitlab_ci_all_broken_builds: node['gitlab']['gitlab-ci']['gitlab_ci_all_broken_builds'],
                    
234      gitlab_ci_add_pusher: node['gitlab']['gitlab-ci']['gitlab_ci_add_pusher'],
                    
235      builds_directory: gitlab_ci_builds_dir,
                    
236      git_annex_enabled: node['gitlab']['gitlab-shell']['git_annex_enabled'],
                    
237      pages_external_http: node['gitlab']['gitlab-pages']['external_http'],
                    
                
BaseEventI18n.php https://github.com/mikesname/ehri-ica-atom.git | PHP | 563 lines
                    
362    {
                    
363      // Year only: one or more digits.  Convert to SQL zero special case
                    
364      if (preg_match('/^\d+$/', $value))
                    
368
                    
369      // Year and month only: one or more digits, plus separator, plus
                    
370      // one or more digits.  Convert to SQL zero special case
                    
                
LexVB.cxx https://bitbucket.org/lennonchan/cafu.git | C++ | 316 lines
                    
53	return (ch < 0x80) &&
                    
54	        (isdigit(ch) || toupper(ch) == 'E' ||
                    
55             ch == '.' || ch == '-' || ch == '+');
                    
68	int visibleChars = 0;
                    
69	int fileNbDigits = 0;
                    
70
                    
148		} else if (sc.state == SCE_B_FILENUMBER) {
                    
149			if (IsADigit(sc.ch)) {
                    
150				fileNbDigits++;
                    
150				fileNbDigits++;
                    
151				if (fileNbDigits > 3) {
                    
152					sc.ChangeState(SCE_B_DATE);
                    
200				sc.Forward();
                    
201			} else if (IsADigit(sc.ch) || (sc.ch == '.' && IsADigit(sc.chNext))) {
                    
202				sc.SetState(SCE_B_NUMBER);
                    
                
pdf_lex.c https://bitbucket.org/sumidasignage/mupdf.git | C | 553 lines
                    
73
                    
74	/* Initially we might have +, -, . or a digit */
                    
75	switch (c)
                    
83		break;
                    
84	default: /* Must be a digit */
                    
85		i = c - '0';
                    
110
                    
111	/* In here, we've seen a dot, so can accept just digits */
                    
112loop_after_dot:
                    
138underflow:
                    
139	/* Ignore any digits after here, because they are too small */
                    
140	while (1)
                    
                
Player.java https://github.com/Alumen/Blockmania.git | Java | 376 lines
                    
16 */
                    
17package com.github.begla.blockmania.world.characters;
                    
18
                    
18
                    
19import com.github.begla.blockmania.audio.AudioManager;
                    
20import com.github.begla.blockmania.blocks.Block;
                    
20import com.github.begla.blockmania.blocks.Block;
                    
21import com.github.begla.blockmania.datastructures.AABB;
                    
22import com.github.begla.blockmania.datastructures.ViewFrustum;
                    
22import com.github.begla.blockmania.datastructures.ViewFrustum;
                    
23import com.github.begla.blockmania.intersections.RayBlockIntersection;
                    
24import com.github.begla.blockmania.main.Configuration;
                    
24import com.github.begla.blockmania.main.Configuration;
                    
25import com.github.begla.blockmania.noise.PerlinNoise;
                    
26import com.github.begla.blockmania.world.World;
                    
                
Context.cs https://github.com/RevCBH/dotliquid.git | C# | 447 lines
                    
171		/// Look up variable, either resolve directly after considering the name. We can directly handle
                    
172		/// Strings, digits, floats and booleans (true,false). If no match is made we lookup the variable in the current scope and
                    
173		/// later move up to the parent blocks to see if we can resolve the variable somewhere up the tree.
                    
                
gpio-merrifield.c https://github.com/tklauser/linux-nios2.git | C | 487 lines
                    
31#define GISR		0x0c4	/* interrupt source */
                    
32#define GITR		0x300	/* input type */
                    
33#define GLPR		0x318	/* level input polarity */
                    
254	void __iomem *gfer = gpio_reg(&priv->chip, gpio, GFER);
                    
255	void __iomem *gitr = gpio_reg(&priv->chip, gpio, GITR);
                    
256	void __iomem *glpr = gpio_reg(&priv->chip, gpio, GLPR);
                    
275	 * To prevent glitches from triggering an unintended level interrupt,
                    
276	 * configure GLPR register first and then configure GITR.
                    
277	 */
                    
284	if (type & IRQ_TYPE_LEVEL_MASK) {
                    
285		value = readl(gitr) | BIT(gpio % 32);
                    
286		writel(value, gitr);
                    
289	} else if (type & IRQ_TYPE_EDGE_BOTH) {
                    
290		value = readl(gitr) & ~BIT(gpio % 32);
                    
291		writel(value, gitr);
                    
                
index.md https://gitlab.com/realsatomic/gitlab | Markdown | 334 lines
                    
154
                    
155> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/207473) in GitLab 13.9 [with a flag](../../administration/feature_flags.md) named `confidential_notes`. Disabled by default.
                    
156
                    
190
                    
191> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/10103) in GitLab 12.6.
                    
192
                    
198
                    
199> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/14588) in GitLab 12.10.
                    
200
                    
211
                    
212> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/191455) in GitLab 13.1.
                    
213
                    
264
                    
265> Resolving comments individually was [removed](https://gitlab.com/gitlab-org/gitlab/-/issues/28750) in GitLab 13.6.
                    
266
                    
                
ch3-5.html https://bitbucket.org/thncr/manuals.git | HTML | 163 lines
                    
41
                    
42<p>可能有点乱,我们不妨举例说明。假设你们团队有个地址为 <code>git.ourcompany.com</code> 的 Git 服务器。如果你从这里克隆,Git 会自动为你将此远程仓库命名为 <code>origin</code>,并下载其中所有的数据,建立一个指向它的 <code>master</code> 分支的指针,在本地命名为 <code>origin/master</code>,但你无法在本地更改其数据。接着,Git 建立一个属于你自己的本地 <code>master</code> 分支,始于 <code>origin</code> 上 <code>master</code> 分支相同的位置,你可以就此开始工作(见图 3-22):</p>
                    
43
                    
72Total 15 (delta 5), reused 0 (delta 0)
                    
73To git@github.com:schacon/simplegit.git
                    
74 * [new branch]      serverfix -&gt; serverfix</code></pre>
                    
101
                    
102<p>在克隆仓库时,Git 通常会自动创建一个 <code>master</code> 分支来跟踪 <code>origin/master</code>。这正是 <code>git push</code> 和 <code>git pull</code> 一开始就能正常工作的原因。当然,你可以随心所欲地设定为其它跟踪分支,比如 <code>origin</code> 上除了 <code>master</code> 之外的其它分支。刚才我们已经看到了这样的一个例子:<code>git checkout -b [分支名] [远程名]/[分支名]</code>。如果你有 1.6.2 以上版本的 Git,还可以用 <code>--track</code> 选项简化:</p>
                    
103
                    
120<pre><code>$ git push origin :serverfix
                    
121To git@github.com:schacon/simplegit.git
                    
122 - [deleted]         serverfix</code></pre>
                    
150      All content under <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/">Creative Commons Attribution-Non Commercial-Share Alike 3.0 license</a>.
                    
151      <br/>Theme and code by <a href="http://github.com/mbleigh">Michael Bleigh</a>. Hosted by <a href='http://github.com/progit/progit.github.com/' target='_blank'>GitHub</a> and powered by <a href='http://github.com/mojombo/jekyll'>Jekyll</a>.
                    
152    </div>
                    
                
index.html https://bitbucket.org/lotabout/lotabout.bitbucket.org.git | HTML | 376 lines
                    
131                      <li>
                    
132                        <a href="https://github.com/lotabout" class="zocial github icon" target="_blank">
                    
133                          <span class="hidden-desktop">Github</span>
                    
245                &raquo;
                    
246                <a href="/2013/04/12/git-notes">git 常用命令</a>
                    
247                </li>
                    
333      <div class="container">
                    
334          <p> Powered by <a href="https://github.com/mojombo/jekyll">Jekyll</a> & <a href="http://twitter.github.io/bootstrap/index.html"> twitter bootstrap </a> </p>
                    
335          <p> Copyright 2013 - 2014 by <a href="https://lotabout.bitbucket.org/about.html"> Mark Wallace </a> </p>
                    
337        <ul class="footer-links">
                    
338          <li><a href="https://github.com/lotabout">github</a></li>
                    
339          <li class="muted">&middot;</li>
                    
                
ImageHelper.java https://gitlab.com/pymevirtual/ProjectOxford-ClientSDK | Java | 323 lines
                    
6//
                    
7// Microsoft Cognitive Services (formerly Project Oxford) GitHub:
                    
8// https://github.com/Microsoft/ProjectOxford-ClientSDK
                    
                
KmlFeatureParser.java https://gitlab.com/spaceotechnologies/Google_Map_Clustering | Java | 313 lines
                    
22
                    
23    private final static int LONGITUDE_INDEX = 0;
                    
24
                    
294        Double lat = Double.parseDouble(coordinate[LATITUDE_INDEX]);
                    
295        Double lon = Double.parseDouble(coordinate[LONGITUDE_INDEX]);
                    
296        return new LatLng(lat, lon);
                    
                
StringExtras.h https://bitbucket.org/freebsd/freebsd-base.git | C Header | 401 lines
                    
33
                    
34/// hexdigit - Return the hexadecimal character for the
                    
35/// given number \p X (which should be less than 16).
                    
63
                    
64/// Interpret the given character \p C as a hexadecimal digit and return its
                    
65/// value.
                    
66///
                    
67/// If \p C is not a valid hex digit, -1U is returned.
                    
68inline unsigned hexDigitValue(char C) {
                    
75/// Checks if character \p C is one of the 10 decimal digits.
                    
76inline bool isDigit(char C) { return C >= '0' && C <= '9'; }
                    
77
                    
78/// Checks if character \p C is a hexadecimal numeric character.
                    
79inline bool isHexDigit(char C) { return hexDigitValue(C) != -1U; }
                    
80
                    
                
IClassLoader.html https://github.com/mcpat/mcpat.github.com.git | HTML | 271 lines
                    
59&nbsp;PREV CLASS&nbsp;
                    
60&nbsp;<A HREF="../../../../com/github/libxjava/lang/SimpleClassLoader.html" title="class in com.github.libxjava.lang"><B>NEXT CLASS</B></A></FONT></TD>
                    
61<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
                    
61<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
                    
62  <A HREF="../../../../index.html?com/github/libxjava/lang/IClassLoader.html" target="_top"><B>FRAMES</B></A>  &nbsp;
                    
63&nbsp;<A HREF="IClassLoader.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
                    
91<FONT SIZE="-1">
                    
92com.github.libxjava.lang</FONT>
                    
93<BR>
                    
95<DL>
                    
96<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../com/github/libxjava/lang/SimpleClassLoader.html" title="class in com.github.libxjava.lang">SimpleClassLoader</A></DD>
                    
97</DL>
                    
239&nbsp;PREV CLASS&nbsp;
                    
240&nbsp;<A HREF="../../../../com/github/libxjava/lang/SimpleClassLoader.html" title="class in com.github.libxjava.lang"><B>NEXT CLASS</B></A></FONT></TD>
                    
241<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
                    
                
stm32f0xx_hal_i2c_ex.h https://gitlab.com/YaoQ/mbed-for-linknode | C Header | 234 lines
                    
133HAL_StatusTypeDef HAL_I2CEx_ConfigAnalogFilter(I2C_HandleTypeDef *hi2c, uint32_t AnalogFilter);
                    
134HAL_StatusTypeDef HAL_I2CEx_ConfigDigitalFilter(I2C_HandleTypeDef *hi2c, uint32_t DigitalFilter);
                    
135#if !defined(STM32F030x6) && !defined(STM32F030x8) && !defined(STM32F070x6) && !defined(STM32F070xB) && !defined(STM32F030xC) 
                    
157
                    
158#define IS_I2C_DIGITAL_FILTER(FILTER)   ((FILTER) <= 0x0000000FU)
                    
159
                    
                
fsl_i2c.c https://bitbucket.org/kasimling/u-boot.git | C | 496 lines
                    
78 * frequency divider (I2C clock rate divided by I2C bus speed) to a value to be
                    
79 * programmed into the Frequency Divider Ratio (FDR) and Digital Filter
                    
80 * Sampling Rate (DFSR) registers.
                    
                
DSPS.m https://bitbucket.org/leoneumamm/dsps.git | Objective C | 232 lines
                    
17Control = 0;
                    
18fid = figure('name','Digital HRV-Signal Processing Software',...
                    
19    'number','off','position',[200,50,900,660],'resize','off',...
                    
                
BlockCipher.php https://bitbucket.org/gencer/zf2.git | PHP | 489 lines
                    
4 *
                    
5 * @link      http://github.com/zendframework/zf2 for the canonical source repository
                    
6 * @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
                    
                
build.rb https://gitlab.com/oatberrycrunch/gitlab-ce | Ruby | 462 lines
                    
172    def repo_url
                    
173      auth = "gitlab-ci-token:#{token}@"
                    
174      project.http_url_to_repo.sub(/^https?:\/\//) do |prefix|
                    
178
                    
179    def allow_git_fetch
                    
180      project.build_allow_git_fetch
                    
264      File.join(
                    
265        Settings.gitlab_ci.builds_path,
                    
266        created_at.utc.strftime("%Y_%m"),
                    
282      File.join(
                    
283        Settings.gitlab_ci.builds_path,
                    
284        created_at.utc.strftime("%Y_%m"),
                    
345      return unless project
                    
346      build_data = Gitlab::BuildDataBuilder.build(self)
                    
347      project.execute_hooks(build_data.dup, :build_hooks)
                    
                
container_unix.go https://gitlab.com/vectorci/docker-1 | Go | 424 lines
                    
12
                    
13	"github.com/Sirupsen/logrus"
                    
14	"github.com/docker/docker/pkg/chrootarchive"
                    
14	"github.com/docker/docker/pkg/chrootarchive"
                    
15	"github.com/docker/docker/pkg/stringid"
                    
16	"github.com/docker/docker/pkg/symlink"
                    
16	"github.com/docker/docker/pkg/symlink"
                    
17	"github.com/docker/docker/pkg/system"
                    
18	"github.com/docker/docker/utils"
                    
18	"github.com/docker/docker/utils"
                    
19	"github.com/docker/docker/volume"
                    
20	containertypes "github.com/docker/engine-api/types/container"
                    
20	containertypes "github.com/docker/engine-api/types/container"
                    
21	"github.com/opencontainers/runc/libcontainer/label"
                    
22)
                    
                
README.md https://gitlab.com/CORP-RESELLER/PayPal-Python-SDK | Markdown | 348 lines
                    
8
                    
9> The REST APIs are getting closer to parity with older merchant APIs. Check out https://github.com/paypal/PayPal-Python-SDK#explore-further-payment-capabilities
                    
10
                    
10
                    
11> If deploying on Google appengine and running into issues since requests is a dependency, see [#66](https://github.com/paypal/PayPal-Python-SDK/issues/66) for workaround.
                    
12
                    
12
                    
13> **The Payment Card Industry (PCI) Council has [mandated](http://blog.pcisecuritystandards.org/migrating-from-ssl-and-early-tls) that early versions of TLS be retired from service.  All organizations that handle credit card information are required to comply with this standard. As part of this obligation, PayPal is updating its services to require TLS 1.2 for all HTTPS connections. At this time, PayPal will also require HTTP/1.1 for all connections. See the [PayPal TLS Update repository](https://github.com/paypal/tls-update) for more information.**
                    
14
                    
133
                    
134Only for [Payment](https://github.com/paypal/PayPal-Python-SDK/blob/master/samples/payment/create_with_paypal.py) with `payment_method` as `"paypal"`
                    
135
                    
                
FeatureNotUpToDateTest.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 233 lines
                    
109            String preSpec = pilotSV.toString ().substring (0, dot);
                    
110            Integer digit = 0;
                    
111            try {
                    
111            try {
                    
112                digit = Integer.parseInt (preSpec) + 1;
                    
113            } catch (NumberFormatException nfe) {
                    
115            }
                    
116            SpecificationVersion higherSV = new SpecificationVersion (digit + "." + postSpec);
                    
117            assertTrue (higherSV + " is more then " + pilotSV, higherSV.compareTo (pilotSV) > 0);
                    
                
DoubleDV.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 247 lines
                    
191                            int dp = canonical.indexOf('.');
                    
192                            // move the digits: ddd.d --> d.ddd
                    
193                            for (int i = dp; i > edp; i--) {
                    
211                        else {
                    
212                            // non-zero digit point
                    
213                            int nzp = edp + 1;
                    
216                                nzp++;
                    
217                            // put the first non-zero digit to the left of '.'
                    
218                            chars[edp-1] = chars[nzp];
                    
219                            chars[edp] = '.';
                    
220                            // move other digits (non-zero) to the right of '.'
                    
221                            for (int i = nzp+1, j = edp+1; i < len; i++, j++)
                    
                
groups.md https://gitlab.com/viktor-meszaros2/gitlab-ce | Markdown | 448 lines
                    
55    "visibility_level": 10,
                    
56    "ssh_url_to_repo": "git@gitlab.example.com/html5-boilerplate.git",
                    
57    "http_url_to_repo": "http://gitlab.example.com/h5bp/html5-boilerplate.git",
                    
135      "visibility_level": 20,
                    
136      "ssh_url_to_repo": "git@gitlab.example.com:twitter/typeahead-js.git",
                    
137      "http_url_to_repo": "https://gitlab.example.com/twitter/typeahead-js.git",
                    
182      "visibility_level": 10,
                    
183      "ssh_url_to_repo": "git@gitlab.example.com:twitter/flight.git",
                    
184      "http_url_to_repo": "https://gitlab.example.com/twitter/flight.git",
                    
231      "visibility_level": 0,
                    
232      "ssh_url_to_repo": "git@gitlab.example.com:h5bp/html5-boilerplate.git",
                    
233      "http_url_to_repo": "https://gitlab.example.com/h5bp/html5-boilerplate.git",
                    
358      "visibility_level": 10,
                    
359      "ssh_url_to_repo": "git@gitlab.example.com/html5-boilerplate.git",
                    
360      "http_url_to_repo": "http://gitlab.example.com/h5bp/html5-boilerplate.git",
                    
                
projects.scss https://gitlab.com/viktor-meszaros2/gitlab-ce | Sass | 844 lines
                    
520
                    
521.git-empty {
                    
522  margin: 0 7px 7px;
                    
667
                    
668.git-clone-holder {
                    
669  width: 380px;
                    
                
Hooks.cpp https://gitlab.com/cjeight/tortoisegit | C++ | 458 lines
                    
1// TortoiseGit - a Windows shell extension for easy version control
                    
2
                    
2
                    
3// Copyright (C) 2011-2016 - TortoiseGit
                    
4// Copyright (C) 2007-2008 - TortoiseSVN
                    
25#include "SmartHandle.h"
                    
26#include "Git.h"
                    
27
                    
41		m_pInstance = new CHooks();
                    
42	CRegString reghooks(_T("Software\\TortoiseGit\\hooks"));
                    
43	CString strhooks = reghooks;
                    
66			// line 2
                    
67			key.path = CTGitPath(strhooks.Mid(0, pos));
                    
68			if (pos+1 < strhooks.GetLength())
                    
134	}
                    
135	CRegString reghooks(_T("Software\\TortoiseGit\\hooks"));
                    
136	reghooks = strhooks;
                    
                
LexFlagship.cxx https://gitlab.com/cjeight/tortoisegit | C++ | 354 lines
                    
90			case SCE_FS_NUMBER:
                    
91				if (!IsAWordChar(sc.ch) && !(sc.ch == '.' && IsADigit(sc.chNext))) {
                    
92					sc.SetState(SCE_FS_DEFAULT);
                    
284				}
                    
285			} else if (IsADigit(sc.ch) || (sc.ch == '.' && IsADigit(sc.chNext))) {
                    
286				sc.SetState(bEnableCode ? SCE_FS_NUMBER : SCE_FS_NUMBER_C);
                    
                
CANDBConverterDlg.cpp https://github.com/nowaydoso/busmaster.git | C++ | 461 lines
                    
187
                    
188    SetDlgItemText(IDC_RESULT_STATIC,"Choose files for conversion");
                    
189    return TRUE;  // return TRUE  unless you set the focus to a control
                    
282    {
                    
283        SetDlgItemText(IDC_CANOE_EDIT,fileDlg.GetPathName());
                    
284    }
                    
286    {
                    
287        SetDlgItemText(IDC_CANOE_EDIT,"");
                    
288    }
                    
308    {
                    
309        SetDlgItemText(IDC_CANMON_EDIT,fileDlg.GetPathName());
                    
310        SetDlgItemText(IDC_CANOE_EDIT,"");
                    
310        SetDlgItemText(IDC_CANOE_EDIT,"");
                    
311        GetDlgItem(IDC_CONVERT_BTN)->EnableWindow(TRUE);
                    
312        SetDlgItemText(IDC_RESULT_STATIC,"Ready for conversion");
                    
                
command_line.vim https://bitbucket.org/lilydjwg/dotvim.git | Vim Script | 283 lines
                    
3" AUTHOR: haya14busa
                    
4" Reference: https://github.com/osyo-manga/vim-over
                    
5" License: MIT license  {{{
                    
                
mdct.c https://bitbucket.org/thelearninglabs/uclinux-distro-tll-public.git | C | 486 lines
                    
18 Original algorithm adapted long ago from _The use of multirate filter
                    
19 banks for coding of high quality digital audio_, by T. Sporer,
                    
20 K. Brandenburg and B. Edler, collection of the European Signal
                    
                
platform.h https://bitbucket.org/thelearninglabs/uclinux-distro-tll-public.git | C Header | 420 lines
                    
153#include <limits.h>
                    
154#if defined(__digital__) && defined(__unix__)
                    
155# include <sex.h>
                    
250
                    
251#if (defined __digital__ && defined __unix__) \
                    
252 || defined __APPLE__ \
                    
283/* ISO C Standard:  7.16  Boolean type and values  <stdbool.h> */
                    
284#if (defined __digital__ && defined __unix__)
                    
285/* old system without (proper) C99 support */
                    
326
                    
327#if defined(__digital__) && defined(__unix__)
                    
328
                    
                
interface_test.go https://gitlab.com/hasura/kubernetes | Go | 300 lines
                    
69
                    
70// Based on DigitalOcean COREOS
                    
71const gatewayfirstLinkLocal = `Iface   Destination     Gateway         Flags   RefCnt  Use     Metric  Mask            MTU     Window  IRTT                                                       
                    
                
http_chunks.c https://github.com/macardi/xbmc.git | C | 406 lines
                    
76
                    
77   The chunk-size field is a string of hex digits indicating the size of
                    
78   the chunk. The chunked encoding is ended by any chunk whose size is
                    
82
                    
83/* Check for an ASCII hex digit.
                    
84 We avoid the use of isxdigit to accommodate non-ASCII hosts. */
                    
84 We avoid the use of isxdigit to accommodate non-ASCII hosts. */
                    
85static bool Curl_isxdigit(char digit)
                    
86{
                    
86{
                    
87  return (bool)( (digit >= 0x30 && digit <= 0x39)    /* 0-9 */
                    
88              || (digit >= 0x41 && digit <= 0x46)    /* A-F */
                    
88              || (digit >= 0x41 && digit <= 0x46)    /* A-F */
                    
89              || (digit >= 0x61 && digit <= 0x66) ); /* a-f */
                    
90}
                    
                
namespaces_spec.rb https://gitlab.com/gitlab-com/git-lab-playground | Ruby | 357 lines
                    
16        get api("/namespaces")
                    
17        expect(response).to have_gitlab_http_status(:unauthorized)
                    
18      end
                    
27
                    
28        expect(response).to have_gitlab_http_status(:ok)
                    
29        expect(response).to include_pagination_headers
                    
38
                    
39        expect(response).to have_gitlab_http_status(:ok)
                    
40        expect(response).to include_pagination_headers
                    
48
                    
49        expect(response).to have_gitlab_http_status(:ok)
                    
50        expect(response).to include_pagination_headers
                    
82
                    
83        expect(response).to have_gitlab_http_status(:ok)
                    
84        expect(response).to include_pagination_headers
                    
                
pipeline_presenter_spec.rb https://gitlab.com/gitlab-com/git-lab-playground | Ruby | 399 lines
                    
5RSpec.describe Ci::PipelinePresenter do
                    
6  include Gitlab::Routing
                    
7
                    
25
                    
26  it 'inherits from Gitlab::View::Presenter::Delegated' do
                    
27    expect(described_class.superclass).to eq(Gitlab::View::Presenter::Delegated)
                    
320        before do
                    
321          project.update!(visibility_level: Gitlab::VisibilityLevel::PUBLIC)
                    
322
                    
332        before do
                    
333          project.update!(visibility_level: Gitlab::VisibilityLevel::PUBLIC)
                    
334
                    
                
award_emoji.md https://gitlab.com/effigies/gitlab-ce | Markdown | 367 lines
                    
2
                    
3 >**Note:** This feature was introduced in GitLab 8.9
                    
4
                    
27```bash
                    
28curl -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" http://gitlab.example.com/api/v3/projects/1/issues/80/award_emoji
                    
29```
                    
43      "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
                    
44      "web_url": "http://gitlab.example.com/u/root"
                    
45    },
                    
59      "avatar_url": "http://www.gravatar.com/avatar/7e65550957227bd38fe2d7fbc6fd2f7b?s=80&d=identicon",
                    
60      "web_url": "http://gitlab.example.com/u/user4"
                    
61    },
                    
87```bash
                    
88curl -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" http://gitlab.example.com/api/v3/projects/1/issues/80/award_emoji/1
                    
89```
                    
                
routing_spec.rb https://gitlab.com/effigies/gitlab-ce | Ruby | 272 lines
                    
46
                    
47# gitlab_api /api         API::API
                    
48#            /:path       Grack
                    
54  it "to Grack" do
                    
55    expect(get("/gitlab/gitlabhq.git")).to be_routable
                    
56  end
                    
                
race_TCE3482_TCE3493.html https://github.com/cos/ReLooper-evaluation-suite.git | HTML | 273 lines
                    
13            <td class="head2" colspan="2">
                    
14               							Field: <a href="java/text/DigitList.java.html#0">java.text.DigitList.digits</a></td>
                    
15         </tr>
                    
19                  <wbr></wbr>text.
                    
20                  <wbr></wbr>DigitList</a>]}
                    
21            </td>
                    
125                     <td></td>
                    
126                     <td><a href="java/text/DigitList.java.html#133">java.text.DigitList.append(char)</a>
                    
127                        	(Rd)
                    
255                     <td></td>
                    
256                     <td><a href="java/text/DigitList.java.html#543">java.text.DigitList.set(boolean,java.math.BigDecimal,int,boolean)</a><br />
                    
257                        								Context: [main]
                    
261                     <td></td>
                    
262                     <td><a href="java/text/DigitList.java.html#688">java.text.DigitList.extendDigits(int)</a>
                    
263                        	(Wr)
                    
                
race_TCE3480_TCE3493.html https://github.com/cos/ReLooper-evaluation-suite.git | HTML | 273 lines
                    
13            <td class="head2" colspan="2">
                    
14               							Field: <a href="java/text/DigitList.java.html#0">java.text.DigitList.digits</a></td>
                    
15         </tr>
                    
19                  <wbr></wbr>text.
                    
20                  <wbr></wbr>DigitList</a>]}
                    
21            </td>
                    
125                     <td></td>
                    
126                     <td><a href="java/text/DigitList.java.html#130">java.text.DigitList.append(char)</a>
                    
127                        	(Rd)
                    
255                     <td></td>
                    
256                     <td><a href="java/text/DigitList.java.html#543">java.text.DigitList.set(boolean,java.math.BigDecimal,int,boolean)</a><br />
                    
257                        								Context: [main]
                    
261                     <td></td>
                    
262                     <td><a href="java/text/DigitList.java.html#688">java.text.DigitList.extendDigits(int)</a>
                    
263                        	(Wr)
                    
                
skeinforge_application.skeinforge_plugins.analyze_plugins.analyze_utilities.view_rotate.html https://github.com/nmsl1993/ReplicatorG.git | HTML | 146 lines
                    
17 <br>
                    
18When the mouse is clicked, dragged and released on the canvas, viewpoint rotate will rotate the longitude by the amount the mouse is dragged around the origin.  If the mouse is moved towards the origin, the latitude will be increased, so the viewpoint will be closer to the top.  If the mouse is moved away from the origin, the latitude will be decreased.  If the shift key is also pressed, only the latitude or longitude will be changed, whichever is being changed the most.<br>
                    
19 <br>
                    
19 <br>
                    
20When the viewpoint rotate tool is chosen and the canvas has the focus, viewpoint rotate will listen to the arrow keys.  Clicking in the canvas gives the canvas the focus, and when the canvas has the focus a thick black border is drawn around the canvas.  When the right arrow key is pressed, viewpoint rotate will increase the preview longitude by one degree.  When the left arrow key is pressed, the preview longitude will be decreased.  The up arrow key increase the preview latitude by one degree and the down arow decreases the preview latitude.  Pressing the &lt;Return&gt; key implements the preview.</tt>
                    
21<br />
                    
52</dd>
                    
53<dt><font face="helvetica, arial"><a href="skeinforge_application.skeinforge_plugins.analyze_plugins.analyze_utilities.view_rotate.html#LatitudeLongitude">LatitudeLongitude</a>
                    
54</font></dt></dl>
                    
58<td colspan=3 valign=bottom>&nbsp;<br>
                    
59<font color="#000000" face="helvetica, arial"><a name="LatitudeLongitude">class <strong>LatitudeLongitude</strong></a></font></td></tr>
                    
60    
                    
64<td width="100%">Methods defined here:<br>
                    
65<dl><dt><a name="LatitudeLongitude-__init__"><strong>__init__</strong></a>(self, buttonOnePressedCanvasCoordinate, newCoordinate, skeinWindow, shift)</dt><dd><tt>Set&nbsp;the&nbsp;latitude&nbsp;and&nbsp;longitude.</tt></dd></dl>
                    
66
                    
                
tm6000.h https://github.com/genesi/linux-shortbus.git | C Header | 357 lines
                    
103	TM6000_MODE_ANALOG,
                    
104	TM6000_MODE_DIGITAL,
                    
105};
                    
282int tm6000_init_analog_mode(struct tm6000_core *dev);
                    
283int tm6000_init_digital_mode(struct tm6000_core *dev);
                    
284int tm6000_set_audio_bitrate(struct tm6000_core *dev, int bitrate);
                    
                
style.css https://gitlab.com/zoglesby/blog | CSS | 585 lines
                    
44.icon-linkedin-inv,
                    
45.icon-github,
                    
46.icon-github-1,
                    
46.icon-github-1,
                    
47.icon-github-inv,
                    
48.icon-bitbucket,
                    
92.icon-linkedin-inv:before {content: "\f0e1";}
                    
93.icon-github:before {content: "\f092";}
                    
94.icon-github-1:before {content: "\f09b";}
                    
94.icon-github-1:before {content: "\f09b";}
                    
95.icon-github-inv:before {content: "\f113";}
                    
96.icon-bitbucket:before {content: "\f171";}
                    
                
pt_BR.js https://gitlab.com/sawmainek/528Express-Server | JavaScript | 370 lines
                    
43        },
                    
44        digits: {
                    
45            'default': 'Por favor insira somente dígitos'
                    
278        stringCase: {
                    
279            'default': 'Por favor, digite apenas caracteres minúsculos',
                    
280            upper: 'Por favor, digite apenas caracteres maiúsculos'
                    
                
ts_conf.c https://gitlab.com/srbhgupta/open | C | 468 lines
                    
36#define ENV_VALUE_MICROSECS             "microsecs"
                    
37#define ENV_CLOCK_PRECISION_DIGITS      "clock_precision_digits"
                    
38#define ENV_VALUE_YES                   "yes"
                    
410
                    
411int TS_CONF_set_clock_precision_digits(CONF *conf, const char *section,
                    
412                                       TS_RESP_CTX *ctx)
                    
414    int ret = 0;
                    
415    long digits = 0;
                    
416
                    
422        digits = 0;
                    
423    if (digits < 0 || digits > TS_MAX_CLOCK_PRECISION_DIGITS) {
                    
424        ts_CONF_invalid(section, ENV_CLOCK_PRECISION_DIGITS);
                    
427
                    
428    if (!TS_RESP_CTX_set_clock_precision_digits(ctx, digits))
                    
429        goto err;
                    
                
members_spec.rb https://gitlab.com/mehlah/gitlab-ce | Ruby | 340 lines
                    
36
                    
37            expect(response).to have_gitlab_http_status(200)
                    
38            expect(json_response.size).to eq(2)
                    
48
                    
49        expect(response).to have_gitlab_http_status(200)
                    
50        expect(json_response.size).to eq(2)
                    
56
                    
57        expect(response).to have_gitlab_http_status(200)
                    
58        expect(json_response.count).to eq(1)
                    
76
                    
77              expect(response).to have_gitlab_http_status(200)
                    
78              # User attributes
                    
83              expect(json_response['avatar_url']).to eq(developer.avatar_url)
                    
84              expect(json_response['web_url']).to eq(Gitlab::Routing.url_helpers.user_url(developer))
                    
85
                    
                
merge_request_approval_rules_spec.rb https://gitlab.com/markglenfletcher/gitlab-ee | Ruby | 370 lines
                    
19      it 'responds with 403' do
                    
20        expect(response).to have_gitlab_http_status(403)
                    
21      end
                    
34        it 'responds with 403' do
                    
35          expect(response).to have_gitlab_http_status(403)
                    
36        end
                    
45      it 'responds with 403' do
                    
46        expect(response).to have_gitlab_http_status(403)
                    
47      end
                    
62      it 'responds with 403' do
                    
63        expect(response).to have_gitlab_http_status(403)
                    
64      end
                    
91      it 'matches the response schema' do
                    
92        expect(response).to have_gitlab_http_status(200)
                    
93        expect(response).to match_response_schema('public_api/v4/merge_request_approval_rules', dir: 'ee')
                    
                
enfants.tex https://bitbucket.org/sploinga/reformedroitauteur.git | LaTeX | 96 lines
                    
3Il n’y a pas de concept\footnote{\url{http://pokazywarka.pl/pm1pgl/} pour la version polonaise, et
                    
4\url{http://www.zeit.de/digital/internet/2012-02/wir-die-netz-kinder/komplettansicht} pour la version allemande, toutes les deux sous CC-BY-SA}
                    
5 plus rabâché dans les discours médiatiques que celui de génération. J’ai déjà essayé une fois de compter les « générations » autoproclamées dans les 10 dernières années depuis
                    
93
                    
94Il est possible qu’aucun nom adapté n’existe pour désigner ce que nous voulons, ou que nous ne soyons pas encore tout à fait conscient qu'il s'agit là d'une vraie et réelle démocratie. Une
                    
95démocratie qui n’a peut-être jamais
                    
                
Dumper.php https://github.com/DragonFire/wowcs.git | PHP | 457 lines
                    
3/**
                    
4 * Copyright (C) 2010-2011 Shadez <https://github.com/Shadez>
                    
5 *
                    
401    World of Warcraft Community Site Database
                    
402    https://github.com/Shadez/wowcs/
                    
403    Revision [%d]
                    
                
Pkcs9SigningTimeTest.cs https://github.com/iainlane/mono.git | C# | 230 lines
                    
112			DateTime dt = new DateTime (1949, 12, 31, 11, 59, 59);
                    
113			// UTCTIME (0x17), i.e. 2 digits years, limited to 1950-2050
                    
114			Pkcs9SigningTime st = new Pkcs9SigningTime (dt);
                    
120			DateTime dt = new DateTime (1950, 01, 01, 00, 00, 00);
                    
121			// UTCTIME (0x17), i.e. 2 digits years, limited to 1950-2050
                    
122			Pkcs9SigningTime st = new Pkcs9SigningTime (dt);
                    
135			DateTime dt = new DateTime (2049, 12, 31, 11, 59, 59);
                    
136			// up to 2050 encoding should stay with UTCTIME (0x17), i.e. 2 digits years
                    
137			Pkcs9SigningTime st = new Pkcs9SigningTime (dt);
                    
151			DateTime dt = new DateTime (2050, 01, 01, 00, 00, 00);
                    
152			// in 2050 encoding should switch to GENERALIZEDTIME (0x18), i.e. 4 digits years
                    
153			Pkcs9SigningTime st = new Pkcs9SigningTime (dt);
                    
                
file.php https://github.com/samphippen/srobo-ide.git | PHP | 481 lines
                    
40
                    
41		// check that the project exists and is a git repo otherwise construct
                    
42		// the project directory and git init it
                    
80        $path = $input->getInput("path");
                    
81        $success = $this->repository()->gitMKDir($path);
                    
82        $output->setOutput("success", $success ? 1 : 0);
                    
368
                    
369		//base dir might need changing with alistair's new git situation
                    
370		$base = $this->repository()->workingPath();
                    
399				// the requested file.
                    
400				$repo = GitRepository::GetOrCreate($working);
                    
401				$repo->reset();
                    
407				// TODO: do we also want to checkout the entire folder in this case?
                    
408				$repo = GitRepository::GetOrCreate($working);
                    
409				$repo->checkoutFile($path);
                    
                
const_cpp.h https://github.com/goofoo/Helium.git | C Header | 299 lines
                    
142@itemdef{__SMARTPHONE__, Generic mobile devices with phone buttons and a small display}
                    
143@itemdef{__PDA__, Personal digital assistant, usually with touch screen}
                    
144@itemdef{__HANDHELD__, Small but powerful computer, usually with a keyboard}
                    
158@itemdef{__DJGPP__, DJGPP}
                    
159@itemdef{__DIGITALMARS__, Digital Mars}
                    
160@itemdef{__EVC4__, Embedded Visual C++ 4 (can be only used for building wxWinCE)}
                    
                
ihex.c https://github.com/zeldin/xu1541.git | C | 530 lines
                    
36
                    
37/* convert two digits hex byte into binary, return NULL on error */
                    
38static char *ihex_parse_byte(char *line, int *crc, int *value) {
                    
50
                    
51/* convert four digits hex word into binary, return NULL on error */
                    
52static char *ihex_parse_word(char *line, int *crc, int *value) {
                    
                
each.html https://github.com/yiminghe/kissyteam.github.com.git | HTML | 283 lines
                    
53        <li><a href="https://groups.google.com/group/kissy-ui" >Google Group</a></li>
                    
54        <li><a href="http://www.github.com/kissyteam" >Source Code</a></li>
                    
55        <li><a href="http://docs.kissyui.com/1.3/api/" >English API Docs</a></li>
                    
257        <li><a href="../../component/rich-base/index.html">rich-base</a></li>
                    
258        <li><a href="https://github.com/jquery/sizzle/wiki/Sizzle-Home">sizzle</a></li>
                    
259        <li><a href="../../component/stylesheet/index.html">stylesheet</a></li>
                    
                
snmp_structs.h https://bitbucket.org/minux/freertos.git | C Header | 253 lines
                    
8/*
                    
9 * Copyright (c) 2006 Axon Digital Design B.V., The Netherlands.
                    
10 * All rights reserved.
                    
                
i386-protos.h https://bitbucket.org/cooljeanius/dragonflybsd.git | C Header | 309 lines
                    
65extern bool constant_address_p (rtx);
                    
66extern bool legitimate_pic_operand_p (rtx);
                    
67extern bool legitimate_pic_address_disp_p (rtx);
                    
67extern bool legitimate_pic_address_disp_p (rtx);
                    
68extern bool ix86_legitimize_reload_address (rtx, enum machine_mode,
                    
69					    int, int, int);
                    
                
abi_test.go https://gitlab.com/akomba/ether-bot-wallet | Go | 395 lines
                    
27
                    
28	"github.com/ethereum/go-ethereum/common"
                    
29	"github.com/ethereum/go-ethereum/crypto"
                    
                
README.md https://gitlab.com/jLKisni/furandpaw-frontend | Markdown | 150 lines
                    
1**english** | [русский](https://github.com/svg/svgo/blob/master/README.ru.md)
                    
2- - -
                    
3
                    
4<img src="https://svg.github.io/svgo-logo.svg" width="200" height="200" alt="logo"/>
                    
5
                    
20
                    
21* [ [ cleanupAttrs](https://github.com/svg/svgo/blob/master/plugins/cleanupAttrs.js) ] cleanup attributes from newlines, trailing and repeating spaces
                    
22* [ [ removeDoctype](https://github.com/svg/svgo/blob/master/plugins/removeDoctype.js) ] remove doctype declaration
                    
22* [ [ removeDoctype](https://github.com/svg/svgo/blob/master/plugins/removeDoctype.js) ] remove doctype declaration
                    
23* [ [ removeXMLProcInst](https://github.com/svg/svgo/blob/master/plugins/removeXMLProcInst.js) ] remove XML processing instructions
                    
24* [ [ removeComments](https://github.com/svg/svgo/blob/master/plugins/removeComments.js) ] remove comments
                    
24* [ [ removeComments](https://github.com/svg/svgo/blob/master/plugins/removeComments.js) ] remove comments
                    
25* [ [ removeMetadata](https://github.com/svg/svgo/blob/master/plugins/removeMetadata.js) ] remove `<metadata>`
                    
26* [ [ removeTitle](https://github.com/svg/svgo/blob/master/plugins/removeTitle.js) ] remove `<title>` (disabled by default)
                    
35* [ [ cleanUpEnableBackground](https://github.com/svg/svgo/blob/master/plugins/cleanupEnableBackground.js) ] remove or cleanup `enable-background` attribute when possible
                    
36* [ [ minifyStyles](https://github.com/svg/svgo/blob/master/plugins/minifyStyles.js) ] minify `<style>` elements content with [CSSO](https://github.com/css/csso)
                    
37* [ [ convertStyleToAttrs](https://github.com/svg/svgo/blob/master/plugins/convertStyleToAttrs.js) ] convert styles into attributes
                    
                
Language_vi.properties https://github.com/johnnyhowey/liferay-plugins.git | Properties File | 167 lines
                    
51do-you-have-any-suggestions=Do you have any suggestions? (Automatic Copy)
                    
52edit-on-github=Edit on GitHub (Automatic Copy)
                    
53enable-description=Enable Description (Automatic Copy)
                    
                
PBGitRevisionCell.m https://github.com/dshafik/gitx.git | Objective C | 327 lines
                    
1//
                    
2//  PBGitRevisionCell.m
                    
3//  GitX
                    
8
                    
9#import "PBGitRevisionCell.h"
                    
10#import "PBGitRef.h"
                    
11#import "RoundedRectangle.h"
                    
12#import "GitXTextFieldCell.h"
                    
13
                    
13
                    
14@implementation PBGitRevisionCell
                    
15
                    
19	self = [super initWithCoder:coder];
                    
20	textCell = [[GitXTextFieldCell alloc] initWithCoder:coder];
                    
21	return self;
                    
                
routing.rst https://github.com/d5nguyenvan/akka.git | ReStructuredText | 264 lines
                    
133
                    
134Also, instead of using the CyclicIterator, you can create your own message distribution algorithms, there’s already `one <@http://github.com/jboner/akka/blob/master/akka-core/src/main/scala/routing/Iterators.scala#L31>`_ that dispatches depending on target mailbox size, effectively dispatching to the one that’s got fewest messages to process right now.
                    
135
                    
155
                    
156* `SmallestMailboxSelector <https://github.com/jboner/akka/blob/master/akka-actor/src/main/scala/akka/routing/Pool.scala#L133>`_ - Using the exact same logic as the iterator of the same name, the pooled actor with the fewest number of pending messages will be chosen.
                    
157* `RoundRobinSelector <https://github.com/jboner/akka/blob/master/akka-actor/src/main/scala/akka/routing/Pool.scala#L158>`_ - Performs a very simple index-based selection, wrapping around the end of the list, very much like the CyclicIterator does.
                    
168
                    
169* `FixedCapacityStrategy <https://github.com/jboner/akka/blob/master/akka-actor/src/main/scala/akka/routing/Pool.scala#L268>`_ - When you mix this into your actor pool, you define a pool size and when the pool is started, it will have that number of actors within to which messages will be delegated.
                    
170* `BoundedCapacityStrategy <https://github.com/jboner/akka/blob/master/akka-actor/src/main/scala/akka/routing/Pool.scala#L269>`_ - When you mix this into your actor pool, you define upper and lower bounds, and when the pool is started, it will have the minimum number of actors in place to handle messages. You must also mix-in a Capacitor and a Filter when using this strategy (see below).
                    
210
                    
211Here we see how the filter function will have the chance to modify the pressure reading to influence the capacity change. You are free to implement filter() however you like. We provide a `Filter <https://github.com/jboner/akka/blob/master/akka-actor/src/main/scala/akka/routing/Pool.scala#L279>`_ trait that evaluates both a rampup and a backoff subfilter to determine how to use the pressure reading to alter the pool capacity. There are several subfilters available to use, though again you may create whatever makes the most sense for you pool:
                    
212
                    
212
                    
213* `BasicRampup <https://github.com/jboner/akka/blob/master/akka-actor/src/main/scala/akka/routing/Pool.scala#L308>`_ - When pressure exceeds current capacity, increase the number of actors in the pool by some factor (*rampupRate*) of the current pool size.
                    
214* `BasicBackoff <https://github.com/jboner/akka/blob/master/akka-actor/src/main/scala/akka/routing/Pool.scala#L322>`_ - When the pressure ratio falls under some predefined amount (*backoffThreshold*), decrease the number of actors in the pool by some factor of the current pool size.
                    
                
utils.py https://gitlab.com/pooja043/Globus_Docker | Python | 286 lines
                    
192    # to download info about all the data to get info about any of the data...
                    
193    index_url = ("https://raw.github.com/vincentarelbundock/Rdatasets/master/"
                    
194                 "datasets.csv")
                    
240    """
                    
241    #NOTE: use raw github bc html site might not be most up to date
                    
242    data_base_url = ("https://raw.github.com/vincentarelbundock/Rdatasets/"
                    
243                     "master/csv/"+package+"/")
                    
244    docs_base_url = ("https://raw.github.com/vincentarelbundock/Rdatasets/"
                    
245                     "master/doc/"+package+"/rst/")
                    
                
api.go https://gitlab.com/emerald-platform/emerald | Go | 331 lines
                    
7
                    
8"github.com/ethereum/go-ethereum/common/hexutil"
                    
9"github.com/ethereum/go-ethereum/crypto"
                    
9"github.com/ethereum/go-ethereum/crypto"
                    
10"github.com/ethereum/go-ethereum/p2p"
                    
11"github.com/ethereum/go-ethereum/p2p/discover"
                    
11"github.com/ethereum/go-ethereum/p2p/discover"
                    
12"github.com/ethereum/go-ethereum/rpc"
                    
13"github.com/rcrowley/go-metrics"
                    
                
main.cpp https://github.com/Smoothieware/Smoothieware.git | C++ | 275 lines
                    
1/*
                    
2      This file is part of Smoothie (http://smoothieware.org/). The motion control part is heavily based on Grbl (https://github.com/simen/grbl).
                    
3      Smoothie is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
                    
                
test_missing.py https://bitbucket.org/mdavid/dlr.git | Python | 248 lines
                    
25    'System.Void',
                    
26    'System.ArgIterator',
                    
27    'System.RuntimeArgumentHandle',
                    
                
tquadgsq2d.f https://bitbucket.org/carter/libqd-reference.git | FORTRAN Legacy | 416 lines
                    
23!   ndebug Debug level setting.  Default = 2.
                    
24!   ndigits1  Primary working precision.  With QD precision, set to 64.
                    
25!   nepsilson1  Log10 of the desired tolerance.  Normally set to - ndigits1.
                    
26!   nquadl  Max number of phases in quadrature routine; adding 1 increases
                    
27!           (possibly doubles) the number of accurate digits in the result,
                    
28!           but also roughly *quadruples* the run time.
                    
34implicit none
                    
35integer ndebug, nquadl, ndigits1, nepsilon1, nwords1, nq1, nq2, nqmx
                    
36parameter (ndebug = 2, nquadl = 6, ndigits1 = 64, nepsilon1 = -64, &
                    
56
                    
57write (6, 1) ndigits1, nepsilon1, nquadl
                    
581 format ('Quadgsq2d test'/'Digits =',i6,'  Epsilon =',i6,'   Quadlevel =',i6)
                    
                
t3030-merge-recursive.sh https://bitbucket.org/jrencz/git-kata-registration.git | Shell | 596 lines
                    
41	c1=$(git rev-parse --verify HEAD) &&
                    
42	( git ls-tree -r HEAD ; git ls-files -s ) >actual &&
                    
43	(
                    
212	git checkout df-3 &&
                    
213	( git ls-tree -r HEAD ; git ls-files -s ) >actual &&
                    
214	(
                    
231	c6=$(git rev-parse --verify HEAD) &&
                    
232	( git ls-tree -r HEAD ; git ls-files -s ) >actual &&
                    
233	(
                    
557	git merge rename &&
                    
558	( git ls-tree -r HEAD && git ls-files -s ) >actual &&
                    
559	(
                    
577		git merge rename-ln &&
                    
578		( git ls-tree -r HEAD ; git ls-files -s ) >actual &&
                    
579		(
                    
                
a10o.htm https://bitbucket.org/nunu0129/nlp-final-project.git | HTML | 94 lines
                    
40<br />
                    
41<br />Lyres appearing to have emerged independently of Greco-Roman prototypes were used by the Teutonic, Gallic, Scandinavian, and Celtic peoples over a thousand years ago. Dates of origin, which probably vary from region to region, cannot be determined, but the oldest known fragments of such instruments are thought to date from around the sixth century of the Common Era. After the bow made its way into Europe from the Middle-East, around two centuries later, it was applied to several species of those lyres that were small enough to make bowing practical. There came to be two broad classes of bowed European yoke lyres: those with fingerboards dividing the open space within the yoke longitudinally, and those without fingerboards. The last surviving examples of instruments within the latter class were the Scandinavian talharpa and jouhikko. Different tones could be obtained from a single bowed string by pressing the fingernails of the player&apos;s left hand against various points along the string to fret the string.
                    
42<br />
                    
                
CMakeLists.txt https://bitbucket.org/itom/itom.git | CMake | 292 lines
                    
39# passing some switches to your project you can use in sourcecode.
                    
40# If your sources are within a Git repository, it will also parse
                    
41# the current commit hash and store it to gitVersion.h.
                    
148    ${CMAKE_CURRENT_SOURCE_DIR}/pluginVersion.h
                    
149    ${CMAKE_CURRENT_BINARY_DIR}/gitVersion.h #provided by the init script, contains currently checked out git tag
                    
150    #add further header files (absolute pathes e.g. using CMAKE_CURRENT_SOURCE_DIR)
                    
228# projects. Then ts files will be generated in the translation source
                    
229# directory for each language (check it into the Git repository)
                    
230# or existing ts files will be updated. Then use the QtLinguist
                    
                
RequestFinishedInfo.java https://github.com/chromium/chromium.git | Java | 320 lines
                    
91     * href="https://cs.chromium.org/chromium/src/net/base/load_timing_info.h">LoadTimingInfo</a>,
                    
92     * which holds the information for <a href="http://w3c.github.io/navigation-timing/"></a> and
                    
93     * <a href="https://www.w3.org/TR/resource-timing/"></a>.
                    
                
refresh_service_spec.rb https://gitlab.com/dcondrey/gitlab-ee | Ruby | 312 lines
                    
101        # Merge master -> feature branch
                    
102        author = { email: 'test@gitlab.com', time: Time.now, name: "Me" }
                    
103        commit_options = { message: 'Test message', committer: author, author: author }
                    
236        expect(refresh_service).to receive(:execute_hooks).
                    
237                                       with(@fork_merge_request, 'update', Gitlab::Git::BLANK_SHA)
                    
238        allow_any_instance_of(Repository).to receive(:merge_base).and_return(@oldrev)
                    
239
                    
240        refresh_service.execute(Gitlab::Git::BLANK_SHA, @newrev, 'refs/heads/master')
                    
241        reload_mrs
                    
                
a-zchuni.ads https://bitbucket.org/codefirex/toolchain_gcc-4.9.git | Ada | 196 lines
                    
56   --  Mn   Mark, Nonspacing
                    
57   --  Nd   Number, Decimal Digit
                    
58   --  Nl   Number, Letter
                    
101
                    
102   function Is_Digit (U : Wide_Wide_Character) return Boolean;
                    
103   function Is_Digit (C : Category)            return Boolean;
                    
103   function Is_Digit (C : Category)            return Boolean;
                    
104   pragma Inline (Is_Digit);
                    
105   --  Returns true iff U is a digit that can be used to extend an identifer,
                    
106   --  or if C is one of the corresponding categories, which are the following:
                    
107   --    Number, Decimal_Digit (Nd)
                    
108
                    
                
request.js https://github.com/dshaw/node.git | JavaScript | 305 lines
                    
104  // Tuned to spread 3 attempts over about a minute.
                    
105  // See formula at <https://github.com/tim-kos/node-retry>.
                    
106  var operation = retry.operation({
                    
                
 

Source

Language