From afdddd70edf71d5d0238a8e6d621b04d78f16a2c Mon Sep 17 00:00:00 2001 From: SMonaghan Date: Wed, 29 Apr 2015 14:30:07 -0400 Subject: [PATCH 1/5] Added author comment --- lib/histogram/hist.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib/histogram/hist.h b/lib/histogram/hist.h index bc018be..0941af3 100644 --- a/lib/histogram/hist.h +++ b/lib/histogram/hist.h @@ -1,3 +1,15 @@ +/************************************************ + * GW KV + * https://github.com/gwAdvNet2015/gw-kv-store + * + * Copyright 2015 Jongmin Bae, Stephen Monaghan + * + * This program is licensed under the MIT license. + * + * hist.h - Implements a historgram to be used with + * timer utility + *************************************************/ + #include #include From b4ac06b2c8aaaf057cbcce1bc577f2cc3f4c0f4e Mon Sep 17 00:00:00 2001 From: SMonaghan Date: Wed, 29 Apr 2015 14:32:10 -0400 Subject: [PATCH 2/5] Added author header to timer_util.h --- lib/timer/timer_util.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib/timer/timer_util.h b/lib/timer/timer_util.h index ab29d9a..8cee0b4 100644 --- a/lib/timer/timer_util.h +++ b/lib/timer/timer_util.h @@ -1,3 +1,15 @@ +/************************************************ + * GW KV + * https://github.com/gwAdvNet2015/gw-kv-store + * + * Copyright 2015 Jongmin Bae, Stephen Monaghan + * + * This program is licensed under the MIT license. + * + * timer_util.h - Implements a timer utility to + * test performance + *************************************************/ + #include #include #include From 9c1cf351dcb11428a49843c7f28560f010c53816 Mon Sep 17 00:00:00 2001 From: SMonaghan Date: Wed, 29 Apr 2015 14:45:44 -0400 Subject: [PATCH 3/5] Added more author header comments --- lib/linkedlist/test/Makefile | 12 ++++++++++++ lib/linkedlist/test/test-ll.c | 15 +++++++++++---- 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/lib/linkedlist/test/Makefile b/lib/linkedlist/test/Makefile index 4cbcf3c..a837a08 100644 --- a/lib/linkedlist/test/Makefile +++ b/lib/linkedlist/test/Makefile @@ -1,3 +1,15 @@ +#/************************************************ +#* GW KV +#* https://github.com/gwAdvNet2015/gw-kv-store +#* +#* Copyright 2015 Phil Lopreiato, Neel Shah, +#* Eric Armbrust +#* +#* This program is licensed under the MIT license. +#* +#* Makefile - Compiles the linked list test file +#*************************************************/ + CC = gcc CFLAGS = -std=c99 -Wall -pedantic DEPS = ../linkedlist.o diff --git a/lib/linkedlist/test/test-ll.c b/lib/linkedlist/test/test-ll.c index 31e8e81..ad9d9a8 100644 --- a/lib/linkedlist/test/test-ll.c +++ b/lib/linkedlist/test/test-ll.c @@ -1,8 +1,15 @@ -/* - * Phil Lopreiato, Neel Shah, Eric Armbrust +/************************************************ + * GW KV + * https://github.com/gwAdvNet2015/gw-kv-store * - * Functions to test linked list - */ + * Copyright 2015 Author 1, Author 2, + * Author 3, Author 4 + * + * This program is licensed under the MIT license. + * + * test-ll.c - Functions to test linked list + *************************************************/ + #include #include From b7e4052d10a650b03db92145a22e6161b791854f Mon Sep 17 00:00:00 2001 From: SMonaghan Date: Wed, 29 Apr 2015 14:48:55 -0400 Subject: [PATCH 4/5] Added author file header to socket_helper.h --- lib/linkedlist/Makefile | 12 ++++++++++++ lib/linkedlist/linkedlist.c | 14 +++++++++----- lib/linkedlist/linkedlist.h | 15 ++++++++++----- lib/socket_helper.h | 12 ++++++++++++ lib/timer/Makefile | 11 +++++++++++ lib/timer/test.c | 11 +++++++++++ 6 files changed, 65 insertions(+), 10 deletions(-) diff --git a/lib/linkedlist/Makefile b/lib/linkedlist/Makefile index 905fd04..e43103c 100644 --- a/lib/linkedlist/Makefile +++ b/lib/linkedlist/Makefile @@ -1,3 +1,15 @@ +#/************************************************ +#* GW KV +#* https://github.com/gwAdvNet2015/gw-kv-store +#* +#* Copyright 2015 Phil Lopreiato, Neel Shah, +#* Eric Armbrust +#* +#* This program is licensed under the MIT license. +#* +#* Makefile - Compiles the linked list +#*************************************************/ + #Use the gcc compiler CC = gcc CFLAGS = -std=c99 -pedantic -Wall diff --git a/lib/linkedlist/linkedlist.c b/lib/linkedlist/linkedlist.c index c6cc102..3261513 100644 --- a/lib/linkedlist/linkedlist.c +++ b/lib/linkedlist/linkedlist.c @@ -1,10 +1,14 @@ -/* - * Copyright (c) 2014 Phil Lopreiato, Neel Shah, Eric Armbrust +/************************************************ + * GW KV + * https://github.com/gwAdvNet2015/gw-kv-store + * + * Copyright 2015 Phil Lopreiato, Neel Shah, + * Eric Armbrust * * This program is licensed under the MIT license. - * You should have recieved a copy of the full license terms - * with this source code. If not, you can find it here: http://opensource.org/licenses/MIT - */ + * + * linkedlist.c -Implements a linked list + *************************************************/ #include #include diff --git a/lib/linkedlist/linkedlist.h b/lib/linkedlist/linkedlist.h index 6a01a54..f9dc7e5 100644 --- a/lib/linkedlist/linkedlist.h +++ b/lib/linkedlist/linkedlist.h @@ -1,10 +1,15 @@ -/* - * Copyright (c) 2014 Phil Lopreiato, Neel Shah, Eric Armbrust +/************************************************ + * GW KV + * https://github.com/gwAdvNet2015/gw-kv-store + * + * Copyright 2015 Phil Lopreiato, Neel Shah, + * Eric Armbrust * * This program is licensed under the MIT license. - * You should have recieved a copy of the full license terms - * with this source code. If not, you can find it here: http://opensource.org/licenses/MIT - */ + * + * linkedlist.h - Declares the functions for + * linkedlist.c + *************************************************/ #ifndef FILE_LINKEDLIST #define FILE_LINKEDLIST diff --git a/lib/socket_helper.h b/lib/socket_helper.h index a8023b0..aa29dc7 100644 --- a/lib/socket_helper.h +++ b/lib/socket_helper.h @@ -1,3 +1,15 @@ +/************************************************ + * GW KV + * https://github.com/gwAdvNet2015/gw-kv-store + * + * Copyright 2015 Tim Wood + * + * This program is licensed under the MIT license. + * + * socket_helper.h - A library to simplify setting + * up sockets. + *************************************************/ + #ifndef FILE_SOCKET_HELPER #define FILE_SOCKET_HELPER diff --git a/lib/timer/Makefile b/lib/timer/Makefile index 0c5f3e4..4379eec 100644 --- a/lib/timer/Makefile +++ b/lib/timer/Makefile @@ -1,3 +1,14 @@ +#/************************************************ +#* GW KV +#* https://github.com/gwAdvNet2015/gw-kv-store +#* +#* Copyright 2015 Stephen Monaghan, Jongmin Bae +#* +#* This program is licensed under the MIT license. +#* +#* Makefile - Compiles the timer utility test +#*************************************************/ + OBJS=test.o CFLAGS= -I. -w #DEFINES=-DTHINK_TIME diff --git a/lib/timer/test.c b/lib/timer/test.c index 36ec10f..f305cc2 100644 --- a/lib/timer/test.c +++ b/lib/timer/test.c @@ -1,3 +1,14 @@ +/************************************************ + * GW KV + * https://github.com/gwAdvNet2015/gw-kv-store + * + * Copyright 2015 Jongmin Bae, Stephen Monaghan + * + * This program is licensed under the MIT license. + * + * test.c - Tests the timer utility + *************************************************/ + #include #include #include From b2b6d652180e13aa55218e1730a6c8e8b16a8c57 Mon Sep 17 00:00:00 2001 From: SMonaghan Date: Wed, 29 Apr 2015 14:56:56 -0400 Subject: [PATCH 5/5] Added more author file header comments --- common.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/common.h b/common.h index 71af579..571e776 100644 --- a/common.h +++ b/common.h @@ -1,3 +1,15 @@ +/************************************************ + * GW KV + * https://github.com/gwAdvNet2015/gw-kv-store + * + * Copyright 2015 Phil Lopreiato, Stephen Monaghan, + * Neel Shah, Eric Armbrust + * + * This program is licensed under the MIT license. + * + * common.h - Used to enable verbose print. + *************************************************/ + #ifndef __COMMON_H__ #define __COMMON_H__