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
108
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
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
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
495d6d0beddca557ede7775b6206744dafd4081b
582
cpp
C++
snippets/cpp/VS_Snippets_Data/Classic WebData XmlElement.SetAttributeNode1 Example/CPP/source.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
2
2020-03-12T19:26:36.000Z
2022-01-10T21:45:33.000Z
snippets/cpp/VS_Snippets_Data/Classic WebData XmlElement.SetAttributeNode1 Example/CPP/source.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
555
2019-09-23T22:22:58.000Z
2021-07-15T18:51:12.000Z
snippets/cpp/VS_Snippets_Data/Classic WebData XmlElement.SetAttributeNode1 Example/CPP/source.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
3
2020-01-29T16:31:15.000Z
2021-08-24T07:00:15.000Z
// <Snippet1> #using <System.Xml.dll> using namespace System; using namespace System::IO; using namespace System::Xml; int main() { XmlDocument^ doc = gcnew XmlDocument; doc->LoadXml( "<book xmlns:bk='urn:samples' bk:ISBN='1-861001-57-5'><title>Pride And Prejudice</title></book>" ); XmlElement^ root = doc->...
25.304348
116
0.670103
BohdanMosiyuk
495d74a4b2c72b6b43a2f4ca7d741b10949046a2
5,119
cpp
C++
src/modules/MouseUtils/FindMyMouse/dllmain.cpp
szlatkow/PowerToys
e62df46c6181551e80b7ce2cf85f03beccbfadf2
[ "MIT" ]
3
2021-11-21T03:03:41.000Z
2021-11-21T23:57:28.000Z
src/modules/MouseUtils/FindMyMouse/dllmain.cpp
szlatkow/PowerToys
e62df46c6181551e80b7ce2cf85f03beccbfadf2
[ "MIT" ]
9
2021-05-12T17:12:35.000Z
2021-10-30T14:57:56.000Z
src/modules/MouseUtils/FindMyMouse/dllmain.cpp
szlatkow/PowerToys
e62df46c6181551e80b7ce2cf85f03beccbfadf2
[ "MIT" ]
2
2021-05-26T09:02:21.000Z
2021-05-26T09:02:22.000Z
#include "pch.h" #include <interface/powertoy_module_interface.h> #include <common/SettingsAPI/settings_objects.h> #include "trace.h" #include "FindMyMouse.h" #include <thread> #include <common/utils/logger_helper.h> namespace { const wchar_t JSON_KEY_PROPERTIES[] = L"properties"; const wchar_t JSON_KEY_VALUE...
27.521505
145
0.671616
szlatkow
4962d1a74ef7c19f1b044641bc6bbca98bedcb01
2,311
cc
C++
solutions/001-025/11/main.cc
PysKa-Ratzinger/personal_project_euler_solutions
ff05c38f3c9cbcd4d6f09f81034bc299c7144476
[ "MIT" ]
1
2019-04-19T01:05:07.000Z
2019-04-19T01:05:07.000Z
solutions/001-025/11/main.cc
PysKa-Ratzinger/personal_project_euler_solutions
ff05c38f3c9cbcd4d6f09f81034bc299c7144476
[ "MIT" ]
null
null
null
solutions/001-025/11/main.cc
PysKa-Ratzinger/personal_project_euler_solutions
ff05c38f3c9cbcd4d6f09f81034bc299c7144476
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <string.h> #define BUFFER_SZ 512 #define ROWS 20 #define COLS 20 bool isNumber(int character){ return character >= '0' && character <= '9'; } unsigned long magic2(int grid[ROWS][COLS]){ unsigned long res = 0; unsigned long temp; for(int i=0; i<ROWS; i++...
24.326316
79
0.465599
PysKa-Ratzinger
4964b54bcc941dd66b264ede259bbf384a01cb92
416
cpp
C++
functions/prime_between_two_nums.cpp
sahilduhan/Learn-C-plus-plus
80dba2ee08b36985deb297293a0318da5d6ace94
[ "RSA-MD" ]
null
null
null
functions/prime_between_two_nums.cpp
sahilduhan/Learn-C-plus-plus
80dba2ee08b36985deb297293a0318da5d6ace94
[ "RSA-MD" ]
null
null
null
functions/prime_between_two_nums.cpp
sahilduhan/Learn-C-plus-plus
80dba2ee08b36985deb297293a0318da5d6ace94
[ "RSA-MD" ]
null
null
null
#include <bits/stdc++.h> using namespace std; bool prime_between_two_nums(int num) { for (int i = 2; i < sqrt(num); i++) if (num % 2 == 0) { return false; } else { return true; } } int main() { int a, b; for (int i = a; i <= b; i++) ...
16
39
0.427885
sahilduhan
496bf95d0aaecdc00598dc9fb87e2231003b1054
2,591
cpp
C++
ffl/source/utils/FFL_Clock.cpp
zhenfei2016/FFL-v2
376c79a0611af580d4767a4bbb05822f1a4fd454
[ "MIT" ]
null
null
null
ffl/source/utils/FFL_Clock.cpp
zhenfei2016/FFL-v2
376c79a0611af580d4767a4bbb05822f1a4fd454
[ "MIT" ]
null
null
null
ffl/source/utils/FFL_Clock.cpp
zhenfei2016/FFL-v2
376c79a0611af580d4767a4bbb05822f1a4fd454
[ "MIT" ]
null
null
null
/* * This file is part of FFL project. * * The MIT License (MIT) * Copyright (C) 2017-2018 zhufeifei All rights reserved. * * FFL_Clock.cpp * Created by zhufeifei(34008081@qq.com) on 2018/04/29 * https://github.com/zhenfei2016/FFL-v2.git * * 时钟类,可以获取当前时间,改变时钟速度,修改时钟原点偏移 * y=ax +b */ #include <utils/FFL_Clock.h...
17.868966
95
0.565033
zhenfei2016
496c85b7a32734eabd51d4fa2d7f9cce3a028f70
2,001
cpp
C++
nmainwindow.cpp
NeoProject/NeoPaintPrototype
ebfca88f7ddc2011daebf6d221c8e099f6e03645
[ "Info-ZIP" ]
null
null
null
nmainwindow.cpp
NeoProject/NeoPaintPrototype
ebfca88f7ddc2011daebf6d221c8e099f6e03645
[ "Info-ZIP" ]
null
null
null
nmainwindow.cpp
NeoProject/NeoPaintPrototype
ebfca88f7ddc2011daebf6d221c8e099f6e03645
[ "Info-ZIP" ]
null
null
null
#include "nmainwindow.h" #include "NGadget/nstatusbar.h" #include "NGadget/nmenubar.h" #include "NGadget/ntoolbar.h" #include <QLabel> #include <NCanvas/ncanvas.h> #include "NGadget/nabout.h" #include "NCanvas/ntabwidget.h" #include <QMenu> #include <QAction> #include "NGadget/ntablettest.h" #include "NDockWidget/ndock...
31.761905
109
0.74013
NeoProject
4971d7fbcdd6db28eff49825d3b8a5b959f4e86a
3,757
cpp
C++
Project/Part Five: Data Cache/Code/CacheStats.cpp
HernandezDerekJ/Computer-Architecture-3339
03785b02169a76ca0b1b38205bd5e64adde2b727
[ "MIT" ]
null
null
null
Project/Part Five: Data Cache/Code/CacheStats.cpp
HernandezDerekJ/Computer-Architecture-3339
03785b02169a76ca0b1b38205bd5e64adde2b727
[ "MIT" ]
null
null
null
Project/Part Five: Data Cache/Code/CacheStats.cpp
HernandezDerekJ/Computer-Architecture-3339
03785b02169a76ca0b1b38205bd5e64adde2b727
[ "MIT" ]
null
null
null
/****************************** * CacheStats.cpp submitted by: Derek Hernandez (djh119) * CS 3339 - Spring 2019 * Project 4 Branch Predictor * Copyright 2019, all rights reserved * Updated by Lee B. Hinkle based on prior work by Martin Burtscher and Molly O'Neil ******************************/ #include <iostream>...
28.24812
94
0.526218
HernandezDerekJ
49724ecba26a56c2e2550a77eae9f9b0eabb32ef
2,919
cpp
C++
application/CMatrix.cpp
HO-COOH/Console
f6132e4135db0c5432a2943a8f5f367a6ce1167d
[ "MIT" ]
3
2020-06-05T05:18:32.000Z
2021-07-29T01:13:07.000Z
application/CMatrix.cpp
HO-COOH/Console
f6132e4135db0c5432a2943a8f5f367a6ce1167d
[ "MIT" ]
null
null
null
application/CMatrix.cpp
HO-COOH/Console
f6132e4135db0c5432a2943a8f5f367a6ce1167d
[ "MIT" ]
null
null
null
#include "Console.h" #include "ConsoleEngine.h" #include "TimedEvent.hpp" #include <iostream> #include <thread> #include <random> #include <vector> #include <array> #include <functional> static std::mt19937 rdEng{ std::random_device{}() }; char randomChar() { static std::uniform_int_distribution<int> rdNum{ '!', ...
31.053191
115
0.488866
HO-COOH
49736fe0cc0e1cb621c5a52218f6fc60f8067e53
2,524
cc
C++
model/mosesdecoder/util/tempfile_test.cc
saeedesm/UNMT_AH
cc171bf66933b5c0ad8a0ab87e57f7364312a7df
[ "Apache-2.0" ]
3
2020-02-28T21:42:44.000Z
2021-03-12T13:56:16.000Z
tools/mosesdecoder-master/util/tempfile_test.cc
Pangeamt/nectm
6b84f048698f2530b9fdbb30695f2e2217c3fbfe
[ "Apache-2.0" ]
2
2020-11-06T14:40:10.000Z
2020-12-29T19:03:11.000Z
tools/mosesdecoder-master/util/tempfile_test.cc
Pangeamt/nectm
6b84f048698f2530b9fdbb30695f2e2217c3fbfe
[ "Apache-2.0" ]
2
2019-11-26T05:27:16.000Z
2019-12-17T01:53:43.000Z
#include "util/tempfile.hh" #include <fstream> #include <boost/filesystem.hpp> #define BOOST_TEST_MODULE TempFileTest #include <boost/test/unit_test.hpp> namespace util { namespace { BOOST_AUTO_TEST_CASE(temp_dir_has_path) { BOOST_CHECK(temp_dir().path().size() > 0); } BOOST_AUTO_TEST_CASE(temp_dir_creates_temp...
21.033333
74
0.717116
saeedesm
49777283d6c10ab1c31f8cbaa2667c61dda384cf
3,352
hh
C++
geometry2.hh
lnw/nano-tori
5f43722085154c9315ada572108a360e6601dd1a
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
geometry2.hh
lnw/nano-tori
5f43722085154c9315ada572108a360e6601dd1a
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
geometry2.hh
lnw/nano-tori
5f43722085154c9315ada572108a360e6601dd1a
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
// Copyright (c) 2019, Lukas Wirz // All rights reserved. // This file is part of 'nano-tori' which is released under the BSD-2-clause license. // See file LICENSE in this project. #ifndef GEOMETRY2_HH #define GEOMETRY2_HH #include <cassert> #include <cmath> #include <fstream> #include <iostream> #include <sstream> ...
31.622642
123
0.636038
lnw
497938523755e3be70e0d1cc9bdad40f50ed3590
4,777
cpp
C++
playlistTable.cpp
allenyin/musicplayer2
429c5e86afc01df21161023d359826d65c9b35ec
[ "MIT" ]
1
2016-06-05T15:14:22.000Z
2016-06-05T15:14:22.000Z
playlistTable.cpp
allenyin/musicplayer2
429c5e86afc01df21161023d359826d65c9b35ec
[ "MIT" ]
null
null
null
playlistTable.cpp
allenyin/musicplayer2
429c5e86afc01df21161023d359826d65c9b35ec
[ "MIT" ]
1
2019-04-17T15:19:08.000Z
2019-04-17T15:19:08.000Z
#include "playlistTable.h" #include "playlistmodel.h" #include <stdio.h> #include <iostream> #include <QApplication> #include <QHeaderView> #include <QMimeData> #include <QDebug> class PlaylistModel; PlaylistTable::PlaylistTable(QWidget* parent) : QTableView(parent) { // edit only when F2 is pressed setEditTr...
30.621795
86
0.609378
allenyin
497a1492afe717c7f57e2f374dd963873003af7b
28,261
cpp
C++
benchmark/message/message.cpp
smart-cloud/actor-zeta
9597d6c21843a5e24a7998d09ff041d2f948cc63
[ "BSD-3-Clause" ]
20
2016-01-07T07:37:52.000Z
2019-06-02T12:04:25.000Z
benchmark/message/message.cpp
smart-cloud/actor-zeta
9597d6c21843a5e24a7998d09ff041d2f948cc63
[ "BSD-3-Clause" ]
30
2017-03-10T14:47:46.000Z
2019-05-09T19:23:25.000Z
benchmark/message/message.cpp
jinncrafters/actor-zeta
9597d6c21843a5e24a7998d09ff041d2f948cc63
[ "BSD-3-Clause" ]
6
2017-03-10T14:06:01.000Z
2018-08-13T18:19:37.000Z
#include <benchmark/benchmark.h> #include <iostream> #include <map> #include <memory> #include <string> #include <vector> #include <actor-zeta/make_message.hpp> #include "fixtures.hpp" #include "register_benchmark.hpp" namespace benchmark_messages { static volatile int64_t message_sz = 0; using raw_t = ac...
81.20977
186
0.78695
smart-cloud
497f10f04c580ca0ed1cf2ec41db964cbea1859c
5,472
cpp
C++
TAO/tao/Synch_Queued_Message.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
36
2015-01-10T07:27:33.000Z
2022-03-07T03:32:08.000Z
TAO/tao/Synch_Queued_Message.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
2
2018-08-13T07:30:51.000Z
2019-02-25T03:04:31.000Z
TAO/tao/Synch_Queued_Message.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
38
2015-01-08T14:12:06.000Z
2022-01-19T08:33:00.000Z
// -*- C++ -*- // $Id: Synch_Queued_Message.cpp 93465 2011-03-02 16:16:33Z vzykov $ #include "tao/Synch_Queued_Message.h" #include "tao/debug.h" #include "tao/ORB_Core.h" #include "ace/Malloc_T.h" #include "ace/Message_Block.h" TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_Synch_Queued_Message::TAO_Synch_Queued_Message ( ...
27.223881
82
0.591374
cflowe
4982369fda4f70dff76a384072ccfc38881b1405
1,961
cpp
C++
libminifi/src/utils/file/PathUtils.cpp
achristianson/nifi-minifi-cpp-experimental
e41101f7f20d0fea287b3a97f2f611988bf1ea12
[ "Apache-2.0" ]
3
2018-01-11T19:48:07.000Z
2019-06-11T09:39:05.000Z
libminifi/src/utils/file/PathUtils.cpp
achristianson/nifi-minifi-cpp-experimental
e41101f7f20d0fea287b3a97f2f611988bf1ea12
[ "Apache-2.0" ]
null
null
null
libminifi/src/utils/file/PathUtils.cpp
achristianson/nifi-minifi-cpp-experimental
e41101f7f20d0fea287b3a97f2f611988bf1ea12
[ "Apache-2.0" ]
1
2019-02-25T19:47:06.000Z
2019-02-25T19:47:06.000Z
/** * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you ...
33.810345
107
0.704233
achristianson
21a316b503d0458ef2a590ffd7f9f0cc7481d0d4
1,234
cpp
C++
Modeler/ScriptDoc.cpp
openlastchaos/lastchaos-source-client
3d88594dba7347b1bb45378136605e31f73a8555
[ "Apache-2.0" ]
1
2022-02-14T15:46:44.000Z
2022-02-14T15:46:44.000Z
Modeler/ScriptDoc.cpp
openlastchaos/lastchaos-source-client
3d88594dba7347b1bb45378136605e31f73a8555
[ "Apache-2.0" ]
null
null
null
Modeler/ScriptDoc.cpp
openlastchaos/lastchaos-source-client
3d88594dba7347b1bb45378136605e31f73a8555
[ "Apache-2.0" ]
2
2022-01-10T22:17:06.000Z
2022-01-17T09:34:08.000Z
// ScriptDoc.cpp : implementation file // #include "stdafx.h" #ifdef _DEBUG #undef new #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CScriptDoc IMPLEMENT_DYNCREATE(CScriptDoc, CDocument) CScriptDoc:...
18.984615
77
0.551053
openlastchaos
21a4e4a96b4ee13c38d7e855aff3f790b3cc2052
1,696
cpp
C++
src/vendor/mariadb-10.6.7/storage/columnstore/columnstore/storage-manager/src/SMLogging.cpp
zettadb/zettalib
3d5f96dc9e3e4aa255f4e6105489758944d37cc4
[ "Apache-2.0" ]
null
null
null
src/vendor/mariadb-10.6.7/storage/columnstore/columnstore/storage-manager/src/SMLogging.cpp
zettadb/zettalib
3d5f96dc9e3e4aa255f4e6105489758944d37cc4
[ "Apache-2.0" ]
null
null
null
src/vendor/mariadb-10.6.7/storage/columnstore/columnstore/storage-manager/src/SMLogging.cpp
zettadb/zettalib
3d5f96dc9e3e4aa255f4e6105489758944d37cc4
[ "Apache-2.0" ]
2
2022-02-27T14:00:01.000Z
2022-03-31T06:24:22.000Z
/* Copyright (C) 2019 MariaDB Corporation This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in the hope that it will be useful, ...
22.315789
89
0.68809
zettadb
21a55d0c5e3ca82fd2e04d7ccd567e8d7846fe1a
4,204
cpp
C++
Source/Cache/FrameCache.cpp
Karshilov/Dorothy-SSR
cce19ed2218d76f941977370f6b3894e2f87236a
[ "MIT" ]
43
2020-01-29T02:22:41.000Z
2021-12-06T04:20:12.000Z
Source/Cache/FrameCache.cpp
Jilliana8397/Dorothy-SSR
5ad647909c5e20cb7ebde9a1a054cdb944969dcb
[ "MIT" ]
1
2020-03-19T16:23:12.000Z
2020-03-19T16:23:12.000Z
Source/Cache/FrameCache.cpp
Jilliana8397/Dorothy-SSR
5ad647909c5e20cb7ebde9a1a054cdb944969dcb
[ "MIT" ]
8
2020-03-08T13:46:08.000Z
2021-07-19T11:30:23.000Z
/* Copyright (c) 2021 Jin Li, http://www.luvfight.me 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, publi...
34.178862
463
0.672217
Karshilov
21a5dad926c4e000099bd64e80dadf40be432e3f
381
hpp
C++
src/delta.hpp
crockeo/hc
a5f9eaa1051e8825fa765d120d8ea76682909a5a
[ "MIT" ]
null
null
null
src/delta.hpp
crockeo/hc
a5f9eaa1051e8825fa765d120d8ea76682909a5a
[ "MIT" ]
null
null
null
src/delta.hpp
crockeo/hc
a5f9eaa1051e8825fa765d120d8ea76682909a5a
[ "MIT" ]
null
null
null
#ifndef _DELTA_HPP_ #define _DELTA_HPP_ ////////// // Code // // Getting the current system time in milliseconds. int getTimeMillis(); // A utility to do some delta timing stuff. class Delta { private: int last, curr; bool first; public: // Constructing a delta. Delta(); // Getting the time sin...
15.24
57
0.650919
crockeo
21a5f501ef3650eec5efbe46f08a594997b372d5
652
cpp
C++
Codeforces/A_Games.cpp
Sohelr360/my_codes
9bdd28f62d3850aad8f8af2a253ba66138a7057c
[ "MIT" ]
null
null
null
Codeforces/A_Games.cpp
Sohelr360/my_codes
9bdd28f62d3850aad8f8af2a253ba66138a7057c
[ "MIT" ]
null
null
null
Codeforces/A_Games.cpp
Sohelr360/my_codes
9bdd28f62d3850aad8f8af2a253ba66138a7057c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define endl "\n" #define pi acos(-1) #define faster_io ios::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); using namespace std; int main() { //freopen("/home/sohel/Documents/my_codes/out.txt", "wt", stdout); faster_io; int n, cnt_rep = 0, cnt = 0; cin >> n; int h[...
21.733333
77
0.435583
Sohelr360
21a61f52b9ddbd1d42dcc22dee17ed910b20266f
6,950
hpp
C++
include/crocoddyl/multibody/frames.hpp
ggory15/crocoddyl
4708428676f596f93ffe2df739faeb5cc38d2326
[ "BSD-3-Clause" ]
null
null
null
include/crocoddyl/multibody/frames.hpp
ggory15/crocoddyl
4708428676f596f93ffe2df739faeb5cc38d2326
[ "BSD-3-Clause" ]
null
null
null
include/crocoddyl/multibody/frames.hpp
ggory15/crocoddyl
4708428676f596f93ffe2df739faeb5cc38d2326
[ "BSD-3-Clause" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (C) 2018-2020, LAAS-CNRS, University of Edinburgh // Copyright note valid unless otherwise stated in individual files. // All rights reserved. ////////////////////////////////////////////////////////...
36.387435
119
0.684029
ggory15
21a8243a1b25a7c9c5eb843cc756b8ef79e3e2ad
789
cpp
C++
src/cpp/common/acsNtripStream.cpp
RodrigoNaves/ginan-bitbucket-update-tests
4bd5cc0a9dd0e94b1c2d8b35385e128404009b0c
[ "Apache-2.0" ]
73
2021-07-08T23:35:08.000Z
2022-03-31T15:17:58.000Z
src/cpp/common/acsNtripStream.cpp
RodrigoNaves/ginan-bitbucket-update-tests
4bd5cc0a9dd0e94b1c2d8b35385e128404009b0c
[ "Apache-2.0" ]
5
2021-09-27T14:27:32.000Z
2022-03-21T23:50:02.000Z
src/cpp/common/acsNtripStream.cpp
RodrigoNaves/ginan-bitbucket-update-tests
4bd5cc0a9dd0e94b1c2d8b35385e128404009b0c
[ "Apache-2.0" ]
39
2021-07-12T05:42:51.000Z
2022-03-31T15:15:34.000Z
#include "acsNtripStream.hpp" #include <boost/system/error_code.hpp> #include <list> void NtripStream::getData() { receivedDataBufferMtx.lock(); //if ( receivedDataBuffer.size() > 0 ) // BOOST_LOG_TRIVIAL(debug) << "NtripStream::getData(), receivedDataBuffer.size() = " << receivedDataBuffer.size() << std::en...
24.65625
132
0.737643
RodrigoNaves
21a97cdb8a3aca9743c770e22e6a6be248f6da18
1,163
cpp
C++
bzoj/1064.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
3
2017-09-17T09:12:50.000Z
2018-04-06T01:18:17.000Z
bzoj/1064.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
null
null
null
bzoj/1064.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
null
null
null
#include <bits/stdc++.h> using namespace std; inline int read(){ int x=0,f=1;char ch=getchar(); while(ch<'0'||ch>'9'){if(ch=='-')f=-1;ch=getchar();} while(ch>='0'&&ch<='9'){x=(x<<3)+(x<<1)+ch-'0';ch=getchar();} return x*f; } const int inf = 1<<30; int n, m, cnt, maxn, minx, ans, tmp; struct edge{int to,nxt,val;}e[2...
24.744681
62
0.545142
swwind
21afeaaaffd32f0e17161a02333cff232f80cdef
790
hpp
C++
src/beast/include/beast/core/detail/clamp.hpp
Py9595/Backpack-Travel-Underlying-Code
c5758792eba7cdd62cb6ff46e642e8e4e4e5417e
[ "BSL-1.0" ]
5
2018-02-02T04:50:43.000Z
2020-10-14T08:15:01.000Z
src/beast/include/beast/core/detail/clamp.hpp
Py9595/Backpack-Travel-Underlying-Code
c5758792eba7cdd62cb6ff46e642e8e4e4e5417e
[ "BSL-1.0" ]
10
2019-01-07T05:33:34.000Z
2020-07-15T00:09:26.000Z
src/beast/include/beast/core/detail/clamp.hpp
Py9595/Backpack-Travel-Underlying-Code
c5758792eba7cdd62cb6ff46e642e8e4e4e5417e
[ "BSL-1.0" ]
4
2017-06-06T12:49:07.000Z
2021-07-01T07:44:49.000Z
// // Copyright (c) 2013-2017 Vinnie Falco (vinnie dot falco at gmail dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #ifndef BEAST_CORE_DETAIL_CLAMP_HPP #define BEAST_CORE_DETAIL_CLAMP_HPP #include...
19.268293
79
0.696203
Py9595
21b0580c4ba426b315ac89f33121ce92e45e01e7
1,098
cpp
C++
src/main.cpp
rathyon/xgp
8aba899746665d4d6afd51c9e83d5065e2f51abb
[ "MIT" ]
null
null
null
src/main.cpp
rathyon/xgp
8aba899746665d4d6afd51c9e83d5065e2f51abb
[ "MIT" ]
null
null
null
src/main.cpp
rathyon/xgp
8aba899746665d4d6afd51c9e83d5065e2f51abb
[ "MIT" ]
null
null
null
#include "XGPApp.h" using namespace xgp; XGPApp* app; void errorCallback(int error, const char* description) { app->errorCallback(error, description); } void reshapeCallback(GLFWwindow* window, int width, int height) { app->reshapeCallback(width, height); } void keyCallback(GLFWwindow* window, int key, int scancod...
26.780488
83
0.752277
rathyon
21b6c0fcfb8354aeeebc7f80a886fac90f1979fc
2,318
cpp
C++
odevice/app/src/main/jni/ParallelME/runtime/src/parallelme/Runtime.cpp
rcarvs/android-ocr
f8760afd378607ced0beca0b2c1beda14ea4ab49
[ "MIT" ]
5
2016-08-09T17:09:46.000Z
2020-12-12T21:17:33.000Z
src/parallelme/Runtime.cpp
ParallelME/runtime
80c3104c88e8efe9e4d746aa2976702c84f6302d
[ "Apache-2.0" ]
12
2016-04-07T19:42:02.000Z
2017-06-12T13:37:50.000Z
src/parallelme/Runtime.cpp
ParallelME/runtime
80c3104c88e8efe9e4d746aa2976702c84f6302d
[ "Apache-2.0" ]
2
2017-04-07T20:31:10.000Z
2021-04-19T23:24:38.000Z
/* _ __ ____ * _ __ ___ _____ ___ __ __ ___ __ / | / / __/ * | _ \/ _ | _ | / _ | / / / / / __/ / / | / / /__ * | __/ __ | ___|/ __ |/ /_/ /__/ __/ /__ / / v / /__ * |_| /_/ |_|_|\_\/_/ |_/____/___/___/____/ /_/ /_/____/ * */ #incl...
30.5
79
0.597929
rcarvs
21b7b165f624e89398583caebcbdf007153ffcea
6,181
cpp
C++
qmk_firmware/quantum/serial_link/tests/transport_tests.cpp
igagis/best84kb
e4f58e0138b0835b39e636d69658183a8e74594e
[ "MIT" ]
2
2019-05-13T05:19:02.000Z
2021-11-29T09:07:43.000Z
qmk_firmware/quantum/serial_link/tests/transport_tests.cpp
igagis/best84kb
e4f58e0138b0835b39e636d69658183a8e74594e
[ "MIT" ]
null
null
null
qmk_firmware/quantum/serial_link/tests/transport_tests.cpp
igagis/best84kb
e4f58e0138b0835b39e636d69658183a8e74594e
[ "MIT" ]
1
2020-11-05T02:23:49.000Z
2020-11-05T02:23:49.000Z
/* The MIT License (MIT) Copyright (c) 2016 Fred Sundvik 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, ...
32.703704
104
0.738554
igagis
21c04010e161eed4e3d4bc7c6c16d1be21dec5af
2,977
hpp
C++
src/number_theory/modulo.hpp
RamchandraApte/OmniTemplate
f150f451871b0ab43ac39a798186278106da1527
[ "MIT" ]
14
2019-04-23T21:44:12.000Z
2022-03-04T22:48:59.000Z
src/number_theory/modulo.hpp
RamchandraApte/OmniTemplate
f150f451871b0ab43ac39a798186278106da1527
[ "MIT" ]
3
2019-04-25T10:45:32.000Z
2020-08-05T22:40:39.000Z
src/number_theory/modulo.hpp
RamchandraApte/OmniTemplate
f150f451871b0ab43ac39a798186278106da1527
[ "MIT" ]
1
2020-07-16T22:16:33.000Z
2020-07-16T22:16:33.000Z
#pragma once #include "core/all.hpp" namespace modulo_namespace { template <typename... Args> using invert_t = decltype(invert(std::declval<Args>()...)); /*! @brief Returns \f$a^b\f$ * @param a the base * @param b the exponent * * Time complexity: \f$O(\log_2 |b|)\f$ multiplications */ template <typename T> T powe...
32.714286
98
0.642257
RamchandraApte
21cb346ca25d20a839156d4a39c533e1731addd1
737
cpp
C++
Questions Level-Wise/Hard/find-minimum-in-rotated-sorted-array-ii.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
2
2021-03-05T22:32:23.000Z
2021-03-05T22:32:29.000Z
Questions Level-Wise/Hard/find-minimum-in-rotated-sorted-array-ii.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
null
null
null
Questions Level-Wise/Hard/find-minimum-in-rotated-sorted-array-ii.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
null
null
null
class Solution { public: int binarysearch(vector<int> nums,int l,int h) { while(l<h) { int mid=(h-l)/2+l; if(nums[l]<nums[h]) return nums[l]; else if(l+1==h) return nums[h]; else if(nums[l]>=nums[mid]&&nums[mid]<=num...
24.566667
59
0.419267
PrakharPipersania
21cca6a5317fcb2283a18c2ce3170313a1fa433f
757
cpp
C++
locs.cpp
yurivict/crate
cf25e21ad2b7bce320c5d04a6ad27c8e67d4e09f
[ "BSD-3-Clause" ]
14
2019-08-04T13:03:10.000Z
2021-03-14T13:19:55.000Z
locs.cpp
yurivict/crate
cf25e21ad2b7bce320c5d04a6ad27c8e67d4e09f
[ "BSD-3-Clause" ]
null
null
null
locs.cpp
yurivict/crate
cf25e21ad2b7bce320c5d04a6ad27c8e67d4e09f
[ "BSD-3-Clause" ]
2
2020-05-08T04:52:13.000Z
2021-03-14T13:20:38.000Z
// Copyright (C) 2019 by Yuri Victorovich. All rights reserved. #include "locs.h" #include "util.h" #include <string> namespace Locations { const char *jailDirectoryPath = "/var/run/crate"; const char *jailSubDirectoryIfaces = "/ifaces"; const char *cacheDirectoryPath = "/var/cache/crate"; const std::string ctxFwUs...
37.85
128
0.652576
yurivict
21d0edae97d5d9f1b8d6bc3ff5d01a05b2e4fd7a
1,797
cpp
C++
oneEngine/oneGame/source/engine/physics/collider/types/CBoxCollider.cpp
jonting/1Engine
f22ba31f08fa96fe6405ebecec4f374138283803
[ "BSD-3-Clause" ]
8
2017-12-08T02:59:31.000Z
2022-02-02T04:30:03.000Z
oneEngine/oneGame/source/engine/physics/collider/types/CBoxCollider.cpp
jonting/1Engine
f22ba31f08fa96fe6405ebecec4f374138283803
[ "BSD-3-Clause" ]
2
2021-04-16T03:44:42.000Z
2021-08-30T06:48:44.000Z
oneEngine/oneGame/source/engine/physics/collider/types/CBoxCollider.cpp
jonting/1Engine
f22ba31f08fa96fe6405ebecec4f374138283803
[ "BSD-3-Clause" ]
1
2021-04-16T02:09:54.000Z
2021-04-16T02:09:54.000Z
#include "engine/physics/motion/CRigidbody.h" #include "CBoxCollider.h" #include "physical/physics/shapes/physBoxShape.h" CBoxCollider::CBoxCollider ( Vector3d const& size ) { vExtents = size; vCenterOfMass = Vector3d( 0,0,0 ); //pCollisionShape = Physics::CreateBoxShape( vExtents * 0.5f ); pCollisionShape = ne...
30.457627
115
0.72788
jonting
21d3802f04245351d855c9ca5900a75a6cde87b5
2,522
cpp
C++
src/EZOI/1018/kaleidoscope.cpp
krishukr/cpp-code
1c94401682227bd86c0d9295134d43582247794e
[ "MIT" ]
1
2021-08-13T14:27:39.000Z
2021-08-13T14:27:39.000Z
src/EZOI/1018/kaleidoscope.cpp
krishukr/cpp-code
1c94401682227bd86c0d9295134d43582247794e
[ "MIT" ]
null
null
null
src/EZOI/1018/kaleidoscope.cpp
krishukr/cpp-code
1c94401682227bd86c0d9295134d43582247794e
[ "MIT" ]
null
null
null
#include <algorithm> #include <cstdio> #include <iostream> typedef long long ll; int n, m; template <typename T> T read(); class Star { private: const static int MAX_N = 200050; public: struct Node { int v; int nxt; ll w; } node[MAX_N << 1]; int head[MAX_N]; int c...
21.016667
69
0.406027
krishukr
21d677c56deb7822da554788ffea2a4b46844ef7
4,985
cpp
C++
wbc/ahl_robot/src/utils/math.cpp
daichi-yoshikawa/ahl_wbc
ea241562e521c7509d3b0405393996998f7cdc6e
[ "BSD-3-Clause" ]
33
2015-12-16T15:32:22.000Z
2022-03-21T05:09:40.000Z
wbc/ahl_robot/src/utils/math.cpp
daichi-yoshikawa/ahl_wbc
ea241562e521c7509d3b0405393996998f7cdc6e
[ "BSD-3-Clause" ]
3
2016-06-08T09:53:44.000Z
2020-10-26T11:27:23.000Z
wbc/ahl_robot/src/utils/math.cpp
daichi-yoshikawa/ahl_wbc
ea241562e521c7509d3b0405393996998f7cdc6e
[ "BSD-3-Clause" ]
10
2016-01-27T10:30:01.000Z
2022-03-21T05:08:27.000Z
/********************************************************************* * * Software License Agreement (BSD License) * * Copyright (c) 2015, Daichi Yoshikawa * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following...
38.053435
113
0.608425
daichi-yoshikawa
21dcf21fc5692fa094e45e1ac901bd23ca517dbe
146
cpp
C++
MemLeak/src/Shape/Line/Line.cpp
pk8868/MemLeak
72f937110c2b67547f67bdea60d2e80b0f5581a1
[ "MIT" ]
null
null
null
MemLeak/src/Shape/Line/Line.cpp
pk8868/MemLeak
72f937110c2b67547f67bdea60d2e80b0f5581a1
[ "MIT" ]
null
null
null
MemLeak/src/Shape/Line/Line.cpp
pk8868/MemLeak
72f937110c2b67547f67bdea60d2e80b0f5581a1
[ "MIT" ]
null
null
null
#include "mpch.h" #include "Line.hpp" namespace ml { Line::Line(Vec2f a, Vec2f b) { transform.setPoint(a, 0); transform.setPoint(b, 1); } }
16.222222
31
0.650685
pk8868
21e7e4c022bf5ddcc7dc9dfefcdc89b2686c2df5
332
cpp
C++
docs/mfc/codesnippet/CPP/clistbox-class_29.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
965
2017-06-25T23:57:11.000Z
2022-03-31T14:17:32.000Z
docs/mfc/codesnippet/CPP/clistbox-class_29.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
3,272
2017-06-24T00:26:34.000Z
2022-03-31T22:14:07.000Z
docs/mfc/codesnippet/CPP/clistbox-class_29.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
951
2017-06-25T12:36:14.000Z
2022-03-26T22:49:06.000Z
void CMyODListBox::OnLButtonDown(UINT nFlags, CPoint point) { BOOL bOutside = TRUE; UINT uItem = ItemFromPoint(point, bOutside); if (!bOutside) { // Set the anchor to be the middle item. SetAnchorIndex(uItem); ASSERT((UINT)GetAnchorIndex() == uItem); } CListBox::OnLButtonDown(nFlag...
23.714286
59
0.662651
bobbrow
21e857cd750b4772a92043e4d352ae467ee5893d
28,999
cpp
C++
cws/src/v20180312/CwsClient.cpp
li5ch/tencentcloud-sdk-cpp
12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
cws/src/v20180312/CwsClient.cpp
li5ch/tencentcloud-sdk-cpp
12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
cws/src/v20180312/CwsClient.cpp
li5ch/tencentcloud-sdk-cpp
12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4
[ "Apache-2.0" ]
28
2019-07-12T09:06:22.000Z
2022-03-30T08:04:18.000Z
/* * 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 ...
33.719767
210
0.683851
li5ch
21e9d91ffbb9f9ccc18cf739ab91c534075e5f63
422
cpp
C++
CodeForces/SystemofEquations.cpp
mysterio0801/CP
68983c423a42f98d6e9bf5375bc3f936e980d631
[ "MIT" ]
null
null
null
CodeForces/SystemofEquations.cpp
mysterio0801/CP
68983c423a42f98d6e9bf5375bc3f936e980d631
[ "MIT" ]
null
null
null
CodeForces/SystemofEquations.cpp
mysterio0801/CP
68983c423a42f98d6e9bf5375bc3f936e980d631
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { int n, m; cin >> n >> m; int temp = n; int count = 0; map<int, int> mp; while (n != 0) { int a = sqrt(n); int b = temp - pow(a, 2); mp[a] = b; n--; } for (auto &pr : mp) { if (pr.first + pow(pr.second, 2) == m) { count++; } if (pr.secon...
16.88
79
0.481043
mysterio0801
21e9ecdbe50ce01fc0c3a82d9ea330a09897dad5
14,755
cpp
C++
Engine/source/T3D/components/physics/rigidBodyComponent.cpp
John3/t3d_benchmarking
27a5780ad704aa91b45ff1bb0d69ed07668d03be
[ "MIT" ]
10
2015-03-12T20:20:34.000Z
2021-02-03T08:07:31.000Z
Engine/source/T3D/components/physics/rigidBodyComponent.cpp
John3/t3d_benchmarking
27a5780ad704aa91b45ff1bb0d69ed07668d03be
[ "MIT" ]
3
2015-07-04T23:50:43.000Z
2016-08-01T09:19:52.000Z
Engine/source/T3D/components/physics/rigidBodyComponent.cpp
John3/t3d_benchmarking
27a5780ad704aa91b45ff1bb0d69ed07668d03be
[ "MIT" ]
6
2015-11-28T16:18:26.000Z
2020-03-29T17:14:56.000Z
//----------------------------------------------------------------------------- // Copyright (c) 2012 GarageGames, LLC // // 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 restrictio...
31.595289
148
0.681261
John3
21ed3f17619794aef95953a386f528f7ea2f97a7
1,335
cpp
C++
Sort/heap_sort_src/heap_sort.cpp
yichenluan/Algorithm101
a516fa5dad34ed431fa6fb2efab7bce4a90213bc
[ "MIT" ]
1
2018-10-30T10:02:11.000Z
2018-10-30T10:02:11.000Z
Sort/heap_sort_src/heap_sort.cpp
yichenluan/Algorithm101
a516fa5dad34ed431fa6fb2efab7bce4a90213bc
[ "MIT" ]
null
null
null
Sort/heap_sort_src/heap_sort.cpp
yichenluan/Algorithm101
a516fa5dad34ed431fa6fb2efab7bce4a90213bc
[ "MIT" ]
null
null
null
#include <vector> #include <iostream> using namespace std; template<class It> void printByIt(It begin, It end); template<class It> void printByIt(It begin, It end) { for (It curr = begin; curr != end; ++curr) { cout << *curr << " "; } cout << endl; } void sink(vector<int>& a, int k, int N) { ...
22.25
60
0.468914
yichenluan
21ee74d06c68e18c398f9bb4c9583345361f9456
60
hpp
C++
src/boost_spirit_home_support_nonterminal_locals.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_spirit_home_support_nonterminal_locals.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_spirit_home_support_nonterminal_locals.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/spirit/home/support/nonterminal/locals.hpp>
30
59
0.816667
miathedev
21f009619fb86e73eede2854736e9fb710b9ac1d
15,993
cpp
C++
src/bridge/jni/NativeOsIo.cpp
codegitpro/qt-app
d8cdc29156c324d174362ac971d11b7989483395
[ "Libpng", "Zlib" ]
null
null
null
src/bridge/jni/NativeOsIo.cpp
codegitpro/qt-app
d8cdc29156c324d174362ac971d11b7989483395
[ "Libpng", "Zlib" ]
null
null
null
src/bridge/jni/NativeOsIo.cpp
codegitpro/qt-app
d8cdc29156c324d174362ac971d11b7989483395
[ "Libpng", "Zlib" ]
null
null
null
// AUTOGENERATED FILE - DO NOT MODIFY! // This file generated by Djinni from portal.djinni #include "NativeOsIo.hpp" // my header #include "Marshal.hpp" #include "NativeBinaryResult.hpp" #include "NativeBoolResult.hpp" #include "NativeCancellationToken.hpp" #include "NativeFileType.hpp" #include "NativeHeader.hpp" #i...
70.144737
292
0.640718
codegitpro
21f1d8be0a830d3e3a426259d4832472feff02c5
2,354
cc
C++
lite/kernels/host/sequence_unpad_compute.cc
714627034/Paddle-Lite
015ba88a4d639db0b73603e37f83e47be041a4eb
[ "Apache-2.0" ]
1,799
2019-08-19T03:29:38.000Z
2022-03-31T14:30:50.000Z
lite/kernels/host/sequence_unpad_compute.cc
714627034/Paddle-Lite
015ba88a4d639db0b73603e37f83e47be041a4eb
[ "Apache-2.0" ]
3,767
2019-08-19T03:36:04.000Z
2022-03-31T14:37:26.000Z
lite/kernels/host/sequence_unpad_compute.cc
yingshengBD/Paddle-Lite
eea59b66f61bb2acad471010c9526eeec43a15ca
[ "Apache-2.0" ]
798
2019-08-19T02:28:23.000Z
2022-03-31T08:31:54.000Z
// Copyright (c) 2019 PaddlePaddle 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...
40.586207
75
0.56712
714627034
21f5c9bd775815a5e340b8446a0d8ec77a9db745
3,236
hxx
C++
opencascade/VrmlData_Box.hxx
valgur/OCP
2f7d9da73a08e4ffe80883614aedacb27351134f
[ "Apache-2.0" ]
117
2020-03-07T12:07:05.000Z
2022-03-27T07:35:22.000Z
opencascade/VrmlData_Box.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
66
2019-12-20T16:07:36.000Z
2022-03-15T21:56:10.000Z
opencascade/VrmlData_Box.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
76
2020-03-16T01:47:46.000Z
2022-03-21T16:37:07.000Z
// Created on: 2006-05-25 // Created by: Alexander GRIGORIEV // Copyright (c) 2006-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version ...
31.115385
95
0.64555
valgur
21f88e293e61d25342f8ab1972bd6644b2b65b9d
904
cpp
C++
atcoder/abc156f.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
1
2020-04-04T14:56:12.000Z
2020-04-04T14:56:12.000Z
atcoder/abc156f.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
atcoder/abc156f.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using ll=long long; void solve() { int k,q; cin >> k >> q; vector<ll> d(k); for (auto& x: d) { cin >> x; } while (q--) { ll n,x,m; cin >> n >> x >> m; n--; x %= m; ll sum = 0; for (auto& x: d)...
18.08
41
0.301991
sogapalag
21fb53a330953c1ce3974576a63b90ad5df83880
4,214
hpp
C++
include/ndtree/algorithm/node_neighbors.hpp
gnzlbg/htree
30e29145b6b0b0f4d1106f05376df94bd58cadc9
[ "BSL-1.0" ]
15
2015-09-02T13:25:55.000Z
2021-04-23T04:02:19.000Z
include/ndtree/algorithm/node_neighbors.hpp
gnzlbg/htree
30e29145b6b0b0f4d1106f05376df94bd58cadc9
[ "BSL-1.0" ]
1
2015-11-18T03:50:18.000Z
2016-06-16T08:34:01.000Z
include/ndtree/algorithm/node_neighbors.hpp
gnzlbg/htree
30e29145b6b0b0f4d1106f05376df94bd58cadc9
[ "BSL-1.0" ]
4
2016-05-20T18:57:27.000Z
2019-03-17T09:18:13.000Z
#pragma once /// \file node_neighbors.hpp #include <ndtree/algorithm/node_location.hpp> #include <ndtree/algorithm/node_or_parent_at.hpp> #include <ndtree/algorithm/shift_location.hpp> #include <ndtree/concepts.hpp> #include <ndtree/location/default.hpp> #include <ndtree/relations/neighbor.hpp> #include <ndtree/types.h...
38.66055
80
0.665638
gnzlbg
21fd4bc267f14b60f09e459e847e00fd01369c86
995
cpp
C++
Arrays/moveposneg.cpp
thisisnitish/cp-dsa-
9ae94930b65f8dc293d088e9148960939b9f6fa4
[ "MIT" ]
4
2020-12-29T09:27:10.000Z
2022-02-12T14:20:23.000Z
Arrays/moveposneg.cpp
thisisnitish/cp-dsa-
9ae94930b65f8dc293d088e9148960939b9f6fa4
[ "MIT" ]
1
2021-11-27T06:15:28.000Z
2021-11-27T06:15:28.000Z
Arrays/moveposneg.cpp
thisisnitish/cp-dsa-
9ae94930b65f8dc293d088e9148960939b9f6fa4
[ "MIT" ]
1
2021-11-17T21:42:57.000Z
2021-11-17T21:42:57.000Z
/* Move all negative numbers to beginning and positive to end with constant extra space Input: -12, 11, -13, -5, 6, -7, 5, -3, -6 Output: -12 -13 -5 -7 -3 -6 11 6 5 https://www.geeksforgeeks.org/move-negative-numbers-beginning-positive-end-constant-extra-space/ */ #include<iostream> using namespace std; int main() { ...
21.170213
96
0.491457
thisisnitish
21fece503f73452353bb3fdc2d5faf6d4d5d2db7
29,388
cpp
C++
com/netfx/src/clr/dlls/mscorsec/acuihelp.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
com/netfx/src/clr/dlls/mscorsec/acuihelp.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
com/netfx/src/clr/dlls/mscorsec/acuihelp.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //***************************************************************************** //***************************************************************************** #include "stdpch.h" #include "richedit.h" #include "commc...
28.811765
115
0.500272
npocmaka
1d019fde0e400dd85407182f3575e568a42677b0
1,127
cpp
C++
Source/RTSProject/Plugins/RealTimeStrategy/Source/RealTimeStrategy/Private/Libraries/RTSConstructionLibrary.cpp
HeadClot/ue4-rts
53499c49942aada835b121c89419aaa0be624cbd
[ "MIT" ]
617
2017-04-16T13:34:20.000Z
2022-03-31T23:43:47.000Z
Source/RTSProject/Plugins/RealTimeStrategy/Source/RealTimeStrategy/Private/Libraries/RTSConstructionLibrary.cpp
freezernick/ue4-rts
14ac47ce07d920c01c999f78996791c75de8ff8a
[ "MIT" ]
178
2017-04-05T19:30:21.000Z
2022-03-11T05:44:03.000Z
Source/RTSProject/Plugins/RealTimeStrategy/Source/RealTimeStrategy/Private/Libraries/RTSConstructionLibrary.cpp
freezernick/ue4-rts
14ac47ce07d920c01c999f78996791c75de8ff8a
[ "MIT" ]
147
2017-06-27T08:35:09.000Z
2022-03-28T03:06:17.000Z
#include "Libraries/RTSConstructionLibrary.h" #include "Construction/RTSBuilderComponent.h" int32 URTSConstructionLibrary::GetConstructableBuildingIndex(AActor* Builder, TSubclassOf<AActor> BuildingClass) { if (!IsValid(Builder)) { return INDEX_NONE; } URTSBuilderComponent* BuilderComponent ...
28.175
112
0.753327
HeadClot
1d01d78a62b4b0e4ac4e5254e1866e2051263ade
710
hpp
C++
source/query_processor.hpp
simonenkos/dnsperf
85f8ba97b9a85cf84b2d87610f829d526af459f8
[ "MIT" ]
null
null
null
source/query_processor.hpp
simonenkos/dnsperf
85f8ba97b9a85cf84b2d87610f829d526af459f8
[ "MIT" ]
null
null
null
source/query_processor.hpp
simonenkos/dnsperf
85f8ba97b9a85cf84b2d87610f829d526af459f8
[ "MIT" ]
null
null
null
#ifndef DNSPERF_QUERY_PROCESSOR_HPP #define DNSPERF_QUERY_PROCESSOR_HPP #include <string> #include <cstdint> #include "query_result.hpp" /** * Interface of processor which is responsible for making a query. */ struct query_processor { query_processor() = default; query_processor(const query_processor & ...
25.357143
73
0.725352
simonenkos
1d0af241a2faaa6acd1f66644a479013f931bef4
868
cpp
C++
src/lib/MutexBase.cpp
romoadri21/boi
deef8e7148b50fbb36886ba4ff491a6c0e18ad67
[ "BSD-3-Clause" ]
null
null
null
src/lib/MutexBase.cpp
romoadri21/boi
deef8e7148b50fbb36886ba4ff491a6c0e18ad67
[ "BSD-3-Clause" ]
null
null
null
src/lib/MutexBase.cpp
romoadri21/boi
deef8e7148b50fbb36886ba4ff491a6c0e18ad67
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2010, Piet Hein Schouten. All rights reserved. * This code is licensed under a BSD-style license that can be * found in the LICENSE file. The license can also be found at: * http://www.boi-project.org/license */ #include "ThreadLockData.h" #include "Mutex.h" #include "MutexBase.h" namespace BOI ...
18.869565
63
0.686636
romoadri21
1d0bd93afc7c766106a533846cefcae4e2fd40c8
3,426
cc
C++
src/server_main.cc
magazino/tf_service
da63e90b062a57eb1280b589ef8f249be5d422c4
[ "Apache-2.0" ]
17
2019-12-11T14:26:21.000Z
2022-01-30T03:41:40.000Z
src/server_main.cc
magazino/tf_service
da63e90b062a57eb1280b589ef8f249be5d422c4
[ "Apache-2.0" ]
8
2019-12-13T14:45:32.000Z
2022-02-14T16:22:30.000Z
src/server_main.cc
magazino/tf_service
da63e90b062a57eb1280b589ef8f249be5d422c4
[ "Apache-2.0" ]
2
2020-07-29T08:47:50.000Z
2021-12-13T10:38:39.000Z
// Copyright 2019 Magazino GmbH // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to ...
36.063158
80
0.686223
magazino
1d0ebd650e004eb8f4e81f6a905b6b1723f5f9f7
63,741
cpp
C++
src/plugin/kernel/src/AFCKernelModule.cpp
ArkGame/ArkGameFrame
a7f8413dd416cd1ac5b12adbdd84f010f59f11e2
[ "Apache-2.0" ]
168
2016-08-18T07:24:48.000Z
2018-02-06T06:40:45.000Z
src/plugin/kernel/src/AFCKernelModule.cpp
Mu-L/ARK
a7f8413dd416cd1ac5b12adbdd84f010f59f11e2
[ "Apache-2.0" ]
11
2019-05-27T12:26:02.000Z
2021-05-12T02:45:16.000Z
src/plugin/kernel/src/AFCKernelModule.cpp
ArkGame/ArkGameFrame
a7f8413dd416cd1ac5b12adbdd84f010f59f11e2
[ "Apache-2.0" ]
51
2016-09-01T10:17:38.000Z
2018-02-06T10:45:25.000Z
/* * This source file is part of ARK * For the latest info, see https://github.com/ArkNX * * Copyright (c) 2013-2020 ArkNX 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 * ...
28.725101
120
0.643259
ArkGame
1d10590f67240a9e3501b73e806bb57d339aeb08
574
cpp
C++
UnitTest/OpenToolTest.cpp
Neuromancer2701/OpenTool
b109e1d798fcca92f23b12e1bb5de898361641a4
[ "Apache-2.0" ]
1
2017-08-30T05:59:47.000Z
2017-08-30T05:59:47.000Z
UnitTest/OpenToolTest.cpp
Neuromancer2701/OpenTool
b109e1d798fcca92f23b12e1bb5de898361641a4
[ "Apache-2.0" ]
null
null
null
UnitTest/OpenToolTest.cpp
Neuromancer2701/OpenTool
b109e1d798fcca92f23b12e1bb5de898361641a4
[ "Apache-2.0" ]
null
null
null
//============================================================================ // Name : OpenToolTest.cpp // Author : // Version : // Copyright : // Description : Hello World in C++, Ansi-style //============================================================================ #include "Server.h" #inclu...
17.393939
78
0.439024
Neuromancer2701
1d117be860a84dc612994f2ead8819ad6300b505
6,885
cpp
C++
src/cli.cpp
CynusW/pg-fetch
bbcd639dbdc67e94f8b02c99b267a12b24300465
[ "MIT" ]
1
2020-04-16T15:10:20.000Z
2020-04-16T15:10:20.000Z
src/cli.cpp
CynusW/pg-fetch
bbcd639dbdc67e94f8b02c99b267a12b24300465
[ "MIT" ]
null
null
null
src/cli.cpp
CynusW/pg-fetch
bbcd639dbdc67e94f8b02c99b267a12b24300465
[ "MIT" ]
null
null
null
#include "pgf/cli.hpp" #include "pgf/util.hpp" #include <cassert> namespace pgf { CommandOptionValue::CommandOptionValue(const CommandOptionValueType& type) : type(type) { switch (type) { case CommandOptionValueType::Int: data = 0; break; ...
28.6875
114
0.444735
CynusW
1d12265999bf15a69bf71cd08842c9fa6a5943cb
4,741
cpp
C++
src/dialog/PriceHistory.cpp
captain-igloo/greenthumb
39d62004e6f6b6fa7da52b3f6ff1c198b04e1d72
[ "MIT" ]
3
2019-04-08T19:17:51.000Z
2019-05-21T01:01:29.000Z
src/dialog/PriceHistory.cpp
captain-igloo/greenthumb
39d62004e6f6b6fa7da52b3f6ff1c198b04e1d72
[ "MIT" ]
1
2019-04-30T23:39:06.000Z
2019-07-27T00:07:20.000Z
src/dialog/PriceHistory.cpp
captain-igloo/greenthumb
39d62004e6f6b6fa7da52b3f6ff1c198b04e1d72
[ "MIT" ]
1
2019-02-28T09:22:18.000Z
2019-02-28T09:22:18.000Z
/** * Copyright 2020 Colin Doig. Distributed under the MIT license. */ #include <wx/wx.h> #include <wx/dcclient.h> #include <wx/dcmemory.h> #include <wx/file.h> #include <wx/sizer.h> #include <wx/mstream.h> #include <wx/stdpaths.h> #include <wx/stattext.h> #include <wx/wfstream.h> #include <wx/url.h> #include <curl...
31.606667
99
0.674119
captain-igloo
1d131892aa907fe7c6c9b8a43c537b45deac968d
382
hpp
C++
include/locic/Support/Hasher.hpp
scross99/locic
a24bb380e17f8af69e7389acf8ce354c91a2abf3
[ "MIT" ]
80
2015-02-19T21:38:57.000Z
2016-05-25T06:53:12.000Z
include/locic/Support/Hasher.hpp
scross99/locic
a24bb380e17f8af69e7389acf8ce354c91a2abf3
[ "MIT" ]
8
2015-02-20T09:47:20.000Z
2015-11-13T07:49:17.000Z
include/locic/Support/Hasher.hpp
scross99/locic
a24bb380e17f8af69e7389acf8ce354c91a2abf3
[ "MIT" ]
6
2015-02-20T11:26:19.000Z
2016-04-13T14:30:39.000Z
#ifndef LOCIC_SUPPORT_HASHER_HPP #define LOCIC_SUPPORT_HASHER_HPP #include <cstddef> #include <locic/Support/Hash.hpp> namespace locic{ class Hasher { public: Hasher(); void addValue(size_t value); template <typename T> void add(const T& object) { addValue(hashObject<T>(object)); } size_t...
12.322581
35
0.675393
scross99
1d14c8e3d86aa27baf03d1b5648d2047ed72ea52
3,198
hpp
C++
orca_topside/include/orca_topside/topside_widget.hpp
clydemcqueen/orca3
283a5c193948021cd4f6d75f97be9032e0703ad7
[ "MIT" ]
31
2020-11-23T17:26:36.000Z
2022-03-07T09:46:20.000Z
orca_topside/include/orca_topside/topside_widget.hpp
clydemcqueen/orca3
283a5c193948021cd4f6d75f97be9032e0703ad7
[ "MIT" ]
6
2021-04-29T17:47:31.000Z
2022-02-24T17:10:00.000Z
orca_topside/include/orca_topside/topside_widget.hpp
clydemcqueen/orca3
283a5c193948021cd4f6d75f97be9032e0703ad7
[ "MIT" ]
11
2021-02-12T12:16:05.000Z
2022-02-10T11:18:47.000Z
// MIT License // // Copyright (c) 2021 Clyde McQueen // // 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, modif...
30.169811
93
0.772358
clydemcqueen
1d1a805f6372f1eca7b7c40773034606e218253a
8,602
cpp
C++
sources/GS_CO_0.3/main.cpp
Jazzzy/GS_CO_FirstOpenGLProject
4048b15fdc75ecf826258c1193bb6da2f2b28e7a
[ "Apache-2.0" ]
null
null
null
sources/GS_CO_0.3/main.cpp
Jazzzy/GS_CO_FirstOpenGLProject
4048b15fdc75ecf826258c1193bb6da2f2b28e7a
[ "Apache-2.0" ]
null
null
null
sources/GS_CO_0.3/main.cpp
Jazzzy/GS_CO_FirstOpenGLProject
4048b15fdc75ecf826258c1193bb6da2f2b28e7a
[ "Apache-2.0" ]
null
null
null
#pragma once #define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <cmath> #include <Windows.h> #include "Camara.h" #include "objLoader.h" #include "player.h" #include "Luz.h" #include "hud.h" #include "mundo.h" #include "colisiones.h" #include <conio.h> #include <stdlib.h> #include <al\al.h> #include <al\alc.h>...
19.461538
150
0.666008
Jazzzy
1d1e65eb821351186e10c0160fe1b1419c21d2bc
3,786
cpp
C++
codeforces/1288f.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
1
2020-04-04T14:56:12.000Z
2020-04-04T14:56:12.000Z
codeforces/1288f.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
codeforces/1288f.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; struct MCMF { using F = int; const static F INF = 0x3f3f3f3f; // using F = long long; const static F INF = 0x3f3f3f3f3f3f3f3f; struct Edge { int v, bro; F cap, cost; Edge() {} Edge(int _v, int _bro, F _cap, F _cost) : v(_v), bro...
26.851064
93
0.368727
sogapalag
1d20c2d41c5beddc32aea4e0a322fc051891a8da
2,800
cpp
C++
Engine/Source/Editor/AudioEditor/Private/SoundSubmixGraphNode.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Editor/AudioEditor/Private/SoundSubmixGraphNode.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Editor/AudioEditor/Private/SoundSubmixGraphNode.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "SoundSubmixGraph/SoundSubmixGraphNode.h" #include "Sound/SoundSubmix.h" #include "SoundSubmixGraph/SoundSubmixGraphSchema.h" #include "SoundSubmixGraph/SoundSubmixGraph.h" #define LOCTEXT_NAMESPACE "SoundSubmixGraphNode" USoundSubmixGraphNode::US...
25.225225
131
0.756071
windystrife
1d22dee0f995a9780c5640ceacf6fdbcb0c4d5bf
5,048
cpp
C++
ecm/src/v20190719/model/PeakBase.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
ecm/src/v20190719/model/PeakBase.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
ecm/src/v20190719/model/PeakBase.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
28
2019-07-12T09:06:22.000Z
2022-03-30T08:04:18.000Z
/* * 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 ...
27.736264
140
0.695721
suluner
918f20f50d64eb3cfc21d7e7cd53b8b6c2a70df5
6,728
cc
C++
src/ShaderCompiler/Private/MetalCompiler.cc
PixPh/kaleido3d
8a8356586f33a1746ebbb0cfe46b7889d0ae94e9
[ "MIT" ]
38
2019-01-10T03:10:12.000Z
2021-01-27T03:14:47.000Z
src/ShaderCompiler/Private/MetalCompiler.cc
fuqifacai/kaleido3d
ec77753b516949bed74e959738ef55a0bd670064
[ "MIT" ]
null
null
null
src/ShaderCompiler/Private/MetalCompiler.cc
fuqifacai/kaleido3d
ec77753b516949bed74e959738ef55a0bd670064
[ "MIT" ]
8
2019-04-16T07:56:27.000Z
2020-11-19T02:38:37.000Z
#include <Kaleido3D.h> #include "MetalCompiler.h" #include <Core/Utils/MD5.h> #include <Core/Os.h> #include "GLSLangUtils.h" #include "SPIRVCrossUtils.h" #define METAL_BIN_DIR_MACOS "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/usr/bin/" #define METAL_BIN_DIR_IOS "/Applications/Xcode.app/Conten...
31.586854
121
0.582194
PixPh
9194384a31c83f2f72a2087ad9b27858c9062688
582
cpp
C++
libs/boost.fiber/libs/fiber/src/barrier.cpp
ghisguth/tasks
ce04926dbee2ab1204ed34e50dbce53f0303bde1
[ "MIT" ]
1
2016-11-18T02:34:18.000Z
2016-11-18T02:34:18.000Z
libs/boost.fiber/libs/fiber/src/barrier.cpp
ghisguth/tasks
ce04926dbee2ab1204ed34e50dbce53f0303bde1
[ "MIT" ]
null
null
null
libs/boost.fiber/libs/fiber/src/barrier.cpp
ghisguth/tasks
ce04926dbee2ab1204ed34e50dbce53f0303bde1
[ "MIT" ]
null
null
null
// Copyright Oliver Kowalke 2009. // 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) #include "boost/fiber/barrier.hpp" #include <boost/assert.hpp> namespace boost { namespace fibers { bool...
16.628571
61
0.651203
ghisguth
919a463419264750d166d11f2fcd75703cf8ae1f
32,321
cpp
C++
XRVessels/XRVesselCtrlDemo/ParserTreeNode.cpp
dbeachy1/XRVessels
8dd2d879886154de2f31fa75393d8a6ac56a2089
[ "MIT" ]
10
2021-08-20T05:49:10.000Z
2022-01-07T13:00:20.000Z
XRVessels/XRVesselCtrlDemo/ParserTreeNode.cpp
dbeachy1/XRVessels
8dd2d879886154de2f31fa75393d8a6ac56a2089
[ "MIT" ]
null
null
null
XRVessels/XRVesselCtrlDemo/ParserTreeNode.cpp
dbeachy1/XRVessels
8dd2d879886154de2f31fa75393d8a6ac56a2089
[ "MIT" ]
4
2021-09-11T12:08:01.000Z
2022-02-09T00:16:19.000Z
/** XR Vessel add-ons for OpenOrbiter Space Flight Simulator Copyright (C) 2006-2021 Douglas Beachy 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 3 of the License, or any...
42.696169
189
0.643173
dbeachy1
919d7d690b95402d371b19dc25e50af043a8fb21
2,188
cpp
C++
src/main.cpp
daichi-ishida/Visual-Simulation-of-Smoke
b925d0cfc86f642ab4ee9470e67360b2ab5adcb2
[ "MIT" ]
13
2018-06-12T11:42:19.000Z
2021-12-28T00:57:46.000Z
src/main.cpp
daichi-ishida/Visual-Simulation-of-Smoke
b925d0cfc86f642ab4ee9470e67360b2ab5adcb2
[ "MIT" ]
2
2018-05-10T13:32:02.000Z
2018-05-12T18:32:53.000Z
src/main.cpp
daichi-ishida/Visual-Simulation-of-Smoke
b925d0cfc86f642ab4ee9470e67360b2ab5adcb2
[ "MIT" ]
7
2020-01-06T07:07:19.000Z
2021-12-06T15:43:00.000Z
#include <memory> #include <sys/time.h> #define GLFW_INCLUDE_GLU #include <GL/glew.h> #include <GLFW/glfw3.h> #include <glm/glm.hpp> #include "constants.hpp" #include "Scene.hpp" #include "Simulator.hpp" #include "MACGrid.hpp" int main() { if (glfwInit() == GLFW_FALSE) { fprintf(stderr, "Initializatio...
25.149425
106
0.59415
daichi-ishida
91a7b84e71b83bb1d8f1f43442cbe90a3dafe442
1,143
cpp
C++
source/src/graphics.cpp
AndrewPomorski/KWCGame
b1a748ad0b11d44c6df329345e072cf63fcb5e16
[ "MIT" ]
null
null
null
source/src/graphics.cpp
AndrewPomorski/KWCGame
b1a748ad0b11d44c6df329345e072cf63fcb5e16
[ "MIT" ]
null
null
null
source/src/graphics.cpp
AndrewPomorski/KWCGame
b1a748ad0b11d44c6df329345e072cf63fcb5e16
[ "MIT" ]
null
null
null
#include "SDL.h" #include <SDL2/SDL_image.h> #include "graphics.h" #include "globals.h" /* * Graphics class implementation. * Holds all information dealing with game graphics. */ Graphics::Graphics(){ SDL_CreateWindowAndRenderer(globals::SCREEN_WIDTH, globals::SCREEN_HEIGHT, 0, &this->_window, &this->_renderer); SD...
22.86
113
0.741907
AndrewPomorski
91a8b666f9cf365fc0a1b889422c3d8fac1755d8
3,809
cpp
C++
qCC/ccColorGradientDlg.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
null
null
null
qCC/ccColorGradientDlg.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
null
null
null
qCC/ccColorGradientDlg.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
1
2019-02-03T12:19:42.000Z
2019-02-03T12:19:42.000Z
//########################################################################## //# # //# CLOUDCOMPARE # //# # //# This pr...
31.221311
101
0.631137
ohanlonl
91abcc4e5cff1535f9fe5d288498f031d2373a63
4,016
hpp
C++
include/public/coherence/io/pof/PofAnnotationSerializer.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-01T21:38:30.000Z
2021-11-03T01:35:11.000Z
include/public/coherence/io/pof/PofAnnotationSerializer.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
1
2020-07-24T17:29:22.000Z
2020-07-24T18:29:04.000Z
include/public/coherence/io/pof/PofAnnotationSerializer.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-10T18:40:58.000Z
2022-02-18T01:23:40.000Z
/* * Copyright (c) 2000, 2020, Oracle and/or its affiliates. * * Licensed under the Universal Permissive License v 1.0 as shown at * http://oss.oracle.com/licenses/upl. */ #ifndef COH_POF_ANNOTATION_SERIALIZER_HPP #define COH_POF_ANNOTATION_SERIALIZER_HPP #include "coherence/lang.ns" #include "coherence/io/pof/P...
33.190083
92
0.648904
chpatel3
91adf96fa00a4e220217519094393215a1cf1770
4,088
hpp
C++
Canvas/Canvas.hpp
sidmishraw/the-manipulator
f63e4a70dafa752a14411dadf89974aa948bfe54
[ "BSD-3-Clause" ]
1
2021-11-25T01:11:34.000Z
2021-11-25T01:11:34.000Z
Canvas/Canvas.hpp
sidmishraw/the-manipulator
f63e4a70dafa752a14411dadf89974aa948bfe54
[ "BSD-3-Clause" ]
null
null
null
Canvas/Canvas.hpp
sidmishraw/the-manipulator
f63e4a70dafa752a14411dadf89974aa948bfe54
[ "BSD-3-Clause" ]
null
null
null
// // Canvas.hpp // the-manipulator // // Created by Sidharth Mishra on 2/18/18. // #ifndef Canvas_hpp #define Canvas_hpp #include <memory> #include <map> #include "Picture.hpp" #include "Tmnper.hpp" namespace Manipulator { /** * The canvas where the pictures are drawn. */ using namespace s...
28
111
0.518836
sidmishraw
91b5701c29df069d7c47d5e8cdbb85b3183b0582
1,255
cpp
C++
graphs/dinic.cpp
hsnavarro/icpc-notebook
5e501ecdd56a2a719d2a3a5e99e09d926d7231a3
[ "MIT" ]
null
null
null
graphs/dinic.cpp
hsnavarro/icpc-notebook
5e501ecdd56a2a719d2a3a5e99e09d926d7231a3
[ "MIT" ]
null
null
null
graphs/dinic.cpp
hsnavarro/icpc-notebook
5e501ecdd56a2a719d2a3a5e99e09d926d7231a3
[ "MIT" ]
null
null
null
// Dinic - O(n^2 * m) // Max flow const int N = 1e5 + 5; const int INF = 0x3f3f3f3f; struct edge { int v, c, f; }; int n, s, t, h[N], st[N]; vector<edge> edgs; vector<int> g[N]; // directed from u to v with cap(u, v) = c void add_edge(int u, int v, int c) { int k = edgs.size(); edgs.push_back({...
19.920635
55
0.467729
hsnavarro
91b78f33891c2e2ba7f7dc198195baf90da2033d
4,582
cpp
C++
tests/tests/array/test_fixedlengtharray.cpp
jnory/YuNomi
c7a2750010d531af53a7a3007ca9b9e6b69dae93
[ "MIT" ]
8
2016-09-10T05:45:59.000Z
2019-04-06T13:27:18.000Z
tests/tests/array/test_fixedlengtharray.cpp
jnory/YuNomi
c7a2750010d531af53a7a3007ca9b9e6b69dae93
[ "MIT" ]
1
2017-11-18T19:49:37.000Z
2018-05-05T09:49:27.000Z
tests/tests/array/test_fixedlengtharray.cpp
jnory/YuNomi
c7a2750010d531af53a7a3007ca9b9e6b69dae93
[ "MIT" ]
1
2015-12-06T20:51:10.000Z
2015-12-06T20:51:10.000Z
#include "gtest/gtest.h" #include "yunomi/array/fixedlengtharray.hpp" TEST(TestFixedLengthArray, test_init){ yunomi::array::FixedLengthArray array(10, 1); EXPECT_EQ(10, array.size()); EXPECT_EQ(1, array.bits_per_slot()); } TEST(TestFixedLengthArray, test_ten_values){ yunomi::array::FixedLengthArray a...
29
64
0.576168
jnory
91b9c11ee85bd7fb70b44e8e5b0058dd47d0d269
7,635
hpp
C++
kernel/bb/Brick11/src/pilot.hpp
Bhaskers-Blu-Org2/Sora
6aa5411db71199e56d5cb24265b01a89f49b40f4
[ "BSD-2-Clause" ]
270
2015-07-17T15:43:43.000Z
2019-04-21T12:13:58.000Z
kernel/bb/Brick11/src/pilot.hpp
JamesLinus/Sora
6aa5411db71199e56d5cb24265b01a89f49b40f4
[ "BSD-2-Clause" ]
null
null
null
kernel/bb/Brick11/src/pilot.hpp
JamesLinus/Sora
6aa5411db71199e56d5cb24265b01a89f49b40f4
[ "BSD-2-Clause" ]
106
2015-07-20T10:40:34.000Z
2019-04-25T10:02:26.000Z
#pragma once #include "ieee80211a_cmn.h" #include "ieee80211facade.hpp" #include <intalg.h> // // Pilot sequence as defined in 802.11a // const char PilotSgn[128] = { 0, 0, 0, -1, -1, -1, 0, -1, -1, -1, -1, 0, 0, -1, 0, -1, -1, 0, 0, -1, 0, 0, -1, 0, 0, 0...
28.173432
101
0.472692
Bhaskers-Blu-Org2
91ba70ddc6aa008b545aa52db848a7b88fafef6e
1,238
cpp
C++
wpl1000/utility.cpp
ola-ct/gpstools
6a221553077139ad30e0ddf9ee155024ad7a4d26
[ "BSD-3-Clause" ]
null
null
null
wpl1000/utility.cpp
ola-ct/gpstools
6a221553077139ad30e0ddf9ee155024ad7a4d26
[ "BSD-3-Clause" ]
null
null
null
wpl1000/utility.cpp
ola-ct/gpstools
6a221553077139ad30e0ddf9ee155024ad7a4d26
[ "BSD-3-Clause" ]
null
null
null
// $Id$ // Copyright (c) 2009 Oliver Lau <oliver@ersatzworld.net> #include "stdafx.h" VOID Warn(LPTSTR lpszMessage) { MessageBox(NULL, (LPCTSTR)lpszMessage, TEXT("Fehler"), MB_OK); } VOID Error(LPTSTR lpszFunction, LONG lErrCode) { LPVOID lpMsgBuf; LPVOID lpDisplayBuf; if (lErrCode =...
27.511111
93
0.64378
ola-ct
91bbe1f1e423082754525c7a24e8c6c981b1580a
498
cpp
C++
DUT S2/M2103 - Prog Objet/cplus/tests_TPs/testTP1.cpp
Carduin/IUT
2642c23d3a3c4932ddaeb9d5f482be35def9273b
[ "MIT" ]
5
2022-02-08T09:36:54.000Z
2022-02-10T08:47:17.000Z
DUT S2/M2103 - Prog Objet/cplus/tests_TPs/testTP1.cpp
Carduin/IUT
2642c23d3a3c4932ddaeb9d5f482be35def9273b
[ "MIT" ]
null
null
null
DUT S2/M2103 - Prog Objet/cplus/tests_TPs/testTP1.cpp
Carduin/IUT
2642c23d3a3c4932ddaeb9d5f482be35def9273b
[ "MIT" ]
3
2021-12-10T16:11:46.000Z
2022-02-15T15:07:41.000Z
#include "Fenetre.h" #include "Souris.h" int main (int argc, char **argv){ gtk_init(&argc, &argv); Fenetre f; Souris s; int b, x, y; f.apparait("Test TP1",500,400,0,0,100,100,100); s.associerA(f); f.choixCouleurTrace(255,100,100); f.ecrit(10,100,"Bravo, vous avez bien parametre vot...
17.172414
77
0.608434
Carduin
91bf84920e2f84cee2312fae1434faf045fc4cc4
622
cpp
C++
source/globjects/source/AttachedRenderbuffer.cpp
kateyy/globjects
4c5fc073063ca52ea32ce0adb57009a3c52f72a8
[ "MIT" ]
18
2016-09-03T05:12:25.000Z
2022-02-23T15:52:33.000Z
external/globjects-0.5.0/source/globjects/source/AttachedRenderbuffer.cpp
3d-scan/rgbd-recon
c4a5614eaa55dd93c74da70d6fb3d813d74f2903
[ "MIT" ]
1
2016-05-04T09:06:29.000Z
2016-05-04T09:06:29.000Z
external/globjects-0.5.0/source/globjects/source/AttachedRenderbuffer.cpp
3d-scan/rgbd-recon
c4a5614eaa55dd93c74da70d6fb3d813d74f2903
[ "MIT" ]
7
2016-04-20T13:58:50.000Z
2018-07-09T15:47:26.000Z
#include <globjects/AttachedRenderbuffer.h> #include <cassert> #include <globjects/Renderbuffer.h> using namespace gl; namespace globjects { AttachedRenderbuffer::AttachedRenderbuffer(Framebuffer * fbo, const GLenum attachment, Renderbuffer * renderBuffer) : FramebufferAttachment(fbo, attachment) , m_renderBuffe...
17.771429
116
0.790997
kateyy
91bfc642eda962ce91587806eaa7a91d8024a553
4,510
cpp
C++
training/POJ/3728.cpp
voleking/ICPC
fc2cf408fa2607ad29b01eb00a1a212e6d0860a5
[ "MIT" ]
68
2017-10-08T04:44:23.000Z
2019-08-06T20:15:02.000Z
training/POJ/3728.cpp
voleking/ICPC
fc2cf408fa2607ad29b01eb00a1a212e6d0860a5
[ "MIT" ]
null
null
null
training/POJ/3728.cpp
voleking/ICPC
fc2cf408fa2607ad29b01eb00a1a212e6d0860a5
[ "MIT" ]
18
2017-05-31T02:52:23.000Z
2019-07-05T09:18:34.000Z
// written at 09:33 on 5 Mar 2017 #include <cctype> #include <cfloat> #include <climits> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <iostream> #include <string> #include <sstream> #include <algorithm> #include <complex> #include <deque> #include <list> #include <map> #include <qu...
29.096774
118
0.497339
voleking
91c2b85dd910620172b6fd358a4f88b066339835
1,042
cpp
C++
test/HW_B2/tests_task_D.cpp
GAlekseyV/YandexTraining
e49ce6616e2584a80857a8b2f45b700f12b1fb85
[ "Unlicense" ]
1
2021-09-21T23:24:37.000Z
2021-09-21T23:24:37.000Z
test/HW_B2/tests_task_D.cpp
GAlekseyV/YandexTraining
e49ce6616e2584a80857a8b2f45b700f12b1fb85
[ "Unlicense" ]
null
null
null
test/HW_B2/tests_task_D.cpp
GAlekseyV/YandexTraining
e49ce6616e2584a80857a8b2f45b700f12b1fb85
[ "Unlicense" ]
null
null
null
#include <algorithm> #include <catch2/catch.hpp> #include <vector> std::vector<int> calc_ans(const std::vector<int> &seq, int l); TEST_CASE("D. Лавочки в атриуме", " ") { REQUIRE(calc_ans({ 0, 2 }, 5) == std::vector<int>{ 2 }); REQUIRE(calc_ans({ 1, 4, 8, 11 }, 13) == std::vector<int>{ 4, 8 }); REQUIRE(calc_ans...
22.170213
77
0.53167
GAlekseyV
91c4a0ead6e52ce6c394ce7b7155be6042fb6f51
1,684
cpp
C++
tests/src/test_colors.cpp
jegabe/ColorMyConsole
825855916f93279477051c54715fe76a99629c2a
[ "MIT" ]
null
null
null
tests/src/test_colors.cpp
jegabe/ColorMyConsole
825855916f93279477051c54715fe76a99629c2a
[ "MIT" ]
null
null
null
tests/src/test_colors.cpp
jegabe/ColorMyConsole
825855916f93279477051c54715fe76a99629c2a
[ "MIT" ]
null
null
null
// (c) 2021 Jens Ganter-Benzing. Licensed under the MIT license. #include <iostream> #include <colmc/setup.h> #include <colmc/sequences.h> using namespace colmc; struct color { const char* esc_sequence; const char* name; }; const struct color bg_colors[] = { { back::black, "black " }, { back::red, "red ...
30.071429
132
0.589074
jegabe
91c6879681bb3ad66670d6360cc3f0a4fac38d31
2,807
cp
C++
Comm/Mod/Streams.cp
romiras/Blackbox-fw-playground
6de94dc65513e657a9b86c1772e2c07742b608a8
[ "BSD-2-Clause" ]
1
2016-03-17T08:27:05.000Z
2016-03-17T08:27:05.000Z
Comm/Mod/Streams.cps
Spirit-of-Oberon/LightBox
8a45ed11dcc02ae97e86f264dcee3e07c910ff9d
[ "BSD-2-Clause" ]
null
null
null
Comm/Mod/Streams.cps
Spirit-of-Oberon/LightBox
8a45ed11dcc02ae97e86f264dcee3e07c910ff9d
[ "BSD-2-Clause" ]
1
2018-03-14T17:53:27.000Z
2018-03-14T17:53:27.000Z
MODULE CommStreams; (** project = "BlackBox" organization = "www.oberon.ch" contributors = "Oberon microsystems" version = "System/Rsrc/About" copyright = "System/Rsrc/About" license = "Docu/BB-License" changes = "" issues = "" **) IMPORT Meta; CONST ...
32.639535
105
0.56466
romiras
91ca06b4ec287cce73acf4d73eb84dcf5e090adb
587
hxx
C++
src/include/Elastic/Apm/Config/IRawSnapshot.hxx
SergeyKleyman/elastic-apm-agent-cpp-prototype
67d2c7ad5a50e1a6b75d6725a89ae3fc5a92d517
[ "Apache-2.0" ]
null
null
null
src/include/Elastic/Apm/Config/IRawSnapshot.hxx
SergeyKleyman/elastic-apm-agent-cpp-prototype
67d2c7ad5a50e1a6b75d6725a89ae3fc5a92d517
[ "Apache-2.0" ]
null
null
null
src/include/Elastic/Apm/Config/IRawSnapshot.hxx
SergeyKleyman/elastic-apm-agent-cpp-prototype
67d2c7ad5a50e1a6b75d6725a89ae3fc5a92d517
[ "Apache-2.0" ]
null
null
null
#pragma once #include "Elastic/Apm/Util/String.hxx" #include "Elastic/Apm/Util/Optional.hxx" namespace Elastic { namespace Apm { namespace Config { using namespace Elastic::Apm; class IRawSnapshot { protected: using String = Util::String; template< typename T > using Optional = Util::Optional< T >; p...
16.305556
78
0.667802
SergeyKleyman
91cad30ec6590d8dda7374c959f0048d19154093
467
cpp
C++
src/receivers/evaluator/IdentifierReceiverEvaluator.cpp
benhj/arrow
a88caec0bcf44f70343d6f8d3a4be5790d903ddb
[ "MIT" ]
19
2019-12-10T07:35:08.000Z
2021-09-27T11:49:37.000Z
src/receivers/evaluator/IdentifierReceiverEvaluator.cpp
benhj/arrow
a88caec0bcf44f70343d6f8d3a4be5790d903ddb
[ "MIT" ]
22
2020-02-09T15:39:53.000Z
2020-03-02T19:04:40.000Z
src/receivers/evaluator/IdentifierReceiverEvaluator.cpp
benhj/arrow
a88caec0bcf44f70343d6f8d3a4be5790d903ddb
[ "MIT" ]
2
2020-02-17T21:20:43.000Z
2020-03-02T00:42:08.000Z
/// (c) Ben Jones 2019 #include "IdentifierReceiverEvaluator.hpp" #include "parser/LanguageException.hpp" #include <utility> namespace arrow { IdentifierReceiverEvaluator::IdentifierReceiverEvaluator(Token tok) : m_tok(std::move(tok)) { } void IdentifierReceiverEvaluator::evaluate(Type incomi...
24.578947
94
0.702355
benhj
91ce8c90b43c369c3352048a25ece820de97be26
814
cpp
C++
src/Frameworks/PythonFramework/PythonSchedulePipe.cpp
Terryhata6/Mengine
dfe36fdc84d7398fbbbd199feffc46c6f157f1d4
[ "MIT" ]
39
2016-04-21T03:25:26.000Z
2022-01-19T14:16:38.000Z
src/Frameworks/PythonFramework/PythonSchedulePipe.cpp
Terryhata6/Mengine
dfe36fdc84d7398fbbbd199feffc46c6f157f1d4
[ "MIT" ]
23
2016-06-28T13:03:17.000Z
2022-02-02T10:11:54.000Z
src/Frameworks/PythonFramework/PythonSchedulePipe.cpp
Terryhata6/Mengine
dfe36fdc84d7398fbbbd199feffc46c6f157f1d4
[ "MIT" ]
14
2016-06-22T20:45:37.000Z
2021-07-05T12:25:19.000Z
#include "PythonSchedulePipe.h" namespace Mengine { ////////////////////////////////////////////////////////////////////////// PythonSchedulePipe::PythonSchedulePipe() { } ////////////////////////////////////////////////////////////////////////// PythonSchedulePipe::~PythonSchedulePipe() { ...
31.307692
97
0.388206
Terryhata6
91d1246dbb9d80b62a7368a32a0b933ea8a5ccea
5,318
cpp
C++
services/common/platform/os_wrapper/feature/source/slide_window_processor.cpp
openharmony-gitee-mirror/ai_engine
abf3eee0b07b68ff49e984d787545c532370f973
[ "Apache-2.0" ]
2
2021-10-03T08:57:00.000Z
2021-10-03T12:28:52.000Z
services/common/platform/os_wrapper/feature/source/slide_window_processor.cpp
openharmony-gitee-mirror/ai_engine
abf3eee0b07b68ff49e984d787545c532370f973
[ "Apache-2.0" ]
null
null
null
services/common/platform/os_wrapper/feature/source/slide_window_processor.cpp
openharmony-gitee-mirror/ai_engine
abf3eee0b07b68ff49e984d787545c532370f973
[ "Apache-2.0" ]
2
2021-09-13T11:15:25.000Z
2021-10-03T08:57:11.000Z
/* * Copyright (c) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
36.176871
115
0.672245
openharmony-gitee-mirror
91d1a1704e26fdad9ce7d50a91d33736456872b1
2,677
cpp
C++
src/EnemyController.cpp
CS126SP20/final-project-Tejesh2001
70a5d11504f968714392c92d70c472c38e4b0116
[ "MIT" ]
null
null
null
src/EnemyController.cpp
CS126SP20/final-project-Tejesh2001
70a5d11504f968714392c92d70c472c38e4b0116
[ "MIT" ]
null
null
null
src/EnemyController.cpp
CS126SP20/final-project-Tejesh2001
70a5d11504f968714392c92d70c472c38e4b0116
[ "MIT" ]
1
2020-09-06T12:47:47.000Z
2020-09-06T12:47:47.000Z
#pragma once #include "mylibrary/EnemyController.h" #include <cinder/app/AppBase.h> #include "cinder/Rand.h" #include "mylibrary/CoordinateConversions.h" #include "mylibrary/ProjectWideConstants.h" namespace mylibrary { using std::list; EnemyController::EnemyController() = default; void EnemyController::setup(b2World...
29.417582
77
0.694061
CS126SP20
91d36c33b4309f5b67ce330f27d457282e6e7748
3,077
cpp
C++
tests/test_task_wine.cpp
accosmin/zob
9e840894ffd6ab718fa800aca67e4a25e941e546
[ "MIT" ]
6
2015-04-14T19:42:38.000Z
2015-11-12T17:41:35.000Z
tests/test_task_wine.cpp
cyy1991/nano
9e840894ffd6ab718fa800aca67e4a25e941e546
[ "MIT" ]
93
2015-04-10T19:02:38.000Z
2016-03-09T17:56:16.000Z
tests/test_task_wine.cpp
accosmin/zob
9e840894ffd6ab718fa800aca67e4a25e941e546
[ "MIT" ]
2
2015-05-27T16:42:31.000Z
2015-08-21T14:39:55.000Z
#include "task.h" #include "utest.h" using namespace nano; NANO_BEGIN_MODULE(test_wine) NANO_CASE(failed) { const auto task = get_tasks().get("wine"); NANO_REQUIRE(task); task->from_json(to_json("path", "/dev/null?!")); NANO_CHECK(!task->load()); } NANO_CASE(default_config) { ...
34.573034
110
0.524212
accosmin
91d6c987140b6541aca2aed66d50f33a51601c24
4,924
cpp
C++
dev/Code/Sandbox/Editor/PropertiesDialog.cpp
crazyskateface/lumberyard
164512f8d415d6bdf37e195af319ffe5f96a8f0b
[ "AML" ]
5
2018-08-17T21:05:55.000Z
2021-04-17T10:48:26.000Z
dev/Code/Sandbox/Editor/PropertiesDialog.cpp
JulianoCristian/Lumberyard-3
dc523dd780f3cd1874251181b7cf6848b8db9959
[ "AML" ]
null
null
null
dev/Code/Sandbox/Editor/PropertiesDialog.cpp
JulianoCristian/Lumberyard-3
dc523dd780f3cd1874251181b7cf6848b8db9959
[ "AML" ]
5
2017-12-05T16:36:00.000Z
2021-04-27T06:33:54.000Z
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
26.907104
133
0.647238
crazyskateface
91d9b1be00d77e8275bd5320f99ca23afed93674
509
hpp
C++
src/Engine/Scene/Scene.hpp
Liljan/Ape-Engine
174842ada3a565e83569722837b242fa9faa4114
[ "MIT" ]
null
null
null
src/Engine/Scene/Scene.hpp
Liljan/Ape-Engine
174842ada3a565e83569722837b242fa9faa4114
[ "MIT" ]
null
null
null
src/Engine/Scene/Scene.hpp
Liljan/Ape-Engine
174842ada3a565e83569722837b242fa9faa4114
[ "MIT" ]
null
null
null
#pragma once #include "Engine/Datatypes.hpp" #include <SFML/Graphics/RenderWindow.hpp> class SceneManager; class ResourceManager; class Scene { public: ~Scene() = default; virtual void HandleInput(sf::Event& event) = 0; virtual void Update(float dt) = 0; virtual void Draw(sf::RenderWindow& window) = 0; virtu...
18.178571
49
0.72888
Liljan
91daa744e6036e1ebcf5ffd4390aefcb7762e1e3
3,539
cpp
C++
HackerRank/SherlocAndMiniMax.cpp
andrasigneczi/cpp_lang_taining
1198df6a896d0f6fce281e069abba88ef40598fc
[ "Apache-2.0" ]
null
null
null
HackerRank/SherlocAndMiniMax.cpp
andrasigneczi/cpp_lang_taining
1198df6a896d0f6fce281e069abba88ef40598fc
[ "Apache-2.0" ]
null
null
null
HackerRank/SherlocAndMiniMax.cpp
andrasigneczi/cpp_lang_taining
1198df6a896d0f6fce281e069abba88ef40598fc
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using ull = unsigned long long; vector<string> split_string(string); // Complete the sherlockAndMinimax function below. int sherlockAndMinimax_(vector<int> arr, int p, int q) { set<int> arr2(arr.begin(), arr.end()); int retVal = p; int maX = -1; int beg =...
23.751678
115
0.472167
andrasigneczi
91de5fa1a8e651537de6d2da28989c95dbbf40f9
10,420
cpp
C++
Source/Mesh.cpp
DavidColson/Polybox
6c3d5939c4baa124e5113fd4146a654f6005e7f6
[ "MIT" ]
252
2021-08-18T10:43:37.000Z
2022-03-20T18:43:59.000Z
Source/Mesh.cpp
DavidColson/Polybox
6c3d5939c4baa124e5113fd4146a654f6005e7f6
[ "MIT" ]
3
2021-12-01T09:08:33.000Z
2022-01-14T08:56:19.000Z
Source/Mesh.cpp
DavidColson/Polybox
6c3d5939c4baa124e5113fd4146a654f6005e7f6
[ "MIT" ]
10
2021-11-30T16:17:54.000Z
2022-03-28T17:56:18.000Z
#include "Mesh.h" #include "Core/Json.h" #include "Core/Base64.h" #include <SDL_rwops.h> #include <string> // *********************************************************************** int Primitive::GetNumVertices() { return (int)m_vertices.size(); } // **********************************************************...
30.828402
174
0.533685
DavidColson
91de6d6f2835be44a67f4886901402cab72c55e3
4,432
hh
C++
net.ssa/xrLC/OpenMesh/Tools/Utils/MeshCheckerT.hh
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:19.000Z
2022-03-26T17:00:19.000Z
xrLC/OpenMesh/Tools/Utils/MeshCheckerT.hh
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
null
null
null
xrLC/OpenMesh/Tools/Utils/MeshCheckerT.hh
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:21.000Z
2022-03-26T17:00:21.000Z
//============================================================================= // // OpenMesh // Copyright (C) 2003 by Computer Graphics Group, RWTH Aachen ...
38.53913
80
0.38944
ixray-team
91de7e1728ff20b377605f083a700c47bb1f9670
1,650
cpp
C++
vision_slam/VO/opticalflow_direct/direct_method.cpp
kant/VO
2acf9cb88eb2ec43adc272b57fd140bcace53e97
[ "MIT" ]
1
2021-03-20T04:52:45.000Z
2021-03-20T04:52:45.000Z
vision_slam/VO/opticalflow_direct/direct_method.cpp
kant/VO
2acf9cb88eb2ec43adc272b57fd140bcace53e97
[ "MIT" ]
null
null
null
vision_slam/VO/opticalflow_direct/direct_method.cpp
kant/VO
2acf9cb88eb2ec43adc272b57fd140bcace53e97
[ "MIT" ]
1
2021-06-05T23:30:49.000Z
2021-06-05T23:30:49.000Z
#include <iostream> #include <fstream> #include <list> #include <vector> #include <chrono> #include <ctime> #include <climits> #include <opencv2/core/core.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/features2d/features2d.hpp> #include <g2o/core/base_unary_edge....
27.5
110
0.695152
kant
91e8f446e650ca0fded7d5f413dc6a1eda5c0fc9
1,707
cpp
C++
sources/game/spatial.cpp
ucpu/mazetd
f6ef70a142579b558caa4a7d0e5bdd8177e5fa75
[ "MIT" ]
2
2021-06-27T01:58:23.000Z
2021-08-16T20:24:29.000Z
sources/game/spatial.cpp
ucpu/mazetd
f6ef70a142579b558caa4a7d0e5bdd8177e5fa75
[ "MIT" ]
2
2022-02-03T23:40:10.000Z
2022-03-15T06:22:29.000Z
sources/game/spatial.cpp
ucpu/mazetd
f6ef70a142579b558caa4a7d0e5bdd8177e5fa75
[ "MIT" ]
1
2022-01-26T21:07:41.000Z
2022-01-26T21:07:41.000Z
#include <cage-core/entitiesVisitor.h> #include <cage-core/spatialStructure.h> #include "../game.h" #include "../grid.h" namespace { Holder<SpatialStructure> monstersData = newSpatialStructure({}); Holder<SpatialStructure> structsData = newSpatialStructure({}); Holder<SpatialQuery> monstersQuery = newSpatialQuery(...
23.708333
90
0.727592
ucpu
91eb95f6a67a682eb83e45a9575e14e3f217c3b9
372
cpp
C++
Core/Logger/src/Logger.cpp
WSeegers/-toy-StackMachine
4d1c1b487369604f931f4bfa459e350b5349a9c3
[ "MIT" ]
null
null
null
Core/Logger/src/Logger.cpp
WSeegers/-toy-StackMachine
4d1c1b487369604f931f4bfa459e350b5349a9c3
[ "MIT" ]
null
null
null
Core/Logger/src/Logger.cpp
WSeegers/-toy-StackMachine
4d1c1b487369604f931f4bfa459e350b5349a9c3
[ "MIT" ]
null
null
null
#include "../include/Logger.hpp" #include <iostream> void Logger::LexicalError(const std::string &msg, int line, int index) { std::cerr << "Lexical Error -> " << line << ":" << index << " : " << msg << std::endl; } void Logger::RuntimeError(const std::string &msg, int line) { std::cerr << "Runtime Error -> L...
23.25
70
0.572581
WSeegers
91ef59cbd345291b9cbc8c26db1740a71088a7ff
4,449
cpp
C++
src/Psn/Exports.cpp
ahmed-agiza/OpenPhySyn
51841240e5213a7e74bc6321bbe4193323378c8e
[ "BSD-3-Clause" ]
null
null
null
src/Psn/Exports.cpp
ahmed-agiza/OpenPhySyn
51841240e5213a7e74bc6321bbe4193323378c8e
[ "BSD-3-Clause" ]
null
null
null
src/Psn/Exports.cpp
ahmed-agiza/OpenPhySyn
51841240e5213a7e74bc6321bbe4193323378c8e
[ "BSD-3-Clause" ]
null
null
null
// BSD 3-Clause License // Copyright (c) 2019, SCALE Lab, Brown University // 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 n...
22.469697
80
0.710497
ahmed-agiza
91f3b792dec221d489aa79578b01b1f483bfe1c8
22,008
cpp
C++
SimplECircuitCybSys/src/SimplECircuitCybSys.cpp
gpvigano/DigitalScenarioFramework
a1cab48df1f4a3d9b54e6cf00c5d0d0058e771f1
[ "MIT" ]
1
2021-12-21T17:28:39.000Z
2021-12-21T17:28:39.000Z
SimplECircuitCybSys/src/SimplECircuitCybSys.cpp
gpvigano/DigitalScenarioFramework
a1cab48df1f4a3d9b54e6cf00c5d0d0058e771f1
[ "MIT" ]
null
null
null
SimplECircuitCybSys/src/SimplECircuitCybSys.cpp
gpvigano/DigitalScenarioFramework
a1cab48df1f4a3d9b54e6cf00c5d0d0058e771f1
[ "MIT" ]
null
null
null
//--------------------------------------------------------------------// // Digital Scenario Framework // // by Giovanni Paolo Vigano', 2021 // //--------------------------------------------------------------------// // // Distributed under the ...
25.325662
129
0.639313
gpvigano
91f65d12c52f59ce95cf6cfcb87d5e478ce374e8
1,860
cpp
C++
SDLClassesTests/SurfaceTest.cpp
SmallLuma/SDLClasses
6348dd5d75b366d5e5e67f4074d7ebe0bd2173ee
[ "Zlib" ]
4
2017-06-27T03:34:32.000Z
2018-03-12T01:30:25.000Z
SDLClassesTests/SurfaceTest.cpp
SmallLuma/SDLClasses
6348dd5d75b366d5e5e67f4074d7ebe0bd2173ee
[ "Zlib" ]
null
null
null
SDLClassesTests/SurfaceTest.cpp
SmallLuma/SDLClasses
6348dd5d75b366d5e5e67f4074d7ebe0bd2173ee
[ "Zlib" ]
null
null
null
#include "stdafx.h" #include "CppUnitTest.h" #include <SDLInstance.h> #include <Window.h> #include <Vector4.h> using namespace Microsoft::VisualStudio::CppUnitTestFramework; namespace SDLClassesTests { TEST_CLASS(SurfaceTest) { public: TEST_METHOD(SimpleDraw) { using namespace SDL; ::SDL::SDLInstance sd...
25.833333
114
0.649462
SmallLuma
91f82f77b5df8436fbb041aa30b09d76d3c6190c
1,254
hpp
C++
include/codegen/include/UnityEngine/AddComponentMenu.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/UnityEngine/AddComponentMenu.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/UnityEngine/AddComponentMenu.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:10:29 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: System.Attribute #include "System/Attribute.hpp" #include "u...
35.828571
90
0.698565
Futuremappermydud
91fe1f3f1f9adda77b276622415cd80ae8fdd668
1,904
cpp
C++
gui/menu-predicate.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
10
2016-12-28T22:06:31.000Z
2021-05-24T13:42:30.000Z
gui/menu-predicate.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
4
2015-10-09T23:55:10.000Z
2020-04-04T08:09:22.000Z
gui/menu-predicate.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
null
null
null
// -*- coding: us-ascii-unix -*- // Copyright 2012 Lukas Kemmer // // 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...
37.333333
80
0.703256
lukas-ke
91fe5ec015a859e4baf8fbfd0bede4e736578a86
1,417
hpp
C++
node/silkworm/stagedsync/stage_senders.hpp
elmato/silkworm
711c73547cd1f7632ff02d5f86dfac5b0d249344
[ "Apache-2.0" ]
null
null
null
node/silkworm/stagedsync/stage_senders.hpp
elmato/silkworm
711c73547cd1f7632ff02d5f86dfac5b0d249344
[ "Apache-2.0" ]
null
null
null
node/silkworm/stagedsync/stage_senders.hpp
elmato/silkworm
711c73547cd1f7632ff02d5f86dfac5b0d249344
[ "Apache-2.0" ]
null
null
null
/* Copyright 2021-2022 The Silkworm Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ag...
32.953488
101
0.754411
elmato
6201580492f357eb45a9360ec184df9935f3f922
668
cpp
C++
UVA00455.cpp
MaSteve/UVA-problems
3a240fcca02e24a9c850b7e86062f8581df6f95f
[ "MIT" ]
17
2015-12-08T18:50:03.000Z
2022-03-16T01:23:20.000Z
UVA00455.cpp
MaSteve/UVA-problems
3a240fcca02e24a9c850b7e86062f8581df6f95f
[ "MIT" ]
null
null
null
UVA00455.cpp
MaSteve/UVA-problems
3a240fcca02e24a9c850b7e86062f8581df6f95f
[ "MIT" ]
6
2017-04-04T18:16:23.000Z
2020-06-28T11:07:22.000Z
#include <iostream> using namespace std; int main() { int T; bool first = false; cin >> T; while (T--) { if (first) printf("\n"); else first = true; string s; cin >> s; int i = 1; for (; i < s.length(); i++) { if (s.length() % i == 0) { ...
23.034483
72
0.314371
MaSteve
6201cd24ce5a7f05c39a41e0ccc84a601d0df075
518
cc
C++
c++/Programmazione 2/funzionisuperiori.cc
paoli7612/homework
17a0d8f9bfbbcbe6a615a5b9e2b2276ac5e6f267
[ "Apache-2.0" ]
null
null
null
c++/Programmazione 2/funzionisuperiori.cc
paoli7612/homework
17a0d8f9bfbbcbe6a615a5b9e2b2276ac5e6f267
[ "Apache-2.0" ]
null
null
null
c++/Programmazione 2/funzionisuperiori.cc
paoli7612/homework
17a0d8f9bfbbcbe6a615a5b9e2b2276ac5e6f267
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; int map(int (*fun)(const int*, const int), const int* array, const int len) { return fun(array, len); } int sum(const int* array, const int len) { int s = 0; for (int i=0; i<len; i++) s += array[i]; return s; } int prod(const int* array, const int len) { int s = 1; f...
14.388889
75
0.571429
paoli7612