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
425c44c6ab3335b2a34784926aa7d93aff2771dd
189
cc
C++
lib/seadsa/Debug.cc
wenhuizhang/sea-dsa
098a945af596d29940421219741bea727778bfb5
[ "BSD-3-Clause" ]
2
2021-10-08T00:50:26.000Z
2021-12-17T07:18:15.000Z
lib/seadsa/Debug.cc
wenhuizhang/sea-dsa
098a945af596d29940421219741bea727778bfb5
[ "BSD-3-Clause" ]
1
2021-09-29T07:21:20.000Z
2021-09-29T07:21:20.000Z
lib/seadsa/Debug.cc
wenhuizhang/sea-dsa
098a945af596d29940421219741bea727778bfb5
[ "BSD-3-Clause" ]
1
2021-10-12T09:02:40.000Z
2021-10-12T09:02:40.000Z
#include <seadsa/support/Debug.h> std::set<std::string> seadsa::SeaDsaLog; void seadsa::SeaDsaEnableLog (std::string x) { if (x.empty()) return; seadsa::SeaDsaLog.insert (x); }
13.5
46
0.671958
wenhuizhang
4263fd30955386762c18b28f158d1a0ba1ab0767
647
cpp
C++
chapter_05/ComputeMean.cpp
Kevin-Oudai/my_cpp_solutions
a0f5f533ee4825f5b2d88cacc936d80276062ca4
[ "MIT" ]
null
null
null
chapter_05/ComputeMean.cpp
Kevin-Oudai/my_cpp_solutions
a0f5f533ee4825f5b2d88cacc936d80276062ca4
[ "MIT" ]
31
2021-05-14T03:37:24.000Z
2022-03-13T17:38:32.000Z
chapter_05/ComputeMean.cpp
Kevin-Oudai/my_cpp_solutions
a0f5f533ee4825f5b2d88cacc936d80276062ca4
[ "MIT" ]
null
null
null
// Exercise 5.47 - Statistics: Compute mean and standard deviation #include <iostream> #include <cmath> int main() { std::cout << "Enter ten numbers: "; int count = 0; double num, sum = 0.0, squareSum, sumSquare = 0, mean, deviation; while (count < 10) { std::cin >> num; sum += num...
25.88
72
0.554869
Kevin-Oudai
426414a602d2273e98bb37e0867cc6d70faec56d
3,812
cpp
C++
Final_Project/gl_common_ext/SkyBox.cpp
Guarionex/HCI-557-CG
a84fdb3a1440992cc1cc973f4360f232f94d2025
[ "MIT" ]
null
null
null
Final_Project/gl_common_ext/SkyBox.cpp
Guarionex/HCI-557-CG
a84fdb3a1440992cc1cc973f4360f232f94d2025
[ "MIT" ]
null
null
null
Final_Project/gl_common_ext/SkyBox.cpp
Guarionex/HCI-557-CG
a84fdb3a1440992cc1cc973f4360f232f94d2025
[ "MIT" ]
null
null
null
#include "SkyBox.h" #include <iostream> #define STB_IMAGE_IMPLEMENTATION #include "stb_image.h" #include "ShaderProgram.h" using namespace cs557; SkyBox::SkyBox(string left, string right, string up, string down, string front, string back, ShaderFiles skybox_shader_files) { vector<string> faces { left, right, ...
26.289655
125
0.705666
Guarionex
42670b3adde45ea4712819604d9f4ffe20d97c8c
1,918
cpp
C++
Leet Code/Word Break II.cpp
Shubhrmcf07/Competitive-Coding-and-Interview-Problems
7281ea3163c0cf6938a3af7b54a8a14f97c97c0e
[ "MIT" ]
51
2020-02-24T11:14:00.000Z
2022-03-24T09:32:18.000Z
Leet Code/Word Break II.cpp
Shubhrmcf07/Competitive-Coding-and-Interview-Problems
7281ea3163c0cf6938a3af7b54a8a14f97c97c0e
[ "MIT" ]
3
2020-10-02T08:16:09.000Z
2021-04-17T16:32:38.000Z
Leet Code/Word Break II.cpp
Shubhrmcf07/Competitive-Coding-and-Interview-Problems
7281ea3163c0cf6938a3af7b54a8a14f97c97c0e
[ "MIT" ]
18
2020-04-24T15:33:36.000Z
2022-03-24T09:32:20.000Z
/* Leet Code */ /* Title - Word Break II */ /* Created By - Akash Modak */ /* Date - 30/7/2020 */ // Given a non-empty string s and a dictionary wordDict containing a list of non-empty words, add spaces in s to construct a sentence where each word is a valid dictionary word. Return all such possible sentences. ...
24.909091
214
0.55318
Shubhrmcf07
4269616c992300e60e21a3675c0f8141b9005ac5
1,371
cpp
C++
Source/Urho3D/Urho2D/Urho2D.cpp
1vanK/Dviglo
468a61e6d9a87cf7d998312c1261aaa83b37ff3c
[ "MIT" ]
null
null
null
Source/Urho3D/Urho2D/Urho2D.cpp
1vanK/Dviglo
468a61e6d9a87cf7d998312c1261aaa83b37ff3c
[ "MIT" ]
1
2021-04-17T22:38:25.000Z
2021-04-18T00:43:15.000Z
Source/Urho3D/Urho2D/Urho2D.cpp
1vanK/Dviglo
468a61e6d9a87cf7d998312c1261aaa83b37ff3c
[ "MIT" ]
null
null
null
// Copyright (c) 2008-2021 the Urho3D project // Copyright (c) 2021 проект Dviglo // Лицензия: MIT #include "../Precompiled.h" #include "../Core/Context.h" #include "../Urho2D/StretchableSprite2D.h" #include "../Urho2D/AnimatedSprite2D.h" #include "../Urho2D/AnimationSet2D.h" #include "../Urho2D/ParticleEffect2D.h" #...
25.867925
55
0.737418
1vanK
f119e3f1a982e20ceda42c3237315147eded3850
2,960
hpp
C++
sc-memory/wrap/sc_stream.hpp
AbaevTM/json-parser-sc-machine
8ebe4fdc7be9076e23dd70de92761a8421a81d76
[ "MIT" ]
null
null
null
sc-memory/wrap/sc_stream.hpp
AbaevTM/json-parser-sc-machine
8ebe4fdc7be9076e23dd70de92761a8421a81d76
[ "MIT" ]
2
2016-05-19T11:54:58.000Z
2016-05-19T12:31:25.000Z
sc-memory/wrap/sc_stream.hpp
AbaevTM/json-parser-sc-machine
8ebe4fdc7be9076e23dd70de92761a8421a81d76
[ "MIT" ]
null
null
null
/* * This source file is part of an OSTIS project. For the latest info, see http://ostis.net * Distributed under the MIT License * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT) */ #pragma once extern "C" { #include "sc_memory_headers.h" } #include "sc_types.hpp" #include "sc_u...
26.19469
98
0.753378
AbaevTM
f11a018f0c555085ba4418b893b7a855262dca93
24,586
cpp
C++
EU4ToVic2Tests/MapperTests/IdeaEffectsMapperTests.cpp
Clonefusion/EU4toVic2
d39157b8317152da4ca138a69d78b6335bb27eb3
[ "MIT" ]
2
2020-01-02T16:07:51.000Z
2020-01-12T17:55:13.000Z
EU4ToVic2Tests/MapperTests/IdeaEffectsMapperTests.cpp
Clonefusion/EU4toVic2
d39157b8317152da4ca138a69d78b6335bb27eb3
[ "MIT" ]
3
2020-01-12T19:44:56.000Z
2020-01-17T05:40:41.000Z
EU4ToVic2Tests/MapperTests/IdeaEffectsMapperTests.cpp
Clonefusion/EU4toVic2
d39157b8317152da4ca138a69d78b6335bb27eb3
[ "MIT" ]
1
2020-01-12T17:55:40.000Z
2020-01-12T17:55:40.000Z
/*Copyright (c) 2019 The Paradox Game Converters Project 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, p...
26.465016
99
0.770194
Clonefusion
f11ecf0a20e614fa71f7e065d98200cc38c2c0ef
1,668
cpp
C++
third_party/WebKit/Source/modules/indexeddb/IndexedDBClient.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/modules/indexeddb/IndexedDBClient.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/modules/indexeddb/IndexedDBClient.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// 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 "modules/indexeddb/IndexedDBClient.h" #include "core/dom/Document.h" #include "core/dom/ExecutionContext.h" #include "core/frame/LocalFrame.h" #...
32.076923
77
0.736211
metux
f1200f6d1d40423723ee2962e0c49ba2c3bbe553
6,478
cpp
C++
lepra/src/des.cpp
highfestiva/life
b05b592502d72980ab55e13e84330b74a966f377
[ "BSD-3-Clause" ]
9
2019-09-03T18:33:31.000Z
2022-02-04T04:00:02.000Z
lepra/src/des.cpp
highfestiva/life
b05b592502d72980ab55e13e84330b74a966f377
[ "BSD-3-Clause" ]
null
null
null
lepra/src/des.cpp
highfestiva/life
b05b592502d72980ab55e13e84330b74a966f377
[ "BSD-3-Clause" ]
null
null
null
/* Class: Checksum Author: Jonas Byström Copyright (c) Pixel Doctrine */ #include "pch.h" #include "../include/lepraassert.h" #include <memory.h> #include "../include/des.h" namespace lepra { #define GETBIT(a, array) ((uint8)((a>>array)&1)) #define SETBIT(a, array) (a |= ((uint64)1<<array)) #define CLRBI...
26.016064
111
0.458629
highfestiva
f120f54376574b04555e03aced6de9a09795958b
151
cpp
C++
Cpp_primer_5th/code_part3/prog3_14.cpp
Links789/Cpp_primer_5th
18a60b75c358a79fdf006f8cb978c9be6e6aedd5
[ "MIT" ]
null
null
null
Cpp_primer_5th/code_part3/prog3_14.cpp
Links789/Cpp_primer_5th
18a60b75c358a79fdf006f8cb978c9be6e6aedd5
[ "MIT" ]
null
null
null
Cpp_primer_5th/code_part3/prog3_14.cpp
Links789/Cpp_primer_5th
18a60b75c358a79fdf006f8cb978c9be6e6aedd5
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; int main(){ int n; vector<int> text; while(cin >> n) text.push_back(n); return 0; }
10.785714
20
0.655629
Links789
f12100d477533cdb67ef25f744c45d68316ad4b7
89,565
cpp
C++
interfaces/kits/napi/aafwk/featureAbility/napi_data_ability_helper.cpp
openharmony-sig-ci/aafwk_standard
5ef3550de797241d46e47c5f446eba5428d180f1
[ "Apache-2.0" ]
null
null
null
interfaces/kits/napi/aafwk/featureAbility/napi_data_ability_helper.cpp
openharmony-sig-ci/aafwk_standard
5ef3550de797241d46e47c5f446eba5428d180f1
[ "Apache-2.0" ]
null
null
null
interfaces/kits/napi/aafwk/featureAbility/napi_data_ability_helper.cpp
openharmony-sig-ci/aafwk_standard
5ef3550de797241d46e47c5f446eba5428d180f1
[ "Apache-2.0" ]
null
null
null
/* * 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 applicable law ...
39.026144
120
0.69401
openharmony-sig-ci
f12140cf8f7044579afd21a45ce104c8c7dc38bc
23,576
cpp
C++
indra/llmath/tests/mathmisc_test.cpp
SaladDais/LSO2-VM-Performance
d7ec9ad9daa9a2c9e48c5f06cd768606e3e50638
[ "ISC" ]
1
2022-01-29T07:10:03.000Z
2022-01-29T07:10:03.000Z
indra/llmath/tests/mathmisc_test.cpp
SaladDais/LSO2-VM-Performance
d7ec9ad9daa9a2c9e48c5f06cd768606e3e50638
[ "ISC" ]
null
null
null
indra/llmath/tests/mathmisc_test.cpp
SaladDais/LSO2-VM-Performance
d7ec9ad9daa9a2c9e48c5f06cd768606e3e50638
[ "ISC" ]
1
2021-10-01T22:22:27.000Z
2021-10-01T22:22:27.000Z
/** * @file math.cpp * @author Phoenix * @date 2005-09-26 * @brief Tests for the llmath library. * * $LicenseInfo:firstyear=2005&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2010, Linden Research, Inc. * * This library is free software; you can redistribute it and/or * modify it und...
32.563536
117
0.672506
SaladDais
f1215ca40d4a6d21eafb106a07b2584254f51045
528
hpp
C++
wrapStringVector.hpp
LAGonauta/Alure-C-Interface
d6eb94a0bedd68ee076b084b6736dfee8ff95d0e
[ "Zlib" ]
1
2019-07-19T03:37:33.000Z
2019-07-19T03:37:33.000Z
wrapStringVector.hpp
LAGonauta/Alure-C-Interface
d6eb94a0bedd68ee076b084b6736dfee8ff95d0e
[ "Zlib" ]
null
null
null
wrapStringVector.hpp
LAGonauta/Alure-C-Interface
d6eb94a0bedd68ee076b084b6736dfee8ff95d0e
[ "Zlib" ]
null
null
null
#include <vector> #include "common.h" #ifndef __WRAPSTRINGVECTOR_H__ #define __WRAPSTRINGVECTOR_H__ #ifdef __cplusplus extern "C" { #endif DLL_PUBLIC wrapStringVector_t* wrapStringVector_create(std::vector<wrapString_t*> vector); DLL_PUBLIC void wrapStringVector_destroy(wrapStringVector_t* dm); DLL_PUBLIC uint64_t ...
22.956522
91
0.827652
LAGonauta
f1255f51472524661b626032a25cffd65da87655
697
cpp
C++
src/historypanel.cpp
SilangQuan/Pixer
2291ce1a32463510a9ac4b1444fb483180cfbe83
[ "MIT" ]
99
2015-01-14T01:10:37.000Z
2021-07-29T07:30:14.000Z
src/historypanel.cpp
sahwar/Pixer
2291ce1a32463510a9ac4b1444fb483180cfbe83
[ "MIT" ]
1
2019-08-07T13:06:31.000Z
2019-08-07T13:06:31.000Z
src/historypanel.cpp
sahwar/Pixer
2291ce1a32463510a9ac4b1444fb483180cfbe83
[ "MIT" ]
22
2015-01-19T14:53:22.000Z
2021-08-18T04:38:12.000Z
#include "historypanel.h" HistoryPanel::HistoryPanel(QUndoStack *stack,QWidget *parent) : QDockWidget(parent), undoView(stack) { this->setFeatures(QDockWidget::DockWidgetFloatable | \ QDockWidget::DockWidgetMovable | \ QDockWidget::DockWidgetClosable); this->setAttribute(Qt::WA_QuitOnClose, false); undoView.se...
24.034483
108
0.764706
SilangQuan
f12b50c6e5504105ae446094d24ead16c47e2710
5,616
cc
C++
src/cc/emulator/rebalanceexecutor_main.cc
kristi/qfs
1360c6b987d1888ab9f509d79a7abbfedf3e6bbb
[ "Apache-2.0" ]
358
2015-01-04T14:04:51.000Z
2022-03-25T09:36:01.000Z
src/cc/emulator/rebalanceexecutor_main.cc
kristi/qfs
1360c6b987d1888ab9f509d79a7abbfedf3e6bbb
[ "Apache-2.0" ]
167
2015-02-09T23:09:42.000Z
2022-02-17T02:47:40.000Z
src/cc/emulator/rebalanceexecutor_main.cc
kristi/qfs
1360c6b987d1888ab9f509d79a7abbfedf3e6bbb
[ "Apache-2.0" ]
124
2015-01-12T13:54:36.000Z
2022-03-04T16:34:24.000Z
//---------------------------------------------------------- -*- Mode: C++ -*- // $Id$ // // Created 2008/08/27 // // Author: Sriram Rao // // Copyright 2008-2012,2016 Quantcast Corporation. All rights reserved. // // This file is part of Kosmos File System (KFS). // // Licensed under the Apache License, Version 2.0 //...
32.275862
82
0.529736
kristi
f12c9971493d54340d32f72eca1df09d36601c94
16,931
inl
C++
tmp/cohash-read-only/include/thrust/detail/device/cuda/reduce.inl
ismagarcia/cohash
d20c7489456c8df033f4fe86f459f1901e01114c
[ "Apache-2.0" ]
1
2022-02-25T08:14:55.000Z
2022-02-25T08:14:55.000Z
tmp/cohash-read-only/include/thrust/detail/device/cuda/reduce.inl
ismagarcia/cohash
d20c7489456c8df033f4fe86f459f1901e01114c
[ "Apache-2.0" ]
null
null
null
tmp/cohash-read-only/include/thrust/detail/device/cuda/reduce.inl
ismagarcia/cohash
d20c7489456c8df033f4fe86f459f1901e01114c
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2008-2010 NVIDIA Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
36.967249
184
0.677396
ismagarcia
f131ae22b89d5264c17c140348cdd0fdc264b00a
4,000
cpp
C++
myutils/myutils_lib/src/myutils/myutils_cpp/io_util.cpp
juanbarrios/multimedia_tools
91fe64779168c3dd3ad4e51e089df9ccad5f176b
[ "BSD-2-Clause" ]
6
2015-09-08T00:14:59.000Z
2018-09-11T09:46:40.000Z
myutils/myutils_lib/src/myutils/myutils_cpp/io_util.cpp
juanbarrios/multimedia_tools
91fe64779168c3dd3ad4e51e089df9ccad5f176b
[ "BSD-2-Clause" ]
null
null
null
myutils/myutils_lib/src/myutils/myutils_cpp/io_util.cpp
juanbarrios/multimedia_tools
91fe64779168c3dd3ad4e51e089df9ccad5f176b
[ "BSD-2-Clause" ]
1
2020-11-13T15:55:30.000Z
2020-11-13T15:55:30.000Z
/* * Copyright (C) 2012-2015, Juan Manuel Barrios <http://juan.cl/> * All rights reserved. * * This file is part of MultimediaTools. https://github.com/juanbarrios/multimedia_tools * MultimediaTools is made available under the terms of the BSD 2-Clause License. */ #include "io_util.hpp" #include "../myutils_c.h"...
31.25
88
0.73175
juanbarrios
f133403a74e5e48ac921b67904eee315e55ce2ce
362
cpp
C++
addons/ofxKinectForWindows2/exampleBodyIndexShader/src/main.cpp
syeminpark/openFrame
2d117bf86ae58dbc2d5d0ddc6727f14e5627e6e6
[ "MIT" ]
145
2015-02-14T09:32:04.000Z
2022-01-21T21:17:27.000Z
addons/ofxKinectForWindows2/exampleBodyIndexShader/src/main.cpp
syeminpark/openFrame
2d117bf86ae58dbc2d5d0ddc6727f14e5627e6e6
[ "MIT" ]
80
2015-01-01T03:28:49.000Z
2021-04-03T09:08:54.000Z
addons/ofxKinectForWindows2/exampleBodyIndexShader/src/main.cpp
syeminpark/openFrame
2d117bf86ae58dbc2d5d0ddc6727f14e5627e6e6
[ "MIT" ]
74
2015-01-11T16:23:57.000Z
2021-12-22T07:16:13.000Z
#include "ofMain.h" #include "ofApp.h" //-------------------------------------------------------------- int main(){ #ifdef USE_PROGRAMMABLE_PIPELINE ofGLWindowSettings settings; settings.setGLVersion(4,3); settings.width = 1024; settings.height = 768; ofCreateWindow(settings); #else ofSetupOpenGL(1024, 768, OF_W...
20.111111
64
0.61326
syeminpark
f133d2a074c29505599e68d75668d881a126e20e
530
cpp
C++
C++/BehaviorTreesLib/Action.cpp
JuanFerrer/behavior-trees
43cc40c8bce4e3b9737bbd5bcd98a50948b91fc9
[ "MIT" ]
3
2019-10-20T18:46:08.000Z
2022-02-12T20:39:53.000Z
C++/BehaviorTreesLib/Action.cpp
JuanFerrer/behavior-trees
43cc40c8bce4e3b9737bbd5bcd98a50948b91fc9
[ "MIT" ]
null
null
null
C++/BehaviorTreesLib/Action.cpp
JuanFerrer/behavior-trees
43cc40c8bce4e3b9737bbd5bcd98a50948b91fc9
[ "MIT" ]
1
2021-04-12T09:00:07.000Z
2021-04-12T09:00:07.000Z
#include "Action.h" namespace fluentBehaviorTree { Node * Action::copy() { Action* newNode = new Action(this->getName(), this->mAction); return newNode; } //Action::Action(std::string name, EStatus(*f)()) Action::Action(std::string name, std::function<EStatus()> f) { this->setName(name); mAction = f; } ...
17.096774
63
0.637736
JuanFerrer
f133d7087112d40f2ca9b96a2d04587509da3332
8,609
cxx
C++
client/mock_sdl.cxx
Drako/MPSnake
a22bd7156f79f9824ce689c54ac4a7ef085efd08
[ "MIT" ]
null
null
null
client/mock_sdl.cxx
Drako/MPSnake
a22bd7156f79f9824ce689c54ac4a7ef085efd08
[ "MIT" ]
null
null
null
client/mock_sdl.cxx
Drako/MPSnake
a22bd7156f79f9824ce689c54ac4a7ef085efd08
[ "MIT" ]
null
null
null
#include "mock_sdl.hxx" #include "native.hxx" #include "default_colors.hxx" #include <cassert> #include <filesystem> struct SDL_Window { char const * title; int x, y, w, h; std::uint32_t flags; SDL_DisplayMode mode; }; namespace snake::client { template <MockPolicy policy> int MockSDL<policy>::getCallCou...
31.305455
114
0.663956
Drako
f1363e9b219963d000f28531bfbc954a6c2e19c6
981
cpp
C++
240_Search a 2D Matrix II.cpp
anubhavnandan/leetCode
2cb9511b2c37b80f3ee57b3932d1dc9e7be9994f
[ "Apache-2.0" ]
1
2021-09-30T10:02:35.000Z
2021-09-30T10:02:35.000Z
240_Search a 2D Matrix II.cpp
anubhavnandan/leetCode
2cb9511b2c37b80f3ee57b3932d1dc9e7be9994f
[ "Apache-2.0" ]
null
null
null
240_Search a 2D Matrix II.cpp
anubhavnandan/leetCode
2cb9511b2c37b80f3ee57b3932d1dc9e7be9994f
[ "Apache-2.0" ]
null
null
null
//C++ 11 #include<iostream> #include<vector> using namespace std; class Solution { public: bool searchMatrix(vector<vector<int>>& matrix, int target) { int row=-1,col=-1; for(int i=0; i<matrix.size(); i++){ for(int j=0; j<matrix[i].size(); j++){ if(i==j){ if(target==matrix[i][j]...
22.295455
80
0.474006
anubhavnandan
f1368af0b8f2b7466ea7f18c8e33951f47157d5a
391
hpp
C++
utils/parameters_utils_t.hpp
dioptra-io/diamond-miner-cpp
8f41e3211bdbdc96eecd57f6fb3c459b0350d3e5
[ "MIT" ]
null
null
null
utils/parameters_utils_t.hpp
dioptra-io/diamond-miner-cpp
8f41e3211bdbdc96eecd57f6fb3c459b0350d3e5
[ "MIT" ]
null
null
null
utils/parameters_utils_t.hpp
dioptra-io/diamond-miner-cpp
8f41e3211bdbdc96eecd57f6fb3c459b0350d3e5
[ "MIT" ]
1
2020-11-03T14:51:43.000Z
2020-11-03T14:51:43.000Z
// // Created by System Administrator on 2019-08-02. // #ifndef HEARTBEAT_PARAMETERS_UTILS_T_HPP #define HEARTBEAT_PARAMETERS_UTILS_T_HPP #include <cstdint> namespace utils{ extern uint16_t default_sport; extern uint16_t default_dport; extern uint32_t default_dst_ip; extern int default_1_round_flows;...
19.55
49
0.785166
dioptra-io
f138c5e88387d953e4170e678fab7166a67c5055
4,516
cpp
C++
firmware/src/SSRPump.cpp
solderdev/silvia
a1c5f255054849306b8383e0a98fb7322a7b625f
[ "MIT" ]
1
2020-12-03T20:26:48.000Z
2020-12-03T20:26:48.000Z
firmware/src/SSRPump.cpp
solderdev/silvia
a1c5f255054849306b8383e0a98fb7322a7b625f
[ "MIT" ]
null
null
null
firmware/src/SSRPump.cpp
solderdev/silvia
a1c5f255054849306b8383e0a98fb7322a7b625f
[ "MIT" ]
null
null
null
#include "SSRPump.hpp" #include "helpers.hpp" static void timer_callback(void); static SSRPump *instance = nullptr; SSRPump::SSRPump(uint8_t ctrl_pin, int32_t timer_id, uint32_t timer_period_us) : SSR(ctrl_pin), timer_pwm_(nullptr), pwm_percent_(PWM_0_PERCENT), time_on_(0) { if (instance) { Serial.prin...
24.021277
95
0.608725
solderdev
f13b47a006cdb1e6a82dc982ad4580ebb457e364
5,850
cc
C++
src/s3_driver.cc
h5s3/h5s3
abe0ac2e82f04f9f550ae3760fc312e9e37dc84b
[ "Apache-2.0" ]
18
2018-01-31T02:47:39.000Z
2021-03-13T15:17:45.000Z
src/s3_driver.cc
h5s3/h5s3
abe0ac2e82f04f9f550ae3760fc312e9e37dc84b
[ "Apache-2.0" ]
2
2017-12-03T08:05:40.000Z
2018-06-13T22:05:37.000Z
src/s3_driver.cc
h5s3/h5s3
abe0ac2e82f04f9f550ae3760fc312e9e37dc84b
[ "Apache-2.0" ]
null
null
null
#include <cassert> #include <regex> #include "h5s3/private/s3_driver.h" namespace h5s3::s3_driver { const char* s3_kv_store::name = "h5s3"; s3_kv_store::s3_kv_store(const std::string& host, bool use_tls, const std::string& bucket, const std::...
30.46875
90
0.524786
h5s3
f13d2da4aaf99d31083e4bf11ede8a42d3a5278b
1,247
cpp
C++
src/nbind/Vector2.cpp
tyduptyler13/MyEngine
6081686eb0f3357b9046f82a7aecafa691c3b05b
[ "MIT" ]
7
2018-10-27T02:55:07.000Z
2021-12-31T20:20:33.000Z
src/nbind/Vector2.cpp
MyUPlay/MyEngine
6081686eb0f3357b9046f82a7aecafa691c3b05b
[ "MIT" ]
2
2016-12-12T21:00:31.000Z
2018-02-12T00:43:02.000Z
src/nbind/Vector2.cpp
tyduptyler13/MyEngine
6081686eb0f3357b9046f82a7aecafa691c3b05b
[ "MIT" ]
2
2018-08-30T05:47:09.000Z
2021-03-03T05:37:35.000Z
#include "Vector2.hpp" #include "nbind/nbind.h" using namespace MyEngine; NBIND_CLASS(Vector2f, Vector2) { construct<>(); construct<float, float>(); construct<Vector2f>(); getset(getX, setX); getset(getY, setY); multimethod(set, args(float, float)); multimethod(add, args(const Vector2f&)); multimethod(add,...
20.112903
54
0.725742
tyduptyler13
f1402f69ee26471fd5e5f671470bf25e21306cbf
1,082
hpp
C++
arduino/libraries/LovyanGFX/src/LovyanGFX.hpp
Mchaney3/AXSResearch
6843b833a95010014bb3113ca59dda3b5e1c3663
[ "Unlicense" ]
null
null
null
arduino/libraries/LovyanGFX/src/LovyanGFX.hpp
Mchaney3/AXSResearch
6843b833a95010014bb3113ca59dda3b5e1c3663
[ "Unlicense" ]
null
null
null
arduino/libraries/LovyanGFX/src/LovyanGFX.hpp
Mchaney3/AXSResearch
6843b833a95010014bb3113ca59dda3b5e1c3663
[ "Unlicense" ]
null
null
null
/*----------------------------------------------------------------------------/ Lovyan GFX library - LCD graphics library . support platform: ESP32 (SPI/I2S) with Arduino/ESP-IDF ATSAMD51 (SPI) with Arduino Original Source: https://github.com/lovyan03/LovyanGFX/ Licence: [BSD](https://github....
22.541667
106
0.601664
Mchaney3
f140458f3f6808294f359bada3c654ccfcbe456d
4,022
cpp
C++
src/Utils.cpp
PeriodicSeizures/Alchyme
68b034ec4c2111c52e9b15540b3d8323482b164c
[ "MIT" ]
null
null
null
src/Utils.cpp
PeriodicSeizures/Alchyme
68b034ec4c2111c52e9b15540b3d8323482b164c
[ "MIT" ]
1
2021-09-21T01:37:43.000Z
2021-09-21T01:37:43.000Z
src/Utils.cpp
PeriodicSeizures/Alchyme
68b034ec4c2111c52e9b15540b3d8323482b164c
[ "MIT" ]
null
null
null
#include "Utils.hpp" // https://stackoverflow.com/a/17350413 // Colors for output #define RESET "\033[0m" #define BLACK "\033[30m" #define RED "\033[31m" #define GREEN "\033[32m" #define GOLD "\033[33m" #define BLUE "\033[34m" #define PURPLE "\033[35m" #define CYAN "\033[36m" #define WHITE "\033[37m" #define GRAY "\03...
35.910714
134
0.529836
PeriodicSeizures
f1422934b9420423c0c048dd11e80b33032672ea
1,259
cpp
C++
movie.cpp
msk610/MovieGrossPredictor
90720a152aef69a955d3519a735fcd0c3d9e06dd
[ "MIT" ]
14
2016-12-16T16:42:32.000Z
2017-08-16T19:42:04.000Z
movie.cpp
msk610/MovieGrossPredictor
90720a152aef69a955d3519a735fcd0c3d9e06dd
[ "MIT" ]
null
null
null
movie.cpp
msk610/MovieGrossPredictor
90720a152aef69a955d3519a735fcd0c3d9e06dd
[ "MIT" ]
null
null
null
// // movie.cpp // MovieGross // // // Copyright © 2016 ArsenKevinMD. All rights reserved. // #include <stdio.h> #include <stdio.h> #include "movie.h" #include <math.h> using namespace std; using namespace CsvProc; //MovieData definitions namespace MovieData{ //constructor Movie::Movie(vector<floa...
21.338983
69
0.545671
msk610
f1456eab5f4f2ff70ba6e238c9809508a19d1053
2,842
cc
C++
src/attributes/WrepRootNodeAttributes.cc
b8raoult/magics
eb2c86ec6e392e89c90044128dc671f22283d6ad
[ "ECL-2.0", "Apache-2.0" ]
41
2018-12-07T23:10:50.000Z
2022-02-19T03:01:49.000Z
src/attributes/WrepRootNodeAttributes.cc
b8raoult/magics
eb2c86ec6e392e89c90044128dc671f22283d6ad
[ "ECL-2.0", "Apache-2.0" ]
59
2019-01-04T15:43:30.000Z
2022-03-31T09:48:15.000Z
src/attributes/WrepRootNodeAttributes.cc
b8raoult/magics
eb2c86ec6e392e89c90044128dc671f22283d6ad
[ "ECL-2.0", "Apache-2.0" ]
13
2019-01-07T14:36:33.000Z
2021-09-06T14:48:36.000Z
/****************************** LICENSE ******************************* * (C) Copyright 1996-2017 ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the pr...
23.487603
94
0.6886
b8raoult
f148aa47d8075c1bdd4a1ab2bf50402a8c02fc3a
13,896
cpp
C++
gvsoc/gvsoc/models/devices/gpio/fxl6408.cpp
gemenerik/gap_sdk
afae64d239db6d73f79c90c2ca2c832b6361f109
[ "Apache-2.0" ]
null
null
null
gvsoc/gvsoc/models/devices/gpio/fxl6408.cpp
gemenerik/gap_sdk
afae64d239db6d73f79c90c2ca2c832b6361f109
[ "Apache-2.0" ]
null
null
null
gvsoc/gvsoc/models/devices/gpio/fxl6408.cpp
gemenerik/gap_sdk
afae64d239db6d73f79c90c2ca2c832b6361f109
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2020 GreenWaves Technologies * * 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 l...
29.440678
183
0.544905
gemenerik
f14c0c480f4ef7280d98c05f6d35414e04452e82
3,443
cpp
C++
src/lib/ecp.cpp
peterbygrave/libecpint
2d40bce92f229c9a477e618c6008c0622e241d48
[ "MIT" ]
1
2020-08-31T13:44:12.000Z
2020-08-31T13:44:12.000Z
src/lib/ecp.cpp
peterbygrave/libecpint
2d40bce92f229c9a477e618c6008c0622e241d48
[ "MIT" ]
null
null
null
src/lib/ecp.cpp
peterbygrave/libecpint
2d40bce92f229c9a477e618c6008c0622e241d48
[ "MIT" ]
2
2020-03-25T09:23:24.000Z
2020-08-31T14:29:29.000Z
/* * Copyright (c) 2017 Robert Shaw * This file is a part of Libecpint. * * 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 * wi...
30.201754
103
0.637816
peterbygrave
f14da6f1979d7bbe5eff5c16b0f1c2c828667448
1,319
cpp
C++
UVA/vol-108/10898-2.cpp
arash16/prays
0fe6bb2fa008b8fc46c80b01729f68308114020d
[ "MIT" ]
3
2017-05-12T14:45:37.000Z
2020-01-18T16:51:25.000Z
UVA/vol-108/10898-2.cpp
arash16/prays
0fe6bb2fa008b8fc46c80b01729f68308114020d
[ "MIT" ]
null
null
null
UVA/vol-108/10898-2.cpp
arash16/prays
0fe6bb2fa008b8fc46c80b01729f68308114020d
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define INF 67108864 using namespace std; int Ci[143][6], Cp[143], csz, S[10][10][10][10][10][10], DP[10][10][10][10][10][10], cse; int rec(int r0, int r1, int r2, int r3, int r4, int r5) { if (r0<0 || r1<0 || r2<0 || r3<0 || r4<0 || r5<0) return INF; int &ss = S[r0][r1][r2][r3][r...
24.886792
112
0.395754
arash16
f1550eb2c5d62e06ae8ab1c834700832abcaba7f
1,399
cpp
C++
Hard/Maximize Palindrome Length From Subsequences.cpp
hunt-s7/LeetCode-Problems
5235896710bff8a05985c45f261d3462e3b8bf2e
[ "MIT" ]
null
null
null
Hard/Maximize Palindrome Length From Subsequences.cpp
hunt-s7/LeetCode-Problems
5235896710bff8a05985c45f261d3462e3b8bf2e
[ "MIT" ]
null
null
null
Hard/Maximize Palindrome Length From Subsequences.cpp
hunt-s7/LeetCode-Problems
5235896710bff8a05985c45f261d3462e3b8bf2e
[ "MIT" ]
4
2020-11-30T04:38:58.000Z
2021-10-05T15:25:38.000Z
class Solution { public: int ans(string w1, string w2){ string s=w1+w2; string t=s; reverse(t.begin(),t.end()); int n=(int)s.size(); int dp[n+1][n+1]; memset(dp,0,sizeof(dp)); int f=0; for(int i=1;i<=n;i++){ ...
26.396226
77
0.2802
hunt-s7
f1560e367521bbc28fd25bdd19ec1abf439c67ae
779
hpp
C++
include/lol/def/LolGameSettingsLoginSession.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
1
2020-07-22T11:14:55.000Z
2020-07-22T11:14:55.000Z
include/lol/def/LolGameSettingsLoginSession.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
null
null
null
include/lol/def/LolGameSettingsLoginSession.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
4
2018-12-01T22:48:21.000Z
2020-07-22T11:14:56.000Z
#pragma once #include "../base_def.hpp" #include "LolGameSettingsLoginSessionStates.hpp" namespace lol { struct LolGameSettingsLoginSession { LolGameSettingsLoginSessionStates state; uint64_t summonerId; uint64_t accountId; json gasToken; }; inline void to_json(json& j, const LolGameSettingsLog...
33.869565
72
0.680359
Maufeat
f15704af65edf9cb9856d1dc391a1b14924bc61f
3,808
cc
C++
mds/apfPM.cc
Thomas-Ulrich/core
1c7bc7ff994c3570ab22b96d37be0c4c993e5940
[ "BSD-3-Clause" ]
138
2015-01-05T15:50:20.000Z
2022-02-25T01:09:58.000Z
mds/apfPM.cc
Thomas-Ulrich/core
1c7bc7ff994c3570ab22b96d37be0c4c993e5940
[ "BSD-3-Clause" ]
337
2015-08-07T18:24:58.000Z
2022-03-31T14:39:03.000Z
mds/apfPM.cc
Thomas-Ulrich/core
1c7bc7ff994c3570ab22b96d37be0c4c993e5940
[ "BSD-3-Clause" ]
70
2015-01-17T00:58:41.000Z
2022-02-13T04:58:20.000Z
/****************************************************************************** Copyright 2014 Scientific Computation Research Center, Rensselaer Polytechnic Institute. All rights reserved. This work is open source software, licensed under the terms of the BSD license as described in the LICENSE file ...
24.254777
88
0.581408
Thomas-Ulrich
f15851af613c1682d8d1920f3264480f9bf4a9ec
1,094
cpp
C++
Online Judges/CSES/CourseSchedule.cpp
AnneLivia/URI-Online
02ff972be172a62b8abe25030c3676f6c04efd1b
[ "MIT" ]
64
2019-03-17T08:56:28.000Z
2022-01-14T02:31:21.000Z
Online Judges/CSES/CourseSchedule.cpp
AnneLivia/URI-Online
02ff972be172a62b8abe25030c3676f6c04efd1b
[ "MIT" ]
1
2020-12-24T07:16:30.000Z
2021-03-23T20:51:05.000Z
Online Judges/CSES/CourseSchedule.cpp
AnneLivia/URI-Online
02ff972be172a62b8abe25030c3676f6c04efd1b
[ "MIT" ]
19
2019-05-25T10:48:16.000Z
2022-01-07T10:07:46.000Z
#include <iostream> #include <vector> #include <queue> using namespace std; vector<vector<int> >gr; vector<int>in; void top() { // taking all vextex with indegree 0 queue<int>q; for (int i = 1; i < (int)gr.size(); i++) { if (in[i] == 0) { q.push(i); } } // ans is going to s...
19.192982
52
0.394881
AnneLivia
f15e1f812ae414005e155ef8c02ba896a7eebcb2
11,013
cc
C++
DPGAnalysis/SiStripTools/plugins/APVCyclePhaseMonitor.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
DPGAnalysis/SiStripTools/plugins/APVCyclePhaseMonitor.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
DPGAnalysis/SiStripTools/plugins/APVCyclePhaseMonitor.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
// -*- C++ -*- // // Package: SiStripTools // Class: APVCyclePhaseMonitor // /**\class APVCyclePhaseMonitor APVCyclePhaseMonitor.cc DPGAnalysis/SiStripTools/plugins/APVCyclePhaseMonitor.cc Description: <one line class summary> Implementation: <Notes on implementation> */ // // Original Author: Andrea ...
38.642105
120
0.672932
ckamtsikis
f160b5fd8f6455f5ca65f73e02002c2a311c3f84
6,406
cpp
C++
Source/SkyEngine/src/Components/Transform.cpp
SilangQuan/PixelLab
06c5c1fcf6b07c859179f5925dc642f43b38c676
[ "MIT" ]
null
null
null
Source/SkyEngine/src/Components/Transform.cpp
SilangQuan/PixelLab
06c5c1fcf6b07c859179f5925dc642f43b38c676
[ "MIT" ]
null
null
null
Source/SkyEngine/src/Components/Transform.cpp
SilangQuan/PixelLab
06c5c1fcf6b07c859179f5925dc642f43b38c676
[ "MIT" ]
null
null
null
#include "Components/Transform.h" #include "Log/Log.h" Transform::Transform() { isDirty = true; position = Vector3::zero; rotation = Quaternion::identity; scale = Vector3::one; gameObject = NULL; } Transform::Transform(const Vector3& _position, const Quaternion& _rotation, const Vector3& _scale) :position(_posi...
22.320557
104
0.622697
SilangQuan
f1612d8dc9bb9598c66fb44659837df1b056c88a
17,620
hpp
C++
src/nark/fstring.hpp
rockeet/nark-bone
11263ff5a192c85e4a2776aac1096d01138483d2
[ "BSD-3-Clause" ]
18
2015-02-12T04:41:22.000Z
2018-08-22T07:44:13.000Z
src/nark/fstring.hpp
rockeet/nark-bone
11263ff5a192c85e4a2776aac1096d01138483d2
[ "BSD-3-Clause" ]
null
null
null
src/nark/fstring.hpp
rockeet/nark-bone
11263ff5a192c85e4a2776aac1096d01138483d2
[ "BSD-3-Clause" ]
13
2015-05-24T12:24:46.000Z
2021-01-05T10:59:40.000Z
#ifndef __nark_fstring_hpp__ #define __nark_fstring_hpp__ #include <assert.h> #include <stddef.h> #include <string.h> #include <iterator> #include <string> #include <iosfwd> #include <utility> #include <algorithm> #include <string.h> #include "config.hpp" #include "stdtypes.hpp" #include "util/throw.hpp" #include "...
31.862568
153
0.651305
rockeet
f162a01105bc84fa0207b807e0fcaf2c1502226c
4,019
cpp
C++
297-serialize-and-deserialize-binary-tree/serialize-and-deserialize-binary-tree.cpp
nagestx/MyLeetCode
ef2a98b48485a0cebc442bbbbdb2690ba51484e1
[ "MIT" ]
3
2018-12-15T14:07:12.000Z
2020-07-19T23:18:09.000Z
297-serialize-and-deserialize-binary-tree/serialize-and-deserialize-binary-tree.cpp
yangyangu/MyLeetCode
ef2a98b48485a0cebc442bbbbdb2690ba51484e1
[ "MIT" ]
null
null
null
297-serialize-and-deserialize-binary-tree/serialize-and-deserialize-binary-tree.cpp
yangyangu/MyLeetCode
ef2a98b48485a0cebc442bbbbdb2690ba51484e1
[ "MIT" ]
null
null
null
// Serialization is the process of converting a data structure or object into a sequence of bits so that it can be stored in a file or memory buffer, or transmitted across a network connection link to be reconstructed later in the same or another computer environment. // // Design an algorithm to serialize and deseria...
30.679389
297
0.458821
nagestx
f162ca37067f2ed70fb29fca4a46cc97b00e010d
771
cpp
C++
Vijos/1011.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
18
2019-01-01T13:16:59.000Z
2022-02-28T04:51:50.000Z
Vijos/1011.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
null
null
null
Vijos/1011.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
5
2019-09-13T08:48:17.000Z
2022-02-19T06:59:03.000Z
#include <stdio.h> int i, j, n, m, ma; int a[1005][1005], f[1005][1005]; int max(int a, int b) { if (a > b) return a; else return b; } int dfs(int x, int y) { if (f[x][y] != -1) return f[x][y]; f[x][y] = 0; if (a[x - 1][y] > a[x][y]) f[x][y] = max(f[x][y], dfs(x - 1, y)); if (a[x + 1][y] > a[x][y]) f[x][y] = m...
19.769231
66
0.402075
HeRaNO
f166887dde80662470403f8f73282e67f8e6fc23
953
cpp
C++
client/src/main/game/guns/rocket_launcher.cpp
JulianBiancardi/Wolfenstein-Taller1
28e72ce8438264919586785aa09ce9b0a5de222b
[ "MIT" ]
1
2021-04-23T19:57:40.000Z
2021-04-23T19:57:40.000Z
client/src/main/game/guns/rocket_launcher.cpp
JulianBiancardi/Wolfenstein-Taller1
28e72ce8438264919586785aa09ce9b0a5de222b
[ "MIT" ]
null
null
null
client/src/main/game/guns/rocket_launcher.cpp
JulianBiancardi/Wolfenstein-Taller1
28e72ce8438264919586785aa09ce9b0a5de222b
[ "MIT" ]
null
null
null
#include "rocket_launcher.h" #include "../../../../../common/src/main/ids/gun_ids.h" Hit RocketLauncher::shoot( Object& player, BaseMap& map, std::vector<std::weak_ptr<IdentifiableObject>>& players) { return std::move(Hit(ROCKET_LAUNCHER_ID, 0, 0, true)); } RocketLauncher::RocketLauncher(unsigned int resou...
24.435897
62
0.674711
JulianBiancardi
f166915e6aac8affdffeb774bf0270bd2edcbbfb
111
cpp
C++
command/src/light_on_command.cpp
hexu1985/design_pattern
f03963ef1a478763f87f37de1f5e9f18f0b0b988
[ "MIT" ]
null
null
null
command/src/light_on_command.cpp
hexu1985/design_pattern
f03963ef1a478763f87f37de1f5e9f18f0b0b988
[ "MIT" ]
null
null
null
command/src/light_on_command.cpp
hexu1985/design_pattern
f03963ef1a478763f87f37de1f5e9f18f0b0b988
[ "MIT" ]
1
2019-12-03T08:44:11.000Z
2019-12-03T08:44:11.000Z
#include "light_source.h" #include "light_on_command.h" void LightOnCommand::execute() { light->on(); }
12.333333
31
0.684685
hexu1985
f16d41e4d89e0b34a2a6424646cfe4b73a80f668
1,066
cpp
C++
src/test.feature.cpp
prinsij/RogueReborn
20e6ba4d2e61a47283747ba207a758e604fa89d9
[ "BSD-3-Clause" ]
null
null
null
src/test.feature.cpp
prinsij/RogueReborn
20e6ba4d2e61a47283747ba207a758e604fa89d9
[ "BSD-3-Clause" ]
null
null
null
src/test.feature.cpp
prinsij/RogueReborn
20e6ba4d2e61a47283747ba207a758e604fa89d9
[ "BSD-3-Clause" ]
null
null
null
/** * @file test.feature.cpp * @author Team Rogue++ * @date December 08, 2016 * * @brief Member definitions for the FeatureTest class */ #include <exception> #include <iostream> #include <string> #include <vector> #include "include/feature.h" #include "test.testable.h" /** * @brief Tests the Feature cla...
24.227273
73
0.659475
prinsij
f16ec3dc35ce3fb4a90566bce1bbd9d355b2f750
9,392
cpp
C++
src/tests/spec.cpp
XrosFade/ElonaFoobar
c33880080e0b475103ae3ea7d546335f9d4abd02
[ "MIT" ]
null
null
null
src/tests/spec.cpp
XrosFade/ElonaFoobar
c33880080e0b475103ae3ea7d546335f9d4abd02
[ "MIT" ]
null
null
null
src/tests/spec.cpp
XrosFade/ElonaFoobar
c33880080e0b475103ae3ea7d546335f9d4abd02
[ "MIT" ]
null
null
null
#include "../thirdparty/catch2/catch.hpp" #include <iostream> #include "../elona/spec.hpp" using namespace std::literals::string_literals; using namespace elona; class TestSpec : public spec::Object { public: TestSpec() : spec::Object("test") { } }; namespace { TestSpec load(const std::string& s...
19.689727
80
0.569101
XrosFade
f16eca469e5ae8883211bc620ed2a8b9a7695c73
2,530
cpp
C++
implicitsurfacegenerator.cpp
avinfinity/UnmanagedCodeSnippets
2bd848db88d7b271209ad30017c8f62307319be3
[ "MIT" ]
null
null
null
implicitsurfacegenerator.cpp
avinfinity/UnmanagedCodeSnippets
2bd848db88d7b271209ad30017c8f62307319be3
[ "MIT" ]
null
null
null
implicitsurfacegenerator.cpp
avinfinity/UnmanagedCodeSnippets
2bd848db88d7b271209ad30017c8f62307319be3
[ "MIT" ]
null
null
null
#include "implicitsurfacegenerator.h" namespace imt{ namespace volume{ ImplicitFunction::ImplicitFunction() { } short ImplicitFunction::value(int x, int y, int z) { int coeff = 1; mWidth = 512 * coeff; mHeight = 512 * coeff; mDepth = 512 * coeff; int center = mWidth / 2; int r = (128 ...
16.535948
124
0.559684
avinfinity
f170413e9e63a0f8a01a12645f5ba620ebfe83b1
1,314
cpp
C++
tested/make_training_set/src/make_training_set.cpp
songdaegeun/school-zone-enforcement-system
b5680909fd5a348575563534428d2117f8dc2e3f
[ "MIT" ]
null
null
null
tested/make_training_set/src/make_training_set.cpp
songdaegeun/school-zone-enforcement-system
b5680909fd5a348575563534428d2117f8dc2e3f
[ "MIT" ]
null
null
null
tested/make_training_set/src/make_training_set.cpp
songdaegeun/school-zone-enforcement-system
b5680909fd5a348575563534428d2117f8dc2e3f
[ "MIT" ]
null
null
null
#include <ros/ros.h> #include <image_transport/image_transport.h> //package.xml에 추가. 이미지데이터를 받고 보내기위해 사용. #include <cv_bridge/cv_bridge.h> //package.xml에 추가 #include <sensor_msgs/image_encodings.h> //package.xml에 추가. cv_bridge::CvImagePtr에 값을 대입하기 위한 인자로 사용된다. #include <opencv2/imgproc/imgproc.hpp> ...
30.55814
115
0.681887
songdaegeun
f170d78ec28855bde965adc8dc4814a4c46fd7bc
1,497
cpp
C++
Exercise_4/4.8_PowerFunctionOverloading.cpp
YJDave/balagurusamy_solution_cpp
cc528dd99a1517706e9ee6560593e3c37251e443
[ "MIT" ]
21
2017-12-11T07:24:57.000Z
2022-03-17T08:43:24.000Z
Exercise_4/4.8_PowerFunctionOverloading.cpp
YJDave/balagurusamy_solution_cpp
cc528dd99a1517706e9ee6560593e3c37251e443
[ "MIT" ]
4
2017-12-12T16:36:46.000Z
2020-06-21T22:54:18.000Z
Exercise_4/4.8_PowerFunctionOverloading.cpp
YJDave/balagurusamy_solution_cpp
cc528dd99a1517706e9ee6560593e3c37251e443
[ "MIT" ]
19
2017-09-23T13:50:25.000Z
2021-11-16T08:20:19.000Z
/* */ #ifdef _WIN32 #include<iostream.h> #include<cmath.h> #endif #ifdef linux #include<iostream> #include<cmath> #endif #include<stdio.h> using std::cout; using std::cin; //method to perform power function using recursive formula //double m-first method double power(double m,int n=2) { //base condition for re...
20.506849
73
0.606546
YJDave
f171b6e634745ebb61d3cfff2dc827bd659f13bf
2,099
cc
C++
caffe2/sgd/lars_op.cc
chocjy/caffe2
1a6cef392495d969d135945d6749e6b99b37d4d9
[ "Apache-2.0" ]
585
2015-08-10T02:48:52.000Z
2021-12-01T08:46:59.000Z
caffe2/sgd/lars_op.cc
PDFxy/caffe2
28523ff1ff33f18eaf8b04cc4e0f308826e1861a
[ "Apache-2.0" ]
23
2015-08-30T11:54:51.000Z
2017-03-06T03:01:07.000Z
caffe2/sgd/lars_op.cc
PDFxy/caffe2
28523ff1ff33f18eaf8b04cc4e0f308826e1861a
[ "Apache-2.0" ]
183
2015-08-10T02:49:04.000Z
2021-12-01T08:47:13.000Z
/** * Copyright (c) 2016-present, Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
29.985714
79
0.686994
chocjy
f1782813f62c67f347d3e33e2359d3ddb33a8a8d
11,504
cpp
C++
runtime/vm/vm/sys_runtime.cpp
fanx-dev/fanx
902128c44b4b5c236a8b0a49986569097c7ca0aa
[ "AFL-3.0" ]
146
2019-03-18T14:09:46.000Z
2022-01-22T21:58:22.000Z
runtime/vm/vm/sys_runtime.cpp
chunquedong/FanCore
4d5dfb06f4c7d0fe0272c4238529e42950531d3b
[ "AFL-3.0" ]
11
2019-11-27T19:00:22.000Z
2022-03-24T02:15:46.000Z
runtime/vm/vm/sys_runtime.cpp
chunquedong/FanCore
4d5dfb06f4c7d0fe0272c4238529e42950531d3b
[ "AFL-3.0" ]
12
2019-06-03T05:06:49.000Z
2021-09-09T05:59:30.000Z
// // ObjFactory.cpp // vm // // Created by yangjiandong on 15/10/4. // Copyright (c) 2015, yangjiandong. All rights reserved. // #include "sys_runtime.h" #include "Env.h" //#include "StackFrame.h" #ifdef __cplusplus extern "C" { #endif //////////////////////////////////////////////////////////////// // Alloc ...
26.324943
96
0.55346
fanx-dev
f178d496f3db84c78105b0501e91a10aef1f8576
404
cpp
C++
GotW/GotW1.cpp
straceX/GotW
c8df762586584065c78c64a060a1e67410c59649
[ "Apache-2.0" ]
null
null
null
GotW/GotW1.cpp
straceX/GotW
c8df762586584065c78c64a060a1e67410c59649
[ "Apache-2.0" ]
null
null
null
GotW/GotW1.cpp
straceX/GotW
c8df762586584065c78c64a060a1e67410c59649
[ "Apache-2.0" ]
null
null
null
/* g++ GotW1.cpp -omain -std=c++11 */ #include <iostream> int main() { int ival1 = 13; int ival2{14}; // C++11 int ival3(15); int ival4; int ival5(); // it's a function declaration std::cout << ival1 <<std::endl; std::cout << ival2 <<std::endl; std::cout << ival3 <<std::endl; std...
16.833333
47
0.534653
straceX
f17b283c2d2aa63ae9ed1fe0cd097f0cebde5804
6,172
cpp
C++
src/rpc_insert.cpp
ashcharles/openset
51dc29b9dffdb745a24e01a9e4d86c79d2ff20d6
[ "MIT" ]
null
null
null
src/rpc_insert.cpp
ashcharles/openset
51dc29b9dffdb745a24e01a9e4d86c79d2ff20d6
[ "MIT" ]
null
null
null
src/rpc_insert.cpp
ashcharles/openset
51dc29b9dffdb745a24e01a9e4d86c79d2ff20d6
[ "MIT" ]
null
null
null
#include <cinttypes> #include <regex> #include <thread> #include <random> #include "common.h" #include "rpc_global.h" #include "rpc_insert.h" #include "cjson/cjson.h" #include "str/strtools.h" #include "sba/sba.h" #include "oloop_insert.h" #include "asyncpool.h" #include "sentinel.h" #include "sidelo...
31.489796
118
0.585386
ashcharles
f183b21e8834fbcd5865232637146d734e99ad61
2,867
cpp
C++
tests/controlmode_test.cpp
adityab/hybrid-automaton-library
b67a5d5291c86920b3d441d0714cb895b92609d0
[ "BSD-2-Clause" ]
5
2017-02-14T12:26:53.000Z
2020-05-09T06:37:37.000Z
tests/controlmode_test.cpp
adityab/hybrid-automaton-library
b67a5d5291c86920b3d441d0714cb895b92609d0
[ "BSD-2-Clause" ]
1
2019-07-11T16:06:04.000Z
2019-07-11T16:06:04.000Z
tests/controlmode_test.cpp
adityab/hybrid-automaton-library
b67a5d5291c86920b3d441d0714cb895b92609d0
[ "BSD-2-Clause" ]
5
2017-11-23T12:46:41.000Z
2021-06-10T15:36:02.000Z
#include "gtest/gtest.h" #include "gmock/gmock.h" #include <string> #include "hybrid_automaton/HybridAutomaton.h" #include "hybrid_automaton/DescriptionTreeNode.h" #include "tests/MockDescriptionTree.h" #include "tests/MockDescriptionTreeNode.h" using ::testing::Return; using ::testing::DoAll; using ::testing::SetAr...
29.864583
120
0.769445
adityab
f184cb107e9537b5c4396f7ecc52e3025c1cbf84
16,373
cpp
C++
template/src/Wrapper_py/Tools/Algo/Matrix/Sparse_matrix/Sparse_matrix.cpp
aff3ct/py_aff3ct
8afb7e6b1db1b621db0ae4153b29a2e848e09fcf
[ "MIT" ]
15
2021-01-24T11:59:04.000Z
2022-03-23T07:23:44.000Z
template/src/Wrapper_py/Tools/Algo/Matrix/Sparse_matrix/Sparse_matrix.cpp
aff3ct/py_aff3ct
8afb7e6b1db1b621db0ae4153b29a2e848e09fcf
[ "MIT" ]
8
2021-05-24T18:22:45.000Z
2022-03-11T09:48:05.000Z
template/src/Wrapper_py/Tools/Algo/Matrix/Sparse_matrix/Sparse_matrix.cpp
aff3ct/py_aff3ct
8afb7e6b1db1b621db0ae4153b29a2e848e09fcf
[ "MIT" ]
4
2021-01-26T19:18:21.000Z
2021-12-07T17:02:34.000Z
#include <sstream> #include "Wrapper_py/Tools/Algo/Matrix/Sparse_matrix/Sparse_matrix.hpp" namespace py = pybind11; using namespace py::literals; using namespace aff3ct; using namespace aff3ct::module; using namespace aff3ct::tools; using namespace aff3ct::wrapper; Wrapper_Sparse_matrix ::Wrapper_Sparse_matrix(py::m...
30.776316
253
0.62658
aff3ct
f185b91419a8f37e1852f41137f6cfbdb311659a
892
hpp
C++
pnpbridge/src/adapters/src/mqtt_pnp/mqtt_pnp.hpp
daisukeiot/iot-plug-and-play-bridge
85958fb10c122914b03fe2c15859abc61c7ef5fc
[ "MIT" ]
29
2020-09-30T19:20:07.000Z
2022-02-24T16:28:02.000Z
pnpbridge/src/adapters/src/mqtt_pnp/mqtt_pnp.hpp
daisukeiot/iot-plug-and-play-bridge
85958fb10c122914b03fe2c15859abc61c7ef5fc
[ "MIT" ]
28
2020-09-30T21:05:11.000Z
2021-11-10T19:06:29.000Z
pnpbridge/src/adapters/src/mqtt_pnp/mqtt_pnp.hpp
daisukeiot/iot-plug-and-play-bridge
85958fb10c122914b03fe2c15859abc61c7ef5fc
[ "MIT" ]
15
2020-10-18T12:46:30.000Z
2021-12-26T02:17:15.000Z
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #pragma once #include "mqtt_protocol_handler.hpp" #include <pnpadapter_api.h> #include <nosal.h> #ifdef __cplusplus extern "C" { #endif extern PNP_ADAPTER Mqt...
27.030303
101
0.793722
daisukeiot
f18661d5b42ddec21ee89bb630335b003b927da0
557
cpp
C++
main.cpp
autch/piemu
bf15030757c49325c155a853871aee45b616717a
[ "Zlib" ]
10
2017-07-04T03:05:42.000Z
2022-01-20T17:37:06.000Z
main.cpp
autch/piemu
bf15030757c49325c155a853871aee45b616717a
[ "Zlib" ]
2
2020-06-29T13:32:15.000Z
2021-12-22T23:04:43.000Z
main.cpp
autch/piemu
bf15030757c49325c155a853871aee45b616717a
[ "Zlib" ]
5
2021-08-28T02:21:56.000Z
2022-01-16T21:39:16.000Z
/** @file main.c * Entry point of p/emu */ #include <SDL.h> #include <SDL_thread.h> int main_event_loop(void); #ifdef __linux__ int main(int argc, char** argv) #else int SDL_main(int argc, char** argv) #endif { SDL_Init(SDL_INIT_EVERYTHING); SDL_SetVideoMode(128 * 2, 88 * 2, 32, SDL_HWSURFACE); main_event_l...
12.953488
55
0.624776
autch
f18c14013c9b6cd736a3fed6920eb508781f94dc
1,189
hpp
C++
lib/crypto/crypto_AES.hpp
Pcornat/BenLib
5ec30f5eb0bbf827d4d3fd00c8cca1064109fb4c
[ "MIT" ]
null
null
null
lib/crypto/crypto_AES.hpp
Pcornat/BenLib
5ec30f5eb0bbf827d4d3fd00c8cca1064109fb4c
[ "MIT" ]
null
null
null
lib/crypto/crypto_AES.hpp
Pcornat/BenLib
5ec30f5eb0bbf827d4d3fd00c8cca1064109fb4c
[ "MIT" ]
null
null
null
/* ** BENSUPERPC PROJECT, 2020 ** Crypto ** Source: https://stackoverflow.com/questions/178265/what-is-the-most-hard-to-understand-piece-of-c-code-you-know https://cs.uwaterloo.ca/~m32rober/rsqrt.pdf https://github.com/bavlayan/Encrypt-Decrypt-with-OpenSSL---RSA https://stackoverflow.com/a/5580881/10152334 ** crypto.c...
27.651163
159
0.751051
Pcornat
f18d508bae1985750279537e79e5227e9be8ec86
98
cpp
C++
Testbed/AGF/src/events.cpp
abel1502/mipt_4s
c31a4bb82dfd147fa16407800e749bbad166d27d
[ "MIT" ]
2
2021-10-16T10:58:26.000Z
2021-12-22T22:18:37.000Z
VS/AGF/src/events.cpp
abel1502/mipt_3s
10efc85371e53a0780302763c409cde2158f81fc
[ "MIT" ]
null
null
null
VS/AGF/src/events.cpp
abel1502/mipt_3s
10efc85371e53a0780302763c409cde2158f81fc
[ "MIT" ]
null
null
null
#include <AGF/llgui.h> #include <AGF/events.h> namespace abel::gui { // Empty, apparently }
8.166667
23
0.653061
abel1502
f19495cde7f0bc68d9e7149f659ec842064151f1
951
cpp
C++
test_package/test_Util.cpp
odant/conan-poco
ded0aa51acac42f47f52b7ee1d1eba0e5550823e
[ "MIT" ]
null
null
null
test_package/test_Util.cpp
odant/conan-poco
ded0aa51acac42f47f52b7ee1d1eba0e5550823e
[ "MIT" ]
null
null
null
test_package/test_Util.cpp
odant/conan-poco
ded0aa51acac42f47f52b7ee1d1eba0e5550823e
[ "MIT" ]
null
null
null
// Test for Poco Conan package // Dmitriy Vetutnev, Odant, 2018 #include <Poco/AutoPtr.h> #include <Poco/Util/SystemConfiguration.h> #include <iostream> #include <cstdlib> using Poco::AutoPtr; using Poco::Util::SystemConfiguration; int main(int, char**) { AutoPtr<SystemConfiguration> systemConfig = new Sys...
31.7
108
0.683491
odant
f197bf6ee3216d0ade2497e1f115756a814b2b9b
3,473
cpp
C++
STM_SW/test_mbed/src/main.cpp
chris3069/BLDC_Project
69f6b7ed810d091dd430d93554056e34af130d2d
[ "BSL-1.0" ]
null
null
null
STM_SW/test_mbed/src/main.cpp
chris3069/BLDC_Project
69f6b7ed810d091dd430d93554056e34af130d2d
[ "BSL-1.0" ]
null
null
null
STM_SW/test_mbed/src/main.cpp
chris3069/BLDC_Project
69f6b7ed810d091dd430d93554056e34af130d2d
[ "BSL-1.0" ]
null
null
null
#include <mbed.h> // #include "encoder_implementation/own_rotary.hpp" #include "motor_implementation/own_open_loop/open_loop.hpp" #include "motor_implementation/closed_loop/closed_loop.hpp" class Encoder { public: Encoder(); ~Encoder(); int32_t get_rotary_angle(void); void reset_rotary_angle(void);...
18.875
68
0.669738
chris3069
f1980c0fbbaf792c3ca69e0114e61712dfea79de
3,825
cpp
C++
main.cpp
vicrucann/ParallelTransportFrame
3357b15725a3d953ae740d069d44a2595d6a2d81
[ "MIT" ]
3
2019-04-08T05:13:00.000Z
2020-01-02T05:40:03.000Z
main.cpp
vicrucann/ParallelTransportFrame
3357b15725a3d953ae740d069d44a2595d6a2d81
[ "MIT" ]
null
null
null
main.cpp
vicrucann/ParallelTransportFrame
3357b15725a3d953ae740d069d44a2595d6a2d81
[ "MIT" ]
2
2018-07-06T05:22:01.000Z
2021-12-26T12:45:34.000Z
#include <iostream> #include <stdio.h> #ifdef _WIN32 #include <Windows.h> #endif #include <osgViewer/Viewer> #include <osg/Node> #include <osg/ShapeDrawable> #include <osgDB/WriteFile> #include <osgGA/EventHandler> #include <osg/Switch> #include "libPTFTube/PTFTube.h" const int OSG_WIDTH = 900; const int OSG_HEIGHT...
26.020408
87
0.55268
vicrucann
1af59ea57267148ad5f341cb5e044326fa1762e4
2,895
cxx
C++
Qt/Core/pqFlatTreeViewEventTranslator.cxx
certik/paraview
973d37b466552ce770ac0674f30040bb7e31d7fe
[ "BSD-3-Clause" ]
1
2016-05-09T00:36:44.000Z
2016-05-09T00:36:44.000Z
Qt/Core/pqFlatTreeViewEventTranslator.cxx
certik/paraview
973d37b466552ce770ac0674f30040bb7e31d7fe
[ "BSD-3-Clause" ]
null
null
null
Qt/Core/pqFlatTreeViewEventTranslator.cxx
certik/paraview
973d37b466552ce770ac0674f30040bb7e31d7fe
[ "BSD-3-Clause" ]
3
2015-05-14T21:18:53.000Z
2022-03-07T02:53:45.000Z
/*========================================================================= Program: ParaView Module: $RCSfile: pqFlatTreeViewEventTranslator.cxx,v $ Copyright (c) 2005,2006 Sandia Corporation, Kitware Inc. All rights reserved. ParaView is a free software; you can redistribute it and/or modify it ...
31.467391
177
0.687047
certik
1af5e2ad3934fffc83afe5deeeef978bf8aaa137
28
cc
C++
src/tests/test_event_chain.cc
AndreyGFranca/mcec
3033b85068c1bfe45b07597b96fa810872030bf1
[ "Apache-2.0" ]
null
null
null
src/tests/test_event_chain.cc
AndreyGFranca/mcec
3033b85068c1bfe45b07597b96fa810872030bf1
[ "Apache-2.0" ]
null
null
null
src/tests/test_event_chain.cc
AndreyGFranca/mcec
3033b85068c1bfe45b07597b96fa810872030bf1
[ "Apache-2.0" ]
null
null
null
#include "../EventChain.h"
9.333333
26
0.642857
AndreyGFranca
1af89491d668dbc03b504016b5cb75522b473b31
2,599
cpp
C++
Hackerrank/c++/factorialtrailingzeroes.cpp
ajeet1308/code_problems
5d99839b6319295c6d81dd86775c46a536e7a1ca
[ "MIT" ]
61
2020-09-26T19:57:44.000Z
2022-03-09T18:51:44.000Z
Hackerrank/c++/factorialtrailingzeroes.cpp
ajeet1308/code_problems
5d99839b6319295c6d81dd86775c46a536e7a1ca
[ "MIT" ]
88
2020-09-19T20:00:27.000Z
2021-10-31T09:41:57.000Z
Hackerrank/c++/factorialtrailingzeroes.cpp
ajeet1308/code_problems
5d99839b6319295c6d81dd86775c46a536e7a1ca
[ "MIT" ]
218
2020-09-20T08:18:03.000Z
2022-01-30T23:13:16.000Z
class Solution { public: map<vector<int>, vector<vector<int>>> graph; map<int, vector<vector<int>>> nodes_in_comp; set<vector<int>> visited; bool overlap(vector<int>& a, vector<int>& b) { return a[0] <= b[1] and b[0] <= a[1]; } // build a graph where an undirected edge between interval...
29.873563
79
0.544055
ajeet1308
1afab343c93e5de1f73a6dbfd41cdfe39584c228
425
hpp
C++
library/ATF/__dummy_block.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/__dummy_block.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/__dummy_block.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 <_dummy_position.hpp> START_ATF_NAMESPACE struct __dummy_block { char *pszBlockName; int nSubDummyNum; _dummy_position *pSubDum...
22.368421
108
0.689412
lemkova
1afb3aca1df77617428d489f057e69b9afdbb31c
3,513
cpp
C++
src/30-days-challenge/week-4/24_lru_cache.cpp
Elzawawy/ProblemsPlayground
81d969e88bf248b30b915c62c60f14738c5191ff
[ "MIT" ]
null
null
null
src/30-days-challenge/week-4/24_lru_cache.cpp
Elzawawy/ProblemsPlayground
81d969e88bf248b30b915c62c60f14738c5191ff
[ "MIT" ]
null
null
null
src/30-days-challenge/week-4/24_lru_cache.cpp
Elzawawy/ProblemsPlayground
81d969e88bf248b30b915c62c60f14738c5191ff
[ "MIT" ]
null
null
null
/** * Author: Amr Elzawawy * Date: 24-4-2020 * Problem Name: LRUCache, Day 24 on the 30-Days LeetCode Challenge. */ /* ### Problem Design and implement a data structure for [Least Recently Used (LRU) cache](https://en.wikipedia.org/wiki/Cache_replacement_policies#LRU). It should support the following operations: ...
33.778846
203
0.660404
Elzawawy
1afc4ec5b99ad983400a0ba147a1929f1774be8b
2,401
hpp
C++
rest_rpc/rest_rpc/base/log.hpp
emogua/CGAssistant
f3ded85a8336bcc03fd1a3d370880cdeedaa570f
[ "MIT" ]
39
2019-03-26T08:03:44.000Z
2022-02-13T09:06:48.000Z
rest_rpc/rest_rpc/base/log.hpp
emogua/CGAssistant
f3ded85a8336bcc03fd1a3d370880cdeedaa570f
[ "MIT" ]
10
2019-04-08T22:18:10.000Z
2021-10-04T04:11:00.000Z
rest_rpc/rest_rpc/base/log.hpp
emogua/CGAssistant
f3ded85a8336bcc03fd1a3d370880cdeedaa570f
[ "MIT" ]
26
2019-03-26T08:13:42.000Z
2022-03-15T04:51:39.000Z
#pragma once #include <spdlog/spdlog.h> namespace timax { class log { public: static log& get() { static log _log; return _log; } bool init(const std::string& file_name) { try { log_ = spdlog::rotating_logger_mt("logger", file_name, 1024 * 1024 * 50, 2); console_log_ = spdlog::stdout_...
21.061404
80
0.63307
emogua
1afc9e058ad577eb8042e5b5f792d339fda27820
4,922
cpp
C++
plugin/al/plugin/AL_USDMayaTestPlugin/AL/usdmaya/fileio/test_activeInActiveTranslators.cpp
goodbyekansas/maya-usd
648df109398e2f82b4be3def4dad241ad74fe961
[ "Apache-2.0" ]
null
null
null
plugin/al/plugin/AL_USDMayaTestPlugin/AL/usdmaya/fileio/test_activeInActiveTranslators.cpp
goodbyekansas/maya-usd
648df109398e2f82b4be3def4dad241ad74fe961
[ "Apache-2.0" ]
1
2019-11-22T14:38:00.000Z
2019-11-22T14:38:00.000Z
plugin/al/plugin/AL_USDMayaTestPlugin/AL/usdmaya/fileio/test_activeInActiveTranslators.cpp
goodbyekansas/maya-usd
648df109398e2f82b4be3def4dad241ad74fe961
[ "Apache-2.0" ]
null
null
null
// // Copyright 2019 Animal Logic // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to...
37.861538
290
0.750508
goodbyekansas
1afee429b5d65373d88f8a49dce90955d4c0967d
2,024
cpp
C++
src/Emulators/nestopiaue/core/input/NstInpPokkunMoguraa.cpp
slajerek/RetroDebugger
e761e4f9efd103a05e65ef283423b142fa4324c7
[ "Apache-2.0", "MIT" ]
34
2021-05-29T07:04:17.000Z
2022-03-10T20:16:03.000Z
src/Emulators/nestopiaue/core/input/NstInpPokkunMoguraa.cpp
slajerek/RetroDebugger
e761e4f9efd103a05e65ef283423b142fa4324c7
[ "Apache-2.0", "MIT" ]
6
2021-12-25T13:05:21.000Z
2022-01-19T17:35:17.000Z
src/Emulators/nestopiaue/core/input/NstInpPokkunMoguraa.cpp
slajerek/RetroDebugger
e761e4f9efd103a05e65ef283423b142fa4324c7
[ "Apache-2.0", "MIT" ]
6
2021-12-24T18:37:41.000Z
2022-02-06T23:06:02.000Z
//////////////////////////////////////////////////////////////////////////////////////// // // Nestopia - NES/Famicom emulator written in C++ // // Copyright (C) 2003-2008 Martin Freij // // This file is part of Nestopia. // // Nestopia is free software; you can redistribute it and/or modify // it under the te...
25.948718
89
0.585968
slajerek
210094eb13c78b6fa92ded5a7ea07a13661ae517
887
cxx
C++
FastCaloSimAnalyzer/FastCaloGpu/src/Rand4Hits_cpu.cxx
atif4461/FCS-GPU
181865f55d299287873f99c777aad2ef9404e961
[ "Apache-2.0" ]
2
2022-01-25T20:32:53.000Z
2022-02-16T01:15:47.000Z
FastCaloSimAnalyzer/FastCaloGpu/src/Rand4Hits_cpu.cxx
atif4461/FCS-GPU
181865f55d299287873f99c777aad2ef9404e961
[ "Apache-2.0" ]
null
null
null
FastCaloSimAnalyzer/FastCaloGpu/src/Rand4Hits_cpu.cxx
atif4461/FCS-GPU
181865f55d299287873f99c777aad2ef9404e961
[ "Apache-2.0" ]
1
2022-02-11T15:54:10.000Z
2022-02-11T15:54:10.000Z
/* Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration */ #include <random> #include <vector> #include <algorithm> #define cpu_randgen_t std::mt19937 void Rand4Hits::createCPUGen( unsigned long long seed ) { cpu_randgen_t* eng = new cpu_randgen_t( seed ); m_gen = (void*)eng; } ...
25.342857
100
0.657272
atif4461
210474d24dfa9b30f862bc59e3d3dfcb4995fb91
2,771
cpp
C++
app/src/main/cpp/Bullet.cpp
KoreanGinseng/2d_shooting_game_for_android
be21b4f4bbf8326c834f2148f6ab6337fd2c0518
[ "MIT" ]
null
null
null
app/src/main/cpp/Bullet.cpp
KoreanGinseng/2d_shooting_game_for_android
be21b4f4bbf8326c834f2148f6ab6337fd2c0518
[ "MIT" ]
null
null
null
app/src/main/cpp/Bullet.cpp
KoreanGinseng/2d_shooting_game_for_android
be21b4f4bbf8326c834f2148f6ab6337fd2c0518
[ "MIT" ]
null
null
null
/******************************************************************************/ /*! @file Bullet.cpp @brief 弾クラス実装ファイル *******************************************************************************/ #include "Bullet.h" #include <DxLib.h> using namespace Shooting2D; /*********************************...
29.478723
104
0.381451
KoreanGinseng
2105620576082643d5af067788e47a9e9b9caba9
2,367
cpp
C++
Opal Prospect/OpenGL/TextureAtlasController.cpp
swbengs/OpalProspect
5f77dd07c1bb4197673589ac3f42546a4d0329b3
[ "MIT" ]
2
2018-06-06T02:01:08.000Z
2020-07-25T18:10:32.000Z
Opal Prospect/OpenGL/TextureAtlasController.cpp
swbengs/OpalProspect
5f77dd07c1bb4197673589ac3f42546a4d0329b3
[ "MIT" ]
10
2018-07-27T01:56:45.000Z
2019-02-23T01:49:36.000Z
Opal Prospect/OpenGL/TextureAtlasController.cpp
swbengs/OpalProspect
5f77dd07c1bb4197673589ac3f42546a4d0329b3
[ "MIT" ]
null
null
null
#include "TextureAtlasController.hpp" /* MIT License Copyright (c) 2018 Scott Bengs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights t...
28.178571
85
0.73215
swbengs
210a5846b9aeda6a95bb7e9f8ff061231fd32f4b
19,206
cpp
C++
MultiWii/Telemetry.cpp
RocketRedNeck/ArduinoPlayground
13998ba6f5809bccd57a37cbd62720b8a075a0e1
[ "MIT" ]
null
null
null
MultiWii/Telemetry.cpp
RocketRedNeck/ArduinoPlayground
13998ba6f5809bccd57a37cbd62720b8a075a0e1
[ "MIT" ]
10
2018-09-16T04:54:52.000Z
2018-10-24T11:03:49.000Z
MultiWii/Telemetry.cpp
RocketRedNeck/ArduinoPlayground
13998ba6f5809bccd57a37cbd62720b8a075a0e1
[ "MIT" ]
1
2018-09-22T06:52:10.000Z
2018-09-22T06:52:10.000Z
// **************************************************************** // FrSky telemetry // Version: 0.4.0 - by QuadBow // Changes: V0.4.0: - supports 2.4 with new features added // device specific selection of data to be sent // different ways for displaying // ...
29.322137
170
0.585494
RocketRedNeck
210a6386dbb89d43f1738b76a6cc3b55bac54390
1,170
cpp
C++
src/sense-hat-sim.cpp
partouf/cpp-sense-hat
d0f4750d1d432fae1bc4793c8d161d6374ed1d9e
[ "MIT" ]
4
2016-08-22T21:06:46.000Z
2021-02-28T02:06:52.000Z
src/sense-hat-sim.cpp
partouf/cpp-sense-hat
d0f4750d1d432fae1bc4793c8d161d6374ed1d9e
[ "MIT" ]
null
null
null
src/sense-hat-sim.cpp
partouf/cpp-sense-hat
d0f4750d1d432fae1bc4793c8d161d6374ed1d9e
[ "MIT" ]
null
null
null
#include "sense-hat-sim.h" #include <memory> SenseHAT::ISenseHAT *HATInstance = nullptr; SenseHAT::SenseHATSim::SenseHATSim() : ISenseHAT() { LEDMatrix = std::make_unique<SenseHAT::SenseHATLedMatrixSim>(); } double SenseHAT::SenseHATSim::get_humidity() { return 0.0; } double SenseHAT::SenseHATSim::get_pressur...
17.727273
92
0.702564
partouf
210b0a849964627fdfa84cf20b6d61a947dd059e
185
hpp
C++
src/agl/glsl/function/geometric/normalize.hpp
the-last-willy/abstractgl
d685bef25ac18773d3eea48ca52806c3a3485ddb
[ "MIT" ]
null
null
null
src/agl/glsl/function/geometric/normalize.hpp
the-last-willy/abstractgl
d685bef25ac18773d3eea48ca52806c3a3485ddb
[ "MIT" ]
null
null
null
src/agl/glsl/function/geometric/normalize.hpp
the-last-willy/abstractgl
d685bef25ac18773d3eea48ca52806c3a3485ddb
[ "MIT" ]
null
null
null
#pragma once #include "length.hpp" #include "agl/glsl/vec/vec.hpp" namespace agl { template<std::size_t N> Vec<float, N> normalize(Vec<float, N> v) { return v / length(v); } }
12.333333
42
0.654054
the-last-willy
2111129de076626ac8aaf1ebd0cf388996581daf
809
cpp
C++
node_modules/lzz-gyp/lzz-source/smtc_TypeParam.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
3
2019-09-18T16:44:33.000Z
2021-03-29T13:45:27.000Z
node_modules/lzz-gyp/lzz-source/smtc_TypeParam.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
null
null
null
node_modules/lzz-gyp/lzz-source/smtc_TypeParam.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
2
2019-03-29T01:06:38.000Z
2019-09-18T16:44:34.000Z
// smtc_TypeParam.cpp // #include "smtc_TypeParam.h" #ifndef LZZ_ENABLE_INLINE #include "smtc_TypeParam.inl" #endif // semantic #include "smtc_NameToString.h" // util #include "util_AppendWithSpace.h" #define LZZ_INLINE inline namespace smtc { TypeParam::TypeParam (NamePtr const & name, CvType const & def_type) ...
19.731707
70
0.657602
SuperDizor
21124349da68be1962e218b0f535e63536a9d0c0
1,965
cpp
C++
2017.7.31/a.cpp
1980744819/ACM-code
a697242bc963e682e552e655e3d78527e044e854
[ "Apache-2.0" ]
null
null
null
2017.7.31/a.cpp
1980744819/ACM-code
a697242bc963e682e552e655e3d78527e044e854
[ "Apache-2.0" ]
null
null
null
2017.7.31/a.cpp
1980744819/ACM-code
a697242bc963e682e552e655e3d78527e044e854
[ "Apache-2.0" ]
null
null
null
#include<cstdio> #include<string> #include<cstring> #include<cstdlib> #include<cmath> #include<iostream> #include<algorithm> #include<vector> #include<queue> #include<map> #include<set> #include<stack> using namespace std; const int maxn=1e7+5; int cnt; struct node{ node *next[26]; node *fail; int sum; }; node *root...
16.239669
54
0.557761
1980744819
21142c439651ee57d4aca1b25a5ba4d9f24fbb36
887
cpp
C++
ace/tests/classix/CLASSIX_OS_Test.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
46
2015-12-04T17:12:58.000Z
2022-03-11T04:30:49.000Z
ace/tests/classix/CLASSIX_OS_Test.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
null
null
null
ace/tests/classix/CLASSIX_OS_Test.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
23
2016-10-24T09:18:14.000Z
2022-02-25T02:11:35.000Z
/* -*- C++ -*- */ // CLASSIX_OS_Test.cpp,v 1.1 1998/06/24 10:37:45 wchiang Exp // ============================================================================ // // = LIBRARY // tests // // = FILENAME // CLASSIX_OS_Test.cpp // // = DESCRIPTION // This is a test of the <ACE_CLASSIX_OS> class. //...
20.159091
80
0.473506
tharindusathis
211a85061c2c3645b2fe2bfce6e336d32c8dba7a
1,735
hpp
C++
stapl_release/benchmarks/data_mining/frequent_itemset/algo.hpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/benchmarks/data_mining/frequent_itemset/algo.hpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/benchmarks/data_mining/frequent_itemset/algo.hpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
#include <stapl/runtime.hpp> template<typename Predicate> class Find_map { private: Predicate m_pred; public: Find_map(Predicate const& pred) : m_pred(pred) { } template<typename Ref> Ref operator()(Ref elem) const { if (m_pred(elem)) { return elem; } else { return Ref(stapl::null...
19.494382
79
0.643804
parasol-ppl
211cdf229a7c191a6a1590ec3c715754336f1887
1,916
cpp
C++
src/cpp/SPL/Core/TransportStatModelImpl.cpp
IBMStreams/OSStreams
c6287bd9ec4323f567d2faf59125baba8604e1db
[ "Apache-2.0" ]
10
2021-02-19T20:19:24.000Z
2021-09-16T05:11:50.000Z
src/cpp/SPL/Core/TransportStatModelImpl.cpp
xguerin/openstreams
7000370b81a7f8778db283b2ba9f9ead984b7439
[ "Apache-2.0" ]
7
2021-02-20T01:17:12.000Z
2021-06-08T14:56:34.000Z
src/cpp/SPL/Core/TransportStatModelImpl.cpp
IBMStreams/OSStreams
c6287bd9ec4323f567d2faf59125baba8604e1db
[ "Apache-2.0" ]
4
2021-02-19T18:43:10.000Z
2022-02-23T14:18:16.000Z
/* * Copyright 2021 IBM Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
33.614035
85
0.727557
IBMStreams
211e7f65be16fae090457534fa702e196d5f8188
829
cpp
C++
Ejercicios/ProyectoFinal_GestorArchivosMAR/login.cpp
Maldanar201/LenguajeProgramacion1
5a53c51077c0e41deff8daf40dbe6f0778b41f9c
[ "MIT" ]
null
null
null
Ejercicios/ProyectoFinal_GestorArchivosMAR/login.cpp
Maldanar201/LenguajeProgramacion1
5a53c51077c0e41deff8daf40dbe6f0778b41f9c
[ "MIT" ]
null
null
null
Ejercicios/ProyectoFinal_GestorArchivosMAR/login.cpp
Maldanar201/LenguajeProgramacion1
5a53c51077c0e41deff8daf40dbe6f0778b41f9c
[ "MIT" ]
null
null
null
#include <iostream> #include <stdlib.h> #include <fstream> #include <string.h> #include <ctime> using namespace std; // seguridad para iniciar el sistema bool login() { setlocale(LC_CTYPE,"spanish"); string usuario = ""; string password = ""; bool acceso = false; int intentos = 0; while(in...
18.021739
59
0.557298
Maldanar201
2123419ecedb22992456a7c3cf3caf7672cc90ba
526
cpp
C++
src/models/piece.cpp
0xkalvin/chess
3a71fb04c3d6ec9d1a0d27fba320090c8ee7ce52
[ "MIT" ]
1
2021-07-24T06:36:25.000Z
2021-07-24T06:36:25.000Z
src/models/piece.cpp
0xkalvin/chess
3a71fb04c3d6ec9d1a0d27fba320090c8ee7ce52
[ "MIT" ]
9
2019-07-04T02:35:34.000Z
2019-07-09T03:00:21.000Z
src/models/piece.cpp
0xkalvin/chess
3a71fb04c3d6ec9d1a0d27fba320090c8ee7ce52
[ "MIT" ]
null
null
null
#include "piece.h" Piece::Piece(char s, int v, bool white, int q){ this->symbol = s; this->value = v; this->white = white; this->quantity = this->alive = q; this->moved = false; } Piece::~Piece(){} char Piece::getSymbol(){ return this->symbol; } int Piece::getValue(){ return this->value...
14.216216
47
0.60076
0xkalvin
2124fe39abdaac1984e9e6d4fc09a80fe0af8725
790
cpp
C++
CompileToCppVariable.cpp
ShaiRoitman/CompileToCppVar
6f5da9231d8594ce7b07e73a14f2b182de7608f6
[ "MIT" ]
null
null
null
CompileToCppVariable.cpp
ShaiRoitman/CompileToCppVar
6f5da9231d8594ce7b07e73a14f2b182de7608f6
[ "MIT" ]
null
null
null
CompileToCppVariable.cpp
ShaiRoitman/CompileToCppVar
6f5da9231d8594ce7b07e73a14f2b182de7608f6
[ "MIT" ]
null
null
null
#include "stdio.h" int main(int argc, char* argv[]) { if ( argc <= 1) { printf("CompileToCppVariable <Filename> [VariableName]\n"); return 1; } if ( argc > 2) { printf ("const char %s[] = {\n", argv[2]); } FILE* fp = fopen(argv[1],"rb"); if (fp == NULL) { printf ("Could not ope...
15.490196
62
0.516456
ShaiRoitman
2125e54de619aa2bfdbd0f8403008d8517f92445
1,002
cpp
C++
src/WindowManager.cpp
ToxicFrazzles/MultiPaddle
1650280d99e350255c6fdadcf14b02b872379748
[ "CC0-1.0" ]
null
null
null
src/WindowManager.cpp
ToxicFrazzles/MultiPaddle
1650280d99e350255c6fdadcf14b02b872379748
[ "CC0-1.0" ]
null
null
null
src/WindowManager.cpp
ToxicFrazzles/MultiPaddle
1650280d99e350255c6fdadcf14b02b872379748
[ "CC0-1.0" ]
null
null
null
#include "MultiPaddle/WindowManager.h" WindowManager::WindowManager(const char* windowTitle) { if(SDL_Init(SDL_INIT_VIDEO) < 0){ std::cerr << "Could not initialise sdl2: " << SDL_GetError() << std::endl; return; } window = SDL_CreateWindow( windowTitle, SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, S...
22.266667
76
0.697605
ToxicFrazzles
2127fbdf3c872ac273b82f3bc0a60356869d7b94
3,422
cpp
C++
src/SinkRecord.cpp
rgmyr/FLASHcodeStellarCores
32b14d2e991a92d9146f4e0d939a444e8adcd163
[ "MIT" ]
null
null
null
src/SinkRecord.cpp
rgmyr/FLASHcodeStellarCores
32b14d2e991a92d9146f4e0d939a444e8adcd163
[ "MIT" ]
null
null
null
src/SinkRecord.cpp
rgmyr/FLASHcodeStellarCores
32b14d2e991a92d9146f4e0d939a444e8adcd163
[ "MIT" ]
null
null
null
/* * The Sink Record class reads, prints, and writes information related to sink data * read directly from the checkpoint files. The ctor should be passed a filename. */ #include "RossGlobals.h" #include "HDFIO.h" #include "Sink.hpp" #include "SinkRecord.hpp" #include <iostream> using std::cout; using std::endl;...
27.596774
92
0.630333
rgmyr
212fd3aade032f8c38368735341efb8378ad50a2
394
cpp
C++
src/main.cpp
TheLogicMaster/ofFlappyBird
28b5df427c70b327e7e9524231b22ad78e18b828
[ "MIT" ]
1
2021-07-14T10:50:21.000Z
2021-07-14T10:50:21.000Z
src/main.cpp
TheLogicMaster/ofFlappyBird
28b5df427c70b327e7e9524231b22ad78e18b828
[ "MIT" ]
null
null
null
src/main.cpp
TheLogicMaster/ofFlappyBird
28b5df427c70b327e7e9524231b22ad78e18b828
[ "MIT" ]
null
null
null
#include "ofMain.h" #include "ofApp.h" //======================================================================== int main( ){ #ifdef TARGET_LINUX ofGLFWWindowSettings settings; settings.resizable = false; settings.title = "ofFlappyBird"; settings.setSize(288, 512); ofCreateWindow(settings); #else ...
23.176471
74
0.563452
TheLogicMaster
213462e5b7ee9ce3764fb3f2ba53bf474d245624
5,421
cpp
C++
applications/PfemSolidMechanicsApplication/custom_constitutive/custom_yield_criteria/new_tresca_yield_criterion.cpp
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
778
2017-01-27T16:29:17.000Z
2022-03-30T03:01:51.000Z
applications/PfemSolidMechanicsApplication/custom_constitutive/custom_yield_criteria/new_tresca_yield_criterion.cpp
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
6,634
2017-01-15T22:56:13.000Z
2022-03-31T15:03:36.000Z
applications/PfemSolidMechanicsApplication/custom_constitutive/custom_yield_criteria/new_tresca_yield_criterion.cpp
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
224
2017-02-07T14:12:49.000Z
2022-03-06T23:09:34.000Z
// // Project Name: KratosPfemSolidMechanicsApplication $ // Created by: $Author: LMonforte $ // Last modified by: $Co-Author: $ // Date: $Date: July 2015 $ // Revision: $Revision: 0.0...
32.461078
288
0.517801
lkusch
213a28e46e103703dbaa1d3cc80c9a5dbeadbe04
26,341
cc
C++
pmlc/dialect/tile/builder.cc
redoclag/plaidml
46d9e8b3f1e1093aab2a0dfa40b2e15e3cc7d314
[ "Apache-2.0" ]
4,535
2017-10-20T05:03:57.000Z
2022-03-30T15:42:33.000Z
pmlc/dialect/tile/builder.cc
HOZHENWAI/plaidml
46d9e8b3f1e1093aab2a0dfa40b2e15e3cc7d314
[ "Apache-2.0" ]
984
2017-10-20T17:16:09.000Z
2022-03-30T05:43:18.000Z
pmlc/dialect/tile/builder.cc
HOZHENWAI/plaidml
46d9e8b3f1e1093aab2a0dfa40b2e15e3cc7d314
[ "Apache-2.0" ]
492
2017-10-20T18:22:32.000Z
2022-03-30T09:00:05.000Z
// Copyright 2019, Intel Corporation #include "pmlc/dialect/tile/builder.h" #include <map> #include <queue> #include <set> #include <string> #include <unordered_map> #include <utility> #include <vector> #include "llvm/ADT/SetVector.h" #include "llvm/Support/FormatVariadic.h" #include "mlir/Analysis/Verifier.h" #inc...
36.789106
117
0.663756
redoclag
213c0e17b38e1be807df4b4db3900054ee3b14b9
17,381
hpp
C++
plugins/community/repos/EH_modules/src/FV1emu.hpp
guillaume-plantevin/VeeSeeVSTRack
76fafc8e721613669d6f5ae82a0f58ce923a91e1
[ "Zlib", "BSD-3-Clause" ]
233
2018-07-02T16:49:36.000Z
2022-02-27T21:45:39.000Z
plugins/community/repos/EH_modules/src/FV1emu.hpp
guillaume-plantevin/VeeSeeVSTRack
76fafc8e721613669d6f5ae82a0f58ce923a91e1
[ "Zlib", "BSD-3-Clause" ]
24
2018-07-09T11:32:15.000Z
2022-01-07T01:45:43.000Z
plugins/community/repos/EH_modules/src/FV1emu.hpp
guillaume-plantevin/VeeSeeVSTRack
76fafc8e721613669d6f5ae82a0f58ce923a91e1
[ "Zlib", "BSD-3-Clause" ]
24
2018-07-14T21:55:30.000Z
2021-05-04T04:20:34.000Z
/* FV1 Emulator * Copyright (C)2018 - Eduard Heidt * * 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 * (at your option) any later version. * *...
21.72625
142
0.54922
guillaume-plantevin
213e85ee0ff56ef4f0fcfa43aa93573e4a46321c
229
cpp
C++
_tempalte/main.cpp
5ooo/LeetCode
5f250cd38696f581e5c891b8977f6c27eea26ffa
[ "MIT" ]
null
null
null
_tempalte/main.cpp
5ooo/LeetCode
5f250cd38696f581e5c891b8977f6c27eea26ffa
[ "MIT" ]
null
null
null
_tempalte/main.cpp
5ooo/LeetCode
5f250cd38696f581e5c891b8977f6c27eea26ffa
[ "MIT" ]
null
null
null
#include <stdio.h> #include <algorithm> #include <iostream> #include <vector> #include <stack> #include <map> #include <utility> using namespace std; class Solution { public: }; int main() { Solution s; return 0; }
9.956522
20
0.663755
5ooo
213f686c659be9ddcbabed25563e8468288e3adf
38,954
cpp
C++
PVGroups.cpp
nardinan/vulture
d4be5b028d9fab4c0d23797ceb95d22f5a33cb75
[ "FTL" ]
null
null
null
PVGroups.cpp
nardinan/vulture
d4be5b028d9fab4c0d23797ceb95d22f5a33cb75
[ "FTL" ]
null
null
null
PVGroups.cpp
nardinan/vulture
d4be5b028d9fab4c0d23797ceb95d22f5a33cb75
[ "FTL" ]
null
null
null
/* PSYCHO GAMES(C) STUDIOS - 2007 www.psychogames.net * Project: Vulture(c) * Author : Andrea Nardinocchi * eMail : andrea@nardinan.it * * 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, ...
54.178025
193
0.507753
nardinan
21462d66e49eaeaa64b3b399bc64b9b1e175fbd7
28,371
cpp
C++
src/cui/EntisGLS/EntisGLS.cpp
MaiReo/crass
11579527090faecab27f98b1e221172822928f57
[ "BSD-3-Clause" ]
1
2021-07-21T00:58:45.000Z
2021-07-21T00:58:45.000Z
src/cui/EntisGLS/EntisGLS.cpp
MaiReo/crass
11579527090faecab27f98b1e221172822928f57
[ "BSD-3-Clause" ]
null
null
null
src/cui/EntisGLS/EntisGLS.cpp
MaiReo/crass
11579527090faecab27f98b1e221172822928f57
[ "BSD-3-Clause" ]
null
null
null
#include <windows.h> #include <tchar.h> #include <crass_types.h> #include <acui.h> #include <cui.h> #include <package.h> #include <resource.h> #include <cui_error.h> #include <stdio.h> #include <crass/locale.h> #include <utility.h> #include <vector> #include <string> #include <xerisa.h> /* 【game参数游戏支持列表】 ·ドS姉とボクの放尿関...
25.675113
142
0.65715
MaiReo
214812db54c0b4b2b26f8f42362c8ef34cfa8abe
481
cpp
C++
monet/lm_ops/lravg.cpp
stjordanis/MONeT-1
98a5c7d149ca19c8c64069dbd8f27ce7f97bf3af
[ "MIT" ]
161
2020-10-28T02:21:50.000Z
2022-03-11T05:06:16.000Z
monet/lm_ops/lravg.cpp
kiminh/MONeT
83302c12e8fd3d1c8b2496928c843f0e84226cc8
[ "MIT" ]
4
2020-10-28T02:27:43.000Z
2021-03-31T00:04:43.000Z
monet/lm_ops/lravg.cpp
kiminh/MONeT
83302c12e8fd3d1c8b2496928c843f0e84226cc8
[ "MIT" ]
15
2020-10-28T02:32:12.000Z
2021-12-23T13:20:23.000Z
#include <torch/extension.h> #define CHECK_CONTIGUOUS(x) TORCH_CHECK(x.is_contiguous(), #x " must be contiguous") #define CHECK_INPUT(x) CHECK_CONTIGUOUS(x) torch::Tensor lr_adaptive_avg_pool_backward(const torch::Tensor& grad, const torch::Tensor& self) { return at::native::adaptive_avg_pool2d_backward_cuda(grad, ...
34.357143
105
0.785863
stjordanis
214b1db4ef1ec19536ed20b51bd277b7c928162f
1,143
hpp
C++
include/lexy/_detail/detect.hpp
clayne/lexy
af01ecd0aa8b774b9de62e6d12b9d69a1060ad20
[ "BSL-1.0" ]
null
null
null
include/lexy/_detail/detect.hpp
clayne/lexy
af01ecd0aa8b774b9de62e6d12b9d69a1060ad20
[ "BSL-1.0" ]
null
null
null
include/lexy/_detail/detect.hpp
clayne/lexy
af01ecd0aa8b774b9de62e6d12b9d69a1060ad20
[ "BSL-1.0" ]
null
null
null
// Copyright (C) 2020-2021 Müller <jonathanmueller.dev@gmail.com> // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. #ifndef LEXY_DETAIL_DETECT_HPP_INCLUDED #define LEXY_DETAIL_DETECT_HPP_INCLUDED #include <lexy/_detail/config.hpp> namespace lex...
30.891892
86
0.736658
clayne
2152ab9673f96e552f74c04242c24df2224dd22c
4,692
cpp
C++
export/windows/obj/src/lime/graphics/opengl/ext/EXT_texture_type_2_10_10_10_REV.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
export/windows/obj/src/lime/graphics/opengl/ext/EXT_texture_type_2_10_10_10_REV.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
export/windows/obj/src/lime/graphics/opengl/ext/EXT_texture_type_2_10_10_10_REV.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
// Generated by Haxe 3.4.7 #include <hxcpp.h> #ifndef INCLUDED_lime_graphics_opengl_ext_EXT_texture_type_2_10_10_10_REV #include <lime/graphics/opengl/ext/EXT_texture_type_2_10_10_10_REV.h> #endif HX_DEFINE_STACK_FRAME(_hx_pos_d9ba4fd59f8a4b9b_9_new,"lime.graphics.opengl.ext.EXT_texture_type_2_10_10_10_REV","new",0x9...
39.428571
267
0.808184
seanbashaw
21567baf916fa34ae5e2c1f7b4af21b5ab57ddb6
5,356
cc
C++
Grove_Sensoren/Grove Serial Camera Kit - 815001001/CompactC/Webcam/WEB_CAM.cc
frankyhub/Calliope
335f0ef5ca9bcf57e14166319501ec9086bc09bf
[ "MIT" ]
null
null
null
Grove_Sensoren/Grove Serial Camera Kit - 815001001/CompactC/Webcam/WEB_CAM.cc
frankyhub/Calliope
335f0ef5ca9bcf57e14166319501ec9086bc09bf
[ "MIT" ]
null
null
null
Grove_Sensoren/Grove Serial Camera Kit - 815001001/CompactC/Webcam/WEB_CAM.cc
frankyhub/Calliope
335f0ef5ca9bcf57e14166319501ec9086bc09bf
[ "MIT" ]
null
null
null
/******************************************************************************* Project Name: WEB_CAM.cprj Required Libs's: IntFunc_lib.cc Files: CAMERA_CJ_OV528.cc, SD.Lib.cc Writer: CCPRO-TEAM Date: 10.05.2015 Function: Demonstrates the Grove Camera_C...
29.921788
98
0.510456
frankyhub
2156fd6f438f31b4b0cb776986a1edbba761198c
24,067
cpp
C++
NuclearSegmentation/Nuclear_Association/AssociationAuxFns.cpp
tostathaina/farsight
7e9d6d15688735f34f7ca272e4e715acd11473ff
[ "Apache-2.0" ]
8
2016-07-22T11:24:19.000Z
2021-04-10T04:22:31.000Z
NuclearSegmentation/Nuclear_Association/AssociationAuxFns.cpp
YanXuHappygela/Farsight
1711b2a1458c7e035edd21fe0019a1f7d23fcafa
[ "Apache-2.0" ]
null
null
null
NuclearSegmentation/Nuclear_Association/AssociationAuxFns.cpp
YanXuHappygela/Farsight
1711b2a1458c7e035edd21fe0019a1f7d23fcafa
[ "Apache-2.0" ]
7
2016-07-21T07:39:17.000Z
2020-01-29T02:03:27.000Z
/* * Copyright 2009 Rensselaer Polytechnic Institute * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * Thi...
40.178631
185
0.67952
tostathaina
215910b672deb5fd314958592ff7d14ad68d0d36
3,770
cpp
C++
engine/source/component/behaviors/behaviorInstance.cpp
Sednari/twitch-tutorial-flappy-birds
9aaed1cea2ef24ef6a5212c3350db17a017142fe
[ "MIT" ]
1,309
2015-01-01T02:46:14.000Z
2022-03-14T04:56:02.000Z
engine/source/component/behaviors/behaviorInstance.cpp
Sednari/twitch-tutorial-flappy-birds
9aaed1cea2ef24ef6a5212c3350db17a017142fe
[ "MIT" ]
155
2015-01-11T19:26:32.000Z
2021-11-22T04:08:55.000Z
engine/source/component/behaviors/behaviorInstance.cpp
Sednari/twitch-tutorial-flappy-birds
9aaed1cea2ef24ef6a5212c3350db17a017142fe
[ "MIT" ]
1,595
2015-01-01T23:19:48.000Z
2022-02-17T07:00:52.000Z
//----------------------------------------------------------------------------- // Copyright (c) 2013 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 restr...
36.25
160
0.574271
Sednari
215955a3532cb8d5bc4afef8b65931fe7552bed7
1,368
hpp
C++
include/sprout/algorithm/fit/results.hpp
thinkoid/Sprout
a5a5944bb1779d3bb685087c58c20a4e18df2f39
[ "BSL-1.0" ]
4
2021-12-29T22:17:40.000Z
2022-03-23T11:53:44.000Z
dsp/lib/sprout/sprout/algorithm/fit/results.hpp
TheSlowGrowth/TapeLooper
ee8d8dccc27e39a6f6f6f435847e4d5e1b97c264
[ "MIT" ]
16
2021-10-31T21:41:09.000Z
2022-01-22T10:51:34.000Z
include/sprout/algorithm/fit/results.hpp
thinkoid/Sprout
a5a5944bb1779d3bb685087c58c20a4e18df2f39
[ "BSL-1.0" ]
null
null
null
/*============================================================================= Copyright (c) 2011-2019 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprout Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ==...
30.4
79
0.652047
thinkoid
215d3d1e4bb9ee62f05c5266e44c2a6d0fd1c418
1,272
cpp
C++
interpreter-for-cpp/src/Runtime/Executer.cpp
Jenocn/PeakScript
444ba5f9d0062989d8beca0d76415961f1ae2922
[ "MIT" ]
1
2020-05-21T09:02:19.000Z
2020-05-21T09:02:19.000Z
interpreter-for-cpp/src/Runtime/Executer.cpp
Jenocn/PeakScript
444ba5f9d0062989d8beca0d76415961f1ae2922
[ "MIT" ]
8
2020-05-29T14:12:00.000Z
2022-01-22T09:08:47.000Z
interpreter-for-cpp/src/Runtime/Executer.cpp
Jenocn/PeakScript
444ba5f9d0062989d8beca0d76415961f1ae2922
[ "MIT" ]
null
null
null
#include "Executer.h" #include "../Grammar/ParseTool.h" #include "Sentence/Sentence.h" #include "Space.h" using namespace peak::interpreter; std::shared_ptr<Executer> Executer::Create(const std::string& src) { if (src.empty()) { return nullptr; } auto parseData = ParseTool::Load(src); if (!parseData...
24.941176
82
0.693396
Jenocn