import assert from 'node:assert/strict'; export function udpBufferingRuntimeSource(source){for(const[a,b]of[['turkos_udp_binding::binding::','super::udp_binding::'],['turkos_udp_datagrams::datagrams::','super::udp_datagrams::']]){assert.equal(source.split(a).length,2);source=source.replace(a,b);}return source+` impl Queue{pub const fn os_k1875_physical_layout()->[u64;20]{use core::mem::{size_of,offset_of};[size_of::()as u64,offset_of!(Self,slots)as u64,size_of::>()as u64,N as u64,M as u64,offset_of!(Slot,source)as u64,offset_of!(Slot,port)as u64,offset_of!(Slot,checksum)as u64,offset_of!(Slot,length)as u64,offset_of!(Slot,data)as u64,offset_of!(Self,principal)as u64,offset_of!(Self,handle)as u64,offset_of!(Self,head)as u64,offset_of!(Self,len)as u64,offset_of!(Self,bytes)as u64,offset_of!(Self,enqueued)as u64,offset_of!(Self,delivered)as u64,offset_of!(Self,full_drops)as u64,offset_of!(Self,short_refusals)as u64,offset_of!(Self,copy_failures)as u64]}} `;}