• Home
  • Raw
  • Download

Lines Matching refs:numkeys

85 @synthesize numkeys;
106 numkeys = 0;
135 tmp.numkeys = 1;
163 if ( numkeys == 1 && nodeType != LEAF ) {
195 [tnew insert:self.keys[numkeys-1] value:self index:0 split:&h];
196 [tnew insert:q.keys[q.numkeys-1] value:q index:1 split:&h];
219 if ( self.numkeys == 0 && self.nodeType == LEAF )
222 for (i = 0; i < t.numkeys; i++) {
249 * i == t.numkeys if no existing insertion branch found.
255 for ( i = 0; i < numkeys; i++ ) {
267 if ( i == numkeys && match == YES ) {
289 nkey = tsb.numkeys - 1;
294 if ( numkeys < BTHNODESIZE+1 ) {
307 if ( btNodes[i].numkeys >= BTHNODESIZE+1 ) {
316 } else if ( i < numkeys-1 ) { /* look to the right first */
317 if ( self.btNodes[i+1].numkeys > BTHNODESIZE+1 ) { /* carry from right */
326 if ( self.btNodes[i-1].numkeys > BTHNODESIZE+1 ) { /* carry from left */
355 for (i = 0; i < numkeys; i++) {
374 tmp = self.btNodes[numkeys-1];
375 keys[numkeys-1] = tmp.keys[tmp.numkeys-1];
376 if ( i != numkeys-1 ) {
378 keys[i] = tmp.keys[tmp.numkeys-1];
392 if ( numkeys < BTNODESIZE ) {
398 numkeys++;
410 numkeys++;
419 b.numkeys++;
421 numkeys = b.numkeys = BTHNODESIZE+1;
434 nkey = t1.numkeys-1;
451 nkey = t0.numkeys - 1;
471 self.numkeys--;
487 numkeys++;
507 for (j=t0.numkeys, k=0; j < BTNODESIZE && k < t1.numkeys; j++, k++) {
510 t0.numkeys++;
516 nkeys = t0.numkeys - 1;
521 if (t1.rnodeid != 0xffff && i < numkeys - 2) {
527 self.numkeys--;
555 t1.numkeys = BTNODESIZE-k;
556 self.numkeys = k;
573 for (i = 0; i < t.numkeys; i++) {
618 for (j = 0; j < t.numkeys; j++) {
622 NSLog(@"Nodeid = %d, nodeType = %s, numkeys = %d, numrecs = %d\n",
623 t.nodeid, (t.nodeType == BTNODE)?@"NODE":@"LEAF", t.numkeys, t.numrecs);
625 for (i = 0; i < t.numkeys; i++) {
640 for (i = 0; i < t.numkeys; i++) {
658 while ( j+1 < numkeys ) {
672 for ( k = numkeys; k > j; k-- ) {
690 self.dict.data = [[NSMutableData dataWithLength:(numkeys * sizeof(id))] retain];
696 keycnt = t.numkeys;
723 keycnt = t.numkeys;
738 for (i = 0; i < numkeys; i++ ) {
741 for (i = 0; i < numkeys; i++ ) {