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
c2ee0f2a77e78dfb631f1695270fa8781d8cc0c2
1,903
cpp
C++
MerdogRT/interpreter/source/word_record.cpp
HttoHu/MerdogUWP
4d823f1c95b655151f8d972018d6caed33e187ee
[ "MIT" ]
9
2018-03-05T15:07:44.000Z
2019-12-07T10:15:00.000Z
MerdogRT/interpreter/source/word_record.cpp
HttoHu/MerdogUWP
4d823f1c95b655151f8d972018d6caed33e187ee
[ "MIT" ]
null
null
null
MerdogRT/interpreter/source/word_record.cpp
HttoHu/MerdogUWP
4d823f1c95b655151f8d972018d6caed33e187ee
[ "MIT" ]
1
2019-11-14T08:09:19.000Z
2019-11-14T08:09:19.000Z
/* * MIT License * Copyright (c) 2019 Htto Hu */ #include "../include/word_record.hpp" #include "../include/function.hpp" using namespace Mer; std::map<type_code_index, std::map<std::string, type_code_index>> type_op_type_map; void Mer::SymbolTable::end_block() { for (auto& a : data.front()) _rem_vec.push_back(a.sec...
22.127907
135
0.612191
HttoHu
c2ee2b77b990aafd5569debc5c90fa54dfd2eff2
6,569
cc
C++
cpp/shared/cpputils/cpputils/list.cc
SiliconLabs/mltk
56b19518187e9d1c8a0d275de137fc9058984a1f
[ "Zlib" ]
null
null
null
cpp/shared/cpputils/cpputils/list.cc
SiliconLabs/mltk
56b19518187e9d1c8a0d275de137fc9058984a1f
[ "Zlib" ]
1
2021-11-19T20:10:09.000Z
2021-11-19T20:10:09.000Z
cpp/shared/cpputils/cpputils/list.cc
sldriedler/mltk
d82a60359cf875f542a2257f1bc7d8eb4bdaa204
[ "Zlib" ]
null
null
null
#include <cassert> #include <cstring> #include <cstdlib> #include "cpputils/list.hpp" namespace cpputils { /*************************************************************************************************/ List::List(uint32_t entry_size, uint32_t initial_capacity) { initialize(entry_size, initial_capacit...
21.896667
110
0.444969
SiliconLabs
c2f216b53cbfc352125ed7c8d871df234488669a
376
cpp
C++
samples/snippets/cpp/VS_Snippets_Remoting/Classic XmlAttributeAttribute.Namespace Example/CPP/source.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
421
2018-04-01T01:57:50.000Z
2022-03-28T15:24:42.000Z
samples/snippets/cpp/VS_Snippets_Remoting/Classic XmlAttributeAttribute.Namespace Example/CPP/source.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
5,797
2018-04-02T21:12:23.000Z
2022-03-31T23:54:38.000Z
samples/snippets/cpp/VS_Snippets_Remoting/Classic XmlAttributeAttribute.Namespace Example/CPP/source.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
1,482
2018-03-31T11:26:20.000Z
2022-03-30T22:36:45.000Z
#using <System.Xml.dll> using namespace System; using namespace System::IO; using namespace System::Xml; using namespace System::Xml::Serialization; // <Snippet1> public ref class Car { public: [XmlAttributeAttribute(Namespace="Make")] String^ MakerName; [XmlAttributeAttribute(Namespace=...
16.347826
46
0.680851
hamarb123
c2f55f242d2637454e327d5051b35ba012f03756
469
cpp
C++
gie/src/Node.cpp
Kerdek/gie
ebcd1aec6dc34de46145e4013afd6d5dad194a9f
[ "BSD-3-Clause-Clear" ]
57
2019-06-21T21:15:03.000Z
2022-03-30T18:17:56.000Z
gie/src/Node.cpp
Kerdek/gie
ebcd1aec6dc34de46145e4013afd6d5dad194a9f
[ "BSD-3-Clause-Clear" ]
2
2020-08-04T05:45:03.000Z
2021-02-26T10:21:16.000Z
gie/src/Node.cpp
Kerdek/gie
ebcd1aec6dc34de46145e4013afd6d5dad194a9f
[ "BSD-3-Clause-Clear" ]
8
2019-11-24T07:57:46.000Z
2021-05-05T07:58:29.000Z
// // Created by alex on 4/27/19. // #include <gie/Node.h> std::optional<Node> makeNode(const PythonContext& context, const std::string& name, Arguments arguments) { auto symbolId = context.getSymbolId(name); if(!symbolId) return std::nullopt; arguments.resize(context.getSymbol(*symbolId)->argum...
22.333333
104
0.586354
Kerdek
c2f6288e1724985eb2d9ed4dc4e5350fa3115709
14,977
cpp
C++
Windows/WReformatRectifyDialog.cpp
cas-nctu/multispec
0bc840bdb073b5feaeec650c2da762cfa34ee37d
[ "Apache-2.0" ]
11
2020-03-10T02:06:00.000Z
2022-02-17T19:59:50.000Z
Windows/WReformatRectifyDialog.cpp
cas-nctu/multispec
0bc840bdb073b5feaeec650c2da762cfa34ee37d
[ "Apache-2.0" ]
null
null
null
Windows/WReformatRectifyDialog.cpp
cas-nctu/multispec
0bc840bdb073b5feaeec650c2da762cfa34ee37d
[ "Apache-2.0" ]
5
2020-05-30T00:59:22.000Z
2021-12-06T01:37:05.000Z
// MultiSpec // // Copyright 1988-2020 Purdue Research Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); you may not use // this file except in compliance with the License. You may obtain a copy of the // License at: https://www.apach...
30.880412
89
0.700007
cas-nctu
c2f7051af23e47299601f57e987c6ad7ce511145
1,068
cpp
C++
libz80emu/iManager/iManager.cpp
Benji377/Z80Emu
cc0d12a267e16e1c03c7cc8ef35b70ef9b582e54
[ "Apache-2.0" ]
1
2021-05-25T08:18:14.000Z
2021-05-25T08:18:14.000Z
libz80emu/iManager/iManager.cpp
Benji377/Z80Emu
cc0d12a267e16e1c03c7cc8ef35b70ef9b582e54
[ "Apache-2.0" ]
7
2021-01-11T09:24:16.000Z
2021-05-25T16:04:19.000Z
libz80emu/iManager/iManager.cpp
Benji377/Z80Emu
cc0d12a267e16e1c03c7cc8ef35b70ef9b582e54
[ "Apache-2.0" ]
2
2021-01-19T14:53:55.000Z
2021-05-25T08:23:27.000Z
#include "iManager.h" IManager::IManager(Z80* z80){ FUN(); this->z80 = z80; this->iSet = new ISet(this->z80); } IManager::~IManager(){ FUN(); delete this->iSet; } Z80EmuInstrucion IManager::fetchIS(){ FUN(); if (this->ISLoaded){ LOGW("finalizeIS() was not called! Please call to c...
22.25
91
0.622659
Benji377
c2fa769dab75c7d73464dda82e4826a14d024651
1,056
hpp
C++
include/fingera/stream.hpp
fingera/fingera_header
fbda3515859eec269e6a67196276ac18251bdb49
[ "Apache-2.0" ]
1
2018-12-24T07:13:05.000Z
2018-12-24T07:13:05.000Z
include/fingera/stream.hpp
fingera/fingera_header
fbda3515859eec269e6a67196276ac18251bdb49
[ "Apache-2.0" ]
null
null
null
include/fingera/stream.hpp
fingera/fingera_header
fbda3515859eec269e6a67196276ac18251bdb49
[ "Apache-2.0" ]
null
null
null
/** * @brief 实现基础的Stream * * @file stream.hpp * @author liuyujun@fingera.cn * @date 2018-09-18 */ #pragma once #include <cstdint> #include <cstring> #include <stdexcept> #include <vector> namespace fingera { class write_stream { protected: std::vector<uint8_t> _data; public: write_stream() {} ~write_...
19.555556
76
0.651515
fingera
c2fc51e8440055ad9658655d6e835269a35cb5ab
45,126
cpp
C++
ExaHyPE/exahype/Parser.cpp
yungcheeze/exahype
897970ea2836132e1c221eec7bd1a717afee97ae
[ "BSD-3-Clause" ]
null
null
null
ExaHyPE/exahype/Parser.cpp
yungcheeze/exahype
897970ea2836132e1c221eec7bd1a717afee97ae
[ "BSD-3-Clause" ]
null
null
null
ExaHyPE/exahype/Parser.cpp
yungcheeze/exahype
897970ea2836132e1c221eec7bd1a717afee97ae
[ "BSD-3-Clause" ]
null
null
null
/** * This file is part of the ExaHyPE project. * Copyright (c) 2016 http://exahype.eu * All rights reserved. * * The project has received funding from the European Union's Horizon * 2020 research and innovation programme under grant agreement * No 671698. For copyrights and licensing, please consult the webpag...
36.014366
155
0.636152
yungcheeze
c2fdb03ea09747b4f3e5041388a71db3e156c7b7
1,537
hpp
C++
SDK/ARKSurvivalEvolved_PrimalItemArmor_TekPants_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_PrimalItemArmor_TekPants_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_PrimalItemArmor_TekPants_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_PrimalItemArmor_TekPants_classes.hpp" namespace sdk { //--------------------------------------------------------------------------- //Parameters //---------------------------------------------...
41.540541
173
0.50488
2bite
c2feb4e8a5fec1bde3f5acbb3603162c91e14111
4,285
cpp
C++
IvyProjects/IvyEngine/dx/DxBuffer.cpp
endy/Ivy
23d5a61d34793c74527ef803bf3693df79291539
[ "MIT" ]
null
null
null
IvyProjects/IvyEngine/dx/DxBuffer.cpp
endy/Ivy
23d5a61d34793c74527ef803bf3693df79291539
[ "MIT" ]
null
null
null
IvyProjects/IvyEngine/dx/DxBuffer.cpp
endy/Ivy
23d5a61d34793c74527ef803bf3693df79291539
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////////////////////////// /// /// Ivy Engine /// /// Copyright 2010-2011, Brandon Light /// All rights reserved. /// /////////////////////////////////////////////////////////////////////////////////////////////////// #include "DxBuff...
32.462121
99
0.365228
endy
6c0244634110a1519c681b39070a184245cf2763
860
cpp
C++
src/GameOverState.cpp
Natman64/BearAttack
77292fd38b45f3f21fdf4833ae653818f9e1cf00
[ "CC0-1.0" ]
null
null
null
src/GameOverState.cpp
Natman64/BearAttack
77292fd38b45f3f21fdf4833ae653818f9e1cf00
[ "CC0-1.0" ]
null
null
null
src/GameOverState.cpp
Natman64/BearAttack
77292fd38b45f3f21fdf4833ae653818f9e1cf00
[ "CC0-1.0" ]
null
null
null
#include "GameOverState.h" #include "GameState.h" namespace bears { GameOverState::GameOverState(Game* game, bool win) : loaded(false), game(game), win(win) { if (win) { text = "Congratulations! You killed all of the children in the name of the LORD."; } els...
20
94
0.495349
Natman64
6c02f4c6744bd49d0af1eca3640f0de7566766e8
6,513
cpp
C++
Final/TinyDatabase/main.cpp
breeswish/C_homework
c3eb54f9d9103ac71e9aedfe6bf387d6e6d699cc
[ "MIT" ]
null
null
null
Final/TinyDatabase/main.cpp
breeswish/C_homework
c3eb54f9d9103ac71e9aedfe6bf387d6e6d699cc
[ "MIT" ]
null
null
null
Final/TinyDatabase/main.cpp
breeswish/C_homework
c3eb54f9d9103ac71e9aedfe6bf387d6e6d699cc
[ "MIT" ]
null
null
null
// // main.cpp // 1352978 // // Created by Breezewish on 13-12-5. // Copyright (c) 2013年 Breezewish. All rights reserved. // #include "main.h" MyConsole console; SQL sql; /* entry */ int main(int argc, const char * argv[]) { // Attach handlers console.bind(database_handler_create_table, MyConsole::FLAG...
28.565789
118
0.550131
breeswish
6c05ae229383a9afdd34ddfa588d7993b795a4a6
60,615
cpp
C++
NE/HyperNEAT/cake_fixeddepth/cakepp.cpp
jal278/HyperNEAT
738277091ef21b2a635abf2cb7ab838e7a10b210
[ "BSD-3-Clause" ]
3
2019-12-06T19:02:27.000Z
2021-04-08T12:47:50.000Z
NE/HyperNEAT/cake_fixeddepth/cakepp.cpp
jal278/HyperNEAT
738277091ef21b2a635abf2cb7ab838e7a10b210
[ "BSD-3-Clause" ]
null
null
null
NE/HyperNEAT/cake_fixeddepth/cakepp.cpp
jal278/HyperNEAT
738277091ef21b2a635abf2cb7ab838e7a10b210
[ "BSD-3-Clause" ]
1
2019-02-28T13:48:01.000Z
2019-02-28T13:48:01.000Z
/* * cake - a checkers engine * * Copyright (C) 2000...2007 by Martin Fierz * * contact: checkers@fierz.ch */ #include "switches.h" #include <stdio.h> #include <stdlib.h> // malloc() #include <string.h> // memset() #include <time.h> #include <assert.h> #include...
25.151452
174
0.600115
jal278
6c0635c6bc402d6dddf27a65f28c4bcfcbe2d214
1,840
cpp
C++
School C++/LinkListTester/linklisttester.cpp
holtsoftware/potential-octo-wallhack
8e2165f0371522f42cb117ba83f8aea5c2a1b582
[ "Apache-2.0" ]
null
null
null
School C++/LinkListTester/linklisttester.cpp
holtsoftware/potential-octo-wallhack
8e2165f0371522f42cb117ba83f8aea5c2a1b582
[ "Apache-2.0" ]
null
null
null
School C++/LinkListTester/linklisttester.cpp
holtsoftware/potential-octo-wallhack
8e2165f0371522f42cb117ba83f8aea5c2a1b582
[ "Apache-2.0" ]
null
null
null
#include <lvector.h> #include <stdlib.h> #include <iostream.h> void main() { // char non; int i; lvector<double> testlist(2); testlist[0]=1; testlist[1]=2; cout<<"The lenght before resizeing "<<testlist.length()<<endl; testlist.resize(5); cout<<"The length of mylenght is "<<testlist.length()<<endl <<"Calculat...
26.285714
94
0.661413
holtsoftware
6c06c0cb47c2ff54d9be40cda36fe7defbdd079c
3,862
inl
C++
TAO/tao/CSD_Framework/CSD_Strategy_Base.inl
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
36
2015-01-10T07:27:33.000Z
2022-03-07T03:32:08.000Z
TAO/tao/CSD_Framework/CSD_Strategy_Base.inl
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
2
2018-08-13T07:30:51.000Z
2019-02-25T03:04:31.000Z
TAO/tao/CSD_Framework/CSD_Strategy_Base.inl
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
38
2015-01-08T14:12:06.000Z
2022-01-19T08:33:00.000Z
// -*- C++ -*- // // $Id: CSD_Strategy_Base.inl 96992 2013-04-11 18:07:48Z huangh $ #include "tao/debug.h" TAO_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE TAO::CSD::Strategy_Base::Strategy_Base() : poa_activated_(false) { } ACE_INLINE void TAO::CSD::Strategy_Base::dispatch_request (TAO_Serv...
29.037594
79
0.555671
cflowe
6c07fd18e59c76360d02d84cfc137373b53d50fb
3,128
hh
C++
modules/cadac/vehicle.hh
mlouielu/mazu-sim
fd2da3a9f7ca3ca30d3d3f4bbd6966cb68623225
[ "BSD-3-Clause" ]
1
2020-03-26T07:09:54.000Z
2020-03-26T07:09:54.000Z
modules/cadac/vehicle.hh
mlouielu/mazu-sim
fd2da3a9f7ca3ca30d3d3f4bbd6966cb68623225
[ "BSD-3-Clause" ]
null
null
null
modules/cadac/vehicle.hh
mlouielu/mazu-sim
fd2da3a9f7ca3ca30d3d3f4bbd6966cb68623225
[ "BSD-3-Clause" ]
null
null
null
#ifndef __VEHICLE_HH__ #define __VEHICLE_HH__ #include <armadillo> #include <cstdio> #include <cstdlib> #include <map> #include <string> #include <vector> #include "aux.hh" #include "cadac_constants.hh" #include "component.hh" #include "vehicle_var.hh" /********************************* TRICK HEADER *******************...
27.438596
80
0.636189
mlouielu
6c09dc1bf052e904475ee699ef6138caf8ee3a64
3,985
cpp
C++
Old/m4a_Plugin/m4aInfoManager.cpp
Harteex/Tuniac
dac98a68c1b801b7fc82874aad16cc8adcabb606
[ "BSD-3-Clause" ]
3
2022-01-05T08:47:51.000Z
2022-01-06T12:42:18.000Z
Old/m4a_Plugin/m4aInfoManager.cpp
Harteex/Tuniac
dac98a68c1b801b7fc82874aad16cc8adcabb606
[ "BSD-3-Clause" ]
null
null
null
Old/m4a_Plugin/m4aInfoManager.cpp
Harteex/Tuniac
dac98a68c1b801b7fc82874aad16cc8adcabb606
[ "BSD-3-Clause" ]
1
2022-01-06T16:12:58.000Z
2022-01-06T16:12:58.000Z
#include "stdafx.h" #include "m4ainfomanager.h" #include "mp4ff.h" #include "utils.h" static int GetAACTrack(mp4ff_t *infile) { /* find AAC track */ int i, rc; int numTracks = mp4ff_total_tracks(infile); for (i = 0; i < numTracks; i++) { unsigned char *buff = NULL; ...
20.863874
80
0.633626
Harteex
6c0c63d2bc9f00fd0c98cc6409f37e333a929049
2,282
hpp
C++
include/outputformat.hpp
nnaumenko/metafjson
6cd7fdc0d888481bead5d1cc2cff29fb41934167
[ "MIT" ]
null
null
null
include/outputformat.hpp
nnaumenko/metafjson
6cd7fdc0d888481bead5d1cc2cff29fb41934167
[ "MIT" ]
null
null
null
include/outputformat.hpp
nnaumenko/metafjson
6cd7fdc0d888481bead5d1cc2cff29fb41934167
[ "MIT" ]
null
null
null
/* * Copyright (C) 2020 Nick Naumenko (https://gitlab.com/nnaumenko, * https:://github.com/nnaumenko) * All rights reserved. * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ #ifndef OUTPUTFORMAT_HPP #define OUTPUTFORMAT_HPP #include <iostream> ...
27.166667
82
0.691937
nnaumenko
6c10fbdd2d044eb05045c14faf2bc6506da466f3
999
hpp
C++
include/RED4ext/Scripting/Natives/Generated/AI/ArgumentMapping.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
42
2020-12-25T08:33:00.000Z
2022-03-22T14:47:07.000Z
include/RED4ext/Scripting/Natives/Generated/AI/ArgumentMapping.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
38
2020-12-28T22:36:06.000Z
2022-02-16T11:25:47.000Z
include/RED4ext/Scripting/Natives/Generated/AI/ArgumentMapping.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
20
2020-12-28T22:17:38.000Z
2022-03-22T17:19:01.000Z
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/CName.hpp> #include <RED4ext/Handle.hpp> #include <RED4ext/NativeTypes.hpp> #include <RED4ext/Scripting/IScriptable.hpp> #include <RED4ext/Scripting/Natives/Generated/AI/ArgumentTy...
28.542857
74
0.742743
jackhumbert
6c116a9e2695047896718d2cee553286bfc56b7b
5,373
hpp
C++
include/HoudiniEngineUnity/HAPI_TransformEuler.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/HoudiniEngineUnity/HAPI_TransformEuler.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/HoudiniEngineUnity/HAPI_TransformEuler.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: System.ValueType #include "System/V...
47.973214
584
0.729015
RedBrumbler
6c1ba257a16f8039573499420f9f1ce9037da361
4,180
cpp
C++
src/RInput.cpp
chilingg/redopera
c76d6e88c1f7bb0c048191c0c7eca41ed38754af
[ "MIT" ]
null
null
null
src/RInput.cpp
chilingg/redopera
c76d6e88c1f7bb0c048191c0c7eca41ed38754af
[ "MIT" ]
null
null
null
src/RInput.cpp
chilingg/redopera
c76d6e88c1f7bb0c048191c0c7eca41ed38754af
[ "MIT" ]
null
null
null
#include <RInput.h> using namespace Redopera; RSignal<bool, int> RInput::joyPresented; RSignal<int> RInput::wheeled; std::unordered_map<SDL_Joystick*, RInput::Joystick> RInput::joysticks_; RInput::Key RInput::key_; RInput::Mouse RInput::mouse_; void RInput::process(const SDL_Event &e) { switch(e.type) { ...
22.352941
99
0.640909
chilingg
6c1eadea3fcb04d352063da9fd78bf881707a984
1,096
cpp
C++
Gaia/Materials/material.cpp
tim0901/Gaia
ffe17ac9deedafd577ceb35efda37e7d573eeebd
[ "MIT" ]
null
null
null
Gaia/Materials/material.cpp
tim0901/Gaia
ffe17ac9deedafd577ceb35efda37e7d573eeebd
[ "MIT" ]
null
null
null
Gaia/Materials/material.cpp
tim0901/Gaia
ffe17ac9deedafd577ceb35efda37e7d573eeebd
[ "MIT" ]
null
null
null
#include "Material.h" Vec3d Reflect(const Vec3d& inDirection, const Vec3d& normal) { return unit_vector(2.0 * dot(inDirection, normal) * normal - inDirection); } bool Refract(const Vec3d& inDirection, const Vec3d& normal, const double& eta, Vec3d& outDirection) { Vec3d inBound = -inDirection; double cosTheta_i = ...
32.235294
160
0.620438
tim0901
6c22daa66cd3050a9d6952ce63ac6a871e1b33f3
1,541
cpp
C++
src/AdventOfCode2020/Day10-AdapterArray/test_Day10-AdapterArray.cpp
dbartok/advent-of-code-cpp
c8c2df7a21980f8f3e42128f7bc5df8288f18490
[ "MIT" ]
null
null
null
src/AdventOfCode2020/Day10-AdapterArray/test_Day10-AdapterArray.cpp
dbartok/advent-of-code-cpp
c8c2df7a21980f8f3e42128f7bc5df8288f18490
[ "MIT" ]
null
null
null
src/AdventOfCode2020/Day10-AdapterArray/test_Day10-AdapterArray.cpp
dbartok/advent-of-code-cpp
c8c2df7a21980f8f3e42128f7bc5df8288f18490
[ "MIT" ]
null
null
null
#include "Day10-AdapterArray.h" #include <AdventOfCodeCommon/DisableLibraryWarningsMacros.h> __BEGIN_LIBRARIES_DISABLE_WARNINGS #include "CppUnitTest.h" __END_LIBRARIES_DISABLE_WARNINGS using namespace Microsoft::VisualStudio::CppUnitTestFramework; namespace CurrentDay = AdventOfCode::Year2020::Day10; TEST_CLASS(Da...
19.024691
109
0.5756
dbartok
6c2aff30b36928ef20331a4dee52752a14e8a654
2,123
cpp
C++
ui/src/clickandgoslider.cpp
joepadmiraal/qlcplus
ca7f083012c92eb4263bc38d957b2feda6d04185
[ "Apache-2.0" ]
2
2016-12-12T15:32:27.000Z
2021-05-18T17:55:30.000Z
ui/src/clickandgoslider.cpp
joepadmiraal/qlcplus
ca7f083012c92eb4263bc38d957b2feda6d04185
[ "Apache-2.0" ]
null
null
null
ui/src/clickandgoslider.cpp
joepadmiraal/qlcplus
ca7f083012c92eb4263bc38d957b2feda6d04185
[ "Apache-2.0" ]
null
null
null
/* Q Light Controller Plus clickandgoslider.cpp Copyright (c) Massimo Callegari Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.txt ...
28.306667
97
0.655205
joepadmiraal
6c2d3173c706cc5738410995563154f1f0f33f59
3,309
hh
C++
tests/InteractivityTest.hh
azjezz/hh-clilib
ef39116c527ac2496c985657f93af0253c9d8227
[ "MIT" ]
null
null
null
tests/InteractivityTest.hh
azjezz/hh-clilib
ef39116c527ac2496c985657f93af0253c9d8227
[ "MIT" ]
null
null
null
tests/InteractivityTest.hh
azjezz/hh-clilib
ef39116c527ac2496c985657f93af0253c9d8227
[ "MIT" ]
null
null
null
<?hh // strict /* * Copyright (c) 2017-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ namespace Facebook\CLILib; use namespace HH\Lib\{Tuple, Vec}; use function Facebook\FBExpe...
31.817308
77
0.607434
azjezz
6c2d7d15d68e2d7db306c2b41211f2523f3af904
376
cpp
C++
cpp/basic_ostream/flush/src/basic_ostream/basic_ostream.cpp
bg1bgst333/Sample
68e3a5c26c6d9bc1906ce0cca2fd586f0790fa52
[ "MIT" ]
9
2016-12-22T20:24:09.000Z
2021-05-08T08:48:24.000Z
cpp/basic_ostream/flush/src/basic_ostream/basic_ostream.cpp
bg1bgst333/Sample
68e3a5c26c6d9bc1906ce0cca2fd586f0790fa52
[ "MIT" ]
36
2018-08-16T06:43:36.000Z
2022-03-25T19:01:34.000Z
cpp/basic_ostream/flush/src/basic_ostream/basic_ostream.cpp
bg1bgst333/Sample
68e3a5c26c6d9bc1906ce0cca2fd586f0790fa52
[ "MIT" ]
9
2016-09-03T02:57:31.000Z
2021-09-09T02:42:26.000Z
// ヘッダのインクルード #include <iostream> // 標準入出力 #include <unistd.h> // UNIX標準 // main関数 int main(){ // 1つ目の文字列を出力. std::cout << "str1"; // 出力演算子で"str1"を出力. // いったんフラッシュ. std::cout.flush(); // std::cout.flushでバッファをいったんフラッシュ. // 5秒スリープ sleep(5); // sleepで5秒待つ. // 2つ目の文字列を出力. std::cout << "str2"; // 出力演算子で...
15.666667
55
0.598404
bg1bgst333
6c2dc58807c94de92bd759e97ce4538a3ea3201a
4,560
cpp
C++
java projects/jtop/jtopas/versions.alt/seeded/v3/src/de/susebox/jtopas/TokenizerProperty.cpp
NazaninBayati/SMBFL
999c4bca166a32571e9f0b1ad99085a5d48550eb
[ "MIT" ]
3
2019-08-31T06:18:29.000Z
2020-09-07T12:36:38.000Z
java projects/jtop/jtopas/versions.alt/seeded/v3/src/de/susebox/jtopas/TokenizerProperty.cpp
NazaninBayati/SMBFL
999c4bca166a32571e9f0b1ad99085a5d48550eb
[ "MIT" ]
null
null
null
java projects/jtop/jtopas/versions.alt/seeded/v3/src/de/susebox/jtopas/TokenizerProperty.cpp
NazaninBayati/SMBFL
999c4bca166a32571e9f0b1ad99085a5d48550eb
[ "MIT" ]
null
null
null
package de.susebox.jtopas; public class TokenizerProperty { public static final byte PARSE_FLAG_MASK = 127; public void setType(int type) { _type = type; } public int getType() { return _type; } public void setFlags(i...
17.674419
95
0.540351
NazaninBayati
6c2ed407d7aa95953c9a231d34a2db3a1124f03c
1,062
cpp
C++
Source/wali/lib/witness/WitnessTrans.cpp
jusito/WALi-OpenNWA
2bb4aca02c5a5d444fd038e8aa3eecd7d1ccbb99
[ "MIT" ]
15
2015-03-07T17:25:57.000Z
2022-02-04T20:17:00.000Z
Source/wali/lib/witness/WitnessTrans.cpp
jusito/WALi-OpenNWA
2bb4aca02c5a5d444fd038e8aa3eecd7d1ccbb99
[ "MIT" ]
1
2018-03-03T05:58:55.000Z
2018-03-03T12:26:10.000Z
Source/wali/lib/witness/WitnessTrans.cpp
jusito/WALi-OpenNWA
2bb4aca02c5a5d444fd038e8aa3eecd7d1ccbb99
[ "MIT" ]
15
2015-09-25T17:44:35.000Z
2021-07-18T18:25:38.000Z
/*! * @author Nicholas Kidd */ #include "wali/Common.hpp" #include "wali/witness/WitnessTrans.hpp" #include "wali/witness/Visitor.hpp" namespace wali { namespace witness { WitnessTrans::WitnessTrans( const wfa::ITrans& t_ ) : Witness(t_.weight()),t(t_) { min_length = 0UL; } // Destructor ...
18.310345
84
0.585687
jusito
6c2f2499b2fd88095195371e9bcdf6882f99527d
7,784
cpp
C++
IslandGame/src/islandgame/IslandGame.cpp
haferflocken/ConductorEngine
4914e419e5a736275e96d76eaa19b7aa56d69345
[ "Zlib", "BSD-2-Clause" ]
null
null
null
IslandGame/src/islandgame/IslandGame.cpp
haferflocken/ConductorEngine
4914e419e5a736275e96d76eaa19b7aa56d69345
[ "Zlib", "BSD-2-Clause" ]
null
null
null
IslandGame/src/islandgame/IslandGame.cpp
haferflocken/ConductorEngine
4914e419e5a736275e96d76eaa19b7aa56d69345
[ "Zlib", "BSD-2-Clause" ]
null
null
null
#include <islandgame/IslandGameData.h> #include <islandgame/client/IslandGameClient.h> #include <islandgame/host/IslandGameHost.h> #include <asset/AssetManager.h> #include <collection/LocklessQueue.h> #include <collection/ProgramParameters.h> #include <file/Path.h> #include <client/ClientWorld.h> #include <client/...
34.90583
120
0.778905
haferflocken
6c3158db09db4f1b13e698d4319e52778fd0ff18
168
cpp
C++
pointer/pointer.cpp
riti2409/forplacements
9e8fb99c9d65b04eea71abb3fbdcffc2a1433a04
[ "MIT" ]
5
2021-12-03T14:29:16.000Z
2022-02-04T09:06:37.000Z
pointer/pointer.cpp
riti2409/forplacements
9e8fb99c9d65b04eea71abb3fbdcffc2a1433a04
[ "MIT" ]
null
null
null
pointer/pointer.cpp
riti2409/forplacements
9e8fb99c9d65b04eea71abb3fbdcffc2a1433a04
[ "MIT" ]
2
2022-01-16T14:20:42.000Z
2022-01-17T06:49:01.000Z
#include<bits/stdc++.h> using namespace std; int main(){ int a=10; int*aptr=&a; cout<<*aptr<<endl; *aptr=20; cout<<a<<endl; return 0; }
16.8
24
0.52381
riti2409
6c337e63a2ee954d66c3cf70f2f77467a5426c5c
3,638
hh
C++
RAVL2/OS/Time/DeadLineTimer.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/OS/Time/DeadLineTimer.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/OS/Time/DeadLineTimer.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
// This file is part of RAVL, Recognition And Vision Library // Copyright (C) 2001, University of Surrey // This code may be redistributed under the terms of the GNU Lesser // General Public License (LGPL). See the lgpl.licence file for details or // see http://www.gnu.org/copyleft/lesser.html // file-header-ends-here...
31.094017
74
0.642111
isuhao
6c340e988a3b12e8e248e7116664cb6a43a8cc86
6,097
cpp
C++
aws-cpp-sdk-lightsail/source/model/HeaderEnum.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-lightsail/source/model/HeaderEnum.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-lightsail/source/model/HeaderEnum.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2022-03-23T15:17:18.000Z
2022-03-23T15:17:18.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/lightsail/model/HeaderEnum.h> #include <aws/core/utils/HashingUtils.h> #include <aws/core/Globals.h> #include <aws/core/utils/EnumParseOverflowContainer.h> using namespace Aws::Utils; ...
37.635802
118
0.625718
Neusoft-Technology-Solutions
6c35890eb8b6665681eca7f26fc9dbe77170ab05
915
cpp
C++
aten/src/ATen/core/TorchDispatchModeTLS.cpp
stungkit/pytorch
0f05e398705bf15406bce79f7ee57d3935ad2abd
[ "Intel" ]
2
2020-03-13T06:57:49.000Z
2020-05-17T04:18:14.000Z
aten/src/ATen/core/TorchDispatchModeTLS.cpp
stungkit/pytorch
0f05e398705bf15406bce79f7ee57d3935ad2abd
[ "Intel" ]
1
2022-01-10T18:39:28.000Z
2022-01-10T19:15:57.000Z
aten/src/ATen/core/TorchDispatchModeTLS.cpp
stungkit/pytorch
0f05e398705bf15406bce79f7ee57d3935ad2abd
[ "Intel" ]
1
2022-03-26T14:42:50.000Z
2022-03-26T14:42:50.000Z
#include <ATen/core/TorchDispatchModeTLS.h> #include <c10/core/SafePyObject.h> namespace at { namespace impl { thread_local std::shared_ptr<SafePyObject> torchDispatchModeState; void TorchDispatchModeTLS::set_state(std::shared_ptr<SafePyObject> state) { if (state) { c10::impl::tls_set_dispatch_key_included(Dis...
30.5
83
0.775956
stungkit
6c3737314783146e7753ae1448cb9a717c131d45
777
cpp
C++
y2018/filters/houghCircles.cpp
valkyrierobotics/vision2018
aa82e936c5481b7cc43a46ff5f6e68702c2166c2
[ "BSD-2-Clause" ]
2
2016-08-06T06:21:02.000Z
2017-01-10T05:45:13.000Z
y2018/filters/houghCircles.cpp
valkyrierobotics/vision2018
aa82e936c5481b7cc43a46ff5f6e68702c2166c2
[ "BSD-2-Clause" ]
1
2017-04-15T20:54:59.000Z
2017-04-15T20:54:59.000Z
y2018/filters/houghCircles.cpp
valkyrierobotics/vision2018
aa82e936c5481b7cc43a46ff5f6e68702c2166c2
[ "BSD-2-Clause" ]
3
2016-07-30T06:19:55.000Z
2017-02-07T01:55:05.000Z
#include "filters/houghCircles.hpp" void houghCircles(cv::Mat& img, int minDist, int minRadius, int maxRadius) { std::vector<cv::Vec3f> circles; cv::cvtColor(img, img, CV_BGR2GRAY); // cv::HoughCircles calls cv::Canny internally cv::HoughCircles(img, circles, CV_HOUGH_GRADIENT, 2, minDist, maxRadius, mi...
35.318182
86
0.616474
valkyrierobotics
6c3d612cdd2ddb7df5e4e2c665be8e45cc0d2d0a
21,619
cc
C++
src/test/libradosstriper/aio.cc
rpratap-bot/ceph
9834961a66927ae856935591f2fd51082e2ee484
[ "MIT" ]
4
2020-04-08T03:42:02.000Z
2020-10-01T20:34:48.000Z
src/test/libradosstriper/aio.cc
rpratap-bot/ceph
9834961a66927ae856935591f2fd51082e2ee484
[ "MIT" ]
93
2020-03-26T14:29:14.000Z
2020-11-12T05:54:55.000Z
src/test/libradosstriper/aio.cc
rpratap-bot/ceph
9834961a66927ae856935591f2fd51082e2ee484
[ "MIT" ]
23
2020-03-24T10:28:44.000Z
2020-09-24T09:42:19.000Z
#include "include/rados/librados.h" #include "include/rados/librados.hpp" #include "include/radosstriper/libradosstriper.h" #include "include/radosstriper/libradosstriper.hpp" #include "test/librados/test.h" #include "test/libradosstriper/TestCase.h" #include <boost/scoped_ptr.hpp> #include <fcntl.h> #include <semapho...
34.982201
112
0.736251
rpratap-bot
6c3ef40794a4151be768318ac2f28bfc81321042
1,259
cpp
C++
src/platform/vulkan/descriptor_set_layout.cpp
PedroSFreire/LiftPR.Version
61e8e135335e3c4def80f345548620db95f1662d
[ "BSD-3-Clause" ]
30
2019-07-24T09:58:22.000Z
2021-09-03T08:20:22.000Z
src/platform/vulkan/descriptor_set_layout.cpp
PedroSFreire/LiftPR.Version
61e8e135335e3c4def80f345548620db95f1662d
[ "BSD-3-Clause" ]
15
2020-06-20T13:20:50.000Z
2021-04-26T16:05:33.000Z
src/platform/vulkan/descriptor_set_layout.cpp
PedroSFreire/LiftPR.Version
61e8e135335e3c4def80f345548620db95f1662d
[ "BSD-3-Clause" ]
5
2020-06-17T08:38:34.000Z
2021-09-08T22:14:02.000Z
#include "descriptor_set_layout.h" #include "device.h" namespace vulkan { DescriptorSetLayout::DescriptorSetLayout(const Device& device, const std::vector<DescriptorBinding>& descriptor_bindings) : device_(device) { std::vector<VkDescriptorSetLayoutBinding> layout_bind...
33.131579
101
0.69579
PedroSFreire
6c45a4713441b34549eb3b35a4cca840641e279f
1,700
cpp
C++
Source/StealthyAssessment/EnemyPatrolAIController.cpp
Zero-One101/StealthyAssessment
db79768bc13cfdf0cf282ca391366b087595ef61
[ "MIT" ]
null
null
null
Source/StealthyAssessment/EnemyPatrolAIController.cpp
Zero-One101/StealthyAssessment
db79768bc13cfdf0cf282ca391366b087595ef61
[ "MIT" ]
null
null
null
Source/StealthyAssessment/EnemyPatrolAIController.cpp
Zero-One101/StealthyAssessment
db79768bc13cfdf0cf282ca391366b087595ef61
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "StealthyAssessment.h" #include "EnemyPatrol.h" #include "Runtime/Engine/Classes/Components/SkeletalMeshComponent.h" #include "EnemyPatrolAIController.h" AEnemyPatrolAIController::AEnemyPatrolAIController(const class FObjectInitia...
27.868852
128
0.768235
Zero-One101
6c49f80670b81396fae894b8de0907946e9209a6
3,267
cpp
C++
Mendel's First Law.cpp
RonitPrasad1/Project_Rosalind-
59c59f6820b858f0dc08d62b2629a608d477ddb2
[ "MIT" ]
1
2022-03-22T22:33:14.000Z
2022-03-22T22:33:14.000Z
Mendel's First Law.cpp
RonitPrasad1/Project_Rosalind-
59c59f6820b858f0dc08d62b2629a608d477ddb2
[ "MIT" ]
null
null
null
Mendel's First Law.cpp
RonitPrasad1/Project_Rosalind-
59c59f6820b858f0dc08d62b2629a608d477ddb2
[ "MIT" ]
null
null
null
//Mendel's First Law: Not checked #include <iostream> #include <string> auto main(int argc, const char* argv[]) -> decltype ( 0 ) { std::cout << "Sample Dataset: " << '\n'; std::string RNA; std::cin >> RNA; int RNALength = RNA.size(); for (int64_t i = 0; i < RNALength; ++i) ...
27.453782
92
0.289562
RonitPrasad1
6c4b5bbbe92433b8713488fec3f06cc8ca180722
2,938
cpp
C++
src/AddOns/GUI 020201/Family.cpp
clasqm/Squirrel99
09fb4cf9c26433b5bc1915dee1b31178222d9e81
[ "MIT" ]
2
2019-01-26T14:35:33.000Z
2020-03-31T10:39:39.000Z
src/AddOns/GUI 020201/Family.cpp
clasqm/Squirrel99
09fb4cf9c26433b5bc1915dee1b31178222d9e81
[ "MIT" ]
1
2018-12-12T17:04:17.000Z
2018-12-12T17:04:17.000Z
src/AddOns/GUI 020201/Family.cpp
clasqm/Squirrel99
09fb4cf9c26433b5bc1915dee1b31178222d9e81
[ "MIT" ]
1
2020-10-26T08:56:12.000Z
2020-10-26T08:56:12.000Z
/* * Squirrel project * * file ? Family.cpp * what ? Store all the font family & style * who ? jlv * when ? 11/21/99 * last ? 11/21/99 * * * (c) electron Technology 1999 */ #include "SQI-AddOn.h" #include "Family.h" typedef map<string,SQI_List *,less<string> > FFamilies; FFamilies Families; // global m...
17.282353
68
0.599387
clasqm
6c4d78ad738a07be087994f21a2be1c65d249b07
19,653
hpp
C++
libs/core/src/main/cpp/neurodidactic/core/arrays/detail/MdArrayCommon.hpp
tomault/neurodidactic
c2641d65ebe191667f945817227319f48388c55b
[ "Apache-2.0" ]
null
null
null
libs/core/src/main/cpp/neurodidactic/core/arrays/detail/MdArrayCommon.hpp
tomault/neurodidactic
c2641d65ebe191667f945817227319f48388c55b
[ "Apache-2.0" ]
null
null
null
libs/core/src/main/cpp/neurodidactic/core/arrays/detail/MdArrayCommon.hpp
tomault/neurodidactic
c2641d65ebe191667f945817227319f48388c55b
[ "Apache-2.0" ]
null
null
null
#ifndef __NEURODIDACTIC__CORE__ARRAYS__DETAIL__MDARRAYCOMMON_HPP__ #define __NEURODIDACTIC__CORE__ARRAYS__DETAIL__MDARRAYCOMMON_HPP__ #include <neurodidactic/core/arrays/DimensionList.hpp> #include <neurodidactic/core/arrays/AnyMdArray.hpp> #include <neurodidactic/core/arrays/detail/MklAdapter.hpp> #include <pistis/ex...
32.646179
76
0.630235
tomault
6c512fe4376cea6471f0a497a0d39039b8606b8d
6,256
cpp
C++
Engine/ModuleResource.cpp
Beautiful-Engines/Engine
fab1b2415d63218078cc6f2b2a33676e9ef45543
[ "MIT" ]
null
null
null
Engine/ModuleResource.cpp
Beautiful-Engines/Engine
fab1b2415d63218078cc6f2b2a33676e9ef45543
[ "MIT" ]
null
null
null
Engine/ModuleResource.cpp
Beautiful-Engines/Engine
fab1b2415d63218078cc6f2b2a33676e9ef45543
[ "MIT" ]
null
null
null
#include "Application.h" #include "ModuleFileSystem.h" #include "ModuleImport.h" #include "ModuleResource.h" #include "ModuleScene.h" #include "ImportMesh.h" #include "ResourceMesh.h" #include "ImportTexture.h" #include "ResourceTexture.h" #include "ImportModel.h" #include "ResourceModel.h" #include "ImportAnimation.h"...
26.621277
147
0.69773
Beautiful-Engines
6c5800eafdeba2139ef403adc4b7835b9c6a2a46
26,336
cc
C++
google/cloud/channel/internal/cloud_channel_stub.cc
GoogleCloudPlatform/google-cloud-cpp
c4fc35de9e15f95b1dbf585f1c96de5dba609e2b
[ "Apache-2.0" ]
80
2017-11-24T00:19:45.000Z
2019-01-25T10:24:33.000Z
google/cloud/channel/internal/cloud_channel_stub.cc
GoogleCloudPlatform/google-cloud-cpp
c4fc35de9e15f95b1dbf585f1c96de5dba609e2b
[ "Apache-2.0" ]
1,579
2017-11-24T01:01:21.000Z
2019-01-28T23:41:21.000Z
google/cloud/channel/internal/cloud_channel_stub.cc
GoogleCloudPlatform/google-cloud-cpp
c4fc35de9e15f95b1dbf585f1c96de5dba609e2b
[ "Apache-2.0" ]
51
2017-11-24T00:56:11.000Z
2019-01-18T20:35:02.000Z
// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
39.016296
80
0.730977
GoogleCloudPlatform
6c5eb48d870b5a346b660c506c4be01414158af2
923
cpp
C++
GL/ShootingGame/Circle.cpp
KoreanGinseng/CreativeLabo4
a7c03ad2cea958be1509cd0c09581b1f4fc81275
[ "MIT" ]
null
null
null
GL/ShootingGame/Circle.cpp
KoreanGinseng/CreativeLabo4
a7c03ad2cea958be1509cd0c09581b1f4fc81275
[ "MIT" ]
null
null
null
GL/ShootingGame/Circle.cpp
KoreanGinseng/CreativeLabo4
a7c03ad2cea958be1509cd0c09581b1f4fc81275
[ "MIT" ]
null
null
null
#include "Circle.h" Circle::Circle() : x_(0.0f) , y_(0.0f) , r_(0.0f) { } Circle::Circle(float r) : x_(0.0f) , y_(0.0f) , r_(r) { } Circle::Circle(float x, float y, float r) : x_(x) , y_(y) , r_(r) { } Circle::~Circle() { } bool Circle::CollisionPoint(float x, float y) const {...
22.512195
72
0.592633
KoreanGinseng
4842baec0e2e73ef3a1cb88c9df2b3ea3b356420
11,422
cpp
C++
AmbientGsm.cpp
mnltake/ambient_gpstracker_LTE
57d28327e4f47cc82ddff80796b3686ffd6a0014
[ "MIT" ]
null
null
null
AmbientGsm.cpp
mnltake/ambient_gpstracker_LTE
57d28327e4f47cc82ddff80796b3686ffd6a0014
[ "MIT" ]
null
null
null
AmbientGsm.cpp
mnltake/ambient_gpstracker_LTE
57d28327e4f47cc82ddff80796b3686ffd6a0014
[ "MIT" ]
null
null
null
/* * ambient.cpp - Library for sending data to Ambient * Created by Takehiko Shimojima, April 21, 2016 * change by mnltake ,2022 */ #include "AmbientGsm.h" #define AMBIENT_DEBUG 0 #if AMBIENT_DEBUG #define DBG(...) { Serial.print(__VA_ARGS__); } #define ERR(...) { Serial.print(__VA_ARGS__); } #else #define DBG(.....
25.667416
181
0.548941
mnltake
4842c77d1d750453454405dd78d347cea6c68375
7,954
hpp
C++
include/mtx/responses/crypto.hpp
govynnus/mtxclient
3888ae70d51cdfe7b69d375560448f36991793e6
[ "MIT" ]
18
2019-03-11T20:23:53.000Z
2022-02-25T20:55:27.000Z
include/mtx/responses/crypto.hpp
govynnus/mtxclient
3888ae70d51cdfe7b69d375560448f36991793e6
[ "MIT" ]
55
2019-02-07T01:21:03.000Z
2022-03-06T15:42:34.000Z
include/mtx/responses/crypto.hpp
govynnus/mtxclient
3888ae70d51cdfe7b69d375560448f36991793e6
[ "MIT" ]
22
2019-02-24T17:28:31.000Z
2022-03-10T22:40:22.000Z
#pragma once /// @file /// @brief E2EE related endpoints. #if __has_include(<nlohmann/json_fwd.hpp>) #include <nlohmann/json_fwd.hpp> #else #include <nlohmann/json.hpp> #endif #include "mtx/common.hpp" #include "mtx/lightweight_error.hpp" #include <map> #include <string> namespace mtx { namespace responses { //! R...
37.518868
96
0.729444
govynnus
48441cd0555c543fe874f8f754f553d2736764db
1,290
hpp
C++
src/lib/storage/vector_compression/bitpacking/bitpacking_vector.hpp
mrcl-tst/hyrise
eec50b39de9f530b0a1732ceb5822b7222f3fe17
[ "MIT" ]
583
2015-01-10T00:55:32.000Z
2022-03-25T12:24:30.000Z
src/lib/storage/vector_compression/bitpacking/bitpacking_vector.hpp
mrcl-tst/hyrise
eec50b39de9f530b0a1732ceb5822b7222f3fe17
[ "MIT" ]
1,573
2015-01-07T15:47:22.000Z
2022-03-31T11:48:03.000Z
src/lib/storage/vector_compression/bitpacking/bitpacking_vector.hpp
mrcl-tst/hyrise
eec50b39de9f530b0a1732ceb5822b7222f3fe17
[ "MIT" ]
145
2015-03-09T16:26:07.000Z
2022-02-15T12:53:23.000Z
#pragma once #include "bitpacking_decompressor.hpp" #include "bitpacking_iterator.hpp" #include "bitpacking_vector_type.hpp" #include "compact_vector.hpp" #include "storage/vector_compression/base_compressed_vector.hpp" namespace opossum { /** * @brief Bit-packed vector with fixed bit length * * Bit-packed Null S...
30.714286
119
0.795349
mrcl-tst
484652da790a2aeceeec1f214398ed833e61f004
4,716
cpp
C++
tests/minimongo.cpp
almightycouch/meteorpp
e8af587c88902fb79820317a6d579ace43d883b1
[ "MIT" ]
24
2015-10-25T11:34:02.000Z
2018-09-10T17:10:52.000Z
tests/minimongo.cpp
almightycouch/meteorpp
e8af587c88902fb79820317a6d579ace43d883b1
[ "MIT" ]
3
2018-08-05T14:01:43.000Z
2019-02-15T14:44:42.000Z
tests/minimongo.cpp
almightycouch/meteorpp
e8af587c88902fb79820317a6d579ace43d883b1
[ "MIT" ]
9
2016-05-09T13:56:58.000Z
2021-11-01T23:53:38.000Z
#include <set> #include <meteorpp/collection.hpp> #include <boost/test/unit_test.hpp> struct fixture { fixture() : coll(std::make_shared<meteorpp::collection>("test")) {} std::shared_ptr<meteorpp::collection> coll; }; BOOST_AUTO_TEST_CASE(create_collection) { BOOST_CHECK_NO_THROW(std::make_shared<meteorp...
30.425806
98
0.626166
almightycouch
48499516798e6e901a3953c47941556f8d7ab2c8
6,269
hpp
C++
tests/unit/coherence/run/xml/XmlTokenTest.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-01T21:38:30.000Z
2021-11-03T01:35:11.000Z
tests/unit/coherence/run/xml/XmlTokenTest.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
1
2020-07-24T17:29:22.000Z
2020-07-24T18:29:04.000Z
tests/unit/coherence/run/xml/XmlTokenTest.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-10T18:40:58.000Z
2022-02-18T01:23:40.000Z
/* * Copyright (c) 2000, 2020, Oracle and/or its affiliates. * * Licensed under the Universal Permissive License v 1.0 as shown at * http://oss.oracle.com/licenses/upl. */ #include "cxxtest/TestSuite.h" #include "coherence/lang.ns" #include "private/coherence/run/xml/XmlToken.hpp" #include <stdio.h> using namesp...
36.236994
194
0.624502
chpatel3
4849f31b0b403e5bcc426ebb76afa2f6d6cdfd21
1,980
cpp
C++
Stocks/UrlDownloader.cpp
caicaiking/AbamaAnalysis
d3d370e59c7049be36e06da61e1a315ba58d049d
[ "MIT" ]
null
null
null
Stocks/UrlDownloader.cpp
caicaiking/AbamaAnalysis
d3d370e59c7049be36e06da61e1a315ba58d049d
[ "MIT" ]
null
null
null
Stocks/UrlDownloader.cpp
caicaiking/AbamaAnalysis
d3d370e59c7049be36e06da61e1a315ba58d049d
[ "MIT" ]
null
null
null
#include "UrlDownloader.h" #include <QNetworkReply> namespace { inline int _calculateProgress(qint64 bytesReceived, qint64 bytesTotal) { if (!bytesTotal) return 0; if (bytesTotal == -1) return -1; return (bytesReceived * 100) / bytesTotal; } } //////////...
22
116
0.581818
caicaiking
484c7085cea5c8a7255c3081659fbb1693c448f5
5,739
cpp
C++
src/main.cpp
attaoveisi/pseudo_particle_filter
0bcb66b92661c0cd8fdf12db5a57d6f3df1a7940
[ "MIT" ]
1
2021-01-10T10:52:13.000Z
2021-01-10T10:52:13.000Z
src/main.cpp
attaoveisi/pseudo_particle_filter
0bcb66b92661c0cd8fdf12db5a57d6f3df1a7940
[ "MIT" ]
null
null
null
src/main.cpp
attaoveisi/pseudo_particle_filter
0bcb66b92661c0cd8fdf12db5a57d6f3df1a7940
[ "MIT" ]
null
null
null
#include "Base.h" #include "Robot.h" #include "Map.h" #include <matplot/matplot.h> void visualization(int n, Robot robot, int step, std::vector<Robot> p, std::vector<Robot> pr, int num_landmarks) { //Draw the robot, landmarks, particles and resampled particles on a graph matplot::figure(1); //Graph Format ...
33.758824
153
0.488935
attaoveisi
484e9dc8ca5f0efc2867c7a0f00708fa4ff331f0
2,846
cpp
C++
board/board.cpp
maxious/mbed-rak811-ttnmapper
65e336bbbb4dac15a7f9d7fb89f1ee84f0fbebae
[ "Apache-2.0" ]
null
null
null
board/board.cpp
maxious/mbed-rak811-ttnmapper
65e336bbbb4dac15a7f9d7fb89f1ee84f0fbebae
[ "Apache-2.0" ]
null
null
null
board/board.cpp
maxious/mbed-rak811-ttnmapper
65e336bbbb4dac15a7f9d7fb89f1ee84f0fbebae
[ "Apache-2.0" ]
null
null
null
/* / _____) _ | | ( (____ _____ ____ _| |_ _____ ____| |__ \____ \| ___ | (_ _) ___ |/ ___) _ \ _____) ) ____| | | || |_| ____( (___| | | | (______/|_____)_|_|_| \__)_____)\____)_| |_| (C)2015 Semtech Description: Target board general functions implementation License: Revised B...
22.409449
85
0.556219
maxious
484ffbfe261670a5eea4eeaba9d84f2fc5848b26
1,544
cpp
C++
sg/scene/transfer_function/Sequential.cpp
ebachard/ospray_studio
78928c93b482f9f95aa300c8f58c728dadedbe2f
[ "Apache-2.0" ]
52
2018-10-09T23:56:32.000Z
2022-03-25T09:27:40.000Z
sg/scene/transfer_function/Sequential.cpp
ebachard/ospray_studio
78928c93b482f9f95aa300c8f58c728dadedbe2f
[ "Apache-2.0" ]
11
2018-11-19T18:51:47.000Z
2022-03-28T14:03:57.000Z
sg/scene/transfer_function/Sequential.cpp
ebachard/ospray_studio
78928c93b482f9f95aa300c8f58c728dadedbe2f
[ "Apache-2.0" ]
8
2019-02-10T00:16:24.000Z
2022-02-17T19:50:15.000Z
// Copyright 2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 #include "TransferFunction.h" namespace ospray { namespace sg { // Turbo ///////////////////////////////////////////////////////////////////// struct OSPSG_INTERFACE Turbo : public TransferFunction { Turbo(); virtual ~Turbo() override = ...
24.903226
78
0.658031
ebachard
48564be537c1b63c5f073e76ca0842d5adbc3a67
26,442
cpp
C++
libbiokanga/NeedlemanWunsch.cpp
rsuchecki/biokanga
ef0fa1cf58fb2903ae18d14e5b0f84de7b7e744e
[ "MIT" ]
null
null
null
libbiokanga/NeedlemanWunsch.cpp
rsuchecki/biokanga
ef0fa1cf58fb2903ae18d14e5b0f84de7b7e744e
[ "MIT" ]
null
null
null
libbiokanga/NeedlemanWunsch.cpp
rsuchecki/biokanga
ef0fa1cf58fb2903ae18d14e5b0f84de7b7e744e
[ "MIT" ]
null
null
null
/* * CSIRO Open Source Software License Agreement (GPLv3) * Copyright (c) 2017, Commonwealth Scientific and Industrial Research Organisation (CSIRO) ABN 41 687 119 230. * See LICENSE for the complete license information (https://github.com/csiro-crop-informatics/biokanga/LICENSE) * Contact: Alex Whan <alex.whan...
31.516091
154
0.699115
rsuchecki
48565b4701e322be364081f515a1ecdd9a93f66f
14,757
cpp
C++
src/main.cpp
JamesBremner/pack2
b6156f5621206d9836a8d52172641a94fa52df13
[ "BSD-2-Clause" ]
2
2020-03-17T00:46:50.000Z
2020-04-13T21:22:10.000Z
src/main.cpp
JamesBremner/pack2
b6156f5621206d9836a8d52172641a94fa52df13
[ "BSD-2-Clause" ]
null
null
null
src/main.cpp
JamesBremner/pack2
b6156f5621206d9836a8d52172641a94fa52df13
[ "BSD-2-Clause" ]
null
null
null
#include <iostream> #include <sstream> #include <memory> #include <vector> #include <algorithm> #include <cutest.h> using namespace std; #include "pack2.h" TEST( CutList ) { pack2::cPackEngine E; E.add( pack2::bin_t( new pack2::cBin( "Bin1", 100, 100 )) ); E.addItem( "Item1", 20, 20 ); E.addItem( "It...
30.616183
84
0.581622
JamesBremner
485919b437fcc604bf1bcb5236837e824e733247
967
cpp
C++
src/source/SMARTEN.cpp
ManuelMcLure/TMCStepper
c425c40f0adfa24c1c21ce7d6428bcffc2c921ae
[ "MIT" ]
336
2018-03-26T13:51:46.000Z
2022-03-21T21:58:47.000Z
src/source/SMARTEN.cpp
ManuelMcLure/TMCStepper
c425c40f0adfa24c1c21ce7d6428bcffc2c921ae
[ "MIT" ]
218
2017-07-28T06:13:53.000Z
2022-03-26T16:41:21.000Z
src/source/SMARTEN.cpp
ManuelMcLure/TMCStepper
c425c40f0adfa24c1c21ce7d6428bcffc2c921ae
[ "MIT" ]
176
2018-09-11T22:16:27.000Z
2022-03-26T13:04:03.000Z
#include "TMCStepper.h" #include "TMC_MACROS.h" #define SET_REG(SETTING) SMARTEN_register.SETTING = B; write(SMARTEN_register.address, SMARTEN_register.sr) #define GET_REG(SETTING) return SMARTEN_register.SETTING uint32_t TMC2660Stepper::SMARTEN() { return SMARTEN_register.sr; } void TMC2660Stepper::SMARTEN(uint32_t ...
40.291667
107
0.752844
ManuelMcLure
4860c1ffbb99f39d02be1e4d1e1eaface023bf3a
22,455
cc
C++
tests/mps_statespace_test.cc
cognigami/qsim
e18c2f4dc3d1fd7edda696c78ed39708942b47e7
[ "Apache-2.0" ]
280
2020-03-04T18:30:16.000Z
2022-03-24T15:30:50.000Z
tests/mps_statespace_test.cc
cognigami/qsim
e18c2f4dc3d1fd7edda696c78ed39708942b47e7
[ "Apache-2.0" ]
274
2020-03-07T21:10:52.000Z
2022-03-30T19:45:48.000Z
tests/mps_statespace_test.cc
cognigami/qsim
e18c2f4dc3d1fd7edda696c78ed39708942b47e7
[ "Apache-2.0" ]
91
2020-03-06T18:58:55.000Z
2022-03-23T13:32:14.000Z
// Copyright 2019 Google LLC. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicabl...
37.613065
75
0.655578
cognigami
486245bb7432d5c5d0c5faac89fc61d2babfb35a
20,065
cpp
C++
src/histogram.cpp
tylern4/clas12_elastic
b2630541b1b255a3138a191e61d9a705e25fcef9
[ "MIT" ]
null
null
null
src/histogram.cpp
tylern4/clas12_elastic
b2630541b1b255a3138a191e61d9a705e25fcef9
[ "MIT" ]
null
null
null
src/histogram.cpp
tylern4/clas12_elastic
b2630541b1b255a3138a191e61d9a705e25fcef9
[ "MIT" ]
1
2019-12-17T16:35:30.000Z
2019-12-17T16:35:30.000Z
/**************************************/ /* */ /* Created by Nick Tyler */ /* University Of South Carolina */ /**************************************/ #include "histogram.hpp" Histogram::Histogram(const std::string& output_file) { RootOutputFile = std::make_shared<TFile>(output_fil...
44.293598
120
0.611313
tylern4
48643ecb23db6c91908494cc2de207bb205c2929
24,199
cpp
C++
src/ibp/widgets/curves.cpp
deiflou/ibp
9728f7569b59aa261dcaffc8332a1b02c2cd5fbe
[ "MIT" ]
6
2015-05-07T18:44:34.000Z
2018-12-12T15:57:40.000Z
src/ibp/widgets/curves.cpp
deiflou/ibp
9728f7569b59aa261dcaffc8332a1b02c2cd5fbe
[ "MIT" ]
null
null
null
src/ibp/widgets/curves.cpp
deiflou/ibp
9728f7569b59aa261dcaffc8332a1b02c2cd5fbe
[ "MIT" ]
2
2021-03-22T10:01:32.000Z
2021-12-20T05:23:46.000Z
// // MIT License // // Copyright (c) Deif Lou // // 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, me...
33.377931
117
0.621637
deiflou
4864485476c26ac53ed64956481d56ab5bea8033
394
hh
C++
src/scorer/scorer.hh
RafaelOstertag/tetris
ea1abfecdd3f8183331853708291c9943453a962
[ "BSD-2-Clause" ]
1
2020-01-02T19:31:58.000Z
2020-01-02T19:31:58.000Z
src/scorer/scorer.hh
RafaelOstertag/tetris
ea1abfecdd3f8183331853708291c9943453a962
[ "BSD-2-Clause" ]
null
null
null
src/scorer/scorer.hh
RafaelOstertag/tetris
ea1abfecdd3f8183331853708291c9943453a962
[ "BSD-2-Clause" ]
null
null
null
#ifndef __SCORER_HH #define __SCORER_HH #include <memory> class Scorer { public: using score_t = unsigned int; using level_t = unsigned int; virtual ~Scorer() = default; virtual void scoreLinesRemoved(unsigned int numberOfLines) = 0; virtual score_t getScore() const = 0; virtual level_t get...
19.7
67
0.703046
RafaelOstertag
4866834de98647a54e76f36e535cfbaa5a96f583
1,242
cpp
C++
Software/STM32CubeDemo/RotaryEncoderWithDisplay/TouchGFX/generated/fonts/src/Kerning_verdana_22_4bpp.cpp
MitkoDyakov/RED
3bacb4df47867bbbf23c3c02d0ea1f8faa8d5779
[ "MIT" ]
15
2021-09-21T13:55:54.000Z
2022-03-08T14:05:39.000Z
Software/STM32CubeDemo/RotaryEncoderWithDisplay/TouchGFX/generated/fonts/src/Kerning_verdana_22_4bpp.cpp
DynamixYANG/Roendi
2f6703d63922071fd0dfc8e4d2c9bba95ea04f08
[ "MIT" ]
7
2021-09-22T07:56:52.000Z
2022-03-21T17:39:34.000Z
Software/STM32CubeDemo/RotaryEncoderWithDisplay/TouchGFX/generated/fonts/src/Kerning_verdana_22_4bpp.cpp
DynamixYANG/Roendi
2f6703d63922071fd0dfc8e4d2c9bba95ea04f08
[ "MIT" ]
1
2022-03-07T07:51:50.000Z
2022-03-07T07:51:50.000Z
#include <touchgfx/Font.hpp> FONT_KERNING_LOCATION_FLASH_PRAGMA KEEP extern const touchgfx::KerningNode kerning_verdana_22_4bpp[] FONT_KERNING_LOCATION_FLASH_ATTRIBUTE = { { 0x0054, -2 }, // (First char = [0x0054, T], Second char = [0x003A, :], Kerning dist = -2) { 0x0054, 1 }, // (First char = [0x0054, T],...
73.058824
107
0.57971
MitkoDyakov
486781d77c422e446193beae41a89f88123a7a03
1,833
hpp
C++
include/make_matrix.hpp
SuperV1234/UNIME_numerical_calculus
f8f481641b0dfd9c5062bc819e127bd4fedf6f30
[ "AFL-3.0" ]
1
2016-06-30T14:03:37.000Z
2016-06-30T14:03:37.000Z
include/make_matrix.hpp
SuperV1234/UNIME_numerical_calculus
f8f481641b0dfd9c5062bc819e127bd4fedf6f30
[ "AFL-3.0" ]
null
null
null
include/make_matrix.hpp
SuperV1234/UNIME_numerical_calculus
f8f481641b0dfd9c5062bc819e127bd4fedf6f30
[ "AFL-3.0" ]
null
null
null
// Copyright (c) 2015-2016 Vittorio Romeo // License: Academic Free License ("AFL") v. 3.0 // AFL License page: http://opensource.org/licenses/AFL-3.0 // http://vittorioromeo.info | vittorio.romeo@outlook.com #pragma once #include <cstddef> #include <cassert> #include <cmath> #include <iostream> #include <tuple> #inc...
26.185714
75
0.637752
SuperV1234
4868d517b0680224cfb2a7bdbbb68ee8f1d60784
7,146
cpp
C++
servers/src/VisualServer2D.cpp
wookie41/blitz
7f587bee9b6189c32f0f60c69316bc8deca23c16
[ "MIT" ]
1
2020-01-04T21:04:52.000Z
2020-01-04T21:04:52.000Z
servers/src/VisualServer2D.cpp
wookie41/blitz
7f587bee9b6189c32f0f60c69316bc8deca23c16
[ "MIT" ]
15
2019-08-26T20:54:31.000Z
2020-03-15T14:11:44.000Z
servers/src/VisualServer2D.cpp
wookie41/blitz
7f587bee9b6189c32f0f60c69316bc8deca23c16
[ "MIT" ]
null
null
null
#include <servers/VisualServer2D.h> #include <core/ogl/texture/OpenGLTextureSampler.h> #include <core/Device.h> #include <core/Renderer.h> #include <scene/2d/Canvas.h> #include <scene/2d/Sprite.h> #include <blitzmemory/Memory.h> #include <core/RenderCommand.h> #include <front/ForwardRenderingPath.h> #include...
37.809524
140
0.637
wookie41
4869b98d1aeecdf2bc51d3b2ebcbd130e734862f
10,892
cpp
C++
interfaces/innerkits/appverify/src/provision/provision_verify.cpp
openharmony-sig-ci/security_appverify
5c705c648c87383f3ab4cbdae187933db9138e76
[ "Apache-2.0" ]
null
null
null
interfaces/innerkits/appverify/src/provision/provision_verify.cpp
openharmony-sig-ci/security_appverify
5c705c648c87383f3ab4cbdae187933db9138e76
[ "Apache-2.0" ]
null
null
null
interfaces/innerkits/appverify/src/provision/provision_verify.cpp
openharmony-sig-ci/security_appverify
5c705c648c87383f3ab4cbdae187933db9138e76
[ "Apache-2.0" ]
1
2021-09-13T11:13:32.000Z
2021-09-13T11:13:32.000Z
/* * Copyright (C) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
38.083916
119
0.690231
openharmony-sig-ci
4870bf9cce956d43eb016bd3a7837e052da96f34
2,421
cxx
C++
main/sfx2/source/view/viewfac.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/sfx2/source/view/viewfac.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/sfx2/source/view/viewfac.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
28.482353
89
0.634449
Grosskopf
4873198941398e47541c9e774b6fff48481642ae
14,644
cpp
C++
CFD/src/solver.cpp
CompilerLuke/NextEngine
aa1a8e9d9370bce004dba00854701597cab74989
[ "MIT" ]
1
2021-09-10T18:19:16.000Z
2021-09-10T18:19:16.000Z
CFD/src/solver.cpp
CompilerLuke/NextEngine
aa1a8e9d9370bce004dba00854701597cab74989
[ "MIT" ]
null
null
null
CFD/src/solver.cpp
CompilerLuke/NextEngine
aa1a8e9d9370bce004dba00854701597cab74989
[ "MIT" ]
2
2020-04-02T06:46:56.000Z
2021-06-17T16:47:57.000Z
#include "solver.h" #include "engine/handle.h" #include "core/memory/linear_allocator.h" #include "visualization/debug_renderer.h" #include "visualization/color_map.h" #include "vendor/eigen/Eigen/Sparse" #include "vendor/eigen/Eigen/IterativeLinearSolvers" using vec_x = Eigen::VectorXd; using SparseMt = Eigen::Spars...
28.99802
142
0.687449
CompilerLuke
4877611196a94063f1ece7284bfc9989486d7d8a
5,196
cc
C++
nodejs-mobile/deps/chakrashim/src/v8propertydescriptor.cc
xuelongqy/cnode
ac256264d329e68b6c5ae3281b0e7bb5a95ae164
[ "MIT" ]
null
null
null
nodejs-mobile/deps/chakrashim/src/v8propertydescriptor.cc
xuelongqy/cnode
ac256264d329e68b6c5ae3281b0e7bb5a95ae164
[ "MIT" ]
4
2020-03-13T14:45:49.000Z
2020-03-15T16:31:22.000Z
nodejs-mobile/deps/chakrashim/src/v8propertydescriptor.cc
xuelongqy/cnode
ac256264d329e68b6c5ae3281b0e7bb5a95ae164
[ "MIT" ]
1
2020-03-15T16:02:18.000Z
2020-03-15T16:02:18.000Z
// Copyright Microsoft. All rights reserved. // // 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, ...
30.209302
80
0.71863
xuelongqy
4879704b1b035e0e4ed35ca52bb52035c93c3cd5
42,526
cpp
C++
TBDAnnotation/src/TBDAnnotation.cpp
marcorighini/tbdannotation
f22d395fce5c6c1007177623b0a0c60f7fcb9d4f
[ "Apache-2.0" ]
1
2021-06-13T10:49:43.000Z
2021-06-13T10:49:43.000Z
TBDAnnotation/src/TBDAnnotation.cpp
marcorighini/tbdannotation
f22d395fce5c6c1007177623b0a0c60f7fcb9d4f
[ "Apache-2.0" ]
null
null
null
TBDAnnotation/src/TBDAnnotation.cpp
marcorighini/tbdannotation
f22d395fce5c6c1007177623b0a0c60f7fcb9d4f
[ "Apache-2.0" ]
null
null
null
#include "Model/Page.hpp" #include "Model/Utils.hpp" #include "Model/DatabaseHandler.hpp" #include "Model/RegisteredPdfMap.hpp" #include "Model/FileManager.hpp" #include "Model/ImageProcessor.hpp" #include "Model/Triangle.hpp" #include "Model/FeaturesManager.hpp" #include "Model/WebCamCapture.hpp" #include <iostream> #...
39.230627
142
0.647298
marcorighini
487bd774661be7faf45117117495df4072942e79
1,795
hpp
C++
AI_Engine_Development/Design_Tutorials/08-n-body-simulator/x10_design/pl_kernels/kernel/packet_sender.hpp
jlamperez/Vitis-Tutorials
9a5b611caabb5656bbb2879116e032227b164bfd
[ "Apache-2.0" ]
567
2019-10-01T16:31:26.000Z
2022-03-31T18:43:30.000Z
AI_Engine_Development/Design_Tutorials/08-n-body-simulator/x10_design/pl_kernels/kernel/packet_sender.hpp
jlamperez/Vitis-Tutorials
9a5b611caabb5656bbb2879116e032227b164bfd
[ "Apache-2.0" ]
142
2019-11-25T14:42:16.000Z
2022-03-31T15:06:56.000Z
AI_Engine_Development/Design_Tutorials/08-n-body-simulator/x10_design/pl_kernels/kernel/packet_sender.hpp
jlamperez/Vitis-Tutorials
9a5b611caabb5656bbb2879116e032227b164bfd
[ "Apache-2.0" ]
387
2019-10-10T09:14:00.000Z
2022-03-31T02:51:02.000Z
/* (c) Copyright 2021 Xilinx, Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
35.9
133
0.650696
jlamperez
487be57c7fbeb678ee3e855c2b9d51ad01597d1a
591
cpp
C++
src/render/texture.cpp
Alec-Sobeck/FPS-Game
3a0f3e82bdbc651ee99e7b10d71d55ba43bb6d35
[ "MIT" ]
null
null
null
src/render/texture.cpp
Alec-Sobeck/FPS-Game
3a0f3e82bdbc651ee99e7b10d71d55ba43bb6d35
[ "MIT" ]
null
null
null
src/render/texture.cpp
Alec-Sobeck/FPS-Game
3a0f3e82bdbc651ee99e7b10d71d55ba43bb6d35
[ "MIT" ]
1
2015-02-04T23:29:59.000Z
2015-02-04T23:29:59.000Z
#include "texture.h" using namespace gl; /** * Constructs a new Texture object, storing the specified textureID for binding * @param textureID the Integer representing the texture that can be bound */ Texture::Texture(std::string associatedFileName, gl::GLuint textureID) : textureID(textureID), associatedFileName...
25.695652
133
0.749577
Alec-Sobeck
487d5a32b3f19715ea2edea905d3026112de6da0
4,978
cpp
C++
source/lib/PccLibConformance/source/PCCConfigurationFileParser.cpp
giterator/mpeg-pcc-tmc2
4262af3b405e69f3823eedbd6ebb70d81c5f502a
[ "BSD-3-Clause" ]
80
2019-07-02T22:05:26.000Z
2022-03-29T12:46:31.000Z
source/lib/PccLibConformance/source/PCCConfigurationFileParser.cpp
ricardjidcc/mpeg-pcc-tmc2
588abd7750d24057f2ce8b1088cc92868a39bc16
[ "BSD-3-Clause" ]
null
null
null
source/lib/PccLibConformance/source/PCCConfigurationFileParser.cpp
ricardjidcc/mpeg-pcc-tmc2
588abd7750d24057f2ce8b1088cc92868a39bc16
[ "BSD-3-Clause" ]
34
2019-07-18T11:58:14.000Z
2022-03-18T06:47:48.000Z
/* The copyright in this software is being made available under the BSD * License, included below. This software may be subject to other third party * and contributor rights, including patent rights, and no such rights are * granted under this license. * * Copyright (c) 2010-2017, ITU/ISO/IEC * All rights reserve...
38.890625
95
0.649658
giterator
487d70365525e0524e8b956701e07282308b3b69
10,951
cc
C++
selfdrive/ui/qt/offroad/moc_networking.cc
leech2000/kona0813
c3e73e220b86614b82959712668408a48c33ebd3
[ "MIT" ]
1
2022-03-23T13:52:40.000Z
2022-03-23T13:52:40.000Z
selfdrive/ui/qt/offroad/moc_networking.cc
leech2000/kona0813
c3e73e220b86614b82959712668408a48c33ebd3
[ "MIT" ]
null
null
null
selfdrive/ui/qt/offroad/moc_networking.cc
leech2000/kona0813
c3e73e220b86614b82959712668408a48c33ebd3
[ "MIT" ]
5
2022-03-24T16:18:47.000Z
2022-03-30T02:18:49.000Z
/**************************************************************************** ** Meta object code from reading C++ file 'networking.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.8) ** ** WARNING! All changes made in this file will be lost! *********************************************************...
29.438172
100
0.611816
leech2000
487e0dfee4d2acf3dc12089a338bb6849b6daecd
7,677
hpp
C++
include/dualsynth/vs_wrapper.hpp
msg7086/MiniDeen
0342ed55d8cf2b5cb4077ff206d4e5bbaac734fa
[ "MIT" ]
6
2020-04-11T06:59:28.000Z
2021-07-20T14:31:01.000Z
include/dualsynth/vs_wrapper.hpp
HomeOfAviSynthPlusEvolution/neo_Gradient_Mask
d460f6070ece54e1a8fded93f9caacb718256ceb
[ "MIT" ]
2
2020-05-31T23:48:16.000Z
2022-03-28T09:41:50.000Z
include/dualsynth/vs_wrapper.hpp
HomeOfAviSynthPlusEvolution/neo_TMedian
9b6a8931badeaa1ce7c1b692ddbf1f06620c0e93
[ "MIT" ]
2
2020-08-15T03:40:50.000Z
2021-05-30T11:48:34.000Z
/* * Copyright 2020 Xinyue Lu * * DualSynth wrapper - VapourSynth. * */ #pragma once namespace Plugin { extern const char* Identifier; extern const char* Namespace; extern const char* Description; } namespace VSInterface { const VSAPI * API; struct VSInDelegator final : InDelegator { const VSMap ...
36.732057
164
0.650775
msg7086
487e2bcec9779c34207ff341520e18663564b64a
1,050
cpp
C++
getopt.cpp
AlexeyAkhunov/espresso
5c7a57ad6fde2fb3af46171ca1a5c78d250716e9
[ "MIT" ]
null
null
null
getopt.cpp
AlexeyAkhunov/espresso
5c7a57ad6fde2fb3af46171ca1a5c78d250716e9
[ "MIT" ]
null
null
null
getopt.cpp
AlexeyAkhunov/espresso
5c7a57ad6fde2fb3af46171ca1a5c78d250716e9
[ "MIT" ]
null
null
null
#include <iostream> /* File : getopt.c Author : Henry Spencer, University of Toronto Updated: 28 April 1984 Purpose: get option letter from argv. */ #define NullS ((char *) 0) char *optarg; /* Global argument pointer. */ int optind = 0; /* Global argv index. */ int getopt(int argc, char* argv[], const ...
23.333333
60
0.53619
AlexeyAkhunov
487edebbcb3d756bf076d8013b80fd33785d2ff4
3,550
cpp
C++
9/9.51/Date.cpp
kousikpramanik/C-_Primer_5th
e21fb665f04b26193fc13f9c2c263b782aea3f3c
[ "MIT" ]
null
null
null
9/9.51/Date.cpp
kousikpramanik/C-_Primer_5th
e21fb665f04b26193fc13f9c2c263b782aea3f3c
[ "MIT" ]
2
2020-08-15T17:33:00.000Z
2021-07-05T14:18:26.000Z
9/9.51/Date.cpp
kousikpramanik/C-_Primer_5th
e21fb665f04b26193fc13f9c2c263b782aea3f3c
[ "MIT" ]
1
2020-08-15T17:24:54.000Z
2020-08-15T17:24:54.000Z
#include "Date.h" #include <stdexcept> #include <string> #include <array> #include <cctype> Date::Date(unsigned a, unsigned b, unsigned c, unsigned style) : yyyy(a), mm(b), dd(c) { switch (style) { case 1: // dd/mm/yyyy dd = a; mm = b; yyyy = c; break; ...
30.34188
115
0.498592
kousikpramanik
487f422835613b034bde30d95dae871b83bc2c2f
7,152
hpp
C++
include/UnityEngine/TestTools/TestRunner/GUI/SynchronousFilter.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/UnityEngine/TestTools/TestRunner/GUI/SynchronousFilter.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/UnityEngine/TestTools/TestRunner/GUI/SynchronousFilter.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: NUnit.Framework.Interfaces.I...
62.191304
293
0.739793
RedBrumbler
487f85e84100134aaad3a16abd62bef51302e3bd
5,137
cc
C++
google/cloud/pubsub/internal/default_subscription_batch_source.cc
orinem/google-cloud-cpp
c43f73e9abeb2b9d8a6e99f7d9750cba37f2f6b1
[ "Apache-2.0" ]
null
null
null
google/cloud/pubsub/internal/default_subscription_batch_source.cc
orinem/google-cloud-cpp
c43f73e9abeb2b9d8a6e99f7d9750cba37f2f6b1
[ "Apache-2.0" ]
null
null
null
google/cloud/pubsub/internal/default_subscription_batch_source.cc
orinem/google-cloud-cpp
c43f73e9abeb2b9d8a6e99f7d9750cba37f2f6b1
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
38.916667
77
0.716177
orinem
4880514cdf89664a505f0c4cab4368b7dcea042e
2,736
cpp
C++
keyvi/3rdparty/msgpack-c/example/boost/msgpack_variant_capitalize.cpp
vvucetic/keyvi
e6f02373350fea000aa3d20be9cc1d0ec09441f7
[ "Apache-2.0" ]
147
2015-10-06T19:10:01.000Z
2021-08-19T07:52:02.000Z
keyvi/3rdparty/msgpack-c/example/boost/msgpack_variant_capitalize.cpp
vvucetic/keyvi
e6f02373350fea000aa3d20be9cc1d0ec09441f7
[ "Apache-2.0" ]
148
2015-10-06T09:24:56.000Z
2018-12-08T08:42:54.000Z
keyvi/3rdparty/msgpack-c/example/boost/msgpack_variant_capitalize.cpp
vvucetic/keyvi
e6f02373350fea000aa3d20be9cc1d0ec09441f7
[ "Apache-2.0" ]
34
2015-10-09T06:55:52.000Z
2021-01-05T18:43:57.000Z
// MessagePack for C++ example // // Copyright (C) 2015 KONDO Takatoshi // // 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 <string> #include <sstream> #include <iostream> #include <algorithm...
28.8
81
0.550073
vvucetic
488164e55a149881e57cb01d4a1487931c57f1e4
291
hh
C++
src/Zynga/Framework/Dynamic/V1/Mocks/StaticClass.hh
chintan-j-patel/zynga-hacklang-framework
d9893b8873e3c8c7223772fd3c94d2531760172a
[ "MIT" ]
19
2018-04-23T09:30:48.000Z
2022-03-06T21:35:18.000Z
src/Zynga/Framework/Dynamic/V1/Mocks/StaticClass.hh
chintan-j-patel/zynga-hacklang-framework
d9893b8873e3c8c7223772fd3c94d2531760172a
[ "MIT" ]
22
2017-11-27T23:39:25.000Z
2019-08-09T08:56:57.000Z
src/Zynga/Framework/Dynamic/V1/Mocks/StaticClass.hh
chintan-j-patel/zynga-hacklang-framework
d9893b8873e3c8c7223772fd3c94d2531760172a
[ "MIT" ]
28
2017-11-16T20:53:56.000Z
2021-01-04T11:13:17.000Z
<?hh // strict namespace Zynga\Framework\Dynamic\V1\Mocks; class StaticClass { public static function testFunction(): bool { return true; } public static function testFunctionWithParams( string $param1, int $param2, ): string { return $param1.":".$param2; } }
15.315789
48
0.666667
chintan-j-patel
4888983725aab70b59e29dcc1ff408874f01b402
1,227
cpp
C++
Game/Source/Crate.cpp
KuronoaScarlet/ProjectII
5038d4366f39f26ec70cbebaf06d72e7c83e52a3
[ "MIT" ]
null
null
null
Game/Source/Crate.cpp
KuronoaScarlet/ProjectII
5038d4366f39f26ec70cbebaf06d72e7c83e52a3
[ "MIT" ]
1
2021-02-25T11:10:15.000Z
2021-04-18T16:48:04.000Z
Game/Source/Crate.cpp
KuronoaScarlet/ProjectII
5038d4366f39f26ec70cbebaf06d72e7c83e52a3
[ "MIT" ]
null
null
null
#include "Crate.h" #include "App.h" #include "Render.h" #include "Collisions.h" #include "Collider.h" #include "FadeToBlack.h" #include "Scene1.h" #include "Title.h" #include "Map.h" #include "Audio.h" #include "EntityManager.h" #include "Fonts.h" #include "Defs.h" #include "DialogSystem.h" Crate::Crate(Module* liste...
18.044118
128
0.713121
KuronoaScarlet
4898542f609201008c625cf881d791ea98b39b58
41,242
cpp
C++
Src/Analysis/RSMSobol2Analyzer.cpp
lbianchi-lbl/psuade-lite
09d7ca75aba8a9e31e1fb5c3e134af046fca3460
[ "Apache-2.0" ]
14
2017-10-31T17:52:38.000Z
2022-03-04T05:16:56.000Z
Src/Analysis/RSMSobol2Analyzer.cpp
lbianchi-lbl/psuade-lite
09d7ca75aba8a9e31e1fb5c3e134af046fca3460
[ "Apache-2.0" ]
3
2021-03-10T22:10:32.000Z
2022-01-14T04:31:05.000Z
Src/Analysis/RSMSobol2Analyzer.cpp
lbianchi-lbl/psuade-lite
09d7ca75aba8a9e31e1fb5c3e134af046fca3460
[ "Apache-2.0" ]
12
2017-12-13T01:08:17.000Z
2020-11-26T22:58:08.000Z
// ************************************************************************ // Copyright (c) 2007 Lawrence Livermore National Security, LLC. // Produced at the Lawrence Livermore National Laboratory. // Written by the PSUADE team. // All rights reserved. // // Please see the COPYRIGHT and LICENSE file for the copyri...
34.225726
83
0.511469
lbianchi-lbl
489912c199007ab87378b33eca4cb27a82dc881a
11,417
cpp
C++
gen/windows/kin/eigen/src/Jws_LeftToeBottom_to_RightToeBottom.cpp
UMich-BipedLab/Cassie_StateEstimation
d410ddce0ab342651f5ec0540c2867faf959a3a9
[ "BSD-3-Clause" ]
26
2018-07-20T15:20:19.000Z
2022-03-14T07:12:12.000Z
gen/windows/kin/eigen/src/Jws_LeftToeBottom_to_RightToeBottom.cpp
UMich-BipedLab/Cassie_StateEstimation
d410ddce0ab342651f5ec0540c2867faf959a3a9
[ "BSD-3-Clause" ]
2
2019-04-19T22:57:00.000Z
2022-01-11T12:46:20.000Z
gen/windows/kin/eigen/src/Jws_LeftToeBottom_to_RightToeBottom.cpp
UMich-BipedLab/Cassie_StateEstimation
d410ddce0ab342651f5ec0540c2867faf959a3a9
[ "BSD-3-Clause" ]
10
2018-07-29T08:05:14.000Z
2022-02-03T08:48:11.000Z
/* * Automatically Generated from Mathematica. * Thu 23 May 2019 13:35:31 GMT-04:00 */ #include <stdio.h> #include <stdlib.h> #include <math.h> #include "Jws_LeftToeBottom_to_RightToeBottom.h" #ifdef _MSC_VER #define INLINE __forceinline /* use __forceinline (VC++ specific) */ #else #define INLINE...
22.298828
122
0.648945
UMich-BipedLab
489a77efd52fa8bddd112ca7ca052769063f84f3
530
hpp
C++
inference-engine/tests/ie_test_utils/functional_test_utils/plugin_cache.hpp
fujunwei/dldt
09497b7724de4be92629f7799b8538b483d809a2
[ "Apache-2.0" ]
null
null
null
inference-engine/tests/ie_test_utils/functional_test_utils/plugin_cache.hpp
fujunwei/dldt
09497b7724de4be92629f7799b8538b483d809a2
[ "Apache-2.0" ]
null
null
null
inference-engine/tests/ie_test_utils/functional_test_utils/plugin_cache.hpp
fujunwei/dldt
09497b7724de4be92629f7799b8538b483d809a2
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <string> #include <ie_core.hpp> #include <ie_plugin_ptr.hpp> class PluginCache { public: static PluginCache& get(); std::shared_ptr<InferenceEngine::Core> ie(const std::string &deviceToCheck = std::...
18.928571
102
0.69434
fujunwei
489b33ab5348de67e5166d8f5f173ec3f5272b21
3,651
cpp
C++
Util/FileSearcher.cpp
danzimm/zld
3b0b1f1511d7a91c2ec89626be6ef3e99494c395
[ "MIT" ]
null
null
null
Util/FileSearcher.cpp
danzimm/zld
3b0b1f1511d7a91c2ec89626be6ef3e99494c395
[ "MIT" ]
null
null
null
Util/FileSearcher.cpp
danzimm/zld
3b0b1f1511d7a91c2ec89626be6ef3e99494c395
[ "MIT" ]
null
null
null
// Copyright (c) 2020 Daniel Zimmerman #include "Util/FileSearcher.h" #include "llvm/Support/FileSystem.h" #include "llvm/Support/Path.h" namespace llvm { namespace ald { namespace { PathList processSDKPrefixes(const std::vector<std::string> &SDKPrefixes, const std::unique_ptr<Path> &C...
23.862745
79
0.599288
danzimm
489b64cd17512088720803ddd1993fd6bfbcef25
495
cpp
C++
02. Bit Manipulation/05 One Odd Occurring/Bonus Question.cpp
VivekYadav105/Data-Structures-and-Algorithms
7287912da8068c9124e0bb89c93c4d52aa48c51f
[ "MIT" ]
190
2021-02-10T17:01:01.000Z
2022-03-20T00:21:43.000Z
02. Bit Manipulation/05 One Odd Occurring/Bonus Question.cpp
VivekYadav105/Data-Structures-and-Algorithms
7287912da8068c9124e0bb89c93c4d52aa48c51f
[ "MIT" ]
null
null
null
02. Bit Manipulation/05 One Odd Occurring/Bonus Question.cpp
VivekYadav105/Data-Structures-and-Algorithms
7287912da8068c9124e0bb89c93c4d52aa48c51f
[ "MIT" ]
27
2021-03-26T11:35:15.000Z
2022-03-06T07:34:54.000Z
#include<bits/stdc++.h> using namespace std; //find the element which is missing from the range 1 to n //trick 1 : xor of same numbers gives zero //trick 2 : xor of zero with any number returns original number int missing(int a[], int n)//time comp. O(n) { int X = 0; for (int i = 1; i <= n; i++) { X = X ^ i; } ...
15.967742
63
0.553535
VivekYadav105
489f67706a943d43ed9178d902bb2d2694641879
10,049
cpp
C++
gcg/src/reader_cls.cpp
avrech/scipoptsuite-6.0.2-avrech
bb4ef31b6e84ff7e1e65cee982acf150739cda86
[ "MIT" ]
null
null
null
gcg/src/reader_cls.cpp
avrech/scipoptsuite-6.0.2-avrech
bb4ef31b6e84ff7e1e65cee982acf150739cda86
[ "MIT" ]
null
null
null
gcg/src/reader_cls.cpp
avrech/scipoptsuite-6.0.2-avrech
bb4ef31b6e84ff7e1e65cee982acf150739cda86
[ "MIT" ]
1
2022-01-19T01:15:11.000Z
2022-01-19T01:15:11.000Z
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* This file is part of the program */ /* GCG --- Generic Column Generation */ ...
37.218519
159
0.577172
avrech
48a0e4cbb710208c6ac0cb49267bf60f83099988
15,591
hpp
C++
src/frovedis/core/node_local.hpp
wmeddie/frovedis
c134e5e64114799cc7c265c72525ff98d06b49c1
[ "BSD-2-Clause" ]
null
null
null
src/frovedis/core/node_local.hpp
wmeddie/frovedis
c134e5e64114799cc7c265c72525ff98d06b49c1
[ "BSD-2-Clause" ]
null
null
null
src/frovedis/core/node_local.hpp
wmeddie/frovedis
c134e5e64114799cc7c265c72525ff98d06b49c1
[ "BSD-2-Clause" ]
null
null
null
#ifndef NODE_LOCAL_HPP #define NODE_LOCAL_HPP #include "DVID.hpp" #include "type_utility.hpp" namespace frovedis { template <class T> class node_local; template <class T> node_local<T> make_node_local_broadcast(const T& var); template <class T> class dvector; template <class T> class node_local { public: using va...
45.45481
101
0.577641
wmeddie
48a79f2fc0051d73041d9d6b43ab4f3cb6519920
332
cpp
C++
1943.cpp
Valarr/Uri
807de771b14b0e60d44b23835ad9ee7423c83471
[ "MIT" ]
null
null
null
1943.cpp
Valarr/Uri
807de771b14b0e60d44b23835ad9ee7423c83471
[ "MIT" ]
null
null
null
1943.cpp
Valarr/Uri
807de771b14b0e60d44b23835ad9ee7423c83471
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main(){ int a; cin >> a; if(a<=1) cout <<"Top 1\n"; else if(a<=3) cout << "Top 3\n"; else if(a<=5) cout << "Top 5\n"; else if(a<=10) cout << "Top 10\n"; else if(a<=25) cout << "Top 25\n"; else if(a<=50) cout << "Top 50\n"; else if(a<=100) cout << "To...
20.75
38
0.521084
Valarr
48a86969ec1a4fcaed5cef23db9c885e2b936137
6,150
cpp
C++
SystemTests/SystemTests.cpp
Cooolrik/ISD
c06afd5a2f4e7d2fe21ba3c77e60595c1bd24ade
[ "MIT" ]
null
null
null
SystemTests/SystemTests.cpp
Cooolrik/ISD
c06afd5a2f4e7d2fe21ba3c77e60595c1bd24ade
[ "MIT" ]
null
null
null
SystemTests/SystemTests.cpp
Cooolrik/ISD
c06afd5a2f4e7d2fe21ba3c77e60595c1bd24ade
[ "MIT" ]
null
null
null
// ISD Copyright (c) 2021 Ulrik Lindahl // Licensed under the MIT license https://github.com/Cooolrik/ISD/blob/main/LICENSE #include "../ISD/ISD.h" #include "../ISD/ISD_MemoryReadStream.h" #include "../ISD/ISD_MemoryWriteStream.h" #include "../ISD/ISD_Log.h" #include "../ISD/ISD_EntityWriter.h" #include "../ISD/ISD_En...
22.693727
169
0.652358
Cooolrik
48ae54bc80180d3096abb3c3f70a1040c550eb86
346
cpp
C++
UOJ/147/make.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
UOJ/147/make.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
UOJ/147/make.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int T=4,n=23; int cnt[15]; int main(){ srand(time(0));freopen("code.in","w",stdout); printf("%d %d\n",T,n); while(T--){ memset(cnt,0,sizeof(cnt)); for(int i=1;i<=n;++i){ int t=rand()%14; while(!(t&&cnt[t]<=4||cnt[t]<=2))t=rand()%14; printf("%d %d\n",t,rand()%...
19.222222
48
0.546243
sjj118
48b0b4644194a385b65c3705db73d9cee8d8d52b
892
cpp
C++
Woopsi/examples/scrolltest/src/testpanel.cpp
ant512/Woopsi
e7a568dc5e16ae772a5cad850527861ac2c2e703
[ "BSD-3-Clause" ]
14
2016-01-25T01:01:25.000Z
2021-07-02T22:49:27.000Z
Woopsi/examples/scrolltest/src/testpanel.cpp
ant512/Woopsi
e7a568dc5e16ae772a5cad850527861ac2c2e703
[ "BSD-3-Clause" ]
1
2021-07-29T23:14:59.000Z
2021-07-29T23:14:59.000Z
Woopsi/examples/scrolltest/src/testpanel.cpp
ant512/Woopsi
e7a568dc5e16ae772a5cad850527861ac2c2e703
[ "BSD-3-Clause" ]
4
2016-01-25T01:01:45.000Z
2021-09-04T23:39:10.000Z
#include "testpanel.h" #include "graphicsport.h" #include "woopsifuncs.h" using namespace WoopsiUI; TestPanel::TestPanel(s16 x, s16 y, u16 width, u16 height, GadgetStyle* style) : ScrollingPanel(x, y, width, height, style) { // Set the dimensions of the virtual canvas setCanvasHeight(300); setCanvasWidt...
33.037037
125
0.691704
ant512
48b637bbaa2258a7eaa7656c6e69e947ba61cfb3
4,750
cpp
C++
provant_simulator_utils/provant_simulator_sdf_parser/src/sdf_parser.cpp
Guiraffo/ProVANT_Simulator
ef2260204b13f39a9f83ad2ab88a9552a0699bff
[ "MIT" ]
null
null
null
provant_simulator_utils/provant_simulator_sdf_parser/src/sdf_parser.cpp
Guiraffo/ProVANT_Simulator
ef2260204b13f39a9f83ad2ab88a9552a0699bff
[ "MIT" ]
null
null
null
provant_simulator_utils/provant_simulator_sdf_parser/src/sdf_parser.cpp
Guiraffo/ProVANT_Simulator
ef2260204b13f39a9f83ad2ab88a9552a0699bff
[ "MIT" ]
null
null
null
/* * This file is part of the ProVANT simulator project. * Licensed under the terms of the MIT open source license. More details at * https://github.com/Guiraffo/ProVANT-Simulator/blob/master/LICENSE.md */ /** * @file sdf_parser.cpp * @brief This file contains the implementation of the SDFParser class. * * @aut...
19
118
0.656842
Guiraffo
48b7e0c4de443585c7baac70d42937cd33fc9edc
1,102
cpp
C++
src/audio/EmuEqualizer.cpp
AlexanderBrevig/emu-jukebox
131f73934e5aea4d587817b999e6869fa692d0ba
[ "BSD-2-Clause" ]
9
2019-03-09T16:55:00.000Z
2022-02-08T21:24:59.000Z
src/audio/EmuEqualizer.cpp
AlexanderBrevig/emu-jukebox
131f73934e5aea4d587817b999e6869fa692d0ba
[ "BSD-2-Clause" ]
69
2019-03-09T21:54:12.000Z
2021-12-26T09:30:20.000Z
src/audio/EmuEqualizer.cpp
AlexanderBrevig/emu-jukebox
131f73934e5aea4d587817b999e6869fa692d0ba
[ "BSD-2-Clause" ]
2
2019-03-11T19:03:54.000Z
2019-04-18T19:55:51.000Z
// // Created by robin on 16.01.19. // #include "EmuEqualizer.h" ebox::EmuEqualizer::EmuEqualizer() { } ebox::EmuEqualizer::EmuEqualizer(Music_Emu *emu) { initialize(emu); } void ebox::EmuEqualizer::draw() { if(m_emu != nullptr) { float treble = static_cast<float>(m_equalizer.treble); f...
27.55
102
0.642468
AlexanderBrevig
48b9f6e55e869faa5fe81beea7479c6863ec5458
1,016
cpp
C++
stack-queue-deque/queue.cpp
rusucosmin/eMag---Hai-la-Olimpiada-
8adfa8e9cc6cf357e280a89e15b467c9cd77b2c2
[ "MIT" ]
null
null
null
stack-queue-deque/queue.cpp
rusucosmin/eMag---Hai-la-Olimpiada-
8adfa8e9cc6cf357e280a89e15b467c9cd77b2c2
[ "MIT" ]
null
null
null
stack-queue-deque/queue.cpp
rusucosmin/eMag---Hai-la-Olimpiada-
8adfa8e9cc6cf357e280a89e15b467c9cd77b2c2
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <stdio.h> #include <stack> using namespace std; stack<int> st1, st2; void push_back(int x) { printf(" read(%d)", x); printf(" push(1,%d)\n", x); st1.push(x); } void move() { while(st1.size() > 0) { printf(" pop(1)"); int x = st1.top(); ...
17.824561
39
0.418307
rusucosmin
48be8f47fa1fcffc64d24d04606e30167ca2a31b
6,220
cpp
C++
src/wire/libevent_callbacks.cpp
xhad1234/peloton
60dea12ed528bc8873b1c43d1eca841a5d76ee44
[ "Apache-2.0" ]
2
2017-07-24T12:25:58.000Z
2022-03-17T11:43:42.000Z
src/wire/libevent_callbacks.cpp
xhad1234/peloton
60dea12ed528bc8873b1c43d1eca841a5d76ee44
[ "Apache-2.0" ]
2
2016-10-01T00:36:16.000Z
2016-11-05T23:40:07.000Z
src/wire/libevent_callbacks.cpp
xhad1234/peloton
60dea12ed528bc8873b1c43d1eca841a5d76ee44
[ "Apache-2.0" ]
3
2016-09-24T01:22:30.000Z
2019-01-09T16:17:25.000Z
//===----------------------------------------------------------------------===// // // Peloton // // libevent_callbacks.cpp // // Implements Libevent callbacks for the protocol and their helpers // // Identification: src/wire/libevent_callbacks.cpp // // Copyright (c) 2015-16, Carnegie Mellon Un...
28.796296
87
0.555466
xhad1234
48befcbd7f437ad897f4935c59fb6c8a2d7fe457
951
hpp
C++
abcd/util/Debug.hpp
Airbitz/airbitz-core-private
dc6742a5622f6d8bae750e60fcee3bb473bc67ce
[ "BSD-2-Clause-FreeBSD" ]
1
2021-05-28T02:52:00.000Z
2021-05-28T02:52:00.000Z
abcd/util/Debug.hpp
Airbitz/airbitz-core-private
dc6742a5622f6d8bae750e60fcee3bb473bc67ce
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
abcd/util/Debug.hpp
Airbitz/airbitz-core-private
dc6742a5622f6d8bae750e60fcee3bb473bc67ce
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
/* * Copyright (c) 2015, Airbitz, Inc. * All rights reserved. * * See the LICENSE file for more information. */ #ifndef ABC_UTIL_DEBUG_HPP #define ABC_UTIL_DEBUG_HPP #include "Status.hpp" #include "Data.hpp" #define DEBUG_LEVEL 1 #define ABC_DebugLevel(level, ...) \ { \ i...
17.943396
48
0.500526
Airbitz
48c1a6dd1f2af3f73146257ac08639a7ba02b21e
2,551
cpp
C++
higan/ms/cpu/bus.cpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
38
2018-04-05T05:00:05.000Z
2022-02-06T00:02:02.000Z
higan/ms/cpu/bus.cpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
1
2018-04-29T19:45:14.000Z
2018-04-29T19:45:14.000Z
higan/ms/cpu/bus.cpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
8
2018-04-16T22:37:46.000Z
2021-02-10T07:37:03.000Z
auto CPU::read(uint16 addr) -> uint8 { uint8 data; if(auto result = cartridge.read(addr)) { data = result(); } else if(addr >= 0xc000) { data = ram[addr & 0x1fff]; } if(auto result = cheat.find(addr, data)) { data = result(); } return data; } auto CPU::write(uint16 addr, uint8 data) -> voi...
25.257426
100
0.562132
13824125580
48c6adf5b49d812490b42bf2b9278003439506bd
5,649
cpp
C++
windows/win_socket_io_impl.cpp
jc-lab/mev
553ab28ec5c49bde8dc74b86f5eba6c882078490
[ "Apache-2.0" ]
null
null
null
windows/win_socket_io_impl.cpp
jc-lab/mev
553ab28ec5c49bde8dc74b86f5eba6c882078490
[ "Apache-2.0" ]
null
null
null
windows/win_socket_io_impl.cpp
jc-lab/mev
553ab28ec5c49bde8dc74b86f5eba6c882078490
[ "Apache-2.0" ]
null
null
null
/** * @file win_socket_io_impl.cpp * @class mev::win_socket_io_impl * @author Jichan (development@jc-lab.net / http://ablog.jc-lab.net/176 ) * @copyright Copyright (C) 2019 jichan.\n * This software may be modified and distributed under the terms * of the Apache License 2.0. See the LICEN...
31.735955
189
0.701717
jc-lab
48c86877a2224e4bd32455579428f1b9d68b83de
3,321
cpp
C++
mainwindow.cpp
isc1/QtThread01
7f74601091ec35cee7c89546365be6400f386fbb
[ "MIT" ]
null
null
null
mainwindow.cpp
isc1/QtThread01
7f74601091ec35cee7c89546365be6400f386fbb
[ "MIT" ]
null
null
null
mainwindow.cpp
isc1/QtThread01
7f74601091ec35cee7c89546365be6400f386fbb
[ "MIT" ]
null
null
null
// QtThread01 -- simple threaded GUI example // see README.md for description. // This code was written on Qt 5.11.1 on Windows 10. It may run on OS X and Linux with // modifications but we haven't done that. // This code is copyright 2018 inhabited.systems, and is shared under the MIT license. // (See file MIT-Lice...
34.59375
156
0.710027
isc1
48c90c29e5117c4520178a9f3f3d505cfb1dbf53
14,043
cpp
C++
Extern/JUCE/extras/JuceDemo/Source/demos/AudioDemoSynthPage.cpp
vinniefalco/SimpleDJ
30cf1929eaaf0906a1056a33378e8b330062c691
[ "MIT" ]
27
2015-05-07T02:10:39.000Z
2021-06-22T14:52:50.000Z
Extern/JUCE/extras/JuceDemo/Source/demos/AudioDemoSynthPage.cpp
JoseDiazRohena/SimpleDJ
30cf1929eaaf0906a1056a33378e8b330062c691
[ "MIT" ]
null
null
null
Extern/JUCE/extras/JuceDemo/Source/demos/AudioDemoSynthPage.cpp
JoseDiazRohena/SimpleDJ
30cf1929eaaf0906a1056a33378e8b330062c691
[ "MIT" ]
14
2015-09-12T12:00:22.000Z
2022-03-08T22:24:24.000Z
/* ============================================================================== This is an automatically generated file created by the Jucer! Creation date: 21 Sep 2012 12:10:20pm Be careful when adding custom code to these files, as only the code within the "//[xyz]" and "//[/xyz]" sections wil...
36.007692
131
0.564053
vinniefalco
48c9b67d799cdd591e7c463bc3f8c5f91a8e7a65
2,890
cc
C++
xigen/src/locale.cc
EPC-MSU/libximc
b0349721f57c8274b098a7b646d7ae67b8e70b9d
[ "BSD-2-Clause" ]
3
2020-12-08T14:41:48.000Z
2022-02-23T13:42:42.000Z
xigen/src/locale.cc
EPC-MSU/libximc
b0349721f57c8274b098a7b646d7ae67b8e70b9d
[ "BSD-2-Clause" ]
4
2020-12-08T20:15:06.000Z
2021-12-08T14:15:24.000Z
xigen/src/locale.cc
EPC-MSU/libximc
b0349721f57c8274b098a7b646d7ae67b8e70b9d
[ "BSD-2-Clause" ]
2
2020-11-02T02:17:35.000Z
2021-03-18T14:13:56.000Z
#include "common.hh" #include "model.hh" #include "generatorhelper.hh" #include "locale.hh" namespace xigen { // Russian class LocaleRussian : public Locale { public: std::string extractDoxygenComment(const Comment& comment) const { return helpers::extractLanguageDoxygenComment(comment,"russian"); } st...
30.104167
93
0.692042
EPC-MSU