Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MemoLanes/MemoLanes
/ functions
Functions
1,024 in github.com/MemoLanes/MemoLanes
⨍
Functions
1,024
◇
Types & classes
169
↓ 547 callers
Function
new
(cache_dir: &str)
app/rust/src/cache_db/mod.rs:68
↓ 133 callers
Method
iter
(&self)
app/rust/src/journey_bitmap.rs:386
↓ 118 callers
Method
with_txn
(&mut self, f: F)
app/rust/src/main_db.rs:729
↓ 72 callers
Method
with_db_txn
(&self, f: F)
app/rust/src/storage.rs:179
↓ 71 callers
Function
insert_bitmap_journey
( txn: &mut memolanes_core::main_db::Txn, date: NaiveDate, kind: JourneyKind, bitmap: JourneyB
app/rust/tests/test_utils/mod.rs:215
↓ 70 callers
Function
make_bitmap_with_line
(line_fn: fn(&mut JourneyBitmap))
app/rust/tests/test_utils/mod.rs:233
↓ 57 callers
Method
get
(&self, block_key: &BlockKey)
app/rust/src/journey_bitmap.rs:461
↓ 55 callers
Function
new
Construct the achievement store: a compute-on-demand [`backend::on_demand::OnDemandStore`], mirroring `cache_db::new`.
app/rust/src/achievement/mod.rs:21
↓ 53 callers
Function
get
()
app/rust/src/api/api.rs:46
↓ 46 callers
Method
add_line
(&mut self, start_lng: f64, start_lat: f64, end_lng: f64, end_lat: f64)
app/rust/src/journey_bitmap.rs:151
↓ 44 callers
Function
date
(s: &str)
app/rust/tests/main_db.rs:287
↓ 43 callers
Function
date
(s: &str)
app/rust/tests/cache_db_compute.rs:18
↓ 37 callers
Method
create_and_insert_journey
( &mut self, journey_date: NaiveDate, start: Option<DateTime<Utc>>, end: Optio
app/rust/src/main_db.rs:272
↓ 30 callers
Method
get_or_compute
( &self, txn: &main_db::Txn, layer_kind: &LayerKind, range: Option<(NaiveDate,
app/rust/src/cache_db/cache_db_v1.rs:142
↓ 30 callers
Method
log
(&self, record: &log::Record)
app/rust/src/logs.rs:37
↓ 29 callers
Method
is_empty
(&self)
app/rust/src/journey_data.rs:169
↓ 27 callers
Method
on
* Register a callback for property changes * @param property - Property name to watch * @param callback - Called with (newValue, oldValue) when
app/journey_kernel/static/params.ts:138
↓ 26 callers
Method
merge
(&mut self, other_journey_bitmap: JourneyBitmap)
app/rust/src/journey_bitmap.rs:261
↓ 24 callers
Method
get_latest_bitmap_for_main_map_renderer
( &self, layer_kind: &Option<LayerKind>, include_ongoing: bool, )
app/rust/src/storage.rs:426
↓ 23 callers
Method
delete_journey
(&mut self, id: &str)
app/rust/src/main_db.rs:182
↓ 22 callers
Function
date
(s: &str)
app/rust/tests/storage.rs:496
↓ 22 callers
Method
set
(&mut self, x: usize, y: usize, val: bool)
app/journey_kernel/src/bitmap2d.rs:107
↓ 21 callers
Function
draw_line1
(journey_bitmap: &mut JourneyBitmap)
app/rust/tests/test_utils/mod.rs:185
↓ 20 callers
Method
set_point
x ∈ [0,63], y ∈ [0,63]
app/rust/src/journey_bitmap.rs:878
↓ 20 callers
Function
setup_main_and_cache_db
(prefix: &str)
app/rust/tests/test_utils/mod.rs:207
↓ 20 callers
Function
sub
(dir: &TempDir, s: &str)
app/rust/tests/region_ground_truth.rs:173
↓ 19 callers
Function
date
(s: &str)
app/rust/tests/cache_db.rs:12
↓ 17 callers
Function
init
(cache_dir: &str)
app/rust/src/logs.rs:54
↓ 17 callers
Method
to_radians
(deg: f64)
app/rust/src/gps_processor.rs:52
↓ 16 callers
Method
update
(&mut self, mut f: F)
app/rust/src/renderer/map_renderer.rs:30
↓ 15 callers
Function
compute_journey_bitmap_area
Result unit in m^2. This area calculating method by using center bit in a block has better efficiency and accuracy compared to simple interation and o
app/rust/src/journey_area_utils.rs:56
↓ 15 callers
Function
draw_line2
(journey_bitmap: &mut JourneyBitmap)
app/rust/tests/test_utils/mod.rs:188
↓ 15 callers
Function
log
(message: string)
app/journey_kernel/static/render_diagnostics.ts:141
↓ 15 callers
Method
set
(&mut self, block_key: BlockKey)
app/rust/src/journey_bitmap.rs:381
↓ 15 callers
Method
spec
(self)
app/rust/geo_data_format/src/worldview.rs:51
↓ 14 callers
Method
get_range_bitmap
( &self, from_date_inclusive: NaiveDate, to_date_inclusive: NaiveDate, kind: O
app/rust/src/storage.rs:448
↓ 14 callers
Function
load_gpx
(file_path: &str)
app/rust/src/import_data.rs:187
↓ 14 callers
Function
parse_geojson
Parse a Natural Earth admin-0 countries GeoJSON. Filters out features whose `CONTINENT == "Seven seas (open ocean)"`. Returns the rest.
tools/geo_rasterizer/src/parse.rs:24
↓ 14 callers
Function
setup_storage_for_test
(f: F)
app/rust/tests/storage.rs:59
↓ 13 callers
Function
journey_vector_from_raw_data_with_gps_preprocessor
`segment_gap_rule_for_preprocessor = None` meaning disable preprocessor
app/rust/src/import_data.rs:468
↓ 13 callers
Method
merge_vector
(&mut self, journey_vector: &crate::journey_vector::JourneyVector)
app/rust/src/journey_bitmap.rs:246
↓ 12 callers
Function
dispatch_request
Unified request dispatcher. Routes path to the appropriate handler, parses query params, and returns a fully-formed response. Always returns status 20
app/rust/src/renderer/internal_server.rs:88
↓ 12 callers
Method
is_empty
(&self)
app/rust/src/export_data/fow.rs:123
↓ 12 callers
Function
lng_lat_to_block_xy
Project (lng, lat) to integer block coordinates in [0, BLOCK_GRID_SIZE). Equivalent to `lng_lat_to_tile_x_y(lng, lat, 16)` from `app/rust/src/utils.rs
tools/geo_rasterizer/src/projection.rs:22
↓ 12 callers
Method
remove
* Remove the layer from the map and clean up resources.
app/journey_kernel/static/layers/journey-layer-interface.ts:30
↓ 11 callers
Method
haversine_distance
(&self, other: &Point)
app/rust/src/gps_processor.rs:18
↓ 10 callers
Function
assemble_entities
(features: &[ParsedFeature], registry: &Registry)
tools/geo_rasterizer/src/entities.rs:46
↓ 10 callers
Function
assert_cache
(storage: &Storage, default: &JourneyBitmap, flight: &JourneyBitmap)
app/rust/tests/storage.rs:78
↓ 10 callers
Method
get
(&self, x: usize, y: usize)
app/journey_kernel/src/bitmap2d.rs:102
↓ 10 callers
Method
get_journey_header
(&self, id: &str)
app/rust/src/main_db.rs:487
↓ 10 callers
Method
index
(&self)
app/rust/src/journey_bitmap.rs:366
↓ 10 callers
Method
next
(&mut self)
app/journey_kernel/src/tile_iter.rs:17
↓ 10 callers
Function
render_map_overlay
( map_renderer: &mut MapRenderer, // map view area (coordinates are in lat or lng) zoom: i32,
app/rust/tests/test_utils/mod.rs:87
↓ 10 callers
Method
update_journey_metadata
( &mut self, id: &str, new_journey_date: NaiveDate, start: Option<DateTime<Utc
app/rust/src/main_db.rs:313
↓ 10 callers
Function
write_geo_data
Serialize geo data into the sectioned format. Border blob indices are assigned in tile-index order; the reader reconstructs the same order.
app/rust/geo_data_format/src/format.rs:65
↓ 9 callers
Function
compute_provenance_hash
SHA-256 identifying the data instance this run would produce: `GEO_DATA_VERSION` (4 LE bytes, a domain-separation salt), the raw bytes of `geojson_pat
tools/geo_rasterizer/src/cache.rs:22
↓ 9 callers
Method
query_journeys
( &self, from_date_inclusive: Option<NaiveDate>, to_date_inclusive: Option<NaiveDate>,
app/rust/src/main_db.rs:452
↓ 9 callers
Function
verify_image
(name: &str, image: &Vec<u8>)
app/rust/tests/test_utils/mod.rs:49
↓ 9 callers
Function
write_tmp
(bytes: &[u8])
tools/geo_rasterizer/tests/cache.rs:6
↓ 8 callers
Method
build_lods
Build all LOD levels down to 1×1 via repeated 2×2 OR reduction. `lods[0]` is half-resolution, `lods[1]` is quarter-resolution, etc. After calling thi
app/journey_kernel/src/bitmap2d.rs:154
↓ 8 callers
Method
finalize_ongoing_journey
(&mut self)
app/rust/src/main_db.rs:412
↓ 8 callers
Method
get_journey_data
(&self, id: &str)
app/rust/src/main_db.rs:509
↓ 8 callers
Function
sub
(dir: &TempDir, s: &str)
app/rust/tests/achievement_on_demand.rs:79
↓ 8 callers
Function
tile_x_y_to_lng_lat
(x: i32, y: i32, zoom: i32)
app/rust/src/utils.rs:15
↓ 8 callers
Method
with_achievement_read
(&self, f: F)
app/rust/src/storage.rs:381
↓ 7 callers
Function
add_f64_mercator_coordinates
(pixels: &mut Vec<f32>, x: f64, y: f64)
app/journey_kernel/src/wasm/mod.rs:38
↓ 7 callers
Method
all_tile_keys
(&self)
app/rust/src/journey_bitmap.rs:118
↓ 7 callers
Function
block_area_m2
Earth-surface area of a single block at integer coords (x, y), in m². Trapezoidal approximation matching `compute_one_tile` in `app/rust/src/journey_a
tools/geo_rasterizer/src/projection.rs:51
↓ 7 callers
Function
draw_line3
(journey_bitmap: &mut JourneyBitmap)
app/rust/tests/test_utils/mod.rs:191
↓ 7 callers
Method
finalized_bitmap
Finalized explored coverage for one layer. `range = None` → all-time (served from cache); `Some((from, to))` → that inclusive window (computed directl
app/rust/src/journey_snapshot.rs:31
↓ 7 callers
Method
getZoom
()
app/journey_kernel/static/debug-panel.ts:30
↓ 7 callers
Method
into_inner
(self)
app/rust/src/api/api.rs:277
↓ 7 callers
Method
is_visited
(&self, x: u8, y: u8)
app/rust/src/journey_bitmap.rs:705
↓ 7 callers
Function
parse_or
(params: &HashMap<String, String>, key: &str, default: T)
app/rust/src/renderer/internal_server.rs:105
↓ 7 callers
Method
preprocess
(&mut self, curr_data: &RawData)
app/rust/src/gps_processor.rs:359
↓ 7 callers
Method
preventDefault
(event: any)
app/journey_kernel/static/flutter-bridge-editor.ts:45
↓ 7 callers
Function
process
main func to interpolate rawdata to a smooth `JourneyVector`
app/rust/src/flight_track_processor.rs:7
↓ 7 callers
Function
read_u32
(b: &[u8], at: usize)
app/rust/geo_data_format/src/format.rs:59
↓ 7 callers
Method
record
( &mut self, raw_data: &gps_processor::RawData, process_result: ProcessResult, )
app/rust/src/main_db.rs:774
↓ 7 callers
Method
serialize
(&mut self, writer: T)
app/rust/src/journey_data.rs:179
↓ 7 callers
Function
tile_index
x-major tile index in the tile grid: `tx * TILE_GRID_WIDTH + ty`. The one definition of tile ordering, shared by the rasterizer, writer, and runtime r
app/rust/geo_data_format/src/lib.rs:41
↓ 7 callers
Method
validate_unique_ids
No id appears twice across continents+countries (corruption guard).
tools/geo_rasterizer/src/registry.rs:79
↓ 7 callers
Method
with_journey_snapshot
(&self, f: F)
app/rust/src/storage.rs:355
↓ 6 callers
Function
audit_identity
CI gate 2 — identity audit. For every `(code, centroid)` in `present`: find the Entry by code (continents or countries). If found AND `entry.refs.get(
tools/geo_rasterizer/src/registry.rs:338
↓ 6 callers
Method
clearDrawLayer
()
app/journey_kernel/static/flutter-bridge-editor.ts:101
↓ 6 callers
Method
clearSelectionOverlay
()
app/journey_kernel/static/flutter-bridge-editor.ts:49
↓ 6 callers
Method
count
(&self)
app/rust/src/journey_bitmap.rs:701
↓ 6 callers
Function
createRow
( label: string, vsFormat: PrecisionFormat | null, fsFormat: PrecisionFormat | null, )
app/journey_kernel/static/render_diagnostics.ts:655
↓ 6 callers
Function
date_to_days_since_epoch
(date: NaiveDate)
app/rust/src/utils.rs:31
↓ 6 callers
Method
delete_all_journeys
(&mut self)
app/rust/src/main_db.rs:174
↓ 6 callers
Method
downscale
Produce a half-resolution bitmap via 2×2 OR reduction. Panics if `width_exp` is 0 (cannot downscale a 1×1 bitmap).
app/journey_kernel/src/bitmap2d.rs:124
↓ 6 callers
Function
entity
(id: u32, kind: GeoEntityKind, iso: &str, parent: Option<u32>)
app/rust/tests/geo_lookup.rs:12
↓ 6 callers
Method
entity
(&self, id: GeoEntityId)
app/rust/src/geo.rs:91
↓ 6 callers
Method
isMultiTouch
(event: any)
app/journey_kernel/static/flutter-bridge-editor.ts:41
↓ 6 callers
Method
is_empty
(&self)
app/rust/src/journey_bitmap.rs:65
↓ 6 callers
Function
lng_lat_to_tile_x_y
https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames TODO: remove this two duplicated function once we have the new rendering system.
app/rust/src/utils.rs:7
↓ 6 callers
Function
load_fow_snapshot_data
(fwss_file_path: &str)
app/rust/src/import_data.rs:148
↓ 6 callers
Method
merge_with
Merge `other` into `self` (bitwise OR). Incrementally updates mipmap if cached.
app/rust/src/journey_bitmap.rs:657
↓ 6 callers
Function
merged_representative_points
Group `(code, is_continent, geometry)` by `code`, merging all geometries sharing a code into one MultiPolygon; return one `(code, is_continent, (lon,
tools/geo_rasterizer/src/registry.rs:136
↓ 6 callers
Method
on
(event: string, callback: () => void)
app/journey_kernel/static/debug-panel.ts:29
next →
1–100 of 1,024, ranked by callers