MCPcopy Create free account
hub / github.com/Proryanator/encoder-benchmark / will_be_duplicate

Function will_be_duplicate

engine/src/permutation_engine.rs:305–313  ·  view source on GitHub ↗
(duplicates: &Vec<PermutationResult>, next_permutation: &Permutation)

Source from the content-addressed store, hash-verified

303}
304
305fn will_be_duplicate(duplicates: &Vec<PermutationResult>, next_permutation: &Permutation) -> bool {
306 for dup in duplicates {
307 if dup.encoder_settings == next_permutation.encoder_settings {
308 return true;
309 }
310 }
311
312 return false;
313}
314
315fn insert_format_from(input: &str, encoder: &String) -> String {
316 let format = if encoder.contains("h264") {

Callers 1

runMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected