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
==> riakc (eunit) | |
=INFO REPORT==== 20-Apr-2010::08:42:05 === | |
Protocol: "inet_tcp": register error: {{badmatch,{error,econnrefused}}, | |
[{inet_tcp_dist,listen,1}, | |
{net_kernel,start_protos,4}, | |
{net_kernel,start_protos,3}, | |
{net_kernel,init_node,2}, | |
{net_kernel,init,1}, | |
{gen_server,init_it,6}, |
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
#define RC_EXPORT __attribute__((visibility ("default"))) | |
// connection handle opaque type | |
struct riak_connection; | |
typedef struct riak_connection* riak_connection_handle; | |
typedef struct riak_data { | |
void *data; | |
size_t size; | |
} riak_data; |
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
-module(reg_eqc). | |
-include_lib("eqc/include/eqc.hrl"). | |
-include_lib("eqc/include/eqc_statem.hrl"). | |
-compile(export_all). | |
% Model of states | |
-define(names,[a,b,c,d]). |
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
project | |
project/src %% .erl files | |
project/include %% .hrl files | |
project/ebin %% generated beam files and .app file | |
project/priv %% scripts, miscellaneous stuff | |
project/c_src %% c NIFs and linked-in drivers |
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
ring_trans(Fun, Args) -> | |
gen_server2:call(?MODULE, {ring_trans, Fun, Args}). | |
... | |
handle_call({ring_trans, Fun, Args}, _From, State) -> | |
{ok, Ring} = get_my_ring(), | |
case catch Fun(Ring, Args) of | |
{new_ring, NewRing} -> | |
set_my_ring(NewRing), | |
{reply, {ok, NewRing}, State}; |
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
#ifndef ERL_NIF_COMPAT_H_ | |
#define ERL_NIF_COMPAT_H_ | |
#ifdef __cplusplus | |
extern "C" { | |
#endif /* __cplusplus */ | |
#include "erl_nif.h" |
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
([email protected])1> {ok, Ref} = ebloom:new(5,0.01, 123). | |
{ok,<<>>} | |
([email protected])2> ebloom:elements(Ref). | |
0 | |
([email protected])3> ebloom:insert(Ref, <<"foo">>). | |
ok | |
([email protected])4> ebloom:insert(Ref, <<"bar">>). | |
ok | |
([email protected])5> ebloom:insert(Ref, <<"baz">>). | |
ok |
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
------------------------- | |
Riak 0.13.0 Release Notes | |
------------------------- | |
#81 Support large uploads (chunk or stream automagically) | |
#446 One Erlang App Per Repo | |
Enhancements | |
------------ |
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
README | |
THANKS | |
LICENSE | |
hooks | |
hooks/post-commit | |
hooks/pre-commit | |
mapreduce/erlang | |
mapreduce/js |
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
%% ------------------------------------------------------------------- | |
%% | |
%% bounded_queue: a size-bounded FIFO | |
%% | |
%% Copyright (c) 2007-2010 Basho Technologies, Inc. All Rights Reserved. | |
%% | |
%% This file is provided to you under the Apache License, | |
%% Version 2.0 (the "License"); you may not use this file | |
%% except in compliance with the License. You may obtain | |
%% a copy of the License at |