pike.git / src / modules / _WhiteFish / whitefish.c

version» Context lines:

pike.git/src/modules/_WhiteFish/whitefish.c:404:    double proximity_coefficients[8];    double field_coefficients[65];    int numblobs, i;    Blob **blobs;       struct svalue *cb;    struct object *res;    struct array *_words, *_field;       /* 1: Get all arguments. */ -  get_all_args( "do_query_phrase", args, "%a%a%*", +  get_all_args( NULL, args, "%a%a%*",    &_words, &_field, &cb);       if( _field->size != 65 )    Pike_error("Illegal size of field_coefficients array (expected 65)\n" );       numblobs = _words->size;    if( !numblobs )    {    struct object *o = wf_resultset_new( );    pop_n_elems( args );
pike.git/src/modules/_WhiteFish/whitefish.c:496:    double proximity_coefficients[8];    double field_coefficients[65];    int numblobs, i, cutoff;    Blob **blobs;       struct svalue *cb;    struct object *res;    struct array *_words, *_field, *_prox;       /* 1: Get all arguments. */ -  get_all_args( "do_query_and", args, "%a%a%a%d%*", +  get_all_args( NULL, args, "%a%a%a%d%*",    &_words, &_field, &_prox, &cutoff, &cb);       if( _field->size != 65 )    Pike_error("Illegal size of field_coefficients array (expected 65)\n" );    if( _prox->size != 8 )    Pike_error("Illegal size of proximity_coefficients array (expected 8)\n" );       numblobs = _words->size;    if( !numblobs )    {
pike.git/src/modules/_WhiteFish/whitefish.c:597:    double proximity_coefficients[8];    double field_coefficients[65];    int numblobs, i, cutoff;    Blob **blobs;       struct svalue *cb;    struct object *res;    struct array *_words, *_field, *_prox;       /* 1: Get all arguments. */ -  get_all_args( "do_query_or", args, "%a%a%a%d%*", +  get_all_args( NULL, args, "%a%a%a%d%*",    &_words, &_field, &_prox, &cutoff, &cb);       if( _field->size != 65 )    Pike_error("Illegal size of field_coefficients array (expected 65)\n" );    if( _prox->size != 8 )    Pike_error("Illegal size of proximity_coefficients array (expected 8)\n" );       numblobs = _words->size;    if( !numblobs )    {