02-29-2016
Quote:
Originally Posted by
yifangt
Hi Shamrock!
I was looking for a function which can be integrated into my code. Thanks for your input, though!
Hi yifangt,
You are aware that you can access shell scripts from C code using the
system() function, aren't you?
This User Gave Thanks to Don Cragun For This Post:
6 More Discussions You Might Find Interesting
1. Programming
Hello,
If i have 2 strings str1 and str2, i would like to copy/concatenate str2 to str1, from 1st bit leaving the 0th bit.
How do i do it? (2 Replies)
Discussion started by: jazz
2 Replies
2. Shell Programming and Scripting
Hi,
I have the following file input:-
542 4795 61
543 4795 61
544 0 0
545 292 ... (5 Replies)
Discussion started by: ahjiefreak
5 Replies
3. Programming
void shuffle (card_t cards, card_t cards2, char *bitvec)
{
int i;
unsigned char temp, r;
srand(time(NULL));
for (i = 0; i < 52; i++)
{
r = rand() % 52;
temp = bitvec;
if (!(temp & (1 << (8- (r % 8)))))
{
temp |= (1 << (8- (r % 8)));------->is this my problem?
}
}
}
ok so I am... (1 Reply)
Discussion started by: bjhum33
1 Replies
4. Shell Programming and Scripting
Hi,
Here is the issue. From the program snippet I have Base: 0x1800000000, Size: 0x3FFE7FFFFFFFF which are of 40 and 56 bits. SO I used use bignum to do the math but summing them up I always failed having correct result.
perl interpreter info,
perl, v5.8.8 built for... (0 Replies)
Discussion started by: rrd1986
0 Replies
5. Programming
I have an assignment in which a character is the input of which some bits(from a position to certain position) are to be inverted (1's complement) and then the resultant character is to be returned....for example
unsigned char x = J from p = 3 to offset n = 5
01001010 inverted to... (1 Reply)
Discussion started by: ezee
1 Replies
6. Windows & DOS: Issues & Discussions
Hello everyone.
I bought a dell laptop (XPS M1330) online which came without a hard drive. There is a Windows Vista Ultimate OEMAct sticker with product key at the bottom case. I checked dell website (here) for this model and it says this model supports both 32 and 64-bit version of Windows... (4 Replies)
Discussion started by: milhan
4 Replies
LEARN ABOUT DEBIAN
bup-bloom
bup-bloom(1) General Commands Manual bup-bloom(1)
NAME
bup-bloom - generates, regenerates, updates bloom filters
SYNOPSIS
bup bloom [-d dir] [-o outfile] [-k hashes] [-c idxfile] [-f] [--ruin]
DESCRIPTION
bup bloom builds a bloom filter file for a bup repository. If one already exists, it checks the filter and updates or regenerates it as
needed.
OPTIONS
--ruin destroy bloom filters by setting the whole bitmask to zeros. you really want to know what you are doing if run this and you want to
delete the resulting bloom when you are done with it.
-f, --force
don't update the existing bloom file; generate a new one from scratch.
-d, --dir=directory
the directory, containing .idx files, to process. Defaults to $BUP_DIR/objects/pack
-o, --outfile=outfile
the file to write the bloom filter to. defaults to $dir/bup.bloom
-k, --hashes=hashes
number of hash functions to use only 4 and 5 are valid. defaults to 5 for repositories < 2 TiB, or 4 otherwise. See comments in
git.py for more on this value.
-c, --check=idxfile
checks the bloom file (counterintuitively outfile) against the specified the .idx. Does not write anything and ignores the -k
option.
BUP
Part of the bup(1) suite.
AUTHORS
Brandon Low <lostlogic@lostlogicx.com>.
Bup unknown- bup-bloom(1)