This file contains 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
use libc; | |
use simd; | |
use detail::{align_down, mut_offset}; | |
use context::InitFn; | |
// windows requires saving more registers (both general and XMM), so the windows | |
// register context must be larger. | |
#[cfg(windows)] | |
#[repr(C)] |
This file contains 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
{ | |
"bold_folder_labels": true, | |
"caret_extra_bottom": 3, | |
"caret_extra_top": 3, | |
"caret_extra_width": 2, | |
"color_scheme": "Packages/User/SublimeLinter/cobalt2 (SL).tmTheme", | |
"default_line_ending": "unix", | |
"ensure_newline_at_eof_on_save": true, | |
"font_face": "Inconsolata", | |
"font_options": |
This file contains 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
#![feature(scoped)] | |
extern crate coroutine; | |
extern crate num_cpus; | |
extern crate deque; | |
#[macro_use] extern crate log; | |
extern crate env_logger; | |
use std::thread; | |
use std::sync::mpsc::{channel, Sender, Receiver, TryRecvError}; |
This file contains 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
extern crate rand; | |
extern crate chrono; | |
use std::iter::range_step_inclusive; | |
use chrono::Local; | |
const MAX_N: u64 = 10_0000_0000; | |
fn main() { |
This file contains 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
#!/bin/sh | |
# Copyright 2014 The Rust Project Developers. See the COPYRIGHT | |
# file at the top-level directory of this distribution and at | |
# http://rust-lang.org/COPYRIGHT. | |
# | |
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or | |
# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license | |
# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your | |
# option. This file may not be copied, modified, or distributed | |
# except according to those terms. |
This file contains 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
package edu.sysu.bbs; | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.io.PrintWriter; | |
import java.net.HttpURLConnection; | |
import java.net.MalformedURLException; | |
import java.net.URL; | |
import java.util.Map; |
This file contains 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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
[ -z "$PS1" ] && return | |
# don't put duplicate lines in the history. See bash(1) for more options | |
# ... or force ignoredups and ignorespace | |
HISTCONTROL=ignoredups:ignorespace |
This file contains 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
syntax enable | |
filetype plugin indent on | |
set bg=dark | |
" Stop backup files | |
set nobackup | |
set nowritebackup | |
set noswapfile | |
" better search |