repo
stringlengths
1
152
file
stringlengths
14
221
code
stringlengths
501
25k
file_length
int64
501
25k
avg_line_length
float64
20
99.5
max_line_length
int64
21
134
extension_type
stringclasses
2 values
OpenCC
OpenCC-master/deps/pybind11-2.10.0/include/pybind11/chrono.h
/* pybind11/chrono.h: Transparent conversion between std::chrono and python's datetime Copyright (c) 2016 Trent Houliston <trent@houliston.me> and Wenzel Jakob <wenzel.jakob@epfl.ch> All rights reserved. Use of this source code is governed by a BSD-style license that can be foun...
8,458
36.429204
98
h
OpenCC
OpenCC-master/deps/pybind11-2.10.0/include/pybind11/complex.h
/* pybind11/complex.h: Complex number support Copyright (c) 2016 Wenzel Jakob <wenzel.jakob@epfl.ch> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #pragma once #include "pybind11.h" #include <complex> /// glibc defines I a...
2,096
26.96
98
h
OpenCC
OpenCC-master/deps/pybind11-2.10.0/include/pybind11/embed.h
/* pybind11/embed.h: Support for embedding the interpreter Copyright (c) 2017 Wenzel Jakob <wenzel.jakob@epfl.ch> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #pragma once #include "pybind11.h" #include "eval.h" #include <...
11,792
41.117857
99
h
OpenCC
OpenCC-master/deps/pybind11-2.10.0/include/pybind11/eval.h
/* pybind11/eval.h: Support for evaluating Python expressions and statements from strings and files Copyright (c) 2016 Klemens Morgenstern <klemens.morgenstern@ed-chemnitz.de> and Wenzel Jakob <wenzel.jakob@epfl.ch> All rights reserved. Use of this source code is governed by a ...
4,731
29.140127
93
h
OpenCC
OpenCC-master/deps/pybind11-2.10.0/include/pybind11/functional.h
/* pybind11/functional.h: std::function<> support Copyright (c) 2016 Wenzel Jakob <wenzel.jakob@epfl.ch> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #pragma once #include "pybind11.h" #include <functional> PYBIND11_NAMES...
4,695
34.847328
96
h
OpenCC
OpenCC-master/deps/pybind11-2.10.0/include/pybind11/gil.h
/* pybind11/gil.h: RAII helpers for managing the GIL Copyright (c) 2016 Wenzel Jakob <wenzel.jakob@epfl.ch> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #pragma once #include "detail/common.h" #include "detail/internals.h" ...
7,457
34.014085
90
h
OpenCC
OpenCC-master/deps/pybind11-2.10.0/include/pybind11/iostream.h
/* pybind11/iostream.h -- Tools to assist with redirecting cout and cerr to Python Copyright (c) 2017 Henry F. Schreiner All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. WARNING: The implementation in this file is NOT thread sa...
8,862
32.319549
96
h
OpenCC
OpenCC-master/deps/pybind11-2.10.0/include/pybind11/operators.h
/* pybind11/operator.h: Metatemplates for operator overloading Copyright (c) 2016 Wenzel Jakob <wenzel.jakob@epfl.ch> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #pragma once #include "pybind11.h" PYBIND11_NAMESPACE_BEGIN...
9,103
43.847291
99
h
OpenCC
OpenCC-master/deps/pybind11-2.10.0/include/pybind11/options.h
/* pybind11/options.h: global settings that are configurable at runtime. Copyright (c) 2016 Wenzel Jakob <wenzel.jakob@epfl.ch> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #pragma once #include "detail/common.h" PYBIND11_...
2,181
27.337662
96
h
OpenCC
OpenCC-master/deps/pybind11-2.10.0/include/pybind11/stl.h
/* pybind11/stl.h: Transparent conversion for STL data types Copyright (c) 2016 Wenzel Jakob <wenzel.jakob@epfl.ch> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #pragma once #include "pybind11.h" #include "detail/common.h" ...
15,337
33.313199
99
h
OpenCC
OpenCC-master/deps/pybind11-2.10.0/include/pybind11/detail/descr.h
/* pybind11/detail/descr.h: Helper type for concatenating type signatures at compile time Copyright (c) 2016 Wenzel Jakob <wenzel.jakob@epfl.ch> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #pragma once #include "common.h" ...
5,491
33.540881
98
h
OpenCC
OpenCC-master/deps/pybind11-2.10.0/include/pybind11/detail/init.h
/* pybind11/detail/init.h: init factory function implementation and support code. Copyright (c) 2017 Jason Rhinelander <jason@imaginary.ca> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #pragma once #include "class.h" PYBIN...
17,981
40.916084
99
h
OpenCC
OpenCC-master/deps/pybind11-2.10.0/include/pybind11/detail/internals.h
/* pybind11/detail/internals.h: Internal data structure and related functions Copyright (c) 2017 Wenzel Jakob <wenzel.jakob@epfl.ch> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #pragma once #include "../pytypes.h" #includ...
24,651
42.249123
99
h
OpenCC
OpenCC-master/deps/pybind11-2.10.0/include/pybind11/detail/typeid.h
/* pybind11/detail/typeid.h: Compiler-independent access to type identifiers Copyright (c) 2016 Wenzel Jakob <wenzel.jakob@epfl.ch> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #pragma once #include <cstdio> #include <cstdl...
1,625
23.636364
81
h
OpenCC
OpenCC-master/deps/pybind11-2.10.0/include/pybind11/eigen/tensor.h
/* pybind11/eigen/tensor.h: Transparent conversion for Eigen tensors All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #pragma once #include "../numpy.h" #if defined(__GNUC__) && !defined(__clang__) && !defined(__INTEL_COMPILER) sta...
18,422
34.49711
99
h
OpenCC
OpenCC-master/deps/pybind11-2.10.0/tests/constructor_stats.h
#pragma once /* tests/constructor_stats.h -- framework for printing and tracking object instance lifetimes in example/test code. Copyright (c) 2016 Jason Rhinelander <jason@imaginary.ca> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENS...
11,736
35.337461
98
h
OpenCC
OpenCC-master/deps/pybind11-2.10.0/tests/local_bindings.h
#pragma once #include "pybind11_tests.h" #include <utility> /// Simple class used to test py::local: template <int> class LocalBase { public: explicit LocalBase(int i) : i(i) {} int i = -1; }; /// Registered with py::module_local in both main and secondary modules: using LocalType = LocalBase<0>; /// Registe...
2,847
29.623656
96
h
OpenCC
OpenCC-master/deps/pybind11-2.10.0/tests/object.h
#if !defined(__OBJECT_H) # define __OBJECT_H # include "constructor_stats.h" # include <atomic> /// Reference counted object base class class Object { public: /// Default constructor Object() { print_default_created(this); } /// Copy constructor Object(const Object &) : m_refCount(0) { prin...
5,743
26.883495
98
h
OpenCC
OpenCC-master/deps/pybind11-2.10.0/tests/pybind11_tests.h
#pragma once #include <pybind11/eval.h> #include <pybind11/pybind11.h> namespace py = pybind11; using namespace pybind11::literals; class test_initializer { using Initializer = void (*)(py::module_ &); public: explicit test_initializer(Initializer init); test_initializer(const char *submodule_name, Init...
2,685
30.232558
131
h
OpenCC
OpenCC-master/deps/rapidjson-1.1.0/rapidjson/fwd.h
// Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. // // Licensed under the MIT License (the "License"); you may not use this file except // in compliance with the License. You may obt...
4,035
25.552632
127
h
OpenCC
OpenCC-master/deps/rapidjson-1.1.0/rapidjson/istreamwrapper.h
// Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. // // Licensed under the MIT License (the "License"); you may not use this file except // in compliance with the License. You may obt...
3,576
29.836207
97
h
OpenCC
OpenCC-master/deps/rapidjson-1.1.0/rapidjson/memorybuffer.h
// Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. // // Licensed under the MIT License (the "License"); you may not use this file except // in compliance with the License. You may obt...
2,560
35.070423
129
h
OpenCC
OpenCC-master/deps/rapidjson-1.1.0/rapidjson/ostreamwrapper.h
// Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. // // Licensed under the MIT License (the "License"); you may not use this file except // in compliance with the License. You may obt...
2,331
27.439024
92
h
OpenCC
OpenCC-master/deps/rapidjson-1.1.0/rapidjson/stream.h
// Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. // // Licensed under the MIT License (the "License"); you may not use this file except // in compliance with the License. You may obt...
5,466
29.372222
95
h
OpenCC
OpenCC-master/deps/rapidjson-1.1.0/rapidjson/stringbuffer.h
// Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. // // Licensed under the MIT License (the "License"); you may not use this file except // in compliance with the License. You may obt...
3,798
31.194915
118
h
OpenCC
OpenCC-master/deps/rapidjson-1.1.0/rapidjson/error/error.h
// Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. // // Licensed under the MIT License (the "License"); you may not use this file except // in compliance with the License. You may obt...
5,824
36.339744
103
h
OpenCC
OpenCC-master/deps/rapidjson-1.1.0/rapidjson/internal/biginteger.h
// Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. // // Licensed under the MIT License (the "License"); you may not use this file except // in compliance with the License. You may obt...
9,139
30.408935
111
h
OpenCC
OpenCC-master/deps/rapidjson-1.1.0/rapidjson/internal/diyfp.h
// Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. // // Licensed under the MIT License (the "License"); you may not use this file except // in compliance with the License. You may obt...
11,512
43.451737
109
h
OpenCC
OpenCC-master/deps/rapidjson-1.1.0/rapidjson/internal/dtoa.h
// Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. // // Licensed under the MIT License (the "License"); you may not use this file except // in compliance with the License. You may obt...
8,172
32.223577
128
h
OpenCC
OpenCC-master/deps/rapidjson-1.1.0/rapidjson/internal/ieee754.h
// Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. // // Licensed under the MIT License (the "License"); you may not use this file except // in compliance with the License. You may obt...
3,022
37.265823
113
h
OpenCC
OpenCC-master/deps/rapidjson-1.1.0/rapidjson/internal/itoa.h
// Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. // // Licensed under the MIT License (the "License"); you may not use this file except // in compliance with the License. You may obt...
10,306
32.793443
92
h
OpenCC
OpenCC-master/deps/rapidjson-1.1.0/rapidjson/internal/meta.h
// Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. // // Licensed under the MIT License (the "License"); you may not use this file except // in compliance with the License. You may obt...
6,572
35.115385
114
h
OpenCC
OpenCC-master/deps/rapidjson-1.1.0/rapidjson/internal/regex.h
// Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. // // Licensed under the MIT License (the "License"); you may not use this file except // in compliance with the License. You may obt...
24,825
34.364672
129
h
OpenCC
OpenCC-master/deps/rapidjson-1.1.0/rapidjson/internal/strfunc.h
// Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. // // Licensed under the MIT License (the "License"); you may not use this file except // in compliance with the License. You may obt...
1,897
32.892857
104
h
OpenCC
OpenCC-master/deps/rapidjson-1.1.0/rapidjson/internal/strtod.h
// Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. // // Licensed under the MIT License (the "License"); you may not use this file except // in compliance with the License. You may obt...
8,672
31.122222
126
h
OpenCC
OpenCC-master/deps/rapidjson-1.1.0/rapidjson/internal/swap.h
// Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. // // Licensed under the MIT License (the "License"); you may not use this file except // in compliance with the License. You may obta...
1,419
29.212766
98
h
OpenCC
OpenCC-master/deps/rapidjson-1.1.0/rapidjson/msinttypes/inttypes.h
// ISO C9x compliant inttypes.h for Microsoft Visual Studio // Based on ISO/IEC 9899:TC2 Committee draft (May 6, 2005) WG14/N1124 // // Copyright (c) 2006-2013 Alexander Chemeris // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following cond...
8,372
25.413249
94
h
OpenCC
OpenCC-master/deps/tclap-1.2.2/tclap/Arg.h
// -*- Mode: c++; c-basic-offset: 4; tab-width: 4; -*- /****************************************************************************** * * file: Arg.h * * Copyright (c) 2003, Michael E. Smoot . * Copyright (c) 2004, Michael E. Smoot, Daniel Aarno . * Copyright (c) 2017 Google Inc. * All rights reserved. ...
17,483
24.193084
89
h
OpenCC
OpenCC-master/deps/tclap-1.2.2/tclap/ArgException.h
// -*- Mode: c++; c-basic-offset: 4; tab-width: 4; -*- /****************************************************************************** * * file: ArgException.h * * Copyright (c) 2003, Michael E. Smoot . * All rights reserved. * * See the file COPYING in the top directory of this distribution for * mo...
5,044
24.099502
80
h
OpenCC
OpenCC-master/deps/tclap-1.2.2/tclap/ArgTraits.h
// -*- Mode: c++; c-basic-offset: 4; tab-width: 4; -*- /****************************************************************************** * * file: ArgTraits.h * * Copyright (c) 2007, Daniel Aarno, Michael E. Smoot . * All rights reserved. * * See the file COPYING in the top directory of this distribution for...
2,627
28.52809
79
h
OpenCC
OpenCC-master/deps/tclap-1.2.2/tclap/CmdLine.h
// -*- Mode: c++; c-basic-offset: 4; tab-width: 4; -*- /****************************************************************************** * * file: CmdLine.h * * Copyright (c) 2003, Michael E. Smoot . * Copyright (c) 2004, Michael E. Smoot, Daniel Aarno. * All rights reserved. * * See the file COPYING in th...
13,987
21.063091
79
h
OpenCC
OpenCC-master/deps/tclap-1.2.2/tclap/CmdLineInterface.h
/****************************************************************************** * * file: CmdLineInterface.h * * Copyright (c) 2003, Michael E. Smoot . * Copyright (c) 2004, Michael E. Smoot, Daniel Aarno. * All rights reserved. * * See the file COPYING in the top directory of this distribution for *...
3,627
23.02649
80
h
OpenCC
OpenCC-master/deps/tclap-1.2.2/tclap/CmdLineOutput.h
/****************************************************************************** * * file: CmdLineOutput.h * * Copyright (c) 2004, Michael E. Smoot * All rights reserved. * * See the file COPYING in the top directory of this distribution for * more information. * * THE SOFTWARE IS PROVIDED _AS I...
1,925
24.68
80
h
OpenCC
OpenCC-master/deps/tclap-1.2.2/tclap/Constraint.h
/****************************************************************************** * * file: Constraint.h * * Copyright (c) 2005, Michael E. Smoot * All rights reserved. * * See the file COPYING in the top directory of this distribution for * more information. * * THE SOFTWARE IS PROVIDED _AS IS_, WITHOU...
1,800
25.101449
79
h
OpenCC
OpenCC-master/deps/tclap-1.2.2/tclap/DocBookOutput.h
// -*- Mode: c++; c-basic-offset: 4; tab-width: 4; -*- /****************************************************************************** * * file: DocBookOutput.h * * Copyright (c) 2004, Michael E. Smoot * All rights reserved. * * See the file COPYING in the top directory of this distribution for * mor...
8,402
26.916944
104
h
OpenCC
OpenCC-master/deps/tclap-1.2.2/tclap/HelpVisitor.h
/****************************************************************************** * * file: HelpVisitor.h * * Copyright (c) 2003, Michael E. Smoot . * All rights reserved. * * See the file COPYING in the top directory of this distribution for * more information. * * THE SOFTWARE IS PROVIDED _AS IS...
1,944
24.25974
80
h
OpenCC
OpenCC-master/deps/tclap-1.2.2/tclap/IgnoreRestVisitor.h
/****************************************************************************** * * file: IgnoreRestVisitor.h * * Copyright (c) 2003, Michael E. Smoot . * All rights reserved. * * See the file COPYING in the top directory of this distribution for * more information. * * THE SOFTWARE IS PROVIDED ...
1,336
24.226415
80
h
OpenCC
OpenCC-master/deps/tclap-1.2.2/tclap/MultiArg.h
/****************************************************************************** * * file: MultiArg.h * * Copyright (c) 2003, Michael E. Smoot . * Copyright (c) 2004, Michael E. Smoot, Daniel Aarno. * All rights reserved. * * See the file COPYING in the top directory of this distribution for * more i...
12,013
26.682028
80
h
OpenCC
OpenCC-master/deps/tclap-1.2.2/tclap/MultiSwitchArg.h
/****************************************************************************** * * file: MultiSwitchArg.h * * Copyright (c) 2003, Michael E. Smoot . * Copyright (c) 2004, Michael E. Smoot, Daniel Aarno. * Copyright (c) 2005, Michael E. Smoot, Daniel Aarno, Erik Zeek. * All rights reserved. * * See the file CO...
5,627
24.935484
80
h
OpenCC
OpenCC-master/deps/tclap-1.2.2/tclap/OptionalUnlabeledTracker.h
/****************************************************************************** * * file: OptionalUnlabeledTracker.h * * Copyright (c) 2005, Michael E. Smoot . * All rights reserved. * * See the file COPYING in the top directory of this distribution for * more information. * * THE SOFTWARE IS P...
1,721
26.333333
83
h
OpenCC
OpenCC-master/deps/tclap-1.2.2/tclap/StandardTraits.h
// -*- Mode: c++; c-basic-offset: 4; tab-width: 4; -*- /****************************************************************************** * * file: StandardTraits.h * * Copyright (c) 2007, Daniel Aarno, Michael E. Smoot . * All rights reserved. * * See the file COPYING in the top directory of this distributio...
4,525
20.655502
79
h
OpenCC
OpenCC-master/deps/tclap-1.2.2/tclap/StdOutput.h
// -*- Mode: c++; c-basic-offset: 4; tab-width: 4; -*- /****************************************************************************** * * file: StdOutput.h * * Copyright (c) 2004, Michael E. Smoot * All rights reserved. * * See the file COPYING in the top directory of this distribution for * more in...
8,490
27.303333
80
h
OpenCC
OpenCC-master/deps/tclap-1.2.2/tclap/SwitchArg.h
/****************************************************************************** * * file: SwitchArg.h * * Copyright (c) 2003, Michael E. Smoot . * Copyright (c) 2004, Michael E. Smoot, Daniel Aarno. * All rights reserved. * * See the file COPYING in the top directory of this distribution for * more...
7,659
27.689139
80
h
OpenCC
OpenCC-master/deps/tclap-1.2.2/tclap/UnlabeledMultiArg.h
/****************************************************************************** * * file: UnlabeledMultiArg.h * * Copyright (c) 2003, Michael E. Smoot. * All rights reserved. * * See the file COPYING in the top directory of this distribution for * more information. * * THE SOFTWARE IS PROVIDED _...
9,620
30.857616
80
h
OpenCC
OpenCC-master/deps/tclap-1.2.2/tclap/UnlabeledValueArg.h
/****************************************************************************** * * file: UnlabeledValueArg.h * * Copyright (c) 2003, Michael E. Smoot . * Copyright (c) 2004, Michael E. Smoot, Daniel Aarno. * All rights reserved. * * See the file COPYING in the top directory of this distribution for ...
11,452
32.58651
80
h
OpenCC
OpenCC-master/deps/tclap-1.2.2/tclap/ValueArg.h
/****************************************************************************** * * file: ValueArg.h * * Copyright (c) 2003, Michael E. Smoot . * Copyright (c) 2004, Michael E. Smoot, Daniel Aarno. * All rights reserved. * * See the file COPYING in the top directory of this distribution for * more i...
14,148
32.213615
80
h
OpenCC
OpenCC-master/deps/tclap-1.2.2/tclap/ValuesConstraint.h
/****************************************************************************** * * file: ValuesConstraint.h * * Copyright (c) 2005, Michael E. Smoot * All rights reserved. * * See the file COPYING in the top directory of this distribution for * more information. * * THE SOFTWARE IS PROVIDED _A...
3,027
20.628571
80
h
OpenCC
OpenCC-master/deps/tclap-1.2.2/tclap/VersionVisitor.h
// -*- Mode: c++; c-basic-offset: 4; tab-width: 4; -*- /****************************************************************************** * * file: VersionVisitor.h * * Copyright (c) 2003, Michael E. Smoot . * All rights reserved. * * See the file COPYING in the top directory of this distribution for * ...
2,028
23.743902
80
h
OpenCC
OpenCC-master/deps/tclap-1.2.2/tclap/Visitor.h
/****************************************************************************** * * file: Visitor.h * * Copyright (c) 2003, Michael E. Smoot . * All rights reserved. * * See the file COPYING in the top directory of this distribution for * more information. * * THE SOFTWARE IS PROVIDED _AS IS_, W...
1,258
22.314815
80
h
OpenCC
OpenCC-master/deps/tclap-1.2.2/tclap/XorHandler.h
/****************************************************************************** * * file: XorHandler.h * * Copyright (c) 2003, Michael E. Smoot . * Copyright (c) 2004, Michael E. Smoot, Daniel Aarno. * All rights reserved. * * See the file COPYING in the top directory of this distribution for * mor...
4,358
25.101796
80
h
OpenCC
OpenCC-master/deps/tclap-1.2.2/tclap/ZshCompletionOutput.h
// -*- Mode: c++; c-basic-offset: 4; tab-width: 4; -*- /****************************************************************************** * * file: ZshCompletionOutput.h * * Copyright (c) 2006, Oliver Kiddle * Copyright (c) 2017 Google Inc. * All rights reserved. * * See the file COPYING in the top dire...
8,272
23.622024
85
h
OpenCC
OpenCC-master/deps/tclap-1.2.2/tclap/sstream.h
// -*- Mode: c++; c-basic-offset: 4; tab-width: 4; -*- /****************************************************************************** * * file: sstream.h * * Copyright (c) 2003, Michael E. Smoot . * Copyright (c) 2004, Michael E. Smoot, Daniel Aarno . * Copyright (c) 2017 Google Inc. * All rights reserve...
1,628
30.941176
79
h
OpenCC
OpenCC-master/node/opencc_config.h
/* * Open Chinese Convert * * Copyright 2021 Carbo Kuo <byvoid@byvoid.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * U...
689
30.363636
75
h
OpenCC
OpenCC-master/src/opencc.h
/* * Open Chinese Convert * * Copyright 2010-2014 Carbo Kuo <byvoid@byvoid.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 *...
4,592
27.351852
80
h
null
forks-break-afl-main/simple_http_server_aflnwe/httpd.h
#ifndef _HTTPD_H___ #define _HTTPD_H___ #include <string.h> #include <stdio.h> //Server control functions void serve_forever(const char *PORT); // Client request char *method, // "GET" or "POST" *uri, // "/index.html" things before '?' *qs, // "a=1&b=2" things after '?' ...
988
25.72973
86
h
null
forks-break-afl-main/simple_http_server_aflnwe/httpd.c
#include "httpd.h" #include <stdio.h> #include <string.h> #include <stdlib.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/socket.h> #include <arpa/inet.h> #include <netdb.h> #include <fcntl.h> #include <signal.h> #include <sys/wait.h> #define CONNMAX 1000 static int listenfd, clien...
4,698
23.34715
100
c
null
forks-break-afl-main/simple_http_server/httpd.h
#ifndef _HTTPD_H___ #define _HTTPD_H___ #include <string.h> #include <stdio.h> //Server control functions void serve_forever(const char *PORT); // Client request char *method, // "GET" or "POST" *uri, // "/index.html" things before '?' *qs, // "a=1&b=2" things after '?' ...
988
25.72973
86
h
null
forks-break-afl-main/simple_http_server/httpd.c
#include "httpd.h" #include <stdio.h> #include <string.h> #include <stdlib.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/socket.h> #include <arpa/inet.h> #include <netdb.h> #include <fcntl.h> #include <signal.h> #define CONNMAX 1000 static int listenfd, clients[CONNMAX]; static vo...
4,672
23.465969
100
c
null
EVA-planner-main/src/adaptive_planner/path_searching/include/path_searching/astar.h
#ifndef _ASTAR_H #define _ASTAR_H #include <Eigen/Eigen> #include <iostream> #include <map> #include <ros/console.h> #include <ros/ros.h> #include <string> #include "plan_env/sdf_map.h" #include <math.h> #define inf 1>>20 namespace adaptive_planner { struct GridNode; typedef GridNode* GridNodePtr; struct GridNode {...
2,774
22.922414
128
h
null
EVA-planner-main/src/adaptive_planner/path_searching/include/path_searching/high_mpcc_optimizer.h
#ifndef _HIGH_MPCC_OPTIMIZER_H #define _HIGH_MPCC_OPTIMIZER_H #include <Eigen/Eigen> #include <unsupported/Eigen/MatrixFunctions> #include <iostream> #include <map> #include <ros/console.h> #include <ros/ros.h> #include <string> #include "plan_env/edt_environment.h" #include <math.h> #define inf 1000000.0 namespace a...
3,827
38.463918
129
h
null
EVA-planner-main/src/adaptive_planner/path_searching/include/path_searching/low_mpc.h
#ifndef _LOW_MPC_H #define _LOW_MPC_H #include <Eigen/Eigen> #include <iostream> #include <map> #include <ros/console.h> #include <ros/ros.h> #include <string> #include "plan_env/edt_environment.h" #include <math.h> #define inf 1000000.0 namespace adaptive_planner{ class low_mpc_planner { private: /* record data...
2,553
32.605263
120
h
null
EVA-planner-main/src/adaptive_planner/plan_env/include/plan_env/edt_environment.h
#ifndef _EDT_ENVIRONMENT_H_ #define _EDT_ENVIRONMENT_H_ #include <Eigen/Eigen> #include <iostream> #include <ros/ros.h> #include <utility> #include <plan_env/sdf_map.h> using std::cout; using std::endl; using std::list; using std::pair; using std::shared_ptr; using std::unique_ptr; using std::vector; namespace adap...
1,740
29.017241
121
h
null
EVA-planner-main/src/adaptive_planner/plan_env/include/plan_env/raycast.h
#ifndef RAYCAST_H_ #define RAYCAST_H_ #include <Eigen/Eigen> #include <vector> double signum(double x); double mod(double value, double modulus); double intbound(double s, double ds); void Raycast(const Eigen::Vector3d& start, const Eigen::Vector3d& end, const Eigen::Vector3d& min, const Eigen::Vector...
1,337
20.238095
98
h
null
EVA-planner-main/src/adaptive_planner/plan_env/include/plan_env/sdf_map.h
#ifndef _SDF_MAP_H #define _SDF_MAP_H #include <Eigen/Eigen> #include <Eigen/StdVector> #include <cv_bridge/cv_bridge.h> #include <geometry_msgs/PoseStamped.h> #include <iostream> #include <nav_msgs/Odometry.h> #include <queue> #include <ros/ros.h> #include <tuple> #include <visualization_msgs/Marker.h> #include <pcl...
14,705
31.535398
105
h
null
EVA-planner-main/src/adaptive_planner/plan_manage/include/plan_manage/adaptive_replan_fsm.h
#ifndef ADAPTIVE_REPLAN_FSM #define ADAPTIVE_REPLAN_FSM #include <Eigen/Eigen> #include <algorithm> #include <iostream> #include <nav_msgs/Path.h> #include <ros/ros.h> #include <std_msgs/Empty.h> #include <vector> #include <visualization_msgs/Marker.h> #include <geometry_msgs/Point.h> #include <geometry_msgs/PoseStamp...
3,329
32.636364
130
h
null
EVA-planner-main/src/adaptive_planner/plan_manage/include/plan_manage/planner_manager.h
#ifndef _PLANNER_MANAGER_H_ #define _PLANNER_MANAGER_H_ #include <ros/ros.h> #include <plan_env/sdf_map.h> #include <plan_env/edt_environment.h> #include <path_searching/astar.h> #include <path_searching/low_mpc.h> #include <path_searching/high_mpcc_optimizer.h> namespace adaptive_planner{ class AdaptivePlannerManag...
1,368
26.938776
113
h
null
EVA-planner-main/src/utils/map_server/local_sensing/src/AlignError.h
#include <Eigen/Eigen> #include <ceres/ceres.h> struct AlignError { AlignError( const Eigen::Quaterniond camera_pose, const Eigen::Vector3d camera_trans, const Eigen::Quaterniond velodyne_pose, const Eigen::Vector3d velodyne_trans) { camera_q[0] = camera_pose.x(); camera_q[1] = ca...
3,230
36.137931
117
h
null
EVA-planner-main/src/utils/pose_utils/build/CMakeFiles/2.8.12.2/CompilerIdC/CMakeCCompilerId.c
#ifdef __cplusplus # error "A C++ compiler has been selected for C." #endif /* Version number components: V=Version, R=Revision, P=Patch Version date components: YYYY=Year, MM=Month, DD=Day */ #if defined(__18CXX) # define ID_VOID_MAIN #endif #if defined(__INTEL_COMPILER) || defined(__ICC) # define COMPILER_...
11,935
29.605128
95
c
null
EVA-planner-main/src/utils/pose_utils/include/pose_utils.h
#ifndef POSE_UTILS_H #define POSE_UTILS_H #include <iostream> #include "armadillo" #define PI 3.14159265359 #define NUM_INF 999999.9 using namespace arma; using namespace std; // Rotation --------------------- mat ypr_to_R(const colvec& ypr); mat yaw_to_R(double yaw); colvec R_to_ypr(const mat& R); mat quaternio...
1,138
20.092593
65
h
null
EVA-planner-main/src/utils/quadrotor_msgs/include/quadrotor_msgs/decode_msgs.h
#ifndef __QUADROTOR_MSGS_QUADROTOR_MSGS_H__ #define __QUADROTOR_MSGS_QUADROTOR_MSGS_H__ #include <stdint.h> #include <vector> #include <quadrotor_msgs/OutputData.h> #include <quadrotor_msgs/StatusData.h> #include <quadrotor_msgs/PPROutputData.h> namespace quadrotor_msgs { bool decodeOutputData(const std::vector<uint...
642
25.791667
64
h
null
EVA-planner-main/src/utils/quadrotor_msgs/include/quadrotor_msgs/encode_msgs.h
#ifndef __QUADROTOR_MSGS_QUADROTOR_MSGS_H__ #define __QUADROTOR_MSGS_QUADROTOR_MSGS_H__ #include <stdint.h> #include <vector> #include <quadrotor_msgs/SO3Command.h> #include <quadrotor_msgs/TRPYCommand.h> #include <quadrotor_msgs/Gains.h> namespace quadrotor_msgs { void encodeSO3Command(const quadrotor_msgs::SO3Comm...
635
26.652174
71
h
null
EVA-planner-main/src/utils/quadrotor_simulator/so3_control/include/so3_control/SO3Control.h
#ifndef __SO3_CONTROL_H__ #define __SO3_CONTROL_H__ #include <Eigen/Geometry> class SO3Control { public: SO3Control(); void setMass(const double mass); void setGravity(const double g); void setPosition(const Eigen::Vector3d& position); void setVelocity(const Eigen::Vector3d& velocity); void setAcc(const ...
1,076
24.642857
77
h
null
EVA-planner-main/src/utils/quadrotor_simulator/so3_quadrotor_simulator/include/quadrotor_simulator/Quadrotor.h
#ifndef __QUADROTOR_SIMULATOR_QUADROTOR_H__ #define __QUADROTOR_SIMULATOR_QUADROTOR_H__ #include <Eigen/Core> #include <boost/array.hpp> namespace QuadrotorSimulator { class Quadrotor { public: struct State { Eigen::Vector3d x; Eigen::Vector3d v; Eigen::Matrix3d R; Eigen::Vector3d omega; Eige...
2,756
23.616071
78
h
null
EVA-planner-main/src/utils/quadrotor_simulator/so3_quadrotor_simulator/include/uav_utils/converters.h
#ifndef __UAVUTILS_CONVERTERS_H #define __UAVUTILS_CONVERTERS_H #include <nav_msgs/Odometry.h> #include <geometry_msgs/Vector3.h> #include <geometry_msgs/Point.h> #include <geometry_msgs/Quaternion.h> #include <Eigen/Dense> #include <Eigen/Geometry> #include <cmath> namespace uav_utils { inline void extract_odometr...
2,941
29.645833
110
h
null
EVA-planner-main/src/utils/quadrotor_simulator/so3_quadrotor_simulator/include/uav_utils/geometry_utils.h
#ifndef __GEOMETRY_UTILS_H #define __GEOMETRY_UTILS_H #include <Eigen/Dense> /* clang-format off */ namespace uav_utils { template <typename Scalar_t> Scalar_t toRad(const Scalar_t& x) { return x / 180.0 * M_PI; } template <typename Scalar_t> Scalar_t toDeg(const Scalar_t& x) { return x * 180.0 / M_PI; } t...
7,377
28.630522
110
h
null
EVA-planner-main/src/utils/rviz_plugins/build/CMakeFiles/2.8.12.2/CompilerIdC/CMakeCCompilerId.c
#ifdef __cplusplus # error "A C++ compiler has been selected for C." #endif /* Version number components: V=Version, R=Revision, P=Patch Version date components: YYYY=Year, MM=Month, DD=Day */ #if defined(__18CXX) # define ID_VOID_MAIN #endif #if defined(__INTEL_COMPILER) || defined(__ICC) # define COMPILER_...
11,935
29.605128
95
c
null
EVA-planner-main/src/utils/rviz_plugins/src/aerialmap_display.h
/* * Copyright (c) 2012, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright * notice, this l...
3,803
27.177778
78
h
null
EVA-planner-main/src/utils/rviz_plugins/src/goal_tool.h
/* * Copyright (c) 2012, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright * notice, this l...
2,253
29.876712
79
h
null
EVA-planner-main/src/utils/rviz_plugins/src/multi_probmap_display.h
/* * Copyright (c) 2012, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright * notice, this l...
3,274
27.478261
78
h
null
EVA-planner-main/src/utils/rviz_plugins/src/pose_tool.h
/* * Copyright (c) 2008, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright * notice, this l...
2,305
27.469136
78
h
null
EVA-planner-main/src/utils/rviz_plugins/src/probmap_display.h
/* * Copyright (c) 2012, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright * notice, this l...
3,779
27
78
h
null
EVA-planner-main/src/utils/uav_utils/include/uav_utils/converters.h
#ifndef __UAVUTILS_CONVERTERS_H #define __UAVUTILS_CONVERTERS_H #include <nav_msgs/Odometry.h> #include <geometry_msgs/Vector3.h> #include <geometry_msgs/Point.h> #include <geometry_msgs/Quaternion.h> #include <Eigen/Dense> #include <Eigen/Geometry> #include <cmath> namespace uav_utils { inline void extract_odometr...
2,941
29.645833
110
h
null
EVA-planner-main/src/utils/uav_utils/include/uav_utils/geometry_utils.h
#ifndef __GEOMETRY_UTILS_H #define __GEOMETRY_UTILS_H #include <Eigen/Dense> /* clang-format off */ namespace uav_utils { template <typename Scalar_t> Scalar_t toRad(const Scalar_t& x) { return x / 180.0 * M_PI; } template <typename Scalar_t> Scalar_t toDeg(const Scalar_t& x) { return x * 180.0 / M_PI; } t...
7,377
28.630522
110
h
null
EVA-planner-main/src/utils/waypoint_generator/src/sample_waypoints.h
#ifndef SAMPLE_WAYPOINTS_H #define SAMPLE_WAYPOINTS_H #include <ros/ros.h> #include <tf/tf.h> #include <nav_msgs/Path.h> nav_msgs::Path point() { // Circle parameters nav_msgs::Path waypoints; geometry_msgs::PoseStamped pt; pt.pose.orientation = tf::createQuaternionMsgFromYaw(0.0); double h =...
6,593
29.957746
66
h
null
jax-main/jaxlib/cpu_feature_guard.c
/* Copyright 2021 The JAX Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softwar...
5,311
30.808383
80
c
null
jax-main/jaxlib/handle_pool.h
/* Copyright 2019 The JAX Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softwar...
3,357
29.252252
80
h
null
jax-main/jaxlib/kernel_helpers.h
/* Copyright 2019 The JAX Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softwar...
1,707
32.490196
80
h
null
jax-main/jaxlib/kernel_pybind11_helpers.h
/* Copyright 2019 The JAX Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softwar...
1,689
34.957447
80
h
null
jax-main/jaxlib/cpu/ducc_fft_kernels.h
/* Copyright 2020 The JAX Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softwar...
1,078
32.71875
80
h
null
jax-main/jaxlib/cpu/lapack_kernels.h
/* Copyright 2021 The JAX Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softwar...
7,952
34.986425
80
h