/dports/sysutils/wiimms/wiimms-iso-tools/src/ui/ |
H A D | tab-wdf.inc | 42 { T_DEF_TOOL, "wdf", 0, 49 " @wdf@, @unwdf@, @wdf-cat@, @wdf-cmp@ and @wdf-dump@" 52 " {wdf +CAT} replaces the old tool @wdf-cat@" 53 " and {wdf +DUMP} the old tool @wdf-dump@." }, 59 "wdf +VERSION [ignored]...", 71 "wdf +PACK [option]... files...", 83 "wdf +CAT [option]... files...", 90 " {wdf +CAT} replaces the old tool @wdf-cat@." }, 93 "wdf +DIFF [option]... files...", 112 " {wdf +DUMP} replaces the old tool @wdf-dump@." }, [all …]
|
/dports/databases/xapian-core/xapian-core-1.4.18/weight/ |
H A D | tfidfweight.cc | 100 get_wdfn_for_L(Xapian::termcount wdf, Xapian::termcount doclen, in get_wdfn_for_L() argument 103 if (wdf == 0) return 0; in get_wdfn_for_L() 111 double num = 1 + log(double(wdf)); in get_wdfn_for_L() 124 wt = get_wdfn(wdf, normalizations[0]); in get_sumpart() 126 wt = get_wdfn_for_L(wdf, doclen, uniqterms); in get_sumpart() 166 TfIdfWeight::get_wdfn(Xapian::termcount wdf, char c) const in get_wdfn() argument 170 if (wdf == 0) return 0; in get_wdfn() 173 return (wdf * wdf); in get_wdfn() 175 if (wdf == 0) return 0; in get_wdfn() 176 return (1 + log(double(wdf))); in get_wdfn() [all …]
|
H A D | dlhweight.cc | 180 DLHWeight::get_sumpart(Xapian::termcount wdf, Xapian::termcount len, in get_sumpart() argument 183 if (wdf == 0 || wdf == len) return 0.0; in get_sumpart() 185 double wdf_to_len = double(wdf) / len; in get_sumpart() 188 double wt = wdf * log2(wdf_to_len * log_constant) + in get_sumpart() 189 (len - wdf) * log2(one_minus_wdf_to_len) + in get_sumpart() 190 0.5 * log2(2.0 * M_PI * wdf * one_minus_wdf_to_len); in get_sumpart() 193 return wqf_product_factor * wt / (wdf + 0.5); in get_sumpart()
|
H A D | dphweight.cc | 136 DPHWeight::get_sumpart(Xapian::termcount wdf, Xapian::termcount len, in get_sumpart() argument 139 if (wdf == 0 || wdf == len) return 0.0; in get_sumpart() 141 double wdf_to_len = double(wdf) / len; in get_sumpart() 143 double normalization = pow((1 - wdf_to_len), 2) / (wdf + 1); in get_sumpart() 146 (wdf * log2(wdf_to_len * log_constant) + in get_sumpart() 147 (0.5 * log2(2 * M_PI * wdf * (1 - wdf_to_len)))); in get_sumpart()
|
/dports/databases/xapian-core12/xapian-core-1.2.25/backends/brass/ |
H A D | brass_inverter.h | 57 PostingChanges(Xapian::docid did, Xapian::termcount wdf) in PostingChanges() argument 58 : tf_delta(1), cf_delta(Xapian::termcount_diff(wdf)) in PostingChanges() 60 pl_changes.insert(std::make_pair(did, wdf)); in PostingChanges() 81 cf_delta += wdf; in add_posting() 83 pl_changes[did] = wdf; in add_posting() 89 cf_delta -= wdf; in remove_posting() 117 Xapian::doccount wdf) { in add_posting() argument 122 std::make_pair(term, PostingChanges(did, wdf))); in add_posting() 124 i->second.add_posting(did, wdf); in add_posting() 129 Xapian::doccount wdf) { in remove_posting() argument [all …]
|
/dports/databases/xapian-core/xapian-core-1.4.18/api/ |
H A D | documentterm.h | 44 : wdf(wdf_) in OmDocumentTerm() 52 Xapian::termcount wdf; variable 158 wdf = delta; in increase_wdf() 161 wdf += delta; in increase_wdf() 168 if (wdf >= delta) { in decrease_wdf() 169 wdf -= delta; in decrease_wdf() 171 wdf = 0; in decrease_wdf() 176 Xapian::termcount get_wdf() const { return wdf; } in get_wdf()
|
/dports/databases/xapian-core12/xapian-core-1.2.25/common/ |
H A D | documentterm.h | 43 : wdf(wdf_) in OmDocumentTerm() 51 Xapian::termcount wdf; variable 94 void inc_wdf(Xapian::termcount inc) { wdf += inc; } in inc_wdf() 98 if (wdf <= dec) { in dec_wdf() 99 wdf = 0; in dec_wdf() 101 wdf -= dec; in dec_wdf() 106 Xapian::termcount get_wdf() const { return wdf; } in get_wdf()
|
H A D | expandweight.h | 66 void accumulate(Xapian::termcount wdf, Xapian::termcount doclen, in accumulate() argument 70 if (wdf == 0) wdf = 1; in accumulate() 72 multiplier += (expand_k + 1) * wdf / (expand_k * doclen / avlen + wdf); in accumulate()
|
/dports/databases/xapian-core/xapian-core-1.4.18/backends/glass/ |
H A D | glass_inverter.h | 63 PostingChanges(Xapian::docid did, Xapian::termcount wdf) in PostingChanges() argument 64 : tf_delta(1), cf_delta(Xapian::termcount_diff(wdf)) in PostingChanges() 66 pl_changes.insert(std::make_pair(did, wdf)); in PostingChanges() 87 cf_delta += wdf; in add_posting() 89 pl_changes[did] = wdf; in add_posting() 95 cf_delta -= wdf; in remove_posting() 136 Xapian::doccount wdf) { in add_posting() argument 141 std::make_pair(term, PostingChanges(did, wdf))); in add_posting() 143 i->second.add_posting(did, wdf); in add_posting() 148 Xapian::doccount wdf) { in remove_posting() argument [all …]
|
/dports/lang/fpc-source/fpc-3.2.2/packages/amunits/examples/otherlibs/ |
H A D | openscreen.pas | 36 wdf, 57 if assigned(wdf) then CloseWindow(wdf); 123 wdf:=OpenWindowTags(NIL,[WA_CustomScreen, PtrUInt(sc), 147 If wdf = Nil Then CleanUp('Unable to open window 2.'); 149 rpf:=wdf^.RPort; 158 x1:=Random (wdf^.Width); 159 y1:=Random (wdf^.Height); 160 x2:=Random (wdf^.Width); 161 y2:=Random (wdf^.Height); 187 imsg:=pIntuiMessage(GetMsg (wdf^.UserPort)); [all …]
|
/dports/databases/xapian-bindings12/xapian-bindings-1.2.25/ruby/ |
H A D | xapian.rb | 74 def initialize(term, wdf=nil, termfreq=nil) argument 76 @wdf = wdf 81 …return other.is_a?(Xapian::Term) && other.term == @term && other.wdf == @wdf && other.termfreq == … 148 Xapian::Term.new(item.term, item.wdf) 168 Xapian::Term.new(item.term, item.wdf) 185 Xapian::Term.new(item.term, item.wdf) 230 def initialize(docid, doclength, wdf) argument 233 @wdf = wdf 238 other.wdf == @wdf 261 Xapian::Posting.new(item.docid, item.doclength, item.wdf) [all …]
|
/dports/www/mnogosearch/mnogosearch-3.4.1/msearch-test/test-density/ |
H A D | test.cmd | 8 fail !0 exec $(SEARCHSTD) "1&wdf=2" > $(UDM_TEST_DIR)/search.rej 9 fail !0 exec $(SEARCHSTD) "1&wdf=25" >> $(UDM_TEST_DIR)/search.rej 10 fail !0 exec $(SEARCHSTD) "1&wdf=250" >> $(UDM_TEST_DIR)/search.rej 12 fail !0 exec $(SEARCHSTD) "1+2+3&wdf=2" >> $(UDM_TEST_DIR)/search.rej 13 fail !0 exec $(SEARCHSTD) "1+2+3&wdf=25" >> $(UDM_TEST_DIR)/search.rej 14 fail !0 exec $(SEARCHSTD) "1+2+3&wdf=250" >> $(UDM_TEST_DIR)/search.rej
|
H A D | search.res | 2 QUERY_STRING=q=1&wdf=2 13 QUERY_STRING=q=1&wdf=25 24 QUERY_STRING=q=1&wdf=250 35 QUERY_STRING=q=1+2+3&wdf=2 46 QUERY_STRING=q=1+2+3&wdf=25 57 QUERY_STRING=q=1+2+3&wdf=250
|
/dports/databases/py-xapian/xapian-bindings-1.4.18/ruby/docs/ |
H A D | xapian.rb | 76 def initialize(term, wdf=nil, termfreq=nil) argument 78 @wdf = wdf 152 |item| Xapian::Term.new(item.term, item.wdf) 181 |item| Xapian::Term.new(item.term, item.wdf) 191 |item| Xapian::Term.new(item.term, item.wdf) 208 lambda { |item| Xapian::Term.new(item.term, item.wdf) }, 251 def initialize(docid, doclength, wdf) argument 254 @wdf = wdf 259 other.wdf == @wdf 290 … lambda { |item| Xapian::Posting.new(item.docid, item.doclength, item.wdf) }, [all …]
|
/dports/databases/py-xapian/xapian-bindings-1.4.18/ruby/ |
H A D | xapian.rb | 76 def initialize(term, wdf=nil, termfreq=nil) argument 78 @wdf = wdf 152 |item| Xapian::Term.new(item.term, item.wdf) 181 |item| Xapian::Term.new(item.term, item.wdf) 191 |item| Xapian::Term.new(item.term, item.wdf) 208 lambda { |item| Xapian::Term.new(item.term, item.wdf) }, 251 def initialize(docid, doclength, wdf) argument 254 @wdf = wdf 259 other.wdf == @wdf 290 … lambda { |item| Xapian::Posting.new(item.docid, item.doclength, item.wdf) }, [all …]
|
/dports/databases/php-xapian/xapian-bindings-1.4.18/ruby/ |
H A D | xapian.rb | 76 def initialize(term, wdf=nil, termfreq=nil) argument 78 @wdf = wdf 152 |item| Xapian::Term.new(item.term, item.wdf) 181 |item| Xapian::Term.new(item.term, item.wdf) 191 |item| Xapian::Term.new(item.term, item.wdf) 208 lambda { |item| Xapian::Term.new(item.term, item.wdf) }, 251 def initialize(docid, doclength, wdf) argument 254 @wdf = wdf 259 other.wdf == @wdf 290 … lambda { |item| Xapian::Posting.new(item.docid, item.doclength, item.wdf) }, [all …]
|
/dports/databases/php-xapian/xapian-bindings-1.4.18/ruby/docs/ |
H A D | xapian.rb | 76 def initialize(term, wdf=nil, termfreq=nil) argument 78 @wdf = wdf 152 |item| Xapian::Term.new(item.term, item.wdf) 181 |item| Xapian::Term.new(item.term, item.wdf) 191 |item| Xapian::Term.new(item.term, item.wdf) 208 lambda { |item| Xapian::Term.new(item.term, item.wdf) }, 251 def initialize(docid, doclength, wdf) argument 254 @wdf = wdf 259 other.wdf == @wdf 290 … lambda { |item| Xapian::Posting.new(item.docid, item.doclength, item.wdf) }, [all …]
|
/dports/databases/p5-Xapian/xapian-bindings-1.4.18/ruby/docs/ |
H A D | xapian.rb | 76 def initialize(term, wdf=nil, termfreq=nil) argument 78 @wdf = wdf 152 |item| Xapian::Term.new(item.term, item.wdf) 181 |item| Xapian::Term.new(item.term, item.wdf) 191 |item| Xapian::Term.new(item.term, item.wdf) 208 lambda { |item| Xapian::Term.new(item.term, item.wdf) }, 251 def initialize(docid, doclength, wdf) argument 254 @wdf = wdf 259 other.wdf == @wdf 290 … lambda { |item| Xapian::Posting.new(item.docid, item.doclength, item.wdf) }, [all …]
|
/dports/databases/p5-Xapian/xapian-bindings-1.4.18/ruby/ |
H A D | xapian.rb | 76 def initialize(term, wdf=nil, termfreq=nil) argument 78 @wdf = wdf 152 |item| Xapian::Term.new(item.term, item.wdf) 181 |item| Xapian::Term.new(item.term, item.wdf) 191 |item| Xapian::Term.new(item.term, item.wdf) 208 lambda { |item| Xapian::Term.new(item.term, item.wdf) }, 251 def initialize(docid, doclength, wdf) argument 254 @wdf = wdf 259 other.wdf == @wdf 290 … lambda { |item| Xapian::Posting.new(item.docid, item.doclength, item.wdf) }, [all …]
|
/dports/databases/lua-xapian/xapian-bindings-1.4.18/ruby/ |
H A D | xapian.rb | 76 def initialize(term, wdf=nil, termfreq=nil) 78 @wdf = wdf 152 |item| Xapian::Term.new(item.term, item.wdf) 181 |item| Xapian::Term.new(item.term, item.wdf) 191 |item| Xapian::Term.new(item.term, item.wdf) 208 lambda { |item| Xapian::Term.new(item.term, item.wdf) }, 251 def initialize(docid, doclength, wdf) 254 @wdf = wdf 259 other.wdf == @wdf 290 … lambda { |item| Xapian::Posting.new(item.docid, item.doclength, item.wdf) }, [all …]
|
/dports/databases/lua-xapian/xapian-bindings-1.4.18/ruby/docs/ |
H A D | xapian.rb | 76 def initialize(term, wdf=nil, termfreq=nil) 78 @wdf = wdf 152 |item| Xapian::Term.new(item.term, item.wdf) 181 |item| Xapian::Term.new(item.term, item.wdf) 191 |item| Xapian::Term.new(item.term, item.wdf) 208 lambda { |item| Xapian::Term.new(item.term, item.wdf) }, 251 def initialize(docid, doclength, wdf) 254 @wdf = wdf 259 other.wdf == @wdf 290 … lambda { |item| Xapian::Posting.new(item.docid, item.doclength, item.wdf) }, [all …]
|
/dports/science/plumed/plumed2-2.7.2/src/multicolvar/ |
H A D | ActionVolume.cpp | 65 double weight; Vector wdf; Tensor vir; std::vector<Vector> refders( getNumberOfAtoms() ); in calculateAllVolumes() local 66 weight=calculateNumberInside( catom_pos, wdf, vir, refders ); in calculateAllVolumes() 68 weight = 1.0 - weight; wdf *= -1.; vir *=-1; in calculateAllVolumes() 71 setNumberInVolume( 0, curr, weight, wdf, vir, refders, outvals ); in calculateAllVolumes() 76 Vector wdf; Tensor vir; std::vector<Vector> refders( getNumberOfAtoms() ); in inVolumeOfInterest() local 77 double weight=calculateNumberInside( catom_pos, wdf, vir, refders ); in inVolumeOfInterest()
|
H A D | VolumeGradientBase.cpp | 73 const Vector& wdf, const Tensor& virial, const std::vector<Vector>& refders, in setNumberInVolume() argument 82 outvals.addDerivative( ivol, jatom+0, catom.getDerivative(i,0,wdf) ); in setNumberInVolume() 83 outvals.addDerivative( ivol, jatom+1, catom.getDerivative(i,1,wdf) ); in setNumberInVolume() 84 outvals.addDerivative( ivol, jatom+2, catom.getDerivative(i,2,wdf) ); in setNumberInVolume() 103 …ive( ivol, jatom+0, weight*outvals.getDerivative(ivol,jatom+0) + ww*catom.getDerivative(i,0,wdf) ); in setNumberInVolume() 104 …ive( ivol, jatom+1, weight*outvals.getDerivative(ivol,jatom+1) + ww*catom.getDerivative(i,1,wdf) ); in setNumberInVolume() 105 …ive( ivol, jatom+2, weight*outvals.getDerivative(ivol,jatom+2) + ww*catom.getDerivative(i,2,wdf) ); in setNumberInVolume() 123 outvals.addDerivative( ivol, jatom+0, ww*catom.getDerivative(i,0,wdf) ); in setNumberInVolume() 124 outvals.addDerivative( ivol, jatom+1, ww*catom.getDerivative(i,1,wdf) ); in setNumberInVolume() 125 outvals.addDerivative( ivol, jatom+2, ww*catom.getDerivative(i,2,wdf) ); in setNumberInVolume()
|
/dports/sysutils/wiimms/wiimms-iso-tools/scripts/ |
H A D | test-image-size.sh | 13 WDF=wdf 14 [[ -f ./wdf && -x ./wdf ]] && WDF=./wdf 326 test_function write 0 b.wdf "WDF/start" \ 327 $WIT_CP "$1" --wdf "$tempdir/b.wdf" || return 1 338 test_function write 0 a.wdf "WDF" \ 339 $WIT_CP "$1" --wdf "$tempdir/a.wdf" || return 1 344 test_function write $wdf_time a.wdf.bz2 "WDF + BZIP2" \ 350 test_function write $wdf_time a.wdf.rar "WDF + RAR" \ 356 test_function write $wdf_time a.wdf.7z "WDF + 7Z" \ 368 test_function write 0 a.wdf "WDF/DECRYPT" \ [all …]
|
/dports/databases/xapian-core12/xapian-core-1.2.25/tests/ |
H A D | api_weight.cc | 211 double get_sumpart(Xapian::termcount wdf, Xapian::termcount doclen) const { in get_sumpart() argument 221 TEST_REL(wdf,<=,wdf_upper); in get_sumpart() 222 sum += wdf; in get_sumpart() 223 sum_squares += wdf * wdf; in get_sumpart() 267 Xapian::termcount wdf = i.get_wdf(); variable 268 expected_sum += wdf; 269 expected_sum_squares += wdf * wdf;
|