/dports/net/drawterm/drawterm/libmp/ |
H A D | mpmul.c | 21 int u0len, u1len, v0len, v1len, reslen; in mpkaratsuba() local 32 v1len = blen-n; in mpkaratsuba() 35 v1len = 0; in mpkaratsuba() 61 if(mpveccmp(v0, v0len, v1, v1len) < 0){ in mpkaratsuba() 63 mpvecsub(v1, v1len, v0, v1len, u1v1); in mpkaratsuba() 65 mpvecsub(v0, v0len, v1, v1len, u1v1); in mpkaratsuba() 72 if(v1len > 0) in mpkaratsuba() 73 mpvecmul(u1, u1len, v1, v1len, u1v1); in mpkaratsuba() 83 if(v1len > 0){ in mpkaratsuba() 84 mpvecadd(res+n, reslen-n, u1v1, u1len+v1len, res+n); in mpkaratsuba() [all …]
|
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/libmp/port/ |
H A D | mpmul.c | 21 int u0len, u1len, v0len, v1len, reslen; in mpkaratsuba() local 32 v1len = blen-n; in mpkaratsuba() 35 v1len = 0; in mpkaratsuba() 61 if(mpveccmp(v0, v0len, v1, v1len) < 0){ in mpkaratsuba() 63 mpvecsub(v1, v1len, v0, v1len, u1v1); in mpkaratsuba() 65 mpvecsub(v0, v0len, v1, v1len, u1v1); in mpkaratsuba() 72 if(v1len > 0) in mpkaratsuba() 73 mpvecmul(u1, u1len, v1, v1len, u1v1); in mpkaratsuba() 83 if(v1len > 0){ in mpkaratsuba() 84 mpvecadd(res+n, reslen-n, u1v1, u1len+v1len, res+n); in mpkaratsuba() [all …]
|
/dports/cad/gmsh/gmsh-4.9.2-source/contrib/Revoropt/include/Revoropt/Mesh/ |
H A D | splitting_def.hpp | 567 const Scalar v1len = v1cos == 1 ? e_len : radius/sqrt(1-v1cos*v1cos) ; in edge_split() local 571 if(e_len > (v0len + v1len + radius)) { in edge_split() 582 vsplit1_pos = v1_pos - v1len/e_len*edge_vect ; in edge_split() 588 } else if(e_len > (v0len + v1len)) { in edge_split() 596 vsplit_pos = (v1len*v0_pos + v0len*v1_pos) / (v0len + v1len) ; in edge_split() 610 const Scalar cutlen = split_type == SPLIT_FIRST ? v0len : v1len ; in edge_split()
|
/dports/graphics/plotutils/plotutils-2.6/libplot/ |
H A D | g_range.c | 176 double v1len, v2len; in _set_line_join_bbox() local 188 v1len = VLENGTH(v1); in _set_line_join_bbox() 190 if (v1len == 0.0 || v2len == 0.0) in _set_line_join_bbox() 200 cosphi = ((v1.x * v2.x + v1.y * v2.y) / v1len) / v2len; in _set_line_join_bbox()
|
/dports/databases/iowow/iowow-1.4.13/src/kv/ |
H A D | iwkv.c | 105 v1len -= step; in _cmp_keys_prefix() 107 if (v1len < 1) { in _cmp_keys_prefix() 109 return v2len - v1len; in _cmp_keys_prefix() 112 if ((v2len != v1len) || (v2len > IW_VNUMBUFSZ) || (v1len > IW_VNUMBUFSZ)) { in _cmp_keys_prefix() 113 return v2len - v1len; in _cmp_keys_prefix() 117 memcpy(vbuf, u1, v1len); in _cmp_keys_prefix() 138 if ((v2len != v1len) || (v2len > IW_VNUMBUFSZ) || (v1len > IW_VNUMBUFSZ)) { in _cmp_keys_prefix() 139 return v2len - v1len; in _cmp_keys_prefix() 143 memcpy(vbuf, v1, v1len); in _cmp_keys_prefix() 164 v1len -= step; in _cmp_keys() [all …]
|
/dports/science/netcdf/netcdf-c-4.7.4/ncdump/ |
H A D | dumplib.c | 631 size_t v1len = ((nc_vlen_t *)v1p)->len; in ncvlen_val_equals() local 633 if (v1len != v2len) in ncvlen_val_equals() 643 for(i = 0; i < v1len; i++) { in ncvlen_val_equals()
|
/dports/math/libmesh/libmesh-1.6.2/contrib/netcdf/netcdf-c-4.6.2/ncdump/ |
H A D | dumplib.c | 631 size_t v1len = ((nc_vlen_t *)v1p)->len; in ncvlen_val_equals() local 633 if (v1len != v2len) in ncvlen_val_equals() 643 for(i = 0; i < v1len; i++) { in ncvlen_val_equals()
|
/dports/databases/pecl-redis/redis-5.3.5/ |
H A D | redis_commands.c | 296 size_t klen, v1len, v2len; in redis_key_str_str_cmd() local 299 &v1, &v1len, &v2, &v2len) == FAILURE) in redis_key_str_str_cmd() 304 *cmd_len = REDIS_CMD_SPPRINTF(cmd, kw, "kss", k, klen, v1, v1len, v2, v2len); in redis_key_str_str_cmd()
|
/dports/science/luscus/luscus_0.8.6/ |
H A D | gtk_gui.c | 255 double v1len, v1v2; in add_surface() local
|