Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
codes
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Elsa Gonsiorowski
codes
Commits
6e06d9ff
Commit
6e06d9ff
authored
Aug 27, 2013
by
Philip Carns
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
apply copyright
parent
6230aac8
Changes
39
Show whitespace changes
Inline
Side-by-side
Showing
39 changed files
with
489 additions
and
20 deletions
+489
-20
COPYRIGHT
COPYRIGHT
+38
-0
codes/CodesIOKernelContext.h
codes/CodesIOKernelContext.h
+15
-0
codes/CodesIOKernelParser.h
codes/CodesIOKernelParser.h
+15
-0
codes/CodesIOKernelTypes.h
codes/CodesIOKernelTypes.h
+15
-0
codes/CodesKernelHelpers.h
codes/CodesKernelHelpers.h
+15
-0
codes/codes.h
codes/codes.h
+3
-2
codes/codes_mapping.h
codes/codes_mapping.h
+11
-2
codes/codeslogging.h
codes/codeslogging.h
+6
-0
codes/configfile.h
codes/configfile.h
+15
-0
codes/configuration.h
codes/configuration.h
+15
-0
codes/jenkins-hash.h
codes/jenkins-hash.h
+15
-0
codes/lp-io.h
codes/lp-io.h
+2
-2
codes/lp-type-lookup.h
codes/lp-type-lookup.h
+3
-2
codes/quickhash.h
codes/quickhash.h
+15
-0
codes/quicklist.h
codes/quicklist.h
+6
-0
codes/timeline.h
codes/timeline.h
+11
-2
codes/tools.h
codes/tools.h
+15
-0
codes/txt_configfile.h
codes/txt_configfile.h
+15
-0
src/iokernellang/CodesKernelHelpers.c
src/iokernellang/CodesKernelHelpers.c
+15
-0
src/iokernellang/codesImpl.c
src/iokernellang/codesImpl.c
+15
-0
src/logging/codeslogging.c
src/logging/codeslogging.c
+6
-0
src/logging/timeline.c
src/logging/timeline.c
+11
-2
src/modelconfig/configfile.c
src/modelconfig/configfile.c
+15
-0
src/modelconfig/configglue.c
src/modelconfig/configglue.c
+15
-0
src/modelconfig/configglue.h
src/modelconfig/configglue.h
+15
-0
src/modelconfig/configstore.c
src/modelconfig/configstore.c
+15
-0
src/modelconfig/configstore.h
src/modelconfig/configstore.h
+15
-0
src/modelconfig/configstoreadapter.c
src/modelconfig/configstoreadapter.c
+15
-0
src/modelconfig/configstoreadapter.h
src/modelconfig/configstoreadapter.h
+15
-0
src/modelconfig/txt_configfile.c
src/modelconfig/txt_configfile.c
+15
-0
src/util/codes-callbacks.c
src/util/codes-callbacks.c
+15
-0
src/util/codes-callbacks.h
src/util/codes-callbacks.h
+15
-0
src/util/codes_mapping.c
src/util/codes_mapping.c
+11
-2
src/util/configuration.c
src/util/configuration.c
+15
-0
src/util/lookup3.c
src/util/lookup3.c
+15
-0
src/util/lp-io.c
src/util/lp-io.c
+2
-2
src/util/lp-type-lookup.c
src/util/lp-type-lookup.c
+2
-2
src/util/tools.c
src/util/tools.c
+15
-0
tests/lp-io-test.c
tests/lp-io-test.c
+2
-2
No files found.
COPYRIGHT
0 → 100644
View file @
6e06d9ff
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.
codes/CodesIOKernelContext.h
View file @
6e06d9ff
/*
* 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
*/
codes/CodesIOKernelParser.h
View file @
6e06d9ff
/*
* 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
*/
codes/CodesIOKernelTypes.h
View file @
6e06d9ff
/*
* 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
*/
codes/CodesKernelHelpers.h
View file @
6e06d9ff
/*
* 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
*/
codes/codes.h
View file @
6e06d9ff
/*
* 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
...
...
codes/codes_mapping.h
View file @
6e06d9ff
/*
* 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
*/
codes/codeslogging.h
View file @
6e06d9ff
/*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
/*
* (C) 2001 Clemson University and The University of Chicago
*
...
...
codes/configfile.h
View file @
6e06d9ff
/*
* 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
*/
codes/configuration.h
View file @
6e06d9ff
/*
* 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
*/
codes/jenkins-hash.h
View file @
6e06d9ff
/*
* 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
*/
codes/lp-io.h
View file @
6e06d9ff
/*
* Copyright (C) 2011, University of Chicago
*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
#ifndef LP_IO_H
...
...
codes/lp-type-lookup.h
View file @
6e06d9ff
/*
* 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
...
...
codes/quickhash.h
View file @
6e06d9ff
/*
* 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
*/
codes/quicklist.h
View file @
6e06d9ff
/*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
/*
* (C) 2001 Clemson University and The University of Chicago
*
...
...
codes/timeline.h
View file @
6e06d9ff
/*
* 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
*/
codes/tools.h
View file @
6e06d9ff
/*
* 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
*/
codes/txt_configfile.h
View file @
6e06d9ff
/*
* 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
*/
src/iokernellang/CodesKernelHelpers.c
View file @
6e06d9ff
/*
* 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
*/
src/iokernellang/codesImpl.c
View file @
6e06d9ff
/*
* 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
*/
src/logging/codeslogging.c
View file @
6e06d9ff
/*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
/*
* (C) 2001 Clemson University and The University of Chicago
*
...
...
src/logging/timeline.c
View file @
6e06d9ff
/*
* 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
*/
src/modelconfig/configfile.c
View file @
6e06d9ff
/*
* 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
*/
src/modelconfig/configglue.c
View file @
6e06d9ff
/*
* 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
*/
src/modelconfig/configglue.h
View file @
6e06d9ff
/*
* 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
*/
src/modelconfig/configstore.c
View file @
6e06d9ff
/*
* 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
*/
src/modelconfig/configstore.h
View file @
6e06d9ff
/*
* 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
*/
src/modelconfig/configstoreadapter.c
View file @
6e06d9ff
/*
* 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
*/
src/modelconfig/configstoreadapter.h
View file @
6e06d9ff
/*
* 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
*/
src/modelconfig/txt_configfile.c
View file @
6e06d9ff
/*
* 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
*/
src/util/codes-callbacks.c
View file @
6e06d9ff
/*
* 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
*/
src/util/codes-callbacks.h
View file @
6e06d9ff
/*
* 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
*/
src/util/codes_mapping.c
View file @
6e06d9ff
/*
* 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
*/
src/util/configuration.c
View file @
6e06d9ff
/*
* 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
*/
src/util/lookup3.c
View file @
6e06d9ff
/*
* 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
*/
src/util/lp-io.c
View file @
6e06d9ff
/*
* Copyright (C) 2011, University of Chicago
*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
#include <assert.h>
...
...
src/util/lp-type-lookup.c
View file @
6e06d9ff
/*
* Copyright (C) 2013, University of Chicago
*
* Copyright (C) 2013 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/