This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thread 1 "server-cli" hit Breakpoint 1, trust::circular::{impl#0}::deallocate<8192> (self=<optimized out>, ptr=..., layout=...) at rust-delegation/trust/src/circular.rs:40 | |
/home/cchen262/rust-delegation-kv/rust-delegation/trust/src/circular.rs:40:1904:beg:0x5555556a49ef | |
(gdb) bt | |
#0 trust::circular::{impl#0}::deallocate<8192> (self=<optimized out>, ptr=..., layout=...) | |
at rust-delegation/trust/src/circular.rs:40 | |
#1 core::alloc::Allocator::grow<&mut trust::circular::CircularAllocator<8192>> ( | |
self=<optimized out>, ptr=..., old_layout=..., new_layout=...) | |
at /rustc/7281249a19a9755e9d889ee251ec323629caadab/library/core/src/alloc/mod.rs:223 | |
#2 alloc::raw_vec::finish_grow<&mut trust::circular::CircularAllocator<8192>> (new_layout=..., | |
current_memory=..., alloc=<optimized out>) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Build jail template script | |
# Feb 1, 2019 Roy Chan | |
# | |
dir="$(pwd)" | |
# First, delete current | |
chflags -R noschg $dir/base $dir/skel | |
rm -R $dir/base $dir/skel |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import matplotlib as plt | |
import random | |
import copy | |
import csv | |
import difflib | |
R = [] | |
# Read the training set, init it and transpose |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* The HelloWorldApp class implements an application that | |
* simply displays "Hello World!" to the standard output. | |
*/ | |
class HelloWorldApp { | |
public static void main(String[] args) { | |
System.out.println("Hello World!"); //Display the string. | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# Block Baidu | |
## | |
127.0.0.1 baidu.com | |
127.0.0.1 www.baidu.com | |
127.0.0.1 pan.baidu.com | |
127.0.0.1 post-js.baidu.com | |
127.0.0.1 bbs.baidu.com | |
127.0.0.1 tieba.baidu.com | |
127.0.0.1 wapp.baidu.com |