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
4d43e6ac29ce9ba140e1b403f5f6232d4ee5a463
10,288
cpp
C++
modules/ocl/cl_3a_stats_context.cpp
DennissimOS/platform_external_libxcam
97f8476916e67917026de4c6e43c12d2fa1d68c7
[ "Apache-2.0" ]
1
2022-02-14T09:32:03.000Z
2022-02-14T09:32:03.000Z
modules/ocl/cl_3a_stats_context.cpp
DennissimOS/platform_external_libxcam
97f8476916e67917026de4c6e43c12d2fa1d68c7
[ "Apache-2.0" ]
null
null
null
modules/ocl/cl_3a_stats_context.cpp
DennissimOS/platform_external_libxcam
97f8476916e67917026de4c6e43c12d2fa1d68c7
[ "Apache-2.0" ]
null
null
null
/* * cl_3a_stats_context.cpp - CL 3a stats context * * Copyright (c) 2015 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/L...
35.972028
125
0.62325
DennissimOS
4d44b1b692af90d9d08a1683c0f764dcef412996
2,975
cpp
C++
Source/Example/example_LuaLibrary.cpp
mf01/luacpp
ff06f2c5062968616d8e50162148f6cd070d124e
[ "MIT" ]
19
2021-08-29T23:16:02.000Z
2022-03-25T13:16:14.000Z
Source/Example/example_LuaLibrary.cpp
mf01/luacpp
ff06f2c5062968616d8e50162148f6cd070d124e
[ "MIT" ]
3
2021-07-23T19:05:05.000Z
2022-02-27T05:33:26.000Z
Source/Example/example_LuaLibrary.cpp
mf01/luacpp
ff06f2c5062968616d8e50162148f6cd070d124e
[ "MIT" ]
8
2021-03-29T07:39:04.000Z
2022-02-24T18:16:42.000Z
/* MIT License Copyright (c) 2021 Jordan Vrtanoski 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, mod...
30.050505
109
0.660504
mf01
4d4a6fde5107b9e9cb6b393324dddcb1d7745fa5
963
cpp
C++
src/QtAVPlayer/qavsubtitlecodec.cpp
valbok/QAVPlayer
6138dc7a2df8aef2bf8c40d004b115af538c627c
[ "MIT" ]
null
null
null
src/QtAVPlayer/qavsubtitlecodec.cpp
valbok/QAVPlayer
6138dc7a2df8aef2bf8c40d004b115af538c627c
[ "MIT" ]
null
null
null
src/QtAVPlayer/qavsubtitlecodec.cpp
valbok/QAVPlayer
6138dc7a2df8aef2bf8c40d004b115af538c627c
[ "MIT" ]
null
null
null
/********************************************************* * Copyright (C) 2020, Val Doroshchuk <valbok@gmail.com> * * * * This file is part of QtAVPlayer. * * Free Qt Media Player based on FFmpeg. * ************************...
25.342105
91
0.519211
valbok
4d4adbd4278c8c0d7d3a851be4f1ff3249f0c1f7
521
cpp
C++
AtCoder/abc084/abc084_c.cpp
itsmevanessi/Competitive-Programming
e14208c0e0943d0dec90757368f5158bb9c4bc17
[ "MIT" ]
null
null
null
AtCoder/abc084/abc084_c.cpp
itsmevanessi/Competitive-Programming
e14208c0e0943d0dec90757368f5158bb9c4bc17
[ "MIT" ]
null
null
null
AtCoder/abc084/abc084_c.cpp
itsmevanessi/Competitive-Programming
e14208c0e0943d0dec90757368f5158bb9c4bc17
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int val[501], X[501], Y[501], Z[501]; int main(void){ int n; cin >> n; for(int i = 1; i < n; ++i){ cin >> X[i] >> Y[i] >> Z[i]; } for(int i = 1; i <= n; ++i){ long t = Y[i] + X[i]; for(int j = i + 1; j < n; ++j){ if(t > Y[j]){ t -= Y[j]...
16.28125
37
0.314779
itsmevanessi
4d4e61fde53446b927e58a271e5d33750d0390a9
1,476
cpp
C++
examples/cpp/normal_estimation.cpp
mushroom-x/Misc3D
10f05c970eda9684b19de42a128224502e23b89b
[ "MIT" ]
13
2022-02-09T11:56:20.000Z
2022-03-31T15:45:04.000Z
examples/cpp/normal_estimation.cpp
mushroom-x/Misc3D
10f05c970eda9684b19de42a128224502e23b89b
[ "MIT" ]
7
2022-02-26T08:58:43.000Z
2022-03-29T11:19:05.000Z
examples/cpp/normal_estimation.cpp
mushroom-x/Misc3D
10f05c970eda9684b19de42a128224502e23b89b
[ "MIT" ]
5
2022-02-16T06:59:00.000Z
2022-03-31T12:03:11.000Z
#include <iostream> #include <memory> #include <misc3d/common/normal_estimation.h> #include <misc3d/utils.h> #include <misc3d/vis/vis_utils.h> #include <open3d/camera/PinholeCameraIntrinsic.h> #include <open3d/geometry/Image.h> #include <open3d/geometry/PointCloud.h> #include <open3d/geometry/RGBDImage.h> #include <op...
35.142857
76
0.657182
mushroom-x
4d4faa8ae9fef95b76cc139bafe32577e6d9521e
1,012
hpp
C++
example/sim4ana/source/ApplyEnergyResponse.hpp
goroyabu/anlpy
2d5d65b898d31d69f990e973cbfdbabd8cb0a15c
[ "MIT" ]
null
null
null
example/sim4ana/source/ApplyEnergyResponse.hpp
goroyabu/anlpy
2d5d65b898d31d69f990e973cbfdbabd8cb0a15c
[ "MIT" ]
null
null
null
example/sim4ana/source/ApplyEnergyResponse.hpp
goroyabu/anlpy
2d5d65b898d31d69f990e973cbfdbabd8cb0a15c
[ "MIT" ]
null
null
null
/** @file ApplyEnergyResponse.hpp @date 2020/08/24 @author @detail Automatically generated by make_anlpy_project.sh 1.0.0 **/ #ifndef ApplyEnergyResponse_hpp #define ApplyEnergyResponse_hpp #include <VANL_Module.hpp> class ApplyEnergyResponse : public anl::VANL_Module { public: ApplyEnergyRespon...
23
71
0.733202
goroyabu
4d516fee81e17231ea2fe808adcf9608cadf91d1
3,762
cc
C++
test/unit/core/container/shared_data_test.cc
willhemsley/biodynamo
c36830de621f8e105bf5eac913b96405b5c9d75c
[ "Apache-2.0" ]
null
null
null
test/unit/core/container/shared_data_test.cc
willhemsley/biodynamo
c36830de621f8e105bf5eac913b96405b5c9d75c
[ "Apache-2.0" ]
null
null
null
test/unit/core/container/shared_data_test.cc
willhemsley/biodynamo
c36830de621f8e105bf5eac913b96405b5c9d75c
[ "Apache-2.0" ]
null
null
null
// ----------------------------------------------------------------------------- // // Copyright (C) 2021 CERN & Newcastle University for the benefit of the // BioDynaMo collaboration. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compl...
38.387755
80
0.662148
willhemsley
4d522a4da74a324d4626bb805ba9fca8290ac038
2,748
cpp
C++
src/StaticControls.cpp
pskowronski97z/EasyWin-GUI
858dc01b025d406dca3007339bb63f82c6996146
[ "MIT" ]
2
2021-03-22T08:17:50.000Z
2021-03-23T10:44:32.000Z
src/StaticControls.cpp
pskowronski97z/WinGUI
858dc01b025d406dca3007339bb63f82c6996146
[ "MIT" ]
null
null
null
src/StaticControls.cpp
pskowronski97z/WinGUI
858dc01b025d406dca3007339bb63f82c6996146
[ "MIT" ]
null
null
null
#include <StaticControls.h> #include <CommCtrl.h> #include <Window.h> WinGUI::Label::Label(const Window& parent, std::string name, const int& x, const int& y) : Control(parent, x, y, std::move(name)) { std::wstring w_name = string_to_wstring(name_); id_= STATIC_CTRL; width_ = w_name.size() * 6; handle_ = Create...
23.288136
146
0.699054
pskowronski97z
4d53e76245d75181acecf92baebee26c978be11e
369
cpp
C++
recipes/cern-root/all/test_package/Event.cpp
rockandsalt/conan-center-index
d739adcec3e4dd4c250eff559ceb738e420673dd
[ "MIT" ]
562
2019-09-04T12:23:43.000Z
2022-03-29T16:41:43.000Z
recipes/cern-root/all/test_package/Event.cpp
rockandsalt/conan-center-index
d739adcec3e4dd4c250eff559ceb738e420673dd
[ "MIT" ]
9,799
2019-09-04T12:02:11.000Z
2022-03-31T23:55:45.000Z
recipes/cern-root/all/test_package/Event.cpp
rockandsalt/conan-center-index
d739adcec3e4dd4c250eff559ceb738e420673dd
[ "MIT" ]
1,126
2019-09-04T11:57:46.000Z
2022-03-31T16:43:38.000Z
#include "Event.hpp" Event::Event() {} Event::~Event() {} Particle::Particle() {} Particle::Particle(int _id, TLorentzVector _p4) : id(_id), p4(_p4) {} Particle::~Particle() {} int Particle::getID() { return id; } void Particle::setID(int _id) { id = _id; } TLorentzVector Particle::getP4() { return p4; } void P...
19.421053
69
0.655827
rockandsalt
4d5649a874752696ebeb98383b2e45273a8be0d8
807
cpp
C++
Hashing/Incremental hash/Substring Concatenation.cpp
cenation092/InterviewBit-Solutions
ac4510a10d965fb681f7b3c80990407e18bc2668
[ "MIT" ]
7
2019-06-29T08:57:07.000Z
2021-02-13T06:43:40.000Z
Hashing/Incremental hash/Substring Concatenation.cpp
cenation092/InterviewBit-Solutions
ac4510a10d965fb681f7b3c80990407e18bc2668
[ "MIT" ]
null
null
null
Hashing/Incremental hash/Substring Concatenation.cpp
cenation092/InterviewBit-Solutions
ac4510a10d965fb681f7b3c80990407e18bc2668
[ "MIT" ]
3
2020-06-17T04:26:26.000Z
2021-02-12T04:51:40.000Z
vector<int> Solution::findSubstring(string A, const vector<string> &B) { int l = 0; int n = B[0].size(); map<string, int> Main; map<string, int> checker; for( auto it : B ){ l += it.size(); Main[it]++; } vector<int> ans; for( int i = 0; i < A.size(); i++ ){ checke...
26.032258
72
0.386617
cenation092
4d584cd3d4643561c0529a0bbdcf8228a395b398
7,707
cpp
C++
simxml/xsdgen/QDomNodeModel.cpp
bobzabcik/OpenStudio
858321dc0ad8d572de15858d2ae487b029a8d847
[ "blessing" ]
null
null
null
simxml/xsdgen/QDomNodeModel.cpp
bobzabcik/OpenStudio
858321dc0ad8d572de15858d2ae487b029a8d847
[ "blessing" ]
null
null
null
simxml/xsdgen/QDomNodeModel.cpp
bobzabcik/OpenStudio
858321dc0ad8d572de15858d2ae487b029a8d847
[ "blessing" ]
null
null
null
/* Copyright (c) 2011, Stanislaw Adaszewski All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditio...
27.525
109
0.688335
bobzabcik
4d5a4b49aae516e4575a364a1d9a0b556a3330ac
24,032
cpp
C++
test/test_server.cpp
CyanicYang/End_to_End_Encryption
a4908d86d3261a9df89d90078623198d7c03c6a8
[ "MIT" ]
1
2021-03-31T16:47:07.000Z
2021-03-31T16:47:07.000Z
test/test_server.cpp
CyanicYang/End_to_End_Encryption
a4908d86d3261a9df89d90078623198d7c03c6a8
[ "MIT" ]
null
null
null
test/test_server.cpp
CyanicYang/End_to_End_Encryption
a4908d86d3261a9df89d90078623198d7c03c6a8
[ "MIT" ]
null
null
null
#include "communicate.hpp" int log_init(std::ofstream &log_stream, const std::string log_name, const Level level, const bool* const log_env, const bool on_screen, const bool is_trunc) { // log_stream must not be opened before getting into this function. if (log_stream.is_open()) { return -1; } if ...
33.800281
158
0.537908
CyanicYang
4d5b2248c6c1dec2d77d4b23f54b5baa77cd34ea
1,923
cpp
C++
melody/CMPT-1020/ass3-2/q3.cpp
TTWNO/tutoring
be8dc2ea302efe0c5ac1927cd16098bb56464fb5
[ "CC0-1.0" ]
null
null
null
melody/CMPT-1020/ass3-2/q3.cpp
TTWNO/tutoring
be8dc2ea302efe0c5ac1927cd16098bb56464fb5
[ "CC0-1.0" ]
null
null
null
melody/CMPT-1020/ass3-2/q3.cpp
TTWNO/tutoring
be8dc2ea302efe0c5ac1927cd16098bb56464fb5
[ "CC0-1.0" ]
null
null
null
#include <iostream> using namespace std; class Date { int month; int date; int year; public: const string mth[12]={"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"}; const int days[12]={31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30...
16.159664
147
0.470619
TTWNO
4d5ca9c2a30d74c6edd552ed3f3aaf879090b801
2,570
cpp
C++
wzemcmbd/VecWzem/VecWzemVStub.cpp
mpsitech/wzem-WhizniumSBE-Engine-Monitor
0d9a204660bfad57f25dbd641fd86713986f32f1
[ "MIT" ]
null
null
null
wzemcmbd/VecWzem/VecWzemVStub.cpp
mpsitech/wzem-WhizniumSBE-Engine-Monitor
0d9a204660bfad57f25dbd641fd86713986f32f1
[ "MIT" ]
null
null
null
wzemcmbd/VecWzem/VecWzemVStub.cpp
mpsitech/wzem-WhizniumSBE-Engine-Monitor
0d9a204660bfad57f25dbd641fd86713986f32f1
[ "MIT" ]
null
null
null
/** * \file VecWzemVStub.cpp * vector VecWzemVStub (implementation) * \copyright (C) 2016-2020 MPSI Technologies GmbH * \author Alexander Wirthmueller (auto-generation) * \date created: 1 Dec 2020 */ // IP header --- ABOVE #include "VecWzemVStub.h" using namespace std; using namespace Sbecore; using namespace ...
36.197183
80
0.671595
mpsitech
4d5f99250b5504e62f3b76b5cd0c8c3186fa04e8
6,042
cpp
C++
Source/USharp/Private/ModulePaths.cpp
MiheevN/USharp
8f0205cd8628b84a66326947d93588a8c8dcbd24
[ "MIT" ]
353
2018-09-29T07:34:40.000Z
2022-03-07T17:03:06.000Z
Source/USharp/Private/ModulePaths.cpp
MiheevN/USharp
8f0205cd8628b84a66326947d93588a8c8dcbd24
[ "MIT" ]
66
2018-09-29T04:08:06.000Z
2020-09-30T22:10:56.000Z
Source/USharp/Private/ModulePaths.cpp
MiheevN/USharp
8f0205cd8628b84a66326947d93588a8c8dcbd24
[ "MIT" ]
64
2018-09-29T02:12:07.000Z
2022-02-18T07:41:45.000Z
#include "ModulePaths.h" #include "USharpPCH.h" #include "Interfaces/IPluginManager.h" #include "Modules/ModuleManifest.h" #include "HAL/PlatformProcess.h" #include "HAL/FileManager.h" #include "Misc/App.h" #include "Misc/Paths.h" DEFINE_LOG_CATEGORY_STATIC(LogModuleManager, Log, All); bool FModulePaths::BuiltDirecto...
33.016393
192
0.75091
MiheevN
4d6281f71e8ce24ab6c75d1b89c61b74bbeb1d95
578
hpp
C++
src/AST/Expressions/FunctionCallExpression.hpp
CarsonFox/CPSL
07a949166d9399f273ddf15e239ade6e5ea6e4a5
[ "MIT" ]
null
null
null
src/AST/Expressions/FunctionCallExpression.hpp
CarsonFox/CPSL
07a949166d9399f273ddf15e239ade6e5ea6e4a5
[ "MIT" ]
null
null
null
src/AST/Expressions/FunctionCallExpression.hpp
CarsonFox/CPSL
07a949166d9399f273ddf15e239ade6e5ea6e4a5
[ "MIT" ]
null
null
null
#pragma once #include "ExpressionList.hpp" struct FunctionCallExpression : Expression { std::string id; std::vector<std::shared_ptr<Expression>> args; FunctionCallExpression(char *, ExpressionList *); ~FunctionCallExpression() override = default; void print() const override; bool isConst()...
24.083333
80
0.723183
CarsonFox
4d644f6346992070b3021e1b3d9ca09e77b4e09b
5,262
hpp
C++
include/lbann/layers/loss/cross_entropy.hpp
andy-yoo/lbann-andy
237c45c392e7a5548796ac29537ab0a374e7e825
[ "Apache-2.0" ]
null
null
null
include/lbann/layers/loss/cross_entropy.hpp
andy-yoo/lbann-andy
237c45c392e7a5548796ac29537ab0a374e7e825
[ "Apache-2.0" ]
null
null
null
include/lbann/layers/loss/cross_entropy.hpp
andy-yoo/lbann-andy
237c45c392e7a5548796ac29537ab0a374e7e825
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2014-2016, Lawrence Livermore National Security, LLC. // Produced at the Lawrence Livermore National Laboratory. // Written by the LBANN Research Team (B. Van Essen, et al.) listed in // the CONTRIBUTORS file. <lbann-dev@l...
35.08
87
0.640631
andy-yoo
4d67debeb5f31a7517fef7231be535c0f7e330fd
31,714
cc
C++
lullaby/systems/transform/transform_system.cc
dd181818/lullaby
71e696c3798068a350e820433c9d3185fa28c0ce
[ "Apache-2.0" ]
1
2018-11-09T03:45:25.000Z
2018-11-09T03:45:25.000Z
lullaby/systems/transform/transform_system.cc
dd181818/lullaby
71e696c3798068a350e820433c9d3185fa28c0ce
[ "Apache-2.0" ]
null
null
null
lullaby/systems/transform/transform_system.cc
dd181818/lullaby
71e696c3798068a350e820433c9d3185fa28c0ce
[ "Apache-2.0" ]
null
null
null
/* Copyright 2017 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
33.243187
80
0.679321
dd181818
4d6b6e0b6ffd0f3e512a536cb057481079fd0918
5,613
cxx
C++
inetsrv/intlwb/thai2/wb/stemmer.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetsrv/intlwb/thai2/wb/stemmer.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetsrv/intlwb/thai2/wb/stemmer.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+--------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1997. // // File: stemmer.cxx // // Contents: Thai Stemmer // // History: weibz, 10-Nov-1997 created // //---------------------------------------...
25.283784
84
0.441475
npocmaka
4d6cdafaade749c118cd6a6ef84cfd1af3abc49d
875
cpp
C++
SOLVER/src/core/source/elem_src/solid/SolidForce.cpp
nicklinyi/AxiSEM-3D
cd11299605cd6b92eb867d4109d2e6a8f15e6b4d
[ "MIT" ]
8
2020-06-05T01:13:20.000Z
2022-02-24T05:11:50.000Z
SOLVER/src/core/source/elem_src/solid/SolidForce.cpp
nicklinyi/AxiSEM-3D
cd11299605cd6b92eb867d4109d2e6a8f15e6b4d
[ "MIT" ]
24
2020-10-21T19:03:38.000Z
2021-11-17T21:32:02.000Z
SOLVER/src/core/source/elem_src/solid/SolidForce.cpp
nicklinyi/AxiSEM-3D
cd11299605cd6b92eb867d4109d2e6a8f15e6b4d
[ "MIT" ]
5
2020-06-21T11:54:22.000Z
2021-06-23T01:02:39.000Z
// // SolidForce.cpp // AxiSEM3D // // Created by Kuangdai Leng on 3/5/19. // Copyright © 2019 Kuangdai Leng. All rights reserved. // // force source on solid element #include "SolidForce.hpp" #include "SolidElement.hpp" // constructor SolidForce::SolidForce(std::unique_ptr<STF> &stf, con...
25.735294
68
0.645714
nicklinyi
4d6dd0144c5203b05354fff0a0fc36d19f466ab1
5,400
hpp
C++
src/context-traits.hpp
YutaroOrikasa/user-thread
2d82ee257115e67630f5743ceb169441854fac22
[ "MIT" ]
null
null
null
src/context-traits.hpp
YutaroOrikasa/user-thread
2d82ee257115e67630f5743ceb169441854fac22
[ "MIT" ]
2
2017-05-02T07:02:23.000Z
2017-05-20T09:32:52.000Z
src/context-traits.hpp
YutaroOrikasa/user-thread
2d82ee257115e67630f5743ceb169441854fac22
[ "MIT" ]
null
null
null
#ifndef USER_THREAD_CONTEXTTRAITS_HPP #define USER_THREAD_CONTEXTTRAITS_HPP #include "mysetjmp.h" #include "user-thread-debug.hpp" #include "splitstackapi.h" #include "stack-address-tools.hpp" #include "thread-data/thread-data.hpp" #include "thread-data/splitstack-thread-data.hpp" #include "call_with_alt_stack_arg3.h"...
27.272727
153
0.663333
YutaroOrikasa
4d6e580c38cfb906fa4cb8a78141dd1970b0eca3
4,254
cpp
C++
src/glplayer.cpp
felixqin/gltest
51f0dab25700a3fdcfba29e61029d6a98c283747
[ "MIT" ]
null
null
null
src/glplayer.cpp
felixqin/gltest
51f0dab25700a3fdcfba29e61029d6a98c283747
[ "MIT" ]
null
null
null
src/glplayer.cpp
felixqin/gltest
51f0dab25700a3fdcfba29e61029d6a98c283747
[ "MIT" ]
null
null
null
#include <QPainter> #include <QOpenGLShader> #include <QTimerEvent> #include "glplayer.h" #define LOGI printf #define LOGE printf CGLPlayer::CGLPlayer(QWidget* parent, Qt::WindowFlags f) : QOpenGLWidget(parent, f) , mGLInitialized(false) , mProgram(NULL) , mVShader(NULL) , mFShader(NULL) , m...
26.754717
98
0.602257
felixqin
4d703856c91c7aa738c542f8079b22d00ed7ef83
1,337
hpp
C++
include/Entity/States.hpp
cristianglezm/AntFarm
df7551621ad6eda6dae43a2ede56222500be1ae1
[ "Apache-2.0" ]
null
null
null
include/Entity/States.hpp
cristianglezm/AntFarm
df7551621ad6eda6dae43a2ede56222500be1ae1
[ "Apache-2.0" ]
1
2016-03-13T10:55:21.000Z
2016-03-13T10:55:21.000Z
include/Entity/States.hpp
cristianglezm/AntFarm
df7551621ad6eda6dae43a2ede56222500be1ae1
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////// // Copyright 2014 Cristian Glez <Cristian.glez.m@gmail.com> // // 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...
33.425
75
0.635004
cristianglezm
4d707008debed064cfd47a76892b346cbc88968f
205,605
cc
C++
third_party/blink/renderer/core/layout/layout_block_flow.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
third_party/blink/renderer/core/layout/layout_block_flow.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
third_party/blink/renderer/core/layout/layout_block_flow.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
/* * Copyright (C) 2013 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
42.003064
91
0.70938
zipated
4d70c50978d1d23df30eb43b1757f954637c226b
2,002
hpp
C++
include/mos/gfx/model.hpp
morganbengtsson/mo
c719ff6b35478b068988901d0bf7253cb672e87a
[ "MIT" ]
230
2016-02-15T20:46:01.000Z
2022-03-07T11:56:12.000Z
include/mos/gfx/model.hpp
morganbengtsson/mo
c719ff6b35478b068988901d0bf7253cb672e87a
[ "MIT" ]
79
2016-02-07T11:37:04.000Z
2021-09-29T09:14:27.000Z
include/mos/gfx/model.hpp
morganbengtsson/mo
c719ff6b35478b068988901d0bf7253cb672e87a
[ "MIT" ]
14
2018-05-16T13:10:22.000Z
2021-09-28T10:23:31.000Z
#pragma once #include <memory> #include <optional> #include <json.hpp> #include <mos/gfx/assets.hpp> #include <mos/gfx/material.hpp> #include <mos/gfx/mesh.hpp> #include <mos/gfx/models.hpp> #include <mos/gfx/texture_2d.hpp> namespace mos::gfx { class Assets; class Material; namespace gl { class Renderer; } /** ...
23.011494
71
0.661339
morganbengtsson
4d737421f833e42bf6782edcf8d2210f1eb782c6
979
cpp
C++
Vijos/1776.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
18
2019-01-01T13:16:59.000Z
2022-02-28T04:51:50.000Z
Vijos/1776.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
null
null
null
Vijos/1776.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
5
2019-09-13T08:48:17.000Z
2022-02-19T06:59:03.000Z
#include <cstdio> #include <algorithm> #include <cstdlib> #define MAXN 20010 #define MAXM 100010 using namespace std; struct thief { int first; int second; int anger; }; thief a[MAXM]; int father[2 * MAXN]; int i, n, m; int tmp1, tmp2, tmp3, tmp4; bool cmp(const thief &x, const thief &y) { return x.anger > y.ang...
16.59322
60
0.551583
HeRaNO
4d74b1aa40359491cb37252c1186ba7298149e78
1,170
cpp
C++
server/sockchat/threadctx.cpp
sockchat/server-historical
34befc2f7c2e310a9b58071633c2da00f5e7e308
[ "Apache-2.0" ]
1
2019-02-10T17:46:27.000Z
2019-02-10T17:46:27.000Z
server/sockchat/threadctx.cpp
sockchat/server-historical
34befc2f7c2e310a9b58071633c2da00f5e7e308
[ "Apache-2.0" ]
null
null
null
server/sockchat/threadctx.cpp
sockchat/server-historical
34befc2f7c2e310a9b58071633c2da00f5e7e308
[ "Apache-2.0" ]
null
null
null
#include "cthread.h" ThreadContext::Connection::Connection(sc::Socket *sock) { this->sock = sock; } ThreadContext::ThreadContext(sc::Socket *sock) { this->pendingConns.push_back(Connection(sock)); } void ThreadContext::Finish() { for(auto i = this->conns.begin(); i != this->conns.end(); ) i = Clo...
26.590909
118
0.648718
sockchat
4d74e17e57df21d6e4e746c2c207ea6ccdc0245b
191
hpp
C++
pypedream/array_col_reader.hpp
garywu/pipedream
d89a4031d5ee78c05c6845341607a59528f0bd75
[ "BSD-3-Clause" ]
8
2018-02-21T04:13:25.000Z
2020-04-24T20:05:47.000Z
pypedream/array_col_reader.hpp
garywu/pipedream
d89a4031d5ee78c05c6845341607a59528f0bd75
[ "BSD-3-Clause" ]
1
2019-05-13T13:14:32.000Z
2019-05-13T13:14:32.000Z
pypedream/array_col_reader.hpp
garywu/pypedream
d89a4031d5ee78c05c6845341607a59528f0bd75
[ "BSD-3-Clause" ]
null
null
null
#ifndef ARRAY_COL_READER_HPP #define ARRAY_COL_READER_HPP #include <Python.h> #include "parser_defs.hpp" extern PyTypeObject ArrayColReaderType; #endif // #ifndef ARRAY_COL_READER_HPP
13.642857
39
0.806283
garywu
4d76878a3351a438d5a729fd296c7b35a1ab2597
175,942
cpp
C++
jni/lua/packages/opengl.cpp
zchajax/WiEngine
ea2fa297f00aa5367bb5b819d6714ac84a8a8e25
[ "MIT" ]
1
2020-12-02T03:09:18.000Z
2020-12-02T03:09:18.000Z
jni/lua/packages/opengl.cpp
acremean/WiEngine
a8267bbb797b0d7326a06e1a02831a93edf007d6
[ "MIT" ]
null
null
null
jni/lua/packages/opengl.cpp
acremean/WiEngine
a8267bbb797b0d7326a06e1a02831a93edf007d6
[ "MIT" ]
1
2020-09-01T06:43:27.000Z
2020-09-01T06:43:27.000Z
/* ** Lua binding: opengl ** Generated automatically by tolua++-1.0.92 on Sat Dec 24 20:13:50 2011. */ #ifndef __cplusplus #include "stdlib.h" #endif #include "string.h" #include "tolua++.h" /* Exported function */ TOLUA_API int tolua_opengl_open (lua_State* tolua_S); #include "WiEngine.h" /* function to release...
31.261905
123
0.750497
zchajax
4d7827ef6aaed40723c3bf8aba84df5e6b037875
986
cpp
C++
src/Score.cpp
Pyr0x1/Memory
e73f68554b1707bccd984e9d3725e597aee7c82a
[ "MIT" ]
1
2016-01-15T04:45:26.000Z
2016-01-15T04:45:26.000Z
src/Score.cpp
Pyr0x1/Memory
e73f68554b1707bccd984e9d3725e597aee7c82a
[ "MIT" ]
null
null
null
src/Score.cpp
Pyr0x1/Memory
e73f68554b1707bccd984e9d3725e597aee7c82a
[ "MIT" ]
null
null
null
#include <iostream> #include <sstream> #include "Score.h" Score::Score (std::string fontPath, SDL_Color fontColor, int size) { this->font = TTF_OpenFont (fontPath.c_str(), size); if(!this->font) printf("TTF_OpenFont: %s\n", TTF_GetError()); this->color = fontColor; this->value = 0; } void Score::write (SDL_Re...
20.541667
83
0.691684
Pyr0x1
4d7efa0da1d3e666c546b9ac7a3b9361d9965cb9
19,300
hpp
C++
src/projects/lja/multi_graph.hpp
fedarko/LJA
f20c85395d741b0f94f6d0172c7451d72d7c8713
[ "BSD-3-Clause" ]
null
null
null
src/projects/lja/multi_graph.hpp
fedarko/LJA
f20c85395d741b0f94f6d0172c7451d72d7c8713
[ "BSD-3-Clause" ]
null
null
null
src/projects/lja/multi_graph.hpp
fedarko/LJA
f20c85395d741b0f94f6d0172c7451d72d7c8713
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <sequences/sequence.hpp> #include <unordered_set> #include <unordered_map> #include <experimental/filesystem> #include <fstream> #include <common/string_utils.hpp> #include <sequences/contigs.hpp> namespace multigraph { class Edge; struct Vertex { Sequence seq; int id; ...
38.067061
135
0.412642
fedarko
4d7f0085ce495c58f5b980a403b741030b0fab38
274
cpp
C++
src/unit_tests/main.cpp
tyrbedarf/LumixEngine
0ec51d724abcc06f297c3e189282763a630f7eb5
[ "MIT" ]
3
2021-05-27T10:43:33.000Z
2021-05-27T10:44:02.000Z
src/unit_tests/main.cpp
tyrbedarf/LumixEngine
0ec51d724abcc06f297c3e189282763a630f7eb5
[ "MIT" ]
null
null
null
src/unit_tests/main.cpp
tyrbedarf/LumixEngine
0ec51d724abcc06f297c3e189282763a630f7eb5
[ "MIT" ]
3
2021-05-27T10:44:15.000Z
2021-11-18T09:20:10.000Z
#include "engine/lumix.h" #include "engine/debug/floating_points.h" #include "unit_tests/suite/unit_test_app.h" int main(int argc, const char * argv[]) { Lumix::enableFloatingPointTraps(true); Lumix::UnitTest::App app; app.init(); app.run(argc, argv); app.exit(); }
18.266667
43
0.715328
tyrbedarf
4d8118e6f98fdefb970263985e8e6be4cbdd5f19
396
hpp
C++
est/include/est/est_io_cb.hpp
dungeonsnd/lite-libs
38f84bd1cf6f1a43836f43e57fcd1d22b18d706b
[ "FSFAP" ]
null
null
null
est/include/est/est_io_cb.hpp
dungeonsnd/lite-libs
38f84bd1cf6f1a43836f43e57fcd1d22b18d706b
[ "FSFAP" ]
null
null
null
est/include/est/est_io_cb.hpp
dungeonsnd/lite-libs
38f84bd1cf6f1a43836f43e57fcd1d22b18d706b
[ "FSFAP" ]
null
null
null
#ifndef _HEADER_FILE_EST_IO_CB_HPP_ #define _HEADER_FILE_EST_IO_CB_HPP_ typedef void (*est_funcIocb) (bufferevent *bev, void *arg); typedef void (*est_funcErrorcb) (bufferevent *bev,short event, void *arg); typedef void (*est_funcTimecb) (int fd,short event, void *arg); typedef void (*est_funcAcceptcb) (evutil_socket_...
39.6
84
0.790404
dungeonsnd
4d871ec0231e6e547b55a7c9b30da5c58d55674f
3,125
cc
C++
CodeChef/SNACKDOWN/16/Pre-Elimination A/Problem F/F.cc
VastoLorde95/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
170
2017-07-25T14:47:29.000Z
2022-01-26T19:16:31.000Z
CodeChef/SNACKDOWN/16/Pre-Elimination A/Problem F/F.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
null
null
null
CodeChef/SNACKDOWN/16/Pre-Elimination A/Problem F/F.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
55
2017-07-28T06:17:33.000Z
2021-10-31T03:06:22.000Z
#include <bits/stdc++.h> #define sd(x) scanf("%d",&x) #define sd2(x,y) scanf("%d%d",&x,&y) #define sd3(x,y,z) scanf("%d%d%d",&x,&y,&z) #define fi first #define se second #define pb push_back #define mp make_pair #define foreach(it, v) for(__typeof((v).begin()) it=(v).begin(); it != (v).end(); ++it) #define meta __FUN...
21.258503
97
0.52608
VastoLorde95
4d902c774febb89d40c247919b0b3fb95f63f778
584
cpp
C++
BOJ_CPP/22477.cpp
tnsgh9603/BOJ_CPP
432b1350f6c67cce83aec3e723e30a3c6b5dbfda
[ "MIT" ]
null
null
null
BOJ_CPP/22477.cpp
tnsgh9603/BOJ_CPP
432b1350f6c67cce83aec3e723e30a3c6b5dbfda
[ "MIT" ]
null
null
null
BOJ_CPP/22477.cpp
tnsgh9603/BOJ_CPP
432b1350f6c67cce83aec3e723e30a3c6b5dbfda
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define fastio ios::sync_with_stdio(0), cin.tie(0), cout.tie(0) using namespace std; int main() { fastio; int n, m; cin >> n; string s; map<string, int> mp; for (int i = 0; i < n; ++i) { cin >> s; mp[s] = 1; } cin >> m; bool flag = 1; fo...
20.137931
63
0.409247
tnsgh9603
4d94f198f30b3eafebb4779688b9ef5713d30f9a
406
cpp
C++
luogu/c++/P5727.cpp
Crabtime/cpp-project
1d79aab95be18d704e431efc5eff94d11e6096d3
[ "CC0-1.0" ]
1
2020-08-09T01:35:17.000Z
2020-08-09T01:35:17.000Z
luogu/c++/P5727.cpp
Crabtime/cpp-project
1d79aab95be18d704e431efc5eff94d11e6096d3
[ "CC0-1.0" ]
null
null
null
luogu/c++/P5727.cpp
Crabtime/cpp-project
1d79aab95be18d704e431efc5eff94d11e6096d3
[ "CC0-1.0" ]
null
null
null
#include<iostream> #pragma GCC optimize(3) using namespace std; void bingbao(long long n) { if (n == 1) { std:: cout << 1 << ' '; return; } if (n%2 == 0) { bingbao(n/2); } else { bingbao(n*3+1); } std:: cout << n << ' '; } i...
14
32
0.399015
Crabtime
4d97a8916b1bf346f3c89869d6f1819a06d42ab7
648
hh
C++
include/ThreadRun.hh
phirippu/instrument-simulation
0a7cec84d8945a6f11e0ddca00f1e8fc0d32d7f8
[ "CC-BY-4.0" ]
null
null
null
include/ThreadRun.hh
phirippu/instrument-simulation
0a7cec84d8945a6f11e0ddca00f1e8fc0d32d7f8
[ "CC-BY-4.0" ]
null
null
null
include/ThreadRun.hh
phirippu/instrument-simulation
0a7cec84d8945a6f11e0ddca00f1e8fc0d32d7f8
[ "CC-BY-4.0" ]
1
2021-03-08T16:01:14.000Z
2021-03-08T16:01:14.000Z
// // Created by phil on 5/17/18. // #ifndef THREADRUN_HH #define THREADRUN_HH #include <G4Run.hh> #include <map> #include <G4ToolsAnalysisManager.hh> #include "SensitiveDetector.hh" #include "DetectorConstruction.hh" class ThreadRun : public G4Run { public: explicit ThreadRun(const G4String &rootFileName); ...
18.514286
54
0.736111
phirippu
4d99cffcb437d087031789496c36ba21685621ea
5,851
cc
C++
jjOpenCLBasic.cc
ied206/NPKICracker
72052835fd97286525051036d6148a55bf594f72
[ "MIT" ]
10
2015-12-05T02:56:04.000Z
2020-05-28T02:41:32.000Z
jjOpenCLBasic.cc
ied206/NPKICracker
72052835fd97286525051036d6148a55bf594f72
[ "MIT" ]
null
null
null
jjOpenCLBasic.cc
ied206/NPKICracker
72052835fd97286525051036d6148a55bf594f72
[ "MIT" ]
4
2015-11-27T13:23:51.000Z
2021-07-22T08:32:48.000Z
#include "jjOpenCLBasic.hpp" cl_context createContext() { cl_int errNum; JJ_CL_PLATFORMS platformsInformations; cl_context context = NULL; errNum = jjOpenCLPlatformInitialize(&platformsInformations, true); cl_context_properties contextProperties[] = { CL_CONTEXT_PLATFORM, (cl_context_properties)platformsInfor...
39.802721
170
0.727055
ied206
4d9afcc5f9be1c282d9b96e0a98c71865e63aedd
3,072
cpp
C++
CodeChef/IITI15.cpp
TISparta/competitive-programming-solutions
31987d4e67bb874bf15653565c6418b5605a20a8
[ "MIT" ]
1
2018-01-30T13:21:30.000Z
2018-01-30T13:21:30.000Z
CodeChef/IITI15.cpp
TISparta/competitive-programming-solutions
31987d4e67bb874bf15653565c6418b5605a20a8
[ "MIT" ]
null
null
null
CodeChef/IITI15.cpp
TISparta/competitive-programming-solutions
31987d4e67bb874bf15653565c6418b5605a20a8
[ "MIT" ]
1
2018-08-29T13:26:50.000Z
2018-08-29T13:26:50.000Z
/** * > Author : TISparta * > Date : 03-05-18 * > Tags : Mo algorithm, BIT * > Difficulty : 5 / 10 */ #include <bits/stdc++.h> using namespace std; const int MAX_N = 2e4, MAX_Q = 2e4, OFFSET = 10; int N, Q, BLOCK_SIZE, arr[MAX_N + OFFSET], FT[MAX_N + OFFSET]; unordered_map <int, int> order; long long number_in...
25.180328
85
0.556315
TISparta
4d9b94c441c12910416148b948cea09e639df2a9
2,572
cpp
C++
src/Algorithm/bellman_ford.cpp
petuzk/PAMSI-2
473e7e57823a01de3464c0cac9f795f024c1c9bf
[ "MIT" ]
null
null
null
src/Algorithm/bellman_ford.cpp
petuzk/PAMSI-2
473e7e57823a01de3464c0cac9f795f024c1c9bf
[ "MIT" ]
null
null
null
src/Algorithm/bellman_ford.cpp
petuzk/PAMSI-2
473e7e57823a01de3464c0cac9f795f024c1c9bf
[ "MIT" ]
null
null
null
#include "inc/Algorithm/bellman_ford.hpp" template <typename VIT, typename EIT> void bellman_ford(const IVGraph<VIT, EIT>& graph, IVGraph<VIT, EIT>& tree, const Vertex<VIT>* start, EIT zero_cost, EIT max_cost) { // Pobierz tablicę wierzchołków const auto graph_vertices = graph.vertices(); std::size_t num_vertices =...
30.987952
131
0.670684
petuzk
4d9e5a617c52495b7549a971f1780d0dccf99c48
296
cpp
C++
CPP/Tests/typelens.cpp
lkpetrich/Semisimple-Lie-Algebras
163a221c65cbd6f4caea34452007d01b6688b15d
[ "MIT" ]
null
null
null
CPP/Tests/typelens.cpp
lkpetrich/Semisimple-Lie-Algebras
163a221c65cbd6f4caea34452007d01b6688b15d
[ "MIT" ]
null
null
null
CPP/Tests/typelens.cpp
lkpetrich/Semisimple-Lie-Algebras
163a221c65cbd6f4caea34452007d01b6688b15d
[ "MIT" ]
null
null
null
#include <stdio.h> #define dumptype(name,type) printf("%s: %lu\n",name,sizeof(type)); int main() { printf("Dumps the lengths of various C++ integer data types.\n\n"); dumptype("char",char) dumptype("short",short) dumptype("int",int) dumptype("long",long) dumptype("long long",long long) }
22.769231
68
0.685811
lkpetrich
4da00025d02c6016049b4ae806c28fd07ea05119
1,139
cpp
C++
src/mesh.cpp
mfirmin/c5sc
66b06061bf0f1a53c435f4109cd7fa636466c353
[ "MIT" ]
1
2015-01-05T07:49:33.000Z
2015-01-05T07:49:33.000Z
src/mesh.cpp
mfirmin/c5sc
66b06061bf0f1a53c435f4109cd7fa636466c353
[ "MIT" ]
null
null
null
src/mesh.cpp
mfirmin/c5sc
66b06061bf0f1a53c435f4109cd7fa636466c353
[ "MIT" ]
null
null
null
#include <boost/geometry.hpp> #include <boost/geometry/geometries/point_xy.hpp> #include <boost/geometry/multi/geometries/multi_point.hpp> #include <iostream> #include <vector> #include "mesh.h" #include "component.h" #include "vertex.h" void Mesh::createHull(int c_num) { using boost::geometry::append; using bo...
27.780488
172
0.697981
mfirmin
4da1d3528ae1af961618792d29711b3ad89f55ff
2,352
cpp
C++
src/algos/tree.cpp
mhough/braingl
53e2078adc10731ee62feec11dcb767c4c6c0d35
[ "MIT" ]
5
2016-03-17T07:02:11.000Z
2021-12-12T14:43:58.000Z
src/algos/tree.cpp
mhough/braingl
53e2078adc10731ee62feec11dcb767c4c6c0d35
[ "MIT" ]
null
null
null
src/algos/tree.cpp
mhough/braingl
53e2078adc10731ee62feec11dcb767c4c6c0d35
[ "MIT" ]
3
2015-10-29T15:21:01.000Z
2020-11-25T09:41:21.000Z
/* * tree.cpp * * Created on: 17.09.2013 * Author: Ralph */ #include "tree.h" #include <QDebug> Tree::Tree( int id, float value ) : m_id( id ), m_value( value ), m_texturePosition( QVector3D( 0, 0, 0 ) ), m_parent( 0 ) { QColor color1( 255, 0, 0 ); QColor color2(...
17.684211
83
0.520833
mhough
4da20923bcfa8a49967d6d80ae93d584b57e07d4
3,425
cpp
C++
samples/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.FileIOPermission/CPP/remarks.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_CLR_System/system.Security.Permissions.FileIOPermission/CPP/remarks.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_CLR_System/system.Security.Permissions.FileIOPermission/CPP/remarks.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 namespace System; using namespace System::Security; using namespace System::Security::Permissions; int main() { try { FileIOPermission^ fileIOPerm1; fileIOPerm1 = gcnew FileIOPermission(PermissionState::Unrestricted); // Tests for: SetPathList(FileIOPermissionAccess...
36.052632
117
0.597372
hamarb123
4da2ad46b72c9c6a89fba8cbf75af5eca1e0d36a
566
hxx
C++
Legolas/Matrix/tst/ArbitraryPrecision/APFloat.hxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
null
null
null
Legolas/Matrix/tst/ArbitraryPrecision/APFloat.hxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
null
null
null
Legolas/Matrix/tst/ArbitraryPrecision/APFloat.hxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
1
2021-02-11T14:43:25.000Z
2021-02-11T14:43:25.000Z
/** * project DESCARTES * * @file APFloat.hxx * * @author Laurent PLAGNE * @date june 2004 - january 2005 * * @par Modifications * - author date object * * (c) Copyright EDF R&D - CEA 2001-2005 */ #ifndef __LEGOLAS_APFLOAT_HXX__ #define __LEGOLAS_APFLOAT_HXX__ #include "apfloat.h" #include "apcp...
15.722222
49
0.660777
LaurentPlagne
4da474db05c2e6b20c92184ccd98bc28b6686d82
415
hpp
C++
Etaler/Algorithms/Anomaly.hpp
mewpull/Etaler
fcc88a96ec05af34d7c1717beef0e35671015152
[ "BSD-3-Clause" ]
1
2020-04-19T17:23:49.000Z
2020-04-19T17:23:49.000Z
Etaler/Algorithms/Anomaly.hpp
mewpull/Etaler
fcc88a96ec05af34d7c1717beef0e35671015152
[ "BSD-3-Clause" ]
null
null
null
Etaler/Algorithms/Anomaly.hpp
mewpull/Etaler
fcc88a96ec05af34d7c1717beef0e35671015152
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <Etaler/Core/Tensor.hpp> namespace et { static float anomaly(const Tensor& pred, const Tensor& real) { et_assert(real.dtype() == DType::Bool); et_assert(pred.dtype() == DType::Bool); et_assert(real.shape() == pred.shape()); Tensor should_predict = sum(real); Tensor not_predicted = sum(!pr...
21.842105
62
0.703614
mewpull
4da7af0c2b116e8de289895eb28ad22d34c79805
2,813
cpp
C++
base_engine/src/components/indexer/local_descriptor/sift_extractor.cpp
AiPratice/VideoAnalysisEngine
e6aa67e5b0d08d6b3ae1b63988982ef31e60bf7a
[ "Apache-2.0" ]
23
2018-09-12T10:04:32.000Z
2022-02-13T12:07:53.000Z
base_engine/src/components/indexer/local_descriptor/sift_extractor.cpp
AiPratice/VideoAnalysisTool
e6aa67e5b0d08d6b3ae1b63988982ef31e60bf7a
[ "Apache-2.0" ]
1
2021-03-24T03:37:28.000Z
2021-03-24T03:37:28.000Z
base_engine/src/components/indexer/local_descriptor/sift_extractor.cpp
AiPratice/VideoAnalysisTool
e6aa67e5b0d08d6b3ae1b63988982ef31e60bf7a
[ "Apache-2.0" ]
12
2018-09-12T10:04:33.000Z
2021-12-20T12:47:07.000Z
#include "sift_extractor.h" #include "sift_feat.h" #include "../../../common/utils/io_utils.h" #include <boost/log/trivial.hpp> #include <chrono> #include <ctime> #include <fstream> #include <cmath> #include <sys/stat.h> #include <thread> using namespace std; using namespace vrs::common; namespace vrs { namespace com...
31.606742
136
0.742268
AiPratice
4da85f9f4aeae3f72f131919678d630c30d6e6cf
6,408
cpp
C++
QP/v5.4.2/qpcpp/examples/win32/comp_qm/alarm.cpp
hyller/GladiatorCots
36a69df68675bb40b562081c531e6674037192a8
[ "Unlicense" ]
null
null
null
QP/v5.4.2/qpcpp/examples/win32/comp_qm/alarm.cpp
hyller/GladiatorCots
36a69df68675bb40b562081c531e6674037192a8
[ "Unlicense" ]
null
null
null
QP/v5.4.2/qpcpp/examples/win32/comp_qm/alarm.cpp
hyller/GladiatorCots
36a69df68675bb40b562081c531e6674037192a8
[ "Unlicense" ]
null
null
null
//**************************************************************************** // Model: comp.qm // File: ./alarm.cpp // // This code has been generated by QM tool (see state-machine.com/qm). // DO NOT EDIT THIS FILE MANUALLY. All your changes will be lost. // // This program is open source software: you can redistrib...
35.798883
84
0.50515
hyller
4dacb045a253c4f5e928d1683fefea4bcfcb7711
2,838
cpp
C++
src/hdc1000/hdc1000.cpp
moredu/upm
d6f76ff8c231417666594214679c49399513112e
[ "MIT" ]
619
2015-01-14T23:50:18.000Z
2019-11-08T14:04:33.000Z
src/hdc1000/hdc1000.cpp
moredu/upm
d6f76ff8c231417666594214679c49399513112e
[ "MIT" ]
576
2015-01-02T09:55:14.000Z
2019-11-12T15:31:10.000Z
src/hdc1000/hdc1000.cpp
moredu/upm
d6f76ff8c231417666594214679c49399513112e
[ "MIT" ]
494
2015-01-14T18:33:56.000Z
2019-11-07T10:08:15.000Z
/* * Author: Norbert Wesp <nwesp@phytec.de> * Copyright (c) 2017 Phytec Messtechnik GmbH. * * based on: RIOT-driver hdc1000 by Johann Fischer <j.fischer@phytec.de> * * This program and the accompanying materials are made available under the * terms of the The MIT License which is available at * https://opensour...
21.022222
75
0.59549
moredu
4dad07d32ef5afd291098b79cbf7d4e087488044
747
hpp
C++
test/data-tests/include/common.hpp
zhaitianduo/libosmium
42fc3238f942baac47d8520425664376478718b1
[ "BSL-1.0" ]
4,526
2015-01-01T15:31:00.000Z
2022-03-31T17:33:49.000Z
test/data-tests/include/common.hpp
zhaitianduo/libosmium
42fc3238f942baac47d8520425664376478718b1
[ "BSL-1.0" ]
4,497
2015-01-01T15:29:12.000Z
2022-03-31T19:19:35.000Z
test/data-tests/include/common.hpp
zhaitianduo/libosmium
42fc3238f942baac47d8520425664376478718b1
[ "BSL-1.0" ]
3,023
2015-01-01T18:40:53.000Z
2022-03-30T13:30:46.000Z
#ifndef COMMON_HPP #define COMMON_HPP #include <osmium/index/map/dummy.hpp> #include <osmium/index/map/sparse_mem_array.hpp> #include <osmium/geom/wkt.hpp> #include <osmium/handler.hpp> #include <osmium/handler/node_locations_for_ways.hpp> #include <osmium/io/xml_input.hpp> #include <osmium/visitor.hpp> using index_...
32.478261
109
0.803213
zhaitianduo
4dae1d24938f250fb960ddb05d89a72f274f2652
5,755
cpp
C++
src/FeedController.cpp
JadedCtrl/rifen
eddbc45d987abe6524715a25ed56e09e8c349300
[ "MIT" ]
4
2021-03-22T06:38:33.000Z
2021-03-23T04:57:44.000Z
src/FeedController.cpp
JadedCtrl/rifen
eddbc45d987abe6524715a25ed56e09e8c349300
[ "MIT" ]
12
2021-02-25T22:13:36.000Z
2021-05-03T01:21:50.000Z
src/FeedController.cpp
JadedCtrl/rifen
eddbc45d987abe6524715a25ed56e09e8c349300
[ "MIT" ]
1
2021-10-11T06:40:06.000Z
2021-10-11T06:40:06.000Z
/* * Copyright 2020, Jaidyn Levesque <jadedctrl@teknik.io> * All rights reserved. Distributed under the terms of the MIT license. */ #include "FeedController.h" #include <iostream> #include <Catalog.h> #include <Directory.h> #include <FindDirectory.h> #include <Message.h> #include <MessageRunner.h> #include <Noti...
23.205645
82
0.699913
JadedCtrl
4db0b6eeb82823b53363ac6c2a5cd5b8bce8c6d4
4,859
cpp
C++
toonz/sources/stdfx/igs_perlin_noise.cpp
wofogen/tahoma2d
ce5a89a7b1027b2c1769accb91184a2ee6442b4d
[ "BSD-3-Clause" ]
36
2020-05-18T22:26:35.000Z
2022-02-19T00:09:25.000Z
toonz/sources/stdfx/igs_perlin_noise.cpp
LibrePhone/opentoonz
cb95a29db4c47ab1f36a6e85a039c4c9c901f88a
[ "BSD-3-Clause" ]
22
2017-03-16T18:52:36.000Z
2019-09-09T06:02:53.000Z
toonz/sources/stdfx/igs_perlin_noise.cpp
LibrePhone/opentoonz
cb95a29db4c47ab1f36a6e85a039c4c9c901f88a
[ "BSD-3-Clause" ]
9
2019-05-27T02:48:16.000Z
2022-03-29T12:32:04.000Z
#include <cmath> // pow() #include "iwa_noise1234.h" namespace { double perlin_noise_3d_(const double x, const double y, const double z, const int octaves_start // 0<= , const int octaves_end // 0<= , ...
36.810606
80
0.529739
wofogen
4db6989b183d07f065f757f7901cdeda556dacae
97
hpp
C++
Vega/Source/Vega/Vendor/Imgui.hpp
killdaNME/RyZen7m-3000apu
a5d2ce7966f2c9e5cc7f64d9d5bfaa5986cd7b48
[ "MIT" ]
1
2020-12-13T15:31:53.000Z
2020-12-13T15:31:53.000Z
Vega/Source/Vega/Vendor/Imgui.hpp
killdaNME/RyZen7m-3000apu
a5d2ce7966f2c9e5cc7f64d9d5bfaa5986cd7b48
[ "MIT" ]
null
null
null
Vega/Source/Vega/Vendor/Imgui.hpp
killdaNME/RyZen7m-3000apu
a5d2ce7966f2c9e5cc7f64d9d5bfaa5986cd7b48
[ "MIT" ]
null
null
null
#include <imgui.h> #include <examples/imgui_impl_glfw.h> #include <examples/imgui_impl_opengl3.h>
32.333333
40
0.804124
killdaNME
4dbaab39ff1bdd4141f38cbb132cabba06db39ec
1,468
cpp
C++
src/game/server/tf/bot/behavior/tf_bot_dead.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/game/server/tf/bot/behavior/tf_bot_dead.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/game/server/tf/bot/behavior/tf_bot_dead.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // tf_bot_dead.cpp // Push up daisies // Michael Booth, May 2009 #include "cbase.h" #include "tf_player.h" #include "tf_gamerules.h" #include "bot/tf_bot.h" #include "bot/behavior/tf_bot_dead.h" #include "bot/behavior/tf_bot_behavior.h" #in...
24.881356
95
0.586512
cstom4994
4dbb7b500506a772700d48c7bceae207b03479a1
1,597
cc
C++
src/word_align/ttablewithmax.cc
nrc-cnrc/Portage-SMT-TAS
73f5a65de4adfa13008ea9a01758385c97526059
[ "MIT" ]
null
null
null
src/word_align/ttablewithmax.cc
nrc-cnrc/Portage-SMT-TAS
73f5a65de4adfa13008ea9a01758385c97526059
[ "MIT" ]
null
null
null
src/word_align/ttablewithmax.cc
nrc-cnrc/Portage-SMT-TAS
73f5a65de4adfa13008ea9a01758385c97526059
[ "MIT" ]
null
null
null
/** * @author Aaron Tikuisis * @file ttablewithmax.cc Implementation of TTableWithMax. * * * COMMENTS: * * Technologies langagieres interactives / Interactive Language Technologies * Inst. de technologie de l'information / Institute for Information Technology * Conseil national de recherches Canada / Nation...
26.616667
79
0.680651
nrc-cnrc
4dbc0c2ce513bc772629df94d9f629a56438e820
5,865
hpp
C++
src/_cmsis_rtos/memorypool.hpp
ombre5733/weos
2c3edef042fa80baa7c8fb968ba3104b7119cf2d
[ "BSD-2-Clause" ]
11
2015-10-06T21:00:30.000Z
2021-07-27T05:54:44.000Z
src/_cmsis_rtos/memorypool.hpp
ombre5733/weos
2c3edef042fa80baa7c8fb968ba3104b7119cf2d
[ "BSD-2-Clause" ]
null
null
null
src/_cmsis_rtos/memorypool.hpp
ombre5733/weos
2c3edef042fa80baa7c8fb968ba3104b7119cf2d
[ "BSD-2-Clause" ]
1
2015-10-03T03:51:28.000Z
2015-10-03T03:51:28.000Z
/******************************************************************************* WEOS - Wrapper for embedded operating systems Copyright (c) 2013-2016, Manuel Freiberger All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the foll...
36.886792
86
0.665644
ombre5733
4dbd800d25a8dd4bc28e1185068f0870dde9120c
1,033
cpp
C++
src/engine/mt/asmjs/task.cpp
unrealeg4825/Test-engine
12ce46dbbfd9c738e015a2d549df46c7bb4ffad0
[ "MIT" ]
3
2021-05-27T10:43:33.000Z
2021-05-27T10:44:02.000Z
src/engine/mt/asmjs/task.cpp
unrealeg4825/Test-engine
12ce46dbbfd9c738e015a2d549df46c7bb4ffad0
[ "MIT" ]
null
null
null
src/engine/mt/asmjs/task.cpp
unrealeg4825/Test-engine
12ce46dbbfd9c738e015a2d549df46c7bb4ffad0
[ "MIT" ]
3
2021-05-27T10:44:15.000Z
2021-11-18T09:20:10.000Z
#include "engine/lumix.h" #include "engine/iallocator.h" #include "engine/mt/task.h" #include "engine/mt/thread.h" #include "engine/profiler.h" #if !LUMIX_SINGLE_THREAD() namespace Lumix { namespace MT { struct TaskImpl { IAllocator& allocator; }; Task::Task(IAllocator& allocator) { m_implementation = LUMIX_NEW...
12.297619
63
0.713456
unrealeg4825
4dbead97ce18698843602200b57a6ba32c9fb5d5
2,234
cpp
C++
wstep-do-programowania/zajecia-5/mini-game.cpp
kpagacz/software-engineering
6ac3965848919d7fe7350842ae9d59d65d213ef6
[ "MIT" ]
1
2022-01-17T07:50:54.000Z
2022-01-17T07:50:54.000Z
wstep-do-programowania/zajecia-5/mini-game.cpp
kpagacz/software-engineering
6ac3965848919d7fe7350842ae9d59d65d213ef6
[ "MIT" ]
null
null
null
wstep-do-programowania/zajecia-5/mini-game.cpp
kpagacz/software-engineering
6ac3965848919d7fe7350842ae9d59d65d213ef6
[ "MIT" ]
2
2021-02-02T18:13:35.000Z
2021-05-10T13:31:40.000Z
#include <iostream> #include <stdlib.h> bool single_round(int& correct_number) { int guess; std::cout << "What is your guess?\n"; std::cin >> guess; std::cout << "Your guess was: " << guess << ".\n"; if (correct_number == guess) { std::cout << "You guessed correctly!\n"; return true; } else if (correct_numbe...
24.282609
86
0.590868
kpagacz
4dc0304f7b8e101917ccb84d856e3b3aeb88e361
4,406
cpp
C++
AudioKit/Common/Internals/CoreAudio/Apple Code/ParameterRamper.cpp
ethi1989/AudioKit
97acc8da6dfb75408b2276998073de7a4511d480
[ "MIT" ]
206
2020-10-28T12:47:49.000Z
2022-03-26T14:09:30.000Z
AudioKit/Common/Internals/CoreAudio/Apple Code/ParameterRamper.cpp
ethi1989/AudioKit
97acc8da6dfb75408b2276998073de7a4511d480
[ "MIT" ]
7
2020-10-29T10:29:23.000Z
2021-08-07T00:22:03.000Z
AudioKit/Common/Internals/CoreAudio/Apple Code/ParameterRamper.cpp
ethi1989/AudioKit
97acc8da6dfb75408b2276998073de7a4511d480
[ "MIT" ]
30
2020-10-28T16:11:40.000Z
2021-12-28T01:15:23.000Z
// // ParameterRamper.cpp // AudioKit // // Utility class to manage DSP parameters which can change value smoothly (be ramped) while rendering, without introducing clicks or other distortion into the signal. // // Originally based on Apple sample code, but significantly altered by Aurelius Prochazka // // Copyright © ...
23.816216
166
0.666364
ethi1989
4dc31fa2013a4e4f26d845ffc650475ae5c17a75
971
hpp
C++
include/RED4ext/Types/generated/move/SecureFootingResult.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
1
2021-02-01T23:07:50.000Z
2021-02-01T23:07:50.000Z
include/RED4ext/Types/generated/move/SecureFootingResult.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
include/RED4ext/Types/generated/move/SecureFootingResult.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/REDhash.hpp> #include <RED4ext/Types/generated/Vector4.hpp> #include <RED4ext/Types/generated/move/SecureFootingFailureReason.hpp> #include <RED4ext/Types/generated/move/SecureFoot...
30.34375
70
0.763131
Cyberpunk-Extended-Development-Team
4dc84041d81d3b9596b1329997eea6ca6c632c99
836
cpp
C++
solutions/286.walls-and-gates.290509829.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
78
2020-10-22T11:31:53.000Z
2022-02-22T13:27:49.000Z
solutions/286.walls-and-gates.290509829.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
null
null
null
solutions/286.walls-and-gates.290509829.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
26
2020-10-23T15:10:44.000Z
2021-11-07T16:13:50.000Z
int dx[] = {0, 0, 1, -1}; int dy[] = {1, -1, 0, 0}; class Solution { public: void wallsAndGates(vector<vector<int>> &rooms) { int n = rooms.size(); if (!n) return; int m = rooms[0].size(); int INF = 2147483647; queue<pair<int, int>> q; int dist = 1; for (int i = 0; i < n; i++) ...
19.904762
73
0.379187
satu0king
4dc9e8d23f7f7057ceed6069c74b022b4f460758
7,726
cc
C++
arcane/src/arcane/parallel/VariableParallelOperationBase.cc
cedricga91/framework
143eeccb5bf375df4a3f11b888681f84f60380c6
[ "Apache-2.0" ]
16
2021-09-20T12:37:01.000Z
2022-03-18T09:19:14.000Z
arcane/src/arcane/parallel/VariableParallelOperationBase.cc
cedricga91/framework
143eeccb5bf375df4a3f11b888681f84f60380c6
[ "Apache-2.0" ]
66
2021-09-17T13:49:39.000Z
2022-03-30T16:24:07.000Z
arcane/src/arcane/parallel/VariableParallelOperationBase.cc
cedricga91/framework
143eeccb5bf375df4a3f11b888681f84f60380c6
[ "Apache-2.0" ]
11
2021-09-27T16:48:55.000Z
2022-03-23T19:06:56.000Z
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*- //----------------------------------------------------------------------------- // Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com) // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: Apache-2...
34.959276
112
0.533653
cedricga91
4dcae401a0a9fd9e61c47e7b21e73ed4a66fe5a0
496
cpp
C++
ambiguity-resolution2.cpp
rsds8540/cpp-solved-problems
cbd63e0743d7653d8e06401026c16aa1dd5f775b
[ "Apache-2.0" ]
1
2021-04-27T18:23:05.000Z
2021-04-27T18:23:05.000Z
ambiguity-resolution2.cpp
rsds8540/cpp-solved-problems
cbd63e0743d7653d8e06401026c16aa1dd5f775b
[ "Apache-2.0" ]
null
null
null
ambiguity-resolution2.cpp
rsds8540/cpp-solved-problems
cbd63e0743d7653d8e06401026c16aa1dd5f775b
[ "Apache-2.0" ]
null
null
null
#include<bits/stdc++.h> using namespace std; class base { public: void greet() { cout<<"hello"<<endl; } }; class derived: public base { public: void greet() //this function will be overwritten after creation of the object of derived class { cout<<"Namaste"<<endl; } }; ...
16.533333
99
0.59879
rsds8540
4dcb9316f4240fe4d35e9519ce700a08ccbf8bb9
64,874
cpp
C++
DiscImageCreator/outputScsiCmdLog.cpp
tungol/DiscImageCreator
0dbe5e86402848c56fa2aca7c993eabdaed2e0bb
[ "Apache-2.0" ]
null
null
null
DiscImageCreator/outputScsiCmdLog.cpp
tungol/DiscImageCreator
0dbe5e86402848c56fa2aca7c993eabdaed2e0bb
[ "Apache-2.0" ]
null
null
null
DiscImageCreator/outputScsiCmdLog.cpp
tungol/DiscImageCreator
0dbe5e86402848c56fa2aca7c993eabdaed2e0bb
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2011-2018 sarami * * 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 ...
33.268718
120
0.688735
tungol
4dce6c9ece96363ecd1f5bd5b0888a1db9332d9d
1,896
hpp
C++
include/type_tools.hpp
ne0ndrag0n/BlastBASIC
f38f05c27fe5532f9ea52f4599f72d6a5353e15c
[ "MIT" ]
2
2021-01-26T11:58:08.000Z
2021-05-26T22:12:19.000Z
include/type_tools.hpp
ne0ndrag0n/GoldScorpion
f38f05c27fe5532f9ea52f4599f72d6a5353e15c
[ "MIT" ]
null
null
null
include/type_tools.hpp
ne0ndrag0n/GoldScorpion
f38f05c27fe5532f9ea52f4599f72d6a5353e15c
[ "MIT" ]
null
null
null
#pragma once #include "token.hpp" #include "result_type.hpp" #include "symbol.hpp" #include "ast.hpp" #include <string> #include <optional> namespace GoldScorpion { struct SymbolTypeSettings { std::string fileId; SymbolResolver& symbols; }; using SymbolTypeResult = Result< SymbolType, std:...
34.472727
103
0.741561
ne0ndrag0n
4dd07922de7876cd071b5da6226a81cf228a26e7
3,938
cpp
C++
Simpscrp/simpscrp.cpp
mrob95/natlink
dc806ab62da89b7bb3d3683387af00c696601e16
[ "MIT" ]
2
2021-06-22T02:25:08.000Z
2021-08-16T23:35:02.000Z
Simpscrp/simpscrp.cpp
mrob95/natlink
dc806ab62da89b7bb3d3683387af00c696601e16
[ "MIT" ]
4
2020-12-18T16:51:05.000Z
2022-03-16T08:06:38.000Z
src/vocola2/Simpscrp/simpscrp.cpp
dictation-toolbox/Vocola
25b8bfdf8a7bf1495a950ac061e54fa3454f089d
[ "MIT" ]
2
2020-11-19T15:33:30.000Z
2021-12-07T02:09:04.000Z
// Made by Paulo Soares - psoares@consiste.pt // Use in whatever ways you want. #include "stdafx.h" #include "Python.h" #include "PlayKeys.h" BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ) { return TRUE; } static BOOL C...
28.128571
161
0.642712
mrob95
4dd0fe514094f2a11e71db7d7051e1d553bbf0e5
876
cpp
C++
src/gb-lib/mem/mirrorbank.cpp
johannes51/GBEmu
bb85debc8191d7eaa3917c2d441172f97731374c
[ "MIT" ]
null
null
null
src/gb-lib/mem/mirrorbank.cpp
johannes51/GBEmu
bb85debc8191d7eaa3917c2d441172f97731374c
[ "MIT" ]
null
null
null
src/gb-lib/mem/mirrorbank.cpp
johannes51/GBEmu
bb85debc8191d7eaa3917c2d441172f97731374c
[ "MIT" ]
null
null
null
#include "mirrorbank.h" #include <stdexcept> #include "location/location.h" #include "mem_tools.h" MirrorBank::MirrorBank(const MemoryArea& mirrorArea, const MemoryArea& originalArea, IMemoryManagerSP mirrored) : SingleAreaManager(mirrorArea) , offset_(originalArea.from - mirrorArea.from) , mirrored_(std...
31.285714
111
0.756849
johannes51
4dd3a1cd09f0812fe436090c41b6f88e69478e24
1,231
cc
C++
fbstab/components/dense_data.cc
tcunis/fbstab
25d5259f683427867f140567d739a55ed7359aca
[ "BSD-3-Clause" ]
16
2019-08-09T18:43:17.000Z
2022-01-07T12:38:27.000Z
fbstab/components/dense_data.cc
tcunis/fbstab
25d5259f683427867f140567d739a55ed7359aca
[ "BSD-3-Clause" ]
12
2019-08-14T17:33:29.000Z
2021-02-01T12:03:36.000Z
fbstab/components/dense_data.cc
tcunis/fbstab
25d5259f683427867f140567d739a55ed7359aca
[ "BSD-3-Clause" ]
3
2019-08-09T19:03:23.000Z
2020-05-07T23:03:33.000Z
#include "fbstab/components/dense_data.h" #include <Eigen/Dense> #include <cmath> #include <stdexcept> namespace fbstab { using MatrixXd = Eigen::MatrixXd; using VectorXd = Eigen::VectorXd; void DenseData::gemvH(const Eigen::VectorXd &x, double a, double b, Eigen::VectorXd *y) const { *y = a...
27.977273
75
0.576767
tcunis
4dd441fd93d7ec0f5533639612df4b552c50b987
2,661
cpp
C++
gueepo2D/engine/core/GameObject/GameWorld.cpp
guilhermepo2/gueepo2D
deb03ff39c871710c07d36c366b53b34dbfebf08
[ "MIT" ]
1
2022-02-03T19:24:47.000Z
2022-02-03T19:24:47.000Z
gueepo2D/engine/core/GameObject/GameWorld.cpp
guilhermepo2/gueepo2D
deb03ff39c871710c07d36c366b53b34dbfebf08
[ "MIT" ]
4
2021-10-30T19:03:07.000Z
2022-02-10T01:06:02.000Z
gueepo2D/engine/core/GameObject/GameWorld.cpp
guilhermepo2/gueepo2D
deb03ff39c871710c07d36c366b53b34dbfebf08
[ "MIT" ]
1
2021-10-01T03:08:21.000Z
2021-10-01T03:08:21.000Z
#include "gueepo2Dpch.h" #include "GameWorld.h" #include "Entity.h" #include "GameObject.h" namespace gueepo { GameWorld* GameWorld::s_instance = nullptr; GameWorld::GameWorld() { if (s_instance != nullptr) { LOG_ERROR("trying to create a second instance of the game world?!"); return; } s_instance = ...
23.972973
108
0.668546
guilhermepo2
4dd48978ce7b6d77a579bc94675ba8937c4c8aee
148,518
cpp
C++
src/source.cpp
jlangvand/jucipp
0a3102f13e62d78a329d488fb1eb8812181e448e
[ "MIT" ]
null
null
null
src/source.cpp
jlangvand/jucipp
0a3102f13e62d78a329d488fb1eb8812181e448e
[ "MIT" ]
null
null
null
src/source.cpp
jlangvand/jucipp
0a3102f13e62d78a329d488fb1eb8812181e448e
[ "MIT" ]
null
null
null
#include "source.hpp" #include "config.hpp" #include "ctags.hpp" #include "directories.hpp" #include "filesystem.hpp" #include "git.hpp" #include "info.hpp" #include "json.hpp" #include "menu.hpp" #include "selection_dialog.hpp" #include "terminal.hpp" #include "utility.hpp" #include <algorithm> #include <boost/spirit/...
38.706802
280
0.583916
jlangvand
4dd89e1e13ed9ecf6e1f145768efcccd5f1ee277
3,052
cpp
C++
examples/desktop/navigationarrow/main.cpp
Qt-Widgets/qtmwidgets-mobile
24b77c25c286215539098ba569eee938882bb9d4
[ "MIT" ]
10
2015-03-22T07:35:48.000Z
2022-02-23T15:49:01.000Z
examples/desktop/navigationarrow/main.cpp
Qt-Widgets/qtmwidgets
24b77c25c286215539098ba569eee938882bb9d4
[ "MIT" ]
9
2020-10-22T09:25:52.000Z
2022-02-14T08:59:13.000Z
examples/desktop/navigationarrow/main.cpp
Qt-Widgets/qtmwidgets
24b77c25c286215539098ba569eee938882bb9d4
[ "MIT" ]
9
2018-01-22T06:47:40.000Z
2022-01-30T16:50:57.000Z
/*! \file \author Igor Mironchik (igor.mironchik at gmail dot com). Copyright (c) 2014 Igor Mironchik 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, incl...
25.647059
76
0.694954
Qt-Widgets
4de16548767f0fc644ae9870d1b136d59b816def
484
cxx
C++
src/ThreadEddyMotionCorrect.cxx
dzenanz/DTIPrep
38fe0b6f5461dc83af22f24033caa3d5f005e94b
[ "Apache-2.0" ]
12
2015-07-24T15:33:15.000Z
2020-10-19T23:13:28.000Z
src/ThreadEddyMotionCorrect.cxx
scalphunters/DTIPrep
5fea149c2c5deb13bc71507640a4645326778bb1
[ "Apache-2.0" ]
31
2015-01-02T18:50:46.000Z
2020-12-01T16:51:00.000Z
src/ThreadEddyMotionCorrect.cxx
scalphunters/DTIPrep
5fea149c2c5deb13bc71507640a4645326778bb1
[ "Apache-2.0" ]
11
2015-08-05T15:07:17.000Z
2019-12-13T19:32:19.000Z
#include "ThreadEddyMotionCorrect.h" #include <iostream> #include <string> #include <math.h> CThreadEddyMotionCorrect::CThreadEddyMotionCorrect(QObject *parentLocal) : QThread(parentLocal) { } CThreadEddyMotionCorrect::~CThreadEddyMotionCorrect() { } void CThreadEddyMotionCorrect::run() { emit allDone("transfor...
17.285714
74
0.67562
dzenanz
4de1da92261274e068b00ac79c4a1fdf2a1d640e
368
cpp
C++
answers/leetcode/Excel Sheet Column Number/Excel Sheet Column Number.cpp
FeiZhan/Algo-Collection
708c4a38112e0b381864809788b9e44ac5ae4d05
[ "MIT" ]
3
2015-09-04T21:32:31.000Z
2020-12-06T00:37:32.000Z
answers/leetcode/Excel Sheet Column Number/Excel Sheet Column Number.cpp
FeiZhan/Algo-Collection
708c4a38112e0b381864809788b9e44ac5ae4d05
[ "MIT" ]
null
null
null
answers/leetcode/Excel Sheet Column Number/Excel Sheet Column Number.cpp
FeiZhan/Algo-Collection
708c4a38112e0b381864809788b9e44ac5ae4d05
[ "MIT" ]
null
null
null
//@result 1000 / 1000 test cases passed. Status: Accepted Runtime: 12 ms Submitted: 0 minutes ago You are here! Your runtime beats 8.80% of cpp submissions. class Solution { public: int titleToNumber(string s) { size_t pos = 0; int title = 0; while (pos < s.length()) { title = title * 26 + static_cast<int> (...
26.285714
156
0.646739
FeiZhan
4de1e6ea25fb7a5f8a2ac2988c1414c88e5a2021
4,504
cpp
C++
tdmq/src/v20200217/model/ModifyRocketMQNamespaceRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
1
2022-01-27T09:27:34.000Z
2022-01-27T09:27:34.000Z
tdmq/src/v20200217/model/ModifyRocketMQNamespaceRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
tdmq/src/v20200217/model/ModifyRocketMQNamespaceRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
26.494118
96
0.732682
suluner
4de31b71452a6d5c691aae0e7af3f36e6ee435b6
34,119
cpp
C++
src/AmpleObject.cpp
elmindreda/Ample
7366b8591d8cd1f09ae03a6dd728130769891ba5
[ "BSD-3-Clause" ]
4
2015-02-25T17:43:10.000Z
2016-07-29T14:14:02.000Z
src/AmpleObject.cpp
elmindreda/Ample
7366b8591d8cd1f09ae03a6dd728130769891ba5
[ "BSD-3-Clause" ]
null
null
null
src/AmpleObject.cpp
elmindreda/Ample
7366b8591d8cd1f09ae03a6dd728130769891ba5
[ "BSD-3-Clause" ]
null
null
null
//--------------------------------------------------------------------- // Simple C++ retained mode library for Verse // Copyright (c) PDC, KTH // Written by Camilla Berglund <elmindreda@elmindreda.org> //--------------------------------------------------------------------- #include <verse.h> #include <Ample.h> name...
27.100079
191
0.615698
elmindreda
4de4791d620ad8902b39165381e29c3b64ce4bf4
1,944
cc
C++
dragon/core/operator_schema.cc
seetaresearch/Dragon
494774d3a545f807d483fd9e6e4563cedec6dda5
[ "BSD-2-Clause" ]
81
2018-03-13T13:08:37.000Z
2020-06-13T14:36:29.000Z
dragon/core/operator_schema.cc
seetaresearch/Dragon
494774d3a545f807d483fd9e6e4563cedec6dda5
[ "BSD-2-Clause" ]
2
2019-08-07T09:26:07.000Z
2019-08-26T07:33:55.000Z
dragon/core/operator_schema.cc
seetaresearch/Dragon
494774d3a545f807d483fd9e6e4563cedec6dda5
[ "BSD-2-Clause" ]
13
2018-03-13T13:08:50.000Z
2020-05-28T08:20:22.000Z
#include "dragon/core/operator_schema.h" namespace dragon { bool OpSchema::Verify(const OperatorDef& def) const { auto header = "[" + def.name() + ", " + def.type() + "]\n"; if (def.input_size() < min_input_ || def.input_size() > max_input_) { LOG(FATAL) << header << "Input size: " << def.input_size() ...
28.588235
77
0.594136
seetaresearch
4e28575e6f07c8d00f3d3a237f554983a51cb6bb
567,368
cpp
C++
cisco-ios-xe/ydk/models/cisco_ios_xe/fragmented/Cisco_IOS_XE_native_174.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
17
2016-12-02T05:45:49.000Z
2022-02-10T19:32:54.000Z
cisco-ios-xe/ydk/models/cisco_ios_xe/fragmented/Cisco_IOS_XE_native_174.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
2
2017-03-27T15:22:38.000Z
2019-11-05T08:30:16.000Z
cisco-ios-xe/ydk/models/cisco_ios_xe/fragmented/Cisco_IOS_XE_native_174.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
11
2016-12-02T05:45:52.000Z
2019-11-07T08:28:17.000Z
#include <sstream> #include <iostream> #include <ydk/entity_util.hpp> #include "bundle_info.hpp" #include "generated_entity_lookup.hpp" #include "Cisco_IOS_XE_native_174.hpp" #include "Cisco_IOS_XE_native_175.hpp" using namespace ydk; namespace cisco_ios_xe { namespace Cisco_IOS_XE_native { Native::Router::Bgp::Sco...
37.376021
651
0.700491
CiscoDevNet
4e2e3d639888fdbe1725897136f1919eb1da7d9f
2,806
cpp
C++
WS01/w1_p2.cpp
Rainbow1nTheDark/OOP345
1d56e8875ab2c1c8b31b5c520add799ebf8d8ec5
[ "Apache-2.0" ]
null
null
null
WS01/w1_p2.cpp
Rainbow1nTheDark/OOP345
1d56e8875ab2c1c8b31b5c520add799ebf8d8ec5
[ "Apache-2.0" ]
null
null
null
WS01/w1_p2.cpp
Rainbow1nTheDark/OOP345
1d56e8875ab2c1c8b31b5c520add799ebf8d8ec5
[ "Apache-2.0" ]
null
null
null
// Workshop 1 - Linkage, Storage Duration, Namespaces, and OS Interface // Cornel - 2020/01/08 #include <iostream> #include <fstream> #include "event.h" #include "event.h" /* input file format: a coma separated set of fields; some fields have a single parameter T175,SComputer Starting,P, codes T - time (parameter: a...
26.471698
106
0.619031
Rainbow1nTheDark
4e31b99e19d6466c959326b4537a188bc2e19c4d
1,678
cc
C++
sdk/android/src/jni/wrapped_native_i420_buffer.cc
gpolitis/webrtc
e26456a4ed4158aa3c65314ccab502fd633eef77
[ "DOC", "BSD-3-Clause" ]
null
null
null
sdk/android/src/jni/wrapped_native_i420_buffer.cc
gpolitis/webrtc
e26456a4ed4158aa3c65314ccab502fd633eef77
[ "DOC", "BSD-3-Clause" ]
null
null
null
sdk/android/src/jni/wrapped_native_i420_buffer.cc
gpolitis/webrtc
e26456a4ed4158aa3c65314ccab502fd633eef77
[ "DOC", "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
38.136364
79
0.718117
gpolitis
4e32ab1e4d494dbca1f82cc38c383ae0abad06fe
761
hpp
C++
include/react/sandbox/requirements_of.hpp
ldionne/react
57b51d179661a9c21bc1f987d124722ac36399ac
[ "BSL-1.0" ]
6
2015-06-05T17:48:12.000Z
2020-10-04T03:45:18.000Z
include/react/sandbox/requirements_of.hpp
ldionne/react
57b51d179661a9c21bc1f987d124722ac36399ac
[ "BSL-1.0" ]
1
2021-06-23T05:51:46.000Z
2021-06-23T05:51:46.000Z
include/react/sandbox/requirements_of.hpp
ldionne/react
57b51d179661a9c21bc1f987d124722ac36399ac
[ "BSL-1.0" ]
2
2016-05-06T06:55:40.000Z
2020-03-25T19:19:14.000Z
/*! * @file * Defines `react::requirements_of`. */ #ifndef REACT_REQUIREMENTS_OF_HPP #define REACT_REQUIREMENTS_OF_HPP #include <react/sandbox/detail/fetch_nested.hpp> #include <boost/mpl/set.hpp> namespace react { #ifdef REACT_DOXYGEN_INVOKED /*! * Returns the requirements of a computation. * ...
23.060606
73
0.701708
ldionne
4e34a6899ffd8a6bc8f021318f42eb10f1be54e0
11,206
cpp
C++
source/code/scxsystemlib/common/scxsmbios.cpp
snchennapragada/pal
9ee3e116dc2fadb44efa0938de7f0b737784fe16
[ "MIT" ]
37
2016-04-14T20:06:15.000Z
2019-05-06T17:30:17.000Z
source/code/scxsystemlib/common/scxsmbios.cpp
snchennapragada/pal
9ee3e116dc2fadb44efa0938de7f0b737784fe16
[ "MIT" ]
37
2016-03-11T20:47:11.000Z
2019-04-01T22:53:04.000Z
source/code/scxsystemlib/common/scxsmbios.cpp
snchennapragada/pal
9ee3e116dc2fadb44efa0938de7f0b737784fe16
[ "MIT" ]
20
2016-05-26T23:53:01.000Z
2019-05-06T08:54:08.000Z
/*-------------------------------------------------------------------------------- Copyright (c) Microsoft Corporation. All rights reserved. See license.txt for license information. */ /** \file \brief This file contains the abstraction of the smbios on Linux and Solaris x86. \...
38.245734
172
0.536766
snchennapragada
4e35573c19bec7f5bd10741f0051c8e1b420f94e
2,307
hxx
C++
main/cui/source/options/optaccessibility.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/cui/source/options/optaccessibility.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/cui/source/options/optaccessibility.hxx
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...
37.209677
75
0.718249
Grosskopf
4e37ef49b7148400b6417ea85f769e43e8c40861
3,950
cpp
C++
Source/Motor2D/j1TextUI.cpp
Needlesslord/PaintWars_by_BrainDeadStudios
578985b1a41ab9f0b8c5dd087ba3bc3d3ffd2edf
[ "MIT" ]
2
2020-03-06T11:32:40.000Z
2020-03-20T12:17:30.000Z
Source/Motor2D/j1TextUI.cpp
Needlesslord/Heathen_Games
578985b1a41ab9f0b8c5dd087ba3bc3d3ffd2edf
[ "MIT" ]
2
2020-03-03T09:56:57.000Z
2020-05-02T15:50:45.000Z
Source/Motor2D/j1TextUI.cpp
Needlesslord/Heathen_Games
578985b1a41ab9f0b8c5dd087ba3bc3d3ffd2edf
[ "MIT" ]
1
2020-03-17T18:50:53.000Z
2020-03-17T18:50:53.000Z
#include "j1UIElements.h" #include "j1UI_Manager.h" #include "j1App.h" #include "j1FontsUI.h" #include "j1Render.h" #include "j1Textures.h" #include "j1Input.h" #include "j1Window.h" #include "j1TextUI.h" j1TextUI::j1TextUI() { this->type = TypeOfUI::GUI_LABEL; } j1TextUI::~j1TextUI() { } bool j1TextUI::Start() {...
33.193277
167
0.766076
Needlesslord
4e38ef6b45cc75bf31b45bc92b4d0cfa418be83c
573
cpp
C++
src/prod/src/ServiceModel/modelV2/IndependentVolumeRef.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/src/ServiceModel/modelV2/IndependentVolumeRef.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/src/ServiceModel/modelV2/IndependentVolumeRef.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ #include "stdafx.h" using namespace Common; using namespace ServiceModel::ModelV2; INITIALIZE_SIZE_ESTIMATION(IndependentVolumeRe...
27.285714
79
0.603839
gridgentoo
4e3a2e1ca58ec7177791aa66f967f238e10d6a71
44,301
cpp
C++
src/QMCWaveFunctions/RotatedSPOs.cpp
djstaros/qmcpack
280f67e638bae280448b47fa618f05b848c530d2
[ "NCSA" ]
null
null
null
src/QMCWaveFunctions/RotatedSPOs.cpp
djstaros/qmcpack
280f67e638bae280448b47fa618f05b848c530d2
[ "NCSA" ]
null
null
null
src/QMCWaveFunctions/RotatedSPOs.cpp
djstaros/qmcpack
280f67e638bae280448b47fa618f05b848c530d2
[ "NCSA" ]
null
null
null
////////////////////////////////////////////////////////////////////////////////////// //// This file is distributed under the University of Illinois/NCSA Open Source License. //// See LICENSE file in top directory for details. //// //// Copyright (c) QMCPACK developers. //// //// File developed by: Sergio D. Pineda Fl...
41.675447
591
0.548249
djstaros
4e4319d714a0174de20855c2ffeaa1777ce58cd7
1,761
cc
C++
multibody/test/multibody_utils_test.cc
DavidDePauw1/dairlib
3c75c8f587927b12a58f2e88dda61cc0e7dc82a3
[ "BSD-3-Clause" ]
32
2019-04-15T03:10:26.000Z
2022-03-28T17:27:03.000Z
multibody/test/multibody_utils_test.cc
DavidDePauw1/dairlib
3c75c8f587927b12a58f2e88dda61cc0e7dc82a3
[ "BSD-3-Clause" ]
157
2019-02-21T03:13:57.000Z
2022-03-09T19:13:59.000Z
multibody/test/multibody_utils_test.cc
DavidDePauw1/dairlib
3c75c8f587927b12a58f2e88dda61cc0e7dc82a3
[ "BSD-3-Clause" ]
22
2019-03-02T22:31:42.000Z
2022-03-10T21:28:50.000Z
#include <gtest/gtest.h> #include <memory> #include <utility> #include "drake/geometry/scene_graph.h" #include "drake/multibody/parsing/parser.h" #include "multibody/multibody_utils.h" #include "common/find_resource.h" namespace dairlib { namespace multibody { namespace { using drake::multibody::MultibodyPlant; usin...
25.157143
80
0.729131
DavidDePauw1
4e448891d7d94daa75f5f8e8c717194279ea91e4
5,463
cpp
C++
renderer.cpp
nvpro-samples/gl_cadscene_rendertechniques
70becfc08318c54c2de45f1791e6c7f821144029
[ "Apache-2.0" ]
134
2015-01-09T13:00:56.000Z
2022-02-06T06:23:25.000Z
renderer.cpp
nvpro-samples/gl_cadscene_rendertechniques
70becfc08318c54c2de45f1791e6c7f821144029
[ "Apache-2.0" ]
4
2015-08-23T17:44:59.000Z
2019-11-14T14:08:27.000Z
renderer.cpp
nvpro-samples/gl_cadscene_rendertechniques
70becfc08318c54c2de45f1791e6c7f821144029
[ "Apache-2.0" ]
38
2015-02-13T22:27:09.000Z
2021-10-16T00:36:26.000Z
/* * Copyright (c) 2014-2021, NVIDIA CORPORATION. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
29.52973
164
0.630789
nvpro-samples
4e458759d26deebe795d4939bb6305e76105278c
728
cpp
C++
aoc2017/aoc170201.cpp
jiayuehua/adventOfCode
fd47ddefd286fe94db204a9850110f8d1d74d15b
[ "Unlicense" ]
null
null
null
aoc2017/aoc170201.cpp
jiayuehua/adventOfCode
fd47ddefd286fe94db204a9850110f8d1d74d15b
[ "Unlicense" ]
null
null
null
aoc2017/aoc170201.cpp
jiayuehua/adventOfCode
fd47ddefd286fe94db204a9850110f8d1d74d15b
[ "Unlicense" ]
null
null
null
#include <boost/circular_buffer.hpp> #include <iostream> #include <fstream> #include <sstream> #include <algorithm> #include <range/v3/algorithm.hpp> #include <range/v3/numeric.hpp> #include <range/v3/view.hpp> namespace views = ranges::views; int main(int argc, char **argv) { if (argc > 1) { std::ifstream ifs(a...
26
66
0.614011
jiayuehua
4e46dc1c41aee16314813d8300b5ba6fc7137fe2
25,402
cpp
C++
src/chain_action/self_pass_generator.cpp
sanmit/HFO-benchmark
0104ff7527485c8a7c159e6bf16c410eded72c0a
[ "MIT" ]
1
2018-11-22T16:04:55.000Z
2018-11-22T16:04:55.000Z
allejos2d/src/chain_action/self_pass_generator.cpp
PmecSimulation/Allejos2D
d0b3cb48e88f44b509e7dfe0329bb035bab748ce
[ "Apache-2.0" ]
null
null
null
allejos2d/src/chain_action/self_pass_generator.cpp
PmecSimulation/Allejos2D
d0b3cb48e88f44b509e7dfe0329bb035bab748ce
[ "Apache-2.0" ]
null
null
null
// -*-c++-*- /*! \file self_pass_generator.cpp \brief self pass generator Source File */ /* *Copyright: Copyright (C) Hidehisa AKIYAMA This code 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 ...
32.692407
114
0.459846
sanmit
4e4c666994ce0cc1b2c2f139e3cd877a6d192ace
1,866
cpp
C++
src/api/api-example.cpp
knzm/kytea
e29eaf9933cc31f4461a8e726cff5141253a9727
[ "Apache-2.0" ]
1
2018-10-25T07:49:10.000Z
2018-10-25T07:49:10.000Z
src/api/api-example.cpp
knzm/kytea
e29eaf9933cc31f4461a8e726cff5141253a9727
[ "Apache-2.0" ]
null
null
null
src/api/api-example.cpp
knzm/kytea
e29eaf9933cc31f4461a8e726cff5141253a9727
[ "Apache-2.0" ]
null
null
null
#include <iostream> // a file including the main program #include "kytea/kytea.h" // a file including sentence, word, and pronunciation objects #include "kytea/kytea-struct.h" using namespace std; using namespace kytea; int main(int argc, char** argv) { // Create an instance of the Kytea program Kytea kytea...
32.736842
78
0.606109
knzm
4e4c9f05cf4e78576f2da1512a2776bd1efa93be
352
cpp
C++
test/util.cpp
andoma/saga
7231f63ff933ebfc517940ffa18f9a448f533f78
[ "BSD-2-Clause" ]
10
2019-12-22T22:33:28.000Z
2021-06-07T06:44:29.000Z
test/util.cpp
andoma/saga
7231f63ff933ebfc517940ffa18f9a448f533f78
[ "BSD-2-Clause" ]
null
null
null
test/util.cpp
andoma/saga
7231f63ff933ebfc517940ffa18f9a448f533f78
[ "BSD-2-Clause" ]
1
2020-06-20T09:14:27.000Z
2020-06-20T09:14:27.000Z
#include <stdio.h> #include "saga.h" using namespace saga; extern int util_showtensors(int argc, char **argv) { if(argc < 1) { fprintf(stderr, "usage: <path>\n"); return 1; } Network net(false); net.loadTensors(argv[0]); for(const auto &it : net.named_tensors_) { it.second->printStats(it.fir...
14.08
44
0.630682
andoma
4e4f9a759c10b34ce65f173c532c80201480a521
2,608
cc
C++
osi/src/allocator.cc
digi-embedded/android_platform_system_bt
635ddc5671274697ecfc9d4d44881f23d73a4cd0
[ "Apache-2.0" ]
null
null
null
osi/src/allocator.cc
digi-embedded/android_platform_system_bt
635ddc5671274697ecfc9d4d44881f23d73a4cd0
[ "Apache-2.0" ]
null
null
null
osi/src/allocator.cc
digi-embedded/android_platform_system_bt
635ddc5671274697ecfc9d4d44881f23d73a4cd0
[ "Apache-2.0" ]
2
2019-05-30T08:37:28.000Z
2019-10-01T16:39:33.000Z
/****************************************************************************** * * Copyright (C) 2014 Google, 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://ww...
30.682353
80
0.688267
digi-embedded
4e50ac7c19f0325873f510813997b65236d60845
2,357
cpp
C++
external/iotivity/iotivity_1.2-rel/resource/src/OCDirectPairing.cpp
SenthilKumarGS/TizenRT
691639aa9667de5d966f040f0291a402727ab6ae
[ "Apache-2.0" ]
511
2017-03-29T09:14:09.000Z
2022-03-30T23:10:29.000Z
external/iotivity/iotivity_1.2-rel/resource/src/OCDirectPairing.cpp
SenthilKumarGS/TizenRT
691639aa9667de5d966f040f0291a402727ab6ae
[ "Apache-2.0" ]
4,673
2017-03-29T10:43:43.000Z
2022-03-31T08:33:44.000Z
external/iotivity/iotivity_1.2-rel/resource/src/OCDirectPairing.cpp
SenthilKumarGS/TizenRT
691639aa9667de5d966f040f0291a402727ab6ae
[ "Apache-2.0" ]
642
2017-03-30T20:45:33.000Z
2022-03-24T17:07:33.000Z
//****************************************************************** // // Copyright 2016 Samsung Electronics All Rights Reserved. // //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance...
27.406977
121
0.531608
SenthilKumarGS
4e511c4600bd4c7898179125bc3dbab28b1bea99
7,048
cpp
C++
third_party/omr/compiler/arm/codegen/StackCheckFailureSnippet.cpp
xiacijie/omr-wala-linkage
a1aff7aef9ed131a45555451abde4615a04412c1
[ "Apache-2.0" ]
null
null
null
third_party/omr/compiler/arm/codegen/StackCheckFailureSnippet.cpp
xiacijie/omr-wala-linkage
a1aff7aef9ed131a45555451abde4615a04412c1
[ "Apache-2.0" ]
null
null
null
third_party/omr/compiler/arm/codegen/StackCheckFailureSnippet.cpp
xiacijie/omr-wala-linkage
a1aff7aef9ed131a45555451abde4615a04412c1
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Copyright (c) 2000, 2019 IBM Corp. and others * * This program and the accompanying materials are made available under * the terms of the Eclipse Public License 2.0 which accompanies this * distribution and is available at http://ec...
38.513661
135
0.645857
xiacijie
4e54adde281a096d1950fd62bbc8c1b4f49accf0
6,893
cpp
C++
Day 22 Part 2/main.cpp
Miroslav-Cetojevic/aoc-2015
2807fcd3fc684843ae4222b25af6fd086fac77f5
[ "Unlicense" ]
1
2019-11-19T20:19:18.000Z
2019-11-19T20:19:18.000Z
Day 22 Part 2/main.cpp
Miroslav-Cetojevic/aoc-2015
2807fcd3fc684843ae4222b25af6fd086fac77f5
[ "Unlicense" ]
null
null
null
Day 22 Part 2/main.cpp
Miroslav-Cetojevic/aoc-2015
2807fcd3fc684843ae4222b25af6fd086fac77f5
[ "Unlicense" ]
null
null
null
#include <algorithm> #include <iostream> #include <vector> // ======== // Entities // ======== struct Hero { std::int64_t health; std::uint64_t mana; std::uint64_t armor; }; struct Boss { std::int64_t health; std::uint64_t damage; }; // ================ // Spells & Effects // ================ // need to forwa...
23.130872
96
0.673582
Miroslav-Cetojevic
4e5682a1650bc6673e1e26c04f80e9b921f3ca6a
15,398
cpp
C++
NOLF/Shared/SharedMission.cpp
rastrup/no-one-lives-forever
dfbe22fb4cc01bf7e5f54a79174fa8f108dd2f54
[ "Unlicense" ]
65
2015-02-28T03:35:14.000Z
2021-09-23T05:43:33.000Z
NOLF/Shared/SharedMission.cpp
rastrup/no-one-lives-forever
dfbe22fb4cc01bf7e5f54a79174fa8f108dd2f54
[ "Unlicense" ]
null
null
null
NOLF/Shared/SharedMission.cpp
rastrup/no-one-lives-forever
dfbe22fb4cc01bf7e5f54a79174fa8f108dd2f54
[ "Unlicense" ]
27
2015-02-28T07:42:01.000Z
2022-02-11T01:35:20.000Z
// ----------------------------------------------------------------------- // // // MODULE : SharedMission.cpp // // PURPOSE : SharedMission implementation - shared mission summary stuff // // CREATED : 9/16/99 // // (c) 1999 Monolith Productions, Inc. All Rights Reserved // // -----------------------------...
33.257019
87
0.584167
rastrup
4e5cb6c13d0ce471472e6712fb9bc163b8cb8cfb
20,676
cpp
C++
libraries/ine-vm/tests/spec/call_indirect_tests.cpp
inery-blockchain/inery
2823539f76a0debae22b6783781b1374c63a59d8
[ "MIT" ]
null
null
null
libraries/ine-vm/tests/spec/call_indirect_tests.cpp
inery-blockchain/inery
2823539f76a0debae22b6783781b1374c63a59d8
[ "MIT" ]
null
null
null
libraries/ine-vm/tests/spec/call_indirect_tests.cpp
inery-blockchain/inery
2823539f76a0debae22b6783781b1374c63a59d8
[ "MIT" ]
null
null
null
#include <algorithm> #include <vector> #include <iostream> #include <iterator> #include <cmath> #include <cstdlib> #include <catch2/catch.hpp> #include <utils.hpp> #include <wasm_config.hpp> #include <inery/vm/backend.hpp> using namespace inery; using namespace inery::vm; extern wasm_allocator wa; BACKEND_TEST_CASE( ...
75.736264
172
0.725285
inery-blockchain
4e5ce4235b7297fb7247875394ab7857c7d331eb
13,717
cpp
C++
src/drivers/goindol.cpp
gameblabla/mame_nspire
83dfe1606aba906bd28608f2cb8f0754492ac3da
[ "Unlicense" ]
33
2015-08-10T11:13:47.000Z
2021-08-30T10:00:46.000Z
src/drivers/goindol.cpp
gameblabla/mame_nspire
83dfe1606aba906bd28608f2cb8f0754492ac3da
[ "Unlicense" ]
13
2015-08-25T03:53:08.000Z
2022-03-30T18:02:35.000Z
src/drivers/goindol.cpp
gameblabla/mame_nspire
83dfe1606aba906bd28608f2cb8f0754492ac3da
[ "Unlicense" ]
40
2015-08-25T05:09:21.000Z
2022-02-08T05:02:30.000Z
#include "../vidhrdw/goindol.cpp" /*************************************************************************** GOINDOL Driver provided by Jarek Parchanski (jpdev@friko6.onet.pl) ***************************************************************************/ #include "driver.h" int goindol_vh_start(void); void goi...
32.504739
119
0.680469
gameblabla
4e63569fff87e19a34116a1204caea2bb1375857
172
hpp
C++
src/controllers/hotkeys/HotkeyHelpers.hpp
agenttud/chatterino7
b40763c5f847c017106115f92b864b40b3a20501
[ "MIT" ]
200
2017-01-24T11:23:03.000Z
2019-05-15T19:31:18.000Z
src/controllers/hotkeys/HotkeyHelpers.hpp
agenttud/chatterino7
b40763c5f847c017106115f92b864b40b3a20501
[ "MIT" ]
878
2017-02-06T13:25:24.000Z
2019-05-18T16:15:21.000Z
src/controllers/hotkeys/HotkeyHelpers.hpp
agenttud/chatterino7
b40763c5f847c017106115f92b864b40b3a20501
[ "MIT" ]
138
2017-02-07T18:01:49.000Z
2019-05-18T19:00:03.000Z
#pragma once #include <QString> #include <vector> namespace chatterino { std::vector<QString> parseHotkeyArguments(QString argumentString); } // namespace chatterino
14.333333
66
0.767442
agenttud
4e64bec80fecd96ec04e666243cca6b20428d074
3,058
cpp
C++
catboost/cuda/methods/greedy_subsets_searcher/model_builder.cpp
neer201/catboost_SE
091d44aed29ebb40a4bf76ef67ee22cf9779263e
[ "Apache-2.0" ]
1
2019-11-24T08:32:37.000Z
2019-11-24T08:32:37.000Z
catboost/cuda/methods/greedy_subsets_searcher/model_builder.cpp
neer201/catboost_SE
091d44aed29ebb40a4bf76ef67ee22cf9779263e
[ "Apache-2.0" ]
null
null
null
catboost/cuda/methods/greedy_subsets_searcher/model_builder.cpp
neer201/catboost_SE
091d44aed29ebb40a4bf76ef67ee22cf9779263e
[ "Apache-2.0" ]
null
null
null
#include "model_builder.h" #include <catboost/libs/helpers/exception.h> #include <util/stream/labeled.h> #include <util/generic/array_ref.h> using NCatboostCuda::TLeafPath; static void ValidateParameters( const TConstArrayRef<TLeafPath> leaves, const TConstArrayRef<double> leafWeights, const TConstArray...
35.976471
108
0.600719
neer201