/dports/devel/R-cran-waldo/waldo/R/ |
H A D | compare-value.R | 1 compare_logical <- function(x, y, paths = c("x", "y"), max_diffs = Inf) { argument 5 max_diffs = max_diffs 9 compare_character <- function(x, y, paths = c("x", "y"), quote = "\"", max_diffs = Inf) { argument 14 opts <- compare_opts(max_diffs = max_diffs) 22 diff_element(x, y, paths, quote = quote, max_diffs = max_diffs) 26 compare_numeric <- function(x, y, paths = c("x", "y"), tolerance = default_tol(), max_diffs = Inf) { argument 33 out <- diff_rows(rows, paths = paths, max_diffs = max_diffs) 54 max_diffs = max_diffs
|
H A D | compare.R | 126 max_diffs = if (in_ci()) Inf else 10, argument 138 max_diffs = max_diffs, 150 new_compare(out, max_diffs) 272 max_diffs = opts$max_diffs 284 max_diffs = opts$max_diffs 293 max_diffs = opts$max_diffs 295 logical = compare_logical(x, y, paths, max_diffs = opts$max_diffs), 297 character = compare_character(x, y, paths, max_diffs = opts$max_diffs)
|
H A D | diff.R | 87 max_diffs = 10, argument 105 max_diffs = max_diffs 113 max_diffs = 10) { argument 118 n <- min(ncol(mat), max_diffs) 166 lines <- line_by_line(x, y, diff, max_diffs = max_diffs) 173 line_by_line <- function(x, y, diff, max_diffs = 10) { argument 180 n <- min(max_diffs, nrow(diff))
|
H A D | compare-class.R | 2 new_compare <- function(x = character(), max_diffs = if (in_ci()) Inf else 10) { argument 4 structure(x, max_diffs = max_diffs, class = "waldo_compare")
|
H A D | compare-data-frame.R | 17 diff_rows(rows, paths = paths, max_diffs = opts$max_diffs) 20 diff_rows <- function(rows, paths = c("x", "y"), max_diffs = 10) { argument 32 lines <- line_by_line(rows$x, rows$y, diff, max_diffs = max_diffs)
|
H A D | compare-opts.R | 3 max_diffs = if (in_ci()) Inf else 10, argument 16 max_diffs = max_diffs, nameattr
|
/dports/devel/R-cran-testthat/testthat/R/ |
H A D | compare.R | 50 compare.default <- function(x, y, ..., max_diffs = 9) { argument 52 if (length(same) > max_diffs) { 53 same <- c(same[1:max_diffs], "...") 129 max_diffs = 5, max_lines = 5, argument 156 max_diffs = max_diffs, 178 max_diffs = 5, argument 182 n_show <- seq_len(min(x$n_diff, max_diffs)) 244 ..., max_diffs = 9) { argument 272 difference(format(mismatches, max_diffs = max_diffs)) 308 n_show <- seq_len(min(x$n_diff, max_diffs)) [all …]
|
/dports/devel/py-deepdiff/deepdiff-5.6.0/tests/ |
H A D | test_cache.py | 82 max_diffs = 30000 90 max_diffs=max_diffs, cache_size=cache_size, cache_tuning_sample_size=100) 110 max_diffs = 30000 118 max_diffs=max_diffs, cache_size=cache_size, cache_tuning_sample_size=100)
|
/dports/devel/R-cran-testthat/testthat/man/ |
H A D | compare.Rd | 14 \method{compare}{default}(x, y, ..., max_diffs = 9) 21 max_diffs = 5, 32 max_diffs = 9 37 \method{compare}{POSIXt}(x, y, tolerance = 0.001, ..., max_diffs = 9) 44 \item{max_diffs}{Maximum number of differences to show}
|
/dports/devel/R-cran-waldo/waldo/tests/testthat/ |
H A D | test-compare-value.R | 46 …compare(letters[1:15], letters[c(14, 4, 12, 11, 13, 3, 10, 5, 1, 7, 9, 15, 6, 8, 2)], max_diffs = … 47 …compare(letters[1:15], letters[c(3, 13, 6, 10, 11, 9, 4, 5, 15, 2, 12, 14, 8, 7, 1)], max_diffs = … 48 …compare(letters[1:15], letters[c(12, 13, 1, 2, 5, 6, 11, 15, 10, 14, 9, 7, 3, 4, 8)], max_diffs = …
|
H A D | test-compare.R | 22 expect_snapshot(compare(x, y, max_diffs = 1)) 23 expect_snapshot(compare(x, y, max_diffs = Inf)) 25 expect_snapshot(compare(letters, LETTERS, max_diffs = 1)) 26 expect_snapshot(compare(letters, LETTERS, max_diffs = 10)) 27 expect_snapshot(compare(letters, LETTERS, max_diffs = 20)) 28 expect_snapshot(compare(letters, LETTERS, max_diffs = Inf))
|
/dports/graphics/cairo/cairo-1.17.4/perf/ |
H A D | cairo-perf-compare-backends.c | 160 int num_diffs, max_diffs; in cairo_perf_reports_compare() local 167 max_diffs = reports[0].tests_count; in cairo_perf_reports_compare() 170 if (reports[i].tests_count > max_diffs) in cairo_perf_reports_compare() 171 max_diffs = reports[i].tests_count; in cairo_perf_reports_compare() 174 diff = diffs = xmalloc (max_diffs * sizeof (test_diff_t)); in cairo_perf_reports_compare()
|
H A D | cairo-perf-diff-files.c | 231 int num_diffs, max_diffs; in cairo_perf_reports_compare() local 242 max_diffs = reports[0].tests_count; in cairo_perf_reports_compare() 245 if (reports[i].tests_count > max_diffs) in cairo_perf_reports_compare() 246 max_diffs = reports[i].tests_count; in cairo_perf_reports_compare() 249 diff = diffs = xmalloc (max_diffs * sizeof (test_diff_t)); in cairo_perf_reports_compare()
|
/dports/devel/p5-Test-BinaryData/Test-BinaryData-0.014/t/ |
H A D | basic.t | 118 sub { is_binary($original, $crlfed, '\n vs crlf, max 1', {max_diffs => 1}); }, 139 sub { is_binary($original, $crlfed, '\n vs crlf, max 2', {max_diffs => 2}); },
|
/dports/devel/p5-Test-BinaryData/Test-BinaryData-0.014/lib/Test/ |
H A D | BinaryData.pm | 94 if ($arg->{max_diffs} and $seen_diffs == $arg->{max_diffs}) {
|
/dports/devel/R-cran-testthat/testthat/tests/testthat/ |
H A D | test-compare.R | 8 lines2 <- strsplit(compare(x, y, max_diffs = 99)$message, "\n")[[1]] 97 comp <- compare(letters[1:2], LETTERS[1:2], max_diffs = 1) 172 lines <- strsplit(format(x, max_diffs = 5), "\n")[[1]]
|
/dports/graphics/freeimage/FreeImage/Source/LibWebP/src/enc/ |
H A D | predictor_enc.c | 121 uint8_t* const max_diffs, int used_subtract_green) { in MaxDiffsForRow() argument 143 max_diffs[x] = MaxDiffAroundPixel(current, up, down, left, right); in MaxDiffsForRow() 233 uint32_t* const current_row, const uint8_t* const max_diffs, int mode, in GetResidual() argument 258 max_diffs[x], used_subtract_green); in GetResidual() 264 (void)max_diffs; in GetResidual() 329 uint8_t* const max_diffs = (uint8_t*)(current_row + width + 1); in GetBestPredictorForTile() local 372 max_diffs + context_start_x, used_subtract_green); in GetBestPredictorForTile() 376 GetResidual(width, height, upper_row, current_row, max_diffs, mode, in GetBestPredictorForTile()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/libwebp/src/enc/ |
H A D | predictor_enc.c | 121 uint8_t* const max_diffs, int used_subtract_green) { in MaxDiffsForRow() argument 143 max_diffs[x] = MaxDiffAroundPixel(current, up, down, left, right); in MaxDiffsForRow() 235 uint32_t* const current_row, const uint8_t* const max_diffs, int mode, in GetResidual() argument 260 max_diffs[x], used_subtract_green); in GetResidual() 266 (void)max_diffs; in GetResidual() 331 uint8_t* const max_diffs = (uint8_t*)(current_row + width + 1); in GetBestPredictorForTile() local 374 max_diffs + context_start_x, used_subtract_green); in GetBestPredictorForTile() 378 GetResidual(width, height, upper_row, current_row, max_diffs, mode, in GetBestPredictorForTile()
|
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/libwebp-sys2-0.1.2/c_src/src/enc/ |
H A D | predictor_enc.c | 121 uint8_t* const max_diffs, int used_subtract_green) { in MaxDiffsForRow() argument 143 max_diffs[x] = MaxDiffAroundPixel(current, up, down, left, right); in MaxDiffsForRow() 235 uint32_t* const current_row, const uint8_t* const max_diffs, int mode, in GetResidual() argument 260 max_diffs[x], used_subtract_green); in GetResidual() 266 (void)max_diffs; in GetResidual() 331 uint8_t* const max_diffs = (uint8_t*)(current_row + width + 1); in GetBestPredictorForTile() local 374 max_diffs + context_start_x, used_subtract_green); in GetBestPredictorForTile() 378 GetResidual(width, height, upper_row, current_row, max_diffs, mode, in GetBestPredictorForTile()
|
/dports/devel/godot/godot-3.2.3-stable/thirdparty/libwebp/src/enc/ |
H A D | predictor_enc.c | 121 uint8_t* const max_diffs, int used_subtract_green) { in MaxDiffsForRow() argument 143 max_diffs[x] = MaxDiffAroundPixel(current, up, down, left, right); in MaxDiffsForRow() 235 uint32_t* const current_row, const uint8_t* const max_diffs, int mode, in GetResidual() argument 260 max_diffs[x], used_subtract_green); in GetResidual() 266 (void)max_diffs; in GetResidual() 331 uint8_t* const max_diffs = (uint8_t*)(current_row + width + 1); in GetBestPredictorForTile() local 374 max_diffs + context_start_x, used_subtract_green); in GetBestPredictorForTile() 378 GetResidual(width, height, upper_row, current_row, max_diffs, mode, in GetBestPredictorForTile()
|
/dports/devel/godot-tools/godot-3.2.3-stable/thirdparty/libwebp/src/enc/ |
H A D | predictor_enc.c | 121 uint8_t* const max_diffs, int used_subtract_green) { in MaxDiffsForRow() argument 143 max_diffs[x] = MaxDiffAroundPixel(current, up, down, left, right); in MaxDiffsForRow() 235 uint32_t* const current_row, const uint8_t* const max_diffs, int mode, in GetResidual() argument 260 max_diffs[x], used_subtract_green); in GetResidual() 266 (void)max_diffs; in GetResidual() 331 uint8_t* const max_diffs = (uint8_t*)(current_row + width + 1); in GetBestPredictorForTile() local 374 max_diffs + context_start_x, used_subtract_green); in GetBestPredictorForTile() 378 GetResidual(width, height, upper_row, current_row, max_diffs, mode, in GetBestPredictorForTile()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/libwebp/src/enc/ |
H A D | predictor_enc.c | 121 uint8_t* const max_diffs, int used_subtract_green) { in MaxDiffsForRow() argument 143 max_diffs[x] = MaxDiffAroundPixel(current, up, down, left, right); in MaxDiffsForRow() 235 uint32_t* const current_row, const uint8_t* const max_diffs, int mode, in GetResidual() argument 260 max_diffs[x], used_subtract_green); in GetResidual() 266 (void)max_diffs; in GetResidual() 331 uint8_t* const max_diffs = (uint8_t*)(current_row + width + 1); in GetBestPredictorForTile() local 374 max_diffs + context_start_x, used_subtract_green); in GetBestPredictorForTile() 378 GetResidual(width, height, upper_row, current_row, max_diffs, mode, in GetBestPredictorForTile()
|
/dports/security/keybase/client-v5.7.1/shared/ios/Pods/libwebp/src/enc/ |
H A D | predictor_enc.c | 121 uint8_t* const max_diffs, int used_subtract_green) { in MaxDiffsForRow() argument 143 max_diffs[x] = MaxDiffAroundPixel(current, up, down, left, right); in MaxDiffsForRow() 235 uint32_t* const current_row, const uint8_t* const max_diffs, int mode, in GetResidual() argument 260 max_diffs[x], used_subtract_green); in GetResidual() 266 (void)max_diffs; in GetResidual() 331 uint8_t* const max_diffs = (uint8_t*)(current_row + width + 1); in GetBestPredictorForTile() local 374 max_diffs + context_start_x, used_subtract_green); in GetBestPredictorForTile() 378 GetResidual(width, height, upper_row, current_row, max_diffs, mode, in GetBestPredictorForTile()
|
/dports/www/firefox/firefox-99.0/media/libwebp/src/enc/ |
H A D | predictor_enc.c | 121 uint8_t* const max_diffs, int used_subtract_green) { in MaxDiffsForRow() argument 143 max_diffs[x] = MaxDiffAroundPixel(current, up, down, left, right); in MaxDiffsForRow() 235 uint32_t* const current_row, const uint8_t* const max_diffs, int mode, in GetResidual() argument 260 max_diffs[x], used_subtract_green); in GetResidual() 266 (void)max_diffs; in GetResidual() 331 uint8_t* const max_diffs = (uint8_t*)(current_row + width + 1); in GetBestPredictorForTile() local 374 max_diffs + context_start_x, used_subtract_green); in GetBestPredictorForTile() 378 GetResidual(width, height, upper_row, current_row, max_diffs, mode, in GetBestPredictorForTile()
|
/dports/graphics/webp/libwebp-1.2.1/src/enc/ |
H A D | predictor_enc.c | 121 uint8_t* const max_diffs, int used_subtract_green) { in MaxDiffsForRow() argument 143 max_diffs[x] = MaxDiffAroundPixel(current, up, down, left, right); in MaxDiffsForRow() 235 uint32_t* const current_row, const uint8_t* const max_diffs, int mode, in GetResidual() argument 260 max_diffs[x], used_subtract_green); in GetResidual() 266 (void)max_diffs; in GetResidual() 331 uint8_t* const max_diffs = (uint8_t*)(current_row + width + 1); in GetBestPredictorForTile() local 374 max_diffs + context_start_x, used_subtract_green); in GetBestPredictorForTile() 378 GetResidual(width, height, upper_row, current_row, max_diffs, mode, in GetBestPredictorForTile()
|