summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/examples/http_bench_bin_ops.js1
-rw-r--r--core/examples/http_bench_bin_ops.rs2
-rw-r--r--core/examples/http_bench_json_ops.js1
-rw-r--r--core/examples/http_bench_json_ops.rs2
-rw-r--r--core/gotham_state.rs1
-rw-r--r--core/module_specifier.rs2
-rw-r--r--core/normalize_path.rs2
-rw-r--r--core/zero_copy_buf.rs2
8 files changed, 13 insertions, 0 deletions
diff --git a/core/examples/http_bench_bin_ops.js b/core/examples/http_bench_bin_ops.js
index b4d7add22..066d5bf58 100644
--- a/core/examples/http_bench_bin_ops.js
+++ b/core/examples/http_bench_bin_ops.js
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// This is not a real HTTP server. We read blindly one time into 'requestBuf',
// then write this fixed 'responseBuf'. The point of this benchmark is to
// exercise the event loop in a simple yet semi-realistic way.
diff --git a/core/examples/http_bench_bin_ops.rs b/core/examples/http_bench_bin_ops.rs
index 2748705ea..513ac5b3a 100644
--- a/core/examples/http_bench_bin_ops.rs
+++ b/core/examples/http_bench_bin_ops.rs
@@ -1,3 +1,5 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+
#[macro_use]
extern crate log;
diff --git a/core/examples/http_bench_json_ops.js b/core/examples/http_bench_json_ops.js
index 865b04d7e..3a5dd05c5 100644
--- a/core/examples/http_bench_json_ops.js
+++ b/core/examples/http_bench_json_ops.js
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// This is not a real HTTP server. We read blindly one time into 'requestBuf',
// then write this fixed 'responseBuf'. The point of this benchmark is to
// exercise the event loop in a simple yet semi-realistic way.
diff --git a/core/examples/http_bench_json_ops.rs b/core/examples/http_bench_json_ops.rs
index a61a0ad63..fab222f4c 100644
--- a/core/examples/http_bench_json_ops.rs
+++ b/core/examples/http_bench_json_ops.rs
@@ -1,3 +1,5 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+
#[macro_use]
extern crate log;
diff --git a/core/gotham_state.rs b/core/gotham_state.rs
index 94a2d67d4..dfa3b3ea7 100644
--- a/core/gotham_state.rs
+++ b/core/gotham_state.rs
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Forked from Gotham:
// https://github.com/gotham-rs/gotham/blob/bcbbf8923789e341b7a0e62c59909428ca4e22e2/gotham/src/state/mod.rs
// Copyright 2017 Gotham Project Developers. MIT license.
diff --git a/core/module_specifier.rs b/core/module_specifier.rs
index e5a0413ca..0dfc7a592 100644
--- a/core/module_specifier.rs
+++ b/core/module_specifier.rs
@@ -1,3 +1,5 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+
use crate::normalize_path;
use std::env::current_dir;
use std::error::Error;
diff --git a/core/normalize_path.rs b/core/normalize_path.rs
index 6a0e44896..0124aedc7 100644
--- a/core/normalize_path.rs
+++ b/core/normalize_path.rs
@@ -1,3 +1,5 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+
use std::path::Component;
use std::path::Path;
use std::path::PathBuf;
diff --git a/core/zero_copy_buf.rs b/core/zero_copy_buf.rs
index 053576547..848f5ac2e 100644
--- a/core/zero_copy_buf.rs
+++ b/core/zero_copy_buf.rs
@@ -1,3 +1,5 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+
use crate::bindings;
use rusty_v8 as v8;
use smallvec::SmallVec;