Skip to content

Instantly share code, notes, and snippets.

#include <stdio.h>
typedef struct Tree {
int value;
struct Tree* left;
struct Tree* right;
} Tree;
#include <stdio.h>
int main() {
int i=1;
int j=1;
printf("i : %d j : %d\n", i, j);
printf("i post : %d j pre: %d\n", i++, ++j);
printf("i : %d j : %d\n", i, j);
*pdquot_freed_blocks = 0;
sbi = EXT3_SB(sb);
es = sbi->s_es;
if (block < le32_to_cpu(es->s_first_data_block) ||
block + count < block ||
block + count > le32_to_cpu(es->s_blocks_count)) {
ext3_error (sb, "ext3_free_blocks",
"Freeing blocks not in datazone - "
"block = "E3FSBLK", count = %lu", block, count);
goto error_return;
@mrud
mrud / c
Created March 4, 2014 14:43
*pdquot_freed_blocks = 0;
sbi = EXT3_SB(sb);
es = sbi->s_es;
if (block < le32_to_cpu(es->s_first_data_block) ||
block + count < block ||
block + count > le32_to_cpu(es->s_blocks_count)) {
ext3_error (sb, "ext3_free_blocks",
"Freeing blocks not in datazone - "
"block = "E3FSBLK", count = %lu", block, count);
goto error_return;
#!/usr/bin/Rscript
# Author: (c) Ulrich Dangel <uli@debian.org>
# License: BSD
library(getopt)
spec = matrix(c(
'help', 'h', 0, "logical", "Usage information",
'csv', 'i', 1, "character", "Input csv file",
'output', 'o', 1, "character", "output file (png)"