Skip to content
1 viewer

rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off

crates/cre8-app-schedule/src/slots.rs

cre8-app-schedule · module slots · src · 986 lines (770 code, 127 comment) · sha 54694fe52a2f8a9f

Items

const MAX_SLOTS const MAX_DAYS struct HostCalendar impl HostCalendar struct SlotOffer struct SlotScan impl SlotScan const H const HALF

Functions

By call-graph weight (PageRank; 1.0 is the average function). 59 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
available_slots_pooledsrc/slots.rs:104fn254434.3
HostCalendar::newsrc/slots.rs:60method31803.2
kindsrc/slots.rs:469fn713122.6
mondaysrc/slots.rs:461fn312812.4
solosrc/slots.rs:477fn312612.3
utcsrc/slots.rs:456fn311112.1
atsrc/slots.rs:465fn312301.9
available_slotssrc/slots.rs:84fn1211011.8
slot_assignment_pooledsrc/slots.rs:393fn261311.8
SlotScan::newsrc/slots.rs:140method246111.7
append_day_slotssrc/slots.rs:186fn224131.7
slotssrc/slots.rs:492fn311621.7
pool_resource_atsrc/slots.rs:319fn318611.1
startssrc/slots.rs:496fn311101.1
SlotScan::load_ofsrc/slots.rs:165method31101.1
day_rangessrc/slots.rs:172fn122111
day_is_fullsrc/slots.rs:210fn112121
append_band_slotssrc/slots.rs:223fn295121
slot_assignmentsrc/slots.rs:378fn111111
offer_atsrc/slots.rs:256fn246140.9
teamsrc/slots.rs:765fn61620.9
bookedsrc/slots.rs:481fn71510.8
roomedsrc/slots.rs:871fn41510.8
pooledsrc/slots.rs:876fn91520.7
free_hostssrc/slots.rs:287fn224110.7
assign_hostsrc/slots.rs:357fn163110.7
group_by_daysrc/slots.rs:436fn114210.6
slot_is_offeredsrc/slots.rs:422fn111110.6
a_working_day_fills_the_grid_and_weekends_are_emptysrc/slots.rs:501fn121050.5
the_meeting_must_fit_inside_its_bandsrc/slots.rs:515fn81070.5
interval_and_duration_are_independentsrc/slots.rs:525fn71050.5
a_busy_interval_removes_exactly_the_slots_it_coverssrc/slots.rs:534fn81060.5
buffers_widen_a_booking_into_its_neighbourssrc/slots.rs:544fn101060.5
minimum_notice_pushes_the_first_offer_outsrc/slots.rs:556fn81060.5
the_horizon_bounds_how_far_out_the_page_offerssrc/slots.rs:566fn91060.5
an_inactive_type_or_an_empty_pool_offers_nothingsrc/slots.rs:577fn101040.5
a_closed_date_override_beats_the_weekday_hourssrc/slots.rs:589fn91060.5
an_hours_override_replaces_the_weekday_bandsrc/slots.rs:600fn151080.5
the_daily_cap_closes_a_day_once_it_is_metsrc/slots.rs:617fn151060.5
a_group_slot_keeps_its_seats_open_until_it_fillssrc/slots.rs:634fn221070.5
a_one_on_one_slot_is_hidden_by_its_own_reservationsrc/slots.rs:658fn81070.5
slot_assignment_agrees_with_the_listingsrc/slots.rs:668fn101060.5
grouping_buckets_slots_into_host_local_dayssrc/slots.rs:680fn91060.5
an_empty_or_inverted_window_yields_nothingsrc/slots.rs:691fn61040.5
a_wide_window_stays_boundedsrc/slots.rs:699fn81050.5
published_hours_hold_their_local_time_across_a_dst_changesrc/slots.rs:711fn162070.5
the_spring_forward_gap_drops_the_hours_that_do_not_existsrc/slots.rs:729fn182070.5
a_fixed_offset_type_still_works_for_legacy_recordssrc/slots.rs:749fn131060.5
round_robin_offers_a_slot_while_anyone_is_freesrc/slots.rs:773fn171060.5
round_robin_spreads_work_to_the_quieter_hostsrc/slots.rs:792fn201060.5
collective_needs_the_whole_team_freesrc/slots.rs:814fn171060.5
a_team_offers_more_times_than_either_member_alonesrc/slots.rs:833fn241070.5
a_single_host_type_is_unaffected_by_the_pool_machinerysrc/slots.rs:859fn71040.5
a_pooled_slot_stands_while_any_room_is_freesrc/slots.rs:887fn181090.5
the_first_free_room_in_pool_order_is_the_one_assignedsrc/slots.rs:907fn71050.5
two_practitioners_sharing_one_room_cannot_both_take_itsrc/slots.rs:916fn2810110.5
buffers_keep_turnover_time_in_the_roomsrc/slots.rs:946fn101080.5
a_group_class_keeps_its_room_for_later_inviteessrc/slots.rs:958fn191090.5
a_type_without_a_pool_ignores_pool_calendarssrc/slots.rs:979fn71070.5

Source not readable from this process.