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
d99259c7aed9cf5a3cab45f52f29942bb24d3f0d
987
hpp
C++
library/ATF/GUILD_BATTLE__CGuildBattleRewardItem.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/GUILD_BATTLE__CGuildBattleRewardItem.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/GUILD_BATTLE__CGuildBattleRewardItem.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> #include <CPlayer.hpp> #include <_base_fld.hpp> START_ATF_NAMESPACE namespace GUILD_BATTLE { #pragma pack(push, 8) struct CGuildBattleRewardItem...
30.84375
122
0.628166
lemkova
d993329a5cea357b30f8b41f680a090dc4745805
2,078
hpp
C++
nes_py/nes/include/mappers/mapper_NROM.hpp
lucasschoenhold/nes-py
7de04f48e928cf96ba0976ee61def5958aaa759d
[ "MIT" ]
128
2018-07-22T03:31:42.000Z
2022-03-28T13:17:04.000Z
nes_py/nes/include/mappers/mapper_NROM.hpp
lucasschoenhold/nes-py
7de04f48e928cf96ba0976ee61def5958aaa759d
[ "MIT" ]
35
2018-07-20T16:37:23.000Z
2022-02-04T00:37:23.000Z
nes_py/nes/include/mappers/mapper_NROM.hpp
lucasschoenhold/nes-py
7de04f48e928cf96ba0976ee61def5958aaa759d
[ "MIT" ]
31
2019-02-19T10:56:22.000Z
2022-01-15T19:32:52.000Z
// Program: nes-py // File: mapper_NROM.hpp // Description: An implementation of the NROM mapper // // Copyright (c) 2019 Christian Kauten. All rights reserved. // #ifndef MAPPERNROM_HPP #define MAPPERNROM_HPP #include <vector> #include "common.hpp" #include "mapper.hpp" namespace NES { class Mapp...
27.706667
71
0.637151
lucasschoenhold
d997ee70695ea7a074225cf474de6e0e77787952
8,297
cpp
C++
wbsModels/Climatic/VaporPressureDeficit.cpp
RNCan/WeatherBasedSimulationFramework
19df207d11b1dddf414d78e52bece77f31d45df8
[ "MIT" ]
6
2017-05-26T21:19:41.000Z
2021-09-03T14:17:29.000Z
wbsModels/Climatic/VaporPressureDeficit.cpp
RNCan/WeatherBasedSimulationFramework
19df207d11b1dddf414d78e52bece77f31d45df8
[ "MIT" ]
5
2016-02-18T12:39:58.000Z
2016-03-13T12:57:45.000Z
wbsModels/Climatic/VaporPressureDeficit.cpp
RNCan/WeatherBasedSimulationFramework
19df207d11b1dddf414d78e52bece77f31d45df8
[ "MIT" ]
1
2019-06-16T02:49:20.000Z
2019-06-16T02:49:20.000Z
//********************************************************************** // 11/09/2018 1.1.1 Rémi Saint-Amant Bug correction in units. return VPD in [hPa] // 20/09/2016 1.1.0 Rémi Saint-Amant Change Tair and Trng by Tmin and Tmax // 21/01/2016 1.0.0 Rémi Saint-Amant Using Weather-based simulation framework (W...
25.45092
91
0.60082
RNCan
d99e0fc329d535d7938e7ddc4049be67845d0a17
18,085
hpp
C++
inc/state/thrdcmdpool.hpp
nicoboss/vuda
9e0e254dd6a37d418292e1e949fdf33262f008e9
[ "MIT" ]
422
2018-10-08T04:58:20.000Z
2022-03-23T10:31:25.000Z
inc/state/thrdcmdpool.hpp
nicoboss/vuda
9e0e254dd6a37d418292e1e949fdf33262f008e9
[ "MIT" ]
18
2018-10-10T20:45:43.000Z
2021-11-28T08:36:37.000Z
inc/state/thrdcmdpool.hpp
nicoboss/vuda
9e0e254dd6a37d418292e1e949fdf33262f008e9
[ "MIT" ]
24
2018-10-08T11:11:49.000Z
2022-02-18T01:07:42.000Z
#pragma once namespace vuda { namespace detail { class thrdcmdpool { //friend class logical_device; public: /* For each thread that sets/uses the device a single command pool is created - this pool ha...
44.32598
308
0.509594
nicoboss
d99e19814707922f174edf275686564c9d081b8c
1,018
cpp
C++
source/Ch18/orai_anyag/vector004.cpp
Vada200/UDProg-Introduction
c424b2676d6e5bfc4d53d61c5d0deded566c1c84
[ "CC0-1.0" ]
null
null
null
source/Ch18/orai_anyag/vector004.cpp
Vada200/UDProg-Introduction
c424b2676d6e5bfc4d53d61c5d0deded566c1c84
[ "CC0-1.0" ]
null
null
null
source/Ch18/orai_anyag/vector004.cpp
Vada200/UDProg-Introduction
c424b2676d6e5bfc4d53d61c5d0deded566c1c84
[ "CC0-1.0" ]
null
null
null
#include "std_lib_facilities.h" class My_vector { //priv long unsigned int sz; //size / előjel nélküli long típusú int double* elem; //elem pointer public: My_vector(int s) : sz(s), elem{new double[s]} // int s értéke bemásolódik sz-be, elem néven lefoglalódik a memóriában a double vector { for (int...
26.102564
135
0.59725
Vada200
d263de79c1bc78cf6370bf66123136b8155de065
124,838
cpp
C++
403_407_408_411_Ray_Tracer/src/ui.cpp
amritphuyal/Computer-Graphics-074-BEX
ee77526a6e2ce53d696b802650917f5a0438af14
[ "MIT" ]
5
2020-03-06T10:01:28.000Z
2020-05-06T07:57:20.000Z
403_407_408_411_Ray_Tracer/src/ui.cpp
amritphuyal/Computer-Graphics-074-BEX
ee77526a6e2ce53d696b802650917f5a0438af14
[ "MIT" ]
1
2020-03-06T02:51:50.000Z
2020-03-06T04:33:30.000Z
403_407_408_411_Ray_Tracer/src/ui.cpp
amritphuyal/Computer-Graphics-074-BEX
ee77526a6e2ce53d696b802650917f5a0438af14
[ "MIT" ]
29
2020-03-05T15:15:24.000Z
2021-07-21T07:05:00.000Z
#define OS_LINUX_CPP #define HANDMADE_MATH_IMPLEMENTATION #include <stdio.h> #include <cstdlib> #include "imgui.h" #include "imgui_impl_glfw.h" #include "imgui_impl_opengl3.h" #include <glad/glad.h> #include <GLFW/glfw3.h> #include "common.h" #include <cassert> #include <cmath> #define STB_IMAGE_IMPLEMENTATION #inclu...
30.552619
150
0.594915
amritphuyal
d2640a83c636f758bbe9ccc9ed886d422597621f
1,696
cpp
C++
lib/AST/Pattern.cpp
mattapet/dusk-lang
928b027429a3fd38cece78a89a9619406dcdd9f0
[ "MIT" ]
1
2022-03-30T22:01:44.000Z
2022-03-30T22:01:44.000Z
lib/AST/Pattern.cpp
mattapet/dusk-lang
928b027429a3fd38cece78a89a9619406dcdd9f0
[ "MIT" ]
null
null
null
lib/AST/Pattern.cpp
mattapet/dusk-lang
928b027429a3fd38cece78a89a9619406dcdd9f0
[ "MIT" ]
null
null
null
//===--- Stmt.cpp ---------------------------------------------------------===// // // dusk-lang // This source file is part of a dusk-lang project, which is a semestral // assignement for BI-PJP course at Czech Technical University in Prague. // The software is provided "AS IS", WITHOUT...
36.085106
80
0.570755
mattapet
d2691261365a587d79634ba5899d220f2bce2c39
2,137
hpp
C++
kits/daisy/src/input/input_manager_mobile_io.hpp
HebiRobotics/hebi-cpp-examples
db01c9b957b3c97885d452d8b72f9919ba6c48c4
[ "Apache-2.0" ]
7
2018-03-31T06:52:08.000Z
2022-02-24T21:27:09.000Z
kits/daisy/src/input/input_manager_mobile_io.hpp
HebiRobotics/hebi-cpp-examples
db01c9b957b3c97885d452d8b72f9919ba6c48c4
[ "Apache-2.0" ]
34
2018-06-03T17:28:08.000Z
2021-05-29T01:15:25.000Z
kits/daisy/src/input/input_manager_mobile_io.hpp
HebiRobotics/hebi-cpp-examples
db01c9b957b3c97885d452d8b72f9919ba6c48c4
[ "Apache-2.0" ]
9
2018-02-08T22:50:58.000Z
2021-03-30T08:07:35.000Z
#pragma once #include "input_manager.hpp" #include <Eigen/Dense> #include "group.hpp" #include <memory> #include <atomic> namespace hebi { namespace input { // If the I/O board/app is not found, command vectors return 0, and button // um toggle/quit states are unchanged by 'update'. Class is not // re-entrant. class...
27.753247
80
0.722976
HebiRobotics
d26a26e5401be4c03c63188513625929e32a9b38
1,179
cpp
C++
problem 1-50/45. Jump Game II.cpp
just-essential/LeetCode-Cpp
3ec49434d257defd28bfe4784ecd0ff2f9077a31
[ "MIT" ]
null
null
null
problem 1-50/45. Jump Game II.cpp
just-essential/LeetCode-Cpp
3ec49434d257defd28bfe4784ecd0ff2f9077a31
[ "MIT" ]
null
null
null
problem 1-50/45. Jump Game II.cpp
just-essential/LeetCode-Cpp
3ec49434d257defd28bfe4784ecd0ff2f9077a31
[ "MIT" ]
null
null
null
/* Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maximum jump length at that position. Your goal is to reach the last index in the minimum number of jumps. Example: Input: [2,3,1,1,4] Output: 2 Explanation: The minimu...
27.418605
102
0.516539
just-essential
d26fc404c5320d9b99581cede8b739187ab0c1a2
13,233
cpp
C++
project/TinyCADxxx/XMLReader.cpp
lakeweb/ECAD
9089253afd39adecd88f4a33056f91b646207e00
[ "MIT" ]
null
null
null
project/TinyCADxxx/XMLReader.cpp
lakeweb/ECAD
9089253afd39adecd88f4a33056f91b646207e00
[ "MIT" ]
null
null
null
project/TinyCADxxx/XMLReader.cpp
lakeweb/ECAD
9089253afd39adecd88f4a33056f91b646207e00
[ "MIT" ]
2
2019-06-21T16:17:49.000Z
2020-07-04T13:41:01.000Z
/* TinyCAD program for schematic capture Copyright 1994-2004 Matt Pyne. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later v...
20.580093
233
0.650722
lakeweb
d26fd18e9b47cbcea57806cecceac714dc2d1da4
611
cpp
C++
programming/dataStructure_Algorithm/exercises/bigProblems/pairToUnorderedSet.cpp
ljyang100/dataScience
ad2b243673c570c18d83ab1a0cd1bb4694c17eac
[ "MIT" ]
2
2020-12-10T02:05:29.000Z
2021-05-30T15:23:56.000Z
programming/dataStructure_Algorithm/exercises/bigProblems/pairToUnorderedSet.cpp
ljyang100/dataScience
ad2b243673c570c18d83ab1a0cd1bb4694c17eac
[ "MIT" ]
null
null
null
programming/dataStructure_Algorithm/exercises/bigProblems/pairToUnorderedSet.cpp
ljyang100/dataScience
ad2b243673c570c18d83ab1a0cd1bb4694c17eac
[ "MIT" ]
1
2020-04-21T11:18:18.000Z
2020-04-21T11:18:18.000Z
#include <iostream> #include <algorithm> #include <unordered_map> #include <unordered_set> #include <functional> int main() { //**** Note **** //**** Important. Although in standard we cannot insert pair to unordered_set, we can do so for std::multiset. See example in find K pairs of smallest sum. std::unordered_...
33.944444
157
0.729951
ljyang100
d2708f9c33f6d973a94fea6a9d89f61d8dd5ee9d
6,256
cpp
C++
BLAXED/AnimatedClanTag.cpp
prismatical/BX-CSGO
24b2cadefdc40cb8d3fca0aab08ec54241518958
[ "MIT" ]
19
2018-03-04T08:04:29.000Z
2022-01-27T11:28:36.000Z
BLAXED/AnimatedClanTag.cpp
prismatical/BX-CSGO
24b2cadefdc40cb8d3fca0aab08ec54241518958
[ "MIT" ]
1
2019-12-27T15:43:41.000Z
2020-05-18T19:16:42.000Z
BLAXED/AnimatedClanTag.cpp
prismatical/BX-CSGO
24b2cadefdc40cb8d3fca0aab08ec54241518958
[ "MIT" ]
9
2019-03-30T22:39:25.000Z
2021-08-13T19:27:27.000Z
#include "SDK.h" #include "Global.h" #include "Configs.h" #include "AnimatedClanTag.h" AnimatedClanTag *animatedClanTag = new AnimatedClanTag(); void AnimatedClanTag::Tick() { char tag[64]; int i = 0; float serverTime = (float)I::pEngineClient->GetServerTick() * (I::pGlobals->interval_per_tick * 2); std::vector<...
28.56621
100
0.594789
prismatical
d27d87335727fd36e542dbf7f30cf40b8906ad9f
166
cpp
C++
Tests/TestProjects/VS2010/C++/PreprocessorTest/App/main.cpp
veganaize/make-it-so
e1f8a0c6c372891dfda3a807e80f3797efdc4a99
[ "MIT" ]
null
null
null
Tests/TestProjects/VS2010/C++/PreprocessorTest/App/main.cpp
veganaize/make-it-so
e1f8a0c6c372891dfda3a807e80f3797efdc4a99
[ "MIT" ]
null
null
null
Tests/TestProjects/VS2010/C++/PreprocessorTest/App/main.cpp
veganaize/make-it-so
e1f8a0c6c372891dfda3a807e80f3797efdc4a99
[ "MIT" ]
null
null
null
#include <stdio.h> int main(int argc, char** argv) { #ifdef HELLO printf("Hello, "); #endif #ifdef WORLD printf("World!"); #endif return 0; }
11.857143
32
0.566265
veganaize
d27da382912347321c74faa00cd6f18fe88202cb
1,535
cpp
C++
source/Window/Window-NOTHREAD.cpp
hadryansalles/ray-tracing-from-the-ground-up
4ca02fca2cdd458767b4ab3df15b6cd20cb1f413
[ "MIT" ]
5
2021-09-24T12:22:08.000Z
2022-03-23T06:54:02.000Z
source/Window/Window-NOTHREAD.cpp
hadryans/ray-tracing-from-the-ground-up
4ca02fca2cdd458767b4ab3df15b6cd20cb1f413
[ "MIT" ]
null
null
null
source/Window/Window-NOTHREAD.cpp
hadryans/ray-tracing-from-the-ground-up
4ca02fca2cdd458767b4ab3df15b6cd20cb1f413
[ "MIT" ]
5
2021-08-14T22:26:11.000Z
2022-03-04T09:13:39.000Z
#include "Window-NOTHREAD.hpp" Window_NOTHREAD::Window_NOTHREAD(int width, int height): Window(width, height) { } Window_NOTHREAD::~Window_NOTHREAD(){ pixels.clear(); } void Window_NOTHREAD::init(){ window = SDL_CreateWindow("RTX", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, w, h,SDL_WINDOW_SHOWN...
29.519231
99
0.628664
hadryansalles
d28adf99ddc3e918658c5df1e127a050c3fff611
5,523
cpp
C++
cdn/src/v20180606/model/MaxAgeRule.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
cdn/src/v20180606/model/MaxAgeRule.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
cdn/src/v20180606/model/MaxAgeRule.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
28
2019-07-12T09:06:22.000Z
2022-03-30T08:04:18.000Z
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
29.068421
141
0.68948
suluner
d28b3547eb0e4d66d90ddbaf151154ec854349e9
364
cpp
C++
experimental/Pomdog.Experimental/Rendering/Commands/PrimitiveCommand.cpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
experimental/Pomdog.Experimental/Rendering/Commands/PrimitiveCommand.cpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
experimental/Pomdog.Experimental/Rendering/Commands/PrimitiveCommand.cpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
// Copyright (c) 2013-2018 mogemimi. Distributed under the MIT license. #include "PrimitiveCommand.hpp" #include <typeinfo> namespace Pomdog { namespace Rendering { std::type_index PrimitiveCommand::GetType() const noexcept { static const std::type_index index = typeid(PrimitiveCommand); return index; } } /...
21.411765
71
0.75
ValtoForks
d28e0ed0eec37b8be772216052d755a22ef7a7cc
362
cpp
C++
Series Patterns/seriespattern16.cpp
Starkl7/CPlusPlus-PatternHouse
cf53feac9857d0d87981909e0e8daeda26cb02f4
[ "MIT" ]
4
2021-09-21T03:43:26.000Z
2022-01-07T03:07:56.000Z
Series Patterns/seriespattern16.cpp
Starkl7/CPlusPlus-PatternHouse
cf53feac9857d0d87981909e0e8daeda26cb02f4
[ "MIT" ]
916
2021-09-01T15:40:24.000Z
2022-01-10T17:57:59.000Z
Series Patterns/seriespattern16.cpp
Starkl7/CPlusPlus-PatternHouse
cf53feac9857d0d87981909e0e8daeda26cb02f4
[ "MIT" ]
20
2021-09-30T18:13:58.000Z
2022-01-06T09:55:36.000Z
#include<iostream> using namespace std; int main() { long d,n,a1; float an; cout<<"Enter first term "; cin>>a1; cout<<"Enter difference "; cin>>d; cout<<"Enter number of terms"; cin>>n; cout<<"Harmonic progression : "; for(int y=1;y<=n;y++) { an=a1+(y-1)*d; co...
18.1
36
0.5
Starkl7
d28fa679fa7114dee2fa1eaf6219907dbacbf930
4,151
cpp
C++
SyP2.cpp
AnimaxNeil/Data-structure
dd7675907bd17325e4629c1529835f0a4452fdcd
[ "MIT" ]
null
null
null
SyP2.cpp
AnimaxNeil/Data-structure
dd7675907bd17325e4629c1529835f0a4452fdcd
[ "MIT" ]
null
null
null
SyP2.cpp
AnimaxNeil/Data-structure
dd7675907bd17325e4629c1529835f0a4452fdcd
[ "MIT" ]
null
null
null
// WAP using templates to sort a list of elements. Give user the option to perform sorting using Insertion sort, Bubble sort or Selection sort. #include <iostream> using namespace std; template <typename T> class List { T *arr; int capacity; void adjust_capacity() { if (size == c...
21.396907
144
0.349313
AnimaxNeil
d293773d2f738dab2cb0533707f1492835adb06f
1,455
hpp
C++
client_essential/OpusEnc.hpp
zhang-ray/easy-voice-call
9393a75f89d2f75c9d18d886abd38ffa5d9c5138
[ "MIT" ]
33
2018-10-11T05:30:37.000Z
2022-02-10T12:51:47.000Z
client_essential/OpusEnc.hpp
zhang-ray/easy-voice-call
9393a75f89d2f75c9d18d886abd38ffa5d9c5138
[ "MIT" ]
16
2018-10-15T06:52:41.000Z
2020-11-06T02:53:21.000Z
client_essential/OpusEnc.hpp
zhang-ray/easy-voice-call
9393a75f89d2f75c9d18d886abd38ffa5d9c5138
[ "MIT" ]
2
2019-09-14T18:07:57.000Z
2020-04-29T09:38:02.000Z
#pragma once #include "AudioEncoder.hpp" #include "Singleton.hpp" #include <cstring> #include <set> #if defined(WIN32) || defined(ANDROID) #include <opus.h> #else #include <opus/opus.h> #endif #include "AudioCommon.hpp" #define MAX_PACKET_SIZE (3*1276) // libopus 1.2.1 // it seems like Opus' API is very easy to us...
25.526316
107
0.618557
zhang-ray
d293cc2934ff4a15a8f17a225ca290285e373a23
2,035
hpp
C++
utils/reset_mv_camera.hpp
gcusms/WolfVision
f802df73918b7dadafa41bbbe7381a1df79ef07e
[ "MIT" ]
24
2021-07-12T02:24:51.000Z
2022-03-25T19:59:15.000Z
utils/reset_mv_camera.hpp
gcusms/WolfVision
f802df73918b7dadafa41bbbe7381a1df79ef07e
[ "MIT" ]
16
2021-07-10T07:07:51.000Z
2021-12-06T11:36:07.000Z
utils/reset_mv_camera.hpp
gcusms/WolfVision
f802df73918b7dadafa41bbbe7381a1df79ef07e
[ "MIT" ]
38
2021-07-09T14:49:17.000Z
2022-03-27T09:40:59.000Z
#pragma once #include <algorithm> #include <stdexcept> #include <string> #include <vector> #include <fcntl.h> #include <linux/usbdevice_fs.h> #include <sys/ioctl.h> #include <unistd.h> #include <fmt/color.h> namespace utils { inline bool resetMVCamera() { static const auto identifier_green = fmt::format(fg(fmt::...
31.307692
115
0.588206
gcusms
d296c22e2245559cb256b471fe1ce8c0b34acc23
1,669
cpp
C++
AK/Tests/TestURL.cpp
JamiKettunen/serenity
232da5cc188496f570ef55276a897f1095509c87
[ "BSD-2-Clause" ]
3
2020-05-01T02:39:03.000Z
2021-11-26T08:34:54.000Z
AK/Tests/TestURL.cpp
JamiKettunen/serenity
232da5cc188496f570ef55276a897f1095509c87
[ "BSD-2-Clause" ]
null
null
null
AK/Tests/TestURL.cpp
JamiKettunen/serenity
232da5cc188496f570ef55276a897f1095509c87
[ "BSD-2-Clause" ]
1
2021-06-02T18:02:51.000Z
2021-06-02T18:02:51.000Z
#include <AK/TestSuite.h> #include <AK/URL.h> TEST_CASE(construct) { EXPECT_EQ(URL().is_valid(), false); } TEST_CASE(basic) { { URL url("http://www.serenityos.org/index.html"); EXPECT_EQ(url.is_valid(), true); EXPECT_EQ(url.protocol(), "http"); EXPECT_EQ(url.port(), 80); ...
32.72549
97
0.633913
JamiKettunen
d29992c0d04925508ac0b1c0b63726e35bf1a70e
440
cpp
C++
CppPrimer/CppPrimer-Exercises/CppPrimer-Ch02/Exercise2.27.cpp
alaxion/Learning
4b12b1603419252103cd933fdbfc4b2faffb6d00
[ "MIT" ]
null
null
null
CppPrimer/CppPrimer-Exercises/CppPrimer-Ch02/Exercise2.27.cpp
alaxion/Learning
4b12b1603419252103cd933fdbfc4b2faffb6d00
[ "MIT" ]
null
null
null
CppPrimer/CppPrimer-Exercises/CppPrimer-Ch02/Exercise2.27.cpp
alaxion/Learning
4b12b1603419252103cd933fdbfc4b2faffb6d00
[ "MIT" ]
null
null
null
// Exercise2.27.cpp // Ad // Which of the following are legal? #include <iostream> int main() { int i = -1, &r = 0; // cannot refer to 0 int i2{0}; int *const p2 = &i2; const int ii = -1, &rr = 0; const int *const p3 = &i2; const int *p1 = &i2; const int &const r2; // n...
20.952381
75
0.525
alaxion
d2a17d603c73c40b20150d0b9961a53d0ae01394
3,272
hpp
C++
src/ui/Widget.hpp
nopdotcom/opentxs
140428ba8f1bd4c09654ebf0a1c1725f396efa8b
[ "MIT" ]
null
null
null
src/ui/Widget.hpp
nopdotcom/opentxs
140428ba8f1bd4c09654ebf0a1c1725f396efa8b
[ "MIT" ]
null
null
null
src/ui/Widget.hpp
nopdotcom/opentxs
140428ba8f1bd4c09654ebf0a1c1725f396efa8b
[ "MIT" ]
null
null
null
// Copyright (c) 2018 The Open-Transactions developers // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #pragma once #include "Internal.hpp" #include "opentxs/netwo...
28.955752
80
0.669927
nopdotcom
d2a2237addccd3dc3fb3f7540c6a37a0de865bb8
258
cpp
C++
exodus/libexodus/exodus/howto.cpp
BOBBYWY/exodusdb
cfe8a3452480af90071dd10cefeed58299eed4e7
[ "MIT" ]
4
2021-01-23T14:36:34.000Z
2021-06-07T10:02:28.000Z
exodus/libexodus/exodus/howto.cpp
BOBBYWY/exodusdb
cfe8a3452480af90071dd10cefeed58299eed4e7
[ "MIT" ]
1
2019-08-04T19:15:56.000Z
2019-08-04T19:15:56.000Z
exodus/libexodus/exodus/howto.cpp
BOBBYWY/exodusdb
cfe8a3452480af90071dd10cefeed58299eed4e7
[ "MIT" ]
1
2022-01-29T22:41:01.000Z
2022-01-29T22:41:01.000Z
#if defined(__CINT__) /* CINT*/ #elif defined(__BORLANDC__) /* ...Borland...*/ #elif defined(__WATCOMC__) /* ...Watcom C/C++...*/ #elif defined(_MSC_VER) /* ...Microsoft C/Visual C+++*/ #elif defined(__CYGWIN__) /* ...cygwin... */ #else /* ...... */ #endif
17.2
31
0.593023
BOBBYWY
d2a478b068e5ecbd5a9328127c98332ddf668aca
2,896
hpp
C++
doc/mainpage.hpp
graphnode/CSFML-Merge
096ae4bfce91a687a999ac4e89617da3b973f90b
[ "Zlib" ]
257
2015-04-30T07:51:40.000Z
2022-03-28T07:59:07.000Z
doc/mainpage.hpp
graphnode/CSFML-Merge
096ae4bfce91a687a999ac4e89617da3b973f90b
[ "Zlib" ]
76
2015-04-30T23:20:53.000Z
2022-03-17T07:58:16.000Z
doc/mainpage.hpp
graphnode/CSFML-Merge
096ae4bfce91a687a999ac4e89617da3b973f90b
[ "Zlib" ]
144
2015-04-30T18:34:50.000Z
2022-03-28T01:28:40.000Z
//////////////////////////////////////////////////////////// /// \mainpage /// /// \section welcome Welcome /// Welcome to the official SFML documentation for C. Here you will find a detailed /// view of all the SFML <a href="./globals_func.htm">functions</a>.<br/> /// If you are looking for tutorials, you can visit th...
30.808511
86
0.538329
graphnode
d2a5b1c85cc6414396454dd1b4efd88feb1fa317
6,403
cpp
C++
lib/libCFG/src/CapPattern.cpp
cyber-itl/citl-static-analysis
32ef8e519dac1c6a49ff41d902a62df8f5a8e948
[ "MIT" ]
14
2021-05-03T16:03:22.000Z
2022-02-14T23:42:39.000Z
lib/libCFG/src/CapPattern.cpp
cyber-itl/citl-static-analysis
32ef8e519dac1c6a49ff41d902a62df8f5a8e948
[ "MIT" ]
1
2021-09-27T12:01:33.000Z
2021-09-27T12:01:33.000Z
lib/libCFG/src/CapPattern.cpp
cyber-itl/citl-static-analysis
32ef8e519dac1c6a49ff41d902a62df8f5a8e948
[ "MIT" ]
null
null
null
#include <cstdint> #include <vector> #include <algorithm> #include <utility> #include "capstone/capstone.h" #include "glog/logging.h" #include "CapPattern.hpp" OperPat::OperPat(op_type op_type) : reg(0), type(op_type) {}; OperPat::OperPat(op_type op_type, uint64_t reg) : reg(reg), type(op_type) {}; ...
26.568465
113
0.487896
cyber-itl
d2ac808e273e575f526c2af92b34a4dddeda5eca
506
cpp
C++
SDLProjekt/Animator.cpp
TheKrzyko/SokobanSDL
dfc6e5cefcc84d069fcaad6908e9a1ba44444d29
[ "MIT" ]
null
null
null
SDLProjekt/Animator.cpp
TheKrzyko/SokobanSDL
dfc6e5cefcc84d069fcaad6908e9a1ba44444d29
[ "MIT" ]
null
null
null
SDLProjekt/Animator.cpp
TheKrzyko/SokobanSDL
dfc6e5cefcc84d069fcaad6908e9a1ba44444d29
[ "MIT" ]
null
null
null
#include "Animator.h" #include <string.h> Animator::Animator() { } Animator::~Animator() { } void Animator::addState(String name, const FrameAnimation& anim) { animations[name] = new FrameAnimation(anim); } void Animator::setState(String name) { if (currentState == name) return; if(currentState != String("")) ...
16.866667
64
0.717391
TheKrzyko
d2ad385eb241038abe711399b0fe8b436e6b1bdf
13,775
cpp
C++
test/test_trial1.cpp
DaziyahS/ExperimentsSP22
22c8abef235a050aa6985cdad1e4db65ef86ea12
[ "MIT" ]
null
null
null
test/test_trial1.cpp
DaziyahS/ExperimentsSP22
22c8abef235a050aa6985cdad1e4db65ef86ea12
[ "MIT" ]
null
null
null
test/test_trial1.cpp
DaziyahS/ExperimentsSP22
22c8abef235a050aa6985cdad1e4db65ef86ea12
[ "MIT" ]
null
null
null
#include <Mahi/Gui.hpp> #include <Mahi/Util.hpp> #include <Mahi/Util/Logging/Log.hpp> #include <syntacts> #include <random> #include <iostream> #include <fstream> // need to include inorder to save to csv #include <chrono> #include <string> // for manipulating file name // local includes #include <Chord.hpp> #includ...
41.242515
165
0.532341
DaziyahS
d2b888ee6ffeb89540abf52892fd5c48fb0a3b60
228
hpp
C++
scicpp/linalg.hpp
tvanderbruggen/SciCpp
09408506c8d0b49ca5dadb8cd1f3cb4db41c8c46
[ "MIT" ]
2
2021-08-02T09:03:30.000Z
2022-02-17T11:58:05.000Z
scicpp/linalg.hpp
tvanderbruggen/SciCpp
09408506c8d0b49ca5dadb8cd1f3cb4db41c8c46
[ "MIT" ]
null
null
null
scicpp/linalg.hpp
tvanderbruggen/SciCpp
09408506c8d0b49ca5dadb8cd1f3cb4db41c8c46
[ "MIT" ]
null
null
null
// SPDX-License-Identifier: MIT // Copyright (c) 2019-2021 Thomas Vanderbruggen <th.vanderbruggen@gmail.com> #ifndef SCICPP_LINALG_HEADER #define SCICPP_LINALG_HEADER #include "linalg/solve.hpp" #endif // SCICPP_LINALG_HEADER
25.333333
76
0.798246
tvanderbruggen
d2b9aa173bf1cca601f0ac9b79473a26a0225895
29,356
cpp
C++
nodes/dash_shared/src/sync_db.cpp
solosTec/node
e35e127867a4f66129477b780cbd09c5231fc7da
[ "MIT" ]
2
2020-03-03T12:40:29.000Z
2021-05-06T06:20:19.000Z
nodes/dash_shared/src/sync_db.cpp
solosTec/node
e35e127867a4f66129477b780cbd09c5231fc7da
[ "MIT" ]
7
2020-01-14T20:38:04.000Z
2021-05-17T09:52:07.000Z
nodes/dash_shared/src/sync_db.cpp
solosTec/node
e35e127867a4f66129477b780cbd09c5231fc7da
[ "MIT" ]
2
2019-11-09T09:14:48.000Z
2020-03-03T12:40:30.000Z
/* * The MIT License (MIT) * * Copyright (c) 2018 Sylko Olzscher * */ #include "sync_db.h" #include "../../shared/db/db_schemes.h" #include <smf/cluster/generator.h> #include <cyng/table/meta.hpp> #include <cyng/io/serializer.h> #include <cyng/tuple_cast.hpp> #include <boost/algorithm/string.hpp> #include <...
28.226923
234
0.598617
solosTec
d2bd648559a621c4b9ee276afe119fd1ef0202ae
361
cpp
C++
cuddlySys/updatepetprofile.cpp
alisultan14/Pet_Matchmaker
98b9b2261430ca52d56f5ad670b486c0533444a6
[ "MIT" ]
null
null
null
cuddlySys/updatepetprofile.cpp
alisultan14/Pet_Matchmaker
98b9b2261430ca52d56f5ad670b486c0533444a6
[ "MIT" ]
null
null
null
cuddlySys/updatepetprofile.cpp
alisultan14/Pet_Matchmaker
98b9b2261430ca52d56f5ad670b486c0533444a6
[ "MIT" ]
null
null
null
#include "updatepetprofile.h" #include "ui_updatepetprofile.h" /** * @brief Constructor for the class * @param parent */ updatepetprofile::updatepetprofile(QWidget *parent) : QWidget(parent), ui(new Ui::updatepetprofile) { ui->setupUi(this); } /** * @brief Destructor for the class */ updatepetprofile...
16.409091
53
0.689751
alisultan14
d2c4a86d2544d252c415e7a8fed4b6dc477617c9
2,837
cpp
C++
RVAF-GUI/teechart/highlowseries.cpp
YangQun1/RVAF-GUI
f187e2325fc8fdbac84a63515b7dd67c09e2fc72
[ "BSD-2-Clause" ]
4
2018-03-31T10:45:19.000Z
2021-10-09T02:57:13.000Z
RVAF-GUI/teechart/highlowseries.cpp
P-Chao/RVAF-GUI
3bbeed7d2ffa400f754f095e7c08400f701813d4
[ "BSD-2-Clause" ]
1
2018-04-22T05:12:36.000Z
2018-04-22T05:12:36.000Z
RVAF-GUI/teechart/highlowseries.cpp
YangQun1/RVAF-GUI
f187e2325fc8fdbac84a63515b7dd67c09e2fc72
[ "BSD-2-Clause" ]
5
2018-01-13T15:57:14.000Z
2019-11-12T03:23:18.000Z
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++ // NOTE: Do not modify the contents of this file. If this class is regenerated by // Microsoft Visual C++, your modifications will be overwritten. #include "stdafx.h" #include "highlowseries.h" // Dispatch interfaces referen...
26.027523
109
0.694043
YangQun1
d2c64b2dd24a59bb3dd307e7ca8d91bb9df81260
8,336
hpp
C++
include/UnityEngine/Mathf.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/UnityEngine/Mathf.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/UnityEngine/Mathf.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include <initializer_list> // Including type: System.ValueType #include "System/ValueType.hpp" // Completed includes // Begin il2cpp-utils forw...
47.096045
201
0.691819
darknight1050
d2c7e9ab7e38e29a8a77911dce767c34047af947
11,563
cc
C++
ns-allinone-2.35/tcp/scoreboard-rh.cc
nitishk017/ns2project
f037b796ff10300ffe0422580be5855c37d0b140
[ "MIT" ]
1
2021-04-21T06:39:42.000Z
2021-04-21T06:39:42.000Z
ns-allinone-2.35/tcp/scoreboard-rh.cc
nitishk017/ns2project
f037b796ff10300ffe0422580be5855c37d0b140
[ "MIT" ]
1
2019-01-20T17:35:23.000Z
2019-01-22T21:41:38.000Z
ns-allinone-2.35/tcp/scoreboard-rh.cc
nitishk017/ns2project
f037b796ff10300ffe0422580be5855c37d0b140
[ "MIT" ]
1
2021-09-29T16:06:57.000Z
2021-09-29T16:06:57.000Z
/* -*- Mode:C++; c-basic-offset:8; tab-width:8; indent-tabs-mode:t -*- */ /* * Copyright (c) 1996 The Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are m...
26.890698
106
0.653204
nitishk017
d2d4fb3e81870b5007f46b2a23d4511f5b85e1e2
489
hpp
C++
sdk/include/xfMdiFrame.hpp
qianxj/XExplorer
00e326da03ffcaa21115a2345275452607c6bab5
[ "MIT" ]
null
null
null
sdk/include/xfMdiFrame.hpp
qianxj/XExplorer
00e326da03ffcaa21115a2345275452607c6bab5
[ "MIT" ]
null
null
null
sdk/include/xfMdiFrame.hpp
qianxj/XExplorer
00e326da03ffcaa21115a2345275452607c6bab5
[ "MIT" ]
null
null
null
#pragma once #include "xfwin.hpp" namespace Hxsoft{ namespace XFrame { class XFRAME_API xfMdiFrame : public xfWin { public: xfMdiFrame(void); ~xfMdiFrame(void); public: virtual int OnXCommand(LPCTSTR pStrID, class xfControl * pControl); public: HWND m_hMdiClient; public: virtual int AddSheet(xfWin ...
19.56
69
0.728016
qianxj
d2d51e30449a024b8d8bfe29da811c37a009916a
765
cc
C++
examples/netcat/NetCat.cc
LeoGale/wood
8eef60cbeb006c732f6eadfd48d917e264bae401
[ "BSD-2-Clause" ]
1
2018-09-20T08:27:38.000Z
2018-09-20T08:27:38.000Z
examples/netcat/NetCat.cc
LeoGale/wood
8eef60cbeb006c732f6eadfd48d917e264bae401
[ "BSD-2-Clause" ]
null
null
null
examples/netcat/NetCat.cc
LeoGale/wood
8eef60cbeb006c732f6eadfd48d917e264bae401
[ "BSD-2-Clause" ]
null
null
null
#include <thread> #include <assert.h> #include <unistd.h> #include <wood/net/EventLoop.hh> int main() { assert(wood::EventLoop::getCurerntEventLoop() == nullptr); wood::EventLoop loop; assert(wood::EventLoop::getCurerntEventLoop() == &loop); std::thread ex([&loop](){ a...
21.857143
74
0.418301
LeoGale
d2e1c460f4706588be2c969a3492d31fbb82824f
1,572
cpp
C++
linkedList/singleLinkedList/middleElementLinkedList.cpp
hkansal27/15days-code
0ff3c3c55e3b8a96e0d55c6c1e88d1e4122965e1
[ "MIT" ]
null
null
null
linkedList/singleLinkedList/middleElementLinkedList.cpp
hkansal27/15days-code
0ff3c3c55e3b8a96e0d55c6c1e88d1e4122965e1
[ "MIT" ]
null
null
null
linkedList/singleLinkedList/middleElementLinkedList.cpp
hkansal27/15days-code
0ff3c3c55e3b8a96e0d55c6c1e88d1e4122965e1
[ "MIT" ]
null
null
null
// A sample program to find the middle element of the single linked list. // one simple approach is to first find the length of the linked list then again traversal to find the middle element. // second algo is implemented below: #include<iostream> using namespace std; class Node { public: int data; Node * n...
20.96
118
0.566158
hkansal27
d2e3e7d318a6cb5b7b7f768f2c37986834e176c9
42,106
cc
C++
src/input_handler.cc
nojhan/kakoune
c8156429c4685189e0a6b7bd0f273dc64432db2c
[ "Unlicense" ]
null
null
null
src/input_handler.cc
nojhan/kakoune
c8156429c4685189e0a6b7bd0f273dc64432db2c
[ "Unlicense" ]
null
null
null
src/input_handler.cc
nojhan/kakoune
c8156429c4685189e0a6b7bd0f273dc64432db2c
[ "Unlicense" ]
null
null
null
#include "input_handler.hh" #include "window.hh" #include "utf8.hh" #include "user_interface.hh" #include "buffer_manager.hh" #include "register_manager.hh" #include "normal.hh" #include "event_manager.hh" #include "client.hh" #include "color_registry.hh" #include "file.hh" #include "word_db.hh" #include <unordered_m...
32.895313
111
0.546074
nojhan
d2e4418179bc5c59c361a7ddae44a46f32e42af6
3,322
cpp
C++
slywin32/src/win32/os/window.cpp
Gibbeon/sly
9216cf04a78f1d41af01186489ba6680b9641229
[ "MIT" ]
null
null
null
slywin32/src/win32/os/window.cpp
Gibbeon/sly
9216cf04a78f1d41af01186489ba6680b9641229
[ "MIT" ]
null
null
null
slywin32/src/win32/os/window.cpp
Gibbeon/sly
9216cf04a78f1d41af01186489ba6680b9641229
[ "MIT" ]
null
null
null
#include "sly/win32/os/window.h" using namespace sly::os; Win32Window::Win32Window(Win32WindowSystem& parent) : _parent(parent), _initialized(false) { } sly::retval<void> Win32Window::release() { if(_initialized) { setVisible(false); DestroyWindow(_hWND); _hWND = nullptr; ...
26.365079
109
0.643287
Gibbeon
5e44a3b5dc5626758232f2c869ca651829479a98
2,339
hpp
C++
cs161/assignments/assignment6/helper.hpp
franzmk/Oregon-State-Schoolwork
20f8a72e78ec4baa131add2dda8026cd47f36188
[ "MIT" ]
null
null
null
cs161/assignments/assignment6/helper.hpp
franzmk/Oregon-State-Schoolwork
20f8a72e78ec4baa131add2dda8026cd47f36188
[ "MIT" ]
null
null
null
cs161/assignments/assignment6/helper.hpp
franzmk/Oregon-State-Schoolwork
20f8a72e78ec4baa131add2dda8026cd47f36188
[ "MIT" ]
null
null
null
#include <fstream> #include <string.h> /********************************************************************* ** Program Filename: fileWrite ** Author: Mason Sidebottom ** Date: Feb. 2019 ** Description: Helper functionality for binary file IO *********************************************************************...
33.898551
99
0.446345
franzmk
5e45349a9480f07bc6f22d8abf2101dcea77be4a
2,492
cpp
C++
src/eepp/audio/soundfilereadermp3.cpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
37
2020-01-20T06:21:24.000Z
2022-03-21T17:44:50.000Z
src/eepp/audio/soundfilereadermp3.cpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
null
null
null
src/eepp/audio/soundfilereadermp3.cpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
9
2019-03-22T00:33:07.000Z
2022-03-01T01:35:59.000Z
#include <eepp/audio/soundfilereadermp3.hpp> #define DR_MP3_IMPLEMENTATION #include <algorithm> #include <cctype> #include <dr_libs/dr_mp3.h> #include <eepp/audio/mp3info.hpp> #include <eepp/core/core.hpp> #include <eepp/system/iostreammemory.hpp> static size_t drmp3_func_read( void* data, void* ptr, size_t size ) { ...
25.171717
90
0.708668
jayrulez
5e4be236582911556188763659fd9ab7a5b5e7fd
534
cpp
C++
Upsolving/URI/2172.cpp
rodrigoAMF7/Notebook---Maratonas
06b38197a042bfbd27b20f707493e0a19fda7234
[ "MIT" ]
4
2019-01-25T21:22:55.000Z
2019-03-20T18:04:01.000Z
Upsolving/URI/2172.cpp
rodrigoAMF/competitive-programming-notebook
06b38197a042bfbd27b20f707493e0a19fda7234
[ "MIT" ]
null
null
null
Upsolving/URI/2172.cpp
rodrigoAMF/competitive-programming-notebook
06b38197a042bfbd27b20f707493e0a19fda7234
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define INF 0x3F3F3F3F #define LINF 0x3F3F3F3F3F3F3F3FLL #define DINF (double)1e+30 #define forn(i, n) for ( int i = 0; i < (n); ++i ) #define forxn(i, x, n) for ( int i = (x); i < (n); ++i ) #define forr(i, a, b) for ( int i = (a); i <= (b); ++i ) #define ford(i, a, b) for ( int i = (a); i >...
19.071429
56
0.537453
rodrigoAMF7
5e516da768c2054897032efed128b7565b103cd1
401
cpp
C++
third_party/common/src/RE/GameSettingCollection.cpp
qis/alchemy
fe6897fa8c065eccc49b61c8c82eda223d865d51
[ "0BSD" ]
3
2018-04-05T04:04:17.000Z
2021-02-01T17:50:01.000Z
third_party/common/src/RE/GameSettingCollection.cpp
qis/alchemy
fe6897fa8c065eccc49b61c8c82eda223d865d51
[ "0BSD" ]
null
null
null
third_party/common/src/RE/GameSettingCollection.cpp
qis/alchemy
fe6897fa8c065eccc49b61c8c82eda223d865d51
[ "0BSD" ]
1
2021-02-01T17:50:03.000Z
2021-02-01T17:50:03.000Z
#include "RE/GameSettingCollection.h" #include "RE/Offsets.h" #include "REL/Relocation.h" namespace RE { GameSettingCollection* GameSettingCollection::GetSingleton() { REL::Offset<GameSettingCollection**> singleton(Offset::GameSettingCollection::Singleton); return *singleton; } Setting* GameSettingCollecti...
19.095238
91
0.763092
qis
5e52823b75293ea1aaa1aa4fc7f759592ab0df80
7,217
cpp
C++
Engine/source/afx/xm/afxXM_Aim.cpp
vbillet/Torque3D
ece8823599424ea675e5f79d9bcb44e42cba8cae
[ "MIT" ]
2,113
2015-01-01T11:23:01.000Z
2022-03-28T04:51:46.000Z
Engine/source/afx/xm/afxXM_Aim.cpp
vbillet/Torque3D
ece8823599424ea675e5f79d9bcb44e42cba8cae
[ "MIT" ]
948
2015-01-02T01:50:00.000Z
2022-02-27T05:56:40.000Z
Engine/source/afx/xm/afxXM_Aim.cpp
vbillet/Torque3D
ece8823599424ea675e5f79d9bcb44e42cba8cae
[ "MIT" ]
944
2015-01-01T09:33:53.000Z
2022-03-15T22:23:03.000Z
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~// // Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames // Copyright (C) 2015 Faust Logic, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and ...
27.651341
117
0.65221
vbillet
5e536b2583624ff446f0da1baa8400a0d00529de
1,431
cpp
C++
usaco12.cpp
versionwen/ACM
7be6de3f7b563cac927b5f84fff97864eb0b9d37
[ "Apache-2.0" ]
null
null
null
usaco12.cpp
versionwen/ACM
7be6de3f7b563cac927b5f84fff97864eb0b9d37
[ "Apache-2.0" ]
null
null
null
usaco12.cpp
versionwen/ACM
7be6de3f7b563cac927b5f84fff97864eb0b9d37
[ "Apache-2.0" ]
null
null
null
/* ID: scwswx2 LANG: C++ PROG: crypt1 */ /*#include <iostream> #include <fstream> #include <string> #include <cstring> #include <map> #include <cstdio> #include <algorithm> using namespace std; int table[10]; int check ( int x ) { while (x) { if (!table[x%10]){ ...
21.681818
48
0.331936
versionwen
5e550339af045cd98886f1befda646e1558b2523
6,359
cpp
C++
libs/ram/Core/ramGlobal.cpp
YCAMInterlab/RAMDanceToolkit
5db15135f4ad6f6a9116610b909df99036f74797
[ "Apache-2.0" ]
52
2015-01-13T05:17:23.000Z
2021-05-09T14:09:39.000Z
libs/ram/Core/ramGlobal.cpp
YCAMInterlab/RAMDanceToolkit
5db15135f4ad6f6a9116610b909df99036f74797
[ "Apache-2.0" ]
7
2015-01-12T10:25:14.000Z
2018-09-18T12:34:15.000Z
libs/ram/Core/ramGlobal.cpp
YCAMInterlab/RAMDanceToolkit
5db15135f4ad6f6a9116610b909df99036f74797
[ "Apache-2.0" ]
31
2015-01-12T06:39:15.000Z
2020-04-06T07:05:08.000Z
// // ramGlobal.cpp - RAMDanceToolkit // // Copyright 2012-2013 YCAM InterLab, Yoshito Onishi, Satoru Higa, Motoi Shimizu, and Kyle McDonald // // 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 Licens...
26.831224
144
0.736122
YCAMInterlab
5e577f7f085c0266f90064f9f4c9d7376fcfdfd6
1,654
cpp
C++
src/core/subsystem/gamelogic/SSTerrainFollow.cpp
Robograde/Robograde
2c9a7d0b8250ec240102d504127f5c54532cb2b0
[ "Zlib" ]
5
2015-10-11T10:22:39.000Z
2019-07-24T10:09:13.000Z
src/core/subsystem/gamelogic/SSTerrainFollow.cpp
Robograde/Robograde
2c9a7d0b8250ec240102d504127f5c54532cb2b0
[ "Zlib" ]
null
null
null
src/core/subsystem/gamelogic/SSTerrainFollow.cpp
Robograde/Robograde
2c9a7d0b8250ec240102d504127f5c54532cb2b0
[ "Zlib" ]
null
null
null
/************************************************** Copyright 2015 Ola Enberg ***************************************************/ #include "SSTerrainFollow.h" #include <gfx/GraphicsEngine.h> #include "../../datadriven/DenseComponentCollection.h" #include "../../component/PlacementComponent.h" #include "../../compone...
34.458333
161
0.729746
Robograde
5e58d9b177591bf633607aa836258e0d2e4d6e4b
1,053
hpp
C++
src/include/operators/crossover.hpp
AndrSar/ga
0185ed52a7b71e64f5f7cfd8dd0187663d70f5f6
[ "BSL-1.0" ]
null
null
null
src/include/operators/crossover.hpp
AndrSar/ga
0185ed52a7b71e64f5f7cfd8dd0187663d70f5f6
[ "BSL-1.0" ]
null
null
null
src/include/operators/crossover.hpp
AndrSar/ga
0185ed52a7b71e64f5f7cfd8dd0187663d70f5f6
[ "BSL-1.0" ]
null
null
null
#pragma once #include "../detail/detail.hpp" #include "../random_generator.hpp" #include <vector> namespace ga { namespace operators { template <class GenotypeModel> class crossover { public: using genotype = typename GenotypeModel::representation; using gene_value_type = typename GenotypeModel::value_type...
21.489796
90
0.717949
AndrSar
5e58dc866b936d77cffbf8f319d51d0d453bf584
13,351
cpp
C++
binding/Python/interactive/src/Rivet/DockingManager.cpp
Fabrice-Praxinos/ULIS
232ad5c0804da1202d8231fda67ff4aea70f57ef
[ "RSA-MD" ]
30
2020-09-16T17:39:36.000Z
2022-02-17T08:32:53.000Z
binding/Python/interactive/src/Rivet/DockingManager.cpp
Fabrice-Praxinos/ULIS
232ad5c0804da1202d8231fda67ff4aea70f57ef
[ "RSA-MD" ]
7
2020-11-23T14:37:15.000Z
2022-01-17T11:35:32.000Z
binding/Python/interactive/src/Rivet/DockingManager.cpp
Fabrice-Praxinos/ULIS
232ad5c0804da1202d8231fda67ff4aea70f57ef
[ "RSA-MD" ]
5
2020-09-17T00:39:14.000Z
2021-08-30T16:14:07.000Z
// IDDN FR.001.250001.004.S.X.2019.000.00000 // ULIS is subject to copyright laws and is the legal and intellectual property of Praxinos,Inc /* * ULIS *__________________ * @file DockingManager.cpp * @author Clement Berthaud * @brief pyULIS_Interactive application for testing pyULIS. * @copyright...
32.965432
205
0.485507
Fabrice-Praxinos
5e5b7ac48008a29b994edb31e3a52d6226016709
1,545
cc
C++
src/desugar/test-string-cmp-desugar.cc
MrMaDGaME/Tiger
f31f73cd386b3ccb3e02abe7b23a3de09d70bd0f
[ "MIT" ]
null
null
null
src/desugar/test-string-cmp-desugar.cc
MrMaDGaME/Tiger
f31f73cd386b3ccb3e02abe7b23a3de09d70bd0f
[ "MIT" ]
null
null
null
src/desugar/test-string-cmp-desugar.cc
MrMaDGaME/Tiger
f31f73cd386b3ccb3e02abe7b23a3de09d70bd0f
[ "MIT" ]
null
null
null
/** ** Checking string comparisons desugaring. */ #include <ostream> #include <string> #include <ast/all.hh> #include <ast/libast.hh> #include <desugar/desugar-visitor.hh> #include <misc/file-library.hh> #include <parse/libparse.hh> #include <type/type-checker.hh> #include <type/types.hh> using namespace ast; usin...
25.327869
72
0.565696
MrMaDGaME
5e5bc5c88129877bb07eef053149da72fc08a862
600
hpp
C++
Ladybug3D/Libraries/Renderer/Editor.hpp
wlsvy/Ladybug3D
9cd92843bf6cdff806aa4283c5594028a53e20b3
[ "MIT" ]
null
null
null
Ladybug3D/Libraries/Renderer/Editor.hpp
wlsvy/Ladybug3D
9cd92843bf6cdff806aa4283c5594028a53e20b3
[ "MIT" ]
null
null
null
Ladybug3D/Libraries/Renderer/Editor.hpp
wlsvy/Ladybug3D
9cd92843bf6cdff806aa4283c5594028a53e20b3
[ "MIT" ]
null
null
null
#pragma once #include <D3D12/D3D12_Define.hpp> #include <memory> namespace Ladybug3D { class Editor { public: static constexpr UINT EDITOR_DESCRIPTOR_SIZE = 64; void Initialize(void* hwnd, ID3D12Device* device, unsigned int frameCount); void NewFrame(); void Render(ID3D12Graph...
25
84
0.68
wlsvy
5e6802193d69edc37ae030323b4f7c1d5fe5c2c9
22,188
cc
C++
wrappers/8.1.1/vtkHyperTreeGridCursorWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
6
2016-02-03T12:48:36.000Z
2020-09-16T15:07:51.000Z
wrappers/8.1.1/vtkHyperTreeGridCursorWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
4
2016-02-13T01:30:43.000Z
2020-03-30T16:59:32.000Z
wrappers/8.1.1/vtkHyperTreeGridCursorWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
null
null
null
/* this file has been autogenerated by vtkNodeJsWrap */ /* editing this might proof futile */ #define VTK_WRAPPING_CXX #define VTK_STREAMS_FWD_ONLY #include <nan.h> #include "vtkHyperTreeCursorWrap.h" #include "vtkHyperTreeGridCursorWrap.h" #include "vtkObjectBaseWrap.h" #include "vtkHyperTreeGridWrap.h" #include "vt...
31.833572
111
0.720119
axkibe
5e6945471a919e1b986c4a664041b61b200f2a45
482
hpp
C++
CreaStein !!!/Test_SDL_DirectX9.0c/cl_CustomCube.hpp
RSF-Deus/Creastein
ec5aafbf09940dd630fc329a4450e1e37a0d2f62
[ "MIT" ]
null
null
null
CreaStein !!!/Test_SDL_DirectX9.0c/cl_CustomCube.hpp
RSF-Deus/Creastein
ec5aafbf09940dd630fc329a4450e1e37a0d2f62
[ "MIT" ]
null
null
null
CreaStein !!!/Test_SDL_DirectX9.0c/cl_CustomCube.hpp
RSF-Deus/Creastein
ec5aafbf09940dd630fc329a4450e1e37a0d2f62
[ "MIT" ]
null
null
null
#pragma once #include "header_ressources.hpp" #include "cl_CustomObject.hpp" class CustomCube : public CustomObject { protected: float fRot; public: CustomCube(CustomForme* _Forme); CustomCube(CustomForme* _Forme, D3DXVECTOR3& _TranVector); CustomCube(CustomForme* _Forme, D3DXVECTOR3& _TranVector, D3DXVECTOR3&...
21.909091
120
0.786307
RSF-Deus
5e6a0b26f6059777554956dff53f4f18f709f3b3
476
hpp
C++
algorithm_dtocs.hpp
jkloe/pageDistanceBasedContourGenerator
92e8768b596c98ffc09f4b5eeb7db8aafccda01a
[ "MIT" ]
6
2019-03-06T23:54:01.000Z
2020-08-24T09:18:33.000Z
algorithm_dtocs.hpp
jkloe/pageDistanceBasedContourGenerator
92e8768b596c98ffc09f4b5eeb7db8aafccda01a
[ "MIT" ]
6
2019-03-07T00:31:48.000Z
2021-01-10T13:28:41.000Z
algorithm_dtocs.hpp
jkloe/pageDistanceBasedContourGenerator
92e8768b596c98ffc09f4b5eeb7db8aafccda01a
[ "MIT" ]
8
2019-03-07T00:08:43.000Z
2021-05-13T12:14:08.000Z
#ifndef ALGORITHM_DTOCS_HPP_GF3U3S3CO1 #define ALGORITHM_DTOCS_HPP_GF3U3S3CO1 #include "algorithm_distance_map.hpp" namespace prhlt { class Algorithm_DTOCS: public Algorithm_Distance_Map{ public: Algorithm_DTOCS(cv::Mat &ex_image); protected: virtual float calculate_neighbo...
28
83
0.701681
jkloe
5e6a3bc05fe12d35beda603fa15212b5f1a4f4b1
8,231
hh
C++
Kaskade/fem/errorest.hh
chenzongxiong/streambox
76f95780d1bf6c02731e39d8ac73937cea352b95
[ "Unlicense" ]
3
2019-07-03T14:03:31.000Z
2021-12-19T10:18:49.000Z
Kaskade/fem/errorest.hh
chenzongxiong/streambox
76f95780d1bf6c02731e39d8ac73937cea352b95
[ "Unlicense" ]
6
2020-02-17T12:01:31.000Z
2021-12-09T22:02:36.000Z
Kaskade/fem/errorest.hh
chenzongxiong/streambox
76f95780d1bf6c02731e39d8ac73937cea352b95
[ "Unlicense" ]
2
2020-12-03T04:41:18.000Z
2021-01-11T21:44:42.000Z
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* This file is part of the library KASKADE 7 */ /* see http://www.zib.de/projects/kaskade7-finite-element-toolbox */ ...
36.582222
127
0.598226
chenzongxiong
5e6a9a59f2c3f9c63495574ae5fed6034f7a0a04
59
cpp
C++
LightCubes/source/src/gl3d/sceneGraph.cpp
LeeCIT/LightCubes
35e1ec3c1447f72642ece0b602dfbd7213fe806b
[ "MIT" ]
1
2018-12-17T09:33:54.000Z
2018-12-17T09:33:54.000Z
LightCubes/source/src/gl3d/sceneGraph.cpp
LeeCIT/LightCubes
35e1ec3c1447f72642ece0b602dfbd7213fe806b
[ "MIT" ]
null
null
null
LightCubes/source/src/gl3d/sceneGraph.cpp
LeeCIT/LightCubes
35e1ec3c1447f72642ece0b602dfbd7213fe806b
[ "MIT" ]
null
null
null
#include "sceneGraph.h" namespace sceneGraphSys { };
5.363636
23
0.677966
LeeCIT
5e6ebaa91f7041a28b381a7f3c0a778d68693894
4,242
cpp
C++
src/MeasurementProvider.cpp
josefadamcik/RoomMonitor
77dbd9b37b47aef5a7de840ed403dd7bd0d7d58b
[ "MIT" ]
17
2018-07-04T14:06:31.000Z
2021-11-11T20:43:38.000Z
src/MeasurementProvider.cpp
josefadamcik/RoomMonitor
77dbd9b37b47aef5a7de840ed403dd7bd0d7d58b
[ "MIT" ]
null
null
null
src/MeasurementProvider.cpp
josefadamcik/RoomMonitor
77dbd9b37b47aef5a7de840ed403dd7bd0d7d58b
[ "MIT" ]
1
2019-12-26T12:59:00.000Z
2019-12-26T12:59:00.000Z
#include "MeasurementProvider.h" #define SHT21_TRIGGER_TEMP_MEASURE_NOHOLD 0xF3 #define SHT21_TRIGGER_HUMD_MEASURE_NOHOLD 0xF5 #define SHT21_TRIGGER_TEMP_MEASURE_HOLD 0xE3 #define SHT21_TRIGGER_HUMD_MEASURE_HOLD 0xE5 MeasurementProvider::MeasurementProvider( uint8_t tempSensAddr, uint8_t lightSensAddr, ...
26.679245
107
0.657944
josefadamcik
5e763ed5f586408e8ff628f829660ee724f3b6f9
4,076
cpp
C++
src/main-last.cpp
j-jorge/find-simd
eb5ca42a36c5957379b133b67c12ecb2cd4e59ac
[ "Apache-2.0" ]
1
2022-01-28T04:54:52.000Z
2022-01-28T04:54:52.000Z
src/main-last.cpp
j-jorge/find-simd
eb5ca42a36c5957379b133b67c12ecb2cd4e59ac
[ "Apache-2.0" ]
null
null
null
src/main-last.cpp
j-jorge/find-simd
eb5ca42a36c5957379b133b67c12ecb2cd4e59ac
[ "Apache-2.0" ]
1
2022-01-28T04:54:57.000Z
2022-01-28T04:54:57.000Z
#include "find.hpp" #include <algorithm> #include <iostream> #include <vector> #include <cstdio> #include <chrono> #include <numeric> #include <benchmark/benchmark.h> static std::vector<int> build_ordered_vector(size_t n) { std::vector<int> values(n); std::iota(values.begin(), values.end(), 1); return values;...
31.114504
77
0.418302
j-jorge
5e765b2cb378fd461aec047ec77d0e03dfdc43c1
3,256
cpp
C++
src/sigogl/ws_run.cpp
harsha336/rrt_sig
1afa8ad45562f20850360d691c2cc29faf18565b
[ "Apache-2.0" ]
null
null
null
src/sigogl/ws_run.cpp
harsha336/rrt_sig
1afa8ad45562f20850360d691c2cc29faf18565b
[ "Apache-2.0" ]
null
null
null
src/sigogl/ws_run.cpp
harsha336/rrt_sig
1afa8ad45562f20850360d691c2cc29faf18565b
[ "Apache-2.0" ]
null
null
null
/*======================================================================= Copyright (c) 2018 Marcelo Kallmann. This software is distributed under the Apache License, Version 2.0. All copies must contain the full copyright notice licence.txt located at the base folder of the distribution. ================...
21.281046
96
0.561732
harsha336
5e77840110b226f16cf6e0d89ebbc9b186558d67
21,028
cpp
C++
core/src/tile/tileManager.cpp
JungWonHyung/test2
3556db60b017dfe2313fffa0b04fc166cb19fd0e
[ "MIT" ]
null
null
null
core/src/tile/tileManager.cpp
JungWonHyung/test2
3556db60b017dfe2313fffa0b04fc166cb19fd0e
[ "MIT" ]
null
null
null
core/src/tile/tileManager.cpp
JungWonHyung/test2
3556db60b017dfe2313fffa0b04fc166cb19fd0e
[ "MIT" ]
null
null
null
#include "tile/tileManager.h" #include "data/tileSource.h" #include "map.h" #include "platform.h" #include "tile/tile.h" #include "tile/tileCache.h" #include "util/mapProjection.h" #include "view/view.h" #include "glm/gtx/norm.hpp" #include <algorithm> #define DBG(...) // LOGD(__VA_ARGS__) namespace Tangram { en...
30.475362
107
0.568242
JungWonHyung
5e82b61df977500f5067014125164e44bfffa340
83,122
cpp
C++
Sources/Vulkan/erm/extensions/VkExtensions.cpp
JALB91/ERM
5d2c56db6330efc7d662c24796fdc49e43d26e40
[ "MIT" ]
5
2019-02-26T18:46:52.000Z
2022-01-27T23:48:26.000Z
Sources/Vulkan/erm/extensions/VkExtensions.cpp
JALB91/ERM
5d2c56db6330efc7d662c24796fdc49e43d26e40
[ "MIT" ]
1
2020-06-07T23:44:29.000Z
2021-04-03T18:49:54.000Z
Sources/Vulkan/erm/extensions/VkExtensions.cpp
JALB91/ERM
5d2c56db6330efc7d662c24796fdc49e43d26e40
[ "MIT" ]
null
null
null
#include "erm/extensions/VkExtensions.h" #include <assert.h> /* loaders */ /* /////////////////////////////////// */ #if VK_EXT_debug_marker static PFN_vkDebugMarkerSetObjectTagEXT pfn_vkDebugMarkerSetObjectTagEXT = 0; static PFN_vkDebugMarkerSetObjectNameEXT pfn_vkDebugMarkerSetObjectNameEXT = 0; static PFN_vkCmdDeb...
47.634384
367
0.862479
JALB91
5e85639fac693539d79a0ea70f2d78fb56224e58
3,489
cpp
C++
qipmsg/trunk/src/dir_dialog.cpp
cuibo10/feige_src
1bfd47eaa046d401f83dfae5715b5487283ba343
[ "MIT" ]
null
null
null
qipmsg/trunk/src/dir_dialog.cpp
cuibo10/feige_src
1bfd47eaa046d401f83dfae5715b5487283ba343
[ "MIT" ]
null
null
null
qipmsg/trunk/src/dir_dialog.cpp
cuibo10/feige_src
1bfd47eaa046d401f83dfae5715b5487283ba343
[ "MIT" ]
null
null
null
// This file is part of QIpMsg. // // QIpMsg 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. // // QIpMsg is distributed in the hope...
28.137097
78
0.685583
cuibo10
5e8675ab6269e5b629c34db078715762012c3017
2,239
cpp
C++
Regex_match.cpp
Foxitute/RegexOnC-
2c6124a2221352ac2e8aa85d025541f10f52f2f2
[ "MIT" ]
null
null
null
Regex_match.cpp
Foxitute/RegexOnC-
2c6124a2221352ac2e8aa85d025541f10f52f2f2
[ "MIT" ]
null
null
null
Regex_match.cpp
Foxitute/RegexOnC-
2c6124a2221352ac2e8aa85d025541f10f52f2f2
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <regex> void regex_match(std::string str) { // regex_match // ([a-z ]){0, 99999} \\w - for letters, \\s - space std::cmatch result; std::regex regular("([\\w-]+)" "(@)" "([\\w-]+)" "(\.)" "(\\w{2,5})"); // 2-5 symbols ...
23.568421
75
0.528808
Foxitute
5e897dbaaf5357c6b8f92d02714b43f492512ad3
1,965
cpp
C++
BehaviroalPatterns/state/cardrivethrough.cpp
enuguru/design_patterns
7b5a70d65811c39d15cbfa8b7a0603a16a851265
[ "MIT" ]
null
null
null
BehaviroalPatterns/state/cardrivethrough.cpp
enuguru/design_patterns
7b5a70d65811c39d15cbfa8b7a0603a16a851265
[ "MIT" ]
null
null
null
BehaviroalPatterns/state/cardrivethrough.cpp
enuguru/design_patterns
7b5a70d65811c39d15cbfa8b7a0603a16a851265
[ "MIT" ]
null
null
null
#include <iostream> #include <ctime> #include <cstdlib> using namespace std; class FSM { class State* current; public: FSM(); void setCurrent( State* s ) { current = s; } void suckUpMoney( int ); void carDrivesThrough(); }; class State { int total; protected: int getTotal() { return total; } pub...
22.329545
75
0.572519
enuguru
5e8f1f723a9de1c53eade71fb46968a8a6219c8c
1,502
cpp
C++
source/rcnn/modeling/rpn/utils.cpp
conanhung/maskrcnn_benchmark.cpp
eab9787d3140e003662a31a8e01f7ae39469e9a0
[ "MIT" ]
1
2020-09-18T22:33:37.000Z
2020-09-18T22:33:37.000Z
source/rcnn/modeling/rpn/utils.cpp
conanhung/maskrcnn_benchmark.cpp
eab9787d3140e003662a31a8e01f7ae39469e9a0
[ "MIT" ]
null
null
null
source/rcnn/modeling/rpn/utils.cpp
conanhung/maskrcnn_benchmark.cpp
eab9787d3140e003662a31a8e01f7ae39469e9a0
[ "MIT" ]
null
null
null
#include "rpn/utils.h" #include <cassert> #include <iostream> #include <cat.h> namespace rcnn{ namespace modeling{ torch::Tensor PermuteAndFlatten(torch::Tensor& layer, int64_t N, int64_t A, int64_t C, int64_t H, int64_t W){ layer = layer.view({N, -1, C, H, W}); layer = layer.permute({0, 3, 4, 1, 2}); layer =...
31.957447
147
0.66245
conanhung
5e907214b76edb4ed4c8a811738b4be0da904e38
8,996
cpp
C++
3rdparty/kdl_parser/src/kdl_parser.cpp
rocos-sia/rocos-app
83aa8aa31dd303d77693cfc5ad48055d051fa4bc
[ "MIT" ]
3
2021-12-06T15:30:58.000Z
2022-03-29T13:21:40.000Z
3rdparty/kdl_parser/src/kdl_parser.cpp
thinkexist1989/rocos-app
7d6ab256c8212504b0a8bbe1ec1dea0c41ea3ff2
[ "MIT" ]
null
null
null
3rdparty/kdl_parser/src/kdl_parser.cpp
thinkexist1989/rocos-app
7d6ab256c8212504b0a8bbe1ec1dea0c41ea3ff2
[ "MIT" ]
null
null
null
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2008, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condit...
33.318519
110
0.618608
rocos-sia
5e94f2286108eb672682e36f876c6d7120ac124f
4,569
cp
C++
Linux/Sources/Support/JXMultiImageCheckbox.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
12
2015-04-21T16:10:43.000Z
2021-11-05T13:41:46.000Z
Linux/Sources/Support/JXMultiImageCheckbox.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
2
2015-11-02T13:32:11.000Z
2019-07-10T21:11:21.000Z
Linux/Sources/Support/JXMultiImageCheckbox.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
6
2015-01-12T08:49:12.000Z
2021-03-27T09:11:10.000Z
/* Copyright (c) 2007 Cyrus Daboo. 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 re...
28.030675
148
0.591814
mulberry-mail
5e96838dc84f050a83b3cff06f613681a0ba0b70
2,482
cpp
C++
src/core/subsystem/replay/ReplayUtility.cpp
Robograde/Robograde
2c9a7d0b8250ec240102d504127f5c54532cb2b0
[ "Zlib" ]
5
2015-10-11T10:22:39.000Z
2019-07-24T10:09:13.000Z
src/core/subsystem/replay/ReplayUtility.cpp
Robograde/Robograde
2c9a7d0b8250ec240102d504127f5c54532cb2b0
[ "Zlib" ]
null
null
null
src/core/subsystem/replay/ReplayUtility.cpp
Robograde/Robograde
2c9a7d0b8250ec240102d504127f5c54532cb2b0
[ "Zlib" ]
null
null
null
/************************************************** Copyright 2015 Daniel "MonzUn" Bengtsson ***************************************************/ #include "ReplayUtility.h" #include <messaging/GameMessages.h> using namespace SerializationUtility; ReplayFrame::ReplayFrame( ) {} ReplayFrame::~ReplayFrame( ) { for ( i...
35.457143
126
0.711523
Robograde
5e9c9565c604f811f449f55c1b7b13ebadb983c3
8,621
cc
C++
S0006E-Graphics/lab-env-master/projects/GrafikLabb/code/Graphics.cc
miraz12/Projects
ae24a4caa347f74f7ccc36014e8f7b0f801d47db
[ "MIT" ]
null
null
null
S0006E-Graphics/lab-env-master/projects/GrafikLabb/code/Graphics.cc
miraz12/Projects
ae24a4caa347f74f7ccc36014e8f7b0f801d47db
[ "MIT" ]
null
null
null
S0006E-Graphics/lab-env-master/projects/GrafikLabb/code/Graphics.cc
miraz12/Projects
ae24a4caa347f74f7ccc36014e8f7b0f801d47db
[ "MIT" ]
null
null
null
#include "config.h" #include "Graphics.h" #include <cstring> #include <chrono> #include "MeshResource.h" #include "GraphicsNode.h" #include "JointsStructure.h" #define PI 3.14159265 //#define true false using namespace Display; namespace Labb2 { Graphics::Graphics() { } Graphics::~Graphics() { } bool Grap...
21.825316
201
0.519545
miraz12
5ea1ba69aa45b824e72a50c7fd3bb59c7b96a9b8
3,445
cpp
C++
Test/Qosh/src/stak.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
9
2016-05-27T01:00:39.000Z
2021-04-01T08:54:46.000Z
Test/Qosh/src/stak.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
1
2016-03-03T22:54:08.000Z
2016-03-03T22:54:08.000Z
Test/Qosh/src/stak.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
4
2016-05-27T01:00:43.000Z
2018-08-19T08:47:49.000Z
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License, Version 1.0 only * (the "License"). You may not use this file except in compliance * with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * o...
20.264706
72
0.666183
mfaithfull
5ea331084ee6c9a229ac38ecefc976f5dec7e688
2,319
cpp
C++
PC_Aula_15_DFS_03-nov-2021/make_a_large_island.cpp
MisaelVM/ProgComp2021B
6134ae425a4c1a4f087bc1e14615d1f06979beff
[ "BSD-3-Clause" ]
null
null
null
PC_Aula_15_DFS_03-nov-2021/make_a_large_island.cpp
MisaelVM/ProgComp2021B
6134ae425a4c1a4f087bc1e14615d1f06979beff
[ "BSD-3-Clause" ]
null
null
null
PC_Aula_15_DFS_03-nov-2021/make_a_large_island.cpp
MisaelVM/ProgComp2021B
6134ae425a4c1a4f087bc1e14615d1f06979beff
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <vector> #include <set> int floodFill(std::vector<std::vector<int>>& grid, int i, int j, int mark) { if (grid[i][j] != 1) return 0; grid[i][j] = mark; int area = 1; if (i > 0) area += floodFill(grid, i - 1, j, mark); if (i < grid.size() - 1) area += floodFill(grid, i + 1, j, m...
22.960396
97
0.575679
MisaelVM
5ea37dd78a2b63f728f4d3a92db6b9d1b6ebca7d
98,088
hpp
C++
AarbitraryWindowedGuidedImageFilter/GaussianFilterSpectralRecursive.hpp
norishigefukushima/AarbitraryWindowedGuidedImageFilter
d6c88c65c7f2521c6728024e12e7cbb36ad095b1
[ "BSD-3-Clause" ]
4
2018-04-11T13:31:10.000Z
2018-11-13T09:59:39.000Z
AarbitraryWindowedGuidedImageFilter/GaussianFilterSpectralRecursive.hpp
norishigefukushima/AarbitraryWindowedGuidedImageFilter
d6c88c65c7f2521c6728024e12e7cbb36ad095b1
[ "BSD-3-Clause" ]
null
null
null
AarbitraryWindowedGuidedImageFilter/GaussianFilterSpectralRecursive.hpp
norishigefukushima/AarbitraryWindowedGuidedImageFilter
d6c88c65c7f2521c6728024e12e7cbb36ad095b1
[ "BSD-3-Clause" ]
2
2018-04-11T02:09:08.000Z
2018-06-03T07:43:56.000Z
#pragma once #include <opencv2/core.hpp> #include <opencv2/imgproc.hpp> using namespace cv; using namespace std; #define ___MM256_TRANSPOSE8_PS(in0, in1, in2, in3, in4, in5, in6, in7, out0, out1, out2, out3, out4, out5, out6, out7, __in0, __in1, __in2, __in3, __in4, __in5, __in6, __in7, __out0, __out1, __out2, __out3...
43.750223
376
0.592692
norishigefukushima
5ea5c38a54bbddb0af567a118f6fd080996075ed
2,678
hpp
C++
include/tnt/deps/simd/detail/preprocessor/facilities/is_empty.hpp
JordanCheney/tnt
a0fd378079d36b2bd39960c34e5c83f9633db0c0
[ "MIT" ]
null
null
null
include/tnt/deps/simd/detail/preprocessor/facilities/is_empty.hpp
JordanCheney/tnt
a0fd378079d36b2bd39960c34e5c83f9633db0c0
[ "MIT" ]
1
2018-06-09T04:40:01.000Z
2018-06-09T04:40:01.000Z
include/tnt/deps/simd/detail/preprocessor/facilities/is_empty.hpp
JordanCheney/tnt
a0fd378079d36b2bd39960c34e5c83f9633db0c0
[ "MIT" ]
null
null
null
# /* ************************************************************************** # * * # * (C) Copyright Paul Mensonides 2003. # * (C) Copyright Edward Diener 2014. # * Distributed under the Boost Software License, Version 1.0. (See...
46.982456
130
0.676998
JordanCheney
5eaaa8feb9f470edc8ae8aa3a1ae75043b27c7a6
2,996
cpp
C++
MyGame/Motor2D/j1EntityManager.cpp
AlexisCosano/DevCodex
32891063f5c4d7b766a517415c749d222649e070
[ "MIT" ]
null
null
null
MyGame/Motor2D/j1EntityManager.cpp
AlexisCosano/DevCodex
32891063f5c4d7b766a517415c749d222649e070
[ "MIT" ]
null
null
null
MyGame/Motor2D/j1EntityManager.cpp
AlexisCosano/DevCodex
32891063f5c4d7b766a517415c749d222649e070
[ "MIT" ]
null
null
null
#include "j1EntityManager.h" #include "j1App.h" #include "p2Defs.h" #include "p2Log.h" #include "j1Player.h" #include "j1GroundedEnemy.h" #include "j1FlyingEnemy.h" j1EntityManager::j1EntityManager() : j1Module() { name = "entities"; } j1EntityManager::~j1EntityManager() { } bool j1EntityManager::Awake(pugi::xml_no...
15.604167
64
0.648198
AlexisCosano
5eaee45bf8f9a844bccaf9f28099a4db7aa6b6fe
250
hpp
C++
src/common/thread_compat.hpp
Helios-vmg/napalm
15f61c742a4488304583865f35cb286e777112fe
[ "BSD-2-Clause" ]
null
null
null
src/common/thread_compat.hpp
Helios-vmg/napalm
15f61c742a4488304583865f35cb286e777112fe
[ "BSD-2-Clause" ]
null
null
null
src/common/thread_compat.hpp
Helios-vmg/napalm
15f61c742a4488304583865f35cb286e777112fe
[ "BSD-2-Clause" ]
null
null
null
#pragma once #if defined __MINGW32__ && !(defined _GLIBCXX_HAS_GTHREADS) #include <mingw.thread.h> #include <mingw.mutex.h> #include <mingw.condition_variable.h> #else #include <thread> #include <mutex> #include <condition_variable> #endif
22.727273
60
0.74
Helios-vmg
5eb7e84f957c3891ba0d0b57500ab7dc3b2431d7
10,096
cpp
C++
external/the-forge/Middleware_3/UI/imgui_user.cpp
learn-computer-graphics/the-forge-samples
36ee5310bf76271bf41186475c433cf050ab32af
[ "Apache-2.0" ]
18
2020-05-05T18:11:59.000Z
2021-12-16T07:07:46.000Z
external/the-forge/Middleware_3/UI/imgui_user.cpp
boberfly/the-forge-glfw
c3b4642f83bec165af481e8a7d6916330d4bd07b
[ "Apache-2.0" ]
null
null
null
external/the-forge/Middleware_3/UI/imgui_user.cpp
boberfly/the-forge-glfw
c3b4642f83bec165af481e8a7d6916330d4bd07b
[ "Apache-2.0" ]
6
2020-05-23T21:42:12.000Z
2021-08-09T13:44:02.000Z
/* * Copyright (c) 2018-2021 The Forge Interactive Inc. * * This file is part of The-Forge * (see https://github.com/ConfettiFX/The-Forge). * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional in...
37.117647
135
0.716918
learn-computer-graphics
5eb8ccc8ab15da553c58a923713aaf6571c993a1
537
cpp
C++
sursa.cpp
seerj30/grafuri_ROYWARSHALL
559c2dcc9c9d30778d4be21b3513da5c9aa374e8
[ "MIT" ]
null
null
null
sursa.cpp
seerj30/grafuri_ROYWARSHALL
559c2dcc9c9d30778d4be21b3513da5c9aa374e8
[ "MIT" ]
null
null
null
sursa.cpp
seerj30/grafuri_ROYWARSHALL
559c2dcc9c9d30778d4be21b3513da5c9aa374e8
[ "MIT" ]
null
null
null
#include<iostream> #include<fstream> using namespace std; int n,a[50][50]; void citire() { int x,y; ifstream f("in.txt"); f>>n; while(f>>x>>y) a[x][y]=a[y][x]=1; } void afisare() { int i,j; for(i=1;i<=n;i++) { for(j=1;j<=n;j++) cout<<a[i][j]<<" "; cout<<endl; } cout<<endl; } void Roy_Warshall() { ...
11.933333
48
0.495345
seerj30
5ebddd06b54e498a0d17c1fb3c4fecf080b7b8cf
1,266
cpp
C++
mpags-cipher.git/MPAGSCipher/TransformChar.cpp
MPAGS-CPP-2019/mpags-day-2-GluonicPenguin
4a548ed268b16ef085abd75ba6cfd90263bd8b99
[ "MIT" ]
null
null
null
mpags-cipher.git/MPAGSCipher/TransformChar.cpp
MPAGS-CPP-2019/mpags-day-2-GluonicPenguin
4a548ed268b16ef085abd75ba6cfd90263bd8b99
[ "MIT" ]
null
null
null
mpags-cipher.git/MPAGSCipher/TransformChar.cpp
MPAGS-CPP-2019/mpags-day-2-GluonicPenguin
4a548ed268b16ef085abd75ba6cfd90263bd8b99
[ "MIT" ]
null
null
null
// TransformChar.cpp file, carrying function in separate file #include<cctype> #include<string> #include<iostream> // Function to transform characters to string std::string transformChar(const char inputChar){ std::string inputStrForm {""}; // Uppercase alphabetic characters if (std::isalpha(inputChar)) {...
23.018182
65
0.557662
MPAGS-CPP-2019
5ecbe055c8193a4eb162ff73366ebda544f09e10
6,010
cpp
C++
src/Pyros3D/Utils/Mouse3D/Mouse3D.cpp
Peixinho/Pyros3D
d6857ce99f3731a851ca5e7d67afbb13aafd18e0
[ "MIT" ]
20
2016-02-15T23:22:06.000Z
2021-12-07T00:13:49.000Z
src/Pyros3D/Utils/Mouse3D/Mouse3D.cpp
Peixinho/Pyros3D
d6857ce99f3731a851ca5e7d67afbb13aafd18e0
[ "MIT" ]
1
2017-09-04T00:28:19.000Z
2017-09-05T11:00:12.000Z
src/Pyros3D/Utils/Mouse3D/Mouse3D.cpp
Peixinho/Pyros3D
d6857ce99f3731a851ca5e7d67afbb13aafd18e0
[ "MIT" ]
3
2016-08-10T02:44:08.000Z
2021-05-28T23:03:10.000Z
//============================================================================ // Name : Mouse3D.cpp // Author : Duarte Peixinho // Version : // Copyright : ;) // Description : Mouse 3D Class //============================================================================ #include <Pyros3D/Utils/Mouse3...
23.385214
176
0.565391
Peixinho
5ece59e0e23c720c19bb40416ba4176396f58711
1,132
hpp
C++
Source/Scenes/DecryptFileScene.hpp
BaderEddineOuaich/Enigma
a42365146c80fb59e38f5653e17d4c931195e646
[ "MIT" ]
13
2020-05-01T02:03:14.000Z
2022-02-03T17:48:26.000Z
Source/Scenes/DecryptFileScene.hpp
BaderEddineOuaich/Enigma
a42365146c80fb59e38f5653e17d4c931195e646
[ "MIT" ]
5
2021-01-22T11:58:21.000Z
2022-01-21T21:06:17.000Z
Source/Scenes/DecryptFileScene.hpp
BaderEddineOuaich/Enigma
a42365146c80fb59e38f5653e17d4c931195e646
[ "MIT" ]
3
2021-01-22T09:05:50.000Z
2022-01-12T09:16:44.000Z
#pragma once #include "Scene.hpp" #include <Algorithm/Algorithm.hpp> NS_ENIGMA_BEGIN class DecryptFileScene : public Scene { public: /* Constructors / Destructor */ DecryptFileScene(); virtual ~DecryptFileScene() = default; private: /* Overrides */ void OnCreate() override; [[maybe_unused]] void OnUpdate(const f...
29.025641
109
0.762367
BaderEddineOuaich
5ed9f572fd6dbefe9abae9ed029762f2e65bf9e9
42,489
cpp
C++
src/Samples/src/samples/meshes/extrude_polygon_scene.cpp
samdauwe/BabylonCpp
eea9f761a49bb460ff1324c20e4674ef120e94f1
[ "Apache-2.0" ]
277
2017-05-18T08:27:10.000Z
2022-03-26T01:31:37.000Z
src/Samples/src/samples/meshes/extrude_polygon_scene.cpp
samdauwe/BabylonCpp
eea9f761a49bb460ff1324c20e4674ef120e94f1
[ "Apache-2.0" ]
77
2017-09-03T15:35:02.000Z
2022-03-28T18:47:20.000Z
src/Samples/src/samples/meshes/extrude_polygon_scene.cpp
samdauwe/BabylonCpp
eea9f761a49bb460ff1324c20e4674ef120e94f1
[ "Apache-2.0" ]
37
2017-03-30T03:36:24.000Z
2022-01-28T08:28:36.000Z
#include <babylon/babylon_stl_util.h> #include <babylon/buffers/vertex_buffer.h> #include <babylon/cameras/arc_rotate_camera.h> #include <babylon/interfaces/icanvas.h> #include <babylon/interfaces/irenderable_scene_with_hud.h> #include <babylon/lights/hemispheric_light.h> #include <babylon/materials/standard_material.h...
41.533724
100
0.512274
samdauwe
5eda7a9a5a1a0619e7d0ea373894e962f5c0bb43
3,546
cpp
C++
stocks_trade.cpp
mattregul/df-ai
9e74c015e173b9f67cf95e45fdb0ce02e987f1df
[ "Zlib" ]
null
null
null
stocks_trade.cpp
mattregul/df-ai
9e74c015e173b9f67cf95e45fdb0ce02e987f1df
[ "Zlib" ]
null
null
null
stocks_trade.cpp
mattregul/df-ai
9e74c015e173b9f67cf95e45fdb0ce02e987f1df
[ "Zlib" ]
null
null
null
#include "ai.h" #include "stocks.h" #include "df/general_ref.h" #include "df/item_foodst.h" bool Stocks::willing_to_trade_item(color_ostream & out, df::item *item) { if (virtual_cast<df::item_foodst>(item)) { return true; } if (item->isFoodStorage()) { bool any_contents = false; ...
28.829268
285
0.565426
mattregul
5edb4636708ab8b61422e468e1bcf33a5bbf0bb0
456
cpp
C++
common/Net/Fd.cpp
ZmnSCPxj/cldcb
4375d95cacee2a51fe5c4c1accc9fc616474bd41
[ "MIT" ]
9
2020-06-02T16:40:40.000Z
2021-10-03T15:22:40.000Z
common/Net/Fd.cpp
ZmnSCPxj/cldcb
4375d95cacee2a51fe5c4c1accc9fc616474bd41
[ "MIT" ]
2
2020-11-06T00:00:24.000Z
2022-02-14T01:59:08.000Z
common/Net/Fd.cpp
ZmnSCPxj/cldcb
4375d95cacee2a51fe5c4c1accc9fc616474bd41
[ "MIT" ]
2
2021-01-02T15:29:50.000Z
2022-02-23T07:26:00.000Z
#include<errno.h> #include<unistd.h> #include<utility> #include"Net/Fd.hpp" namespace Net { Fd& Fd::operator=(Fd&& o) { auto tmp = Fd(std::move(o)); swap(tmp); return *this; } Fd::~Fd() { if (fd >= 0) { /* Ignore errors. * This is a destructor, so it is * entirely possible that this * occurred due to ...
15.2
38
0.607456
ZmnSCPxj
5edc8bfef4f7236867a536407485d247cc1558d3
2,833
cpp
C++
TopCoderSRM/SRM635/IdentifyingWood.cpp
zombiecry/AlgorithmPractice
f42933883bd62a86aeef9740356f5010c6c9bebf
[ "MIT" ]
null
null
null
TopCoderSRM/SRM635/IdentifyingWood.cpp
zombiecry/AlgorithmPractice
f42933883bd62a86aeef9740356f5010c6c9bebf
[ "MIT" ]
null
null
null
TopCoderSRM/SRM635/IdentifyingWood.cpp
zombiecry/AlgorithmPractice
f42933883bd62a86aeef9740356f5010c6c9bebf
[ "MIT" ]
null
null
null
// BEGIN CUT HERE // END CUT HERE #line 5 "IdentifyingWood.cpp" #include <vector> #include <list> #include <bitset> #include <map> #include <set> #include <deque> #include <queue> #include <stack> #include <bitset> #include <algorithm> #include <functional> #include <numeric> #include <utility> #include <sstream> #inc...
32.563218
314
0.590187
zombiecry
5edf254d52b46d7f901c8a46cdbc0b992d3eda4f
3,242
cxx
C++
XY/testing/test_AB.cxx
fmauger/BoostSerializationTwoCompilationUnitsDemo
6ddb5e10d72383042258e3e9f13a1ae51a96cbff
[ "OLDAP-2.3" ]
null
null
null
XY/testing/test_AB.cxx
fmauger/BoostSerializationTwoCompilationUnitsDemo
6ddb5e10d72383042258e3e9f13a1ae51a96cbff
[ "OLDAP-2.3" ]
null
null
null
XY/testing/test_AB.cxx
fmauger/BoostSerializationTwoCompilationUnitsDemo
6ddb5e10d72383042258e3e9f13a1ae51a96cbff
[ "OLDAP-2.3" ]
null
null
null
// Standard library: #include <iostream> #include <fstream> /// Third Party: // - Boost: #include <boost/serialization/nvp.hpp> #include <boost/archive/xml_oarchive.hpp> #include <boost/archive/xml_iarchive.hpp> // Ourselves: #include <XY/config.hpp> #if BSTCUD_WITH_EOS == 1 #include <eos/portable_oarchive.hpp> #in...
29.472727
70
0.559531
fmauger
5ee0805621a7661148327ddbf1aa332461ddb931
7,268
cpp
C++
media_driver/agnostic/gen8/codec/hal/codechal_kernel_hme_g8.cpp
lacc97/media-driver
8aa1d74b80668f9963e691b1c01ab564f50aec85
[ "Intel", "BSD-3-Clause", "MIT" ]
660
2017-11-21T15:55:52.000Z
2022-03-31T06:31:00.000Z
media_driver/agnostic/gen8/codec/hal/codechal_kernel_hme_g8.cpp
lacc97/media-driver
8aa1d74b80668f9963e691b1c01ab564f50aec85
[ "Intel", "BSD-3-Clause", "MIT" ]
1,070
2017-12-01T00:26:10.000Z
2022-03-31T17:55:26.000Z
media_driver/agnostic/gen8/codec/hal/codechal_kernel_hme_g8.cpp
lacc97/media-driver
8aa1d74b80668f9963e691b1c01ab564f50aec85
[ "Intel", "BSD-3-Clause", "MIT" ]
309
2017-11-30T08:34:09.000Z
2022-03-30T18:52:07.000Z
/* * Copyright (c) 2017, Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publis...
44.048485
160
0.726472
lacc97
5ee2066454a7ab9999491f028bcaa3647abf74df
712
cpp
C++
src/shadereditor/src/shadereditor/properties/vsheet_cmatrix.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/shadereditor/src/shadereditor/properties/vsheet_cmatrix.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/shadereditor/src/shadereditor/properties/vsheet_cmatrix.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
 #include "cbase.h" #include "vSheets.h" CSheet_CMatrix::CSheet_CMatrix(CBaseNode *pNode, CNodeView *view, KeyValues *data, Panel *parent) : BaseClass(pNode, view, data, parent) { SetParent(parent); m_pCBox_MType = new ComboBox(this, "cbox_mtype", 10, false); for (int i = 0; i < CMATRIX_LAST; i+...
26.37037
97
0.706461
cstom4994
5ee413f5311948e62f5d3d287c45a4ae742842f4
294
cpp
C++
Smart_Home/src/core/main.cpp
Forsyth-Creations/Smart_Home_VT
0b53ecf15eeacafacf28d311eb360f84184e63d4
[ "MIT" ]
null
null
null
Smart_Home/src/core/main.cpp
Forsyth-Creations/Smart_Home_VT
0b53ecf15eeacafacf28d311eb360f84184e63d4
[ "MIT" ]
null
null
null
Smart_Home/src/core/main.cpp
Forsyth-Creations/Smart_Home_VT
0b53ecf15eeacafacf28d311eb360f84184e63d4
[ "MIT" ]
null
null
null
#include <Arduino.h> #include "smarthome\SmartHome.h" #include <SoftwareSerial.h> SmartHome home = SmartHome(); void setup() { // put your setup code here, to run once: Serial.begin(9600); home.init(); } void loop() { // put your main code here, to run repeatedly: home.run(); }
14
48
0.663265
Forsyth-Creations
5ee5dc81098368d12401b468d376fdbe41907e3a
1,223
cpp
C++
src/cpp/arrays/10_rotate_matrix.cpp
ajaybiswas22/gfg-coding-problems
9484ff82f7fb7f663a15bc6058bc0bc24cd13015
[ "MIT" ]
1
2021-02-08T14:50:50.000Z
2021-02-08T14:50:50.000Z
src/cpp/arrays/10_rotate_matrix.cpp
ajaybiswas22/gfg-coding-problems
9484ff82f7fb7f663a15bc6058bc0bc24cd13015
[ "MIT" ]
null
null
null
src/cpp/arrays/10_rotate_matrix.cpp
ajaybiswas22/gfg-coding-problems
9484ff82f7fb7f663a15bc6058bc0bc24cd13015
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; void swapFour(int &x, int &y, int &z,int &a) { int temp = x; x = y; y = z; z = a; a = temp; } void printMatrix(vector<vector<int>> A) { for(int i=0;i<A.size();i++) { for(int j=0;j<A[i].size();j++) { cout<<A[i][j]<< " ...
20.383333
79
0.376942
ajaybiswas22
5ee6865fad9c2fcf874d70d1c35635e2714cc1d0
6,602
cpp
C++
Framework/Audio/Audio.cpp
dengwenyi88/Deferred_Lighting
b45b6590150a3119b0c2365f4795d93b3b4f0748
[ "MIT" ]
110
2017-06-23T17:12:28.000Z
2022-02-22T19:11:38.000Z
RunTest/Framework3/Audio/Audio.cpp
dtrebilco/ECSAtto
86a04f0bdc521c79f758df94250c1898c39213c8
[ "MIT" ]
null
null
null
RunTest/Framework3/Audio/Audio.cpp
dtrebilco/ECSAtto
86a04f0bdc521c79f758df94250c1898c39213c8
[ "MIT" ]
3
2018-02-12T00:16:18.000Z
2018-02-18T11:12:35.000Z
/* * * * * * * * * * * * * Author's note * * * * * * * * * * * *\ * _ _ _ _ _ _ _ _ _ _ _ _ * * |_| |_| |_| |_| |_|_ _|_| |_| |_| _|_|_|_|_| * * |_|_ _ _|_| |_| |_| |_|_|_|_|_| |_| |_| |_|_ _ _ * * |_|_|_|_|_| |_| |_| |_| |_| |_| |_| |_| |_...
29.212389
107
0.642684
dengwenyi88
5ee81ea9b33246e8e0912bb59182c86a6f510bbc
4,345
cpp
C++
src/backbones/VGG.cpp
0x0000dead/LibtorchSegmentation
04332ea83a6ea843bd8a52e3c95deda449457373
[ "MIT" ]
135
2021-05-06T04:03:27.000Z
2022-03-31T01:34:03.000Z
src/backbones/VGG.cpp
0x0000dead/LibtorchSegmentation
04332ea83a6ea843bd8a52e3c95deda449457373
[ "MIT" ]
17
2021-05-10T06:44:54.000Z
2022-03-07T09:00:43.000Z
src/backbones/VGG.cpp
0x0000dead/LibtorchSegmentation
04332ea83a6ea843bd8a52e3c95deda449457373
[ "MIT" ]
33
2021-05-05T16:12:17.000Z
2022-03-22T07:56:26.000Z
#include "VGG.h" torch::nn::Sequential make_features(std::vector<int> &cfg, bool batch_norm) { torch::nn::Sequential features; int in_channels = 3; for (auto v : cfg) { if (v == -1) { features->push_back(torch::nn::MaxPool2d(maxpool_options(2, 2))); } else { auto conv2d = torch::nn::Conv2d(conv_options(...
31.035714
104
0.653855
0x0000dead
5eeefc8955a126639d411835065af8b4d429f63d
244,816
cc
C++
source/auto_generated/gpu_perf_api_counter_generator/public_counter_definitions_dx12_gfx8.cc
AdamJMiles/gpu_performance_api
7bd0c8b484b2a658610581e2e48b615606130fdc
[ "MIT" ]
61
2020-03-17T12:30:11.000Z
2022-03-01T18:59:11.000Z
source/auto_generated/gpu_perf_api_counter_generator/public_counter_definitions_dx12_gfx8.cc
AdamJMiles/gpu_performance_api
7bd0c8b484b2a658610581e2e48b615606130fdc
[ "MIT" ]
12
2020-03-24T15:46:54.000Z
2022-01-08T02:03:31.000Z
source/auto_generated/gpu_perf_api_counter_generator/public_counter_definitions_dx12_gfx8.cc
AdamJMiles/gpu_performance_api
7bd0c8b484b2a658610581e2e48b615606130fdc
[ "MIT" ]
19
2020-03-16T17:32:09.000Z
2022-03-29T23:35:31.000Z
//============================================================================== // Copyright (c) 2010-2021 Advanced Micro Devices, Inc. All rights reserved. /// @author AMD Developer Tools Team /// @file /// @brief Public Counter Definitions for DX12 GFX8. //============================================================...
51.388749
5,062
0.708009
AdamJMiles
d672c802c84915fc4e0b55e4bc0f6d3631ff8741
43,112
cpp
C++
MonoNative/mscorlib/Microsoft/Win32/mscorlib_Microsoft_Win32_RegistryKey.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
7
2015-03-10T03:36:16.000Z
2021-11-05T01:16:58.000Z
MonoNative/mscorlib/Microsoft/Win32/mscorlib_Microsoft_Win32_RegistryKey.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
1
2020-06-23T10:02:33.000Z
2020-06-24T02:05:47.000Z
MonoNative/mscorlib/Microsoft/Win32/mscorlib_Microsoft_Win32_RegistryKey.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
null
null
null
#include <mscorlib/Microsoft/Win32/mscorlib_Microsoft_Win32_RegistryKey.h> #include <mscorlib/System/mscorlib_System_String.h> #include <mscorlib/Microsoft/Win32/SafeHandles/mscorlib_Microsoft_Win32_SafeHandles_SafeRegistryHandle.h> #include <mscorlib/System/Security/AccessControl/mscorlib_System_Security_AccessControl...
58.024226
332
0.733531
brunolauze
d6745d17c58f01e1db5ecffae723aa7d863d1165
662
hpp
C++
components/operators/include/ftl/operators/colours.hpp
knicos/voltu
70b39da7069f8ffd7e33aeb5bdacc84fe4a78f01
[ "MIT" ]
4
2020-12-28T15:29:15.000Z
2021-06-27T12:37:15.000Z
components/operators/include/ftl/operators/colours.hpp
knicos/voltu
70b39da7069f8ffd7e33aeb5bdacc84fe4a78f01
[ "MIT" ]
null
null
null
components/operators/include/ftl/operators/colours.hpp
knicos/voltu
70b39da7069f8ffd7e33aeb5bdacc84fe4a78f01
[ "MIT" ]
2
2021-01-13T05:28:39.000Z
2021-05-04T03:37:11.000Z
#ifndef _FTL_OPERATORS_COLOURS_HPP_ #define _FTL_OPERATORS_COLOURS_HPP_ #include <ftl/operators/operator.hpp> namespace ftl { namespace operators { class ColourChannels : public ftl::operators::Operator { public: explicit ColourChannels(ftl::operators::Graph *g, ftl::Configurable *cfg); ~ColourChannels()...
22.827586
90
0.732628
knicos
d675c0f05cc5632fade00bea7c317d693f6243a2
1,156
cpp
C++
src/managers/environmentmanager.cpp
alexhuntley/GameplayFootball
67a3c123e31384b757b1d223c53acf9f7fcb8b41
[ "Apache-2.0" ]
56
2020-07-22T22:11:06.000Z
2022-03-09T08:11:43.000Z
src/managers/environmentmanager.cpp
alexhuntley/GameplayFootball
67a3c123e31384b757b1d223c53acf9f7fcb8b41
[ "Apache-2.0" ]
9
2021-04-22T07:06:25.000Z
2022-01-22T12:54:52.000Z
src/managers/environmentmanager.cpp
alexhuntley/GameplayFootball
67a3c123e31384b757b1d223c53acf9f7fcb8b41
[ "Apache-2.0" ]
18
2020-10-15T08:11:07.000Z
2022-03-23T14:49:46.000Z
// written by bastiaan konings schuiling 2008 - 2014 // this work is public domain. the code is undocumented, scruffy, untested, and should generally not be used for anything important. // i do not offer support, so don't ask. to be used for inspiration :) #include "environmentmanager.hpp" #include <SDL2/SDL.h> #incl...
28.195122
132
0.728374
alexhuntley
d681b4c481a663360a6bde5e70e62c9f370957c6
71
hh
C++
extern/typed-geometry/src/typed-geometry/feature/quadric.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
extern/typed-geometry/src/typed-geometry/feature/quadric.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
extern/typed-geometry/src/typed-geometry/feature/quadric.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
#pragma once #include <typed-geometry/functions/quadrics/quadrics.hh>
17.75
56
0.802817
rovedit
d6865d54633d83c67f32ba92125a8af7c29bfb48
1,658
hpp
C++
lib/libcpp/Alat/Alat/vectorallvariables.hpp
beckerrh/simfemsrc
d857eb6f6f8627412d4f9d89a871834c756537db
[ "MIT" ]
null
null
null
lib/libcpp/Alat/Alat/vectorallvariables.hpp
beckerrh/simfemsrc
d857eb6f6f8627412d4f9d89a871834c756537db
[ "MIT" ]
1
2019-01-31T10:59:11.000Z
2019-01-31T10:59:11.000Z
lib/libcpp/Alat/Alat/vectorallvariables.hpp
beckerrh/simfemsrc
d857eb6f6f8627412d4f9d89a871834c756537db
[ "MIT" ]
null
null
null
#ifndef __Alat_VectorAllVariables_h #define __Alat_VectorAllVariables_h #include "Alat/vector.hpp" #include "Alat/vectoronevariableinterface.hpp" /*--------------------------------------------------------------------------*/ namespace alat { class StringSet; class StringVector; class VectorAllVariables : pub...
36.844444
100
0.670084
beckerrh
d68692797d902cfeddae8fd0168be39a934a1a97
1,146
hpp
C++
Frameworks/include/Helmet/Workbench/I_Controller.hpp
hatboysoftware/helmet
97f26d134742fdb732abc6177bb2adaeb67b3187
[ "Zlib" ]
2
2018-02-07T01:19:37.000Z
2018-02-09T14:27:48.000Z
Frameworks/include/Helmet/Workbench/I_Controller.hpp
hatboysoftware/helmet
97f26d134742fdb732abc6177bb2adaeb67b3187
[ "Zlib" ]
null
null
null
Frameworks/include/Helmet/Workbench/I_Controller.hpp
hatboysoftware/helmet
97f26d134742fdb732abc6177bb2adaeb67b3187
[ "Zlib" ]
null
null
null
//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ // Helmet Software Framework // // Copyright (C) 2018 Hat Boy Software, Inc. // // @author Matthew Alan Gray - <mgray@hatboysoftware.com> // @author Tony Richards - <trichards@indiezen.com> //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-...
26.651163
80
0.358639
hatboysoftware
d6886cc1f91b158f4a09fc12593b5889ecc6d387
4,414
cpp
C++
test/dcu/level1/doti_s_dcu_test.cpp
xupinjie/AlphaSparse
06bf06a57f9112c2f940741841485243d8073c7c
[ "MIT" ]
18
2022-02-22T15:10:18.000Z
2022-03-29T07:54:57.000Z
test/dcu/level1/doti_s_dcu_test.cpp
xupinjie/AlphaSparse
06bf06a57f9112c2f940741841485243d8073c7c
[ "MIT" ]
null
null
null
test/dcu/level1/doti_s_dcu_test.cpp
xupinjie/AlphaSparse
06bf06a57f9112c2f940741841485243d8073c7c
[ "MIT" ]
2
2022-02-23T09:25:57.000Z
2022-02-25T08:01:03.000Z
/** * @brief ict dcu mv csr test * @author HPCRC, ICT */ #include <hip/hip_runtime_api.h> #include <rocsparse.h> #include <stdio.h> #include <stdlib.h> #include <iomanip> #include <iostream> #include <vector> #include "rocsparse.h" #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ #include <alpha_spblas_...
26.914634
106
0.636611
xupinjie
d68aad3695242540de0ebb362edf43045a21f280
1,959
cpp
C++
Mrf_DS18B20.cpp
RodNewHampshire/MRF101-150W-HF-Broadband-Amplifier
769ac0ea2b5d09ef193aa78ef23563b83cec6d2d
[ "MIT" ]
3
2021-08-15T17:40:53.000Z
2022-01-20T14:45:33.000Z
Mrf_DS18B20.cpp
RodNewHampshire/MRF101-150W-HF-Broadband-Amplifier
769ac0ea2b5d09ef193aa78ef23563b83cec6d2d
[ "MIT" ]
null
null
null
Mrf_DS18B20.cpp
RodNewHampshire/MRF101-150W-HF-Broadband-Amplifier
769ac0ea2b5d09ef193aa78ef23563b83cec6d2d
[ "MIT" ]
null
null
null
/****************************************************************************** * * MRF101 Amplifier by AD5GH * * ARDUINO MEGA DISPLAY & CONTROL BOARD SOFTWARE * DS18B20+ ONE WIRE TEMPERATURE SENSOR FUNCTION ROUTINES * * Distributed under the terms of the MIT License: * http://www.opensource.org/licenses/mit-license * ...
25.441558
118
0.48392
RodNewHampshire