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
#include <assert.h> | |
#include <stdint.h> | |
#include <stdio.h> | |
uint64_t | |
Lsb(const uint64_t n) | |
{ | |
return n - ((n - 1) & n); | |
} |
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
import Data.IntMap (IntMap) | |
import qualified Data.IntMap as IntMap | |
import Data.List (sortBy) | |
import Data.Function (on) | |
import Data.Array (Array, bounds, rangeSize, elems, accumArray) | |
import Data.Maybe (fromMaybe) | |
-- Minimal immutable graph definition | |
type Edge = (Int, Int, Double) |
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
# Basic GNU make syntax highlighting rules for FishEye/Crucible. | |
# | |
# Put this file to the <FISHEYE_INST>/syntax directory and update the | |
# <FISHEYE_INST>/syntax/filename.map file to contain the following lines: | |
# | |
# "**/*.mk" make.def "Makefile" | |
# "**/makefile" make.def "Makefile" | |
# "**/Makefile" make.def "Makefile" | |
# "**/GNUMakefile" make.def "Makefile" | |
# |
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 main | |
import ( | |
"bufio" | |
"container/heap" | |
"flag" | |
"fmt" | |
"io" | |
"os" | |
"sort" |
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
#!/usr/bin/env python | |
import sys, os | |
from lxml import etree | |
from contextlib import closing | |
import subprocess | |
import sqlite3 | |
import shutil | |
DIR = 'CMake.docset' |