Loading

Paste #pwtwowa1p

  1. static inline int find(const char *pat_data, int pat_size, const char *data, int data_size)
  2. {
  3.     int i;
  4.     for (i = 0; i + pat_size <= data_size; ++i) {
  5. #if 0

Paste #pqmoli0zw

  1.    switch (FEAT_TRAINS, SELF, ${vehicle.id}_switch_cargo_capacity_by_cargo_${param_value}, cargo_classes) {
  2.         bitmask(CC_PASSENGERS): return ${vehicle.capacities_pax[param_value]};
  3.         bitmask(CC_MAIL): return ${vehicle.capacities_mail[param_value]};
  4.         return 100; <!--!${vehicle.capacities_freight[param_value]};-->
  5.     }

Paste #ptnrjye5a

  1. #!/bin/bash
  2.  
  3. if [ -z "$1" ]; then
  4.         echo "Usage: `basename $0` filename"
  5.         exit 1

Paste #piw6zjqer

  1. Two crashes have been found and fixed in 1.4.3-RC1, one related to the same issue which caused the desync in 1.4.2. Thus we continue with another release candidate. Please give it a decent play-test, especially also in multiplayer games. If you find any issues or bugs, please tell us and make use of our bug tracker.
  2.  
  3. You find the download and changelog in the usual locations
  4.  
  5. Enjoy,
  6. Your OpenTTD team

Paste #pce1i0fem

  1. --- a/plugin.py Sun Oct 05 09:12:06 2014 +0100
  2. +++ b/plugin.py Fri Oct 10 16:31:26 2014 +0100
  3. @@ -698,7 +698,7 @@
  4.                  message.startswith('ERROR: Game Load Failed') or
  5.                  message.startswith('Content server connection') or

Paste #p4gruwcin

  1. Index: src/tunnelbridge_cmd.cpp
  2. ===================================================================
  3. --- src/tunnelbridge_cmd.cpp    (revision 27233)
  4. +++ src/tunnelbridge_cmd.cpp    (working copy)
  5. @@ -435,7 +435,8 @@

Paste #pet5l9vdq

  1. --------------------------------------------------------------------------------
  2. Profile data file 'callgrind.out.16465' (creator: callgrind-3.9.0)
  3. --------------------------------------------------------------------------------
  4. I1 cache:
  5. D1 cache:

Paste #pzjtzla8o

  1. input nml:
  2.  
  3. spriteset(stationset1, "src/gfx/cc_grid.png") { tmpl_groundsprites(1, 1) }
  4.  
  5. spritegroup spritegroup1 {

Paste #ps6aj7xff

  1. CmdIndustryGSEvent:
  2. p1 = industry id
  3. p2 = custom data vor var 10 resp. 18
  4.  
  5. CmdIndustryAreaGSEvent:

Paste #ponrkjuvy

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <application>
  3.  <id type="desktop">pitivi.desktop</id>
  4.  <licence>CC-BY</licence>
  5.  <description>

Paste #ptji6mpbg

  1. #/usr/bin/env python3
  2. import pandas as pd
  3. import datetime as dt

Paste #pljn58nl0

  1. Index: src/heightmap.cpp
  2. ===================================================================
  3. --- src/heightmap.cpp   (revision 26981)
  4. +++ src/heightmap.cpp   (working copy)
  5. @@ -364,16 +364,16 @@

Paste #plaovddlh

  1. planetmaker@openttd$ cat update-others.sh
  2. #!/bin/sh
  3.  
  4. # Update both git and mercurial, by checking where the commit was, and updating those repos

Paste #pxmoxerzq

  1. ~/ottd/grfdev/firs$ hg log | grep 'Nutzer' | awk '{print $2}' | sort | uniq
  2. Alberth
  3. Ammler
  4. andythenorth
  5. Brumi

Paste #pfbsx79gc

  1. switch(string_part2a, [STORE_TEMP, string(increasing), textstack3), STORE_TEMP(string(surplus), textstack4)] {
  2.   return string(long_version)
  3. }
  4.  
  5. switch(string_part2a, [STORE_TEMP, string(decreasing), textstack3), STORE_TEMP(string(shortage), textstack4)] {