Returns true if the cache is full and the entry should not be inserted.
(map: &DashMap<String, V>, max: usize)
| 69 | |
| 70 | /// Returns true if the cache is full and the entry should not be inserted. |
| 71 | fn is_cache_full<V>(map: &DashMap<String, V>, max: usize) -> bool { |
| 72 | map.len() >= max |
| 73 | } |
| 74 | |
| 75 | fn build_err_obj(env: &JNIEnv<'_>, err: &str) -> jstring { |
| 76 | env.new_string( |
no outgoing calls
no test coverage detected