hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
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
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
⌀
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
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
⌀
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
⌀
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
⌀
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
2874313c0aab44997bd93e130a21277f474e4c00
822
cpp
C++
LeetCode/Contests/Weekly286/a.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
null
null
null
LeetCode/Contests/Weekly286/a.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
null
null
null
LeetCode/Contests/Weekly286/a.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
null
null
null
#include <vector> #include <unordered_set> #include <algorithm> using namespace::std; class Solution { public: vector<vector<int>> findDifference(vector<int>& nums1, vector<int>& nums2) { sort(nums1.begin(), nums1.end()); sort(nums2.begin(), nums2.end()); unordered_set<int> d1 = {}; unordered_set<int> d2 = {...
21.076923
80
0.577859
a4org
28753d49a65b1d4406c9c0b68d1cc0a3463cd8c6
2,396
cpp
C++
test/sql/storage/test_storage_scan.cpp
RelationalAI-oss/duckdb
a4908ae17de3ac62d42633ada03077b8c3ead7a5
[ "MIT" ]
2
2020-01-07T17:19:02.000Z
2020-01-09T22:04:04.000Z
test/sql/storage/test_storage_scan.cpp
RelationalAI-oss/duckdb
a4908ae17de3ac62d42633ada03077b8c3ead7a5
[ "MIT" ]
null
null
null
test/sql/storage/test_storage_scan.cpp
RelationalAI-oss/duckdb
a4908ae17de3ac62d42633ada03077b8c3ead7a5
[ "MIT" ]
null
null
null
#include "catch.hpp" #include "duckdb/common/file_system.hpp" #include "test_helpers.hpp" #include "duckdb/main/appender.hpp" using namespace duckdb; using namespace std; TEST_CASE("Test scanning of persisted storage", "[storage]") { auto config = GetTestConfig(); unique_ptr<QueryResult> result; auto storage_datab...
34.724638
93
0.676127
RelationalAI-oss
28753dd56fab5ac9eac176b3fde59428e7ed786e
9,160
inl
C++
mex/include/wildmagic-5.7/include/Wm5Query3Rational.inl
sangyoonHan/extern
a3c874538a7262b895b60d3c4d493e5b34cf81f8
[ "BSD-2-Clause" ]
null
null
null
mex/include/wildmagic-5.7/include/Wm5Query3Rational.inl
sangyoonHan/extern
a3c874538a7262b895b60d3c4d493e5b34cf81f8
[ "BSD-2-Clause" ]
null
null
null
mex/include/wildmagic-5.7/include/Wm5Query3Rational.inl
sangyoonHan/extern
a3c874538a7262b895b60d3c4d493e5b34cf81f8
[ "BSD-2-Clause" ]
null
null
null
// Geometric Tools, LLC // Copyright (c) 1998-2011 // Distributed under the Boost Software License, Version 1.0. // http://www.boost.org/LICENSE_1_0.txt // http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // // File Version: 5.0.0 (2010/01/01) //------------------------------------------------------...
36.787149
79
0.51714
sangyoonHan
2878482fcec1784558cc63c33772678631e07d1e
360
cpp
C++
src/SideBar.cpp
mora200217/gvoice-src
6f1b624706b93a710c68f20ce3d4af6bae55f863
[ "MIT" ]
null
null
null
src/SideBar.cpp
mora200217/gvoice-src
6f1b624706b93a710c68f20ce3d4af6bae55f863
[ "MIT" ]
null
null
null
src/SideBar.cpp
mora200217/gvoice-src
6f1b624706b93a710c68f20ce3d4af6bae55f863
[ "MIT" ]
null
null
null
// // SideBar.cpp // GVoice // // Created by Andres M. mora M on 27/09/20. // #include "SideBar.hpp" SideBar::SideBar(double posX, double posY, double w, double h){ dims.x = w; dims.y = h; pos.x = posX; pos.y = posY; } void SideBar::draw(){ ofColor(20, 20, 20); ofFill(); ofDrawRec...
15.652174
63
0.569444
mora200217
287852b6c55fb94489f37a0064b5931a3969d969
1,639
cpp
C++
src/WeatherSystem/SituationRain.cpp
omggomb/Plugin_WeatherSystem
c616ebb42101f8aacc2abae4f45c50918baf281b
[ "BSD-2-Clause" ]
4
2016-03-16T21:16:47.000Z
2021-04-13T22:22:47.000Z
src/WeatherSystem/SituationRain.cpp
omggomb/Plugin_WeatherSystem
c616ebb42101f8aacc2abae4f45c50918baf281b
[ "BSD-2-Clause" ]
1
2017-11-12T21:09:21.000Z
2017-12-16T06:18:46.000Z
src/WeatherSystem/SituationRain.cpp
omggomb/Plugin_WeatherSystem
c616ebb42101f8aacc2abae4f45c50918baf281b
[ "BSD-2-Clause" ]
2
2019-03-07T21:11:08.000Z
2021-04-13T22:22:50.000Z
#include "StdAfx.h" #include "SituationRain.h" SSituationRain::SSituationRain() : x_fAmount(1), x_fFadeInTime(10), x_fFakeGlossiness(1), x_fPuddlesAmount(3), x_fRadius(50), x_fDropSpeed(1), x_fReflectionAmount(1), x_fUmbrellaRadius(0), x_fFadeProgression(0), x_vColor(Vec3(255, 255, 255)), x_vCenter(Vec3(0, 0, 0)),...
30.924528
116
0.766321
omggomb
287a94e1864031f28672e161a853ff48312d3b0a
8,384
cpp
C++
src/zutil/misc_functions.cpp
EDAAC/OpenDB
4687cd22c97ae8f44332e7502c087168bde165e2
[ "BSD-3-Clause" ]
1
2021-09-13T12:24:25.000Z
2021-09-13T12:24:25.000Z
src/zutil/misc_functions.cpp
EDAAC/OpenDB
4687cd22c97ae8f44332e7502c087168bde165e2
[ "BSD-3-Clause" ]
null
null
null
src/zutil/misc_functions.cpp
EDAAC/OpenDB
4687cd22c97ae8f44332e7502c087168bde165e2
[ "BSD-3-Clause" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (c) 2019, Nefelus Inc // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are ...
23.750708
81
0.596016
EDAAC
287d14babfd458ff2e590da944f089a36288a353
669
cpp
C++
AtCoder/tkppc/c/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
AtCoder/tkppc/c/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
1
2021-10-19T08:47:23.000Z
2022-03-07T05:23:56.000Z
AtCoder/tkppc/c/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> #include <algorithm> #include <vector> using namespace std; int main() { int n, m, s; cin >> n >> m >> s; vector<pair<int, int>> p(n, make_pair(0, 0)); for (int i = 0; i < n; i++) cin >> p[i].first >> p[i].second; long long int ans = 0, now = 0; sort(p.begin(), p...
26.76
65
0.437967
H-Tatsuhiro
287fa211f94d5f7462a77066ea559b5392b12f39
1,068
cpp
C++
packages/nextalign/tests/extractGene.test.cpp
bigshr/nextclade
ddffb03e851a68a8d5a7260250a54cc0657da79b
[ "MIT" ]
108
2020-09-29T14:06:08.000Z
2022-03-19T03:07:35.000Z
packages/nextalign/tests/extractGene.test.cpp
bigshr/nextclade
ddffb03e851a68a8d5a7260250a54cc0657da79b
[ "MIT" ]
500
2020-09-15T09:45:10.000Z
2022-03-30T04:28:38.000Z
packages/nextalign/tests/extractGene.test.cpp
bigshr/nextclade
ddffb03e851a68a8d5a7260250a54cc0657da79b
[ "MIT" ]
55
2020-10-13T11:40:47.000Z
2022-02-27T04:35:12.000Z
#include "../src/translate/extractGene.h" #include <gtest/gtest.h> #include <nextalign/nextalign.h> #include <string_view> #include <vector> #include "../src/translate/mapCoordinates.h" TEST(extractGeneQuery, ExtractsQueryGene) { // clang-format off // gene 2 14 //...
28.864865
96
0.61236
bigshr
287fd2e39a435cbfcb2551c3b3cb72dc19796886
18,369
cpp
C++
src/test/lelantus_state_tests.cpp
xinya-123/firo
738c8e1f96fa4c332a157776366b884a451194a2
[ "MIT" ]
1
2021-04-03T09:47:44.000Z
2021-04-03T09:47:44.000Z
src/test/lelantus_state_tests.cpp
xinya-123/firo
738c8e1f96fa4c332a157776366b884a451194a2
[ "MIT" ]
null
null
null
src/test/lelantus_state_tests.cpp
xinya-123/firo
738c8e1f96fa4c332a157776366b884a451194a2
[ "MIT" ]
1
2021-04-14T16:49:56.000Z
2021-04-14T16:49:56.000Z
#include "../lelantus.h" #include "../validation.h" #include "fixtures.h" #include "test_bitcoin.h" #include <boost/test/unit_test.hpp> namespace std { template<typename Char, typename Traits, typename Item1, typename Item2> basic_ostream<Char, Traits>& operator<<(basic_ostream<Char, Traits>& os, const pair<Item1, ...
31.081218
143
0.667211
xinya-123
2880616cf4976f3929d43c3ac711e3cf4b87f1d7
4,580
cpp
C++
HelloMario/UIcode/UIcode.cpp
lin2010304125/GuiLiteSamples
8f9e875ea4012d96a49cbc8133cf5baf6cdf420a
[ "Apache-2.0" ]
null
null
null
HelloMario/UIcode/UIcode.cpp
lin2010304125/GuiLiteSamples
8f9e875ea4012d96a49cbc8133cf5baf6cdf420a
[ "Apache-2.0" ]
null
null
null
HelloMario/UIcode/UIcode.cpp
lin2010304125/GuiLiteSamples
8f9e875ea4012d96a49cbc8133cf5baf6cdf420a
[ "Apache-2.0" ]
null
null
null
#include "core_include/api.h" #include "core_include/rect.h" #include "core_include/surface.h" #include "core_include/resource.h" #include "core_include/bitmap.h" #include "core_include/word.h" #include "core_include/display.h" #include "core_include/theme.h" #define UI_WIDTH 240 #define UI_BOTTOM_HEIGHT 76 #define...
33.430657
162
0.711135
lin2010304125
2885b0408b3d7a543e16bbd5ec7abe1aff65abc0
134,803
cpp
C++
roomedit/source/editcli.cpp
Meridian59Kor/Meridian59
ab6d271c0e686250c104bd5c0886c91ec7cfa2b5
[ "FSFAP" ]
16
2016-03-01T09:12:32.000Z
2020-07-21T14:13:12.000Z
roomedit/source/editcli.cpp
Meridian59Kor/Meridian59
ab6d271c0e686250c104bd5c0886c91ec7cfa2b5
[ "FSFAP" ]
53
2016-02-13T05:39:43.000Z
2019-09-13T14:05:49.000Z
roomedit/source/editcli.cpp
Meridian59Kor/Meridian59
ab6d271c0e686250c104bd5c0886c91ec7cfa2b5
[ "FSFAP" ]
19
2016-05-29T13:08:53.000Z
2021-09-14T18:09:43.000Z
/*----------------------------------------------------------------------------* | This file is part of WinDEU, the port of DEU to Windows. | | WinDEU was created by the DEU team: | | Renaud Paquay, Raphael Quinet, Brendon Wyber and others... | ...
24.478482
90
0.616841
Meridian59Kor
2886a25ceecef1bd6c4540d3c6698fe04bc49b9f
1,298
cpp
C++
catkin_ws/src/mrpt_bridge/src/test/test_pointcloud2.cpp
attaoveisi/AttBot_Rasberry
dadcd6e80e2f3c7bd78c7a48ef64799de7bfa17f
[ "BSD-2-Clause" ]
1
2021-01-10T10:52:03.000Z
2021-01-10T10:52:03.000Z
workspace/catkin_ws/src/mrpt_bridge/src/test/test_pointcloud2.cpp
attaoveisi/AttBot2_Localization
6ce84e26cc55fc391fdbcee168aa04102d59d375
[ "MIT" ]
1
2020-11-12T09:53:16.000Z
2020-11-12T09:53:16.000Z
workspace/catkin_ws/src/mrpt_bridge/src/test/test_pointcloud2.cpp
attaoveisi/AttBot2_Localization
6ce84e26cc55fc391fdbcee168aa04102d59d375
[ "MIT" ]
null
null
null
/* * test_pose_conversions.cpp * * Created on: Mar 15, 2012 * Author: Pablo Iñigo Blasco */ #include <mrpt_bridge/point_cloud2.h> #include <mrpt/version.h> #include <mrpt/maps/CSimplePointsMap.h> #include <pcl/conversions.h> #include <pcl/point_cloud.h> #include <pcl_conversions/pcl_conversions.h> #include...
21.633333
60
0.697227
attaoveisi
2888ac93530b107bb41e2aa7d8ff71c728570cd1
790
cpp
C++
4058/main.cpp
innovator-zero/SJTU-OJ
6690d773a5992f3e00599380dc6ca0b4ff2ac845
[ "MIT" ]
null
null
null
4058/main.cpp
innovator-zero/SJTU-OJ
6690d773a5992f3e00599380dc6ca0b4ff2ac845
[ "MIT" ]
null
null
null
4058/main.cpp
innovator-zero/SJTU-OJ
6690d773a5992f3e00599380dc6ca0b4ff2ac845
[ "MIT" ]
null
null
null
#include <iostream> #include <cstring> using namespace std; int main() { int n,i,j,m=0,tmp,num; char a[80],b[80]; bool flag,f; cin>>n; cin.getline(a,80,'\n'); num=strlen(a); for(i=0;i<num;++i){ flag=true; for(j=0;j<i;++j){ if (a[i]==a[j]){flag=false;} } ...
20.789474
68
0.38481
innovator-zero
288a111b37c1d0721651fca29630fe609ea31f44
23,786
cpp
C++
tests/functional_tests/transactions_flow_test.cpp
Virie/Virie
fc5ad5816678b06b88d08a6842e43d4205915b39
[ "MIT" ]
1
2021-03-07T13:26:43.000Z
2021-03-07T13:26:43.000Z
tests/functional_tests/transactions_flow_test.cpp
Virie/Virie
fc5ad5816678b06b88d08a6842e43d4205915b39
[ "MIT" ]
null
null
null
tests/functional_tests/transactions_flow_test.cpp
Virie/Virie
fc5ad5816678b06b88d08a6842e43d4205915b39
[ "MIT" ]
null
null
null
// Copyright (c) 2014-2020 The Virie Project // Copyright (c) 2012-2013 The Cryptonote developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <boost/uuid/uuid.hpp> #include <boost/uuid/random_generator.hpp> #inc...
37.049844
1,536
0.639914
Virie
288a901e204d718473891b4d2f8917c14621ab3b
2,292
hpp
C++
Siv3D/include/Siv3D/Console.hpp
azaika/OpenSiv3D
2e8258ea15741b7dafa6637b50b43637f7b9923a
[ "MIT" ]
1
2018-05-23T10:57:32.000Z
2018-05-23T10:57:32.000Z
include/Siv3D/Console.hpp
cs3238-tsuzu/AIShoot
7c3dbb6e3b49f7d0ae1efe7ca69251ad50477647
[ "MIT" ]
null
null
null
include/Siv3D/Console.hpp
cs3238-tsuzu/AIShoot
7c3dbb6e3b49f7d0ae1efe7ca69251ad50477647
[ "MIT" ]
1
2019-10-06T17:09:26.000Z
2019-10-06T17:09:26.000Z
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (c) 2008-2018 Ryo Suzuki // Copyright (c) 2016-2018 OpenSiv3D Project // // Licensed under the MIT License. // //----------------------------------------------- # pragma once # include <iostream> # include "F...
16.255319
53
0.57548
azaika
288ae8e08e72b455406104b44c61e9ed0746fc0f
143,315
cpp
C++
src2/rpc/blockchain.cpp
sieb/biblepay-evolution-tester
69c07454cb794b37a6e6a615be269905e84c9f6f
[ "MIT" ]
null
null
null
src2/rpc/blockchain.cpp
sieb/biblepay-evolution-tester
69c07454cb794b37a6e6a615be269905e84c9f6f
[ "MIT" ]
null
null
null
src2/rpc/blockchain.cpp
sieb/biblepay-evolution-tester
69c07454cb794b37a6e6a615be269905e84c9f6f
[ "MIT" ]
null
null
null
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2015 The Bitcoin Core developers // Copyright (c) 2014-2017 The BiblePay Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "amount.h" #include "...
43.948175
1,224
0.647999
sieb
288d07a11ae99e75227315c5ecb3e25447a971d4
15,496
cc
C++
libs/mve/libs/mve/bundle_io.cc
3000huyang/mvs-texturing-windows
cb4f4142e746402c7c8eb87793e5f6de9158068c
[ "BSD-3-Clause" ]
null
null
null
libs/mve/libs/mve/bundle_io.cc
3000huyang/mvs-texturing-windows
cb4f4142e746402c7c8eb87793e5f6de9158068c
[ "BSD-3-Clause" ]
null
null
null
libs/mve/libs/mve/bundle_io.cc
3000huyang/mvs-texturing-windows
cb4f4142e746402c7c8eb87793e5f6de9158068c
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2015, Simon Fuhrmann * TU Darmstadt - Graphics, Capture and Massively Parallel Computing * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD 3-Clause license. See the LICENSE.txt file for details. */ #include <cerrno> #include <cstring> #inclu...
32.016529
114
0.550594
3000huyang
288e2ed2747cf2635a317d99aced8ac3fc79f411
7,648
hh
C++
dune/gdt/test/linearelliptic/problems/AO2013.hh
tobiasleibner/dune-gdt
5d3dc6c7f5fd66db78ebb294d7ee4803f8e0bf5b
[ "BSD-2-Clause" ]
null
null
null
dune/gdt/test/linearelliptic/problems/AO2013.hh
tobiasleibner/dune-gdt
5d3dc6c7f5fd66db78ebb294d7ee4803f8e0bf5b
[ "BSD-2-Clause" ]
null
null
null
dune/gdt/test/linearelliptic/problems/AO2013.hh
tobiasleibner/dune-gdt
5d3dc6c7f5fd66db78ebb294d7ee4803f8e0bf5b
[ "BSD-2-Clause" ]
null
null
null
// This file is part of the dune-gdt project: // https://github.com/dune-community/dune-gdt // Copyright 2010-2017 dune-gdt developers and contributors. All rights reserved. // License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // or GPL-2.0+ (http://opensource.org/lice...
33.39738
120
0.564461
tobiasleibner
2893042fd94d938dd3f42a651ecc20d80c80a5ea
3,448
cpp
C++
test_conformance/basic/test_constant_source.cpp
bhargavthriler/OpenCL-CTS
6a64c5a0c74b9e4a83025628f2cdb746647cdfb1
[ "Apache-2.0" ]
null
null
null
test_conformance/basic/test_constant_source.cpp
bhargavthriler/OpenCL-CTS
6a64c5a0c74b9e4a83025628f2cdb746647cdfb1
[ "Apache-2.0" ]
null
null
null
test_conformance/basic/test_constant_source.cpp
bhargavthriler/OpenCL-CTS
6a64c5a0c74b9e4a83025628f2cdb746647cdfb1
[ "Apache-2.0" ]
null
null
null
// // Copyright (c) 2017 The Khronos Group 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...
32.528302
173
0.62935
bhargavthriler
28940e55724dfa761b7d2d6e7d21d12313be5e2e
4,166
cpp
C++
vizhandle.cpp
ftynse/clint
d9be5631156d4b93dd8a6897503141a3bc652fac
[ "BSD-3-Clause" ]
18
2016-05-10T15:54:05.000Z
2022-03-29T22:27:30.000Z
vizhandle.cpp
ftynse/clint
d9be5631156d4b93dd8a6897503141a3bc652fac
[ "BSD-3-Clause" ]
4
2017-04-12T12:52:14.000Z
2019-05-10T10:50:48.000Z
vizhandle.cpp
ftynse/clint
d9be5631156d4b93dd8a6897503141a3bc652fac
[ "BSD-3-Clause" ]
3
2019-05-10T09:30:20.000Z
2020-12-20T08:08:20.000Z
#include "vizhandle.h" #include "macros.h" #include <QtCore> #include <QtGui> #include <QtWidgets> #include <QtDebug> constexpr int VizHandle::updates[VizHandle::NB_KINDS][VizHandle::NB_KINDS]; VizHandle::VizHandle(QGraphicsItem *item, Kind kind) : QGraphicsRectItem(item), m_kind(kind) { setFlag(QGraphicsItem::...
25.248485
82
0.679309
ftynse
2894a200ad4a928e681a23908483bc53c290f92f
19,576
cpp
C++
BitBoard.cpp
hbrausen/revello
db74f025d879f6da980bd404633d7f8bcfa281da
[ "MIT" ]
1
2016-03-24T23:40:17.000Z
2016-03-24T23:40:17.000Z
BitBoard.cpp
hbrausen/revello
db74f025d879f6da980bd404633d7f8bcfa281da
[ "MIT" ]
null
null
null
BitBoard.cpp
hbrausen/revello
db74f025d879f6da980bd404633d7f8bcfa281da
[ "MIT" ]
null
null
null
#include "BitBoard.h" #include <stdint.h> #include <cstdio> unsigned char moves[256][256][2]; // Move generation lookup table unsigned char move_map[8][256][256][2]; // Move result lookup table unsigned char r90map[64] = { // convert offset into r90 offset 0, 8, 16, 24, 32, 40, 48, 56, 1, 9, 17, 25, 33, 41, 49, 57, ...
28.788235
160
0.562679
hbrausen
2897b690d8f610bd884896fabfbce0bc8ab6a265
3,096
cpp
C++
Solutions/Easy/ASCII Art/ASCII_Art.cpp
gitcoding-bot/CodinGame-Solutions
d851d0147b227ac9f91e4c3f5b61493109e1847a
[ "MIT" ]
1
2019-11-04T10:08:23.000Z
2019-11-04T10:08:23.000Z
Solutions/Easy/ASCII Art/ASCII_Art.cpp
gitcoding-bot/CodinGame-Solutions
d851d0147b227ac9f91e4c3f5b61493109e1847a
[ "MIT" ]
null
null
null
Solutions/Easy/ASCII Art/ASCII_Art.cpp
gitcoding-bot/CodinGame-Solutions
d851d0147b227ac9f91e4c3f5b61493109e1847a
[ "MIT" ]
null
null
null
/* CodinGame.com Solutions by gitcoding-bot Puzzle: ASCII Art Difficulty: Easy */ #include <iostream> #include <string> #include <vector> #include <algorithm> #include <array> using namespace std; int alphabet(char a) { switch(a) { case 'A': return 1; case 'B': ret...
18.319527
42
0.365956
gitcoding-bot
289bc58331dd3813cd78fedd2fe4eb278d480453
4,022
cc
C++
src/net/EventLoop.cc
Hanwn/Shoot
6d5277f42575c146be11d24675837d992b5c0e89
[ "MIT" ]
null
null
null
src/net/EventLoop.cc
Hanwn/Shoot
6d5277f42575c146be11d24675837d992b5c0e89
[ "MIT" ]
null
null
null
src/net/EventLoop.cc
Hanwn/Shoot
6d5277f42575c146be11d24675837d992b5c0e89
[ "MIT" ]
null
null
null
#include "logger.h" #include "EventLoop.hpp" #include <syscall.h> #include <unistd.h> #include <sys/eventfd.h> #include "TcpConnection.hpp" // 使用eventfd的读写实现线程唤醒的目的 int create_eventfd() { // QUESTION: int _fd = eventfd(0, EFD_NONBLOCK | EFD_CLOEXEC); return _fd; } class TCPConnection; EventLoop::EventLoo...
26.287582
91
0.65639
Hanwn
289f20da5a982f9647c76305fc5dcca6ebc367e5
2,797
cpp
C++
ProjetEquipe2/ProjetEquipe2/Animator.cpp
dev1ous/Great-Steamrogue
2519632f1af2d49ae68559afb615b8157416672d
[ "Apache-2.0" ]
null
null
null
ProjetEquipe2/ProjetEquipe2/Animator.cpp
dev1ous/Great-Steamrogue
2519632f1af2d49ae68559afb615b8157416672d
[ "Apache-2.0" ]
null
null
null
ProjetEquipe2/ProjetEquipe2/Animator.cpp
dev1ous/Great-Steamrogue
2519632f1af2d49ae68559afb615b8157416672d
[ "Apache-2.0" ]
null
null
null
#include "Animator.h" Animator::Animator(sf::IntRect _rect, int _nbframe, float _frametimer, const int _space) { Rect = _rect; NbFrame = _nbframe; Frame_Timer = _frametimer; Space = _space; Frame = 0; Timer = 0; } void Animator::Animation(sf::RectangleShape& _sprite, const float& dt) { Timer += dt; if (Timer...
22.92623
124
0.666786
dev1ous
80c331107c9ed56329b7a676d16f5171197e74a7
2,426
cpp
C++
src/selectionStrategies/Selection_NOP.cpp
hpkhanh/Noxim-Extention
3ec3ed6802648abbbc9938447922ad17f36ca53b
[ "OML" ]
2
2020-07-29T17:59:07.000Z
2021-04-21T07:25:09.000Z
src/selectionStrategies/Selection_NOP.cpp
hpkhanh/Noxim-Extention
3ec3ed6802648abbbc9938447922ad17f36ca53b
[ "OML" ]
null
null
null
src/selectionStrategies/Selection_NOP.cpp
hpkhanh/Noxim-Extention
3ec3ed6802648abbbc9938447922ad17f36ca53b
[ "OML" ]
2
2019-08-17T06:05:21.000Z
2020-08-25T04:56:51.000Z
#include "Selection_NOP.h" SelectionStrategiesRegister Selection_NOP::selectionStrategiesRegister("NOP", getInstance()); Selection_NOP * Selection_NOP::selection_NOP = 0; Selection_NOP * Selection_NOP::getInstance() { if ( selection_NOP == 0 ) selection_NOP = new Selection_NOP(); return selection_NOP; } in...
31.102564
106
0.70981
hpkhanh
80c88b87bc588fc277b2c84df09d7fb1b272a2ff
4,145
cpp
C++
plugins/dmxusb/src/dmxusbconfig.cpp
joepadmiraal/qlcplus
ca7f083012c92eb4263bc38d957b2feda6d04185
[ "Apache-2.0" ]
null
null
null
plugins/dmxusb/src/dmxusbconfig.cpp
joepadmiraal/qlcplus
ca7f083012c92eb4263bc38d957b2feda6d04185
[ "Apache-2.0" ]
null
null
null
plugins/dmxusb/src/dmxusbconfig.cpp
joepadmiraal/qlcplus
ca7f083012c92eb4263bc38d957b2feda6d04185
[ "Apache-2.0" ]
null
null
null
/* Q Light Controller dmxusbconfig.cpp Copyright (C) Heikki Junnila 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.txt Unless requi...
30.255474
85
0.698914
joepadmiraal
80c8c408297c66007677049868b556a78f321470
2,653
cpp
C++
libs/imageio/src/ImageDiffer.cpp
gstanlo/filament
32690aee8e699788367916aeba99318a67f7b9b0
[ "Apache-2.0" ]
1
2021-03-06T14:42:44.000Z
2021-03-06T14:42:44.000Z
libs/imageio/src/ImageDiffer.cpp
Soldie/filament-google
fd8b1851a93102c4a38b0db242d1c7f3f1368933
[ "Apache-2.0" ]
null
null
null
libs/imageio/src/ImageDiffer.cpp
Soldie/filament-google
fd8b1851a93102c4a38b0db242d1c7f3f1368933
[ "Apache-2.0" ]
1
2020-12-09T00:55:05.000Z
2020-12-09T00:55:05.000Z
/* * Copyright 2018 The Android 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
35.851351
101
0.672069
gstanlo
80d118c43680942f4f81b579f068edb349dd6103
759
cc
C++
ctrlbrd/domain/src/srv/srv_brd.cc
horance-liu/fan-speed
62c9e79279d02c5aabaef9714cc17945cdf194ca
[ "Apache-2.0" ]
null
null
null
ctrlbrd/domain/src/srv/srv_brd.cc
horance-liu/fan-speed
62c9e79279d02c5aabaef9714cc17945cdf194ca
[ "Apache-2.0" ]
null
null
null
ctrlbrd/domain/src/srv/srv_brd.cc
horance-liu/fan-speed
62c9e79279d02c5aabaef9714cc17945cdf194ca
[ "Apache-2.0" ]
null
null
null
#include "srv_brd.h" #include "srv_brd_listener.h" #include "assertions.h" namespace ctrlbrd { SrvBrd::SrvBrd(U32 slot) : slot(slot) { } bool SrvBrd::Matches(U32 slot) const { return this->slot == slot; } Status SrvBrd::Add(SrvBrdListener& listener) { ASSERT_TRUE(numOfListener < MAX_SRV_BRD_TEMP_LISENER_NU...
18.975
62
0.662714
horance-liu
80d1b85ca0a440eea2e8ab16ea96cd782cb2198c
2,017
cpp
C++
solved_problems/567C.cpp
archit-1997/codeforces
6f78a3ed5930531159ae22f7b70dc56e37a9e240
[ "MIT" ]
1
2021-01-27T16:37:31.000Z
2021-01-27T16:37:31.000Z
solved_problems/567C.cpp
archit-1997/codeforces
6f78a3ed5930531159ae22f7b70dc56e37a9e240
[ "MIT" ]
null
null
null
solved_problems/567C.cpp
archit-1997/codeforces
6f78a3ed5930531159ae22f7b70dc56e37a9e240
[ "MIT" ]
null
null
null
/*Polycarp loves geometric progressions very much. Since he was only three years old, he loves only the progressions of length three. He also has a favorite integer k and a sequence a, consisting of n integers. He wants to know how many subsequences of length three can be selected from a, so that they form a geom...
23.729412
81
0.669311
archit-1997
80d45d6fb3479d6e0d880ab967bce80afaf1e5be
69,374
cpp
C++
indra/newview/lldrawpoolavatar.cpp
bloomsirenix/Firestorm-manikineko
67e1bb03b2d05ab16ab98097870094a8cc9de2e7
[ "Unlicense" ]
1
2022-03-26T15:03:34.000Z
2022-03-26T15:03:34.000Z
indra/newview/lldrawpoolavatar.cpp
bloomsirenix/Firestorm-manikineko
67e1bb03b2d05ab16ab98097870094a8cc9de2e7
[ "Unlicense" ]
null
null
null
indra/newview/lldrawpoolavatar.cpp
bloomsirenix/Firestorm-manikineko
67e1bb03b2d05ab16ab98097870094a8cc9de2e7
[ "Unlicense" ]
null
null
null
/** * @file lldrawpoolavatar.cpp * @brief LLDrawPoolAvatar class implementation * * $LicenseInfo:firstyear=2002&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2010, Linden Research, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the...
25.108216
197
0.6741
bloomsirenix
80d942220d3466ab37519249c40984c046cf8805
57,587
cpp
C++
Dependencies/code/hlsl2glsl/hlslang/GLSLCodeGen/glslOutput.cpp
OscarGame/blade
6987708cb011813eb38e5c262c7a83888635f002
[ "MIT" ]
146
2018-12-03T08:08:17.000Z
2022-03-21T06:04:06.000Z
Dependencies/code/hlsl2glsl/hlslang/GLSLCodeGen/glslOutput.cpp
huangx916/blade
3fa398f4d32215bbc7e292d61e38bb92aad1ee1c
[ "MIT" ]
1
2019-01-18T03:35:49.000Z
2019-01-18T03:36:08.000Z
Dependencies/code/hlsl2glsl/hlslang/GLSLCodeGen/glslOutput.cpp
huangx916/blade
3fa398f4d32215bbc7e292d61e38bb92aad1ee1c
[ "MIT" ]
31
2018-12-03T10:32:43.000Z
2021-10-04T06:31:44.000Z
// Copyright (c) The HLSL2GLSLFork Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE.txt file. #include "glslOutput.h" #include <cstdlib> #include <cstring> #ifdef _WIN32 #define snprintf _snprintf #endif //ACS: some texture loo...
30.485442
246
0.607446
OscarGame
80d95aa27eb57b272dbd976ce47547ce0165995e
4,289
hpp
C++
Object.hpp
deepdubey06/WMI
6cba31cf8ddc8fc3ad9767507690f6d11a9c3bb5
[ "MIT" ]
49
2015-08-10T09:53:45.000Z
2021-05-31T23:12:56.000Z
Object.hpp
deepdubey06/WMI
6cba31cf8ddc8fc3ad9767507690f6d11a9c3bb5
[ "MIT" ]
null
null
null
Object.hpp
deepdubey06/WMI
6cba31cf8ddc8fc3ad9767507690f6d11a9c3bb5
[ "MIT" ]
22
2015-10-27T13:53:06.000Z
2021-12-01T07:36:03.000Z
//////////////////////////////////////////////////////////////////////////////// //! \file Object.hpp //! \brief The Object class declaration. //! \author Chris Oldwood // Check for previous inclusion #ifndef WMI_OBJECT_HPP #define WMI_OBJECT_HPP #if _MSC_VER > 1000 #pragma once #endif #include "Types.hpp" #inclu...
25.378698
127
0.631616
deepdubey06
80dad37410584f800a38ba6e28884237e735470b
20,800
cpp
C++
tf2_src/game/shared/tf/tf_gamestats_shared.cpp
IamIndeedGamingAsHardAsICan03489/TeamFortress2
1b81dded673d49adebf4d0958e52236ecc28a956
[ "MIT" ]
4
2021-10-03T05:16:55.000Z
2021-12-28T16:49:27.000Z
tf2_src/game/shared/tf/tf_gamestats_shared.cpp
Counter2828/TeamFortress2
1b81dded673d49adebf4d0958e52236ecc28a956
[ "MIT" ]
null
null
null
tf2_src/game/shared/tf/tf_gamestats_shared.cpp
Counter2828/TeamFortress2
1b81dded673d49adebf4d0958e52236ecc28a956
[ "MIT" ]
3
2022-02-02T18:09:58.000Z
2022-03-06T18:54:39.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // //=============================================================================// #include "cbase.h" #ifdef GAME_DLL #include "gamestats.h" #else #include "tf_hud_statpanel.h" #endif #include "tf_gamestats_shared.h" #ifn...
32.601881
239
0.586058
IamIndeedGamingAsHardAsICan03489
80e33dd0f6fec8b4d768773e77a54534e333c98e
2,322
cpp
C++
src/game/server/city/shopitems/healthregen.cpp
devarkadiusz/teeworlds-UHCity
da3f36b0823daf510581efa8549bc1a56ccb6b4c
[ "Zlib" ]
null
null
null
src/game/server/city/shopitems/healthregen.cpp
devarkadiusz/teeworlds-UHCity
da3f36b0823daf510581efa8549bc1a56ccb6b4c
[ "Zlib" ]
null
null
null
src/game/server/city/shopitems/healthregen.cpp
devarkadiusz/teeworlds-UHCity
da3f36b0823daf510581efa8549bc1a56ccb6b4c
[ "Zlib" ]
null
null
null
/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */ /* If you are missing that file, acquire a complete release at teeworlds.com. */ #include <game/generated/protocol.h> #include <game/server/gamecontext.h> #include "healthregen.h" CHealthRegen::CHealthRegen(C...
21.700935
117
0.650301
devarkadiusz
80e7df420794c8f8a45145e1a4fd0b0da93a6b60
2,503
hpp
C++
std/arguments.hpp
triploit/tridy
cb25243ee61042470cf267789dfdba9ce6573d7b
[ "MIT" ]
2
2019-02-21T18:15:03.000Z
2020-12-18T11:16:23.000Z
std/arguments.hpp
triploit/tridy
cb25243ee61042470cf267789dfdba9ce6573d7b
[ "MIT" ]
2
2019-02-01T21:02:17.000Z
2019-02-11T09:25:42.000Z
std/arguments.hpp
triploit/tridy
cb25243ee61042470cf267789dfdba9ce6573d7b
[ "MIT" ]
1
2018-06-22T13:56:05.000Z
2018-06-22T13:56:05.000Z
#ifndef TRIDYMITE_ARGUMENTS_HPP #define TRIDYMITE_ARGUMENTS_HPP #include <string> #include <vector> #include <std/args/args.hpp> #include <std/args/download_to_path.hpp> #include <std/args/update_local_path.hpp> #include <std/args/verbose.hpp> const std::vector<std::string> __ARG_NAME { // Names, two names of the sa...
20.024
147
0.615661
triploit
80e92cdd8fa9c5bf391d1ca97cb6430337e07c87
591
hpp
C++
kraken/resources/home/dnanexus/jellyfish-1.1.11/jellyfish/dna_codes.hpp
transcript/DNAnexus_apps
12c2ba6f57b805a9fcf6e1da4f9d64394ef72256
[ "MIT" ]
3
2015-11-20T19:40:29.000Z
2019-07-25T15:34:24.000Z
kraken/resources/home/dnanexus/jellyfish-1.1.11/jellyfish/dna_codes.hpp
transcript/DNAnexus_apps
12c2ba6f57b805a9fcf6e1da4f9d64394ef72256
[ "MIT" ]
null
null
null
kraken/resources/home/dnanexus/jellyfish-1.1.11/jellyfish/dna_codes.hpp
transcript/DNAnexus_apps
12c2ba6f57b805a9fcf6e1da4f9d64394ef72256
[ "MIT" ]
2
2018-09-20T08:28:36.000Z
2019-03-06T06:26:52.000Z
#ifndef __DNA_CODE_HPP__ #define __DNA_CODE_HPP__ #include <limits> #include <jellyfish/misc.hpp> namespace jellyfish { static const uint_t CODE_A = 0; static const uint_t CODE_C = 0; static const uint_t CODE_G = 0; static const uint_t CODE_T = 0; // Non DNA codes have the MSB on static const ...
28.142857
72
0.71066
transcript
80ea9a8469054978323c010a3df191769298414d
3,624
hpp
C++
external/boost_1_44_0/boost/spirit/home/support/iterators/detail/input_iterator_policy.hpp
RaptDept/slimtune
a9a248a342a51d95b7c833bce5bb91bf3db987f3
[ "MIT" ]
27
2020-11-12T19:24:54.000Z
2022-03-27T23:10:45.000Z
external/boost_1_44_0/boost/spirit/home/support/iterators/detail/input_iterator_policy.hpp
RaptDept/slimtune
a9a248a342a51d95b7c833bce5bb91bf3db987f3
[ "MIT" ]
2
2020-11-02T06:30:39.000Z
2022-02-23T18:39:55.000Z
external/boost_1_44_0/boost/spirit/home/support/iterators/detail/input_iterator_policy.hpp
RaptDept/slimtune
a9a248a342a51d95b7c833bce5bb91bf3db987f3
[ "MIT" ]
7
2018-02-05T19:34:34.000Z
2021-11-01T08:46:34.000Z
// Copyright (c) 2001 Daniel C. Nuffer // Copyright (c) 2001-2010 Hartmut Kaiser // // 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) #if !defined(BOOST_SPIRIT_ITERATOR_INPUT_ITERATOR_POLICY_MAR_16_2007_1156AM) ...
32.357143
81
0.524558
RaptDept
80f02bf82dde20b88e4b8c7d25c7a19b5b869139
4,519
cpp
C++
External/CameraModule.cpp
TommyRadan/AlphaEngine
5d248e6e980eb0e4759dc698bdc1eece551b9145
[ "MIT" ]
1
2019-07-13T10:39:20.000Z
2019-07-13T10:39:20.000Z
External/CameraModule.cpp
TommyRadan/AlphaEngine
5d248e6e980eb0e4759dc698bdc1eece551b9145
[ "MIT" ]
1
2017-04-05T00:41:36.000Z
2017-04-05T00:41:36.000Z
External/CameraModule.cpp
TommyRadan/AlphaEngine
5d248e6e980eb0e4759dc698bdc1eece551b9145
[ "MIT" ]
null
null
null
/** * Copyright (c) 2015-2019 Tomislav Radanovic * * 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, m...
30.126667
107
0.685771
TommyRadan
80f25eb60bf563acae0bd0484bc9c9c33884e81b
983
cpp
C++
leetcode/problemset-algorithms/compare-strings-by-frequency-of-the-smallest-character.cpp
riteshkumar99/coding-for-placement
b45f90f662808bf4bf038ff98a016d49b9d71f71
[ "MIT" ]
null
null
null
leetcode/problemset-algorithms/compare-strings-by-frequency-of-the-smallest-character.cpp
riteshkumar99/coding-for-placement
b45f90f662808bf4bf038ff98a016d49b9d71f71
[ "MIT" ]
null
null
null
leetcode/problemset-algorithms/compare-strings-by-frequency-of-the-smallest-character.cpp
riteshkumar99/coding-for-placement
b45f90f662808bf4bf038ff98a016d49b9d71f71
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; vector<int> findF(vector<string> &v) { int n = v.size(); vector<int> ans(n, 0); for(int i = 0; i<n; i++) { vector<int> arr(26, 0); for(auto e: v[i]) { arr[e-'a']++; } for(int j = 0; j<26; j++) { if(arr[j]) ...
22.860465
83
0.459817
riteshkumar99
80f3ac2db710b7377471ea636bafc2f14c88c55c
5,750
cpp
C++
src/System.Device.Gpio/sys_dev_gpio_native_System_Device_Gpio_GpioController.cpp
mikeoliphant/nf-interpreter
f208c7ad061505936b10aa0872a7aeb53533df7a
[ "MIT" ]
null
null
null
src/System.Device.Gpio/sys_dev_gpio_native_System_Device_Gpio_GpioController.cpp
mikeoliphant/nf-interpreter
f208c7ad061505936b10aa0872a7aeb53533df7a
[ "MIT" ]
null
null
null
src/System.Device.Gpio/sys_dev_gpio_native_System_Device_Gpio_GpioController.cpp
mikeoliphant/nf-interpreter
f208c7ad061505936b10aa0872a7aeb53533df7a
[ "MIT" ]
null
null
null
// // Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // #include "sys_dev_gpio_native.h" typedef Library_sys_dev_gpio_native_System_Device_Gpio_GpioPin GpioPin; typedef Library_...
27.380952
120
0.718087
mikeoliphant
80f561a8f3063bf34fda01aabb00352d3b1f37dd
1,935
cpp
C++
test/src/algorithm/is_unique.cpp
jonathanpoelen/jln.mp
e5f05fc4467f14ac0047e3bdc75a04076e689985
[ "MIT" ]
9
2020-07-04T16:46:13.000Z
2022-01-09T21:59:31.000Z
test/src/algorithm/is_unique.cpp
jonathanpoelen/jln.mp
e5f05fc4467f14ac0047e3bdc75a04076e689985
[ "MIT" ]
null
null
null
test/src/algorithm/is_unique.cpp
jonathanpoelen/jln.mp
e5f05fc4467f14ac0047e3bdc75a04076e689985
[ "MIT" ]
1
2021-05-23T13:37:40.000Z
2021-05-23T13:37:40.000Z
#include "test.hpp" #include "test/numbers.hpp" #include "jln/mp/smp/algorithm/is_unique.hpp" #include "jln/mp/smp/functional/each.hpp" #include "jln/mp/smp/list/at.hpp" #include "jln/mp/smp/number/operators.hpp" TEST_SUITE_BEGIN() TEST() { using namespace jln::mp; using namespace ut::ints; test_pack2<is_uniq...
30.714286
83
0.621705
jonathanpoelen
80f8aaed43c706d31923328bf900ce631bb5ac17
7,410
cpp
C++
MicroController code/Code fragments and testing/9Dof comms/Fast I2C test/dof_class.cpp
Mauvai/Quadcopter-FYP-legacy
161f2842d06d30aad06895efa198dc0ee28a27c2
[ "MIT" ]
null
null
null
MicroController code/Code fragments and testing/9Dof comms/Fast I2C test/dof_class.cpp
Mauvai/Quadcopter-FYP-legacy
161f2842d06d30aad06895efa198dc0ee28a27c2
[ "MIT" ]
null
null
null
MicroController code/Code fragments and testing/9Dof comms/Fast I2C test/dof_class.cpp
Mauvai/Quadcopter-FYP-legacy
161f2842d06d30aad06895efa198dc0ee28a27c2
[ "MIT" ]
null
null
null
#include <stdio.h> // Recommended over iostream for saving space #include <propeller.h> // Propeller-specific functions #include "simpletools.h" #include "dof_class.h" #include "i2c_mod.h" #include "efficient_math.h" //NB reduced and modified version of Dof class //NB 2 of these chars are no longer...
33.681818
121
0.662213
Mauvai
80fe4303d1b01bf5cba45751322b8f3f8bf2ea6d
141,457
cc
C++
EnergyPlus/ThermalISO15099Calc.cc
yurigabrich/EnergyPlusShadow
396ca83aa82b842e6b177ba35c91b3f481dfbbf9
[ "BSD-3-Clause" ]
null
null
null
EnergyPlus/ThermalISO15099Calc.cc
yurigabrich/EnergyPlusShadow
396ca83aa82b842e6b177ba35c91b3f481dfbbf9
[ "BSD-3-Clause" ]
1
2020-07-08T13:32:09.000Z
2020-07-08T13:32:09.000Z
EnergyPlus/ThermalISO15099Calc.cc
yurigabrich/EnergyPlusShadow
396ca83aa82b842e6b177ba35c91b3f481dfbbf9
[ "BSD-3-Clause" ]
null
null
null
// EnergyPlus, Copyright (c) 1996-2018, The Board of Trustees of the University of Illinois, // The Regents of the University of California, through Lawrence Berkeley National Laboratory // (subject to receipt of any required approvals from the U.S. Dept. of Energy), Oak Ridge // National Laboratory, managed by UT-Batt...
39.94832
150
0.428738
yurigabrich
4406dc2bce9bb286bb2a60d0e75f0bf582bf5122
3,825
cpp
C++
MATLAB/simulink/evaluate_dynamics.cpp
noelc-s/cassie_description
0a8afd785507d830761de5f72798dfb8bb799c63
[ "MIT" ]
3
2021-04-21T06:36:52.000Z
2021-11-18T13:19:37.000Z
MATLAB/simulink/evaluate_dynamics.cpp
noelc-s/cassie_description
0a8afd785507d830761de5f72798dfb8bb799c63
[ "MIT" ]
null
null
null
MATLAB/simulink/evaluate_dynamics.cpp
noelc-s/cassie_description
0a8afd785507d830761de5f72798dfb8bb799c63
[ "MIT" ]
2
2021-08-04T21:22:52.000Z
2021-09-21T08:24:00.000Z
/* * MIT License * * Copyright (c) 2020 Jenna Reher (jreher@caltech.edu) * * 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 right...
33.552632
81
0.677124
noelc-s
440c43fb019e423dc11245cad86452c287db5e5c
7,089
cpp
C++
src/graphics/texture/Texture.cpp
macsforme/crucibleisland
188c05f49faeb21b33f55190441859e474868d16
[ "BSD-2-Clause" ]
2
2016-01-02T21:10:22.000Z
2018-04-14T22:44:00.000Z
src/graphics/texture/Texture.cpp
macsforme/dominicus
188c05f49faeb21b33f55190441859e474868d16
[ "BSD-2-Clause" ]
null
null
null
src/graphics/texture/Texture.cpp
macsforme/dominicus
188c05f49faeb21b33f55190441859e474868d16
[ "BSD-2-Clause" ]
null
null
null
// Texture.cpp // Dominicus #include "graphics/texture/Texture.h" #include <cstdlib> #include <cstring> #include <sstream> #include "core/GameSystem.h" extern GameSystem* gameSystem; Texture::Texture(uint32_t newWidth, uint32_t newHeight, PixelFormat newFormat) { width = newWidth; height = newHeight; format = n...
28.934694
99
0.620116
macsforme
440d6a9e37b5f5c38b01a3392a09632035855165
3,164
cpp
C++
sources-experimental/DownloadListItem.cpp
HaikuArchives/BePodder
5df834d4408251ec73d5f3e994bd903637124a35
[ "MIT" ]
3
2018-06-21T03:58:59.000Z
2022-03-27T10:11:25.000Z
sources-experimental/DownloadListItem.cpp
HaikuArchives/BePodder
5df834d4408251ec73d5f3e994bd903637124a35
[ "MIT" ]
77
2015-04-29T02:40:04.000Z
2021-12-18T00:34:46.000Z
sources-experimental/DownloadListItem.cpp
HaikuArchives/BePodder
5df834d4408251ec73d5f3e994bd903637124a35
[ "MIT" ]
10
2015-02-23T18:12:25.000Z
2022-03-11T06:28:02.000Z
/* * Copyright (C) 2005 by Andrea Anzani * oxygenum@tiscali.it * */ #include "DownloadListItem.h" #include "ItemProperty.h" #include <stdlib.h> #include "Utils.h" #include "curl/curl.h" #include "FileStatus.h" #include "ColumnListView.h" #include "ColumnTypes.h" #include "DownloadListView.h" #include "E...
20.953642
69
0.657712
HaikuArchives
4415117c6b2c0a804d8d40d8c5b5e41eee0717d7
1,042
hpp
C++
io/outbuf1.hpp
yijingbai/STL_practice
f2cbfd978966d29f9d179d1abc34b9e1ccd3661d
[ "FSFAP" ]
null
null
null
io/outbuf1.hpp
yijingbai/STL_practice
f2cbfd978966d29f9d179d1abc34b9e1ccd3661d
[ "FSFAP" ]
null
null
null
io/outbuf1.hpp
yijingbai/STL_practice
f2cbfd978966d29f9d179d1abc34b9e1ccd3661d
[ "FSFAP" ]
null
null
null
/* The following code example is taken from the book * "The C++ Standard Library - A Tutorial and Reference" * by Nicolai M. Josuttis, Addison-Wesley, 1999 * * (C) Copyright Nicolai M. Josuttis 1999. * Permission to copy, use, modify, sell and distribute this software * is granted provided this copyright no...
30.647059
70
0.612284
yijingbai
441760484d47398685f15e11e06b3a594d5f34ca
2,050
cc
C++
cpp_project_linux/project007_select01/normal_server.cc
skywang2/Practice_Code
cecc2f1d3f2af4e698ef1db0406a6d7c7cb808bd
[ "MIT" ]
null
null
null
cpp_project_linux/project007_select01/normal_server.cc
skywang2/Practice_Code
cecc2f1d3f2af4e698ef1db0406a6d7c7cb808bd
[ "MIT" ]
null
null
null
cpp_project_linux/project007_select01/normal_server.cc
skywang2/Practice_Code
cecc2f1d3f2af4e698ef1db0406a6d7c7cb808bd
[ "MIT" ]
null
null
null
#include <stdio.h> #include <cstring> #include <iostream> #include <vector> #include <utility> #include <unistd.h> #include <sys/socket.h>//声明网络编程最常用的函数 #include <arpa/inet.h>//ip和port数据结构的定义与转换函数 #include <signal.h> using std::cout; using std::endl; using std::pair; u...
26.282051
91
0.58
skywang2
4418f5807d1287c07ae2d84d0ba8e863d55dfede
34,597
cc
C++
plog/lparse-1.1.2/src/sm_smodels.cc
bu-air-lab/POMDP-Dialog-Manager-Language-Learning
36731060d970003944532395275c85453265aba8
[ "MIT" ]
2
2018-10-01T07:04:24.000Z
2019-04-01T14:45:14.000Z
plog/lparse-1.1.2/src/sm_smodels.cc
bu-air-lab/POMDP-Dialog-Manager-Language-Learning
36731060d970003944532395275c85453265aba8
[ "MIT" ]
null
null
null
plog/lparse-1.1.2/src/sm_smodels.cc
bu-air-lab/POMDP-Dialog-Manager-Language-Learning
36731060d970003944532395275c85453265aba8
[ "MIT" ]
2
2018-10-01T06:14:53.000Z
2018-10-16T21:39:42.000Z
// Copyright 1998 by Patrik Simons // 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; either version 2 // of the License, or (at your option) any later version. // // This program is distributed...
18.1898
71
0.52282
bu-air-lab
441c0dfda1a22d3b73c5da532124a9bf6d740c29
3,292
cpp
C++
OptionView.cpp
asukaze55/cassava-editor
27e7047a093ef3abbcf407cea677e8662d299714
[ "MIT" ]
7
2022-01-15T12:02:01.000Z
2022-02-22T05:22:08.000Z
OptionView.cpp
asukaze55/cassava-editor
27e7047a093ef3abbcf407cea677e8662d299714
[ "MIT" ]
null
null
null
OptionView.cpp
asukaze55/cassava-editor
27e7047a093ef3abbcf407cea677e8662d299714
[ "MIT" ]
null
null
null
//--------------------------------------------------------------------------- #include <vcl.h> #pragma hdrstop #include "OptionView.h" #include "MainForm.h" #include "OptionColor.h" //--------------------------------------------------------------------------- #pragma package(smart_init) #pragma resource "*.dfm" TfrOpt...
40.641975
79
0.620292
asukaze55
441d8d6b4b8038aab5642d75235a296ecd34f687
3,655
hpp
C++
src/fuml/src_gen/fUML/Semantics/Activities/ForkedToken.hpp
dataliz9r/MDE4CPP
9c5ce01c800fb754c371f1a67f648366eeabae49
[ "MIT" ]
null
null
null
src/fuml/src_gen/fUML/Semantics/Activities/ForkedToken.hpp
dataliz9r/MDE4CPP
9c5ce01c800fb754c371f1a67f648366eeabae49
[ "MIT" ]
null
null
null
src/fuml/src_gen/fUML/Semantics/Activities/ForkedToken.hpp
dataliz9r/MDE4CPP
9c5ce01c800fb754c371f1a67f648366eeabae49
[ "MIT" ]
null
null
null
//******************************************************************** //* //* Warning: This file was generated by ecore4CPP Generator //* //******************************************************************** #ifndef FUML_SEMANTICS_ACTIVITIES_FORKEDTOKEN_HPP #define FUML_SEMANTICS_ACTIVITIES_FORKEDTOKEN_HPP #inc...
21.127168
115
0.527497
dataliz9r
441e615f0582e6fad79f15ede5b25632cdfbc931
1,127
cpp
C++
src/core/CanDbNode.cpp
ShieldQiQi/IMU-Visual-Tool
010000cc3f19bb77fdc906f100db9d64dd445e5f
[ "Apache-2.0" ]
2
2021-04-10T13:31:28.000Z
2021-04-11T01:02:10.000Z
src/core/CanDbNode.cpp
ShieldQiQi/IMU-Visual-Tool
010000cc3f19bb77fdc906f100db9d64dd445e5f
[ "Apache-2.0" ]
null
null
null
src/core/CanDbNode.cpp
ShieldQiQi/IMU-Visual-Tool
010000cc3f19bb77fdc906f100db9d64dd445e5f
[ "Apache-2.0" ]
1
2022-03-12T10:16:35.000Z
2022-03-12T10:16:35.000Z
/* Copyright (c) 2015, 2016 Hubert Denkmair <hubert@denkmair.de> This file is part of cangaroo. cangaroo 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 2 of the License, or ...
22.54
71
0.699201
ShieldQiQi
441f5c3de328ae19b436078f090d53b577b4298f
3,006
hpp
C++
vm/test/test_time.hpp
larrytheliquid/rubinius
5af42280ab95626f33517ca5f6330e17be04ec64
[ "BSD-3-Clause" ]
null
null
null
vm/test/test_time.hpp
larrytheliquid/rubinius
5af42280ab95626f33517ca5f6330e17be04ec64
[ "BSD-3-Clause" ]
1
2022-03-12T14:09:00.000Z
2022-03-12T14:09:00.000Z
vm/test/test_time.hpp
isabella232/rubinius
5af42280ab95626f33517ca5f6330e17be04ec64
[ "BSD-3-Clause" ]
1
2022-03-12T12:08:44.000Z
2022-03-12T12:08:44.000Z
#include "vm/test/test.hpp" #include "builtin/class.hpp" #include "builtin/time.hpp" #include "object_types.hpp" class TestTime : public CxxTest::TestSuite, public VMTest { public: void setUp() { create(); } void tearDown() { destroy(); } void test_create() { Time* tm = Time::create(state); ...
28.628571
90
0.612774
larrytheliquid
441f77037a0e932a238c198bc42e39c9a8a3dde8
7,267
cpp
C++
cli/tests.cpp
renjipanicker/noql
355b4b04de412328d3879891c47dfdbab0fb33df
[ "MIT" ]
6
2020-03-10T01:32:54.000Z
2020-04-09T13:52:28.000Z
cli/tests.cpp
renjipanicker/noql
355b4b04de412328d3879891c47dfdbab0fb33df
[ "MIT" ]
null
null
null
cli/tests.cpp
renjipanicker/noql
355b4b04de412328d3879891c47dfdbab0fb33df
[ "MIT" ]
null
null
null
#include "noql/noql.hpp" #include "tests.hpp" #include <fstream> #include <sstream> namespace { struct TestEntry; TestEntry* headEntry = nullptr; TestEntry* tailEntry = nullptr; struct TestEntry { typedef void (*fnT)(noq::unittest::Result&, const char*, const std::string&); const char*...
35.79803
228
0.498968
renjipanicker
442389e1b296981567e204f71503a93f2993123e
11,464
cpp
C++
kinova_moveit/kinova_arm_moveit_demo/src/trajectory_simulator.cpp
argallab/kinova-ros
3008ff1b7b4014bb20a36beda49555817062d919
[ "BSD-3-Clause" ]
null
null
null
kinova_moveit/kinova_arm_moveit_demo/src/trajectory_simulator.cpp
argallab/kinova-ros
3008ff1b7b4014bb20a36beda49555817062d919
[ "BSD-3-Clause" ]
null
null
null
kinova_moveit/kinova_arm_moveit_demo/src/trajectory_simulator.cpp
argallab/kinova-ros
3008ff1b7b4014bb20a36beda49555817062d919
[ "BSD-3-Clause" ]
null
null
null
/*Created by Daila De Santis and Mahdieh Nejati Script for simulating different multi-stage tajectories given start and goal poses. */ #include <moveit/move_group_interface/move_group_interface.h> #include <moveit/planning_scene_interface/planning_scene_interface.h> #include <moveit_msgs/DisplayRobotState.h> #includ...
31.581267
176
0.624477
argallab
4428577a517eea7115d776340aa145db435110a8
812
cpp
C++
Core/Scene/Object/SceneObject.cpp
Witek902/Raytracer
3e38a82a5ea28e64793e98efc5b8e2643ceb8e9d
[ "MIT" ]
101
2018-11-11T23:58:14.000Z
2022-03-20T01:09:18.000Z
Core/Scene/Object/SceneObject.cpp
Witek902/Raytracer
3e38a82a5ea28e64793e98efc5b8e2643ceb8e9d
[ "MIT" ]
null
null
null
Core/Scene/Object/SceneObject.cpp
Witek902/Raytracer
3e38a82a5ea28e64793e98efc5b8e2643ceb8e9d
[ "MIT" ]
7
2018-12-31T09:42:00.000Z
2021-04-26T14:55:23.000Z
#include "PCH.h" #include "SceneObject.h" namespace rt { using namespace math; ISceneObject::ISceneObject() { mTransform = Matrix4::Identity(); mInverseTranform = Matrix4::Identity(); } ISceneObject::~ISceneObject() = default; void ISceneObject::SetTransform(const math::Matrix4& matrix) { RT_ASSERT(mat...
17.276596
68
0.673645
Witek902
4429506c886ae8a0f3dfb58bbdedba267df25b66
355
cpp
C++
cpp_codes/Factorial.cpp
latedeveloper08/hacktober2021
3b2b4781668221b32dd96e2335157572b00dcf56
[ "MIT" ]
null
null
null
cpp_codes/Factorial.cpp
latedeveloper08/hacktober2021
3b2b4781668221b32dd96e2335157572b00dcf56
[ "MIT" ]
null
null
null
cpp_codes/Factorial.cpp
latedeveloper08/hacktober2021
3b2b4781668221b32dd96e2335157572b00dcf56
[ "MIT" ]
null
null
null
//Find Factorial using Recursion #include<iostream> using namespace std; int Factorial(int n) { if (n <= 1) return 1; return n*Factorial(n-1); } int main () { int n; printf("Enter the value of n: "); scanf("%d",&n); int output = Factorial(n); printf("The output value for input %d...
16.904762
59
0.588732
latedeveloper08
442a6370eb987266b8cf318265685ae169e3b215
28,191
cc
C++
deps/rocksdb/rocksdb/tools/block_cache_analyzer/block_cache_trace_analyzer_test.cc
buu700/rocksdb-tmp
3e9e3d8c84c4eb0c3fd7d67e139ad746ab8520d7
[ "MIT" ]
null
null
null
deps/rocksdb/rocksdb/tools/block_cache_analyzer/block_cache_trace_analyzer_test.cc
buu700/rocksdb-tmp
3e9e3d8c84c4eb0c3fd7d67e139ad746ab8520d7
[ "MIT" ]
null
null
null
deps/rocksdb/rocksdb/tools/block_cache_analyzer/block_cache_trace_analyzer_test.cc
buu700/rocksdb-tmp
3e9e3d8c84c4eb0c3fd7d67e139ad746ab8520d7
[ "MIT" ]
null
null
null
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #ifndef ROCKSDB_LITE #ifndef GFLAGS #include <cstdio> int...
39.154167
80
0.638502
buu700
442cf6b47a598ad67e3b2cd5e2782cde6a38985f
3,501
hpp
C++
nyaruga_util/private_accessor.hpp
alphya/nyaruga_util
a75d388b2fe80100760f9b5fc7e959e4846b590f
[ "BSL-1.0" ]
null
null
null
nyaruga_util/private_accessor.hpp
alphya/nyaruga_util
a75d388b2fe80100760f9b5fc7e959e4846b590f
[ "BSL-1.0" ]
null
null
null
nyaruga_util/private_accessor.hpp
alphya/nyaruga_util
a75d388b2fe80100760f9b5fc7e959e4846b590f
[ "BSL-1.0" ]
null
null
null
 /*! * @file * @brief * @copyright alphya 2018-2021 * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ #ifndef NYARUGA_UTIL_PRIVATE_ACCESSOR_HPP #define NYARUGA_UTIL_PRIVATE_ACCESSOR_HPP #pragma once // 元となるコード // ...
26.323308
94
0.656098
alphya
442fc77e03db00ddf295bde894507e51384186ca
4,280
cpp
C++
src/racecar_safety_node/src/racecar_safety.cpp
taunusflieger/racecar_safety
034a2277c4d80402d271346c912b471190a4d4d4
[ "MIT" ]
null
null
null
src/racecar_safety_node/src/racecar_safety.cpp
taunusflieger/racecar_safety
034a2277c4d80402d271346c912b471190a4d4d4
[ "MIT" ]
null
null
null
src/racecar_safety_node/src/racecar_safety.cpp
taunusflieger/racecar_safety
034a2277c4d80402d271346c912b471190a4d4d4
[ "MIT" ]
null
null
null
/* MIT License Copyright (c) 2020 Michael Zill 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, publish, ...
32.671756
78
0.645794
taunusflieger
44305ead104aade51ac19f97d61a3296d2ae4c0b
60
cpp
C++
src/instructions/Mathe.cpp
QSCTech/jvm-cpp
5aea3c824ae969a6af952cfbfaa2a4915f090c80
[ "MIT" ]
11
2017-11-11T16:01:03.000Z
2021-12-31T09:02:24.000Z
src/instructions/Mathe.cpp
QSCTech/jvm-cpp
5aea3c824ae969a6af952cfbfaa2a4915f090c80
[ "MIT" ]
null
null
null
src/instructions/Mathe.cpp
QSCTech/jvm-cpp
5aea3c824ae969a6af952cfbfaa2a4915f090c80
[ "MIT" ]
7
2018-09-22T08:32:40.000Z
2022-03-14T04:30:56.000Z
// // Created by 李晨曦 on 01/11/2017. // #include "Mathe.hpp"
12
32
0.616667
QSCTech
443116bc1977b65debf5ed5aaa1ca3ee10336d2b
3,652
cc
C++
fhiclcpp/detail/ValuePrinter.cc
art-framework-suite/fhicl-cpp
302a8ca52dba4b922812ead406599cd535676252
[ "BSD-3-Clause" ]
null
null
null
fhiclcpp/detail/ValuePrinter.cc
art-framework-suite/fhicl-cpp
302a8ca52dba4b922812ead406599cd535676252
[ "BSD-3-Clause" ]
2
2021-12-10T14:54:24.000Z
2022-03-25T16:33:23.000Z
fhiclcpp/detail/ValuePrinter.cc
art-framework-suite/fhicl-cpp
302a8ca52dba4b922812ead406599cd535676252
[ "BSD-3-Clause" ]
null
null
null
#include "fhiclcpp/detail/ValuePrinter.h" #include "fhiclcpp/ParameterSet.h" #include "fhiclcpp/coding.h" #include "fhiclcpp/detail/Indentation.h" #include "fhiclcpp/detail/printing_helpers.h" #include <limits> using namespace fhicl; using namespace fhicl::detail; namespace { constexpr auto size_t_max = std::numer...
25.900709
80
0.592278
art-framework-suite
4433ca43b64737f7a3465757c3bd0bbd6345fe0a
1,967
cc
C++
Code/Vendor/Vulkan/Vulkan.Texture.cc
hannes-harnisch/Cultivator
fe6fb2fd87a566a6e690e18a25843a3a95199aa0
[ "MIT" ]
2
2021-08-05T05:47:05.000Z
2021-08-08T16:30:45.000Z
Code/Vendor/Vulkan/Vulkan.Texture.cc
hannes-harnisch/Cultivator
fe6fb2fd87a566a6e690e18a25843a3a95199aa0
[ "MIT" ]
null
null
null
Code/Vendor/Vulkan/Vulkan.Texture.cc
hannes-harnisch/Cultivator
fe6fb2fd87a566a6e690e18a25843a3a95199aa0
[ "MIT" ]
null
null
null
#include "PCH.hh" #include "Vulkan.GPUContext.hh" #include "Vulkan.Texture.hh" #include "Vulkan.Utils.hh" namespace ct { Texture::Texture(Rectangle size) : texSize(size) { img = makeImage(size); memory = allocateMemory(); imgView = makeImageView(); } vk::Image Texture::makeImage(Rectangle size) { vk::I...
29.358209
115
0.701576
hannes-harnisch
443406f0b27774a88c0b38bac800de9d5abe99c5
2,232
cpp
C++
mrgsolve/examplomycin_2cmt_covs_2020-07-08.cpp
Genentech/mrgsolve_replace_NMsim
da642fae6fa7881c7aff53ce736560c5bb6d6f9d
[ "MIT" ]
null
null
null
mrgsolve/examplomycin_2cmt_covs_2020-07-08.cpp
Genentech/mrgsolve_replace_NMsim
da642fae6fa7881c7aff53ce736560c5bb6d6f9d
[ "MIT" ]
null
null
null
mrgsolve/examplomycin_2cmt_covs_2020-07-08.cpp
Genentech/mrgsolve_replace_NMsim
da642fae6fa7881c7aff53ce736560c5bb6d6f9d
[ "MIT" ]
null
null
null
[PROB] Source: mrgsolve model library Two-compartment model for oral dosing Comment: Time unit: hour Volume units: L [GLOBAL] #define C2 (CENT / V2) [CMT] @annotated DEPOT : Extravascular compartment CENT : Central compartment PERIPH : Peripheral compartment (mass) AUCCENT: AUC in the central compartment [...
25.078652
101
0.648297
Genentech
443671cea7717723f518d1933c9101897c739b65
407
cpp
C++
src/execution/operator/helper/physical_vacuum.cpp
graindb/graindb-demonstration
be901b3e66fc991ea3ecfbcfabdcd07af82dd2d7
[ "MIT" ]
1
2021-08-30T16:08:17.000Z
2021-08-30T16:08:17.000Z
src/execution/operator/helper/physical_vacuum.cpp
graindb/graindb-demonstration
be901b3e66fc991ea3ecfbcfabdcd07af82dd2d7
[ "MIT" ]
1
2021-12-12T03:36:02.000Z
2021-12-12T03:36:02.000Z
src/execution/operator/helper/physical_vacuum.cpp
graindb/graindb-demonstration
be901b3e66fc991ea3ecfbcfabdcd07af82dd2d7
[ "MIT" ]
null
null
null
#include "duckdb/execution/operator/helper/physical_vacuum.hpp" #include "duckdb/transaction/transaction.hpp" using namespace duckdb; using namespace std; void PhysicalVacuum::GetChunkInternal(ClientContext &context, DataChunk &chunk, PhysicalOperatorState *state, SelectionVecto...
31.307692
109
0.724816
graindb
4437b5e7d0234113f789958bc72b50fdcbd5261f
7,320
cpp
C++
cpp_implementation/concave_hull_k_nearest_neighbours.cpp
digu-007/Boost_Geometry_Competency_Test_2020
53a75c82ddf29bc7f842e653e2a1664839113b53
[ "MIT" ]
null
null
null
cpp_implementation/concave_hull_k_nearest_neighbours.cpp
digu-007/Boost_Geometry_Competency_Test_2020
53a75c82ddf29bc7f842e653e2a1664839113b53
[ "MIT" ]
null
null
null
cpp_implementation/concave_hull_k_nearest_neighbours.cpp
digu-007/Boost_Geometry_Competency_Test_2020
53a75c82ddf29bc7f842e653e2a1664839113b53
[ "MIT" ]
null
null
null
/* Boost Competency Test - GSoC 2020 digu_J - Digvijay Janartha NIT Hamirpur - INDIA */ #include <bits/stdc++.h> #include <boost/geometry.hpp> using namespace std; namespace bg = boost::geometry; typedef bg::model::point<double, 2, bg::cs::cartesian> point_t; typedef bg::model::polygon<point_t> poly_t; ...
29.047619
117
0.496448
digu-007
44390eb7e9fa1933448d047fb5dfb0a80a4524ac
446
cpp
C++
BROKPHON.cpp
trehanarsh/Codechef-Solutions
8bfd91531138a62aebcc2dffce3ad8e6a296db28
[ "MIT" ]
null
null
null
BROKPHON.cpp
trehanarsh/Codechef-Solutions
8bfd91531138a62aebcc2dffce3ad8e6a296db28
[ "MIT" ]
null
null
null
BROKPHON.cpp
trehanarsh/Codechef-Solutions
8bfd91531138a62aebcc2dffce3ad8e6a296db28
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int t; cin>>t; while(t--) { int n; cin>>n; int a[n]; for (int i = 0; i < n; ++i) { cin>>a[i]; } int ans=0; for (int i = 1; i < n - 1 ; ++i) { if ((a[i]!=a[i-1]) || (a[i] != a[i+1])) { ans++; } } i...
12.742857
43
0.347534
trehanarsh
4440004785680f9b0655a93ed1f68364b97b215d
8,925
cpp
C++
vstgui/standalone/source/shareduiresources.cpp
raygit83/vstgui_keyboard_focus
2639e602f51f7e4e3c4b9a41b6a3a93c96d26157
[ "Unlicense" ]
null
null
null
vstgui/standalone/source/shareduiresources.cpp
raygit83/vstgui_keyboard_focus
2639e602f51f7e4e3c4b9a41b6a3a93c96d26157
[ "Unlicense" ]
null
null
null
vstgui/standalone/source/shareduiresources.cpp
raygit83/vstgui_keyboard_focus
2639e602f51f7e4e3c4b9a41b6a3a93c96d26157
[ "Unlicense" ]
null
null
null
// This file is part of VSTGUI. It is subject to the license terms // in the LICENSE file found in the top-level directory of this // distribution and at http://github.com/steinbergmedia/vstgui/LICENSE #include "shareduiresources.h" #include "../../lib/cbitmap.h" #include "../../lib/ccolor.h" #include "../../lib/cfil...
28.333333
94
0.597871
raygit83
444a6c5bf817b7f2fb62cb67a2f150cc3970acea
1,170
hpp
C++
libs/fnd/string/include/bksge/fnd/string/detail/alloc_on_swap.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/fnd/string/include/bksge/fnd/string/detail/alloc_on_swap.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/fnd/string/include/bksge/fnd/string/detail/alloc_on_swap.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file alloc_on_swap.hpp * * @brief alloc_on_swap の定義 * * @author myoukaku */ #ifndef BKSGE_FND_STRING_DETAIL_ALLOC_ON_SWAP_HPP #define BKSGE_FND_STRING_DETAIL_ALLOC_ON_SWAP_HPP #include <bksge/fnd/detail/overload_priority.hpp> #include <bksge/fnd/type_traits/enable_if.hpp> #include <bksge/fn...
21.272727
80
0.737607
myoukaku
444c227067d2fb6c4f17093a28b6283976c77109
2,699
cpp
C++
src/Passes/Blur.cpp
skaarj1989/FrameGraph-Example
7867df8e3146acfffaf41173d5776b6ac265fd50
[ "MIT" ]
5
2022-03-17T06:02:13.000Z
2022-03-25T06:06:48.000Z
src/Passes/Blur.cpp
skaarj1989/FrameGraph-Example
7867df8e3146acfffaf41173d5776b6ac265fd50
[ "MIT" ]
null
null
null
src/Passes/Blur.cpp
skaarj1989/FrameGraph-Example
7867df8e3146acfffaf41173d5776b6ac265fd50
[ "MIT" ]
2
2022-03-17T06:53:48.000Z
2022-03-25T05:06:54.000Z
#include "Blur.hpp" #include "fg/FrameGraph.hpp" #include "../FrameGraphHelper.hpp" #include "../FrameGraphTexture.hpp" #include "../ShaderCodeBuilder.hpp" #include "TracyOpenGL.hpp" Blur::Blur(RenderContext &rc) : m_renderContext{rc} { ShaderCodeBuilder shaderCodeBuilder; const auto program = rc.createGrap...
33.7375
80
0.595776
skaarj1989
444cea22aa5a60bd4b7431e403fd0fac297eb51d
45,440
cpp
C++
src/qt/src/gui/kernel/qboxlayout.cpp
jefleponot/phantomjs
4333acfa798677ec895d73673898c3ffad36e4c0
[ "BSD-3-Clause" ]
25
2015-07-21T18:14:57.000Z
2021-02-21T10:00:48.000Z
src/qt/src/gui/kernel/qboxlayout.cpp
jefleponot/phantomjs
4333acfa798677ec895d73673898c3ffad36e4c0
[ "BSD-3-Clause" ]
3
2015-01-19T11:31:54.000Z
2015-07-01T13:28:48.000Z
src/qt/src/gui/kernel/qboxlayout.cpp
jefleponot/phantomjs
4333acfa798677ec895d73673898c3ffad36e4c0
[ "BSD-3-Clause" ]
9
2016-03-14T13:25:14.000Z
2021-02-21T10:09:22.000Z
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtGui module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees ...
29.165597
119
0.599714
jefleponot
444ef1855b8687c8511869185620c1f89c5569b6
55,477
cpp
C++
src/samplers/SamplerCapCVT/gx_capcvt2d/generated/Ltheta_rho12.cpp
FrancoisGaits/utk
8c408dd79635f98c46ed075c098f15e23972aad0
[ "BSD-2-Clause-FreeBSD" ]
44
2018-01-09T19:56:29.000Z
2022-03-03T06:38:54.000Z
src/samplers/SamplerCapCVT/gx_capcvt2d/generated/Ltheta_rho12.cpp
FrancoisGaits/utk
8c408dd79635f98c46ed075c098f15e23972aad0
[ "BSD-2-Clause-FreeBSD" ]
16
2018-01-29T18:01:42.000Z
2022-03-31T07:01:09.000Z
src/samplers/SamplerCapCVT/gx_capcvt2d/generated/Ltheta_rho12.cpp
FrancoisGaits/utk
8c408dd79635f98c46ed075c098f15e23972aad0
[ "BSD-2-Clause-FreeBSD" ]
12
2018-03-14T00:24:14.000Z
2022-03-03T06:40:07.000Z
#include "Ltheta_rho12.h" namespace Geex { Ltheta_rho12::Ltheta_rho12() : Function(1,8,0){} void Ltheta_rho12::eval(bool do_f, bool do_g, bool do_H) { if(do_f) { { double tmp_1 = x(6); double tmp_2 = sin(tmp_1); double tmp_3 = x(7); double tmp_4 = (tmp_3*tmp_3)+1.0; double tmp_5 = 1.0/(tmp_4); double tmp_6 ...
163.648968
7,583
0.728086
FrancoisGaits
4451b16daa7d1031e859085655c2cc9097510f6a
2,093
cpp
C++
UXToolsGame/Source/UXToolsTests/Tests/UxtTestTargetComponent.cpp
Yonet/MixedReality-UXTools-Unreal
d3ac37db692c6e4bd38831b20e547ba7d8e13f98
[ "MIT" ]
null
null
null
UXToolsGame/Source/UXToolsTests/Tests/UxtTestTargetComponent.cpp
Yonet/MixedReality-UXTools-Unreal
d3ac37db692c6e4bd38831b20e547ba7d8e13f98
[ "MIT" ]
null
null
null
UXToolsGame/Source/UXToolsTests/Tests/UxtTestTargetComponent.cpp
Yonet/MixedReality-UXTools-Unreal
d3ac37db692c6e4bd38831b20e547ba7d8e13f98
[ "MIT" ]
1
2021-01-26T02:36:59.000Z
2021-01-26T02:36:59.000Z
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #include "UxtTestTargetComponent.h" #include "Input/UxtNearPointerComponent.h" #include "UxtTestUtils.h" #include "UxtTestHandTracker.h" #include "Components/PrimitiveComponent.h" void UTestGrabTarget::BeginPlay() { Super::BeginPlay(); Be...
19.027273
90
0.799331
Yonet
445509ec959c1975f8e2694a65406708b9dcc902
316
cpp
C++
examples/testConnect.cpp
YuzeZhang/ZenoCP
70022dc681e621f83ffb6e017e034d8e16fefd60
[ "MIT" ]
3
2020-03-13T06:36:22.000Z
2021-04-17T14:47:18.000Z
examples/testConnect.cpp
YuzeZhang/ZenoCP
70022dc681e621f83ffb6e017e034d8e16fefd60
[ "MIT" ]
null
null
null
examples/testConnect.cpp
YuzeZhang/ZenoCP
70022dc681e621f83ffb6e017e034d8e16fefd60
[ "MIT" ]
null
null
null
#include <iostream> #include "../Connection.h" using namespace std; // 用于测试数据库的连接、更新操作 int main() { Connection conn; string sql = "insert into t_user (name,age,sex) values ('Tom', 20, 'male');"; conn.connect("127.0.0.1", 3306, "root", "zyz3426237", "user"); conn.update(sql); return 0; }
15.047619
81
0.613924
YuzeZhang
445b7e60e5f5c2931630d765857abcea61f3d6fb
1,504
cpp
C++
test/unit/math/prim/arr/err/check_not_nan_test.cpp
jrmie/math
2850ec262181075a5843968e805dc9ad1654e069
[ "BSD-3-Clause" ]
1
2019-09-06T15:53:17.000Z
2019-09-06T15:53:17.000Z
test/unit/math/prim/arr/err/check_not_nan_test.cpp
jrmie/math
2850ec262181075a5843968e805dc9ad1654e069
[ "BSD-3-Clause" ]
8
2019-01-17T18:51:16.000Z
2019-01-17T18:51:39.000Z
test/unit/math/prim/arr/err/check_not_nan_test.cpp
jrmie/math
2850ec262181075a5843968e805dc9ad1654e069
[ "BSD-3-Clause" ]
null
null
null
#include <stan/math/prim/arr.hpp> #include <gtest/gtest.h> #include <limits> #include <vector> #include <string> using stan::math::check_not_nan; TEST(ErrorHandlingScalar, CheckNotNanVectorized) { int N = 5; const char* function = "check_not_nan"; std::vector<double> x(N); x.assign(N, 0); EXPECT_NO_THROW(c...
30.08
73
0.65758
jrmie
445e379512f196e3e0f2f5cfa0a04b9aa8d47e75
8,324
cpp
C++
eagleye_rt/src/heading_node.cpp
shjzhang/eagleye
e4e105d3a5438cf5ee36f1cc525ff87313923fc5
[ "BSD-3-Clause" ]
1
2020-07-16T15:31:59.000Z
2020-07-16T15:31:59.000Z
eagleye_rt/src/heading_node.cpp
shjzhang/eagleye
e4e105d3a5438cf5ee36f1cc525ff87313923fc5
[ "BSD-3-Clause" ]
null
null
null
eagleye_rt/src/heading_node.cpp
shjzhang/eagleye
e4e105d3a5438cf5ee36f1cc525ff87313923fc5
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2019, Map IV, 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 conditions and...
44.042328
166
0.775829
shjzhang
445ffd927201011b40b7e48cf235e627203aae0a
124
cpp
C++
chapter-1/1.14.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
chapter-1/1.14.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
chapter-1/1.14.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
/* for statement as a loop task is easy to understand * but parameter initialized inside for could not be used outside */
31
65
0.758065
zero4drift
4462c7ff9bebe5493dff398a1035d637b5029a9c
17,718
cpp
C++
tests/test_primary_ray_gen.cpp
MrApfel1994/Ray
31ae807ee6a0406c30c08fa0d38b3a44224f86b6
[ "WTFPL" ]
60
2018-10-24T08:31:22.000Z
2019-04-28T20:14:04.000Z
tests/test_primary_ray_gen.cpp
MrApfel1994/Ray
31ae807ee6a0406c30c08fa0d38b3a44224f86b6
[ "WTFPL" ]
1
2018-12-17T16:18:00.000Z
2018-12-18T15:32:52.000Z
tests/test_primary_ray_gen.cpp
MrApfel1994/Ray
31ae807ee6a0406c30c08fa0d38b3a44224f86b6
[ "WTFPL" ]
5
2020-01-22T08:54:00.000Z
2021-11-21T16:23:46.000Z
#include "test_common.h" #include <iostream> #include <string> #include "../internal/CoreRef.h" #if !defined(__ANDROID__) #include "../internal/RendererSSE2.h" #include "../internal/RendererAVX.h" #include "../internal/RendererAVX2.h" #if !defined(DISABLE_OCL) #include "../internal/CoreOCL.h" #include "../internal/Re...
47.50134
156
0.492606
MrApfel1994
446573df148ad6c206cde46423a01f5ba69a406e
8,888
cpp
C++
detects/eat&iat&vtable.cpp
nblog/WinHookDemo
2105d749c1e25697b52080da23dc76d675eba2dd
[ "MIT" ]
11
2020-09-23T09:27:18.000Z
2021-06-15T19:30:04.000Z
detects/eat&iat&vtable.cpp
nblog/WinHookDemo
2105d749c1e25697b52080da23dc76d675eba2dd
[ "MIT" ]
null
null
null
detects/eat&iat&vtable.cpp
nblog/WinHookDemo
2105d749c1e25697b52080da23dc76d675eba2dd
[ "MIT" ]
4
2021-04-10T08:29:10.000Z
2021-06-15T15:33:31.000Z
#define NOMINMAX #include <Windows.h> #include <intrin.h> #include <TlHelp32.h> #include <iostream> #include <string> #include <vector> #include <unordered_map> EXTERN_C IMAGE_DOS_HEADER __ImageBase; // http://www.isthe.com/chongo/tech/comp/fnv/ namespace fnv { constexpr uint32_t offsetBasis32 =...
23.575597
159
0.686206
nblog
44697a3e432e83594840ea0a3a6d2f7eb618e812
8,736
hpp
C++
sprout/type/type_tuple_decl.hpp
kariya-mitsuru/Sprout
8274f34db498b02bff12277bac5416ea72e018cd
[ "BSL-1.0" ]
null
null
null
sprout/type/type_tuple_decl.hpp
kariya-mitsuru/Sprout
8274f34db498b02bff12277bac5416ea72e018cd
[ "BSL-1.0" ]
null
null
null
sprout/type/type_tuple_decl.hpp
kariya-mitsuru/Sprout
8274f34db498b02bff12277bac5416ea72e018cd
[ "BSL-1.0" ]
null
null
null
/*============================================================================= Copyright (c) 2011-2017 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprout 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.tx...
35.368421
136
0.638393
kariya-mitsuru
446b7b5345e824ff4d92b375b2c6326a90e8afc0
3,286
cc
C++
test/so/tcp.cc
caidaoli/co
a9fc2fa580243e5e4d48048ea13b1db3bab1b4b8
[ "MIT" ]
2,453
2019-06-05T06:49:08.000Z
2022-01-05T00:49:36.000Z
test/so/tcp.cc
caidaoli/co
a9fc2fa580243e5e4d48048ea13b1db3bab1b4b8
[ "MIT" ]
106
2019-11-26T08:07:35.000Z
2021-12-08T08:55:54.000Z
test/so/tcp.cc
caidaoli/co
a9fc2fa580243e5e4d48048ea13b1db3bab1b4b8
[ "MIT" ]
379
2019-11-23T04:22:46.000Z
2021-12-31T15:04:50.000Z
#include "co/all.h" DEF_string(ip, "127.0.0.1", "ip"); DEF_int32(port, 9988, "port"); DEF_int32(client_num, 1, "client num"); DEF_string(key, "", "private key file"); DEF_string(ca, "", "certificate file"); void on_connection(tcp::Connection conn) { char buf[8] = { 0 }; while (true) { int...
25.874016
79
0.435788
caidaoli
44733a19224f3d37e8bd4ef0ec6243e2af63c0e4
1,272
cpp
C++
src/easy/88_mergeSortedArray/main.cpp
vivere-dally/leetcode
0b5f3182a1ce6034580cdd24fb7559dc862fd56e
[ "MIT" ]
null
null
null
src/easy/88_mergeSortedArray/main.cpp
vivere-dally/leetcode
0b5f3182a1ce6034580cdd24fb7559dc862fd56e
[ "MIT" ]
null
null
null
src/easy/88_mergeSortedArray/main.cpp
vivere-dally/leetcode
0b5f3182a1ce6034580cdd24fb7559dc862fd56e
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; class Solution { public: void merge(vector<int> &nums1, int m, vector<int> &nums2, int n) { int i = m - 1, j = n - 1, k = m + n - 1; while (0 <= i && 0 <= j) { int temp; if (nums1[i] >= nums2[j]) ...
18.434783
68
0.39544
vivere-dally
44741348129df5b1551e4300c4f2a00128e5fc74
46,593
cpp
C++
source/parsing/LexerFacts.cpp
lijinpei/slang
6871972976e099f5a43d5e49139e06d5f485fe2f
[ "MIT" ]
null
null
null
source/parsing/LexerFacts.cpp
lijinpei/slang
6871972976e099f5a43d5e49139e06d5f485fe2f
[ "MIT" ]
null
null
null
source/parsing/LexerFacts.cpp
lijinpei/slang
6871972976e099f5a43d5e49139e06d5f485fe2f
[ "MIT" ]
null
null
null
//------------------------------------------------------------------------------ // LexerFacts.cpp // Random lexer-related utility functions // // File is under the MIT license; see LICENSE for details //------------------------------------------------------------------------------ #include "slang/parsing/LexerFacts.h"...
45.148256
88
0.663962
lijinpei
447432f26e551662cd301d63a00fb58be2a01a1b
1,904
cpp
C++
ArcGISRuntimeSDKQt_CppSamples_Widgets/Maps/MapRotation/MapRotation.cpp
acmorris/arcgis-runtime-samples-qt
8881b619142afaabd6bda4f28b80ce74b8c8e71c
[ "Apache-2.0" ]
null
null
null
ArcGISRuntimeSDKQt_CppSamples_Widgets/Maps/MapRotation/MapRotation.cpp
acmorris/arcgis-runtime-samples-qt
8881b619142afaabd6bda4f28b80ce74b8c8e71c
[ "Apache-2.0" ]
null
null
null
ArcGISRuntimeSDKQt_CppSamples_Widgets/Maps/MapRotation/MapRotation.cpp
acmorris/arcgis-runtime-samples-qt
8881b619142afaabd6bda4f28b80ce74b8c8e71c
[ "Apache-2.0" ]
null
null
null
// [WriteFile Name=MapRotation, Category=Maps] // [Legal] // Copyright 2015 Esri. // 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 re...
29.292308
75
0.704832
acmorris
4476660d361eff5780b2e1ffe3e9536fa65855b6
5,289
cpp
C++
nau/src/nau/render/viewport.cpp
Khirion/nau
47a2ad8e0355a264cd507da5e7bba1bf7abbff95
[ "MIT" ]
29
2015-09-16T22:28:30.000Z
2022-03-11T02:57:36.000Z
nau/src/nau/render/viewport.cpp
Khirion/nau
47a2ad8e0355a264cd507da5e7bba1bf7abbff95
[ "MIT" ]
1
2017-03-29T13:32:58.000Z
2017-03-31T13:56:03.000Z
nau/src/nau/render/viewport.cpp
Khirion/nau
47a2ad8e0355a264cd507da5e7bba1bf7abbff95
[ "MIT" ]
10
2015-10-15T14:20:15.000Z
2022-02-17T10:37:29.000Z
#include "nau/render/viewport.h" #include "nau.h" using namespace nau::render; using namespace nau::math; bool Viewport::Init() { // VEC2 Attribs.add(Attribute(ORIGIN, "ORIGIN", Enums::DataType::VEC2, false, new vec2(0.0f, 0.0f), new vec2(0.0f, 0.0f))); Attribs.add(Attribute(SIZE, "SIZE", Enums::DataType::VEC2, ...
23.402655
175
0.683305
Khirion
447925e913e1c57b2ce9b8e0b76e84777ee1bed6
1,523
cpp
C++
algorithms/cpp/Problems 1-100/_85_MaximalRectangle.cpp
shivamacs/LeetCode
f8f8b4e9872c47fbaaf9196c422f7e04986e6c3a
[ "MIT" ]
null
null
null
algorithms/cpp/Problems 1-100/_85_MaximalRectangle.cpp
shivamacs/LeetCode
f8f8b4e9872c47fbaaf9196c422f7e04986e6c3a
[ "MIT" ]
null
null
null
algorithms/cpp/Problems 1-100/_85_MaximalRectangle.cpp
shivamacs/LeetCode
f8f8b4e9872c47fbaaf9196c422f7e04986e6c3a
[ "MIT" ]
null
null
null
/* Source - https://leetcode.com/problems/maximal-rectangle/ Author - Shivam Arora */ #include<bits/stdc++.h> using namespace std; int largestHistogram(int* heights, int n) { int i = 1, maxArea = 0; stack<int> st; st.push(0); while(i <= n) { while(!st.empty() && (i == n ? 0 : heigh...
24.967213
92
0.4826
shivamacs
447ab61f011b000774132c3b7e211dd591ecc6a8
2,563
cpp
C++
source/forge/sdl/sdl.cpp
aegooby/forge
972e811ef7e454c2a862cc575fd4355a84a83ad0
[ "Apache-2.0" ]
null
null
null
source/forge/sdl/sdl.cpp
aegooby/forge
972e811ef7e454c2a862cc575fd4355a84a83ad0
[ "Apache-2.0" ]
null
null
null
source/forge/sdl/sdl.cpp
aegooby/forge
972e811ef7e454c2a862cc575fd4355a84a83ad0
[ "Apache-2.0" ]
null
null
null
#include "sdl.hpp" #include <cassert> #include <string> #include <vector> namespace forge { namespace sdl { error::error(const char* what_arg) noexcept : __base(std::string(what_arg) + " (" + SDL_GetError() + ")") { } error::error(const std::string& what_arg) noexcept : __base(what_arg + " (" + SDL_GetError(...
26.42268
77
0.682013
aegooby
447be4a817c5ba9887a8f1911f8e855a71ab6a02
2,986
hpp
C++
src/tcp_connector.hpp
AlexisWilke/cpp-driver
9ca662826d46a528ef02b4cbd4cff6cb25ca1fe6
[ "Apache-2.0" ]
null
null
null
src/tcp_connector.hpp
AlexisWilke/cpp-driver
9ca662826d46a528ef02b4cbd4cff6cb25ca1fe6
[ "Apache-2.0" ]
null
null
null
src/tcp_connector.hpp
AlexisWilke/cpp-driver
9ca662826d46a528ef02b4cbd4cff6cb25ca1fe6
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2014-2017 DataStax 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...
22.793893
96
0.671467
AlexisWilke
447db23520c2807c655d2d6eb184aafafb73ef50
2,437
cpp
C++
src/physics/collision_detector.cpp
inessousacaldas/exercise_opengl
e9afb167efdc29214ba2b791862e4ead9fb4bba6
[ "MIT" ]
null
null
null
src/physics/collision_detector.cpp
inessousacaldas/exercise_opengl
e9afb167efdc29214ba2b791862e4ead9fb4bba6
[ "MIT" ]
null
null
null
src/physics/collision_detector.cpp
inessousacaldas/exercise_opengl
e9afb167efdc29214ba2b791862e4ead9fb4bba6
[ "MIT" ]
null
null
null
#include "physics/collision_detector.h" // std includes #include <numeric> // external libs includes #include <glm/glm.hpp> // AABB - Circle collision Collision CollisionDetector::checkCollision(const Ball &ball, const GameObject &gameObject) { // Get center point circle first auto center = ball.position() ...
32.932432
97
0.622076
inessousacaldas
44814334623fb2c8cff1b2acb65ebc25d5736d91
1,632
cpp
C++
src/bindings/bnd_revsurface.cpp
arendvw/rhino3dm
429f997565aa6ae5c5ff7bcf81372c850e5b079e
[ "MIT" ]
null
null
null
src/bindings/bnd_revsurface.cpp
arendvw/rhino3dm
429f997565aa6ae5c5ff7bcf81372c850e5b079e
[ "MIT" ]
null
null
null
src/bindings/bnd_revsurface.cpp
arendvw/rhino3dm
429f997565aa6ae5c5ff7bcf81372c850e5b079e
[ "MIT" ]
null
null
null
#include "bindings.h" BND_RevSurface::BND_RevSurface() { SetTrackedPointer(new ON_RevSurface(), nullptr); } BND_RevSurface::BND_RevSurface(ON_RevSurface* revsrf, const ON_ModelComponentReference* compref) { SetTrackedPointer(revsrf, compref); } void BND_RevSurface::SetTrackedPointer(ON_RevSurface* revsrf, const ...
27.2
150
0.694853
arendvw
4489284725535988978aa8dbba6b7dd95b60e880
25,595
cpp
C++
src/gen/GlobalsLocalization.cpp
ImproveMyPhone/ispc-android64-native
44e01ddffbd39f6a753f8fa9922a56bff7caa584
[ "BSD-3-Clause" ]
null
null
null
src/gen/GlobalsLocalization.cpp
ImproveMyPhone/ispc-android64-native
44e01ddffbd39f6a753f8fa9922a56bff7caa584
[ "BSD-3-Clause" ]
1
2020-10-14T11:22:02.000Z
2020-10-14T11:22:02.000Z
src/gen/GlobalsLocalization.cpp
ImproveMyPhone/ispc-android64-native
44e01ddffbd39f6a753f8fa9922a56bff7caa584
[ "BSD-3-Clause" ]
1
2020-09-07T21:55:00.000Z
2020-09-07T21:55:00.000Z
/* Copyright (c) 2014, 2016-2021, Intel Corporation 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...
38.031204
117
0.635085
ImproveMyPhone
4489dfab93e5c24f631fd0ccf9ad6ba22bf514e7
830
hpp
C++
include/extractor/guidance/turn_classification.hpp
edudude/osrm-backend
8bb183bc8cb2b69cdf861745580951ae3385e068
[ "BSD-2-Clause" ]
null
null
null
include/extractor/guidance/turn_classification.hpp
edudude/osrm-backend
8bb183bc8cb2b69cdf861745580951ae3385e068
[ "BSD-2-Clause" ]
null
null
null
include/extractor/guidance/turn_classification.hpp
edudude/osrm-backend
8bb183bc8cb2b69cdf861745580951ae3385e068
[ "BSD-2-Clause" ]
1
2020-11-19T08:51:11.000Z
2020-11-19T08:51:11.000Z
#ifndef OSRM_GUIDANCE_TURN_CLASSIFICATION_HPP_ #define OSRM_GUIDANCE_TURN_CLASSIFICATION_HPP_ #include "extractor/compressed_edge_container.hpp" #include "extractor/guidance/intersection.hpp" #include "extractor/guidance/toolkit.hpp" #include "extractor/query_node.hpp" #include "util/coordinate.hpp" #include "util/gu...
23.714286
67
0.808434
edudude
448b619bc77fc8d46f2e83b6a7f60dded8d48a78
9,440
cxx
C++
osprey/wgen/wgen_omp_check_stack.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
osprey/wgen/wgen_omp_check_stack.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
osprey/wgen/wgen_omp_check_stack.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (C) 2009 Advanced Micro Devices, Inc. All Rights Reserved. */ /* * Copyright (C) 2007 PathScale, LLC. All Rights Reserved. */ /* * Copyright (C) 2007. QLogic Corporation. All Rights Reserved. */ /* * Copyright 2004, 2005, 2006 PathScale, Inc. All Rights Reserved. * * This program is free so...
25.308311
93
0.685169
sharugupta
448f5ed80d800e606e95782e4c4a7fb5d52b124a
2,733
cpp
C++
src/ofApp.cpp
Daandelange/camMovementOsc
3003c281bab4bf4cfa9bcfde9a7beecfa583317b
[ "Unlicense" ]
null
null
null
src/ofApp.cpp
Daandelange/camMovementOsc
3003c281bab4bf4cfa9bcfde9a7beecfa583317b
[ "Unlicense" ]
null
null
null
src/ofApp.cpp
Daandelange/camMovementOsc
3003c281bab4bf4cfa9bcfde9a7beecfa583317b
[ "Unlicense" ]
null
null
null
#include "ofApp.h" using namespace ofxCv; using namespace cv; void ofApp::setup() { ofLogNotice("ofxCamMovementOsc", "No camera found. Exiting now."); ofLogNotice("ofxCamMovementOsc", "Grabbing first camera found. (no selection options yet!)"); camera.setDeviceID(CAM_DEVICE); //get back a list of devices. ve...
25.542056
140
0.683498
Daandelange
4491253b9549483707bf8e8eb7aff86e5f4e3c8c
4,067
hpp
C++
snark-logic/libs-source/marshalling/include/nil/marshalling/types/string/type_traits.hpp
idealatom/podlodkin-freeton-year-control
6aa96e855fe065c9a75c76da976a87fe2d1668e6
[ "MIT" ]
1
2021-09-14T18:09:38.000Z
2021-09-14T18:09:38.000Z
include/nil/marshalling/types/string/type_traits.hpp
tonlabs/marshalling
b50ad116f652cc1d9132bc45a27ab4136dee6109
[ "MIT" ]
16
2020-12-16T15:46:53.000Z
2021-12-13T14:49:49.000Z
include/nil/marshalling/types/string/type_traits.hpp
tonlabs/marshalling
b50ad116f652cc1d9132bc45a27ab4136dee6109
[ "MIT" ]
1
2021-09-15T20:27:27.000Z
2021-09-15T20:27:27.000Z
//---------------------------------------------------------------------------// // Copyright (c) 2017-2021 Mikhail Komarov <nemo@nil.foundation> // Copyright (c) 2020-2021 Nikita Kaskov <nbering@nil.foundation> // // MIT License // // Permission is hereby granted, free of charge, to any person obtaining a copy // of th...
38.733333
115
0.58028
idealatom
4491ef5d9de629925689fedf5c637cc19f5bbe9c
1,728
cpp
C++
src/compressaudiodiskwriter.cpp
jontio/JSquelch
72805d6e08035daca09e6c668c63f46dc66674a2
[ "MIT" ]
2
2021-07-11T03:36:42.000Z
2022-03-26T15:04:30.000Z
src/compressaudiodiskwriter.cpp
jontio/JSquelch
72805d6e08035daca09e6c668c63f46dc66674a2
[ "MIT" ]
null
null
null
src/compressaudiodiskwriter.cpp
jontio/JSquelch
72805d6e08035daca09e6c668c63f46dc66674a2
[ "MIT" ]
null
null
null
#include "compressaudiodiskwriter.h" CompressAudioDiskWriter::CompressAudioDiskWriter(): enc(nullptr), comments(nullptr) { } CompressAudioDiskWriter::CompressAudioDiskWriter(const Settings &settings): enc(nullptr), comments(nullptr) { setSettings(settings); } CompressAudioDiskWriter::~CompressAudio...
27.870968
138
0.697338
jontio
44937d678491bac91f7b659909e05406e2c4a003
2,485
cpp
C++
Source/Quidditch/Private/Quaffle.cpp
Gradess2019/Quidditch
faa44ac2a2612e34f8b196b2196588052481b65b
[ "Apache-2.0" ]
null
null
null
Source/Quidditch/Private/Quaffle.cpp
Gradess2019/Quidditch
faa44ac2a2612e34f8b196b2196588052481b65b
[ "Apache-2.0" ]
null
null
null
Source/Quidditch/Private/Quaffle.cpp
Gradess2019/Quidditch
faa44ac2a2612e34f8b196b2196588052481b65b
[ "Apache-2.0" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "Quaffle.h" #include "Kismet/KismetMathLibrary.h" #include "Kismet/GameplayStatics.h" #include "QuidditchHelper.h" FVector GetFlightZoneOrigin(AActor* flightZone); FVector GetFlightZoneExtent(AActor* flightZone); void AQuaffle::M...
22.798165
94
0.765795
Gradess2019
44949610a865c23799d53b6f0e9fc4ba2596fc0c
6,769
cpp
C++
Operators.cpp
UKTailwind/MMB4W
cda50487f2ce23ea1b2a8da79b7b38be46cdece2
[ "Unlicense" ]
3
2022-02-20T11:32:27.000Z
2022-03-02T21:22:50.000Z
Operators.cpp
UKTailwind/MMB4W
cda50487f2ce23ea1b2a8da79b7b38be46cdece2
[ "Unlicense" ]
null
null
null
Operators.cpp
UKTailwind/MMB4W
cda50487f2ce23ea1b2a8da79b7b38be46cdece2
[ "Unlicense" ]
null
null
null
/*********************************************************************************************************************** MMBasic for Windows Operators.cpp <COPYRIGHT HOLDERS> Geoff Graham, Peter Mather Copyright (c) 2021, <COPYRIGHT HOLDERS> All rights reserved. Redistribution and use in source and binary for...
30.21875
158
0.592702
UKTailwind
44968e2d1dc1d6b5568b99fab7a253394e2b5289
8,571
cpp
C++
lumino/LuminoEngine/src/Physics/SoftBody.cpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
113
2020-03-05T01:27:59.000Z
2022-03-28T13:20:51.000Z
lumino/LuminoEngine/src/Physics/SoftBody.cpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
13
2020-03-23T20:36:44.000Z
2022-02-28T11:07:32.000Z
lumino/LuminoEngine/src/Physics/SoftBody.cpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
12
2020-12-21T12:03:59.000Z
2021-12-15T02:07:49.000Z
 #include "Internal.hpp" #pragma warning(disable: 5033) // disable warning in bullet headers #include <bullet/BulletSoftBody/btSoftRigidDynamicsWorld.h> #include <bullet/BulletSoftBody/btSoftBodyHelpers.h> #include <bullet/BulletSoftBody/btSoftBodyRigidBodyCollisionConfiguration.h> #include <LuminoEngine/Mesh/MeshPrim...
30.501779
142
0.630732
GameDevery
4498166bad3a13c960f8615f020dcb5146b21c25
1,657
cpp
C++
src/Nimiq/Transaction.cpp
vladyslav-iosdev/wallet-core
6f8f175a380bdf9756f38bfd82fedd9b73b67580
[ "MIT" ]
1,306
2019-08-08T13:25:24.000Z
2022-03-31T23:32:28.000Z
src/Nimiq/Transaction.cpp
vladyslav-iosdev/wallet-core
6f8f175a380bdf9756f38bfd82fedd9b73b67580
[ "MIT" ]
1,179
2019-08-08T07:06:10.000Z
2022-03-31T12:33:47.000Z
src/Nimiq/Transaction.cpp
vladyslav-iosdev/wallet-core
6f8f175a380bdf9756f38bfd82fedd9b73b67580
[ "MIT" ]
811
2019-08-08T13:27:44.000Z
2022-03-31T21:22:53.000Z
// Copyright © 2017-2020 Trust Wallet. // // This file is part of Trust. The full Trust copyright notice, including // terms governing use, modification, and redistribution, is contained in the // file LICENSE at the root of the source code distribution tree. #include "Transaction.h" #include "Signer.h" #include "../...
31.264151
80
0.698853
vladyslav-iosdev