Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Error handling #670

Open
recmo opened this issue Apr 7, 2020 · 0 comments
Open

Error handling #670

recmo opened this issue Apr 7, 2020 · 0 comments
Assignees
Labels
refactor Improves the code quality tracker Issues generated from source comments

Comments

@recmo
Copy link
Contributor

recmo commented Apr 7, 2020

On 2020-04-07 @recmo wrote in 6ddf787 “Fix lints”:

Error handling

        if length == 0 {
            return;
        }
        // TODO: Address must be page aligned
        let address = self.as_mut_ptr() as *mut ();
        // TODO: Error handling
        advise(address, length, advice).unwrap_or_else(|_| panic!("MADVISE failed"));
    }
}

// Blanket implementation for slices

From algebra/primefield/src/fft/prefetch.rs:80

@recmo recmo added refactor Improves the code quality tracker Issues generated from source comments labels Apr 7, 2020
@recmo recmo self-assigned this Apr 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
refactor Improves the code quality tracker Issues generated from source comments
Projects
None yet
Development

No branches or pull requests

1 participant