Skip to content
Snippets Groups Projects
Select Git revision
  • 4fd8a3a80d280243d596cf08c28cd2b65e593625
  • master default protected
  • 9.0
  • 8.0
  • 7.8
  • 7.6
  • 7.4
  • 7.2
  • 7.0
  • 0.6
  • rosuav/latex-markdown-renderer
  • rxnpatch/rxnpatch
  • marcus/gobject-introspection
  • rxnpatch/8.0
  • rosuav/pre-listening-ports
  • nt-tools
  • rosuav/async-annotations
  • rosuav/pgsql-ssl
  • rxnpatch/rxnpatch-broken/2023-10-06T094250
  • grubba/fdlib
  • grubba/wip/sakura/8.0
  • v8.0.2000
  • v8.0.1998
  • v8.0.1996
  • v8.0.1994
  • v8.0.1992
  • v8.0.1990
  • v8.0.1988
  • v8.0.1986
  • rxnpatch/clusters/8.0/2025-04-29T124414
  • rxnpatch/2025-04-29T124414
  • v8.0.1984
  • v8.0.1982
  • v8.0.1980
  • v8.0.1978
  • v8.0.1976
  • v8.0.1974
  • v8.0.1972
  • v8.0.1970
  • v8.0.1968
  • v8.0.1966
41 results

array.pre.pike

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.
     *!