Skip to content

Commit

Permalink
content: add copyright notice
Browse files Browse the repository at this point in the history
  • Loading branch information
changkun committed Jan 21, 2021
1 parent 31436e2 commit fd3f62f
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 0 deletions.
5 changes: 5 additions & 0 deletions content/assets/bench-time/bench_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright (c) 2020 The golang.design Initiative Authors.
// All rights reserved.
//
// The code below is produced by Changkun Ou <[email protected]>.

package time_test

import (
Expand Down
5 changes: 5 additions & 0 deletions content/assets/bench-time/cpp/main.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright (c) 2020 The golang.design Initiative Authors.
// All rights reserved.
//
// The code below is produced by Changkun Ou <[email protected]>.

#include <iostream>
#include <chrono>

Expand Down
5 changes: 5 additions & 0 deletions content/assets/bench-time/cpp/solution.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright (c) 2020 The golang.design Initiative Authors.
// All rights reserved.
//
// The code below is produced by Changkun Ou <[email protected]>.

#include <iostream>
#include <chrono>

Expand Down
5 changes: 5 additions & 0 deletions content/assets/pointer-params/fields/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright (c) 2020 The golang.design Initiative Authors.
# All rights reserved.
#
# The code below is produced by Changkun Ou <[email protected]>.

all:
go generate
perflock -governor 80% go test -v -run=none -bench=. -count=10 | tee inline.txt
Expand Down
5 changes: 5 additions & 0 deletions content/assets/pointer-params/fields/gen.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright (c) 2020 The golang.design Initiative Authors.
// All rights reserved.
//
// The code below is produced by Changkun Ou <[email protected]>.

// +build ignore

package main
Expand Down
5 changes: 5 additions & 0 deletions content/assets/pointer-params/vec.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright (c) 2020 The golang.design Initiative Authors.
// All rights reserved.
//
// The code below is produced by Changkun Ou <[email protected]>.

package pparam

type vec struct {
Expand Down
5 changes: 5 additions & 0 deletions content/assets/pointer-params/vec_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright (c) 2020 The golang.design Initiative Authors.
// All rights reserved.
//
// The code below is produced by Changkun Ou <[email protected]>.

package pparam

import (
Expand Down

0 comments on commit fd3f62f

Please sign in to comment.