pike.git / src / stralloc.c

version» Context lines:

pike.git/src/stralloc.c:18:      #include <errno.h>   #include <float.h>   #include <ctype.h>   #include <math.h>      #ifndef HUGE   #define HUGE HUGE_VAL   #endif /*!HUGE*/    - RCSID("$Id: stralloc.c,v 1.76 1999/11/05 01:31:44 hubbe Exp $"); + RCSID("$Id: stralloc.c,v 1.77 1999/11/24 13:53:44 noring Exp $");      #define BEGIN_HASH_SIZE 997   #define MAX_AVG_LINK_LENGTH 3      /* Experimental dynamic hash length */   #ifndef HASH_PREFIX   static unsigned int HASH_PREFIX=64;   static unsigned int need_more_hash_prefix=0;   #endif   
pike.git/src/stralloc.c:2023:    s = nptr;       /* Eat whitespace. */    while (EXTRACT_PCHARP(s) <256 && ISSPACE(EXTRACT_PCHARP(s))) INC_PCHARP(s,1);       /* Get the sign. */    sign = EXTRACT_PCHARP(s) == '-' ? -1 : 1;    if (EXTRACT_PCHARP(s) == '-' || EXTRACT_PCHARP(s) == '+')    INC_PCHARP(s,1);    -  /* Get the sign. */ -  sign = EXTRACT_PCHARP(s) == '-' ? -1 : 1; -  if (EXTRACT_PCHARP(s) == '-' || EXTRACT_PCHARP(s) == '+') -  INC_PCHARP(s,1); -  +     num = 0.0;    got_dot = 0;    got_digit = 0;    exponent = 0;    for (;; INC_PCHARP(s,1))    {    if (EXTRACT_PCHARP(s)<256 && isdigit (EXTRACT_PCHARP(s)))    {    got_digit = 1;