Changeset 393d6b in git
- Timestamp:
- Jun 30, 1999, 5:42:14 PM (24 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- a63fdcb3c3e17833781f09f433f3a27e5b6618cf
- Parents:
- 3932494a14100776dd25479d8a30fd56fb8ea293
- Location:
- Singular
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/standard.lib
r393249 r393d6b 1 // $Id: standard.lib,v 1.3 3 1999-06-30 14:14:31Singular Exp $1 // $Id: standard.lib,v 1.34 1999-06-30 15:42:14 Singular Exp $ 2 2 ////////////////////////////////////////////////////////////////////////////// 3 3 4 version="$Id: standard.lib,v 1.3 3 1999-06-30 14:14:31Singular Exp $";4 version="$Id: standard.lib,v 1.34 1999-06-30 15:42:14 Singular Exp $"; 5 5 info=" 6 6 LIBRARY: standard.lib PROCEDURES WHICH ARE ALWAYS LOADED AT START-UP 7 7 8 8 stdfglm(ideal[,ord]) standard basis of the ideal via fglm [and ordering ord] 9 stdhilb(ideal )standard basis of the ideal using the Hilbert function9 stdhilb(ideal[,h]) standard basis of the ideal using the Hilbert function 10 10 groebner(ideal/module) standard basis of ideal or module using a 11 11 heuristically choosen method -
Singular/kstd1.cc
r393249 r393d6b 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: kstd1.cc,v 1.3 4 1999-04-30 10:39:53 obachmanExp $ */4 /* $Id: kstd1.cc,v 1.35 1999-06-30 15:42:11 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: … … 97 97 #ifdef KDEBUG 98 98 pTest((*h).p); 99 pTest(*with);99 //pTest(*with); 100 100 #endif 101 101 … … 1791 1791 } 1792 1792 #ifdef KDEBUG 1793 int i; 1794 for (i=0; i<IDELEMS(r); i++) pTest(r->m[i]); 1793 idTest(r); 1795 1794 #endif 1796 1795 if (toReset) -
Singular/mmisc.c
r393249 r393d6b 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: mmisc.c,v 1. 5 1999-03-19 17:42:31 obachmanExp $ */4 /* $Id: mmisc.c,v 1.6 1999-06-30 15:42:12 Singular Exp $ */ 5 5 6 6 /* … … 91 91 { 92 92 int mm_bytesAlloc = mm_bytesValloc + mm_bytesMalloc; 93 93 94 94 if ( ABS(mm_bytesAlloc - mm_printMark)>(100*1024) ) 95 95 { … … 104 104 void mmPrintStat() 105 105 { 106 int i, l, a; 107 108 #ifdef HAVE_SBRK 106 int i; 107 long l,a; 108 109 #ifdef HAVE_SBRK 109 110 printf("Physical:%dk ", (mmMemPhysical()+ 1023)/1024); 110 #endif 111 #endif 111 112 printf("Alloc:%dk ", (mmMemAlloc() + 1023)/1024); 112 113 printf("Used:%dk ", (mmMemUsed()+ 1023)/1024); … … 124 125 l = mmListLength(mm_theList[i].pages); 125 126 a = mmListLength(mm_theList[i].current); 126 printf("%d\t% d\t%d\t%d\t%d\t%d\n",127 printf("%d\t%ld\t%ld\t%d\t%ld\t%ld\n", 127 128 i, mmGetHeapBlockSize(&mm_theList[i]), l, 128 129 (l != 0 ? ((int) ((1.0 - … … 164 165 /********************************************************************** 165 166 * 166 * Some operations on linked lists of memory 167 * Some operations on linked lists of memory 167 168 * 168 169 **********************************************************************/ … … 172 173 void* nlist; 173 174 void* olist; 174 175 175 176 if (list == NULL) return NULL; 176 177 177 178 nlist = *((void**) list); 178 179 olist = list; 179 180 180 181 if (list == element) return nlist; 181 182 182 183 while (nlist != NULL && nlist != element) 183 184 { … … 185 186 nlist = *((void**) list); 186 187 } 187 188 188 189 if (nlist != NULL) *((void**) list) = *((void**) nlist); 189 190 190 191 return olist; 191 192 } … … 216 217 if (addr == NULL) 217 218 return (list == NULL); 218 219 219 220 while (list != NULL) 220 221 { … … 229 230 void* l1 = list; 230 231 void* l2; 231 232 232 233 int l = 0, i; 233 234 … … 247 248 return NULL; 248 249 } 249 250 250 251 251 252 int mmGListLength(void* list, int next) … … 274 275 if (addr == NULL) 275 276 return (list == NULL); 276 277 277 278 while (list != NULL) 278 279 { … … 287 288 void* l1 = list; 288 289 void* l2; 289 290 290 291 int l = 0, i; 291 292 … … 327 328 { 328 329 assume(l >= 0); 329 330 330 331 while (l) 331 332 { … … 338 339 { 339 340 assume(l >= 0); 340 341 341 342 while (l) 342 343 { -
Singular/mmprivate.h
r393249 r393d6b 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: mmprivate.h,v 1. 9 1999-04-15 09:57:04 obachmanExp $ */6 /* $Id: mmprivate.h,v 1.10 1999-06-30 15:42:13 Singular Exp $ */ 7 7 /* 8 8 * ABSTRACT … … 50 50 51 51 #define DebugOffsetFront (sizeof(DBMCB) - sizeof(void*)) 52 #define DebugOffsetBack 452 #define DebugOffsetBack SIZEOF_VOIDP 53 53 54 54 #define SizeFromRealSize( size ) (size - DebugOffsetFront - DebugOffsetBack)
Note: See TracChangeset
for help on using the changeset viewer.