MCPcopy Create free account

hub / github.com/BurntSushi/imdb-rename / functions

Functions335 in github.com/BurntSushi/imdb-rename

↓ 1 callersFunctionwrite_sorted_csv_records
Read all CSV data into memory and sort the records in lexicographic order. This is unfortunately necessary because the IMDb data is no longer sorted
src/download.rs:96
↓ 1 callersFunctionwrite_tsv_episode
( mut wtr: W, position: usize, score: f64, ent: &MediaEntity, tvshow: &Title, ep: &Epi
src/util.rs:127
↓ 1 callersFunctionwrite_tvshow
(ep: &Episode, buf: &mut Vec<u8>)
imdb-index/src/index/episode.rs:246
↓ 1 callersMethodwrite_u16
Write a u16LE.
imdb-index/src/index/writer.rs:39
↓ 1 callersMethodwrite_u64
Write a u64LE.
imdb-index/src/index/writer.rs:49
↓ 1 callersFunctionwrite_votes_value
(votes: u32, buf: &mut Vec<u8>)
imdb-index/src/index/rating.rs:120
↓ 1 callersMethodyear_ge
Set the lower inclusive bound on a title's year. This applies to either the title's start or end years.
imdb-index/src/search.rs:339
↓ 1 callersMethodyear_le
Set the upper inclusive bound on a title's year. This applies to either the title's start or end years.
imdb-index/src/search.rs:347
Functionaka_index_records1
()
imdb-index/src/index/aka.rs:206
Functionaka_index_records2
()
imdb-index/src/index/aka.rs:246
Functionaka_index_records3
()
imdb-index/src/index/aka.rs:278
Functionaka_index_records4
()
imdb-index/src/index/aka.rs:298
Methodaka_records
Returns an iterator over all `AKA` records for the given IMDb ID. If no AKA records exist for the given ID, then an empty iterator is returned. If t
imdb-index/src/index/mod.rs:262
Methodas_str
Return a string representation of this scorer. The string returned can be parsed back into a `NameScorer`.
imdb-index/src/index/names.rs:1157
Functionbasics
()
imdb-index/src/index/rating.rs:141
Functionbasics
()
imdb-index/src/index/episode.rs:303
Methodbug
(msg: T)
imdb-index/src/error.rs:51
Functionby_season
()
imdb-index/src/index/episode.rs:319
Functioncmp_episode
(ep1: &Episode, ep2: &Episode)
imdb-index/src/index/episode.rs:170
Methodconfig
(msg: T)
imdb-index/src/error.rs:55
Methodcreate
Create a rating index from the given IMDb data directory, and write it to the given index directory. If a rating index already exists, then it is over
imdb-index/src/index/rating.rs:42
Methodcreate
Create an episode index from the given IMDb data directory and write it to the given index directory. If an episode index already exists, then it is o
imdb-index/src/index/episode.rs:59
Methodcreate
Create an AKA index by reading the AKA data from the given data directory and writing the index to the corresponding index directory.
imdb-index/src/index/aka.rs:50
Methodcsv
(err: csv::Error)
imdb-index/src/error.rs:63
Methoddata_dir
Return the path to the data directory for this context.
imdb-index/src/index/tests.rs:40
Methoddefault
()
imdb-index/src/scored.rs:186
Methoddefault
()
imdb-index/src/search.rs:229
Methoddefault
()
imdb-index/src/index/mod.rs:508
Methoddefault
()
imdb-index/src/index/names.rs:1168
Methoddefault
()
imdb-eval/src/eval.rs:224
Methoddefault
()
src/rename.rs:816
Methoddrop
(&mut self)
imdb-index/src/index/tests.rs:59
Methoddst
The `dst` of this proposal. Note that the destination is cleansed such that it is safe for renaming. e.g., If a `/` occurs in an IMDb title, then it
src/rename.rs:128
Methodempty
Create an empty disjunction that never matches anything.
imdb-index/src/index/names.rs:526
Methodenabled
(&self, _: &log::Metadata)
imdb-eval/src/logger.rs:34
Methodenabled
(&self, _: &log::Metadata)
src/logger.rs:32
Methodepisode_ge
Set the lower inclusive bound on a title's episode number. This automatically limits all results to episodes.
imdb-index/src/search.rs:383
Methodepisode_le
Set the upper inclusive bound on a title's episode number. This automatically limits all results to episodes.
imdb-index/src/search.rs:391
Methodeq
(&self, other: &Scored<T>)
imdb-index/src/scored.rs:194
Methodeq
(&self, other: &PostingIter<'i>)
imdb-index/src/index/names.rs:887
Methodfmt
(&self, f: &mut fmt::Formatter)
imdb-index/src/util.rs:44
Methodfmt
(&self, f: &mut fmt::Formatter)
imdb-index/src/error.rs:105
Methodfmt
(&self, f: &mut fmt::Formatter)
imdb-index/src/search.rs:618
Methodfmt
(&self, f: &mut fmt::Formatter)
imdb-index/src/record.rs:129
Methodfmt
(&self, f: &mut fmt::Formatter)
imdb-index/src/index/names.rs:1174
Methodfmt
(&self, f: &mut fmt::Formatter)
imdb-eval/src/eval.rs:230
Methodfmt
(&self, f: &mut fmt::Formatter)
src/rename.rs:33
Methodfractional_seconds
Returns the number of seconds in this duration in fraction form. The number to the left of the decimal point is the number of seconds, and the number
imdb-index/src/util.rs:59
Methodfrom
(scorer: NameScorer)
imdb-eval/src/main.rs:323
Methodfrom_matches
Build a structured set of arguments from clap's matches.
imdb-eval/src/main.rs:122
Methodfrom_matches
(matches: &clap::ArgMatches)
src/main.rs:132
Methodfrom_min_heap
Create a collection of search results from a min-heap of scored values.
imdb-index/src/scored.rs:17
Methodfrom_path
Create a new cursor writer that will write to a file at the given path. The file is truncated before writing.
imdb-index/src/index/writer.rs:21
Methodfrom_path
Load truth data from the given TOML file.
imdb-eval/src/eval.rs:46
Methodfrom_path
Build a candidate path from a source file path. If a path could not be built, then an error is returned.
src/rename.rs:656
Methodfrom_same_task_results
Returns a summary for a single group of task results. All the results given must have the same name, otherwise this panics. This also panics if the gi
imdb-eval/src/eval.rs:301
Methodfrom_str
(qstr: &str)
imdb-index/src/search.rs:546
Methodfrom_str
(ty: &str)
imdb-index/src/record.rs:149
Methodfrom_str
(s: &str)
imdb-index/src/index/names.rs:1182
Methodfrom_str
( s: &str, )
imdb-eval/src/main.rs:314
Methodfrom_task_results
Returns a group of summaries for all distinct specifications found in the back of results given. If no results are given, then no summaries are retur
imdb-eval/src/eval.rs:285
Methodfst
(err: fst::Error)
imdb-index/src/error.rs:67
Functionids
(results: &[Scored<NameID>])
imdb-index/src/index/names.rs:1362
Methodindex_dir
Return the path to the index directory for this context.
imdb-index/src/index/tests.rs:45
Methodinit
Create a new logger that logs to stderr and initialize it as the global logger. If there was a problem setting the logger, then an error is returned.
imdb-eval/src/logger.rs:28
Methodinit
Create a new logger that logs to stderr and initialize it as the global logger. If there was a problem setting the logger, then an error is returned.
src/logger.rs:26
Methodinto_kind
Transfer ownership of the kind of this error.
imdb-index/src/error.rs:23
Methodio
(err: std::io::Error)
imdb-index/src/error.rs:71
Methodio_path
( err: std::io::Error, path: P, )
imdb-index/src/error.rs:75
Methoditer_edge
( max_size: usize, text: &'t str, mut f: F, )
imdb-index/src/index/names.rs:1274
Methoditer_window
( size: usize, text: &'t str, mut f: F, )
imdb-index/src/index/names.rs:1258
Methodlog
(&self, record: &log::Record)
imdb-eval/src/logger.rs:40
Methodlog
(&self, record: &log::Record)
src/logger.rs:38
Functionmain
()
imdb-eval/src/main.rs:16
Functionmain
()
src/main.rs:20
Functionnames_bruces_1
()
imdb-index/src/index/names.rs:1380
Functionnames_bruces_2
()
imdb-index/src/index/names.rs:1396
Functionnames_bruces_3
()
imdb-index/src/index/names.rs:1411
Functionnames_bruces_4
()
imdb-index/src/index/names.rs:1422
Functionnever_nan_1
()
imdb-index/src/scored.rs:219
Functionnever_nan_2
()
imdb-index/src/scored.rs:225
Functionnever_nan_3
()
imdb-index/src/scored.rs:231
Methodnew
(kind: ErrorKind)
imdb-index/src/error.rs:27
Methodnew
Create an empty collection of scored values.
imdb-index/src/scored.rs:12
Methodnew
Create a new searcher for the given `Index`. A single searcher can be used to execute many queries. An existing `Index` can be opened with `Index::o
imdb-index/src/search.rs:41
Methodnew
Create a new builder with a default configuration.
imdb-index/src/index/mod.rs:362
Methodnew
Create a new test context using the test data set name given. Test data sets can be found in the `data/test` directory in this repository's root. Dat
imdb-index/src/index/tests.rs:32
Methodnew
Wrap the given writer with a counter.
imdb-index/src/index/writer.rs:29
Methodnew
Create a new streaming iterator over indexable AKA records.
imdb-index/src/index/aka.rs:148
Methodnew
Create a query that searches the given name.
imdb-index/src/index/names.rs:136
Methodnew
Create a new spec using a default configuration.
imdb-eval/src/eval.rs:83
Methodnew
Create a new proposal with the given source and destination. The destination is constructed by joining `dst_parent` with `dst_name`. `dst_name` is san
src/rename.rs:59
Functionngrams_edge
(n: usize, text: &str)
imdb-index/src/index/names.rs:1441
Functionngrams_edge_ascii
()
imdb-index/src/index/names.rs:1497
Functionngrams_edge_non_ascii
()
imdb-index/src/index/names.rs:1509
Functionngrams_window
(n: usize, text: &str)
imdb-index/src/index/names.rs:1435
Functionngrams_window_ascii
()
imdb-index/src/index/names.rs:1470
Functionngrams_window_non_ascii
()
imdb-index/src/index/names.rs:1484
Functionngrams_window_weird_sizes
()
imdb-index/src/index/names.rs:1454
Functionngrams_window_zero_banned
()
imdb-index/src/index/names.rs:1449
← previousnext →201–300 of 335, ranked by callers