Lines Matching defs:keep
65 /* when many peers are available, keep idle ones this long */
68 /* when few peers are available, keep idle ones this long */
80 /* amount of time to keep a list of request pieces lying around
3715 struct peer_atom ** keep = tr_new( struct peer_atom*, atomCount );
3718 /* keep the ones that are in use */
3722 keep[keepCount++] = atom;
3727 /* if there's room, keep the best of what's left */
3732 keep[keepCount++] = test[i++];
3742 qsort( keep, keepCount, sizeof( struct peer_atom * ), compareAtomPtrsByAddress );
3744 tr_ptrArrayAppend( &t->pool, keep[i] );
3750 tr_free( keep );