43int Segment_put(SEGMENT *SEG,
const void *buf, off_t row, off_t col)
48 memcpy(SEG->cache + ((
size_t)row * SEG->ncols + col) * SEG->len, buf,
54 SEG->address(SEG, row, col, &n, &index);
56 G_warning(
"segment lib: put: pagein failed");
60 SEG->scb[i].dirty = 1;
62 memcpy(&SEG->scb[i].buf[index], buf, SEG->len);
int seg_pagein(SEGMENT *SEG, int n)
Internal use only.