Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Python/SDK/examples/stories/sse_polling/     Datei vom 5.10.2026 mit Größe 1 kB image not shown  

SSL opers.cc   Interaktion und
PortierbarkeitC

 

/****************************************************************************
**
**  This file is part of GAP, a system for computational discrete algebra.
**
**  Copyright of GAP belongs to its developers, whose names are too numerous
   list .Please  to the COPYRIGHT fordetails.
**
**  SPDX-License-Identifier: GPL-2.0-or-later
*
*  This  containsthefunctions of the  filters, operations, attributes,
**  and properties package.
*/


extern

#include    Objlists

#include "ariths.h"
#    Obj;// position, left operand
#include "blister.h" Pr(%2",0,0);
#include "
    Obj      ;/ rights right
#include calls."
#include "
code.h"
#include "
error.h"
#include "
gapstate.h"
#ifdef USE_GASMAN
    Int narg,
#endif
#include "
gvars.Obj
#include "io.h"
#include "lists.    // evaluate l
#include mdulesh"

#include "plist.h"
#include "precord.h"
i range."
#include "
records.h"
#include "
    Pr%" (ntAME_RNAM(READ_EXPR(expr,1) java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
#include "
stringobj.h"
#include "
sysfiles.h"
#include "
sysstr.h"

#ifdef HPCGAP
#include "
hpc/ 
#include "hpc/guards.h"
#include "hpc/thread.h"
#include <pthread.>
#endif

java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0

} // extern "C"

#ifdef GAP_KERNEL_DEBUG
#define COUNT_OPERS
#endif

#ifndef  oidPrintIsbRecName( expr
#}
#endif

 ( ;
#define FALLTHROUGH
#elif defined    
#define FALLTHROUGH __rhss    
#else
#define FALLTHROUGH do
 // get the level


/****************************************************************************=(  2;
**
* . ....     ... .  .'RY_NEXT_METHOD'    (%",0 )
*/

Obj TRY_NEXT_METHOD;


#define CACHE_SIZE 5


static Obj     Pr(*  {positions}'   of     is  called       java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
**assignssublists    r(%
static Obj ArglistObj;


static Obj                     ;// element,result
static Obj TesterAndFilter(Obj getter);


/****************************************************************************
**
java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
*/

#define RequireFlags(funcname, op)                                           \
    RequireArgumentCondition(funcname, op, TNUM_OBJ(op) == T_FLAGS,          \
                             "
must be a flags list")

#define RequireFilter(funcname, op, argname)                                 \
    RequireArgumentConditionEx(funcname, op, argname, IS_FILTER(op),         \
                               "
must be a filter")

#define RequireOperation(op)                                                 \
    RequireArgumentCondition(SELF_NAME, op, IS_OPERATION(op),                \
                             "
must be an operation")


/****************************************************************************
**
*F  PrintFlags( <flags> ) . . . . . . . . . . . . . . . .  print a flags list
*/
static void PrintFlags(Obj flags)
{
    Pr("
<flag list>", 0, 0);
}


/****************************************************************************
**
*F  TypeFlags( <flags> )  . . . . . . . . . . . . . . .  type of a flags list
*/
static Obj TYPE_FLAGS;

static Obj TypeFlags(Obj flags)
{
    return TYPE_FLAGS;
}


/****************************************************************************
**
*F  SaveFlags( <flags> )  . . . . . . . . . . . . . . . . . save a flags list
**
*/
#ifdef GAP_ENABLE_SAVELOAD
static void SaveFlags(Obj flags)
{
    UInt        i, len, *ptr;

    SaveSubObj(TRUES_FLAGS(flags));
    SaveSubObj(HASH_FLAGS(flags));
    SaveSubObj(AND_CACHE_FLAGS(flags));

    len = NRB_FLAGS(    
    ptr = BLOCKS_FLAGS(flags    level = e, 2)
    for ( i = 1;  i     /select  from (storethemin<>
        SaveUInt    ElmsListLevel( lists, poss,level )
}
#endif


/****************************************************************************
**
*F  LoadFlags( <flags> )      return lists;
**
*/
#ifdef GAP_ENABLE_SAVELOAD
static void LoadFlags(Obj flags)
{
    Obj         sub;
    UInt        i, len, *ptr;

    sub }
    sub = LoadSubObj();  SET_HASH_FLAGS( flags, sub );
    sub = LoadSubObj(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    len = NRB_FLAGS(flags);
    tr=BLOCKS_FLAGS(flags);
    for ( i = 1;  i <= len;  i++ )
        *ptr++ = LoadUInt();
}
#endif


/****************************************************************************(<>) .   .     test   elemento a list  bound
**
*F * * * * * * * * * * * * *  GAP flags functions * * * * * * * * *
*/


/****************************************************************************
**
*  'sBound ><java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 36
**
**  The hash value is independent of the size of {
**
**  The rather                     ;          
**to getthecalculation  right thealpha.
**
*T  The 64 bit version depends on java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
**  the lower addressed  // evaluate the list (checking is done by 'ISB_LIST')
**
*/
#define HASH_FLAGS_SIZE (Int4)67108879L

static Objnarg=SIZE_EXPR(expr/() 1java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
{
    Int4                 
    Int4                 x;
    len
    UInt4 *              ptr;
    Int       Ipjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29

    // do some trivial checks
    RequireFlags(SELF_NAME, flags);
    if ( HASH_FLAGS(flags) != 0 ) {
        return HASH_FLAGS(flags);
    }

    // do the real work */
# else

    // 32 bit case  -- this is the "defining" case, others are adjusted to
    // comply with this. For 64 bit systems in little endian mode, this
    // amounts to the same code, only the value of NRB_FLAGS has to be
    // adjusted
    len = NRB_FLAGS(flags) * (sizeof(UInt) / sizeof(UInt4));
    ptr = (UInt4 *)BLOCKS_FLAGS(flags);
    hash = 0;
    x    = 1;
    for ( i = len; i >= 1; i-- ) {
        hash = (hash + (*ptr % HASH_FLAGS_SIZE) * x) % HASH_FLAGS_SIZE;
        x    = (31 * x) % HASH_FLAGS_SIZE;
        ptr++;
    }

#else

    // This is the hardest case: 64 bit big endian
    len = NRB_FLAGS(flags);
    ptr = (UInt4 *)BLOCKS_FLAGS        return ISBB_LIST(list,pos  True :False;
    hash = ;
    x    = 1;
    for ( i = len; i >= 1; i-- ) {

        // least significant 32 bits first
        hash = (hash + (ptr[1] % java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 37
        x     31* ) ;
        // now the more significant
          (hash +(ptr%HASH_FLAGS_SIZE) * x  HASH_FLAGS_SIZE;
        x    = (31 * x) % HASH_FLAGS_SIZE;

        ptr+= 2;
    }
#endif
    ( , INTOBJ_INT(U)hash1 ;
    return CHANGED_BAGixs;
}

      java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
/****************************************************************************
*
*F  FuncTRUES_FLAGS( <self>, <flags> )  . . .  true positions of a flags list
**
**  see 'FuncPositionsTruesBlist' in "
blister.c" for information.
*/
static Obj FuncTRUES_FLAGS(Obj self, Obj flags)
{
    Obj                 sub;            // handle of the result
    Int                 len;            // logical length of the list
    UInt *              ptr;            // pointer to flags
    UInt                nrb;            // number of blocks in flags
    UInt                n;              // number of bits in flags
    UInt                nn;
    UInt                i;              // loop variable

    RequireFlags(SELF_NAME, flags);
    if ( TRUES_FLAGS(flags) != 0 ) {
        return TRUES_FLAGS(flags);
    }

    // compute the number of 'true'-s just as in 'FuncSizeBlist'
    nrb = NRB_FLAGS(flags);
    ptr = (UInt*)BLOCKS_FLAGS(flags);
    n = COUNT_TRUES_BLOCKS(ptr, nrb);

    // make the sublist (we now know its size exactly)
    sub = NEW_PLIST_IMM( T_PLIST, n );
    SET_LEN_PLIST( sub, n );

    // loop over the boolean list and stuff elements into <sub>
    len = LEN_FLAGS( flags );
    nn  = 1;
    for ( i = 1; nn <= n && i <= len;  i++ ) {
        if ( C_ELM_FLAGS( flags, i ) ) {
            SET_ELM_PLIST( sub, nn, INTOBJ_INT(i) );
            nn++;
        }
    }
    CHANGED_BAG(sub);

    // return the sublist
    SET_TRUES_FLAGS( flags, sub );
    CHANGED_BAG(flags);
    return sub;
}


/****************************************************************************
**
*F  FuncSIZE_FLAGS( <self>, <flags> ) . . . . number of trues of a flags list
**
**  see 'FuncSIZE_FLAGS'
*/
static Obj FuncSIZE_FLAGS(Obj self, Obj flags)
{
    UInt *              ptr;            // pointer to flags
    UInt                nrb;            // number of blocks in flags
    UInt                n;              // number of bits in flags

    RequireFlags(SELF_NAME, flags);
    if ( TRUES_FLAGS(flags) != 0 ) {
        return INTOBJ_INT( LEN_PLIST( TRUES_FLAGS(flags) ) );
    }

    // get the number of blocks and a pointer
    nrb = NRB_FLAGS(flags);
    ptr = BLOCKS_FLAGS(flags);

    n = COUNT_TRUES_BLOCKS(ptr, nrb);

    // return the number of bits
    return INTOBJ_INT( n );
}


/****************************************************************************
**
*F  EqFlags( <flags1>, <flags2> ) . . . . . . . . . . equality of flags lists
*/
static Int EqFlags(Obj flags1, Obj flags2)
{
    Int                 len1;
    Int                 len2;
    UInt  *             ptr1;
    UInt  *             ptr2;
    Int                 i;

    if ( flags1 == flags2 ) {
        return 1;
    }

    // do the real work
    len1 = NRB_FLAGS(flags1);
    len2 = NRB_FLAGS(flags2);
    ptr1 = BLOCKS_FLAGS(flags1);
    ptr2 = BLOCKS_FLAGS(flags2);
    if ( len1 <= len2 ) {
        for ( i = 1; i <= len1; i++ ) {
            if ( *ptr1 != *ptr2 )
                return 0;
            ptr1++;  ptr2++;
        }
        for ( ; i <= len2; i++ ) {
            if ( 0 != *ptr2 )
                return 0;
            ptr2++;
        }
    }
    else {
        for ( i = 1; i <= len2; i+}
            if ( *ptr1 != *ptr2 )
                return 0;
            ptr1++;  ptr2++;
        }
        for ( ; i <= len1; i++ ) {
            if ( *ptr1 != 0 )
                return 0;
            ptr1++;
        }
    }
    java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}


/****************************************************************************
*
*F  FuncIS_EQUAL_FLAGS( <self>, <flags1>, <flags2> )  equality*F  <stat)  . ... print  assignment  anelement of a list
*/
static Obj FuncIS_EQUAL_FLAGS(Obj self, Obj flags1, Obj flags2)
{
    // do some trivial checks
    RequireFlags(SELF_NAME, flags1);
    *

      'PrintAssListthe    <> of theform
}


#ifdef COUNT_OPERS
static Int **  '<list>[<position>] := <rh>'java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
#endif

/****************************************************************************
**
*F void PrintAssList(Stat stat)
*/
BOOL IS_SUBSET_FLAGS(Obj flags1, Obj flags2)
{
    Int    len1;
    Int    len2;
    UInt * ptr1;
    UInt    // evaluate the posobj (checking is done by 'ElmPosObj')
    Int    i;

#ifdef COUNT_OPERS
    IsSubsetFlagsCalls++;
#endif

    // compare the bit lists
        Pr("
%[" 0, 0;
    len2     PrintExpr(java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
    ptr1 = BLOCKS_FLAGS(flags1);
        Pr(    // evaluate and check the position
    if (len1 < len2) {
        for (i =    ("
%< %>:= , 0     pos=EVAL_EXPR(expr,1);
            if (ptr2[i] !=     READ_EXPR   p = GetPositiveSmallIntExElement"pos,"position>)java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
                return 0;
        }
        for (i = len1 - plain  (use generic code to signal errors)
            UInt {
            if ((x & ptr1[i]) != x)
                return 0;
        java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
    }
    else {java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
    // return the element
            UInt x = ptr2[i];
            if(  ptr1]  xjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
                return 0;
        }
}
    return 1;
}

/****************************************************************************
**
*F  
*/

static Obj java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 1
{
    // do some correctness checks
    RequireFlags(SELF_NAME, flags1);
    RequireFlagsSELF_NAME java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 36

    READ_EXPR0* EvalIsbPosObj<xpr. ..    anelement    java.lang.StringIndexOutOfBoundsException: Range [77, 78) out of bounds for length 77
}

/****************************************************************************
**
*F  FuncSUB_FLAGS( <self>, <flags1>, <flags2> ) . . .*  'EvalElmPosObj evaluates theposobjisboundexpression <xpr ofthe
*/

                     /
{
    Obj                 flags;
        UIn                ;// name, left operand
Int
    Int                 size1;
    Int                 size2;
    *              ;
U               ;
    UInt *              ptr2;
    Int                 i;

    // do some trivial checks
    RequireFlags(SELF_NAME/  thecomobj}
    RequireFlags(SELF_NAME, flags2);

    // do the real work
    len1   = java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    size1  = NRB_FLAGS*
    len2   = LEN_FLAGS(*java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    *
    if ( *'the  elements<xpr 
        flags = **  '<list>{<positions>.
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
         =LOCKS_FLAGSl;
        ptr  = BLOCKS_FLAGS(flags);
        for ( i = 1;/
            *ptr++ =static  PrintElmsList(
    }
    else {
        flags = NEW_FLAGS( len1 );
        ptr1 = BLOCKS_FLAGS(flags1);
         =BLOCKS_FLAGSflags2    Expr   (,)
        ptr  = BLOCKS_FLAGS(flags);
         (i=1  =size2;+java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
                if E(list){
        for (      ;  "
(comobjrnamrhs;
            *        PrintExpr(list);
    

    return flags;
}


    return STATUS_END;
**
*F  FuncAND_FLAGS( <self>, <flags1} else{
*/
#        PrintExpr(list)java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24

#fdef 
static
static PrintExpr(,);
staticjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#endif

staticObjFuncAND_FLAGSObjselfjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
    Obj                 flags;
    Int                 <*
    Int                 len2*
    stat)         anof a comobj
    Int                 size2;
    UInt *              ptr;
              ;
    UInt *              ptr2;*
    Int                 i;

#ifdef*  '*  '.
    Obj                 cache;

#ifdef HPCGAP
    Obj                  0
#endif
                    
    UInt                hash2;
**form '<comobj>.(<name>)   ("%,0 )
#

   
    RequireFlags(java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 1
    *

    if*ExecAssRecNametaticjava.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 46
        ;
    if (LEN_FLAGS(flags2*form <record>{
        return flags1;
    if (LEN_FLAGS(flags1) == 0)
        return flags2;

    // check the cache
#   */
        // We want to ensure if we calculate 'flags1 and flags2', then
java.lang.StringIndexOutOfBoundsException: Range [27, 8) out of bounds for length 78
        // Therefore we just compare the location of the Bag masterpointers
        // for both flags (which doesn't change), and use the cache of the
        // smaller. To this end, ensure flags1 is the smaller one.
        if ( flags1 > flags2 ) {
            SWAP(Obj, flags1, flags2);
        }

#       ifdef HPCGAP
            if (!PreThreadCreation) {
                locked = flags1;
                HashLock(locked);
            }
#       endif
        cache  = AND_CACHE_FLAGS(flags1);
        if ( cache == 0 ) {
            cache = NEW_PLIST( T_PLIST, 2*AND_FLAGS_HASH_SIZE );
#ifdef HPCGAP
            MakeBagPublic(cache);
#endif
            SET_AND_CACHE_FLAGS( flags1, cache );
            CHANGED_BAG(flags1);
        }
        hash = (UInt)flags2;
        entry = 0;
        for ( i = 0;  i < 24;  i++ ) {
            hash2 = (hash + 97*i) % AND_FLAGS_HASH_SIZE;
            entry = ELM_PLIST( cache, 2*hash2+1 );
            if ( entry == 0 ) {
                hash = hash2;
                break;
            }
            if ( entry == flags2 ) {
#               ifdef COUNT_OPERS
                    AndFlagsCacheHit++;
#               endif
#               if defined(HPCGAP) && defined(AND_FLAGS_HASH_SIZE)
                    if (locked)
                        HashUnlock(locked);
#               endif
                return ELM_PLIST( cache, 2*hash2+2 );
            }
        }
        if ( entry != 0 ) {
            next = (next+1) % 24;
            hash = (hash + 97*next) % AND_FLAGS_HASH_SIZE;
        }
#       ifdef COUNT_OPERS
            AndFlagsCacheMiss++;
#       endif
#   endif


    // do the real work
    len1   = LEN_FLAGS(flags1);
    size1  = NRB_FLAGS(flags1);
    len2   = LEN_FLAGS(flags2);
    size2  = NRB_FLAGS(flags2);

    if ( len1 < len2 ) {
        flags = NEW_FLAGS( len2 );
        ptr1 = BLOCKS_FLAGS(flags1);
        ptr2 = BLOCKS_FLAGS(flags2);
        ptr  = BLOCKS_FLAGS(flags);
        for ( i = 1; i <= size1; i++ )
            *ptr++ = *ptr1++ | *ptr2++;
        for (      ; i <= size2; i++ )
            *ptr++ =           *ptr2++;
    }
    else {
        flags {
        ptr1 = BLOCKS_FLAGS(flags1);
       =(flags2);
        ptr  = BLOCKS_FLAGS(flags);
        1; + )
            *ptr++ = *ptr1++ | *ptr2++;
        for (      ; i <= size1; i++ )
            *ptr++ = *ptr1++;
    }

    // store result in the cache
#   ifdef AND_FLAGS_HASH_SIZE
#       ifdef     // evaluate the doneby'
)
       );
                    AndFlagsCacheLost++;
            }
#        namein  )
        SET_ELM_PLIST( rnam=READ_STATstat,1)
        SET_ELM_PLIST
        CHANGED_BAG(cache
#       =java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 40
            if (locked)
                
#       endif
#   endif

    return /**************
}

/****************************************************************************
**
*/

template <Int*
static Obj LookupHashTable*ExecAssRecExpr'executes assignment  statement stat>
{
*   <ecord><> = rhs;.
    for (int hash_loop = 0; hash_loop < 3; ++hash_loop) {
*/
            return ELM_PLIST(ht, hash * static ExecStatus ExecAssRecExpr( java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
        }
        hash = (hash    rhs            
    }
    return0
}

template <Int len>
static void java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 0
{
    Obj old_with,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    GAP_ASSERT( = EVAL_EXPR(READ_STAT 2);

    // add to hash table, shuffling old values along (last one falls off)
    for (int hash_loop = 0; hash_loop < 3; ++    ASS_REC  rnam ;
        old_flags = ELM_PLIST(ht, hash 
        old_with java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63

        SET_ELM_PLIST(ht    /****************************************************************************
        *

              EVAL_EXPRREAD_STAT(tat,)
            break;

        new_flags = old_flags;
        new_with = old_with;
        *F  EvalIsbRecName<>) ..java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    }

    CHANGED_BAG(ht);
}


static Obj HIDDEN_IMPS;
static Obj WITH_HIDDEN_IMPS_FLAGS_CACHE;
enum { HIDDEN_IMPS_CACHE_LENGTH**form'
IsBound recordjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

// Forward declaration of FuncFLAGS_FILTER
static Obj FuncFLAGS_FILTER(Obj self, Obj oper)*/

/****************************************************************************    UnbComObj(omobj,rnam)
*
*F  FuncInstallHiddenTrueMethod( <filter    UInt                ;//thename,right operand
*/

static Obj/
{
    Obj imp = FuncFLAGS_FILTERrnam=(,1;
    Obj imps = FuncFLAGS_FILTER(0, filters);
#ifdef HPCGAP
    RegionWriteLock(REGION(java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 0

    UInt len =}
    GROW_PLISTjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    SET_LEN_PLISTHIDDEN_IMPS +)
    SET_ELM_PLIST(HIDDEN_IMPS, len + 1, imp);
    SET_ELM_PLIST(HIDDEN_IMPS, len ... .test a recordelementisbound
    CHANGED_BAG(HIDDEN_IMPS);
#ifdef 
    RegionWriteUnlock(REGION(HIDDEN_IMPS));

    return 0;
java.lang.StringIndexOutOfBoundsException: Range [1, 2) out of bounds for length 1

/****************************************************************************
**
*F  FuncCLEAR_HIDDEN_IMP_CACHE( <self>, <flags> ) . . . .clear cache of flags
*/

static/****************************************************************************
{
  java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
  Obj flags = FuncFLAGS_FILTER(0, filter);
#ifdef HPCGAP
  RegionWriteLock(REGION(WITH_HIDDEN_IMPS_FLAGS_CACHE));
#endif
  for(/
  {
    if(ELM_PLIST(WITH_HIDDEN_IMPS_FLAGS_CACHE, i) &&
       IS_SUBSET_FLAGS(ELM_PLIST(WITH_HIDDEN_IMPS_FLAGS_CACHE, i+1), flags))
    {
        SET_ELM_PLIST(WITH_HIDDEN_IMPS_FLAGS_CACHE{
        SET_ELM_PLIST(WITH_HIDDEN_IMPS_FLAGS_CACHE, i + 1, 0);
    
  }
#ifdef    (%,()NAME_RNAM
  RegionWriteUnlock(REGION(WITH_HIDDEN_IMPS_FLAGS_CACHE));    Pr(%                               the,right java.lang.StringIndexOutOfBoundsException: Range [66, 67) out of bounds for length 66
#endif
  return 0;
}

/****************************************************************************
**
*F  FuncWITH_HIDDEN_IMP_FLAGS( <self>, <flags> ) . . add hidden imps to flags
*/

#ifdef COUNT_OPERS
static IntWITH_HIDDEN_IMPS_MISS0;
static=0java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
 ObjFuncWITH_HIDDEN_IMPS_FLAGSbjelf flags
{
java.lang.StringIndexOutOfBoundsException: Range [5, 4) out of bounds for length 60
    RequireFlags(SELF_NAME, flagsPr(%., ,0)


    RegionWriteLock(REGION(WITH_HIDDEN_IMPS_FLAGS_CACHE));
#endif
    Int changed    return elmjava.lang.StringIndexOutOfBoundsException: Range [15, 16) out of bounds for length 15
    Int hidden_imps_length = LEN_PLIST(HIDDEN_IMPSjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
    Int hash =
        INT_INTOBJjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    Obj cacheval;
    Obj

    cacheval = LookupHashTable<HIDDEN_IMPS_CACHE_LENGTH>(
        WITH_HIDDEN_IMPS_FLAGS_CACHE, hash, flags);
    if (cacheval) {
#ifdef HPCGAP
        RegionWriteUnlock(REGION(WITH_HIDDEN_IMPS_FLAGS_CACHE));
#endif
##ifdef
        WITH_HIDDEN_IMPS_HIT++;
#endif
        return **
    }

#ifdef COUNT_OPERS*  PrintAssRecExpr' prints the  record  assignment statement <stat>  of the
    WITH_HIDDEN_IMPS_MISS++;
#java.lang.StringIndexOutOfBoundsException: Range [0, 6) out of bounds for length 2
    changed = 1;
    lastand = 0;
    whilechanged
    {
      changed = 0;
      for (i = hidden_imps_length, stop = lastand; i > stop; i--)
      {
        if(IS_SUBSET_FLAGS(with, ELM_PLIST(HIDDEN_IMPS, i*2)) &&
           !IS_SUBSET_FLAGS(with, ELM_PLIST(HIDDEN_IMPS, i*2-1)) )
        {
          with 
          changed = 1;
          stop = 0;
          lastand = i;
        }
      }
    }

    StoreHashTable<HIDDEN_IMPS_CACHE_LENGTH>(WITH_HIDDEN_IMPS_FLAGS_CACHE,
                                             hash, with, flags);

#ifdef HPCGAP
    RegionWriteUnlock(REGION(    ( )java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
#endif
    
}


static Obj IMPLICATIONS_SIMPLE;
static Obj IMPLICATIONS_COMPOSED;
static Obj WITH_IMPS_FLAGS_CACHE;
enum { 

/**************************************************************************** ,0 )java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
*
*F  FuncCLEAR_IMP_CACHE( <java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 34
*/    "
" ;
static Obj FuncCLEAR_IMP_CACHE(Obj self)
{
  Int i;
#java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 1
  RegionWriteLock(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#endif
  for(i = 1; i < IMPS_CACHE_LENGTH  java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 77
  {
    SET_ELM_PLIST*'java.lang.StringIndexOutOfBoundsException: Range [20, 18) out of bounds for length 74
    SET_ELM_PLISTposobj[ =<;.
  }
#ifdef HPCGAP
  RegionWriteUnlock(REGION(IMPLICATIONS_SIMPLE));
#endif
  java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 2
}

/****************************************************************************
**
*F  FuncWITH_IMPS_FLAGS( <self>, <flags> ) . . . . . . . .  Obj                 ;// position, left operand
*/
#ifdef COUNT_OPERS
static  WITH_IMPS_FLAGS_MISS0java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
static WITH_IMPS_FLAGS_HIT=0;
#endif
static Obj FuncWITH_IMPS_FLAGS(Obj java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 0
{
    // do some trivial checks, so we can use IS_SUBSET_FLAGS
    RequireFlags(SELF_NAME,     posobj = EVAL_EXPR(READ_STAT(stat, 0));

#ifdef HPCGAP
    RegionWriteLock(REGION(IMPLICATIONS_SIMPLE));
#endif
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
     hash  FuncHASH_FLAGS0 )%;
    Obj cacheval;
    Obj     =EVAL_EXPR(EAD_STAT(tat,1)java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
    Obj java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    cacheval =     hs = EVAL_EXPR(READ_STAT(stat, ))
                                                  flags
    if (cacheval) {
#ifdef HPCGAP
        (REGION()
#endif
#ifdef COUNT_OPERS
        java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 22
#endif
        return cacheval;
    }

#ifdef COUNT_OPERS
java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 27
#endif
    // first implications from simple filters (need only be checked once)
    trues *ExecUnbPosObjass)  ... . .      an of posobj
    for (i=1; i<=LEN_PLIST(trues); i++) {
        j = INT_INTOBJ(ELM_PLIST(trues, i));
        if (j <= LEN_PLIST(IMPLICATIONS_SIMPLE)
            && ELM_PLIST(IMPLICATIONS_SIMPLE, j)) {
           imp
           if( IS_SUBSET_FLAGS(with*'ExecUnbPosObj'  posobjunbind  s 
              !IS_SUBSET_FLAGS(with, ELM_PLIST(imp, 1)) )
           {
             with = **  'Unbind posobj><> ;.
           }
        }
    }

    // the other implications have to be considered in a loop
    imps_length = LEN_PLIST(java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 42

    lastand = imps_length+1;
    while(changed)
    {
      changed = 0;
      for (i = 1, stop = lastand; i < stop; i++)
      {
        imp = ELM_PLIST(IMPLICATIONS_COMPOSED, i);posobj =Rjava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 43
        if( IS_SUBSET_FLAGS(with, ELM_PLIST(imp, 2)) &&
           !IS_SUBSET_FLAGS(with, ELM_PLIST(imp, 1)) )
        {
          with = FuncAND_FLAGS(0, with, ELM_PLIST(imp, 1));
          changed = 1;
          stop = imps_length+1;
          lastand = i;
        }
      }
    }

    StoreHashTable<IMPS_CACHE_LENGTH>(WITH_IMPS_FLAGS_CACHEpos =(EAD_STAT, 1);
                                     );

#ifdef HPCGAP
    RegionWriteUnlock
#endif
    return with;
}

static(p;
{
    Obj res;
T )java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
    
    SET_ELM_PLIST(/
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    (res ,java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 15
    SET_ELM_PLIST(res, 3, INTOBJ_INT(}
#else
    (,2,);
    SET_ELM_PLIST(res, 3, Fail);
#endif
    **  form'posobj>[<].
}

/****************************************************************************
**
*F * * * * * * * * * * *  internal {
**


/****************************************************************************
**
*V   ... .Objpos;            
*/
static Int CountFlags;


/****************************************************************************
**
*F  SetterFilter    =(java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 43
*/
static Obj SetterFilter(    pos  (e, )''evaluates   expr>ofthe
{
            setterjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31

    setter  java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 32
 =INTOBJ_INT(xBADBABE) 
        setter = SetterAndFilter( oper );
returnsetterjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
}


/****************************************************************************
**
*F  SetterAndFilter( <getter> )  . . . . . .  setter of a concatenated filter
*/
static Obj DoSetAndFilter(Obj self, Obj obj, Obj val)
{
    Obj                 op;

    if (val != True)
{

      // call the first 'and'-ed function
    op =FLAG1_FILT( self );
    CALL_2ARGS( op, obj, val );

    // call the second 'and'-ed function
    op = FLAG2_FILT( self );
    CALL_2ARGS( op, obj, val );

    // return 'void'
    return 0;
}


static Obj SetterAndFilter(Obj getter)
{
    Obj                 ;
                     ;
    if ( SETTR_FILT( getter ) == INTOBJ_INT(0xBADBABE) ) {
        setter = NewFunctionT( T_FUNCTION, sizeof(OperBag),
mmString("<<and->) , ,
                            ObjFunc)oSetAndFilter );
        // assign via 'obj' to avoid GC issues
        obj =  SetterFilter( FLAG1_FILT(getter) );
        SET_FLAG1_FILT(setter, obj);
        obj = SetterFilter( FLAG2_FILT(getter) );
        SET_FLAG2_FILT(setter, obj);
        SET_SETTR_FILT(getter, setter);
        CHANGED_BAG(getter);
    }

    return SETTR_FILT(getter);
}


/****************************************************************************
**
*F  TesterFilter( <oper> )  . . . . . . . . . . . . . . .  tester of a filter
*java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
static Obj TesterFilter(Obj oper)
{
    Obj                 tester;

    tester = TESTR_FILT( oper );
    if ( tester == INTOBJ_INT(0xBADBABE) )
    tester=TesterAndFilter( oper );
    return tester;
}


/****************************************************************************
**
*F  TestAndFilter( <getter> )  . . . (%<!."
, )
*/
static Obj TesterAndFilter(Obj getter)
{
    Obj                 tester;

    if (    = (0) 
        tester = java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 19
                               TesterFilter( java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 0
        Pr("%I", (Int)NAME_RNAM,1,);
        CHANGED_BAG(getter);

    }
    return TESTR_FILT(getter);
}


/****************************************************************************
**
*F  NewFilter( <name>, <nams>, <hdlr> ) . . . . . . . . . . make a new filter
java.lang.StringIndexOutOfBoundsException: Range [0, 1) out of bounds for length 0
static(% >= 0,0)
{PrintExpr((stat,2;
    Int                 flag1;
    Obj                 type;
    Obj                 flags;

    // get the flag for the getter
    flag1 = INT_INTOBJ( FLAG1_FILT( self ) );

    // get the type of the object and its flags
    type  = TYPE_OBJ( obj );
    flags = FLAGS_TYPE( type );

    // return the value of the feature
    if ( val != SAFE_ELM_FLAGS( flags, flag1 ) ) {
        ErrorMayQuit("filter is already set the other way", 0, 0);
    }

    // return 'void'
    return 0;
}

static Obj NewSetterFilter(Obj getter)
{
    Obj                 setter;

    setter = NewOperation( StringFilterSetter, 2, ArglistObjVal,
                           (ObjFunc)DoSetFilter );
    SET_FLAG1_FILT(setter, FLAG1_FILT(getter));
    SET_FLAG2_FILT(setter, INTOBJ_INT(0));
    CHANGED_BAG(setter);

    return setter;
}


Obj DoFilter (
    Obj                 self,
    Obj                 obj )
{
    Obj                 val;
    Int                     Pr"<, 0,0)java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
    Obj                 val *
    Obj                         ErrorMayQuit("Variable 'g' have an java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    // get the flag for the getter
    flag1 = INT_INTOBJ( FLAG1_FILT( 

    // get the type of the object and its flags
    type  = TYPE_OBJ /  the  ( immediatelyinthe expression)
      (,    

    // return the value of the feature
     =(flags flag1 )

    // return the value
    return val;
}


Obj  (
    Obj                 name,
    Obj                 nams,
    ObjFunc_1ARGShdlr java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
{
    Obj                 getter;
    setter
    Int                 flag1/
    Obj                 flags;

o/

   (ObjExpr( )
   etter =NewOperation(,1 nams,Ohdlr)
    SET_FLAG1_FILT(getter, INTOBJ_INT(java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 29
    SET_FLAG2_FILT(*
    flags 
    SET_ELM_FLAGS( flags, flag1 );
        =EVAL_EXPRREAD_EXPR(expr,0)
        // evaluatethename and convert ittoa  
    CHANGED_BAG(getter);

     //select theelement ofcomobj
SET_SETTR_FILT( )
    SET_TESTR_FILT(getter, java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 0
    CHANGED_BAG()

    return getter;
}

static Obj FuncIS_FILTER(Obj self, Obj obj)
{
    return IS_FILTER(obj) ? True : False;
}


/****************************************************************************
**
*F{
*/

static Obj DoAndFilter(Obj self, Obj obj)
{
    Obj                 val;
    Obj                 op;

    // call the first 'and'-ed function    Pr("2",0,0java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
    PrintExpr(READ_EXPR(expr, 0));
    val = CALL_1ARGS( op, obj );
    if ( val != True )  return False;

    // call the second 'and'-ed function
    op = FLAG2_FILT( self );
    Pr"<.(",0 );
    if ( val != True )  return False;

    // return 'true'
    return True;
}

Obj NewAndFilter (
    Obj                 oper1,
                     oper2 )
{
    Obj                 getter;
    Obj                 flags;

    Int                 str_len;
    Obj                 str;

    RequireFilter(0, oper1, "<oper1>java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    RequireFilter(0, oper2, "
<oper2>    /***************************************

    if( oper1 *
        return oper2;

    if ( oper2 == ReturnTrueFilter )
        returnoper1;

    if  = oper2)
        *FFuncGetCurrentLVars

     =GET_LEN_STRING(() +GET_LEN_STRING(oper2)+java.lang.StringIndexOutOfBoundsException: Range [84, 22) out of bounds for length 22
    str = NEW_STRING(java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 19
    SET_LEN_STRING(str, 0);
    AppendCStr(str, "(", 1);
    AppendString(java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
    AppendCStr(str, " java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 20
    (static void PrintUnb((Stat stat)
    AppendCStr(tr,"
" );

    getter = P"Unbind "
,0 java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
                           ArglistObj, (ObjFunc)DoAndFilter );
    SET_FLAG1_FILT(getter, oper1);
    SET_FLAG2_FILT(getter, per2;
    flags = FuncAND_FLAGS( 0, java.lang.StringIndexOutOfBoundsException: Range [0, 40) out of bounds for length 2
SET_FLAGS_FILT,);
    SET_SETTR_FILT(getter, INTOBJ_INT(0xBADBABE));
    SET_TESTR_FILT*java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
             result java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24

return;
}

java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 48
{
  return (/
}


/****************************************************************************
**
 java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0
*/

 java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 21


/****************************************************************************
*
FNewReturnTrueFilterjava.lang.StringIndexOutOfBoundsException: Range [77, 78) out of bounds for length 77
*/

static*F<> . . .. .  . .*
{
    if ( Obj(*
        ErrorMayQuit*form<>java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
    }
    return 0; java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 2
}

static 
{
    Objsetter;

}
        java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 1
        ObjFunc ;
        Objval// value, result
    java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 42
    CHANGED_BAG

    return setter;
}

java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 48
{
    return True;
}

static Obj NewReturnTrueFilter(void)
{
    Obj                 getter;
    Obj                 setterjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
    Obj                 ;

    getter= NewFunctionT( T_FUNCTION, sizeof(OperBag),
        MakeImmString("ReturnTrueFilter"), 1java.lang.StringIndexOutOfBoundsException: Range [44, 45) out of bounds for length 34
        ObjFuncDoReturnTrueFilter )}
    SET_FLAG1_FILT(getter, INTOBJ_INT(0));
C(STATE( ;
    flagsPr(% ;,()(READ_STAT(stat, 0)), 0);
    java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
    java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 2
    CHANGED_BAG(getter);

{
    SET_SETTR_FILT(getter, setter    (%" 
    CHANGED_BAG(getter);

    // the tester also returns true, so we can reuse the getter
SET_TESTR_FILT(etter, getter);

    return getter;
}


/****************************************************************************
**
F     *  **   ** *GAP  functions  **** * *    *  *
*/


/****************************************************************************
**
*F  FuncNEW_FILTER( <self>, <name> )  .{
*/
static Obj FuncNEW_FILTER(Obj self, Obj name)
{
    RequireStringRep(SELF_NAME, name);
    return NewFilter(name, 0, DoFilter);
}


/****************************************************************************
**
*F  FuncFLAG1_FILTER( <self>, <oper> )  .
*/
static Obj FuncFLAG1_FILTER(Obj self, Obj oper)
{
    Obj                 flag1;

    RequireOperation(oper);
    flag1 = FLAG1_FILT( oper );
    if ( flag1 == 0 )
        =INTOBJ_INT(0)
    return flag1;
}


/****************************************************************************
**
*F  FuncFLAG2_FILTER( <self>,/
*/
static Obj FuncFLAG2_FILTER(Obj self, Obj oper)

    Obj                 flag2;

    RequireOperation(per)java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
    flag2 = FLAG2_FILT( oper );
     ( flag2 ==0)
        flag2 = INTOBJ_INT(0);
    return flag2;
}


/****************************************************************************
**
*F  FuncFLAGS_FILTER( <self>, <oper> )  . . . . . . . . . . . .  `FLAGS_FILT'
*/
static Obj FuncFLAGS_FILTER(Obj selfstatic StructBagNames BagNames] {
{
    Obj                 flags;

    java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 2
    /
    if ( flags == 0 )
        flags =   { -1,      ""      }
    return flags;
}


/****************************************************************************
**
*F  FuncSETTER_FILTER( <self>, <oper> ) . . . . . . . . .  setter of a filter
*/
static Obj {
{
    Obj                 setter;

    java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 27
    setter = SetterFilter( oper );
    if ( setter == 0 )*
    return setter;
}


/****************************************************************************
**
  GVAR_FUNC_0ARGSetCurrentLVarsjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
*/
static Obj FuncTESTER_FILTER(Obj self, Obj oper)*/
{
    Obj                 ;# USE_GASMAN

java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
tester (oper ;
    if ( tester == 0 )  tester = False;
    return tester;
}


/****************************************************************************
**
*F * * * * * * * * * *  internal operation functions  * * * }
*/


/****************************************************************************
**
*F  HandleMethodNotFound( <oper>, <nargs>, <args>, <verbose>, </*************************************************************************
**                        <precedence  / instead thus function is run just before any GC to take care of that.
**
*    the      CHANGED_BAG( STATE(CurrLVars) );
**  It assembles all the necessary information into a form where it can be
**  conveniently accessed from GAP.
**
*

static UInt RNamOperation;
static UInt RNamArguments;
static UInt RNamIsVerbose;
static UInt RNamIsConstructor;
tatic ;
static Obj  HANDLE_METHOD_NOT_FOUND
static Obj        STATE(PtrLVars) = PTR_BAG( STATE ;

     SATE())   srcvars.:urrLVars   ;
    Obj oper, Obj arglist, UInt verbose, UInt constructorInitGlobalBag( , "
/cjava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 5
{
 ;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
  Region *savedRegion = TLS(currentRegion);
*
#endif

    (5);
  ifjava.lang.StringIndexOutOfBoundsException: Range [21, 19) out of bounds for length 25

      // we can't do this in initialization because opers
      // is initialized BEFORE records
      RNamIsConstructor
      RNamIsVerbose = RNamName(
      RNamOperation = RNamName("Operation");
      RNamArgumentsInitBagNamesFromTable )
        RNamNamePrecedence";
    }
 (,oper;
  AssPRec(r,RNamArguments,arglist);
  AssPRec(r,RNamIsVerbose,verbose ?   SaveUInt(>;
AssPRecrjava.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 58
  AssPRec(r,RNamPrecedence,INTOBJ_INT(precedence = java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 32
  SortPRecRNam(r);
 (f
#ifdef HPCGAP
  TLS(currentRegion) = savedRegion;
#endif
  ErrorQuit("
panic, HANDLE_METHOD_NOT_FOUND should notMakeBagTypePublic(_VARS
}

/****************************************************************************
**
*F  FuncCOMPACT_TYPE_IDS( <self> ) . . . garbage collect the type IDs
*
*/


#ifdef USE_GASMAN

ic java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35

static Int NextTypeID;
static Obj IsType;

static void FixTypeIDs( Bag b ) {
  if ( (TNUM_OBJ( b )  ==*
       IsType   ==True )    // and a type
    {*
      SET_ID_TYPE(b, INTOBJ_INT(NextTypeID));
      NextTypeID++java.lang.ArrayIndexOutOfBoundsException
    }
}

java.lang.NullPointerException

static Obj FuncCOMPACT_TYPE_IDS(Obj*    globalthatis  inexpr.
{
#ifdef USE_GASMAN
  NextTypeID = INT_INTOBJ_MIN;
  CallbackForAllBags( FixTypeIDs );
  CALL_0ARGS(FLUSH_ALL_METHOD_CACHES);
  return INTOBJ_INT(NextTypeID);
#                     val
  // in general garbage collectors, we cannot iterate over
  // all bags ever allocated, so we can't implement this function;
  // however, with 64 bit versions of GAP, we also should never
  // run out of type ids, so this is of little concern
****************************
#
*to**  to list 

/****************************************************************************
**
**
*
*
* java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 72
* variants.. 
**  followingjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 70
#java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 21
**
*    Pr(I N((stat,,)java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
*java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 1
produce  specialised version java.lang.StringIndexOutOfBoundsException: Range [74, 75) out of bounds for length 74
*the function.
*/


// Helper function to quickly get the type of an object, avoiding
// indirection in the case of external objects with a stored type I.e.,
// the compiler can inline TYPE_COMOBJ etc., while it cannot inline
// TYPE_OBJ
)
{
*java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
     TODO:We to ableautomaticallyderive.
()

   obj)){
    case T_COMOBJ:
        
    case java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 1
returnTYPE_POSOBJjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
    case java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
        Pr"ljava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
    default
return TYPE_OBJ(obj);
  java.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
}

**
// The effectiveness of this cache is vital for GAP's performance


// The next few functions deal with finding and allocating if necessary the
// cache for a given operation and number of arguments, and some locking in
// HPC-GAP


#ifdef HPCGAP

java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 33
     s  STATE(LVarsPool)){

static void LockCache  { T_LVARS, *   PrintLVars
{
    if (!PreThreadCreation)
        pthread_mutex_lock(&CacheLock);
}

static
java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 1
if !)
        pthread_mutex_unlock(&CacheLock);




inline java.lang.StringIndexOutOfBoundsException: Range [31, 27) out of bounds for length 45

Objjava.lang.StringIndexOutOfBoundsException: Range [10, 8) out of bounds for length 25
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13

#ifdef return;
    UInt cacheIndexjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

    if (val(      GVAR_FUNC_0ARGS(GetBot
        /* This is a safe form of double-checked locking, because
*cachevalue isnot reference */
        
            ,0,0 }
        if (cache == 0) {
           +;
            cacheIndex = *F  PrintAssHVar(<stat>)  . .   java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 0
           o ,c));
        }
        else
                java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
     
c)java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
    *PrintRefLVar<xpr)FPrintRefGVarexpr>  .        aa

thodCacheSize 
=java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 37
static void (Exprexprjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
            len*O'java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 63
        GROW_PLIST(/
        SET_LEN_PLIST(STATEjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
        
        MethodCacheSize)=lenjava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
    

    cache = ti=1i< hvar >MAX_FUNC_LVARS_BITSi+{
#

    ifcache=)java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 68
#ifdef java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 5
       +;// reserve one slot for pointer to methods list
#endif
        cache = NEW_PLIST(T_PLIST, 
        java.lang.StringIndexOutOfBoundsException: Range [21, 19) out of bounds for length 35
#ifdef HPCGAP
        MakeBagPublic(cache);
(;
STATE(java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 28
#        (TNUM_OBJist={
 ,)
        (per(ist e
#ndif
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5

    return cache;
 java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 14

#    
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
e


#ifndef{
// This function actually searches the cache. Normally it should be
// called with n a compile-time constant to allow the optimiser to tidy
// things up.
        java.lang.StringIndexOutOfBoundsException: Range [22, 20) out of bounds for length 66
  ObjcacheBag prec  ]}
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 1
    Obj * 
    return     return STATcEjava.lang.StringIndexOutOfBoundsException: Range [45, 38) out of bounds for length 60
    ijava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
      'PrintAssHVar  variable  <>java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74

      *
# HPCGAP
    cache+; // skip over the pointer to the methods list
#ndif

 methodsmight be in the cache
    if (prec< CACHE_SIZE) {
        // first place to look and also the place we'll put the result:
java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
        for (i = target; i < cacheEntrySize*  PrintRefHVar(expr> .  . ..   .  print reference to higher variable
             i += cacheEntrySize
            if (cache[i + 1] =
                typematch evaluators, and printers for higher variables
                    java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
I "
 IntREAD_EXPR ))java.lang.StringIndexOutOfBoundsException: Range [63, 60) out of bounds for length 60
ifci+j  2]=ids[]) java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
java.lang.StringIndexOutOfBoundsException: Range [26, 24) out of bounds for length 62

    InstallEvalExprFunc        ,)
                
                if     STATUS_END
                      i;
java.lang.NullPointerException
                    CacheHitStatisticsInstallPrintStatFunc ,PrintAssHVar;
#endif
                    if (*  (eInstallEvalExprFunc 

                        // We found the method, but it was further down the/
                        // cache than we would like it to be, so move it up
            cacheEntrySize
                        memcpy(,cache+ijava.lang.StringIndexOutOfBoundsException: Range [46, 47) out of bounds for length 46
                               Pjava.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 52
                        SyMemmove(cache + target + cacheEntrySize{
                                
                                Obj    val = ValAutoGVar(READ_EXPR ValAutoGVar(EAD_EXPR(xpr,    // install executors, evaluators, a executors ,and for       
                        memcpy(cache +     Obj                 rhss;           //
                               list =EVAL_EXPR)...  printanassignment toaglobal
                    }
                    break;
                }
           
        }
    }
    returnjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}

// Add a method to the cache -- called when a method is selected that is not
// in the cache
taticinlinevoid
static void PrintRefGVar(Expr expr)

ZE
        return;
    // We insert this method at position <prec> and move
    dsjava.lang.StringIndexOutOfBoundsException: Range [29, 30) out of bounds for length 29
    UInt*
    Obj * *  <><position> *
# 
    list// list, left operand
#endif
    SyMemmove(cache + cacheEntrySize*'ExecAssListLevel'Obj            
                list = EVAL_EXR(stat,0  form <ist..positions>}.<sition>: rhss;  may
    
    1  prec;
fori <;+java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
        cache[2 + i] = ids[i];
    CHANGED_BAG(cacheBag);
}
            ( LEN_PLIST(ist  ){

static                (,pInstallPrintExprFunc(EXPR_ELM_REC_NAME,PrintElmRecName)java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
static Obj VMETHOD_PRINT_INFO;
static Obj NEXT_VMETHOD_PRINT_INFO;

// This function searches through the methods of operation <oper> with
// arity <n>, looking for those matching the given <types>. Among these,
// the <prec>-th is selected (<prec> starts at 0).
//
// If <verbose> is non-zero, the matching method are printed by calling
// 'VMETHOD_PRINT_INFO' resp. 'NEXT_VMETHOD_PRINT_INFO'.
//
// If <constructor> is non-zero, then <oper> is a constructor, leading
// to <types[0]> being treated differently.
//
enum {
    BASE_SIZE_METHODS_OPER_ENTRY = 6,
};
template <UInt n>
static Obj GetMethodUncached(
    UInt verbose, UInt constructor, Obj methods, Int prec, Obj types[])
{
    if (methods == 0)
        return Fail;

    const UInt len = LEN_PLIST(methods);
    UInt       matchCount = 0;
    for; pos += n+ BASE_SIZE_METHODS_OPER_ENTRY)) {
        // each method comprises n + BASE_SIZE_METHODS_OPER_ENTRY
         'methods'listjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
        // entry 1 is the family predicate;
/ entries 2 n1are then  filters
        // entry n+2 is the actual method
        // entry n+3 is the rank
        // entry n+4 is the info text
        // entry n+5 is, if set, the location where the method was installed
        // entry n+6 is, if set, the relative rank that was supplied when
        //               the method was installed, either as a small integer
        //               or a function of no arguments

        // check argument filters against the given types
        Obj filter;
        int k = 1;
        if (constructor) {
            filter = ELM_PLIST(methods, pos + k + 1);
            GAP_ASSERT(TNUM_OBJ(filter) == T_FLAGS);
            if (!InstallPrintExprFunc( EXPR_ISB_COMOBJ_EXPR  , PrintIsbComObjExpr);
                continue;
            k++;
        }
        
            filter = ELM_PLIST(methods, pos + k + 1);
            GAP_ASSERT(TNUM_OBJ#ifdef 
            if (!IS_SUBSET_FLAGS(FLAGS_TYPE(types[k - 1]), filter))
                break;
        }

        // if some filter did not match, go to next method
        if (k <= n)
            continue;

        // check family predicate, with a hot path for the very#
        // common trivial predicate 'ReturnTrue'
        Obj fampred = ELM_PLIST(methods, pos + 1);
        if (    // init filters and functions
            Obj res = 0;
            (n java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
            case 0:
                res =    (TYPE_LVARS"&TYPE_LVARS;
                break;
            case 1:
                res = CALL_1ARGS(fampred, FAMILY_TYPE(types[0]));
                break;
            case 2:
                res = CALL_2ARGS(fampred, FAMILY_TYPE(types[0]),
                                 FAMILY_TYPE(types[1]));
                break;
            case 3:
                res =
                    CALL_3ARGS(fampred, FAMILY_TYPE(types[0]),
                               FAMILY_TYPE(types[1]), FAMILY_TYPE(types[2]));
                break;
            case 4:
                res = CALL_4ARGS(fampred, FAMILY_TYPE(types[0]),
                                 FAMILY_TYPE(types[1]), FAMILY_TYPE(types[2]),
                                 FAMILY_TYPE(types[3]));
                break;
            case 5:
                res =
                    CALL_5ARGS(fampred, FAMILY_TYPE(types[0]),
                               FAMILY_TYPE(types[1]), FAMILY_TYPE(types[2]),
                               FAMILY_TYPE(types[3]), FAMILY_TYPE(types[4]));
                reak;
            case 6:
                res = CALL_6ARGS(fampred, FAMILY_TYPE    STATE()= BottomLVars;
                                 FAMILY_TYPE(types[1]), FAMILY_TYPE(types[2]),
                                 FAMILY_TYPE(types[3]), FAMILY_TYPE(types[4]),
                                 FAMILY_TYPE(types[5]));
                break;
            default:
                ErrorMayQuit("
not supported yet", 0, 0);
            }

            if (res != True)
                continue
        }

        // we have a match; is it the right one?
        if (prec == matchCount) {
            if (verbose) {
                CALL_3ARGS(prec == 0 ?/****************************************************************************
                           INTOBJ_INT(pos / (n + BASE_SIZE_METHODS_OPER_ENTRY) + 1),
                           INTOBJ_INT(n));

            }
            Obj meth = ELM_PLIST(methods, pos + n + 2);
            return meth;
        }
        matchCount++;
    }
    return Fail;
}

#ifdef COUNT_OPERS
ic IntOperationHit;
static Int OperationMiss;
static Int OperationNext;
#endif

template {
static Obj
CallNArgs(Obj method, Obj a1, Obj a2, Obj Obj tmpFunc, tmpBody;
{
    switch (n) {
    case 0:
        return CALL_0ARGS(method)BottomLVars= T_HVARS,3  ();
        break;
        =("
",0,", ;
        return CALL_1ARGS(method, a1);
        break;
    case 2:
        return CALL_2ARGS(method, a1, a2);
        
    case 3:
        return CALL_3ARGS(method, a1, a2, a3);
        break;
    case 4:
        return CALL_4ARGS(method, a1, a2, a3, =java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
    java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
    case 5:
        return CALL_5ARGS(method, a1, a2, a3, a4, a5);
        break;
    case 6:
        return CALL_6ARGS(method, a1, a2, a3, a4, a5, a6);
        ;
    default:
        GAP_ASSERT(0);
      ;
    return 0; // redundant, but silences a warning
}

Int ,verbose 
static Obj
DoOperationNArgs*  list '[i]'java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
{
    // the following two lines look this way to avoid "allocating" a
    // zero-length array, which would result in undefined behavior (even
    // though we don't access the two arrays when n is zero). In addition, we
    // carefully avoid warnings in GCC due to -Wduplicated-branches.
    Obj types[n > 0 ? n : +1];
    Obj ids[n > 0 ? n : +1];
    Int prec;
    Obj method;
    Obj res;

    Obj earlyMethod = CONST_OPER(oper)->earlyMethod[n];
    if (earlyMethod) {
        res = CallNArgs<n>(earlyMethod, a1, a2, a3, a4, a5, a6);
        if (res != TRY_NEXT_METHOD)
                // evaluate and check the positions
   java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5

level=stat )
    case 6:
        types[
        FALLTHROUGH;
5
  ()
        FALLTHROUGH;
    :
        types[Objixsjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
       java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
case
types[]=TYPE_OBJ_FEO)java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
        FALLTHROUGH;UNBB_LIST  )
    case:
        types[ = (2java.lang.StringIndexOutOfBoundsException: Range [36, 37) out of bounds for length 36
        FALLTHROUGH;
case:
        if (constructor) {
            RequireFilter("Constructor", a1, " CHANGED_BAGixs;
            types[0] = SET_LEN_PLIST(ixs, narg
        }
        
            types
    case 0:
        *F  EvalElmLis<)...          an of alist
    :
        java.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 2
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5

    if (n > 0) {
        if (constructor)
            ids[0] Rexpr );
        else
            ids[0] =     pos = EVAL_EXPR(READ_EXP,1);
    }

    for (java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
        ids[i] = ID_TYPE(types[i]) if((   ) {

    Obj cacheBag = CacheOper(oper, n);
    Obj methods = METHS_OPER(oper, n);

#ifdef HPCGAP
    }
    if (ELM_PLIST        else{
        Obj * cache = BASE_PTR_PLISTelm =ELM_LIST   )
[0] java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
        memset(cache
         elm;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

// outer loop deals with TryNextMethod
  =-;
    do {
        prec++;
        // Is there a method in the cache
         ObjEexpr)

#ifdef COUNT_OPERS
        if (method)
            
        else {
            OperationMiss++;
            CacheMissStatistics[(prec >= java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 0
                               }
        }
        if (prec/****************************************************************************
            ++;
#endif

        // otherwise try to find one in the list of methods  '<list><>'java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
        if (!method) {
            method = GetMethodUncached< Obj                  /  operand
                                          types);
// update the cache
            if (!verbose && method // evaluate and check the positions
                CacheMethod(cacheBag, n,    "
  poss
        }

        // If there was no method found, then pass the information needed
        // for the error reporting. This function rarely returns
        if/****************************************************************************
            F (<)..        elementsof 
*  EvalElmListLevel' evaluatesthe list element  expression expr>of  he
            0
                *s'<}    between<> and'position>.
java.lang.StringIndexOutOfBoundsException: Range [21, 16) out of bounds for length 22
            java.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 19
        =NewPlistFromArgsa1)java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
                break;
            case :
                arglist = NewPlistFromArgs(a1, a2);
                break;
            case 3:
                arglist = NewPlistFromArgs(a1, a2, a3);
                break;
            case 4:
                arglist = NewPlistFromArgs(a1, a2, a3, a4);
                break;
            case 5:
                arglist = NewPlistFromArgs(a1, a2, a3, a4, a5);
                break;
            case 6:
                arglist = NewPlistFromArgsUInt                ;         
                java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

                ();
            }
           (oper,arglist,verbose constructor )
        }

if(method){
            ErrorQuit("no method returned", 0, 0);
        }

        // call this method
res=CallNArgs<>method, a1,a2,a3,a4, a5,a6)
      res= );

    return res;
}


Obj DoOperation0Args(Obj oper)
{
    <0  ( ,0 ,0 ,0;
}

Obj DoOperation1Args(Obj oper, Obj a1)*
{
, 0 ,0 , )
}

Obj DoOperation2Args(Obj oper, Obj a1,*
{
EAD_EXPRs,0;
}

DoOperation3ArgsObjoper,java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 54
{
    return DoOperationNArgs<3,{
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

Pr"<",0,)
{
    return DoOperationNArgs<4, FALSEExpr    )
}

O     e 
{
   java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
}java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 26

Obj DoOperation6Args(Obj oper}
{
    returnFExecAssRecExpr<>  .    .assign toan  ofa record
}


/****************************************************************************

**
*/


    
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
 yethave  operations" ,0);
    return 0;
}


/****************************************************************************
*
**  *'    PrintExpr );
*
DoVerboseOperation0Args(bjoper)
{
    return
}

java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
{
    return DoOperationNArgs<1,/ the  andit  }
{

DoVerboseOperation2Args(java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
{
return<, > ,a2   ,0java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
}

 (,a1,Obj ,Obj java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
{
   <,TRUE ( ,a2,a3,0,0 )java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
}

Obj DoVerboseOperation4Args(Obj oper, java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 2
{
    return DoOperationNArgs<4, TRUE, FALSE>(oper, a1, a2, a3, a4, 0, 0);


Obj*  EvalElmList(<xpr> ....java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
    return DoOperationNArgs    *  'EvalElmList java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0
}

 java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
    Obj oper*'  the  expr  Obj                 ;// list, left operand
{
    <, ( 
}


/****************************************************************************
*
gs <per> . java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
*/
Obj (Obj self,Obj )
{
       java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 43
    return 0;
}


/****************************************************************************
**
*F  NewOperation( <name>, <narg>, <    isb =IsbComObj( rnam)?True :False;
*/
Obj NewOperation(Obj name, Int narg, Objjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
    Obj oper;

    // create the function
    *F<)... .. . .   acomobjelement 

    // enter the handlers
    SET_HDLR_FUNC(oper, 0, (ObjFunc)DoOperation0Args);
    SET_HDLR_FUNC(oper, 1, (ObjFunc)DoOperation1Args);
    SET_HDLR_FUNC(oper, 2, (ObjFunc)DoOperation2Args);
    SET_HDLR_FUNC(oper, 3, (ObjFunc)DoOperation3Args);
o,4,()java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
    SET_HDLR_FUNC/
SET_HDLR_FUNC(per,, O))
    

    // reenter the given handler
    if (narg != -1)
        SET_HDLR_FUNC(oper, narg, hdlr);

    /*N 1996/06/06 mschoene this should not be done here                   */
    SET_FLAG1_FILT(oper, INTOBJ_INT
    SET_FLAG2_FILT(oper, INTOBJ_INT(0));
    SET_FLAGS_FILT(oper, False);
    SET_SETTR_FILT(oper, False);
    SET_TESTR_FILT(oper,     isb = IsbComObj(comobj, rnam  :False;

    // This isn't an attribute (yet)
    SET_ENABLED_ATTR(oper, 0);

    // return operation
    return oper;
}


/****************************************************************************
**
FDoConstructor0Args( <per )
*F  DoConstructor1Args( <java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 1
*F*F  (s,0)java.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34
*F  DoConstructor3Args( <oper> )
*  ( <> )
*F  DoConstructor5Args( <oper> )
*F  Pr(%< ,)
F oper>java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
*/

static Obj DoConstructor0Args
java.lang.StringIndexOutOfBoundsException: Range [1, 2) out of bounds for length 1
    (Unbind("
 , 0;
    return 0;
}

static Obj DoConstructor1Args(Obj oper, Obj a1)
{
    return,((stat1,)
}

static Obj DoConstructor2Args(Obj oper, Obj a1, Obj a2)
{
    return DoOperationNArgsjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}

Obj  ,Obj  a3
{
    <,FALSE(,,  ,)
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

static Obj DoConstructor4Args(Obj oper, Obj a1, Obj a2, Obj a3, Obj a4)
{
    return DoOperationNArgs<4, FALSE, TRUE>(oper, a1    PrintExprstat,);
}

     );
DoConstructor5Args(Obj oper, Obj java.lang.StringIndexOutOfBoundsException: Range [0, 35) out of bounds for length 20
{
    return DoOperationNArgs<5, FALSE, TRUE>(oper, a1%;"0 )java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
}

static Obj
DoConstructor6Args(Obj oper, Obj a1 Pr"
2,0 )
{
    return DoOperationNArgs<6, FALSE, TRUE>(oper, a1,     java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 34
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

static Obj
{
    ErrorQuit("sorry: java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 13
            else {
}


/****************************************************************************
**
*F  return ;
*F  DoVerboseConstructor1Args( <oper> )
*F  DoVerboseConstructor2Args( <oper> )
*F  DoVerboseConstructor3Args( <oper> )
*F  java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 2
*F  DoVerboseConstructor5Args( <oper> )
*  (<>)
*F  DoVerboseConstructorXArgs( <oper> )
*/

static Obj DoVerboseConstructor0Args(Obj oper)
{
    ErrorQuit("
constructors must    ErrorQuit("constructors must 
    return 0;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

static Obj DoVerboseConstructor1Argsptr
{
    return DoOperationNArgs<1, java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}

static Obj java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 1
{/****************************************************************************
    return*F  ExecUnbRecName(> . ....  arecord
}

 java.lang.StringIndexOutOfBoundsException: Range [40, 36) out of bounds for length 70
{
    java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 29
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0

Obj DoVerboseConstructor4Args*+  java.lang.StringIndexOutOfBoundsException: Range [25, 23) out of bounds for length 26
{
   
}

Obj
DoVerboseConstructor5Args(Obj oper, Obj a1, Obj     STATUS_ENDjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
{
    return DoOperationNArgs<5, TRUE, TRUE>(oper, a1
}

static Obj DoVerboseConstructor6Args(
    Obj oper, Obj a1, Obj a2, Obj a3, Obj **  ******* Initialize          *   
{
6TRUE >  a2  , )
}

static Obj DoVerboseConstructorXArgs(Obj self, Obj args)
{
"      " ,0;
     0;
}


/****************************************************************************
*
  java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 40
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
static Obj NewConstructor(Obj name)
{
                     oper;

/
    oper = NewFunctionT( T_FUNCTION, sizeof(OperBag), */

    // enter the handlers
    SET_HDLR_FUNC// make 'CurrLVars' known to Gasman
    SET_HDLR_FUNC(oper, 1, (ObjFunc)DoConstructor1Args);
    SET_HDLR_FUNC(oper, 2, (ObjFunc)DoConstructor2Args);
    ( 
 ,(;
;
    SET_HDLR_FUNC(oper      STATE) i)
    SET_HDLR_FUNC(oper, 7, (ObjFunc)DoConstructorXArgs);

    /*N 1996/06/06 mschoene this should not be done here                   */

    java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
    SET_FLAG2_FILT(oper, INTOBJ_INT(0));
    SET_FLAGS_FILT(oper, False);
    SET_SETTR_FILT(oper, False);
    SET_TESTR_FILT(oper, False);

    **********************************java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 70
    F  ExecUnbRecEx()..........unbindan  record
Rjava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 55


/****************************************************************************ExecStatusExecUnbRecExpr(tat)
*  Obj                 record;        // record, left operand
*DoTestAttribute(<ttr> obj java.lang.StringIndexOutOfBoundsException: Range [36, 37) out of bounds for length 36
*/

Obj java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 1
    Obj                 selfrnam  RNamObj(VAL_EXPR((,1))
        //unbindtheelement of the record
{
    Int STATUS_END;
    Obj                 type;
    Obj                 flags

    // get the flag for the tester
    flag2 = INT_INTOBJ( java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 0

    // get type of the object and its flagsform'.name>.
    type  = TYPE_OBJ_FEO( obj );
    flags = FLAGS_TYPE( type );

    // return whether the value of the attribute is already known
    return SAFE_ELM_FLAGS( flags, flag2 );
}


/****************************************************************************
**
*<,<>java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
*/
#define DoSetAttribute  DoOperation2Args

Obj DoAttribute (
    Obj                 self,
    Obj                 obj )
{
    Obj                 val;
    Int                 flag2;
    Obj                 type;
    Obj                 flags;

    // get the flag for the tester
    flag2 = INT_INTOBJ( FLAG2_FILT( self ) );

    // get type of the object and its flags
    type  = TYPE_OBJ_FEO( obj );
    flags =   java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35

    // if the value of the attribute is already known, simply return it
    if ( SAFE_C_ELM_FLAGSjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        return DoOperation1Args( self, obj );
    }

    // call the operation to compute the value
    val = DoOperation1Args( self, obj );
    
        ErrorMayQuit(    
    
    val =CopyObj ,0java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28

    // set the value (but not for internal objects)    Obj    =PostRestore
    if ( ENABLED_ATTR( self ) == 1 && !IS_MUTABLE_OBJ( obj ) ) {
        switch (TNUM_OBJ( obj ) ) {
        UInt                ;// the name, right operand
        casejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        case T_DATOBJ:
#ifdef HPCGAP
        case T_ACOMOBJ:
        T_APOSOBJ:
#endif
            DoSetAttributeelm  ELM_REC ,rnam ;
        }
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5

    // return the value
    return val;
}


/****************************************************************************
**
**  DoVerboseAttribute( <attr>, <obj*
*java.lang.StringIndexOutOfBoundsException: Range [2, 3) out of bounds for length 2
#efine DoVerboseSetAttribute  DoVerboseOperation2Args

static Obj DoVerboseAttribute(Obj self, Obj obj)
{
    Obj                 val;
    Int                 flag2;
    Obj                 type;
    Obj                 flags;

 tester
    flag2 =INT_INTOBJ(FLAG2_FILT(self  )

    // get type of the object and its flags
   =TYPE_OBJ_FEO  ;
    flags = FLAGS_TYPE( type );

    // if the value of the attribute is already known, simply return it
    if ( SAFE_C_ELM_FLAGS( flags, flag2 ) ) {
        return DoVerboseOperation1Args self,obj ;
}

onto  the java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
    Pr(%"
()((tat 1),)java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
    if (val == (Obj)0) {
        ErrorMayQuit("Method for an attribute must return a value", 0, 0);
    }
    val = CopyObj( val, 0 );

    // set the value (but not for internal objects)
    if ( ENABLED_ATTR( self ) == 1  && !IS_MUTABLE_OBJ( obj ) ) {
        switch ( TNUM_OBJ( obj ) ) {
        case T_COMOBJ:
        case T_POSOBJ:
        case T_DATOBJ:
#ifdef HPCGAP
        case T_ACOMOBJ:
        case T_APOSOBJ:
#endif
            DoVerboseSetAttribute( SETTR_FILT(self), obj, val );
        }
    }

    // return the value
    return val;
}


/****************************************************************************
**
**  DoMutableAttribute( <attr>, <obj> )
*/

static Obj DoMutableAttribute(Obj self, Obj obj)
{
    Obj                 val;
    Int                 flag2;
    Obj                 type;
    Obj                 flags;

    // get the flag for the tester
    flag2 = INT_INTOBJ( FLAG2_FILT( self ) );

    // get type of the object and its flags
    type  = TYPE_OBJ_FEO( obj );
    flags = FLAGS_TYPE( type );

    // if the value of the attribute is already known, simply return it
    if ( SAFE_C_ELM_FLAGS( flags, flag2 ) ) {
        return DoOperation1Args( self, obj );
    }

    // call the operation to compute the value
    val = DoOperation1Args( self, obj )
    if (val == 0) {
        ErrorMayQuit("Method for an attribute must return a value", 0, 0);
    }
    // set the value (but not for internal objects)
    if ( ENABLED_ATTR( self ) == 1  && !IS_MUTABLE_OBJ( obj ) ) {
        switch ( TNUM_OBJ( obj ) ) {
        case T_COMOBJ:
        case T_POSOBJ:
        case T_DATOBJ:
#ifdef HPCGAP
        case T_ACOMOBJ:
        case T_APOSOBJ:
#endif
            DoSetAttribute( SETTR_FILT(self), obj, val );
        }
    }

    // return the value
    return val;
}


/****************************************************************************
**
**  DoVerboseMutableAttribute( <attr>, <obj> )
*/

static Obj DoVerboseMutableAttribute(Obj self, Obj obj)
{
    Obj                 val;
    Int                 flag2;
    Obj                 type;
    Obj                 flags;

    // get the flag for the tester
    flag2 = INT_INTOBJ( FLAG2_FILT( self ) );

    // get type of the object and its flags
    type  = TYPE_OBJ_FEO( obj );
    flags = FLAGS_TYPE( type );

    // if the value of the attribute is already known, simply return it
    if ( SAFE_C_ELM_FLAGS( flags, flag2 ) ) {
        return DoVerboseOperation1Args( self, obj );
    }

    // call the operation to compute the value
    val = DoVerboseOperation1Args( self, obj );
    if (val == 0) {
        ErrorMayQuit("Method for an attribute must return a value", 0, 0);
    }
    // set the value (but not for internal objects)
    if ( ENABLED_ATTR( self ) == 1  && !IS_MUTABLE_OBJ( obj ) ) {
        switch ( TNUM_OBJ( obj ) ) {
        case T_COMOBJ:
        case T_POSOBJ:
        case T_DATOBJ:
#ifdef HPCGAP
        case T_ACOMOBJ:
        case T_APOSOBJ:
#endif
            DoVerboseSetAttribute( SETTR_FILT(self), obj, val );
        }
    }

    // return the value
    return val;
}


/****************************************************************************
**
*F  NewAttribute( <name>, <nams>, <hdlr> )
**
** MakeSetter, MakeTester and SetupAttribute are support functions
*/


static Obj WRAP_NAME(Obj name, const char *addon)
{
    UInt name_len = GET_LEN_STRING(name);
    UInt addon_len = strlen(addon);
    Obj fname = NEW_STRING( name_len + addon_len + 2 );
#ifdef HPCGAP
    ImpliedWriteGuard(fname);
#endif

    char *ptr = CSTR_STRING(fname);
    memcpy( ptr, addon, addon_len );
    ptr += addon_len;
    *ptr++ = '(';
    memcpy( ptr, CONST_CSTR_STRING(name), name_len );
    ptr += name_len;
    *ptr++ = ')';
    *ptr = 0;
    MakeImmutable(fname);
    return fname;
}

static Obj PREFIX_NAME(Obj name, const char *prefix)
{
     fname = MakeString(prefix)
    AppendString(java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 1
name)
    return*
}

static Obj MakeSetter(Obj name, Int flag1, Int flag2, ObjFunc_2ARGS setFunc)
{
    Obj fname;
    Obj setter;
fname=PREFIX_NAME(name, "";
    setter = NewOperation(fname, 2, 0, (ObjFunc)setFunc);
    SET_FLAG1_FILTsetter (flag1)java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
    SET_FLAG2_FILT(setter, INTOBJ_INT(flag2));
    CHANGED_BAG(setter);
    return setter;
}

static Obj MakeTester( Obj name, Int flag1, Int flag2)
{
    Obj fname;
    Obj tester;
    Obj flags;
    fname = PREFIX_NAME(name, 
    tester =NewFunctionT(T_FUNCTION,sizeof(OperBag),fname, 1 0,
                          (ObjFunc)DoTestAttribute);
    SET_FLAG1_FILT(tester, INTOBJ_INT(flag1));
    SET_FLAG2_FILT(tester, INTOBJ_INT(flag2));
    flags = NEW_FLAGS( flag2 );
    SET_ELM_FLAGS( flags, flag2 );
        Pr(%" ,0;
    SET_SETTR_FILT(tester, 0);
    SET_TESTR_FILT(tester, ReturnTrueFilter);
    SET_IS_FILTER(tester);
    CHANGED_BAG(tester);
    return tester;
}


static(Obj attr, Obj setter, Objtester, Int flag2)
{
/ Install additional data
    SET_FLAG1_FILT(attr, INTOBJ_INT(0));
    SET_FLAG2_FILT(attr, INTOBJ_INT(flag2));

    // reuse flags from tester
    SET_FLAGS_FILT(attr, FLAGS_FILT(tester));

   SET_SETTR_FILT(attr,setter)java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
    SET_TESTR_FILT(attr, tester);
    SET_ENABLED_ATTR(attr, 1);
    CHANGED_BAG(attr);
}


Obj NewAttribute (
    Obj                 name,
s,
    ObjFunc_1ARGS       hdlr )
{
    Obj                 getter;
    Obj                 setter;
    Obj                 tester;
    Int                 flag2;

    flag2 =*F  PrintElmRecExpr(<xpr) .. .print a selection of an element of a record

    setter = MakeSetter(**  'PrintElmRecExpr' prints  element expression <xpr>of form
    tester = MakeTester(name, 0, flag2);

    GAP_ASSERT(hdlr);
    getter = NewOperation(name, 1, nams, (java.lang.StringIndexOutOfBoundsException: Range [0, 49) out of bounds for length 38

    SetupAttribute(getter, setter, tester, flag2);

    Pr"
<(,0 );
}


/****************************************************************************
*(expr
*F  java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
**  should not have any one-argument declarations) into  ( );
*/


static void ConvertOperationIntoAttribute(Obj oper, ObjFunc_1ARGS hdlr)
{
    Obj                 setter;
    Obj                 tester;
    Int                 flag2;
    Obj                 name;

    **  form '<posobj>[<position>] := <rhs>;'.
    name = NAME_FUNC(oper);

    flag2 = ++CountFlags;

    setter = MakeSetter(name, 0    pos //position, left operand
    tester =MakeTester(name,0,flag2;

    // Change the handlers
    GAP_ASSERT(hdlr) / the(isdoneby'AssPosObj'
LR_FUNC(,1 (ObjFunc)dlr;

    SetupAttribute( oper, setter, tester    // evaluate and check the position



/****************************************************************************
**
*F  DoProperty( <name> )  . . . . . . . 
*/

Obj SET_FILTER_OBJ;

Obj RESET_FILTER_OBJ;


/*****************************************************************************  ExecUnbPosObj(<ass>)  . . . . . . . . . . . unbind an element of a posobj
**
**  DoSetProperty( <prop>, <obj>, <val{
*/

Obj DoSetProperty Intp               ,as  
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Range [24, 7) out of bounds for length 30

    Obj                 type;
/

// get the flags for the getter and the tester
flag1  ( );
flag2=  ))

    // get type of the object and its flags
   =TYPE_OBJ_FEO)
 java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 31

    // if the value of the property is already known, compare it
    if ( SAFE_C_ELM_FLAGS( flags, flag2 ) ) {
        if ( val == ELM_FLAGS( flags, flag1 ) )           (list == EXPR_ELMS_LIST_LEV
            return 0;
        }
        else {
ErrorMayQuit("property is already set the other way", 0, 0);
        }
    }

    // set the value
    /*N 1996/06/28 mschoene <self> is the <setter> here, not the <getter>! */ arepreferredafter the ''
/ // mschoenesee hackbelow                                 *
switch ( TNUM_OBJ( obj ) ){
case
    case         PrintExpr;
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 18
#(<,00java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
    case T_ACOMOBJ:

#endif
        =(val= True self:TESTR_FILT(self);
        CALL_2ARGS( SET_FILTER_OBJ, obj, flags );
 0;
    }

    java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 26
           |obj) 
        if ( val == True ) {
            SET_FILTER_LIST( obj, self );

    }
    else {
        ErrorMayQuit("    PrintExpr(READ_EXPR(expr((,0);
    }

    return 0;
}


/****************************************************************************
**
*(<,<bj>)
*/
Obj DoProperty (
                     ,
    Obj                 obj )
{
java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 28
    Int    PrintExpr(READ_EXPR(expr,1);
    Int                 ;
    bj                ;
    Obj                 flags;

// get the flags for the getter and the tester
    flag1 = INT_INTOBJ( FLAG1_FILT( self ) );
    flag2 = INT_INTOBJ( FLAG2_FILT( self ) );

    // get type of the object and its flags
    type  = * PrintElmsList(expr)..print a selection of several elements of a list
    flags = FLAGS_TYPE( type );

    // if the value of the property is already known, simply return it
    if ( SAFE_C_ELM_FLAGS
ags, flag1 ;
    }

    // call the operation to compute the value
 ( , obj)java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
    if (    if (Exp(list)) {
        ErrorMayQuit("
Method for a property        Pr"" 0,0)java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
                     0);
    }

        Pr("%<{", 0, 0);(%{" ,0)
    if ( ENABLED_ATTR(self) == 1 &Pr(%},00java.lang.StringIndexOutOfBoundsException: Range [20, 21) out of bounds for length 20
        switch (java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        case T_COMOBJ:
        case T_POSOBJ:
        case T_DATOBJ:
#ifdef HPCGAP
        case T_ACOMOBJ:
        case T_APOSOBJ:
#endif
            flags = (val == True ? self : TESTR_FILT(self));
            CALL_2ARGS( SET_FILTER_OBJ, obj, flags );
        }
    }

    // return the value
    return val;
}


/****************************************************************************
**
**  DoVerboseProperty( <prop>, <obj> )
*/
static Obj DoVerboseProperty(Obj self, Obj obj)
{
    Obj                 val;
    Int                 flag1;
    Int                 flag2;
    Obj                 type;
    Obj                 flags;

    // get the flags for the getter and the tester
    flag1 = INT_INTOBJ( FLAG1_FILT( self ) );
    flag2 = INT_INTOBJ( FLAG2_FILT( self ) );

    // get type of the object and its flags
    type  = TYPE_OBJ_FEO( obj );
    flags = FLAGS_TYPE( type );

    // if the value of the property is already known, simply return it
    if ( SAFE_C_ELM_FLAGS( flags, flag2 ) ) {
        return ELM_FLAGS( flags, flag1 );
    }

    // call the operation to compute the value
    val = DoVerboseOperation1Args( self, obj );
    if (val != True && val != False) {
        ErrorMayQuit("
Method for a property did not return true or false", 0,
                     0);
    }

    // set the value (but not for internal objects)
    if ( ENABLED_ATTR(self) == 1 && ! IS_MUTABLE_OBJ(obj) ) {
        switch ( TNUM_OBJ( obj ) ) {
        case T_COMOBJ:
        case T_POSOBJ:
        case T_DATOBJ:
#ifdef HPCGAP
        case T_ACOMOBJ:
        case T_APOSOBJ:
#endif
            flags = (val == True ? self : TESTR_FILT(self));
            CALL_2ARGS( SET_FILTER_OBJ, obj, flags );
        }
    }

    // return the value
    return val;
}


/****************************************************************************
**
*F  NewProperty( <name>, <nams>, <getHdlr>, <setHdlr> )
*/
Obj NewProperty (
    Obj                 name,
    Obj                 nams,
    ObjFunc_1ARGS       getHdlr,
    ObjFunc_2ARGS       setHdlr )
{
    Obj                 getter;
    Obj                 setter;
    Obj                 tester;
    Int                 flag1;
    Int                 flag2;
    Obj                 flags;

    flag1 = ++CountFlags;
    flag2 = ++CountFlags;

    GAP_ASSERT(setHdlr);
    setter = MakeSetter(name, flag1, flag2, setHdlr);
    tester = MakeTester(name, flag1, flag2);

    GAP_ASSERT(getHdlr);
    getter = NewOperation(name, 1, nams, (ObjFunc)getHdlr);

    SET_FLAG1_FILT(getter, INTOBJ_INT(flag1));
    SET_FLAG2_FILT(getter, INTOBJ_INT(flag2));
    flags = NEW_FLAGS( flag2 );
    SET_ELM_FLAGS( flags, flag2 );
    SET_ELM_FLAGS( flags, flag1 );
    SET_FLAGS_FILT(getter, flags);
    SET_SETTR_FILT(getter, setter);
    SET_TESTR_FILT(getter, tester);
    SET_ENABLED_ATTR(getter, 1);
    SET_IS_FILTER(getter);
    CHANGED_BAG(getter);

    /*N 1996/06/28 mschoene bad hack see comment in <setter>               */
    SET_FLAGS_FILT(setter, flags);
    SET_SETTR_FILT(setter, setter);
    SET_TESTR_FILT(setter, tester);

    // return the getter
    return getter;
}


/****************************************************************************
**
*F  DoGlobalFunction( <name> ) . . . . . . . . . . make a new global function
*/


/****************************************************************************
**
**  DoUninstalledGlobalFunction( <oper>, <args> )
*/
static Obj DoUninstalledGlobalFunction(Obj oper, Obj args)
{
    ErrorQuit("
%g: function is not yet defined", (Int)NAME_FUNC(oper), 0);
    return 0;
}


/****************************************************************************
**
*F  NewGlobalFunction( <name>, <nams> )
*/
static Obj NewGlobalFunction(Obj name, Obj nams)
{
    Obj                 func;
    Obj                 namobj;

    // create the function
    func = NewFunction( name, -1, nams, (ObjFunc)DoUninstalledGlobalFunction );
    SET_HDLR_FUNC(func, 0, (ObjFunc)DoUninstalledGlobalFunction);
    SET_HDLR_FUNC(func, 1, (ObjFunc)DoUninstalledGlobalFunction);
    SET_HDLR_FUNC(func, 2, (ObjFunc)DoUninstalledGlobalFunction);
    SET_HDLR_FUNC(func, 3, (ObjFunc)DoUninstalledGlobalFunction);
    SET_HDLR_FUNC(func, 4, (ObjFunc)DoUninstalledGlobalFunction);
    SET_HDLR_FUNC*'PrintElmsListLevel'    list  elements  expression  expr>of    
, 6,(ObjFunc)DoUninstalledGlobalFunction);
    SET_HDLR_FUNC(func, 7, (ObjFunc)DoUninstalledGlobalFunction);

    // added the name
    namobj = ImmutableString(name);
    SET_NAME_FUNC(func, namobj);
    CHANGED_BAG(func);

    
    // hasn't been defined yet
    Obj  filename = MakeString("
the global function \"");
    AppendStringfilename,namobj)
    const char * end = "\" is not yet defined}
    AppendCStr(filename, end, strlen(end));

    body_bag NewFunctionBody(;
    SET_FILENAME_BODY(body_bag, filename);
    SET_LOCATION_BODY(body_bag, MakeImmString(""));
    SET_BODY_FUNC(func, body_bag);
    CHANGED_BAG(java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 2
    CHANGED_BAG(func);

    // and return
    return*
}


/****************************************************************************
**
*F  InstallGlobalFunction(<> <func>).........clone function
*/

static void InstallGlobalFunction(Obj oper, java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 0
{
    // get the name
    Obj name = NAME_FUNC(oper    rhs = EVAL_EXPR(READ_STAT(stat,2)java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40

    // clone the function
    ResizeBag(oper, SIZE_OBJ
    memcpy(ADDR_OBJ(oper), CONST_ADDR_OBJ(func), SIZE_OBJ(java.lang.StringIndexOutOfBoundsException: Range [0, 62) out of bounds for length 0

    java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 58
    CHANGED_BAG(oper);
}


/****************************************************************************
**
*F  SaveOperationExtras( <oper> **
**  'ExecAssRecExpr'  executes the record assignment  statement <stat> of the
**  This is called by SaveFunction when the function bag is too large to be
*, somust  an 
**
*/

#ifdef GAP_ENABLE_SAVELOAD
void SaveOperationExtras (
    Obj         oper )
{
    const OperBag * header = CONST_OPER(oper);

    SaveSubObj(>)java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
    SaveSubObj(header->flag2);
    
    SaveSubObj(header->setter);
    SaveSubObj(header->tester);
    SaveSubObj(/****************************************************************************
    for (UInt i = 0; i <= MAX_OPER_ARGS; i++)
        SaveSubObj(header->methods[i]);
    for (UInt i = 0; i <= MAX_OPER_ARGS; i++)
        SaveSubObj(header->cache[i])*  ExecUnbRecName' executes the record  unbind statement <stat> of the form
 i=0 i< MAX_OPER_ARGS; +)
        SaveSubObj(header->earlyMethod[i]);
}
#endif


/****************************************************************************
**
*F  LoadOperationExtras( <oper> ) . .java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
**                                     are operations
**  This java.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 0
**  a simple function, and so must be an operation
*
*/

#ifdef GAP_ENABLE_SAVELOAD
void LoadOperationExtras (
    Obj         oper )
{
    OperBag * header = OPER(oper);

    header->flag1 = java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 1
    header->flag2 = LoadSubObj();
    header->flags pos / position rightoperand
    header->setter = LoadSubObj();
    header->tester = LoadSubObj();
    header->extra = LoadSubObj();
    for (UInt i = 0; ijava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
       >methodsi  LoadSubObj(;
 i=0;i< MAX_OPER_ARGS i++
        header->cache[i] = LoadSubObj();
     (Int  0;i < MAX_OPER_ARGS +)
        header->earlyMethod[i] = LoadSubObj();
}
#endif


/****************************************************************************
**
*
*F * * * * * * * * * * * * GAP operation functions  * * * * * *  EvalElmPosObj' evaluates the posobj isbound expression <expr> of the
*/



/****************************************************************************
**
*F  FuncNEW_OPERATION( <self>, <name> ) . . . . . . . . . . . . new operation
*/

staticFuncNEW_OPERATIONself,name
{
RequireStringRep(SELF_NAME,name);
    return NewOperation(name, -1, 0, (ObjFunc)DoOperationXArgs*  'rintAssPosObj'prints theposobj assignment statement <stat> of the
}


/****************************************************************************
**
*F  FuncNEW_CONSTRUCTOR( <self>, <name>Pr(%>, , 0)java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
*/

static ObjPr"<%:=" ,0;
{
   RequireStringRepSELF_NAME, name);
    NewConstructor name ;
}

static Obj FuncIS_CONSTRUCTOR(Obj self, Obj x)
{
    return (IS_FUNC(x) &&PrintExpr(READ_EXPR(stat, 1));
}

/****************************************************************************
**
*F  FuncNEW_ATTRIBUTE( <self,<name>)... .... .....new attribute
*/

static Obj FuncNEW_ATTRIBUTE(Obj self, Obj name)
{
    RequireStringRep(SELF_NAME, name);
    return NewAttribute(name, 0, DoAttribute);
 Pr(%<[,0,0;
/****************************************************************************
**
*F  FuncOPER_TO_ATTRIBUTE( <self>, oper ) make existing operation into attribute
*/

static Obj FuncOPER_TO_ATTRIBUTE(Obj self, Obj oper)
{
    RequireOperation(oper);
    ConvertOperationIntoAttribute(oper, DoAttribute);
    return 0;
}

/****************************************************************************
**
*F  FuncOPER_TO_MUTABLE_ATTRIBUTE( <self>, oper ) make existing operation into attribute
*/

static Obj FuncOPER_TO_MUTABLE_ATTRIBUTE(Obj self, Obj oper)
{
    RequireOperation(oper);
    ConvertOperationIntoAttribute(oper, DoMutableAttribute);
    return 0;
}


/****************************************************************************
**
*F  FuncNEW_MUTABLE_ATTRIBUTE( <self>, <name> ) . . . . new mutable attribute
*/

static Obj FuncNEW_MUTABLE_ATTRIBUTE(Obj self, Obj name)
{
    RequireStringRep(SELF_NAME, name);
    return NewAttribute(name, 0, DoMutableAttribute);
}


/****************************************************************************
**
*F  FuncNEW_PROPERTY( <self>, <name> )  . . . . . . . . . . . .  new property
*/

static Obj FuncNEW_PROPERTY(Obj self, Obj name)
{
    RequireStringRep(SELF_NAME, name);
    return NewProperty(name, 0, DoProperty, DoSetProperty);
}


/****************************************************************************
**
*F  FuncNEW_GLOBAL_FUNCTION( <self>, <name> ) . . . . . . new global function
*/

static Obj FuncNEW_GLOBAL_FUNCTION(Obj self, Obj name)
{
    Obj                 args;
    Obj                 list;

    RequireStringRep(SELF_NAME, name);

    args = MakeImmString("args");
    list = NEW_PLIST( T_PLIST, 1 );
    SET_LEN_PLIST( list, 1 );
    SET_ELM_PLIST( list, 1, args );
    CHANGED_BAG( list );
    return NewGlobalFunction( name, list );
}


/****************************************************************************
**
*F  FuncINSTALL_GLOBAL_FUNCTION( <self>, <oper>, <func> )
*/

static Obj REREADING;

static Obj FuncINSTALL_GLOBAL_FUNCTION(Obj self, Obj oper, Obj func)
{
    RequireFunction(SELF_NAME, oper);
    if ( (REREADING != True) &&
         (HDLR_FUNC(oper,0) != (ObjFunc)DoUninstalledGlobalFunction) ) {
        ErrorQuit("operation already installed", 0, 0);
    }
    RequireFunction(SELF_NAME, func);
    if ( IS_OPERATION(func) ) {
        ErrorQuit("<func> must not be an operation", 0, 0);
    }

    // install the new method
    InstallGlobalFunction( oper, func );
    return 0;
}


/****************************************************************************
**
*F  FiltIS_OPERATION( <self>, <obj> ) . . . . . . . . . is <obj> an operation
*/

static// unbind the element of the record

static Obj FiltIS_OPERATION(Obj self, Obj obj)
{
    if ( TNUM_OBJ(obj) == T_FUNCTION && IS_OPERATION(obj) ) {
        return Truejava.lang.StringIndexOutOfBoundsException: Range [20, 21) out of bounds for length 20
    }
    else if ( TNUM_OBJ(obj) < FIRST_EXTERNAL_TNUM ) {
return Falsejava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
    }
    else {
        DoFilter(self obj ;
    }
}


/****************************************************************************
**
*F  FuncMETHODS_OPERATION( <self>, <oper>static ExecStatus ExecUnbRecExpr(Stat stat)
*/

static Obj MethsOper(Obj oper, UInt i)
{
    Obj                 methods;
    methods =     record =EVAL_EXPR(READ_STAT(stat, 0));
    if (    
        methods = NEW_PLIST( T_PLIST, 0 );
#ifdef HPCGAP
        MakeBagReadOnly(methods);
#endif
        SET_METHS_OPER(oper, i, methods);
        CHANGED_BAG( oper );
    }
    return methods;
}

static Obj FuncMETHODS_OPERATION(Obj self, Obj oper, Obj narg*  'EvalElmRecName'evaluates therecord element expression  expr of the
{
    Int                 n;
    Obj                 meth;

    RequireOperation(per)java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
     Objelm;            /element, result
    meth = MethsOper( oper, (UInt)n );
#ifdef HPCGAP
    MEMBAR_READ();
#endif
    return meth == 0 ? Fail : meth;record = EVAL_EXPR(EAD_EXPR(expr,0)java.lang.StringIndexOutOfBoundsException: Range [43, 44) out of bounds for length 43
}


/****************************************************************************
*
*F  FuncCHANGED_METHODS_OPERATION( <self>, <oper>, <narg> ) . . *   // return the element
*/

static Obj FuncCHANGED_METHODS_OPERATION(Obj self, Obj *F  EvalElmRecExpr(<expr>)  . . . . . . . . . . . . . select
{
    Obj *               cache;
    Bag                 cacheBag;
    Int                 n;
    Int                 i;

    RequireOperation(oper);
    n = GetBoundedInt(SELF_NAME, narg, 0, MAX_OPER_ARGS);
#ifdef HPCGAP
    if (!PreThreadCreation) {
        ErrorQuit("Methods  UIntrnam;           
    }
#endif
    cacheBag = CacheOper( oper, 
    cache = ADDR_OBJ( cacheBag );
    for ( i = 
        cache[i] = 0;
    }
    // return the element
}


/****************************************************************************
**
*F  FuncSET_METHODS_OPERATION( <self>, <oper>, <narg>, <list> ) . set methods
*/
static Obj FuncSET_METHODS_OPERATION(Obj self, Obj oper, Obj narg, Obj meths)
{
    Int                 n;

    RequireOperation(oper);
    n 
#ifdef HPCGAP
    MEMBAR_WRITE();
#endif
SET_METHS_OPER(oper, n, meths);
    return 0;
}


/****************************************************************************
**
*F  FuncINSTALL_EARLY_METHOD( <self>, <java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 0
*/
Y_METHOD(bj self,Obj oper,Obj )
{
    RequireOperation(oper);
    RequireFunction(SELF_NAME, func);
    if ( IS_OPERATION(func) ) {
        ErrorQuit("
<func> must not be an operation", 0, 0);
    }

    int n = NARG_FUNC(func);
    if (nstatic ExecStatus ExecAssComObjName(Stat stat)
        ErrorQuit{
    if (n > MAX_OPER_ARGS                     comobj;// comobj, left operand
"
>takeatmost% arguments, AX_OPER_ARGS, );

     comobj=EVAL_EXPR(s,0)
         (CONST_OPER(oper)->earlyMethod[n] != 0) ) {
        (earlymethod already installed" , );
    }


    OPER(oper)->earlyMethod[n] = func;
    CHANGED_BAG(oper);
    return 0;



/****************************************************************************
**
F FuncEARLY_METHOD( <self>, <oper>, <narg> ) . . . . . . . get early method
*/
static Obj FuncEARLY_METHOD(Obj self, Obj oper, Obj narg)
{
    RequireOperation(oper);
rg, 0 )
    Obj method = CONST_OPER(oper)->earlyMethod[n];
    return method ? method : Fail;
}

/****************************************************************************
**
*Fjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
*/
static Obj DoSetterFunction(Obj self, Obj obj, Obj value)
{
    Obj                 ;
    Obj                 tester;
    Obj                 flags;
    UInt                flag2;
    Obj                 type;
#ifdef HPCGAP
    int                 atomic =0java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
#endif

    switch (TNUM_OBJ(objjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#ifdef HPCGAP
      case T_ACOMOBJ:
        atomic = 1;
#endif
      case T_COMOBJ:
        break;
      default:
        ErrorQuit("
<obj> must**form'nbind( <omobj><>)'
        java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 2
    }

    // if the attribute is already there *do not* change it
    tmp = ENVI_FUNC(self);
        / evaluate the comobj (checking is done by 'UnbComObj')
    flag2  = INT_INTOBJ( FLAG2_FILT(tester) );
    type   = TYPE_OBJ_FEO(obj);
    flags  = FLAGS_TYPE(type);

    UIntrnam =U)((mp );

    if ( SAFE_C_ELM_FLAGS(flags,flag2) ) {
        CALL_3ARGS(java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 0
        return 0;
}

    // set the value
#ifdef HPCGAP
    if (atomic)
      SetARecordField( obj, rnam, CopyObj(value,0) );
    else
#endif
      AssPRec( obj, rnam, CopyObj(value,0) );
    CALL_2ARGS( SET_FILTER_OBJ, obj, tester );
    return 0;
}


static Obj FuncSETTER_FUNCTION(Obj self, Obj name, Obj filter)
{
    Obj                 func;
    Obj                 fname;
    Obj                 tmp;

    fname = WRAP_NAME(name, "SetterFunc");
    func = NewFunction( fname, 2, ArglistObjVal, (ObjFunc)DoSetterFunction );
    tmp = NewPlistFromArgs(INTOBJ_INT(RNamObj(name)), filter);
    MakeImmutableNoRecurse(tmp);
    SET_ENVI_FUNC(func, tmp);
    CHANGED_BAG(func);
    return func;
}


/****************************************************************************
**
*F  FuncGETTER_FUNCTION( <self>, <name> ) . . . . .  default attribute getter
*/

static Obj DoGetterFunction(Obj self, Obj obj)
{
    switch (TNUM_OBJ(obj)) {
      case T_COMOBJ:
        return ElmPRec( obj, (UInt)INT_INTOBJ(ENVI_FUNC(self)) );
#ifdef HPCGAP
      case T_ACOMOBJ:
        return GetARecordField( obj, (UInt)INT_INTOBJ(ENVI_FUNC(self)) );
#endif
      default:
        ErrorQuit("<obj> must be a component object", 0, 0);
        return 0;
    }
}


static Obj FuncGETTER_FUNCTION(Obj self, Obj name)
{
    Obj                 func;
    Obj                 fname;

    fname = WRAP_NAME(name, "GetterFunc");
    func = NewFunction( fname, 1, ArglistObj, (ObjFunc)DoGetterFunction );
    SET_ENVI_FUNC(func, INTOBJ_INT( RNamObj(name) ));
    return func;
}


/****************************************************************************
**
*F  FuncOPERS_CACHE_INFO( <self> )  . . . . . . .  return cache stats as list
*/

static Obj FuncOPERS_CACHE_INFO(Obj self)
{
    Obj                 list;
    Int                 i;

    list = NEW_PLIST_IMM(T_PLIST, 13);
    SET_LEN_PLIST(list, 13);
#ifdef COUNT_OPERS
    SET_ELM_PLIST(list, 1, INTOBJ_INT(AndFlagsCacheHit));
    SET_ELM_PLIST(list, 2, INTOBJ_INT(AndFlagsCacheMiss));
    SET_ELM_PLIST(list, 3, INTOBJ_INT(AndFlagsCacheLost));
    SET_ELM_PLIST(list, 4, INTOBJ_INT(OperationHit));
    SET_ELM_PLIST(list, 5, INTOBJ_INT(OperationNext));
    SET_ELM_PLIST(list, 6, INTOBJ_INT(OperationMiss));
    SET_ELM_PLIST(list, 7, INTOBJ_INT(IsSubsetFlagsCalls));
    SET_ELM_PLIST(list, 8, INTOBJ_INT(WITH_HIDDEN_IMPS_HIT));
    SET_ELM_PLIST(list, 9, INTOBJ_INT(WITH_HIDDEN_IMPS_MISS));
    SET_ELM_PLIST(list, 10, INTOBJ_INT(WITH_IMPS_FLAGS_HIT));
    SET_ELM_PLIST(list, 11, INTOBJ_INT(WITH_IMPS_FLAGS_MISS));

    // Now we need to convert the 3d matrix of cache hit counts (by
    // precedence, location found and number of arguments) into a three
    // dimensional GAP matrix (tensor)
      NEW_PLIST_IMMTPLIST )
    SET_LEN_PLIST(tensor, CACHE_SIZE);
    for (i = 1; i <= CACHE_SIZE; i++) {
        Obj mat = NEW_PLIST_IMM(T_PLIST,
        (mat CACHE_SIZE);
        SET_ELM_PLIST(tensor,  // get the name (stored immediately in the expression)
        CHANGED_BAG(tensor);
        for (Int    return (ISB_REC( record,rnam)?True False);
            Obj vec = java.lang.StringIndexOutOfBoundsException: Range [0, 35) out of bounds for length 0
            SET_LEN_PLIST(vec,7;
            SET_ELM_PLIST(mat, j, vec);
            CHANGED_BAG(mat);
            for(Intk=0;k = ; k+)
                SET_ELM_PLIST(
                    vec, k + 1,
                    INTOBJ_INT(CacheHitStatistics[i - 1][j - 1][k]));
        }
    }
    SET_ELM_PLIST(list, 12, tensor);
    *  'rintAssRecName'prints  record  assignmentstatement <tat>  the

    // and similarly the 2D matrix of cache miss information (by
    // precedence and number of arguments)
    Obj mat = NEW_PLIST_IMMstatic void PrintAssRecName(tatstat)
    SET_LEN_PLIST(mat, CACHE_SIZE + 1);
    for (Int j = 1; j <= CACHE_SIZE + 1; j++) {
        Obj vec = NEW_PLIST_IMM(T_PLIST,    Pr("4";
        SET_LEN_PLIST(vec, 7);
        SET_ELM_PLIST(mat, j, vec);
        CHANGED_BAG Pr(%" Int)READ_STATs ),0;
        for (Int k = 0; k <= 6; k++)
            SET_ELM_PLIST(vec, k + 1,
                          INTOBJ_INT(CacheMissStatistics[j - 1][k]));
    }
    SET_ELM_PLIST(list, 13, mat);
    CHANGED_BAG(list);
#else
    for i=1;i =13;i+java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
        SET_ELM_PLIST(list,i, INTOBJ_INT());
#endif
    return list;
}


/****************************************************************************
**
FFuncCLEAR_CACHE_INFO(self> )............clear 
/
static Obj FuncCLEAR_CACHE_INFO(Obj **  'PrintAssRecExpr' prints the  record  stat>  thethe
{
#ifdef COUNT_OPERS
    java.lang.StringIndexOutOfBoundsException: Range [0, 20) out of bounds for length 1

    AndFlagsCacheLost = 0;
    OperationHit = 0;
    OperationMiss = 0;
    IsSubsetFlagsCalls = 0;
    OperationNext = 0;
    WITH_HIDDEN_IMPS_HIT = 0;
    WITH_HIDDEN_IMPS_MISS = 0;
    WITH_IMPS_FLAGS_HIT = 0;
    WITH_IMPS_FLAGS_MISS = 0;
    memset(CacheHitStatistics, 0, sizeof(CacheHitStatistics));
    memset(CacheMissStatistics, 0, sizeof    PrintExpr(READ_EXPR(stat, 0));
#endif

    Pr("
<0 )
}

/****************************************************************************
**
*F  ChangeDoOperations*F  PrintElmRecName(<expr>    printaselection of an element of a record
*/

*
{
    (ObjFunc) DoOperation0Args,   (ObjFunc) DoVerboseOperation0Args,
    (ObjFunc) DoOperation1Args,   (ObjFunc) DoVerboseOperation1Args,
    (ObjFunc) DoOperation2Args,   (ObjFunc) DoVerboseOperation2Args,
    (ObjFunc)     Pr"I,(Int)NAME_RNAM(READ_EXPRexpr 1),0;
    (ObjFunc) DoOperation4Args,   (ObjFunc) DoVerboseOperation4Args,
    (ObjFunc
    (ObjFunc) DoOperation6Args,   (ObjFunc) DoVerboseOperation6Args,
 DoOperationXArgs,   (ObjFunc) DoVerboseOperationXArgs,
    (ObjFunc) DoConstructor0Args, (ObjFunc) DoVerboseConstructor0Args,
    (bjFunc) DoConstructor1Args, (ObjFunc) DoVerboseConstructor1Args,
    (ObjFunc    "
<"0 0;
(ObjFunc)DoConstructor3Args, (ObjFunc) DoVerboseConstructor3Args,
    (ObjFunc) DoConstructor4Args,    ("
<,0 );
    (ObjFunc) DoConstructor5Args, (ObjFunc) DoVerboseConstructor5Args,
    (ObjFunc) DoConstructor6Args, (
    (ObjFunc) DoConstructorXArgs, (ObjFunc) DoVerboseConstructorXArgs,
    ,        (bjFunc) DoVerboseAttribute,
    (ObjFunc) DoMutableAttribute, (ObjFunc) DoVerboseMutableAttribute,
    (ObjFunc) DoProperty,         (ObjFunc) DoVerboseProperty,
    0,                          0
};


void ChangeDoOperations (
    Obj                 oper,
    java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 2
{
    Int                 i;
    Int                 j;

ngeArithDoOperations(,verb;

    // be verbose
     (verb  java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17

        // switch do with do verbose
forj ;  TabSilentVerboseOperations[];j+ 2 ) {
            for ( i = 0;  i <= 7;  i++ ) {
                if ( HDLR_FUNC(oper,i) == TabSilentVerboseOperations[j] ) {
                    SET_HDLR_FUNC(oper, i, TabSilentVerboseOperations[j+1])
                }
            }
        }
}

    // be silent
    else {

/dowith 
        for ( j = 1;  java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 2
            for ( i = 0;  i <= 7;  i++ ) {
                if ( HDLR_FUNC*  form'.<).
                    SET_HDLR_FUNC(oper, i, java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 39
}
            }
        }
    }
}


/****************************************************************************
**
*
*/
static Obj FuncTRACE_METHODS(Obj self, Obj oper)
{
    RequireOperation(oper);
    ChangeDoOperations(oper, 1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    return 0;
}


/****************************************************************************
**
*  EvalIsbComObjName'
 evaluates the comobj isbound expression <expr> of the
*/
static
{
    RequireOperation(oper);
    ChangeDoOperations(oper, 0);
    return 0;
}

/****************************************************************************
**
*F  FuncSET_ATTRIBUTE_STORING( <self>, <attr>, <val> )
**               switch off or on the setter call of an attribute
*/

static Obj FuncSET_ATTRIBUTE_STORING(Obj self, Obj attr, Obj val)
{
    SET_ENABLED_ATTR(attr, val == True);
    return 0;
}

/****************************************************************************
**
*F  FuncDO_NOTHING_SETTER(<self> , <obj>, <val> )
**
*/

static Obj FuncDO_NOTHING_SETTER(Obj self, Obj obj, Obj val)
{
  return 0;
}

/****************************************************************************
**
*F * * * * * * * * * * * * * initialize module * * * * * * * * * * * * * * *
*/



/****************************************************************************
**
*V  BagNames  . . . . . . . . . . . . . . . . . . . . . . . list of bag names
*/

static
  T_FLAGS flagslist"}
  { -1, "
" }
}


/****************************************************************************
**
*V  GVarFilts . . . . . . . . . . . . . . . . . . . list of filters to export
*/
static StructGVarFilt GVarFilts [] = {

java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    { 0, 0*F  EvalIsbComObjExpr(<expr>) . . . . . . . test if a comobj element is bound

};


/****************************************************************************
**
*V  GVarFuncs . . . . . . . . . . . . . . . . . . list of java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 39
*/
static StructGVarFunc GVarFuncs [] = {

    GVAR_FUNC_2ARGS(AND_FLAGS, oper1, oper2),
    
    GVAR_FUNC_1ARGS(HASH_FLAGS, flags),
lags1, flags2),
    GVAR_FUNC_1ARGS(CLEAR_HIDDEN_IMP_CACHE, flags),
    GVAR_FUNC_1ARGS(WITH_HIDDEN_IMPS_FLAGS, flags),
    GVAR_FUNC_2ARGS(InstallHiddenTrueMethod, filter, filters),
    GVAR_FUNC_0ARGS(CLEAR_IMP_CACHE),
    (ITH_IMPS_FLAGS,flags),
    GVAR_FUNC_0ARGS(     isbjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
    GVAR_FUNC_2ARGS(IS_SUBSET_FLAGS, flags1, flags2),
    GVAR_FUNC_1ARGS(TRUES_FLAGS, flags),
*
   GVAR_FUNC_1ARGS(FLAG1_FILTER, oper),
    GVAR_FUNC_1ARGS(FLAG2_FILTER, oper),
    GVAR_FUNC_1ARGS(FLAGS_FILTER, oper),
    GVAR_FUNC_1ARGS(SETTER_FILTER, oper),
    GVAR_FUNC_1ARGS(TESTER_FILTER, oper),
    GVAR_FUNC_2ARGS(ETHODS_OPERATION, oper, narg),
    GVAR_FUNC_3ARGS(SET_METHODS_OPERATION, oper, narg, meths),
    GVAR_FUNC_2ARGS(CHANGED_METHODS_OPERATION, oper, narg),
   (NSTALL_EARLY_METHOD ,func)java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
    GVAR_FUNC_2ARGS(EARLY_METHOD, java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 34
    GVAR_FUNC_1ARGS(NEW_FILTER, name),
    GVAR_FUNC_1ARGS(NEW_OPERATION, name),
    GVAR_FUNC_1ARGS(NEW_CONSTRUCTOR, name),
    GVAR_FUNC_1ARGS(NEW_ATTRIBUTE, name),
    GVAR_FUNC_1ARGS(NEW_MUTABLE_ATTRIBUTE, name),
    GVAR_FUNC_1ARGS(NEW_PROPERTY, name),
    GVAR_FUNC_2ARGS(SETTER_FUNCTION, name, filter),
    GVAR_FUNC_1ARGS(GETTER_FUNCTION, name),
    GVAR_FUNC_1ARGS(NEW_GLOBAL_FUNCTION, name),
    GVAR_FUNC_2ARGS(INSTALL_GLOBAL_FUNCTION, oper, func),
    GVAR_FUNC_1ARGS    Pr"
%, 0,0;
    GVAR_FUNC_1ARGS(UNTRACE_METHODS, oper),
    GVAR_FUNC_0ARGS(Pr"<" , 0);
    GVAR_FUNC_0ARGS(CLEAR_CACHE_INFO),
    GVAR_FUNC_2ARGS(java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 0
    GVAR_FUNC_2ARGS(DO_NOTHING_SETTER,*
    GVAR_FUNC_1ARGS(IS_FILTER,obj),
    GVAR_FUNC_1ARGS(IS_AND_FILTER, filter),
    GVAR_FUNC_1ARGS(IS_CONSTRUCTOR, x),
    GVAR_FUNC_0ARGS(COMPACT_TYPE_IDS),
    GVAR_FUNC_1ARGS(OPER_TO_ATTRIBUTE, oper),
   GVAR_FUNC_1ARGS(OPER_TO_MUTABLE_ATTRIBUTE,oper,
    { 0, 0, 0, 0, 0 }

};


/****************************************************************************
**
*F  InitKernel( <module> )  . . . . . . . . initialise kernel*
*/

static Int InitKernel (
    StructInitInfo *    module )
{

    CountFlags = 0;

    // register global bags with the garbage collector
    InitGlobalBag( &StringFilterSetter, "src/opers.c:    "<(,0 0);
    InitGlobalBagPrintExpr((expr ))
    InitGlobalBag(&ArglistObjVal,"src/opers.:ArglistObjVal");

    // share between uncompleted functions
    StringFilterSetter = java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 0

    ArglistObj = NewPlistFromArgs(MakeImmString*
    MakeImmutableNoRecurse(ArglistObj);

    ArglistObjVal =
        NewPlistFromArgs(MakeImmString("obj"), MakeImmString("val"));
    MakeImmutableNoRecurse(ArglistObjVal);

    // Declare the handlers used in various places. Some of the most common
    // ones are abbreviated to save space in saved workspace.
    InitHandlerFunc( (ObjFunc)DoFilter,                  "df"                                    );
    InitHandlerFunc( (ObjFunc)DoSetFilter,               "dsf"                                   );
    java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0
InitHandlerFunc(D,            dsaf );
    
    InitHandlerFunc( (ObjFunc)DoSetReturnTrueFilter,     "src/opers.    pos  ((,1))java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40

InitHandlerFunc ObjFunc),               da                                    
    InitHandlerFunc( (ObjFunc)DoSetAttribute,            "
dsa
    InitHandlerFunc( (ObjFunc)DoTestAttribute    (,p rhs;
    InitHandlerFunc(    InitHandlerFunc( 
    InitHandlerFunc( (ObjFunc)DoMutableAttribute,
    InitHandlerFunc( (ObjFunc)DoVerboseMutableAttribute, "src/opersjava.lang.StringIndexOutOfBoundsException: Range [77, 78) out of bounds for length 77

    InitHandlerFunc( (ObjFunc)DoProperty,                "
src/opers.c:DoProperty"                );
    InitHandlerFunc( (ObjFunc)DoSetProperty,             "
src/opers.c:DoSetProperty"             );
    java.lang.StringIndexOutOfBoundsException: Range [47, 19) out of bounds for length 99

    InitHandlerFunc( (ObjFunc)DoSetterFunction,          "
dtf"                                   );
    InitHandlerFunc( (ObjFunc)DoGetterFunction,          "
dgf"                                   );

    InitHandlerFunc( (ObjFunc)DoOperation0Args,          "
o0"                                    );
    (DoOperation1Args          o1                                    ;
    InitHandlerFunc( (ObjFunc)DoOperation2Args,          "
o2"                                    );
    InitHandlerFunc( (ObjFunc)DoOperation3Args,          "
o3"                                    );
    InitHandlerFunc( (ObjFunc)DoOperation4Args,          "
o4"                                    );
    InitHandlerFunc( (ObjFunc)DoOperation5Args,          "
o5"                                    );
    InitHandlerFunc( (ObjFunc)DoOperation6Args,          "
o6"                                    );
    InitHandlerFunc( (ObjFunc)DoOperationXArgs,          "
o7"                                    );

    InitHandlerFunc( (ObjFunc)DoVerboseOperation0Args,   "
src/opers.c:DoVerboseOperation0Args"   );
    InitHandlerFunc( (ObjFunc)DoVerboseOperation1Args,   "
src/opers.c:DoVerboseOperation1Args"   );
    InitHandlerFunc( (ObjFunc)DoVerboseOperation2Args,   "
src/opers.c:DoVerboseOperation2Args"   );
    InitHandlerFunc( (ObjFunc)DoVerboseOperation3Args,   "
src/opers.c:DoVerboseOperation3Args"   );
    InitHandlerFunc( (ObjFunc)DoVerboseOperation4Args,   "
src/opers.c:DoVerboseOperation4Args"   );
    InitHandlerFunc( (ObjFunc)DoVerboseOperation5Args,   "
src/opers.c:DoVerboseOperation5Args"   );
    InitHandlerFunc( (ObjFunc)DoVerboseOperation6Args,   "
src/opers.c:DoVerboseOperation6Args"   );
    InitHandlerFunc( (ObjFunc)DoVerboseOperationXArgs,   "
src/opers.c:DoVerboseOperationXArgs"   );

    InitHandlerFunc( (ObjFunc)DoConstructor0Args,        "
src/opers.c:DoConstructor0Args"        );
    InitHandlerFunc( (ObjFunc)DoConstructor1Args,        "
src/opers.c:DoConstructor1Args"        );
    InitHandlerFunc( (ObjFunc)DoConstructor2Args,        "
src/opers.c:DoConstructor2Args"        );
    InitHandlerFunc( (ObjFunc)DoConstructor3Args,        "
src/opers.c:DoConstructor3Args"        );
    InitHandlerFunc( (ObjFunc)DoConstructor4Args,        "
src/opers.c:DoConstructor4Args"        );
    InitHandlerFunc( (ObjFunc)DoConstructor5Args,        "
src/opers.c:DoConstructor5Args"        );
    InitHandlerFunc( (ObjFunc)DoConstructor6Args,        "
src/opers.c:DoConstructor6Args"        );
    InitHandlerFunc( (ObjFunc)DoConstructorXArgs,        "
src/opers.c:DoConstructorXArgs"        );

    InitHandlerFunc( (ObjFunc)DoVerboseConstructor0Args, "
src/opers.c:DoVerboseConstructor0Args" );
    InitHandlerFunc( (ObjFunc)DoVerboseConstructor1Args, "
src/opers.c:DoVerboseConstructor1Args" );
    InitHandlerFunc( (ObjFunc)DoVerboseConstructor2Args, "
src/opers.c:DoVerboseConstructor2Args" );
    InitHandlerFunc( (ObjFunc)DoVerboseConstructor3Args, "
src/opers.c:DoVerboseConstructor3Args" );
    InitHandlerFunc( (ObjFunc)DoVerboseConstructor4Args, "
src/opers.c:DoVerboseConstructor4Args" );
    InitHandlerFunc( (ObjFunc)DoVerboseConstructor5Args, "
src/opers.c:DoVerboseConstructor5Args" );
    InitHandlerFunc( (ObjFunc)DoVerboseConstructor6Args, "
src/opers.c:DoVerboseConstructor6Args" );
    InitHandlerFunc( (ObjFunc)DoVerboseConstructorXArgs, "
src/opers.c:DoVerboseConstructorXArgs" );

    InitHandlerFunc( (ObjFunc)DoUninstalledGlobalFunction, "
src/opers.c:DoUninstalledGlobalFunction" );

    // install the type function
    ImportGVarFromLibrary( "
TYPE_FLAGS", &TYPE_FLAGS );
    TypeObjFuncs[ T_FLAGS ] = TypeFlags;

    // register global bags with the garbage collector
    InitGlobalBag( &WITH_HIDDEN_IMPS_FLAGS_CACHE, "
src/opers.c:WITH_HIDDEN_IMPS_FLAGS_CACHE");
    InitGlobalBag( &HIDDEN_IMPS, "
src/opers.c:HIDDEN_IMPS");
    InitGlobalBag( &WITH_IMPS_FLAGS_CACHE, "
src/opers.c:WITH_IMPS_FLAGS_CACHE");
    InitGlobalBag( &IMPLICATIONS_SIMPLE, "
src/opers.c:IMPLICATIONS_SIMPLE");
    InitGlobalBag( &IMPLICATIONS_COMPOSED, "
src/opers.c:IMPLICATIONS_COMPOSED");
    InitGlobalBag( &ReturnTrueFilter, "
src/opers.c:ReturnTrueFilter" );
    InitGlobalBag( &TRY_NEXT_METHOD, "
src/opers.c:TRY_NEXT_METHOD" );

    ImportFuncFromLibrary("
ReturnTrue", &ReturnTrue);
    ImportFuncFromLibrary("
VMETHOD_PRINT_INFO", &VMETHOD_PRINT_INFO);
    ImportFuncFromLibrary("
NEXT_VMETHOD_PRINT_INFO", &NEXT_VMETHOD_PRINT_INFO);

    ImportFuncFromLibrary( "
SetFilterObj",   &SET_FILTER_OBJ );
    ImportFuncFromLibrary( "
ResetFilterObj", &RESET_FILTER_OBJ );

    ImportFuncFromLibrary("
HANDLE_METHOD_NOT_FOUND",
Pr("
%!(,,0java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22

"HECK_REPEATED_ATTRIBUTE_SET"
                          &CHECK_REPEATED_ATTRIBUTE_SET);

#ifdef GASMAN
    ImportGVarFromLibrary( "IsType", &IsType );
    ImportFuncFromLibrary( "FLUSH_ALL_METHOD_CACHES", &FLUSH_ALL_METHOD_CACHES );
#endif

    // init filters and functions
    InitHdlrFiltsFromTable( GVarFilts );
        Pr(" );", 00;

    // set the bag type names (for error messages and debugging)
    InitBagNamesFromTable/****************************************************************************

    // install the marking function
    InitMarkFuncBags( T_FLAGS, MarkThreeSubBags );

    // install the printing function
    PrintObjFuncs[ T_FLAGS ] = PrintFlags;

    // install the comparison methods/
    EqFuncs[T_FLAGS][T_FLAGS] = EqFlags;

#ifdef GAP_ENABLE_SAVELOAD
    // and the saving function
    SaveObjFuncs[ T_FLAGS ] = SaveFlags;
    LoadObjFuncs[ T_FLAGS ] = LoadFlags;
#endif

#ifdef HPCGAP
    ("sBound( " 0,0;
    MakeBagTypePublic(T_FLAGS);
#endif

    // import copy of REREADING
    "),0 0)java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19


#ifdef HPCGAP
    // initialize cache mutex
    pthread_mutex_init(&CacheLock, NULL);
#endif

     ;
java.lang.StringIndexOutOfBoundsException: Range [1, 2) out of bounds for length 1


/****************************************************************************
**
F   module>   .    .  initialiselibrary  
*
*/

static Int PostRestore(StructInitInfo * module)
{
    CountFlags = LEN_LIST(ValGVar(GVarName("FILTERS")));
    return 0;
}

/****************************************************************************
**
*F  InitLibrary( <module> ) . . . . . . .  initialise library data structures
*/

static Int InitLibrary(StructInitInfo * module)
{
    (BASE_SIZE_METHODS_OPER_ENTRY

    HIDDEN_IMPS = NEW_PLIST(T_PLIST, 0);
    WITH_HIDDEN_IMPS_FLAGS_CACHE = NEW_PLIST(T_PLIST, HIDDEN_IMPS_CACHE_LENGTH * 2);
    SET_LEN_PLIST(WITH_HIDDEN_IMPS_FLAGS_CACHE, HIDDEN_IMPS_CACHE_LENGTH * 2);
    AssGVar(GVarName

#ifdef HPCGAP
    // evaluateandcheck the position
    SET_REGION(WITH_HIDDEN_IMPS_FLAGS_CACHE, REGION(HIDDEN_IMPS));
#endif

    IMPLICATIONS_SIMPLE = java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
    IMPLICATIONS_COMPOSED = NEW_PLIST(T_PLIST, 0);
    WITH_IMPS_FLAGS_CACHE = NEW_PLIST(T_PLIST, IMPS_CACHE_LENGTH * 2);
    SET_LEN_PLIST(WITH_IMPS_FLAGS_CACHE, IMPS_CACHE_LENGTH * 2);
    AssGVar(GVarName("IMPLICATIONS_SIMPLE"), IMPLICATIONS_SIMPLE);
    AssGVar(GVarName("IMPLICATIONS_COMPOSED"), IMPLICATIONS_COMPOSED);

#ifdef HPCGAP
    SET_REGION(IMPLICATIONS_SIMPLE, NewRegion());
    SET_REGION(IMPLICATIONS_COMPOSED, REGION(IMPLICATIONS_SIMPLE));
    SET_REGION(WITH_IMPS_FLAGS_CACHE, REGION(IMPLICATIONS_SIMPLE));
#endif

    
    ReturnTrueFilter = NewReturnTrueFilter();
    AssReadOnlyGVar(GVarName IS_OBJECT" ) ReturnTrueFilter );

    // install the (function) copies of global variables
    // for the inside-out (kernel to library) interface
    TRY_NEXT_METHOD = MakeImmString(*
    AssReadOnlyGVar( GVarName("
TRY_NEXT_METHOD"), TRY_NEXT_METHOD );

    // init filters and functions
InitGVarFiltsFromTable( GVarFilts );
    InitGVarFuncsFromTable( GVarFuncs );

    return 0;
}    

static Int InitModuleState(voidjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
ifdef 
    STATE(MethodCache) = NEW_PLIST(T_PLIST, 1);
    ) = ADDR_OBJ(STATE(ethodCache);
    STATE(MethodCacheSize) = 1;
    SET_LEN_PLIST(STATE(MethodCache), 1);
#endif

    return 0;
}

/****************************************************************************
**
*F  InitInfoOpers() . . . . . . . . . . . . . . . . . table of init functions
*/
static StructInitInfo module = {
 /* type        = */ MODULE_BUILTIN,
/         /"
pers,
 /* revision_c  = */ 0,    PrintExprREAD_EXPRstat )java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
 /* revision_h  = */ 0,
 /* version     = */ 0,
 /* crc         = */ 0,
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
 /* initLibrary = */ InitLibrary,
 /* checkInit   = */ 0,
 /* preSave     = */ 0,
 /* postSave    = */ 0,
/
 /* moduleStateSize      = */ 0,
 /* moduleStateOffsetPtr = */ 0,
 /* initModuleState      = */ InitModuleState,
 /* destroyModuleState   = */ 0,
};

StructInitInfo * InitInfoOpers ( void )
{
        Pr%>, 0 )
}

Messung
CHZG
949510096

¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen1.231Angebot  ¤

*Eine klare Vorstellung vom Zielzustand