MCPcopy Create free account

hub / github.com/MemoLanes/MemoLanes / functions

Functions1,024 in github.com/MemoLanes/MemoLanes

↓ 547 callersFunctionnew
(cache_dir: &str)
app/rust/src/cache_db/mod.rs:68
↓ 133 callersMethoditer
(&self)
app/rust/src/journey_bitmap.rs:386
↓ 118 callersMethodwith_txn
(&mut self, f: F)
app/rust/src/main_db.rs:729
↓ 72 callersMethodwith_db_txn
(&self, f: F)
app/rust/src/storage.rs:179
↓ 71 callersFunctioninsert_bitmap_journey
( txn: &mut memolanes_core::main_db::Txn, date: NaiveDate, kind: JourneyKind, bitmap: JourneyB
app/rust/tests/test_utils/mod.rs:215
↓ 70 callersFunctionmake_bitmap_with_line
(line_fn: fn(&mut JourneyBitmap))
app/rust/tests/test_utils/mod.rs:233
↓ 57 callersMethodget
(&self, block_key: &BlockKey)
app/rust/src/journey_bitmap.rs:461
↓ 55 callersFunctionnew
Construct the achievement store: a compute-on-demand [`backend::on_demand::OnDemandStore`], mirroring `cache_db::new`.
app/rust/src/achievement/mod.rs:21
↓ 53 callersFunctionget
()
app/rust/src/api/api.rs:46
↓ 46 callersMethodadd_line
(&mut self, start_lng: f64, start_lat: f64, end_lng: f64, end_lat: f64)
app/rust/src/journey_bitmap.rs:151
↓ 44 callersFunctiondate
(s: &str)
app/rust/tests/main_db.rs:287
↓ 43 callersFunctiondate
(s: &str)
app/rust/tests/cache_db_compute.rs:18
↓ 37 callersMethodcreate_and_insert_journey
( &mut self, journey_date: NaiveDate, start: Option<DateTime<Utc>>, end: Optio
app/rust/src/main_db.rs:272
↓ 30 callersMethodget_or_compute
( &self, txn: &main_db::Txn, layer_kind: &LayerKind, range: Option<(NaiveDate,
app/rust/src/cache_db/cache_db_v1.rs:142
↓ 30 callersMethodlog
(&self, record: &log::Record)
app/rust/src/logs.rs:37
↓ 29 callersMethodis_empty
(&self)
app/rust/src/journey_data.rs:169
↓ 27 callersMethodon
* 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 callersMethodmerge
(&mut self, other_journey_bitmap: JourneyBitmap)
app/rust/src/journey_bitmap.rs:261
↓ 24 callersMethodget_latest_bitmap_for_main_map_renderer
( &self, layer_kind: &Option<LayerKind>, include_ongoing: bool, )
app/rust/src/storage.rs:426
↓ 23 callersMethoddelete_journey
(&mut self, id: &str)
app/rust/src/main_db.rs:182
↓ 22 callersFunctiondate
(s: &str)
app/rust/tests/storage.rs:496
↓ 22 callersMethodset
(&mut self, x: usize, y: usize, val: bool)
app/journey_kernel/src/bitmap2d.rs:107
↓ 21 callersFunctiondraw_line1
(journey_bitmap: &mut JourneyBitmap)
app/rust/tests/test_utils/mod.rs:185
↓ 20 callersMethodset_point
x ∈ [0,63], y ∈ [0,63]
app/rust/src/journey_bitmap.rs:878
↓ 20 callersFunctionsetup_main_and_cache_db
(prefix: &str)
app/rust/tests/test_utils/mod.rs:207
↓ 20 callersFunctionsub
(dir: &TempDir, s: &str)
app/rust/tests/region_ground_truth.rs:173
↓ 19 callersFunctiondate
(s: &str)
app/rust/tests/cache_db.rs:12
↓ 17 callersFunctioninit
(cache_dir: &str)
app/rust/src/logs.rs:54
↓ 17 callersMethodto_radians
(deg: f64)
app/rust/src/gps_processor.rs:52
↓ 16 callersMethodupdate
(&mut self, mut f: F)
app/rust/src/renderer/map_renderer.rs:30
↓ 15 callersFunctioncompute_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 callersFunctiondraw_line2
(journey_bitmap: &mut JourneyBitmap)
app/rust/tests/test_utils/mod.rs:188
↓ 15 callersFunctionlog
(message: string)
app/journey_kernel/static/render_diagnostics.ts:141
↓ 15 callersMethodset
(&mut self, block_key: BlockKey)
app/rust/src/journey_bitmap.rs:381
↓ 15 callersMethodspec
(self)
app/rust/geo_data_format/src/worldview.rs:51
↓ 14 callersMethodget_range_bitmap
( &self, from_date_inclusive: NaiveDate, to_date_inclusive: NaiveDate, kind: O
app/rust/src/storage.rs:448
↓ 14 callersFunctionload_gpx
(file_path: &str)
app/rust/src/import_data.rs:187
↓ 14 callersFunctionparse_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 callersFunctionsetup_storage_for_test
(f: F)
app/rust/tests/storage.rs:59
↓ 13 callersFunctionjourney_vector_from_raw_data_with_gps_preprocessor
`segment_gap_rule_for_preprocessor = None` meaning disable preprocessor
app/rust/src/import_data.rs:468
↓ 13 callersMethodmerge_vector
(&mut self, journey_vector: &crate::journey_vector::JourneyVector)
app/rust/src/journey_bitmap.rs:246
↓ 12 callersFunctiondispatch_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 callersMethodis_empty
(&self)
app/rust/src/export_data/fow.rs:123
↓ 12 callersFunctionlng_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 callersMethodremove
* Remove the layer from the map and clean up resources.
app/journey_kernel/static/layers/journey-layer-interface.ts:30
↓ 11 callersMethodhaversine_distance
(&self, other: &Point)
app/rust/src/gps_processor.rs:18
↓ 10 callersFunctionassemble_entities
(features: &[ParsedFeature], registry: &Registry)
tools/geo_rasterizer/src/entities.rs:46
↓ 10 callersFunctionassert_cache
(storage: &Storage, default: &JourneyBitmap, flight: &JourneyBitmap)
app/rust/tests/storage.rs:78
↓ 10 callersMethodget
(&self, x: usize, y: usize)
app/journey_kernel/src/bitmap2d.rs:102
↓ 10 callersMethodget_journey_header
(&self, id: &str)
app/rust/src/main_db.rs:487
↓ 10 callersMethodindex
(&self)
app/rust/src/journey_bitmap.rs:366
↓ 10 callersMethodnext
(&mut self)
app/journey_kernel/src/tile_iter.rs:17
↓ 10 callersFunctionrender_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 callersMethodupdate_journey_metadata
( &mut self, id: &str, new_journey_date: NaiveDate, start: Option<DateTime<Utc
app/rust/src/main_db.rs:313
↓ 10 callersFunctionwrite_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 callersFunctioncompute_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 callersMethodquery_journeys
( &self, from_date_inclusive: Option<NaiveDate>, to_date_inclusive: Option<NaiveDate>,
app/rust/src/main_db.rs:452
↓ 9 callersFunctionverify_image
(name: &str, image: &Vec<u8>)
app/rust/tests/test_utils/mod.rs:49
↓ 9 callersFunctionwrite_tmp
(bytes: &[u8])
tools/geo_rasterizer/tests/cache.rs:6
↓ 8 callersMethodbuild_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 callersMethodfinalize_ongoing_journey
(&mut self)
app/rust/src/main_db.rs:412
↓ 8 callersMethodget_journey_data
(&self, id: &str)
app/rust/src/main_db.rs:509
↓ 8 callersFunctionsub
(dir: &TempDir, s: &str)
app/rust/tests/achievement_on_demand.rs:79
↓ 8 callersFunctiontile_x_y_to_lng_lat
(x: i32, y: i32, zoom: i32)
app/rust/src/utils.rs:15
↓ 8 callersMethodwith_achievement_read
(&self, f: F)
app/rust/src/storage.rs:381
↓ 7 callersFunctionadd_f64_mercator_coordinates
(pixels: &mut Vec<f32>, x: f64, y: f64)
app/journey_kernel/src/wasm/mod.rs:38
↓ 7 callersMethodall_tile_keys
(&self)
app/rust/src/journey_bitmap.rs:118
↓ 7 callersFunctionblock_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 callersFunctiondraw_line3
(journey_bitmap: &mut JourneyBitmap)
app/rust/tests/test_utils/mod.rs:191
↓ 7 callersMethodfinalized_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 callersMethodgetZoom
()
app/journey_kernel/static/debug-panel.ts:30
↓ 7 callersMethodinto_inner
(self)
app/rust/src/api/api.rs:277
↓ 7 callersMethodis_visited
(&self, x: u8, y: u8)
app/rust/src/journey_bitmap.rs:705
↓ 7 callersFunctionparse_or
(params: &HashMap<String, String>, key: &str, default: T)
app/rust/src/renderer/internal_server.rs:105
↓ 7 callersMethodpreprocess
(&mut self, curr_data: &RawData)
app/rust/src/gps_processor.rs:359
↓ 7 callersMethodpreventDefault
(event: any)
app/journey_kernel/static/flutter-bridge-editor.ts:45
↓ 7 callersFunctionprocess
main func to interpolate rawdata to a smooth `JourneyVector`
app/rust/src/flight_track_processor.rs:7
↓ 7 callersFunctionread_u32
(b: &[u8], at: usize)
app/rust/geo_data_format/src/format.rs:59
↓ 7 callersMethodrecord
( &mut self, raw_data: &gps_processor::RawData, process_result: ProcessResult, )
app/rust/src/main_db.rs:774
↓ 7 callersMethodserialize
(&mut self, writer: T)
app/rust/src/journey_data.rs:179
↓ 7 callersFunctiontile_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 callersMethodvalidate_unique_ids
No id appears twice across continents+countries (corruption guard).
tools/geo_rasterizer/src/registry.rs:79
↓ 7 callersMethodwith_journey_snapshot
(&self, f: F)
app/rust/src/storage.rs:355
↓ 6 callersFunctionaudit_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 callersMethodclearDrawLayer
()
app/journey_kernel/static/flutter-bridge-editor.ts:101
↓ 6 callersMethodclearSelectionOverlay
()
app/journey_kernel/static/flutter-bridge-editor.ts:49
↓ 6 callersMethodcount
(&self)
app/rust/src/journey_bitmap.rs:701
↓ 6 callersFunctioncreateRow
( label: string, vsFormat: PrecisionFormat | null, fsFormat: PrecisionFormat | null, )
app/journey_kernel/static/render_diagnostics.ts:655
↓ 6 callersFunctiondate_to_days_since_epoch
(date: NaiveDate)
app/rust/src/utils.rs:31
↓ 6 callersMethoddelete_all_journeys
(&mut self)
app/rust/src/main_db.rs:174
↓ 6 callersMethoddownscale
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 callersFunctionentity
(id: u32, kind: GeoEntityKind, iso: &str, parent: Option<u32>)
app/rust/tests/geo_lookup.rs:12
↓ 6 callersMethodentity
(&self, id: GeoEntityId)
app/rust/src/geo.rs:91
↓ 6 callersMethodisMultiTouch
(event: any)
app/journey_kernel/static/flutter-bridge-editor.ts:41
↓ 6 callersMethodis_empty
(&self)
app/rust/src/journey_bitmap.rs:65
↓ 6 callersFunctionlng_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 callersFunctionload_fow_snapshot_data
(fwss_file_path: &str)
app/rust/src/import_data.rs:148
↓ 6 callersMethodmerge_with
Merge `other` into `self` (bitwise OR). Incrementally updates mipmap if cached.
app/rust/src/journey_bitmap.rs:657
↓ 6 callersFunctionmerged_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 callersMethodon
(event: string, callback: () => void)
app/journey_kernel/static/debug-panel.ts:29
next →1–100 of 1,024, ranked by callers