Lines Matching refs:CHUNK
33 const CHUNK: usize = 64; constant
43 let mut chunkmap = Map::<[u8; CHUNK], u8>::new(); in main()
44 let mut dense = Vec::<[u8; CHUNK]>::new(); in main()
58 let empty_chunk = [0u8; CHUNK]; in main()
63 for i in 0..(u32::from(char::MAX) + 1) / CHUNK as u32 / 8 { in main()
66 for j in 0..CHUNK as u32 { in main()
70 let code = (i * CHUNK as u32 + j) * 8 + k; in main()
92 let mut front = [0u8; CHUNK / 2]; in main()
93 let mut back = [0u8; CHUNK / 2]; in main()
94 front.copy_from_slice(&chunk[..CHUNK / 2]); in main()
95 back.copy_from_slice(&chunk[CHUNK / 2..]); in main()
109 let mut front = [0u8; CHUNK / 2]; in main()
110 let mut back = [0u8; CHUNK / 2]; in main()
111 front.copy_from_slice(&chunk[..CHUNK / 2]); in main()
112 back.copy_from_slice(&chunk[CHUNK / 2..]); in main()
115 match u8::try_from(halfdense.len() / (CHUNK / 2)) { in main()
124 concat[..CHUNK / 2].copy_from_slice(&back); in main()
125 concat[CHUNK / 2..].copy_from_slice(&next); in main()
132 match u8::try_from(halfdense.len() / (CHUNK / 2) - 1) { in main()