Skip to content
Snippets Groups Projects
Select Git revision
  • 09f1d625201e4db476e0ac7c715a889184384cdd
  • master default
  • pristine-tar
  • release-4.4
  • release-4.5
  • release-4.3
  • release-4.2
  • release-4.1
  • release-4.0
  • release-3.7
  • release-3.6
  • release-3.5
  • release-3.4
  • release-3.3
  • release-3.2
  • release-3.1
  • release-3.0
  • release-2.23
  • release-2.22
  • release-2.21
  • release-2.20
  • bugzilla-4.4.8
  • bugzilla-4.4.7
  • bugzilla-4.4.6
  • bugzilla-4.5.4
  • bugzilla-4.5.3
  • bugzilla-4.5.2
  • bugzilla-4.5.1
  • bugzilla-4.4.4
  • bugzilla-4.4.3
  • bugzilla-4.4.2
  • bugzilla-4.4.1
  • bugzilla-4.4
  • bugzilla-4.3.3
  • bugzilla-4.3.2
  • bugzilla-4.3.1
  • bugzilla-4.2.9
  • bugzilla-4.2.8
  • bugzilla-4.2.7
  • bugzilla-4.2.6
  • bugzilla-4.2.5
41 results

index.html

Blame
  • builtin_functions.c 193.05 KiB
    /*\
    ||| This file a part of Pike, and is copyright by Fredrik Hubinette
    ||| Pike is distributed as GPL (General Public License)
    ||| See the files COPYING and DISCLAIMER for more information.
    \*/
    /**/
    #include "global.h"
    RCSID("$Id: builtin_functions.c,v 1.387 2001/06/29 10:47:37 grubba Exp $");
    #include "interpret.h"
    #include "svalue.h"
    #include "pike_macros.h"
    #include "object.h"
    #include "program.h"
    #include "array.h"
    #include "pike_error.h"
    #include "constants.h"
    #include "mapping.h"
    #include "stralloc.h"
    #include "multiset.h"
    #include "pike_types.h"
    #include "rusage.h"
    #include "operators.h"
    #include "fsort.h"
    #include "callback.h"
    #include "gc.h"
    #include "backend.h"
    #include "main.h"
    #include "pike_memory.h"
    #include "threads.h"
    #include "time_stuff.h"
    #include "version.h"
    #include "encode.h"
    #include <math.h>
    #include <ctype.h>
    #include "module_support.h"
    #include "module.h"
    #include "opcodes.h"
    #include "cyclic.h"
    #include "signal_handler.h"
    #include "security.h"
    #include "builtin_functions.h"
    #include "bignum.h"
    
    #ifdef HAVE_POLL
    #ifdef HAVE_POLL_H
    #include <poll.h>
    #endif /* HAVE_POLL_H */
    
    #ifdef HAVE_SYS_POLL_H
    #include <sys/poll.h>
    #endif /* HAVE_SYS_POLL_H */
    #endif /* HAVE_POLL */
    
    #ifdef HAVE_CRYPT_H
    #include <crypt.h>
    #endif
    
    /* #define DIFF_DEBUG */
    /* #define ENABLE_DYN_DIFF */
    
    /*! @decl int equal(mixed a, mixed b)
     *!
     *!   This function checks if the values @[a] and @[b] are equal.
     *!
     *!   For all types but arrays, multisets and mappings, this operation is
     *!   the same as doing @code{@[a] == @[b]@}.
     *!   For arrays, mappings and multisets however, their contents are checked
     *!   recursively, and if all their contents are the same and in the same
     *!   place, they are considered equal.
     *!