Libmarpa 7.3.0 failure return values, for your bindings-writing pleasure
marpa_check_version
marpa_c_init
marpa_c_error
marpa_r_earley_item_warning_threshold
marpa_r_earley_item_warning_threshold_set
| recognizer.earleme == 0 | |
| ==================================== | |
| start: • stmts (0) | |
| stmt : • ident ty defined_as rhs action semi (0) | |
| stmts: [ • stmt ]* (0) | |
| ------------------------------------ | |
| start: • stmts (0) | |
| stmts: • g32 (0) | |
| stmt : • g24 semi (0) | |
| g24 : • g25 action (0) |
| 100000,4498507,3303010,648466,16 | |
| 200000,8362325,6241487,1600060,17 | |
| 300000,14234516,9815716,2576244,18 | |
| 400000,20917134,15040464,3536045,18 | |
| 500000,27302971,18864431,4210794,18 | |
| 600000,34065834,24098987,5387591,19 | |
| 700000,41003115,30249966,6298501,19 | |
| 800000,48902149,35815841,7190792,19 | |
| 900000,59714105,41751355,8217691,19 | |
| 1000000,63407397,47906822,9090613,19 |
| .text | |
| .file "myhash.bc" | |
| .align 16, 0x90 | |
| .type _ZN4main20h487ea52046783e21hQaE,@function | |
| _ZN4main20h487ea52046783e21hQaE: # @_ZN4main20h487ea52046783e21hQaE | |
| .cfi_startproc | |
| # BB#0: | |
| cmp rsp, qword ptr fs:[112] | |
| ja .LBB0_2 | |
| # BB#1: |
| pub struct MySlice { | |
| start: *const u8, | |
| len: uint, | |
| } | |
| #[inline(never)] | |
| pub fn merge_slice(val: &[u8]) -> MySlice { | |
| let mut val_ptr = val.as_ptr(); | |
| let mut len = val.len(); |
| #include "stddef.h" | |
| #include "stdio.h" | |
| void __attribute__ ((noinline)) | |
| print(char *state, size_t state_len) { | |
| for(size_t i = 0; i < state_len; i++) { | |
| printf("%d ", (int)state[i]); | |
| } | |
| printf("\n"); | |
| } |
| "time: 0.031 s gated feature checking | |
| 48.0 2.4 213248 100476 | |
| "time: 0.000 s crate injection | |
| 50.0 2.5 217344 102524 | |
| "time: 0.115 s configuration 1 | |
| 60.0 2.5 323700 102964 | |
| "time: 0.016 s plugin loading | |
| 62.0 2.6 323700 105776 | |
| "time: 0.000 s plugin registration | |
| 64.0 2.6 323700 105776 |
| bits 64 | |
| global _main | |
| section .text | |
| _main: | |
| sub rsp,24 | |
| mov rcx,100000000 | |
| movaps xmm0,[rel value] | |
| movaps xmm1,[rel key] | |
| loop: aesenc xmm0,xmm1 |
| use std::io; | |
| fn main() { | |
| println!("digraph {{"); | |
| let mut input = io::stdin(); | |
| let mut lines = input.lines(); | |
| loop { | |
| match lines.next() { | |
| Some(line) => { | |
| let line = line.unwrap(); | |
| let line = line.as_slice(); |
| ./configure CXX=i686-w64-mingw32-g++ CC=i686-w64-mingw32-g++ CFLAGS="-s -Bdynamic -shared -Wl,--kill-at -static-libstdc++ -static-libgcc" --host=i686-w64-mingw32 --prefix="/usr/i686-w64-mingw32" |