╭ changed ────────────╮ │src/ui/Home/Repos.zig│ ╰─────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────╮ │44 │ │45 // read the window [start, start+page_size) with one seek to the start rank,│ │46 // then a sequential walk │ │47 - const end = @min(start + page_size, count); │ │47 + const end = @min(start +| page_size, count); │ │48 var iter = try repo_id_set.iteratorFromIndex(start); │ │49 var i = start; │ │50 while (i < end) : (i += 1) { │ ╰────────────────────────────────────────────────────────────────────────────────────╯ ╭ changed ────────────╮ │src/ui/Home/Users.zig│ ╰─────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────╮ │42 │ │43 // read the window [start, start+page_size) with one seek to the start rank,│ │44 // then a sequential walk │ │45 - const end = @min(start + page_size, count); │ │45 + const end = @min(start +| page_size, count); │ │46 var iter = try user_id_set.iteratorFromIndex(start); │ │47 var i = start; │ │48 while (i < end) : (i += 1) { │ ╰────────────────────────────────────────────────────────────────────────────────────╯ ╭ changed ────────────╮ │src/ui/Repo/Files.zig│ ╰─────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────╮ │183 // init reads through the file to validate it (and buffer it in memory), so│ │184 // the line count is known and a window can be sliced out of the buffer. │ │185 const total = line_iter.count(); │ │186 - const end = @min(start + file_page, total); │ │186 + const end = @min(start +| file_page, total); │ │187 │ │188 var lines: std.ArrayList([]const u8) = .empty; │ │189 var i = start; │ ╰────────────────────────────────────────────────────────────────────────────────────╯ ╭ changed ──────╮ │src/ui/User.zig│ ╰───────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────╮ │79 │ │80 // read the window [start, start+page_size) with one seek to the start│ │81 // rank, then a sequential walk. │ │82 - const end = @min(repos_start + page_size, count); │ │82 + const end = @min(repos_start +| page_size, count); │ │83 var repos_iter = try user_repos.iteratorFromIndex(repos_start); │ │84 var i = repos_start; │ │85 while (i < end) : (i += 1) { │ ╰──────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │108 const repos_cursor = try haxy_moment.getCursor(hash.hashInt(hash_kind, evt.Repo.record_map_key)) orelse return error.NotFound;│ │109 const repo_records = try DB.HashMap(.read_only).init(repos_cursor); │ │110 const count = try user_forks.count(); │ │111 - const end = @min(forks_start + page_size, count); │ │111 + const end = @min(forks_start +| page_size, count); │ │112 var iter = try user_forks.iteratorFromIndex(forks_start); │ │113 var i = forks_start; │ │114 while (i < end) : (i += 1) { │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯