Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2001, Roxen IS.   //   // The Roxen WebServer main program.   //   // Per Hedbor, Henrik Grubbström, Pontus Hagland, David Hedbor and others.   // ABS and suicide systems contributed freely by Francesco Chemolli    - constant cvs_version="$Id: roxen.pike,v 1.870 2004/05/03 16:32:27 grubba Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.871 2004/05/04 10:59:03 grubba Exp $";      //! @appears roxen   //!   //! The Roxen WebServer main program.      // The argument cache. Used by the image cache.   ArgCache argcache;      // Some headerfiles   #define IN_ROXEN
Roxen.git/server/base_server/roxen.pike:2171:    "/", "-" ) ) == name) )    return o;    }    return 0;   }      static int last_hrtime = gethrtime(1)/100;   static int clock_sequence = random(0x4000);   static string hex_mac_address =    Crypto.string_to_hex(Crypto.randomness.reasonably_random()->read(6)| -  "\0\0\0\0\0\1"); // Multicast bit. +  "\1\0\0\0\0\0"); // Multicast bit.   // Generate an uuid string.   string new_uuid_string()   {    int now = gethrtime(1)/100;    if (now != last_hrtime) {    clock_sequence = random(0x4000);    last_hrtime = now;    }    int seq = clock_sequence++;    // FIXME: Check if clock_sequence has wrapped during this @[now].