加载中
谈一下vip

/proc/net/arp # cat "/proc/net/arp" IP address HW type Flags HW address Mask Device 192.168.56.200 0x1 0x2 08:00:27:ec:8d:4f ...

2016/12/20 22:44
6
Rustup

rustup target add x86_64-unknown-linux-musl cargo run --target=x86_64-unknown-linux-musl

2016/06/07 08:14
94
rust-ffmpeg error

note: /usr/local/lib/libavcodec.a(svq3.o): In function `svq3_decode_init': /dev/shm/ffmpeg-2.8.3/libavcodec/svq3.c:1054: undefined reference to `uncompress' /usr/local/lib/libav...

2015/12/01 23:30
527
Rust d

<!-- lang: java -->   extern crate libc; use libc::c_int; enum Hello{   Req = 1i,   Pub = 2i,    } impl Hello{   fn to_raw(&self) -> c_int{     *self as c_int   } }    fn main() {   pr...

2014/12/14 21:34
92
Rust 一小段代码的心得

话说语法还行。。。 C,C++ 里面的 for (int i =0, i< MAX_COUNT, i++) { .... } 变成了 while (i < MAX_COUNT) { ..... i +=1 ; } as_ 开头的函数 多是 & ,产生borrowed 类型, 生命周期太...

2014/12/09 15:03
246
一次 Rust 和C语言的混搭

存在内存泄露 <!-- lang: js --> // rustc disk.rs extern crate libc; use libc::size_t; use libc::{FILE,c_char}; use std::string; #[repr(C)] pub struct mntent { mnt_fsnam...

2014/11/19 10:51
2.6K
leveldb-rust-b Rust 编译出错

src/leveldb/lib.rs:12:1: 12:19 warning: this inner attribute syntax is deprecated. The new syntax is `#![foo]`, with a bang and no semicolon. src/leveldb/lib.rs:12 #[feature(glo...

2014/05/27 13:52
90

没有更多内容

加载失败,请刷新页面

没有更多内容

返回顶部
顶部