Searched refs:MAX_DIRECTORY_NAME_LEN (Results 1 – 1 of 1) sorted by relevance
19 const MAX_DIRECTORY_NAME_LEN: usize = 64; constant87 truncate_to_character_boundary(&mut string, MAX_DIRECTORY_NAME_LEN); in make_filename_safe()804 assert!(input.len() > MAX_DIRECTORY_NAME_LEN); in test_make_filename_safe_truncates_long_strings()805 assert_eq!(&input[0..MAX_DIRECTORY_NAME_LEN], &safe); in test_make_filename_safe_truncates_long_strings()812 assert!(safe.len() < MAX_DIRECTORY_NAME_LEN); in test_make_filename_safe_respects_character_boundaries()838 let long_name = (0..MAX_DIRECTORY_NAME_LEN).map(|_| 'a').collect::<String>(); in test_benchmark_id_make_long_directory_name_unique()