/dports/devel/bullet/bullet3-3.21/Extras/Serialize/BulletFileLoader/ |
H A D | bDefines.h | 113 char s_i, *p_i; \ 114 p_i = (char *)&(a); \ 115 s_i = p_i[0]; \ 116 p_i[0] = p_i[3]; \ 117 p_i[3] = s_i; \ 119 p_i[1] = p_i[2]; \ 129 p_i[0] = p_i[1]; \ 139 p_i[0] = p_i[7]; \ 142 p_i[1] = p_i[6]; \ 145 p_i[2] = p_i[5]; \ [all …]
|
/dports/devel/bullet/bullet3-3.21/src/Bullet3Serialize/Bullet2FileLoader/ |
H A D | b3Defines.h | 110 char s_i, *p_i; \ 111 p_i = (char *)&(a); \ 112 s_i = p_i[0]; \ 113 p_i[0] = p_i[3]; \ 114 p_i[3] = s_i; \ 116 p_i[1] = p_i[2]; \ 126 p_i[0] = p_i[1]; \ 136 p_i[0] = p_i[7]; \ 139 p_i[1] = p_i[6]; \ 142 p_i[2] = p_i[5]; \ [all …]
|
/dports/devel/py-bullet3/bullet3-3.21/src/Bullet3Serialize/Bullet2FileLoader/ |
H A D | b3Defines.h | 110 char s_i, *p_i; \ 111 p_i = (char *)&(a); \ 112 s_i = p_i[0]; \ 113 p_i[0] = p_i[3]; \ 114 p_i[3] = s_i; \ 116 p_i[1] = p_i[2]; \ 126 p_i[0] = p_i[1]; \ 136 p_i[0] = p_i[7]; \ 139 p_i[1] = p_i[6]; \ 142 p_i[2] = p_i[5]; \ [all …]
|
/dports/devel/godot/godot-3.2.3-stable/thirdparty/bullet/Bullet3Serialize/Bullet2FileLoader/ |
H A D | b3Defines.h | 110 char s_i, *p_i; \ 111 p_i = (char *)&(a); \ 112 s_i = p_i[0]; \ 113 p_i[0] = p_i[3]; \ 114 p_i[3] = s_i; \ 116 p_i[1] = p_i[2]; \ 126 p_i[0] = p_i[1]; \ 136 p_i[0] = p_i[7]; \ 139 p_i[1] = p_i[6]; \ 142 p_i[2] = p_i[5]; \ [all …]
|
/dports/devel/godot-tools/godot-3.2.3-stable/thirdparty/bullet/Bullet3Serialize/Bullet2FileLoader/ |
H A D | b3Defines.h | 110 char s_i, *p_i; \ 111 p_i = (char *)&(a); \ 112 s_i = p_i[0]; \ 113 p_i[0] = p_i[3]; \ 114 p_i[3] = s_i; \ 116 p_i[1] = p_i[2]; \ 126 p_i[0] = p_i[1]; \ 136 p_i[0] = p_i[7]; \ 139 p_i[1] = p_i[6]; \ 142 p_i[2] = p_i[5]; \ [all …]
|
/dports/devel/py-bullet3/bullet3-3.21/Extras/Serialize/BulletFileLoader/ |
H A D | bDefines.h | 113 char s_i, *p_i; \ 114 p_i = (char *)&(a); \ 115 s_i = p_i[0]; \ 116 p_i[0] = p_i[3]; \ 117 p_i[3] = s_i; \ 119 p_i[1] = p_i[2]; \ 129 p_i[0] = p_i[1]; \ 139 p_i[0] = p_i[7]; \ 142 p_i[1] = p_i[6]; \ 145 p_i[2] = p_i[5]; \ [all …]
|
/dports/cad/verilator/verilator-4.216/test_regress/t/ |
H A D | t_sys_plusargs.v | 25 p_i = 10; 28 if (p_i !== 10) $stop; 30 p_i = 0; 32 if (p_i !== 32'd1234) $stop; 34 p_i = 0; 38 p_i = 0; 42 p_i = 0; 100 if (p_i != 'b101) $stop; 106 p_i = 0; 108 $display("i='%d'",p_i); [all …]
|
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/filters/include/pcl/filters/impl/ |
H A D | covariance_sampling.hpp | 65 for (std::size_t p_i = 0; p_i < indices_->size (); ++p_i) in initCompute() local 71 for (std::size_t p_i = 0; p_i < indices_->size (); ++p_i) in initCompute() local 73 scaled_points_[p_i] = (*input_)[(*indices_)[p_i]].getVector3fMap () - centroid; in initCompute() 77 for (std::size_t p_i = 0; p_i < scaled_points_.size (); ++p_i) in initCompute() local 116 for (std::size_t p_i = 0; p_i < scaled_points_.size (); ++p_i) in computeCovarianceMatrix() local 118 f_mat.block<3, 1> (0, p_i) = scaled_points_[p_i].cross ( in computeCovarianceMatrix() 144 for (std::size_t p_i = 0; p_i < candidate_indices.size (); ++p_i) in applyFilter() local 145 candidate_indices[p_i] = p_i; in applyFilter() 151 for (std::size_t p_i = 0; p_i < candidate_indices.size (); ++p_i) in applyFilter() local 153 v[p_i].block<3, 1> (0, 0) = scaled_points_[p_i].cross ( in applyFilter() [all …]
|
/dports/textproc/py-nltk/nltk-3.4.1/nltk/translate/ |
H A D | bleu_score.py | 226 s = (w_i * math.log(p_i) for w_i, p_i in zip(weights, p_n)) 513 if p_i.numerator != 0: 514 p_n_new.append(p_i) 537 (p_i.numerator + self.epsilon) / p_i.denominator 538 if p_i.numerator == 0 539 else p_i 540 for p_i in p_n 551 Fraction(p_i.numerator + 1, p_i.denominator + 1, _normalize=False) 552 for p_i in p_n 572 if p_i.numerator == 0: [all …]
|
/dports/multimedia/vlc/vlc-3.0.16/src/input/ |
H A D | item.c | 82 if( !p_i->p_meta ) in input_item_SetPreparsed() 111 if( !p_i->p_meta ) in input_item_SetArtNotFound() 130 if( !p_i->p_meta ) in input_item_SetArtFetched() 148 if( !p_i->p_meta ) in input_item_SetMeta() 248 if( !p_i->p_meta ) in input_item_MetaMatch() 265 if( !p_i->p_meta ) in input_item_GetMeta() 325 char *psz_s = p_i->psz_uri ? strdup( p_i->psz_uri ) : NULL; in input_item_GetURI() 344 p_i->i_type = GuessType( p_i, &p_i->b_net ); in input_item_SetURI() 346 if( p_i->psz_name ) in input_item_SetURI() 763 TAB_APPEND(p_i->i_categories, p_i->pp_categories, p_cat); in InputItemVaAddInfo() [all …]
|
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/includes/gen-cpp2/ |
H A D | MyServiceAsyncClient.h | 38 virtual void sync_query(const ::cpp2::MyStruct& p_s, const ::cpp2::Included& p_i); 41 … folly::Future<folly::Unit> future_query(const ::cpp2::MyStruct& p_s, const ::cpp2::Included& p_i); 50 folly::coro::Task<void> co_query(const ::cpp2::MyStruct& p_s, const ::cpp2::Included& p_i) { in co_query() argument 51 return co_query<false>(nullptr, p_s, p_i); in co_query() 55 return co_query<true>(&rpcOptions, p_s, p_i); in co_query() 72 queryImpl(*rpcOptions, std::move(header), ctx.get(), std::move(wrappedCallback), p_s, p_i); in co_query() 74 … queryImpl(defaultRpcOptions, std::move(header), ctx.get(), std::move(wrappedCallback), p_s, p_i); in co_query() 122 virtual void sync_has_arg_docs(const ::cpp2::MyStruct& p_s, const ::cpp2::Included& p_i); 134 …folly::coro::Task<void> co_has_arg_docs(const ::cpp2::MyStruct& p_s, const ::cpp2::Included& p_i) { in co_has_arg_docs() argument 135 return co_has_arg_docs<false>(nullptr, p_s, p_i); in co_has_arg_docs() [all …]
|
H A D | MyServiceAsyncClient.cpp | 23 args.get<1>().value = const_cast<::cpp2::Included*>(&p_i); in queryT() 54 query(rpcOptions, std::move(callback), p_s, p_i); in query() 118 sync_query(rpcOptions, p_s, p_i); in sync_query() 152 return future_query(rpcOptions, p_s, p_i); in future_query() 157 return semifuture_query(rpcOptions, p_s, p_i); in semifuture_query() 164 query(rpcOptions, std::move(callback), p_s, p_i); in future_query() 171 query(rpcOptions, std::move(callback), p_s, p_i); in semifuture_query() 179 query(rpcOptions, std::move(callback), p_s, p_i); in header_future_query() 186 query(rpcOptions, std::move(callback), p_s, p_i); in header_semifuture_query() 306 sync_has_arg_docs(rpcOptions, p_s, p_i); in sync_has_arg_docs() [all …]
|
/dports/graphics/opencollada/OpenCOLLADA-1.6.68/Externals/MayaDataModel/include/ |
H A D | MayaDMPolySplitRing.h | 73 void setProfileCurve(size_t p_i,const ProfileCurve& p) in setProfileCurve() argument 75 fprintf(mFile,"\tsetAttr \".p[%i]\" ",p_i); in setProfileCurve() 104 void setProfileCurve_Position(size_t p_i,float pp) in setProfileCurve_Position() argument 109 void setProfileCurve_FloatValue(size_t p_i,float pfv) in setProfileCurve_FloatValue() argument 176 void getProfileCurve(size_t p_i)const in getProfileCurve() argument 178 fprintf(mFile,"\"%s.p[%i]\"",mName.c_str(),p_i); in getProfileCurve() 185 void getProfileCurve_Position(size_t p_i)const in getProfileCurve_Position() argument 187 fprintf(mFile,"\"%s.p[%i].pp\"",mName.c_str(),p_i); in getProfileCurve_Position() 194 void getProfileCurve_FloatValue(size_t p_i)const in getProfileCurve_FloatValue() argument 203 void getProfileCurve_Interp(size_t p_i)const in getProfileCurve_Interp() argument [all …]
|
H A D | MayaDMMakeTextCurves.h | 58 void getPosition(size_t p_i)const in getPosition() argument 60 fprintf(mFile,"\"%s.p[%i]\"",mName.c_str(),p_i); in getPosition() 67 void getPositionX(size_t p_i)const in getPositionX() argument 69 fprintf(mFile,"\"%s.p[%i].px\"",mName.c_str(),p_i); in getPositionX() 76 void getPositionY(size_t p_i)const in getPositionY() argument 78 fprintf(mFile,"\"%s.p[%i].py\"",mName.c_str(),p_i); in getPositionY() 85 void getPositionZ(size_t p_i)const in getPositionZ() argument 87 fprintf(mFile,"\"%s.p[%i].pz\"",mName.c_str(),p_i); in getPositionZ()
|
H A D | MayaDMMakeIllustratorCurves.h | 74 void getPosition(size_t p_i)const in getPosition() argument 76 fprintf(mFile,"\"%s.p[%i]\"",mName.c_str(),p_i); in getPosition() 83 void getPositionX(size_t p_i)const in getPositionX() argument 85 fprintf(mFile,"\"%s.p[%i].px\"",mName.c_str(),p_i); in getPositionX() 92 void getPositionY(size_t p_i)const in getPositionY() argument 94 fprintf(mFile,"\"%s.p[%i].py\"",mName.c_str(),p_i); in getPositionY() 101 void getPositionZ(size_t p_i)const in getPositionZ() argument 103 fprintf(mFile,"\"%s.p[%i].pz\"",mName.c_str(),p_i); in getPositionZ()
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/docs/KeywordMetadata/ |
H A D | model-surrogate-multipoint-tana | 29 \frac{\partial f}{\partial x_i}({\bf x}_2) \frac{x_{i,2}^{1-p_i}}{p_i} 30 (x_i^{p_i} - x_{i,2}^{p_i}) + \frac{1}{2} \epsilon({\bf x}) \sum_{i=1}^n 31 (x_i^{p_i} - x_{i,2}^{p_i})^2 \f] 35 \f[ p_i = 1 + \ln \left[ \frac{\frac{\partial f}{\partial x_i}({\bf x}_1)} 38 \epsilon({\bf x}) = \frac{H}{\sum_{i=1}^n (x_i^{p_i} - x_{i,1}^{p_i})^2 + 39 \sum_{i=1}^n (x_i^{p_i} - x_{i,2}^{p_i})^2} 41 \frac{\partial f}{\partial x_i}({\bf x}_2) \frac{x_{i,2}^{1-p_i}}{p_i} 42 (x_{i,1}^{p_i} - x_{i,2}^{p_i}) \right] \f]
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/src/ |
H A D | TANA3Approximation.cpp | 230 Real s2i = scX2[i], p_i = pExp[i]; in find_scaled_coefficients() local 231 H -= grad2[i] * std::pow(s2i, 1. - p_i) / p_i * in find_scaled_coefficients() 232 (std::pow(scX1[i], p_i) - std::pow(s2i, p_i)); in find_scaled_coefficients() 308 Real p_i = pExp[i], sp = std::pow(s_eval[i],p_i), s2i = scX2[i], in value() local 309 diff1 = sp - std::pow(scX1[i],p_i), diff2 = sp - std::pow(s2i,p_i); in value() 310 sum1 += grad2[i]*std::pow(s2i,1.-p_i)/p_i*diff2; in value() 359 Real p_i = pExp[i], sp = std::pow(s_eval[i],p_i), in gradient() local 360 diff1 = sp - std::pow(scX1[i],p_i), diff2 = sp - std::pow(scX2[i],p_i); in gradient() 367 Real svi = s_eval[i], s2i = scX2[i], p_i = pExp[i], in gradient() local 368 sp = std::pow(svi, p_i), diff1 = sp - std::pow(scX1[i], p_i), in gradient() [all …]
|
/dports/sysutils/dmg2img/dmg2img-1.6.7/ |
H A D | dmg2img.h | 56 p_o[0] = p_i[3]; in convert_int() 57 p_o[1] = p_i[2]; in convert_int() 58 p_o[2] = p_i[1]; in convert_int() 59 p_o[3] = p_i[0]; in convert_int() 68 p_o[0] = p_i[7]; in convert_int64() 69 p_o[1] = p_i[6]; in convert_int64() 70 p_o[2] = p_i[5]; in convert_int64() 71 p_o[3] = p_i[4]; in convert_int64() 72 p_o[4] = p_i[3]; in convert_int64() 73 p_o[5] = p_i[2]; in convert_int64() [all …]
|
/dports/science/liggghts/LIGGGHTS-PUBLIC-3.8.0-26-g6e873439/doc/Eqs/ |
H A D | pair_dipole.tex | 10 E_{pp} & = & \frac{1}{r^3} (\vec{p_i} \bullet \vec{p_j}) - 11 \frac{3}{r^5} (\vec{p_i} \bullet \vec{r}) (\vec{p_j} \bullet \vec{r}) 18 F_{pp} & = & \frac{3}{r^5} (\vec{p_i} \bullet \vec{p_j}) \vec{r} - 19 \frac{15}{r^7} (\vec{p_i} \bullet \vec{r}) 21 \frac{3}{r^5} \left[ (\vec{p_j} \bullet \vec{r}) \vec{p_i} + 22 (\vec{p_i} \bullet \vec{r}) \vec{p_j} \right] 26 T_{pq} = T_{ij} & = & \frac{q_j}{r^3} (\vec{p_i} \times \vec{r}) \\ 28 T_{pp} = T_{ij} & = & -\frac{1}{r^3} (\vec{p_i} \times \vec{p_j}) + 30 (\vec{p_i} \times \vec{r}) \\ 31 T_{pp} = T_{ji} & = & -\frac{1}{r^3} (\vec{p_j} \times \vec{p_i}) + [all …]
|
/dports/math/py-pystan/pystan-2.19.0.0/pystan/stan/lib/stan_math/stan/math/rev/mat/meta/ |
H A D | operands_and_partials.hpp | 96 int p_i = 0; in dump_partials() local 98 for (int j = 0; j < this->partials_vec_[i].size(); ++j, ++p_i) { in dump_partials() 99 partials[p_i] = this->partials_vec_[i](j); in dump_partials() 104 int p_i = 0; in dump_operands() local 106 for (int j = 0; j < this->operands_[i].size(); ++j, ++p_i) { in dump_operands() 107 varis[p_i] = this->operands_[i](j).vi_; in dump_operands() 137 int p_i = 0; in dump_partials() local 140 partials[p_i] = this->partials_vec_[i][j]; in dump_partials() 145 int p_i = 0; in dump_operands() local 147 for (size_t j = 0; j < this->operands_[i].size(); ++j, ++p_i) { in dump_operands() [all …]
|
/dports/math/octave-forge-statistics/statistics-1.4.3/inst/ |
H A D | confusionchart.m | 81 p_i = 1; variable 90 h = varargin{p_i}; 97 p_i++; 103 if (ismatrix (varargin{p_i}) && rows (varargin{p_i}) == ... 107 p_i++; 109 if (p_i <= nargin && ((isvector (varargin{p_i}) && ... 111 (ischar ( varargin{p_i}) && rows (varargin{p_i}) == rows (conmat)) ... 120 p_i++; 126 [conmat, labarr] = confusionmat (varargin{p_i}, varargin{p_i + 1}); 127 p_i = p_i + 2; variable [all …]
|
/dports/devel/openocd/openocd-0.11.0/src/flash/nand/ |
H A D | ecc_kw.c | 53 int p_i; in gf_build_log_exp_table() local 60 p_i = 1; in gf_build_log_exp_table() 63 gf_exp[i] = p_i; in gf_build_log_exp_table() 64 gf_exp[i + 1023] = p_i; in gf_build_log_exp_table() 65 gf_log[p_i] = i; in gf_build_log_exp_table() 70 p_i <<= 1; in gf_build_log_exp_table() 71 if (p_i & (1 << 10)) in gf_build_log_exp_table() 72 p_i ^= MODPOLY; in gf_build_log_exp_table()
|
/dports/databases/grass7/grass-7.8.6/lib/vector/vedit/ |
H A D | zbulk.c | 36 int i, cv_i, p_i; in Vedit_bulk_labeling() local 97 for (p_i = 0; p_i < Points_a[0]->n_points; p_i++) { in Vedit_bulk_labeling() 98 Points_a[0]->z[p_i] = 0; in Vedit_bulk_labeling() 116 for (p_i = 0; p_i < Points->n_points; p_i++) { in Vedit_bulk_labeling() 117 Points->z[p_i] = value; in Vedit_bulk_labeling()
|
/dports/misc/vxl/vxl-3.3.2/contrib/mul/vil3d/algo/ |
H A D | vil3d_structuring_element.cxx | 19 set(p_i,p_j,p_k); in vil3d_structuring_element() 27 assert(p_i.size()==p_j.size()); in set() 28 assert(p_i.size()==p_k.size()); in set() 29 assert(p_i.size()>0); in set() 30 p_i_ = p_i; in set() 34 max_i_=min_i_ = p_i[0]; in set() 37 for (unsigned int a=1;a<p_i.size();++a) in set() 39 if (p_i[a]<min_i_) min_i_=p_i[a]; in set() 40 else if (p_i[a]>max_i_) max_i_=p_i[a]; in set() 217 os<<'('<<element.p_i()[a]<<',' in operator <<() [all …]
|
/dports/news/husky/husky-1.9.20191207/huskylib/src/ |
H A D | qksort.c | 39 int *p_mid, *p_i, *p_lastlo, tmp; in iqksort() local 47 for (p_i = p_lo + 1; p_i <= p_hi; ++p_i) in iqksort() 49 if (*p_lo > *p_i) in iqksort() 52 SWAP(*p_lastlo, *p_i, tmp); in iqksort()
|