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
abb67a710058c771ece4227facb9d97f4c223d47
15,580
cpp
C++
sdl1/f1spirit/F1Spirit-auxiliar.cpp
pdpdds/sdldualsystem
d74ea84cbea705fef62868ba8c693bf7d2555636
[ "BSD-2-Clause" ]
null
null
null
sdl1/f1spirit/F1Spirit-auxiliar.cpp
pdpdds/sdldualsystem
d74ea84cbea705fef62868ba8c693bf7d2555636
[ "BSD-2-Clause" ]
null
null
null
sdl1/f1spirit/F1Spirit-auxiliar.cpp
pdpdds/sdldualsystem
d74ea84cbea705fef62868ba8c693bf7d2555636
[ "BSD-2-Clause" ]
null
null
null
#ifdef _WIN32 #include <windows.h> #include <windowsx.h> #else #include <sys/time.h> #include <time.h> #endif #include <stdio.h> #include <stdlib.h> #include "ctype.h" #include "string.h" #include "math.h" #include "SDL.h" #include "SDL_image.h" #include "SDL_mixer.h" #include "auxiliar.h" #include "List.h" #include...
25.625
175
0.508023
pdpdds
abb7de1094601dbf1560777070d4c17f69bae869
3,767
cpp
C++
tf2_src/hammer/replacetexdlg.cpp
IamIndeedGamingAsHardAsICan03489/TeamFortress2
1b81dded673d49adebf4d0958e52236ecc28a956
[ "MIT" ]
4
2021-10-03T05:16:55.000Z
2021-12-28T16:49:27.000Z
src/hammer/replacetexdlg.cpp
cafeed28/what
08e51d077f0eae50afe3b592543ffa07538126f5
[ "Unlicense" ]
null
null
null
src/hammer/replacetexdlg.cpp
cafeed28/what
08e51d077f0eae50afe3b592543ffa07538126f5
[ "Unlicense" ]
3
2022-02-02T18:09:58.000Z
2022-03-06T18:54:39.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $Workfile: $ // $Date: $ // //----------------------------------------------------------------------------- // $Log: $ // // $NoKeywords: $ //===================================================================...
22.289941
95
0.68171
IamIndeedGamingAsHardAsICan03489
abb97809b15e472a71455984755df19149e3935a
13,581
hxx
C++
main/svtools/inc/svtools/fmtfield.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/svtools/inc/svtools/fmtfield.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/svtools/inc/svtools/fmtfield.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...
39.138329
131
0.737206
Grosskopf
abc0c946edd3d6dfabe817ff8e86c87b3aecf71c
7,107
cpp
C++
BCG/BCGPToolbarSystemMenuButton.cpp
11Zero/DemoBCG
8f41d5243899cf1c82990ca9863fb1cb9f76491c
[ "MIT" ]
2
2018-03-30T06:40:08.000Z
2022-02-23T12:40:13.000Z
BCG/BCGPToolbarSystemMenuButton.cpp
11Zero/DemoBCG
8f41d5243899cf1c82990ca9863fb1cb9f76491c
[ "MIT" ]
null
null
null
BCG/BCGPToolbarSystemMenuButton.cpp
11Zero/DemoBCG
8f41d5243899cf1c82990ca9863fb1cb9f76491c
[ "MIT" ]
1
2020-08-11T05:48:02.000Z
2020-08-11T05:48:02.000Z
//******************************************************************************* // COPYRIGHT NOTES // --------------- // This is a part of the BCGControlBar Library // Copyright (C) 1998-2014 BCGSoft Ltd. // All rights reserved. // // This source code can be used, distributed or modified // only under terms and condi...
29.736402
99
0.556071
11Zero
abc4fb0ba91b9695df580ed90da3745bd7cf5ba4
1,454
cpp
C++
Leetcode/L1510.cpp
yanjinbin/Foxconn
d8340d228deb35bd8ec244f6156374da8a1f0aa0
[ "CC0-1.0" ]
8
2021-02-14T01:48:09.000Z
2022-01-29T09:12:55.000Z
Leetcode/L1510.cpp
yanjinbin/Foxconn
d8340d228deb35bd8ec244f6156374da8a1f0aa0
[ "CC0-1.0" ]
null
null
null
Leetcode/L1510.cpp
yanjinbin/Foxconn
d8340d228deb35bd8ec244f6156374da8a1f0aa0
[ "CC0-1.0" ]
null
null
null
#include <vector> #include <iostream> #include <queue> #include <map> #include <algorithm> #include <functional> #include <stack> using namespace std; const int INF = 0x3F3F3F3F; const int MOD = 1E9 + 7; #define ready ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0); #define debug puts("pigtoria bling bling...
21.382353
72
0.486245
yanjinbin
abc72cde4ceb89ad6ce76afd70301195b5a726ec
1,362
cpp
C++
src/get_coords.cpp
ropensci/geoops
e83b0e98a3d532f9081f3adab787f8f719c9ffc1
[ "MIT" ]
11
2018-05-19T08:37:37.000Z
2020-09-14T05:36:52.000Z
src/get_coords.cpp
cran/geoops
ec6c9300b7a48a4a604ba3a4243da7d0360e85a3
[ "MIT" ]
3
2018-03-19T18:37:19.000Z
2020-05-15T21:49:48.000Z
src/get_coords.cpp
cran/geoops
ec6c9300b7a48a4a604ba3a4243da7d0360e85a3
[ "MIT" ]
2
2018-09-01T12:26:15.000Z
2019-10-14T14:18:34.000Z
#include <Rcpp.h> #include "json.h" using json = nlohmann::json; // Checks if coordinates contains a number bool contains_number(std::string coordinates) { auto jj = json::parse(coordinates); if (jj.size() > 1 && jj[0].is_number() && jj[1].is_number()) { return true; } if (jj[0].is_array() && jj[0].size(...
24.763636
68
0.621145
ropensci
abc9a270e4277476603cc7bd056e38800650c461
9,347
cpp
C++
node/main.cpp
quepas/pep-talk
73a7e471517aee5595ca63bd007b1aae433fbc39
[ "MIT" ]
3
2020-12-15T13:41:46.000Z
2021-09-06T10:26:42.000Z
main.cpp
quepas/peptalk-node
0ee869abcdc58aeaca756a867b407e179ba655db
[ "MIT" ]
6
2020-04-07T10:28:03.000Z
2020-06-19T20:34:15.000Z
node/main.cpp
quepas/peptalk
73a7e471517aee5595ca63bd007b1aae433fbc39
[ "MIT" ]
null
null
null
#include <napi.h> #include <timing.hpp> #include <counting.hpp> #include <profiling.hpp> using namespace peptalk; using std::function; using std::string; using std::vector; function<void(string, string)> OnErrorOrWarning(Napi::Env& env) { return [&env](string peptalk_msg, string papi_msg) { Napi::Error::N...
35.95
111
0.611854
quepas
abca2b38f15a78dd26c059d92b69175c083018ae
369
cpp
C++
Engine/EngineProject/DiceGameObject.cpp
joshuaRMS/BoardChampions-
b1146f721dd4e49b3fecba8243182efce64249f9
[ "MIT" ]
1
2019-12-09T13:53:40.000Z
2019-12-09T13:53:40.000Z
Engine/EngineProject/DiceGameObject.cpp
joshuaRMS/BoardChampions-
b1146f721dd4e49b3fecba8243182efce64249f9
[ "MIT" ]
null
null
null
Engine/EngineProject/DiceGameObject.cpp
joshuaRMS/BoardChampions-
b1146f721dd4e49b3fecba8243182efce64249f9
[ "MIT" ]
null
null
null
#include "DiceGameObject.h" void DiceGameObject::rollDices() { Dice1 = rand() % 6 + 1; Dice2 = rand() % 6 + 1; std::cout << Dice1 << std::endl; } void DiceGameObject::DrawDices() { } void DiceGameObject::init() { rollDices(); } void DiceGameObject::update(float elapsedTime) { } DiceGameObject::DiceGameObje...
10.542857
46
0.661247
joshuaRMS
abcbb26b1b2bdd7ef7356308bc5fdb0b8aa510cb
1,064
cpp
C++
NestedRangesCheck.cpp
zuhaib786/CSES_SOLUTIONS
d506d25919b9ebc9b2b809e1cd5327c14872e4a9
[ "MIT" ]
1
2021-06-18T01:48:37.000Z
2021-06-18T01:48:37.000Z
NestedRangesCheck.cpp
zuhaib786/CSES_SOLUTIONS
d506d25919b9ebc9b2b809e1cd5327c14872e4a9
[ "MIT" ]
null
null
null
NestedRangesCheck.cpp
zuhaib786/CSES_SOLUTIONS
d506d25919b9ebc9b2b809e1cd5327c14872e4a9
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; struct range { int first; int second; int index; }; bool compare(range range1, range range2) { if (range1.first== range2.first) { return range1.second > range2.second; } return range1.first < range2.first; } int main() { int n; cin>>n; vector<range...
18.033898
55
0.531955
zuhaib786
abcec6dfcedef9a428b6ad69cd6fb01a057be837
268
cpp
C++
libs/core/render/src/detail/bksge_core_render_detail_index_array_base.cpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/core/render/src/detail/bksge_core_render_detail_index_array_base.cpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/core/render/src/detail/bksge_core_render_detail_index_array_base.cpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file bksge_core_render_detail_index_array_base.cpp * * @brief IndexArrayBase の実装 * * @author myoukaku */ #include <bksge/fnd/config.hpp> #if !defined(BKSGE_HEADER_ONLY) #include <bksge/core/render/detail/inl/index_array_base_inl.hpp> #endif
20.615385
65
0.720149
myoukaku
abcef9e5bb12963e0c452adfd5bbb7a0b82903dd
4,634
cpp
C++
gtsam/geometry/tests/testCyclic.cpp
kvmanohar22/gtsam
8194b931fe07fb1bd346cdcf116a35f9c4e208ba
[ "BSD-3-Clause" ]
1,402
2017-03-28T00:18:11.000Z
2022-03-30T10:28:32.000Z
gtsam/geometry/tests/testCyclic.cpp
kvmanohar22/gtsam
8194b931fe07fb1bd346cdcf116a35f9c4e208ba
[ "BSD-3-Clause" ]
851
2017-11-27T15:09:56.000Z
2022-03-31T22:26:38.000Z
gtsam/geometry/tests/testCyclic.cpp
kvmanohar22/gtsam
8194b931fe07fb1bd346cdcf116a35f9c4e208ba
[ "BSD-3-Clause" ]
565
2017-11-30T16:15:59.000Z
2022-03-31T02:53:04.000Z
/* ---------------------------------------------------------------------------- * GTSAM Copyright 2010, Georgia Tech Research Corporation, * Atlanta, Georgia 30332-0415 * All Rights Reserved * Authors: Frank Dellaert, et al. (see THANKS for the full author list) * See LICENSE for the license information * ----...
32.633803
80
0.518343
kvmanohar22
abd4da0a61e24c5dfb3f3c38d60cbafc05a0a009
2,419
cc
C++
src/q_151_200/q0200.cc
vNaonLu/daily-leetcode
2830c2cd413d950abe7c6d9b833c771f784443b0
[ "MIT" ]
2
2021-09-28T18:41:03.000Z
2021-09-28T18:42:57.000Z
src/q_151_200/q0200.cc
vNaonLu/Daily_LeetCode
30024b561611d390931cef1b22afd6a5060cf586
[ "MIT" ]
16
2021-09-26T11:44:20.000Z
2021-11-28T06:44:02.000Z
src/q_151_200/q0200.cc
vNaonLu/daily-leetcode
2830c2cd413d950abe7c6d9b833c771f784443b0
[ "MIT" ]
1
2021-11-22T09:11:36.000Z
2021-11-22T09:11:36.000Z
#include <gtest/gtest.h> #include <iostream> #include <queue> #include <vector> using namespace std; /** * This file is generated by leetcode_add.py v1.0 * * 200. * Number of Islands * * ––––––––––––––––––––––––––––– Description ––––––––––––––––––––––––––––– * * Given an ‘m x n’ 2D binary grid ‘grid’ w...
29.144578
139
0.446465
vNaonLu
abd9de720def75125a9f45c56f58d0dbe5d584b1
1,215
cpp
C++
src/Graphics/TextureCPU.cpp
StarNuik/poi.Graphics
551ef5eeb8f1576c4d7ac0d5dee4ff8faee8cc3c
[ "MIT" ]
null
null
null
src/Graphics/TextureCPU.cpp
StarNuik/poi.Graphics
551ef5eeb8f1576c4d7ac0d5dee4ff8faee8cc3c
[ "MIT" ]
null
null
null
src/Graphics/TextureCPU.cpp
StarNuik/poi.Graphics
551ef5eeb8f1576c4d7ac0d5dee4ff8faee8cc3c
[ "MIT" ]
null
null
null
#include <stb_image.h> #include <string> #include <GL/glew.h> #include "Graphics/TextureCPU.hpp" #include "Graphics/Enums/TextureFormatGPU.hpp" #include "Graphics/Enums/TextureFormatCPU.hpp" using namespace poi::Graphics; namespace /* Project constants */ { using namespace poi; const int32 InternalC...
24.795918
95
0.720165
StarNuik
abdb21f77748c08b2564dccc8027c0ec9f9143ca
1,693
cc
C++
bend_mnbrak.cc
lehoangha/tomo2d_HeriotWatt
48477115ed2455a8255521570e4e81ffe754be08
[ "MIT" ]
3
2018-05-03T14:42:29.000Z
2021-11-03T06:59:54.000Z
bend_mnbrak.cc
lehoangha/tomo2d_HeriotWatt
48477115ed2455a8255521570e4e81ffe754be08
[ "MIT" ]
1
2015-10-07T03:23:17.000Z
2015-10-07T03:23:17.000Z
bend_mnbrak.cc
lehoangha/tomo2d_HeriotWatt
48477115ed2455a8255521570e4e81ffe754be08
[ "MIT" ]
2
2018-09-19T13:17:25.000Z
2021-07-28T07:37:34.000Z
/* * bend_mnbrak.cc - initial bracket search for bending solver * (taken from Numerical Recipe's mnbrak.cc) * * Jun Korenaga, MIT/WHOI * January 1999 */ #include "bend.h" #include <math.h> #define GOLD 1.618034 #define GLIMIT 100.0 #define TINY 1.0e-20 #define SHFT(a,b,c,d) (a)=(b);(b)=(c);(c)=(...
22.276316
67
0.512109
lehoangha
abdd36d00280f356be581d89281511a8973376b7
1,275
cpp
C++
chapter16/Mammal2.cpp
UncleCShark/CppIn24HoursWithCmake
7d1f30906fed2c7d144e5495ad42a3a9a59d2dce
[ "MIT" ]
null
null
null
chapter16/Mammal2.cpp
UncleCShark/CppIn24HoursWithCmake
7d1f30906fed2c7d144e5495ad42a3a9a59d2dce
[ "MIT" ]
null
null
null
chapter16/Mammal2.cpp
UncleCShark/CppIn24HoursWithCmake
7d1f30906fed2c7d144e5495ad42a3a9a59d2dce
[ "MIT" ]
null
null
null
#include <iostream> enum BREED { YORKIE, CAIRN, DANDIE, SHETLAND, DOBERMAN, LAB }; class Mammal { public: // constructors Mammal() : age(2), weight(5) { } ~Mammal() { } // accessors int getAge() const { return age; } void setAge(int newAge) { age = newAge; ...
14.010989
63
0.505882
UncleCShark
abdd99bdb841232280a77408c20ced5bc6bf9c8f
840
cpp
C++
problems/leet/92-reverse-linked-list-ii/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
7
2020-10-15T22:37:10.000Z
2022-02-26T17:23:49.000Z
problems/leet/92-reverse-linked-list-ii/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
problems/leet/92-reverse-linked-list-ii/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // ***** struct ListNode { int val; ListNode *next; ListNode() : val(0), next(nullptr) {} ListNode(int x) : val(x), next(nullptr) {} ListNode(int x, ListNode *next) : val(x), next(next) {} }; class Solution { public: ListNode *reverseBetween(ListNode *head, ...
18.26087
58
0.545238
brunodccarvalho
abdf41741f09be06393ad86892a1bba03b4076b7
5,440
cc
C++
tls/src/internal.cc
sdelafond/centreon-broker
21178d98ed8a061ca71317d23c2026dbc4edaca2
[ "Apache-2.0" ]
null
null
null
tls/src/internal.cc
sdelafond/centreon-broker
21178d98ed8a061ca71317d23c2026dbc4edaca2
[ "Apache-2.0" ]
null
null
null
tls/src/internal.cc
sdelafond/centreon-broker
21178d98ed8a061ca71317d23c2026dbc4edaca2
[ "Apache-2.0" ]
null
null
null
/* ** Copyright 2009-2013,2017 Centreon ** ** 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 agr...
31.627907
76
0.617279
sdelafond
abe1d57fa229bbcefbda3b3fb5e52d4b6be8f7e9
2,578
hpp
C++
third_party/boost/simd/arch/common/scalar/function/reversebits.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
6
2018-02-25T22:23:33.000Z
2021-01-15T15:13:12.000Z
third_party/boost/simd/arch/common/scalar/function/reversebits.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
null
null
null
third_party/boost/simd/arch/common/scalar/function/reversebits.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
7
2017-12-12T12:36:31.000Z
2020-02-10T14:27:07.000Z
//================================================================================================== /*! @file @copyright 2016 NumScale SAS Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ //===========================...
29.976744
100
0.470132
SylvainCorlay
abe2a63ef55c0637ba4fb6d4a27fb557ddd39bd9
5,461
cpp
C++
Code/Motor2D/Menu.cpp
isaaccalvis/DevGame
e972f4fd2ce756cb2ea00411d04a2ad99bce51c0
[ "Unlicense" ]
null
null
null
Code/Motor2D/Menu.cpp
isaaccalvis/DevGame
e972f4fd2ce756cb2ea00411d04a2ad99bce51c0
[ "Unlicense" ]
null
null
null
Code/Motor2D/Menu.cpp
isaaccalvis/DevGame
e972f4fd2ce756cb2ea00411d04a2ad99bce51c0
[ "Unlicense" ]
null
null
null
#include "p2Defs.h" #include "p2Log.h" #include "j1App.h" #include "j1Input.h" #include "j1Textures.h" #include "j1Audio.h" #include "j1Render.h" #include "j1Map.h" #include "j1Scene.h" #include "Menu.h" #include "ModulePlayer.h" #include "ModuleEnemies.h" #include "j1FadeToBlack.h" #include "ModuleGui.h" #include "gu...
26.004762
165
0.625343
isaaccalvis
abe2a86acd090a95c83715fa8121aed1195bb1bc
1,852
cpp
C++
04_coding_tasks/lib/004_Median_of_Two_Sorted_Arrays.cpp
JWidder/CodingCPP
00dbf5b0b201299597dfca5c4566d160f780db4f
[ "MIT" ]
null
null
null
04_coding_tasks/lib/004_Median_of_Two_Sorted_Arrays.cpp
JWidder/CodingCPP
00dbf5b0b201299597dfca5c4566d160f780db4f
[ "MIT" ]
2
2021-09-27T04:15:22.000Z
2021-10-09T04:53:33.000Z
04_coding_tasks/lib/004_Median_of_Two_Sorted_Arrays.cpp
JWidder/CodingCPP
00dbf5b0b201299597dfca5c4566d160f780db4f
[ "MIT" ]
1
2021-09-08T14:18:28.000Z
2021-09-08T14:18:28.000Z
#include <string> #include "LibSolution.h" using namespace std; /* Given two sorted arrays nums1 and nums2 of size m and n respectively, return the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)). Task: https://leetcode.com/problems/median-of-two-sorted-arrays/ Solution: ...
20.808989
113
0.566955
JWidder
abe340e5b56f05307e231dbacb5b9579f72d26d4
185
cpp
C++
Category.cpp
UgurIpekduzen/Storage-Algorithms-and-Programming-2-Project-1-
1740a823aee350da7ad7115342fef2f675495306
[ "MIT" ]
null
null
null
Category.cpp
UgurIpekduzen/Storage-Algorithms-and-Programming-2-Project-1-
1740a823aee350da7ad7115342fef2f675495306
[ "MIT" ]
null
null
null
Category.cpp
UgurIpekduzen/Storage-Algorithms-and-Programming-2-Project-1-
1740a823aee350da7ad7115342fef2f675495306
[ "MIT" ]
null
null
null
#include "Category.h" Category::Category(int catID, string catName, string desc) { CatID = catID; CategoryName = catName; Description = desc; } Category::~Category() { }
15.416667
59
0.664865
UgurIpekduzen
abe77c00f55ce8999bcad7f15296e3fc6f8b1ad9
789
cpp
C++
uhk/acm3853.cpp
Hyyyyyyyyyy/acm
d7101755b2c2868d51bb056f094e024d0333b56f
[ "MIT" ]
null
null
null
uhk/acm3853.cpp
Hyyyyyyyyyy/acm
d7101755b2c2868d51bb056f094e024d0333b56f
[ "MIT" ]
null
null
null
uhk/acm3853.cpp
Hyyyyyyyyyy/acm
d7101755b2c2868d51bb056f094e024d0333b56f
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstring> #include <cmath> #include <cctype> using namespace std; struct node { double stay; double right; double below; }; node ar[1010][1010]; double sa[1010][1010]; int N, M; int main() { int i, j, k, u, n, m, a, b; while (scanf("%d %d", &N, &M) != EOF) { for (i = 1; i <= N; i++) ...
18.348837
105
0.467681
Hyyyyyyyyyy
abec65cc0db0fb3cf4e8e03fb6ee8b6ffd42af41
12,227
cpp
C++
code/2D/lib/mex/precompute_mex.cpp
ErisZhang/BCQN
6c103e0e173bb825e4207b282a0cba2ce5d10e24
[ "MIT" ]
15
2021-07-16T11:03:01.000Z
2022-01-15T00:58:26.000Z
code/2D/lib/mex/precompute_mex.cpp
ErisZhang/BCQN
6c103e0e173bb825e4207b282a0cba2ce5d10e24
[ "MIT" ]
1
2019-07-10T12:12:18.000Z
2019-07-10T12:12:18.000Z
code/2D/lib/mex/precompute_mex.cpp
ErisZhang/BCQN
6c103e0e173bb825e4207b282a0cba2ce5d10e24
[ "MIT" ]
4
2019-02-21T06:12:40.000Z
2020-09-27T09:58:32.000Z
#include <mex.h> #include <math.h> #include <Eigen/Dense> #include <iostream> #include <vector> using namespace Eigen; using namespace std; double get_tri_area(Vector2d p0, Vector2d p1, Vector2d p2) { Vector2d u = p1 - p0; Vector2d v = p2 - p0; return 0.5 * sqrt(u.dot(u) * v.dot(v) - u.dot(v)...
29.605327
153
0.399117
ErisZhang
74387bd503d654fadb158d57e5a9322d848274f3
4,522
cpp
C++
src/input/linux/linux_gpio.cpp
lii-enac/djnn-cpp
f27c5ba3186186ee22c93ae91c16063556e929b6
[ "BSD-2-Clause" ]
4
2018-09-11T14:27:57.000Z
2019-12-16T21:06:26.000Z
src/input/linux/linux_gpio.cpp
lii-enac/djnn-cpp
f27c5ba3186186ee22c93ae91c16063556e929b6
[ "BSD-2-Clause" ]
null
null
null
src/input/linux/linux_gpio.cpp
lii-enac/djnn-cpp
f27c5ba3186186ee22c93ae91c16063556e929b6
[ "BSD-2-Clause" ]
2
2018-06-11T14:15:30.000Z
2019-01-09T12:23:35.000Z
/* * djnn v2 * * The copyright holders for the contents of this file are: * Ecole Nationale de l'Aviation Civile, France (2019) * See file "license.terms" for the rights and conditions * defined by copyright holders. * * * Contributors: * Stéphane Chatty <chatty@djnn.net> * Mathieu Magnau...
25.693182
102
0.582043
lii-enac
743a96d9c7794f785b2e6b1eb97176ea1b188707
4,469
cpp
C++
Plugins/GeometryCache/Source/GeometryCache/Private/GeometryCacheTrack.cpp
greenrainstudios/AlembicUtilities
3970988065aef6861898a5185495e784a0c43ecb
[ "MIT" ]
null
null
null
Plugins/GeometryCache/Source/GeometryCache/Private/GeometryCacheTrack.cpp
greenrainstudios/AlembicUtilities
3970988065aef6861898a5185495e784a0c43ecb
[ "MIT" ]
null
null
null
Plugins/GeometryCache/Source/GeometryCache/Private/GeometryCacheTrack.cpp
greenrainstudios/AlembicUtilities
3970988065aef6861898a5185495e784a0c43ecb
[ "MIT" ]
1
2021-01-22T09:11:51.000Z
2021-01-22T09:11:51.000Z
// Copyright Epic Games, Inc. All Rights Reserved. #include "GeometryCacheTrack.h" #include "GeometryCacheHelpers.h" #include "UObject/AnimPhysObjectVersion.h" const FGeometryCacheTrackSampleInfo FGeometryCacheTrackSampleInfo::EmptySampleInfo; const FVisibilitySample FVisibilitySample::VisibleSample(true); co...
28.464968
167
0.750727
greenrainstudios
743c89ecec5979c250c222952bd2bcb9c8b506d9
46
cpp
C++
src/scanContext.cpp
softdream/Slam-Project-Of-MyOwn
6d6db8a5761e8530971b203983ea2215620aa5c2
[ "Apache-2.0" ]
21
2021-07-19T08:15:53.000Z
2022-03-31T07:07:55.000Z
src/scanContext.cpp
Forrest-Z/Slam-Project-Of-MyOwn
6d6db8a5761e8530971b203983ea2215620aa5c2
[ "Apache-2.0" ]
3
2022-03-02T12:55:37.000Z
2022-03-07T12:12:57.000Z
src/scanContext.cpp
softdream/Slam-Project-Of-MyOwn
6d6db8a5761e8530971b203983ea2215620aa5c2
[ "Apache-2.0" ]
4
2021-08-12T15:11:09.000Z
2022-01-08T14:20:36.000Z
#include "scanContext.h" namespace slam{ }
6.571429
24
0.695652
softdream
743da00a0b4f398d3f50d79a19d301aefc9cc8e0
10,636
cpp
C++
third_party/skia_m79/third_party/externals/angle2/src/gpu_info_util/SystemInfo_android.cpp
kniefliu/WindowsSamples
c841268ef4a0f1c6f89b8e95bf68058ea2548394
[ "MIT" ]
20
2019-04-18T07:37:34.000Z
2022-02-02T21:43:47.000Z
third_party/skia_m79/third_party/externals/angle2/src/gpu_info_util/SystemInfo_android.cpp
kniefliu/WindowsSamples
c841268ef4a0f1c6f89b8e95bf68058ea2548394
[ "MIT" ]
11
2019-10-21T13:39:41.000Z
2021-11-05T08:11:54.000Z
third_party/skia_m79/third_party/externals/angle2/src/gpu_info_util/SystemInfo_android.cpp
kniefliu/WindowsSamples
c841268ef4a0f1c6f89b8e95bf68058ea2548394
[ "MIT" ]
9
2018-10-31T03:07:11.000Z
2021-08-06T08:53:21.000Z
// // Copyright 2018 The ANGLE 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. // // SystemInfo_android.cpp: implementation of the Android-specific parts of SystemInfo.h #include <dlfcn.h> #include <vulkan/vulkan.h> #include...
41.385214
99
0.607465
kniefliu
743ef6c22393b0253455521701b967fcfe56e1b7
47,041
cpp
C++
ackermann_drive_controller/src/ackermann_drive_controller.cpp
Jenifen/curio
fa08e5abba54622170ca3f4c1f5933e97f51a022
[ "BSD-3-Clause" ]
34
2020-02-05T07:26:27.000Z
2022-03-12T09:38:56.000Z
ackermann_drive_controller/src/ackermann_drive_controller.cpp
Jenifen/curio
fa08e5abba54622170ca3f4c1f5933e97f51a022
[ "BSD-3-Clause" ]
10
2020-01-28T13:14:52.000Z
2022-03-12T11:07:08.000Z
ackermann_drive_controller/src/ackermann_drive_controller.cpp
Jenifen/curio
fa08e5abba54622170ca3f4c1f5933e97f51a022
[ "BSD-3-Clause" ]
16
2020-04-10T05:03:51.000Z
2022-02-21T05:04:49.000Z
// // Software License Agreement (BSD-3-Clause) // // Copyright (c) 2019 Rhys Mainwaring // 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...
46.529179
181
0.639995
Jenifen
74411e2d6c418ea359b615812efe8c0dc7ba060d
7,079
cc
C++
chrome/chrome_cleaner/http/mock_http_agent_factory.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/chrome_cleaner/http/mock_http_agent_factory.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/chrome_cleaner/http/mock_http_agent_factory.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/chrome_cleaner/http/mock_http_agent_factory.h" #include <stdint.h> #include <algorithm> #include <memory> #include <string> #include <v...
31.744395
80
0.730753
sarang-apps
744127979977c33452dbd4f3f80463078c2ba9df
1,059
cpp
C++
pt07z.cpp
ohmyjons/SPOJ-1
870ae3b072a3fbc89149b35fe5649a74512a8f60
[ "Unlicense" ]
264
2015-01-08T10:07:01.000Z
2022-03-26T04:11:51.000Z
pt07z.cpp
ohmyjons/SPOJ-1
870ae3b072a3fbc89149b35fe5649a74512a8f60
[ "Unlicense" ]
17
2016-04-15T03:38:07.000Z
2020-10-30T00:33:57.000Z
pt07z.cpp
ohmyjons/SPOJ-1
870ae3b072a3fbc89149b35fe5649a74512a8f60
[ "Unlicense" ]
127
2015-01-08T04:56:44.000Z
2022-02-25T18:40:37.000Z
// 2008-07-29 #define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <list> using namespace std; int main() { int N,i,u,v; scanf("%d",&N); list<int> L[10000]; for (i=0; i<N-1; i++) { scanf("%d %d",&u,&v); u--,v--; L[u].push_back(v); L[v].push_back(u); } int size=1; int p[20000]; int n[20000]; int ...
13.934211
42
0.507082
ohmyjons
74440b1c5c4417fae1efdb360ec982198c4b4949
3,775
cpp
C++
7952603892_basic.cpp
sehgal-aamulya/SequenceAlignmentAlgorithms
35ce3c9a35c1a681f03c5b605b6152a1a30c014f
[ "MIT" ]
null
null
null
7952603892_basic.cpp
sehgal-aamulya/SequenceAlignmentAlgorithms
35ce3c9a35c1a681f03c5b605b6152a1a30c014f
[ "MIT" ]
null
null
null
7952603892_basic.cpp
sehgal-aamulya/SequenceAlignmentAlgorithms
35ce3c9a35c1a681f03c5b605b6152a1a30c014f
[ "MIT" ]
null
null
null
// // Created by Aamulya Sehgal on 12/4/21. // #include <string> #include <iostream> #include <fstream> #include <sys/resource.h> #include "SequenceAlignment.hpp" #include "StringGenerator.hpp" #include "StringTrim.hpp" int main(int argc, char *argv[]) { if (argc < 2) { std::cout << "Please include an input fil...
27.355072
106
0.629934
sehgal-aamulya
74446f5b5c586514152365f900623f91b62bf0a6
36,537
hh
C++
software/protoDUNE/protoDUNE/Headers.hh
slaclab/proto-dune
e487ee6d40359b40776098410d7fd302b9631448
[ "BSD-3-Clause-LBNL" ]
null
null
null
software/protoDUNE/protoDUNE/Headers.hh
slaclab/proto-dune
e487ee6d40359b40776098410d7fd302b9631448
[ "BSD-3-Clause-LBNL" ]
2
2017-05-11T04:22:27.000Z
2018-09-18T16:10:29.000Z
software/protoDUNE/protoDUNE/Headers.hh
slaclab/proto-dune
e487ee6d40359b40776098410d7fd302b9631448
[ "BSD-3-Clause-LBNL" ]
2
2017-04-03T21:59:53.000Z
2020-12-13T00:14:20.000Z
// -*-Mode: C++;-*- #ifndef PDD_HEADER_HH #define PDD_HEADER_HH /* ---------------------------------------------------------------------- *//*! * * @file Header.hh * @brief Proto-Dune Data Header * @verbatim * Copyright 2013 * by * * ...
32.739247
92
0.396393
slaclab
744480da91eb8d6f0692e774d08cee2a0fe4b699
1,590
hpp
C++
src/whiteboard/validate_visitor.hpp
blackberry/Wesnoth
8b307689158db568ecc6cc3b537e8d382ccea449
[ "Unlicense" ]
12
2015-03-04T15:07:00.000Z
2019-09-13T16:31:06.000Z
src/whiteboard/validate_visitor.hpp
blackberry/Wesnoth
8b307689158db568ecc6cc3b537e8d382ccea449
[ "Unlicense" ]
null
null
null
src/whiteboard/validate_visitor.hpp
blackberry/Wesnoth
8b307689158db568ecc6cc3b537e8d382ccea449
[ "Unlicense" ]
5
2017-04-22T08:16:48.000Z
2020-07-12T03:35:16.000Z
/* $Id: validate_visitor.hpp 49264 2011-04-17 22:56:44Z gabba $ */ /* Copyright (C) 2010 - 2011 by Gabriel Morin <gabrielmorin (at) gmail (dot) com> Part of the Battle for Wesnoth Project http://www.wesnoth.org This program is free software; you can redistribute it and/or modify it under the terms of the GNU...
27.894737
92
0.738994
blackberry
74450473b1fb8489b94dd3ed8ea8f84c0f64af17
3,613
cc
C++
cpp/hackranker/h30.cc
staugust/leetcode
0ddd0b0941e596d3c6a21b6717d0dd193025f580
[ "Apache-2.0" ]
null
null
null
cpp/hackranker/h30.cc
staugust/leetcode
0ddd0b0941e596d3c6a21b6717d0dd193025f580
[ "Apache-2.0" ]
null
null
null
cpp/hackranker/h30.cc
staugust/leetcode
0ddd0b0941e596d3c6a21b6717d0dd193025f580
[ "Apache-2.0" ]
null
null
null
/* * */ #include <iostream> #include <vector> #include <string> #include <algorithm> #include <iomanip> #include <cstdlib> #include <cstdio> #include <map> #include <set> #include <deque> #include <queue> using namespace std; vector<int> closestNumbers(vector<int> arr) { int diff = 0x3f3f3f3f; std::sort(arr.begin...
18.065
65
0.51121
staugust
74475242e369b0e9625b44109b4a69ee8a647456
1,992
cpp
C++
RiocArduino/RORudderServo.cpp
robinz-labs/rioc-arduino
37e752cfc5cf13a61dd03b4556cf33aa18d24814
[ "Apache-2.0" ]
null
null
null
RiocArduino/RORudderServo.cpp
robinz-labs/rioc-arduino
37e752cfc5cf13a61dd03b4556cf33aa18d24814
[ "Apache-2.0" ]
null
null
null
RiocArduino/RORudderServo.cpp
robinz-labs/rioc-arduino
37e752cfc5cf13a61dd03b4556cf33aa18d24814
[ "Apache-2.0" ]
null
null
null
#include "RORudderServo.h" #include "RiocMessager.h" #include <Servo.h> RORudderServo::RORudderServo() { _pin = -1; _mode = -1; _enabled = false; _servo = NULL; } RORudderServo::~RORudderServo() { } bool RORudderServo::setup(byte msg[8], byte address_from) { if (_pin != -1) return false; int pin = msg[...
17.628319
69
0.593876
robinz-labs
74485ee42af47b6f7f1fa36e60760bd3cbf9a4ad
4,787
cpp
C++
BossAttack1_DomJudge/BA1_B_html lexer.cpp
Ping6666/Compiler-Projects
31c7c437a2fad66b7b7424d9b2a468b61d94fdd3
[ "MIT" ]
1
2021-11-21T15:52:23.000Z
2021-11-21T15:52:23.000Z
BossAttack1_DomJudge/BA1_B_html lexer.cpp
Ping6666/Compiler-Projects
31c7c437a2fad66b7b7424d9b2a468b61d94fdd3
[ "MIT" ]
null
null
null
BossAttack1_DomJudge/BA1_B_html lexer.cpp
Ping6666/Compiler-Projects
31c7c437a2fad66b7b7424d9b2a468b61d94fdd3
[ "MIT" ]
null
null
null
#include <iostream> // all test case will be legal std::string inputString; void stringManipulate() { bool set = false; for (int i = 0; i < (int)inputString.length(); i++) { if (set) { if (inputString[i] == ' ') { inputString.erase(in...
25.328042
117
0.350742
Ping6666
7449afbe93d4d2665437c7985ae6933b724e1722
75
cc
C++
project2/kernels/grad_case9.cc
beizai/CompilerProject2
07c99fd0ff0a0f66ac470ded5d11470b1c473b97
[ "MIT" ]
26
2020-05-11T09:00:41.000Z
2021-08-25T16:58:42.000Z
project2/kernels/grad_case9.cc
beizai/CompilerProject2
07c99fd0ff0a0f66ac470ded5d11470b1c473b97
[ "MIT" ]
2
2020-05-10T12:23:30.000Z
2020-06-12T03:20:41.000Z
project2/kernels/grad_case9.cc
beizai/CompilerProject2
07c99fd0ff0a0f66ac470ded5d11470b1c473b97
[ "MIT" ]
30
2020-05-10T05:45:23.000Z
2022-03-10T16:18:33.000Z
#include "../run2.h" void grad_case9(float (&dB)[4][6], float (&dA)[4]) {}
25
53
0.573333
beizai
744a5e4308eec88c6cb7e9e2fd2180a177630fb5
564
cpp
C++
src/FileManager.cpp
Crupette/decent-engine
9934df33e8f1e87adf7298baa731c48eee2b2b5b
[ "Apache-2.0" ]
null
null
null
src/FileManager.cpp
Crupette/decent-engine
9934df33e8f1e87adf7298baa731c48eee2b2b5b
[ "Apache-2.0" ]
null
null
null
src/FileManager.cpp
Crupette/decent-engine
9934df33e8f1e87adf7298baa731c48eee2b2b5b
[ "Apache-2.0" ]
null
null
null
#include "FileManager.h" #include <fstream> namespace DecentEngine { void FileManager::dumpFile(const std::string& filePath, std::vector<unsigned char>& contents){ std::ifstream file(filePath, std::ios::binary); if(file.fail()){ //TODO: Add logger message with [WARN] tag printf("Failed to dump file contents in...
20.888889
95
0.689716
Crupette
744d0e53844aa1c5688e86825db28154e7cbf751
2,909
cpp
C++
fucapi2Bimestre/teste2.cpp
taynarodrigues/OpenGL
c1309835313f2a00b07668cfddbea21a26c5b21f
[ "MIT" ]
2
2020-04-05T02:38:14.000Z
2020-04-05T02:48:18.000Z
fucapi2Bimestre/teste2.cpp
taynarodrigues/OpenGL--Computacao-Grafica
c1309835313f2a00b07668cfddbea21a26c5b21f
[ "MIT" ]
null
null
null
fucapi2Bimestre/teste2.cpp
taynarodrigues/OpenGL--Computacao-Grafica
c1309835313f2a00b07668cfddbea21a26c5b21f
[ "MIT" ]
null
null
null
// Fazer código OpenGL para gerar pelo menos duas das seguintes curvas de Bezier (ver imagem). #include <GL/gl.h> #include <GL/glu.h> #include <stdlib.h> #include <GL/glut.h> GLfloat ctrlpoints2[4][3]={ { 0.0, 0.0, 0.0}, {-2.0, 0.3, 0.0}, {-3.0,-1.0, 0.0}, {-4.0, 4.0, 0.0} }; GLfloat ctrlpoin...
26.688073
131
0.609144
taynarodrigues
744d653f35c31e92367a03887fa714945000de7b
9,781
cpp
C++
11_learning_materials/stanford_self_driving_car/perception/descriptors_3d/src/shared/spectral_analysis.cpp
EatAllBugs/autonomous_learning
02ff7b0fa7b131a2f2203505ef5cc7e43b40bc47
[ "MIT" ]
14
2021-09-01T14:25:45.000Z
2022-02-21T08:49:57.000Z
11_learning_materials/stanford_self_driving_car/perception/descriptors_3d/src/shared/spectral_analysis.cpp
yinflight/autonomous_learning
02ff7b0fa7b131a2f2203505ef5cc7e43b40bc47
[ "MIT" ]
null
null
null
11_learning_materials/stanford_self_driving_car/perception/descriptors_3d/src/shared/spectral_analysis.cpp
yinflight/autonomous_learning
02ff7b0fa7b131a2f2203505ef5cc7e43b40bc47
[ "MIT" ]
3
2021-10-10T00:58:29.000Z
2022-01-23T13:16:09.000Z
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2009, Willow Garage * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condi...
37.190114
106
0.584296
EatAllBugs
744eaa921b450ff9971fcd7e445a537ecab85873
4,401
cpp
C++
src/game/server/gamemodes/fastcap.cpp
Laxa/teeworlds-race
e206a053bb8396f59792bb5de9e3c53674f6a702
[ "Zlib" ]
null
null
null
src/game/server/gamemodes/fastcap.cpp
Laxa/teeworlds-race
e206a053bb8396f59792bb5de9e3c53674f6a702
[ "Zlib" ]
null
null
null
src/game/server/gamemodes/fastcap.cpp
Laxa/teeworlds-race
e206a053bb8396f59792bb5de9e3c53674f6a702
[ "Zlib" ]
null
null
null
// copyright (c) 2007 magnus auvinen, see licence.txt for more info #include <engine/shared/config.h> #include <game/mapitems.h> #include <game/server/entities/character.h> #include <game/server/entities/flag.h> #include <game/server/player.h> #include <game/server/gamecontext.h> #include "fastcap.h" CGameControllerFC...
23.163158
170
0.709611
Laxa
744f12933dbb03e1ceacea733c451b8287ce1b12
3,026
hpp
C++
Chapter 8/Abbrevia/source/hpp/Win32/Debug/AbbreviaD.hpp
PacktPublishing/Delphi-High-Performance
bcb84190e8660a28cbc0caada2e1bed3b8adfe42
[ "MIT" ]
45
2018-04-08T07:01:13.000Z
2022-02-18T17:28:10.000Z
Chapter 8/Abbrevia/source/hpp/Win32/Release/AbbreviaD.hpp
anomous/Delphi-High-Performance
051a8f7d7460345b60cb8d2a10a974ea8179ea41
[ "MIT" ]
null
null
null
Chapter 8/Abbrevia/source/hpp/Win32/Release/AbbreviaD.hpp
anomous/Delphi-High-Performance
051a8f7d7460345b60cb8d2a10a974ea8179ea41
[ "MIT" ]
17
2018-03-21T11:22:15.000Z
2022-03-16T05:55:54.000Z
// CodeGear C++Builder // Copyright (c) 1995, 2016 by Embarcadero Technologies, Inc. // All rights reserved // (DO NOT EDIT: machine generated header) 'AbbreviaD.dpk' rev: 31.00 (Windows) #ifndef AbbreviadHPP #define AbbreviadHPP #pragma delphiheader begin #pragma option push #pragma option -w- // All warnings...
29.666667
94
0.657303
PacktPublishing
744f55bb19e02078fff95f271bb9ebe265ffa084
22,099
cpp
C++
src/core/models/error/error_model_factory.cpp
gunjanbaid/octopus
b19e825d10c16bc14565338aadf4aee63c8fe816
[ "MIT" ]
null
null
null
src/core/models/error/error_model_factory.cpp
gunjanbaid/octopus
b19e825d10c16bc14565338aadf4aee63c8fe816
[ "MIT" ]
null
null
null
src/core/models/error/error_model_factory.cpp
gunjanbaid/octopus
b19e825d10c16bc14565338aadf4aee63c8fe816
[ "MIT" ]
null
null
null
// Copyright (c) 2015-2019 Daniel Cooke // Use of this source code is governed by the MIT license that can be found in the LICENSE file. #include "error_model_factory.hpp" #include <array> #include <unordered_map> #include <fstream> #include <sstream> #include <iostream> #include <boost/optional.hpp> #include <boost...
41.933586
142
0.569257
gunjanbaid
745159242d81163b2eea766e92221cfc1cf268c7
5,741
hpp
C++
src/webots/nodes/WbIndexedFaceSet.hpp
awesome-archive/webots
8e74fb8393d1e3a6540749afc492635c43f1b30f
[ "Apache-2.0" ]
2
2019-07-12T13:47:44.000Z
2019-08-17T02:53:54.000Z
src/webots/nodes/WbIndexedFaceSet.hpp
golbh/webots
8e74fb8393d1e3a6540749afc492635c43f1b30f
[ "Apache-2.0" ]
null
null
null
src/webots/nodes/WbIndexedFaceSet.hpp
golbh/webots
8e74fb8393d1e3a6540749afc492635c43f1b30f
[ "Apache-2.0" ]
1
2019-07-13T17:58:04.000Z
2019-07-13T17:58:04.000Z
// Copyright 1996-2018 Cyberbotics Ltd. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agr...
35.438272
126
0.774604
awesome-archive
74523286fde903feac0517ed6f46f645a50ac715
9,472
cpp
C++
animer/main.cpp
Benjins/GBADev
0a968a1aa1ee38b57644a1bb8d27f2c5332e3c90
[ "MIT" ]
null
null
null
animer/main.cpp
Benjins/GBADev
0a968a1aa1ee38b57644a1bb8d27f2c5332e3c90
[ "MIT" ]
null
null
null
animer/main.cpp
Benjins/GBADev
0a968a1aa1ee38b57644a1bb8d27f2c5332e3c90
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include "../toolsCode/Renderer.h" #include "../toolsCode/Timer.h" #include "../toolsCode/openfile.h" #define TILE_INDEX_MULTIPLIER 24 void* bitmapData = NULL; #define MIN(a,b) ((a) < (b) ? (a) : (b)) #define MAX(a,b) ((a) > (b) ? (a) : (b...
29.325077
138
0.676626
Benjins
74539fd3a437ada34e33972f54afa3905e6283f1
1,970
cpp
C++
training/1-3-7-wormhole/cpp11/main.cpp
hsun324/usaco-solutions
27f77911971513a4d2b1b820eaa09802acadfefa
[ "MIT" ]
2
2015-12-26T21:20:12.000Z
2017-12-19T00:11:45.000Z
training/1-3-7-wormhole/cpp11/main.cpp
hsun324/usaco-solutions
27f77911971513a4d2b1b820eaa09802acadfefa
[ "MIT" ]
null
null
null
training/1-3-7-wormhole/cpp11/main.cpp
hsun324/usaco-solutions
27f77911971513a4d2b1b820eaa09802acadfefa
[ "MIT" ]
null
null
null
/* ID: <ID HERE> LANG: C++11 TASK: wormhole */ #include <algorithm> #include <fstream> #include <map> #include <set> #include <utility> #include <vector> using namespace std; bool check_cycle(vector<int> &pairs, map<int, int> &transitions) { vector<bool> visited(pairs.size()); for (int i = 0; i < pairs.size(); i++...
21.413043
92
0.658883
hsun324
74565efae85b7a46bd23d0d9746594bd2c06569f
29,181
cpp
C++
Source/Runtime/Private/Components/ComParticleSystem.cpp
redchew-fork/BlueshiftEngine
fbc374cbc391e1147c744649f405a66a27c35d89
[ "Apache-2.0" ]
410
2017-03-03T08:56:54.000Z
2022-03-29T07:18:46.000Z
Source/Runtime/Private/Components/ComParticleSystem.cpp
redchew-fork/BlueshiftEngine
fbc374cbc391e1147c744649f405a66a27c35d89
[ "Apache-2.0" ]
31
2017-03-05T11:37:44.000Z
2021-09-15T21:28:34.000Z
Source/Runtime/Private/Components/ComParticleSystem.cpp
redchew-fork/BlueshiftEngine
fbc374cbc391e1147c744649f405a66a27c35d89
[ "Apache-2.0" ]
48
2017-03-18T05:28:21.000Z
2022-03-05T12:27:17.000Z
// Copyright(c) 2017 POLYGONTEK // // 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 i...
38.701592
183
0.649498
redchew-fork
745999a25b480d74ca6a1b28c68a70a257dccc3b
8,465
cc
C++
tools/embedding_plugin/cc/kernels/v1/embedding_wrapper_fprop_v4.cc
quinnrong94/HugeCTR
1068dc48b05a1219b393144dd3b61a1749f232df
[ "Apache-2.0" ]
1
2021-06-04T04:03:54.000Z
2021-06-04T04:03:54.000Z
tools/embedding_plugin/cc/kernels/v1/embedding_wrapper_fprop_v4.cc
quinnrong94/HugeCTR
1068dc48b05a1219b393144dd3b61a1749f232df
[ "Apache-2.0" ]
null
null
null
tools/embedding_plugin/cc/kernels/v1/embedding_wrapper_fprop_v4.cc
quinnrong94/HugeCTR
1068dc48b05a1219b393144dd3b61a1749f232df
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2020, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
50.993976
134
0.606025
quinnrong94
745a0ee3bceb377b67e7d65d5daea7386e7644af
3,671
cc
C++
tests/unit/base/Serialization_unittest.cc
cloner1984/shogun
901c04b2c6550918acf0594ef8afeb5dcd840a7d
[ "BSD-3-Clause" ]
2
2015-01-13T15:18:27.000Z
2015-05-01T13:28:48.000Z
tests/unit/base/Serialization_unittest.cc
cloner1984/shogun
901c04b2c6550918acf0594ef8afeb5dcd840a7d
[ "BSD-3-Clause" ]
null
null
null
tests/unit/base/Serialization_unittest.cc
cloner1984/shogun
901c04b2c6550918acf0594ef8afeb5dcd840a7d
[ "BSD-3-Clause" ]
null
null
null
/* * This software is distributed under BSD 3-clause license (see LICENSE file). * * Authors: Viktor Gal, Thoralf Klein, Evgeniy Andreev, Soeren Sonnenburg, * Heiko Strathmann */ #include <gtest/gtest.h> #include <shogun/labels/BinaryLabels.h> #include <shogun/labels/MulticlassLabels.h> #include <shogun...
27.601504
102
0.723236
cloner1984
745b3b103a8485a1a1ce73065ae3893fa8b5ab87
2,812
cpp
C++
Core/rt/vm/rt/android/libcore/luni/src/main/native/ZipUtilities.cpp
bugvm/robovm
430cbeb4a9f49f48b982821b40741fad110efe57
[ "MIT" ]
29
2018-06-04T21:34:00.000Z
2022-02-21T16:34:44.000Z
Core/rt/vm/rt/android/libcore/luni/src/main/native/ZipUtilities.cpp
bugvm/robovm
430cbeb4a9f49f48b982821b40741fad110efe57
[ "MIT" ]
15
2018-03-02T03:38:56.000Z
2021-03-22T02:06:14.000Z
Core/rt/vm/rt/android/libcore/luni/src/main/native/ZipUtilities.cpp
bugvm/robovm
430cbeb4a9f49f48b982821b40741fad110efe57
[ "MIT" ]
6
2018-10-17T02:28:28.000Z
2020-11-27T04:47:50.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 You under the Apache License, Version 2.0 * (the "License"); you may ...
33.47619
93
0.71835
bugvm
745d3eded819b3028db70cea94fa5983030c9704
8,994
hxx
C++
main/sw/source/filter/inc/wwstyles.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/sw/source/filter/inc/wwstyles.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/sw/source/filter/inc/wwstyles.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...
41.256881
80
0.497887
Grosskopf
7460861f64eaebd73d4011f9b7508f67d6208ce8
3,706
cc
C++
src/plugin_environment.cc
blockspacer/flextool
d6594c7b2d4ce122a704075f68c7fab17d8bc737
[ "Apache-2.0", "MIT" ]
22
2020-05-20T13:49:54.000Z
2021-12-21T12:20:05.000Z
src/plugin_environment.cc
blockspacer/flextool
d6594c7b2d4ce122a704075f68c7fab17d8bc737
[ "Apache-2.0", "MIT" ]
2
2020-05-12T20:19:21.000Z
2020-10-12T15:40:27.000Z
src/plugin_environment.cc
blockspacer/flextool
d6594c7b2d4ce122a704075f68c7fab17d8bc737
[ "Apache-2.0", "MIT" ]
3
2020-05-19T01:00:39.000Z
2021-07-15T05:44:17.000Z
#include "flextool/plugin_environment.hpp" // IWYU pragma: associated #include <base/files/file_path.h> #include <base/base_paths.h> #include <base/files/file_util.h> #include <base/logging.h> #include <base/path_service.h> #include <base/check.h> #include <base/notreached.h> #include <base/threading/thread_t...
24.706667
70
0.675121
blockspacer
7462bd0a41b5e3a56b50f3eee4a2baa4d171ee38
26,745
inl
C++
applications/plugins/InvertibleFVM/InvertibleFVMForceField.inl
sofa-framework/issofa
94855f488465bc3ed41223cbde987581dfca5389
[ "OML" ]
null
null
null
applications/plugins/InvertibleFVM/InvertibleFVMForceField.inl
sofa-framework/issofa
94855f488465bc3ed41223cbde987581dfca5389
[ "OML" ]
null
null
null
applications/plugins/InvertibleFVM/InvertibleFVMForceField.inl
sofa-framework/issofa
94855f488465bc3ed41223cbde987581dfca5389
[ "OML" ]
null
null
null
/****************************************************************************** * SOFA, Simulation Open-Framework Architecture, development version * * (c) 2006-2017 INRIA, USTL, UJF, CNRS, MGH * * * ...
34.157088
194
0.532025
sofa-framework
7464e2488c1cca3a52195c79b57be576b0151637
1,848
cc
C++
chrome/browser/chromeos/policy/dlp/dlp_content_restriction_set.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
chrome/browser/chromeos/policy/dlp/dlp_content_restriction_set.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
chrome/browser/chromeos/policy/dlp/dlp_content_restriction_set.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/chromeos/policy/dlp/dlp_content_restriction_set.h" namespace policy { DlpContentRestrictionSet::DlpContentRestrictionSet() = de...
31.862069
80
0.796537
mghgroup
746522538f59aec89779423d49f757dc0e4aa787
1,705
cpp
C++
tests/ondemand/ondemand_assert_out_of_order_values.cpp
friendlyanon/simdjson
7ed9554280802ccadfba6f69761ef197114e5593
[ "Apache-2.0" ]
1
2020-12-20T16:32:24.000Z
2020-12-20T16:32:24.000Z
tests/ondemand/ondemand_assert_out_of_order_values.cpp
c3358/simdjson
85001c55fb678415922960171b27e4bd4cfa4ef5
[ "Apache-2.0" ]
null
null
null
tests/ondemand/ondemand_assert_out_of_order_values.cpp
c3358/simdjson
85001c55fb678415922960171b27e4bd4cfa4ef5
[ "Apache-2.0" ]
1
2021-08-06T10:16:23.000Z
2021-08-06T10:16:23.000Z
#include <iostream> #include <unistd.h> #include <stdlib.h> #include <sys/wait.h> #include <sys/types.h> #include "simdjson.h" using namespace simdjson; using namespace simdjson::builtin; // This ensures the compiler can't rearrange them into the proper order (which causes it to work!) simdjson_never_inline int check...
29.912281
117
0.641642
friendlyanon
7465ff9f1b9725685726c0c4c6e2c2c59d760f05
823
cpp
C++
ui/widget/toolbar/AdjustPanelToolBar.cpp
shinehanx/openphoto
e4466e5e80829385d2aa84813f2d5a8960053845
[ "Apache-2.0" ]
5
2021-03-11T00:30:25.000Z
2021-07-28T00:31:20.000Z
ui/widget/toolbar/AdjustPanelToolBar.cpp
shinehanx/openphoto
e4466e5e80829385d2aa84813f2d5a8960053845
[ "Apache-2.0" ]
null
null
null
ui/widget/toolbar/AdjustPanelToolBar.cpp
shinehanx/openphoto
e4466e5e80829385d2aa84813f2d5a8960053845
[ "Apache-2.0" ]
1
2021-09-14T16:28:26.000Z
2021-09-14T16:28:26.000Z
#include "AdjustPanelToolBar.h" #include <QIcon> AdjustPanelToolBar::AdjustPanelToolBar(QWidget *parent) : QToolBar(parent) { } AdjustPanelToolBar::AdjustPanelToolBar(ToolButtonData *datas, int size, QWidget *parent) : QToolBar(parent) { toolButtonDatas = datas; toolButtonSize = size; } void AdjustPanelToolB...
24.939394
107
0.663426
shinehanx
7466b0e0ac71ab7eb83d9e4f513a021ac1d5a4f5
4,388
cpp
C++
plugins/mdaRoundPan.cpp
elk-audio/mda-vst2
8ea6ef97946a617d73e48d245777e57fb984357f
[ "MIT" ]
2
2020-05-01T20:57:56.000Z
2021-05-20T13:59:20.000Z
plugins/mdaRoundPan.cpp
elk-audio/mda-vst2
8ea6ef97946a617d73e48d245777e57fb984357f
[ "MIT" ]
null
null
null
plugins/mdaRoundPan.cpp
elk-audio/mda-vst2
8ea6ef97946a617d73e48d245777e57fb984357f
[ "MIT" ]
null
null
null
#include "mdaRoundPan.h" #include <math.h> #include <float.h> AudioEffect *createEffectInstance(audioMasterCallback audioMaster) { return new mdaRoundPan(audioMaster); } mdaRoundPan::mdaRoundPan(audioMasterCallback audioMaster) : AudioEffectX(audioMaster, 1, 2) // programs, parameters { //inits here! fParam1 =...
21.198068
115
0.595488
elk-audio
74672b4322ec3e5a5eb396ee1459c844f41b4d54
1,370
cpp
C++
fk/factory_wipe_worker.cpp
fieldkit/firmware
09df5c4c5c2f21865cfbb11c9cdc362bb8803ad6
[ "BSD-3-Clause" ]
10
2019-11-26T11:35:56.000Z
2021-07-03T07:21:38.000Z
fk/factory_wipe_worker.cpp
fieldkit/firmware
09df5c4c5c2f21865cfbb11c9cdc362bb8803ad6
[ "BSD-3-Clause" ]
1
2019-07-03T06:27:21.000Z
2019-09-06T09:21:27.000Z
fk/factory_wipe_worker.cpp
fieldkit/firmware
09df5c4c5c2f21865cfbb11c9cdc362bb8803ad6
[ "BSD-3-Clause" ]
1
2019-09-23T18:13:51.000Z
2019-09-23T18:13:51.000Z
#include <samd51_common.h> #include "factory_wipe_worker.h" #include "hal/hal.h" #include "storage/storage.h" #include "gs_progress_callbacks.h" #include "factory_wipe.h" #include "graceful_shutdown.h" namespace fk { FK_DECLARE_LOGGER("factory-wipe"); FactoryWipeWorker::FactoryWipeWorker(bool restart) : restart_(re...
22.459016
72
0.632117
fieldkit
7469b6151ce6cf726fb13b3ad637ca8cef0643cc
1,343
cpp
C++
released_plugins/special_v3d_plugins/teramanager/src/presentation/QGradientBar.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
1
2021-12-27T19:14:03.000Z
2021-12-27T19:14:03.000Z
released_plugins/special_v3d_plugins/teramanager/src/presentation/QGradientBar.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
1
2016-12-03T05:33:13.000Z
2016-12-03T05:33:13.000Z
released_plugins/special_v3d_plugins/teramanager/src/presentation/QGradientBar.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
null
null
null
#include "QGradientBar.h" using namespace teramanager; void QGradientBar::paintEvent(QPaintEvent * evt) { //creatin QPainter object, enabling antialising and setting brush color differently if button is enabled or not QPainter painter(this); painter.setRenderHint(QPainter::Antialiasing); if(isEnabled...
35.342105
165
0.590469
zzhmark
746b9d8341140763cfab097aaf0298b13ce7b568
3,378
cpp
C++
src/examples/hello_fluid_sim/main.cpp
PavelBlend/fluid-engine-dev
45b4bdbdb4c6d8c0beebc682180469198203b0ef
[ "MIT" ]
1,355
2016-05-08T07:29:22.000Z
2022-03-30T13:59:35.000Z
src/examples/hello_fluid_sim/main.cpp
Taiyuan-Zhang/fluid-engine-dev
45b4bdbdb4c6d8c0beebc682180469198203b0ef
[ "MIT" ]
208
2016-05-25T19:47:27.000Z
2022-01-17T04:18:29.000Z
src/examples/hello_fluid_sim/main.cpp
Taiyuan-Zhang/fluid-engine-dev
45b4bdbdb4c6d8c0beebc682180469198203b0ef
[ "MIT" ]
218
2016-08-23T16:51:10.000Z
2022-03-31T03:55:48.000Z
// Copyright (c) 2018 Doyub Kim // // I am making my contributions/submissions to this project solely in my // personal capacity and am not conveying any rights to any intellectual // property of any third parties. #include <algorithm> #include <array> #include <chrono> #include <cmath> #include <cstdio> #include <str...
26.390625
78
0.599467
PavelBlend
746be647093c5e6f87c9e17d5414193ce5ed227e
794
cpp
C++
2018/day01/main.cpp
batduck27/Advent_of_code
6b2dadf28bebd2301464c864f5112dccede9762b
[ "MIT" ]
null
null
null
2018/day01/main.cpp
batduck27/Advent_of_code
6b2dadf28bebd2301464c864f5112dccede9762b
[ "MIT" ]
null
null
null
2018/day01/main.cpp
batduck27/Advent_of_code
6b2dadf28bebd2301464c864f5112dccede9762b
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <vector> #include <set> std::vector<int> V; int solvePart1() { int res = 0; for (const auto& x : V) { res += x; } return res; } int solvePart2() { int currFreq = 0; std::set<int> S; for (size_t i = 0; i < V.size(); i = ((i == V.si...
16.541667
77
0.479849
batduck27
7472b026164b7c1ed40af2b5369b81773828a962
19,054
hh
C++
admin/darwin/src/help/msiauto.hh
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/darwin/src/help/msiauto.hh
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/darwin/src/help/msiauto.hh
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/* msiauto.hh = help context identifiers for automation help This file is included by msiauto.hpj, makeodl.cpp, autosrv.cpp */ #define MsiBase_Object 1 #define MsiBase_HasInterface 2 #define MsiBase_RefCount 3 #define MsiBase_GetInterface 4 #define Msi_Obsole...
42.248337
67
0.701375
npocmaka
747645889dcdbedd897f1bad4d954375badbc624
1,394
cpp
C++
Platformer/World.cpp
renato-grottesi/pokitto
e38bbb07889e88087149709310687d957f00c4c6
[ "MIT" ]
null
null
null
Platformer/World.cpp
renato-grottesi/pokitto
e38bbb07889e88087149709310687d957f00c4c6
[ "MIT" ]
null
null
null
Platformer/World.cpp
renato-grottesi/pokitto
e38bbb07889e88087149709310687d957f00c4c6
[ "MIT" ]
1
2021-01-15T23:35:34.000Z
2021-01-15T23:35:34.000Z
#include "World.hpp" #include "assets.h" // TODO: pass in the constructor uint8_t World::render(uint8_t cnt) { const uint16_t XCentralTile = xWorldToTile(cameraX); const uint16_t YCentralTile = yWorldToTile(cameraY); // TODO: clear this parallax code and make it configurable const int16_t xOff = (maxX - came...
35.74359
95
0.599713
renato-grottesi
7476c428dddb4869a227bb9ff06d7a2ba1821386
8,751
cpp
C++
Dark Basic Public Shared/Official Plugins/3D Cloth & Particles/Code/DBProPhysicsMaster/Ragdoll_Basic_Setup.cpp
domydev/Dark-Basic-Pro
237fd8d859782cb27b9d5994f3c34bc5372b6c04
[ "MIT" ]
231
2018-01-28T00:06:56.000Z
2022-03-31T21:39:56.000Z
Dark Basic Public Shared/Official Plugins/3D Cloth & Particles/Code/DBProPhysicsMaster/Ragdoll_Basic_Setup.cpp
domydev/Dark-Basic-Pro
237fd8d859782cb27b9d5994f3c34bc5372b6c04
[ "MIT" ]
9
2016-02-10T10:46:16.000Z
2017-12-06T17:27:51.000Z
Dark Basic Public Shared/Official Plugins/3D Cloth & Particles/Code/DBProPhysicsMaster/Ragdoll_Basic_Setup.cpp
domydev/Dark-Basic-Pro
237fd8d859782cb27b9d5994f3c34bc5372b6c04
[ "MIT" ]
66
2018-01-28T21:54:52.000Z
2022-02-16T22:50:57.000Z
#include "stdafx.h" void Ragdoll_Basic::constructBasicDoll() { numParticles=30; numLinks=68; particle = new RagdollParticle[numParticles]; //Head, neck, and chest particle[RAGBASIC_HEADLEFT].Set(-0.055110f,2.0f,0.000000f,0.1f,RAGBASIC_HEADLEFT); particle[RAGBASIC_HEADRIGHT].Set(0.055110f,2.0f,0.000000f,0.1f,R...
59.128378
118
0.801623
domydev
7476fde2adbe24d7a6020e259ca1b111a4021917
30,297
hpp
C++
data_compression/L1/include/hw/inflate.hpp
dycz0fx/Vitis_Libraries
d3fc414b552493657101ddb5245f24528720823d
[ "Apache-2.0" ]
null
null
null
data_compression/L1/include/hw/inflate.hpp
dycz0fx/Vitis_Libraries
d3fc414b552493657101ddb5245f24528720823d
[ "Apache-2.0" ]
null
null
null
data_compression/L1/include/hw/inflate.hpp
dycz0fx/Vitis_Libraries
d3fc414b552493657101ddb5245f24528720823d
[ "Apache-2.0" ]
null
null
null
/* * (c) Copyright 2019-2021 Xilinx, 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 ...
37.265683
119
0.593689
dycz0fx
7477040b51470e20cacc6f6f6062009e089f6d9d
552
cpp
C++
Source/RenderPasses/MotionedShadow/MotionedShadow.cpp
ligenvin/RealTimeRayTracing
4bb738cbcb89ede3d462d11ea23f44c997af8892
[ "BSD-3-Clause" ]
2
2021-12-19T08:26:31.000Z
2022-01-24T09:17:32.000Z
Source/RenderPasses/MotionedShadow/MotionedShadow.cpp
ligenvin/RealTimeRayTracing
4bb738cbcb89ede3d462d11ea23f44c997af8892
[ "BSD-3-Clause" ]
null
null
null
Source/RenderPasses/MotionedShadow/MotionedShadow.cpp
ligenvin/RealTimeRayTracing
4bb738cbcb89ede3d462d11ea23f44c997af8892
[ "BSD-3-Clause" ]
null
null
null
#include "MS_Shadow.h" #include "MS_Visibility.h" static const char kDescShadow[] = "Shadow Map"; static const char kDescVisibility[] = "Visibility Map"; extern "C" __declspec(dllexport) const char* getProjDir() { return PROJECT_DIR; } extern "C" __declspec(dllexport) void getPasses(Falcor::RenderPassLibrary & l...
30.666667
80
0.762681
ligenvin
747707ad544d2548394b55cb711984acf2336f4b
350
hpp
C++
src/pile.hpp
naidjeldias/EDPA-2018
aeb3e83172419ca2e41735d84449b0ff12c8ec47
[ "MIT" ]
null
null
null
src/pile.hpp
naidjeldias/EDPA-2018
aeb3e83172419ca2e41735d84449b0ff12c8ec47
[ "MIT" ]
null
null
null
src/pile.hpp
naidjeldias/EDPA-2018
aeb3e83172419ca2e41735d84449b0ff12c8ec47
[ "MIT" ]
null
null
null
#include <iostream> #include <stdio.h> #include <stdlib.h> struct node{ int key; struct node *next; explicit node(int); }; class Pile{ private: node *top; int size; protected: node* insertValeu(node *&, int); void removeValeu(node *&); public: Pile(); int getSize(); void ...
11.290323
36
0.582857
naidjeldias
747871383e2ec8185377ec80ce5e859aee85a33c
223
cpp
C++
runtime/src/runtime/network/side.cpp
dumheter/wind_simulation
adf731847cb6145a85792a0ebceacc725a3acf9e
[ "MIT" ]
1
2021-04-26T11:24:02.000Z
2021-04-26T11:24:02.000Z
runtime/src/runtime/network/side.cpp
dumheter/wind_simulation
adf731847cb6145a85792a0ebceacc725a3acf9e
[ "MIT" ]
1
2020-06-09T08:53:07.000Z
2020-06-16T13:37:15.000Z
runtime/src/runtime/network/side.cpp
dumheter/wind_simulation
adf731847cb6145a85792a0ebceacc725a3acf9e
[ "MIT" ]
null
null
null
#include "side.hpp" namespace wind { std::string SideToString(const Side side) { switch (side) { case Side::kServer: return "server"; case Side::kClient: default: return "client"; } } } // namespace wind
15.928571
43
0.650224
dumheter
7478ca2ef773d766ec27b9d1e49efa7f249eebd5
1,674
cc
C++
content/renderer/renderer_webcookiejar_impl.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-05-24T13:52:28.000Z
2021-05-24T13:53:10.000Z
content/renderer/renderer_webcookiejar_impl.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/renderer/renderer_webcookiejar_impl.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2018-03-12T07:58:10.000Z
2019-08-31T04:53:58.000Z
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/renderer/renderer_webcookiejar_impl.h" #include "base/strings/utf_string_conversions.h" #include "content/common/frame_messages.h" ...
36.391304
80
0.743728
metux
74795a655046a2b065a139158ed3fbfbf5af870c
15,110
cpp
C++
src/vendor/mariadb-10.6.7/storage/columnstore/columnstore/dbcon/dmlpackageproc/insertpackageprocessor.cpp
zettadb/zettalib
3d5f96dc9e3e4aa255f4e6105489758944d37cc4
[ "Apache-2.0" ]
null
null
null
src/vendor/mariadb-10.6.7/storage/columnstore/columnstore/dbcon/dmlpackageproc/insertpackageprocessor.cpp
zettadb/zettalib
3d5f96dc9e3e4aa255f4e6105489758944d37cc4
[ "Apache-2.0" ]
null
null
null
src/vendor/mariadb-10.6.7/storage/columnstore/columnstore/dbcon/dmlpackageproc/insertpackageprocessor.cpp
zettadb/zettalib
3d5f96dc9e3e4aa255f4e6105489758944d37cc4
[ "Apache-2.0" ]
2
2022-02-27T14:00:01.000Z
2022-03-31T06:24:22.000Z
/* Copyright (C) 2014 InfiniDB, Inc. Copyright (C) 2016 MariaDB Corporation 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; version 2 of the License. This program is distributed in...
34.735632
143
0.524355
zettadb
747b67e5a7aa13f3621ebf5ddd6d16453dcf554e
18,706
cpp
C++
Hooks.cpp
maikel233/X-HOOK-For-CS-GO
811bd67171ad48c44b9c5c05cc0fbb5fff4b3687
[ "MIT" ]
48
2018-11-10T06:39:17.000Z
2022-03-10T18:44:52.000Z
Hooks.cpp
maikel233/X-HOOK-For-CS-GO
811bd67171ad48c44b9c5c05cc0fbb5fff4b3687
[ "MIT" ]
7
2018-01-04T15:10:41.000Z
2020-11-14T03:54:30.000Z
Hooks.cpp
maikel233/X-HOOK-For-CS-GO
811bd67171ad48c44b9c5c05cc0fbb5fff4b3687
[ "MIT" ]
21
2018-11-23T23:13:09.000Z
2022-03-14T21:11:38.000Z
#include "Hooks.h" #include "Utils/Skins.h" #include "GUI/Tabs/AimTabs/AimBotTab.h" #include "SDK/SteamAPI.h" #include "SDK/materialconfig.h" #pragma comment(lib, "winmm.lib") //#pragma comment(lib, "d3d9.lib") bool Settings::Background::enable = true; bool SetKeyCodeState::shouldListen = false; ButtonCode_t* SetKe...
33.523297
229
0.74559
maikel233
747bc4700ee4c91979da8b6d29fc7fd084701f72
10,790
cpp
C++
bigo.cpp
andrelrg/cppexercises
3a12b6a7ac51d75ea973fe77237a81b7a0c08261
[ "MIT" ]
1
2020-04-26T02:34:25.000Z
2020-04-26T02:34:25.000Z
bigo.cpp
andrelrg/cppexercises
3a12b6a7ac51d75ea973fe77237a81b7a0c08261
[ "MIT" ]
null
null
null
bigo.cpp
andrelrg/cppexercises
3a12b6a7ac51d75ea973fe77237a81b7a0c08261
[ "MIT" ]
null
null
null
#include "bigo.h" int const smallArraySize = 10; int const bigArraySize = 50; const int unsortedSmallArray[smallArraySize] = {2,4,1,3,7,6,8,9,10,5}; const int sortedSmallArray[smallArraySize] = {1,2,3,4,5,6,20,8,9,10}; const int unsortedBigArray[bigArraySize] = {50,44,24,1,37,15,7,9,27,42,33,46,6,13,32,48,29,31,8,22,...
39.669118
223
0.591103
andrelrg
747d2c9b57ad67d083031df7ec455524c50e9315
282
cpp
C++
Node.cpp
goodandevilsoftware/kasai
e2d6b9e84aa2e292ddcc1bc8688c284b9622ba32
[ "Unlicense" ]
null
null
null
Node.cpp
goodandevilsoftware/kasai
e2d6b9e84aa2e292ddcc1bc8688c284b9622ba32
[ "Unlicense" ]
null
null
null
Node.cpp
goodandevilsoftware/kasai
e2d6b9e84aa2e292ddcc1bc8688c284b9622ba32
[ "Unlicense" ]
null
null
null
// // Created by Nathaniel Blair on 24/10/20. // #include "Node.h" void Node::Connect(Node *otherNode) { friends.push_back(otherNode); } void Node::Receive(string message) { // TODO: implement Receive } void Node::Relay(string message) { // TODO: implement relay }
14.842105
42
0.666667
goodandevilsoftware
747dc2176fe92551812f62ac58a72c8dce42caf2
869
hpp
C++
uplift/src/objects/shared_memory.hpp
Inori/uplift
d718b83c66fda6fe018dac85c1fe7cdf79b559d5
[ "MIT" ]
1
2021-07-07T10:34:50.000Z
2021-07-07T10:34:50.000Z
uplift/src/objects/shared_memory.hpp
Inori/uplift
d718b83c66fda6fe018dac85c1fe7cdf79b559d5
[ "MIT" ]
null
null
null
uplift/src/objects/shared_memory.hpp
Inori/uplift
d718b83c66fda6fe018dac85c1fe7cdf79b559d5
[ "MIT" ]
null
null
null
#pragma once #include "object.hpp" namespace uplift::objects { class SharedMemory : public Object { public: static const Object::Type ObjectType = Type::SharedMemory; public: SharedMemory(Runtime* runtime); virtual ~SharedMemory(); SyscallError Initialize(const std::string& path, uint32_t fl...
26.333333
101
0.719217
Inori
74843cb88c323b2aabcf9c874ae876b2628b4294
4,877
cc
C++
ns-allinone-3.27/ns-3.27/src/internet/test/tcp-datasentcb-test.cc
zack-braun/4607_NS
43c8fb772e5552fb44bd7cd34173e73e3fb66537
[ "MIT" ]
93
2019-04-21T08:22:26.000Z
2022-03-30T04:26:29.000Z
ns-allinone-3.27/ns-3.27/src/internet/test/tcp-datasentcb-test.cc
zack-braun/4607_NS
43c8fb772e5552fb44bd7cd34173e73e3fb66537
[ "MIT" ]
12
2019-04-19T16:39:58.000Z
2021-06-22T13:18:32.000Z
ns-allinone-3.27/ns-3.27/src/internet/test/tcp-datasentcb-test.cc
zack-braun/4607_NS
43c8fb772e5552fb44bd7cd34173e73e3fb66537
[ "MIT" ]
21
2019-05-27T19:36:12.000Z
2021-07-26T02:37:41.000Z
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2015 Natale Patriciello <natale.patriciello@gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software F...
26.505435
104
0.718885
zack-braun
748bf0f516f8e7819c352625c000de0bfa3e3dd8
59
cpp
C++
Engine/source/IO/Serializers.cpp
mbatc/Fractal
0df1f6a64d03676e3dd8af0686413f6ffdbf6627
[ "MIT" ]
null
null
null
Engine/source/IO/Serializers.cpp
mbatc/Fractal
0df1f6a64d03676e3dd8af0686413f6ffdbf6627
[ "MIT" ]
34
2021-05-09T10:31:24.000Z
2022-01-24T11:26:48.000Z
Engine/source/IO/Serializers.cpp
mbatc/Fractal
0df1f6a64d03676e3dd8af0686413f6ffdbf6627
[ "MIT" ]
null
null
null
#include "Fractal/IO/Serializers.h" namespace Fractal { }
9.833333
35
0.745763
mbatc
748d1def6c804820e55ee5343f303284e6bdbbbf
2,159
cpp
C++
Graphics3dSolution/Graphics3dLib/Rendering/RenderPaths/GraphicsBufferPath.cpp
TheFloHub/Graphics3dLib
4e4b310b49b0bae35d45136ccc43a006b39ba2b5
[ "MIT" ]
null
null
null
Graphics3dSolution/Graphics3dLib/Rendering/RenderPaths/GraphicsBufferPath.cpp
TheFloHub/Graphics3dLib
4e4b310b49b0bae35d45136ccc43a006b39ba2b5
[ "MIT" ]
null
null
null
Graphics3dSolution/Graphics3dLib/Rendering/RenderPaths/GraphicsBufferPath.cpp
TheFloHub/Graphics3dLib
4e4b310b49b0bae35d45136ccc43a006b39ba2b5
[ "MIT" ]
null
null
null
#include "GraphicsBufferPath.h" #include <Graphics3dLib/Assets/Shader.h> #include <Graphics3dLib/Rendering/FrameBufferObject.h> #include <Graphics3dLib/Components/Camera.h> #include <Graphics3dLib/Components/Transform.h> #include <Graphics3dLib/Scene/SceneObject.h> #include <glm/glm.hpp> #include <glm/gtc/matrix_inver...
31.75
160
0.764706
TheFloHub
748e34b7e0eceb0b1a932b35182c3c6c4ba33e93
7,608
cpp
C++
Server Lib/Game Server/GAME/bot_gm_event.cpp
eantoniobr/SuperSS-Dev
f57c094f164cc90c2694df33ba394304cd0e7846
[ "MIT" ]
null
null
null
Server Lib/Game Server/GAME/bot_gm_event.cpp
eantoniobr/SuperSS-Dev
f57c094f164cc90c2694df33ba394304cd0e7846
[ "MIT" ]
null
null
null
Server Lib/Game Server/GAME/bot_gm_event.cpp
eantoniobr/SuperSS-Dev
f57c094f164cc90c2694df33ba394304cd0e7846
[ "MIT" ]
1
2021-11-03T00:21:07.000Z
2021-11-03T00:21:07.000Z
// Arquivo bot_gm_event.cpp // Criado em 03/11/2020 as 20:06 por Acrisio // Implementa��o da classe BotGMEvent #if defined(_WIN32) #pragma pack(1) #endif #if defined(_WIN32) #include <WinSock2.h> #endif #include "bot_gm_event.hpp" #include "../../Projeto IOCP/DATABASE/normal_manager_db.hpp" #include "../PANGYA_DB/...
22.508876
260
0.699527
eantoniobr
74931357432bf0822998d673c69668b226e4ffa3
1,120
cc
C++
chaos/unit-test/test_sparse.cc
gogdizzy/chaos
cf6400a20320cc3c93bd62b0a514af5ca54f18fb
[ "MIT" ]
null
null
null
chaos/unit-test/test_sparse.cc
gogdizzy/chaos
cf6400a20320cc3c93bd62b0a514af5ca54f18fb
[ "MIT" ]
null
null
null
chaos/unit-test/test_sparse.cc
gogdizzy/chaos
cf6400a20320cc3c93bd62b0a514af5ca54f18fb
[ "MIT" ]
null
null
null
#include <malloc.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #include "mem.h" #include "SparseGridMap.h" void test( int xs, int ys ) { SparseGridMap<SparseGridMap<int64_t> > oldCosts; for( int xu = xs; xu < xs + 100; ++xu ) { for( int yu = ys; yu < ys + 100; ++yu ) { for( int xv = xu - 1; xv <=...
24.347826
108
0.516964
gogdizzy
74967552f28a7fea8e4d986529302219bdfdc46a
10,708
hxx
C++
Modules/Wrappers/ApplicationEngine/include/otbWrapperParameterList.hxx
kikislater/OTB
8271c62b5891d3da9cb2e9ba3a2706a26de8c323
[ "Apache-2.0" ]
null
null
null
Modules/Wrappers/ApplicationEngine/include/otbWrapperParameterList.hxx
kikislater/OTB
8271c62b5891d3da9cb2e9ba3a2706a26de8c323
[ "Apache-2.0" ]
null
null
null
Modules/Wrappers/ApplicationEngine/include/otbWrapperParameterList.hxx
kikislater/OTB
8271c62b5891d3da9cb2e9ba3a2706a26de8c323
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of ...
21.120316
79
0.522226
kikislater
7496f38ead2eb93582bc56eef15c9e6fafabd974
1,644
cpp
C++
GameEngine/src/App/CharacterObject.cpp
MikeAllport/CE301-Final-Year-Project
da2f3a3d52b955b2f8deca43849273a26b49dda3
[ "Apache-2.0" ]
null
null
null
GameEngine/src/App/CharacterObject.cpp
MikeAllport/CE301-Final-Year-Project
da2f3a3d52b955b2f8deca43849273a26b49dda3
[ "Apache-2.0" ]
null
null
null
GameEngine/src/App/CharacterObject.cpp
MikeAllport/CE301-Final-Year-Project
da2f3a3d52b955b2f8deca43849273a26b49dda3
[ "Apache-2.0" ]
null
null
null
#include <gepch.h> #include "CharacterObject.h" namespace App { CharacterObject::CharacterObject(glm::fvec3 position, Controller& controller) : CommonGameObject(position, CHARACTER), controller(controller), objectPos(-1, -1) { } void CharacterObject::onUpdate(const float& DT) { if (isValidObjectPos() && ...
20.04878
113
0.685523
MikeAllport
749ad4f7bab55d1b6982f9f02223de35176798e2
3,419
cc
C++
components/history_clusters/core/history_clusters_service_test_api.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
components/history_clusters/core/history_clusters_service_test_api.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
components/history_clusters/core/history_clusters_service_test_api.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/history_clusters/core/history_clusters_service_test_api.h" #include "base/time/time.h" #include "components/history/core/browser/his...
39.755814
80
0.69728
zealoussnow
749dc6719febf881b52d956537cd7a548f6a2e28
6,612
hpp
C++
tpls/pressio/include/pressio/WIP/rom/lspg/impl/steady/rom_compose_steady_lspg_impl.hpp
fnrizzi/pressio-demoapps
6ff10bbcf4d526610580940753c9620725bff1ba
[ "BSD-3-Clause" ]
29
2019-11-11T13:17:57.000Z
2022-03-16T01:31:31.000Z
tpls/pressio/include/pressio/WIP/rom/lspg/impl/steady/rom_compose_steady_lspg_impl.hpp
fnrizzi/pressio-demoapps
6ff10bbcf4d526610580940753c9620725bff1ba
[ "BSD-3-Clause" ]
303
2019-09-30T10:15:41.000Z
2022-03-30T08:24:04.000Z
tpls/pressio/include/pressio/WIP/rom/lspg/impl/steady/rom_compose_steady_lspg_impl.hpp
fnrizzi/pressio-demoapps
6ff10bbcf4d526610580940753c9620725bff1ba
[ "BSD-3-Clause" ]
4
2020-07-07T03:32:36.000Z
2022-03-10T05:21:42.000Z
/* //@HEADER // ************************************************************************ // // rom_compose_steady_lspg_impl.hpp // Pressio // Copyright 2019 // National Technology & Engineering Solutions of Sandia, LLC (NTESS) // // Under the terms of Contract DE-N...
34.4375
91
0.748941
fnrizzi
74a3584759e82b15128bb5342fa2fbdfe2270a5d
1,331
cc
C++
asylo/platform/crypto/sha256_hash.cc
Hasimir/asylo
ac598c5266e36312d18fcdaa55efbc780af88975
[ "Apache-2.0" ]
1
2019-06-27T12:44:36.000Z
2019-06-27T12:44:36.000Z
asylo/platform/crypto/sha256_hash.cc
Hasimir/asylo
ac598c5266e36312d18fcdaa55efbc780af88975
[ "Apache-2.0" ]
null
null
null
asylo/platform/crypto/sha256_hash.cc
Hasimir/asylo
ac598c5266e36312d18fcdaa55efbc780af88975
[ "Apache-2.0" ]
null
null
null
/* * * Copyright 2017 Asylo authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
29.577778
78
0.732532
Hasimir
74a9c4d6778e05abad93ba69a0dcdda1da4d528d
3,654
cpp
C++
UnitTests/TestGameEventHandler/testgameeventhandler.cpp
Moppa5/pirkanmaan-valloitus
725dd1a9ef29dcd314faa179124541618dc8e5bf
[ "MIT" ]
3
2020-10-30T13:26:34.000Z
2020-12-08T13:21:34.000Z
UnitTests/TestGameEventHandler/testgameeventhandler.cpp
Moppa5/pirkanmaan-valloitus
725dd1a9ef29dcd314faa179124541618dc8e5bf
[ "MIT" ]
15
2020-12-10T18:13:20.000Z
2021-06-08T10:37:51.000Z
UnitTests/TestGameEventHandler/testgameeventhandler.cpp
Moppa5/pirkanmaan-valloitus
725dd1a9ef29dcd314faa179124541618dc8e5bf
[ "MIT" ]
null
null
null
#include <QString> #include <QtTest> #include <interfaces/gameeventhandler.hh> #include "core/player.hh" using namespace Game; /** * @brief The TestGameEventHandler class is for unit testing * GameEventHandler class. It tests that the methods work properly * under valid conditions. */ class TestGameEventHandler :...
28.546875
74
0.684729
Moppa5
74ac3f5f7dc532fcf4916fc0056d4372ff3a28ce
4,405
cpp
C++
test/geometries/multi_linestring.cpp
jkerkela/geometry
4034ac88b214da0eab8943172eff0f1200b0a6cc
[ "BSL-1.0" ]
326
2015-02-08T13:47:49.000Z
2022-03-16T02:13:59.000Z
test/geometries/multi_linestring.cpp
jkerkela/geometry
4034ac88b214da0eab8943172eff0f1200b0a6cc
[ "BSL-1.0" ]
623
2015-01-02T23:45:23.000Z
2022-03-09T11:15:23.000Z
test/geometries/multi_linestring.cpp
jkerkela/geometry
4034ac88b214da0eab8943172eff0f1200b0a6cc
[ "BSL-1.0" ]
215
2015-01-14T15:50:38.000Z
2022-02-23T03:58:36.000Z
// Boost.Geometry (aka GGL, Generic Geometry Library) // Unit Test // Copyright (c) 2020 Digvijay Janartha, Hamirpur, India. // 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) #incl...
27.53125
87
0.695119
jkerkela
74ad20acebdfb2edc5e92b64d849d2a69949196f
2,947
cpp
C++
tests/tagwriter.cpp
dda119141/mp3tags
c75818e4fd6341f2c0c0b482f5c6eb1809b382aa
[ "MIT" ]
1
2020-08-01T21:51:05.000Z
2020-08-01T21:51:05.000Z
tests/tagwriter.cpp
dda119141/mp3tags
c75818e4fd6341f2c0c0b482f5c6eb1809b382aa
[ "MIT" ]
1
2020-05-01T11:52:59.000Z
2020-05-01T11:52:59.000Z
tests/tagwriter.cpp
dda119141/mp3tags
c75818e4fd6341f2c0c0b482f5c6eb1809b382aa
[ "MIT" ]
null
null
null
// Copyright(c) 2020-present, Moge & contributors. // Email: dda119141@gmail.com // Distributed under the MIT License (http://opensource.org/licenses/MIT) #include <iostream> #include <memory> #define CATCH_CONFIG_MAIN #include <catch.hpp> #include "tagreader.hpp" #include "tagwriter.hpp" TEST_CASE("Read/Write from/...
30.697917
79
0.608755
dda119141
74ae7a99bdc0e9f5314ab89af36d7eee13582383
12,869
cpp
C++
framework/unitest/core/test_process_profiler.cpp
HFauto/CNStream
1d4847327fff83eedbc8de6911855c5f7bb2bf22
[ "Apache-2.0" ]
172
2019-08-24T10:05:14.000Z
2022-03-29T07:45:18.000Z
framework/unitest/core/test_process_profiler.cpp
HFauto/CNStream
1d4847327fff83eedbc8de6911855c5f7bb2bf22
[ "Apache-2.0" ]
27
2019-09-01T11:04:45.000Z
2022-01-17T09:27:07.000Z
framework/unitest/core/test_process_profiler.cpp
HFauto/CNStream
1d4847327fff83eedbc8de6911855c5f7bb2bf22
[ "Apache-2.0" ]
72
2019-08-24T10:13:06.000Z
2022-03-28T08:26:05.000Z
/************************************************************************* * Copyright (C) [2019] by Cambricon, 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 a...
40.090343
118
0.749165
HFauto
74aefc16b404caa3326daf5ae556579f7c20d025
4,889
hpp
C++
rocprim/include/rocprim/device/detail/device_transform.hpp
lawruble13/rocPRIM
ebcbda559194ac20ca627f641e7657d3c8af4f20
[ "MIT" ]
null
null
null
rocprim/include/rocprim/device/detail/device_transform.hpp
lawruble13/rocPRIM
ebcbda559194ac20ca627f641e7657d3c8af4f20
[ "MIT" ]
null
null
null
rocprim/include/rocprim/device/detail/device_transform.hpp
lawruble13/rocPRIM
ebcbda559194ac20ca627f641e7657d3c8af4f20
[ "MIT" ]
null
null
null
// Copyright (c) 2017-2019 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights...
31.541935
96
0.67928
lawruble13
74b06b638ef51ec6aeb3ceb5b7c319f69ef2b7f8
1,439
cpp
C++
001_OpenGL_GLSL/main.cpp
Nitta-K-git/Qt_Samples2
27d118952763db0a3ea89f0c24714e6e9f6a347b
[ "MIT" ]
null
null
null
001_OpenGL_GLSL/main.cpp
Nitta-K-git/Qt_Samples2
27d118952763db0a3ea89f0c24714e6e9f6a347b
[ "MIT" ]
null
null
null
001_OpenGL_GLSL/main.cpp
Nitta-K-git/Qt_Samples2
27d118952763db0a3ea89f0c24714e6e9f6a347b
[ "MIT" ]
null
null
null
#include <iostream> #include <QOpenGLWidget> #include <QOpenGLFunctions> #include <QMatrix4x4> #include <QMainWindow> #include <QApplication> class MyGLWidget : public QOpenGLWidget, protected QOpenGLFunctions{ public: MyGLWidget(QWidget *parent) : QOpenGLWidget(parent) { } QMatrix4x4 m_proj; protected...
26.648148
99
0.656011
Nitta-K-git
74b5804be34a50f3fd7032bf5d3f30c5d7c250be
7,178
cpp
C++
ares/component/processor/tlcs900h/registers.cpp
moon-chilled/Ares
909fb098c292f8336d0502dc677050312d8b5c81
[ "0BSD" ]
7
2020-07-25T11:44:39.000Z
2021-01-29T13:21:31.000Z
ares/component/processor/tlcs900h/registers.cpp
jchw-forks/ares
d78298a1e95fd0ce65feabfd4f13b60e31210a7a
[ "0BSD" ]
null
null
null
ares/component/processor/tlcs900h/registers.cpp
jchw-forks/ares
d78298a1e95fd0ce65feabfd4f13b60e31210a7a
[ "0BSD" ]
1
2021-03-22T16:15:30.000Z
2021-03-22T16:15:30.000Z
#define a RFP #define p RFP - 1 & 3 template<> auto TLCS900H::map(Register<uint8> register) const -> maybe<uint8&> { switch(register.id) { #define r(id, name) case id: return r.name; r(0x00, xwa[0].b.b0) r(0x01, xwa[0].b.b1) r(0x02, xwa[0].b.b2) r(0x03, xwa[0].b.b3) r(0x04, xbc[0].b.b0) r(0x05, xbc[0].b.b1) r(...
56.519685
137
0.588604
moon-chilled
74b78241f3eb513bd3eddfd1ef58940dec286762
5,691
cc
C++
festus/runtime/g2p-lookup.cc
cibu/language-resources
a6158942286112b2808460b2cdbcb03260e8879b
[ "Apache-2.0" ]
177
2019-05-31T17:58:29.000Z
2022-03-27T11:24:00.000Z
festus/runtime/g2p-lookup.cc
cibu/language-resources
a6158942286112b2808460b2cdbcb03260e8879b
[ "Apache-2.0" ]
21
2019-05-29T09:51:11.000Z
2021-12-08T01:54:13.000Z
festus/runtime/g2p-lookup.cc
cibu/language-resources
a6158942286112b2808460b2cdbcb03260e8879b
[ "Apache-2.0" ]
57
2015-09-28T12:05:27.000Z
2019-05-15T05:44:50.000Z
// festus/runtime/g2p-lookup.cc // // 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 i...
36.954545
79
0.714989
cibu
74b7e5b425d0c88a71b0626c2c79a0f217775019
1,372
cc
C++
uva/chapter_1/10683.cc
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
1
2019-05-12T23:41:00.000Z
2019-05-12T23:41:00.000Z
uva/chapter_1/10683.cc
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
null
null
null
uva/chapter_1/10683.cc
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; using vi = vector<int>; using vvi = vector<vi>; using ii = pair<int,int>; using vii = vector<ii>; using l = long long; using vl = vector<l>; using vvl = vector<vl>; using ll = pair<l,l>; using vll = vector<ll>; using vvll = vector<vll>; using lu = unsigned long long; using ...
28
87
0.528426
metaflow
74c369ddc7b5d7bf8c7f8930f9f06e47dd89ba17
3,446
cpp
C++
CoreTests/STL/Test_Types_FileAddress.cpp
azhirnov/GraphicsGenFramework-modular
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
12
2017-12-23T14:24:57.000Z
2020-10-02T19:52:12.000Z
CoreTests/STL/Test_Types_FileAddress.cpp
azhirnov/ModularGraphicsFramework
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
null
null
null
CoreTests/STL/Test_Types_FileAddress.cpp
azhirnov/ModularGraphicsFramework
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) Zhirnov Andrey. For more information see 'LICENSE.txt' #include "CoreTests/STL/Common.h" using namespace GX_STL; using namespace GX_STL::GXTypes; using namespace GX_STL::GXMath; extern void Test_Types_FileAddress () { const String filename = "../11/../22/33\\44\\55.ab"; const String ext = FileA...
36.659574
95
0.645386
azhirnov
74c48a9860bef86c65d69e148f84fd9d604b209a
7,736
cpp
C++
isis/src/control/objs/ControlNetVitals/unitTest.cpp
robotprogrammer22/ISIS3
8a2ec4bb3c91969c81d75c681051a1fe77028788
[ "CC0-1.0" ]
null
null
null
isis/src/control/objs/ControlNetVitals/unitTest.cpp
robotprogrammer22/ISIS3
8a2ec4bb3c91969c81d75c681051a1fe77028788
[ "CC0-1.0" ]
null
null
null
isis/src/control/objs/ControlNetVitals/unitTest.cpp
robotprogrammer22/ISIS3
8a2ec4bb3c91969c81d75c681051a1fe77028788
[ "CC0-1.0" ]
null
null
null
#include <string> #include <iostream> #include <QDebug> #include <QString> #include <QStringList> #include "ControlNetVitals.h" #include "FileName.h" #include "IException.h" #include "Preference.h" using namespace Isis; using namespace std; /** * Unit test for ControlNetVitals class * * @author 2018-06-18 Ada...
39.269036
129
0.683299
robotprogrammer22
74cb9c22d6bf4f20f239a8c94b290af86685859f
1,078
cpp
C++
chapter02/2.5_Dealing_with_Types/2.5.2_The_auto_Type_Specifier.cpp
NorthFacing/step-by-c
bc0e4f0c0fe45042ae367a28a87d03b5c3c787e3
[ "MIT" ]
9
2019-05-10T05:39:21.000Z
2022-02-22T08:04:52.000Z
chapter02/2.5_Dealing_with_Types/2.5.2_The_auto_Type_Specifier.cpp
NorthFacing/step-by-c
bc0e4f0c0fe45042ae367a28a87d03b5c3c787e3
[ "MIT" ]
null
null
null
chapter02/2.5_Dealing_with_Types/2.5.2_The_auto_Type_Specifier.cpp
NorthFacing/step-by-c
bc0e4f0c0fe45042ae367a28a87d03b5c3c787e3
[ "MIT" ]
6
2019-05-13T13:39:19.000Z
2022-02-22T08:05:01.000Z
/** * 2.5.2 auto 类型说明符 * @Author Bob * @Eamil 0haizhu0@gmail.com * @Date 2017/7/14 */ int main() { /** * C++11 新标准引入了 auto 类型说明符,用它就能让编译器替我们去分析表达式所属的类型, * 也就是让编译器通过初始值来推算变量的类型。显然,auto 定义的变量必须有初始值。 */ auto item = 1 + 2; // item 初始化未 1与2 的和,因为 1和2 都是int型,所以item也是int类型 auto i = 0, *p = &i; // i 是整数,p是整...
23.434783
68
0.613173
NorthFacing
74cde53b5ebac6ea9f29daf67aae078b07bdf8bb
2,869
cpp
C++
src/main.cpp
arihantdaga/wifi-dimmer
ba557fef52d3cccda9732538eb6fa38f0766fe50
[ "MIT" ]
null
null
null
src/main.cpp
arihantdaga/wifi-dimmer
ba557fef52d3cccda9732538eb6fa38f0766fe50
[ "MIT" ]
null
null
null
src/main.cpp
arihantdaga/wifi-dimmer
ba557fef52d3cccda9732538eb6fa38f0766fe50
[ "MIT" ]
null
null
null
#include "button.hpp" #include "config.hpp" #include "dimmer.hpp" // #include "encoder.hpp" #include <Arduino.h> #include <Embedis.h> void onRotate(int8_t); void onClick(); Button button; unsigned long secondElapsed = millis(); unsigned long fakeFreq = millis(); Embedis embedis(Serial); void setup() { delay(2000...
31.877778
114
0.577553
arihantdaga
74ce5c8dfef81c16fb2409634e82a88081b7d993
9,880
cc
C++
_cxx/envoy/test/extensions/common/sqlutils/sqlutils_test.cc
Asher-Wang/ambassador
393a52832d081e0d8d0e0ecd5a14cfe18c62b837
[ "Apache-2.0" ]
3
2020-06-04T03:26:32.000Z
2020-06-04T03:26:45.000Z
_cxx/envoy/test/extensions/common/sqlutils/sqlutils_test.cc
Asher-Wang/ambassador
393a52832d081e0d8d0e0ecd5a14cfe18c62b837
[ "Apache-2.0" ]
1
2020-10-30T03:55:32.000Z
2020-10-30T03:55:32.000Z
_cxx/envoy/test/extensions/common/sqlutils/sqlutils_test.cc
Asher-Wang/ambassador
393a52832d081e0d8d0e0ecd5a14cfe18c62b837
[ "Apache-2.0" ]
1
2021-03-13T05:25:47.000Z
2021-03-13T05:25:47.000Z
#include "extensions/common/sqlutils/sqlutils.h" #include "gtest/gtest.h" namespace Envoy { namespace Extensions { namespace Common { namespace SQLUtils { // MetadataFromSQLTest class is used for parameterized tests. // The values in the tests are: // std::string - SQL query // bool - whether to expect SQL parsing t...
53.989071
100
0.637955
Asher-Wang
74d12ac16006cf6e7da5d9fc77911a07d658cbe6
724
cpp
C++
convert_24h_to_12h/convert_24h_to_12h.cpp
BjornChrisnach/Introduction_to_Programming_in_C_plusplus
57b96b0f99cb486276181474e333c3b09d21a749
[ "MIT" ]
null
null
null
convert_24h_to_12h/convert_24h_to_12h.cpp
BjornChrisnach/Introduction_to_Programming_in_C_plusplus
57b96b0f99cb486276181474e333c3b09d21a749
[ "MIT" ]
null
null
null
convert_24h_to_12h/convert_24h_to_12h.cpp
BjornChrisnach/Introduction_to_Programming_in_C_plusplus
57b96b0f99cb486276181474e333c3b09d21a749
[ "MIT" ]
null
null
null
#include <iostream> #include <string> using namespace std; int main() { int hour24, minutes24; int hour12, minutes12; string period; char temp; cout<<"Please enter a time in 24 hour format:"<<endl; cin>>hour24>>temp>>minutes24; minutes12 = minutes24; if(hour24 >= 0 && hour24 <= 11){ ...
19.052632
84
0.476519
BjornChrisnach
74d1aaccc9a259ea9b1a58713da86edeca842cc6
4,924
cc
C++
OpenPEARL/openpearl-code/runtime/common/Duration.cc
BenniN/OpenPEARLThesis
d7db83b0ea15b7ba0f6244d918432c830ddcd697
[ "Apache-2.0" ]
1
2020-09-15T07:26:00.000Z
2020-09-15T07:26:00.000Z
OpenPEARL/openpearl-code/runtime/common/Duration.cc
BenniN/OpenPEARLThesis
d7db83b0ea15b7ba0f6244d918432c830ddcd697
[ "Apache-2.0" ]
null
null
null
OpenPEARL/openpearl-code/runtime/common/Duration.cc
BenniN/OpenPEARLThesis
d7db83b0ea15b7ba0f6244d918432c830ddcd697
[ "Apache-2.0" ]
null
null
null
/* [The "BSD license"] Copyright (c) 2012-2014 Rainer Mueller 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 li...
26.76087
74
0.647035
BenniN