/dports/finance/beancount/beancount-2.3.3/beancount/plugins/ |
H A D | unrealized_test.py | 92 self.assertEqual(2, len(house.postings)) 93 self.assertEqual(D('350'), house.postings[0].units.number) 94 self.assertEqual('Assets:Account1', house.postings[0].account) 95 self.assertEqual('Income:Account1', house.postings[1].account) 98 self.assertEqual(2, len(mansion.postings)) 99 self.assertEqual(D('-100'), mansion.postings[0].units.number) 138 unreal_entries[0].postings[0].units.number) 201 self.assertEqual(D("10.00"), entry.postings[0].units.number) 207 self.assertEqual(D("18.00"), entry.postings[0].units.number) 213 self.assertEqual(D("24.00"), entry.postings[0].units.number) [all …]
|
H A D | mark_unverified.py | 46 postings = entry.postings 47 new_postings = postings 48 for index, posting in enumerate(postings): 51 if new_postings is postings: 52 new_postings = postings.copy() 56 if new_postings is not postings: 57 entry = entry._replace(postings=new_postings)
|
/dports/devel/py-opengrok-tools/opengrok-1.3.16/suggester/src/main/java/org/opengrok/suggest/query/customized/ |
H A D | CustomExactPhraseScorer.java | 42 private final PostingsEnum postings; field in CustomExactPhraseScorer.PostingsAndPosition 47 this.postings = postings; in PostingsAndPosition() 58 private final PostingsAndPosition[] postings; field in CustomExactPhraseScorer 80 iterators.add(posting.postings); in CustomExactPhraseScorer() 155 final PostingsAndPosition[] postings = this.postings; 156 for (PostingsAndPosition posting : postings) { 157 posting.freq = posting.postings.freq(); 158 posting.pos = posting.postings.nextPosition(); 163 final PostingsAndPosition lead = postings[0]; 170 for (int j = 1; j < postings.length; ++j) { [all …]
|
H A D | PhrasePositions.java | 35 final PostingsEnum postings; // stream of docs & positions field in PhrasePositions 41 PhrasePositions(PostingsEnum postings, int o, int ord, Term[] terms) { in PhrasePositions() argument 42 this.postings = postings; in PhrasePositions() 49 count = postings.freq(); // read first pos in firstPosition() 61 position = postings.nextPosition() - offset; in nextPosition()
|
/dports/audio/pms-devel/pms-c94e3c6/vendor/github.com/blevesearch/bleve/index/scorch/segment/mem/ |
H A D | posting.go | 50 postings: p, 70 postings *PostingsList member 91 i.locoffset += int(i.postings.dictionary.segment.Freqs[i.postings.postingsID-1][i.offset]) 103 i.locoffset += int(i.postings.dictionary.segment.Freqs[i.postings.postingsID-1][i.offset]) 124 return p.iterator.postings.dictionary.segment.Freqs[p.iterator.postings.postingsID-1][p.offset] 129 …return float64(p.iterator.postings.dictionary.segment.Norms[p.iterator.postings.postingsID-1][p.of… 157 …return l.p.iterator.postings.dictionary.segment.FieldsInv[l.p.iterator.postings.dictionary.segment… 162 …return l.p.iterator.postings.dictionary.segment.Locstarts[l.p.iterator.postings.postingsID-1][l.of… 167 …return l.p.iterator.postings.dictionary.segment.Locends[l.p.iterator.postings.postingsID-1][l.offs… 172 …return l.p.iterator.postings.dictionary.segment.Locpos[l.p.iterator.postings.postingsID-1][l.offse… [all …]
|
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/clucene/src/CLucene/index/ |
H A D | DocumentWriter.cpp | 221 postings++; in sortPostingTable() 408 if(postings[lo]->term->compareTo(postings[mid]->term) > 0) { in quickSort() 410 postings[lo] = postings[mid]; in quickSort() 411 postings[mid] = tmp; in quickSort() 414 if(postings[mid]->term->compareTo(postings[hi]->term) > 0) { in quickSort() 416 postings[mid] = postings[hi]; in quickSort() 417 postings[hi] = tmp; in quickSort() 419 if(postings[lo]->term->compareTo(postings[mid]->term) > 0) { in quickSort() 421 postings[lo] = postings[mid]; in quickSort() 422 postings[mid] = tmp2; in quickSort() [all …]
|
H A D | SegmentMergeInfo.cpp | 25 postings=NULL; in CL_NS_DEF() 62 if (postings == NULL) { in getPositions() 63 postings = reader->termPositions(); in getPositions() 65 return postings; in getPositions() 91 if ( postings != NULL ){ in close() 92 postings->close(); in close() 93 _CLVDELETE(postings); //todo: not a clucene object... should be in close()
|
/dports/lang/mono/mono-5.10.1.57/external/api-doc-tools/external/Lucene.Net.Light/src/core/Index/ |
H A D | TermsHashPerField.cs | 167 if (ComparePostings(postings[lo], postings[hi]) > 0) in QuickSort() 170 postings[lo] = postings[hi]; in QuickSort() 171 postings[hi] = tmp; in QuickSort() 178 if (ComparePostings(postings[lo], postings[mid]) > 0) in QuickSort() 181 postings[lo] = postings[mid]; in QuickSort() 185 if (ComparePostings(postings[mid], postings[hi]) > 0) in QuickSort() 188 postings[mid] = postings[hi]; in QuickSort() 189 postings[hi] = tmp; in QuickSort() 191 if (ComparePostings(postings[lo], postings[mid]) > 0) in QuickSort() 194 postings[lo] = postings[mid]; in QuickSort() [all …]
|
H A D | TermsHash.cs | 215 public void RecyclePostings(RawPostingList[] postings, int numPostings) in RecyclePostings() argument 220 System.Diagnostics.Debug.Assert(postings.Length >= numPostings); in RecyclePostings() 231 public void GetPostings(RawPostingList[] postings) in GetPostings() argument 242 if (postingsFreeCount < postings.Length) in GetPostings() 245 numToCopy = postings.Length; in GetPostings() 249 System.Diagnostics.Debug.Assert(numToCopy <= postings.Length); in GetPostings() 250 Array.Copy(postingsFreeList, start, postings, 0, numToCopy); in GetPostings() 253 if (numToCopy != postings.Length) in GetPostings() 255 int extra = postings.Length - numToCopy; in GetPostings() 258 consumer.CreatePostings(postings, numToCopy, extra); in GetPostings() [all …]
|
H A D | SegmentMergeInfo.cs | 31 private TermPositions postings; // use getPositions() field in Lucene.Net.Index.SegmentMergeInfo 73 if (postings == null) in GetPositions() 75 postings = reader.TermPositions(); in GetPositions() 77 return postings; in GetPositions() 100 if (postings != null) in Dispose() 102 postings.Close(); in Dispose()
|
/dports/www/gitea/gitea-1.16.5/vendor/github.com/blevesearch/zapx/v12/ |
H A D | posting.go | 130 if p.postings != nil { 131 receiver.Or(p.postings) 185 rv.postings = p 202 if p.postings == nil { 221 rv.ActualBM = p.postings 269 if rv.postings == nil { 291 postings *PostingsList member 539 if i.postings == nil || i.postings == emptyPostingsList { 544 if i.postings.postings == i.ActualBM { 558 …chunkSize, err := getChunkSize(i.postings.sb.chunkMode, i.postings.postings.GetCardinality(), i.po… [all …]
|
/dports/www/gitea/gitea-1.16.5/vendor/github.com/blevesearch/zapx/v13/ |
H A D | posting.go | 130 if p.postings != nil { 131 receiver.Or(p.postings) 185 rv.postings = p 202 if p.postings == nil { 221 rv.ActualBM = p.postings 269 if rv.postings == nil { 291 postings *PostingsList member 539 if i.postings == nil || i.postings == emptyPostingsList { 544 if i.postings.postings == i.ActualBM { 558 …chunkSize, err := getChunkSize(i.postings.sb.chunkMode, i.postings.postings.GetCardinality(), i.po… [all …]
|
/dports/finance/beancount/beancount-2.3.3/experiments/washsales/ |
H A D | commissions.py | 93 for posting in entry.postings) and 95 for posting in entry.postings)): 99 for posting in entry.postings: 104 for posting in entry.postings: 119 distribute_commission_on_metadata(cposition.units, entry.postings) 121 entry = entry._replace(postings=entry.postings + new_postings) 128 def distribute_commission_on_metadata(commission, postings): argument 138 for posting in postings:
|
/dports/www/mattermost-server/mattermost-server-6.0.2/vendor/github.com/blevesearch/zap/v13/ |
H A D | posting.go | 103 postings *roaring.Bitmap member 131 if p.postings != nil { 132 receiver.Or(p.postings) 186 rv.postings = p 203 if p.postings == nil { 222 rv.ActualBM = p.postings 270 if rv.postings == nil { 292 postings *PostingsList member 540 if i.postings == nil || i.postings.postings == i.ActualBM { 554 …chunkSize, err := getChunkSize(i.postings.sb.chunkMode, i.postings.postings.GetCardinality(), i.po… [all …]
|
/dports/www/mattermost-server/mattermost-server-6.0.2/vendor/github.com/blevesearch/zap/v12/ |
H A D | posting.go | 103 postings *roaring.Bitmap member 131 if p.postings != nil { 132 receiver.Or(p.postings) 186 rv.postings = p 203 if p.postings == nil { 222 rv.ActualBM = p.postings 270 if rv.postings == nil { 292 postings *PostingsList member 540 if i.postings == nil || i.postings.postings == i.ActualBM { 554 …chunkSize, err := getChunkSize(i.postings.sb.chunkMode, i.postings.postings.GetCardinality(), i.po… [all …]
|
/dports/textproc/clucene/clucene-core-2.3.3.4/src/core/CLucene/index/ |
H A D | DocumentsWriterThreadState.cpp | 358 if (comparePostings(postings[lo], postings[mid]) > 0) { in quickSort() 360 postings[lo] = postings[mid]; in quickSort() 364 if (comparePostings(postings[mid], postings[hi]) > 0) { in quickSort() 366 postings[mid] = postings[hi]; in quickSort() 369 if (comparePostings(postings[lo], postings[mid]) > 0) { in quickSort() 371 postings[lo] = postings[mid]; in quickSort() 393 postings[left] = postings[right]; in quickSort() 417 postings.values[lo] = postings[mid]; in quickSort() 423 postings.values[mid] = postings[hi]; in quickSort() 428 postings.values[lo] = postings[mid]; in quickSort() [all …]
|
H A D | SegmentMergeInfo.cpp | 28 postings=NULL; in CL_NS_DEF() 65 if (postings == NULL) { in getPositions() 66 postings = reader->termPositions(); in getPositions() 68 return postings; in getPositions() 94 if ( postings != NULL ){ in close() 95 postings->close(); in close() 96 _CLVDELETE(postings); //todo: not a clucene object... should be in close()
|
/dports/finance/beancount/beancount-2.3.3/beancount/parser/ |
H A D | grammar_test.py | 1028 posting = entries[0].postings[0] 1041 posting = entries[0].postings[0] 1054 posting = entries[0].postings[0] 1294 posting = entry.postings[0] 1392 posting = entry.postings[0] 1611 postings = entries[0].postings 1623 postings = entries[0].postings 1635 postings = entries[0].postings 1647 postings = entries[0].postings 1660 postings = entries[0].postings [all …]
|
H A D | booking_full_test.py | 1432 postings, errors = bf.book_reductions(entry, entry.postings, 1453 postings, errors = bf.book_reductions(entry, entry.postings, 2757 self.assertEqual(entry.postings[0], txn.postings[0]) 2758 self.assertNotEqual(entry.postings[1], txn.postings[1]) 2812 ], postings) 2834 ], postings) 2856 ], postings) 2892 ], postings) 2913 ], postings) 2934 ], postings) [all …]
|
/dports/www/gitea/gitea-1.16.5/vendor/github.com/blevesearch/zapx/v14/ |
H A D | posting.go | 102 postings *roaring.Bitmap member 132 if p.postings != nil { 133 receiver.Or(p.postings) 187 rv.postings = p 204 if p.postings == nil { 223 rv.ActualBM = p.postings 238 } else if p.postings != nil { 271 if rv.postings == nil { 299 postings *PostingsList member 547 if i.postings == nil || i.postings == emptyPostingsList { [all …]
|
/dports/www/mattermost-server/mattermost-server-6.0.2/vendor/github.com/blevesearch/zap/v14/ |
H A D | posting.go | 103 postings *roaring.Bitmap member 133 if p.postings != nil { 134 receiver.Or(p.postings) 188 rv.postings = p 205 if p.postings == nil { 219 rv.all = p.postings.Iterator() 224 rv.ActualBM = p.postings 239 } else if p.postings != nil { 272 if rv.postings == nil { 300 postings *PostingsList member [all …]
|
/dports/textproc/luceneplusplus/LucenePlusPlus-rel_3.0.8/src/core/index/ |
H A D | TermsHash.cpp | 151 void TermsHash::recyclePostings(Collection<RawPostingListPtr> postings, int32_t numPostings) { in recyclePostings() argument 153 BOOST_ASSERT(postings.size() >= numPostings); in recyclePostings() 158 …MiscUtils::arrayCopy(postings.begin(), 0, postingsFreeList.begin(), postingsFreeCount, numPostings… in recyclePostings() 162 void TermsHash::getPostings(Collection<RawPostingListPtr> postings) { in getPostings() argument 172 int32_t numToCopy = postingsFreeCount < postings.size() ? postingsFreeCount : postings.size(); in getPostings() 176 BOOST_ASSERT(numToCopy <= postings.size()); in getPostings() 177 MiscUtils::arrayCopy(postingsFreeList.begin(), start, postings.begin(), 0, numToCopy); in getPostings() 180 if (numToCopy != postings.size()) { in getPostings() 181 int32_t extra = postings.size() - numToCopy; in getPostings() 184 consumer->createPostings(postings, numToCopy, extra); in getPostings() [all …]
|
/dports/finance/fava/fava-1.18/frontend/src/entry-forms/ |
H A D | Transaction.svelte | 21 entry.postings = entry.postings.filter((p) => p !== posting); 25 entry.postings = entry.postings.concat(emptyPosting()); 40 if (entry.narration || !entry.postings.every((p) => !p.account)) { 52 const moved = entry.postings[from]; 53 entry.postings.splice(from, 1); 54 entry.postings.splice(to, 0, moved); 55 entry.postings = entry.postings; 95 {#each entry.postings as posting, index}
|
/dports/finance/fava/fava-1.18/tests/ |
H A D | test_core_ingest.py | 33 assert entries[1].postings[0].account == "" 34 assert entries[1].postings[0].units.number == 50.00 35 assert entries[1].postings[0].units.currency == "EUR" 36 assert entries[1].postings[1].account == "Assets:Checking" 37 assert entries[1].postings[1].units.number == -50.00 38 assert entries[1].postings[1].units.currency == "EUR"
|
/dports/www/gitea/gitea-1.16.5/vendor/github.com/blevesearch/zapx/v15/ |
H A D | posting.go | 102 postings *roaring.Bitmap member 132 if p.postings != nil { 133 receiver.Or(p.postings) 187 rv.postings = p 204 if p.postings == nil { 223 rv.ActualBM = p.postings 238 } else if p.postings != nil { 271 if rv.postings == nil { 299 postings *PostingsList member 565 if i.postings == nil || i.postings == emptyPostingsList { [all …]
|