View ReflectionTest.java
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 com.google.common.collect.ImmutableMap; | |
import com.google.common.math.Stats; | |
import java.lang.reflect.InvocationTargetException; | |
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.Map; | |
public class ReflectionTest { | |
public interface FooGetter { |
View LICENSE
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
-------------------------- AUTONOMIC PROPRIETARY 1.0 -------------------------- | |
Copyright (c) 2016, Autonomic Incorporated - All rights reserved | |
Proprietary and confidential. | |
NOTICE: All information contained herein is, and remains the property of | |
Autonomic Incorporated and its suppliers, if any. The intellectual and | |
technical concepts contained herein are proprietary to Autonomic Incorporated | |
and its suppliers and may be covered by U.S. and Foreign Patents, patents in |
View d3_example_1.html
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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
text { | |
font: bold 48px monospace; | |
} | |
.enter { | |
fill: green; |
View d3_example_0.html
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
<!DOCTYPE html> | |
<style> | |
button { | |
position: absolute; | |
top: 10px; | |
left: 10px; | |
} | |
circle { |
View qs-apache-rc-email-template.txt
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
Subject: [VOTE] Apache Incubating Quickstep {VERSION} RC{CANDIDATE} | |
This vote is for approval of the Quickstep-{VERSION} RC{CANDIDATE}. | |
Voters should download, unpack, build, and test the package before voting. | |
A +1 vote means that the package passes all tests and meets Apache guidelines. | |
A -1 vote should be accompanied with a short reason. | |
Votes will remain open for 3 days. |
View make-release.sh
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
# Scripts for Releasing Quickstep | |
# | |
# Note: This script is a scratch pad with most of the relevent commands. | |
# Modify it to see fit. We'll finalize it when we understand the | |
# process better. | |
# PREREQS: | |
# - you must have previously created a gpg key using your apache username | |
# and uploaded it to a keyserver [http://quickstep.apache.org/release-signing/] | |
# - make sure someone in the group has validated your key | |
# |
View ctest_diff.py
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 | |
import re | |
import os | |
# regex for useful parts of the diff file | |
re_start_digits = re.compile(ur'^\d+: ', re.MULTILINE) | |
re_test_name = re.compile(ur'TRACE,"executing (.*mdp)",', re.MULTILINE) | |
re_actual = re.compile(ur'TRACE,"Actual:', re.MULTILINE) |
View gpdb_flags.py
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/#!/usr/bin/env python | |
import subprocess | |
xforms = \ | |
[ | |
"CXformAntiSemiJoinAntiSemiJoinNotInSwap", | |
"CXformAntiSemiJoinAntiSemiJoinSwap", | |
"CXformAntiSemiJoinInnerJoinSwap", | |
"CXformAntiSemiJoinNotInAntiSemiJoinNotInSwap", |
View remove_comments.py
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/python | |
# This script removes unused header comments. Notice that the file locations are hard coded, | |
# so change that. | |
import subprocess as sp | |
import re | |
import os | |
def main(): |
View TestConcurrency.cpp
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
namespace storage_manager_test_internal { | |
static int client_id = 0; | |
static const int NUM_BLOBS_PER_CLIENT = 100; | |
static const int BLOB_SIZE_SLOTS = 1; | |
static const int CLIENT_CYCLES = 1000; | |
class StorageClient : public Thread { | |
public: |
NewerOlder