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
109
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
48.5k
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
78cd4335005ea39fcde4093816fcdab094753daa
5,115
cpp
C++
VC2010Samples/MFC/advanced/collect/strlstvw.cpp
alonmm/VCSamples
6aff0b4902f5027164d593540fcaa6601a0407c3
[ "MIT" ]
300
2019-05-09T05:32:33.000Z
2022-03-31T20:23:24.000Z
VC2010Samples/MFC/advanced/collect/strlstvw.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
9
2016-09-19T18:44:26.000Z
2018-10-26T10:20:05.000Z
VC2010Samples/MFC/advanced/collect/strlstvw.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
633
2019-05-08T07:34:12.000Z
2022-03-30T04:38:28.000Z
// strlstvw.cpp : implementation file // // This is a part of the Microsoft Foundation Classes C++ library. // Copyright (c) Microsoft Corporation. All rights reserved. // // This source code is only intended as a supplement to the // Microsoft Foundation Classes Reference and related // electronic documentation provi...
24.241706
77
0.705181
alonmm
78d02b3c0d130e661cd828c104dfd78565f16f0d
1,739
cpp
C++
src/dumpContigsFromHeader.cpp
timmassingham/vcflib
e0cb656cb0e224dc078ba1e06079a88a5ea7b6ab
[ "MIT" ]
379
2016-01-29T00:01:51.000Z
2022-03-21T21:07:03.000Z
src/dumpContigsFromHeader.cpp
timmassingham/vcflib
e0cb656cb0e224dc078ba1e06079a88a5ea7b6ab
[ "MIT" ]
245
2016-01-31T19:05:29.000Z
2022-03-31T13:17:17.000Z
src/dumpContigsFromHeader.cpp
timmassingham/vcflib
e0cb656cb0e224dc078ba1e06079a88a5ea7b6ab
[ "MIT" ]
168
2016-02-11T19:30:52.000Z
2022-02-10T09:20:34.000Z
/* vcflib C++ library for parsing and manipulating VCF files Copyright © 2010-2020 Erik Garrison Copyright © 2020 Pjotr Prins This software is published under the MIT License. See the LICENSE file. */ #include "Variant.h" #include "split.h" #include "var.hpp" #include <string> #include <iostrea...
20.458824
88
0.581369
timmassingham
78d0de5c68dea901ad43bdef95a59b9d50e7af50
257
cxx
C++
functional_bit_and.cxx
cmbrandt/stl-algorithms
9eb0bc664e8423fb066c29aa501a72f4e672be1d
[ "MIT" ]
null
null
null
functional_bit_and.cxx
cmbrandt/stl-algorithms
9eb0bc664e8423fb066c29aa501a72f4e672be1d
[ "MIT" ]
null
null
null
functional_bit_and.cxx
cmbrandt/stl-algorithms
9eb0bc664e8423fb066c29aa501a72f4e672be1d
[ "MIT" ]
null
null
null
#include <iostream> #include <functional.hxx> template <typename T, typename B = cmb::bit_and<>> T bit_test( T a, T b, B bit = B{ } ) { return bit(a, b); } int main() { auto r = bit_test(5, 9); std::cout << "result = " << r << std::endl; // = 1 }
15.117647
52
0.560311
cmbrandt
78d2083342a63a9350ea517c9fe7fd47adc694ab
103,179
cpp
C++
sources/FEM/matrix_routines.cpp
wolf-pf/ogs_kb1
97ace8bc8fb80b033b8a32f6ed4a20983caa241f
[ "BSD-4-Clause" ]
1
2019-11-13T23:01:08.000Z
2019-11-13T23:01:08.000Z
sources/FEM/matrix_routines.cpp
wolf-pf/ogs_kb1
97ace8bc8fb80b033b8a32f6ed4a20983caa241f
[ "BSD-4-Clause" ]
null
null
null
sources/FEM/matrix_routines.cpp
wolf-pf/ogs_kb1
97ace8bc8fb80b033b8a32f6ed4a20983caa241f
[ "BSD-4-Clause" ]
null
null
null
/************************************************************************** ROCKFLOW - Modul: matrix.c Aufgabe: Verwaltung von nxn - Matrizen mit verschiedenen Speichertechniken und Bereitstellung entsprechender Zugriffsfunktionen sowie einfacher mathematischer Operationen auf die entsprechende Matrix. ...
27.6249
110
0.532686
wolf-pf
78d4bb421c4506f17470f2f108d78780658c24a6
4,577
cpp
C++
PostGL/GLMirrorPlane.cpp
febiosoftware/FEBioStudio
324d76b069a60e99328500b9b25eb79cf5a019e8
[ "MIT" ]
27
2020-06-25T06:34:52.000Z
2022-03-11T08:58:57.000Z
PostGL/GLMirrorPlane.cpp
febiosoftware/FEBioStudio
324d76b069a60e99328500b9b25eb79cf5a019e8
[ "MIT" ]
42
2020-06-15T18:40:57.000Z
2022-03-24T05:38:54.000Z
PostGL/GLMirrorPlane.cpp
febiosoftware/FEBioStudio
324d76b069a60e99328500b9b25eb79cf5a019e8
[ "MIT" ]
12
2020-06-27T13:58:57.000Z
2022-03-24T05:39:10.000Z
/*This file is part of the FEBio Studio source code and is licensed under the MIT license listed below. See Copyright-FEBio-Studio.txt for details. Copyright (c) 2020 University of Utah, The Trustees of Columbia University in the City of New York, and others. Permission is hereby granted, free of charge, to any per...
25.569832
89
0.689753
febiosoftware
78da793829745e9cc332fcf7b12077de0c6ae62a
2,202
cpp
C++
10706 Number Sequence.cpp
zihadboss/UVA-Solutions
020fdcb09da79dc0a0411b04026ce3617c09cd27
[ "Apache-2.0" ]
86
2016-01-20T11:36:50.000Z
2022-03-06T19:43:14.000Z
10706 Number Sequence.cpp
Mehedishihab/UVA-Solutions
474fe3d9d9ba574b97fd40ca5abb22ada95654a1
[ "Apache-2.0" ]
null
null
null
10706 Number Sequence.cpp
Mehedishihab/UVA-Solutions
474fe3d9d9ba574b97fd40ca5abb22ada95654a1
[ "Apache-2.0" ]
113
2015-12-04T06:40:57.000Z
2022-02-11T02:14:28.000Z
#include <iostream> #include <algorithm> using namespace std; typedef unsigned long long ull; // Exclusive const int MaxIndex = 31268; // To search: // Binary search on lengthBefore, to cut out most // Then binary search on lengthOf for rest. Can use the digit in that equal to the diff of rest and lengthOf[...
24.197802
115
0.624886
zihadboss
78db32c42f63de3902fd14c8d2a8c5a72ae65bee
6,443
cpp
C++
rocsolver/clients/gtest/getf2_getrf_strided_batched_gtest.cpp
leekillough/rocSOLVER
a0fa2af65be983dcec60081ed618b0642867aef0
[ "BSD-2-Clause" ]
null
null
null
rocsolver/clients/gtest/getf2_getrf_strided_batched_gtest.cpp
leekillough/rocSOLVER
a0fa2af65be983dcec60081ed618b0642867aef0
[ "BSD-2-Clause" ]
null
null
null
rocsolver/clients/gtest/getf2_getrf_strided_batched_gtest.cpp
leekillough/rocSOLVER
a0fa2af65be983dcec60081ed618b0642867aef0
[ "BSD-2-Clause" ]
null
null
null
/* ************************************************************************ * Copyright 2018 Advanced Micro Devices, Inc. * * ************************************************************************ */ #include "testing_getf2_getrf_strided_batched.hpp" #include "utility.h" #include <gtest/gtest.h> #include <math.h>...
29.555046
100
0.645662
leekillough
78dc2e5d5bdfb6c1657aea6520d41f35c59f5c93
926
cpp
C++
Data Structures/Dynamic Programming/2-D DP/Grid Unique Paths/Tabulation.cpp
ravikjha7/Competitive_Programming
86df773c258d6675bb3244030e6d71aa32e01fce
[ "MIT" ]
null
null
null
Data Structures/Dynamic Programming/2-D DP/Grid Unique Paths/Tabulation.cpp
ravikjha7/Competitive_Programming
86df773c258d6675bb3244030e6d71aa32e01fce
[ "MIT" ]
null
null
null
Data Structures/Dynamic Programming/2-D DP/Grid Unique Paths/Tabulation.cpp
ravikjha7/Competitive_Programming
86df773c258d6675bb3244030e6d71aa32e01fce
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long int ll; #define mod 1000000007 void file() { #ifndef ONLINE_JUDGE freopen("input.txt", "r", stdin); freopen("output.txt", "w", stdout); #endif } // Time Complexity : O(n*m) // Space Complexity : O(n*m) int GridUniquePaths(int n,int m) { vector...
15.965517
45
0.546436
ravikjha7
78df233c5cfa07cff79df6c7dcc968a9637f8964
458
cpp
C++
ch15/ex15.42_c/orquery.cpp
shawabhishek/Cpp-Primer
c93143965e62c7ab833f43586ab1c759a5707cfc
[ "CC0-1.0" ]
7,897
2015-01-02T04:35:38.000Z
2022-03-31T08:32:50.000Z
ch15/ex15.42_c/orquery.cpp
shawabhishek/Cpp-Primer
c93143965e62c7ab833f43586ab1c759a5707cfc
[ "CC0-1.0" ]
456
2015-01-01T15:47:52.000Z
2022-02-07T04:17:56.000Z
ch15/ex15.42_c/orquery.cpp
shawabhishek/Cpp-Primer
c93143965e62c7ab833f43586ab1c759a5707cfc
[ "CC0-1.0" ]
3,887
2015-01-01T13:23:23.000Z
2022-03-31T15:05:21.000Z
#include "orquery.h" #include <memory> using std::make_shared; #include <set> using std::set; #include "queryresult.h" #include "textquery.h" #include "query.h" QueryResult OrQuery::eval(const TextQuery &text) const { auto right = rhs.eval(text); auto left = lhs.eval(text); auto ret_lines = make_shared<set<line_...
20.818182
70
0.709607
shawabhishek
78e6e054e08096cdb0bfb80316711ee02f3db9b2
3,350
cpp
C++
test/resource/erfwriter.cpp
seedhartha/revan
b9a98007ca2f510b42894ecd09fb623571b433dc
[ "MIT" ]
37
2020-06-27T18:50:48.000Z
2020-08-02T14:13:51.000Z
test/resource/erfwriter.cpp
seedhartha/revan
b9a98007ca2f510b42894ecd09fb623571b433dc
[ "MIT" ]
null
null
null
test/resource/erfwriter.cpp
seedhartha/revan
b9a98007ca2f510b42894ecd09fb623571b433dc
[ "MIT" ]
1
2020-07-14T13:32:15.000Z
2020-07-14T13:32:15.000Z
/* * Copyright (c) 2020-2022 The reone project contributors * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * ...
42.405063
114
0.52
seedhartha
78e88da16e897b9e95a76fe790e2a8d6299871dd
769
cpp
C++
Elysium-Engine/Elysium/src/Core/Application/Threads/ElysiumThread.cpp
Kney-Delach/Elysium-Puzzle-Engine
21eafc5bdad993ea5ffc9e70c910f36ce440b355
[ "Apache-2.0" ]
null
null
null
Elysium-Engine/Elysium/src/Core/Application/Threads/ElysiumThread.cpp
Kney-Delach/Elysium-Puzzle-Engine
21eafc5bdad993ea5ffc9e70c910f36ce440b355
[ "Apache-2.0" ]
null
null
null
Elysium-Engine/Elysium/src/Core/Application/Threads/ElysiumThread.cpp
Kney-Delach/Elysium-Puzzle-Engine
21eafc5bdad993ea5ffc9e70c910f36ce440b355
[ "Apache-2.0" ]
null
null
null
/** * FILENAME : ElysiumThread.cpp * Name : Ori Lazar * Student ID : b9061712 * Date : 21/10/2019 * Description : This header contains the implementation for the abstract thread class for this engine, used to run the application. */ #include "empch.h" #include "ElysiumThread.h" #ifdef EM_PLATFORM_WINDOWS #i...
18.309524
132
0.674902
Kney-Delach
78eb0998384d6c09d3d4d87d934a1db961695d71
3,825
cpp
C++
main.cpp
p-col/Z3Ann
36f3fead68212a772b8ab746c8a01d233b2c97fb
[ "MIT" ]
1
2021-11-01T12:58:17.000Z
2021-11-01T12:58:17.000Z
main.cpp
p-col/Z3Ann
36f3fead68212a772b8ab746c8a01d233b2c97fb
[ "MIT" ]
null
null
null
main.cpp
p-col/Z3Ann
36f3fead68212a772b8ab746c8a01d233b2c97fb
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include "z3++.h" #include "z3ann.hpp" #include "Z3SolutionConverter.hpp" #include "BackendC.hpp" #include "Frontend.hpp" void diabetesTest(void) { Frontend fe; if (!fe.loadDataFromFile("testfiles/diabietes2.train")) { std::cerr << "File not found." << std::endl; ...
29.882813
79
0.45098
p-col
78ec3f0ed641b0c5e552b400150ad9041a533753
342
cpp
C++
yellow/w3_01_sum_reserve_sort/sum_reverse_sort.cpp
avptin/coursera-c-plus-plus
18146f023998a073ee8e34315789d049b7fa0d7c
[ "MIT" ]
null
null
null
yellow/w3_01_sum_reserve_sort/sum_reverse_sort.cpp
avptin/coursera-c-plus-plus
18146f023998a073ee8e34315789d049b7fa0d7c
[ "MIT" ]
null
null
null
yellow/w3_01_sum_reserve_sort/sum_reverse_sort.cpp
avptin/coursera-c-plus-plus
18146f023998a073ee8e34315789d049b7fa0d7c
[ "MIT" ]
null
null
null
#include "sum_reverse_sort.h" using namespace std; int Sum(int x, int y) { return x + y; } string Reverse(string s) { string result; for (auto rit = s.rbegin(); rit != s.rend(); ++rit) { result.push_back(*rit); } return result; }; void Sort(vector<int>& nums) { return sort(nums.begin(), nums.end()); } in...
22.8
71
0.625731
avptin
78f746137db2125bdc2b3695e3070c3cc71ebe08
2,548
hpp
C++
include/x11/events.hpp
corngood/polybar
385572ec643ea6d35483b652a17e74b01229b267
[ "MIT" ]
1
2020-05-08T14:47:00.000Z
2020-05-08T14:47:00.000Z
include/x11/events.hpp
corngood/polybar
385572ec643ea6d35483b652a17e74b01229b267
[ "MIT" ]
null
null
null
include/x11/events.hpp
corngood/polybar
385572ec643ea6d35483b652a17e74b01229b267
[ "MIT" ]
1
2020-05-08T15:26:36.000Z
2020-05-08T15:26:36.000Z
#pragma once #include <xpp/event.hpp> #include "common.hpp" POLYBAR_NS class connection; namespace evt { // window focus events using focus_in = xpp::x::event::focus_in<connection&>; using focus_out = xpp::x::event::focus_out<connection&>; // cursor events using enter_notify = xpp::x::event::enter_notif...
42.466667
74
0.741366
corngood
78f93ab42dbe0b9cfc9e23a37d1ef9809a00cddc
1,052
cpp
C++
SOURCE/ArchitectBossLevel.cpp
OnionBurger/DungeonsOfPain
cb56c138a12bdc08376a2ba04f02d24527344202
[ "MIT" ]
null
null
null
SOURCE/ArchitectBossLevel.cpp
OnionBurger/DungeonsOfPain
cb56c138a12bdc08376a2ba04f02d24527344202
[ "MIT" ]
null
null
null
SOURCE/ArchitectBossLevel.cpp
OnionBurger/DungeonsOfPain
cb56c138a12bdc08376a2ba04f02d24527344202
[ "MIT" ]
null
null
null
#include "ArchitectBossLevel.h" ArchitectBossLevel::ArchitectBossLevel() { } void ArchitectBossLevel::generate() { sizeX = 13; sizeY = 17; allocate(); fillWith(T_WALL); for (unsigned i = 2; i <= 10; ++i) for (unsigned j = 2; j <= 12; ++j) lvl[i][j] = T_EMPTY; for (unsigned i = 3; i <= 9; ++i) { lvl[i][...
30.057143
99
0.652091
OnionBurger
60015c3d442c8134c22e971915ea5b011299ff91
6,861
cpp
C++
Game/src/PlatformGameState.cpp
DanielParra159/EngineAndGame
45af7439633054aa6c9a8e75dd0453f9ce297626
[ "CC0-1.0" ]
1
2017-04-08T14:33:04.000Z
2017-04-08T14:33:04.000Z
Game/src/PlatformGameState.cpp
DanielParra159/EngineAndGame
45af7439633054aa6c9a8e75dd0453f9ce297626
[ "CC0-1.0" ]
1
2017-04-05T01:56:28.000Z
2017-04-05T01:56:28.000Z
Game/src/PlatformGameState.cpp
DanielParra159/EngineAndGame
45af7439633054aa6c9a8e75dd0453f9ce297626
[ "CC0-1.0" ]
null
null
null
#include "PlatformGameState.h" #include "MenuState.h" #include "Platformmer/PlatformerWall.h" #include "Platformmer/PlatformerPlayer.h" #include "Platformmer/PlatformerGrass.h" #include "Platformmer/PlatformerCoin.h" #include "Platformmer/PlatformerBackground.h" #include "Input/InputManager.h" #include "Input...
32.060748
162
0.692756
DanielParra159
6004e96ed0c659d26d4f75e8f40e34665025f6d4
8,651
cpp
C++
XPowerControl/token_retrieve.cpp
snowpoke/XPowerControl
a5e4493cde4bdc06df30dba69a9460247074fdcd
[ "MIT" ]
4
2021-11-11T17:03:20.000Z
2022-01-14T18:13:41.000Z
XPowerControl/token_retrieve.cpp
snowpoke/XPowerControl
a5e4493cde4bdc06df30dba69a9460247074fdcd
[ "MIT" ]
1
2022-01-14T00:39:49.000Z
2022-01-14T00:39:49.000Z
XPowerControl/token_retrieve.cpp
snowpoke/XPowerControl
a5e4493cde4bdc06df30dba69a9460247074fdcd
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "RetrieveTokenDlg.h" #include "token_retrieve.h" #include "nlohmann/json.hpp" #include <boost/filesystem.hpp> #include <boost/algorithm/string.hpp> #include <fstream> #include <curl/curl.h> using namespace std; HANDLE mitm_start_alt() { DeleteFile(L"token.txt"); // we create an empty ...
29.525597
125
0.701075
snowpoke
6007181b87a5af1d608f11c956c0577c3c9662d9
8,110
hpp
C++
src/ssd1306/ssd1306.hpp
embvm-drivers/two-tone-oled
7c8c52daa573e923e3e4fd5e619d509c33506f11
[ "MIT" ]
null
null
null
src/ssd1306/ssd1306.hpp
embvm-drivers/two-tone-oled
7c8c52daa573e923e3e4fd5e619d509c33506f11
[ "MIT" ]
null
null
null
src/ssd1306/ssd1306.hpp
embvm-drivers/two-tone-oled
7c8c52daa573e923e3e4fd5e619d509c33506f11
[ "MIT" ]
null
null
null
// Copyright 2020 Embedded Artistry LLC // SPDX-License-Identifier: MIT #ifndef SSD1306_HPP_ #define SSD1306_HPP_ #include <driver/basic_display.hpp> #include <driver/i2c.hpp> #include <etl/variant_pool.h> namespace embdrv { inline constexpr uint8_t DEFAULT_SSD1306_I2C_ADDR = 0x3C; /** Driver for the SSD1306 Displa...
35.414847
97
0.744266
embvm-drivers
600d4ac22f265afb8ac7ccc32a98b0aca27e1c3c
3,412
cpp
C++
Core/SGConnect/examples/SGConnect_TestProgram.cpp
dic-iit/SenseGlove-API
baad587d4e165d7bfafd7f0c8ee6a1ce8ad651d6
[ "MIT" ]
null
null
null
Core/SGConnect/examples/SGConnect_TestProgram.cpp
dic-iit/SenseGlove-API
baad587d4e165d7bfafd7f0c8ee6a1ce8ad651d6
[ "MIT" ]
null
null
null
Core/SGConnect/examples/SGConnect_TestProgram.cpp
dic-iit/SenseGlove-API
baad587d4e165d7bfafd7f0c8ee6a1ce8ad651d6
[ "MIT" ]
1
2022-03-29T07:53:42.000Z
2022-03-29T07:53:42.000Z
// Application demonstrating the main funtion(s) of the SGConnect library. #include <iostream> //output to console #include "SGConnect.h" //Access SGConnect functions. int main() { std::cout << "Testing " << SGConnect::GetLibraryVersion() << std::endl; std::cout << "=========================================" << st...
55.032258
180
0.650938
dic-iit
60104de79c3e0bd1d5a1c84b41e0848d251ef410
1,706
hh
C++
core/test/multiplexing/engine/hooker.hh
centreon-lab/centreon-broker
b412470204eedc01422bbfd00bcc306dfb3d2ef5
[ "Apache-2.0" ]
40
2015-03-10T07:55:39.000Z
2021-06-11T10:13:56.000Z
core/test/multiplexing/engine/hooker.hh
centreon-lab/centreon-broker
b412470204eedc01422bbfd00bcc306dfb3d2ef5
[ "Apache-2.0" ]
297
2015-04-30T10:02:04.000Z
2022-03-09T13:31:54.000Z
core/test/multiplexing/engine/hooker.hh
centreon-lab/centreon-broker
b412470204eedc01422bbfd00bcc306dfb3d2ef5
[ "Apache-2.0" ]
29
2015-08-03T10:04:15.000Z
2021-11-25T12:21:00.000Z
/* * Copyright 2011 - 2019 Centreon (https://www.centreon.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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
31.018182
81
0.723916
centreon-lab
6010f95b0e95193e76b0b35cc9841e7880a3740f
1,137
hpp
C++
src/3rd party/boost/boost/test/unit_test.hpp
OLR-xray/OLR-3.0
b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611
[ "Apache-2.0" ]
8
2016-01-25T20:18:51.000Z
2019-03-06T07:00:04.000Z
src/3rd party/boost/boost/test/unit_test.hpp
OLR-xray/OLR-3.0
b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611
[ "Apache-2.0" ]
null
null
null
src/3rd party/boost/boost/test/unit_test.hpp
OLR-xray/OLR-3.0
b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611
[ "Apache-2.0" ]
3
2016-02-14T01:20:43.000Z
2021-02-03T11:19:11.000Z
// (C) Copyright Gennadiy Rozental 2001-2002. // Permission to copy, use, modify, sell and distribute this software // is granted provided this copyright notice appears in all copies. // This software is provided "as is" without express or implied warranty, // and with no claim as to its suitability for any purpos...
34.454545
78
0.562005
OLR-xray
601335bf34dba3f7fc4690f67510c3a971d9dc3e
1,933
cpp
C++
Source/Arnoldi/file_operations.cpp
evstigneevnm/NS3DPeriodic
094c168f153e36f00ac9103675416ddb9ee6b586
[ "BSD-3-Clause" ]
null
null
null
Source/Arnoldi/file_operations.cpp
evstigneevnm/NS3DPeriodic
094c168f153e36f00ac9103675416ddb9ee6b586
[ "BSD-3-Clause" ]
null
null
null
Source/Arnoldi/file_operations.cpp
evstigneevnm/NS3DPeriodic
094c168f153e36f00ac9103675416ddb9ee6b586
[ "BSD-3-Clause" ]
null
null
null
#include "file_operations.h" void print_vector(const char *f_name, int N, real *vec){ FILE *stream; stream=fopen(f_name, "w" ); for (int i = 0; i < N; ++i) { fprintf(stream, "%.16le\n",(double)vec[i]); } fclose(stream); } void print_vector(const char *f_name, int N, real complex *vec){ FIL...
15.844262
78
0.549405
evstigneevnm
60148b4214239e2e40b7308dfc99941db587df6a
5,315
cpp
C++
VC2012Samples/Windows 8 samples/C++/Windows 8 app samples/Responding to the appearance of the on-screen keyboard sample (Windows 8)/C++/KeyboardPage.xaml.cpp
alonmm/VCSamples
6aff0b4902f5027164d593540fcaa6601a0407c3
[ "MIT" ]
300
2019-05-09T05:32:33.000Z
2022-03-31T20:23:24.000Z
VC2012Samples/Windows 8 samples/C++/Windows 8 app samples/Responding to the appearance of the on-screen keyboard sample (Windows 8)/C++/KeyboardPage.xaml.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
9
2016-09-19T18:44:26.000Z
2018-10-26T10:20:05.000Z
VC2012Samples/Windows 8 samples/C++/Windows 8 app samples/Responding to the appearance of the on-screen keyboard sample (Windows 8)/C++/KeyboardPage.xaml.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
633
2019-05-08T07:34:12.000Z
2022-03-30T04:38:28.000Z
// // KeyboardPage.xaml.cpp // Implementation of the KeyboardPage class // #include "pch.h" #include "KeyboardPage.xaml.h" using namespace KeyboardEventsSampleCPP; using namespace Platform; using namespace Windows::Foundation; using namespace Windows::Foundation::Collections; using namespace Windows::UI::Xaml; usin...
37.964286
138
0.73095
alonmm
6017f3c3e6b3f7e9f26a4c970037089f7cc26724
1,995
cpp
C++
openmp/cplusplus/src/viz.cpp
rohanvarma16/pcseg
574b9cd7b42f8aff49f4a9a7baf3a8a2c316a092
[ "MIT" ]
23
2017-12-06T02:23:52.000Z
2022-02-13T22:17:11.000Z
openmp/cplusplus/src/viz.cpp
zjsprit/pcseg
574b9cd7b42f8aff49f4a9a7baf3a8a2c316a092
[ "MIT" ]
null
null
null
openmp/cplusplus/src/viz.cpp
zjsprit/pcseg
574b9cd7b42f8aff49f4a9a7baf3a8a2c316a092
[ "MIT" ]
11
2018-01-02T07:56:09.000Z
2022-01-12T05:36:43.000Z
#include <iostream> #include <stdio.h> #include <pcl/io/pcd_io.h> #include <pcl/point_types.h> #include <pcl/common/common_headers.h> #include <pcl/visualization/pcl_visualizer.h> #include <pcl/console/parse.h> boost::shared_ptr<pcl::visualization::PCLVisualizer> simpleVis (pcl::PointCloud<pcl::PointXYZ>::ConstPtr ...
37.641509
116
0.66015
rohanvarma16
6019af95b2f08eba5ea29d6b050d91ccc499a98d
1,576
cpp
C++
typical90/052-DiceProduct/dice-product.cpp
keitaronaruse/AtCoderTraining
9fb8f0d492be678a788080c96b06c33992cb6db2
[ "MIT" ]
null
null
null
typical90/052-DiceProduct/dice-product.cpp
keitaronaruse/AtCoderTraining
9fb8f0d492be678a788080c96b06c33992cb6db2
[ "MIT" ]
null
null
null
typical90/052-DiceProduct/dice-product.cpp
keitaronaruse/AtCoderTraining
9fb8f0d492be678a788080c96b06c33992cb6db2
[ "MIT" ]
null
null
null
/* 052 - Dice Product(★3) https://atcoder.jp/contests/typical90/tasks/typical90_az Author: Keitaro Naruse Date: 2021-12-18, 2022-01-02 MIT License */ // # Solution // - sum1 = ( A11 + A12 + ... + A16 ) // - sum2 = ( A21 + A22 + ... + A26 ) // - sum1 * sum2 // = A11*A21 + A11*A2...
22.514286
73
0.434645
keitaronaruse
6019b7ca1a2a8c0e38c029fe2e59c74affcc73ea
4,739
cpp
C++
src/leaf-node-cylinder.cpp
nassimeblinlaas/gepetto-viewer
f47dc13f73c5667c66f1c5273aa0740d62fe9240
[ "BSD-3-Clause" ]
null
null
null
src/leaf-node-cylinder.cpp
nassimeblinlaas/gepetto-viewer
f47dc13f73c5667c66f1c5273aa0740d62fe9240
[ "BSD-3-Clause" ]
null
null
null
src/leaf-node-cylinder.cpp
nassimeblinlaas/gepetto-viewer
f47dc13f73c5667c66f1c5273aa0740d62fe9240
[ "BSD-3-Clause" ]
null
null
null
// // leaf-node-cylinder.cpp // gepetto-viewer // // Created by Justin Carpentier, Mathieu Geisert in November 2014. // Copyright (c) 2014 LAAS-CNRS. All rights reserved. // #include <gepetto/viewer/leaf-node-cylinder.h> namespace graphics { /* Declaration of private function members */ void Lea...
29.61875
143
0.627348
nassimeblinlaas
601afe56f19d2d76bbcc3398c9080b454d63c246
1,441
hpp
C++
src/muxer/async_webm_muxer.hpp
kounoike/hisui
7dca5cf4fedfdcf9320a1299ed61f16ee6a3a3ce
[ "Apache-2.0" ]
null
null
null
src/muxer/async_webm_muxer.hpp
kounoike/hisui
7dca5cf4fedfdcf9320a1299ed61f16ee6a3a3ce
[ "Apache-2.0" ]
null
null
null
src/muxer/async_webm_muxer.hpp
kounoike/hisui
7dca5cf4fedfdcf9320a1299ed61f16ee6a3a3ce
[ "Apache-2.0" ]
null
null
null
#pragma once #include <memory> #include <vector> #include "config.hpp" #include "metadata.hpp" #include "muxer/muxer.hpp" #include "webm/output/context.hpp" namespace hisui { struct Frame; } namespace hisui::muxer { struct AsyncWebMMuxerParameters { const std::vector<hisui::ArchiveItem>& audio_archive_items; ...
24.423729
72
0.754337
kounoike
e743b74123793aa76809f07861c8e23d68a367cb
733
cpp
C++
CodeForces/Rating 1200/982A.Row.cpp
GouravKhunger/Competetive-Programming
0c50807242233c267c1a170150a88bd8b16ceb05
[ "MIT" ]
1
2020-11-23T11:47:01.000Z
2020-11-23T11:47:01.000Z
CodeForces/Rating 1200/982A.Row.cpp
GouravKhunger/Competetive-Programming
0c50807242233c267c1a170150a88bd8b16ceb05
[ "MIT" ]
null
null
null
CodeForces/Rating 1200/982A.Row.cpp
GouravKhunger/Competetive-Programming
0c50807242233c267c1a170150a88bd8b16ceb05
[ "MIT" ]
null
null
null
// https://codeforces.com/problemset/problem/982/A // Row // File Creation Date: 2-Dec-2020 // Author: Gourav(https://github.com/GouravKhunger) #include <bits/stdc++.h> using namespace std; #define FIO ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0); int main() { FIO; int t; cin>>t; ...
25.275862
71
0.527967
GouravKhunger
e7454bbf6d0a7a84493d557527012dd560140a1a
3,219
hpp
C++
include/gridtools/stencil_composition/level.hpp
mbianco/gridtools
1abef09881a31495a3d02a15d3fe21620c6dde98
[ "BSD-3-Clause" ]
null
null
null
include/gridtools/stencil_composition/level.hpp
mbianco/gridtools
1abef09881a31495a3d02a15d3fe21620c6dde98
[ "BSD-3-Clause" ]
null
null
null
include/gridtools/stencil_composition/level.hpp
mbianco/gridtools
1abef09881a31495a3d02a15d3fe21620c6dde98
[ "BSD-3-Clause" ]
1
2019-06-14T10:35:50.000Z
2019-06-14T10:35:50.000Z
/* * GridTools * * Copyright (c) 2014-2019, ETH Zurich * All rights reserved. * * Please, refer to the LICENSE file in the root directory. * SPDX-License-Identifier: BSD-3-Clause */ #pragma once #include <type_traits> #include "../common/defs.hpp" #include "../meta/macros.hpp" namespace gridtools { name...
35.373626
117
0.664181
mbianco
e7487d067cf6a536c32587a63bb291888da663e4
1,231
cpp
C++
ThrowThingsTemplate/Vixen/source/vgraphics/vix_glcamera3d.cpp
eric-fonseca/Throw-Things-at-Monsters
c92d9cd4e244d4ddb54b74e8508cba2b6408abb7
[ "MIT" ]
null
null
null
ThrowThingsTemplate/Vixen/source/vgraphics/vix_glcamera3d.cpp
eric-fonseca/Throw-Things-at-Monsters
c92d9cd4e244d4ddb54b74e8508cba2b6408abb7
[ "MIT" ]
null
null
null
ThrowThingsTemplate/Vixen/source/vgraphics/vix_glcamera3d.cpp
eric-fonseca/Throw-Things-at-Monsters
c92d9cd4e244d4ddb54b74e8508cba2b6408abb7
[ "MIT" ]
null
null
null
#include <vix_glcamera3d.h> namespace Vixen { GLCamera3D::GLCamera3D() : m_aspect(0.0f), m_fov(0.0f), m_znear(1.0f), m_zfar(1000.0f), m_position(0.0f), m_target(0.0f, 0.0f, -1.0f), m_up(0.0f, 1.0f, 0.0f) { } void GLCamera3D::SetPerspective(float aspect, float fov, float znear, float ...
18.373134
82
0.662063
eric-fonseca
e74d07804d273033c242b5c9b5f1adbc42f55740
471
hpp
C++
Source/Engine/src/include/SceneData/Background.hpp
DatZach/Swift
b0c6f9c87e8c8dfe8a19dedc4dd57081fa5cdef7
[ "MIT" ]
null
null
null
Source/Engine/src/include/SceneData/Background.hpp
DatZach/Swift
b0c6f9c87e8c8dfe8a19dedc4dd57081fa5cdef7
[ "MIT" ]
null
null
null
Source/Engine/src/include/SceneData/Background.hpp
DatZach/Swift
b0c6f9c87e8c8dfe8a19dedc4dd57081fa5cdef7
[ "MIT" ]
1
2021-10-30T20:43:01.000Z
2021-10-30T20:43:01.000Z
/* * background.hpp * Scene Data Background */ #ifndef __SCENE_DATA_BACKGROUND_HPP #define __SCENE_DATA_BACKGROUND_HPP #include <string> #include <Video/Color.hpp> #include <SceneData/Section.hpp> #define SD_TAG_BACKGROUND SD_TAG_VALUE('B', 'K', 'G', 'D') namespace SceneData { class Background : public ISecti...
15.193548
60
0.713376
DatZach
e750b7de03729d87d1f6a7cb78f4d7274901b8ee
2,380
cpp
C++
CogEye/App/src/CogQueue.cpp
Bounty556/CogEye
c4f678cad9542f7d595510849779ffb46f26e016
[ "Apache-2.0" ]
null
null
null
CogEye/App/src/CogQueue.cpp
Bounty556/CogEye
c4f678cad9542f7d595510849779ffb46f26e016
[ "Apache-2.0" ]
null
null
null
CogEye/App/src/CogQueue.cpp
Bounty556/CogEye
c4f678cad9542f7d595510849779ffb46f26e016
[ "Apache-2.0" ]
null
null
null
#include "CogQueue.h" #include <UI/UISprite.h> CogQueue::CogQueue(Soul::FontManager& fonts, Soul::TextureManager& textures, u32 smallCogs, u32 medCogs, u32 largeCogs) : m_UI(), m_Listener() { m_CogsLeft[0] = smallCogs; m_CogsLeft[1] = medCogs; m_CogsLeft[2] = largeCogs; m_CogText[0] = PARTITION(Soul::UILabel, S...
29.75
134
0.706303
Bounty556
e7535025071ac0e1457f54d03f844c224dbc716f
3,881
cpp
C++
03_FreeRTOS/user/RCC.cpp
AVilezhaninov/NUCLEO-H753ZI
cc60a653814becfee3dce07f3f8ef6adba7698a0
[ "MIT" ]
null
null
null
03_FreeRTOS/user/RCC.cpp
AVilezhaninov/NUCLEO-H753ZI
cc60a653814becfee3dce07f3f8ef6adba7698a0
[ "MIT" ]
null
null
null
03_FreeRTOS/user/RCC.cpp
AVilezhaninov/NUCLEO-H753ZI
cc60a653814becfee3dce07f3f8ef6adba7698a0
[ "MIT" ]
null
null
null
#include "user\RCC.h" namespace rcc { /******************************************************************************/ /* Private definitions ********************************************************/ /******************************************************************************/ #define DIVN1 480u #define DIVP1 ...
26.222973
80
0.55965
AVilezhaninov
e7546c697244d3940b24b00b6e0d9faf5b6f670c
1,188
cpp
C++
Aurora-lwip-sgx/Enclave/smx/randombytes.cpp
Maxul/Aurora
c4315574f85b04f8575e7ff14bc251317b9ca5db
[ "MIT" ]
8
2020-03-16T06:34:49.000Z
2021-12-06T01:50:54.000Z
Aurora-lwip-sgx/Enclave/smx/randombytes.cpp
Maxul/Aurora
c4315574f85b04f8575e7ff14bc251317b9ca5db
[ "MIT" ]
null
null
null
Aurora-lwip-sgx/Enclave/smx/randombytes.cpp
Maxul/Aurora
c4315574f85b04f8575e7ff14bc251317b9ca5db
[ "MIT" ]
1
2021-12-06T01:50:56.000Z
2021-12-06T01:50:56.000Z
#include <stdint.h> #include <stdlib.h> #include <sgx_trts.h> #include "core.h" #include "randombytes.h" #include "utils.h" #define RDRAND_RETRY_LOOPS 10 static inline uint8_t rdrand_32(uint32_t *rand) { uint8_t carry; __asm__ __volatile__( ".byte 0x0f; .byte 0xc7; .byte 0xf0; setc %1" : "=a" (*rand)...
19.47541
74
0.63468
Maxul
e7579709126b41001fd74c4614acd937040ae635
6,565
cpp
C++
src/moveitPlugin/arm_action_server.cpp
jpmerc/perception3d
f0eef9271afdf9b9100448b88ae1921a97bbba88
[ "BSD-3-Clause" ]
null
null
null
src/moveitPlugin/arm_action_server.cpp
jpmerc/perception3d
f0eef9271afdf9b9100448b88ae1921a97bbba88
[ "BSD-3-Clause" ]
null
null
null
src/moveitPlugin/arm_action_server.cpp
jpmerc/perception3d
f0eef9271afdf9b9100448b88ae1921a97bbba88
[ "BSD-3-Clause" ]
null
null
null
#include <ros/ros.h> #include <actionlib/server/simple_action_server.h> #include <control_msgs/FollowJointTrajectoryAction.h> #include <control_msgs/JointTolerance.h> //#include <jaco_msgs/JointVelocity.h> //#include <jaco_msgs/JointAngles.h> //#include <jaco_msgs/ArmJointAnglesAction.h> #include <trajectory_msgs/Joint...
34.73545
169
0.621325
jpmerc
e758d0344fcfddfb9d6950db440615cc1b820b6f
5,948
cpp
C++
plugin_III/game_III/CGlass.cpp
gta-chaos-mod/plugin-sdk
e3bf176337774a2afc797a47825f81adde78e899
[ "Zlib" ]
368
2015-01-01T21:42:00.000Z
2022-03-29T06:22:22.000Z
plugin_III/game_III/CGlass.cpp
SteepCheat/plugin-sdk
a17c5d933cb8b06e4959b370092828a6a7aa00ef
[ "Zlib" ]
89
2016-05-08T06:42:36.000Z
2022-03-29T06:49:09.000Z
plugin_III/game_III/CGlass.cpp
SteepCheat/plugin-sdk
a17c5d933cb8b06e4959b370092828a6a7aa00ef
[ "Zlib" ]
179
2015-02-03T23:41:17.000Z
2022-03-26T08:27:16.000Z
/* Plugin-SDK (Grand Theft Auto 3) source file Authors: GTA Community. See more here https://github.com/DK22Pac/plugin-sdk Do not delete this comment block. Respect others' work! */ #include "CGlass.h" PLUGIN_SOURCE_FILE PLUGIN_VARIABLE CFallingGlassPane(&CGlass::aGlassPanes)[45] = *reinterpret_cast<C...
49.983193
212
0.797747
gta-chaos-mod
e76181e4c071ec31021d0a0d333358ff1149421a
8,998
hpp
C++
include/oneapi/mkl/rng/detail/engine_impl.hpp
andrewtbarker/oneMKL
722f6c51b528a2bc09bf549b1097f7d8fdc37826
[ "Apache-2.0" ]
null
null
null
include/oneapi/mkl/rng/detail/engine_impl.hpp
andrewtbarker/oneMKL
722f6c51b528a2bc09bf549b1097f7d8fdc37826
[ "Apache-2.0" ]
null
null
null
include/oneapi/mkl/rng/detail/engine_impl.hpp
andrewtbarker/oneMKL
722f6c51b528a2bc09bf549b1097f7d8fdc37826
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Copyright 2020-2021 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....
45.444444
100
0.589575
andrewtbarker
e76bd96ac07b3e42ccc24462b7460967a2050df3
29,040
cpp
C++
scenes/avion.cpp
nissmar/Paper_Plane_VCL
04c51d57cac6772ffa7b39008ba4fc33d6a24610
[ "MIT" ]
null
null
null
scenes/avion.cpp
nissmar/Paper_Plane_VCL
04c51d57cac6772ffa7b39008ba4fc33d6a24610
[ "MIT" ]
null
null
null
scenes/avion.cpp
nissmar/Paper_Plane_VCL
04c51d57cac6772ffa7b39008ba4fc33d6a24610
[ "MIT" ]
1
2020-05-21T16:02:51.000Z
2020-05-21T16:02:51.000Z
#include "avion.hpp" #ifndef M_PI #define M_PI 3.14159265358979323846 #endif #ifdef SCENE_AVION using namespace vcl; static void set_gui(timer_basic& timer, plane_physics& pphy, camera_physics& cphy); //avion void init_phy_cam(plane_physics& pphy, camera_physics& cphy); void physic_model(plane_phys...
33.806752
195
0.55489
nissmar
e76f03073a0f9994d498e442e6fb15306d5b1d46
8,472
cpp
C++
SDL_Guide 03 Image Loading & Rendering/main.cpp
xeek-pro/SDL_Guide
16c9fbff4dd246b73e984ab4149e94ef418e532a
[ "MIT" ]
3
2020-07-13T04:49:27.000Z
2020-07-24T21:27:43.000Z
SDL_Guide 03 Image Loading & Rendering/main.cpp
xeek-pro/sdl_guide
16c9fbff4dd246b73e984ab4149e94ef418e532a
[ "MIT" ]
null
null
null
SDL_Guide 03 Image Loading & Rendering/main.cpp
xeek-pro/sdl_guide
16c9fbff4dd246b73e984ab4149e94ef418e532a
[ "MIT" ]
1
2021-07-13T13:48:18.000Z
2021-07-13T13:48:18.000Z
#include <SDL.h> #include <iostream> #include <sstream> #include <string> #define STB_IMAGE_IMPLEMENTATION #include "stb_image.h" // https://github.com/nothings/stb/blob/master/stb_image.h int main(int argc, char* argv[]) { std::string app_title = "SDL_Guide 03: Image Loading & Rendering"; int display_width = ...
50.428571
144
0.561851
xeek-pro
e7725820b336f5c2d2dcccdc4b86929b54c3b06f
6,350
cpp
C++
src/plugin.cpp
mattcomeback/samp-plugin-crashdetect
4bd4052ff8001e1b30875aceaf06b49f51479a07
[ "BSD-2-Clause" ]
null
null
null
src/plugin.cpp
mattcomeback/samp-plugin-crashdetect
4bd4052ff8001e1b30875aceaf06b49f51479a07
[ "BSD-2-Clause" ]
1
2018-07-14T14:10:19.000Z
2018-07-14T18:05:34.000Z
src/plugin.cpp
Zeex/crashdetect
4bd4052ff8001e1b30875aceaf06b49f51479a07
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) 2011-2021 Zeex // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, // this list of conditions an...
30.676329
79
0.725984
mattcomeback
e772893fc5df04ff6ece99cb16228f16145e700a
17,450
cpp
C++
src/windows/iosystem_win32.cpp
kfrolov/netcoredbg
84f51b95d0eb4a087ce2a068d4474895e44e3f97
[ "MIT" ]
null
null
null
src/windows/iosystem_win32.cpp
kfrolov/netcoredbg
84f51b95d0eb4a087ce2a068d4474895e44e3f97
[ "MIT" ]
null
null
null
src/windows/iosystem_win32.cpp
kfrolov/netcoredbg
84f51b95d0eb4a087ce2a068d4474895e44e3f97
[ "MIT" ]
null
null
null
// Copyright (C) 2020 Samsung Electronics Co., Ltd. // See the LICENSE file in the project root for more information. /// \file iosystem_win32.cpp This file contains windows-specific definitions of /// IOSystem class members (see iosystem.h). #ifdef WIN32 #include <io.h> #include <fcntl.h> #include <ws2tcpip.h> #inc...
31.90128
129
0.618166
kfrolov
e7730d74ff4bf71713040b668f595157af49f731
325
cpp
C++
test/incrementalTest/tasks/legacy_namespace/tasklegacynamespacea.cpp
JamesMBallard/qmake-unity
cf5006a83e7fb1bbd173a9506771693a673d387f
[ "MIT" ]
16
2019-05-23T08:10:39.000Z
2021-12-21T11:20:37.000Z
test/incrementalTest/tasks/legacy_namespace/tasklegacynamespacea.cpp
JamesMBallard/qmake-unity
cf5006a83e7fb1bbd173a9506771693a673d387f
[ "MIT" ]
null
null
null
test/incrementalTest/tasks/legacy_namespace/tasklegacynamespacea.cpp
JamesMBallard/qmake-unity
cf5006a83e7fb1bbd173a9506771693a673d387f
[ "MIT" ]
2
2019-05-23T18:37:43.000Z
2021-08-24T21:29:40.000Z
#include "tasklegacynamespacea.h" #include "factory.h" #include <QDebug> using namespace LegacyNamespaceA; REGISTER_CLASS(TaskLegacyNamespaceA) void TaskLegacyNamespaceA::Exec() { qDebug() << metaObject()->className() << ", namespace " << NamespaceName(); } QString LegacyNamespaceA::NamespaceName() { return "A...
20.3125
79
0.732308
JamesMBallard
e7769f9453db407449a7908a8235f33db40e876c
3,749
cpp
C++
backends/graphs/parsers.cpp
hesingh/emit-struct
5002445545178cfeefe78220186a5d8a3081eea3
[ "Apache-2.0" ]
22
2020-08-03T18:28:39.000Z
2021-09-27T00:25:26.000Z
backends/graphs/parsers.cpp
hesingh/emit-struct
5002445545178cfeefe78220186a5d8a3081eea3
[ "Apache-2.0" ]
8
2019-03-03T20:26:46.000Z
2019-04-26T16:16:16.000Z
backends/graphs/parsers.cpp
hesingh/emit-struct
5002445545178cfeefe78220186a5d8a3081eea3
[ "Apache-2.0" ]
5
2020-08-20T02:53:31.000Z
2021-04-13T23:43:12.000Z
/* * Copyright (c) 2017 VMware Inc. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 * * 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/LI...
35.367925
87
0.612163
hesingh
e77c09b2864b2912994d8cc3873b25da9258c655
4,515
cpp
C++
src/DiffEq/Beta/MixNumberFractionBetaCoeffPolicy.cpp
franjgonzalez/Quinoa
411eb8815e92618c563881b784e287e2dd916f89
[ "RSA-MD" ]
null
null
null
src/DiffEq/Beta/MixNumberFractionBetaCoeffPolicy.cpp
franjgonzalez/Quinoa
411eb8815e92618c563881b784e287e2dd916f89
[ "RSA-MD" ]
null
null
null
src/DiffEq/Beta/MixNumberFractionBetaCoeffPolicy.cpp
franjgonzalez/Quinoa
411eb8815e92618c563881b784e287e2dd916f89
[ "RSA-MD" ]
null
null
null
// ***************************************************************************** /*! \file src/DiffEq/Beta/MixNumberFractionBetaCoeffPolicy.cpp \copyright 2012-2015 J. Bakosi, 2016-2018 Los Alamos National Security, LLC., 2019 Triad National Security, LLC. All rights rese...
46.071429
80
0.609302
franjgonzalez
e784d5471a0b3b67eec5f4c866591677d95c504c
2,633
hpp
C++
tests/unit/math/rect.test.hpp
purpurina-engine/purpurina-frwk
1df6fc2768f346fd47fd5cc3dd05daa59dea3726
[ "MIT" ]
null
null
null
tests/unit/math/rect.test.hpp
purpurina-engine/purpurina-frwk
1df6fc2768f346fd47fd5cc3dd05daa59dea3726
[ "MIT" ]
null
null
null
tests/unit/math/rect.test.hpp
purpurina-engine/purpurina-frwk
1df6fc2768f346fd47fd5cc3dd05daa59dea3726
[ "MIT" ]
null
null
null
#include <doctest.h> #include <ct/math/detail/trect.hpp> typedef ct::trect<ct::f32> rect; typedef ct::trect<ct::i32> recti; TEST_CASE("math/rect") { SUBCASE("default constructors") { rect rect0; CHECK(rect0.x == 0.f); CHECK(rect0.y == 0.f); CHECK(rect0.width == 0.f); CHECK(rect0.height == 0.f); rect ...
26.867347
74
0.620965
purpurina-engine
e787bfbdb4fc243dc6edfe3b841d6cd684a735aa
2,464
hpp
C++
src/nchip8/gui.hpp
ocanty/nchip8
05735e1d1273afccccf0b3cc84a620cf360a388b
[ "MIT" ]
5
2019-01-08T17:55:12.000Z
2021-05-02T07:47:08.000Z
src/nchip8/gui.hpp
ocanty/nchip8
05735e1d1273afccccf0b3cc84a620cf360a388b
[ "MIT" ]
null
null
null
src/nchip8/gui.hpp
ocanty/nchip8
05735e1d1273afccccf0b3cc84a620cf360a388b
[ "MIT" ]
1
2019-03-02T12:18:08.000Z
2019-03-02T12:18:08.000Z
// // Created by ocanty on 26/09/18. // #ifndef CHIP8_NCURSES_GUI_HPP #define CHIP8_NCURSES_GUI_HPP #include <curses.h> #include <sstream> #include <vector> #include <memory> #include <unordered_map> #include "cpu_daemon.hpp" namespace nchip8 { class gui { public: //! @brief Constructor //! //! @param ...
27.685393
95
0.669237
ocanty
e788ed7666b15a8c7f5a5a6f3388160651f7f517
822
cpp
C++
foundation/cpp/1_basics_of_programming/1_getting_started/4_print_all_prime_till_N.cpp
vikaskbm/pepcoding
fb39b6dd62f4e5b76f75e12f2b222e2adb4854c1
[ "MIT" ]
2
2021-03-16T08:56:46.000Z
2021-03-17T05:37:21.000Z
foundation/cpp/1_basics_of_programming/1_getting_started/4_print_all_prime_till_N.cpp
vikaskbm/pepcoding
fb39b6dd62f4e5b76f75e12f2b222e2adb4854c1
[ "MIT" ]
null
null
null
foundation/cpp/1_basics_of_programming/1_getting_started/4_print_all_prime_till_N.cpp
vikaskbm/pepcoding
fb39b6dd62f4e5b76f75e12f2b222e2adb4854c1
[ "MIT" ]
null
null
null
// Print All Primes Till N // 1. You've to print all prime numbers between a range. // 2. Take as input "low", the lower limit of range. // 3. Take as input "high", the higher limit of range. // 4. For the range print all the primes numbers between low and high (both included). #include <iostream> using namespace std...
22.833333
86
0.568127
vikaskbm
e789048757007522202c9026ec4b0ecec30e46a2
314
cpp
C++
Choinon8.cpp
huynhminhtruong/learningcourses
7df63773abf3e56bb4a5367fe08c7afa91b2e474
[ "MIT" ]
null
null
null
Choinon8.cpp
huynhminhtruong/learningcourses
7df63773abf3e56bb4a5367fe08c7afa91b2e474
[ "MIT" ]
null
null
null
Choinon8.cpp
huynhminhtruong/learningcourses
7df63773abf3e56bb4a5367fe08c7afa91b2e474
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int isMin(int a, int b) { if (a < b) { return a; } return b; } int main() { int a, b, c, r; cin >> a >> b >> c; if (isMin(a, b) - a == 0) { r = b; } else { r = a; } cout << isMin(isMin(a, b), c) << " " << isMin(a, b) << " " << r << endl; return 0; }
11.62963
73
0.449045
huynhminhtruong
e78d448e3c899b49c4ec887e0e3e65ee1cf86981
11,732
cpp
C++
src/framework/graphics/drawpool.cpp
Mrpox/otclient
2df4c8c6c87ab3d0cbeedf62091690837e14f2eb
[ "MIT" ]
null
null
null
src/framework/graphics/drawpool.cpp
Mrpox/otclient
2df4c8c6c87ab3d0cbeedf62091690837e14f2eb
[ "MIT" ]
null
null
null
src/framework/graphics/drawpool.cpp
Mrpox/otclient
2df4c8c6c87ab3d0cbeedf62091690837e14f2eb
[ "MIT" ]
null
null
null
/* * Copyright (c) 2010-2020 OTClient <https://github.com/edubart/otclient> * * 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...
32.862745
157
0.65658
Mrpox
e79285db69f4ad768afe21bbec32498678f7f1d3
23,569
hpp
C++
libraries/chain/include/golos/chain/steem_objects.hpp
1aerostorm/golos
06105e960537347bee7c4657e0b63c85adfff26f
[ "MIT" ]
null
null
null
libraries/chain/include/golos/chain/steem_objects.hpp
1aerostorm/golos
06105e960537347bee7c4657e0b63c85adfff26f
[ "MIT" ]
null
null
null
libraries/chain/include/golos/chain/steem_objects.hpp
1aerostorm/golos
06105e960537347bee7c4657e0b63c85adfff26f
[ "MIT" ]
null
null
null
#pragma once #include <golos/protocol/authority.hpp> #include <golos/protocol/steem_operations.hpp> #include <golos/chain/steem_object_types.hpp> #include <boost/multi_index/composite_key.hpp> #include <boost/multiprecision/cpp_int.hpp> #include <boost/interprocess/containers/flat_set.hpp> namespace golos { na...
38.701149
152
0.630532
1aerostorm
e79701c6c68a0f5ffb35063a0458e989eea949b5
5,602
cpp
C++
src/orocos_kinematics_dynamics/python_orocos_kdl/pybind11/tests/pybind11_cross_module_tests.cpp
matchRos/simulation_multirobots
286c5add84d521ad371b2c8961dea872c34e7da2
[ "BSD-2-Clause" ]
15
2020-04-17T17:25:47.000Z
2022-02-02T09:28:56.000Z
src/orocos_kinematics_dynamics/python_orocos_kdl/pybind11/tests/pybind11_cross_module_tests.cpp
matchRos/simulation_multirobots
286c5add84d521ad371b2c8961dea872c34e7da2
[ "BSD-2-Clause" ]
84
2020-04-29T17:22:04.000Z
2022-02-14T12:24:59.000Z
src/orocos_kinematics_dynamics/python_orocos_kdl/pybind11/tests/pybind11_cross_module_tests.cpp
matchRos/simulation_multirobots
286c5add84d521ad371b2c8961dea872c34e7da2
[ "BSD-2-Clause" ]
2
2021-03-02T04:15:05.000Z
2022-01-15T11:59:22.000Z
/* tests/pybind11_cross_module_tests.cpp -- contains tests that require multiple modules Copyright (c) 2017 Jason Rhinelander <jason@imaginary.ca> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #include "pybind11_tests.h" #inc...
40.594203
131
0.650303
matchRos
e7973b06cb60cec789733ecb028636b04ea10f0c
693
cpp
C++
src/constraint/DefaultTestableOutcome.cpp
usc-csci-545/aikido
afd8b203c17cb0b05d7db436f8bffbbe2111a75a
[ "BSD-3-Clause" ]
null
null
null
src/constraint/DefaultTestableOutcome.cpp
usc-csci-545/aikido
afd8b203c17cb0b05d7db436f8bffbbe2111a75a
[ "BSD-3-Clause" ]
null
null
null
src/constraint/DefaultTestableOutcome.cpp
usc-csci-545/aikido
afd8b203c17cb0b05d7db436f8bffbbe2111a75a
[ "BSD-3-Clause" ]
null
null
null
#include <aikido/constraint/DefaultTestableOutcome.hpp> namespace aikido { namespace constraint { //============================================================================== bool DefaultTestableOutcome::isSatisfied() const { return mSatisfiedFlag; } //==========================================================...
23.896552
80
0.497835
usc-csci-545
e79b2729f263c7f0728590d71f85e51c27469101
7,003
cpp
C++
src/uMOOSArduinoLib/NetUtil/tcpblockio.cpp
mandad/moos-ivp-manda
6bc81d14aba7c537b7932d6135eed7a5b39c3c52
[ "MIT" ]
9
2016-02-25T03:25:53.000Z
2022-03-27T09:47:50.000Z
src/uMOOSArduinoLib/NetUtil/tcpblockio.cpp
mandad/moos-ivp-manda
6bc81d14aba7c537b7932d6135eed7a5b39c3c52
[ "MIT" ]
null
null
null
src/uMOOSArduinoLib/NetUtil/tcpblockio.cpp
mandad/moos-ivp-manda
6bc81d14aba7c537b7932d6135eed7a5b39c3c52
[ "MIT" ]
4
2016-06-02T17:42:42.000Z
2021-12-15T09:37:55.000Z
/* tcpblockio.c - a set of functions that define a block i/o interface to TCP. * These functions encapsulate all the steps needed to: * - read and write blocks of a specified size * - open clients and listeners * must be linked with -lnsl and -lsocket on solaris */ #define _POSIX_C_SOURCE 2008...
30.986726
89
0.648865
mandad
e7a1e5ffa070b8adec7e1ce8c972268aaaad3a45
778
cpp
C++
pulsar/util/Mangle.cpp
pulsar-chem/BPModule
f8e64e04fdb01947708f098e833600c459c2ff0e
[ "BSD-3-Clause" ]
null
null
null
pulsar/util/Mangle.cpp
pulsar-chem/BPModule
f8e64e04fdb01947708f098e833600c459c2ff0e
[ "BSD-3-Clause" ]
null
null
null
pulsar/util/Mangle.cpp
pulsar-chem/BPModule
f8e64e04fdb01947708f098e833600c459c2ff0e
[ "BSD-3-Clause" ]
null
null
null
/*! \file * * \brief Mangling/Demangling helpers (source) * \author Benjamin Pritchard (ben@bennyp.org) */ #include <cxxabi.h> #include "pulsar/util/Mangle.hpp" namespace pulsar{ std::string demangle_cpp(const char * typestr) { // taken from https://gcc.gnu.org/onlinedocs/libstdc++/manual/ext_demangling.ht...
18.97561
85
0.664524
pulsar-chem
e7a1e75a6190370a596c247d9280f0e87289ebb0
426
cc
C++
P1-Introduction/P42042.cc
srmeeseeks/PRO1-jutge-FIB
3af3d28c77ff14a5dbff20b1b5ddc4178462d8a1
[ "MIT" ]
null
null
null
P1-Introduction/P42042.cc
srmeeseeks/PRO1-jutge-FIB
3af3d28c77ff14a5dbff20b1b5ddc4178462d8a1
[ "MIT" ]
null
null
null
P1-Introduction/P42042.cc
srmeeseeks/PRO1-jutge-FIB
3af3d28c77ff14a5dbff20b1b5ddc4178462d8a1
[ "MIT" ]
null
null
null
//Classificació de caràcters (1) #include <iostream> using namespace std; int main() { char c; cin >> c; if (c >= 'A' and c <= 'Z') cout << "majuscula"; else cout << "minuscula"; cout << endl; if (c == 'a' or c == 'e' or c == 'i' or c == 'o' or c == 'u' or c == 'A' or c == 'E...
23.666667
80
0.455399
srmeeseeks
e7a32d80887bdb61105720ef8702a3e7e2637109
168
cpp
C++
GameEngine/src/GameEngine/Renderer/RenderCommand.cpp
josh-teichro/game-engine
be016e1a5d58b01255093bb08926969706f3e69a
[ "Apache-2.0" ]
null
null
null
GameEngine/src/GameEngine/Renderer/RenderCommand.cpp
josh-teichro/game-engine
be016e1a5d58b01255093bb08926969706f3e69a
[ "Apache-2.0" ]
null
null
null
GameEngine/src/GameEngine/Renderer/RenderCommand.cpp
josh-teichro/game-engine
be016e1a5d58b01255093bb08926969706f3e69a
[ "Apache-2.0" ]
null
null
null
#include "gepch.h" #include "GameEngine/Renderer/RenderCommand.h" namespace GameEngine { Scope<RendererAPI> RenderCommand::s_RendererAPI = RendererAPI::Create(); }
18.666667
73
0.77381
josh-teichro
e7a478ec621ec8190b9ab35c27f9a0b20b3d5db7
10,632
cxx
C++
AD/ADrec/AliADDecision.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
null
null
null
AD/ADrec/AliADDecision.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
2
2016-11-25T08:40:56.000Z
2019-10-11T12:29:29.000Z
AD/ADrec/AliADDecision.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
null
null
null
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
35.918919
106
0.663469
AllaMaevskaya
e7a9922d223075b89e6e1363c58fa1e98a059e4f
484
hpp
C++
OGL TLM on GPU/Mesh/PlaneMesh.hpp
bobvodka/TransmissionLineMatrixTheoryOnGPU
6db9eb97c7af88969a8bec102e8c55dec48ed8e9
[ "MIT" ]
null
null
null
OGL TLM on GPU/Mesh/PlaneMesh.hpp
bobvodka/TransmissionLineMatrixTheoryOnGPU
6db9eb97c7af88969a8bec102e8c55dec48ed8e9
[ "MIT" ]
null
null
null
OGL TLM on GPU/Mesh/PlaneMesh.hpp
bobvodka/TransmissionLineMatrixTheoryOnGPU
6db9eb97c7af88969a8bec102e8c55dec48ed8e9
[ "MIT" ]
null
null
null
/************************************************************************/ /* Plane implementation of the Base interface */ /* */ /************************************************************************/ #ifndef TLM_PLANEMEHS_HPP #define TLM_PLANEMEHS_HPP #include "IMesh.hpp...
24.2
74
0.429752
bobvodka
e7ab13af6430551112ffc00a4a11a2b3fbe1c0c6
2,750
cc
C++
server/modules/filter/cache/test/keycheck.cc
mariadb-corporation/MaxScale
e18ccc287d7714165479992f5214aacc7486048d
[ "BSD-3-Clause" ]
1,157
2015-01-06T15:44:47.000Z
2022-03-28T02:52:37.000Z
server/modules/filter/cache/test/keycheck.cc
mariadb-corporation/MaxScale
e18ccc287d7714165479992f5214aacc7486048d
[ "BSD-3-Clause" ]
80
2015-02-13T11:49:05.000Z
2022-01-17T09:00:11.000Z
server/modules/filter/cache/test/keycheck.cc
mariadb-corporation/MaxScale
e18ccc287d7714165479992f5214aacc7486048d
[ "BSD-3-Clause" ]
361
2015-01-14T03:01:00.000Z
2022-03-28T00:14:04.000Z
/* * Copyright (c) 2016 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. * * Change Date: 2025-10-11 * * On the date above, in accordance with the Business Source License, use * of this software will be g...
23.504274
76
0.549818
mariadb-corporation
e7aba3f304fc7b6bd45061dc507d3cfbdc498932
5,860
cpp
C++
src/net/NetClient.cpp
levyhoo/netwb
2d00398ca5b8cd69e94e986822b98733b3780d57
[ "Apache-2.0" ]
null
null
null
src/net/NetClient.cpp
levyhoo/netwb
2d00398ca5b8cd69e94e986822b98733b3780d57
[ "Apache-2.0" ]
null
null
null
src/net/NetClient.cpp
levyhoo/netwb
2d00398ca5b8cd69e94e986822b98733b3780d57
[ "Apache-2.0" ]
null
null
null
#include "common/Stdafx.h" #include "net/NetClient.h" #include "stream.h" #include "net/ProxyHelper.h" #include "net/NetSocket.h" using namespace net; NetClient::NetClient(io_service& ioservice, string serverIp, unsigned short serverPort) : m_ioservice(ioservice), m_reconnectTimer(ioservice) { m_serverIp = serve...
26.278027
191
0.642491
levyhoo
e7aeb938fcc9ef3d757463ed1053f5c83aae420f
12,418
cpp
C++
test_conformance/gles/main.cpp
gwawiork/OpenCL-CTS
de6c3db41ba3dfc345321afe2612d0d99a16c7f3
[ "Apache-2.0" ]
1
2020-06-05T04:01:03.000Z
2020-06-05T04:01:03.000Z
test_conformance/gles/main.cpp
gwawiork/OpenCL-CTS
de6c3db41ba3dfc345321afe2612d0d99a16c7f3
[ "Apache-2.0" ]
null
null
null
test_conformance/gles/main.cpp
gwawiork/OpenCL-CTS
de6c3db41ba3dfc345321afe2612d0d99a16c7f3
[ "Apache-2.0" ]
3
2020-10-26T02:53:08.000Z
2021-02-12T14:59:41.000Z
// // Copyright (c) 2017 The Khronos Group 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 la...
30.890547
134
0.629167
gwawiork
e7b01259b8c76a98b0edb2aaa5785ccb0fd30d45
704
hpp
C++
include/RED4ext/Scripting/Natives/Generated/audio/VehicleEngageMovingFasterInterpolationData.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
42
2020-12-25T08:33:00.000Z
2022-03-22T14:47:07.000Z
include/RED4ext/Scripting/Natives/Generated/audio/VehicleEngageMovingFasterInterpolationData.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
38
2020-12-28T22:36:06.000Z
2022-02-16T11:25:47.000Z
include/RED4ext/Scripting/Natives/Generated/audio/VehicleEngageMovingFasterInterpolationData.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/Scripting/Natives/Generated/audio/ESoundCurveType.hpp> namespace RED4ext { namespace audio { struct VehicleEngageMovingFasterInterpolationData { static constexpr const char* ...
28.16
90
0.776989
jackhumbert
e7b141d56b570e9418e21a39f1a0b23dd24bdbbd
354
hh
C++
deps.win32/include/live555/BasicUsageEnvironment_version.hh
wongdu/refGaming-anywhere
471f23ff402f9b31e743062d897a05b6a672ba5c
[ "BSD-3-Clause" ]
null
null
null
deps.win32/include/live555/BasicUsageEnvironment_version.hh
wongdu/refGaming-anywhere
471f23ff402f9b31e743062d897a05b6a672ba5c
[ "BSD-3-Clause" ]
null
null
null
deps.win32/include/live555/BasicUsageEnvironment_version.hh
wongdu/refGaming-anywhere
471f23ff402f9b31e743062d897a05b6a672ba5c
[ "BSD-3-Clause" ]
null
null
null
// Version information for the "BasicUsageEnvironment" library // Copyright (c) 1996-2020 Live Networks, Inc. All rights reserved. #ifndef _BASICUSAGEENVIRONMENT_VERSION_HH #define _BASICUSAGEENVIRONMENT_VERSION_HH #define BASICUSAGEENVIRONMENT_LIBRARY_VERSION_STRING "2020.03.06" #define BASICUSAGEENVIRONMENT_LIBRAR...
32.181818
68
0.847458
wongdu
e7b22032610b875bd680726c975c4256f498069c
3,451
cpp
C++
src/http.cpp
nodenative/nodenative
cf988c9399e0793b1b8c29a8ffd09e910d1a0cb3
[ "MIT" ]
16
2016-03-16T22:16:18.000Z
2021-04-05T04:46:38.000Z
src/http.cpp
nodenative/nodenative
cf988c9399e0793b1b8c29a8ffd09e910d1a0cb3
[ "MIT" ]
11
2016-03-16T22:02:26.000Z
2021-04-04T02:20:51.000Z
src/http.cpp
nodenative/nodenative
cf988c9399e0793b1b8c29a8ffd09e910d1a0cb3
[ "MIT" ]
5
2016-03-22T14:03:34.000Z
2021-01-06T18:08:46.000Z
#include "native/http.hpp" #include <cctype> #include <iomanip> #include <sstream> #include <string> namespace { int hexValue(const char c) { if (c >= '0' && c <= '9') { return c - '0'; } if (c >= 'A' && c <= 'F') { return c - 'A' + 10; } if (c >= 'a' && c <= 'f') { return c - 'a' + 10; } ...
26.546154
104
0.534338
nodenative
e7b695eaadbd1fc90e9aea7ca3b0acd28a852b1d
1,219
cpp
C++
examples/hotplug.cpp
damercer/libsmu
6f141ea37a0778299ad1771cc9385fef14010bc0
[ "BSD-3-Clause" ]
null
null
null
examples/hotplug.cpp
damercer/libsmu
6f141ea37a0778299ad1771cc9385fef14010bc0
[ "BSD-3-Clause" ]
null
null
null
examples/hotplug.cpp
damercer/libsmu
6f141ea37a0778299ad1771cc9385fef14010bc0
[ "BSD-3-Clause" ]
null
null
null
// Simple example demonstrating hotplug support. #include <chrono> #include <iostream> #include <thread> #include <libsmu/libsmu.hpp> using std::cout; using std::cerr; using std::endl; using namespace smu; int main(int argc, char **argv) { // Create session object and add all compatible devices them to the // se...
27.088889
69
0.675964
damercer
e7b90fb45bdc1b73b77b4341ad155c32cd3273e5
3,937
cpp
C++
test/core/image_view/dynamic_step.cpp
sdebionne/gil-reformated
7065d600d7f84d9ef2ed4df9862c596ff7e8a8c2
[ "BSL-1.0" ]
null
null
null
test/core/image_view/dynamic_step.cpp
sdebionne/gil-reformated
7065d600d7f84d9ef2ed4df9862c596ff7e8a8c2
[ "BSL-1.0" ]
null
null
null
test/core/image_view/dynamic_step.cpp
sdebionne/gil-reformated
7065d600d7f84d9ef2ed4df9862c596ff7e8a8c2
[ "BSL-1.0" ]
null
null
null
// // Copyright 2019 Mateusz Loskot <mateusz at loskot dot net> // // Distributed under the Boost Software License, Version 1.0 // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt // #include <boost/gil/dynamic_step.hpp> #include <boost/gil/image_view.hpp> #include <boost/gil/typ...
31
79
0.709931
sdebionne
e7b987be450ccccd164443e0f0cdfee7f4d16395
3,305
cpp
C++
Nov-9-Comp-Code/First_Comp/src/main.cpp
TonyCha3713/VEX_Robotics_TowerTakeOver
92c0dc4349ee4c7112a41f641a0335cfec87cd50
[ "MIT" ]
null
null
null
Nov-9-Comp-Code/First_Comp/src/main.cpp
TonyCha3713/VEX_Robotics_TowerTakeOver
92c0dc4349ee4c7112a41f641a0335cfec87cd50
[ "MIT" ]
null
null
null
Nov-9-Comp-Code/First_Comp/src/main.cpp
TonyCha3713/VEX_Robotics_TowerTakeOver
92c0dc4349ee4c7112a41f641a0335cfec87cd50
[ "MIT" ]
null
null
null
#include "main.h" /** * A callback function for LLEMU's center button. * * When this callback is fired, it will toggle line 2 of the LCD text between * "I was pressed!" and nothing. */ /** * Runs initialization code. This occurs as soon as the program is started. * * All other competition modes are blocked ...
22.636986
80
0.71528
TonyCha3713
e7c09f65c8b98be297245ff3ad44b2ca65434ec1
3,719
cc
C++
src/meili/map_matcher_factory.cc
sinabakh/valhalla
4f93590bca142330ae0ce34e6a614144aef57254
[ "MIT" ]
1
2019-10-25T06:16:27.000Z
2019-10-25T06:16:27.000Z
src/meili/map_matcher_factory.cc
sinabakh/valhalla
4f93590bca142330ae0ce34e6a614144aef57254
[ "MIT" ]
null
null
null
src/meili/map_matcher_factory.cc
sinabakh/valhalla
4f93590bca142330ae0ce34e6a614144aef57254
[ "MIT" ]
1
2019-10-25T06:16:29.000Z
2019-10-25T06:16:29.000Z
#include <string> #include "baldr/graphreader.h" #include "baldr/tilehierarchy.h" #include "sif/autocost.h" #include "sif/bicyclecost.h" #include "sif/costconstants.h" #include "sif/motorscootercost.h" #include "sif/pedestriancost.h" #include "meili/candidate_search.h" #include "meili/map_matcher.h" #include "meili/...
34.119266
100
0.718204
sinabakh
e7c2e151246bad859eb05e25aed02268fcb166ac
9,091
cpp
C++
android-project/jni/libtesseract/src/ccmain/recogtraining.cpp
pixelsquare/tesseract-ocr-unity
f5f16c3d77cb4898f3fa96aed4abd82817de39fd
[ "MIT" ]
6
2019-08-22T11:42:27.000Z
2021-12-24T09:23:23.000Z
android-project/jni/libtesseract/src/ccmain/recogtraining.cpp
pixelsquare/tesseract-ocr-unity
f5f16c3d77cb4898f3fa96aed4abd82817de39fd
[ "MIT" ]
1
2018-11-30T15:53:24.000Z
2020-01-23T16:46:24.000Z
android-project/jni/libtesseract/src/ccmain/recogtraining.cpp
pixelsquare/tesseract-ocr-unity
f5f16c3d77cb4898f3fa96aed4abd82817de39fd
[ "MIT" ]
3
2019-05-30T04:13:56.000Z
2021-12-24T09:23:26.000Z
/////////////////////////////////////////////////////////////////////// // File: recogtraining.cpp // Description: Functions for ambiguity and parameter training. // Author: Daria Antonova // // (C) Copyright 2009, Google Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you ...
39.69869
98
0.647344
pixelsquare
b10d104abeba0880c1e6d84cbc75634fc900eb3a
2,178
cpp
C++
libs/units/example/tutorial.cpp
zyiacas/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
11
2015-07-12T13:04:52.000Z
2021-05-30T23:23:46.000Z
libs/units/example/tutorial.cpp
boost-cmake/vintage
dcfb7da3177134eddaee6789d6f582259cb0d6ee
[ "BSL-1.0" ]
null
null
null
libs/units/example/tutorial.cpp
boost-cmake/vintage
dcfb7da3177134eddaee6789d6f582259cb0d6ee
[ "BSL-1.0" ]
3
2015-12-23T01:51:57.000Z
2019-08-25T04:58:32.000Z
// Boost.Units - A C++ library for zero-overhead dimensional analysis and // unit/quantity manipulation and conversion // // Copyright (C) 2003-2008 Matthias Christian Schabel // Copyright (C) 2008 Steven Watanabe // // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.tx...
24.47191
80
0.598255
zyiacas
b10d2cb094f15d118417f04a05cdd14bd85f729a
832
cpp
C++
Exams/bcp-2022-02/PBQ1.cpp
dbilovd/compeng-sem1-cpp
136c89ec63b65e4bc7fba07a45f29dc0c9de56e6
[ "Apache-2.0" ]
1
2018-12-03T10:06:06.000Z
2018-12-03T10:06:06.000Z
Exams/bcp-2022-02/PBQ1.cpp
dbilovd/compeng-sem1-cpp
136c89ec63b65e4bc7fba07a45f29dc0c9de56e6
[ "Apache-2.0" ]
null
null
null
Exams/bcp-2022-02/PBQ1.cpp
dbilovd/compeng-sem1-cpp
136c89ec63b65e4bc7fba07a45f29dc0c9de56e6
[ "Apache-2.0" ]
1
2018-12-03T10:23:55.000Z
2018-12-03T10:23:55.000Z
#include<iostream> using namespace std; int addFiveNumbers () { double results = 0; for (int i = 0; i < 5; i++) { double currentNumber; cout << "Enter a number:\n"; cin >> currentNumber; results += (double) currentNumber; } cout << "The result is: " + to_string(results) + "\n"; return 0;...
17.702128
100
0.602163
dbilovd
b10ff608257821c5b4cfe8496c1a5f5917fbb108
571
cpp
C++
program9/program9/Source.cpp
hurnhu/Academic-C-Code-Examples
2dbab12888fc7f87b997daf7df4127a1ffd81b44
[ "MIT" ]
null
null
null
program9/program9/Source.cpp
hurnhu/Academic-C-Code-Examples
2dbab12888fc7f87b997daf7df4127a1ffd81b44
[ "MIT" ]
null
null
null
program9/program9/Source.cpp
hurnhu/Academic-C-Code-Examples
2dbab12888fc7f87b997daf7df4127a1ffd81b44
[ "MIT" ]
null
null
null
//Author: michael lapan //assignment: program9 /* *this program reads two files, loads both into BST *and then allows the user to search for a user on a certin date */ #include <fstream> #include <iostream> using namespace std; #include "wrap.h" int main() { //vars to hold user input. int custID = 0; string date...
20.392857
82
0.676007
hurnhu
b110cee854f2750143ec0a482a471191a6a117ce
167
hpp
C++
include/MemeEditor/ImGui.hpp
Gurman8r/CppSandbox
a0f1cf0ade69ecaba4d167c0611a620914155e53
[ "MIT" ]
null
null
null
include/MemeEditor/ImGui.hpp
Gurman8r/CppSandbox
a0f1cf0ade69ecaba4d167c0611a620914155e53
[ "MIT" ]
null
null
null
include/MemeEditor/ImGui.hpp
Gurman8r/CppSandbox
a0f1cf0ade69ecaba4d167c0611a620914155e53
[ "MIT" ]
null
null
null
#ifndef _ML_IMGUI_HPP_ #define _ML_IMGUI_HPP_ #include <imgui/imgui.h> #include <imgui/imgui_internal.h> #include <imgui/imgui_impl_ml.hpp> #endif // !_ML_IMGUI_HPP_
20.875
34
0.790419
Gurman8r
b113279b41355c1596d28a4bb777921d1a8575a4
8,562
cpp
C++
perf/sort_patterns.cpp
memsharded/range-v3
30a4dc8ef723a6db95d80f6bba3d6d5e9af0eadd
[ "MIT" ]
null
null
null
perf/sort_patterns.cpp
memsharded/range-v3
30a4dc8ef723a6db95d80f6bba3d6d5e9af0eadd
[ "MIT" ]
null
null
null
perf/sort_patterns.cpp
memsharded/range-v3
30a4dc8ef723a6db95d80f6bba3d6d5e9af0eadd
[ "MIT" ]
1
2021-10-02T08:03:49.000Z
2021-10-02T08:03:49.000Z
/// \file // Range v3 library // // Copyright Eric Niebler 2013-2015 // Copyright Gonzalo Brito Gadeschi 2015 // // Use, modification and distribution is subject to 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) // // Proje...
33.315175
101
0.629292
memsharded
b11c5ec8a59a1b8f7fcf6723bc7c9ca17ef11600
2,130
cpp
C++
aspirant_application/Context.Editor.NewRoom.cpp
playdeezgames/Aspirant
a907475fefb58d766a103324e65317613831561b
[ "MIT" ]
null
null
null
aspirant_application/Context.Editor.NewRoom.cpp
playdeezgames/Aspirant
a907475fefb58d766a103324e65317613831561b
[ "MIT" ]
null
null
null
aspirant_application/Context.Editor.NewRoom.cpp
playdeezgames/Aspirant
a907475fefb58d766a103324e65317613831561b
[ "MIT" ]
null
null
null
#include "Context.Editor.NewRoom.h" #include "Game.Descriptors.h" #include <vector> #include "Common.Finisher.h" #include "Game.Object.Common.h" namespace context::editor::NewRoom { const std::string DEFAULT_ROOM_NAME = "<replace me>"; const size_t DEFAULT_ROOM_COLUMNS = 10; const size_t DEFAULT_ROOM_ROWS = 10; con...
18.684211
110
0.688263
playdeezgames
b11ca6a084503cd41e4b54966586d42f08c9504b
72
cpp
C++
for python/auto.cpp
aerolalit/Auto-Testing-Python-Programs
dd49ab266c9f0fd8e34278f68f8af017711942e3
[ "MIT" ]
4
2019-10-03T21:16:51.000Z
2019-10-04T01:28:08.000Z
for python/auto.cpp
aerolalit/Auto-Testing
dd49ab266c9f0fd8e34278f68f8af017711942e3
[ "MIT" ]
null
null
null
for python/auto.cpp
aerolalit/Auto-Testing
dd49ab266c9f0fd8e34278f68f8af017711942e3
[ "MIT" ]
null
null
null
#include <stdlib.h> int main(){ system("bash auto.sh"); return 0; }
9
24
0.611111
aerolalit
b1223c7357635c357b5606d3457e3a6b0d8f9c9f
3,712
hpp
C++
source/Expected.hpp
CyberSys/vaultmp
341d62202eb47c5f8795c3b93391fd799c6a4ca8
[ "MIT" ]
67
2015-01-08T10:40:31.000Z
2022-03-29T21:16:51.000Z
source/Expected.hpp
CyberSys/vaultmp
341d62202eb47c5f8795c3b93391fd799c6a4ca8
[ "MIT" ]
20
2015-01-05T21:04:05.000Z
2018-04-15T11:50:37.000Z
source/Expected.hpp
CyberSys/vaultmp
341d62202eb47c5f8795c3b93391fd799c6a4ca8
[ "MIT" ]
60
2015-02-17T00:12:11.000Z
2021-08-21T22:16:58.000Z
#ifndef EXPECTED_H #define EXPECTED_H #include "vaultmp.hpp" #include "VaultException.hpp" /** * \brief http://channel9.msdn.com/Shows/Going+Deep/C-and-Beyond-2012-Andrei-Alexandrescu-Systematic-Error-Handling-in-C */ template<typename T> class Expected { private: union { T value; std::exception_ptr exc...
26.705036
170
0.658405
CyberSys
b12306a388689a36c34321782d6f893044cb4346
1,754
hpp
C++
lib/grid/concrete_domain_index.hpp
mdavezac/bempp
bc573062405bda107d1514e40b6153a8350d5ab5
[ "BSL-1.0" ]
null
null
null
lib/grid/concrete_domain_index.hpp
mdavezac/bempp
bc573062405bda107d1514e40b6153a8350d5ab5
[ "BSL-1.0" ]
null
null
null
lib/grid/concrete_domain_index.hpp
mdavezac/bempp
bc573062405bda107d1514e40b6153a8350d5ab5
[ "BSL-1.0" ]
null
null
null
// Copyright (C) 2011-2012 by the BEM++ Authors // // 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, mer...
41.761905
80
0.734892
mdavezac
b124f967865c5a926cc8cac6d7d1b463dd88ab16
14,225
cpp
C++
libraries/disp/plots/imagesc.cpp
MagCPP/mne-cpp
05f634a8401b20226bd719254a5da227e67a379b
[ "BSD-3-Clause" ]
null
null
null
libraries/disp/plots/imagesc.cpp
MagCPP/mne-cpp
05f634a8401b20226bd719254a5da227e67a379b
[ "BSD-3-Clause" ]
null
null
null
libraries/disp/plots/imagesc.cpp
MagCPP/mne-cpp
05f634a8401b20226bd719254a5da227e67a379b
[ "BSD-3-Clause" ]
null
null
null
//============================================================================================================= /** * @file imagesc.cpp * @author Christoph Dinh <chdinh@nmr.mgh.harvard.edu>; * Daniel Strohmeier <daniel.strohmeier@tu-ilmenau.de>; * Matti Hamalainen <msh@nmr.mgh.harvard.edu...
38.445946
135
0.506573
MagCPP
b1253235548a7f2582bf992212f074994a19274e
527
cpp
C++
src/noflash.cpp
danielkrupinski/csgo-champion
25874f21c005ea3da1b35812e928e5b01d625c37
[ "MIT" ]
21
2018-03-30T20:28:32.000Z
2022-03-05T16:18:21.000Z
src/noflash.cpp
danielkrupinski/csgo-champion
25874f21c005ea3da1b35812e928e5b01d625c37
[ "MIT" ]
2
2018-04-12T21:20:44.000Z
2018-12-04T14:52:59.000Z
src/noflash.cpp
danielkrupinski/csgo-champion
25874f21c005ea3da1b35812e928e5b01d625c37
[ "MIT" ]
3
2018-05-14T01:36:36.000Z
2020-04-29T14:17:05.000Z
#include "noflash.h" NoFlash::NoFlash(remote::Handle* csgo, remote::MapModuleMemoryRegion* client) { if(!csgo || !client) return; if(!csgo->NoFlashEnabled) return; csgo->Read((void*) csgo->m_addressOfLocalPlayer, &localPlayer, sizeof(long)); if(!localPlayer) return; csgo->Read((void*) (localPlayer + ...
25.095238
91
0.711575
danielkrupinski
b127ae51dba4bcfebab75cc7694d3fee6a25e032
3,070
cpp
C++
src/tools/modbus_qt_serialport.cpp
paopaol/modbus
558036099f3c41c03c1b8658bc26c9adfa271c48
[ "MIT" ]
3
2020-02-11T03:47:42.000Z
2022-01-21T03:10:09.000Z
src/tools/modbus_qt_serialport.cpp
paopaol/modbus
558036099f3c41c03c1b8658bc26c9adfa271c48
[ "MIT" ]
null
null
null
src/tools/modbus_qt_serialport.cpp
paopaol/modbus
558036099f3c41c03c1b8658bc26c9adfa271c48
[ "MIT" ]
1
2022-01-21T03:10:11.000Z
2022-01-21T03:10:11.000Z
#include <QtSerialPort/QSerialPort> #include <modbus/tools/modbus_client.h> namespace modbus { class QtSerialPort : public AbstractIoDevice { Q_OBJECT public: explicit QtSerialPort(QObject *parent = nullptr) : AbstractIoDevice(parent) { setupEnvironment(); } ~QtSerialPort() override = default; ...
29.519231
81
0.643974
paopaol
b12f8a141966b9742981dad33a8dbc78af318416
7,308
cpp
C++
test/unit/reactor/math/ArithmeticTest.cpp
reactor-engine/reactor-math
599b7074a8f4a5e620f49dea8dd5e36f22cf79a3
[ "CC0-1.0" ]
null
null
null
test/unit/reactor/math/ArithmeticTest.cpp
reactor-engine/reactor-math
599b7074a8f4a5e620f49dea8dd5e36f22cf79a3
[ "CC0-1.0" ]
null
null
null
test/unit/reactor/math/ArithmeticTest.cpp
reactor-engine/reactor-math
599b7074a8f4a5e620f49dea8dd5e36f22cf79a3
[ "CC0-1.0" ]
null
null
null
#include "catch.hpp" #include "reactor/common/type/types.hpp" #include "reactor/math/Arithmetic.hpp" using namespace reactor::common::type; using namespace reactor::math; TEST_CASE("Arithmetic abs-operation is correct", "[Arithmetic.abs]") { int attempts[][2] = {{0, 0}, {1, 1}, {-1, 1}, {-25, 25}, {-120, 120}, {1...
44.024096
133
0.541735
reactor-engine
b12fa0181df2b05eb8d7823c9acfc1454cb5a766
19,879
cpp
C++
kits/rosie/rosie_demo.cpp
HebiRobotics/hebi-cpp-examples
db01c9b957b3c97885d452d8b72f9919ba6c48c4
[ "Apache-2.0" ]
7
2018-03-31T06:52:08.000Z
2022-02-24T21:27:09.000Z
kits/rosie/rosie_demo.cpp
HebiRobotics/hebi-cpp-examples
db01c9b957b3c97885d452d8b72f9919ba6c48c4
[ "Apache-2.0" ]
34
2018-06-03T17:28:08.000Z
2021-05-29T01:15:25.000Z
kits/rosie/rosie_demo.cpp
HebiRobotics/hebi-cpp-examples
db01c9b957b3c97885d452d8b72f9919ba6c48c4
[ "Apache-2.0" ]
9
2018-02-08T22:50:58.000Z
2021-03-30T08:07:35.000Z
#define PI 3.141592653592 #include <iostream> #include <chrono> #include <thread> #include <iomanip> #include "util/grav_comp.hpp" #include "util/vector_utils.h" #include "lookup.hpp" #include "group_feedback.hpp" #include "group_command.hpp" #include "robot_model.hpp" #include "trajectory.hpp" using namespace hebi...
41.072314
188
0.620806
HebiRobotics
b132bb417c4150775cff2e79ccefa108fabaeff5
339
cpp
C++
Camp_1-2562/06 Function/Sport.cpp
MasterIceZ/POSN_BUU
56e176fb843d7ddcee0cf4acf2bb141576c260cf
[ "MIT" ]
null
null
null
Camp_1-2562/06 Function/Sport.cpp
MasterIceZ/POSN_BUU
56e176fb843d7ddcee0cf4acf2bb141576c260cf
[ "MIT" ]
null
null
null
Camp_1-2562/06 Function/Sport.cpp
MasterIceZ/POSN_BUU
56e176fb843d7ddcee0cf4acf2bb141576c260cf
[ "MIT" ]
null
null
null
#include<stdio.h> char a[30000011]; int k; void play(int state,int w,int l){ int i; if(w==k||l==k){ for(i=0;i<state;i++){ printf("%c ",a[i]); } printf("\n"); return; } a[state]='W'; play(state+1,w+1,l); a[state]='L'; play(state+1,w,l+1); } int main (){ int w,l; scanf("%d %d %d",&k,&w,&l); play(0,...
13.038462
33
0.516224
MasterIceZ
b133e2da0b07725a24dc57e3b2a9ff5d9635dda6
2,289
cpp
C++
SFGE_lib/MemoryInputStream.cpp
DonRumata710/SFGE
9b42f2335b62be089046593cd84f265412e2792d
[ "MIT" ]
null
null
null
SFGE_lib/MemoryInputStream.cpp
DonRumata710/SFGE
9b42f2335b62be089046593cd84f265412e2792d
[ "MIT" ]
null
null
null
SFGE_lib/MemoryInputStream.cpp
DonRumata710/SFGE
9b42f2335b62be089046593cd84f265412e2792d
[ "MIT" ]
null
null
null
///////////////////////////////////////////////////////////////////// // // SFGE - Simple and Fast Game Engine // // Copyright (c) 2016-2017 DonRumata710 // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to de...
30.118421
110
0.677588
DonRumata710
b134b1da6a47eecc8f246d7e21105bc938470a8c
13,635
cpp
C++
PortableExecutable.cpp
jseursing/VMLock
1e12dc86c1a4aeddf37a830100a35c7d8b9f7648
[ "MIT" ]
null
null
null
PortableExecutable.cpp
jseursing/VMLock
1e12dc86c1a4aeddf37a830100a35c7d8b9f7648
[ "MIT" ]
null
null
null
PortableExecutable.cpp
jseursing/VMLock
1e12dc86c1a4aeddf37a830100a35c7d8b9f7648
[ "MIT" ]
null
null
null
#include "PortableExecutable.h" #include <fstream> ///////////////////////////////////////////////////////////////////////////////////////// // // Function: BackupFile // ///////////////////////////////////////////////////////////////////////////////////////// void PortableExecutable::BackupFile(std::string path, st...
35.600522
89
0.535387
jseursing
b1353d6ed885f22bc74f03f024458f75f53ff393
1,550
cpp
C++
problem12.cpp
Nadesri/my-project-euler-solutions
a37472d99704e4e80d7344ead3bb250debff52eb
[ "MIT" ]
null
null
null
problem12.cpp
Nadesri/my-project-euler-solutions
a37472d99704e4e80d7344ead3bb250debff52eb
[ "MIT" ]
null
null
null
problem12.cpp
Nadesri/my-project-euler-solutions
a37472d99704e4e80d7344ead3bb250debff52eb
[ "MIT" ]
null
null
null
// Highly divisible triangular number // The sequence of triangle numbers is generated by adding the natural numbers. // So the 7th triangle number would be 1 + 2 + 3 + 4 + 5 + 6 + 7 = 28. The first ten terms would be: // 1, 3, 6, 10, 15, 21, 28, 36, 45, 55, ... // Let us list the factors of the first seven triangle...
22.794118
100
0.605161
Nadesri
b13876e99afa06b4b50ac9e5ba9a521fa6ddb357
41,853
cpp
C++
src/ir/node_data.cpp
weilewei/phylanx
db9049dc1696e4f1f2090dd830803cf892a122e5
[ "BSL-1.0" ]
null
null
null
src/ir/node_data.cpp
weilewei/phylanx
db9049dc1696e4f1f2090dd830803cf892a122e5
[ "BSL-1.0" ]
null
null
null
src/ir/node_data.cpp
weilewei/phylanx
db9049dc1696e4f1f2090dd830803cf892a122e5
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2017-2018 Hartmut Kaiser // Copyright (c) 2017 Parsa Amini // Copyright (c) 2018 Tianyi Zhang // // 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 <phylanx/config.hpp> #include <phylanx...
27.390707
87
0.518195
weilewei
b13a03ab2c246191aefc6477322944d7ea4d8e47
728
cpp
C++
src/NullOutput.cpp
9elements/pwrseqd
fa435d8fed2de2c7948cbc1f0e55f9257786c907
[ "Apache-2.0" ]
null
null
null
src/NullOutput.cpp
9elements/pwrseqd
fa435d8fed2de2c7948cbc1f0e55f9257786c907
[ "Apache-2.0" ]
null
null
null
src/NullOutput.cpp
9elements/pwrseqd
fa435d8fed2de2c7948cbc1f0e55f9257786c907
[ "Apache-2.0" ]
null
null
null
#include "NullOutput.hpp" #include "Config.hpp" #include "SignalProvider.hpp" using namespace std; // Name returns the instance name string NullOutput::Name(void) { return this->name; } void NullOutput::Apply(void) { if (this->newLevel != this->active) { this->active = this->newLevel; } } ...
16.545455
70
0.660714
9elements
b13b02531d45ef8917795560ce0a69e11e6b3747
10,791
hpp
C++
include/OVRSimpleJSON/JSONLazyCreator.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/OVRSimpleJSON/JSONLazyCreator.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/OVRSimpleJSON/JSONLazyCreator.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: OVRSimpleJSON.JSONNode #include "OVRSimpleJSON/JSONNode.hpp" #include...
52.639024
260
0.721064
darknight1050
b13b1398503ff027aa1141c40fc44ac1a56f9463
510
cpp
C++
Tefnout/src/Tefnout/ECS/Entity.cpp
JeremyBois/Tefnout
3e0d79c96857a395d2f00a61bb25a49ce39c8c89
[ "Apache-2.0", "MIT" ]
null
null
null
Tefnout/src/Tefnout/ECS/Entity.cpp
JeremyBois/Tefnout
3e0d79c96857a395d2f00a61bb25a49ce39c8c89
[ "Apache-2.0", "MIT" ]
null
null
null
Tefnout/src/Tefnout/ECS/Entity.cpp
JeremyBois/Tefnout
3e0d79c96857a395d2f00a61bb25a49ce39c8c89
[ "Apache-2.0", "MIT" ]
null
null
null
#include "TefnoutPCH.hpp" #include "Entity.hpp" #include "Tefnout/Core/Debug.hpp" #include <limits> namespace Tefnout { namespace ECS { Entity::Entity() : m_id(std::numeric_limits<entity_type>::max()) { } Entity::Entity(entity_type id) : m_id(id) { TEFNOUT_ASSERT(id != std::numeric_limits<entity_type>::max(), ...
20.4
89
0.647059
JeremyBois
b13b2ef5cbd9d6f0bfc3b68102d01661da6d0400
8,196
cpp
C++
src/sim/cgi/sim_Effects.cpp
marek-cel/fightersfs
5511162726861fee17357f39274461250370c224
[ "MIT" ]
4
2021-01-28T17:39:38.000Z
2022-02-11T20:13:46.000Z
src/sim/cgi/sim_Effects.cpp
marek-cel/fightersfs
5511162726861fee17357f39274461250370c224
[ "MIT" ]
null
null
null
src/sim/cgi/sim_Effects.cpp
marek-cel/fightersfs
5511162726861fee17357f39274461250370c224
[ "MIT" ]
3
2021-02-22T21:22:30.000Z
2022-01-10T19:32:12.000Z
/****************************************************************************//* * Copyright (C) 2021 Marek M. Cel * * 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, ...
43.136842
104
0.63165
marek-cel
b1406a118d4e588aa9b38f18bcb133cc88cd732b
494
hpp
C++
source/URI/QueryParser.hpp
kurocha/uri
b920d01de5323126eaf539d4217d357b47fde64e
[ "Unlicense", "MIT" ]
2
2018-07-06T19:43:16.000Z
2018-07-06T19:44:46.000Z
source/URI/QueryParser.hpp
kurocha/uri
b920d01de5323126eaf539d4217d357b47fde64e
[ "Unlicense", "MIT" ]
null
null
null
source/URI/QueryParser.hpp
kurocha/uri
b920d01de5323126eaf539d4217d357b47fde64e
[ "Unlicense", "MIT" ]
null
null
null
// // QueryParser.hpp // File file is part of the "URI" project and released under the MIT License. // // Created by Samuel Williams on 17/7/2017. // Copyright, 2017, by Samuel Williams. All rights reserved. // #pragma once #include <string> #include <map> namespace URI { namespace QueryParser { using Byte =...
20.583333
86
0.696356
kurocha
b142e71ee8eade50fd18f4b483022876d232d313
6,560
cpp
C++
lgc/patch/PatchPeepholeOpt.cpp
yukli-amd/llpc
9ad8550a09fe6616f5eff53d6c3688a8bf43b465
[ "MIT" ]
112
2018-07-02T06:56:25.000Z
2022-02-08T12:07:19.000Z
lgc/patch/PatchPeepholeOpt.cpp
yukli-amd/llpc
9ad8550a09fe6616f5eff53d6c3688a8bf43b465
[ "MIT" ]
1,612
2018-07-04T19:08:21.000Z
2022-03-31T23:24:55.000Z
lgc/patch/PatchPeepholeOpt.cpp
vettoreldaniele/llpc
41fd5608f7b697c1416b983b89b2f62f0907d4a3
[ "MIT" ]
114
2018-07-04T18:47:13.000Z
2022-03-30T19:53:19.000Z
/* *********************************************************************************************************************** * * Copyright (c) 2018-2021 Advanced Micro Devices, Inc. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associ...
46.197183
120
0.61189
yukli-amd
b143961dcb092abe46045bbee7b1220ddad288d9
12,471
cpp
C++
libs/maps/src/opengl/CAngularObservationMesh.cpp
feroze/mrpt-shivang
95bf524c5e10ed2e622bd199f1b0597951b45370
[ "BSD-3-Clause" ]
2
2017-03-25T18:09:17.000Z
2017-05-22T08:14:48.000Z
libs/maps/src/opengl/CAngularObservationMesh.cpp
shivangag/mrpt
95bf524c5e10ed2e622bd199f1b0597951b45370
[ "BSD-3-Clause" ]
null
null
null
libs/maps/src/opengl/CAngularObservationMesh.cpp
shivangag/mrpt
95bf524c5e10ed2e622bd199f1b0597951b45370
[ "BSD-3-Clause" ]
1
2017-06-30T18:23:45.000Z
2017-06-30T18:23:45.000Z
/* +---------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | http://www.mrpt.org/ | | ...
34.641667
186
0.675567
feroze
b143e171d020e8b6675fa2b92ccbef44b1dfa3e3
1,564
hpp
C++
engine/src/engine/input/Keyboard.hpp
CaptureTheBanana/CaptureTheBanana
1398bedc80608e502c87b880c5b57d272236f229
[ "MIT" ]
1
2018-08-14T05:45:29.000Z
2018-08-14T05:45:29.000Z
engine/src/engine/input/Keyboard.hpp
CaptureTheBanana/CaptureTheBanana
1398bedc80608e502c87b880c5b57d272236f229
[ "MIT" ]
null
null
null
engine/src/engine/input/Keyboard.hpp
CaptureTheBanana/CaptureTheBanana
1398bedc80608e502c87b880c5b57d272236f229
[ "MIT" ]
null
null
null
// This file is part of CaptureTheBanana++. // // Copyright (c) 2018 the CaptureTheBanana++ contributors (see CONTRIBUTORS.md) // This file is licensed under the MIT license; see LICENSE file in the root of this // project for details. #ifndef _ENGINE_INPUT_KEYBOARD_HPP #define _ENGINE_INPUT_KEYBOARD_HPP #include <ma...
25.639344
84
0.674552
CaptureTheBanana
b14b78e560febd405419c52194930fdc606bc1fa
373
hpp
C++
test/test_Defs.hpp
ToruNiina/AX
c99ddaa683dc94c7ec856a7cf1e10c0a6189951a
[ "MIT" ]
1
2017-01-16T13:56:31.000Z
2017-01-16T13:56:31.000Z
test/test_Defs.hpp
ToruNiina/AX
c99ddaa683dc94c7ec856a7cf1e10c0a6189951a
[ "MIT" ]
null
null
null
test/test_Defs.hpp
ToruNiina/AX
c99ddaa683dc94c7ec856a7cf1e10c0a6189951a
[ "MIT" ]
null
null
null
#ifndef AX_TEST_DEFINITIONS #define AX_TEST_DEFINITIONS #include <cstddef> namespace ax { namespace test { constexpr static double tolerance = 1e-12; constexpr static unsigned seed = 10; constexpr static std::size_t Dim_N = 10; constexpr static std::size_t Dim_M...
21.941176
55
0.635389
ToruNiina
b151458cab7ed9a120ef68029ed8fb0bc5ad80aa
1,352
hpp
C++
Include/Graphics/BackgroundPixelFetcher.hpp
ShannonHG/Modest-GB
f39851cd36bf0c752ce56c60783035e2bf2fd19c
[ "MIT" ]
6
2022-01-25T06:55:00.000Z
2022-01-25T18:39:25.000Z
Include/Graphics/BackgroundPixelFetcher.hpp
ShannonHG/Modest-GB
f39851cd36bf0c752ce56c60783035e2bf2fd19c
[ "MIT" ]
null
null
null
Include/Graphics/BackgroundPixelFetcher.hpp
ShannonHG/Modest-GB
f39851cd36bf0c752ce56c60783035e2bf2fd19c
[ "MIT" ]
1
2022-01-25T08:09:54.000Z
2022-01-25T08:09:54.000Z
#pragma once #include "Graphics/PixelFetcher.hpp" #include "Memory/Register8.hpp" namespace ModestGB { enum class BackgroundPixelFetcherMode { Background, Window }; enum class BackgroundPixelFetcherState { FetchingTileIndex, FetchingLowTileData, FetchingHighTileData, Sleeping, PushingPixelsToQueue ...
25.509434
118
0.775888
ShannonHG
b151bbf2073058974c3b3533eec78d77a8e848c3
751
cpp
C++
synth-mini-EQ.cpp
visualizersdotnl/FM-BISON
d212ab65bae16e208c4f67a38a63d0af44931cad
[ "MIT" ]
null
null
null
synth-mini-EQ.cpp
visualizersdotnl/FM-BISON
d212ab65bae16e208c4f67a38a63d0af44931cad
[ "MIT" ]
null
null
null
synth-mini-EQ.cpp
visualizersdotnl/FM-BISON
d212ab65bae16e208c4f67a38a63d0af44931cad
[ "MIT" ]
null
null
null
/* FM. BISON hybrid FM synthesis -- Mini EQ (3-band). (C) njdewit technologies (visualizers.nl) & bipolaraudio.nl MIT license applies, please see https://en.wikipedia.org/wiki/MIT_License or LICENSE in the project root! */ #include "synth-mini-EQ.h" namespace SFM { void MiniEQ::SetTargetdBs(float bassdB, float t...
26.821429
106
0.689747
visualizersdotnl
b15428c60d3d3b946774fc3d2b75850afb491b65
3,975
cpp
C++
test/functions.cpp
vincent-picaud/MissionImpossible
e21119b4ac42d2a6e914978aa91ba666611b42f8
[ "MIT" ]
15
2020-01-12T16:23:46.000Z
2022-01-19T15:26:52.000Z
test/functions.cpp
vincent-picaud/MissionImpossible
e21119b4ac42d2a6e914978aa91ba666611b42f8
[ "MIT" ]
null
null
null
test/functions.cpp
vincent-picaud/MissionImpossible
e21119b4ac42d2a6e914978aa91ba666611b42f8
[ "MIT" ]
2
2020-02-11T00:24:32.000Z
2020-02-11T14:19:42.000Z
#include "MissionImpossible/functions.hpp" #include "MissionImpossible/derivatives.hpp" #include <gtest/gtest.h> #include <cmath> #include <vector> using namespace MissionImpossible; TEST(Function, abs) { AD<double> x = 3, y; y = abs(2 * x); auto grad = gradient(y); ASSERT_DOUBLE_EQ(y.value(), 6); ...
22.206704
84
0.535094
vincent-picaud