Search:

Type: Posts; User: matott

Search: Search took 0.00 seconds.

  1. Replies
    30
    Views
    3,115

    The programme reports to the user that it's not...

    The programme reports to the user that it's not an the list.


    It would be something like NULL in this case, but avoiding this solutions seems to be quite difficult.
  2. Replies
    30
    Views
    3,115

    It generates a list from directory entries,...

    It generates a list from directory entries, searches for the name in this list and returns the name and a version string which is generated from the filename.

    name#version
  3. Replies
    30
    Views
    3,115

    Oh yes, its wrong. Else it would be some kind of...

    Oh yes, its wrong. Else it would be some kind of dangling reference.

    I thought about the empty string solution, but can you imagine another solution - maybe by changing the function prototype?
    ...
  4. Replies
    30
    Views
    3,115

    string reference

    Hi,
    I have the following function:


    string &find (string &name);


    It returns a concatenated string of name and another string. But if the specified name doesn't exist, the function has to...
  5. Thread: type sizes

    by matott
    Replies
    9
    Views
    1,079

    I know, but you can't do sizeof (string), to...

    I know, but you can't do sizeof (string), to determinate its length.
  6. Thread: type sizes

    by matott
    Replies
    9
    Views
    1,079

    type sizes

    Hi,
    currently I'm thinking of howto get the size of variable or class (data size) of any type. How can I do this?
  7. Replies
    2
    Views
    966

    return void * size_t

    Hi,
    I'm currently thinking about the return of void pointers and their sizes. Let me give an example:


    struct returnvalue
    {
    void *data;
    size_t size;
    }
  8. Replies
    2
    Views
    2,583

    #include #include ...

    #include <stddef.h>
    #include <stdint.h>

    uint32_t hash_algorithm_fvn (void *data, size_t size)
    {
    register char *a;
    register uint32_t hash;

    a = (char *) data;
  9. Replies
    2
    Views
    2,583

    Hash Table algorithm

    Hi,
    I'm currently implementing a hash table algorithm. For hashing I used the FVN algorithm (http://www.isthe.com/chongo/tech/comp/fnv/. But now I'm asking myself to store/order them effective. I...
  10. Replies
    3
    Views
    2,875

    I know the source of 2.0 and 3.0 they're both...

    I know the source of 2.0 and 3.0 they're both very complex and hard to read.
  11. Replies
    3
    Views
    2,875

    xdelta algorithm/binary diff

    Hi,
    I'm currently doing a research on the xdelta algorithm. But it's hard to find good documentation and implementations.
    Do you some good documents/sites?

    By the way: Is there maybe a better...
  12. Replies
    1
    Views
    4,611

    The Pthread Hell

    Hi!
    If have this code:

    #include <stdlib.h>
    #include <stdio.h>
    #include <string.h>
    #include <unistd.h>
    //#include <
    #include <sys/types.h>
    #include <sys/socket.h>
  13. Thread: CPIO Format

    by matott
    Replies
    1
    Views
    1,519

    CPIO Format

    Hi!
    I'm looking for a paper describing the cpio algorithm/format. The GNU sources are that complex that would have to spend some hours in reading -- but I don't have this time.

    Thanks
    matott
Results 1 to 13 of 14