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
2781f20cc59b853f6ec7a82b620e3a0f1f376ff2
28,342
cc
C++
service/auto/Spi.cc
lilinj2000/cata
a4f63913fc8e2b8015fa94c3baf51b3934d57637
[ "Apache-2.0" ]
null
null
null
service/auto/Spi.cc
lilinj2000/cata
a4f63913fc8e2b8015fa94c3baf51b3934d57637
[ "Apache-2.0" ]
null
null
null
service/auto/Spi.cc
lilinj2000/cata
a4f63913fc8e2b8015fa94c3baf51b3934d57637
[ "Apache-2.0" ]
1
2021-08-21T09:19:08.000Z
2021-08-21T09:19:08.000Z
void MDSpiImpl::OnFrontConnected() { SOIL_FUNC_TRACE; } void MDSpiImpl::OnFrontDisconnected( int nReason) { SOIL_FUNC_TRACE; SOIL_DEBUG_PRINT(nReason); } void MDSpiImpl::OnHeartBeatWarning( int nTimeLapse) { SOIL_FUNC_TRACE; SOIL_DEBUG_PRINT(nTimeLapse); } void MDSpiImpl::OnRspAuthenticate( CThostFtdcRspAu...
19.586731
78
0.811975
lilinj2000
27836637b1c8d8e2ece8d9fcebc6989f35efa4f0
34,419
cpp
C++
src/widgetopengldraw.cpp
jonpas/FERI-OpenGL
6cdf079dc2ed27ead53774ca5fdeb518a83fada9
[ "MIT" ]
null
null
null
src/widgetopengldraw.cpp
jonpas/FERI-OpenGL
6cdf079dc2ed27ead53774ca5fdeb518a83fada9
[ "MIT" ]
null
null
null
src/widgetopengldraw.cpp
jonpas/FERI-OpenGL
6cdf079dc2ed27ead53774ca5fdeb518a83fada9
[ "MIT" ]
null
null
null
#include "widgetopengldraw.h" WidgetOpenGLDraw::WidgetOpenGLDraw(QWidget *parent) : QOpenGLWidget(parent) { setMouseTracking(true); updateCameraFront(); std::random_device rd; rng = std::mt19937(rd()); } WidgetOpenGLDraw::~WidgetOpenGLDraw() { // Clean state gl.glDeleteProgram(programShaderID...
40.350528
164
0.630175
jonpas
95970213c76d95fd6fc8c0f6d18e242c1c502780
4,419
cpp
C++
code/clustered_setup/fgm-master/LSGMcode-master/algorithms/graphm-0.52/algorithm_umeyama.cpp
mk2510/jointGraphMatchingAndClustering
52f579a07d106cb241d21dbc29a2ec9e9c77b254
[ "Unlicense" ]
10
2015-08-27T14:10:38.000Z
2021-02-08T21:38:55.000Z
code/clustered_setup/fgm-master/LSGMcode-master/algorithms/graphm-0.52/algorithm_umeyama.cpp
mk2510/jointGraphMatchingAndClustering
52f579a07d106cb241d21dbc29a2ec9e9c77b254
[ "Unlicense" ]
2
2015-02-20T01:53:58.000Z
2016-08-24T11:14:00.000Z
code/clustered_setup/fgm-master/LSGMcode-master/algorithms/graphm-0.52/algorithm_umeyama.cpp
mk2510/jointGraphMatchingAndClustering
52f579a07d106cb241d21dbc29a2ec9e9c77b254
[ "Unlicense" ]
7
2016-08-23T11:44:05.000Z
2021-08-06T01:41:25.000Z
/*************************************************************************** * Copyright (C) 2008 by Mikhail Zaslavskiy * * mikhail.zaslavskiy@ensmp.fr * * * * This program is free software; you can redistribute it and/or modify * *...
47.010638
113
0.661914
mk2510
9598d34a7577c3b1097b2cdac4e5058f7affa603
683
cpp
C++
drivers/port_io/port_io.cpp
Tomer2003/ro-os
843b0258e8d14de7cc24f9ae9bfa19fe02ccd00d
[ "MIT" ]
null
null
null
drivers/port_io/port_io.cpp
Tomer2003/ro-os
843b0258e8d14de7cc24f9ae9bfa19fe02ccd00d
[ "MIT" ]
null
null
null
drivers/port_io/port_io.cpp
Tomer2003/ro-os
843b0258e8d14de7cc24f9ae9bfa19fe02ccd00d
[ "MIT" ]
null
null
null
#include "port_io.hpp" void portWriteByte(unsigned short portAddress, unsigned char data) { __asm__ __volatile__("out %%al, %%dx" :: "a"(data), "d"(portAddress)); } unsigned char portReadByte(unsigned short portAddress) { unsigned char result; __asm__ __volatile__("in %%dx, %%al" : "=a"(result) : "d"(port...
27.32
76
0.679356
Tomer2003
95991eec4f58418a24c0ac505366c668ae00c770
459
hpp
C++
include/portable/cxx.hpp
matrixjoeq/candy
53fe18d8b68d2f131c8e1c8f76c7d9b7f752bbdc
[ "MIT" ]
null
null
null
include/portable/cxx.hpp
matrixjoeq/candy
53fe18d8b68d2f131c8e1c8f76c7d9b7f752bbdc
[ "MIT" ]
null
null
null
include/portable/cxx.hpp
matrixjoeq/candy
53fe18d8b68d2f131c8e1c8f76c7d9b7f752bbdc
[ "MIT" ]
null
null
null
#pragma once #include <type_traits> namespace candy { template <bool B, class T = void> using EnableIf = typename std::enable_if<B, T>::type; template <class T> using ResultOf = typename std::result_of<T>::type; template <class Base, class Derived> inline constexpr bool isBaseOf() { return std::is_base_of<Base...
17.653846
53
0.714597
matrixjoeq
959b5abb8eb5b8790f60e6eb93d6b4aa7fad2380
5,731
cpp
C++
client/http_secure_args.cpp
boazsade/http_client
5e7a97c73da7e22685c29177581bf9c95e73f2ec
[ "MIT" ]
null
null
null
client/http_secure_args.cpp
boazsade/http_client
5e7a97c73da7e22685c29177581bf9c95e73f2ec
[ "MIT" ]
null
null
null
client/http_secure_args.cpp
boazsade/http_client
5e7a97c73da7e22685c29177581bf9c95e73f2ec
[ "MIT" ]
null
null
null
#include "http_secure_args.h" namespace http { namespace { namespace ssl = boost::asio::ssl; ssl::context init_context(const https_config& conf) { int proto = conf.security_type(); if (proto == -1) { proto = ssl::context_base::sslv23; } ssl::context ctx((ssl::context::method)proto); if (...
24.491453
140
0.61019
boazsade
95a2502d0f83bdf392fc3037a78b0db10a6d1f06
15,415
cpp
C++
src/apps/mplayerc/EditListEditor.cpp
chinajeffery/MPC-BE--1.2.3
2229fde5535f565ba4a496a7f73267bd2c1ad338
[ "MIT" ]
null
null
null
src/apps/mplayerc/EditListEditor.cpp
chinajeffery/MPC-BE--1.2.3
2229fde5535f565ba4a496a7f73267bd2c1ad338
[ "MIT" ]
1
2019-11-14T04:18:32.000Z
2019-11-14T04:18:32.000Z
src/apps/mplayerc/EditListEditor.cpp
chinajeffery/MPC-BE--1.2.3
2229fde5535f565ba4a496a7f73267bd2c1ad338
[ "MIT" ]
null
null
null
/* * $Id: EditListEditor.cpp 2326 2013-03-21 12:41:26Z aleksoid $ * * (C) 2006-2013 see Authors.txt * * This file is part of MPC-BE. * * MPC-BE 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 v...
22.50365
128
0.69108
chinajeffery
95a359e0389511a9ef04afe8b0c37ab9c07567f2
1,801
cpp
C++
leetcode/ComboSumIV.cpp
tzaffi/cpp
43d99e70d8fa712f90ea0f6147774e4e0f2b11da
[ "MIT" ]
null
null
null
leetcode/ComboSumIV.cpp
tzaffi/cpp
43d99e70d8fa712f90ea0f6147774e4e0f2b11da
[ "MIT" ]
null
null
null
leetcode/ComboSumIV.cpp
tzaffi/cpp
43d99e70d8fa712f90ea0f6147774e4e0f2b11da
[ "MIT" ]
null
null
null
// // Created by zeph on 11/25/16. // /** * Combination Sum IV Difficulty: Medium Given an integer array with all positive numbers and no duplicates, find the number of possible combinations that add up to a positive integer target. Example: nums = [1, 2, 3] target = 4 The possible combination ways are: (1, 1, 1,...
21.963415
83
0.605219
tzaffi
95a3a88dfd385f25bc0715b90db46922bea8d373
5,625
cpp
C++
src/mongo/util/alarm.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/util/alarm.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/util/alarm.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2018-present MongoDB, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the Server Side Public License, version 1, * as published by MongoDB, Inc. * * This program is distributed in the hope that it will be useful, * but W...
32.894737
98
0.657244
benety
95ac5b8bf81d55048ebc62024c8209171266b8cd
7,064
cpp
C++
Nacro/SDK/FN_QuestUpdatesLog_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
11
2021-08-08T23:25:10.000Z
2022-02-19T23:07:22.000Z
Nacro/SDK/FN_QuestUpdatesLog_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
1
2022-01-01T22:51:59.000Z
2022-01-08T16:14:15.000Z
Nacro/SDK/FN_QuestUpdatesLog_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
8
2021-08-09T13:51:54.000Z
2022-01-26T20:33:37.000Z
// Fortnite (1.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "../SDK.hpp" namespace SDK { //--------------------------------------------------------------------------- //Functions //--------------------------------------------------------------------------- // Function QuestUpdatesLog.QuestUpdates...
31.67713
163
0.76359
Milxnor
95afc1b5eb96e3c20a7a848421c691ce9c46a11a
12,766
cpp
C++
EXAMPLES/Controls/SingleInst/singleinstance.cpp
earthsiege2/borland-cpp-ide
09bcecc811841444338e81b9c9930c0e686f9530
[ "Unlicense", "FSFAP", "Apache-1.1" ]
1
2022-01-13T01:03:55.000Z
2022-01-13T01:03:55.000Z
EXAMPLES/Controls/SingleInst/singleinstance.cpp
earthsiege2/borland-cpp-ide
09bcecc811841444338e81b9c9930c0e686f9530
[ "Unlicense", "FSFAP", "Apache-1.1" ]
null
null
null
EXAMPLES/Controls/SingleInst/singleinstance.cpp
earthsiege2/borland-cpp-ide
09bcecc811841444338e81b9c9930c0e686f9530
[ "Unlicense", "FSFAP", "Apache-1.1" ]
null
null
null
//--------------------------------------------------------------------------- #include <vcl.h> #pragma hdrstop #define NDEBUG #include <cassert> #include "SingleInstance.h" #pragma package(smart_init) //--------------------------------------------------------------------------- // ValidCtrCheck is used to a...
26.819328
96
0.624315
earthsiege2
95aff5bb20c5b67c58315b74f1a3c25b255d2b2f
996
hpp
C++
library/ATF/_attack_selfdestruction_result_zoclInfo.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/_attack_selfdestruction_result_zoclInfo.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/_attack_selfdestruction_result_zoclInfo.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> #include <_attack_selfdestruction_result_zocl.hpp> START_ATF_NAMESPACE namespace Info { using _attack_selfdestruction_result_zoclctor__attack_s...
55.333333
241
0.828313
lemkova
95b10c3e682f252f91eb832efa205268280b326f
3,264
cpp
C++
NativePlugin/CaptainAsteroid/src/physics/Game.cpp
axoloto/CaptainAsteroid
fcdcb6bc6987ecf53226daa7027116e40d74401a
[ "Apache-2.0" ]
null
null
null
NativePlugin/CaptainAsteroid/src/physics/Game.cpp
axoloto/CaptainAsteroid
fcdcb6bc6987ecf53226daa7027116e40d74401a
[ "Apache-2.0" ]
null
null
null
NativePlugin/CaptainAsteroid/src/physics/Game.cpp
axoloto/CaptainAsteroid
fcdcb6bc6987ecf53226daa7027116e40d74401a
[ "Apache-2.0" ]
null
null
null
#include "Game.hpp" #include "Logging.hpp" #include "systems/ControlByPlayer.hpp" #include "systems/Move.hpp" #include "systems/Collide.hpp" #include "systems/FireLaser.hpp" #include "systems/ReduceLifeTime.hpp" #include "systems/SplitAsteroid.hpp" #include "systems/RemoveDead.hpp" #include "components/Motion.hpp" #...
27.897436
109
0.739583
axoloto
95b24eb6996724fd198d8985c5323221ad48343b
1,240
cpp
C++
dep/include/yse/synth/synthManager.cpp
ChrSacher/MyEngine
8fe71fd9e84b9536148e0d4ebb4e53751ab49ce8
[ "Apache-2.0" ]
2
2015-10-27T21:36:59.000Z
2017-03-17T21:52:19.000Z
dep/include/yse/synth/synthManager.cpp
ChrSacher/MyEngine
8fe71fd9e84b9536148e0d4ebb4e53751ab49ce8
[ "Apache-2.0" ]
null
null
null
dep/include/yse/synth/synthManager.cpp
ChrSacher/MyEngine
8fe71fd9e84b9536148e0d4ebb4e53751ab49ce8
[ "Apache-2.0" ]
null
null
null
/* ============================================================================== synthManager.cpp Created: 6 Jul 2014 10:01:40pm Author: yvan ============================================================================== */ #include "synthManager.h" #include "../internalHeaders.h" YSE::SYNTH::mana...
27.555556
117
0.560484
ChrSacher
95b3726da577384740325b9d5cb46370d37a5f58
789
cpp
C++
Applications/cli/commands/less.cpp
mschwartz/amos
345a4f8f52b9805722c10ac4cedb24b480fe2dc7
[ "MIT" ]
4
2020-08-18T00:11:09.000Z
2021-04-05T11:16:32.000Z
Applications/cli/commands/less.cpp
mschwartz/amos
345a4f8f52b9805722c10ac4cedb24b480fe2dc7
[ "MIT" ]
1
2020-08-15T20:39:13.000Z
2020-08-15T20:39:13.000Z
Applications/cli/commands/less.cpp
mschwartz/amos
345a4f8f52b9805722c10ac4cedb24b480fe2dc7
[ "MIT" ]
null
null
null
#include "commands.hpp" TInt64 CliTask::command_less(TInt ac, char **av) { if (ac != 2) { return Error("%s requires 1 argument", av[0]); } FileDescriptor *fd; fd = OpenFile(av[1]); if (!fd) { return Error("Could not open %s", av[1]); } else { char buf[512]; TInt count = 0; for (;;) {...
20.230769
61
0.47275
mschwartz
95b556d3ea0b81e90c7fa3021b1864eca830ff22
1,346
hpp
C++
siar_driver/include/siar_driver/arm_firewall.hpp
robotics-upo/siar_packages
2b9b3e7acbc9bc5845b03d63eb18dbc50bfd3c98
[ "BSD-3-Clause" ]
3
2020-02-06T13:36:38.000Z
2020-11-10T08:52:23.000Z
siar_driver/include/siar_driver/arm_firewall.hpp
robotics-upo/siar_packages
2b9b3e7acbc9bc5845b03d63eb18dbc50bfd3c98
[ "BSD-3-Clause" ]
null
null
null
siar_driver/include/siar_driver/arm_firewall.hpp
robotics-upo/siar_packages
2b9b3e7acbc9bc5845b03d63eb18dbc50bfd3c98
[ "BSD-3-Clause" ]
2
2017-03-20T16:08:37.000Z
2018-04-22T04:26:12.000Z
#ifndef __ARM_FIREWALL_HPP__ #define __ARM_FIREWALL_HPP__ #include "ros/ros.h" #include "siar_driver/SiarArmCommand.h" #include "siar_driver/SiarStatus.h" #include <boost/array.hpp> class ArmFirewall { public: static bool checkJointLimits(const boost::array<int16_t, 5> joint_values) { bool ret_val = (joint_v...
25.884615
142
0.643388
robotics-upo
95c08918687ae80cd970c1829c9e0d39c02ad59a
2,210
cpp
C++
FrameworkLib/DX11VertApi.cpp
DashW/Ingenuity
f7944a9e8063beaa3dda31e8372d18b4147782e2
[ "Zlib" ]
null
null
null
FrameworkLib/DX11VertApi.cpp
DashW/Ingenuity
f7944a9e8063beaa3dda31e8372d18b4147782e2
[ "Zlib" ]
null
null
null
FrameworkLib/DX11VertApi.cpp
DashW/Ingenuity
f7944a9e8063beaa3dda31e8372d18b4147782e2
[ "Zlib" ]
null
null
null
#include "stdafx.h" #include "DX11VertApi.h" #ifdef USE_DX11_GPUAPI ID3D11InputLayout* DX11Vertex_Pos::inputLayout = 0; ID3D11InputLayout* DX11Vertex_PosCol::inputLayout = 0; ID3D11InputLayout* DX11Vertex_PosNor::inputLayout = 0; ID3D11InputLayout* DX11Vertex_PosNorTex::inputLayout = 0; bool DX11_VertApi::InitInputL...
32.028986
85
0.808597
DashW
95c156ec977b003837947dd71df125dc1385831e
2,106
cpp
C++
cci/graph.cpp
vino-ebe/int-pgms
124e63d46092bd974d44afe67bd17727892afefa
[ "BSD-2-Clause" ]
null
null
null
cci/graph.cpp
vino-ebe/int-pgms
124e63d46092bd974d44afe67bd17727892afefa
[ "BSD-2-Clause" ]
null
null
null
cci/graph.cpp
vino-ebe/int-pgms
124e63d46092bd974d44afe67bd17727892afefa
[ "BSD-2-Clause" ]
null
null
null
#include<iostream> using namespace std; struct graphNode { int vertex; struct graphNode* next; }; class graph { private: static const int NUM_VERTEX = 10; graphNode* V[NUM_VERTEX]; int numEdges[NUM_VERTEX]; bool visited[NUM_VERTEX]; graphNode* createNode(int verte...
22.645161
55
0.420228
vino-ebe
95c32850a295113d071f24e4730031c3f0412056
2,712
cpp
C++
LinkDelay/LinkDelay.cpp
kravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
2
2018-04-27T11:07:02.000Z
2020-04-24T06:53:21.000Z
LinkDelay/LinkDelay.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
LinkDelay/LinkDelay.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
//********************************************************* // LinkDelay.cpp - manipulate the link delay file //********************************************************* #include "LinkDelay.hpp" char * LinkDelay::PREVIOUS_LINK_DELAY_FILE = "PREVIOUS_LINK_DELAY_FILE"; char * LinkDelay::PREVIOUS_LINK_DELAY_FORMAT = "P...
28.25
76
0.620575
kravitz
95c41364396c72ef419b126279ffe3586e0ae5df
475
cpp
C++
Train/T.cpp
dangercard/Uva_Challenges
735bf80da5d1995fece4614d38174d1ea276e7c2
[ "Apache-2.0" ]
null
null
null
Train/T.cpp
dangercard/Uva_Challenges
735bf80da5d1995fece4614d38174d1ea276e7c2
[ "Apache-2.0" ]
null
null
null
Train/T.cpp
dangercard/Uva_Challenges
735bf80da5d1995fece4614d38174d1ea276e7c2
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <stack> #include <string> using namespace std ; int main() { string stI, stO ; int j = 0 ; cin >> stI ; cin >> stO ; stack <char> S ; // S.push(stI[0]) ; for(int i = 0; i < stI.length() ; i++) { if(stO[j] == S.top()) { S.pop() ; j++ ; } else ...
11.046512
40
0.427368
dangercard
95ca8f857cc1908926568a8676fa040c1de51f9e
212
cpp
C++
dataStructure/sort/insert.cpp
jinbooooom/coding-for-interview
4164a3c7ddc19a61fa58aebefff29620029ac42c
[ "MIT" ]
8
2019-08-21T10:57:29.000Z
2019-10-14T03:35:22.000Z
dataStructure/sort/insert.cpp
jinbooooom/coding-for-interview
4164a3c7ddc19a61fa58aebefff29620029ac42c
[ "MIT" ]
null
null
null
dataStructure/sort/insert.cpp
jinbooooom/coding-for-interview
4164a3c7ddc19a61fa58aebefff29620029ac42c
[ "MIT" ]
null
null
null
void insert(int *arr, int len) { int i, j, t; for (i = 1; i < len; ++i) // 从第二个数开始(索引1),一共 len - 1 轮 { t = arr[i]; for (j = i - 1; j >= 0 && t < arr[j]; --j) arr[j + 1] = arr[j]; arr[j + 1] = t; } }
19.272727
56
0.419811
jinbooooom
95cbec5d7d2291e6f2b109179f40f62aa22c908a
623
cpp
C++
USACO Bronze/December 2016 Contest/cowsignal.cpp
Alecs-Li/Competitive-Programming
39941ff8e2c8994abbae8c96a1ed0a04b10058b8
[ "MIT" ]
1
2021-07-06T02:14:03.000Z
2021-07-06T02:14:03.000Z
USACO Bronze/December 2016 Contest/cowsignal.cpp
Alex01890-creator/competitive-programming
39941ff8e2c8994abbae8c96a1ed0a04b10058b8
[ "MIT" ]
null
null
null
USACO Bronze/December 2016 Contest/cowsignal.cpp
Alex01890-creator/competitive-programming
39941ff8e2c8994abbae8c96a1ed0a04b10058b8
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> using namespace std; int main() { ifstream fin("cowsignal.in"); ofstream fout("cowsignal.out"); int m, n, k; fin >> m >> n >> k; char arr[m*n]; string temp = ""; char ans[(m*k)*(n*k)]; for(int a=0; a<m*n; a++){ fin >> arr[a]; } for(int a=0; a<=m*n; a++){ ...
18.323529
34
0.410915
Alecs-Li
95d1cf50c77c13f8caa762f74792d59c3b2dcdb1
1,396
hpp
C++
framework/include/planet.hpp
der-freddy/computergrafik
c47e32de23edc1c2aff45f2c789286219afcbf8f
[ "MIT" ]
null
null
null
framework/include/planet.hpp
der-freddy/computergrafik
c47e32de23edc1c2aff45f2c789286219afcbf8f
[ "MIT" ]
null
null
null
framework/include/planet.hpp
der-freddy/computergrafik
c47e32de23edc1c2aff45f2c789286219afcbf8f
[ "MIT" ]
null
null
null
#ifndef PLANETS_HPP #define PLANETS_HPP #include <memory> #include <map> #include <glbinding/gl/gl.h> #include <glm/gtc/type_precision.hpp> #include <glm/gtc/matrix_transform.hpp> #define GLFW_INCLUDE_NONE #include <GLFW/glfw3.h> // use gl definitions from glbinding using namespace gl; struct Planet{ Planet(glm::f...
25.381818
117
0.699857
der-freddy
95dbd0f6c9879cd5d0f0fab70fffbcf8e675ba91
106
hpp
C++
src/health.hpp
BUDDGAF/eft-packet-1
cd10a52f4ea6e98219a14e17a8a5ba6bd7d98cc0
[ "MIT" ]
13
2020-05-02T00:32:14.000Z
2021-12-28T03:01:28.000Z
src/health.hpp
BUDDGAF/eft-packet-1
cd10a52f4ea6e98219a14e17a8a5ba6bd7d98cc0
[ "MIT" ]
null
null
null
src/health.hpp
BUDDGAF/eft-packet-1
cd10a52f4ea6e98219a14e17a8a5ba6bd7d98cc0
[ "MIT" ]
8
2020-05-01T19:24:55.000Z
2022-03-14T14:47:51.000Z
std::unordered_map<std::string, std::string> healthItems = { { "544fb45d4bdc2dee738b4568", "Salewa"}, };
35.333333
61
0.707547
BUDDGAF
95de790876c884e506a77dba01c034af8b4d3503
2,009
cpp
C++
libs/viewport/impl/src/viewport/impl/center.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/viewport/impl/src/viewport/impl/center.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/viewport/impl/src/viewport/impl/center.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // 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 <sge/renderer/dim2.hpp> #include <sge/renderer/pixel_rect.hpp> #include <sge/renderer/pixe...
39.392157
98
0.644102
cpreh
95df578aff1c8a74dd14af06aaf5eb825204fbf2
5,648
cpp
C++
node/silkworm/db/genesis_test.cpp
elmato/silkworm
711c73547cd1f7632ff02d5f86dfac5b0d249344
[ "Apache-2.0" ]
87
2020-08-03T11:40:39.000Z
2022-03-31T10:27:58.000Z
node/silkworm/db/genesis_test.cpp
elmato/silkworm
711c73547cd1f7632ff02d5f86dfac5b0d249344
[ "Apache-2.0" ]
452
2020-08-17T16:32:00.000Z
2022-03-28T19:19:59.000Z
node/silkworm/db/genesis_test.cpp
elmato/silkworm
711c73547cd1f7632ff02d5f86dfac5b0d249344
[ "Apache-2.0" ]
28
2020-08-27T02:06:50.000Z
2022-03-03T22:30:46.000Z
/* Copyright 2021 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 agreed ...
47.066667
108
0.625354
elmato
95df962b0c35f50c2c5dd71789129eebb8683eed
438
cpp
C++
src/ByteEngine/Utility/Shapes/ConeWithFalloff.cpp
Facundo961/Game-Studio
8f404fd9b5659e65e7c5a7fe5f191d39b7a5a071
[ "MIT" ]
10
2020-05-05T03:21:34.000Z
2022-01-22T23:01:22.000Z
src/ByteEngine/Utility/Shapes/ConeWithFalloff.cpp
Facundo961/Game-Studio
8f404fd9b5659e65e7c5a7fe5f191d39b7a5a071
[ "MIT" ]
null
null
null
src/ByteEngine/Utility/Shapes/ConeWithFalloff.cpp
Facundo961/Game-Studio
8f404fd9b5659e65e7c5a7fe5f191d39b7a5a071
[ "MIT" ]
1
2020-09-07T03:04:48.000Z
2020-09-07T03:04:48.000Z
#include "ConeWithFalloff.h" #include <GTSL/Math/Math.hpp> ConeWithFalloff::ConeWithFalloff(const float Radius, const float Length) : Cone(Radius, Length) { } ConeWithFalloff::ConeWithFalloff(const float Radius, const float Length, const float ExtraRadius) : Cone(Radius, Length), ExtraRadius(ExtraRadius) { } float ...
25.764706
146
0.773973
Facundo961
95e1341ada4a78caed6969a85bf6aa78612254b5
28,086
cpp
C++
__Source__/Jimara/Physics/PhysX/PhysXScene.cpp
TheDonsky/Jimara
d677090e61dc1ddfd8c1be61d5202fbf09b1e3ab
[ "MIT" ]
1
2022-03-28T13:57:09.000Z
2022-03-28T13:57:09.000Z
__Source__/Jimara/Physics/PhysX/PhysXScene.cpp
TheDonsky/Jimara
d677090e61dc1ddfd8c1be61d5202fbf09b1e3ab
[ "MIT" ]
null
null
null
__Source__/Jimara/Physics/PhysX/PhysXScene.cpp
TheDonsky/Jimara
d677090e61dc1ddfd8c1be61d5202fbf09b1e3ab
[ "MIT" ]
1
2021-02-02T13:34:57.000Z
2021-02-02T13:34:57.000Z
#include "PhysXScene.h" #include "PhysXStaticBody.h" #include "PhysXDynamicBody.h" #include "../../Core/Unused.h" #include "PhysXCollider.h" #pragma warning(disable: 26812) namespace Jimara { namespace Physics { namespace PhysX { namespace { #define JIMARA_PHYSX_LAYER_COUNT 256 #define JIMARA_PHYSX_LAYER_DATA_B...
48.257732
166
0.719504
TheDonsky
95e4a43f68f6cc9a521e6035d8e96e5bf407b08a
3,916
hpp
C++
include/polycalc/quadrature/gauss_lobatto.hpp
BryanFlynt/PolyCalc
9fe70f83647c6f5683e6e8f5cfee23b417974ebb
[ "Apache-2.0" ]
null
null
null
include/polycalc/quadrature/gauss_lobatto.hpp
BryanFlynt/PolyCalc
9fe70f83647c6f5683e6e8f5cfee23b417974ebb
[ "Apache-2.0" ]
null
null
null
include/polycalc/quadrature/gauss_lobatto.hpp
BryanFlynt/PolyCalc
9fe70f83647c6f5683e6e8f5cfee23b417974ebb
[ "Apache-2.0" ]
null
null
null
/** * \file gauss_lobatto.hpp * \author Bryan Flynt * \date Sep 02, 2021 * \copyright Copyright (C) 2021 Bryan Flynt - All Rights Reserved */ #pragma once #include <cassert> #include <vector> #include "polycalc/parameters.hpp" #include "polycalc/polynomial/jacobi.hpp" namespace polycalc { names...
27.77305
106
0.522472
BryanFlynt
95e5037325108bcb3a68d454b1596a032466ddf7
1,277
cpp
C++
RPSolver/conditions/ColorConditionPosition.cpp
igui/OppositeRenderer
2442741792b3f0f426025c2015002694fab692eb
[ "MIT" ]
9
2016-06-25T15:52:05.000Z
2020-01-15T17:31:49.000Z
RPSolver/conditions/ColorConditionPosition.cpp
igui/OppositeRenderer
2442741792b3f0f426025c2015002694fab692eb
[ "MIT" ]
null
null
null
RPSolver/conditions/ColorConditionPosition.cpp
igui/OppositeRenderer
2442741792b3f0f426025c2015002694fab692eb
[ "MIT" ]
2
2018-10-17T18:33:37.000Z
2022-03-14T20:17:30.000Z
#include "ColorConditionPosition.h" #include "renderer/PMOptixRenderer.h" #include <QLocale> #include <QVector> #include <QColor> ColorConditionPosition::ColorConditionPosition(const QString& node, const optix::float3& hsvColor) : m_node(node), m_hsvColor(hsvColor) { } /// adapted from http://www.cs.rit.edu/~ncs/c...
23.648148
100
0.740016
igui
95e691961ebfa6bbdb05b501023cc8f9232bca74
470
cpp
C++
test/one_pole_test.cpp
hansen-audio/dsp-tool-box
4b73b39c4149b1a160ff9baa58830d6a4478feef
[ "MIT" ]
null
null
null
test/one_pole_test.cpp
hansen-audio/dsp-tool-box
4b73b39c4149b1a160ff9baa58830d6a4478feef
[ "MIT" ]
null
null
null
test/one_pole_test.cpp
hansen-audio/dsp-tool-box
4b73b39c4149b1a160ff9baa58830d6a4478feef
[ "MIT" ]
null
null
null
// Copyright(c) 2021 Hansen Audio. #include "ha/dsp_tool_box/filtering/one_pole.h" #include "gtest/gtest.h" using namespace ha::dtb::filtering; /** * @brief one_pole_test */ TEST(one_pole_test, test_one_pole_initialisation) { auto one_pole = OnePoleImpl::create(); EXPECT_FLOAT_EQ(one_pole.a, 0.9); EXPE...
24.736842
79
0.595745
hansen-audio
95e822ec2193ba8a1afeec80b6386bec08906a22
376
cpp
C++
a12H.cpp
asokolsky/oddeven
44563d7efa07539335907dde9e17a9602b3e40fa
[ "BSD-2-Clause" ]
null
null
null
a12H.cpp
asokolsky/oddeven
44563d7efa07539335907dde9e17a9602b3e40fa
[ "BSD-2-Clause" ]
null
null
null
a12H.cpp
asokolsky/oddeven
44563d7efa07539335907dde9e17a9602b3e40fa
[ "BSD-2-Clause" ]
null
null
null
#include <iostream> #include <map> #include <string> #include <set> using namespace std; /** Напишите функцию BuildMapValuesSet, принимающую на вход словарь map<int, string> и возвращающую множество значений этого словаря: */ set <string> BuildMapValuesSet(const map<int, string>& m) { set <string> res; for(au...
18.8
129
0.715426
asokolsky
95e9041360dd5f89ac2c62dfce38d6eb5fbeea0b
12,094
cpp
C++
p3/src/org/cracs/stheno/core/p2p/p3/leaf/mesh/P3LeafMesh.cpp
rolandomar/stheno
6b41f56f25be1e7d56c8be4973203bf943e4f041
[ "Apache-2.0" ]
7
2015-08-17T16:24:22.000Z
2022-03-16T15:54:19.000Z
p3/src/org/cracs/stheno/core/p2p/p3/leaf/mesh/P3LeafMesh.cpp
rolandomar/stheno
6b41f56f25be1e7d56c8be4973203bf943e4f041
[ "Apache-2.0" ]
null
null
null
p3/src/org/cracs/stheno/core/p2p/p3/leaf/mesh/P3LeafMesh.cpp
rolandomar/stheno
6b41f56f25be1e7d56c8be4973203bf943e4f041
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2012 Rolando Martins, CRACS & INESC-TEC, DCC/FCUP * * 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 * * Unle...
37.559006
166
0.663966
rolandomar
95e986976ea930c1b1553927cad9a42a5c591183
28,297
cpp
C++
pass/bitwidth/pass_bitwidth.cpp
mfkiwl/livehd-fpga
a359adaab7cf2e54f0100a5bb6bf0431cfc8ae7e
[ "BSD-3-Clause" ]
1
2022-03-09T23:29:29.000Z
2022-03-09T23:29:29.000Z
pass/bitwidth/pass_bitwidth.cpp
mfkiwl/livehd-fpga
a359adaab7cf2e54f0100a5bb6bf0431cfc8ae7e
[ "BSD-3-Clause" ]
null
null
null
pass/bitwidth/pass_bitwidth.cpp
mfkiwl/livehd-fpga
a359adaab7cf2e54f0100a5bb6bf0431cfc8ae7e
[ "BSD-3-Clause" ]
null
null
null
// This file is distributed under the BSD 3-Clause License. See LICENSE for details. #include "pass_bitwidth.hpp" #include <algorithm> #include <cmath> #include <vector> #include "bitwidth_range.hpp" #include "lbench.hpp" #include "lgedgeiter.hpp" #include "lgraph.hpp" // Useful for debug //#define PRESERVE_ATTR_NO...
32.228929
127
0.627699
mfkiwl
95eb334cf721182b79ae1a9102b49ddcbb973767
10,292
cpp
C++
newton-4.00/applications/ndSandbox/demos/ndBasicStacks.cpp
Libertus-Lab/newton-dynamics
af6e6635c7f563c697b8e5b088d68ba24fa8fe9c
[ "Zlib" ]
null
null
null
newton-4.00/applications/ndSandbox/demos/ndBasicStacks.cpp
Libertus-Lab/newton-dynamics
af6e6635c7f563c697b8e5b088d68ba24fa8fe9c
[ "Zlib" ]
null
null
null
newton-4.00/applications/ndSandbox/demos/ndBasicStacks.cpp
Libertus-Lab/newton-dynamics
af6e6635c7f563c697b8e5b088d68ba24fa8fe9c
[ "Zlib" ]
null
null
null
/* Copyright (c) <2003-2021> <Newton Game Dynamics> * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose, * includi...
34.192691
205
0.735717
Libertus-Lab
95ebda8d3be8708b52ecab9bc614b240388f153f
944
cpp
C++
codeforces/1567B.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
codeforces/1567B.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
codeforces/1567B.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
// B. MEXor Mixup #include <iostream> using namespace std; // Method to calculate xor int computeXOR(int n) { // Source - https://www.geeksforgeeks.org/calculate-xor-1-n/ // If n is a multiple of 4 if (n % 4 == 0) { return n; } // If n%4 gives remainder 1 if (n % 4 == 1) { r...
15.225806
64
0.400424
sgrade
95ec924801c63c19c0604cdbd92f81fcfb7c89c5
2,081
cpp
C++
lib/netdata/fragments_server.cpp
siilky/catomania
cb3a05cbef523d16b8929b390e190e0cd5924ee9
[ "MIT" ]
1
2021-02-05T23:20:07.000Z
2021-02-05T23:20:07.000Z
lib/netdata/fragments_server.cpp
siilky/catomania
cb3a05cbef523d16b8929b390e190e0cd5924ee9
[ "MIT" ]
null
null
null
lib/netdata/fragments_server.cpp
siilky/catomania
cb3a05cbef523d16b8929b390e190e0cd5924ee9
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "netdata/fragments_server.h" namespace serverdata { static const fragmentCollection_t fragments[] = { COLLECTION_ELEMENT(Array), COLLECTION_ELEMENT(ArrayPacked), COLLECTION_ELEMENT(GameinfoSet), COLLECTION_ELEMENT(AccInfo), COLLECTION_ELEMEN...
32.515625
97
0.702547
siilky
95ee1c3d622ff6dcfa592566fe594b9f5361bf48
359
cpp
C++
example/shm_status.cpp
unhuman-io/motor-realtime
1aee682954096c28c9a3f01546261499052c4e0b
[ "Unlicense" ]
null
null
null
example/shm_status.cpp
unhuman-io/motor-realtime
1aee682954096c28c9a3f01546261499052c4e0b
[ "Unlicense" ]
null
null
null
example/shm_status.cpp
unhuman-io/motor-realtime
1aee682954096c28c9a3f01546261499052c4e0b
[ "Unlicense" ]
1
2021-04-05T18:14:51.000Z
2021-04-05T18:14:51.000Z
#include <motor_manager.h> #include <thread> #include <motor_subscriber.h> int main() { MotorSubscriber<MotorStatus> sub; while(1) { MotorStatus status = sub.read(); std::vector<MotorStatus> statuses(1, status); std::cout << statuses << std::endl; std::this_thread::sleep_for(st...
23.933333
68
0.635097
unhuman-io
95eead97864fb897edd4dd8a2cbc86b300d5d66f
775
cpp
C++
graph-source-code/296-D/10047350.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/296-D/10047350.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/296-D/10047350.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
//Language: GNU C++ //In the name of God #include <iostream> #include <algorithm> #include <vector> #include <cstdlib> #include <map> #include <cstdio> using namespace std; #define mp make_pair #define X first #define Y second #define lol long long const int MAXN=510; lol dis[MAXN][MAXN],a[MAXN],ans[MAXN]; int mai...
17.613636
72
0.536774
AmrARaouf
95f2057d92060a6141b994aa38b25df57f1633d8
450
cpp
C++
Project/Zombienator/Layer.cpp
Jallah123/TheZombienator
efbcb93b0b2943cd9b38ac84fe8a6857e329b05b
[ "MIT" ]
null
null
null
Project/Zombienator/Layer.cpp
Jallah123/TheZombienator
efbcb93b0b2943cd9b38ac84fe8a6857e329b05b
[ "MIT" ]
null
null
null
Project/Zombienator/Layer.cpp
Jallah123/TheZombienator
efbcb93b0b2943cd9b38ac84fe8a6857e329b05b
[ "MIT" ]
null
null
null
#pragma once #include "Layer.h" #include "Map.h" #include "TileSet.h" Layer::Layer() { } Layer::Layer(Map * map) : map(map) { } Layer::~Layer() { } void Layer::DrawRect(SDL_Rect* srcRect, SDL_Texture* texture, SDL_Rect* destRect, SDL_Renderer& ren) { SDL_RenderCopy(&ren, texture, srcRect, destRect); } void Layer...
15.517241
100
0.695556
Jallah123
95f3259db3c8e78193d7b64e3381708b35a84a79
79,644
cpp
C++
src/model/UdmGridCoordinates.cpp
avr-aics-riken/UDMlib
1577b3caa74a7499037099dfbdd68d2f2c92fb43
[ "BSD-2-Clause" ]
3
2016-02-28T05:07:59.000Z
2019-01-31T15:15:31.000Z
src/model/UdmGridCoordinates.cpp
avr-aics-riken/UDMlib
1577b3caa74a7499037099dfbdd68d2f2c92fb43
[ "BSD-2-Clause" ]
4
2015-05-11T12:09:21.000Z
2015-11-24T06:23:38.000Z
src/model/UdmGridCoordinates.cpp
avr-aics-riken/UDMlib
1577b3caa74a7499037099dfbdd68d2f2c92fb43
[ "BSD-2-Clause" ]
5
2015-04-27T06:22:51.000Z
2021-05-10T07:36:57.000Z
// ################################################################################## // // UDMlib - Unstructured Data Management Library // // Copyright (C) 2012-2015 Institute of Industrial Science, The University of Tokyo. // All rights reserved. // // Copyright (c) 2015 Advanced Institute for Computational Science,...
32.829349
207
0.637776
avr-aics-riken
95f51e6d68125e62b3c13fd5ffbb14983da5ee3f
2,567
cpp
C++
yotta_modules/core-util/test/PoolAllocator/main.cpp
lbk003/mbed-cortexm
a4fcb5de906a49a7fa737d6a89fcf5590aa68d31
[ "Apache-2.0" ]
null
null
null
yotta_modules/core-util/test/PoolAllocator/main.cpp
lbk003/mbed-cortexm
a4fcb5de906a49a7fa737d6a89fcf5590aa68d31
[ "Apache-2.0" ]
null
null
null
yotta_modules/core-util/test/PoolAllocator/main.cpp
lbk003/mbed-cortexm
a4fcb5de906a49a7fa737d6a89fcf5590aa68d31
[ "Apache-2.0" ]
null
null
null
/* * PackageLicenseDeclared: Apache-2.0 * Copyright (c) 2015 ARM Limited * * 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 * * Unles...
34.689189
132
0.687183
lbk003
95f63141ee8879d95b09b6d158efeaadc1b9224a
981
cpp
C++
topic_wise/binarysearch/russianDollEnvelopes.cpp
archit-1997/LeetCode
7c0f74da0836d3b0855f09bae8960f81a384f3f3
[ "MIT" ]
1
2021-01-27T16:37:36.000Z
2021-01-27T16:37:36.000Z
topic_wise/binarysearch/russianDollEnvelopes.cpp
archit-1997/LeetCode
7c0f74da0836d3b0855f09bae8960f81a384f3f3
[ "MIT" ]
null
null
null
topic_wise/binarysearch/russianDollEnvelopes.cpp
archit-1997/LeetCode
7c0f74da0836d3b0855f09bae8960f81a384f3f3
[ "MIT" ]
null
null
null
/** * @author : archit * @GitHub : archit-1997 * @Email : architsingh456@gmail.com * @file : russianDollEnvelopes.cpp * @created : Friday Aug 20, 2021 19:49:02 IST */ #include <bits/stdc++.h> using namespace std; bool compare(const vector<int> &a,const vector<int> &b){ if(a[0]==b[...
27.25
105
0.559633
archit-1997
95f76b3ce45e04a7abf750e2e3d9b2f6d346a253
6,160
cpp
C++
1.Race Condition/RaceCondition/main.cpp
Cabrra/Multithreading
0259f6cb48534e583818b10274698df130fd222e
[ "MIT" ]
null
null
null
1.Race Condition/RaceCondition/main.cpp
Cabrra/Multithreading
0259f6cb48534e583818b10274698df130fd222e
[ "MIT" ]
null
null
null
1.Race Condition/RaceCondition/main.cpp
Cabrra/Multithreading
0259f6cb48534e583818b10274698df130fd222e
[ "MIT" ]
null
null
null
// Include file and line numbers for memory leak detection for visual studio in debug mode // NOTE: The current implementation of C++11 shipped with Visual Studio 2012 will leak a single // 44-byte mutex (at_thread_exit_mutex) internally if any threads have been created. This // will show up in the output window wi...
32.083333
120
0.641396
Cabrra
95f98cdeb21f069a00008843f3f93c41ab1c6da8
310
cpp
C++
aql/benchmark/lib_18/class_6.cpp
menify/sandbox
32166c71044f0d5b414335b2b6559adc571f568c
[ "MIT" ]
null
null
null
aql/benchmark/lib_18/class_6.cpp
menify/sandbox
32166c71044f0d5b414335b2b6559adc571f568c
[ "MIT" ]
null
null
null
aql/benchmark/lib_18/class_6.cpp
menify/sandbox
32166c71044f0d5b414335b2b6559adc571f568c
[ "MIT" ]
null
null
null
#include "class_6.h" #include "class_0.h" #include "class_8.h" #include "class_5.h" #include "class_7.h" #include "class_4.h" #include <lib_8/class_9.h> #include <lib_13/class_3.h> #include <lib_13/class_2.h> #include <lib_0/class_0.h> #include <lib_11/class_6.h> class_6::class_6() {} class_6::~class_6() {}
20.666667
27
0.712903
menify
2503e048a00ec653a7ee4ad553e908b8545f859c
8,922
cpp
C++
ds/security/services/scerpc/xml-jet/secman/securitydatabase.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
ds/security/services/scerpc/xml-jet/secman/securitydatabase.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
ds/security/services/scerpc/xml-jet/secman/securitydatabase.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*++ Copyright (c) 2002 Microsoft Corporation Module Name: SecurityDatabase.cpp Abstract: Implementation of CSecurityDatabase interface SecurityDatabase is a COM interface that allows users to perform basic operations on SCE security databases such as analysis, import and ex...
27.20122
90
0.580924
npocmaka
2503e7a6e385bccb094db584c03c8399d1f98eab
1,538
cc
C++
ChiTech/ChiMesh/SurfaceMesher/Predefined/surfmesher_predefined_02_execute.cc
Jrgriss2/chi-tech
db75df761d5f25ca4b79ee19d36f886ef240c2b5
[ "MIT" ]
7
2019-09-10T12:16:08.000Z
2021-05-06T16:01:59.000Z
ChiTech/ChiMesh/SurfaceMesher/Predefined/surfmesher_predefined_02_execute.cc
Jrgriss2/chi-tech
db75df761d5f25ca4b79ee19d36f886ef240c2b5
[ "MIT" ]
72
2019-09-04T15:00:25.000Z
2021-12-02T20:47:29.000Z
ChiTech/ChiMesh/SurfaceMesher/Predefined/surfmesher_predefined_02_execute.cc
Jrgriss2/chi-tech
db75df761d5f25ca4b79ee19d36f886ef240c2b5
[ "MIT" ]
41
2019-09-02T15:33:31.000Z
2022-02-10T13:26:49.000Z
#include "surfmesher_predefined.h" #include "../../MeshHandler/chi_meshhandler.h" #include "../../Region/chi_region.h" #include "../../Boundary/chi_boundary.h" #include<iostream> #include <chi_log.h> extern ChiLog& chi_log; void chi_mesh::SurfaceMesherPredefined::Execute() { chi_log.Log(LOG_0VERBOSE_1) << "Surface...
34.177778
84
0.579324
Jrgriss2
2507f8068640fc6f36eb0b4121359f400f7b1814
1,034
cpp
C++
C++/problem0125.cpp
1050669722/LeetCode-Answers
c8f4d1ccaac09cda63b60d75144335347b06dc81
[ "MIT" ]
null
null
null
C++/problem0125.cpp
1050669722/LeetCode-Answers
c8f4d1ccaac09cda63b60d75144335347b06dc81
[ "MIT" ]
null
null
null
C++/problem0125.cpp
1050669722/LeetCode-Answers
c8f4d1ccaac09cda63b60d75144335347b06dc81
[ "MIT" ]
null
null
null
class Solution { public: bool isPalindrome(string s) { if (s.size() == 0) { return true; } vector<char> v; for (int i = 0; i < s.size(); ++i) { if (isalnum(s[i])) { v.push_back(s[i]); // cout << s[i]...
22
71
0.305609
1050669722
2508bfcdb6b42e2a10b88a833dd0167bfe49dda3
476
hpp
C++
king/include/king/Math/VectorType.hpp
tobiasbu/king
7a6892a93d5d4c5f14e2618104f2955281f0bada
[ "MIT" ]
3
2017-03-10T13:57:25.000Z
2017-05-31T19:05:35.000Z
king/include/king/Math/VectorType.hpp
tobiasbu/king
7a6892a93d5d4c5f14e2618104f2955281f0bada
[ "MIT" ]
null
null
null
king/include/king/Math/VectorType.hpp
tobiasbu/king
7a6892a93d5d4c5f14e2618104f2955281f0bada
[ "MIT" ]
null
null
null
#ifndef KING_VECTORTYPE_HPP #define KING_VECTORTYPE_HPP namespace king { // Vectors Types Predefinition template <typename T> class Vector2; template <typename T> class Vector3; template <typename T> class Vector4; // Most Commom Vectors Types typedef Vector2<float> Vector2f; typedef Vector2<int> Vector2i;...
18.307692
41
0.771008
tobiasbu
250c942de9921b043307f0332d526be930225d62
1,961
cpp
C++
src/PrintHelper.cpp
TB989/Game
9cf6e1267f1bc08b2e7f5f9a8278914f930c7c51
[ "MIT" ]
null
null
null
src/PrintHelper.cpp
TB989/Game
9cf6e1267f1bc08b2e7f5f9a8278914f930c7c51
[ "MIT" ]
null
null
null
src/PrintHelper.cpp
TB989/Game
9cf6e1267f1bc08b2e7f5f9a8278914f930c7c51
[ "MIT" ]
null
null
null
#include <string> #include <iostream> void startHeader(std::string locationName){ std::cout << "**********" << locationName << "**********\n"; } void finishHeader(std::string locationName){ std::cout << "**********"; for(unsigned int i=0;i<locationName.length();i++){ std::cout << "*"; } st...
28.42029
99
0.481387
TB989
2519cdd014be2f8ae012d413d418b32188482693
123
cpp
C++
bookcode/cproject/namespace/one.cpp
zhangymPerson/Think-in-java-note
b89ca3b90ad3d43d010e4764d06ee5ffff8e118d
[ "Apache-2.0" ]
null
null
null
bookcode/cproject/namespace/one.cpp
zhangymPerson/Think-in-java-note
b89ca3b90ad3d43d010e4764d06ee5ffff8e118d
[ "Apache-2.0" ]
3
2021-12-14T20:50:59.000Z
2021-12-18T18:26:01.000Z
bookcode/cproject/namespace/one.cpp
zhangymPerson/Think-in-java-note
b89ca3b90ad3d43d010e4764d06ee5ffff8e118d
[ "Apache-2.0" ]
null
null
null
#include "iostream" using namespace std; namespace one { void fun() { cout << "echo one func()\n"; } }
12.3
36
0.544715
zhangymPerson
251c715ca5539cd71d9f6f3f4f3adbaef47d7759
2,550
cc
C++
chromeos/dbus/shill/fake_modem_messaging_client.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
chromeos/dbus/shill/fake_modem_messaging_client.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
chromeos/dbus/shill/fake_modem_messaging_client.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chromeos/dbus/shill/fake_modem_messaging_client.h" #include <algorithm> #include <string> #include <vector> #include "base/callback.h" #includ...
35.416667
80
0.683137
zealoussnow
251e742f8655e82fa15cf61f177b17e665922ff0
4,157
cpp
C++
src/types/Criteria.cpp
Mostah/parallel-pymcda
d5f5bb0de95dec90b88be9d00a3860e52eed4003
[ "MIT" ]
2
2020-12-12T22:48:57.000Z
2021-02-24T09:37:40.000Z
src/types/Criteria.cpp
Mostah/parallel-pymcda
d5f5bb0de95dec90b88be9d00a3860e52eed4003
[ "MIT" ]
5
2021-01-07T19:34:24.000Z
2021-03-17T13:52:22.000Z
src/types/Criteria.cpp
Mostah/parallel-pymcda
d5f5bb0de95dec90b88be9d00a3860e52eed4003
[ "MIT" ]
3
2020-12-12T22:49:56.000Z
2021-09-08T05:26:38.000Z
#include "../../include/types/Criteria.h" #include "../../include/types/Criterion.h" #include "../../include/utils.h" #include <algorithm> #include <iostream> #include <numeric> #include <string> #include <vector> Criteria::Criteria(std::vector<Criterion> &criterion_vect) { std::vector<std::string> crit_id_vect; f...
28.087838
79
0.660573
Mostah
2520af0b6c32847350b4e715a9d45c750e9af6c2
15,144
hpp
C++
libmesh/include/sirikata/mesh/Meshdata.hpp
pathorn/sirikata
5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa
[ "BSD-3-Clause" ]
1
2016-05-09T03:34:51.000Z
2016-05-09T03:34:51.000Z
libmesh/include/sirikata/mesh/Meshdata.hpp
pathorn/sirikata
5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa
[ "BSD-3-Clause" ]
null
null
null
libmesh/include/sirikata/mesh/Meshdata.hpp
pathorn/sirikata
5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa
[ "BSD-3-Clause" ]
null
null
null
/* Sirikata * Meshdata.hpp * * Copyright (c) 2010, Daniel B. Miller * 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 copy...
36.757282
138
0.719427
pathorn
2530cd464b924151a2e29ae753940bfa5eaa65a9
1,040
cpp
C++
hashing/timer/clock.cpp
ShuhaoZhangTony/WalnutDB
9ccc10b23351aa2e6793e0f5c7bd3dd511d7b050
[ "MIT" ]
null
null
null
hashing/timer/clock.cpp
ShuhaoZhangTony/WalnutDB
9ccc10b23351aa2e6793e0f5c7bd3dd511d7b050
[ "MIT" ]
null
null
null
hashing/timer/clock.cpp
ShuhaoZhangTony/WalnutDB
9ccc10b23351aa2e6793e0f5c7bd3dd511d7b050
[ "MIT" ]
null
null
null
// // Created by Shuhao Zhang on 3/3/20. //https://stackoverflow.com/questions/275004/timer-function-to-provide-time-in-nano-seconds-using-c/11485388#11485388 #include "clock.h" #include <iostream> #include <thread> int x::test_clock() { // Define real time units typedef std::chrono::duration<unsigned long l...
33.548387
117
0.649038
ShuhaoZhangTony
2532703c98e156e338f8abd5c4d6dcc28a4dc5d0
8,616
cpp
C++
PrgApps4/17-MMFSparse/MMFSparse.cpp
JimYang365/samples
920c2d98b1ef0dc3d3b861b9b73ab6a3d0e5ced0
[ "MIT" ]
null
null
null
PrgApps4/17-MMFSparse/MMFSparse.cpp
JimYang365/samples
920c2d98b1ef0dc3d3b861b9b73ab6a3d0e5ced0
[ "MIT" ]
null
null
null
PrgApps4/17-MMFSparse/MMFSparse.cpp
JimYang365/samples
920c2d98b1ef0dc3d3b861b9b73ab6a3d0e5ced0
[ "MIT" ]
null
null
null
/****************************************************************************** Module: MMFSparse.cpp Notices: Copyright (c) 2000 Jeffrey Richter ******************************************************************************/ #include "..\CmnHdr.h" /* See Appendix A. */ #include <tchar.h> #include <Windo...
31.445255
80
0.543988
JimYang365
253595dff9926cc3c167493f95b92c4e424811a0
1,565
cpp
C++
treefunctions.cpp
waha99922/JuicyBros_TOOLBOX_V1.0
ff59f3842e9a4bf1b40e18613f555b923cd9b949
[ "MIT" ]
null
null
null
treefunctions.cpp
waha99922/JuicyBros_TOOLBOX_V1.0
ff59f3842e9a4bf1b40e18613f555b923cd9b949
[ "MIT" ]
null
null
null
treefunctions.cpp
waha99922/JuicyBros_TOOLBOX_V1.0
ff59f3842e9a4bf1b40e18613f555b923cd9b949
[ "MIT" ]
null
null
null
#include <iostream> #include "Tree.h" using namespace std; Tree::Tree() { root = NULL; } void Tree::insert(double value) { Tnode* ptr = new Tnode(value); Tnode* temp = root; if (root == NULL) { root = ptr; } else { while (temp != NULL) { if (temp->data > value && temp->left == NULL...
14.490741
55
0.532907
waha99922
2536ba074888894f3711036500cd7a040eb22d84
4,865
cpp
C++
main.cpp
gnole/CG-HW3
9c0859bda43291d49a47b929352d6ba5da2bdae9
[ "MIT" ]
null
null
null
main.cpp
gnole/CG-HW3
9c0859bda43291d49a47b929352d6ba5da2bdae9
[ "MIT" ]
null
null
null
main.cpp
gnole/CG-HW3
9c0859bda43291d49a47b929352d6ba5da2bdae9
[ "MIT" ]
null
null
null
#include <SFML/Graphics.hpp> #include <unistd.h> #include <cmath> #include <iostream> void drawLineRed(int x1, int y1, int x2, int y2, sf::RenderWindow &window) { const int deltaX = abs(x2 - x1); const int deltaY = abs(y2 - y1); const int signX = x1 < x2 ? 1 : -1; const int signY = y1 < y2 ? 1 : -1; int error = ...
29.131737
101
0.610277
gnole
2536d4a70dc875741c6131f4b37f41f5ebd314dd
780
cpp
C++
Team01/Game/Project/SceneGame.cpp
OiCGame/GameJam03
535fff1e39a3c509c4104029bd40386c5d8b4a69
[ "MIT" ]
null
null
null
Team01/Game/Project/SceneGame.cpp
OiCGame/GameJam03
535fff1e39a3c509c4104029bd40386c5d8b4a69
[ "MIT" ]
null
null
null
Team01/Game/Project/SceneGame.cpp
OiCGame/GameJam03
535fff1e39a3c509c4104029bd40386c5d8b4a69
[ "MIT" ]
1
2021-02-01T02:48:17.000Z
2021-02-01T02:48:17.000Z
#include "SceneGame.h" CSceneGame::CSceneGame() { } CSceneGame::~CSceneGame() { } bool CSceneGame::Load() { return false; } void CSceneGame::Initialize() { m_Game.Initialize(); } void CSceneGame::Update() { FadeInOut(); if (m_bEndStart) { return; } m_Game.Update(); // if (g_pInput->IsKeyPush(MOFKEY_F2)) { i...
15.6
41
0.664103
OiCGame
2538fdd3e154e6fe6f933447ee849fa4d272cdfc
18
cpp
C++
src/root/root.cpp
keithalewis/libfms
8389d2d022af2a23764653f13addf989d6d9e7fe
[ "MIT" ]
null
null
null
src/root/root.cpp
keithalewis/libfms
8389d2d022af2a23764653f13addf989d6d9e7fe
[ "MIT" ]
null
null
null
src/root/root.cpp
keithalewis/libfms
8389d2d022af2a23764653f13addf989d6d9e7fe
[ "MIT" ]
null
null
null
#include "root.h"
9
17
0.666667
keithalewis
25399c4fdef84031784b3f8f3136b92e2f289d4a
1,448
hpp
C++
include/thermistor/util.hpp
matt1795/thermistor
8f7a858fb0fc13b47b16597ae889209726352e71
[ "Apache-2.0" ]
null
null
null
include/thermistor/util.hpp
matt1795/thermistor
8f7a858fb0fc13b47b16597ae889209726352e71
[ "Apache-2.0" ]
null
null
null
include/thermistor/util.hpp
matt1795/thermistor
8f7a858fb0fc13b47b16597ae889209726352e71
[ "Apache-2.0" ]
null
null
null
// Thermistor utility functions // // Author: Matthew Knight // File Name: util.hpp // Date: 2019-08-12 #pragma once #include <iterator> namespace Thermistor { // constexpr range checker. predicate is used to compare every element and // its predesesor template <typename Iterator, typename Predicate> constexpr b...
24.965517
75
0.697514
matt1795
253a85ba64ff7c4ced3e3c7c26e811efead82d1f
1,306
hh
C++
elements/local/autodpaint.hh
MacWR/Click-changed-for-ParaGraph
18285e5da578fbb7285d10380836146e738dee6e
[ "Apache-2.0" ]
null
null
null
elements/local/autodpaint.hh
MacWR/Click-changed-for-ParaGraph
18285e5da578fbb7285d10380836146e738dee6e
[ "Apache-2.0" ]
null
null
null
elements/local/autodpaint.hh
MacWR/Click-changed-for-ParaGraph
18285e5da578fbb7285d10380836146e738dee6e
[ "Apache-2.0" ]
null
null
null
#ifndef CLICK_AUTODPAINT_HH #define CLICK_AUTODPAINT_HH #include <click/element.hh> CLICK_DECLS /* =c AutoDPaint(COLORANGE,OPERATIONCOLOR) =s autoDpaint sets packet two layers' autodpaint annotations =d The first layer Paint is to protect the consistency of the packet copys: Sets each packet's first Paint annota...
24.185185
137
0.743492
MacWR
253ce622b9954c1ada6315da36f8d6ad38172cf0
388
cpp
C++
IOST14.cpp
aaryan0348/E-Lab-Object-Oriented-Programming
29f3ca80dbf2268441b5b9e426415650a607195a
[ "MIT" ]
null
null
null
IOST14.cpp
aaryan0348/E-Lab-Object-Oriented-Programming
29f3ca80dbf2268441b5b9e426415650a607195a
[ "MIT" ]
null
null
null
IOST14.cpp
aaryan0348/E-Lab-Object-Oriented-Programming
29f3ca80dbf2268441b5b9e426415650a607195a
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { float n; float pi; cin>>n; int i=0; int n1=n; while(n>0) { pi=(float)22/7; cout.precision(n); cout<<pi; while(i) { cout<<'*'; i--; } i=n1-n+1; n--; cout<<endl; } cout<<"3"<<endl<<"Fill Setting:*"; ...
12.125
37
0.466495
aaryan0348
2540014eae291b7d481e70e6939ec48afa99fdfb
200,731
inl
C++
2d_samples/pmj02_180.inl
st-ario/rayme
315c57c23f4aa4934a8a80e84e3243acd3400808
[ "MIT" ]
1
2021-12-10T23:35:04.000Z
2021-12-10T23:35:04.000Z
2d_samples/pmj02_180.inl
st-ario/rayme
315c57c23f4aa4934a8a80e84e3243acd3400808
[ "MIT" ]
null
null
null
2d_samples/pmj02_180.inl
st-ario/rayme
315c57c23f4aa4934a8a80e84e3243acd3400808
[ "MIT" ]
null
null
null
{std::array<float,2>{0.407800078f, 0.8442536f}, std::array<float,2>{0.587527096f, 0.23548229f}, std::array<float,2>{0.978728712f, 0.646827936f}, std::array<float,2>{0.130732656f, 0.300448418f}, std::array<float,2>{0.103660405f, 0.522768974f}, std::array<float,2>{0.782684922f, 0.481478781f}, std::array<float,2>{0.713951...
49.006592
51
0.734725
st-ario
2542029350b0b404fbb1ac81123e1b99e37bef78
1,206
hpp
C++
src/utils/io.hpp
aligungr/ue-ran-sim
564f9d228723f03adfa2b02df2ea019bdf305085
[ "MIT" ]
16
2020-04-16T02:07:37.000Z
2020-07-23T10:48:27.000Z
src/utils/io.hpp
aligungr/ue-ran-sim
564f9d228723f03adfa2b02df2ea019bdf305085
[ "MIT" ]
8
2020-07-13T17:11:35.000Z
2020-08-03T16:46:31.000Z
src/utils/io.hpp
aligungr/ue-ran-sim
564f9d228723f03adfa2b02df2ea019bdf305085
[ "MIT" ]
9
2020-03-04T15:05:08.000Z
2020-07-30T06:18:18.000Z
// // This file is a part of UERANSIM open source project. // Copyright (c) 2021 ALİ GÜNGÖR. // // The software and all associated files are licensed under GPL-3.0 // and subject to the terms and conditions defined in LICENSE file. // #pragma once #include <string> #include <vector> namespace io { void CreateDirect...
24.12
81
0.740464
aligungr
25434081e9cb5acc2e145d1a614574615f6f255f
136
cpp
C++
cpp/pb_large_map/LargeMap.cpp
patrit/playground
6ace43f81123a06e9b5820e1f75e5a9af0cb37b9
[ "MIT" ]
null
null
null
cpp/pb_large_map/LargeMap.cpp
patrit/playground
6ace43f81123a06e9b5820e1f75e5a9af0cb37b9
[ "MIT" ]
null
null
null
cpp/pb_large_map/LargeMap.cpp
patrit/playground
6ace43f81123a06e9b5820e1f75e5a9af0cb37b9
[ "MIT" ]
null
null
null
#include "LargeMap.hpp" LargeMap::Map LargeMap::_map{ {"foo", {{"bar42", 42}, {"bar43", 43}, } }, };
13.6
29
0.426471
patrit
25448e6a51424ada9805a6c032e1ec65fdbb7890
1,183
hh
C++
trick_source/data_products/Apps/trkConvert/TRK_DataLog.hh
gilbertguoze/trick
f0537efb0fa3cb5c0c84e36b60f055c1d1c60d21
[ "NASA-1.3" ]
647
2015-05-07T16:08:16.000Z
2022-03-30T02:33:21.000Z
trick_source/data_products/Apps/trkConvert/TRK_DataLog.hh
gilbertguoze/trick
f0537efb0fa3cb5c0c84e36b60f055c1d1c60d21
[ "NASA-1.3" ]
995
2015-04-30T19:44:31.000Z
2022-03-31T20:14:44.000Z
trick_source/data_products/Apps/trkConvert/TRK_DataLog.hh
gilbertguoze/trick
f0537efb0fa3cb5c0c84e36b60f055c1d1c60d21
[ "NASA-1.3" ]
251
2015-05-15T09:24:34.000Z
2022-03-22T20:39:05.000Z
#ifndef TRK_DATA_LOG_HH #define TRK_DATA_LOG_HH #include <stdio.h> // FILE #include <stdint.h> // Requires C99 #include <string> #include <vector> #include "LogFormatter.hh" #include "ParamDescription.hh" class TRK_DataLog { public: static const int LittleEndian; static const int BigEndian; std::vec...
23.66
63
0.71175
gilbertguoze
25452d7b66752b9252960b9985a8b6186e1030b4
1,095
hpp
C++
src/engine/mapset.hpp
eXl-Nic/eXl
a5a0f77f47db3179365c107a184bb38b80280279
[ "MIT" ]
null
null
null
src/engine/mapset.hpp
eXl-Nic/eXl
a5a0f77f47db3179365c107a184bb38b80280279
[ "MIT" ]
null
null
null
src/engine/mapset.hpp
eXl-Nic/eXl
a5a0f77f47db3179365c107a184bb38b80280279
[ "MIT" ]
null
null
null
#pragma once #include <dunatk/map/map.hpp> #include <dunatk/map/tile.hpp> #include <dunatk/map/tileblock.hpp> namespace eXl { class MapSet : public HeapObject { MapSet(); public: IntrusivePtr<SpriteDesc const> texFloor; IntrusivePtr<SpriteDesc const> texFloorBorder; IntrusivePtr<SpriteDesc const...
24.886364
53
0.742466
eXl-Nic
8584124fdaa67095b42aa00325694a65e9782bcb
5,735
cpp
C++
cocos2dx_playground/Classes/step_rain_of_chaos_game_test_ActorMoveScene.cpp
R2Road/cocos2dx_playground
6e6f349b5c9fc702558fe8720ba9253a8ba00164
[ "Apache-2.0" ]
9
2020-06-11T17:09:44.000Z
2021-12-25T00:34:33.000Z
cocos2dx_playground/Classes/step_rain_of_chaos_game_test_ActorMoveScene.cpp
R2Road/cocos2dx_playground
6e6f349b5c9fc702558fe8720ba9253a8ba00164
[ "Apache-2.0" ]
9
2019-12-21T15:01:01.000Z
2020-12-05T15:42:43.000Z
cocos2dx_playground/Classes/step_rain_of_chaos_game_test_ActorMoveScene.cpp
R2Road/cocos2dx_playground
6e6f349b5c9fc702558fe8720ba9253a8ba00164
[ "Apache-2.0" ]
1
2020-09-07T01:32:16.000Z
2020-09-07T01:32:16.000Z
#include "step_rain_of_chaos_game_test_ActorMoveScene.h" #include <new> #include <numeric> #include "2d/CCLabel.h" #include "2d/CCLayer.h" #include "base/CCDirector.h" #include "base/CCEventDispatcher.h" #include "base/CCEventListenerKeyboard.h" #include "base/ccUTF8.h" #include "cpg_SStream.h" #include "cpg_StringT...
26.068182
157
0.668178
R2Road
8584f961bca75835df6fe42b8072af2f58d87d2d
451
cpp
C++
src/cmcandy/C_Language_Answers/_0026.cpp
ch98road/leetcode
a9b4be54a169b30f6711809b892dd1f79f2a17e7
[ "MIT" ]
null
null
null
src/cmcandy/C_Language_Answers/_0026.cpp
ch98road/leetcode
a9b4be54a169b30f6711809b892dd1f79f2a17e7
[ "MIT" ]
null
null
null
src/cmcandy/C_Language_Answers/_0026.cpp
ch98road/leetcode
a9b4be54a169b30f6711809b892dd1f79f2a17e7
[ "MIT" ]
1
2020-11-26T03:01:12.000Z
2020-11-26T03:01:12.000Z
#include <iostream> #include <map> #include <vector> using namespace::std; class Solution { public: int removeDuplicates(vector<int>& nums) { int cur=0; map<int,int>m; for (int i = 0; i < nums.size(); i++) { if (m.find(nums[i])==m.end()) { //...
19.608696
45
0.427938
ch98road
8587631e041c8479eaedc531b415d9a88ae52421
2,957
cpp
C++
src/io/serialPort.cpp
oblaser/omw
3206f5faf8ec26c63004de358235ba7efbd10c4f
[ "MIT" ]
null
null
null
src/io/serialPort.cpp
oblaser/omw
3206f5faf8ec26c63004de358235ba7efbd10c4f
[ "MIT" ]
null
null
null
src/io/serialPort.cpp
oblaser/omw
3206f5faf8ec26c63004de358235ba7efbd10c4f
[ "MIT" ]
null
null
null
/* author Oliver Blaser date 17.12.2021 copyright MIT - Copyright (c) 2021 Oliver Blaser */ #include <algorithm> #include <string> #include <vector> #include "omw/defs.h" #include "omw/io/serialPort.h" #include "omw/string.h" #include "omw/windows/windows.h" namespace { #ifdef OMW_PLAT_WI...
22.233083
84
0.578627
oblaser
858b3f66f848eea4e5fe243506ea4b0584394681
531
cpp
C++
Source/URoboViz/Private/Controllers/RobotController.cpp
HoangGiang93/URoboViz
dcaab223c30827977d15300f7ae4b19ba0ddfa4f
[ "MIT" ]
null
null
null
Source/URoboViz/Private/Controllers/RobotController.cpp
HoangGiang93/URoboViz
dcaab223c30827977d15300f7ae4b19ba0ddfa4f
[ "MIT" ]
null
null
null
Source/URoboViz/Private/Controllers/RobotController.cpp
HoangGiang93/URoboViz
dcaab223c30827977d15300f7ae4b19ba0ddfa4f
[ "MIT" ]
null
null
null
// Copyright (c) 2022, Hoang Giang Nguyen - Institute for Artificial Intelligence, University Bremen #include "Controllers/RobotController.h" #include "Animation/SkeletalMeshActor.h" DEFINE_LOG_CATEGORY_STATIC(LogRobotController, Log, All); URobotController::URobotController() { } void URobotController::...
22.125
101
0.709981
HoangGiang93
858d1219e9e1be331ca432ebb6a99d65c36bf1a1
2,023
cpp
C++
android/app/src/cpp/src/base/tools/Timer.cpp
FlameSalamander/react-native-xmrig
6a6e3b301bd78b88459989f334d759f65e434082
[ "MIT" ]
28
2021-05-11T03:28:57.000Z
2022-03-09T14:34:57.000Z
android/app/src/cpp/src/base/tools/Timer.cpp
FlameSalamander/react-native-xmrig
6a6e3b301bd78b88459989f334d759f65e434082
[ "MIT" ]
10
2021-05-16T19:50:31.000Z
2022-01-30T03:56:45.000Z
android/app/src/cpp/src/base/tools/Timer.cpp
FlameSalamander/react-native-xmrig
6a6e3b301bd78b88459989f334d759f65e434082
[ "MIT" ]
12
2021-07-19T22:14:58.000Z
2022-02-08T02:24:05.000Z
/* XMRig * Copyright 2018-2020 SChernykh <https://github.com/SChernykh> * Copyright 2016-2020 XMRig <https://github.com/xmrig>, <support@xmrig.com> * * 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 Fr...
21.521277
82
0.695502
FlameSalamander
858d21f8b3654fc3784454fa510505c5cdb008ed
527
cc
C++
ui/display/chromeos/ozone/display_configurator_ozone.cc
domenic/mojo
53dda76fed90a47c35ed6e06baf833a0d44495b8
[ "BSD-3-Clause" ]
27
2016-04-27T01:02:03.000Z
2021-12-13T08:53:19.000Z
ui/display/chromeos/ozone/display_configurator_ozone.cc
domenic/mojo
53dda76fed90a47c35ed6e06baf833a0d44495b8
[ "BSD-3-Clause" ]
2
2017-03-09T09:00:50.000Z
2017-09-21T15:48:20.000Z
ui/display/chromeos/ozone/display_configurator_ozone.cc
domenic/mojo
53dda76fed90a47c35ed6e06baf833a0d44495b8
[ "BSD-3-Clause" ]
17
2016-04-27T02:06:39.000Z
2019-12-18T08:07:00.000Z
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/display/chromeos/display_configurator.h" #include "ui/display/types/native_display_delegate.h" #include "ui/ozone/public/ozone_platform.h" ...
29.277778
73
0.789374
domenic
859144fe3502ca1d0a582301f21ac43a1abcc4b9
4,268
hpp
C++
include/codegen/include/System/DateTimeResult.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/System/DateTimeResult.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/System/DateTimeResult.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: System.ValueType #include "System/ValueType.hpp" // Inc...
43.55102
862
0.714855
Futuremappermydud
85930680ecaf000349ed02a841828353c188a384
10,830
cc
C++
Third-party/Sokol/src/d3d11/imgui-d3d11.cc
VLiance/Demos
fa8435c2fa0f46e1324a71501fdf646326936148
[ "Unlicense" ]
null
null
null
Third-party/Sokol/src/d3d11/imgui-d3d11.cc
VLiance/Demos
fa8435c2fa0f46e1324a71501fdf646326936148
[ "Unlicense" ]
null
null
null
Third-party/Sokol/src/d3d11/imgui-d3d11.cc
VLiance/Demos
fa8435c2fa0f46e1324a71501fdf646326936148
[ "Unlicense" ]
null
null
null
//------------------------------------------------------------------------------ // imgui-d3d11.cc // Dear ImGui integration sample with D3D11 backend. //------------------------------------------------------------------------------ #include "d3d11entry.h" #define SOKOL_IMPL #define SOKOL_D3D11 #define SOKOL_D3D11_SH...
39.525547
130
0.637027
VLiance
8594dcfafda4d2bda1e07bb9eb18ee8bd8228b10
2,771
cpp
C++
engine/RenderPipelineManager.cpp
shanysheng/orange3d
9ee081a98e14fdeb3aaafd6bbb49fe027d4cd3c0
[ "BSD-2-Clause" ]
11
2017-06-06T17:22:30.000Z
2022-03-23T11:56:49.000Z
engine/RenderPipelineManager.cpp
shanysheng/orange3d
9ee081a98e14fdeb3aaafd6bbb49fe027d4cd3c0
[ "BSD-2-Clause" ]
null
null
null
engine/RenderPipelineManager.cpp
shanysheng/orange3d
9ee081a98e14fdeb3aaafd6bbb49fe027d4cd3c0
[ "BSD-2-Clause" ]
5
2018-02-07T02:48:59.000Z
2021-08-23T05:16:59.000Z
#include "RenderPipelineManager.h" namespace pipeline{ CRenderPipelineManager::CRenderPipelineManager():m_pRenderingEngine(NULL) { } CRenderPipelineManager::~CRenderPipelineManager() { ClearRenderPipeline(); ClearPrototypes(); } IRenderPipeline*CRenderPipelin...
27.71
109
0.568748
shanysheng
859d147d58d8cc6943a7c3f9494e518edaee6312
369
cpp
C++
Algorithms/1759.Count_Number_of_Homogenous_Substrings.cpp
metehkaya/LeetCode
52f4a1497758c6f996d515ced151e8783ae4d4d2
[ "MIT" ]
2
2020-07-20T06:40:22.000Z
2021-11-20T01:23:26.000Z
Problems/LeetCode/Problems/1759.Count_Number_of_Homogenous_Substrings.cpp
metehkaya/Algo-Archive
03b5fdcf06f84a03125c57762c36a4e03ca6e756
[ "MIT" ]
null
null
null
Problems/LeetCode/Problems/1759.Count_Number_of_Homogenous_Substrings.cpp
metehkaya/Algo-Archive
03b5fdcf06f84a03125c57762c36a4e03ca6e756
[ "MIT" ]
null
null
null
class Solution { public: const int MOD = (int) 1e9 + 7; int countHomogenous(string s) { long long ans = 0; int n = s.length(); for( int i = 0 , j = 0 ; i < n ; i = j ) { while(j < n && s[i] == s[j]) j++; long long k = j-i; ans += k*(k+1...
24.6
50
0.382114
metehkaya
859ed42fd82392c56c62d3d4b1c29d87fb390c43
24,351
cpp
C++
ugene/src/plugins_3rdparty/primer3/src/Primer3Task.cpp
iganna/lspec
c75cba3e4fa9a46abeecbf31b5d467827cf4fec0
[ "MIT" ]
null
null
null
ugene/src/plugins_3rdparty/primer3/src/Primer3Task.cpp
iganna/lspec
c75cba3e4fa9a46abeecbf31b5d467827cf4fec0
[ "MIT" ]
null
null
null
ugene/src/plugins_3rdparty/primer3/src/Primer3Task.cpp
iganna/lspec
c75cba3e4fa9a46abeecbf31b5d467827cf4fec0
[ "MIT" ]
null
null
null
/** * UGENE - Integrated Bioinformatics Tools. * Copyright (C) 2008-2012 UniPro <ugene@unipro.ru> * http://ugene.unipro.ru * * 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...
33.727147
219
0.66909
iganna
85a18b33b0e57de1af303a5730d694bb85701870
1,751
cpp
C++
tightvnc/win-system/DynamicLibrary.cpp
jjzhang166/qmlvncviewer2
b888c416ab88b81fe802ab0559bb87361833a0b5
[ "Apache-2.0" ]
47
2016-08-17T03:18:32.000Z
2022-01-14T01:33:15.000Z
tightvnc/win-system/DynamicLibrary.cpp
jjzhang166/qmlvncviewer2
b888c416ab88b81fe802ab0559bb87361833a0b5
[ "Apache-2.0" ]
3
2018-06-29T06:13:28.000Z
2020-11-26T02:31:49.000Z
tightvnc/win-system/DynamicLibrary.cpp
jjzhang166/qmlvncviewer2
b888c416ab88b81fe802ab0559bb87361833a0b5
[ "Apache-2.0" ]
15
2016-08-17T07:03:55.000Z
2021-08-02T14:42:02.000Z
// Copyright (C) 2009,2010,2011,2012 GlavSoft LLC. // All rights reserved. // //------------------------------------------------------------------------- // This file is part of the TightVNC software. Please visit our Web site: // // http://www.tightvnc.com/ // // This program is free software; y...
26.530303
75
0.649343
jjzhang166
85a8a6b10f2ae79f6d883c916966b6b98a62618d
1,506
hpp
C++
include/dish2/record/global_records_finalize.hpp
mmore500/dishtiny
9fcb52c4e56c74a4e17f7d577143ed40c158c92e
[ "MIT" ]
29
2019-02-04T02:39:52.000Z
2022-01-28T10:06:26.000Z
include/dish2/record/global_records_finalize.hpp
mmore500/dishtiny
9fcb52c4e56c74a4e17f7d577143ed40c158c92e
[ "MIT" ]
95
2020-02-22T19:48:14.000Z
2021-09-14T19:17:53.000Z
include/dish2/record/global_records_finalize.hpp
mmore500/dishtiny
9fcb52c4e56c74a4e17f7d577143ed40c158c92e
[ "MIT" ]
6
2019-11-19T10:13:09.000Z
2021-03-25T17:35:32.000Z
#pragma once #ifndef DISH2_RECORD_GLOBAL_RECORDS_FINALIZE_HPP_INCLUDE #define DISH2_RECORD_GLOBAL_RECORDS_FINALIZE_HPP_INCLUDE #include <cstdlib> #include "../../../third-party/conduit/include/uitsl/debug/err_verify.hpp" #include "../../../third-party/conduit/include/uitsl/debug/list_cwd.hpp" #include "../../../third...
28.415094
78
0.731076
mmore500
85a95df74baa0d5171c000bcde253f924c623d5d
4,791
hpp
C++
contrib/autoboost/autoboost/mpl/aux_/logical_op.hpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
87
2015-01-18T00:43:06.000Z
2022-02-11T17:40:50.000Z
contrib/autoboost/autoboost/mpl/aux_/logical_op.hpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
274
2015-01-03T04:50:49.000Z
2021-03-08T09:01:09.000Z
contrib/autoboost/autoboost/mpl/aux_/logical_op.hpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
15
2015-09-30T20:58:43.000Z
2020-12-19T21:24:56.000Z
// Copyright Aleksey Gurtovoy 2000-2004 // // 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) // // See http://www.boost.org/libs/mpl for documentation. // $Id$ // $Date$ // $Revision$ // NO INCLUDE GUARDS, THE H...
28.861446
104
0.736798
CaseyCarter
85a9c3645576374a0825d30068d3a73f82dd6ac9
2,331
hpp
C++
Public/Expected/Details/BaseCopy.hpp
doctor-fate/expected
1cfa9a1fe6700c49a4cc5c65301559a0b373a692
[ "MIT" ]
1
2021-07-10T09:54:18.000Z
2021-07-10T09:54:18.000Z
Public/Expected/Details/BaseCopy.hpp
doctor-fate/expected
1cfa9a1fe6700c49a4cc5c65301559a0b373a692
[ "MIT" ]
null
null
null
Public/Expected/Details/BaseCopy.hpp
doctor-fate/expected
1cfa9a1fe6700c49a4cc5c65301559a0b373a692
[ "MIT" ]
null
null
null
#pragma once #include "BaseDestructor.hpp" namespace stdx::details { enum class EConstructorSelector { Disabled, Trivial, NonTrivial }; template <typename T, typename E> constexpr EConstructorSelector SelectCopyConstructor() noexcept { if constexpr (VoidOrTriviallyCopyConstructible<T>() && Trivia...
34.791045
97
0.648649
doctor-fate
85b0c4fb364783a7874cf6a4da39e9523835dede
666
cpp
C++
server/memory.cpp
FaresMehanna/Monitor-And-Control-Server-Room
29caea1501a5174c63ba87c47545c889b9cf2e51
[ "MIT" ]
null
null
null
server/memory.cpp
FaresMehanna/Monitor-And-Control-Server-Room
29caea1501a5174c63ba87c47545c889b9cf2e51
[ "MIT" ]
null
null
null
server/memory.cpp
FaresMehanna/Monitor-And-Control-Server-Room
29caea1501a5174c63ba87c47545c889b9cf2e51
[ "MIT" ]
null
null
null
#include <stdio.h> #include <pthread.h> #include <unistd.h> #include <stdlib.h> #include "device.h" #include "memory.h" void acquire(DeviceData* device_data) { printf("acquire.\n"); pthread_mutex_lock(&(device_data->itmes_mutex)); (device_data->memory_pointers)++; pthread_mutex_unlock(&(device_data->itmes...
26.64
54
0.71021
FaresMehanna
85b1838fdc34e86335c44941f09cd5104ecc0cf1
3,988
cpp
C++
src/loader/ImageIO.cpp
PearCoding/PearRay
8654a7dcd55cc67859c7c057c7af64901bf97c35
[ "MIT" ]
19
2016-11-07T00:01:19.000Z
2021-12-29T05:35:14.000Z
src/loader/ImageIO.cpp
PearCoding/PearRay
8654a7dcd55cc67859c7c057c7af64901bf97c35
[ "MIT" ]
33
2016-07-06T21:58:05.000Z
2020-08-01T18:18:24.000Z
src/loader/ImageIO.cpp
PearCoding/PearRay
8654a7dcd55cc67859c7c057c7af64901bf97c35
[ "MIT" ]
null
null
null
#include "ImageIO.h" #include "Logger.h" #include "config/Build.h" #include <OpenImageIO/imageio.h> namespace PR { bool ImageIO::save(const std::filesystem::path& path, const float* data, size_t width, size_t height, size_t channels, const ImageSaveOptions& opts) { OIIO::ImageSpec spec(width, height, channels, OIIO:...
28.690647
148
0.650201
PearCoding
85b9aed1dcde728eecce0366c3f190a1540c442b
224
cpp
C++
various/COP3330/lect9/sample9.cpp
chgogos/oop
3b0e6bbd29a76f863611e18d082913f080b1b571
[ "MIT" ]
14
2019-04-23T13:45:10.000Z
2022-03-12T18:26:47.000Z
various/COP3330/lect9/sample9.cpp
chgogos/oop
3b0e6bbd29a76f863611e18d082913f080b1b571
[ "MIT" ]
null
null
null
various/COP3330/lect9/sample9.cpp
chgogos/oop
3b0e6bbd29a76f863611e18d082913f080b1b571
[ "MIT" ]
9
2019-09-01T15:17:45.000Z
2020-11-13T20:31:36.000Z
#include <iostream> #include <stdio.h> using namespace std; int main() { int MyInt = 4; int &MyIntRef = MyInt; int *MyIntPtr; MyIntPtr = &MyIntRef; cout << *MyIntPtr << "\n"; return 0; } /* 4 */
10.666667
30
0.558036
chgogos
85bc42eec3122deae4f4f2cb2c166a236d58a2a3
60,580
cpp
C++
corokafka/impl/corokafka_consumer_manager_impl.cpp
gridgentoo/corokafka
23705484d7126771c012e04304499aa06dbc88c7
[ "Apache-2.0" ]
null
null
null
corokafka/impl/corokafka_consumer_manager_impl.cpp
gridgentoo/corokafka
23705484d7126771c012e04304499aa06dbc88c7
[ "Apache-2.0" ]
null
null
null
corokafka/impl/corokafka_consumer_manager_impl.cpp
gridgentoo/corokafka
23705484d7126771c012e04304499aa06dbc88c7
[ "Apache-2.0" ]
null
null
null
/* ** Copyright 2019 Bloomberg Finance L.P. ** ** 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...
43.520115
154
0.611571
gridgentoo
85beaa553c98c788002eef0f4d070a28bd621981
5,831
cpp
C++
pimc/particleContainer/particleContainer.cpp
lucaparisi91/qmc4
f1ad1b105568500c9a8259e509dd3e01a933a050
[ "MIT" ]
null
null
null
pimc/particleContainer/particleContainer.cpp
lucaparisi91/qmc4
f1ad1b105568500c9a8259e509dd3e01a933a050
[ "MIT" ]
null
null
null
pimc/particleContainer/particleContainer.cpp
lucaparisi91/qmc4
f1ad1b105568500c9a8259e509dd3e01a933a050
[ "MIT" ]
null
null
null
#include "particleContainer.h" #include <array> #include <cmath> #include <cassert> #include <exception> #include <iostream> #include <sstream> #include <algorithm> #include <memory.h> #include "../pimcConfigurations.h" namespace pimc { template<int d> inline int indexFortranStorage(const int* im, const int* sizes) ...
24.295833
149
0.537644
lucaparisi91
85c14746d830a377c8fc64b56d5af9c8ae2a6ffa
7,462
cxx
C++
Modules/Radiometry/Simulation/test/otbImageSimulationMethodKMeansClassif.cxx
qingswu/otb
ed903b6a5e51a27a3d04786e4ad1637cf6b2772e
[ "Apache-2.0" ]
null
null
null
Modules/Radiometry/Simulation/test/otbImageSimulationMethodKMeansClassif.cxx
qingswu/otb
ed903b6a5e51a27a3d04786e4ad1637cf6b2772e
[ "Apache-2.0" ]
null
null
null
Modules/Radiometry/Simulation/test/otbImageSimulationMethodKMeansClassif.cxx
qingswu/otb
ed903b6a5e51a27a3d04786e4ad1637cf6b2772e
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * 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 ...
38.266667
155
0.719244
qingswu
85c2389dec561ca7a80bd6c08f9934a6746ac57a
7,736
cpp
C++
appsrc/DistributedConfigGenerator.cpp
slashdotted/PomaPure
c469efba9813b4b897129cff9699983c3f90b24b
[ "BSD-3-Clause" ]
2
2017-12-11T01:07:45.000Z
2021-08-21T20:57:04.000Z
appsrc/DistributedConfigGenerator.cpp
slashdotted/PomaPure
c469efba9813b4b897129cff9699983c3f90b24b
[ "BSD-3-Clause" ]
null
null
null
appsrc/DistributedConfigGenerator.cpp
slashdotted/PomaPure
c469efba9813b4b897129cff9699983c3f90b24b
[ "BSD-3-Clause" ]
1
2017-08-29T17:53:20.000Z
2017-08-29T17:53:20.000Z
/* * Copyright (C)2015,2016,2017 Amos Brocco (amos.brocco@supsi.ch) * Scuola Universitaria Professionale della * Svizzera Italiana (SUPSI) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are perm...
47.460123
118
0.586608
slashdotted
85c3a32ec8a115fac835f0e829db3cbda2aa6e23
35,918
cpp
C++
csl/cslbase/arith07.cpp
arthurcnorman/general
5e8fef0cc7999fa8ab75d8fdf79ad5488047282b
[ "BSD-2-Clause" ]
null
null
null
csl/cslbase/arith07.cpp
arthurcnorman/general
5e8fef0cc7999fa8ab75d8fdf79ad5488047282b
[ "BSD-2-Clause" ]
null
null
null
csl/cslbase/arith07.cpp
arthurcnorman/general
5e8fef0cc7999fa8ab75d8fdf79ad5488047282b
[ "BSD-2-Clause" ]
null
null
null
// arith07.cpp Copyright (C) 1990-2020 Codemist // // Arithmetic functions. negation plus a load of Common Lisp things // for support of complex numbers. // // /************************************************************************** * Copyright (C) 2020, Codemist. ...
36.914697
85
0.587143
arthurcnorman
85c99d2b6b4215afc6f0ae82c6234c5939f9b5cc
7,056
cpp
C++
src/testcase/backtrace.cpp
jjg1914/testcase
1edca3295ea65d654f0b363bd0bde8c0f0b653f3
[ "MIT" ]
null
null
null
src/testcase/backtrace.cpp
jjg1914/testcase
1edca3295ea65d654f0b363bd0bde8c0f0b653f3
[ "MIT" ]
null
null
null
src/testcase/backtrace.cpp
jjg1914/testcase
1edca3295ea65d654f0b363bd0bde8c0f0b653f3
[ "MIT" ]
null
null
null
#include <bfd.h> #include <execinfo.h> #include <cxxabi.h> #include <csignal> #include <cmath> #include <map> #include <string> #include <sstream> #include <iostream> #include <iomanip> #include <memory> #include "testcase/backtrace.h" using namespace std; using namespace testcase; #define BACKTRACE_BUF_SIZE \ (s...
21.512195
77
0.618906
jjg1914
85cb6cbecfb350484fccd1aee3264ef374dbd7b6
4,152
cpp
C++
src/guacamole/guac_clipboard.cpp
unk0rrupt/collab-vm-server
30a18cc91b757216a08e900826b589ce29bc3bf0
[ "Apache-2.0" ]
74
2020-12-20T19:29:21.000Z
2021-12-04T14:59:29.000Z
src/guacamole/guac_clipboard.cpp
unk0rrupt/collab-vm-server
30a18cc91b757216a08e900826b589ce29bc3bf0
[ "Apache-2.0" ]
2
2020-12-27T12:10:50.000Z
2021-01-24T12:38:24.000Z
src/guacamole/guac_clipboard.cpp
unk0rrupt/collab-vm-server
30a18cc91b757216a08e900826b589ce29bc3bf0
[ "Apache-2.0" ]
4
2020-12-20T14:28:11.000Z
2021-08-20T17:01:11.000Z
/* * Copyright (C) 2014 Glyptodon 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 restriction, including without limitation the rights * to use, copy, modify, merge, publi...
32.692913
99
0.71315
unk0rrupt
85cc1d3b70ab1457358c4c505c56772a8f8ae098
2,749
cpp
C++
src/MeshDataBuffer.cpp
jaredmulconry/GLProj
722fc9804cf6bd2ee0098e6eed9261198f55d0b9
[ "MIT" ]
1
2016-11-28T07:14:41.000Z
2016-11-28T07:14:41.000Z
src/MeshDataBuffer.cpp
jaredmulconry/GLProj
722fc9804cf6bd2ee0098e6eed9261198f55d0b9
[ "MIT" ]
null
null
null
src/MeshDataBuffer.cpp
jaredmulconry/GLProj
722fc9804cf6bd2ee0098e6eed9261198f55d0b9
[ "MIT" ]
null
null
null
#include "MeshDataBuffer.hpp" #include "GLFW/glfw3.h" namespace GlProj { namespace Graphics { MeshDataBuffer::MeshDataBuffer(BufferType bufferType, GLsizeiptr dataSize, const GLvoid* data, GLenum dataType, GLint elemsPerVert, BufferUsage usage) : bufferType(GLenum(bufferType)) , dataType(dataType)...
26.95098
107
0.719534
jaredmulconry
85cd11adad48cfa373d705f644b8c537794fde31
7,135
cc
C++
test/web/test_parser.cc
protocolocon/nanoWeb
a89b3f9d9c9b7421a5005971565795519728f31b
[ "BSD-2-Clause" ]
null
null
null
test/web/test_parser.cc
protocolocon/nanoWeb
a89b3f9d9c9b7421a5005971565795519728f31b
[ "BSD-2-Clause" ]
null
null
null
test/web/test_parser.cc
protocolocon/nanoWeb
a89b3f9d9c9b7421a5005971565795519728f31b
[ "BSD-2-Clause" ]
null
null
null
/* -*- mode: c++; coding: utf-8; c-file-style: "stroustrup"; -*- Contributors: Asier Aguirre All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE.txt file. */ #include "catch.hpp" #include "ml_parser.h" #define _ "\n" #define DUMP(x, ...) ...
30.361702
68
0.55417
protocolocon
85cfdef4c6e0b72a70a5a5674f7cb49381df7379
4,605
cpp
C++
Sources/RealSense/Microsoft.Psi.RealSense_Interop.Windows.x64/RealSenseDeviceUnmanaged.cpp
pat-sweeney/psi
273b6d442821cc9942953ea6b51cfcff0edda11f
[ "MIT" ]
332
2019-05-10T20:30:40.000Z
2022-03-14T08:42:33.000Z
Sources/RealSense/Microsoft.Psi.RealSense_Interop.Windows.x64/RealSenseDeviceUnmanaged.cpp
pat-sweeney/psi
273b6d442821cc9942953ea6b51cfcff0edda11f
[ "MIT" ]
117
2019-06-12T21:13:03.000Z
2022-03-19T00:32:20.000Z
Sources/RealSense/Microsoft.Psi.RealSense_Interop.Windows.x64/RealSenseDeviceUnmanaged.cpp
pat-sweeney/psi
273b6d442821cc9942953ea6b51cfcff0edda11f
[ "MIT" ]
73
2019-05-08T21:39:06.000Z
2022-03-24T08:34:26.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. #include "RealSenseDeviceUnmanaged.h" #include "librealsense2\h\rs_sensor.h" #pragma managed(push, off) RealSenseDeviceUnmanaged::RealSenseDeviceUnmanaged() { refCount = 0; } RealSenseDeviceUnmanaged::~RealSenseDeviceUnm...
24.365079
144
0.686862
pat-sweeney
85d8971a1c6bc4ddede096086254af866af86abd
4,427
hpp
C++
Firmware/communication/can/can_simple.hpp
takijo0116/ODrive
4c01d0bff2a1c4a67e0f9979c9797b846f5de5d2
[ "MIT" ]
1
2021-06-08T13:10:27.000Z
2021-06-08T13:10:27.000Z
Firmware/communication/can/can_simple.hpp
takijo0116/ODrive
4c01d0bff2a1c4a67e0f9979c9797b846f5de5d2
[ "MIT" ]
null
null
null
Firmware/communication/can/can_simple.hpp
takijo0116/ODrive
4c01d0bff2a1c4a67e0f9979c9797b846f5de5d2
[ "MIT" ]
null
null
null
#ifndef __CAN_SIMPLE_HPP_ #define __CAN_SIMPLE_HPP_ #include <interfaces/canbus.hpp> #include "axis.hpp" class CANSimple { public: enum { MSG_CO_NMT_CTRL = 0x000, // CANOpen NMT Message REC MSG_ODRIVE_HEARTBEAT, MSG_ODRIVE_ESTOP, MSG_GET_MOTOR_ERROR, // Errors MSG_GET_...
38.833333
139
0.727355
takijo0116
85d93d6a22aedcccd4bfe212c8e59a9be7b48290
2,387
cpp
C++
PA/Laborator/2020-2021/lab05 - Backtracking/cpp/task-1/main.cpp
mihai-constantin/ACS
098c99d82dad8fb5d0e909da930c72f1185a99e2
[ "Apache-2.0" ]
null
null
null
PA/Laborator/2020-2021/lab05 - Backtracking/cpp/task-1/main.cpp
mihai-constantin/ACS
098c99d82dad8fb5d0e909da930c72f1185a99e2
[ "Apache-2.0" ]
null
null
null
PA/Laborator/2020-2021/lab05 - Backtracking/cpp/task-1/main.cpp
mihai-constantin/ACS
098c99d82dad8fb5d0e909da930c72f1185a99e2
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <fstream> #include <vector> #include <unordered_set> using namespace std; class Task { public: void solve() { read_input(); print_output(get_result()); } private: int n, k; void read_input() { ifstream fin("in"); fin >> n >> k; fin....
27.125
134
0.509426
mihai-constantin
85e3a224111597a9bf265290809deab4b227b0c2
9,112
cpp
C++
SVEngine/src/node/SVScene.cpp
SVEChina/SVEngine
56174f479a3096e57165448142c1822e7db8c02f
[ "MIT" ]
34
2018-09-28T08:28:27.000Z
2022-01-15T10:31:41.000Z
SVEngine/src/node/SVScene.cpp
SVEChina/SVEngine
56174f479a3096e57165448142c1822e7db8c02f
[ "MIT" ]
null
null
null
SVEngine/src/node/SVScene.cpp
SVEChina/SVEngine
56174f479a3096e57165448142c1822e7db8c02f
[ "MIT" ]
8
2018-10-11T13:36:35.000Z
2021-04-01T09:29:34.000Z
// // SVScene.cpp // SVEngine // Copyright 2017-2020 // yizhou Fu,long Yin,longfei Lin,ziyu Xu,xiaofan Li,daming Li // #include "SVScene.h" #include "SVCameraNode.h" #include "SVNode.h" #include "SVNodeVisit.h" #include "../app/SVGlobalMgr.h" #include "../app/SVGlobalParam.h" #include "../basesys/SVStaticData.h" #incl...
26.259366
119
0.605685
SVEChina
85e7b434e4ae6c6d34529f621c507473dfc60304
1,067
hpp
C++
include/edlib/Hamiltonians/TITFIsing.hpp
chaeyeunpark/ExactDiagonalization
c93754e724486cc68453399c5dda6a2dadf45cb8
[ "MIT" ]
1
2021-04-24T08:47:05.000Z
2021-04-24T08:47:05.000Z
include/edlib/Hamiltonians/TITFIsing.hpp
chaeyeunpark/ExactDiagonalization
c93754e724486cc68453399c5dda6a2dadf45cb8
[ "MIT" ]
1
2021-09-28T19:02:14.000Z
2021-09-28T19:02:14.000Z
include/edlib/Hamiltonians/TITFIsing.hpp
chaeyeunpark/ExactDiagonalization
c93754e724486cc68453399c5dda6a2dadf45cb8
[ "MIT" ]
1
2020-03-22T18:59:11.000Z
2020-03-22T18:59:11.000Z
#ifndef ED_TITFI_HPP #define ED_TITFI_HPP #include <cstdint> #include <cassert> #include <algorithm> #include <map> #include <boost/dynamic_bitset.hpp> //#include "BitOperations.h" #include "../Basis/AbstractBasis1D.hpp" template<typename UINT> class TITFIsing { private: const edlib::AbstractBasis1D<UINT>& basis_; d...
18.084746
73
0.618557
chaeyeunpark