$ brew install cmake
$ brew install ninja
$ git clone http://llvm.org/git/llvm.git
$ cd llvm/tools
$ git clone http://llvm.org/git/clang.git
$ cd clang/tools
$ git clone http://llvm.org/git/clang-tools-extra.git extra
$ brew install cmake
$ brew install ninja
$ git clone http://llvm.org/git/llvm.git
$ cd llvm/tools
$ git clone http://llvm.org/git/clang.git
$ cd clang/tools
$ git clone http://llvm.org/git/clang-tools-extra.git extra
| *.png binary |
| // g++ -std=c++11 | |
| class NonCopyable { | |
| public: | |
| NonCopyable() = default; | |
| NonCopyable(const NonCopyable&) = delete; | |
| void operator=(const NonCopyable&) = delete; | |
| private: | |
| friend class A; | |
| }; |
| ; http://farid.hajji.name/blog/2009/12/26/hello-world-in-freebsd-assembler/ | |
| .type main,@function | |
| .data | |
| msg: | |
| .ascii "Hello, world\n" | |
| .text | |
| .globl main |
| \documentclass[t]{beamer} | |
| \usepackage{palatino} | |
| \usepackage{amssymb,amsmath} | |
| \usepackage{tikz} | |
| \usepackage{color} | |
| \usepackage{colortbl} | |
| \def\drawtrie{ | |
| \begin{tikzpicture}[->,thick,vertex/.style={circle,fill=white,draw=black, text=black,minimum size=13pt}] |
| /* | |
| * The purpose of this program is to show you should always use memmove | |
| * instead of memcpy if there is no particular reason. | |
| * | |
| * This program intentionally copies overlapped memories, though. | |
| * | |
| * Try to compile with different optimizations, compilers, OSs. | |
| * | |
| * For example, | |
| * |
| #!/usr/bin/env python | |
| """ | |
| Data format converter for Chris' fast_align: https://github.com/clab/fast_align | |
| For the input format, please see the README of his code. | |
| """ | |
| import itertools | |
| import sys |
| *.eps binary | |
| *.pdf binary | |
| *.ps binary |
| CC = gcc | |
| CFLAGS = -O0 | |
| FILES = \ | |
| case.s \ | |
| case2.s | |
| all: $(FILES) | |
| diff case.s case2.s |
| % Copyright (c) 2013, Tetsuo Kiso. All rights reserved. | |
| % | |
| % Redistribution and use in source and binary forms, with or without | |
| % modification, are permitted provided that the following conditions are | |
| % met: | |
| % | |
| % * Redistributions of source code must retain the above copyright | |
| % notice, this list of conditions and the following disclaimer. | |
| % | |
| % * Redistributions in binary form must reproduce the above copyright |