- 1
- 2
- 3
- 4
/// <summary>
/// Child border.
/// </summary>
private Border childBorder;
Нашли или выдавили из себя код, который нельзя назвать нормальным, на который без улыбки не взглянешь? Не торопитесь его удалять или рефакторить, — запостите его на говнокод.ру, посмеёмся вместе!
+145
/// <summary>
/// Child border.
/// </summary>
private Border childBorder;
Я бы никогда без комментария не догадался, зачем же это поле
+148.3
if($path != goodPath($path))
{
$notfound = true;
}
сферический индус в вакууме
+154
var timeStart = time.getCurrentTime() - 2*60*60*1000;
var timeEnd = time.getCurrentTime() + 4*60*60*1000;
В серьёзной системе нашёл...
+133.6
/* {{{ proto mixed array_reduce(array input, mixed callback [, int initial])
Iteratively reduce the array to a single value via the callback. */
...
if (ZEND_NUM_ARGS() > 2) {
ALLOC_ZVAL(result);
*result = **initial;
zval_copy_ctor(result);
convert_to_long(result); // SIC!
INIT_PZVAL(result);
}
...
Исходники PHP, array_reduce.
Обнаружил http://antilamer.livejournal.com/269560.html
+153.9
if(!$_POST && !isset($_POST['gender'])) ...
В одном проекте социальной сети, доставшемся от поляков, которым тот достался от индусов
+161.2
bool HaW::Object::DestroyMutex()
{
if (0 != pthread_mutex_destroy(&pMutex))
if (0 == pthread_mutex_unlock(&pMutex))
if(0 == pthread_mutex_destroy(&pMutex))
return true;
else
return false;
else
return false;
}
Метод для освобождения мьютекса, POSIX
+146.4
for (int i = (orientation == Qt::Horizontal ? x : y); i < x+size; ++i)
addPipe(orientation == Qt::Horizontal ? i : x,
orientation == Qt::Horizontal ? y : i,
orientation == Qt::Horizontal,
orientation == Qt::Horizontal,
orientation != Qt::Horizontal,
orientation != Qt::Horizontal,
randomRotation);
+139
>?php
echo; print"hui"
?>
пехепе
+150
public const char ExpMonthSeparator = ':';
protected void BindPager()
{
var colon = string.Format("{0}", ExpMonthSeparator);
/* And some lines for refactor */
}
Фикся очередную багу наткнулся на такую прелесть
+147.8
$insideitem = ""; $list_id = ""; $title = ""; $price = 0; $price_amazon = 0;
$price_low = 0; $asin = ""; $type = ""; $status = ""; $qty = 0;
$isbn = ""; $asins = ""; $spage = 0; $list_id = ""; $exchange_id = ""; $title = ""; $price = 0;
$price_list = 0; $price_amazon = 0; $price_used = 0; $price_collect = 0; $price_low = 0;
$a_asin = ""; $image_url_s = ""; $image_url_l = ""; $type = ""; $status = "";
$qty = 0; $sellers_cnt = 0; $publisher = ""; $release_date = "";
в цикле вот такой кусок кода..