hexsha
stringlengths
40
40
size
int64
19
11.4M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
3
270
max_stars_repo_name
stringlengths
5
110
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
float64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
3
270
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
9
max_issues_count
float64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
3
270
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
9
max_forks_count
float64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
19
11.4M
avg_line_length
float64
1.93
229k
max_line_length
int64
12
688k
alphanum_fraction
float64
0.07
0.99
matches
listlengths
1
10
6ac676fd50f864bd51c26697b165a991cf1e35bc
10,368
cpp
C++
TDEngine2/source/utils/Utils.cpp
bnoazx005/TDEngine2
93ebfecf8af791ff5ecd4f57525a6935e34cd05c
[ "Apache-2.0" ]
1
2019-07-15T01:14:15.000Z
2019-07-15T01:14:15.000Z
TDEngine2/source/utils/Utils.cpp
bnoazx005/TDEngine2
93ebfecf8af791ff5ecd4f57525a6935e34cd05c
[ "Apache-2.0" ]
76
2018-10-27T16:59:36.000Z
2022-03-30T17:40:39.000Z
TDEngine2/source/utils/Utils.cpp
bnoazx005/TDEngine2
93ebfecf8af791ff5ecd4f57525a6935e34cd05c
[ "Apache-2.0" ]
1
2019-07-29T02:02:08.000Z
2019-07-29T02:02:08.000Z
#include "./../../include/utils/Utils.h" #define STR_UTILS_IMPLEMENTATION #include "stringUtils.hpp" #define MEM_TRACKER_IMPLEMENTATION #include "memTracker.hpp" #include <algorithm> #include <cctype> namespace TDEngine2 { TDE2_API E_ENDIAN_TYPE GetHostEndianType() { U32 checker = 0x1; return (*((U8*)&checker)...
24.74463
166
0.691069
[ "object" ]
6ace681e84214b6b52a8bcc30796ac723f230844
11,884
cc
C++
test/unit_test_json.cc
o-ran-sc/ric-app-admin
0a168f272a81ac4c3afe42e014f8032f2a159d97
[ "Apache-2.0" ]
null
null
null
test/unit_test_json.cc
o-ran-sc/ric-app-admin
0a168f272a81ac4c3afe42e014f8032f2a159d97
[ "Apache-2.0" ]
null
null
null
test/unit_test_json.cc
o-ran-sc/ric-app-admin
0a168f272a81ac4c3afe42e014f8032f2a159d97
[ "Apache-2.0" ]
null
null
null
/* ================================================================================== Copyright (c) 2018-2019 AT&T Intellectual Property. 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 Licen...
32.828729
123
0.653989
[ "vector" ]
6ad3b937067355f8362be9fcfbe299432aec4718
8,573
cpp
C++
openstudiocore/src/model/PipeOutdoor.cpp
hellok-coder/OS-Testing
e9e18ad9e99f709a3f992601ed8d2e0662175af4
[ "blessing" ]
1
2019-11-12T02:07:03.000Z
2019-11-12T02:07:03.000Z
openstudiocore/src/model/PipeOutdoor.cpp
hellok-coder/OS-Testing
e9e18ad9e99f709a3f992601ed8d2e0662175af4
[ "blessing" ]
1
2019-02-04T23:30:45.000Z
2019-02-04T23:30:45.000Z
openstudiocore/src/model/PipeOutdoor.cpp
hellok-coder/OS-Testing
e9e18ad9e99f709a3f992601ed8d2e0662175af4
[ "blessing" ]
null
null
null
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2019, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without m...
35.720833
125
0.714219
[ "vector", "model" ]
6ad73ed7144492fc9d26ce085ac9c71fe075056b
23,636
cc
C++
src/win32/tip/tip_edit_session_impl.cc
phoepsilonix/mozc
3b9135b76247a9fe464cadd1a3c8ea5a07032e0c
[ "BSD-3-Clause" ]
1
2021-04-03T10:08:21.000Z
2021-04-03T10:08:21.000Z
src/win32/tip/tip_edit_session_impl.cc
phoepsilonix/mozc
3b9135b76247a9fe464cadd1a3c8ea5a07032e0c
[ "BSD-3-Clause" ]
null
null
null
src/win32/tip/tip_edit_session_impl.cc
phoepsilonix/mozc
3b9135b76247a9fe464cadd1a3c8ea5a07032e0c
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2010-2021, Google 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 list of condit...
34.964497
80
0.669403
[ "vector" ]
6ad84a843b6b71e141ce3c085a870f56f33c55a8
4,318
cc
C++
test/priors.cc
TeoGiane/bayesmix
43182d61c3f332aefb832426cc9e8e2b2394bd68
[ "BSD-3-Clause" ]
null
null
null
test/priors.cc
TeoGiane/bayesmix
43182d61c3f332aefb832426cc9e8e2b2394bd68
[ "BSD-3-Clause" ]
null
null
null
test/priors.cc
TeoGiane/bayesmix
43182d61c3f332aefb832426cc9e8e2b2394bd68
[ "BSD-3-Clause" ]
1
2022-02-11T09:03:46.000Z
2022-02-11T09:03:46.000Z
#include <google/protobuf/stubs/casts.h> #include <gtest/gtest.h> #include <memory> #include "algorithm_state.pb.h" #include "src/hierarchies/nnig_hierarchy.h" #include "src/hierarchies/nnw_hierarchy.h" #include "src/mixings/dirichlet_mixing.h" #include "src/utils/proto_utils.h" TEST(mixing, fixed_value) { Dirichl...
34
79
0.699861
[ "vector" ]
6adc4aaa5145f53edde2cd41c7653bfd6e68a78a
14,040
hxx
C++
Components/Metrics/StatisticalShapePenalty/elxStatisticalShapePenalty.hxx
dzenanz/elastix
10fcb451080b272aecb2b58e7f174d693acaf079
[ "Apache-2.0" ]
null
null
null
Components/Metrics/StatisticalShapePenalty/elxStatisticalShapePenalty.hxx
dzenanz/elastix
10fcb451080b272aecb2b58e7f174d693acaf079
[ "Apache-2.0" ]
null
null
null
Components/Metrics/StatisticalShapePenalty/elxStatisticalShapePenalty.hxx
dzenanz/elastix
10fcb451080b272aecb2b58e7f174d693acaf079
[ "Apache-2.0" ]
1
2021-01-16T08:59:39.000Z
2021-01-16T08:59:39.000Z
/*========================================================================= * * Copyright UMC Utrecht and contributors * * 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 * * h...
34.07767
124
0.665527
[ "mesh", "vector" ]
6adc6ee5bc3f1e14652b29ebcde096c55db987f9
3,079
cpp
C++
damc_common/Osc/OscFlatArray.cpp
amurzeau/waveplay
e0fc097137138c4a6985998db502468074bf739f
[ "MIT" ]
5
2021-10-02T03:01:56.000Z
2022-01-24T20:59:19.000Z
damc_common/Osc/OscFlatArray.cpp
amurzeau/waveplay
e0fc097137138c4a6985998db502468074bf739f
[ "MIT" ]
null
null
null
damc_common/Osc/OscFlatArray.cpp
amurzeau/waveplay
e0fc097137138c4a6985998db502468074bf739f
[ "MIT" ]
null
null
null
#include "OscFlatArray.h" #include "OscRoot.h" #include <algorithm> #include <spdlog/spdlog.h> #include <type_traits> EXPLICIT_INSTANCIATE_OSC_VARIABLE(template, OscFlatArray); template<typename T> OscFlatArray<T>::OscFlatArray(OscContainer* parent, std::string name) noexcept : OscContainer(parent, name) { this->get...
27.008772
119
0.680741
[ "vector" ]
6adf67636cfb53bfd90fa9c301b298c420a4de57
3,009
cpp
C++
python/dartpy/dynamics/module.cpp
JShep1/dart
0ed33f028386bf5f2cdfe52858a6042ae8b45c38
[ "BSD-2-Clause" ]
null
null
null
python/dartpy/dynamics/module.cpp
JShep1/dart
0ed33f028386bf5f2cdfe52858a6042ae8b45c38
[ "BSD-2-Clause" ]
null
null
null
python/dartpy/dynamics/module.cpp
JShep1/dart
0ed33f028386bf5f2cdfe52858a6042ae8b45c38
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2011-2019, The DART development contributors * All rights reserved. * * The list of contributors can be found at: * https://github.com/dartsim/dart/blob/master/LICENSE * * This file is provided under the following "BSD-style" License: * Redistribution and use in source and binary forms, w...
29.213592
70
0.732469
[ "shape" ]
6ae00448663dfa702093d717fcaf88c4f0c232b9
37,759
cpp
C++
Training CD/IDA Pro/IDA Plug-ins/Selected Plugin Source Code/Loop Detection/loop_detection.cpp
phoemark2o20/Malware-Analysis-Training
0706a1fd74be666e9ec1de0946afa0d1e161491d
[ "MIT" ]
872
2020-02-19T20:26:46.000Z
2022-03-31T02:32:46.000Z
Training CD/IDA Pro/IDA Plug-ins/Selected Plugin Source Code/Loop Detection/loop_detection.cpp
youngyt/Malware-Analysis-Training
0a301951ed82346b39fb9840ecae393e2d60723c
[ "MIT" ]
1
2020-02-23T03:37:16.000Z
2020-03-17T20:05:56.000Z
Training CD/IDA Pro/IDA Plug-ins/Selected Plugin Source Code/Loop Detection/loop_detection.cpp
youngyt/Malware-Analysis-Training
0a301951ed82346b39fb9840ecae393e2d60723c
[ "MIT" ]
161
2020-02-19T21:06:31.000Z
2022-03-23T14:49:29.000Z
// loop_detection.cpp: implementation of the loop_detection class. // ////////////////////////////////////////////////////////////////////// #define USE_DANGEROUS_FUNCTIONS #include "loop_detection.h" //#include "function_analyzer.h" #include "color_palette.h" #include <ida.hpp> #include <idp.hpp> #include...
26.478962
119
0.506316
[ "shape" ]
6ae1ba38498f08e2a54a5f40ff23ffb6c82dcce4
12,832
cpp
C++
base/remoteboot/rigpsnap/compdata.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
base/remoteboot/rigpsnap/compdata.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
base/remoteboot/rigpsnap/compdata.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
// // Microsoft Corporation 1998 // // COMPDATA.CPP - CComponentData and CComponentDataCF routines // #include "main.h" /////////////////////////////////////////////////////////////////////////////// // CComponentData object implementation CComponentData::CComponentData() { m_cRef = 1; Interloc...
21.935043
112
0.548628
[ "object" ]
6ae4e63eccf6384217eb35b24eccffa3d2b35202
1,249
hpp
C++
cli.hpp
openbmc/openpower-hw-diags
d94291aa2f3248cd829b29a91caa137b24aea5e1
[ "Apache-2.0" ]
null
null
null
cli.hpp
openbmc/openpower-hw-diags
d94291aa2f3248cd829b29a91caa137b24aea5e1
[ "Apache-2.0" ]
1
2021-05-05T14:27:26.000Z
2021-05-06T20:46:56.000Z
cli.hpp
openbmc/openpower-hw-diags
d94291aa2f3248cd829b29a91caa137b24aea5e1
[ "Apache-2.0" ]
null
null
null
#pragma once #include <attn/attn_config.hpp> #include <string> /* * @brief Search the command line arguments for an option * * @param i_begin command line args vector begin * @param i_end command line args vector end * @param i_option configuration option to look for * * @return true = option found on ...
30.463415
80
0.722178
[ "object", "vector" ]
6aef47a875cec6027b529dd8f6208428c9315298
13,882
cpp
C++
src/qt/unionaccounthistory.cpp
maxmaxj/ipchain
99c1943ca65fd4acdef5b4eb5e75c4bee3d59365
[ "MIT" ]
34
2018-01-25T10:29:35.000Z
2021-04-22T18:40:40.000Z
src/qt/unionaccounthistory.cpp
joshuabond/ipchain
5bd6792b1754890fae6648bec9d60519b55406cd
[ "MIT" ]
9
2018-07-25T09:41:40.000Z
2021-03-05T16:13:01.000Z
src/qt/unionaccounthistory.cpp
joshuabond/ipchain
5bd6792b1754890fae6648bec9d60519b55406cd
[ "MIT" ]
11
2018-01-28T03:02:44.000Z
2022-01-09T04:26:23.000Z
#include "unionaccounthistory.h" #include "forms/ui_unionaccounthistory.h" #include "log/log.h" #include "base58.h" #include "validation.h" #include "timedata.h" #include <guiutil.h> #include <QDateTime> #include "upgradewidget.h" #include <QHBoxLayout> #include <QPalette> #include <QFont> #include <QSpacerItem> #inclu...
32.586854
191
0.573837
[ "vector" ]
6af268306bd2522895d3b8bbbe9331a5e0529f52
805
cpp
C++
tests/arrays/prog.cpp
mcfarljm/fortwrap
e82840a2b8d105cc3655da33dbf4b2073fa462d8
[ "MIT" ]
25
2017-06-05T01:54:15.000Z
2021-05-04T02:50:13.000Z
tests/arrays/prog.cpp
mcfarljm/fortwrap
e82840a2b8d105cc3655da33dbf4b2073fa462d8
[ "MIT" ]
1
2019-09-18T15:31:38.000Z
2019-09-19T02:45:38.000Z
tests/arrays/prog.cpp
mcfarljm/fortwrap
e82840a2b8d105cc3655da33dbf4b2073fa462d8
[ "MIT" ]
6
2017-12-03T05:35:58.000Z
2021-03-20T00:12:30.000Z
#include "FortWrap.h" #include <algorithm> // For count #include <iostream> int main(void) { // Set up v = [1,2,3,4] std::vector<int> v(4); for (std::vector<int>::size_type i=0; i<v.size(); i++) v[i] = i+1; if (FortFuncs::array_in(&v) != 10) return 1; std::vector<int> v2(10); FortFuncs::array...
20.125
77
0.545342
[ "vector" ]
6af43416a41458c18fc7e31450014bc21cd2f4f4
8,865
cpp
C++
sparta/test/VirtualParameterTree/VPT_test.cpp
knute-sifive/map
fb25626830a56ad68ab896bcd01929023ff31c48
[ "MIT" ]
null
null
null
sparta/test/VirtualParameterTree/VPT_test.cpp
knute-sifive/map
fb25626830a56ad68ab896bcd01929023ff31c48
[ "MIT" ]
null
null
null
sparta/test/VirtualParameterTree/VPT_test.cpp
knute-sifive/map
fb25626830a56ad68ab896bcd01929023ff31c48
[ "MIT" ]
null
null
null
#include <iostream> #include <cstring> #include "sparta/sparta.hpp" #include "sparta/simulation/ParameterTree.hpp" #include "sparta/utils/SpartaAssert.hpp" #include "sparta/utils/SpartaTester.hpp" #include "sparta/utils/Printing.hpp" #include "sparta/parsers/ConfigParserYAML.hpp" #include "sparta/simulation/TreeNode....
40.479452
110
0.657191
[ "vector", "model" ]
6af8a626b2ec0202719d4ef3908402a2e596fee2
2,012
cpp
C++
src/net/TgLongPoll.cpp
dendisuhubdy/tgbot-cpp
89ec4e3d1186e1a250adb18cb6a8cce7c4756bf6
[ "MIT" ]
1
2020-07-03T20:09:30.000Z
2020-07-03T20:09:30.000Z
src/net/TgLongPoll.cpp
dendisuhubdy/tgbot-cpp
89ec4e3d1186e1a250adb18cb6a8cce7c4756bf6
[ "MIT" ]
1
2018-11-25T12:15:51.000Z
2018-11-26T12:34:40.000Z
src/net/TgLongPoll.cpp
dendisuhubdy/tgbot-cpp
89ec4e3d1186e1a250adb18cb6a8cce7c4756bf6
[ "MIT" ]
1
2018-11-12T12:56:23.000Z
2018-11-12T12:56:23.000Z
/* * Copyright (c) 2015 Oleg Morozenkov * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, pub...
43.73913
167
0.735586
[ "vector" ]
6afc9ed030271b93464f9cc21ed6f8bada7990eb
6,111
cpp
C++
modfile/records/SrMatoRecord.cpp
uesp/tes5lib
07b052983f2e26b9ba798f234ada00f83c90e9a4
[ "MIT" ]
11
2015-07-19T08:33:00.000Z
2021-07-28T17:40:26.000Z
modfile/records/SrMatoRecord.cpp
uesp/tes5lib
07b052983f2e26b9ba798f234ada00f83c90e9a4
[ "MIT" ]
null
null
null
modfile/records/SrMatoRecord.cpp
uesp/tes5lib
07b052983f2e26b9ba798f234ada00f83c90e9a4
[ "MIT" ]
1
2015-02-28T22:52:18.000Z
2015-02-28T22:52:18.000Z
/*=========================================================================== * * File: SrMatoRecord.CPP * Author: Dave Humphrey (dave@uesp.net) * Created On: 5 December 2011 * * Description * *=========================================================================*/ /* Include Files */ #includ...
35.323699
78
0.32286
[ "model" ]
13923d3de57128e8de209fbdfb347100ffb2e827
1,538
hpp
C++
unittests/mcrepo/transaction.hpp
paulhuggett/pstore2
a0c663d10a2e2713fdf39ecdae1f9c1e96041f5c
[ "Apache-2.0" ]
11
2018-02-02T21:24:49.000Z
2020-12-11T04:06:03.000Z
unittests/mcrepo/transaction.hpp
SNSystems/pstore
74e9dd960245d6bfc125af03ed964d8ad660a62d
[ "Apache-2.0" ]
63
2018-02-05T17:24:59.000Z
2022-03-22T17:26:28.000Z
unittests/mcrepo/transaction.hpp
paulhuggett/pstore
067be94d87c87fce524c8d76c6f47c347d8f1853
[ "Apache-2.0" ]
5
2020-01-13T22:47:11.000Z
2021-05-14T09:31:15.000Z
//===- unittests/mcrepo/transaction.hpp -------------------*- mode: C++ -*-===// //* _ _ _ * //* | |_ _ __ __ _ _ __ ___ __ _ ___| |_(_) ___ _ __ * //* | __| '__/ _` | '_ \/ __|/ _` |/ __| __| |/ _ \| '_ \ * //* | |_| | | (_| | | | \__ \ (_| | (__| |_| | (_) | | |...
35.767442
82
0.509753
[ "vector" ]
139f5d48c516b12992d969dedf09eb95b2f1b51e
1,971
cpp
C++
SourceCode/Prototypes/MinimumSpanningTree/MinimumSpanningTree/main.cpp
JosephBarber96/FinalProject
60400efa64c36b7cdbc975e0df7b937cbaae1d0b
[ "MIT" ]
2
2019-05-18T21:37:17.000Z
2021-07-16T04:08:23.000Z
SourceCode/Prototypes/MinimumSpanningTree/MinimumSpanningTree/main.cpp
JosephBarber96/FinalProject
60400efa64c36b7cdbc975e0df7b937cbaae1d0b
[ "MIT" ]
1
2020-04-29T05:37:48.000Z
2020-04-29T11:14:57.000Z
SourceCode/Prototypes/MinimumSpanningTree/MinimumSpanningTree/main.cpp
JosephBarber96/FinalProject
60400efa64c36b7cdbc975e0df7b937cbaae1d0b
[ "MIT" ]
1
2021-07-16T04:08:31.000Z
2021-07-16T04:08:31.000Z
#include <iostream> #include <vector> #include <ctime> #include <stdlib.h> #include <glut.h> #include "Defines.h" #include "Edge.h" #include "MinimumSpanningTree.h" #include "Node.h" #include "V2.h" MinimumSpanningTree* mst; void Display() { glClear(GL_COLOR_BUFFER_BIT); // Draw all edges glColor4f(0.8, 1.0, 0....
18.951923
81
0.676814
[ "vector" ]
13a02694d6dcb1fc4c1b53d00fa0550d53704051
46,275
tcc
C++
BinaryMeshFitting/mic/vector.tcc
torss/BinaryMeshFitting
d44ee7c995d461ae704f6da83f2a0b96c3957580
[ "MIT" ]
229
2018-03-07T05:25:08.000Z
2022-02-21T22:31:41.000Z
BinaryMeshFitting/mic/vector.tcc
torss/BinaryMeshFitting
d44ee7c995d461ae704f6da83f2a0b96c3957580
[ "MIT" ]
2
2018-03-09T01:52:56.000Z
2019-10-19T09:29:42.000Z
BinaryMeshFitting/mic/vector.tcc
torss/BinaryMeshFitting
d44ee7c995d461ae704f6da83f2a0b96c3957580
[ "MIT" ]
20
2018-03-08T18:49:49.000Z
2021-12-12T11:22:12.000Z
/* This file is part of the Vc library. {{{ Copyright © 2010-2015 Matthias Kretz <kretz@kde.org> 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 not...
48.659306
180
0.686094
[ "vector" ]
13a1503139420bce6b4c34c71e3308ee29a44caf
8,617
cpp
C++
src/net868client.cpp
MaksimNichikov/LoRaPackConverter
6715ae10a5ed36cc62324d21e10e810c22eb9988
[ "MIT" ]
1
2020-10-27T09:03:44.000Z
2020-10-27T09:03:44.000Z
src/net868client.cpp
MaksimNichikov/LoRaPackConverter
6715ae10a5ed36cc62324d21e10e810c22eb9988
[ "MIT" ]
null
null
null
src/net868client.cpp
MaksimNichikov/LoRaPackConverter
6715ae10a5ed36cc62324d21e10e810c22eb9988
[ "MIT" ]
null
null
null
/********************************************************************************************* ** ** ** Copyright © «2019» «OBSHCHESTVO S OGRANICHENNOY OTVETSTVENNOST'YU "INTERNET VESHCHEY"» ** ** Copyright © «2019» «ОБЩЕСТВО С О...
44.880208
202
0.658698
[ "object" ]
13a7961486bc0288411b8d2fed656e4b6600fc0a
5,608
cxx
C++
examples/convergence.cxx
Bonelab/ITKMorphometry
ee1480bc1a93425ae7fff1c9595b0688fc58abc5
[ "Apache-2.0" ]
null
null
null
examples/convergence.cxx
Bonelab/ITKMorphometry
ee1480bc1a93425ae7fff1c9595b0688fc58abc5
[ "Apache-2.0" ]
null
null
null
examples/convergence.cxx
Bonelab/ITKMorphometry
ee1480bc1a93425ae7fff1c9595b0688fc58abc5
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> #include <string> #include "itkImageRegionIterator.h" #include "itkImageFileWriter.h" #include "itkInitializeSignedDistanceTransform.h" #include "itkBinaryThresholdImageFilter.h" #include "itkHighOrderSignedDistanceTransformCorrectionImageFilter.h" #include "itkHighOrderSignedFast...
28.907216
143
0.688124
[ "vector" ]
13aee46fa4f8a716b52fad5f9e213e8145d158c4
50,634
hpp
C++
boost/boost/polygon/rectangle_concept.hpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
61
2015-12-05T19:34:20.000Z
2021-06-25T09:07:09.000Z
boost/boost/polygon/rectangle_concept.hpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
38
2015-07-22T07:35:45.000Z
2019-03-14T16:03:06.000Z
boost/boost/polygon/rectangle_concept.hpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
39
2015-01-07T02:03:15.000Z
2021-01-15T00:41:50.000Z
/* Copyright 2008 Intel Corporation Use, modification and distribution are subject to the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt). */ #ifndef BOOST_POLYGON_RECTANGLE_CONCEPT_HPP #define BOOST_POLYGON_RECTANGLE_CONCEPT_HPP #in...
46.926784
160
0.73419
[ "transform" ]
13b5def40e5c94c014a05af64d5ffc9c74402ad2
6,668
cc
C++
cfs/test/benchmark/simpleBench.cc
chenhao-ye/uFS
c344d689b33e30dd83bcd1b4de26602549a90fc3
[ "MIT" ]
13
2021-08-23T03:37:46.000Z
2022-02-16T03:00:09.000Z
cfs/test/benchmark/simpleBench.cc
chenhao-ye/uFS
c344d689b33e30dd83bcd1b4de26602549a90fc3
[ "MIT" ]
2
2021-11-12T10:19:47.000Z
2021-12-21T14:26:36.000Z
cfs/test/benchmark/simpleBench.cc
chenhao-ye/uFS
c344d689b33e30dd83bcd1b4de26602549a90fc3
[ "MIT" ]
4
2021-09-03T13:55:05.000Z
2021-11-09T10:59:33.000Z
#include <iostream> #include <chrono> #include <string> #include <vector> #include <thread> #include <atomic> #include <mutex> #include <stdint.h> #include <fcntl.h> #include <unistd.h> #include <cassert> #include <random> #include <functional> #include "param.h" #include "fsapi.h" //uint32_t maxFileSize = 2 * 1024...
33.34
115
0.518746
[ "vector" ]
13b77d512056e6f3a308fbc472da2bb56f500d7a
2,332
cpp
C++
ArrtModel/ViewModel/Settings/ArrAccountSettingsModel.cpp
MichaelZp0/azure-remote-rendering-asset-tool
fe979bfe1923589f11487565ececdc575f5e940a
[ "MIT" ]
42
2020-06-12T19:10:52.000Z
2022-03-04T02:20:59.000Z
ArrtModel/ViewModel/Settings/ArrAccountSettingsModel.cpp
MichaelZp0/azure-remote-rendering-asset-tool
fe979bfe1923589f11487565ececdc575f5e940a
[ "MIT" ]
91
2020-06-12T12:10:46.000Z
2022-03-02T13:46:00.000Z
ArrtModel/ViewModel/Settings/ArrAccountSettingsModel.cpp
MichaelZp0/azure-remote-rendering-asset-tool
fe979bfe1923589f11487565ececdc575f5e940a
[ "MIT" ]
10
2020-07-29T21:19:14.000Z
2021-09-22T11:48:27.000Z
#include <Model/ArrFrontend.h> #include <Model/Settings/ArrAccountSettings.h> #include <ViewModel/Parameters/ComboBoxModel.h> #include <ViewModel/Parameters/TextModel.h> #include <ViewModel/Settings/ArrAccountSettingsModel.h> #include <string_view> Q_DECLARE_METATYPE(std::string); ArrAccountSettingsModel::ArrAccountS...
36.4375
128
0.733276
[ "vector", "model" ]
13ba46b43792b4304605f4b2f900d72acd49b4ed
12,153
cpp
C++
src/Arabic/relations/ar_RelationUtilities.cpp
BBN-E/serif
1e2662d82fb1c377ec3c79355a5a9b0644606cb4
[ "Apache-2.0" ]
1
2022-03-24T19:57:00.000Z
2022-03-24T19:57:00.000Z
src/Arabic/relations/ar_RelationUtilities.cpp
BBN-E/serif
1e2662d82fb1c377ec3c79355a5a9b0644606cb4
[ "Apache-2.0" ]
null
null
null
src/Arabic/relations/ar_RelationUtilities.cpp
BBN-E/serif
1e2662d82fb1c377ec3c79355a5a9b0644606cb4
[ "Apache-2.0" ]
null
null
null
// Copyright 2008 by BBN Technologies Corp. // All Rights Reserved. #include "Generic/common/leak_detection.h" // This must be the first #include #include "Generic/common/ParamReader.h" #include "Arabic/relations/ar_RelationUtilities.h" #include "Arabic/relations/ar_RelationFinder.h" #include "Generic/theorie...
29.355072
110
0.636304
[ "vector" ]
13bc9bed5a82ed91ab84c066b654914bca20593f
25,037
cpp
C++
IVT/src/Math/LinearAlgebraCV.cpp
Tobi2001/asr_ivt
146abe4324a14d7b8acccec7b1bfbdb74590fb5f
[ "BSD-3-Clause" ]
null
null
null
IVT/src/Math/LinearAlgebraCV.cpp
Tobi2001/asr_ivt
146abe4324a14d7b8acccec7b1bfbdb74590fb5f
[ "BSD-3-Clause" ]
null
null
null
IVT/src/Math/LinearAlgebraCV.cpp
Tobi2001/asr_ivt
146abe4324a14d7b8acccec7b1bfbdb74590fb5f
[ "BSD-3-Clause" ]
1
2019-11-24T17:09:19.000Z
2019-11-24T17:09:19.000Z
// **************************************************************************** // This file is part of the Integrating Vision Toolkit (IVT). // // The IVT is maintained by the Karlsruhe Institute of Technology (KIT) // (www.kit.edu) in cooperation with the company Keyetech (www.keyetech.de). // // Copyright (C) 2014 K...
30.532927
173
0.686784
[ "vector" ]
13bcc30b8b25f49f972a226c8dc0630d4513ce18
445
hpp
C++
archive/cmdstan/src/cmdstan/arguments/arg_diagnose.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
1
2019-09-06T15:53:17.000Z
2019-09-06T15:53:17.000Z
archive/cmdstan/src/cmdstan/arguments/arg_diagnose.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
8
2019-01-17T18:51:16.000Z
2019-01-17T18:51:39.000Z
archive/cmdstan/src/cmdstan/arguments/arg_diagnose.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
null
null
null
#ifndef CMDSTAN_ARGUMENTS_ARG_DIAGNOSE_HPP #define CMDSTAN_ARGUMENTS_ARG_DIAGNOSE_HPP #include <cmdstan/arguments/categorical_argument.hpp> #include <cmdstan/arguments/arg_test.hpp> namespace cmdstan { class arg_diagnose: public categorical_argument { public: arg_diagnose() { _name = "diagno...
21.190476
54
0.710112
[ "model" ]
13c16da2cd14a1af78f3f08dd8198ecd81ee7bd4
13,283
cc
C++
ui/ozone/platform/dri/dri_gpu_platform_support.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ui/ozone/platform/dri/dri_gpu_platform_support.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ui/ozone/platform/dri/dri_gpu_platform_support.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/platform/dri/dri_gpu_platform_support.h" #include "base/bind.h" #include "base/thread_task_runner_handle.h" #include "ipc/ipc_message_...
36.69337
80
0.726417
[ "vector" ]
13c49e94294f56fdc701797326f454860211b760
12,922
cpp
C++
moto.cpp
Immac/tron-light-cycle-old
4e6830b89c40047acc4654340637f321520ab25e
[ "MIT" ]
null
null
null
moto.cpp
Immac/tron-light-cycle-old
4e6830b89c40047acc4654340637f321520ab25e
[ "MIT" ]
null
null
null
moto.cpp
Immac/tron-light-cycle-old
4e6830b89c40047acc4654340637f321520ab25e
[ "MIT" ]
null
null
null
#include "moto.h" enum { F_UP,F_DOWN,F_LEFT,F_RIGHT }; Moto::Moto(sf::Vector2<float> intialPosition){ this->setPosition(intialPosition); this->skipAFrame = true; this->velocity = 4; this->size = sf::Vector2f(10,25); this-> name = "Moto"; this->facing = F_UP; this->setPlayer(...
28.4
117
0.480731
[ "render", "shape" ]
13c8931e6f183284455c8d642c238b702ecf63d5
2,823
cpp
C++
src/execution/operator/helper/physical_streaming_limit.cpp
lokax/duckdb
c2581dfebccaebae9468c924c2c722fcf0306944
[ "MIT" ]
null
null
null
src/execution/operator/helper/physical_streaming_limit.cpp
lokax/duckdb
c2581dfebccaebae9468c924c2c722fcf0306944
[ "MIT" ]
1
2022-03-30T09:00:02.000Z
2022-03-30T09:00:02.000Z
src/execution/operator/helper/physical_streaming_limit.cpp
lokax/duckdb
c2581dfebccaebae9468c924c2c722fcf0306944
[ "MIT" ]
null
null
null
#include "duckdb/execution/operator/helper/physical_streaming_limit.hpp" #include "duckdb/execution/operator/helper/physical_limit.hpp" namespace duckdb { PhysicalStreamingLimit::PhysicalStreamingLimit(vector<LogicalType> types, idx_t limit, idx_t offset, unique_ptr<Expr...
39.208333
118
0.693234
[ "vector" ]
13ca041f5cd37484e04cb9729db1d80b7dd9c52b
9,530
cc
C++
cc/trees/layer_tree_host_pixeltest_tiles.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
cc/trees/layer_tree_host_pixeltest_tiles.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
cc/trees/layer_tree_host_pixeltest_tiles.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <stddef.h> #include "build/build_config.h" #include "cc/layers/content_layer_client.h" #include "cc/layers/picture_layer.h" #include "cc/paint/d...
33.556338
79
0.730115
[ "render", "vector" ]
13cbce241bc79f9ec955f7ceb1593cc5c18ecb1a
12,136
cpp
C++
lite/isugg.cpp
philomath213/nlp-engine
9c9d694b985a6a266004c32f8866098666a640ca
[ "MIT" ]
null
null
null
lite/isugg.cpp
philomath213/nlp-engine
9c9d694b985a6a266004c32f8866098666a640ca
[ "MIT" ]
null
null
null
lite/isugg.cpp
philomath213/nlp-engine
9c9d694b985a6a266004c32f8866098666a640ca
[ "MIT" ]
null
null
null
/******************************************************************************* Copyright (c) 2001-2010 by Text Analysis International, Inc. All rights reserved. ******************************************************************************** * * NAME: ISUGG.CPP * FILE: lite\isugg.cpp * CR: 10/24/98 AM. * SUBJ: Inter...
24.127237
82
0.504944
[ "object" ]
13cc19369c87124b02c5a971d5734d2fc5e1d7ec
1,357
cpp
C++
codeforces/cf628 div2/C.cpp
songhn233/ACM_Steps
6f2edeca9bf4fc999a8148bc90b2d8d0e59d48fe
[ "CC0-1.0" ]
1
2020-08-10T21:40:21.000Z
2020-08-10T21:40:21.000Z
codeforces/cf628 div2/C.cpp
songhn233/Algorithm-Packages
56d6f3c2467c175ab8a19b82bdfb25fc881e2206
[ "CC0-1.0" ]
null
null
null
codeforces/cf628 div2/C.cpp
songhn233/Algorithm-Packages
56d6f3c2467c175ab8a19b82bdfb25fc881e2206
[ "CC0-1.0" ]
null
null
null
#include<cstdio> #include<algorithm> #include<cstring> #include<iostream> #include<vector> #include<queue> #include<cmath> #include<map> #include<set> #define ll long long #define F(i,a,b) for(int i=(a);i<=(b);i++) #define mst(a,b) memset((a),(b),sizeof(a)) #define PII pair<int,int> #define rep(i,x,y) for(auto i=(x);i<...
20.560606
79
0.534267
[ "vector" ]
13d3ba16980cf601094dc966c7c8a753b2105a74
80,594
cpp
C++
Optimize.cpp
kassol/Rs
27ecf29ecb09084c40e005ed8fc16e8e0eb607fd
[ "BSD-3-Clause" ]
1
2017-04-01T08:33:38.000Z
2017-04-01T08:33:38.000Z
Optimize.cpp
kassol/Rs
27ecf29ecb09084c40e005ed8fc16e8e0eb607fd
[ "BSD-3-Clause" ]
null
null
null
Optimize.cpp
kassol/Rs
27ecf29ecb09084c40e005ed8fc16e8e0eb607fd
[ "BSD-3-Clause" ]
1
2020-04-20T16:15:46.000Z
2020-04-20T16:15:46.000Z
#include "stdafx.h" #include "Optimize.h" #include "clipper.hpp" #include <algorithm> #include <io.h> #include <time.h> #define _SnapSame(x1, x2, lfSnap) (0==lfSnap?x1==x2:fabs(x1-x2)<lfSnap) #define _SnapLarge(x1, x2, lfSnap) (x1>x2-lfSnap) #define _SnapLarge2(x1, x2, lfSnap) (x1>x2+lfSnap) using namespac...
25.383937
154
0.566581
[ "vector" ]
13dadc80375567af56295f863baded9b6eb46d87
6,515
hpp
C++
include/GlobalNamespace/PlayerSaveData.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/PlayerSaveData.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/PlayerSaveData.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: VersionSaveDat...
56.163793
300
0.750115
[ "object" ]
13e27adafdd0f5fb3226b12fb237b6f9fc3802e3
5,699
cc
C++
src/discord.cc
ca-l-eb/discord-music-bot
7646ff414577181fd7726f42524b71856e0f57fc
[ "BSD-3-Clause" ]
4
2018-04-29T08:58:30.000Z
2020-04-11T08:37:16.000Z
src/discord.cc
ca-l-eb/discord-music-bot
7646ff414577181fd7726f42524b71856e0f57fc
[ "BSD-3-Clause" ]
null
null
null
src/discord.cc
ca-l-eb/discord-music-bot
7646ff414577181fd7726f42524b71856e0f57fc
[ "BSD-3-Clause" ]
2
2020-02-17T19:54:17.000Z
2020-08-07T11:18:02.000Z
#include "discord.h" static discord::snowflake make_snowflake(const std::string &s) { return static_cast<discord::snowflake>(std::stoull(s, nullptr, 10)); } template<typename T> T get_safe(const nlohmann::json &json, const std::string &field, T default_val) { auto find = json.find(field); if (find != json...
33.721893
98
0.653799
[ "vector" ]
13e5e79cc9f94745269814e00462c37103ffdff4
5,179
hpp
C++
lib/generated/definitions/mask/mask_avx2.hpp
db-tu-dresden/TVL
051261d49f993ce5c70629526038a6f7717055ef
[ "Apache-2.0" ]
2
2022-03-21T23:17:32.000Z
2022-03-22T19:56:17.000Z
lib/generated/definitions/mask/mask_avx2.hpp
db-tu-dresden/TVL
051261d49f993ce5c70629526038a6f7717055ef
[ "Apache-2.0" ]
1
2022-03-31T11:56:21.000Z
2022-03-31T11:56:21.000Z
lib/generated/definitions/mask/mask_avx2.hpp
db-tu-dresden/TVL
051261d49f993ce5c70629526038a6f7717055ef
[ "Apache-2.0" ]
1
2022-03-23T08:38:49.000Z
2022-03-23T08:38:49.000Z
/*==========================================================================* * This file is part of the TVL - a template SIMD library. * * * * Copyright 2022 TVL-Team, Database Research Group TU Dresden * * ...
42.801653
104
0.533308
[ "vector" ]
13e8501f576e2d3d0e32714e65da5687dfcb4db0
1,620
cc
C++
Geometry/TrackerNumberingBuilder/plugins/CmsTrackerPixelPhase2RingBuilder.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
Geometry/TrackerNumberingBuilder/plugins/CmsTrackerPixelPhase2RingBuilder.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
Geometry/TrackerNumberingBuilder/plugins/CmsTrackerPixelPhase2RingBuilder.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
#include "Geometry/TrackerNumberingBuilder/plugins/CmsTrackerPixelPhase2RingBuilder.h" #include "DetectorDescription/Core/interface/DDFilteredView.h" #include "DetectorDescription/DDCMS/interface/DDFilteredView.h" #include "Geometry/TrackerNumberingBuilder/interface/GeometricDet.h" #include "Geometry/TrackerNumberingBu...
45
98
0.750617
[ "geometry", "vector" ]
13e8feb1b820d13b9b225ae51b9cb8393c92a6fc
7,592
cpp
C++
export/windows/obj/src/openfl/errors/Error.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
export/windows/obj/src/openfl/errors/Error.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
export/windows/obj/src/openfl/errors/Error.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
// Generated by Haxe 3.4.7 #include <hxcpp.h> #ifndef INCLUDED_haxe_CallStack #include <haxe/CallStack.h> #endif #ifndef INCLUDED_haxe_StackItem #include <haxe/StackItem.h> #endif #ifndef INCLUDED_openfl_errors_Error #include <openfl/errors/Error.h> #endif HX_DEFINE_STACK_FRAME(_hx_pos_7c7ee06d9b3544d2_24_new,"openfl...
34.352941
187
0.721022
[ "object" ]
13ec1e9e9cff88821d174cdefd0e8f4c1f639783
1,467
cpp
C++
GraphConnectedComponents.cpp
mraggi/FuzzyLogicEcology
91fbd1a0a97abf41da110fefcc93001ac663cf02
[ "Apache-2.0" ]
3
2017-06-27T21:45:59.000Z
2022-03-02T19:26:32.000Z
GraphConnectedComponents.cpp
mraggi/FuzzyLogicEcology
91fbd1a0a97abf41da110fefcc93001ac663cf02
[ "Apache-2.0" ]
null
null
null
GraphConnectedComponents.cpp
mraggi/FuzzyLogicEcology
91fbd1a0a97abf41da110fefcc93001ac663cf02
[ "Apache-2.0" ]
null
null
null
#include "GraphConnectedComponents.hpp" void DFSConnectedComponentUtil(const Graph& G, std::vector<int>& coloring, vertex_t v, int color) { coloring[v] = color; for (auto u : G.neighbors(v)) { if (coloring[u] == -1) DFSConnectedComponentUtil(G,coloring,u,color); } } int num_connected_components(const Graph&...
21.895522
97
0.65985
[ "vector" ]
13f11cc4a297f0af323ba3f4c09cb57d4f8a5b03
9,276
cpp
C++
src/RcppExports.cpp
rmaestre/variableStars
26a0a8288050127fac620ebb62b545004a80b4dc
[ "MIT" ]
1
2018-11-16T23:50:37.000Z
2018-11-16T23:50:37.000Z
src/RcppExports.cpp
rmaestre/variableStars
26a0a8288050127fac620ebb62b545004a80b4dc
[ "MIT" ]
null
null
null
src/RcppExports.cpp
rmaestre/variableStars
26a0a8288050127fac620ebb62b545004a80b4dc
[ "MIT" ]
1
2018-12-19T22:40:08.000Z
2018-12-19T22:40:08.000Z
// Generated by using Rcpp::compileAttributes() -> do not edit by hand // Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 #include <RcppArmadillo.h> #include <Rcpp.h> using namespace Rcpp; // seqIntegers NumericVector seqIntegers(int first, int last); RcppExport SEXP _variableStars_seqIntegers(SEXP firstSEXP, ...
44.811594
290
0.770052
[ "vector" ]
13f5a2670163ad3a9d39f4833062fd48f6560bb1
649
cpp
C++
GEC_2/MarioBaseProject/QuestObject.cpp
nerolileung/cgd_year1
211e91c37831a388b1abe1a1cc496716a4e9ca44
[ "MIT" ]
null
null
null
GEC_2/MarioBaseProject/QuestObject.cpp
nerolileung/cgd_year1
211e91c37831a388b1abe1a1cc496716a4e9ca44
[ "MIT" ]
null
null
null
GEC_2/MarioBaseProject/QuestObject.cpp
nerolileung/cgd_year1
211e91c37831a388b1abe1a1cc496716a4e9ca44
[ "MIT" ]
1
2019-12-09T22:41:49.000Z
2019-12-09T22:41:49.000Z
#include "QuestObject.h" QuestObject::QuestObject(SDL_Renderer* renderer, int mapX, int mapY){ mRenderer = renderer; mScreenPosition = Vector2D(-32, -32); mMapPosition = Vector2D(mapX, mapY); } QuestObject::~QuestObject(){ mRenderer = nullptr; delete mTexture; mTexture = nullptr; } void QuestObje...
28.217391
124
0.725732
[ "render" ]
13f5a67d279eceac003fdbf88fee9be79bb0bdab
2,288
cpp
C++
src/utils.cpp
sushobhit27/cppPyUtils
3365ea312b76726e22c774a22f2f5a663f866826
[ "MIT" ]
null
null
null
src/utils.cpp
sushobhit27/cppPyUtils
3365ea312b76726e22c774a22f2f5a663f866826
[ "MIT" ]
null
null
null
src/utils.cpp
sushobhit27/cppPyUtils
3365ea312b76726e22c774a22f2f5a663f866826
[ "MIT" ]
null
null
null
#include "utils.hpp" void check_bounds(size_t beg, size_t end) { if (beg < 0 or end < 0) throw; else if (beg > end) throw; } std::vector<int> range_impl(int start, int end, int step) { std::vector<int> vec; if ((step > 0) && (start > end)) return vec; else if ((step < 0) && (start < end)) return v...
18.754098
91
0.593969
[ "vector" ]
13f5c155a813540e69c2b48fda761739d205f8c1
21,125
cpp
C++
src/compiler/Parser/RQLLexer.cpp
michalwidera/abracadabradb
13d4f66454b3b6af7e8353bd10186409230634e2
[ "MIT" ]
2
2019-12-04T16:51:14.000Z
2020-01-09T15:13:13.000Z
src/compiler/Parser/RQLLexer.cpp
michalwidera/abracadabradb
13d4f66454b3b6af7e8353bd10186409230634e2
[ "MIT" ]
9
2019-12-07T21:21:41.000Z
2020-01-17T16:44:36.000Z
src/compiler/Parser/RQLLexer.cpp
michalwidera/abracadabradb
13d4f66454b3b6af7e8353bd10186409230634e2
[ "MIT" ]
null
null
null
// Generated from RQL.g4 by ANTLR 4.10.1 #include "RQLLexer.h" using namespace antlr4; using namespace antlr4; namespace { struct RQLLexerStaticData final { RQLLexerStaticData(std::vector<std::string> ruleNames, std::vector<std::string> channelNames, std::...
59.00838
166
0.6
[ "vector" ]
13f81b62aa66c33332b24756e6fd00af26366cc0
4,726
cpp
C++
src/modules/videoconference/VideoConferenceShared/MicrophoneDevice.cpp
JacobDeuchert/PowerToys
d5a5f858c065a42d5fca46a717b6e538a6c50693
[ "MIT" ]
4
2022-01-10T07:24:48.000Z
2022-02-07T02:08:03.000Z
src/modules/videoconference/VideoConferenceShared/MicrophoneDevice.cpp
JacobDeuchert/PowerToys
d5a5f858c065a42d5fca46a717b6e538a6c50693
[ "MIT" ]
null
null
null
src/modules/videoconference/VideoConferenceShared/MicrophoneDevice.cpp
JacobDeuchert/PowerToys
d5a5f858c065a42d5fca46a717b6e538a6c50693
[ "MIT" ]
1
2022-01-13T04:03:09.000Z
2022-01-13T04:03:09.000Z
#include "MicrophoneDevice.h" #include "Logging.h" #include <Functiondiscoverykeys_devpkey.h> MicrophoneDevice::MicrophoneDevice(wil::com_ptr_nothrow<IMMDevice> device, wil::com_ptr_nothrow<IAudioEndpointVolume> endpoint) : _device{ std::move(device) }, _endpoint{ std::move(endpoint) } { if (!_device || ...
30.490323
139
0.717732
[ "vector" ]
cd0e1e74f59a71eac826179e7d68f968efa1610d
19,024
cpp
C++
Config.cpp
zdco/jiaguomeng
04c5b3477698c530da73648823adae82bcc971e3
[ "Apache-2.0" ]
4
2019-11-13T01:21:04.000Z
2019-12-06T03:11:05.000Z
Config.cpp
zdco/jiaguomeng
04c5b3477698c530da73648823adae82bcc971e3
[ "Apache-2.0" ]
null
null
null
Config.cpp
zdco/jiaguomeng
04c5b3477698c530da73648823adae82bcc971e3
[ "Apache-2.0" ]
1
2019-12-06T03:06:59.000Z
2019-12-06T03:06:59.000Z
#ifdef WIN32 #include "stdafx.h" #endif #include "Config.h" #include "Building.h" Config* Config::m_instance; Config::Config() { } Config::~Config() { ClearBuilding(); } Config* Config::GetInstance() { if (m_instance == 0) { m_instance = new Config; } return m_instance; } void Config::C...
28.267459
143
0.559609
[ "vector" ]
997fc4ab075d0a90a1b0cd818344102b8f4bd61f
7,766
hpp
C++
test/unit/math/rev/functor/ode_test_functors.hpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
null
null
null
test/unit/math/rev/functor/ode_test_functors.hpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
null
null
null
test/unit/math/rev/functor/ode_test_functors.hpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
null
null
null
#ifndef STAN_MATH_TEST_ODE_TEST_FUNCTORS_HPP #define STAN_MATH_TEST_ODE_TEST_FUNCTORS_HPP #include <stan/math/prim/functor/ode_ckrk.hpp> #include <stan/math/prim/functor/ode_rk45.hpp> #include <stan/math/rev/functor/ode_bdf.hpp> #include <stan/math/rev/functor/ode_adams.hpp> #include <stan/math/rev/functor/ode_adjoint...
57.525926
80
0.578419
[ "vector" ]
998080d8f1d8d3214cde342844c35abc67e6d0b5
6,325
cpp
C++
android/native-audio-so.cpp
xiushudongfang/native
40848ae4b64907fec31b2562fc977c043133a275
[ "MIT" ]
null
null
null
android/native-audio-so.cpp
xiushudongfang/native
40848ae4b64907fec31b2562fc977c043133a275
[ "MIT" ]
null
null
null
android/native-audio-so.cpp
xiushudongfang/native
40848ae4b64907fec31b2562fc977c043133a275
[ "MIT" ]
null
null
null
// Minimal audio streaming using OpenSL. // // Loosely based on the Android NDK sample code. #include <assert.h> #include <string.h> #include <unistd.h> // for native audio #include <SLES/OpenSLES.h> #include <SLES/OpenSLES_Android.h> #include "../base/logging.h" #include "native-audio-so.h" // This is kinda ugly, ...
33.643617
111
0.76
[ "render", "object" ]
998748da71991efba199e6ba987557d3e60fe095
4,609
cpp
C++
smoke-android-file/src/main/cpp/test/smoke_jni_test.cpp
mingyuans/smoke
d90270aa2bc9e00d0e497923bb621c4b63464e5f
[ "Apache-2.0" ]
null
null
null
smoke-android-file/src/main/cpp/test/smoke_jni_test.cpp
mingyuans/smoke
d90270aa2bc9e00d0e497923bb621c4b63464e5f
[ "Apache-2.0" ]
null
null
null
smoke-android-file/src/main/cpp/test/smoke_jni_test.cpp
mingyuans/smoke
d90270aa2bc9e00d0e497923bb621c4b63464e5f
[ "Apache-2.0" ]
null
null
null
// // Created by yanxq on 2017/2/18. // #include "smoke_jni_test.h" #include "../smoke_utils/file_util.h" #include "../smoke_jni_log.h" #include "../smoke_appender.h" #include <string> # define ARRAY_LEN(x) ((int) (sizeof(x) / sizeof((x)[0]))) using namespace std; string __package_name="com/mingyuans/smoke"; static...
36.007813
117
0.710566
[ "object" ]
998cc90cbbfe4f146a5e0eec3b01a23dd0af3bca
6,966
cxx
C++
smtk/bridge/discrete/operation/vtkMergeOperatorBase.cxx
yumin/SMTK
d280f10c5b70953b2a0196f71832955c7fc75e7f
[ "BSD-3-Clause-Clear" ]
null
null
null
smtk/bridge/discrete/operation/vtkMergeOperatorBase.cxx
yumin/SMTK
d280f10c5b70953b2a0196f71832955c7fc75e7f
[ "BSD-3-Clause-Clear" ]
4
2016-11-10T15:49:51.000Z
2017-02-06T23:24:16.000Z
smtk/bridge/discrete/operation/vtkMergeOperatorBase.cxx
yumin/SMTK
d280f10c5b70953b2a0196f71832955c7fc75e7f
[ "BSD-3-Clause-Clear" ]
null
null
null
//========================================================================= // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE...
30.025862
91
0.68375
[ "model", "3d" ]
998e42ab97d72535ccf3901420ac098e086aa782
5,444
cpp
C++
Big Homework/Game-of-the-Amazons-master/botZoneVersion_RandomMovement.cpp
zyzkevin/Introduction-to-Computing
0838126dda56ee20834dcfe472f9ab9effd8d8b3
[ "MIT" ]
null
null
null
Big Homework/Game-of-the-Amazons-master/botZoneVersion_RandomMovement.cpp
zyzkevin/Introduction-to-Computing
0838126dda56ee20834dcfe472f9ab9effd8d8b3
[ "MIT" ]
null
null
null
Big Homework/Game-of-the-Amazons-master/botZoneVersion_RandomMovement.cpp
zyzkevin/Introduction-to-Computing
0838126dda56ee20834dcfe472f9ab9effd8d8b3
[ "MIT" ]
null
null
null
// // main.cpp // AmazonsProject_Botzone_NewStructure // // Created by 장준우 on 27/12/2018. // Copyright © 2018 Joonwoo Percy Jang. All rights reserved. // #include <iostream> #include <math.h> #include <cmath> #include <cstring> #include <string.h> #include <iomanip> #include <stdlib.h> #include <vector> #include <...
31.651163
120
0.484386
[ "vector" ]
99908fe6d3e5a5494731e1eb3002e0aa305912ee
4,163
cpp
C++
src/orocos_kinematics_dynamics/orocos_kdl/examples/trajectory_example.cpp
matchRos/simulation_multirobots
286c5add84d521ad371b2c8961dea872c34e7da2
[ "BSD-2-Clause" ]
742
2017-07-05T02:49:36.000Z
2022-03-30T12:55:43.000Z
src/orocos_kinematics_dynamics/orocos_kdl/examples/trajectory_example.cpp
matchRos/simulation_multirobots
286c5add84d521ad371b2c8961dea872c34e7da2
[ "BSD-2-Clause" ]
73
2017-07-06T12:50:51.000Z
2022-03-07T08:07:07.000Z
src/orocos_kinematics_dynamics/orocos_kdl/examples/trajectory_example.cpp
matchRos/simulation_multirobots
286c5add84d521ad371b2c8961dea872c34e7da2
[ "BSD-2-Clause" ]
425
2017-07-04T22:03:29.000Z
2022-03-29T06:59:06.000Z
/** * \file path_example.cpp * An example to demonstrate the use of trajectory generation * functions. * * There are is a matlab/octave file in the examples directory to visualise the results * of this example program. (visualize_trajectory.m) * */ #include <frames.hpp> #include <frames_io.hpp> #include <traje...
35.279661
109
0.673793
[ "vector" ]
99928fbeab43e92c36c36f416c7476102de528c4
4,828
cpp
C++
code/auto-compile.cpp
LiuTianyouOnLuogu/auto-compiler
8f9d603cbfd3752e83c6ad4af675b2329c1df2a6
[ "WTFPL" ]
1
2021-02-14T08:15:26.000Z
2021-02-14T08:15:26.000Z
code/auto-compile.cpp
LiuTianyouOnLuogu/auto-compiler
8f9d603cbfd3752e83c6ad4af675b2329c1df2a6
[ "WTFPL" ]
3
2021-02-17T06:07:01.000Z
2021-03-25T10:57:40.000Z
code/auto-compile.cpp
LiuTianyouOnLuogu/auto-compiler
8f9d603cbfd3752e83c6ad4af675b2329c1df2a6
[ "WTFPL" ]
null
null
null
#include "language/language.hpp" #ifdef __cplusplus extern "C"{ #endif #include "../Iniparser/iniparser.h" #ifdef __cplusplus } #endif #include "functions/functions.hpp" #include <iostream> #include <cstring> #include <thread> #include <list> #include <signal.h> #include <sys/types.h> #include <sys/wait.h> #include <er...
30.175
108
0.521748
[ "object" ]
99a0253897118474477d06617840d78762772d04
6,933
hpp
C++
DT3Core/Types/Math/Box.hpp
9heart/DT3
4ba8fd2af3aebb5c0d77036ac3941e83cd4d1c7e
[ "MIT" ]
3
2018-10-05T15:03:27.000Z
2019-03-19T11:01:56.000Z
DT3Core/Types/Math/Box.hpp
pakoito/DT3
4ba8fd2af3aebb5c0d77036ac3941e83cd4d1c7e
[ "MIT" ]
null
null
null
DT3Core/Types/Math/Box.hpp
pakoito/DT3
4ba8fd2af3aebb5c0d77036ac3941e83cd4d1c7e
[ "MIT" ]
3
2016-01-14T07:51:52.000Z
2021-08-21T08:02:51.000Z
#ifndef DT3_BOX #define DT3_BOX //============================================================================== /// /// File: Box.hpp /// /// Copyright (C) 2000-2014 by Smells Like Donkey Software Inc. All rights reserved. /// /// This file is subject to the terms and conditions defined in /// file 'LICENSE...
38.731844
149
0.440646
[ "vector" ]
99a10bfd0c74f3fe334744e1093bc140ce343833
10,265
cc
C++
bench/qu8-vadd.cc
dedsec-9/XNNPACK
9eb52c7eb56a45ca9b250eb13c112d8adbd63999
[ "BSD-3-Clause" ]
1,125
2019-10-03T18:51:05.000Z
2022-03-30T14:01:11.000Z
bench/qu8-vadd.cc
dedsec-9/XNNPACK
9eb52c7eb56a45ca9b250eb13c112d8adbd63999
[ "BSD-3-Clause" ]
150
2019-10-07T19:55:21.000Z
2022-03-25T12:53:31.000Z
bench/qu8-vadd.cc
dedsec-9/XNNPACK
9eb52c7eb56a45ca9b250eb13c112d8adbd63999
[ "BSD-3-Clause" ]
207
2019-10-05T00:39:00.000Z
2022-03-28T08:32:22.000Z
// Copyright 2021 Google LLC // // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. #include <algorithm> #include <cmath> #include <functional> #include <random> #include <vector> #include <benchmark/benchmark.h> #include "bench/utils.h" ...
44.055794
118
0.696152
[ "vector" ]
99a213781c5abcca31c58c639159c233bb4ef8b0
33,294
cpp
C++
src/Application/JavascriptModule/qscript_Ray.cpp
Joosua/tundra
c170c597d9af73a5ef08ea8ef4566665addc6664
[ "Apache-2.0" ]
31
2015-01-12T15:20:29.000Z
2022-02-03T10:04:17.000Z
src/Application/JavascriptModule/qscript_Ray.cpp
Joosua/tundra
c170c597d9af73a5ef08ea8ef4566665addc6664
[ "Apache-2.0" ]
2
2015-02-04T12:58:05.000Z
2016-01-04T15:46:48.000Z
src/Application/JavascriptModule/qscript_Ray.cpp
Joosua/tundra
c170c597d9af73a5ef08ea8ef4566665addc6664
[ "Apache-2.0" ]
20
2015-03-04T02:31:33.000Z
2022-02-13T18:12:55.000Z
#include "QtScriptBindingsHelpers.h" void ToExistingScriptValue_Ray(QScriptEngine *engine, const Ray &value, QScriptValue obj) { obj.setProperty("pos", qScriptValueFromValue(engine, value.pos), QScriptValue::Undeletable); obj.setProperty("dir", qScriptValueFromValue(engine, value.dir), QScriptValue::Undeletabl...
67.808554
305
0.748153
[ "transform" ]
99a65296d015413aa25615de2d0e28fd0d2b6b36
268,367
cpp
C++
openrave/plugins/ikfastsolvers/ik_katana5d_trans.cpp
jdsika/TUM_HOly
a2ac55fa1751a3a8038cf61d29b95005f36d6264
[ "MIT" ]
2
2015-11-13T16:40:57.000Z
2017-09-15T15:37:19.000Z
openrave/plugins/ikfastsolvers/ik_katana5d_trans.cpp
jdsika/holy
a2ac55fa1751a3a8038cf61d29b95005f36d6264
[ "MIT" ]
1
2016-06-13T01:29:51.000Z
2016-06-14T00:38:27.000Z
openrave/plugins/ikfastsolvers/ik_katana5d_trans.cpp
jdsika/holy
a2ac55fa1751a3a8038cf61d29b95005f36d6264
[ "MIT" ]
null
null
null
#define IKFAST_NAMESPACE ik_katana5d_trans #include "plugindefs.h" /// autogenerated analytical inverse kinematics code from ikfast program part of OpenRAVE /// \author Rosen Diankov /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except in compliance with the Lice...
27.581398
666
0.631091
[ "object", "vector" ]
99b0e6142939bf844b2417d7799565952d8bfa60
12,898
cc
C++
tutorial/05_physical_regions/physical_regions.cc
karasevb/legion
f3f4e7d987768598b554ffca65d730f697956dc8
[ "Apache-2.0" ]
null
null
null
tutorial/05_physical_regions/physical_regions.cc
karasevb/legion
f3f4e7d987768598b554ffca65d730f697956dc8
[ "Apache-2.0" ]
null
null
null
tutorial/05_physical_regions/physical_regions.cc
karasevb/legion
f3f4e7d987768598b554ffca65d730f697956dc8
[ "Apache-2.0" ]
1
2021-01-07T22:07:18.000Z
2021-01-07T22:07:18.000Z
/* Copyright 2020 Stanford University * * 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 agree...
45.575972
80
0.730889
[ "object", "vector", "model" ]
99b3e04eed266d0ada0f206a9a23930e7d20c361
2,281
cpp
C++
Dev/Cpp/EditorCommon/GUI/Misc.cpp
Shockblast/Effekseer
bac86c0fc965f04a0f57c5863d37a9c2d5c3be97
[ "Apache-2.0", "BSD-3-Clause" ]
1
2021-12-21T07:03:42.000Z
2021-12-21T07:03:42.000Z
Dev/Cpp/EditorCommon/GUI/Misc.cpp
Shockblast/Effekseer
bac86c0fc965f04a0f57c5863d37a9c2d5c3be97
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Dev/Cpp/EditorCommon/GUI/Misc.cpp
Shockblast/Effekseer
bac86c0fc965f04a0f57c5863d37a9c2d5c3be97
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
#include "Misc.h" #include "JapaneseFont.h" #include <cmath> #include <fstream> #include <imgui.h> #include <iostream> #include <sstream> #include <string> #include <vector> #include "../Common/StringHelper.h" namespace Effekseer { namespace Editor { void AddFontFromFileTTF(const char* fontFilepath, const char* comm...
22.362745
155
0.712845
[ "vector" ]
99b80c5faf3d8e6ff172a10854cc96da24bdd072
6,272
cpp
C++
exec/tests/electroTwoWall/particleGen.cpp
ckim103/FHDeX
9182d7589db7e7ee318ca2a0f343c378d9c120a0
[ "BSD-3-Clause-LBNL" ]
null
null
null
exec/tests/electroTwoWall/particleGen.cpp
ckim103/FHDeX
9182d7589db7e7ee318ca2a0f343c378d9c120a0
[ "BSD-3-Clause-LBNL" ]
null
null
null
exec/tests/electroTwoWall/particleGen.cpp
ckim103/FHDeX
9182d7589db7e7ee318ca2a0f343c378d9c120a0
[ "BSD-3-Clause-LBNL" ]
null
null
null
#include "INS_functions.H" #include "common_functions.H" #include "FhdParticleContainer.H" //#include <AMReX.H> //#include <AMReX_AmrParGDB.H> //#include <AMReX_ParmParse.H> //#include <AMReX_Particles.H> //#include <AMReX_NeighborParticles.H> //#include <common_functions.H> //#include <common_namespace.H> //#includ...
38.243902
194
0.55389
[ "geometry" ]
99bc6edbc3b27a977ac6e1389d17d5439a5578bd
7,614
cpp
C++
third_party/WebKit/Source/bindings/core/v8/ScriptModule.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/bindings/core/v8/ScriptModule.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/bindings/core/v8/ScriptModule.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "bindings/core/v8/ScriptModule.h" #include "bindings/core/v8/ExceptionState.h" #include "bindings/core/v8/V8BindingForCore.h" #include "core/dom...
35.413953
80
0.693853
[ "vector" ]
99c0b0d59c82dc8c5fe4c28cd207cea19aefd0a9
15,546
cc
C++
mindspore/lite/src/train/train_export.cc
Vincent34/mindspore
a39a60878a46e7e9cb02db788c0bca478f2fa6e5
[ "Apache-2.0" ]
1
2021-07-03T06:52:20.000Z
2021-07-03T06:52:20.000Z
mindspore/lite/src/train/train_export.cc
Vincent34/mindspore
a39a60878a46e7e9cb02db788c0bca478f2fa6e5
[ "Apache-2.0" ]
null
null
null
mindspore/lite/src/train/train_export.cc
Vincent34/mindspore
a39a60878a46e7e9cb02db788c0bca478f2fa6e5
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2021 Huawei Technologies Co., Ltd * * 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...
36.492958
117
0.649235
[ "shape", "vector", "model" ]
99c1d0193fea9785e7c458c8d7b17bb9259ca117
5,578
hpp
C++
src/midend/KLT/include/KLT/Core/looptree.hpp
ouankou/rose
76f2a004bd6d8036bc24be2c566a14e33ba4f825
[ "BSD-3-Clause" ]
488
2015-01-09T08:54:48.000Z
2022-03-30T07:15:46.000Z
src/midend/KLT/include/KLT/Core/looptree.hpp
sujankh/rose-matlab
7435d4fa1941826c784ba97296c0ec55fa7d7c7e
[ "BSD-3-Clause" ]
174
2015-01-28T18:41:32.000Z
2022-03-31T16:51:05.000Z
src/midend/KLT/include/KLT/Core/looptree.hpp
sujankh/rose-matlab
7435d4fa1941826c784ba97296c0ec55fa7d7c7e
[ "BSD-3-Clause" ]
146
2015-04-27T02:48:34.000Z
2022-03-04T07:32:53.000Z
#ifndef __KLT_LOOPTREE_HPP__ #define __KLT_LOOPTREE_HPP__ #include <cstddef> #include <vector> #include <map> #include <set> #include <iostream> #include <string> class SgNode; class SgProject; class SgExpression; class SgStatement; class SgForStatement; class SgVariableSymbol; namespace KLT { namespace Descriptor...
27.613861
158
0.714055
[ "vector" ]
99c9302f02df467d82395bc4ed0a9e219d904f20
5,146
cpp
C++
Tools/CacheSimulator/CacheSetConstructor.cpp
ronichoudhury/mtvx
379cfbfd7a55440e6862526c1817dfad5c6ce171
[ "Apache-2.0" ]
2
2018-07-30T17:02:50.000Z
2020-06-12T03:01:21.000Z
Tools/CacheSimulator/CacheSetConstructor.cpp
waxlamp/mtvx
379cfbfd7a55440e6862526c1817dfad5c6ce171
[ "Apache-2.0" ]
null
null
null
Tools/CacheSimulator/CacheSetConstructor.cpp
waxlamp/mtvx
379cfbfd7a55440e6862526c1817dfad5c6ce171
[ "Apache-2.0" ]
null
null
null
// Copyright 2011 A.N.M. Imroz Choudhury // // CacheConstructor.cpp // MTV headers. #include <Core/Util/Boost.h> #include <Tools/CacheSimulator/CacheConstructor.h> #include <Tools/CacheSimulator/CacheSetConstructor.h> using Daly::CacheConstructor; using Daly::CacheSetConstructor; // TinyXML headers. #define TIXML_USE...
33.855263
119
0.643995
[ "object" ]
99caf14801da3c06ae5a04115cea1915d6a21e3f
33,754
cpp
C++
src/CifUtils.cpp
PDB-REDO/libcifpp
f97e742daa7c1cfd0670ad00d3aef004708a3461
[ "BSD-2-Clause" ]
7
2021-01-12T07:00:04.000Z
2022-03-11T08:44:14.000Z
src/CifUtils.cpp
PDB-REDO/libcifpp
f97e742daa7c1cfd0670ad00d3aef004708a3461
[ "BSD-2-Clause" ]
12
2021-03-11T17:53:45.000Z
2022-02-09T15:06:04.000Z
src/CifUtils.cpp
PDB-REDO/libcifpp
f97e742daa7c1cfd0670ad00d3aef004708a3461
[ "BSD-2-Clause" ]
7
2021-02-08T00:45:31.000Z
2021-12-06T22:37:22.000Z
/*- * SPDX-License-Identifier: BSD-2-Clause * * Copyright (c) 2020 NKI/AVL, Netherlands Cancer Institute * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the a...
25.884969
161
0.638354
[ "vector" ]
99cc01402ff25221b1107d1570e7dca179c71297
3,382
cpp
C++
cpp/test/PacketLoggerTest.cpp
simpleton/profilo
91ef4ba1a8316bad2b3080210316dfef4761e180
[ "Apache-2.0" ]
null
null
null
cpp/test/PacketLoggerTest.cpp
simpleton/profilo
91ef4ba1a8316bad2b3080210316dfef4761e180
[ "Apache-2.0" ]
null
null
null
cpp/test/PacketLoggerTest.cpp
simpleton/profilo
91ef4ba1a8316bad2b3080210316dfef4761e180
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2004-present, Facebook, Inc. * * 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 ...
27.721311
78
0.651094
[ "vector" ]
99d1b25d39b7e2a6ad532915a30239479baa355b
1,828
cpp
C++
aws-cpp-sdk-robomaker/source/model/DeploymentApplicationConfig.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-robomaker/source/model/DeploymentApplicationConfig.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-robomaker/source/model/DeploymentApplicationConfig.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/robomaker/model/DeploymentApplicationConfig.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespa...
20.311111
88
0.753282
[ "model" ]
99d1d7c8fe59b4bb0996ebcf0e84242b9e52e393
7,331
cpp
C++
src/hqn_gui_controller.cpp
Bindernews/HeadlessQuickNes
394cc533c74b079bf8b143b25d4e4f6c75232469
[ "MIT" ]
5
2016-04-19T20:45:28.000Z
2018-11-25T03:07:30.000Z
src/hqn_gui_controller.cpp
Bindernews/HappyQuickNes
394cc533c74b079bf8b143b25d4e4f6c75232469
[ "MIT" ]
null
null
null
src/hqn_gui_controller.cpp
Bindernews/HappyQuickNes
394cc533c74b079bf8b143b25d4e4f6c75232469
[ "MIT" ]
null
null
null
#include "hqn_gui_controller.h" #include "hqn_util.h" #include <algorithm> #include <cstring> #include <SDL.h> #define DEFAULT_WIDTH 256 #define DEFAULT_HEIGHT 240 namespace hqn { const char *DEFAULT_WINDOW_TITLE = "HeadlessQuickNES"; const SDL_Rect NES_BLIT_RECT = { 0, 0, DEFAULT_WIDTH, DEFAULT_HEIGHT }; // Deter...
27.664151
95
0.665803
[ "render" ]
99d5c3136f8bddd796f5b87c881a3a865e3b31a4
319
cpp
C++
Metaclass/main.cpp
vmille/ConceptExpressions
9e846b515ea1536713e30210a61fe0583dbdf9c5
[ "MIT" ]
null
null
null
Metaclass/main.cpp
vmille/ConceptExpressions
9e846b515ea1536713e30210a61fe0583dbdf9c5
[ "MIT" ]
null
null
null
Metaclass/main.cpp
vmille/ConceptExpressions
9e846b515ea1536713e30210a61fe0583dbdf9c5
[ "MIT" ]
1
2022-03-13T18:08:33.000Z
2022-03-13T18:08:33.000Z
// // Created by mille on 19-Nov-18. // #include <iostream> int main() { // double a = 2.0; // double b = 7.0; // Vector X{1.0, 2.0, 3.0, 4.0}; // Vector Y{5.0, 6.0, 7.0, 8.0}; // Vector Z{9.0, 10.0, 11.0, 12.0}; // double res = sum(-X+a*Y+b*Z); // std::cout << "Result : " << res << std::endl; }
21.266667
51
0.473354
[ "vector" ]
99df07b44e097667ba802e4b2106c5c7460e737c
6,056
cpp
C++
pwiz_aux/sfcap/peptideSieve/digest.cpp
austinkeller/pwiz
aa8e575cb40fd5e97cc7d922e4d8da44c9277cca
[ "Apache-2.0" ]
11
2015-01-08T08:33:44.000Z
2019-07-12T06:14:54.000Z
pwiz_aux/sfcap/peptideSieve/digest.cpp
austinkeller/pwiz
aa8e575cb40fd5e97cc7d922e4d8da44c9277cca
[ "Apache-2.0" ]
61
2015-05-27T11:20:11.000Z
2019-12-20T15:06:21.000Z
pwiz_aux/sfcap/peptideSieve/digest.cpp
austinkeller/pwiz
aa8e575cb40fd5e97cc7d922e4d8da44c9277cca
[ "Apache-2.0" ]
4
2016-02-03T09:41:16.000Z
2021-08-01T18:42:36.000Z
// // Original Author: Parag Mallick // // Copyright 2009 Spielberg Family Center for Applied Proteomics // Cedars Sinai Medical Center, Los Angeles, California 90048 // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You ma...
32.212766
103
0.560766
[ "transform" ]
99e207e1c5ef196fbd0102e48b8e0dffcc10a507
835
cpp
C++
gui-2048/src/helper.cpp
ShreyanshJoshi/2048
38276aa5a0cde4d94f952621e8780c163f1ab7f3
[ "MIT" ]
null
null
null
gui-2048/src/helper.cpp
ShreyanshJoshi/2048
38276aa5a0cde4d94f952621e8780c163f1ab7f3
[ "MIT" ]
null
null
null
gui-2048/src/helper.cpp
ShreyanshJoshi/2048
38276aa5a0cde4d94f952621e8780c163f1ab7f3
[ "MIT" ]
null
null
null
/** * @file helper.cpp * @author Shreyansh Joshi * @brief File containing implementation of the helper functions (functions that are of no practical use in themselves * and just help the core functions). * */ #include "base.h" #include <bits/stdc++.h> void load_vector(vector<vector<int>>&v, int board[Y_DIM][X_DI...
20.875
118
0.613174
[ "vector" ]
99e6c64d5c82f4f4b64020ffdb179323fdd61838
1,387
cpp
C++
C++ STL(Standard Template Library)/Sort.cpp
MrinmoiHossain/Algorithms
d29a10316219f320b0116ef3b412457a1c1aea26
[ "MIT" ]
2
2017-06-29T14:04:14.000Z
2020-03-21T12:48:21.000Z
C++ STL(Standard Template Library)/Sort.cpp
MrinmoiHossain/Algorithms
d29a10316219f320b0116ef3b412457a1c1aea26
[ "MIT" ]
null
null
null
C++ STL(Standard Template Library)/Sort.cpp
MrinmoiHossain/Algorithms
d29a10316219f320b0116ef3b412457a1c1aea26
[ "MIT" ]
2
2020-03-31T15:45:19.000Z
2021-09-15T15:51:06.000Z
#include <iostream> #include <cstdlib> //using for rand() #include <vector> //using for vector #include <algorithm> //using for sort() using namespace std; struct Point{ double x, y; }point[3]; bool cmp(Point A, Point B) { if(A.x != B.x) return A.x...
27.196078
87
0.474405
[ "vector" ]
99ea0c685e1fe081cb2975e321edcc1c5c4156f8
6,320
cpp
C++
code/GUI-version/code/warehouse.cpp
chengwenwu/warehouse-management-system
d5ffd62c4f33ae0695846eaefbc593331fe93be5
[ "Unlicense" ]
25
2019-04-05T05:01:07.000Z
2022-02-12T00:48:56.000Z
code/GUI-version/code/warehouse.cpp
chengwenwu/warehouse-management-system
d5ffd62c4f33ae0695846eaefbc593331fe93be5
[ "Unlicense" ]
null
null
null
code/GUI-version/code/warehouse.cpp
chengwenwu/warehouse-management-system
d5ffd62c4f33ae0695846eaefbc593331fe93be5
[ "Unlicense" ]
6
2019-04-05T05:24:01.000Z
2021-08-15T10:36:16.000Z
#include "warehouse.h" #include <QMessageBox> #include <QSqlDatabase> #include <QSqlQuery> #include <QVariant> Warehouse::Warehouse() { this->goods.clear(); if(!db.creatDataBase()) { QMessageBox message(QMessageBox::Warning, "waring", "Creat Database failed!", QMessageBox::Ok); if(message.ex...
26.115702
106
0.501582
[ "vector" ]
99ed75bcb214b6d96903fe02451cdaba314de0a9
5,989
cpp
C++
libsolidity/interface/GasEstimator.cpp
miohtama/solidity
9e36bdda8a9552f1885e0a63a85db588623b39b2
[ "MIT" ]
null
null
null
libsolidity/interface/GasEstimator.cpp
miohtama/solidity
9e36bdda8a9552f1885e0a63a85db588623b39b2
[ "MIT" ]
null
null
null
libsolidity/interface/GasEstimator.cpp
miohtama/solidity
9e36bdda8a9552f1885e0a63a85db588623b39b2
[ "MIT" ]
1
2016-09-22T14:08:24.000Z
2016-09-22T14:08:24.000Z
/* This file is part of cpp-ethereum. cpp-ethereum is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. cpp-ethereum is distributed in the...
31.192708
95
0.73468
[ "vector" ]
99eeb36c8858b7a416bfe1875c4e21d62814028e
811
cpp
C++
303. Range Sum Query - Immutable.cpp
NeoYY/Leetcode-Solution
0f067973d3c296ac7f2fa85a89dbdd5295b0b037
[ "MIT" ]
null
null
null
303. Range Sum Query - Immutable.cpp
NeoYY/Leetcode-Solution
0f067973d3c296ac7f2fa85a89dbdd5295b0b037
[ "MIT" ]
null
null
null
303. Range Sum Query - Immutable.cpp
NeoYY/Leetcode-Solution
0f067973d3c296ac7f2fa85a89dbdd5295b0b037
[ "MIT" ]
null
null
null
/* Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclusive. Example: Given nums = [-2, 0, 3, -5, 2, -1] sumRange(0, 2) -> 1 sumRange(2, 5) -> -1 sumRange(0, 5) -> -3 Note: You may assume that the array does not change. There are many calls to sumRange function. Solution ...
20.794872
101
0.5709
[ "object", "vector" ]
99f20449f0dda5c993ecae3644ad504c791452cd
14,444
hpp
C++
octotiger/unitiger/cell_geometry.hpp
cclauss/octotiger
73c3f2e5366e2c0b2d46a1f252b13f3b2f9b9171
[ "BSL-1.0" ]
null
null
null
octotiger/unitiger/cell_geometry.hpp
cclauss/octotiger
73c3f2e5366e2c0b2d46a1f252b13f3b2f9b9171
[ "BSL-1.0" ]
null
null
null
octotiger/unitiger/cell_geometry.hpp
cclauss/octotiger
73c3f2e5366e2c0b2d46a1f252b13f3b2f9b9171
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2019 AUTHORS // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #ifndef OCTOTIGER_UNITIGER_CELL_GEOMETRY_HPP_ #define OCTOTIGER_UNITIGER_CELL_GEOMETRY_HPP_ #include <mutex> #include "octotiger...
31.537118
156
0.567017
[ "geometry", "vector", "3d" ]
99fef9343178695e96681ee41791cd6aa2129621
10,657
cpp
C++
Source/Game/imgui_impl_gl3.cpp
igorsegallafa/UrhoMMO
fd389d9722f32b0dc90dff746138213471503820
[ "MIT" ]
8
2020-02-06T13:14:13.000Z
2020-11-03T06:26:04.000Z
Source/Game/imgui_impl_gl3.cpp
igorsegallafa/UrhoMMO
fd389d9722f32b0dc90dff746138213471503820
[ "MIT" ]
null
null
null
Source/Game/imgui_impl_gl3.cpp
igorsegallafa/UrhoMMO
fd389d9722f32b0dc90dff746138213471503820
[ "MIT" ]
6
2019-06-19T00:24:16.000Z
2020-12-08T05:03:59.000Z
// ImGui GLFW binding with OpenGL3 + shaders // In this binding, ImTextureID is used to store an OpenGL 'GLuint' texture identifier. Read the FAQ about ImTextureID in imgui.cpp. // You can copy and use unmodified imgui_impl_* files in your project. See main.cpp for an example of using this. // If you use this binding ...
40.06391
171
0.764286
[ "render", "object" ]
8204821a59e073117971f0d7202bf4315136c849
1,871
cpp
C++
CK2ToEU3/Source/CK2World/Opinion/Repository.cpp
beerhall/paradoxGameConverters
96b6f91ebc413795afd63f40f6ecf4ca83fa9460
[ "MIT" ]
114
2015-06-07T20:27:45.000Z
2020-08-16T05:05:56.000Z
CK2ToEU3/Source/CK2World/Opinion/Repository.cpp
iamdafu/paradoxGameConverters
674364a22917155642ade923e5dfbe38a5fa9610
[ "MIT" ]
553
2015-07-20T23:58:26.000Z
2019-06-13T21:45:56.000Z
CK2ToEU3/Source/CK2World/Opinion/Repository.cpp
iamdafu/paradoxGameConverters
674364a22917155642ade923e5dfbe38a5fa9610
[ "MIT" ]
106
2015-07-27T00:21:16.000Z
2020-06-10T10:13:13.000Z
/*Copyright (c) 2016 The Paradox Game Converters Project Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, p...
34.648148
91
0.73597
[ "vector" ]
820546c4c5b71cc233f734d03ef805dd04d7d706
4,281
cpp
C++
Classes/HelloWorldScene.cpp
yadurajiv/sample-multilingual
22a2936d65cc7caf8f342cbce0f0752f00dc0251
[ "MIT" ]
null
null
null
Classes/HelloWorldScene.cpp
yadurajiv/sample-multilingual
22a2936d65cc7caf8f342cbce0f0752f00dc0251
[ "MIT" ]
null
null
null
Classes/HelloWorldScene.cpp
yadurajiv/sample-multilingual
22a2936d65cc7caf8f342cbce0f0752f00dc0251
[ "MIT" ]
null
null
null
/* Copyright 2017 Yadu Rajiv */ #include "HelloWorldScene.h" #include "editor-support/cocostudio/CocoStudio.h" #include "ui/CocosGUI.h" #include "GameResources.h" USING_NS_CC; using namespace cocostudio::timeline; Scene* HelloWorld::createScene() { // 'scene' is an autorelease object auto scene = Scene::cr...
34.804878
138
0.635366
[ "object" ]
82154ede0cfd0973cb5e6dcd4003d16b25d7479d
30,237
cpp
C++
maxon_epos2/src/epos_communication.cpp
andy-Chien/swerve_drive
b959f5e6a09638e612eac43d843dfbea31bf605b
[ "MIT" ]
null
null
null
maxon_epos2/src/epos_communication.cpp
andy-Chien/swerve_drive
b959f5e6a09638e612eac43d843dfbea31bf605b
[ "MIT" ]
null
null
null
maxon_epos2/src/epos_communication.cpp
andy-Chien/swerve_drive
b959f5e6a09638e612eac43d843dfbea31bf605b
[ "MIT" ]
null
null
null
//============================================================================ // Name : EposCommunication.cpp // Author : Julian Stiefel // Version : 1.0.0 // Created on : 26.04.2018 // Copyright : BSD 3-Clause // Description : Class providing the communication functions for Maxon EPOS2. // Ins...
29.186293
201
0.732811
[ "vector" ]
821891c8132e7a13ee7afa2b3be63448700ceaad
32,580
cc
C++
src/shard.cc
manopapad/legate.numpy
896f4fd9b32db445da6cdabf7b78d523fca96936
[ "Apache-2.0" ]
null
null
null
src/shard.cc
manopapad/legate.numpy
896f4fd9b32db445da6cdabf7b78d523fca96936
[ "Apache-2.0" ]
null
null
null
src/shard.cc
manopapad/legate.numpy
896f4fd9b32db445da6cdabf7b78d523fca96936
[ "Apache-2.0" ]
null
null
null
/* Copyright 2021 NVIDIA Corporation * * 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...
41.715749
100
0.62388
[ "transform" ]
8227d58e6ab5947c5343acadbb5a16f2022ddca0
11,272
hh
C++
python/src/database.hh
bvmeggelen/routino
b6bcc47be6ba4a90353a5b140ca9996aaa17d2b8
[ "X11", "MIT" ]
1
2016-02-12T20:26:31.000Z
2016-02-12T20:26:31.000Z
python/src/database.hh
bvmeggelen/routino
b6bcc47be6ba4a90353a5b140ca9996aaa17d2b8
[ "X11", "MIT" ]
2
2019-01-16T10:00:19.000Z
2019-02-03T10:53:32.000Z
python/src/database.hh
bvmeggelen/routino
b6bcc47be6ba4a90353a5b140ca9996aaa17d2b8
[ "X11", "MIT" ]
null
null
null
/*************************************** Header file for interface between Routino database and Python. Part of the Routino routing software. ******************/ /****************** This file Copyright 2018 Andrew M. Bishop This program is free software: you can redistribute it and/or modify it under the terms ...
38.868966
156
0.652147
[ "vector" ]
8228a76b66f79dbd403667d5630d59d00128feff
4,080
cpp
C++
src/wallet/test/hdwallet_test_fixture.cpp
dmuralov/particl-core
ac4dc00b7cd6293329ff4bf3acaa65636238910a
[ "MIT" ]
null
null
null
src/wallet/test/hdwallet_test_fixture.cpp
dmuralov/particl-core
ac4dc00b7cd6293329ff4bf3acaa65636238910a
[ "MIT" ]
null
null
null
src/wallet/test/hdwallet_test_fixture.cpp
dmuralov/particl-core
ac4dc00b7cd6293329ff4bf3acaa65636238910a
[ "MIT" ]
null
null
null
// Copyright (c) 2017-2021 The Particl Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <wallet/test/hdwallet_test_fixture.h> #include <rpc/server.h> #include <wallet/db.h> #include <wallet/hdwallet.h> #...
31.384615
171
0.675245
[ "vector" ]
822a22713be477c8cc43e57aa6f1c1a809677baf
1,047
cpp
C++
src/tests/test_sphere.cpp
masonium/twinkle
853ae84ebd1fd8dcd3dda47eb3fb1c2cf0b8f0c6
[ "MIT" ]
2
2016-09-20T06:01:03.000Z
2020-12-03T23:22:19.000Z
src/tests/test_sphere.cpp
masonium/twinkle
853ae84ebd1fd8dcd3dda47eb3fb1c2cf0b8f0c6
[ "MIT" ]
null
null
null
src/tests/test_sphere.cpp
masonium/twinkle
853ae84ebd1fd8dcd3dda47eb3fb1c2cf0b8f0c6
[ "MIT" ]
null
null
null
#include "tests/test_util.h" #include "geometry/sphere.h" #include "textures.h" #include "kdscene.h" namespace { class SingleSphereFixture { public: SingleSphereFixture() : sphere(make_shared<Sphere>(Vec3{0.0, 0.0, 0.0}, 1.0)), mat(make_shared<RoughColorMaterial>(0, spectrum{1.0})...
22.276596
83
0.576886
[ "geometry", "shape" ]
822c1c43d57183f941046057ba2904412ffc4f4e
10,279
cpp
C++
Code/Framework/AzCore/AzCore/Serialization/Json/JsonSerializationResult.cpp
CStudios15/o3de
9dc85000a3ec1a6c6633d718f5c455ab11a46818
[ "Apache-2.0", "MIT" ]
8
2021-08-31T02:14:19.000Z
2021-12-28T19:20:59.000Z
Code/Framework/AzCore/AzCore/Serialization/Json/JsonSerializationResult.cpp
CStudios15/o3de
9dc85000a3ec1a6c6633d718f5c455ab11a46818
[ "Apache-2.0", "MIT" ]
8
2021-07-12T13:55:00.000Z
2021-10-04T14:53:21.000Z
Code/Framework/AzCore/AzCore/Serialization/Json/JsonSerializationResult.cpp
CStudios15/o3de
9dc85000a3ec1a6c6633d718f5c455ab11a46818
[ "Apache-2.0", "MIT" ]
1
2021-09-16T05:06:18.000Z
2021-09-16T05:06:18.000Z
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <AzCore/Serialization/Json/JsonSerializationResult.h> #include <AzCore/Serialization/Json...
37.378182
140
0.516393
[ "3d" ]
436295c47143643ae4e2102faff6c5d77efc8239
2,551
cpp
C++
aws-cpp-sdk-route53/source/model/ListTrafficPolicyVersionsResult.cpp
ambasta/aws-sdk-cpp
c81192e00b572b76d175d84dff77185bd17ae1ac
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-route53/source/model/ListTrafficPolicyVersionsResult.cpp
ambasta/aws-sdk-cpp
c81192e00b572b76d175d84dff77185bd17ae1ac
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-route53/source/model/ListTrafficPolicyVersionsResult.cpp
ambasta/aws-sdk-cpp
c81192e00b572b76d175d84dff77185bd17ae1ac
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
34.013333
127
0.75147
[ "model" ]
436366786e4a71d60d5a1109e595b5faf107b498
9,823
cpp
C++
tests/src/test_TensorRestriction.cpp
kmorel/MGARD
a7c44d57fda76a5c3e6fa38702ca8c8c12150b83
[ "Apache-2.0" ]
19
2019-03-08T15:21:36.000Z
2022-02-11T04:02:50.000Z
tests/src/test_TensorRestriction.cpp
kmorel/MGARD
a7c44d57fda76a5c3e6fa38702ca8c8c12150b83
[ "Apache-2.0" ]
100
2019-01-14T15:34:09.000Z
2022-03-29T13:39:30.000Z
tests/src/test_TensorRestriction.cpp
kmorel/MGARD
a7c44d57fda76a5c3e6fa38702ca8c8c12150b83
[ "Apache-2.0" ]
22
2018-11-16T01:13:57.000Z
2022-03-14T23:53:28.000Z
#include "catch2/catch_approx.hpp" #include "catch2/catch_test_macros.hpp" #include <array> #include <numeric> #include "testing_random.hpp" #include "testing_utilities.hpp" #include "TensorMassMatrix.hpp" #include "TensorMeshHierarchy.hpp" #include "TensorMeshHierarchyIteration.hpp" #include "TensorProlongation.hpp...
35.850365
80
0.595236
[ "mesh", "shape", "vector" ]
436434c79c610c55be1cef3728179647628d6ad5
18,027
cpp
C++
project/scratch.cpp
idungoofed/advanced_cv
5399ad7b1a0e20e8eb9eb6e7ae1e5502be2db9f3
[ "MIT" ]
null
null
null
project/scratch.cpp
idungoofed/advanced_cv
5399ad7b1a0e20e8eb9eb6e7ae1e5502be2db9f3
[ "MIT" ]
null
null
null
project/scratch.cpp
idungoofed/advanced_cv
5399ad7b1a0e20e8eb9eb6e7ae1e5502be2db9f3
[ "MIT" ]
null
null
null
// // Created by Ben Brown on 4/5/18. // /** * Ben Brown : beb5277 * Mark Philip : msp3430 * Advanced Computer Vision Project * Reads in a warped image with crosses and performs a Hough transform to locate * the corners of the image * * Ellipse detection: https://www.sciencedirect.com/science/article/pii/S00313...
29.40783
92
0.595163
[ "vector", "transform" ]
4366c03a4d63e0c3b1a9718ef1c6c97e31f09529
13,041
cpp
C++
vdf/WebUI.cpp
vineyard2020/vine_talk
f2e8b29e46618e64e11139f7701a8297d433c651
[ "Apache-2.0" ]
1
2021-04-06T13:45:52.000Z
2021-04-06T13:45:52.000Z
vdf/WebUI.cpp
vineyard2020/vine_talk
f2e8b29e46618e64e11139f7701a8297d433c651
[ "Apache-2.0" ]
null
null
null
vdf/WebUI.cpp
vineyard2020/vine_talk
f2e8b29e46618e64e11139f7701a8297d433c651
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2018 Foundation for Research and Technology - Hellas * * 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 [1] [1] * * Unless...
29.571429
211
0.614523
[ "vector" ]
43679af25d8358b38a857abef7cd4b7736db1656
2,752
cc
C++
src/logger.cc
archilleu/base
f56aafcbb75ae65ff6c485142ad29e029ba910c6
[ "Unlicense" ]
null
null
null
src/logger.cc
archilleu/base
f56aafcbb75ae65ff6c485142ad29e029ba910c6
[ "Unlicense" ]
null
null
null
src/logger.cc
archilleu/base
f56aafcbb75ae65ff6c485142ad29e029ba910c6
[ "Unlicense" ]
null
null
null
//--------------------------------------------------------------------------- #include <cstdarg> #include "logger.h" #include "logger_sink.h" //--------------------------------------------------------------------------- namespace base { //--------------------------------------------------------------------------- std:...
33.560976
90
0.4375
[ "vector" ]
4367c7b499ad970c9f27d847714c87baf03b9da2
1,412
cpp
C++
2/AC/ejercicio2-9.cpp
xKuZz/trabajosugr
5dd0cf416ccf5dfe5961713a85581d95cd14aa74
[ "MIT" ]
3
2019-10-23T06:06:43.000Z
2021-05-23T17:20:25.000Z
2/AC/ejercicio2-9.cpp
xKuZz/trabajosugr
5dd0cf416ccf5dfe5961713a85581d95cd14aa74
[ "MIT" ]
null
null
null
2/AC/ejercicio2-9.cpp
xKuZz/trabajosugr
5dd0cf416ccf5dfe5961713a85581d95cd14aa74
[ "MIT" ]
1
2017-12-18T22:16:47.000Z
2017-12-18T22:16:47.000Z
#include <iostream> using namespace std; //#define PRINT_MATRIX int main(int argc, char** argv) { if (argc != 2) { cerr << "ERROR: Incluir N como unico argumento."; return -1; } int N = atoi(argv[1]); // Reserva de memoria dinámica double** M1 = new double*[N]; double** M2 = new doubl...
21.723077
54
0.469547
[ "vector" ]
436879a61f402ea9aab8afa35ebfe6ff2e24a55c
4,404
cpp
C++
src/backend/graph_compiler/core/src/compiler/ir/easy_build.cpp
wuxun-zhang/mkl-dnn
00a239ad2c932b967234ffb528069800ffcc0334
[ "Apache-2.0" ]
null
null
null
src/backend/graph_compiler/core/src/compiler/ir/easy_build.cpp
wuxun-zhang/mkl-dnn
00a239ad2c932b967234ffb528069800ffcc0334
[ "Apache-2.0" ]
null
null
null
src/backend/graph_compiler/core/src/compiler/ir/easy_build.cpp
wuxun-zhang/mkl-dnn
00a239ad2c932b967234ffb528069800ffcc0334
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Copyright 2020-2022 Intel Corporation * * 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://...
34.952381
81
0.622616
[ "vector" ]
436a35dc172e9044c3b7fce4b40fa6e018576d0d
18,000
cpp
C++
Sources/Elastos/Frameworks/Droid/Base/Services/Server/src/elastos/droid/server/SystemConfig.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/Frameworks/Droid/Base/Services/Server/src/elastos/droid/server/SystemConfig.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Frameworks/Droid/Base/Services/Server/src/elastos/droid/server/SystemConfig.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // 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 // // ...
34.351145
108
0.584111
[ "object" ]
436e3bed17a19d49a0f8c85d2eae5cd79d7fd9c8
1,822
cpp
C++
src/caffe/layers/cudnn_tanh_layer.cpp
Amanda-Barbara/nvcaffe
5155a708b235a818ce300aa3f9fc235ece9a35fb
[ "BSD-2-Clause" ]
758
2015-03-08T20:54:38.000Z
2022-01-11T03:14:51.000Z
src/caffe/layers/cudnn_tanh_layer.cpp
Matsuko9/caffe
17e347e42e664b87d80f63bfbbb89bec5e559242
[ "BSD-2-Clause" ]
493
2015-04-28T00:08:53.000Z
2021-08-04T07:26:54.000Z
src/caffe/layers/cudnn_tanh_layer.cpp
Matsuko9/caffe
17e347e42e664b87d80f63bfbbb89bec5e559242
[ "BSD-2-Clause" ]
389
2015-03-05T12:11:44.000Z
2022-03-13T21:49:42.000Z
#ifdef USE_CUDNN #include <vector> #include "caffe/layers/cudnn_tanh_layer.hpp" namespace caffe { template <typename Ftype, typename Btype> void CuDNNTanHLayer<Ftype, Btype>::LayerSetUp(const vector<Blob*>& bottom, const vector<Blob*>& top) { TanHLayer<Ftype, Btype>::LayerSetUp(bottom, top); // initialize ...
34.377358
74
0.751372
[ "vector" ]
437393f1ab72f29549181ae85de569d5e504bfbe
590
cpp
C++
CCC/wdawdawdaw.cpp
zzh8829/CompetitiveProgramming
36f36b10269b4648ca8be0b08c2c49e96abede25
[ "MIT" ]
1
2017-10-01T00:51:39.000Z
2017-10-01T00:51:39.000Z
CCC/wdawdawdaw.cpp
zzh8829/CompetitiveProgramming
36f36b10269b4648ca8be0b08c2c49e96abede25
[ "MIT" ]
null
null
null
CCC/wdawdawdaw.cpp
zzh8829/CompetitiveProgramming
36f36b10269b4648ca8be0b08c2c49e96abede25
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> using namespace std; int N,P; vector<pair<int,int> > planets; int main() { cin >> N >> P; int fuel; for (int i=0;i<N;i++) { int val,cost; cin >> val >> cost; if (P-1==i) fuel = val; else if (val>=cost) planets.push_back(make_pair(...
18.4375
62
0.561017
[ "vector" ]
4374c487a3e3cd0a7e52a8bcff30a7931fae4621
1,292
hpp
C++
src/Camera.hpp
prise-3d/vpbrt
d0aca0fe6dc76f0079efcec049b0be04c9cd174b
[ "MIT" ]
6
2021-09-23T03:10:31.000Z
2021-12-16T11:35:44.000Z
src/Camera.hpp
prise-3d/vpbrt
d0aca0fe6dc76f0079efcec049b0be04c9cd174b
[ "MIT" ]
null
null
null
src/Camera.hpp
prise-3d/vpbrt
d0aca0fe6dc76f0079efcec049b0be04c9cd174b
[ "MIT" ]
2
2021-09-23T03:10:34.000Z
2021-12-01T22:34:51.000Z
#ifndef _CAMERA_HPP #define _CAMERA_HPP #include <iostream> using namespace std; #include "./Geometry/transform.h" class Camera { public: Transform mla; // matrice lookat de pbrt float o[4]; // position de la caméra float v[4]; // point visé par la caméra float up[4]; // vecteur up de la caméra float vdi...
22.666667
64
0.705108
[ "geometry", "transform" ]
437540990d9806c30b6c9298548065001877920e
2,416
cpp
C++
ycsb/wrappers/ycsbwrappers.cpp
shenweihai1/veribetrkv-linear
0e63dc1cc2a24f0ab460e8a905924560e5991644
[ "MIT" ]
null
null
null
ycsb/wrappers/ycsbwrappers.cpp
shenweihai1/veribetrkv-linear
0e63dc1cc2a24f0ab460e8a905924560e5991644
[ "MIT" ]
null
null
null
ycsb/wrappers/ycsbwrappers.cpp
shenweihai1/veribetrkv-linear
0e63dc1cc2a24f0ab460e8a905924560e5991644
[ "MIT" ]
null
null
null
#include "ycsbwrappers.h" #include <iostream> #include <string> #include "core_workload.h" #include "utils.h" utils::Properties ycsbcwrappers::props_from(std::string filename) { utils::Properties props; std::ifstream input(filename); props.Load(input); return props; } ycsbc::CoreWorkload* ycsbcwrapp...
35.529412
105
0.683361
[ "vector" ]
43775526686a8f6107a31fac7afe99d65242451a
10,415
cc
C++
engines/ep/tests/module_tests/collections/collections_kvstore_test.cc
gsauere/kv_engine
233945fe4ddb033c2292e51f5845ab630c33276f
[ "BSD-3-Clause" ]
null
null
null
engines/ep/tests/module_tests/collections/collections_kvstore_test.cc
gsauere/kv_engine
233945fe4ddb033c2292e51f5845ab630c33276f
[ "BSD-3-Clause" ]
null
null
null
engines/ep/tests/module_tests/collections/collections_kvstore_test.cc
gsauere/kv_engine
233945fe4ddb033c2292e51f5845ab630c33276f
[ "BSD-3-Clause" ]
null
null
null
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2019 Couchbase, Inc * * 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 * * h...
34.372937
80
0.595103
[ "vector" ]
4379c034a7fca53e05c91f6f9ec585a9b9f6b67e
7,071
cpp
C++
Reis/graphics/image/SpriteSheet.cpp
marcelomesmo/Raiz
19ddd256b71faa8e042637513f67142ffc2eb281
[ "Zlib" ]
2
2020-06-17T18:27:43.000Z
2020-06-17T19:42:53.000Z
Reis/graphics/image/SpriteSheet.cpp
marcelomesmo/Raiz
19ddd256b71faa8e042637513f67142ffc2eb281
[ "Zlib" ]
null
null
null
Reis/graphics/image/SpriteSheet.cpp
marcelomesmo/Raiz
19ddd256b71faa8e042637513f67142ffc2eb281
[ "Zlib" ]
null
null
null
#include "SpriteSheet.h" SpriteSheet::SpriteSheet(std::string path, int sprite_width, int sprite_height, Color* transparent) { create(path, sprite_width, sprite_height); } SpriteSheet::SpriteSheet() { } SpriteSheet::~SpriteSheet() { free(); } void SpriteSheet::free() { //Free texture if it exists if (image != NUL...
28.512097
151
0.662424
[ "vector" ]
437fb01d05db76f509f4a73e5bc06c9de0ab8308
7,563
cc
C++
flexirf/src/GIRFAxisParam.cc
cosimoNigro/flexIRF
3ae91dc677b94c6e8264c35be4733a7feeebef31
[ "Apache-2.0" ]
2
2016-08-24T12:13:31.000Z
2020-08-07T20:33:13.000Z
flexirf/src/GIRFAxisParam.cc
cosimoNigro/flexIRF
3ae91dc677b94c6e8264c35be4733a7feeebef31
[ "Apache-2.0" ]
8
2016-03-02T15:23:40.000Z
2016-05-31T12:29:37.000Z
flexirf/src/GIRFAxisParam.cc
cosimoNigro/flexIRF
3ae91dc677b94c6e8264c35be4733a7feeebef31
[ "Apache-2.0" ]
4
2016-03-03T15:02:25.000Z
2020-08-07T13:03:54.000Z
/* ======================================================================== *\ ! ! Author(s): Javier Rico 12/2013 <mailto:jrico@ifae.es> ! ! Copyright: CTA Software Development, 2013 ! \* ======================================================================== */ //////////////////////////////////////////...
26.914591
116
0.595399
[ "object", "vector" ]