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
ca6d464fd9826899ceb83b48b1e9fa8c2e05b5af
31,176
cpp
C++
APEX_1.4/shared/general/meshimport/src/MeshImport/ExportFBX.cpp
gongyiling/PhysX-3.4
99bc1c62880cf626f9926781e76a528b5276c68b
[ "Unlicense" ]
1,863
2018-12-03T13:06:03.000Z
2022-03-29T07:12:37.000Z
APEX_1.4/shared/general/meshimport/src/MeshImport/ExportFBX.cpp
cctxx/PhysX-3.4-1
5e42a5f112351a223c19c17bb331e6c55037b8eb
[ "Unlicense" ]
71
2018-12-03T19:48:39.000Z
2022-01-11T09:30:52.000Z
APEX_1.4/shared/general/meshimport/src/MeshImport/ExportFBX.cpp
cctxx/PhysX-3.4-1
5e42a5f112351a223c19c17bb331e6c55037b8eb
[ "Unlicense" ]
265
2018-12-03T14:30:03.000Z
2022-03-25T20:57:01.000Z
// // 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 the following disclaimer. // * Redistributions in bin...
52.662162
154
0.535829
gongyiling
ca725a65b764996a0ca5c93ffd3b5fd8187ae57a
4,668
cp
C++
Sources_Common/Application/Preferences/CFileOptionsMap.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
12
2015-04-21T16:10:43.000Z
2021-11-05T13:41:46.000Z
Sources_Common/Application/Preferences/CFileOptionsMap.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
2
2015-11-02T13:32:11.000Z
2019-07-10T21:11:21.000Z
Sources_Common/Application/Preferences/CFileOptionsMap.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
6
2015-01-12T08:49:12.000Z
2021-03-27T09:11:10.000Z
/* Copyright (c) 2007 Cyrus Daboo. 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 re...
21.218182
104
0.635604
mulberry-mail
ca7494730c830d73ae201f89d21b0a6299e70bda
1,090
cpp
C++
NfdcAppCore/RibbonDebug.cpp
Mason-Wmx/ViewFramework
d8117adc646c369ad29d64477788514c7a75a797
[ "Apache-2.0" ]
1
2021-10-03T16:47:04.000Z
2021-10-03T16:47:04.000Z
NfdcAppCore/RibbonDebug.cpp
Mason-Wmx/ViewFramework
d8117adc646c369ad29d64477788514c7a75a797
[ "Apache-2.0" ]
null
null
null
NfdcAppCore/RibbonDebug.cpp
Mason-Wmx/ViewFramework
d8117adc646c369ad29d64477788514c7a75a797
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #include "RibbonDebug.h" #include "DocCommand.h" #include "ApplyQssCommand.h" #include "FileIOCommands.h" #include "InternalTools.h" using namespace SIM; void SIM::RibbonDebug::AddRibbonContent(IRibbon* pRibbon) { std::string bar = "DEBUG"; pRibbon->SetBar(30, bar, "Debug"); int pos = 0; std...
32.058824
68
0.690826
Mason-Wmx
ca75869464c6e148722ca28432714eb4de9e4ef2
1,457
cpp
C++
radcpp/JsonDoc.cpp
radcpp/radcpp
c06ba9ada18d3b8058baa88b709ac8ca91d11c38
[ "MIT" ]
1
2022-01-01T10:39:25.000Z
2022-01-01T10:39:25.000Z
radcpp/JsonDoc.cpp
radcpp/radcpp
c06ba9ada18d3b8058baa88b709ac8ca91d11c38
[ "MIT" ]
null
null
null
radcpp/JsonDoc.cpp
radcpp/radcpp
c06ba9ada18d3b8058baa88b709ac8ca91d11c38
[ "MIT" ]
null
null
null
#include "JsonDoc.h" #include "rapidjson/error/error.h" #include "rapidjson/error/en.h" JsonDoc::JsonDoc() { } JsonDoc::~JsonDoc() { } bool JsonDoc::ParseFile(const Path& filePath) { std::string content = File::ReadAll(filePath); if (m_doc.Parse< rapidjson::ParseFlag::kParseCommentsFlag | ra...
29.14
98
0.593686
radcpp
ca7afe1b63ad6eccbe04f00a7eb6bbea319b1142
3,543
hpp
C++
ngraph/frontend/paddlepaddle/src/node_context.hpp
BaiYM0117/openvino
7742ace6a0b8b23bc9f14909b550f49884501f82
[ "Apache-2.0" ]
null
null
null
ngraph/frontend/paddlepaddle/src/node_context.hpp
BaiYM0117/openvino
7742ace6a0b8b23bc9f14909b550f49884501f82
[ "Apache-2.0" ]
16
2021-04-19T13:03:04.000Z
2022-02-21T13:06:50.000Z
ngraph/frontend/paddlepaddle/src/node_context.hpp
BaiYM0117/openvino
7742ace6a0b8b23bc9f14909b550f49884501f82
[ "Apache-2.0" ]
null
null
null
//***************************************************************************** // Copyright 2017-2021 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://w...
33.424528
121
0.664691
BaiYM0117
ca7d79d2a98e83d99f80a4828b5dd636786bca3a
1,077
cpp
C++
src/Compiler/AST/TokenString.cpp
matsic/XShaderCompiler
c1d5018f80beaaf7eca8f6b1ab6952b3f2841be5
[ "BSD-3-Clause" ]
352
2016-11-13T18:17:05.000Z
2022-03-15T06:39:43.000Z
src/Compiler/AST/TokenString.cpp
matsic/XShaderCompiler
c1d5018f80beaaf7eca8f6b1ab6952b3f2841be5
[ "BSD-3-Clause" ]
90
2016-12-09T13:26:49.000Z
2020-12-11T22:01:07.000Z
src/Compiler/AST/TokenString.cpp
matsic/XShaderCompiler
c1d5018f80beaaf7eca8f6b1ab6952b3f2841be5
[ "BSD-3-Clause" ]
55
2016-11-30T04:37:54.000Z
2021-12-07T16:21:00.000Z
/* * TokenString.cpp * * This file is part of the XShaderCompiler project (Copyright (c) 2014-2018 by Lukas Hermanns) * See "LICENSE.txt" for license information. */ #include "TokenString.h" #include "ReportIdents.h" namespace Xsc { void AssertReachedEnd(bool reachedEnd) { if (reachedEnd) throw s...
21.117647
112
0.606314
matsic
ca7dd4baa28d0fd0a1d72a8af67a78363b17efbb
29,358
cpp
C++
src/main/duckdb-c.cpp
peterboncz/duckdb
20031c8137895560a67bbf11b11628f067f057ef
[ "MIT" ]
1
2021-11-01T12:24:40.000Z
2021-11-01T12:24:40.000Z
src/main/duckdb-c.cpp
peterboncz/duckdb
20031c8137895560a67bbf11b11628f067f057ef
[ "MIT" ]
null
null
null
src/main/duckdb-c.cpp
peterboncz/duckdb
20031c8137895560a67bbf11b11628f067f057ef
[ "MIT" ]
null
null
null
#include "duckdb/common/types/date.hpp" #include "duckdb/common/types/time.hpp" #include "duckdb/common/types/timestamp.hpp" #include "duckdb/common/vector_operations/vector_operations.hpp" #include "duckdb/main/appender.hpp" #include "duckdb.h" #include "duckdb.hpp" #include <cstring> #include <cassert> #ifdef _WIN...
32.085246
120
0.668506
peterboncz
ca82cdddea9f408522043ebc2c934b65a6a65002
66,260
cc
C++
EnergyPlus/Psychrometrics.cc
yurigabrich/EnergyPlusShadow
396ca83aa82b842e6b177ba35c91b3f481dfbbf9
[ "BSD-3-Clause" ]
null
null
null
EnergyPlus/Psychrometrics.cc
yurigabrich/EnergyPlusShadow
396ca83aa82b842e6b177ba35c91b3f481dfbbf9
[ "BSD-3-Clause" ]
1
2020-07-08T13:32:09.000Z
2020-07-08T13:32:09.000Z
EnergyPlus/Psychrometrics.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...
43.620803
150
0.522065
yurigabrich
ca843e20b4de7e359b110f32151d9fa17d8b6a3f
2,878
cpp
C++
Projects/011.1 deck of cards/011.1 deck of cards/main.cpp
RoundBearChoi/CPP_Tutorial_Projects
19b52a054f4c8c83ed7f09d834109ddb57e423ad
[ "Unlicense" ]
2
2020-11-02T18:47:33.000Z
2021-04-12T15:28:14.000Z
Projects/011.1 deck of cards/011.1 deck of cards/main.cpp
RoundBearChoi/CPP_Tutorial_Projects
19b52a054f4c8c83ed7f09d834109ddb57e423ad
[ "Unlicense" ]
null
null
null
Projects/011.1 deck of cards/011.1 deck of cards/main.cpp
RoundBearChoi/CPP_Tutorial_Projects
19b52a054f4c8c83ed7f09d834109ddb57e423ad
[ "Unlicense" ]
3
2021-02-15T13:54:36.000Z
2021-11-23T06:22:51.000Z
#include <iostream> enum class Suits { CLUBS, DIAMONDS, HEARTS, SPADES, }; enum class CardNames { ACE = 1, TWO, THREE, FOUR, FIVE, SIX, SEVEN, EIGHT, NINE, TEN, JACK, QUEEN, KING, }; struct Card { CardNames name; Suits suit; int value; ...
18.688312
83
0.372481
RoundBearChoi
ca864c829495e44af4a121be76218be31dfc93e2
579
hpp
C++
3_module/1/1/CListGraph.hpp
moguchev/Algorithms
0bdaa86572115111517723216e6db1ba58f6c254
[ "MIT" ]
null
null
null
3_module/1/1/CListGraph.hpp
moguchev/Algorithms
0bdaa86572115111517723216e6db1ba58f6c254
[ "MIT" ]
null
null
null
3_module/1/1/CListGraph.hpp
moguchev/Algorithms
0bdaa86572115111517723216e6db1ba58f6c254
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <cassert> #include <queue> #include <stack> #include <list> #include "IGraph.hpp" class CListGraph : public IGraph { public: CListGraph(size_t n); CListGraph(const IGraph& graph); virtual ~CListGraph() = default; void AddEdge(int from, int to) override; ...
20.678571
72
0.708117
moguchev
ca87c0b548bcff729c04e5f56e003bee1686dd37
4,924
cpp
C++
code/server/lua_service_origin/lua_service/service/etcd_client/etcd_client.cpp
UtopiaCoder/utopia_origin
e9ce25193c21264b1d896d18ae8a472e3d54370c
[ "MIT" ]
null
null
null
code/server/lua_service_origin/lua_service/service/etcd_client/etcd_client.cpp
UtopiaCoder/utopia_origin
e9ce25193c21264b1d896d18ae8a472e3d54370c
[ "MIT" ]
null
null
null
code/server/lua_service_origin/lua_service/service/etcd_client/etcd_client.cpp
UtopiaCoder/utopia_origin
e9ce25193c21264b1d896d18ae8a472e3d54370c
[ "MIT" ]
1
2018-12-30T10:03:20.000Z
2018-12-30T10:03:20.000Z
#include "etcd_client.h" #include "iengine.h" EtcdClient::EtcdClient(lua_State *L, const std::string & host, const std::string & user, const std::string & pwd) { m_lua_state = L; sol::state_view sv(m_lua_state); sol::function instance_fn = sv["EtcdClientCxx"]["instance_one"]; m_lua_etcd_client = instance_fn(host, ...
30.583851
147
0.706742
UtopiaCoder
ca87d4a8dbcc317519f55f3605a56a4fb8b907e9
1,046
cpp
C++
src/main/cpp/Autonomous/Steps/Rotate.cpp
FRCTeam16/TMW2021OMB
5ac92a1ac2030d2913c18ba7a55450a4b46abbc7
[ "BSD-3-Clause" ]
null
null
null
src/main/cpp/Autonomous/Steps/Rotate.cpp
FRCTeam16/TMW2021OMB
5ac92a1ac2030d2913c18ba7a55450a4b46abbc7
[ "BSD-3-Clause" ]
9
2022-01-24T17:02:09.000Z
2022-01-24T17:02:11.000Z
src/main/cpp/Autonomous/Steps/Rotate.cpp
FRCTeam16/TMW2021OMB
5ac92a1ac2030d2913c18ba7a55450a4b46abbc7
[ "BSD-3-Clause" ]
1
2022-02-20T02:09:17.000Z
2022-02-20T02:09:17.000Z
#include <Autonomous/Steps/Rotate.h> #include <Robot.h> bool Rotate::Run(std::shared_ptr<World> world) { const double currentTime = world->GetClock(); if (startTime < 0) { Robot::driveBase->SetTargetAngle(angle); startTime = currentTime; } const float yaw = RobotMap::gyro->GetYaw(); const double yawError = ...
25.512195
76
0.60325
FRCTeam16
ca88392c93308d54db1bd585a6c8b068d4f7d3d3
8,336
hpp
C++
src/IO/Observer/Tags.hpp
nilsvu/spectre
1455b9a8d7e92db8ad600c66f54795c29c3052ee
[ "MIT" ]
1
2022-01-11T00:17:33.000Z
2022-01-11T00:17:33.000Z
src/IO/Observer/Tags.hpp
nilsvu/spectre
1455b9a8d7e92db8ad600c66f54795c29c3052ee
[ "MIT" ]
null
null
null
src/IO/Observer/Tags.hpp
nilsvu/spectre
1455b9a8d7e92db8ad600c66f54795c29c3052ee
[ "MIT" ]
null
null
null
// Distributed under the MIT License. // See LICENSE.txt for details. #pragma once #include <atomic> #include <converse.h> #include <cstddef> #include <memory> #include <set> #include <string> #include <unordered_map> #include <unordered_set> #include <vector> #include "DataStructures/DataBox/Tag.hpp" #include "Data...
36.561404
80
0.728647
nilsvu
ca8a1de899f685076ff12e48f55dcb21df66c709
5,801
cpp
C++
PDCTask2/kmeans/kmeans.cpp
Kapral42/pdc2015_Yandex
437723bb22f47664f56a80fa34991da7e0d6fd6e
[ "MIT" ]
null
null
null
PDCTask2/kmeans/kmeans.cpp
Kapral42/pdc2015_Yandex
437723bb22f47664f56a80fa34991da7e0d6fd6e
[ "MIT" ]
null
null
null
PDCTask2/kmeans/kmeans.cpp
Kapral42/pdc2015_Yandex
437723bb22f47664f56a80fa34991da7e0d6fd6e
[ "MIT" ]
null
null
null
#include <cmath> #include <iostream> #include <fstream> #include <stdlib.h> #include <vector> #include <omp.h> #include <chrono> using namespace std; typedef vector<double> Point; typedef vector<Point> Points; // Gives random number in range [0..max_value] unsigned int UniformRandom(unsigned int max_value) { uns...
29.29798
87
0.569385
Kapral42
ca8cbacaff4755efef6950d9ecefa1ad6064be4f
23,731
cpp
C++
3rdParty/Aria/src/ArDPPTU.cpp
bellonemauro/myARIAtestApp
8223b5833ccf37cf9f503337858a46544d36a19c
[ "Linux-OpenIB" ]
null
null
null
3rdParty/Aria/src/ArDPPTU.cpp
bellonemauro/myARIAtestApp
8223b5833ccf37cf9f503337858a46544d36a19c
[ "Linux-OpenIB" ]
null
null
null
3rdParty/Aria/src/ArDPPTU.cpp
bellonemauro/myARIAtestApp
8223b5833ccf37cf9f503337858a46544d36a19c
[ "Linux-OpenIB" ]
null
null
null
/* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This program is free software; you can redistribute it and/or ...
25.878953
164
0.669335
bellonemauro
ca8f2219e9589870856795d146053dcee84367c0
3,916
cpp
C++
cvm/src/v20170312/model/ProgramFpgaImageRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
cvm/src/v20170312/model/ProgramFpgaImageRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
cvm/src/v20170312/model/ProgramFpgaImageRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
26.106667
104
0.71144
suluner
ca9160962eda688d59a6cf6c71f21a050d80681a
3,344
cpp
C++
Client/src/client_setters.cpp
Minigrim0/ProjetBa2
21d65084d387f28516ae01217684ff0993086d48
[ "MIT" ]
1
2020-06-03T20:24:52.000Z
2020-06-03T20:24:52.000Z
Client/src/client_setters.cpp
fgrimau/ProjetBa2
21d65084d387f28516ae01217684ff0993086d48
[ "MIT" ]
null
null
null
Client/src/client_setters.cpp
fgrimau/ProjetBa2
21d65084d387f28516ae01217684ff0993086d48
[ "MIT" ]
null
null
null
#include "../includes/client.hpp" void Client::setMap(uint32_t id_map){ message m{}; //construction de la structure à envoyer au serveur Map_mod obj; obj.set_id(id_map); obj.SerializeToString(&m.text);//convertis en string pour l'envoyer au serveur m.type = CLIENT_MODIFY_MAP; sendMutex.lock(); sendMessage(m...
21.856209
79
0.748505
Minigrim0
ca964ba7d334cd571573f715ac60486a76489d56
1,793
cpp
C++
common-tasks/containers/remove-elements-from-container.cpp
MattijsKneppers/CppPatterns-Patterns
d25d78fd10ae155af3c6e8e65165b57387ad09c0
[ "CC0-1.0" ]
650
2017-12-11T01:57:07.000Z
2022-03-30T18:43:57.000Z
common-tasks/containers/remove-elements-from-container.cpp
MattijsKneppers/CppPatterns-Patterns
d25d78fd10ae155af3c6e8e65165b57387ad09c0
[ "CC0-1.0" ]
9
2018-02-23T09:47:13.000Z
2022-03-30T18:47:10.000Z
common-tasks/containers/remove-elements-from-container.cpp
MattijsKneppers/CppPatterns-Patterns
d25d78fd10ae155af3c6e8e65165b57387ad09c0
[ "CC0-1.0" ]
101
2017-12-20T14:19:03.000Z
2022-03-17T11:34:43.000Z
// Remove elements from a container // C++11 #include <vector> #include <algorithm> int main() { std::vector<int> v = {1, 2, 3, 4, 2, 5, 2, 6}; v.erase(std::remove(std::begin(v), std::end(v), 2), std::end(v)); v.erase(std::remove_if(std::begin(v), std::end(v), [](int i) { re...
39.844444
74
0.694367
MattijsKneppers
ca9cb1d8cad0276d40a7a933048b1b2a82119522
37,753
cpp
C++
test/afu/AFU.cpp
OpenCAPI/ocse
ddc640fbafe9d027c0218ccad366bc6ce37c34c8
[ "Apache-2.0" ]
3
2019-10-10T19:39:12.000Z
2021-04-05T17:36:33.000Z
test/afu/AFU.cpp
OpenCAPI/ocse
ddc640fbafe9d027c0218ccad366bc6ce37c34c8
[ "Apache-2.0" ]
8
2019-10-25T12:51:45.000Z
2021-04-06T09:31:39.000Z
test/afu/AFU.cpp
OpenCAPI/ocse
ddc640fbafe9d027c0218ccad366bc6ce37c34c8
[ "Apache-2.0" ]
4
2019-10-31T13:05:39.000Z
2021-04-05T17:36:28.000Z
/* * Copyright 2015,2017 International Business Machines * * 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 app...
29.448518
114
0.668238
OpenCAPI
ca9f32c4a4f7c05ad2db1b6cbd27fbdc4c8d7f34
580
cpp
C++
Network/sources/Protocol/SyncDistance.cpp
LiardeauxQ/r-type
8a77164c276b2d5958cd3504a9ea34f1cf6823cf
[ "MIT" ]
2
2020-02-12T12:02:00.000Z
2020-12-23T15:31:59.000Z
Network/sources/Protocol/SyncDistance.cpp
LiardeauxQ/r-type
8a77164c276b2d5958cd3504a9ea34f1cf6823cf
[ "MIT" ]
null
null
null
Network/sources/Protocol/SyncDistance.cpp
LiardeauxQ/r-type
8a77164c276b2d5958cd3504a9ea34f1cf6823cf
[ "MIT" ]
2
2020-02-12T12:02:03.000Z
2020-12-23T15:32:55.000Z
// // Created by Quentin Liardeaux on 12/27/19. // #include "Protocol/SyncDistance.hpp" std::unique_ptr<Message> SyncDistance::from(void *data) { auto pkt = reinterpret_cast<sync_dist_t*>(data); auto msg = std::make_unique<SyncDistance>(pkt->dist); return msg; } std::vector<uint8_t> SyncDistance::serial...
27.619048
76
0.67931
LiardeauxQ
caa440bde5c3e90f77bb7d13916c0102f119c71e
16,673
cpp
C++
export/windows/obj/src/openfl/media/SoundChannel.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
export/windows/obj/src/openfl/media/SoundChannel.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
export/windows/obj/src/openfl/media/SoundChannel.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
// Generated by Haxe 3.4.7 #include <hxcpp.h> #ifndef INCLUDED_95f339a1d026d52c #define INCLUDED_95f339a1d026d52c #include "hxMath.h" #endif #ifndef INCLUDED_Std #include <Std.h> #endif #ifndef INCLUDED_lime_app__Event_Void_Void #include <lime/app/_Event_Void_Void.h> #endif #ifndef INCLUDED_lime_math_Vector4 #include ...
44.343085
222
0.73736
seanbashaw
caa6bafedf688e3fc3185245e0c382663f503e5d
1,842
hpp
C++
cpp/include/raft/linalg/transpose.hpp
kaatish/raft
f487da7f2585e60f0a11aef43ce17c990cc6145a
[ "Apache-2.0" ]
null
null
null
cpp/include/raft/linalg/transpose.hpp
kaatish/raft
f487da7f2585e60f0a11aef43ce17c990cc6145a
[ "Apache-2.0" ]
null
null
null
cpp/include/raft/linalg/transpose.hpp
kaatish/raft
f487da7f2585e60f0a11aef43ce17c990cc6145a
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
27.909091
75
0.699783
kaatish
caa880e226749fbf29c0001bf795c588c0610c49
52,396
cpp
C++
gui/main_window/sidebar/UserProfile.cpp
mail-ru-im/im-desktop
d6bb606650ad84b31046fe39b81db1fec4e6050b
[ "Apache-2.0" ]
81
2019-09-18T13:53:17.000Z
2022-03-19T00:44:20.000Z
gui/main_window/sidebar/UserProfile.cpp
mail-ru-im/im-desktop
d6bb606650ad84b31046fe39b81db1fec4e6050b
[ "Apache-2.0" ]
4
2019-10-03T15:17:00.000Z
2019-11-03T01:05:41.000Z
gui/main_window/sidebar/UserProfile.cpp
mail-ru-im/im-desktop
d6bb606650ad84b31046fe39b81db1fec4e6050b
[ "Apache-2.0" ]
25
2019-09-27T16:56:02.000Z
2022-03-14T07:11:14.000Z
#include "stdafx.h" #include "UserProfile.h" #include "SidebarUtils.h" #include "GalleryList.h" #include "../MainPage.h" #include "../MainWindow.h" #include "../GroupChatOperations.h" #include "../ReportWidget.h" #include "../contact_list/TopPanel.h" #include "../contact_list/RecentsModel.h" #include "../contact_list/C...
40.088753
212
0.642091
mail-ru-im
caaba8c27c2fcc3cf59a3a28954b7ad7c7b4cc10
3,534
cpp
C++
src/plugins/poshuku/plugins/webkitview/sslstatedialog.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
120
2015-01-22T14:10:39.000Z
2021-11-25T12:57:16.000Z
src/plugins/poshuku/plugins/webkitview/sslstatedialog.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
8
2015-02-07T19:38:19.000Z
2017-11-30T20:18:28.000Z
src/plugins/poshuku/plugins/webkitview/sslstatedialog.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
33
2015-02-07T16:59:55.000Z
2021-10-12T00:36:40.000Z
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE...
26.977099
83
0.672326
Maledictus
caac790ab787782c89708371f8a38ea0e8662334
66,444
cpp
C++
src/renderer/atlas/AtlasEngine.cpp
rasc0l/terminal
f0c2ef361a0354e0c0a34117a99985cef1ba7804
[ "MIT" ]
1
2022-03-29T09:09:19.000Z
2022-03-29T09:09:19.000Z
src/renderer/atlas/AtlasEngine.cpp
rasc0l/terminal
f0c2ef361a0354e0c0a34117a99985cef1ba7804
[ "MIT" ]
null
null
null
src/renderer/atlas/AtlasEngine.cpp
rasc0l/terminal
f0c2ef361a0354e0c0a34117a99985cef1ba7804
[ "MIT" ]
2
2022-03-21T17:02:47.000Z
2022-03-30T15:53:39.000Z
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. #include "pch.h" #include "AtlasEngine.h" #include <shader_ps.h> #include <shader_vs.h> #include "../base/FontCache.h" #include "../../interactivity/win32/CustomWindowMessages.h" // #### NOTE #### // This file should only contai...
44.266489
261
0.616534
rasc0l
caaedab793b249b9af45206cccf730b046a2b8bd
32,306
hpp
C++
include/cppurses/widget/widget.hpp
thknepper/CPPurses
4f35ba5284bc5ac563214f73f494bd75fd5bf73b
[ "MIT" ]
1
2020-02-22T21:18:11.000Z
2020-02-22T21:18:11.000Z
include/cppurses/widget/widget.hpp
thknepper/CPPurses
4f35ba5284bc5ac563214f73f494bd75fd5bf73b
[ "MIT" ]
null
null
null
include/cppurses/widget/widget.hpp
thknepper/CPPurses
4f35ba5284bc5ac563214f73f494bd75fd5bf73b
[ "MIT" ]
null
null
null
#ifndef CPPURSES_WIDGET_WIDGET_HPP #define CPPURSES_WIDGET_WIDGET_HPP #include <algorithm> #include <cstddef> #include <cstdint> #include <functional> #include <iterator> #include <memory> #include <optional> #include <set> #include <stdexcept> #include <string> #include <utility> #include <signals/signal.hpp> #inclu...
36.298876
80
0.591686
thknepper
cab00bd17cba39a80b8509e9421514c21bee5ea2
10,799
cpp
C++
vendor/snarkv/src/util.cpp
ultrain-os/ultrain-core-production
5d26bbe51033db183d3c069a30d87bcbe9cf736e
[ "MIT" ]
38
2019-08-15T08:38:15.000Z
2022-01-14T07:31:51.000Z
vendor/snarkv/src/util.cpp
ultrain-os/ultrain-core-production
5d26bbe51033db183d3c069a30d87bcbe9cf736e
[ "MIT" ]
4
2019-08-19T13:07:10.000Z
2020-10-17T02:45:04.000Z
vendor/snarkv/src/util.cpp
ultrain-os/ultrain-core-production
5d26bbe51033db183d3c069a30d87bcbe9cf736e
[ "MIT" ]
7
2019-08-15T11:11:09.000Z
2022-01-14T08:11:46.000Z
#include "snark/util.h" #include "snark/random.h" //#include "snark/serialize.h" #include "snark/sync.h" #include "snark/util_str_encodings.h" //#include <stdarg.h> #include <stdio.h> #if (defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)) #include <pthread.h> #include <pthread_np.h> #endif #ifn...
28.122396
196
0.682285
ultrain-os
cab87fe5a019fe863fc8cf39474f2dee37fce8b0
27,695
cpp
C++
games/butano-fighter/src/bf_game_butano_boss.cpp
taellinglin/butano
13b93c1296970262e047b728496908c036f7e789
[ "Zlib" ]
571
2020-11-09T10:23:43.000Z
2022-03-29T05:03:53.000Z
games/butano-fighter/src/bf_game_butano_boss.cpp
OQUENDOMAN/butano
01a0f3a57d60b44b402095eb5a04707b33437a81
[ "Zlib" ]
18
2020-11-12T03:17:48.000Z
2022-02-16T12:25:14.000Z
games/butano-fighter/src/bf_game_butano_boss.cpp
OQUENDOMAN/butano
01a0f3a57d60b44b402095eb5a04707b33437a81
[ "Zlib" ]
23
2020-11-12T01:23:02.000Z
2022-02-06T11:24:15.000Z
/* * Copyright (c) 2020-2021 Gustavo Valiente gustavo.valiente@protonmail.com * zlib License, see LICENSE file. */ #include "bf_game_butano_boss.h" #include "bn_music_items.h" #include "bn_sound_items.h" #include "bn_sprite_builder.h" #include "bn_sprite_items_butano_fire.h" #include "bn_sprite_items_mini_explosio...
29.875944
121
0.556851
taellinglin
cab984514761ff6287213f56cdf8fc7d2d817472
25,246
cpp
C++
debug.cpp
jlongstreet/dgen-libretro
212951c4559bdaa4fea671290a3a802d8c445111
[ "BSD-3-Clause" ]
1
2018-01-31T13:31:17.000Z
2018-01-31T13:31:17.000Z
debug.cpp
jlongstreet/dgen-libretro
212951c4559bdaa4fea671290a3a802d8c445111
[ "BSD-3-Clause" ]
null
null
null
debug.cpp
jlongstreet/dgen-libretro
212951c4559bdaa4fea671290a3a802d8c445111
[ "BSD-3-Clause" ]
null
null
null
// DGen // Tooling to help debug (MUSA ONLY) // (C) 2012 Edd Barrett <vext01@gmail.com> #ifdef WITH_DEBUGGER #ifndef WITH_MUSA #error Musashi must be enabled. #endif #include <errno.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <unistd.h> #include <stdint.h> extern "C" { #include "musa/m68k...
22.048908
81
0.616454
jlongstreet
cab9a45bf9355634803135e958f4e39b0d5cb02d
4,005
cpp
C++
src/nodes/SoTextureCoordinateDefault.cpp
reavertm/coin
58a1b4c3e968f96d3a2091fa5cb625f360ce6811
[ "BSD-3-Clause" ]
2
2017-08-11T10:48:07.000Z
2018-01-13T15:41:31.000Z
src/nodes/SoTextureCoordinateDefault.cpp
jfb3615/coin
071069d61fb06e823cad99a65e258221ae50bac9
[ "BSD-3-Clause" ]
null
null
null
src/nodes/SoTextureCoordinateDefault.cpp
jfb3615/coin
071069d61fb06e823cad99a65e258221ae50bac9
[ "BSD-3-Clause" ]
1
2020-02-09T02:31:29.000Z
2020-02-09T02:31:29.000Z
/**************************************************************************\ * Copyright (c) Kongsberg Oil & Gas Technologies AS * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * Red...
33.375
108
0.714107
reavertm
cabfc54ed2aae4d8e5ec365c3bad9bef2fca694e
4,385
hpp
C++
include/lvr2/algorithm/raycasting/Intersection.hpp
uos/lvr
9bb03a30441b027c39db967318877e03725112d5
[ "BSD-3-Clause" ]
38
2019-06-19T15:10:35.000Z
2022-02-16T03:08:24.000Z
include/lvr2/algorithm/raycasting/Intersection.hpp
uos/lvr
9bb03a30441b027c39db967318877e03725112d5
[ "BSD-3-Clause" ]
9
2019-06-19T16:19:51.000Z
2021-09-17T08:31:25.000Z
include/lvr2/algorithm/raycasting/Intersection.hpp
uos/lvr
9bb03a30441b027c39db967318877e03725112d5
[ "BSD-3-Clause" ]
13
2019-04-16T11:50:32.000Z
2020-11-26T07:47:44.000Z
#ifndef LVR2_RAYCASTING_INTERSECTION_HPP #define LVR2_RAYCASTING_INTERSECTION_HPP #include <string> #include <sstream> #include <tuple> #include <type_traits> #include <iostream> #include "lvr2/types/MatrixTypes.hpp" namespace lvr2 { // Intersect flags // weird intersection construction namespace intelem { /** * ...
22.258883
88
0.627366
uos
cac1013daea3f782280de5c66fe953770b16c323
654
cpp
C++
flightros/src/depth_converter_node.cpp
Hersh500/flightmare
ff68a8cc512363759c48c120b1b8bdbb23395392
[ "MIT" ]
null
null
null
flightros/src/depth_converter_node.cpp
Hersh500/flightmare
ff68a8cc512363759c48c120b1b8bdbb23395392
[ "MIT" ]
null
null
null
flightros/src/depth_converter_node.cpp
Hersh500/flightmare
ff68a8cc512363759c48c120b1b8bdbb23395392
[ "MIT" ]
null
null
null
#include <ros/ros.h> #include "flightros/depth_converter.hpp" int main(int argc, char** argv) { ros::init(argc, argv, "depth_converter"); ros::NodeHandle nh; /* double noise_std; double max_depth_in_pcl; if (!nh.getParam("noise_std", noise_std)) { ROS_ERROR("Could not initialize noise_std in depth conv...
24.222222
67
0.636086
Hersh500
cac40ffb4b70462796463ca767c6b97e2004c76d
1,012
hpp
C++
includes/Graphics/Bindable/BindableCodex.hpp
razerx100/Gaia
4e58cbb00d5f8b5d1c27fae461c6136ff54bee9b
[ "MIT" ]
null
null
null
includes/Graphics/Bindable/BindableCodex.hpp
razerx100/Gaia
4e58cbb00d5f8b5d1c27fae461c6136ff54bee9b
[ "MIT" ]
null
null
null
includes/Graphics/Bindable/BindableCodex.hpp
razerx100/Gaia
4e58cbb00d5f8b5d1c27fae461c6136ff54bee9b
[ "MIT" ]
null
null
null
#ifndef __BINDABLE_CODEX_HPP__ #define __BINDABLE_CODEX_HPP__ #include <unordered_map> #include <memory> class Bindable; struct BindPtr { BindPtr() = default; BindPtr(const std::string& key, std::unique_ptr<Bindable> bindPtr) noexcept; BindPtr(BindPtr&& bindPtr) noexcept; BindPtr& operator=(BindPtr&&...
25.948718
84
0.729249
razerx100
cac5c8b8ed9c62b2f5e70fbaca164c907fb282cd
1,618
hpp
C++
include/Keyboard.hpp
slimlime/SpaceChunks
9613bfbb712464d3ec60498b311fb1f4a1c9de97
[ "MIT" ]
1
2019-06-27T11:36:45.000Z
2019-06-27T11:36:45.000Z
include/Keyboard.hpp
slimlime/SpaceChunks
9613bfbb712464d3ec60498b311fb1f4a1c9de97
[ "MIT" ]
null
null
null
include/Keyboard.hpp
slimlime/SpaceChunks
9613bfbb712464d3ec60498b311fb1f4a1c9de97
[ "MIT" ]
null
null
null
#ifndef KEYBOARD_HPP #define KEYBOARD_HPP namespace XyEngine { // Numbers // #define KEY_0 0x30 #define KEY_1 0x31 #define KEY_2 0x32 #define KEY_3 0x33 #define KEY_4 0x34 #define KEY_5 0x35 #define KEY_6 0x36 #define KEY_7 0x37 #define KEY_8 0x38 #define KEY_9 0x39 // Letters // #define KEY_A ...
22.164384
29
0.639679
slimlime
caccf50d0ce94aa8c529808b4912bb869a66e415
507
hpp
C++
NESEmu/NESEmu/Controller/Nothing.hpp
johnmph/NESEmu
1923ee77c4ad742827bc2817a886bde0261131e3
[ "MIT" ]
4
2020-04-24T17:33:51.000Z
2022-02-10T01:14:28.000Z
NESEmu/NESEmu/Controller/Nothing.hpp
johnmph/NESEmu
1923ee77c4ad742827bc2817a886bde0261131e3
[ "MIT" ]
null
null
null
NESEmu/NESEmu/Controller/Nothing.hpp
johnmph/NESEmu
1923ee77c4ad742827bc2817a886bde0261131e3
[ "MIT" ]
null
null
null
// // Nothing.hpp // NESEmu // // Created by Jonathan Baliko on 23/02/20. // Copyright © 2020 Jonathan Baliko. All rights reserved. // #ifndef NESEmu_Controller_Nothing_hpp #define NESEmu_Controller_Nothing_hpp #include "Interface.hpp" namespace NESEmu { namespace Controller { struct Nothing : Interfac...
18.107143
58
0.65286
johnmph
cad4c46e97b25d39aeadea06ab8e39dd58cb0101
1,995
cpp
C++
eclipse_host_ws/agbotHost/src/udpport.cpp
xiapeiqing/multistageUctrl
d5df4d9d7133845888945ad797638281bb60f541
[ "Apache-2.0" ]
null
null
null
eclipse_host_ws/agbotHost/src/udpport.cpp
xiapeiqing/multistageUctrl
d5df4d9d7133845888945ad797638281bb60f541
[ "Apache-2.0" ]
null
null
null
eclipse_host_ws/agbotHost/src/udpport.cpp
xiapeiqing/multistageUctrl
d5df4d9d7133845888945ad797638281bb60f541
[ "Apache-2.0" ]
null
null
null
#include "udpport.h" #include <sys/types.h> /* for Socket data types */ #include <sys/socket.h> /* for socket(), connect(), send(), and recv() */ #include <unistd.h> /* for close() */ #include <netinet/in.h> /* for IP Socket data types */ #include <arpa/inet.h> /* for sockaddr_in and inet_addr() */ #include <fcnt...
24.036145
79
0.649624
xiapeiqing
cad686a825eabb7a2380aa3edb757dc972d9d759
4,147
cc
C++
test/cctest/compiler/test-schedule.cc
phantasien/v8
1fed5ed84fa781c0e1d9872012dc8ac7a928d230
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
null
null
null
test/cctest/compiler/test-schedule.cc
phantasien/v8
1fed5ed84fa781c0e1d9872012dc8ac7a928d230
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
null
null
null
test/cctest/compiler/test-schedule.cc
phantasien/v8
1fed5ed84fa781c0e1d9872012dc8ac7a928d230
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
null
null
null
// Copyright 2013 the V8 project 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 "src/v8.h" #include "src/compiler/common-operator.h" #include "src/compiler/generic-node-inl.h" #include "src/compiler/graph.h" #include "src/...
28.40411
78
0.720762
phantasien
cad703cca8c60649e908f844109afffde8a45357
237
cpp
C++
lesson7/exp_7_3.cpp
JET31ZHANG/CppInOneHourADay
beee5e01f9801efe058410bd4103391965b1dedf
[ "Apache-2.0" ]
null
null
null
lesson7/exp_7_3.cpp
JET31ZHANG/CppInOneHourADay
beee5e01f9801efe058410bd4103391965b1dedf
[ "Apache-2.0" ]
null
null
null
lesson7/exp_7_3.cpp
JET31ZHANG/CppInOneHourADay
beee5e01f9801efe058410bd4103391965b1dedf
[ "Apache-2.0" ]
null
null
null
/* A function with No Parameter and No return value */ #include <iostream> using namespace std; void SayHello(); int main() { SayHello(); return 0; } void SayHello() { cout << "Hello World!" << endl; }
13.166667
53
0.57384
JET31ZHANG
cad8a73e94ecf80c2bbf2cfefd3a3f87455c3e99
312
cpp
C++
Codechef/CODSTAN4.cpp
phileinSophos/programming
3d88de265f9ed087ce11347d53dc373edca75ac4
[ "MIT" ]
null
null
null
Codechef/CODSTAN4.cpp
phileinSophos/programming
3d88de265f9ed087ce11347d53dc373edca75ac4
[ "MIT" ]
null
null
null
Codechef/CODSTAN4.cpp
phileinSophos/programming
3d88de265f9ed087ce11347d53dc373edca75ac4
[ "MIT" ]
null
null
null
/* Problem Statement : Equal Chocolates Link : https://www.codechef.com/CFUN2020/problems/CODSTAN4 Score : accepted */ #include<iostream> using namespace std; int main() { int M,R; cin>>M>>R; if(R%M==0) cout<<"Yes"; else { cout<<"No"; } return 0; }
14.181818
62
0.541667
phileinSophos
cade48656dd76811f8ddc49d744bad613c878a2c
355
cpp
C++
src/library/page.cpp
unitatem/hermes
decbeebc2c2e18f6ad309987fcbe75fc2be22862
[ "MIT" ]
null
null
null
src/library/page.cpp
unitatem/hermes
decbeebc2c2e18f6ad309987fcbe75fc2be22862
[ "MIT" ]
null
null
null
src/library/page.cpp
unitatem/hermes
decbeebc2c2e18f6ad309987fcbe75fc2be22862
[ "MIT" ]
null
null
null
#include "page.hpp" #include <iostream> void Page::refresh() { std::cout << "Page::refresh()" << std::endl; } int Page::insert(void*, void*) { return 0; } std::ostream& operator<<(std::ostream& os, const Page& page) { os << "Page:{ "; os << "page_nr: " << page.m_page_nr << " "; os << "text: " << page.m_text <...
22.1875
69
0.546479
unitatem
cae444dfafeee3bfb9aa03b7e9e86e68a5b988cd
21,158
cpp
C++
src/sound.cpp
jay-kumogata/InfoGB
9480869c36d6e754947bbe0efb73c75f38267aaf
[ "Apache-2.0" ]
null
null
null
src/sound.cpp
jay-kumogata/InfoGB
9480869c36d6e754947bbe0efb73c75f38267aaf
[ "Apache-2.0" ]
null
null
null
src/sound.cpp
jay-kumogata/InfoGB
9480869c36d6e754947bbe0efb73c75f38267aaf
[ "Apache-2.0" ]
null
null
null
/* * InfoGB - A portable GameBoy emulator * Copyright (C) 2003 Jay's Factory <jays_factory@excite.co.jp> * * 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 t...
35.204659
130
0.304235
jay-kumogata
cae66f5131b2b27f1251ceaa95d33a9854609f13
926
cpp
C++
modules/registers/hc165/train_hc165.cpp
ARDev1161/AmurClient
5348f05180c15995869d03c07de65513cffaf58e
[ "Apache-2.0" ]
1
2020-12-13T09:49:24.000Z
2020-12-13T09:49:24.000Z
modules/registers/hc165/train_hc165.cpp
ARDev1161/AmurClient
5348f05180c15995869d03c07de65513cffaf58e
[ "Apache-2.0" ]
null
null
null
modules/registers/hc165/train_hc165.cpp
ARDev1161/AmurClient
5348f05180c15995869d03c07de65513cffaf58e
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <unistd.h> #include "hc165.h" #include "../registerssettings.h" #define FREQ_PIN 10 int main() { unsigned char oldF = 0; unsigned char oldS = 0; unsigned char curF; unsigned char curS; RegisterSettings settings; HC165 *reg = new HC165(&settings); int code; #...
17.148148
95
0.543197
ARDev1161
cae8778727451cb48efe3990349b6d1dc0d180f3
8,997
cpp
C++
cppcore/src/solver/FEAST.cpp
lise1020/pybinding
921d5c2ac0ecc0ef317ba28b0bf68899ea30709a
[ "BSD-2-Clause" ]
159
2016-01-20T17:40:48.000Z
2022-03-24T06:08:55.000Z
cppcore/src/solver/FEAST.cpp
deilynazar/pybinding
ec1128aaa84a1b43a74fb970479ce4544bd63179
[ "BSD-2-Clause" ]
36
2016-11-01T17:15:12.000Z
2022-03-08T14:31:51.000Z
cppcore/src/solver/FEAST.cpp
deilynazar/pybinding
ec1128aaa84a1b43a74fb970479ce4544bd63179
[ "BSD-2-Clause" ]
57
2016-04-23T22:12:01.000Z
2022-03-08T12:33:04.000Z
#include "solver/FEAST.hpp" #ifdef CPB_USE_FEAST # include "support/format.hpp" # include "compute/mkl/wrapper.hpp" using namespace fmt::literals; using namespace cpb; template<class scalar_t> void FEAST<scalar_t>::solve() { // size of the matrix config.system_size = hamiltonian->rows(); // reset info fl...
35.988
103
0.613538
lise1020
caea15bc00f302c3fba77dce8991aca70cd9aa6b
5,870
cpp
C++
source/ReadAlignChunk.cpp
rob-p/STAR
7ed383e02aa9aa5115b8b56457fd6a2e3b85970a
[ "MIT" ]
1
2020-04-29T12:37:20.000Z
2020-04-29T12:37:20.000Z
source/ReadAlignChunk.cpp
alexey0308/STAR
eb9b28f869ba82cdfcc45c6f76c53513e25f1fcc
[ "MIT" ]
null
null
null
source/ReadAlignChunk.cpp
alexey0308/STAR
eb9b28f869ba82cdfcc45c6f76c53513e25f1fcc
[ "MIT" ]
null
null
null
#include "ReadAlignChunk.h" #include <pthread.h> #include "ErrorWarning.h" ReadAlignChunk::ReadAlignChunk(Parameters& Pin, Genome &genomeIn, Transcriptome *TrIn, int iChunk) : P(Pin), mapGen(genomeIn) {//initialize chunk iThread=iChunk; if ( P.quant.yes ) {//allocate transcriptome structures chunkTr=...
37.628205
145
0.631516
rob-p
caeb05462d48e834603262c010e3f8bb7a0b994e
1,147
hh
C++
include/io/http.hh
king1600/Valk
b376a0dcce522ae03ced7d882835e4dea98df86e
[ "MIT" ]
null
null
null
include/io/http.hh
king1600/Valk
b376a0dcce522ae03ced7d882835e4dea98df86e
[ "MIT" ]
null
null
null
include/io/http.hh
king1600/Valk
b376a0dcce522ae03ced7d882835e4dea98df86e
[ "MIT" ]
null
null
null
#pragma once #include "uri.hh" #include "json.hh" #include <deque> namespace io { class Response { public: int status; std::string body; std::string reason; std::map<std::string, std::string> headers; }; using json = nlohmann::json; using HeaderCallback = std::function<void(std::string&, s...
21.641509
80
0.66347
king1600
caec233a84cf0b4437b393fbde682711b9a26332
577
cpp
C++
examples/gl/volume_box_2d.cpp
gui-works/circe
c126a8f9521dca1eb23ac47c8f2e8081f2102f17
[ "MIT" ]
1
2021-09-17T18:12:47.000Z
2021-09-17T18:12:47.000Z
examples/gl/volume_box_2d.cpp
gui-works/circe
c126a8f9521dca1eb23ac47c8f2e8081f2102f17
[ "MIT" ]
null
null
null
examples/gl/volume_box_2d.cpp
gui-works/circe
c126a8f9521dca1eb23ac47c8f2e8081f2102f17
[ "MIT" ]
2
2021-09-17T18:13:02.000Z
2021-09-17T18:16:21.000Z
#include <circe/circe.h> int main() { // volume size_t res = 128; std::vector<float> volumeData(res * res); for (size_t y = 0; y < res; y++) for (size_t x = 0; x < res; x++) if ((hermes::vec2(x, y) - hermes::vec2(res / 2.f)).length() <= 20) volumeData[y * res + x] = 1.f; // app circe::gl...
26.227273
72
0.582322
gui-works
caecf52cca730f578b857a35482040bd0f21458e
3,210
cpp
C++
CustomGravityPlugin/Source/CustomGravityPlugin/Private/Actors/PlanetActor.cpp
Sabrave/PluginGravity
30e6a872d92d38b0a7e75c514a22445510ee77d9
[ "MIT" ]
4
2022-02-19T05:39:30.000Z
2022-03-01T02:01:27.000Z
CustomGravityPlugin/Source/CustomGravityPlugin/Private/Actors/PlanetActor.cpp
Sabrave/PluginGravity
30e6a872d92d38b0a7e75c514a22445510ee77d9
[ "MIT" ]
null
null
null
CustomGravityPlugin/Source/CustomGravityPlugin/Private/Actors/PlanetActor.cpp
Sabrave/PluginGravity
30e6a872d92d38b0a7e75c514a22445510ee77d9
[ "MIT" ]
null
null
null
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. // 2015 , Sabrave (mhousse.tutorials@gmail.com) . #include "CustomGravityPluginPrivatePCH.h" // Sets default values APlanetActor::APlanetActor(const FObjectInitializer& Objectinititializer) :Super(Objectinititializer) { // Set this actor to call Tick(...
24.318182
114
0.7919
Sabrave
caf0b003884d1c91a31c3ca356bdd71c29961eac
328
cpp
C++
lib/sai_redis_nat.cpp
vmittal-msft/sonic-sairedis
6baff35880005aee2854fdcde105c4322c28d04f
[ "Apache-2.0" ]
50
2016-03-23T08:04:44.000Z
2022-03-25T05:06:16.000Z
lib/sai_redis_nat.cpp
vmittal-msft/sonic-sairedis
6baff35880005aee2854fdcde105c4322c28d04f
[ "Apache-2.0" ]
589
2016-04-01T04:09:09.000Z
2022-03-31T00:38:10.000Z
lib/sai_redis_nat.cpp
vmittal-msft/sonic-sairedis
6baff35880005aee2854fdcde105c4322c28d04f
[ "Apache-2.0" ]
234
2016-03-28T20:59:21.000Z
2022-03-23T09:26:22.000Z
#include "sai_redis.h" REDIS_BULK_QUAD_ENTRY(NAT_ENTRY,nat_entry); REDIS_GENERIC_QUAD_ENTRY(NAT_ENTRY,nat_entry); REDIS_GENERIC_QUAD(NAT_ZONE_COUNTER,nat_zone_counter); const sai_nat_api_t redis_nat_api = { REDIS_GENERIC_QUAD_API(nat_entry) REDIS_BULK_QUAD_API(nat_entry) REDIS_GENERIC_QUAD_API(nat_zone_coun...
25.230769
54
0.841463
vmittal-msft
caf2b8d35740effa0f82b518892d7c3ba6db264a
512
cpp
C++
src/Sruba.cpp
kacpermejs/Dron
287dfb6c7f93799f166b6733d827f7631902b65d
[ "MIT" ]
null
null
null
src/Sruba.cpp
kacpermejs/Dron
287dfb6c7f93799f166b6733d827f7631902b65d
[ "MIT" ]
null
null
null
src/Sruba.cpp
kacpermejs/Dron
287dfb6c7f93799f166b6733d827f7631902b65d
[ "MIT" ]
null
null
null
#include "Sruba.hh" void Sruba::obroc_z_dronem(MacierzOb nowa_orientacja_drona) { m_MacOrientacji=nowa_orientacja_drona * m_orient_mocowania; m_MacOrientacji*= MacierzOb(kat_obrotu_sruby, 'z'); } void Sruba::przesun_z_dronem(Wektor3D nowa_sr_drona, MacierzOb nowa_orientacja_drona) { m_WekPol=nowa_sr_drona...
26.947368
85
0.771484
kacpermejs
caf802cc2af18a3c9ca7d1103b3c80e283a1e355
32
cpp
C++
aml-vm/src/cli/input_definition.cpp
gear-lang/gear-vm-cpp
89a36dcd6cacef27dd7c7fd72763e11b8eb948bd
[ "MIT" ]
null
null
null
aml-vm/src/cli/input_definition.cpp
gear-lang/gear-vm-cpp
89a36dcd6cacef27dd7c7fd72763e11b8eb948bd
[ "MIT" ]
1
2015-09-07T22:56:07.000Z
2015-09-12T23:41:13.000Z
aml-vm/src/cli/input_definition.cpp
gear-lang/gear-vm-cpp
89a36dcd6cacef27dd7c7fd72763e11b8eb948bd
[ "MIT" ]
null
null
null
#include "input_definition.hpp"
16
31
0.8125
gear-lang
1b001ed20e5af6471415e98202f9cb36499a9633
4,796
hpp
C++
stan/math/rev/scal.hpp
cqfd/math
68b8f7e2effb1a23abe8524ff429a212653b53a3
[ "BSD-3-Clause" ]
null
null
null
stan/math/rev/scal.hpp
cqfd/math
68b8f7e2effb1a23abe8524ff429a212653b53a3
[ "BSD-3-Clause" ]
null
null
null
stan/math/rev/scal.hpp
cqfd/math
68b8f7e2effb1a23abe8524ff429a212653b53a3
[ "BSD-3-Clause" ]
null
null
null
#ifndef STAN_MATH_REV_SCAL_HPP #define STAN_MATH_REV_SCAL_HPP #include <stan/math/rev/core.hpp> #include <stan/math/rev/scal/meta/ad_promotable.hpp> #include <stan/math/rev/scal/meta/is_var.hpp> #include <stan/math/rev/scal/meta/partials_type.hpp> #include <stan/math/rev/scal/meta/operands_and_partials.hpp> #include ...
44.407407
65
0.768974
cqfd
1b020221e89dfcde1c46183c6eac307820bc47b5
8,374
cpp
C++
Iron/behavior/blocking.cpp
biug/titan
aacb4e2dc4d55601abd45cb8321d8e5160851eec
[ "MIT" ]
null
null
null
Iron/behavior/blocking.cpp
biug/titan
aacb4e2dc4d55601abd45cb8321d8e5160851eec
[ "MIT" ]
null
null
null
Iron/behavior/blocking.cpp
biug/titan
aacb4e2dc4d55601abd45cb8321d8e5160851eec
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////////// // // This file is part of Iron's source files. // Iron is free software, licensed under the MIT/X11 License. // A copy of the license is provided with the library in the LICENSE file. // Copyright (c) 2016, 2017, Igor Dimitrijevic // /////////...
26.584127
158
0.590638
biug
db4ded60aac479315315ac15ccec986e385a724f
665
cpp
C++
GFG/DSA BASIC/3 - Recursion/count_total_digits_of_a_number.cpp
IamBikramPurkait/My-CP-Journey
bbb7fc533b8bcf79367e3f38f4a04de075b43d64
[ "MIT" ]
1
2021-04-24T03:39:50.000Z
2021-04-24T03:39:50.000Z
GFG/DSA BASIC/3 - Recursion/count_total_digits_of_a_number.cpp
IamBikramPurkait/My-CP-Journey
bbb7fc533b8bcf79367e3f38f4a04de075b43d64
[ "MIT" ]
null
null
null
GFG/DSA BASIC/3 - Recursion/count_total_digits_of_a_number.cpp
IamBikramPurkait/My-CP-Journey
bbb7fc533b8bcf79367e3f38f4a04de075b43d64
[ "MIT" ]
null
null
null
// { Driver Code Starts //Initial Template for C++ #include <iostream> using namespace std; // } Driver Code Ends //User function Template for C++ class Solution { public: //Complete this function int countDigits(int n) { //Your code here if (n < 10) return 1; return 1...
14.777778
43
0.530827
IamBikramPurkait
db4e847aa10e6382161b5fb0c3355c1bd8311471
712
cpp
C++
math/composition_of_formal_power_series/gen/random.cpp
tko919/library-checker-problems
007a3ef79d1a1824e68545ab326d1523d9c05262
[ "Apache-2.0" ]
290
2019-06-06T22:20:36.000Z
2022-03-27T12:45:04.000Z
math/composition_of_formal_power_series/gen/random.cpp
tko919/library-checker-problems
007a3ef79d1a1824e68545ab326d1523d9c05262
[ "Apache-2.0" ]
536
2019-06-06T18:25:36.000Z
2022-03-29T11:46:36.000Z
math/composition_of_formal_power_series/gen/random.cpp
tko919/library-checker-problems
007a3ef79d1a1824e68545ab326d1523d9c05262
[ "Apache-2.0" ]
82
2019-06-06T18:17:55.000Z
2022-03-21T07:40:31.000Z
#include <cstdio> #include "../params.h" #include "random.h" using namespace std; int main(int, char* argv[]) { long long seed = atoll(argv[1]); auto gen = Random(seed); int n = gen.uniform(1ll,N_MAX); vector<int> f(n),g(n); for (int i = 0; i < n; i++){ f[i] = gen.uniform(0ll,MOD-1); ...
20.941176
43
0.438202
tko919
db4ec9fb1638a7002df2e8d0529f9aba9348bb47
16,630
cxx
C++
src/openlcb/TractionCvSpace.cxx
kennethlong/openmrn
aff606758d1693e108124f760a0d6189ba226497
[ "BSD-2-Clause" ]
null
null
null
src/openlcb/TractionCvSpace.cxx
kennethlong/openmrn
aff606758d1693e108124f760a0d6189ba226497
[ "BSD-2-Clause" ]
null
null
null
src/openlcb/TractionCvSpace.cxx
kennethlong/openmrn
aff606758d1693e108124f760a0d6189ba226497
[ "BSD-2-Clause" ]
null
null
null
/** \copyright * Copyright (c) 2015, Balazs Racz * 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 lis...
31.61597
84
0.632892
kennethlong
db4f2b71dbeafba905992c8aae2708001d630a45
2,241
cpp
C++
src/Core/External/unsw/unsw/motion/generator/HeadGenerator.cpp
pedrohsreis/boulos
a5b68a32cad8cc1fb9f6fbf47fc487ef99d3166e
[ "MIT" ]
3
2018-09-18T18:05:05.000Z
2019-10-23T17:47:07.000Z
src/Core/External/unsw/unsw/motion/generator/HeadGenerator.cpp
pedrohsreis/boulos
a5b68a32cad8cc1fb9f6fbf47fc487ef99d3166e
[ "MIT" ]
1
2020-06-08T18:48:32.000Z
2020-06-19T21:41:16.000Z
src/Core/External/unsw/unsw/motion/generator/HeadGenerator.cpp
pedrohsreis/boulos
a5b68a32cad8cc1fb9f6fbf47fc487ef99d3166e
[ "MIT" ]
9
2018-09-11T17:19:16.000Z
2019-07-30T16:43:56.000Z
#include "motion/generator/HeadGenerator.hpp" #include "utils/basic_maths.hpp" #include "utils/clip.hpp" #include "utils/Logger.hpp" HeadGenerator::HeadGenerator() : yaw(0.0f), pitch(0.0f) { llog(INFO) << "HeadGenerator constructed" << std::endl; } HeadGenerator::~HeadGenerator() { llog(INFO) << "HeadGe...
32.014286
77
0.599732
pedrohsreis
db5642d089ca01261aa01b30c1e60878a263b4b8
3,375
cpp
C++
QSynthesis/Frontend/Controls/Buttons/IconButton.cpp
SineStriker/QSynthesis-Old
7b96f2d1292a4a57de6e1c50d4df2a57bfe2bc5d
[ "MIT" ]
3
2021-12-08T05:30:52.000Z
2021-12-18T10:46:49.000Z
QSynthesis/Frontend/Controls/Buttons/IconButton.cpp
QSynthesis/QSynthesis-Old
7b96f2d1292a4a57de6e1c50d4df2a57bfe2bc5d
[ "MIT" ]
null
null
null
QSynthesis/Frontend/Controls/Buttons/IconButton.cpp
QSynthesis/QSynthesis-Old
7b96f2d1292a4a57de6e1c50d4df2a57bfe2bc5d
[ "MIT" ]
null
null
null
#include "IconButton.h" #include <QStyle> IconButton::IconButton(QWidget *parent) : QLabel(parent), m_padding(QSize(0, 0)) { init(); } IconButton::IconButton(QSizeF padding,QWidget *parent) : QLabel(parent), m_padding(padding) { init(); } void IconButton::init() { setFocusPolicy(Qt::ClickFocus); ro...
20.962733
97
0.653926
SineStriker
db57fa458d1a83f40ea08965cdb2c8d538a349a5
4,475
cpp
C++
solver/modules/ui/slide/src/graphicsitemslideblock.cpp
taiheioki/procon2014_ut
8199ff0a54220f1a0c51acece377f65b64db4863
[ "MIT" ]
2
2021-04-14T06:41:18.000Z
2021-04-29T01:56:08.000Z
solver/modules/ui/slide/src/graphicsitemslideblock.cpp
taiheioki/procon2014_ut
8199ff0a54220f1a0c51acece377f65b64db4863
[ "MIT" ]
null
null
null
solver/modules/ui/slide/src/graphicsitemslideblock.cpp
taiheioki/procon2014_ut
8199ff0a54220f1a0c51acece377f65b64db4863
[ "MIT" ]
null
null
null
#include <QColor> #include <QGraphicsItem> #include <QRectF> #include <QPen> #include <QPainter> #include <QString> #include <QStyleOptionGraphicsItem> #include <QWidget> #include <QDebug> #include <QEvent> #include <boost/assert.hpp> #include <boost/optional.hpp> #include "graphicsitemslideblock.hpp" #include "graph...
28.685897
110
0.615642
taiheioki
db582e3692ef25af3055623ca68f71afc9371f79
2,370
cpp
C++
src/text_drawer.cpp
THE-FYP/MoonAdditions
659eb22d2217fd5870e8e1ead797a2175d314337
[ "MIT" ]
10
2017-08-11T08:51:05.000Z
2022-03-22T10:21:38.000Z
src/text_drawer.cpp
THE-FYP/MoonAdditions
659eb22d2217fd5870e8e1ead797a2175d314337
[ "MIT" ]
1
2020-06-14T16:08:50.000Z
2020-06-14T16:08:50.000Z
src/text_drawer.cpp
THE-FYP/MoonAdditions
659eb22d2217fd5870e8e1ead797a2175d314337
[ "MIT" ]
7
2017-09-22T17:20:02.000Z
2020-07-26T17:47:10.000Z
// MIT License // Copyright (c) 2012 DK22Pac // Copyright (c) 2017 FYP // 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 ...
32.916667
97
0.755274
THE-FYP
db63c606e195334062f3f018359a1ba17272a9bb
12,887
cc
C++
cartographer/mapping/internal/2d/overlapping_submaps_trimmer_2d_test.cc
Daejiv/cartographer
fe59278286e9d325861131b2e6f925f83892cc81
[ "Apache-2.0" ]
35
2018-08-02T02:38:20.000Z
2022-03-21T07:48:06.000Z
cartographer/cartographer/mapping/internal/2d/overlapping_submaps_trimmer_2d_test.cc
whydaydayup/cartographer_migrate_to_ros2
db5a76357a2c9412bde32bd4382757565ce5665c
[ "Apache-2.0" ]
null
null
null
cartographer/cartographer/mapping/internal/2d/overlapping_submaps_trimmer_2d_test.cc
whydaydayup/cartographer_migrate_to_ros2
db5a76357a2c9412bde32bd4382757565ce5665c
[ "Apache-2.0" ]
37
2018-07-26T00:07:40.000Z
2021-12-31T07:57:50.000Z
/* * Copyright 2018 The Cartographer Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
46.025
80
0.624816
Daejiv
db64700327590d9f367da044829ccc23bb3f125e
8,139
hpp
C++
include/Math/Easing.hpp
ShenMian/Math
f6bef259e255eb26191e757360dd79eceaee48a2
[ "Apache-2.0" ]
2
2021-12-10T05:44:55.000Z
2022-03-28T00:18:48.000Z
include/Math/Easing.hpp
ShenMian/Math
f6bef259e255eb26191e757360dd79eceaee48a2
[ "Apache-2.0" ]
1
2021-10-08T00:59:12.000Z
2021-10-08T00:59:12.000Z
include/Math/Easing.hpp
ShenMian/Math
f6bef259e255eb26191e757360dd79eceaee48a2
[ "Apache-2.0" ]
1
2021-10-08T00:57:01.000Z
2021-10-08T00:57:01.000Z
// Copyright 2021 SMS // License(Apache-2.0) #pragma once #include <type_traits> #include <numbers> class Easing { public: /** * @brief 简单线性补间. * * @param t 当前时间. * @param b 起始值. * @param c 总变化量. * @param d 持续时间. */ static float linearTween(float t, float b, float c, float d) { return c * t / d +...
18.455782
98
0.485195
ShenMian
db68db4c5a46cfc9fd70efe40ac8911bc6a75550
942
cpp
C++
src/module/config/test/SocketServerConfigTest.cpp
heaven-chp/base-server-cpp
87213259c61c93a791d087f4b284f79f0f05574c
[ "Apache-2.0" ]
null
null
null
src/module/config/test/SocketServerConfigTest.cpp
heaven-chp/base-server-cpp
87213259c61c93a791d087f4b284f79f0f05574c
[ "Apache-2.0" ]
1
2021-12-19T13:36:19.000Z
2021-12-19T14:07:14.000Z
src/module/config/test/SocketServerConfigTest.cpp
heaven-chp/base-server-cpp
87213259c61c93a791d087f4b284f79f0f05574c
[ "Apache-2.0" ]
null
null
null
#include "test.h" #include "../SocketServerConfig.h" #include "gtest/gtest.h" static SocketServerConfig get_config() { SocketServerConfig socketServerConfig; EXPECT_TRUE(socketServerConfig.Initialize(GstrConfigPath)); return socketServerConfig; } TEST(SocketServerConfigTest, Initialize) { SocketServerConfig s...
19.625
60
0.792994
heaven-chp
db6a50498a33b698611a023703366ba232fdde3a
2,102
cpp
C++
src/misc.cpp
Hendiadyoin1/libcxxint
5cb6fd421ed93f707854c203f9f949f73cdea86f
[ "BSD-2-Clause" ]
null
null
null
src/misc.cpp
Hendiadyoin1/libcxxint
5cb6fd421ed93f707854c203f9f949f73cdea86f
[ "BSD-2-Clause" ]
null
null
null
src/misc.cpp
Hendiadyoin1/libcxxint
5cb6fd421ed93f707854c203f9f949f73cdea86f
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (C) 2013 Qiming Sun <osirpt.sun@gmail.com> * * basic functions */ #include <math.h> #include <complex> using namespace std::literals; #include "misc.hpp" #include "cint_const.hpp" void CINTdcmplx_re(const int n, std::complex<double> *z, const double *re) { int i; for (i = 0; i < n;...
22.847826
76
0.46099
Hendiadyoin1
db6db71f618bca70c848460c81eca107e23bc90d
1,281
cpp
C++
Application/src/Application/Game/GameSave.cpp
Haltz01/OSRobotsGame
f54b100b4e44dfe274e0881175ef42903bd09719
[ "MIT" ]
2
2020-12-09T18:26:40.000Z
2021-02-06T04:41:41.000Z
Application/src/Application/Game/GameSave.cpp
Haltz01/OSRobotsGame
f54b100b4e44dfe274e0881175ef42903bd09719
[ "MIT" ]
null
null
null
Application/src/Application/Game/GameSave.cpp
Haltz01/OSRobotsGame
f54b100b4e44dfe274e0881175ef42903bd09719
[ "MIT" ]
3
2020-12-12T14:15:17.000Z
2021-02-07T11:32:58.000Z
#include "Application/Game/GameSave.hpp" #include "Application/Game/Ingame/VillageStats.hpp" #include "Application/Game/Ingame/RobotsManagement.hpp" #include "Application/Game/GameConsts.hpp" #include "mypch.hpp" namespace Application { //TODO: fix ml //PRIVATE: GameSave::GameSave(): m_GameConsts(new Ga...
23.290909
73
0.662763
Haltz01
db70f40350bb8624a7477c40fbd8593e9052611d
4,851
cpp
C++
src/World/VisualOnlyStuff/Sun.cpp
LazyFalcon/TechDemo-v4
7b865e20beb7f04fde6e7df66be30f555e0aef5a
[ "MIT" ]
null
null
null
src/World/VisualOnlyStuff/Sun.cpp
LazyFalcon/TechDemo-v4
7b865e20beb7f04fde6e7df66be30f555e0aef5a
[ "MIT" ]
null
null
null
src/World/VisualOnlyStuff/Sun.cpp
LazyFalcon/TechDemo-v4
7b865e20beb7f04fde6e7df66be30f555e0aef5a
[ "MIT" ]
null
null
null
#include "core.hpp" #include "Sun.hpp" #include "Atmosphere.hpp" #include "Colors.hpp" #include "PMK.hpp" #include "SunPos.hpp" #include "Yaml.hpp" Sun::Sun(const Yaml& sett, GeoTimePosition& geoTimePosition) : m_geoTimePosition(geoTimePosition) { size = sett["Size"].number(); power = sett["Power"].number(); ...
39.762295
120
0.627706
LazyFalcon
db716822abfc76205b4b307ba1edec6258947e5a
1,288
hpp
C++
src/mge/win32/window.hpp
mge-engine/mge
e7a6253f99dd640a655d9a80b94118d35c7d8139
[ "MIT" ]
null
null
null
src/mge/win32/window.hpp
mge-engine/mge
e7a6253f99dd640a655d9a80b94118d35c7d8139
[ "MIT" ]
91
2019-03-09T11:31:29.000Z
2022-02-27T13:06:06.000Z
src/mge/win32/window.hpp
mge-engine/mge
e7a6253f99dd640a655d9a80b94118d35c7d8139
[ "MIT" ]
null
null
null
// mge - Modern Game Engine // Copyright (c) 2021 by Alexander Schroeder // All rights reserved. #pragma once #include "mge/application/application.hpp" #include "mge/graphics/window.hpp" #include "mge/input/input_state.hpp" #include <windows.h> namespace mge { namespace win32 { class window : public mge...
29.953488
77
0.524845
mge-engine
db736369d351d500231c0d378ff4c2c624a85079
8,958
cpp
C++
Pinocchio/attachment.cpp
ChiahongHong/Pinocchio
f2ba81f52cfb3372a11d5bae1bf26f86042b99a0
[ "MIT" ]
102
2015-02-02T12:30:42.000Z
2020-06-05T01:00:33.000Z
Pinocchio/attachment.cpp
ChiahongHong/Pinocchio
f2ba81f52cfb3372a11d5bae1bf26f86042b99a0
[ "MIT" ]
1
2017-08-03T12:14:06.000Z
2017-08-03T18:08:05.000Z
Pinocchio/attachment.cpp
ChiahongHong/Pinocchio
f2ba81f52cfb3372a11d5bae1bf26f86042b99a0
[ "MIT" ]
39
2015-06-13T20:17:57.000Z
2020-06-05T21:41:45.000Z
/* This file is part of the Pinocchio automatic rigging library. Copyright (C) 2007 Ilya Baran (ibaran@mit.edu) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either vers...
34.586873
128
0.518196
ChiahongHong
db7410f2bb0a38b2803f134818df8603721970d6
4,391
cpp
C++
CGDraw/Source/Core/CGDrawProgram.cpp
cgeffect/CGDraw
827631d8f7b19b3d48b7308fb743cf93702f36ac
[ "MIT" ]
2
2021-09-10T03:35:41.000Z
2022-01-05T09:55:53.000Z
CGDraw/Source/Core/CGDrawProgram.cpp
cgeffect/CGDraw
827631d8f7b19b3d48b7308fb743cf93702f36ac
[ "MIT" ]
null
null
null
CGDraw/Source/Core/CGDrawProgram.cpp
cgeffect/CGDraw
827631d8f7b19b3d48b7308fb743cf93702f36ac
[ "MIT" ]
null
null
null
// // CGDrawProgram.cpp // CGDraw // // Created by Jason on 2021/6/11. // #include "CGDrawProgram.h" #include <stdlib.h> #include "CGShaderUtil.h" using namespace CGDraw; bool CGDrawProgram::setWithVertexShader(unsigned char *vShaderString, unsigned char *fShaderString) { program = glCreateProgram(); ...
25.982249
101
0.631291
cgeffect
db7ffcc820e86d1ebc457419348ebd57cbb5e908
7,978
cpp
C++
Datastrutures-Algorithms-Python/src/General/TowersOfHanoi.cpp
rathoresuryansh196/Datastrutures-Algorithms
6646778db0028c7ca25290b14fb4697559f1a774
[ "CC0-1.0" ]
null
null
null
Datastrutures-Algorithms-Python/src/General/TowersOfHanoi.cpp
rathoresuryansh196/Datastrutures-Algorithms
6646778db0028c7ca25290b14fb4697559f1a774
[ "CC0-1.0" ]
null
null
null
Datastrutures-Algorithms-Python/src/General/TowersOfHanoi.cpp
rathoresuryansh196/Datastrutures-Algorithms
6646778db0028c7ca25290b14fb4697559f1a774
[ "CC0-1.0" ]
1
2019-10-06T16:17:54.000Z
2019-10-06T16:17:54.000Z
using namespace std; #include<iostream> #include<conio.h> void push(char); void push1(char); void push2(char); void pop(void); void pop1(void); void pop2(void); char x[20],y[20],z[20],o; int i,j,n,top,top1,top2; int main() { cout<<"enter the number of disc in tower1\n"; cin>>n; cout<<"enter the disc\n...
61.369231
118
0.091878
rathoresuryansh196
db80ff63724f31843eab8772b665e9e297de380b
127,214
cc
C++
src/game/TileEngine/RenderWorld.cc
flex-lab/ja2-stracciatella
61f8f0445112c5d5ec80d7b3502ac24505f3d20c
[ "BSD-Source-Code" ]
null
null
null
src/game/TileEngine/RenderWorld.cc
flex-lab/ja2-stracciatella
61f8f0445112c5d5ec80d7b3502ac24505f3d20c
[ "BSD-Source-Code" ]
null
null
null
src/game/TileEngine/RenderWorld.cc
flex-lab/ja2-stracciatella
61f8f0445112c5d5ec80d7b3502ac24505f3d20c
[ "BSD-Source-Code" ]
null
null
null
#include "Animation_Control.h" #include "Animation_Data.h" #include "Debug.h" #include "English.h" #include "Font.h" #include "Font_Control.h" #include "GameSettings.h" #include "HImage.h" #include "Handle_Items.h" #include "Handle_UI.h" #include "Interactive_Tiles.h" #include "Interface.h" #include "Interface_Control....
29.15746
271
0.662427
flex-lab
db8600380ab1de479ae5a9a389db998179c1b129
33,343
cc
C++
Cassie_Example/opt_two_step/gen/anim/Link_left_tarsus_to_toe_joint_left_bar.cc
prem-chand/Cassie_CFROST
da4bd51442f86e852cbb630cc91c9a380a10b66d
[ "BSD-3-Clause" ]
null
null
null
Cassie_Example/opt_two_step/gen/anim/Link_left_tarsus_to_toe_joint_left_bar.cc
prem-chand/Cassie_CFROST
da4bd51442f86e852cbb630cc91c9a380a10b66d
[ "BSD-3-Clause" ]
null
null
null
Cassie_Example/opt_two_step/gen/anim/Link_left_tarsus_to_toe_joint_left_bar.cc
prem-chand/Cassie_CFROST
da4bd51442f86e852cbb630cc91c9a380a10b66d
[ "BSD-3-Clause" ]
null
null
null
/* * Automatically Generated from Mathematica. * Sat 13 Nov 2021 15:03:14 GMT-05:00 */ #ifdef MATLAB_MEX_FILE #include <stdexcept> #include <cmath> #include<math.h> /** * Copied from Wolfram Mathematica C Definitions file mdefs.hpp * Changed marcos to inline functions (Eric Cousineau) */ inline double Power(doub...
40.318017
163
0.647422
prem-chand
db91043f4d9d079cdd4854ac94593bf602eb6d2d
1,883
cpp
C++
UVa/UVA - 280/Presentation error.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
UVa/UVA - 280/Presentation error.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
UVa/UVA - 280/Presentation error.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: 2018-05-03 15:52:14 * solution_verdict: Presentation error language: C++ * run...
19.614583
111
0.312799
kzvd4729
db92e686ee60507eaf9019ae2db43b33ac0d46c2
5,828
cpp
C++
dpd_test/src/lms7002_wxgui/lms7002_pnlTRF_view.cpp
susanalainez/ADPD_LimeSDR-QPCIe_USB3
1701f81d30e57dc81f3b017f1031139783dd67f7
[ "Apache-2.0" ]
null
null
null
dpd_test/src/lms7002_wxgui/lms7002_pnlTRF_view.cpp
susanalainez/ADPD_LimeSDR-QPCIe_USB3
1701f81d30e57dc81f3b017f1031139783dd67f7
[ "Apache-2.0" ]
null
null
null
dpd_test/src/lms7002_wxgui/lms7002_pnlTRF_view.cpp
susanalainez/ADPD_LimeSDR-QPCIe_USB3
1701f81d30e57dc81f3b017f1031139783dd67f7
[ "Apache-2.0" ]
1
2020-08-03T08:25:06.000Z
2020-08-03T08:25:06.000Z
#include "lms7002_pnlTRF_view.h" #include "LMS7002M.h" #include <map> #include <vector> #include "lms7002_gui_utilities.h" #include "wx/msgdlg.h" #include "lms7suiteEvents.h" using namespace lime; using namespace LMS7002_WXGUI; static indexValueMap en_amphf_pdet_trfIndexValuePairs; lms7002_pnlTRF_view::lms7002_pnlTRF_...
34.690476
127
0.71431
susanalainez
db985637c82724022cf4a20fdfec018c86c39f24
19,373
cpp
C++
src/layers/MsnhBatchNormLayer.cpp
shao15xiang/Msnhnet
6ec34992df25b42dc790fbe56fce80da4b468d70
[ "MIT" ]
1
2020-10-26T12:59:37.000Z
2020-10-26T12:59:37.000Z
src/layers/MsnhBatchNormLayer.cpp
shao15xiang/Msnhnet
6ec34992df25b42dc790fbe56fce80da4b468d70
[ "MIT" ]
null
null
null
src/layers/MsnhBatchNormLayer.cpp
shao15xiang/Msnhnet
6ec34992df25b42dc790fbe56fce80da4b468d70
[ "MIT" ]
null
null
null
#include "Msnhnet/layers/MsnhBatchNormLayer.h" namespace Msnhnet { BatchNormLayer::BatchNormLayer(const int &batch, const int &width, const int &height, const int &channel, const ActivationType &activation, const float &eps, const std::vector<float> &actParams) { this->_type = LayerType::BATCHNORM; ...
30.556782
195
0.556754
shao15xiang
db9dfdc3ed02db98abf6e3087f517e77584ec4e7
799
cpp
C++
test/StringTest.cpp
Nelarius/Playground
49446fa92157ad61f48696f28f8baa04aa8bf8fe
[ "WTFPL" ]
3
2015-08-24T10:47:51.000Z
2015-08-25T15:22:00.000Z
test/StringTest.cpp
Nelarius/Playground
49446fa92157ad61f48696f28f8baa04aa8bf8fe
[ "WTFPL" ]
null
null
null
test/StringTest.cpp
Nelarius/Playground
49446fa92157ad61f48696f28f8baa04aa8bf8fe
[ "WTFPL" ]
null
null
null
#include "utils/StringId.h" #include <UnitTest++/UnitTest++.h> namespace pg { SUITE(StringTest) { struct StringDB { StringId::Database database{}; StringDB() { StringId::setDatabase(&database); } }; TEST_FIXTURE(StringDB, SameStringValuesAreEqual) { ...
22.828571
63
0.560701
Nelarius
db9e52f239c7bbbfbdbbda3f557183805645b83a
12,834
cpp
C++
toolkits/compute_single_GPU.cpp
ysj1173886760/NeutronStarLite
e0af4e72c293a82298d0a8e1c583c251ee3023d4
[ "Apache-2.0" ]
null
null
null
toolkits/compute_single_GPU.cpp
ysj1173886760/NeutronStarLite
e0af4e72c293a82298d0a8e1c583c251ee3023d4
[ "Apache-2.0" ]
null
null
null
toolkits/compute_single_GPU.cpp
ysj1173886760/NeutronStarLite
e0af4e72c293a82298d0a8e1c583c251ee3023d4
[ "Apache-2.0" ]
null
null
null
#include "core/gcn.hpp" void compute_single_GPU(Graph<Empty> *graph, int iterations) { ValueType learn_rate = 0.01; VertexSubset *active = graph->alloc_vertex_subset(); active->fill(); Embeddings<ValueType, long> *embedding = new Embeddings<ValueType, long>(); embedding->init(graph); embedding->readlabel1(g...
43.505085
144
0.592255
ysj1173886760
dba69b0cbcecf0737242fa75d20a653cec21f1c6
4,077
cpp
C++
src/Board.cpp
pulpobot/conways-game-of-life
17c87d51cea72d58e3dede14e82c0e34441feb04
[ "MIT" ]
null
null
null
src/Board.cpp
pulpobot/conways-game-of-life
17c87d51cea72d58e3dede14e82c0e34441feb04
[ "MIT" ]
null
null
null
src/Board.cpp
pulpobot/conways-game-of-life
17c87d51cea72d58e3dede14e82c0e34441feb04
[ "MIT" ]
null
null
null
// // Created by Santiago Alvarez Vargas on 2018-12-18. // #include "Board.h" #include "common/utils/Logger.h" #include "common/event/EventSystem.h" #include <math.h> #include "events/ConwaysEvents.h" #include <random> Board::Board(unsigned int columns, unsigned int rows) : columns(columns), rows(rows) { //Fill t...
28.711268
123
0.558744
pulpobot
dbaaa00e683172cb403f58e9ac57f40873eff61c
434
hpp
C++
CodeGeneration/codegen/mex/yolov2_detect/MWSigmoidLayer.hpp
matlab-deep-learning/Object-Detection-Using-YOLO-v2-Deep-Learning
4db074adf074e6e7471e430799355509e72fd033
[ "BSD-2-Clause" ]
38
2020-03-17T21:00:55.000Z
2021-12-06T02:02:25.000Z
CodeGeneration/codegen/mex/yolov2_detect/MWSigmoidLayer.hpp
matlab-deep-learning/Object-Detection-Using-YOLO-v2-Deep-Learning
4db074adf074e6e7471e430799355509e72fd033
[ "BSD-2-Clause" ]
1
2020-05-01T02:21:40.000Z
2020-05-13T18:55:40.000Z
CodeGeneration/codegen/mex/yolov2_detect/MWSigmoidLayer.hpp
matlab-deep-learning/Object-Detection-Using-YOLO-v2-Deep-Learning
4db074adf074e6e7471e430799355509e72fd033
[ "BSD-2-Clause" ]
14
2020-04-16T16:08:41.000Z
2021-12-08T14:46:37.000Z
/* Copyright 2018 The MathWorks, Inc. */ // Target Agnostic header for Keras' Sigmoid Layer #include "cnn_api.hpp" #ifndef SIGMOID_LAYER_HPP #define SIGMOID_LAYER_HPP /** * Codegen class for Keras Sigmoid Layer **/ class MWSigmoidLayer : public MWCNNLayer { public: MWSigmoidLayer(); ~MWSigmoidLayer(); ...
19.727273
66
0.71659
matlab-deep-learning
dbae0e0dff877d8b16fb9719a8e542b260dd0ce9
1,846
hpp
C++
game/building/CObject.hpp
miguelmig/LibM2
dad7591a885a421842851905dc2bc8bbd648ca20
[ "BSD-3-Clause" ]
null
null
null
game/building/CObject.hpp
miguelmig/LibM2
dad7591a885a421842851905dc2bc8bbd648ca20
[ "BSD-3-Clause" ]
null
null
null
game/building/CObject.hpp
miguelmig/LibM2
dad7591a885a421842851905dc2bc8bbd648ca20
[ "BSD-3-Clause" ]
1
2021-11-14T10:51:30.000Z
2021-11-14T10:51:30.000Z
/* This file belongs to the LibM2 library (http://github.com/imermcmaps/LibM2) * Copyright (c) 2013, iMer (www.imer.cc) * All rights reserved. * Licensed under the BSD 3-clause license (http://opensource.org/licenses/BSD-3-Clause) */ #ifndef __LIBM2_GAME_BUILDING_COBJECT_HPP #define __LIBM2_GAME_BUILDING_COBJECT_HP...
30.262295
88
0.568256
miguelmig
dbae29073b83c94935b1f4c3c03c7e7ae9c844b1
310
cpp
C++
src/libLMTKimage/imageshader.cpp
marinarasub/lmtk
f3c8ee10c7e41f0eed8387b3af91199b1ee8187f
[ "MIT" ]
null
null
null
src/libLMTKimage/imageshader.cpp
marinarasub/lmtk
f3c8ee10c7e41f0eed8387b3af91199b1ee8187f
[ "MIT" ]
null
null
null
src/libLMTKimage/imageshader.cpp
marinarasub/lmtk
f3c8ee10c7e41f0eed8387b3af91199b1ee8187f
[ "MIT" ]
null
null
null
#include "imageshader.h" namespace image { void ImageShader::operator()(Image& img) { for (int y = 0; y < img.height(); y++) { for (int x = 0; x < img.width(); x++) { img.setRGBAPixel((*this)(img, x, y), x, y); } } } }
18.235294
59
0.409677
marinarasub
dbaee5195563be145aa09a575fd47a08637de6ee
2,596
cpp
C++
thrift/compiler/test/fixtures/mcpp2-compare/gen-cpp2/enums_data.cpp
liorisraeli87/fbthrift
8ab6d9c56adc274bf66dbb3f45086b6f3be757e0
[ "Apache-2.0" ]
null
null
null
thrift/compiler/test/fixtures/mcpp2-compare/gen-cpp2/enums_data.cpp
liorisraeli87/fbthrift
8ab6d9c56adc274bf66dbb3f45086b6f3be757e0
[ "Apache-2.0" ]
null
null
null
thrift/compiler/test/fixtures/mcpp2-compare/gen-cpp2/enums_data.cpp
liorisraeli87/fbthrift
8ab6d9c56adc274bf66dbb3f45086b6f3be757e0
[ "Apache-2.0" ]
null
null
null
/** * Autogenerated by Thrift for src/enums.thrift * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ #include "thrift/compiler/test/fixtures/mcpp2-compare/gen-cpp2/enums_data.h" #include <thrift/lib/cpp2/gen/module_data_cpp.h> namespace apache { namespace thrift { constexpr...
54.083333
198
0.763867
liorisraeli87
dbb4336a1852191dbebfd057002c870d4374f544
878
cpp
C++
android-28/android/database/MatrixCursor_RowBuilder.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-28/android/database/MatrixCursor_RowBuilder.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-30/android/database/MatrixCursor_RowBuilder.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "./MatrixCursor.hpp" #include "../../JObject.hpp" #include "../../JString.hpp" #include "./MatrixCursor_RowBuilder.hpp" namespace android::database { // Fields // QJniObject forward MatrixCursor_RowBuilder::MatrixCursor_RowBuilder(QJniObject obj) : JObject(obj) {} // Constructors // Methods androi...
25.085714
106
0.730068
YJBeetle
dbb4fc7c4c2232752837d7b883847ed8d096d49c
7,264
cpp
C++
src/orders/orders.cpp
Phantim97/cbpro-cpp
44428f1f9aea1c84307a9bfd3d86e95ae36cc332
[ "Apache-2.0" ]
null
null
null
src/orders/orders.cpp
Phantim97/cbpro-cpp
44428f1f9aea1c84307a9bfd3d86e95ae36cc332
[ "Apache-2.0" ]
null
null
null
src/orders/orders.cpp
Phantim97/cbpro-cpp
44428f1f9aea1c84307a9bfd3d86e95ae36cc332
[ "Apache-2.0" ]
null
null
null
// // Created by Bradley Bottomlee on 2/24/21. // #include <cbpro++/orders/orders.h> #include <iostream> namespace orders { bool cancelOrder(Auth &auth, const std::string &id, const std::string &productId, bool isClientOid) { const auto &httpClient = auth.getHttpClientPtr(); std::string target = ...
33.62963
113
0.54598
Phantim97
dbbaaadf151ea65d82724f32d3fdc87d9b358704
1,044
cpp
C++
Computer-Graphics/Fase-1/engine/Models/model-info.cpp
paulob122/CG_19-20
6962e83ed4867a79b9b07c83da9ab609cd73c909
[ "MIT" ]
null
null
null
Computer-Graphics/Fase-1/engine/Models/model-info.cpp
paulob122/CG_19-20
6962e83ed4867a79b9b07c83da9ab609cd73c909
[ "MIT" ]
null
null
null
Computer-Graphics/Fase-1/engine/Models/model-info.cpp
paulob122/CG_19-20
6962e83ed4867a79b9b07c83da9ab609cd73c909
[ "MIT" ]
null
null
null
#include "model-info.h" POINT_3D::POINT_3D(float x, float y, float z) : x(x), y(y), z(z) {} float POINT_3D::getX() const { return x; } void POINT_3D::setX(float x) { POINT_3D::x = x; } float POINT_3D::getY() const { return y; } void POINT_3D::setY(float y) { POINT_3D::y = y; } float POINT_3D::get...
17.694915
67
0.675287
paulob122
dbbbc1bb81b71293627cec5231ee07f05c8a126c
8,188
cpp
C++
Joystick.cpp
rbmj/wpilib
f609b8b10d3991024cbd4d423765b9c7b67fa7ed
[ "BSD-3-Clause" ]
17
2015-01-04T15:00:38.000Z
2020-03-05T17:11:00.000Z
Joystick.cpp
rbmj/wpilib
f609b8b10d3991024cbd4d423765b9c7b67fa7ed
[ "BSD-3-Clause" ]
null
null
null
Joystick.cpp
rbmj/wpilib
f609b8b10d3991024cbd4d423765b9c7b67fa7ed
[ "BSD-3-Clause" ]
7
2015-12-18T18:16:27.000Z
2019-12-02T09:52:53.000Z
/*----------------------------------------------------------------------------*/ /* Copyright (c) FIRST 2008. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */ /*----------...
27.023102
119
0.683195
rbmj
dbbc9e03c127677ca7eaddfcfc1314a1064d3145
8,415
cpp
C++
src/cppwasm/ConstantQOrchestrator.cpp
gdicristofaro/ConstantQJs
8625f7668dc91f98bf2463c57893b65ad608d373
[ "Apache-2.0" ]
null
null
null
src/cppwasm/ConstantQOrchestrator.cpp
gdicristofaro/ConstantQJs
8625f7668dc91f98bf2463c57893b65ad608d373
[ "Apache-2.0" ]
null
null
null
src/cppwasm/ConstantQOrchestrator.cpp
gdicristofaro/ConstantQJs
8625f7668dc91f98bf2463c57893b65ad608d373
[ "Apache-2.0" ]
null
null
null
#include "ConstantQSession.hpp" #include <emscripten/bind.h> #include <emscripten.h> #include <string> #include <cmath> #include "WorkerArgs.hpp" using namespace std; extern "C" { typedef void (*StatusUpdate)(int,int); typedef void (*DataUpdate)(int,int,double); const int STATUS_START_SPARSE_KERNEL = 0; ...
36.746725
100
0.591325
gdicristofaro
dbc07865f0b7a96b941d21131b689a7be32c445e
11,086
cc
C++
tensorflow/core/nccl/nccl_manager_test.cc
wenming2014/tensorflow
a102a6a71844e194f3946f6318768c5367f1f16b
[ "Apache-2.0" ]
52
2018-11-12T06:39:35.000Z
2022-03-08T05:31:27.000Z
tensorflow/core/nccl/nccl_manager_test.cc
wenming2014/tensorflow
a102a6a71844e194f3946f6318768c5367f1f16b
[ "Apache-2.0" ]
2
2018-12-04T08:35:40.000Z
2020-10-22T16:17:39.000Z
tensorflow/core/nccl/nccl_manager_test.cc
wenming2014/tensorflow
a102a6a71844e194f3946f6318768c5367f1f16b
[ "Apache-2.0" ]
17
2019-03-11T01:17:16.000Z
2022-02-21T00:44:47.000Z
/* Copyright 2016 The TensorFlow Authors. 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 law or a...
35.993506
80
0.641169
wenming2014
dbc36cf864f29bb7f2b8ca02bf21e053e9684b97
2,999
hpp
C++
src/batched/KokkosBatched_QR_TeamVector_Internal.hpp
dialecticDolt/kokkos-kernels
00189c0be23a70979aeaa162f0abd4c0e4d1c479
[ "BSD-3-Clause" ]
156
2017-03-01T23:38:10.000Z
2022-03-27T21:28:03.000Z
src/batched/KokkosBatched_QR_TeamVector_Internal.hpp
dialecticDolt/kokkos-kernels
00189c0be23a70979aeaa162f0abd4c0e4d1c479
[ "BSD-3-Clause" ]
1,257
2017-03-03T15:25:16.000Z
2022-03-31T19:46:09.000Z
src/batched/KokkosBatched_QR_TeamVector_Internal.hpp
dialecticDolt/kokkos-kernels
00189c0be23a70979aeaa162f0abd4c0e4d1c479
[ "BSD-3-Clause" ]
76
2017-03-01T17:03:59.000Z
2022-03-03T21:04:41.000Z
#ifndef __KOKKOSBATCHED_QR_TEAMVECTOR_INTERNAL_HPP__ #define __KOKKOSBATCHED_QR_TEAMVECTOR_INTERNAL_HPP__ /// \author Kyungjoo Kim (kyukim@sandia.gov) #include "KokkosBatched_Util.hpp" #include "KokkosBatched_Householder_TeamVector_Internal.hpp" #include "KokkosBatched_ApplyHouseholder_TeamVector_Internal.hpp" name...
34.872093
80
0.501834
dialecticDolt
3a7e75edd3a5193db4878cf8eec70d561834e5ab
2,680
cpp
C++
server/homeserver/plugin/PluginManager.IO.cpp
williamkoehler/home-server
ce99af73ea2e53fea3939fe0c4442433e65ac670
[ "MIT" ]
1
2021-07-05T21:11:59.000Z
2021-07-05T21:11:59.000Z
server/homeserver/plugin/PluginManager.IO.cpp
williamkoehler/home-server
ce99af73ea2e53fea3939fe0c4442433e65ac670
[ "MIT" ]
null
null
null
server/homeserver/plugin/PluginManager.IO.cpp
williamkoehler/home-server
ce99af73ea2e53fea3939fe0c4442433e65ac670
[ "MIT" ]
null
null
null
#include "PluginManager.hpp" namespace server { void PluginManager::Load() { FILE *file = fopen("./plugins/plugins-info.json", "r"); if (file == nullptr) { LOG_WARNING("Open/find 'plugins/plugins-info.json'"); SaveDefault(); throw std::runtime_error("...
35.733333
129
0.615299
williamkoehler
3a829d8d3c32fb4f5f162f90a256a87cb3702bdd
2,826
cpp
C++
Projects/Skylicht/Engine/Source/RenderMesh/CJointAnimationSystem.cpp
skylicht-engine/skylicht
5691674bfb82fc5f80c0106ab64d68dfba6fbb40
[ "MIT" ]
null
null
null
Projects/Skylicht/Engine/Source/RenderMesh/CJointAnimationSystem.cpp
skylicht-engine/skylicht
5691674bfb82fc5f80c0106ab64d68dfba6fbb40
[ "MIT" ]
null
null
null
Projects/Skylicht/Engine/Source/RenderMesh/CJointAnimationSystem.cpp
skylicht-engine/skylicht
5691674bfb82fc5f80c0106ab64d68dfba6fbb40
[ "MIT" ]
null
null
null
/* !@ MIT License Copyright (c) 2019 Skylicht Technology CO., LTD 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...
34.463415
181
0.775301
skylicht-engine
3a86c11ba864143076c92fcce79406d5a55ed79b
492
cpp
C++
A_problems/twins.cpp
tarek99samy/code_forces_problems
a2e6fd1ad762843a4fa1e4a2561299a21ec2bb2e
[ "MIT" ]
null
null
null
A_problems/twins.cpp
tarek99samy/code_forces_problems
a2e6fd1ad762843a4fa1e4a2561299a21ec2bb2e
[ "MIT" ]
null
null
null
A_problems/twins.cpp
tarek99samy/code_forces_problems
a2e6fd1ad762843a4fa1e4a2561299a21ec2bb2e
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; //#include<windows.h> #include<cstring> #include<string> #include<algorithm> #include<stack> #include<vector> int main() { int size; cin >> size; int * arr = new int[size]; int sum = 0,ownsum=0,count =0 ; for (int i = 0; i < size; i++) { cin >> arr[i]; sum += arr[i]; ...
15.870968
32
0.573171
tarek99samy
3a8a11d435a935198f1de8eec6dbe563f65b025c
5,138
hpp
C++
nheqminer/3rdparty/boost/hana/scan_right.hpp
EuroLine/nheqminer
81c7ef889bb502d16f7d1e7ef020d0592f8af945
[ "MIT" ]
886
2016-10-20T20:59:59.000Z
2022-03-12T07:47:52.000Z
ios/Pods/boost-for-react-native/boost/hana/scan_right.hpp
c7yrus/alyson-v3
5ad95a8f782f5f5d2fd543d44ca6a8b093395965
[ "Apache-2.0" ]
369
2016-10-21T07:42:54.000Z
2020-11-19T10:49:29.000Z
ios/Pods/boost-for-react-native/boost/hana/scan_right.hpp
c7yrus/alyson-v3
5ad95a8f782f5f5d2fd543d44ca6a8b093395965
[ "Apache-2.0" ]
534
2016-10-20T21:00:00.000Z
2022-03-29T10:02:27.000Z
/*! @file Defines `boost::hana::scan_right`. @copyright Louis Dionne 2013-2016 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 BOOST_HANA_SCAN_RIGHT_HPP #define BOOST_HANA_SCAN_RIGHT_HPP #include <boost/hana/fwd/sca...
39.221374
93
0.592643
EuroLine
3a8c67a2330574b02357d890933af6170dc7c643
610
cpp
C++
oscillators/GordonSmithOscillator.cpp
abaga129/lib_dsp
7d3df3b9550f43436911838af9a833360b922911
[ "MIT" ]
24
2016-05-29T13:39:54.000Z
2021-11-11T14:41:45.000Z
oscillators/GordonSmithOscillator.cpp
abaga129/lib_dsp
7d3df3b9550f43436911838af9a833360b922911
[ "MIT" ]
null
null
null
oscillators/GordonSmithOscillator.cpp
abaga129/lib_dsp
7d3df3b9550f43436911838af9a833360b922911
[ "MIT" ]
7
2016-06-02T11:19:30.000Z
2021-11-10T00:21:34.000Z
#include "GordonSmithOscillator.h" using namespace DSP; GordonSmithOscillator::GordonSmithOscillator() { init = false; } void GordonSmithOscillator::setFrequency(float frequency, float sampleRate) { fo = frequency; fs = sampleRate; theta = 2 * PI * fo / fs; epsilon = 2 * sinf(theta / 2); if (!...
17.428571
78
0.62623
abaga129
3a8cc40491a69f6529706edddd0ce6cef99492fa
647
cpp
C++
greedy/basic/codeforces/F701A/Solution.cpp
ashtishad/problem-solving
5dfb71b04c2334c2cce53afd089ae1634b7e8100
[ "MIT" ]
17
2019-09-23T04:09:13.000Z
2020-07-27T02:51:51.000Z
greedy/basic/codeforces/F701A/Solution.cpp
ashtishad/problem-solving
5dfb71b04c2334c2cce53afd089ae1634b7e8100
[ "MIT" ]
15
2019-09-23T06:33:47.000Z
2020-06-04T18:55:45.000Z
greedy/basic/codeforces/F701A/Solution.cpp
ashtishad/problem-solving
5dfb71b04c2334c2cce53afd089ae1634b7e8100
[ "MIT" ]
16
2019-09-21T23:19:58.000Z
2020-06-18T07:26:39.000Z
// problem name: Cards // problem link: https://codeforces.com/contest/701/problem/A // contest link: https://codeforces.com/contest/701 // time: (?) // author: reyad // other_tags: implementation // difficulty_level: beginner #include <bits/stdc++.h> using namespace std; int a[128]; int x[128]; bo...
17.972222
62
0.540958
ashtishad
3a8d7197ca551854388583a6f69589ccf9d9e4b0
1,242
hh
C++
src/windows/kernel/SystemCallCreator.hh
srpape/IntroVirt
fe553221c40b8ef71f06e79c9d54d9e123a06c89
[ "Apache-2.0" ]
23
2021-02-17T16:58:52.000Z
2022-02-12T17:01:06.000Z
src/windows/kernel/SystemCallCreator.hh
srpape/IntroVirt
fe553221c40b8ef71f06e79c9d54d9e123a06c89
[ "Apache-2.0" ]
1
2021-04-01T22:41:32.000Z
2021-09-24T14:14:17.000Z
src/windows/kernel/SystemCallCreator.hh
srpape/IntroVirt
fe553221c40b8ef71f06e79c9d54d9e123a06c89
[ "Apache-2.0" ]
4
2021-02-17T16:53:18.000Z
2021-04-13T16:51:10.000Z
/* * Copyright 2021 Assured Information Security, 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 a...
28.227273
83
0.714976
srpape
3a8eb3d767898cbdf5fde60fab223a90efd596f3
1,183
cpp
C++
Samples/sources/itheima/phase_01_basic_grammer/047_struct_function.cpp
zhy29563/CMakeRunCPP
5ea26169039b9561ebfab86de68c046d784debd0
[ "MIT" ]
null
null
null
Samples/sources/itheima/phase_01_basic_grammer/047_struct_function.cpp
zhy29563/CMakeRunCPP
5ea26169039b9561ebfab86de68c046d784debd0
[ "MIT" ]
null
null
null
Samples/sources/itheima/phase_01_basic_grammer/047_struct_function.cpp
zhy29563/CMakeRunCPP
5ea26169039b9561ebfab86de68c046d784debd0
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; /********************************************************************************************************************** * 结构体做函数参数 * 作用: * 将结构体作为参数向函数中传递 * * 传递方式有两种: * - 值传递 * - 地址传递 * * 总结: * 如果不想修改主函数中的数据,用值传递,反之用地址传递 ***********************...
21.125
119
0.397295
zhy29563
3a8ecb4e66b79f209e979e2428cf4caf8cdb2ad6
5,357
cpp
C++
service/resource-encapsulation/src/common/primitiveResource/unittests/PresenceSubscriberTest.cpp
runtimeinc/iotivity
f71826858a754f048b93818582267e83f37f89e2
[ "Apache-2.0" ]
4
2017-07-11T16:48:17.000Z
2020-04-03T15:32:37.000Z
service/resource-encapsulation/src/common/primitiveResource/unittests/PresenceSubscriberTest.cpp
runtimeinc/iotivity
f71826858a754f048b93818582267e83f37f89e2
[ "Apache-2.0" ]
null
null
null
service/resource-encapsulation/src/common/primitiveResource/unittests/PresenceSubscriberTest.cpp
runtimeinc/iotivity
f71826858a754f048b93818582267e83f37f89e2
[ "Apache-2.0" ]
2
2017-07-14T21:04:10.000Z
2021-08-12T05:04:33.000Z
//****************************************************************** // // Copyright 2015 Samsung Electronics All Rights Reserved. // //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance...
32.271084
100
0.732313
runtimeinc
3a8ed7766ecc214166d37dac24f803a95060958d
1,082
hpp
C++
mia/program/program.hpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
153
2020-07-25T17:55:29.000Z
2021-10-01T23:45:01.000Z
mia/program/program.hpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
245
2021-10-08T09:14:46.000Z
2022-03-31T08:53:13.000Z
mia/program/program.hpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
44
2020-07-25T08:51:55.000Z
2021-09-25T16:09:01.000Z
struct Panel : VerticalLayout { using VerticalLayout::VerticalLayout; }; using View = HorizontalLayout; #include "system-selection.hpp" #include "home.hpp" #include "game-manager.hpp" #include "game-importer.hpp" struct ProgramWindow : Window { ProgramWindow(); auto show(Panel&) -> void; auto hide(Panel&) ->...
27.05
69
0.731054
CasualPokePlayer
3a8ef579ad0d800f1966e636bbcb095efce65329
5,877
cc
C++
example/http/request.cc
lilialexlee/kit
94492e04832749fcdfb7f9fb8a778bb949d5e7d6
[ "MIT" ]
1
2015-09-22T15:33:30.000Z
2015-09-22T15:33:30.000Z
example/http/request.cc
lilialexlee/kit
94492e04832749fcdfb7f9fb8a778bb949d5e7d6
[ "MIT" ]
null
null
null
example/http/request.cc
lilialexlee/kit
94492e04832749fcdfb7f9fb8a778bb949d5e7d6
[ "MIT" ]
null
null
null
/* * request.cc * */ #include "example/http/request.h" #include <iostream> namespace http { Request::Request() : method_(), uri_(), http_version_major_(0), http_version_minor_(0), headers_(), decode_stat_(kMethodStart) { } Request::~Request() { } namespa...
22.093985
66
0.467926
lilialexlee
3a8f90f982d5a7342837990d0d3bf98593edefc5
49,205
cpp
C++
ares/component/processor/tlcs900h/instruction.cpp
kirwinia/ares-emu-v121
722aa227caf943a4a64f1678c1bdd07b38b15caa
[ "0BSD" ]
2
2021-06-28T06:04:56.000Z
2021-06-28T11:30:20.000Z
ares/component/processor/tlcs900h/instruction.cpp
kirwinia/ares-emu-v121
722aa227caf943a4a64f1678c1bdd07b38b15caa
[ "0BSD" ]
null
null
null
ares/component/processor/tlcs900h/instruction.cpp
kirwinia/ares-emu-v121
722aa227caf943a4a64f1678c1bdd07b38b15caa
[ "0BSD" ]
1
2021-06-28T06:05:04.000Z
2021-06-28T06:05:04.000Z
#if defined(COMPILER_CLANG) //this core uses "Undefined;" many times, which Clang does not like to ignore. #pragma clang diagnostic ignored "-Wunused-value" #endif template<> auto TLCS900H::toRegister3<n8>(n3 code) const -> Register<n8 > { static const Register<n8 > lookup[] = {W, A, B, C, D, E, H, L}; return ...
30.317314
95
0.631481
kirwinia