Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
Add copyright header to all source files
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Wicki <[email protected]>
  • Loading branch information
Sebastian Wicki committed Oct 26, 2017
1 parent e147afe commit c9ed415
Show file tree
Hide file tree
Showing 37 changed files with 296 additions and 0 deletions.
8 changes: 8 additions & 0 deletions apps/connected-components/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Copyright 2017 ETH Zurich. All rights reserved.
//
// 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.

extern crate topology_generator;
extern crate strymon_runtime;
extern crate timely;
Expand Down
8 changes: 8 additions & 0 deletions apps/topology-generator/src/bin/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Copyright 2017 ETH Zurich. All rights reserved.
//
// 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.

extern crate topology_generator;

extern crate rand;
Expand Down
8 changes: 8 additions & 0 deletions apps/topology-generator/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Copyright 2017 ETH Zurich. All rights reserved.
//
// 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.

extern crate rand;
extern crate abomonation;
#[macro_use]
Expand Down
8 changes: 8 additions & 0 deletions src/strymon_communication/src/fetch.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Copyright 2017 ETH Zurich. All rights reserved.
//
// 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.

use std::net::{TcpListener, TcpStream};
use std::io::{copy, Result, Error, ErrorKind};
use std::fs::{self, File};
Expand Down
8 changes: 8 additions & 0 deletions src/strymon_communication/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Copyright 2017 ETH Zurich. All rights reserved.
//
// 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.

extern crate bytes;
extern crate byteorder;

Expand Down
8 changes: 8 additions & 0 deletions src/strymon_communication/src/message.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Copyright 2017 ETH Zurich. All rights reserved.
//
// 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.

use std::io::{self, Cursor, Read, Write, ErrorKind};

use serde::ser::Serialize;
Expand Down
8 changes: 8 additions & 0 deletions src/strymon_communication/src/rpc.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Copyright 2017 ETH Zurich. All rights reserved.
//
// 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.

use std::collections::HashMap;
use std::io::{self, ErrorKind};
use std::net::{TcpListener, TcpStream, Shutdown, ToSocketAddrs};
Expand Down
8 changes: 8 additions & 0 deletions src/strymon_communication/src/transport.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Copyright 2017 ETH Zurich. All rights reserved.
//
// 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.

use std::io;
use std::net::{TcpListener, TcpStream, Shutdown, ToSocketAddrs};
use std::sync::{mpsc, Arc};
Expand Down
8 changes: 8 additions & 0 deletions src/strymon_runtime/src/bin/errors.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Copyright 2017 ETH Zurich. All rights reserved.
//
// 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.

error_chain!{
foreign_links {
Io(::std::io::Error);
Expand Down
8 changes: 8 additions & 0 deletions src/strymon_runtime/src/bin/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Copyright 2017 ETH Zurich. All rights reserved.
//
// 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.

extern crate clap;
#[macro_use]
extern crate error_chain;
Expand Down
8 changes: 8 additions & 0 deletions src/strymon_runtime/src/bin/manage/coordinator.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Copyright 2017 ETH Zurich. All rights reserved.
//
// 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.

use clap::{App, Arg, ArgMatches, SubCommand};

use strymon_runtime::coordinator;
Expand Down
8 changes: 8 additions & 0 deletions src/strymon_runtime/src/bin/manage/executor.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Copyright 2017 ETH Zurich. All rights reserved.
//
// 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.

use clap::{App, Arg, ArgMatches, SubCommand};

use strymon_runtime::executor;
Expand Down
8 changes: 8 additions & 0 deletions src/strymon_runtime/src/bin/manage/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Copyright 2017 ETH Zurich. All rights reserved.
//
// 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.

use clap::{App, AppSettings, ArgMatches, SubCommand};

mod coordinator;
Expand Down
8 changes: 8 additions & 0 deletions src/strymon_runtime/src/bin/status.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Copyright 2017 ETH Zurich. All rights reserved.
//
// 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.

use std::collections::BTreeMap;

use clap::{App, Arg, ArgMatches, SubCommand};
Expand Down
8 changes: 8 additions & 0 deletions src/strymon_runtime/src/bin/submit.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Copyright 2017 ETH Zurich. All rights reserved.
//
// 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.

use std::io;
use std::env;
use std::path::{Path};
Expand Down
8 changes: 8 additions & 0 deletions src/strymon_runtime/src/coordinator/catalog.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Copyright 2017 ETH Zurich. All rights reserved.
//
// 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.

use std::io;
use std::collections::hash_map::{HashMap, Entry as HashEntry};
use std::collections::btree_map::{BTreeMap, Values};
Expand Down
8 changes: 8 additions & 0 deletions src/strymon_runtime/src/coordinator/dispatch.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Copyright 2017 ETH Zurich. All rights reserved.
//
// 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.

use std::io::{Error, ErrorKind};

use futures::future::Future;
Expand Down
8 changes: 8 additions & 0 deletions src/strymon_runtime/src/coordinator/handler.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Copyright 2017 ETH Zurich. All rights reserved.
//
// 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.

use std::collections::{BTreeMap, HashMap, VecDeque};
use std::collections::btree_map::Entry;
use std::rc::{Rc, Weak};
Expand Down
8 changes: 8 additions & 0 deletions src/strymon_runtime/src/coordinator/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Copyright 2017 ETH Zurich. All rights reserved.
//
// 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.

use std::io::Result;
use std::env;

Expand Down
8 changes: 8 additions & 0 deletions src/strymon_runtime/src/coordinator/requests.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Copyright 2017 ETH Zurich. All rights reserved.
//
// 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.

use model::*;
use strymon_communication::rpc::Request;

Expand Down
8 changes: 8 additions & 0 deletions src/strymon_runtime/src/coordinator/util.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Copyright 2017 ETH Zurich. All rights reserved.
//
// 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.

use std::ops::RangeFrom;
use std::marker::PhantomData;

Expand Down
8 changes: 8 additions & 0 deletions src/strymon_runtime/src/executor/executable.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Copyright 2017 ETH Zurich. All rights reserved.
//
// 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.

use std::env;
use std::num;
use std::process::{Command, Stdio};
Expand Down
8 changes: 8 additions & 0 deletions src/strymon_runtime/src/executor/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Copyright 2017 ETH Zurich. All rights reserved.
//
// 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.

use std::io::{Error, ErrorKind};
use std::env;
use std::path::PathBuf;
Expand Down
8 changes: 8 additions & 0 deletions src/strymon_runtime/src/executor/requests.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Copyright 2017 ETH Zurich. All rights reserved.
//
// 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.

use model::*;
use strymon_communication::rpc::Request;

Expand Down
8 changes: 8 additions & 0 deletions src/strymon_runtime/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Copyright 2017 ETH Zurich. All rights reserved.
//
// 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.

#![feature(core_intrinsics)]

#[macro_use]
Expand Down
8 changes: 8 additions & 0 deletions src/strymon_runtime/src/model/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Copyright 2017 ETH Zurich. All rights reserved.
//
// 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.

use std::fmt;
use std::intrinsics::type_name;

Expand Down
8 changes: 8 additions & 0 deletions src/strymon_runtime/src/pubsub/mod.rs
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
// Copyright 2017 ETH Zurich. All rights reserved.
//
// 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.

pub mod publisher;
pub mod subscriber;
8 changes: 8 additions & 0 deletions src/strymon_runtime/src/pubsub/publisher/collection.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Copyright 2017 ETH Zurich. All rights reserved.
//
// 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.

use std::io::{Result, Error};
use std::collections::BTreeMap;
use std::sync::Arc;
Expand Down
8 changes: 8 additions & 0 deletions src/strymon_runtime/src/pubsub/publisher/item.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Copyright 2017 ETH Zurich. All rights reserved.
//
// 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.

use std::io::Result;
use std::marker::PhantomData;
use std::collections::BTreeMap;
Expand Down
8 changes: 8 additions & 0 deletions src/strymon_runtime/src/pubsub/publisher/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Copyright 2017 ETH Zurich. All rights reserved.
//
// 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.

use std::io::{Result, Error, ErrorKind};
use std::mem;
use std::sync::Arc;
Expand Down
8 changes: 8 additions & 0 deletions src/strymon_runtime/src/pubsub/publisher/timely.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Copyright 2017 ETH Zurich. All rights reserved.
//
// 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.

use std::io::Result;
use std::marker::PhantomData;
use std::collections::BTreeMap;
Expand Down
8 changes: 8 additions & 0 deletions src/strymon_runtime/src/pubsub/subscriber.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Copyright 2017 ETH Zurich. All rights reserved.
//
// 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.

use std::io::{Result, Error};
use std::marker::PhantomData;

Expand Down
8 changes: 8 additions & 0 deletions src/strymon_runtime/src/query/keepers.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Copyright 2017 ETH Zurich. All rights reserved.
//
// 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.

use std::io::Error as IoError;
use std::net::ToSocketAddrs;

Expand Down
Loading

0 comments on commit c9ed415

Please sign in to comment.