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
4c79a9f56211ed369504ade91987ebad227cad13
54,144
cpp
C++
visual/GraphicsLoaderIntf.cpp
3c1u/krkrz
3655de95a45cc72e22f04ac9fa10cfbff320f53f
[ "BSD-3-Clause" ]
null
null
null
visual/GraphicsLoaderIntf.cpp
3c1u/krkrz
3655de95a45cc72e22f04ac9fa10cfbff320f53f
[ "BSD-3-Clause" ]
null
null
null
visual/GraphicsLoaderIntf.cpp
3c1u/krkrz
3655de95a45cc72e22f04ac9fa10cfbff320f53f
[ "BSD-3-Clause" ]
null
null
null
//--------------------------------------------------------------------------- /* TVP2 ( T Visual Presenter 2 ) A script authoring tool Copyright (C) 2000 W.Dee <dee@kikyou.info> and contributors See details of license at "license.txt" */ //--------------------------------------------------------------------...
27.044955
164
0.594637
[ "object", "vector" ]
4c86e2417898d9e5b7fc5957edc1c2e49add0cc0
577
cpp
C++
src/0409.cpp
killf/leetcode_cpp
d1f308a9c3da55ae5416ea28ec2e7a3146533ae9
[ "MIT" ]
null
null
null
src/0409.cpp
killf/leetcode_cpp
d1f308a9c3da55ae5416ea28ec2e7a3146533ae9
[ "MIT" ]
null
null
null
src/0409.cpp
killf/leetcode_cpp
d1f308a9c3da55ae5416ea28ec2e7a3146533ae9
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include <sstream> #include <algorithm> #include <map> #include <set> #include <hash_map> #include <hash_set> #include <queue> #include <stack> #include <iomanip> using namespace std; class Solution { public: int longestPalindrome(string s) { int m[128] = ...
17.484848
35
0.568458
[ "vector" ]
4c8a79c8ffcc8c8052738849f6cc4a30c12debe9
5,794
hpp
C++
inc/dcs/math/stats/distribution/pareto.hpp
sguazt/dcsxx-commons
0fc1fd8a38b7c412941b401c00a9293bc5df8b21
[ "Apache-2.0" ]
null
null
null
inc/dcs/math/stats/distribution/pareto.hpp
sguazt/dcsxx-commons
0fc1fd8a38b7c412941b401c00a9293bc5df8b21
[ "Apache-2.0" ]
null
null
null
inc/dcs/math/stats/distribution/pareto.hpp
sguazt/dcsxx-commons
0fc1fd8a38b7c412941b401c00a9293bc5df8b21
[ "Apache-2.0" ]
null
null
null
/** * \file dcs/math/stats/distribution/pareto.hpp * * \brief The Pareto probability distribution. * * \author Marco Guazzone (marco.guazzone@gmail.com) * * <hr/> * * Copyright 2009 Marco Guazzone (marco.guazzone@gmail.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not us...
28.126214
144
0.695547
[ "shape", "vector" ]
4c8d2db6b86d2e7f19326b1087b4554c09b91281
8,029
cc
C++
src/macro/smallbank/api_adapters/FabricV2.cc
David-Sat/blockbench
47f09cbfee013b3e7d8dd0b696068461b8a37eb6
[ "Apache-2.0" ]
null
null
null
src/macro/smallbank/api_adapters/FabricV2.cc
David-Sat/blockbench
47f09cbfee013b3e7d8dd0b696068461b8a37eb6
[ "Apache-2.0" ]
null
null
null
src/macro/smallbank/api_adapters/FabricV2.cc
David-Sat/blockbench
47f09cbfee013b3e7d8dd0b696068461b8a37eb6
[ "Apache-2.0" ]
null
null
null
#include <string> #include <vector> #include <iostream> #include <cstdio> #include <memory> #include <stdexcept> #include <array> #include <sstream> #include <restclient-cpp/restclient.h> #include "FabricV2.h" #include "utils/timer.h" // using namespace std; const std::string HEIGHT_END_POINT = "/height"; const std:...
35.370044
112
0.639681
[ "vector" ]
4c95d12ecc01dd5cf552569f1f01d7bb2a016b82
8,718
cpp
C++
Render3D/BaseNode.cpp
CarysT/medusa
8e79f7738534d8cf60577ec42ed86621533ac269
[ "MIT" ]
32
2016-05-22T23:09:19.000Z
2022-03-13T03:32:27.000Z
Render3D/BaseNode.cpp
CarysT/medusa
8e79f7738534d8cf60577ec42ed86621533ac269
[ "MIT" ]
2
2016-05-30T19:45:58.000Z
2018-01-24T22:29:51.000Z
Render3D/BaseNode.cpp
CarysT/medusa
8e79f7738534d8cf60577ec42ed86621533ac269
[ "MIT" ]
17
2016-05-27T11:01:42.000Z
2022-03-13T03:32:30.000Z
/* BaseNode.cpp (c)2005 Palestar, Richard Lyle */ #pragma warning( disable: 4786 ) // identifier was truncated to '255' characters in the browser information #define RENDER3D_DLL #include "Render3D/BaseNode.h" #include "Debug/Assert.h" #include "Debug/Trace.h" #include "Standard/Exception.h" #include "Standard/STLH...
23.435484
107
0.623308
[ "render", "object", "transform" ]
4c997e8c1a6511509989e3a408b74b4d81ae7967
545
hpp
C++
dynamic_programming/levenshtein_distance.hpp
emthrm/library
0876ba7ec64e23b5ec476a7a0b4880d497a36be1
[ "Unlicense" ]
1
2021-12-26T14:17:29.000Z
2021-12-26T14:17:29.000Z
dynamic_programming/levenshtein_distance.hpp
emthrm/library
0876ba7ec64e23b5ec476a7a0b4880d497a36be1
[ "Unlicense" ]
3
2020-07-13T06:23:02.000Z
2022-02-16T08:54:26.000Z
dynamic_programming/levenshtein_distance.hpp
emthrm/library
0876ba7ec64e23b5ec476a7a0b4880d497a36be1
[ "Unlicense" ]
null
null
null
#pragma once #include <algorithm> #include <numeric> #include <vector> template <typename T> int levenshtein_distance(const T &a, const T &b) { int n = a.size(), m = b.size(); std::vector<std::vector<int>> dp(n + 1, std::vector<int>(m + 1)); for (int i = 1; i <= n; ++i) dp[i][0] = i; std::iota(dp[0]....
32.058824
106
0.486239
[ "vector" ]
4c9d503c745d65305616c73a4504f1b07bf42959
9,330
cpp
C++
code/cmt/src/nonlinearities.cpp
itsb/cmt
dd37a2bcc7d477d0ee82994711acd13ee02f47a9
[ "MIT" ]
33
2015-06-15T16:52:23.000Z
2019-11-26T19:49:36.000Z
code/cmt/src/nonlinearities.cpp
itsb/cmt
dd37a2bcc7d477d0ee82994711acd13ee02f47a9
[ "MIT" ]
35
2015-03-17T09:27:32.000Z
2022-01-13T00:44:05.000Z
code/cmt/src/nonlinearities.cpp
itsb/cmt
dd37a2bcc7d477d0ee82994711acd13ee02f47a9
[ "MIT" ]
17
2015-01-20T10:39:59.000Z
2020-12-16T10:24:13.000Z
#include "nonlinearities.h" #include "exception.h" #include "utils.h" #include <cmath> using std::exp; using std::log; using std::tanh; #include "Eigen/Core" using Eigen::ArrayXd; using Eigen::ArrayXXd; CMT::Nonlinearity::~Nonlinearity() { } CMT::LogisticFunction::LogisticFunction(double epsilon) : mEpsilon(epsil...
22.481928
120
0.701608
[ "vector" ]
4ca018c3581697c484d40acee0b431163000aca3
13,603
cc
C++
src/model.cc
violet-zct/multisense-prob-fasttext
fbc78b4dfe55e6f152b90ae5227a557f8c5f5105
[ "BSD-3-Clause" ]
null
null
null
src/model.cc
violet-zct/multisense-prob-fasttext
fbc78b4dfe55e6f152b90ae5227a557f8c5f5105
[ "BSD-3-Clause" ]
null
null
null
src/model.cc
violet-zct/multisense-prob-fasttext
fbc78b4dfe55e6f152b90ae5227a557f8c5f5105
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright (c) 2016-present, Facebook, Inc. * 2018-present, Ben Athiwaratkun * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PAT...
28.047423
205
0.602588
[ "vector", "model" ]
4ca2b976f923ec34770977eaa995163bfd940573
2,149
cpp
C++
src/base/io_occ_gltf_reader.cpp
SudatiSimone/color-mayo
7e931f6565f71359fd586caf2ec144674b91aaf3
[ "BSD-2-Clause" ]
null
null
null
src/base/io_occ_gltf_reader.cpp
SudatiSimone/color-mayo
7e931f6565f71359fd586caf2ec144674b91aaf3
[ "BSD-2-Clause" ]
null
null
null
src/base/io_occ_gltf_reader.cpp
SudatiSimone/color-mayo
7e931f6565f71359fd586caf2ec144674b91aaf3
[ "BSD-2-Clause" ]
null
null
null
/**************************************************************************** ** Copyright (c) 2020, Fougue Ltd. <http://www.fougue.pro> ** All rights reserved. ** See license at https://github.com/fougue/mayo/blob/master/LICENSE.txt ****************************************************************************/ #includ...
32.560606
95
0.673336
[ "mesh", "geometry" ]
4ca640a597a2d2a6aaadd0e5cf8eeb3791973f13
1,209
cpp
C++
LeetCode/Problems/Algorithms/#10_RegularExpressionMatching_sol8_dp_12ms_6.6MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
1
2022-01-26T14:50:07.000Z
2022-01-26T14:50:07.000Z
LeetCode/Problems/Algorithms/#10_RegularExpressionMatching_sol8_dp_12ms_6.6MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
LeetCode/Problems/Algorithms/#10_RegularExpressionMatching_sol8_dp_12ms_6.6MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
class Solution { public: bool isMatch(string s, string p) { // '#' - notation for empty char s = "#" + s; p = "#" + p; int n = (int)s.length() - 1; int m = (int)p.length() - 1; vector<vector<bool>> dp(n + 1, vector<bool>(m + 1, false)); ...
36.636364
102
0.307692
[ "vector" ]
4ca8cf1bf9a7d38d19bae0d2d32a0e32be4597bc
1,850
cpp
C++
ExplosionPuzzle/ExplosionPuzzle/text.cpp
jesseroffel/explosion-game
df8e1481072d7ea4ecc61997b39d0575d63386b3
[ "MIT" ]
null
null
null
ExplosionPuzzle/ExplosionPuzzle/text.cpp
jesseroffel/explosion-game
df8e1481072d7ea4ecc61997b39d0575d63386b3
[ "MIT" ]
null
null
null
ExplosionPuzzle/ExplosionPuzzle/text.cpp
jesseroffel/explosion-game
df8e1481072d7ea4ecc61997b39d0575d63386b3
[ "MIT" ]
null
null
null
#include "text.h" Text::Text() { } Text::Text(std::string Text, TTF_Font* fFont, SDL_Renderer* rRend, int posx, int posy, SDL_Color cColor) { mPosX = posx; mPosY = posy; mFontID = 0; if (Text == "") { tTextTexture = new Texture(); mTextWidth = 0; mTextHeight = 0; hasText = false; } else { tTextTexture ...
24.025974
106
0.691892
[ "render" ]
4cac9a208df1271d0c66ae1b8cbf87d8f56d9fa9
635
cpp
C++
Chef and Queries/main.cpp
raafatabualazm/Competitive-Programming-Solutions
3c8c953e9597e64a77e804ba4d3881c8f0354c7a
[ "MIT" ]
null
null
null
Chef and Queries/main.cpp
raafatabualazm/Competitive-Programming-Solutions
3c8c953e9597e64a77e804ba4d3881c8f0354c7a
[ "MIT" ]
null
null
null
Chef and Queries/main.cpp
raafatabualazm/Competitive-Programming-Solutions
3c8c953e9597e64a77e804ba4d3881c8f0354c7a
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int64_t Q, S1, A, B, sum = 0; cin >> Q >> S1 >> A >> B; //bitset<4294967296> nums; vector<bool> nums(4294967296, 0); for (int64_t i = 0; i < Q; i++) { if (S1&1) { if (!nums[(S1 / 2)]) { nu...
18.676471
39
0.340157
[ "vector" ]
4caebdce24c5605b8a9dc9081ff04e54a2929038
3,899
cpp
C++
Engine/Src/Runtime/GUI/Implementations/Default/Widgets/WindowFrame.cpp
Septus10/Fade-Engine
285a2a1cf14a4e9c3eb8f6d30785d1239cef10b6
[ "MIT" ]
null
null
null
Engine/Src/Runtime/GUI/Implementations/Default/Widgets/WindowFrame.cpp
Septus10/Fade-Engine
285a2a1cf14a4e9c3eb8f6d30785d1239cef10b6
[ "MIT" ]
null
null
null
Engine/Src/Runtime/GUI/Implementations/Default/Widgets/WindowFrame.cpp
Septus10/Fade-Engine
285a2a1cf14a4e9c3eb8f6d30785d1239cef10b6
[ "MIT" ]
null
null
null
#include <GUI/Widgets/WindowFrame.hpp> #include <GUI/Widgets/Button.hpp> #include <PlatformCore/PlatformCore.hpp> namespace Fade { inline namespace GUI { CWindowFrame::CWindowFrame() : m_IsHoveringExit(false) , m_IsHoveringMaximize(false) , m_IsHoveringMinimize(false) , m_IsHoveringRight(false) , m_IsHoveringL...
29.992308
163
0.717876
[ "render" ]
4cb6b4dacbe87f5195750c5ece895e5fae0f5839
39,428
cpp
C++
regxmllib/src/main/cpp/com/sandflow/smpte/regxml/FragmentBuilder.cpp
ErikCJohansson/regxmllib
57b44282a890e475d7601faec4e275df07e3f812
[ "BSD-2-Clause" ]
null
null
null
regxmllib/src/main/cpp/com/sandflow/smpte/regxml/FragmentBuilder.cpp
ErikCJohansson/regxmllib
57b44282a890e475d7601faec4e275df07e3f812
[ "BSD-2-Clause" ]
null
null
null
regxmllib/src/main/cpp/com/sandflow/smpte/regxml/FragmentBuilder.cpp
ErikCJohansson/regxmllib
57b44282a890e475d7601faec4e275df07e3f812
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c), Pierre-Anthony Lemieux (pal@palemieux.com) * 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 * ...
27.380556
289
0.689028
[ "vector" ]
4cbb8a6c3f7f347290c43f893ac416a9db3f4418
3,125
hpp
C++
src/config.hpp
MaBunny/My_IRCbot
82fc1e27843628b5cae9e5f6e66de456acb140d5
[ "Apache-2.0" ]
1
2019-04-29T15:01:57.000Z
2019-04-29T15:01:57.000Z
src/config.hpp
OtakuSenpai/My_IRCbot
82fc1e27843628b5cae9e5f6e66de456acb140d5
[ "Apache-2.0" ]
7
2016-07-01T06:41:23.000Z
2016-10-31T13:35:20.000Z
src/config.hpp
MaBunny/My_IRCbot
82fc1e27843628b5cae9e5f6e66de456acb140d5
[ "Apache-2.0" ]
null
null
null
#ifndef CONFIG_HPP #define CONFIG_HPP #include <string> #include <fstream> #include "helpers.hpp" class Config { private: std::string cfg_file; std::string meta_file; Settings settings; Metadata meta; void GetFilename(std::string &a) { cfg_file = a; } //Helper functions to get and ...
33.244681
179
0.63968
[ "object" ]
4cc0ee7ad38174cf93e6d8371123f21c1b49551a
1,737
cpp
C++
src/parse.cpp
likunlun0618/snn
65d2d919ad40842eb1682b9484a067d792503318
[ "MIT" ]
4
2020-01-16T08:15:22.000Z
2020-03-30T04:30:23.000Z
src/parse.cpp
likunlun0618/snn
65d2d919ad40842eb1682b9484a067d792503318
[ "MIT" ]
null
null
null
src/parse.cpp
likunlun0618/snn
65d2d919ad40842eb1682b9484a067d792503318
[ "MIT" ]
null
null
null
#include <cstring> #include <fstream> #include <sstream> #include "parse.h" namespace snn { namespace parse { vector<string> readFile(string filename) { std::ifstream file(filename); char buffer[1024]; vector<string> lines; while (file.getline(buffer, sizeof(buffer))) lines.push_back(string(b...
21.444444
74
0.572827
[ "vector" ]
4ccf613cf27f16e4c553b692f7b1e45fe9479dda
1,779
hpp
C++
include/blue/camera/OrthographicCamera.hpp
szszszsz/blue
a6a93d9a6c7bda6b4ed4fa3b9b4b01094c4915b8
[ "MIT" ]
4
2019-07-21T17:09:48.000Z
2021-02-20T03:34:10.000Z
include/blue/camera/OrthographicCamera.hpp
szszszsz/blue
a6a93d9a6c7bda6b4ed4fa3b9b4b01094c4915b8
[ "MIT" ]
2
2019-07-25T08:29:18.000Z
2020-01-07T09:04:51.000Z
include/blue/camera/OrthographicCamera.hpp
szszszsz/blue
a6a93d9a6c7bda6b4ed4fa3b9b4b01094c4915b8
[ "MIT" ]
1
2019-08-10T08:35:55.000Z
2019-08-10T08:35:55.000Z
#pragma once #include "blue/camera/Camera.hpp" class OrthographicCamera : public Camera { public: enum class Mode { CLIP_SPACE, // for 3d rendering SCREEN_SPACE // for 2d rendering }; explicit OrthographicCamera(Mode mode, std::uint16_t viewport_width, std::uint16_t viewport_height) :...
19.549451
103
0.698145
[ "3d" ]
4cd0e336cf92a3f1da7c8b2a24cc79dbc2182765
13,324
cpp
C++
source/engine.cpp
EfeDursun125/CS-EBOT
8ced23754a082ea52d03d2e79c98aeb2a1c51a5b
[ "Apache-2.0" ]
null
null
null
source/engine.cpp
EfeDursun125/CS-EBOT
8ced23754a082ea52d03d2e79c98aeb2a1c51a5b
[ "Apache-2.0" ]
null
null
null
source/engine.cpp
EfeDursun125/CS-EBOT
8ced23754a082ea52d03d2e79c98aeb2a1c51a5b
[ "Apache-2.0" ]
null
null
null
// // Copyright (c) 2003-2009, by Yet Another POD-Bot Development Team. // // 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 t...
24.765799
160
0.631492
[ "vector" ]
4cd2e325918f02590b9453121776932f2c5dd78a
279
cpp
C++
Cpp_primer_5th/code_part9/prog9_5.cpp
Links789/Cpp_primer_5th
18a60b75c358a79fdf006f8cb978c9be6e6aedd5
[ "MIT" ]
null
null
null
Cpp_primer_5th/code_part9/prog9_5.cpp
Links789/Cpp_primer_5th
18a60b75c358a79fdf006f8cb978c9be6e6aedd5
[ "MIT" ]
null
null
null
Cpp_primer_5th/code_part9/prog9_5.cpp
Links789/Cpp_primer_5th
18a60b75c358a79fdf006f8cb978c9be6e6aedd5
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <string> using namespace std; vector<int>::const_iterator func(vector<int>::const_iterator begin, vector<int>::const_iterator end, int i){ while(begin != end){ if(*begin == i) return begin; ++begin; } return end; }
17.4375
108
0.677419
[ "vector" ]
4cd61eefb89003d5c1cc9fa1a1af8ca3bf49318c
16,841
cpp
C++
iris_sfs/FTModel.cpp
amrotork/face_swap
e97de5eac4c182f62cf1c31279ed2127c2252c50
[ "Apache-2.0" ]
2
2018-03-20T05:30:20.000Z
2018-07-27T02:35:06.000Z
iris_sfs/FTModel.cpp
zzjf/faceSwap
e51e9aadc0ed5aa3fe5f303b5c0591205930b484
[ "Apache-2.0" ]
null
null
null
iris_sfs/FTModel.cpp
zzjf/faceSwap
e51e9aadc0ed5aa3fe5f303b5c0591205930b484
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2015 USC, IRIS, Computer vision Lab */ //---------------------------------------------------------------------- // File: FTModel.cpp // Authors: Yann Dumortier (yann.dumortier@gmail.com), // Jongmoo Choi (jongmooc@usc.edu), // Sang-il Choi (csichoisi@gmail.net) // De...
27.836364
141
0.561546
[ "mesh", "shape", "model", "3d" ]
4ce556af7eaa43cc20ae5a0a794f6503be30fbcb
23,734
cpp
C++
ork.lev2/integrationtests/singularity/harness.cpp
tweakoz/orkid
e3f78dfb3375853fd512a9d0828b009075a18345
[ "BSL-1.0" ]
25
2015-02-21T04:21:21.000Z
2022-01-20T05:19:27.000Z
ork.lev2/integrationtests/singularity/harness.cpp
tweakoz/orkid
e3f78dfb3375853fd512a9d0828b009075a18345
[ "BSL-1.0" ]
113
2019-08-23T04:52:14.000Z
2021-09-13T04:04:11.000Z
ork.lev2/integrationtests/singularity/harness.cpp
tweakoz/orkid
e3f78dfb3375853fd512a9d0828b009075a18345
[ "BSL-1.0" ]
4
2017-02-20T18:17:55.000Z
2020-06-28T03:47:55.000Z
//////////////////////////////////////////////////////////////// // Orkid Media Engine // Copyright 1996-2020, Michael T. Mayers. // Distributed under the Boost Software License - Version 1.0 - August 17, 2003 // see http://www.boost.org/LICENSE_1_0.txt //////////////////////////////////////////////////////////////// ...
42.68705
106
0.504761
[ "solid" ]
4ce7373f68654f52c097d9e035eead9e7b33e004
6,147
cpp
C++
WiFiWeatherAndClockAuto/src/WiFiWeatherAndClockAuto.cpp
Carlo47/WiFiWeatherAndClockAuto
484503e83fb80feeb899433cdb645d604352bc3d
[ "Unlicense" ]
null
null
null
WiFiWeatherAndClockAuto/src/WiFiWeatherAndClockAuto.cpp
Carlo47/WiFiWeatherAndClockAuto
484503e83fb80feeb899433cdb645d604352bc3d
[ "Unlicense" ]
null
null
null
WiFiWeatherAndClockAuto/src/WiFiWeatherAndClockAuto.cpp
Carlo47/WiFiWeatherAndClockAuto
484503e83fb80feeb899433cdb645d604352bc3d
[ "Unlicense" ]
null
null
null
/** * Sketch WiFiWeatherAndClockAuto.cpp * Author 2019-02-15 Ch. Geiser * Purpose Connects via WLAN to openWeatherMap.org and fetches the weather data * in JSON format, parses the strings with the JSON parser and displays * the data on the integrated OLED display of...
31.362245
101
0.63104
[ "3d" ]
4ce968f4807fa14e05d1d7b848a9681250ae72ab
9,350
cpp
C++
src/seed.cpp
soybin/idyll
c05f0c79f97c6e701ccf8cc2d5c2e68bc271ddfc
[ "MIT" ]
13
2020-05-31T13:07:19.000Z
2021-08-21T14:55:50.000Z
src/seed.cpp
soybin/idyll
c05f0c79f97c6e701ccf8cc2d5c2e68bc271ddfc
[ "MIT" ]
1
2021-08-21T15:06:44.000Z
2021-08-21T15:06:44.000Z
src/seed.cpp
soybin/idyll
c05f0c79f97c6e701ccf8cc2d5c2e68bc271ddfc
[ "MIT" ]
null
null
null
/* * MIT License * Copyright (c) 2020 Pablo Peñarroja */ #include "seed.h" #include <algorithm> // mersennes' twister prng algo initialized with random device // seed seed::seed() : rng(dev()) { // // //======== r e n d e r e r c o n s t a n t s ========...
28.593272
80
0.586203
[ "vector" ]
4cf0a69dcf1881b4e6a25cd86d11b8a7e2e25af0
5,728
cpp
C++
text_billboard/main.cpp
if1live/libsora.so-src
a5fa7bd9bd313422a5e174db270a9784262a5f9e
[ "MIT" ]
1
2016-10-10T06:40:16.000Z
2016-10-10T06:40:16.000Z
text_billboard/main.cpp
if1live/libsora.so-src
a5fa7bd9bd313422a5e174db270a9784262a5f9e
[ "MIT" ]
null
null
null
text_billboard/main.cpp
if1live/libsora.so-src
a5fa7bd9bd313422a5e174db270a9784262a5f9e
[ "MIT" ]
3
2019-06-06T08:39:39.000Z
2021-10-05T09:23:18.000Z
// Ŭnicode please #include <cstdlib> #include <GLFW/glfw3.h> #include <glm/glm.hpp> #include <glm/ext.hpp> #include "sys_font.h" #include "primitive_mesh.h" const int kWidth = 300; const int kHeight = 300; using namespace glm; using namespace haruna; using namespace haruna::gl; glm::mat4 g_proj_mat; glm::mat4 g_vie...
27.27619
101
0.696753
[ "render", "vector", "3d" ]
e07a82d7d7637509a813bc8ae3f943afc87ceb2e
137,026
cpp
C++
CWE-399/source_files/CVE-2013-0781/firefox_18.0_CVE_2013_0781_layout_printing_nsPrintEngine.cpp
CGCL-codes/VulDeePecker
98610f3e116df97a1e819ffc81fbc7f6f138a8f2
[ "Apache-2.0" ]
185
2017-12-14T08:18:15.000Z
2022-03-30T02:58:36.000Z
B2G/gecko/layout/printing/nsPrintEngine.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
11
2018-01-30T23:31:20.000Z
2022-01-17T05:03:56.000Z
CWE-399/source_files/CVE-2013-0781/firefox_18.0_CVE_2013_0781_layout_printing_nsPrintEngine.cpp
CGCL-codes/VulDeePecker
98610f3e116df97a1e819ffc81fbc7f6f138a8f2
[ "Apache-2.0" ]
87
2018-01-10T08:12:32.000Z
2022-02-19T10:29:31.000Z
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "nsPrintEngine.h" #inclu...
33.993054
154
0.634522
[ "object" ]
e082d5ed6efcd31d7f6b595709cc6c39dfb5b2bd
5,199
hpp
C++
include/nodamushi/svd/normalized/Cpu.hpp
nodamushi/nsvd-reader
cf3a840aaac78d5791df1cf045596ec20dc03257
[ "CC0-1.0" ]
null
null
null
include/nodamushi/svd/normalized/Cpu.hpp
nodamushi/nsvd-reader
cf3a840aaac78d5791df1cf045596ec20dc03257
[ "CC0-1.0" ]
null
null
null
include/nodamushi/svd/normalized/Cpu.hpp
nodamushi/nsvd-reader
cf3a840aaac78d5791df1cf045596ec20dc03257
[ "CC0-1.0" ]
null
null
null
/*! @brief normalized CPU and SAU @file nodamushi/svd/normalized/Cpu.hpp */ /* * These codes are licensed under CC0. * http://creativecommons.org/publicdomain/zero/1.0/ */ #ifndef NODAMUSHI_SVD_NORMALIZED_CPU_HPP #define NODAMUSHI_SVD_NORMALIZED_CPU_HPP # include <cstdint> # include "nodamushi/svd/Endian.hpp" #...
27.802139
87
0.677246
[ "vector" ]
e083f502c583986858753ff13b1039421b7e6d20
1,829
cpp
C++
main.cpp
Gabe-Jespersen/JespGen
cbd34c813868dc705b4682297e248e14078c8610
[ "BSD-2-Clause" ]
null
null
null
main.cpp
Gabe-Jespersen/JespGen
cbd34c813868dc705b4682297e248e14078c8610
[ "BSD-2-Clause" ]
null
null
null
main.cpp
Gabe-Jespersen/JespGen
cbd34c813868dc705b4682297e248e14078c8610
[ "BSD-2-Clause" ]
null
null
null
/* * ===================================================================================== * * Filename: main.cpp * * Description: gaussian random number generator * * Version: 1.0 * Created: 11/28/2015 12:18:30 PM * Revision: none * Compiler: gcc * * Author:...
23.448718
90
0.472389
[ "vector" ]
e084147deb761cf729964212be6da48e236bd762
5,301
cpp
C++
src/mbgl/renderer/painter_line.cpp
tamaskenez/mapbox-gl-native-cmake
169e6412fd880278a0fb080826609d305e6d500b
[ "BSD-2-Clause" ]
1
2015-07-01T21:59:13.000Z
2015-07-01T21:59:13.000Z
src/mbgl/renderer/painter_line.cpp
tamaskenez/mapbox-gl-native-cmake
169e6412fd880278a0fb080826609d305e6d500b
[ "BSD-2-Clause" ]
null
null
null
src/mbgl/renderer/painter_line.cpp
tamaskenez/mapbox-gl-native-cmake
169e6412fd880278a0fb080826609d305e6d500b
[ "BSD-2-Clause" ]
null
null
null
#include <mbgl/renderer/painter.hpp> #include <mbgl/renderer/line_bucket.hpp> #include <mbgl/style/style.hpp> #include <mbgl/style/style_layer.hpp> #include <mbgl/style/style_layout.hpp> #include <mbgl/map/sprite.hpp> #include <mbgl/map/tile_id.hpp> #include <mbgl/shader/line_shader.hpp> #include <mbgl/shader/linesdf_s...
40.159091
155
0.683456
[ "geometry" ]
e08fbbc115e79fe8893cc4795025f1e808d25762
1,682
hpp
C++
src/Intensive/EnvScalarQuantities.hpp
glmcr/NPGTOS
6b7dee9bb0e8b84c187a1a8ce9cda756c0ce75e3
[ "MIT" ]
1
2020-05-25T01:16:03.000Z
2020-05-25T01:16:03.000Z
src/Intensive/EnvScalarQuantities.hpp
glmcr/NPGTOS
6b7dee9bb0e8b84c187a1a8ce9cda756c0ce75e3
[ "MIT" ]
null
null
null
src/Intensive/EnvScalarQuantities.hpp
glmcr/NPGTOS
6b7dee9bb0e8b84c187a1a8ce9cda756c0ce75e3
[ "MIT" ]
null
null
null
#ifndef _NPGTOSIntensiveEnvScalarQuantities_hpp #define _NPGTOSIntensiveEnvScalarQuantities_hpp //--- #include "NPGTOS.hpp" #include "Core/Core.hpp" #include "Core/Constants.hpp" #include "Core/ScalarQuantity.hpp" #include "Intensive/Intensive.hpp" //--- using namespace NPGTOS; //--- class Intensive::EnvScalarQuanti...
27.57377
104
0.686088
[ "vector" ]
e098d43c517d77d7829e2bd29dfa0236fefba6bd
959
cpp
C++
advanced/1048.cpp
Gongyihang/PAT
7425be22b0a844fb7171560e034fd7a867680b49
[ "MIT" ]
null
null
null
advanced/1048.cpp
Gongyihang/PAT
7425be22b0a844fb7171560e034fd7a867680b49
[ "MIT" ]
null
null
null
advanced/1048.cpp
Gongyihang/PAT
7425be22b0a844fb7171560e034fd7a867680b49
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <vector> #include <string> #include <math.h> #include <map> #include <set> using namespace std; int main() { int N, M; scanf("%d %d", &N, &M); vector<int> v; int coin; for (int i = 0; i < N; i++) { scanf("%d", &coin); v.push_bac...
16.824561
46
0.342023
[ "vector" ]
e0992f440f1c7eb2f30d9928b14052125d4d7ca6
5,120
hpp
C++
Core/Device.hpp
GlynnJKW/Stratum
ddc55796f3207fe3df23c455c6304cb72aebcb02
[ "MIT" ]
null
null
null
Core/Device.hpp
GlynnJKW/Stratum
ddc55796f3207fe3df23c455c6304cb72aebcb02
[ "MIT" ]
null
null
null
Core/Device.hpp
GlynnJKW/Stratum
ddc55796f3207fe3df23c455c6304cb72aebcb02
[ "MIT" ]
null
null
null
#pragma once #include <list> #include <utility> #include <Core/DescriptorSet.hpp> #include <Core/CommandBuffer.hpp> #include <Core/Instance.hpp> #include <Util/Util.hpp> class CommandBuffer; class Fence; class Window; struct DeviceMemoryAllocation { VkDeviceMemory mDeviceMemory; VkDeviceSize mOffset; VkDeviceSiz...
38.496241
244
0.801758
[ "object", "vector" ]
e099a5cc6b0dbc5b360ce870dc3aca045eb1b44e
2,842
cpp
C++
src/Editor/ImGuiRenderer.cpp
matey-99/MistEngine
1a60f98da6b9331b3249f995e2b2566449ce0187
[ "MIT" ]
2
2022-02-08T13:16:01.000Z
2022-02-28T18:21:35.000Z
src/Editor/ImGuiRenderer.cpp
matey-99/MistEngine
1a60f98da6b9331b3249f995e2b2566449ce0187
[ "MIT" ]
null
null
null
src/Editor/ImGuiRenderer.cpp
matey-99/MistEngine
1a60f98da6b9331b3249f995e2b2566449ce0187
[ "MIT" ]
null
null
null
#include "ImGuiRenderer.h" #include "Scene/SceneSerializer.h" ImGuiRenderer::ImGuiRenderer() { } void ImGuiRenderer::Setup(GLFWwindow* window, const char* glsl_version, Ref<Scene> scene) { IMGUI_CHECKVERSION(); ImGui::CreateContext(); m_IO = &ImGui::GetIO(); (void)m_IO; m_IO->ConfigFlags |= ImGuiCon...
28.707071
154
0.6886
[ "render" ]
e09bc0a0cc6895655c56ea2d7170f1a49d9fa2d3
100
cc
C++
prob05/calculate_avg.cc
Jocruiser/Jocruiser
14cfbdd7c2f914cc4b3e2592a597edbdb82dd6a5
[ "MIT" ]
null
null
null
prob05/calculate_avg.cc
Jocruiser/Jocruiser
14cfbdd7c2f914cc4b3e2592a597edbdb82dd6a5
[ "MIT" ]
null
null
null
prob05/calculate_avg.cc
Jocruiser/Jocruiser
14cfbdd7c2f914cc4b3e2592a597edbdb82dd6a5
[ "MIT" ]
null
null
null
#include <vector> double CalculateAvg(std::vector<double>& input) { // Complete this function. }
16.666667
49
0.71
[ "vector" ]
e0a3983962ecbba7cf7dbd62a18c28d7ed0ce691
1,722
cc
C++
matlab-gui/widgets/checkbox.cc
Curab7/matlab
b30430b8e1b44453c1c9328f8cdafb88cdd3a38b
[ "Apache-2.0" ]
null
null
null
matlab-gui/widgets/checkbox.cc
Curab7/matlab
b30430b8e1b44453c1c9328f8cdafb88cdd3a38b
[ "Apache-2.0" ]
null
null
null
matlab-gui/widgets/checkbox.cc
Curab7/matlab
b30430b8e1b44453c1c9328f8cdafb88cdd3a38b
[ "Apache-2.0" ]
7
2019-07-08T00:55:05.000Z
2019-07-16T14:12:29.000Z
#include "CheckBox.h" #include "widget-helper.h" #include "registry.h" CheckBox::CheckBox(const FunctionCallbackInfo<Value>& args) : QCheckBox(GetTargetWidget()) { INIT_OBJECT(args); GET(std::string, text); GET(Local<Function>, onclick); GET_IF(bool, init_val, false); this->setText(text.c_str()); aut...
30.210526
162
0.705575
[ "object" ]
e0a50f08927fb03eb1a49713595ea261b493ab3b
321
cpp
C++
BOJ/11727.cpp
ReinforceIII/Algorithm
355f6e19f8deb6a76f82f5283d7c1987acd699a6
[ "MIT" ]
null
null
null
BOJ/11727.cpp
ReinforceIII/Algorithm
355f6e19f8deb6a76f82f5283d7c1987acd699a6
[ "MIT" ]
null
null
null
BOJ/11727.cpp
ReinforceIII/Algorithm
355f6e19f8deb6a76f82f5283d7c1987acd699a6
[ "MIT" ]
null
null
null
/* 11727 2xn 타일링2 */ #include <iostream> #include <string> #include <algorithm> #include <vector> using namespace std; int memo[10001]; int main() { int n; cin>>n; memo[0] = 1; memo[1] = 1; for(int i=2; i<=n; i++) { memo[i] = memo[i-1] + 2*memo[i-2]; memo[i]%=10007; } cout<<memo[n]; return 0; ...
15.285714
38
0.560748
[ "vector" ]
e0a8f0bf2b8c34f19a3016e246349a3289680ee0
7,578
cc
C++
func/tf/image.cc
jchesterpivotal/Faasm
d4e25baf0c69df7eea8614de3759792748f7b9d4
[ "Apache-2.0" ]
1
2020-04-21T07:33:42.000Z
2020-04-21T07:33:42.000Z
func/tf/image.cc
TNTtian/Faasm
377f4235063a7834724cc750697d3e0280d4a581
[ "Apache-2.0" ]
4
2020-02-03T18:54:32.000Z
2020-05-13T18:28:28.000Z
func/tf/image.cc
TNTtian/Faasm
377f4235063a7834724cc750697d3e0280d4a581
[ "Apache-2.0" ]
null
null
null
#include "image.h" #include <faasm/time.h> #include <faasm/input.h> #include <faasm/faasm.h> #include <fcntl.h> #include <getopt.h> #include <sys/time.h> #include <sys/types.h> #include <sys/uio.h> #include <unistd.h> #include <cstdarg> #include <cstdio> #include <cstdlib> #include <fstream> #include <iomanip> #incl...
28.704545
108
0.622724
[ "vector", "model" ]
e0ac0299d9eafcc95b7ff1c847456c541345217a
47,476
cpp
C++
src/TextRange.cpp
TimoKunze/RichTextBoxControl
7bc1c30ce836e96cdb085e5fbaa6ccf1734d1e3f
[ "MIT" ]
4
2018-04-23T07:25:15.000Z
2020-12-03T05:52:38.000Z
src/TextRange.cpp
TimoKunze/RichTextBoxControl
7bc1c30ce836e96cdb085e5fbaa6ccf1734d1e3f
[ "MIT" ]
null
null
null
src/TextRange.cpp
TimoKunze/RichTextBoxControl
7bc1c30ce836e96cdb085e5fbaa6ccf1734d1e3f
[ "MIT" ]
2
2019-07-21T11:12:34.000Z
2022-01-31T01:11:45.000Z
// TextRange.cpp: A wrapper for a range of text. #include "stdafx.h" #include "TextRange.h" #include "ClassFactory.h" ////////////////////////////////////////////////////////////////////// // implementation of ISupportErrorInfo STDMETHODIMP TextRange::InterfaceSupportsErrorInfo(REFIID interfaceToCheck) { if(InlineI...
29.6725
426
0.706883
[ "object" ]
e0addaca48e349c6d1cc88802a5ef0a842c0c1f7
504
cc
C++
src/app/riscv-test-config.cc
csail-csg/riscv-meta
4258e8e8784ad2fb2bc77f9d867fe762f86561aa
[ "BSD-3-Clause" ]
6
2019-02-07T18:22:17.000Z
2021-11-05T01:43:09.000Z
src/app/riscv-test-config.cc
csail-csg/riscv-meta
4258e8e8784ad2fb2bc77f9d867fe762f86561aa
[ "BSD-3-Clause" ]
null
null
null
src/app/riscv-test-config.cc
csail-csg/riscv-meta
4258e8e8784ad2fb2bc77f9d867fe762f86561aa
[ "BSD-3-Clause" ]
2
2018-02-06T13:26:41.000Z
2020-12-06T09:46:16.000Z
// // riscv-test-config.cc // #include <cassert> #include <cstring> #include <cstdlib> #include <functional> #include <algorithm> #include <string> #include <memory> #include <vector> #include <deque> #include <map> #include "riscv-config-parser.h" #include "riscv-config.h" int main(int argc, const char * argv[]) {...
15.272727
55
0.652778
[ "vector" ]
e0b928e19412d1dca54c1208c6dde5946d0d6855
2,190
hpp
C++
examples/Particles/SpacebattleDemo.hpp
AntoineJT/NazaraEngine
e0b05a7e7a2779e20a593b4083b4a881cc57ce14
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
null
null
null
examples/Particles/SpacebattleDemo.hpp
AntoineJT/NazaraEngine
e0b05a7e7a2779e20a593b4083b4a881cc57ce14
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
null
null
null
examples/Particles/SpacebattleDemo.hpp
AntoineJT/NazaraEngine
e0b05a7e7a2779e20a593b4083b4a881cc57ce14
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
null
null
null
#pragma once #ifndef NAZARA_EXAMPLES_PARTICLES_SPACEBATTLE_HPP #define NAZARA_EXAMPLES_PARTICLES_SPACEBATTLE_HPP #include <Nazara/Audio/Music.hpp> #include <Nazara/Audio/Sound.hpp> #include <Nazara/Graphics/AbstractBackground.hpp> #include <Nazara/Graphics/Model.hpp> #include <Nazara/Graphics/ParticleStruct.hpp> #inc...
30.416667
104
0.79589
[ "vector", "model" ]
e0bd195ed0d70fd3c9f936db1dfcb2750e639b01
3,136
cpp
C++
userrecognizer_window.cpp
moonmedtwo/MyEyes
d64719863e559779389603233686f30b0bf50199
[ "MIT" ]
1
2019-05-05T01:13:59.000Z
2019-05-05T01:13:59.000Z
userrecognizer_window.cpp
moonmedtwo/MyEyes
d64719863e559779389603233686f30b0bf50199
[ "MIT" ]
null
null
null
userrecognizer_window.cpp
moonmedtwo/MyEyes
d64719863e559779389603233686f30b0bf50199
[ "MIT" ]
null
null
null
#include "userrecognizer_window.h" #include "ui_userRecognizer_window.h" /* * @brief: parse cloud list from QStringList */ void UserRecognizer_Window::update_cloud_list(const QStringList &list, const QString &root) { if(list.size() > 0) { cloud_list_.clear(); for(int i = 0; i < list.size(); +...
26.352941
92
0.618941
[ "render" ]
e0c47a8bcdfc4c099cce60cb3a38017b8e70a741
659
cpp
C++
intro_vectors.cpp
pysogge/cpp_script_projects
58578106ed0f33cc60de11df8eb4886fc3595797
[ "MIT" ]
1
2022-03-10T15:24:36.000Z
2022-03-10T15:24:36.000Z
intro_vectors.cpp
pysogge/cpp_script_projects
58578106ed0f33cc60de11df8eb4886fc3595797
[ "MIT" ]
null
null
null
intro_vectors.cpp
pysogge/cpp_script_projects
58578106ed0f33cc60de11df8eb4886fc3595797
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; int main() { int n, q; int k, val; int indexI, indexJ; // cin >> n >> q; scanf("%d %d", &n, &q); vector< vector<int> > a(n); for(int i = 0; i < n; i++){ cin >> k; vector<int> b(k); for(int j = 0; j < ...
18.828571
51
0.38088
[ "vector" ]
e0c68a3b4655bc400633a1b10bc3adab46b73880
2,283
cpp
C++
twitPick/src/TwitterParser.cpp
rlunaro/twitPick
91a8be4dde7bbca1bbe39f7fe8e36cf90e88338f
[ "Apache-2.0" ]
null
null
null
twitPick/src/TwitterParser.cpp
rlunaro/twitPick
91a8be4dde7bbca1bbe39f7fe8e36cf90e88338f
[ "Apache-2.0" ]
null
null
null
twitPick/src/TwitterParser.cpp
rlunaro/twitPick
91a8be4dde7bbca1bbe39f7fe8e36cf90e88338f
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2018 Raul Luna * * 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...
24.287234
75
0.696452
[ "vector" ]
e0c81f87315340b596df0fd67a0f8365ccdb1cb2
1,584
hpp
C++
spotify_stream/src/drm/widevine_session.hpp
Yanick-Salzmann/carpi
29f5e1bf1eb6243e45690f040e4df8e7c228e897
[ "Apache-2.0" ]
2
2020-06-07T16:47:20.000Z
2021-03-20T10:41:34.000Z
spotify_stream/src/drm/widevine_session.hpp
Yanick-Salzmann/carpi
29f5e1bf1eb6243e45690f040e4df8e7c228e897
[ "Apache-2.0" ]
null
null
null
spotify_stream/src/drm/widevine_session.hpp
Yanick-Salzmann/carpi
29f5e1bf1eb6243e45690f040e4df8e7c228e897
[ "Apache-2.0" ]
null
null
null
#ifndef CARPI_WIDEVINE_SESSION_HPP #define CARPI_WIDEVINE_SESSION_HPP #include <string> #include <vector> #include "../cdm/content_decryption_module.hpp" #include <common_utils/log.hpp> #include <net_utils/http_client.hpp> #include <cstdint> #include <thread> #include <mutex> #include <condition_variable> #include <uu...
28.8
164
0.684975
[ "vector" ]
e0cb77517b1a0db9cfbfd4d797213beb714d7f7d
5,392
cpp
C++
src/modules/packetio/memory/dpdk/pool_allocator.cpp
ronanjs/openperf
55b759e399254547f8a6590b2e19cb47232265b7
[ "Apache-2.0" ]
null
null
null
src/modules/packetio/memory/dpdk/pool_allocator.cpp
ronanjs/openperf
55b759e399254547f8a6590b2e19cb47232265b7
[ "Apache-2.0" ]
null
null
null
src/modules/packetio/memory/dpdk/pool_allocator.cpp
ronanjs/openperf
55b759e399254547f8a6590b2e19cb47232265b7
[ "Apache-2.0" ]
null
null
null
#include <memory> #include <numeric> #include "lwip/pbuf.h" #include "core/op_core.h" #include "packetio/drivers/dpdk/dpdk.h" #include "packetio/drivers/dpdk/model/port_info.hpp" #include "packetio/memory/dpdk/memp.h" #include "packetio/memory/dpdk/pool_allocator.hpp" namespace openperf::packetio::dpdk { /* * Per ...
33.91195
80
0.567322
[ "vector", "model" ]
e0cb94175066c636c7883b999b53989d6024d334
6,161
cpp
C++
modules/wechat_qrcode/src/zxing/common/bitarray.cpp
pccvlab/opencv_contrib
f6a39c5d01a7b2d2bb223a2a67beb9736fce7d93
[ "Apache-2.0" ]
7,158
2016-07-04T22:19:27.000Z
2022-03-31T07:54:32.000Z
modules/wechat_qrcode/src/zxing/common/bitarray.cpp
pccvlab/opencv_contrib
f6a39c5d01a7b2d2bb223a2a67beb9736fce7d93
[ "Apache-2.0" ]
2,184
2016-07-05T12:04:14.000Z
2022-03-30T19:10:12.000Z
modules/wechat_qrcode/src/zxing/common/bitarray.cpp
pccvlab/opencv_contrib
f6a39c5d01a7b2d2bb223a2a67beb9736fce7d93
[ "Apache-2.0" ]
5,535
2016-07-06T12:01:10.000Z
2022-03-31T03:13:24.000Z
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. // // Tencent is pleased to support the open source community by making WeChat QRCode available. // Copyright (C) 2020 THL A29...
26.32906
95
0.566466
[ "vector" ]
e0cf75c2360316aab6948642c5db979403b095ee
1,580
cpp
C++
tests/test-hash/test-hash.cpp
johnnymac647/humlib
c67954045fb5570915d6a1c75d9a1e36cc9bdf93
[ "BSD-2-Clause" ]
19
2016-06-18T02:03:56.000Z
2022-02-23T17:26:32.000Z
tests/test-hash/test-hash.cpp
johnnymac647/humlib
c67954045fb5570915d6a1c75d9a1e36cc9bdf93
[ "BSD-2-Clause" ]
43
2017-03-09T07:32:12.000Z
2022-03-23T20:18:35.000Z
tests/test-hash/test-hash.cpp
johnnymac647/humlib
c67954045fb5570915d6a1c75d9a1e36cc9bdf93
[ "BSD-2-Clause" ]
5
2019-11-14T22:24:02.000Z
2021-09-07T18:27:21.000Z
// Description: test HumHash class. #include <iostream> #include "HumHash.h" #include "HumNum.h" using namespace hum; int main(int argc, char** argv) { HumHash myhash; myhash.setValue("LO", "N", "vis", "3"); cout << "VALUE for vis = " << myhash.getValue("LO", "N", "vis") << endl; cout << "VALUE for vis =...
36.744186
78
0.544304
[ "vector" ]
e0d5c82f62ae0e668dafeb179d0455e9bb907245
2,028
cpp
C++
UtinniCore/swg/ui/utinni_command_parser.cpp
ptklatt/Utinni
db69278c9f35464242f4e9d62b1ea9587c7ec60f
[ "MIT" ]
8
2020-10-30T02:44:59.000Z
2022-03-24T03:14:05.000Z
UtinniCore/swg/ui/utinni_command_parser.cpp
ModTheGalaxy/Utinni
6fc118d7d80667a6e12864fc5fffe5782eaacd58
[ "MIT" ]
2
2021-01-12T00:47:23.000Z
2021-03-20T21:02:25.000Z
UtinniCore/swg/ui/utinni_command_parser.cpp
ModTheGalaxy/Utinni
6fc118d7d80667a6e12864fc5fffe5782eaacd58
[ "MIT" ]
7
2020-11-13T23:11:27.000Z
2021-07-04T12:19:45.000Z
/** * MIT License * * Copyright (c) 2020 Philip Klatt * * 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, mo...
30.727273
184
0.699211
[ "vector" ]
e0da517c34a39337c2e8b599131f7fd9fbedba5c
27,996
cxx
C++
ParaViewCore/VTKExtensions/SIL/vtkSubsetInclusionLattice.cxx
psavery/ParaView
00074fbc7de29c2ab2f1b90624e07d1af53484ee
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
ParaViewCore/VTKExtensions/SIL/vtkSubsetInclusionLattice.cxx
psavery/ParaView
00074fbc7de29c2ab2f1b90624e07d1af53484ee
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
ParaViewCore/VTKExtensions/SIL/vtkSubsetInclusionLattice.cxx
psavery/ParaView
00074fbc7de29c2ab2f1b90624e07d1af53484ee
[ "Apache-2.0", "BSD-3-Clause" ]
1
2021-03-13T03:35:01.000Z
2021-03-13T03:35:01.000Z
/*========================================================================= Program: ParaView Module: vtkSubsetInclusionLattice.cxx Copyright (c) Kitware, Inc. All rights reserved. See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details. This software is distributed WITHOUT A...
27.473994
99
0.588084
[ "vector" ]
e0e06beb71ba7c0a662fe9e6db7fc86e2294ba0b
11,266
cpp
C++
CTN_05_Hardware_3D_DirectX/src/Testing.cpp
TheUnicum/CTN_05_Hardware_3D_DirectX
39940fb0466ff5b419d7f7c4cf55ee1f90784baa
[ "Apache-2.0" ]
null
null
null
CTN_05_Hardware_3D_DirectX/src/Testing.cpp
TheUnicum/CTN_05_Hardware_3D_DirectX
39940fb0466ff5b419d7f7c4cf55ee1f90784baa
[ "Apache-2.0" ]
null
null
null
CTN_05_Hardware_3D_DirectX/src/Testing.cpp
TheUnicum/CTN_05_Hardware_3D_DirectX
39940fb0466ff5b419d7f7c4cf55ee1f90784baa
[ "Apache-2.0" ]
null
null
null
#include "DynamicConstant.h" #include "LayoutCodex.h" #include "Vertex.h" #include "Graphics.h" #include "Window.h" #include <cstring> #include <assimp/Importer.hpp> #include <assimp/scene.h> #include <assimp/postprocess.h> #include "Material.h" #include "Mesh.h" #include "Testing.h" #include "ChiliXM.h" #include <algo...
28.739796
115
0.626576
[ "mesh", "vector" ]
e0e317076d0b773a3aa8bc57d1521a4988cb7e63
13,236
cc
C++
arcane/extras/NumericalModel/src/Numerics/LinearSolver/HypreSolverImpl/HypreLinearSolver.cc
cedricga91/framework
143eeccb5bf375df4a3f11b888681f84f60380c6
[ "Apache-2.0" ]
16
2021-09-20T12:37:01.000Z
2022-03-18T09:19:14.000Z
arcane/extras/NumericalModel/src/Numerics/LinearSolver/HypreSolverImpl/HypreLinearSolver.cc
cedricga91/framework
143eeccb5bf375df4a3f11b888681f84f60380c6
[ "Apache-2.0" ]
66
2021-09-17T13:49:39.000Z
2022-03-30T16:24:07.000Z
arcane/extras/NumericalModel/src/Numerics/LinearSolver/HypreSolverImpl/HypreLinearSolver.cc
cedricga91/framework
143eeccb5bf375df4a3f11b888681f84f60380c6
[ "Apache-2.0" ]
11
2021-09-27T16:48:55.000Z
2022-03-23T19:06:56.000Z
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*- #include "Utils/Utils.h" #include <arcane/ArcaneVersion.h> #include <HYPRE_utilities.h> #include "_hypre_utilities.h" // pour HYPRE_ERROR_CONV #include <HYPRE.h> #include <HYPRE_parcsr_mv.h> #include <HYPRE_IJ_mv.h> #include <HYPRE_parcsr_...
38.815249
190
0.68767
[ "vector" ]
e0ee0805d684b013bdb7fd36cb83ff605397dce3
3,173
cpp
C++
src/editStereoList.cpp
morynicz/ace-of-space
cb1983e58b52d704854f79b230eeba8ac261d954
[ "MIT" ]
null
null
null
src/editStereoList.cpp
morynicz/ace-of-space
cb1983e58b52d704854f79b230eeba8ac261d954
[ "MIT" ]
null
null
null
src/editStereoList.cpp
morynicz/ace-of-space
cb1983e58b52d704854f79b230eeba8ac261d954
[ "MIT" ]
null
null
null
/* * editStereoList.cpp * * Created on: 3 Jan 2015 * Author: link */ #include <boost/program_options.hpp> #include <opencv2/calib3d/calib3d.hpp> #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <iostream> #include <list> #include "Con...
27.119658
79
0.650804
[ "vector" ]
e0f4462c8d9e30a1061fd810e178fd30f833200c
7,055
hpp
C++
include/ghex/structured/cubed_sphere/transform.hpp
fthaler/GHEX
ead3699e3ed3aa60c5f18225d4d6f8dcf3412cf9
[ "BSD-3-Clause" ]
null
null
null
include/ghex/structured/cubed_sphere/transform.hpp
fthaler/GHEX
ead3699e3ed3aa60c5f18225d4d6f8dcf3412cf9
[ "BSD-3-Clause" ]
4
2019-12-11T10:22:25.000Z
2021-12-20T13:50:20.000Z
include/ghex/structured/cubed_sphere/transform.hpp
fthaler/GHEX
ead3699e3ed3aa60c5f18225d4d6f8dcf3412cf9
[ "BSD-3-Clause" ]
null
null
null
/* * GridTools * * Copyright (c) 2014-2020, ETH Zurich * All rights reserved. * * Please, refer to the LICENSE file in the root directory. * SPDX-License-Identifier: BSD-3-Clause * */ #ifndef INCLUDED_GHEX_STRUCTURED_CUBED_SPHERE_TRANSFORM_HPP #define INCLUDED_GHEX_STRUCTURED_CUBED_SPHERE_TRANSFORM_HPP #i...
47.348993
103
0.361446
[ "transform" ]
e0f48726123d95bbb00f6f117d50113897d99c30
45,840
cpp
C++
src/generator.cpp
AggroBird/propane
83134d11f6a90798db8937761ab707d95c520f1b
[ "MIT" ]
3
2021-02-28T12:52:43.000Z
2021-12-31T00:12:48.000Z
src/generator.cpp
AggroBird/propane
83134d11f6a90798db8937761ab707d95c520f1b
[ "MIT" ]
null
null
null
src/generator.cpp
AggroBird/propane
83134d11f6a90798db8937761ab707d95c520f1b
[ "MIT" ]
null
null
null
#include "propane_generator.hpp" #include "generation.hpp" #include "errors.hpp" #include "utility.hpp" #define VALIDATE(errc, expr, ...) ENSURE_WITH_META(errc, this->get_meta(), expr, propane::generator_exception, __VA_ARGS__) #define VALIDATE_IDENTIFIER(str) VALIDATE(ERRC::GNR_INVALID_IDENTIFIER, propane::is_identi...
33.980726
169
0.575545
[ "vector" ]
804082ad721ed14e643097bc02a95accbd473cc4
22,919
cpp
C++
src/Pegasus/Provider/ClientCIMOMHandleRep.cpp
natronkeltner/openpegasus
e64f383c1ed37826041fc63e83b4e65fc1c679ae
[ "ICU", "Unlicense", "OpenSSL", "MIT" ]
1
2021-11-12T21:28:50.000Z
2021-11-12T21:28:50.000Z
src/Pegasus/Provider/ClientCIMOMHandleRep.cpp
natronkeltner/openpegasus
e64f383c1ed37826041fc63e83b4e65fc1c679ae
[ "ICU", "Unlicense", "OpenSSL", "MIT" ]
39
2021-01-18T19:28:41.000Z
2022-03-27T20:55:36.000Z
src/Pegasus/Provider/ClientCIMOMHandleRep.cpp
natronkeltner/openpegasus
e64f383c1ed37826041fc63e83b4e65fc1c679ae
[ "ICU", "Unlicense", "OpenSSL", "MIT" ]
4
2021-07-09T12:52:33.000Z
2021-12-21T15:05:59.000Z
//%LICENSE//////////////////////////////////////////////////////////////// // // Licensed to The Open Group (TOG) under one or more contributor license // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with // this work for additional information regarding copyright ownership. // Each contributor lice...
29.687824
80
0.676033
[ "object" ]
80432c01c0c2b3b68239d9a5dc2fdb0cf9e0110e
1,175
hpp
C++
map/track.hpp
Polas/omim
03558b418b338f506fbf3aa72ddf15187a2005ee
[ "Apache-2.0" ]
1
2020-11-10T01:13:12.000Z
2020-11-10T01:13:12.000Z
map/track.hpp
Polas/omim
03558b418b338f506fbf3aa72ddf15187a2005ee
[ "Apache-2.0" ]
1
2018-11-26T15:44:46.000Z
2018-11-27T10:55:36.000Z
map/track.hpp
Polas/omim
03558b418b338f506fbf3aa72ddf15187a2005ee
[ "Apache-2.0" ]
null
null
null
#pragma once #include "kml/types.hpp" #include "drape_frontend/user_marks_provider.hpp" #include <string> class Track : public df::UserLineMark { using Base = df::UserLineMark; public: explicit Track(kml::TrackData && data); kml::MarkGroupId GetGroupId() const override { return m_groupID; } bool IsDirty()...
27.325581
82
0.737872
[ "geometry", "vector" ]
80477d1644381c55dad8c5c8de23a7c4fb06855e
6,434
hpp
C++
third_party/omr/compiler/compile/OMRMethod.hpp
xiacijie/omr-wala-linkage
a1aff7aef9ed131a45555451abde4615a04412c1
[ "Apache-2.0" ]
null
null
null
third_party/omr/compiler/compile/OMRMethod.hpp
xiacijie/omr-wala-linkage
a1aff7aef9ed131a45555451abde4615a04412c1
[ "Apache-2.0" ]
null
null
null
third_party/omr/compiler/compile/OMRMethod.hpp
xiacijie/omr-wala-linkage
a1aff7aef9ed131a45555451abde4615a04412c1
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Copyright (c) 2000, 2019 IBM Corp. and others * * This program and the accompanying materials are made available under * the terms of the Eclipse Public License 2.0 which accompanies this * distribution and is available at http://ec...
35.744444
184
0.698788
[ "object" ]
8052b0433db62889b2e184e50149f460e6e9c975
4,061
cpp
C++
Portable/zoolib/PullPush_SeparatedValues.cpp
ElectricMagic/zoolib_cxx
cb3ccfde931b3989cd420fa093153204a7899805
[ "MIT" ]
13
2015-01-28T21:05:09.000Z
2021-11-03T22:21:11.000Z
Portable/zoolib/PullPush_SeparatedValues.cpp
ElectricMagic/zoolib_cxx
cb3ccfde931b3989cd420fa093153204a7899805
[ "MIT" ]
null
null
null
Portable/zoolib/PullPush_SeparatedValues.cpp
ElectricMagic/zoolib_cxx
cb3ccfde931b3989cd420fa093153204a7899805
[ "MIT" ]
4
2018-11-16T08:33:33.000Z
2021-12-11T19:40:46.000Z
// Copyright (c) 2018 Andrew Green. MIT License. http://www.zoolib.org #include "zoolib/PullPush_SeparatedValues.h" #include "zoolib/ParseException.h" #include "zoolib/Unicode.h" // For operator+= #include "zoolib/ChanW_UTF.h" #include "zoolib/ZMACRO_foreach.h" #include <vector> namespace ZooLib { //using namespa...
24.172619
101
0.629155
[ "vector" ]
805ad52c094ff16ced7c1a6181e57f03ab226a4e
23,092
cc
C++
quantizer.cc
TiKevin83/pik
56e644f3b7530ea9faeaa32f315329cc98604c2b
[ "Apache-2.0" ]
null
null
null
quantizer.cc
TiKevin83/pik
56e644f3b7530ea9faeaa32f315329cc98604c2b
[ "Apache-2.0" ]
null
null
null
quantizer.cc
TiKevin83/pik
56e644f3b7530ea9faeaa32f315329cc98604c2b
[ "Apache-2.0" ]
null
null
null
// Copyright 2017 Google Inc. 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. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
30.871658
80
0.679369
[ "vector", "3d" ]
805d51f5f5ed41916f03c88075e4aa29622a079d
4,803
cc
C++
google/cloud/bigtable/tests/table_sample_rows_integration_test.cc
joezqren/google-cloud-cpp
325d312b0a21569f3c57515aec7d91f3540d3b48
[ "Apache-2.0" ]
299
2019-01-31T12:17:56.000Z
2022-03-30T15:46:15.000Z
google/cloud/bigtable/tests/table_sample_rows_integration_test.cc
joezqren/google-cloud-cpp
325d312b0a21569f3c57515aec7d91f3540d3b48
[ "Apache-2.0" ]
6,560
2019-01-29T03:15:15.000Z
2022-03-31T23:58:48.000Z
google/cloud/bigtable/tests/table_sample_rows_integration_test.cc
joezqren/google-cloud-cpp
325d312b0a21569f3c57515aec7d91f3540d3b48
[ "Apache-2.0" ]
253
2019-02-07T01:18:13.000Z
2022-03-30T17:21:10.000Z
// Copyright 2021 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writ...
35.316176
79
0.681866
[ "vector" ]
806739434023af8e3e9608bb079e6aece368aaf3
6,171
cpp
C++
StudyWatch_SDK_healthwearableApp/Source/sdk/src/bcm_application.cpp
analogdevicesinc/ApplicationsWaveTool
0c1f236dd0745caa3187841ee1a882f209ac3ebe
[ "Apache-2.0" ]
2
2019-03-11T15:24:51.000Z
2022-03-07T09:42:05.000Z
StudyWatch_SDK_healthwearableApp/Source/sdk/src/bcm_application.cpp
analogdevicesinc/ApplicationsWaveTool
0c1f236dd0745caa3187841ee1a882f209ac3ebe
[ "Apache-2.0" ]
null
null
null
StudyWatch_SDK_healthwearableApp/Source/sdk/src/bcm_application.cpp
analogdevicesinc/ApplicationsWaveTool
0c1f236dd0745caa3187841ee1a882f209ac3ebe
[ "Apache-2.0" ]
1
2021-03-16T08:26:05.000Z
2021-03-16T08:26:05.000Z
#include "bcm_application.hpp" bcm_application::~bcm_application(void) { } bcm_application::bcm_application(watch *sdk) : m2m2_application(sdk), bcm_stream(M2M2_ADDR_MED_BCM_STREAM, this) {} /*! \brief Fetches a human-readable string describing the application. */ std::string bcm_application::get_name(voi...
34.093923
109
0.720305
[ "vector" ]
806b831e9cd3bc38219fedd0a42728911da79a59
55,848
cpp
C++
Deep Down/Motor2D/j1EntityFactory.cpp
Sandruski/Deep-Down-Game
7987e0c92b42c11f55a9ceff44dae91993e26ee7
[ "MIT" ]
null
null
null
Deep Down/Motor2D/j1EntityFactory.cpp
Sandruski/Deep-Down-Game
7987e0c92b42c11f55a9ceff44dae91993e26ee7
[ "MIT" ]
null
null
null
Deep Down/Motor2D/j1EntityFactory.cpp
Sandruski/Deep-Down-Game
7987e0c92b42c11f55a9ceff44dae91993e26ee7
[ "MIT" ]
4
2017-12-17T17:02:15.000Z
2018-12-12T22:14:30.000Z
#include "p2Defs.h" #include "p2Log.h" #include "j1Module.h" #include "j1App.h" #include "j1EntityFactory.h" #include "j1Render.h" #include "Entity.h" #include "Imp.h" #include "CatPeasant.h" #include "Monkey.h" #include "Cat.h" #include "j1Textures.h" #include "j1Scene.h" #include "j1Map.h" #include "j1Pathfinding....
38.810285
254
0.676801
[ "render", "object" ]
806eacc6dab2ceee24000e6493848615f2f4b637
1,665
cpp
C++
src/actions/describe_action.cpp
abhijat/matchboxdb
77c055690054deb96dffc29499ad99928370ae99
[ "BSD-2-Clause" ]
9
2021-11-09T13:55:41.000Z
2022-03-04T05:22:15.000Z
src/actions/describe_action.cpp
abhijat/matchboxdb
77c055690054deb96dffc29499ad99928370ae99
[ "BSD-2-Clause" ]
null
null
null
src/actions/describe_action.cpp
abhijat/matchboxdb
77c055690054deb96dffc29499ad99928370ae99
[ "BSD-2-Clause" ]
null
null
null
#include <iomanip> #include <iterator> #include "describe_action.h" #include "../sql_parser/describe_statement.h" #include "../page/page_cache.h" actions::DescribeAction::DescribeAction(page_cache::PageCache &page_cache, const ast::DescribeStatement &describe_statement) : _desc...
33.3
116
0.66006
[ "vector", "transform" ]
8075d33ea9d34f331790566d6d0ff7f91e27dfee
577
hpp
C++
src/color/YPbPr/YPbPr.hpp
3l0w/color
e42d0933b6b88564807bcd5f49e9c7f66e24990a
[ "Apache-2.0" ]
120
2015-12-31T22:30:14.000Z
2022-03-29T15:08:01.000Z
src/color/YPbPr/YPbPr.hpp
3l0w/color
e42d0933b6b88564807bcd5f49e9c7f66e24990a
[ "Apache-2.0" ]
6
2016-08-22T02:14:56.000Z
2021-11-06T22:39:52.000Z
src/color/YPbPr/YPbPr.hpp
3l0w/color
e42d0933b6b88564807bcd5f49e9c7f66e24990a
[ "Apache-2.0" ]
23
2016-02-03T01:56:26.000Z
2021-09-28T16:36:27.000Z
#ifndef color_YPbPr_YPbPr_ #define color_YPbPr_YPbPr_ #include "./category.hpp" #include "./akin/akin.hpp" #include "./trait/trait.hpp" #include "../generic/model.hpp" #include "./constant.hpp" namespace color { template< typename type_name, ::color::constant::YPbPr::reference_enum reference_number = ::colo...
18.03125
133
0.70364
[ "model" ]
8078cc38c3c0498145b148a55214d06032603fa9
73,942
cpp
C++
models/processor/zesto/ZPIPE-exec/exec-atom.cpp
Basseuph/manifold
99779998911ed7e8b8ff6adacc7f93080409a5fe
[ "BSD-3-Clause" ]
8
2016-01-22T18:28:48.000Z
2021-05-07T02:27:21.000Z
models/processor/zesto/ZPIPE-exec/exec-atom.cpp
Basseuph/manifold
99779998911ed7e8b8ff6adacc7f93080409a5fe
[ "BSD-3-Clause" ]
3
2016-04-15T02:58:58.000Z
2017-01-19T17:07:34.000Z
models/processor/zesto/ZPIPE-exec/exec-atom.cpp
Basseuph/manifold
99779998911ed7e8b8ff6adacc7f93080409a5fe
[ "BSD-3-Clause" ]
10
2015-12-11T04:16:55.000Z
2019-05-25T20:58:13.000Z
/* exec-atom.cpp - In order Atom Model */ /* * __COPYRIGHT__ GT */ #include "../zesto-core.h" #ifdef ZESTO_PARSE_ARGS if(!strcasecmp(exec_opt_string,"ATOM")) return new core_exec_atom_t(core); #else class core_exec_atom_t : public core_exec_t { /* readyQ for scheduling */ struct readyQ_node_t { struc...
38.753669
352
0.613116
[ "model" ]
807a7878f2b86d810c89eef11e4ae7d434794919
19,925
cpp
C++
dev/floyd_speak/floyd_benchmark_main.cpp
PavelVozenilek/floyd
debc34005bb85000f78d08aa979bcf6a2dad4fb0
[ "MIT" ]
null
null
null
dev/floyd_speak/floyd_benchmark_main.cpp
PavelVozenilek/floyd
debc34005bb85000f78d08aa979bcf6a2dad4fb0
[ "MIT" ]
null
null
null
dev/floyd_speak/floyd_benchmark_main.cpp
PavelVozenilek/floyd
debc34005bb85000f78d08aa979bcf6a2dad4fb0
[ "MIT" ]
null
null
null
// // main.cpp // megastruct // // Created by Marcus Zetterquist on 2019-01-28. // Copyright © 2019 Marcus Zetterquist. All rights reserved. // #include "gtest/gtest.h" #include "benchmark/benchmark.h" #include <iostream> #include <vector> #if 0 /////////////////////////// CSoundEngine #define CAtomicFIFO std:...
38.391137
144
0.446023
[ "vector" ]
8080082cf4d1fd4bda7fe4eceab80927e9603288
30,620
cpp
C++
simplemd/MolecularDynamicsSimulation.cpp
HSU-HPC/MaMiCo
d6f8597bd41ac3a5d3929c5eb4f7ecbc1b80e2ee
[ "BSD-4-Clause" ]
6
2021-02-06T17:21:10.000Z
2022-01-27T21:36:55.000Z
simplemd/MolecularDynamicsSimulation.cpp
HSU-HPC/MaMiCo
d6f8597bd41ac3a5d3929c5eb4f7ecbc1b80e2ee
[ "BSD-4-Clause" ]
1
2021-06-24T15:17:46.000Z
2021-06-25T11:54:52.000Z
simplemd/MolecularDynamicsSimulation.cpp
HSU-HPC/MaMiCo
d6f8597bd41ac3a5d3929c5eb4f7ecbc1b80e2ee
[ "BSD-4-Clause" ]
6
2021-12-16T11:39:24.000Z
2022-03-28T07:00:30.000Z
// Copyright (C) 2015 Technische Universitaet Muenchen // This file is part of the Mamico project. For conditions of distribution // and use, please see the copyright notice in Mamico's main folder, or at // www5.in.tum.de/mamico #include "simplemd/MolecularDynamicsSimulation.h" simplemd::MolecularDynamicsSimulation::...
61.609658
192
0.757609
[ "vector" ]
80890310baa8ae2cd8b267f4b46e0bec01df5c3e
106,621
cpp
C++
src/libawkward/util.cpp
nikoladze/awkward-1.0
7e1001b6ee59f1cba96cf57d144e7f2719f07e69
[ "BSD-3-Clause" ]
null
null
null
src/libawkward/util.cpp
nikoladze/awkward-1.0
7e1001b6ee59f1cba96cf57d144e7f2719f07e69
[ "BSD-3-Clause" ]
null
null
null
src/libawkward/util.cpp
nikoladze/awkward-1.0
7e1001b6ee59f1cba96cf57d144e7f2719f07e69
[ "BSD-3-Clause" ]
null
null
null
// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/master/LICENSE #include <sstream> #include <set> #include "rapidjson/document.h" #include "awkward/cpu-kernels/identities.h" #include "awkward/cpu-kernels/getitem.h" #include "awkward/cpu-kernels/operations.h" #include "awkward/cpu-kernels/r...
25.822475
90
0.60807
[ "vector" ]
8092b639a64e110d0b37d37e8eba8640d6cc92b2
1,394
cpp
C++
codeforces/1468/d/d.cpp
Shahraaz/CP_S5
2cfb5467841d660c1e47cb8338ea692f10ca6e60
[ "MIT" ]
3
2020-02-08T10:34:16.000Z
2020-02-09T10:23:19.000Z
codeforces/1468/d/d.cpp
Shahraaz/CP_S5
2cfb5467841d660c1e47cb8338ea692f10ca6e60
[ "MIT" ]
null
null
null
codeforces/1468/d/d.cpp
Shahraaz/CP_S5
2cfb5467841d660c1e47cb8338ea692f10ca6e60
[ "MIT" ]
2
2020-10-02T19:05:32.000Z
2021-09-08T07:01:49.000Z
#include <bits/stdc++.h> using namespace std; #ifdef LOCAL #include "/debug.h" #else #define db(...) #endif #define all(v) v.begin(), v.end() #define pb push_back using ll = long long; const int NAX = 2e5 + 5, MOD = 1000000007; #define int ll void solveCase() { int n, m, a, b; cin >> n >> m >> a >> b; i...
18.103896
53
0.412482
[ "vector" ]
8095edc3c6b39174cedcd9608b354bb31065052d
26,633
cc
C++
arcane/src/arcane/ios/XmfMeshReader.cc
JeromeDuboisPro/framework
d88925495e3787fdaf640c29728dcac385160188
[ "Apache-2.0" ]
null
null
null
arcane/src/arcane/ios/XmfMeshReader.cc
JeromeDuboisPro/framework
d88925495e3787fdaf640c29728dcac385160188
[ "Apache-2.0" ]
null
null
null
arcane/src/arcane/ios/XmfMeshReader.cc
JeromeDuboisPro/framework
d88925495e3787fdaf640c29728dcac385160188
[ "Apache-2.0" ]
null
null
null
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*- //----------------------------------------------------------------------------- // Copyright 2000-2021 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com) // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: Apache-2...
43.876442
128
0.606128
[ "mesh", "geometry", "3d" ]
8096f727b129fbf8b31448e1dcc8c52696043706
63,200
hpp
C++
aslib/AsKey.hpp
Kasugaccho/RPG-MapMaker
bef857b9de4d7e26e4050ecf603f167552412f0a
[ "CC0-1.0" ]
92
2018-07-02T03:23:08.000Z
2020-12-29T12:56:21.000Z
aslib/AsKey.hpp
Kasugaccho/RPG-MapMaker
bef857b9de4d7e26e4050ecf603f167552412f0a
[ "CC0-1.0" ]
null
null
null
aslib/AsKey.hpp
Kasugaccho/RPG-MapMaker
bef857b9de4d7e26e4050ecf603f167552412f0a
[ "CC0-1.0" ]
5
2021-02-18T14:17:19.000Z
2021-12-31T16:11:03.000Z
/*####################################################################################### Made by Kasugaccho Made by As Project https://github.com/Kasugaccho/AsLib wanotaitei@gmail.com This code is licensed under CC0. #######################################################################################*/ #ifnd...
38.095238
161
0.767991
[ "vector" ]
809ab34a26bc5678cc986b94b9a0e9701811d0fd
2,320
hpp
C++
Toast-Core/include/toast/http/handler.hpp
JacisNonsense/ToastCPP
e4879902aacfcbadff87f1bdce021befee72882a
[ "MIT" ]
4
2016-07-18T13:21:07.000Z
2017-01-05T05:47:56.000Z
Toast-Core/include/toast/http/handler.hpp
JacisNonsense/ToastCPP
e4879902aacfcbadff87f1bdce021befee72882a
[ "MIT" ]
null
null
null
Toast-Core/include/toast/http/handler.hpp
JacisNonsense/ToastCPP
e4879902aacfcbadff87f1bdce021befee72882a
[ "MIT" ]
null
null
null
#pragma once #include "toast/http/request.hpp" #include "toast/http/response.hpp" #include "toast/http/websocket.hpp" #include "toast/library.hpp" #include <map> #include <iostream> #include <string> #include <vector> using namespace std; #define route(httpMethod, url, handlerType, method) \ register_route(http...
31.351351
140
0.743103
[ "vector" ]
80a1d214815116301c23e80c1cfdbd7549729756
1,171
cpp
C++
src/problems/1-50/19/problem19.cpp
abeccaro/project-euler
c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3
[ "MIT" ]
1
2019-12-25T10:17:15.000Z
2019-12-25T10:17:15.000Z
src/problems/1-50/19/problem19.cpp
abeccaro/project-euler
c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3
[ "MIT" ]
null
null
null
src/problems/1-50/19/problem19.cpp
abeccaro/project-euler
c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3
[ "MIT" ]
null
null
null
// // Created by Alex Beccaro on 17/12/17. // #include "problem19.hpp" using std::vector; namespace problems { uint32_t problem19::days_in_month(unsigned int year, unsigned int month) { switch (month) { case 2: return year % 4 == 0 ? 29 : 28; // safe for 1901-2000 case 4: ...
27.232558
108
0.571307
[ "vector" ]
80a1ff32c3f628a0731b792672258240846b987d
7,741
cpp
C++
software/latency/src/latency/latency-app-continuous-walking.cpp
liangfok/oh-distro
eeee1d832164adce667e56667dafc64a8d7b8cee
[ "BSD-3-Clause" ]
92
2016-01-14T21:03:50.000Z
2021-12-01T17:57:46.000Z
software/latency/src/latency/latency-app-continuous-walking.cpp
liangfok/oh-distro
eeee1d832164adce667e56667dafc64a8d7b8cee
[ "BSD-3-Clause" ]
62
2016-01-16T18:08:14.000Z
2016-03-24T15:16:28.000Z
software/latency/src/latency/latency-app-continuous-walking.cpp
liangfok/oh-distro
eeee1d832164adce667e56667dafc64a8d7b8cee
[ "BSD-3-Clause" ]
41
2016-01-14T21:26:58.000Z
2022-03-28T03:10:39.000Z
#include <stdio.h> #include <iostream> #include <boost/shared_ptr.hpp> #include <sys/time.h> #include <lcm/lcm-cpp.hpp> #include "lcmtypes/bot_core.hpp" #include "lcmtypes/drc/atlas_state_t.hpp" #include "lcmtypes/drc/atlas_command_t.hpp" #include "lcmtypes/drc/robot_state_t.hpp" #include "lcmtypes/drc/utime_two_t.hp...
34.404444
127
0.674202
[ "vector" ]
80a41c12755434ba815e75142f67217acf48b1ec
716
cpp
C++
Examples/src/standard_depths_tests.cpp
zzawadz/DepthLib
b7a4e847624f4bff407b8ab3a7acc08445692470
[ "MIT" ]
1
2015-03-01T20:07:34.000Z
2015-03-01T20:07:34.000Z
Examples/src/standard_depths_tests.cpp
zzawadz/DepthLib
b7a4e847624f4bff407b8ab3a7acc08445692470
[ "MIT" ]
null
null
null
Examples/src/standard_depths_tests.cpp
zzawadz/DepthLib
b7a4e847624f4bff407b8ab3a7acc08445692470
[ "MIT" ]
null
null
null
/* * standard_depths_test.cpp * * Created on: March 2, 2015 * Author: zzawadz */ #include <iostream> #include "DepthLib.hpp" #include "../Utils/Utils.hpp" int main() { arma::colvec x = arma::linspace(1.0, 10.0,10); arma::colvec y = arma::linspace(1.0, 10.0,10); std::cout << Depth::TukeyUtils::tukey_d...
21.69697
118
0.638268
[ "vector" ]
80a69087286404e12d99aa5211eaaae2130d30c8
14,418
cpp
C++
src/HumdrumFileStream.cpp
humdrum-tools/minHumdrum
1f1e6a1281b40a6d6c9fed6666d96221cd619dc0
[ "BSD-2-Clause" ]
null
null
null
src/HumdrumFileStream.cpp
humdrum-tools/minHumdrum
1f1e6a1281b40a6d6c9fed6666d96221cd619dc0
[ "BSD-2-Clause" ]
null
null
null
src/HumdrumFileStream.cpp
humdrum-tools/minHumdrum
1f1e6a1281b40a6d6c9fed6666d96221cd619dc0
[ "BSD-2-Clause" ]
null
null
null
// // Programmer: Craig Stuart Sapp <craig@ccrma.stanford.edu> // Creation Date: Tue Dec 11 16:09:32 PST 2012 // Last Modified: Tue Dec 11 16:09:38 PST 2012 // Last Modified: Fri Mar 11 21:26:18 PST 2016 Changed to STL // Last Modified: Fri Dec 2 19:25:41 PST 2016 Moved to humlib // Filename: HumdrumFileStream...
27.050657
91
0.645582
[ "vector" ]
80a7f526880a2df1d13c63a71acaaf51f0cbdeb6
2,567
cc
C++
source/neuropod/backends/tensorflow/tf_utils.cc
vishalbelsare/neuropod
9dd2ca81e0fbf0b24fc461e426fc4b5b0925aa9f
[ "Apache-2.0" ]
887
2020-06-08T16:10:28.000Z
2022-03-27T21:55:43.000Z
source/neuropod/backends/tensorflow/tf_utils.cc
vishalbelsare/neuropod
9dd2ca81e0fbf0b24fc461e426fc4b5b0925aa9f
[ "Apache-2.0" ]
150
2020-06-09T10:43:15.000Z
2022-03-30T02:48:39.000Z
source/neuropod/backends/tensorflow/tf_utils.cc
vishalbelsare/neuropod
9dd2ca81e0fbf0b24fc461e426fc4b5b0925aa9f
[ "Apache-2.0" ]
70
2020-06-08T18:43:12.000Z
2022-03-18T20:37:51.000Z
/* Copyright (c) 2021 UATC, LLC 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, software d...
32.910256
117
0.667705
[ "vector" ]
80adc399f241028c9854ecfbaba09fda7ccd4efa
1,402
cc
C++
chrome/browser/protector/protector_utils.cc
Scopetta197/chromium
b7bf8e39baadfd9089de2ebdc0c5d982de4a9820
[ "BSD-3-Clause" ]
212
2015-01-31T11:55:58.000Z
2022-02-22T06:35:11.000Z
chrome/browser/protector/protector_utils.cc
1065672644894730302/Chromium
239dd49e906be4909e293d8991e998c9816eaa35
[ "BSD-3-Clause" ]
5
2015-03-27T14:29:23.000Z
2019-09-25T13:23:12.000Z
chrome/browser/protector/protector_utils.cc
1065672644894730302/Chromium
239dd49e906be4909e293d8991e998c9816eaa35
[ "BSD-3-Clause" ]
221
2015-01-07T06:21:24.000Z
2022-02-11T02:51:12.000Z
// Copyright (c) 2012 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 "chrome/browser/protector/protector_utils.h" #include <vector> #include "base/command_line.h" #include "base/logging.h" #include "chrome/br...
29.208333
77
0.713267
[ "vector" ]
80add50746f7c8ad65d735e481a46c33737cc581
2,172
cpp
C++
ros/src/airsim_car_ros_pkgs/nodes/odometer.cpp
danthony06/AirSim
b8f0ec63536baf83bb4d4bc00671c05fc4a278f4
[ "MIT" ]
7
2020-05-22T18:00:19.000Z
2021-01-07T08:31:19.000Z
ros/src/airsim_car_ros_pkgs/nodes/odometer.cpp
danthony06/AirSim
b8f0ec63536baf83bb4d4bc00671c05fc4a278f4
[ "MIT" ]
null
null
null
ros/src/airsim_car_ros_pkgs/nodes/odometer.cpp
danthony06/AirSim
b8f0ec63536baf83bb4d4bc00671c05fc4a278f4
[ "MIT" ]
7
2020-05-22T20:08:22.000Z
2021-01-22T09:39:17.000Z
#include <ros/ros.h> #include <tf2_ros/transform_broadcaster.h> #include <tf/tf.h> #include <geometry_msgs/TransformStamped.h> #include <sensor_msgs/Imu.h> #include <nav_msgs/Odometry.h> int main(int argc, char** argv){ ros::init(argc, argv, "odometry_publisher"); double th = 0.0; ros::Time last = ros::Time(0...
30.591549
118
0.662523
[ "transform" ]
01f51ebebc0e4a7c2dd0e7f2330bb50e7a477332
9,501
cpp
C++
gunns-ts-models/common/controllers/valveAssemblies/TsOpenCloseValveAssembly.cpp
nasa/gunns
248323939a476abe5178538cd7a3512b5f42675c
[ "NASA-1.3" ]
18
2020-01-23T12:14:09.000Z
2022-02-27T22:11:35.000Z
gunns-ts-models/common/controllers/valveAssemblies/TsOpenCloseValveAssembly.cpp
nasa/gunns
248323939a476abe5178538cd7a3512b5f42675c
[ "NASA-1.3" ]
39
2020-11-20T12:19:35.000Z
2022-02-22T18:45:55.000Z
gunns-ts-models/common/controllers/valveAssemblies/TsOpenCloseValveAssembly.cpp
nasa/gunns
248323939a476abe5178538cd7a3512b5f42675c
[ "NASA-1.3" ]
7
2020-02-10T19:25:43.000Z
2022-03-16T01:10:00.000Z
/** @file @brief Open/Close Valve Assembly Model implementation. @copyright Copyright 2019 United States Government as represented by the Administrator of the National Aeronautics and Space Administration. All Rights Reserved. LIBRARY DEPENDENCY: ((common/sensors/SensorBooleanAi.o) (common/controll...
42.605381
105
0.495211
[ "object", "model" ]
01f5f3cdf699b98b71b835b92537ac65aa742d85
23,768
cpp
C++
admin/snapin/dfsadmin/dfsshlex/dfsshprp.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/snapin/dfsadmin/dfsshlex/dfsshprp.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/snapin/dfsadmin/dfsshlex/dfsshprp.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*++ Copyright (c) 1997 Microsoft Corporation Module Name: DfsShPrp.cpp Abstract: This module contains the implementation for CDfsShellExtProp This is used to implement the property page for Shell Extension. Author: Constancio Fernandes (ferns@qspl.stpp.soft.net) 12-Jan-1998 En...
27.541136
118
0.634929
[ "object" ]
bf0669a5c5fd5b6e171dd687d43f3495d0c75d25
1,987
cpp
C++
number-of-islands.cpp
mittalnaman2706/LeetCode
ba7e1602fb70ca0063c3e5573ea0661cc5ae9856
[ "Apache-2.0" ]
2
2019-01-10T17:50:26.000Z
2019-05-23T14:31:58.000Z
number-of-islands.cpp
mittalnaman2706/LeetCode
ba7e1602fb70ca0063c3e5573ea0661cc5ae9856
[ "Apache-2.0" ]
null
null
null
number-of-islands.cpp
mittalnaman2706/LeetCode
ba7e1602fb70ca0063c3e5573ea0661cc5ae9856
[ "Apache-2.0" ]
null
null
null
class Solution { public: int n,m; int a[1000][1000]; void func(int i,int j) { int z,x; /*for(z=0;z<n;z++) { for(x=0;x<m;x++) cout<<a[z][x]<<" "; cout<<endl; } cout<<endl; */ // for(z=i-1;z>=0;z...
21.138298
48
0.24006
[ "vector" ]
bf0a7f64c9221ddb515f96fdfc4d6a2d2966d642
6,911
hpp
C++
linear_container.hpp
mikecovlee/toys
58e5b0b2eb51350cd1817eb79b3a13488f2e576a
[ "Apache-2.0" ]
10
2017-06-15T05:11:02.000Z
2021-08-18T12:08:26.000Z
linear_container.hpp
mikecovlee/toys
58e5b0b2eb51350cd1817eb79b3a13488f2e576a
[ "Apache-2.0" ]
null
null
null
linear_container.hpp
mikecovlee/toys
58e5b0b2eb51350cd1817eb79b3a13488f2e576a
[ "Apache-2.0" ]
5
2019-03-12T15:16:59.000Z
2021-08-15T03:41:11.000Z
#pragma once // Linear Container by Michael Lee #include <stdexcept> #include <memory> namespace cov { template<typename data_t, typename size_t> void uninitialized_copy_n(data_t *src, data_t *dest, size_t count) { if (count > 0) { using byte_t=unsigned char; byte_t *_src = reinterpret_cast<byte_t *>(src); ...
22.733553
161
0.654464
[ "vector" ]
bf0c44d6472bdf23dddd2b5bcef3a333e3218a2b
4,008
cpp
C++
udp.cpp
urbanze/esp32-udp
451eb1b730f2d69022c8c5711409df028527b0cd
[ "MIT" ]
null
null
null
udp.cpp
urbanze/esp32-udp
451eb1b730f2d69022c8c5711409df028527b0cd
[ "MIT" ]
null
null
null
udp.cpp
urbanze/esp32-udp
451eb1b730f2d69022c8c5711409df028527b0cd
[ "MIT" ]
null
null
null
#include "udp.h" //===========UDP=========== /** * @brief Start UDP Server to listen packets in specific port. * * Called only one time per port. * If you want to listen another port, recall this function. * * @param [port]: Port. */ void UDP::begin(uint16_t port) { struct sockaddr_in addr; memset(&...
19.647059
79
0.566866
[ "object" ]
bf0fb57e1b0241e63e3bbccdd891971785fd4340
40,773
cpp
C++
roomedit/owl-6.34/source/framewin.cpp
Darkman-M59/Meridian59_115
671b7ebe9fa2b1f40c8bd453652d596042291b90
[ "FSFAP" ]
null
null
null
roomedit/owl-6.34/source/framewin.cpp
Darkman-M59/Meridian59_115
671b7ebe9fa2b1f40c8bd453652d596042291b90
[ "FSFAP" ]
null
null
null
roomedit/owl-6.34/source/framewin.cpp
Darkman-M59/Meridian59_115
671b7ebe9fa2b1f40c8bd453652d596042291b90
[ "FSFAP" ]
null
null
null
//---------------------------------------------------------------------------- // ObjectWindows // Copyright (c) 1991, 1996 by Borland International, All Rights Reserved // /// \file /// Implementation of class TFrameWindow, a TWindow with additional features /// for frames, such as client window, menus, icons, e...
29.227957
88
0.651387
[ "object" ]
bf17246e552d1d693871ad1d830898628ad4668a
1,248
cpp
C++
December-09/cpp_aw3someone.cpp
Aw3someOne/A-December-of-Algorithms-2019
0b17b3a0360d1906babc141dd8a4b9ac67d1b609
[ "MIT" ]
null
null
null
December-09/cpp_aw3someone.cpp
Aw3someOne/A-December-of-Algorithms-2019
0b17b3a0360d1906babc141dd8a4b9ac67d1b609
[ "MIT" ]
null
null
null
December-09/cpp_aw3someone.cpp
Aw3someOne/A-December-of-Algorithms-2019
0b17b3a0360d1906babc141dd8a4b9ac67d1b609
[ "MIT" ]
null
null
null
#include <iostream> #include <set> #include <sstream> #include <vector> void readset(std::vector<float>& v, std::istringstream& iss) { float t; if (iss.peek() == '{') iss.ignore(); while (iss >> t >> std::ws) { v.push_back(t); if (iss.peek() == ',') iss.ignore(); } } float fx(float x, char op, float k) {...
19.5
62
0.580929
[ "vector" ]
bf2068b4708b063da7be3f0b9df678f63dbffbd7
18,028
cpp
C++
ChromeWorker/handlersmanager.cpp
vadkasevas/BAS
657f62794451c564c77d6f92b2afa9f5daf2f517
[ "MIT" ]
302
2016-05-20T12:55:23.000Z
2022-03-29T02:26:14.000Z
ChromeWorker/handlersmanager.cpp
chulakshana/BAS
955f5a41bd004bcdd7d19725df6ab229b911c09f
[ "MIT" ]
9
2016-07-21T09:04:50.000Z
2021-05-16T07:34:42.000Z
ChromeWorker/handlersmanager.cpp
chulakshana/BAS
955f5a41bd004bcdd7d19725df6ab229b911c09f
[ "MIT" ]
113
2016-05-18T07:48:37.000Z
2022-02-26T12:59:39.000Z
#include "handlersmanager.h" #include "include/base/cef_bind.h" #include "include/wrapper/cef_closure_task.h" #include "multithreading.h" #include <functional> using namespace std::placeholders; void HandlersManager::Init1(CefRefPtr<MainHandler> Handler,std::function<void(const std::string&)> SendTextResponceCallback...
29.077419
470
0.605669
[ "vector" ]
bf272a7ef541eee6b5333935fa3e77ca51f4a3c2
2,533
hpp
C++
saga/impl/engine/io_service_pool.hpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
5
2015-09-15T16:24:14.000Z
2021-08-12T11:05:55.000Z
saga/impl/engine/io_service_pool.hpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
null
null
null
saga/impl/engine/io_service_pool.hpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
3
2016-11-17T04:38:38.000Z
2021-04-10T17:23:52.000Z
// Copyright (c) 2005-2010 Hartmut Kaiser // // Parts of this code were taken from the Boost.Asio library // Copyright (c) 2003-2007 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www...
31.271605
82
0.610738
[ "vector" ]
bf2cb9858bcc4ba6e542a9001df6c74ecdb20d79
2,250
hpp
C++
data_structure/segment_tree.hpp
Mohammad-Yasser/competitive-programming-library
4656ac0d625abce98b901965c7607c1b908b093f
[ "MIT" ]
3
2020-02-09T18:58:30.000Z
2021-03-19T01:21:24.000Z
data_structure/segment_tree.hpp
Mohammad-Yasser/competitive-programming-library
4656ac0d625abce98b901965c7607c1b908b093f
[ "MIT" ]
null
null
null
data_structure/segment_tree.hpp
Mohammad-Yasser/competitive-programming-library
4656ac0d625abce98b901965c7607c1b908b093f
[ "MIT" ]
null
null
null
#pragma once #include <algorithm> #include <cassert> #include <vector> #include "utils/macros.hpp" /** * @brief a segment tree / セグメント木 * @tparam Monoid (commutativity is not required) */ template <class Monoid> struct segment_tree { typedef typename Monoid::value_type value_type; const Monoid mon; int ...
30.405405
103
0.499556
[ "vector" ]
bf3baf2817f2d93cc4ed9d64a0eb7a7e42cf2705
32,251
cpp
C++
src/openms/source/ANALYSIS/ID/ConsensusID.cpp
kreinert/OpenMS
45455356482ce5ab35e32e445609b291ec78a6d6
[ "Zlib", "Apache-2.0" ]
1
2016-12-09T01:45:03.000Z
2016-12-09T01:45:03.000Z
src/openms/source/ANALYSIS/ID/ConsensusID.cpp
kreinert/OpenMS
45455356482ce5ab35e32e445609b291ec78a6d6
[ "Zlib", "Apache-2.0" ]
null
null
null
src/openms/source/ANALYSIS/ID/ConsensusID.cpp
kreinert/OpenMS
45455356482ce5ab35e32e445609b291ec78a6d6
[ "Zlib", "Apache-2.0" ]
null
null
null
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and Freie Universit...
41.830091
375
0.54513
[ "vector" ]
bf3cb7c23e5c6b77b503e5e42de84588d460c86f
1,072
cpp
C++
level_1/2016.cpp
nominated93/Algorithm
e930aa454aa052294246384fa232bd00ce530e69
[ "CECILL-B", "SGI-B-2.0" ]
null
null
null
level_1/2016.cpp
nominated93/Algorithm
e930aa454aa052294246384fa232bd00ce530e69
[ "CECILL-B", "SGI-B-2.0" ]
null
null
null
level_1/2016.cpp
nominated93/Algorithm
e930aa454aa052294246384fa232bd00ce530e69
[ "CECILL-B", "SGI-B-2.0" ]
null
null
null
#include <string> #include <vector> using namespace std; string daysArr[] = { "SUN" , "MON" , "TUE" , "WED" , "THU" , "FRI" , "SAT" }; int monthsArr[] = { 31 , 28 , 31 , 30 , 31 , 30 , 31 , 31 , 30 , 31 , 30 , 31 }; bool IsLeafYear(int year...
16.492308
87
0.472948
[ "vector" ]
bf41f46ed73db96cf79b8de7e849684c9f75283c
1,544
hpp
C++
include/Core/Castor3D/Render/Technique/Opaque/Lighting/LightPass.hpp
Mu-L/Castor3D
7b9c6e7be6f7373ad60c0811d136c0004e50e76b
[ "MIT" ]
245
2015-10-29T14:31:45.000Z
2022-03-31T13:04:45.000Z
include/Core/Castor3D/Render/Technique/Opaque/Lighting/LightPass.hpp
Mu-L/Castor3D
7b9c6e7be6f7373ad60c0811d136c0004e50e76b
[ "MIT" ]
64
2016-03-11T19:45:05.000Z
2022-03-31T23:58:33.000Z
include/Core/Castor3D/Render/Technique/Opaque/Lighting/LightPass.hpp
Mu-L/Castor3D
7b9c6e7be6f7373ad60c0811d136c0004e50e76b
[ "MIT" ]
11
2018-05-24T09:07:43.000Z
2022-03-21T21:05:20.000Z
/* See LICENSE file in root folder */ #ifndef ___C3D_DeferredLightPass_H___ #define ___C3D_DeferredLightPass_H___ #include "LightingModule.hpp" #include "Castor3D/Render/ShadowMap/ShadowMapModule.hpp" #include "Castor3D/Shader/Shaders/SdwModule.hpp" namespace castor3d { class LightPass { public: /** *\~englis...
29.132075
75
0.715674
[ "render" ]
bf47b65927158bbc216e4ed4ba4847b8a21f66f6
4,303
hpp
C++
qd/cae/dyna_cpp/dyna/binout/Binout.hpp
martinventer/musical-dollop
debb36b87551a68fddee16a3d1194f9961d13756
[ "MIT" ]
104
2017-08-29T19:33:53.000Z
2022-03-19T11:36:05.000Z
qd/cae/dyna_cpp/dyna/binout/Binout.hpp
martinventer/musical-dollop
debb36b87551a68fddee16a3d1194f9961d13756
[ "MIT" ]
72
2017-08-10T10:59:43.000Z
2021-10-06T19:06:50.000Z
qd/cae/dyna_cpp/dyna/binout/Binout.hpp
martinventer/musical-dollop
debb36b87551a68fddee16a3d1194f9961d13756
[ "MIT" ]
37
2017-11-20T14:00:56.000Z
2022-03-09T17:19:06.000Z
#ifndef BINOUT_HPP #define BINOUT_HPP #include <cstdint> #include <memory> #include <string> #include <vector> extern "C" { #include <dyna_cpp/dyna/binout/lsda/lsda.h> } #include <dyna_cpp/math/Tensor.hpp> namespace qd { class Binout { public: enum class EntryType { UNKNOWN, DIRECTORY = 0, INT8 = ...
27.76129
80
0.626075
[ "vector" ]
bf48c6347f9ccd76d0874dd3fd76ce7ae55e15c7
8,919
cc
C++
ns-allinone-2.35/queue/rem.cc
nitishk017/ns2project
f037b796ff10300ffe0422580be5855c37d0b140
[ "MIT" ]
1
2021-04-21T06:39:42.000Z
2021-04-21T06:39:42.000Z
ns-allinone-2.35/queue/rem.cc
nitishk017/ns2project
f037b796ff10300ffe0422580be5855c37d0b140
[ "MIT" ]
1
2019-01-20T17:35:23.000Z
2019-01-22T21:41:38.000Z
ns-allinone-2.35/queue/rem.cc
nitishk017/ns2project
f037b796ff10300ffe0422580be5855c37d0b140
[ "MIT" ]
1
2021-09-29T16:06:57.000Z
2021-09-29T16:06:57.000Z
/* -*- Mode:C++; c-basic-offset:8; tab-width:8; indent-tabs-mode:t -*- */ /* * Copyright (c) 1990-1997 Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are m...
24.040431
84
0.631125
[ "object" ]
bf4b7cc8c76de8414ff8afe30a18b31dc2f186cd
10,319
cpp
C++
Source/KernelRunner/ComputeLayer.cpp
Fillo7/KTT
a0c252efb75a8366450e2df589f0ae641f015312
[ "MIT" ]
32
2017-09-12T23:52:52.000Z
2020-12-09T07:13:24.000Z
Source/KernelRunner/ComputeLayer.cpp
Fillo7/KTT
a0c252efb75a8366450e2df589f0ae641f015312
[ "MIT" ]
23
2017-05-11T14:38:45.000Z
2021-02-03T13:45:14.000Z
Source/KernelRunner/ComputeLayer.cpp
Fillo7/KTT
a0c252efb75a8366450e2df589f0ae641f015312
[ "MIT" ]
5
2017-11-06T12:40:05.000Z
2020-06-16T13:11:24.000Z
#include <Api/KttException.h> #include <KernelRunner/ComputeLayer.h> #include <Utility/ErrorHandling/Assert.h> #include <Utility/Logger/Logger.h> #include <Utility/Timer/Timer.h> #include <Utility/StlHelpers.h> namespace ktt { ComputeLayer::ComputeLayer(ComputeEngine& engine, KernelArgumentManager& argumentManager) :...
29.482857
129
0.755112
[ "vector" ]
bf53e490eb5133568c66344f815d9fb462017a56
8,174
cpp
C++
lib/eval/holdem_class_vector_cache.cpp
mastermind88/CandyPoker
37b502ce6ea8733ce0b70476fcf32930961923a8
[ "MIT" ]
null
null
null
lib/eval/holdem_class_vector_cache.cpp
mastermind88/CandyPoker
37b502ce6ea8733ce0b70476fcf32930961923a8
[ "MIT" ]
null
null
null
lib/eval/holdem_class_vector_cache.cpp
mastermind88/CandyPoker
37b502ce6ea8733ce0b70476fcf32930961923a8
[ "MIT" ]
null
null
null
/* CandyPoker https://github.com/sweeterthancandy/CandyPoker MIT License Copyright (c) 2019 Gerry Candy 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 li...
51.0875
163
0.397602
[ "vector" ]
bf5520955c9c199b56b04746c4f215604ebbb25f
93,148
cc
C++
src/vendor/mariadb-10.6.7/sql/filesort.cc
zettadb/zettalib
3d5f96dc9e3e4aa255f4e6105489758944d37cc4
[ "Apache-2.0" ]
null
null
null
src/vendor/mariadb-10.6.7/sql/filesort.cc
zettadb/zettalib
3d5f96dc9e3e4aa255f4e6105489758944d37cc4
[ "Apache-2.0" ]
null
null
null
src/vendor/mariadb-10.6.7/sql/filesort.cc
zettadb/zettalib
3d5f96dc9e3e4aa255f4e6105489758944d37cc4
[ "Apache-2.0" ]
2
2022-02-27T14:00:01.000Z
2022-03-31T06:24:22.000Z
/* Copyright (c) 2000, 2015, Oracle and/or its affiliates. Copyright (c) 2009, 2020, MariaDB This program 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; version 2 of the License. This program is ...
29.970399
84
0.618403
[ "object" ]
bf5562467cdb2b2df63113084f2eb72c5ea94d3f
2,191
hpp
C++
tools/Vitis-AI-Runtime/VART/vart/dpu-controller/runner-assistant/include/vart/assistant/batch_tensor_buffer.hpp
hito0512/Vitis-AI
996459fb96cb077ed2f7e789d515893b1cccbc95
[ "Apache-2.0" ]
848
2019-12-03T00:16:17.000Z
2022-03-31T22:53:17.000Z
tools/Vitis-AI-Runtime/VART/vart/dpu-controller/runner-assistant/include/vart/assistant/batch_tensor_buffer.hpp
wangyifan778/Vitis-AI
f61061eef7550d98bf02a171604c9a9f283a7c47
[ "Apache-2.0" ]
656
2019-12-03T00:48:46.000Z
2022-03-31T18:41:54.000Z
tools/Vitis-AI-Runtime/VART/vart/dpu-controller/runner-assistant/include/vart/assistant/batch_tensor_buffer.hpp
wangyifan778/Vitis-AI
f61061eef7550d98bf02a171604c9a9f283a7c47
[ "Apache-2.0" ]
506
2019-12-03T00:46:26.000Z
2022-03-30T10:34:56.000Z
/* * Copyright 2019 Xilinx 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 or agreed to ...
33.707692
78
0.724783
[ "vector" ]
bf578d8bac9d76de2f5027c7e48cf858611e74c1
10,250
cpp
C++
src/plugins/poshuku/plugins/onlinebookmarks/plugins/readitlater/readitlaterservice.cpp
MellonQ/leechcraft
71cbb238d2dade56b3865278a6a8e6a58c217fc5
[ "BSL-1.0" ]
1
2017-01-12T07:05:45.000Z
2017-01-12T07:05:45.000Z
src/plugins/poshuku/plugins/onlinebookmarks/plugins/readitlater/readitlaterservice.cpp
MellonQ/leechcraft
71cbb238d2dade56b3865278a6a8e6a58c217fc5
[ "BSL-1.0" ]
null
null
null
src/plugins/poshuku/plugins/onlinebookmarks/plugins/readitlater/readitlaterservice.cpp
MellonQ/leechcraft
71cbb238d2dade56b3865278a6a8e6a58c217fc5
[ "BSL-1.0" ]
null
null
null
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2010-2011 Oleg Linkin * * Boost Software License - Version 1.0 - August 17th, 2003 * * Permission is hereby granted, free of charge, to any person or organiz...
26.762402
97
0.68478
[ "object" ]
bf5a62a91ceb34eeef6f9575614efd0178eeebed
1,376
cpp
C++
engine/Ecs/Components/Acceleration.cpp
ledocool/snail_engine
0114a62dbecbbe58348fbe7083d9182bc1bd8c3c
[ "Apache-2.0" ]
null
null
null
engine/Ecs/Components/Acceleration.cpp
ledocool/snail_engine
0114a62dbecbbe58348fbe7083d9182bc1bd8c3c
[ "Apache-2.0" ]
null
null
null
engine/Ecs/Components/Acceleration.cpp
ledocool/snail_engine
0114a62dbecbbe58348fbe7083d9182bc1bd8c3c
[ "Apache-2.0" ]
1
2018-08-11T14:31:27.000Z
2018-08-11T14:31:27.000Z
/* * Copyright 2019 LedoCool. * * 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 i...
20.235294
85
0.707122
[ "vector" ]
bf5aca2b591076254e8aa83a5f79b4e33dc3dd13
6,779
cc
C++
shill/dbus/service_dbus_adaptor.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
4
2020-07-24T06:54:16.000Z
2021-06-16T17:13:53.000Z
shill/dbus/service_dbus_adaptor.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
1
2021-04-02T17:35:07.000Z
2021-04-02T17:35:07.000Z
shill/dbus/service_dbus_adaptor.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
1
2020-11-04T22:31:45.000Z
2020-11-04T22:31:45.000Z
// Copyright 2018 The Chromium OS 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 "shill/dbus/service_dbus_adaptor.h" #include <map> #include <string> #include <utility> #include <base/strings/string_number_conversions.h> ...
32.591346
80
0.654816
[ "object", "vector" ]