Commit 6e06d9ff authored by Philip Carns's avatar Philip Carns

apply copyright

parent 6230aac8
COPYRIGHT
The following is a notice of limited availability of the code, and disclaimer
which must be included in the prologue of the code and in all source listings
of the code.
Copyright Notice
+ 2013 University of Chicago
Permission is hereby granted to use, reproduce, prepare derivative works, and
to redistribute to others. This software was authored by:
Mathematics and Computer Science Division
Argonne National Laboratory, Argonne IL 60439
(and)
Computer Science Department
Rensselaer Polytechnic Institute, Troy NY 12180
GOVERNMENT LICENSE
Portions of this material resulted from work developed under a U.S.
Government Contract and are subject to the following license: the Government
is granted for itself and others acting on its behalf a paid-up, nonexclusive,
irrevocable worldwide license in this computer software to reproduce, prepare
derivative works, and perform publicly and display publicly.
DISCLAIMER
This computer code material was prepared, in part, as an account of work
sponsored by an agency of the United States Government. Neither the United
States, nor the University of Chicago, nor any of their employees, makes any
warranty express or implied, or assumes any legal liability or responsibility
for the accuracy, completeness, or usefulness of any information, apparatus,
product, or process disclosed, or represents that its use would not infringe
privately owned rights.
/*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
#ifndef CODESIOKERNELCONTEXT_H
#define CODESIOKERNELCONTEXT_H
......@@ -30,3 +36,12 @@ void CodesIOKernelScannerSetSymTable(
CodesIOKernelContext * context);
#endif
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* End:
*
* vim: ts=8 sts=4 sw=4 expandtab
*/
/*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
#ifndef CODESIOKERNELPARSER_H
#define CODESIOKERNELPARSER_H
......@@ -10,3 +16,12 @@ int CodesIOKernel_lex(YYSTYPE * lvalp, YYLTYPE * llocp, void * scanner);
//YY_BUFFER_STATE CodesIOKernel__scan_string (yyconst char *yy_str ,yyscan_t yyscanner);
#endif
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* End:
*
* vim: ts=8 sts=4 sw=4 expandtab
*/
/*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
#ifndef CODES_H
#define CODES_H
......@@ -65,3 +71,12 @@ extern int * inst_ready;
extern int * group_rank;
extern int * group_size;
#endif
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* End:
*
* vim: ts=8 sts=4 sw=4 expandtab
*/
/*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
#ifndef CODE_KERNEL_HELPERS_H
#define CODE_KERNEL_HELPERS_H
......@@ -61,3 +67,12 @@ int codes_kernel_helper_bootstrap(char * io_kernel_path, char * def_io_kernel_pa
char * code_kernel_helpers_cleventToStr(int inst);
char * code_kernel_helpers_kinstToStr(int inst);
#endif
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* End:
*
* vim: ts=8 sts=4 sw=4 expandtab
*/
/*
* Copyright (C) 2013, University of Chicago
*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
#ifndef CODES_H
#define CODES_H
......
/*
* Copyright (C) 2011, University of Chicago
*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
/* SUMMARY:
......@@ -34,3 +34,12 @@ void codes_mapping_get_lp_id(char* grp_name, char* lp_type_name, int rep_id, int
* (for multiple LPs in a repetition). */
void codes_mapping_get_lp_info(tw_lpid gid, char* grp_name, int* grp_id, int* lp_type_id, char* lp_type_name, int* grp_rep_id, int* offset);
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* End:
*
* vim: ts=8 sts=4 sw=4 expandtab
*/
/*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
/*
* (C) 2001 Clemson University and The University of Chicago
*
......
/*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
#ifndef SRC_COMMON_MODELCONFIG_CONFIGFILE_H
#define SRC_COMMON_MODELCONFIG_CONFIGFILE_H
......@@ -160,3 +166,12 @@ static inline int cf_createKey (ConfigHandle handle, SectionHandle section,
#endif
#endif
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* End:
*
* vim: ts=8 sts=4 sw=4 expandtab
*/
/*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
#ifndef __CONFIGURATION_H__
#define __CONFIGURATION_H__
......@@ -141,3 +147,12 @@ int configuration_get_lpgroups (ConfigHandle *handle,
extern ConfigHandle config;
#endif
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* End:
*
* vim: ts=8 sts=4 sw=4 expandtab
*/
/*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
#ifndef __JENKINS_HASH__
#define __JENKINS_HASH__
......@@ -34,3 +40,12 @@ void bj_hashlittle2(
#define bj_hashmask(n) (bj_hashsize(n)-1)
#endif
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* End:
*
* vim: ts=8 sts=4 sw=4 expandtab
*/
/*
* Copyright (C) 2011, University of Chicago
*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
#ifndef LP_IO_H
......
/*
* Copyright (C) 2013, University of Chicago
*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
#ifndef LP_TYPE_LOOKUP_H
#define LP_TYPE_LOOKUP_H
......
/*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
/* 2001 Clemson University and The University of Chicago
*
* See COPYING in top-level directory.
......@@ -327,3 +333,12 @@ static inline int quickhash_null32_hash(void *k, int table_size)
}
#endif /* SRC_COMMON_UTIL_QUICKHASH_H */
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* End:
*
* vim: ts=8 sts=4 sw=4 expandtab
*/
/*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
/*
* (C) 2001 Clemson University and The University of Chicago
*
......
/*
* Copyright (C) 2012, University of Chicago
*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
/*
......@@ -65,3 +65,12 @@ void timeline_finalize(void);
#endif
#endif
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* End:
*
* vim: ts=8 sts=4 sw=4 expandtab
*/
/*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
#ifndef SRC_COMMON_UTIL_TOOLS_H
#define SRC_COMMON_UTIL_TOOLS_H
......@@ -39,3 +45,12 @@ do \
}while(0)
#endif
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* End:
*
* vim: ts=8 sts=4 sw=4 expandtab
*/
/*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
#ifndef SRC_COMMON_MODELCONFIG_TXTFILE_CONFIGFILE_H
#define SRC_COMMON_MODELCONFIG_TXTFILE_CONFIGFILE_H
......@@ -46,3 +52,12 @@ int txtfile_writeConfig (ConfigHandle h, SectionHandle h2, FILE * out, char ** e
#endif
#endif
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* End:
*
* vim: ts=8 sts=4 sw=4 expandtab
*/
/*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
#include "codes/CodesKernelHelpers.h"
#include <stdlib.h>
......@@ -337,3 +343,12 @@ int codes_kernel_helper_bootstrap(char * io_kernel_path, char *
return t;
}
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* End:
*
* vim: ts=8 sts=4 sw=4 expandtab
*/
/*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
......@@ -346,3 +352,12 @@ int64_t ex(
}
return 0;
}
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* End:
*
* vim: ts=8 sts=4 sw=4 expandtab
*/
/*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
/*
* (C) 2001 Clemson University and The University of Chicago
*
......
/*
* Copyright (C) 2012, University of Chicago
*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
/*
......@@ -86,3 +86,12 @@ void timeline_finalize()
}
#endif
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* End:
*
* vim: ts=8 sts=4 sw=4 expandtab
*/
/*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
#include "codes_base_config.h"
#include <string.h>
#include <stdio.h>
......@@ -173,3 +179,12 @@ int cf_dump (ConfigHandle cf, SectionHandle h, char ** err)
{
return txtfile_writeConfig (cf, h, stdout, err);
}
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* End:
*
* vim: ts=8 sts=4 sw=4 expandtab
*/
/*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
#include <stdio.h>
#include <string.h>
#include "configglue.h"
......@@ -77,3 +83,12 @@ int cfgp_parse_ok (const ParserParams * p, char * buf, int bufsize)
}
return 1;
}
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* End:
*
* vim: ts=8 sts=4 sw=4 expandtab
*/
/*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
#ifndef SRC_COMMON_MODELCONFIG_CONFIGGLUE_H
#define SRC_COMMON_MODELCONFIG_CONFIGGLUE_H
......@@ -45,3 +51,12 @@ int cfgp_lex_error (ParserParams * p, int lineno, int colno, const char * msg);
int cfgp_parse_ok (const ParserParams * p, char * buf, int bufsize);
#endif
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* End:
*
* vim: ts=8 sts=4 sw=4 expandtab
*/
/*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
#include "codes_base_config.h"
#include <string.h>
#include <assert.h>
......@@ -352,3 +358,12 @@ int mcs_listsection (const mcs_entry * e, mcs_section_entry * out, unsigned int
}
return i;
}
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* End:
*
* vim: ts=8 sts=4 sw=4 expandtab
*/
/*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
#ifndef SRC_COMMON_MODELCONFIG_CONFIGSTORE_H
#define SRC_COMMON_MODELCONFIG_CONFIGSTORE_H
......@@ -85,3 +91,12 @@ int mcs_listsection (const mcs_entry * a, mcs_section_entry * e, unsigned int
#endif
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* End:
*
* vim: ts=8 sts=4 sw=4 expandtab
*/
/*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
#include "codes_base_config.h"
#include <assert.h>
#ifdef HAVE_MALLOC_H
......@@ -221,3 +227,12 @@ ConfigHandle cfsa_create_empty ()
{
return cfsa_create (mcs_initroot ());
}
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* End:
*
* vim: ts=8 sts=4 sw=4 expandtab
*/
/*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
#ifndef SRC_COMMON_MODELCONFIG_CONFIGSTOREADAPTER_H
#define SRC_COMMON_MODELCONFIG_CONFIGSTOREADAPTER_H
......@@ -18,3 +24,12 @@ ConfigHandle cfsa_create_empty ();
#endif
#endif
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* End:
*
* vim: ts=8 sts=4 sw=4 expandtab
*/
/*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
#include <assert.h>
#include <stdio.h>
#include "codes/txt_configfile.h"
......@@ -218,3 +224,12 @@ ConfigHandle txtfile_openConfig (const char * filename, char ** error)
return ret;
}
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* End:
*
* vim: ts=8 sts=4 sw=4 expandtab
*/
/*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
#include "util/codes-callbacks.h"
int codes_callback_create(uint64_t srclp, uint64_t event, uint64_t reqid,
......@@ -58,3 +64,12 @@ int codes_callback_copy(codes_callback_t * dest, codes_callback_t * src)
return 0;
}
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* End:
*
* vim: ts=8 sts=4 sw=4 expandtab
*/
/*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
#ifndef CODES_CALLBACKS_H
#define CODES_CALLBACKS_H
......@@ -22,3 +28,12 @@ int codes_callback_invoke(codes_callback_t * cb, tw_lp * lp);
int codes_callback_copy(codes_callback_t * dest, codes_callback_t * src);
#endif
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* End:
*
* vim: ts=8 sts=4 sw=4 expandtab
*/
/*
* Copyright (C) 2011, University of Chicago
*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
/* SUMMARY:
......@@ -240,3 +240,12 @@ void codes_mapping_setup()
tw_define_lps(codes_mapping_get_lps_for_pe(), message_size, 0);
}
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* End:
*
* vim: ts=8 sts=4 sw=4 expandtab
*/
/*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
......@@ -236,3 +242,12 @@ int configuration_get_lpgroups (ConfigHandle *handle,
return 0;
}
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* End:
*
* vim: ts=8 sts=4 sw=4 expandtab
*/
/*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
#include "codes_base_config.h"
#include "codes/jenkins-hash.h"
......@@ -346,3 +352,12 @@ void bj_hashlittle2(
*pc=c; *pb=b;
}
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* End:
*
* vim: ts=8 sts=4 sw=4 expandtab
*/
/*
* Copyright (C) 2011, University of Chicago
*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
#include <assert.h>
......
/*
* Copyright (C) 2013, University of Chicago
*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
#include <string.h>
......
/*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
......@@ -21,3 +27,12 @@ void always_assert_error(const char * expr, const char * file, int lineno)
fprintf(stderr, "Assertion '%s' failed (%s:%i)!\n", expr, file, lineno);
abort();
}