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
04ef4e3018fa48293ccd6fe0e1066cd851977a46
1,427
cpp
C++
381/RandomizedCollection.cpp
Lixu518/leetcode
f8e868ef6963da92237e6dc6888d7dda0b9bdd19
[ "MIT" ]
1
2018-06-24T13:58:07.000Z
2018-06-24T13:58:07.000Z
381/RandomizedCollection.cpp
Lixu518/leetcode
f8e868ef6963da92237e6dc6888d7dda0b9bdd19
[ "MIT" ]
null
null
null
381/RandomizedCollection.cpp
Lixu518/leetcode
f8e868ef6963da92237e6dc6888d7dda0b9bdd19
[ "MIT" ]
null
null
null
#include<iostream> #include<vector> #include<unordered_map> #include<unordered_set> using namespace std; class RandomizedCollection { public: /** Initialize your data structure here. */ RandomizedCollection() { } /** Inserts a value to the collection. Returns true if the collection did not...
27.980392
123
0.599159
Lixu518
04f652903d77592a7a5ad95d6765ec4723d45725
613
hpp
C++
dep_package/Hicore/hicore/binary.hpp
KyrieBang/HiVecMap
b4861df4d41dd5299f277882d49540da25894972
[ "MIT" ]
null
null
null
dep_package/Hicore/hicore/binary.hpp
KyrieBang/HiVecMap
b4861df4d41dd5299f277882d49540da25894972
[ "MIT" ]
null
null
null
dep_package/Hicore/hicore/binary.hpp
KyrieBang/HiVecMap
b4861df4d41dd5299f277882d49540da25894972
[ "MIT" ]
null
null
null
#ifndef BINARY_HPP_ #define BINARY_HPP_ #include "mem.hpp" #include <memory> #include <stdlib.h> #include <string> namespace HiGIS { template <typename T, int n> struct chunk_t { T data[n]; }; using endian_t = bool; const endian_t BE = true; const endian_t LE = false; endian_t SysEndian(void); void SwapEndian(uin...
23.576923
67
0.752039
KyrieBang
04f7324916024f3edecca026cc8152757148a6b4
557
cpp
C++
watchX/lib/RTCDS3231/temperature.cpp
murataka/watchX
74fddc87d90af88197cb83ee7c8c4439330c9957
[ "Apache-2.0" ]
6
2018-06-29T04:34:57.000Z
2020-08-04T05:37:52.000Z
watchX/lib/RTCDS3231/temperature.cpp
murataka/watchX
74fddc87d90af88197cb83ee7c8c4439330c9957
[ "Apache-2.0" ]
null
null
null
watchX/lib/RTCDS3231/temperature.cpp
murataka/watchX
74fddc87d90af88197cb83ee7c8c4439330c9957
[ "Apache-2.0" ]
2
2018-06-22T23:08:14.000Z
2020-08-05T22:53:41.000Z
#include <Arduino.h> #include "temperature.h" #include <Wire.h> float temperature=NAN; void get3231Temp() { //temp registers (11h-12h) get updated automatically every 64s Wire.beginTransmission(0x68); Wire.write(0x11); Wire.endTransmission(); Wire.requestFrom(0x68, 2); if(Wire.available()) { unsigned ...
22.28
65
0.667864
murataka
04fb295766359a0d71ea958477078c9b2731d89c
1,706
cpp
C++
Dark/src/Dark/Log.cpp
Mostro-Complexity/Dark
d0753f8134672af7af55cebbf60cf6d4314548b1
[ "Apache-2.0" ]
null
null
null
Dark/src/Dark/Log.cpp
Mostro-Complexity/Dark
d0753f8134672af7af55cebbf60cf6d4314548b1
[ "Apache-2.0" ]
null
null
null
Dark/src/Dark/Log.cpp
Mostro-Complexity/Dark
d0753f8134672af7af55cebbf60cf6d4314548b1
[ "Apache-2.0" ]
null
null
null
/************************************************* Copyright © 2020 - 2020 YX.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...
37.086957
78
0.723916
Mostro-Complexity
04fce7413f2c02605fefbcbd8231e8bf1c90b60d
1,566
hpp
C++
SDK/ARKSurvivalEvolved_Buff_ChargeEmitterWeapon_ChargeLantern_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_Buff_ChargeEmitterWeapon_ChargeLantern_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_Buff_ChargeEmitterWeapon_ChargeLantern_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_Buff_ChargeEmitterWeapon_ChargeLantern_classes.hpp" namespace sdk { //--------------------------------------------------------------------------- //Parameters //-------------------------------...
35.590909
161
0.687101
2bite
04ff2c5030ad5a8452813858ed9bdbe49024b87a
6,478
cpp
C++
log_service.cpp
aclement30/bondi
17753c80f4f6a69b30a10ec2d7f42c29fb1ee0c6
[ "Apache-2.0" ]
null
null
null
log_service.cpp
aclement30/bondi
17753c80f4f6a69b30a10ec2d7f42c29fb1ee0c6
[ "Apache-2.0" ]
null
null
null
log_service.cpp
aclement30/bondi
17753c80f4f6a69b30a10ec2d7f42c29fb1ee0c6
[ "Apache-2.0" ]
null
null
null
#include <ArduinoSTL.h> #include "constants.h" #include "config.h" #include "file_service.h" #include "log_service.h" #include "meal_distribution.h" #include "string.h" #include "time_service.h" using namespace std; LogService & LogService::getInstance() { static LogService instance; // Guaranteed to be destro...
27.333333
151
0.642482
aclement30
ca010d8231e87b012f0d6a818bc4eee1d680a106
2,320
cpp
C++
test/atlas_math_coordinates.cpp
mkitzan/atlas
47c8ed82bfa995a0ad2d2abc4da1ad2c3f1a704c
[ "MIT" ]
null
null
null
test/atlas_math_coordinates.cpp
mkitzan/atlas
47c8ed82bfa995a0ad2d2abc4da1ad2c3f1a704c
[ "MIT" ]
null
null
null
test/atlas_math_coordinates.cpp
mkitzan/atlas
47c8ed82bfa995a0ad2d2abc4da1ad2c3f1a704c
[ "MIT" ]
null
null
null
#include <atlas/core/Float.hpp> #include <atlas/math/Coordinates.hpp> #include <catch2/catch.hpp> using atlas::core::areEqual; TEST_CASE("Checking Spherical Functions", "[math]") { using namespace atlas::math; Point p1{1, 0, 0}; Point p2{1, 1, 0}; auto s1 = cartesianToSpherical(p1); auto s2 = c...
24.946237
77
0.629741
mkitzan
ca05a5a841a822ba3c9ce18c59095d93836b8412
2,970
cpp
C++
firmware/libs/min/min_transmit_cmds.cpp
Wild-Spy/OSTBoardFirmware
7a355ce61da31b5ddad09b33319652100b31fd2c
[ "Apache-2.0" ]
1
2017-11-19T11:29:02.000Z
2017-11-19T11:29:02.000Z
firmware/libs/min/min_transmit_cmds.cpp
Wild-Spy/OSTBoardFirmware
7a355ce61da31b5ddad09b33319652100b31fd2c
[ "Apache-2.0" ]
null
null
null
firmware/libs/min/min_transmit_cmds.cpp
Wild-Spy/OSTBoardFirmware
7a355ce61da31b5ddad09b33319652100b31fd2c
[ "Apache-2.0" ]
null
null
null
// // Created by mcochrane on 1/04/17. // #include <datetime/DateTime.h> #include <string.h> #include <interrupt.h> #include "min_transmit_cmds.h" #include <nvm/NvmRuleManager.h> #include <cstdarg> #include <libs/TimerDescriptionLanguage/TdlRules.h> #include "layer2_helper.h" #include "min.h" #include <version.h> /* R...
21.678832
79
0.696633
Wild-Spy
ca0c9ee6253fc7487ac1ed21aa553f384226990c
4,504
cpp
C++
src/ngfx/porting/d3d/D3DBlitOp.cpp
kamranrad1993/ngfx
eeef60e3419a88371a97e8bc3109d2b35b82cc89
[ "Apache-2.0", "MIT-0", "MIT" ]
12
2021-04-03T16:50:22.000Z
2022-03-18T07:14:14.000Z
src/ngfx/porting/d3d/D3DBlitOp.cpp
kamranrad1993/ngfx
eeef60e3419a88371a97e8bc3109d2b35b82cc89
[ "Apache-2.0", "MIT-0", "MIT" ]
6
2021-05-06T21:02:19.000Z
2022-02-14T11:57:27.000Z
src/ngfx/porting/d3d/D3DBlitOp.cpp
kamranrad1993/ngfx
eeef60e3419a88371a97e8bc3109d2b35b82cc89
[ "Apache-2.0", "MIT-0", "MIT" ]
5
2021-06-11T20:15:37.000Z
2022-03-18T07:14:21.000Z
/* * Copyright 2020 GoPro Inc. * * 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 Licens...
46.916667
81
0.707371
kamranrad1993
ca0ee4b8901d4b9a6a48976d48f2ec7ba948b908
843
cpp
C++
Ivor_Horton_Beginning_Visual_C++_2010/Ch03/Ex3_11.cpp
hyller/GladiatorLibrary
38d99f345db80ebb00116e54c91eada7968fa447
[ "Unlicense" ]
7
2018-07-22T14:29:58.000Z
2021-05-03T04:40:13.000Z
Ivor_Horton_Beginning_Visual_C++_2010/Ch03/Ex3_11.cpp
hyller/GladiatorLibrary
38d99f345db80ebb00116e54c91eada7968fa447
[ "Unlicense" ]
null
null
null
Ivor_Horton_Beginning_Visual_C++_2010/Ch03/Ex3_11.cpp
hyller/GladiatorLibrary
38d99f345db80ebb00116e54c91eada7968fa447
[ "Unlicense" ]
5
2019-02-13T14:50:51.000Z
2020-07-24T09:05:22.000Z
// Ex3_11.cpp // Display ASCII codes for alphabetic characters #include <iostream> #include <iomanip> using std::cout; using std::endl; using std::hex; using std::dec; using std::setw; int main() { for(char capital = 'A', small = 'a'; capital <= 'Z'; capital++, small++) cout << endl ...
32.423077
84
0.521945
hyller
ca15cc9a6bff8f756a3371f74272be63a6266ed1
3,450
hpp
C++
include/engine/game/archetype.hpp
eXl-Nic/eXl
a5a0f77f47db3179365c107a184bb38b80280279
[ "MIT" ]
null
null
null
include/engine/game/archetype.hpp
eXl-Nic/eXl
a5a0f77f47db3179365c107a184bb38b80280279
[ "MIT" ]
null
null
null
include/engine/game/archetype.hpp
eXl-Nic/eXl
a5a0f77f47db3179365c107a184bb38b80280279
[ "MIT" ]
null
null
null
/* Copyright 2009-2021 Nicolas Colombe 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, publish, distribute...
37.5
460
0.769275
eXl-Nic
ca16e30148e68fc7c5a1e45232e6bdc1f1adcf6d
1,108
hpp
C++
inference-engine/tests/functional/shared_test_classes/include/shared_test_classes/single_layer/memory.hpp
WangChenchen925/openvino
7a239c3856505dc52dc7fe5e44c1b1813797a452
[ "Apache-2.0" ]
1
2022-02-10T08:05:09.000Z
2022-02-10T08:05:09.000Z
inference-engine/tests/functional/shared_test_classes/include/shared_test_classes/single_layer/memory.hpp
WangChenchen925/openvino
7a239c3856505dc52dc7fe5e44c1b1813797a452
[ "Apache-2.0" ]
40
2020-12-04T07:46:57.000Z
2022-02-21T13:04:40.000Z
inference-engine/tests/functional/shared_test_classes/include/shared_test_classes/single_layer/memory.hpp
DariaMityagina/openvino
5765a7e35c27102d92eb1f84d982e02d2b574ba7
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <memory> #include <string> #include <tuple> #include <vector> #include "shared_test_classes/base/layer_test_utils.hpp" namespace LayerTestsDefinitions { using MemoryTestParams = std::tuple< int64_t,...
29.945946
123
0.699458
WangChenchen925
ca184cc2e83a8e02bf4badfd559a6662ac3e5268
4,785
cpp
C++
src/ui/Windows/filter/FilterStringDlg.cpp
sorinAche23/Psafe
d23aa0c8b58a8f6e55284083978e865ae13b4c8f
[ "Artistic-2.0" ]
1
2017-04-25T07:37:51.000Z
2017-04-25T07:37:51.000Z
src/ui/Windows/filter/FilterStringDlg.cpp
sorinAche23/Psafe
d23aa0c8b58a8f6e55284083978e865ae13b4c8f
[ "Artistic-2.0" ]
null
null
null
src/ui/Windows/filter/FilterStringDlg.cpp
sorinAche23/Psafe
d23aa0c8b58a8f6e55284083978e865ae13b4c8f
[ "Artistic-2.0" ]
null
null
null
/* * Copyright (c) 2003-2015 Rony Shapiro <ronys@users.sourceforge.net>. * All rights reserved. Use of the code is allowed under the * Artistic License 2.0 terms, as specified in the LICENSE file * distributed with this code, or available from * http://www.opensource.org/licenses/artistic-license-2.0.php */ // FilterS...
28.147059
88
0.663114
sorinAche23
ca1d2d470446e70c127d097c0a33c350d568ed2d
1,751
cpp
C++
VulkanGUI/GUI/GUIWindow.cpp
SamBoots/VulkanRenderer
3203563b30f6d3c82351e5d06208f780cb9fd292
[ "MIT" ]
1
2022-02-15T22:34:35.000Z
2022-02-15T22:34:35.000Z
VulkanGUI/GUI/GUIWindow.cpp
SamBoots/VulkanRenderer
3203563b30f6d3c82351e5d06208f780cb9fd292
[ "MIT" ]
null
null
null
VulkanGUI/GUI/GUIWindow.cpp
SamBoots/VulkanRenderer
3203563b30f6d3c82351e5d06208f780cb9fd292
[ "MIT" ]
null
null
null
#include "GUIWindow.h" #pragma warning (push, 0) #include "ImGUI/imgui.h" #pragma warning (pop) namespace GUI { GUIWindow::GUIWindow(GUICreationData a_CreationData) { m_Position = a_CreationData.position; m_Scale = a_CreationData.scale; m_WindowName = a_CreationData.windowName; m_Parent = a_CreationData.p...
20.845238
98
0.696174
SamBoots
ca1e5cd1a56e793dd8006902f91f5c4c6a6374a5
6,064
cpp
C++
src/bsp/Wad.cpp
UnrealKaraulov/bspguy_alt
c55cc7fea671bb0d4df1cb193cb6348b694c4844
[ "Unlicense" ]
8
2022-01-25T07:54:29.000Z
2022-01-29T06:52:25.000Z
src/bsp/Wad.cpp
Ariper999/newbspguy
c662462dd612b85b6ea4507bc462681351d84f73
[ "Unlicense" ]
10
2022-02-09T19:56:03.000Z
2022-03-20T04:06:26.000Z
src/bsp/Wad.cpp
Ariper999/newbspguy
c662462dd612b85b6ea4507bc462681351d84f73
[ "Unlicense" ]
2
2022-01-21T13:52:59.000Z
2022-02-20T17:12:56.000Z
#include <iostream> #include <fstream> #include <string.h> #include "Wad.h" #include "util.h" #ifdef WIN32 #define strcasecmp _stricmp #endif Wad::Wad(void) { numTex = -1; dirEntries = NULL; } Wad::Wad(const std::string& file) { this->filename = file; numTex = -1; dirEntries = NULL; } Wa...
22.542751
86
0.58938
UnrealKaraulov
ca1e650180bd4c67be321cdda72606af70b5e128
40,313
cpp
C++
src/cinder/text/gl/TextureRenderer.cpp
PetrosKataras/Cinder-Text
d3d84dbdd31973f78dbbbcbdc9323676861bb7ac
[ "MIT" ]
4
2018-10-07T21:33:46.000Z
2018-10-08T19:50:28.000Z
src/cinder/text/gl/TextureRenderer.cpp
PetrosKataras/Cinder-Text
d3d84dbdd31973f78dbbbcbdc9323676861bb7ac
[ "MIT" ]
null
null
null
src/cinder/text/gl/TextureRenderer.cpp
PetrosKataras/Cinder-Text
d3d84dbdd31973f78dbbbcbdc9323676861bb7ac
[ "MIT" ]
1
2019-05-08T08:53:03.000Z
2019-05-08T08:53:03.000Z
#include "cinder/text/gl/TextureRenderer.h" #include "cinder/gl/gl.h" #include "cinder/gl/scoped.h" #include "cinder/gl/ConstantConversions.h" #include "cinder/GeomIo.h" #include "cinder/ip/Fill.h" #include "cinder/ip/Flip.h" #include "cinder/Log.h" #include "cinder/text/FontManager.h" using namespace ci...
35.99375
247
0.670776
PetrosKataras
ca20a9b62ded2755c712ce5a2c362fbcfd3350e7
4,902
cc
C++
base/bootstrap/src/import_files.cc
dgcl/motis
6b134f80aa3b6445f710418962f1fed9cffda3a0
[ "MIT" ]
null
null
null
base/bootstrap/src/import_files.cc
dgcl/motis
6b134f80aa3b6445f710418962f1fed9cffda3a0
[ "MIT" ]
null
null
null
base/bootstrap/src/import_files.cc
dgcl/motis
6b134f80aa3b6445f710418962f1fed9cffda3a0
[ "MIT" ]
1
2021-10-06T13:48:23.000Z
2021-10-06T13:48:23.000Z
#include "motis/bootstrap/import_files.h" #include <algorithm> #include <iostream> #include <regex> #include <vector> #include "boost/algorithm/string/predicate.hpp" #include "boost/filesystem.hpp" #include "cista/hash.h" #include "cista/mmap.h" #include "utl/pipes.h" #include "motis/core/common/logging.h" #includ...
31.423077
79
0.603019
dgcl
ca222b30270cc2efebe1180bda757bdabc3c0773
2,387
cpp
C++
examples/imgproc/pyramid_test.cpp
waterben/LineExtraction
d247de45417a1512a3bf5d0ffcd630d40ffb8798
[ "MIT" ]
1
2020-06-12T13:30:56.000Z
2020-06-12T13:30:56.000Z
examples/imgproc/pyramid_test.cpp
waterben/LineExtraction
d247de45417a1512a3bf5d0ffcd630d40ffb8798
[ "MIT" ]
null
null
null
examples/imgproc/pyramid_test.cpp
waterben/LineExtraction
d247de45417a1512a3bf5d0ffcd630d40ffb8798
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <string> #include <ctime> #include <opencv2/opencv.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/imgproc/types_c.h> #include <imgproc/derivative_gradient.hpp> #include <imgproc/pyramid.hpp> #include <utility/matlab_helpers.hpp> #include <edge/nms...
29.469136
92
0.573104
waterben
ca2456a6c5539453ef3e638c3627d86d5f2089d9
8,955
cpp
C++
wxWidgets/tests/streams/datastreamtest.cpp
VonaInc/lokl
83fbaa9c73d3112490edd042da812ceeb3cc9e53
[ "MIT" ]
86
2015-08-06T11:30:01.000Z
2022-02-28T04:50:22.000Z
wxWidgets/tests/streams/datastreamtest.cpp
VonaInc/lokl
83fbaa9c73d3112490edd042da812ceeb3cc9e53
[ "MIT" ]
6
2016-01-04T19:36:22.000Z
2021-08-08T02:43:48.000Z
wxWidgets/tests/streams/datastreamtest.cpp
VonaInc/lokl
83fbaa9c73d3112490edd042da812ceeb3cc9e53
[ "MIT" ]
22
2015-11-04T04:04:54.000Z
2022-02-28T04:50:24.000Z
/////////////////////////////////////////////////////////////////////////////// // Name: tests/streams/datastreamtest.cpp // Purpose: wxDataXXXStream Unit Test // Author: Ryan Norton // Created: 2004-08-14 // Copyright: (c) 2004 Ryan Norton /////////////////////////////////////////////////////////...
28.338608
141
0.642434
VonaInc
ca248ea126c5e6bdc9354bc8820f0a71f1dbf2bc
171,252
hpp
C++
siquan/algo/legacy/fastmath_detail.hpp
PlanQK/SimulatedQuantumAnnealing
01468ac8fa04a3341baa83168078830337ac0819
[ "ECL-2.0", "Apache-2.0" ]
1
2022-02-09T07:08:45.000Z
2022-02-09T07:08:45.000Z
siquan/algo/legacy/fastmath_detail.hpp
PlanQK/SimulatedQuantumAnnealing
01468ac8fa04a3341baa83168078830337ac0819
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
siquan/algo/legacy/fastmath_detail.hpp
PlanQK/SimulatedQuantumAnnealing
01468ac8fa04a3341baa83168078830337ac0819
[ "ECL-2.0", "Apache-2.0" ]
1
2022-03-17T00:31:08.000Z
2022-03-17T00:31:08.000Z
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright 2014, ETH Zurich, ITP, Troels F. Roennow * * Copyright 2015-2018, ETH Zurich, ITP, Mario S. Koenz * * ...
73.879206
80
0.661043
PlanQK
ca2bae03c6a42ab43d72be66ce4d8cd4b0fc9b29
1,179
cpp
C++
codeforces/136d1/C.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
codeforces/136d1/C.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
codeforces/136d1/C.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
5
2015-05-25T06:24:40.000Z
2021-08-19T19:22:29.000Z
#include <cassert> #include <vector> #include <algorithm> #include <iostream> #include <cstdio> #include <cstdlib> #include <cmath> #include <string> #include <cstring> #include <set> using namespace std; const int MAXN = 100000; int A[MAXN]; int B[MAXN]; int revA[MAXN]; int revB[MAXN]; int query(int x, const multise...
18.714286
56
0.461408
ibudiselic
ca30bca3bc74b1fd424be2f65904a70aabce5c27
6,053
cc
C++
src/mem/ruby/network/orion/OrionConfig.cc
SteveXiSong/UW-Madison-ECE757-S15-MulticaseSnooping
80b9f5afa9492ac35c0f161a80cdcf5c70054e00
[ "BSD-3-Clause" ]
14
2015-06-25T03:00:17.000Z
2021-09-26T16:33:43.000Z
src/mem/ruby/network/orion/OrionConfig.cc
SteveXiSong/UW-Madison-ECE757-S15-MulticaseSnooping
80b9f5afa9492ac35c0f161a80cdcf5c70054e00
[ "BSD-3-Clause" ]
4
2015-01-13T18:27:31.000Z
2015-01-13T18:27:57.000Z
src/mem/ruby/network/orion/OrionConfig.cc
SteveXiSong/UW-Madison-ECE757-S15-MulticaseSnooping
80b9f5afa9492ac35c0f161a80cdcf5c70054e00
[ "BSD-3-Clause" ]
5
2016-10-19T07:25:58.000Z
2020-12-12T18:35:37.000Z
/* * Copyright (c) 2010 Massachusetts Institute of Technology * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: redistributions of source code must retain the above copyright * notice, this...
29.965347
87
0.727408
SteveXiSong
ca323b8113742eb557cabed14c4a62b3a220ced8
31,109
cpp
C++
src/Etterna/MinaCalc/MinaCalc.cpp
SharpnelXu/etterna
8775f74ac9c353320128609d4b4150672e9a6d04
[ "MIT" ]
1
2022-02-22T01:24:02.000Z
2022-02-22T01:24:02.000Z
src/Etterna/MinaCalc/MinaCalc.cpp
john-marinelli/etterna
8775f74ac9c353320128609d4b4150672e9a6d04
[ "MIT" ]
null
null
null
src/Etterna/MinaCalc/MinaCalc.cpp
john-marinelli/etterna
8775f74ac9c353320128609d4b4150672e9a6d04
[ "MIT" ]
null
null
null
#include "MinaCalc.h" #include "Ulbu.h" #include "MinaCalcHelpers.h" #include <cmath> #include <iostream> #include <algorithm> #include <array> #include <string> #include <utility> #include <cassert> using std::max; using std::min; using std::pow; static const std::array<std::pair<unsigned, std::string_view>, 16> ...
31.14014
105
0.676557
SharpnelXu
ca39c2a4d95853e3c6fe520886941528cf3fb8e8
3,022
cpp
C++
tests/CCodeGenTests/CCodeGenTests_Tuples.cpp
mattmassicotte/three
3986c656724d1317bdb46d4777f8f952103d7ce7
[ "MIT" ]
8
2015-01-02T21:40:55.000Z
2016-05-12T10:48:09.000Z
tests/CCodeGenTests/CCodeGenTests_Tuples.cpp
mattmassicotte/three
3986c656724d1317bdb46d4777f8f952103d7ce7
[ "MIT" ]
null
null
null
tests/CCodeGenTests/CCodeGenTests_Tuples.cpp
mattmassicotte/three
3986c656724d1317bdb46d4777f8f952103d7ce7
[ "MIT" ]
null
null
null
#include "CCodeGenTestsBase.h" class CCodeGenTests_Tuples : public CCodeGenTestsBase { }; TEST_F(CCodeGenTests_Tuples, FunctionDefinitionWithMultipleReturns) { Three::CCodeGenVisitor* visitor = this->visit("def test() -> (Int x, Int y)\nend\n"); EXPECT_EQ("", visitor->declarationsString()); EXPECT_EQ("ty...
45.787879
98
0.518862
mattmassicotte
ca3b4430d6c5c12a9fece01354beb28748c829b5
259
cpp
C++
Algorithmic Tool Box/week3_greedy_algorithms/1_money_change/change.cpp
18Pranjul/Data-Structures-and-Algorithms-Specialization-Coursera
1d2f3a4ee390f0297de29de84205ef5f2a40f31d
[ "MIT" ]
null
null
null
Algorithmic Tool Box/week3_greedy_algorithms/1_money_change/change.cpp
18Pranjul/Data-Structures-and-Algorithms-Specialization-Coursera
1d2f3a4ee390f0297de29de84205ef5f2a40f31d
[ "MIT" ]
null
null
null
Algorithmic Tool Box/week3_greedy_algorithms/1_money_change/change.cpp
18Pranjul/Data-Structures-and-Algorithms-Specialization-Coursera
1d2f3a4ee390f0297de29de84205ef5f2a40f31d
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; #define MOD 1000000007 typedef long long int ll; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); int m,a,b; cin>>m; a=m/10; m-=(a*10); b=m/5; m-=(b*5); cout<<a+b+m; return 0; }
14.388889
35
0.594595
18Pranjul
ca3b5937b9403171d2324b612f891c335e90b50b
1,145
cc
C++
cpp/polymorphism/test.cc
hackin-zhao/interesting_code
25fecb716f5c8f9143ec2824bbf8996b347ce8a9
[ "MIT" ]
1
2021-09-22T10:56:13.000Z
2021-09-22T10:56:13.000Z
cpp/polymorphism/test.cc
hackin-zhao/interesting_code
25fecb716f5c8f9143ec2824bbf8996b347ce8a9
[ "MIT" ]
1
2022-02-15T03:53:47.000Z
2022-02-15T03:53:47.000Z
cpp/polymorphism/test.cc
hackin-zhao/interesting_code
25fecb716f5c8f9143ec2824bbf8996b347ce8a9
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <iostream> class Shape { protected: int width, height; public: Shape(int a = 0, int b = 0) { width = a; height = b; } virtual int area() { std::cout << "Parent class area:" << std::endl; return 0; } }; class Rectangle ...
16.126761
58
0.528384
hackin-zhao
ca3d70630131b27fe0583c82320ab61472660696
1,494
cpp
C++
docs/ds/code/decompose/decompose_1.cpp
xiaocairush/xiaocairush.github.io
4f1d864b9b3fba1e2100f6a50932756c0373971c
[ "MIT" ]
null
null
null
docs/ds/code/decompose/decompose_1.cpp
xiaocairush/xiaocairush.github.io
4f1d864b9b3fba1e2100f6a50932756c0373971c
[ "MIT" ]
null
null
null
docs/ds/code/decompose/decompose_1.cpp
xiaocairush/xiaocairush.github.io
4f1d864b9b3fba1e2100f6a50932756c0373971c
[ "MIT" ]
null
null
null
#include <cmath> #include <iostream> using namespace std; int id[50005], len; // id 表示块的编号, len=sqrt(n) , sqrt的时候时间复杂度最优 long long a[50005], b[50005], s[50005]; // a 数组表示数据数组, b 表示区间和, s 表示块长,因为块可能不是完整的所以要开数组 void add(int l, int r, long long x) { //区间加法 int sid = id[l], eid = id[r]; if (sid == eid) { //在一个块中 ...
27.666667
69
0.471218
xiaocairush
ca3eda28485007b553bdb698e709487cd46d678f
137,256
cpp
C++
llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
jimingham/llvm-project
598fd4f8d7ed21b6c4473aec85265f49512d25bd
[ "Apache-2.0" ]
1
2021-07-07T08:42:01.000Z
2021-07-07T08:42:01.000Z
llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
jimingham/llvm-project
598fd4f8d7ed21b6c4473aec85265f49512d25bd
[ "Apache-2.0" ]
2
2022-02-19T07:12:22.000Z
2022-02-27T11:21:53.000Z
llvm-project/llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
ananthdurbha/llvm-mlir
a5e0b8903b83c777fa40a0fa538fbdb8176fd5ac
[ "MIT" ]
null
null
null
//===-- NVPTXISelDAGToDAG.cpp - A dag to dag inst selector for NVPTX ------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
36.436422
81
0.64379
jimingham
ca423fcb47a5ddf10bc18d894ea4edb6e7b1e887
489
cpp
C++
ural/1167.cpp
jffifa/algo-solution
af2400d6071ee8f777f9473d6a34698ceef08355
[ "MIT" ]
5
2015-07-14T10:29:25.000Z
2016-10-11T12:45:18.000Z
ural/1167.cpp
jffifa/algo-solution
af2400d6071ee8f777f9473d6a34698ceef08355
[ "MIT" ]
null
null
null
ural/1167.cpp
jffifa/algo-solution
af2400d6071ee8f777f9473d6a34698ceef08355
[ "MIT" ]
3
2016-08-23T01:05:26.000Z
2017-05-28T02:04:20.000Z
#include <cstdio> #include <cstring> #include <algorithm> using namespace std; int N, K; int sum[505]; int f[505][505]; int main() { int i, j, k; scanf("%d%d", &N, &K); for (i = 1; i <= N; ++i) { scanf("%d", sum+i); sum[i] += sum[i-1]; } memset(f, 127, sizeof(f)); f[0][0] = 0; for (j = 1; j <= K; ++j) f...
17.464286
76
0.466258
jffifa
ca4b5bd809dc0c1a084beecfdc14deb586a4e92b
5,632
hpp
C++
Runtime/World/CScriptPlatform.hpp
RetroView/RetroCommon
a413a010b50a53ebc6b0c726203181fc179d3370
[ "MIT" ]
267
2016-03-10T21:59:16.000Z
2021-03-28T18:21:03.000Z
Runtime/World/CScriptPlatform.hpp
cobalt2727/metaforce
3bb05c0ee5dd9b1b8eaa861fc49713aef62c844a
[ "MIT" ]
129
2016-03-12T10:17:32.000Z
2021-04-05T20:45:19.000Z
Runtime/World/CScriptPlatform.hpp
cobalt2727/metaforce
3bb05c0ee5dd9b1b8eaa861fc49713aef62c844a
[ "MIT" ]
31
2016-03-20T00:20:11.000Z
2021-03-10T21:14:11.000Z
#pragma once #include <memory> #include <optional> #include <string_view> #include <vector> #include "Runtime/CToken.hpp" #include "Runtime/RetroTypes.hpp" #include "Runtime/rstl.hpp" #include "Runtime/Collision/CCollidableOBBTreeGroup.hpp" #include "Runtime/World/CDamageVulnerability.hpp" #include "Runtime/World/CHe...
45.419355
120
0.760298
RetroView
ca4bc066f7be3558d8e63837d31c3faeb155b21b
4,200
cpp
C++
app/medPluginGenerator/template/registration/typeToolBox.cpp
papadop/medInria-public
fd8bec14c97bb95bf4d58a60741ef3b7c159f757
[ "BSD-4-Clause" ]
null
null
null
app/medPluginGenerator/template/registration/typeToolBox.cpp
papadop/medInria-public
fd8bec14c97bb95bf4d58a60741ef3b7c159f757
[ "BSD-4-Clause" ]
null
null
null
app/medPluginGenerator/template/registration/typeToolBox.cpp
papadop/medInria-public
fd8bec14c97bb95bf4d58a60741ef3b7c159f757
[ "BSD-4-Clause" ]
null
null
null
/*========================================================================= medInria Copyright (c) INRIA 2013. All rights reserved. See LICENSE.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ====...
29.577465
103
0.645476
papadop
ca524cdab7dfa6a212c5840c9f141a1605c4c739
2,397
cpp
C++
src/client/graphical/meshopener/MeshOpener.cpp
arthurmco/familyline
849eee40cff266af9a3f848395ed139b7ce66197
[ "MIT" ]
6
2018-05-11T23:16:02.000Z
2019-06-13T01:35:07.000Z
src/client/graphical/meshopener/MeshOpener.cpp
arthurmco/familyline
849eee40cff266af9a3f848395ed139b7ce66197
[ "MIT" ]
33
2018-05-11T14:12:22.000Z
2022-03-12T00:55:25.000Z
src/client/graphical/meshopener/MeshOpener.cpp
arthurmco/familyline
849eee40cff266af9a3f848395ed139b7ce66197
[ "MIT" ]
1
2018-12-06T23:39:55.000Z
2018-12-06T23:39:55.000Z
#include <client/graphical/meshopener/MeshOpener.hpp> #include <common/logger.hpp> #include <stdexcept> using namespace familyline::graphics; #include <cstring> std::unordered_map<std::string /* extension */, MeshOpenerRef /*opener*/> MeshOpener::openers = {}; /* Register the extension into the main class */ void M...
29.231707
99
0.654568
arthurmco
ca535c6f4bd04a4a77350648c807739ddb37f7ba
1,250
cpp
C++
Source/Lightrail/DeliveryParseError.cpp
xylamic/lightrail-pubsub-integration-framework
a7abc543982dca46119c0135af1d31c6f182797c
[ "MIT" ]
1
2019-08-25T13:47:18.000Z
2019-08-25T13:47:18.000Z
Source/Lightrail/DeliveryParseError.cpp
xylamic/lightrail-pubsub-integration-framework
a7abc543982dca46119c0135af1d31c6f182797c
[ "MIT" ]
null
null
null
Source/Lightrail/DeliveryParseError.cpp
xylamic/lightrail-pubsub-integration-framework
a7abc543982dca46119c0135af1d31c6f182797c
[ "MIT" ]
null
null
null
/*! @file DeliveryParseError.cpp @author Adam Jordan This file is part of the Xylasoft Lightrail product. Copyright (c) 2011 Adam Jordan, Xylasoft, All Rights Reserved http://www.xylasoft.com Licensed for use under the MIT License See accompanying LICENSE file for more information */ #include "DeliveryParseError.h"...
22.727273
127
0.7792
xylamic
ca53e81c0cebf6539a1752ffea8c43f68dfe1565
1,126
cpp
C++
Dicom_Transfer/Dicom_Transfer/MySCP/testSCP.cpp
pyb0924/BM425
17adba97a9a9043f74bfe69efbefb05eaccf6c4c
[ "MIT" ]
4
2021-11-11T13:27:06.000Z
2022-03-04T10:13:31.000Z
Dicom_Transfer/Dicom_Transfer/MySCP/testSCP.cpp
pyb0924/BM425
17adba97a9a9043f74bfe69efbefb05eaccf6c4c
[ "MIT" ]
null
null
null
Dicom_Transfer/Dicom_Transfer/MySCP/testSCP.cpp
pyb0924/BM425
17adba97a9a9043f74bfe69efbefb05eaccf6c4c
[ "MIT" ]
null
null
null
#include <boost/program_options.hpp> #include "MySCP.h" namespace po = boost::program_options; int main(int argc, char const* argv[]) { int port; std::string aetName; std::string sDicomPath; std::string outputFileName; int iCompressOption = 0; po::options_description cmd("MySCP"); cmd.add_options() ("port,...
22.979592
101
0.669627
pyb0924
ca550f88869420cece16a5d4bc6a00815efe6e35
45,757
cpp
C++
Battle.cpp
tsuki9999/MchBattleSimulator
0b4a064a886ecb6a8034f880667260fffd406558
[ "MIT" ]
3
2020-01-27T04:42:05.000Z
2022-02-23T09:50:10.000Z
Battle.cpp
tsuki9999/MchBattleSimulator
0b4a064a886ecb6a8034f880667260fffd406558
[ "MIT" ]
null
null
null
Battle.cpp
tsuki9999/MchBattleSimulator
0b4a064a886ecb6a8034f880667260fffd406558
[ "MIT" ]
1
2020-01-27T04:42:33.000Z
2020-01-27T04:42:33.000Z
#include "Battle.hpp" bool Battle::fileOpen() { string s; ifstream ifs; int a = -1; for ( int i = 1; i < 1000; i++ ) { s = "battle_log_" + to_string(i) + ".txt"; ifs.open( s ); if ( !ifs ) { a = i; ifs.close(); break; ...
30.024278
232
0.559477
tsuki9999
ca555ba77268d3f650c3dfea74fbb78874dbfba6
2,091
hpp
C++
externals/boost/boost/asio/detail/memory.hpp
YuukiTsuchida/v8_embeded
c6e18f4e91fcc50607f8e3edc745a3afa30b2871
[ "MIT" ]
41
2016-04-09T07:48:10.000Z
2022-03-01T15:46:08.000Z
jeff/common/include/boost/asio/detail/memory.hpp
jeffphi/advent-of-code-2018
8e54bd23ebfe42fcbede315f0ab85db903551532
[ "MIT" ]
9
2015-09-23T10:54:50.000Z
2020-01-04T21:16:57.000Z
jeff/common/include/boost/asio/detail/memory.hpp
jeffphi/advent-of-code-2018
8e54bd23ebfe42fcbede315f0ab85db903551532
[ "MIT" ]
29
2015-10-01T14:44:42.000Z
2022-01-05T01:28:43.000Z
// // detail/memory.hpp // ~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #ifndef BOOST_ASIO_DETA...
28.643836
80
0.734099
YuukiTsuchida
ca5804f6db4a06c85084d56c9e93536cf994114b
8,149
hpp
C++
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Middlewares/ST/TouchGFX/touchgfx/framework/include/touchgfx/containers/Container.hpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
3
2020-11-07T07:01:59.000Z
2022-03-06T10:54:52.000Z
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Middlewares/ST/TouchGFX/touchgfx/framework/include/touchgfx/containers/Container.hpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
1
2020-11-14T16:53:09.000Z
2020-11-14T16:53:09.000Z
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Middlewares/ST/TouchGFX/touchgfx/framework/include/touchgfx/containers/Container.hpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
3
2020-03-15T14:35:38.000Z
2021-04-07T14:55:42.000Z
/** ****************************************************************************** * This file is part of the TouchGFX 4.10.0 distribution. * * <h2><center>&copy; Copyright (c) 2018 STMicroelectronics. * All rights reserved.</center></h2> * * This software component is licensed by ST under Ultimate Libert...
32.082677
142
0.614799
ramkumarkoppu
3ed5a7eac1b3d7596057768c1ab1da5abbbd39fc
2,044
hpp
C++
SDK/ARKSurvivalEvolved_StriderHacking_HUD_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_StriderHacking_HUD_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_StriderHacking_HUD_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_StriderHacking_HUD_structs.hpp" namespace sdk { //--------------------------------------------------------------------------- //Classes //------------------------------------------------------...
40.078431
192
0.630626
2bite
3ed7a754beea1f39fd2d268f793b9a52465c3b37
479
cpp
C++
hls/net_eth_pkt_gen/pkt_gen_test.cpp
3it-nano/fpga_readings
f83c6293d3958f0825024308dd62e76b35839b2f
[ "Apache-2.0" ]
118
2018-11-10T18:35:42.000Z
2019-11-07T11:48:41.000Z
hls/net_eth_pkt_gen/pkt_gen_test.cpp
rohitk-singh/FPGA
fa75c689635a4a7b29fd7d97256cc29bd1cc3f89
[ "Apache-2.0" ]
6
2019-01-14T06:56:15.000Z
2019-06-24T18:02:34.000Z
hls/net_eth_pkt_gen/pkt_gen_test.cpp
rohitk-singh/FPGA
fa75c689635a4a7b29fd7d97256cc29bd1cc3f89
[ "Apache-2.0" ]
27
2019-01-15T16:35:15.000Z
2019-10-28T16:06:08.000Z
#include "ap_axi_sdata.h" #include "pkt_gen.h" int main(void) { hls::stream<my_axis> output; struct my_axis val; unsigned char c; int i, j, len; pkt_gen(&output); for (i = 0; i < NR_LOOPS; i++) { for (len = MIN_PKT_SIZE; len < MAX_PKT_SIZE; len += PKT_SIZE_STEP) { for (j = 0; j < len ; j++) { val = ou...
18.423077
70
0.54071
3it-nano
3ed88a7fc374f13184078fe642055813ab5eb64b
2,749
hpp
C++
include/codegen/include/System/IO/FileAction.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/System/IO/FileAction.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/System/IO/FileAction.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:10:18 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes // Including type: System.Enum #include "System/Enum.hpp" #include "utils/il2cpp-utils.hpp" // Completed in...
48.22807
82
0.722081
Futuremappermydud
3edc3a9772a15a2b75422855a399ef66a4025b3f
622
cpp
C++
Stack Queue Deque/reverse-stack.cpp
RADIUMz-Codes/Learning-DSA
e316d07f8ba92bfe59a520374f3fc0a59bd62ab1
[ "MIT" ]
3
2021-09-26T21:12:40.000Z
2022-02-11T04:29:20.000Z
Stack Queue Deque/reverse-stack.cpp
theabhikr03/Learning-DSA
e316d07f8ba92bfe59a520374f3fc0a59bd62ab1
[ "MIT" ]
null
null
null
Stack Queue Deque/reverse-stack.cpp
theabhikr03/Learning-DSA
e316d07f8ba92bfe59a520374f3fc0a59bd62ab1
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; void transfer(stack<int> &s1, stack<int> &s2, int n) { for (int i = 0; i < n; i++) { s2.push(s1.top()); s1.pop(); } } void reverse(stack<int> &s1) { stack<int> s2; int n = s1.size(); for (int i = 0; i < n; i++) { int x = s1.top(); s1.pop(); transfer(s1,...
12.196078
52
0.501608
RADIUMz-Codes
3ee4fdf94e2fa42a80f7d4dd0349a2dac4cf6e1b
41,259
cpp
C++
bootstrap/Gizmos.cpp
lodisperkins/ComputerGraphics
8cc01715217c40f8b99489b8104ea3127e5b2003
[ "MIT" ]
null
null
null
bootstrap/Gizmos.cpp
lodisperkins/ComputerGraphics
8cc01715217c40f8b99489b8104ea3127e5b2003
[ "MIT" ]
null
null
null
bootstrap/Gizmos.cpp
lodisperkins/ComputerGraphics
8cc01715217c40f8b99489b8104ea3127e5b2003
[ "MIT" ]
null
null
null
#include "Gizmos.h" #include "gl_core_4_4.h" #include <glm/glm.hpp> #include <glm/ext.hpp> #include <iostream> namespace aie { Gizmos* Gizmos::sm_singleton = nullptr; Gizmos::Gizmos(unsigned int maxLines, unsigned int maxTris, unsigned int max2DLines, unsigned int max2DTris) : m_maxLines(maxLines), m_lineCou...
39.071023
167
0.698005
lodisperkins
3ee7e1b8b9a6c8fbb67e1abc72588a3bf1b40199
3,079
hh
C++
include/G4LindhardPartition.hh
hbehnami/detectorSimulations_v10
7157364a5864f619f0d3ee30045a2fc8c4ce6522
[ "MIT" ]
1
2020-06-26T15:29:46.000Z
2020-06-26T15:29:46.000Z
include/G4LindhardPartition.hh
hbehnami/detectorSimulations_v10
7157364a5864f619f0d3ee30045a2fc8c4ce6522
[ "MIT" ]
1
2020-08-05T18:03:43.000Z
2020-08-05T18:03:43.000Z
include/G4LindhardPartition.hh
hbehnami/detectorSimulations_v10
7157364a5864f619f0d3ee30045a2fc8c4ce6522
[ "MIT" ]
1
2020-06-08T14:21:23.000Z
2020-06-08T14:21:23.000Z
/* * This file is required by the G4ScreenedNuclearRecoil class. It is * included unmodified from the Geant4.10.03 example * extended/electromagnetic/TestEm7 * * dhymers 2017/06/12 */ // // ******************************************************************** // * License and Disclaimer ...
39.474359
86
0.583306
hbehnami
3ee8330cd4f10609b3c734d8e3e5df7ba023fd8f
2,315
cpp
C++
tests/unit/samples.cpp
igagis/svgdom
345a3b18651897aa40d398ae499e4056fd249240
[ "MIT" ]
34
2015-12-12T15:30:47.000Z
2020-10-08T12:44:19.000Z
tests/unit/samples.cpp
igagis/svgdom
345a3b18651897aa40d398ae499e4056fd249240
[ "MIT" ]
32
2015-10-30T17:45:13.000Z
2020-09-07T10:57:52.000Z
tests/unit/samples.cpp
igagis/svgdom
345a3b18651897aa40d398ae499e4056fd249240
[ "MIT" ]
14
2016-10-15T02:12:19.000Z
2020-04-30T23:46:47.000Z
#include <utki/config.hpp> #if M_COMPILER != M_COMPILER_MSVC || M_COMPILER_MSVC_TOOLS_V >= 142 #include <tst/set.hpp> #include <tst/check.hpp> #include <papki/fs_file.hpp> #include <papki/vector_file.hpp> #include <utki/linq.hpp> #include <regex> #include <clocale> #include "../../src/svgdom/dom.hpp" namespace{ ...
30.460526
189
0.548164
igagis
3eecdf811c91d462e0ceae3b5202c02495a85a7e
5,826
cpp
C++
src/gui/ImGuiWrapper.cpp
Person-93/aima-cpp
08d062dcb971edeaddb9a10083cf6da5a1b869f7
[ "MIT" ]
null
null
null
src/gui/ImGuiWrapper.cpp
Person-93/aima-cpp
08d062dcb971edeaddb9a10083cf6da5a1b869f7
[ "MIT" ]
null
null
null
src/gui/ImGuiWrapper.cpp
Person-93/aima-cpp
08d062dcb971edeaddb9a10083cf6da5a1b869f7
[ "MIT" ]
null
null
null
#include "ImGuiWrapper.hpp" // IWYU pragma: associated #include <GL/glcorearb.h> #include <GL/gl3w.h> #include <GLFW/glfw3.h> #include "core/Exception.hpp" #include "imgui_internal.h" #include <examples/imgui_impl_opengl3.h> #include <examples/imgui_impl_glfw.h> #include "util/define_logger.hpp" using namespace aima:...
29.276382
124
0.671644
Person-93
3eed3ca5462a74de359fcc70fb4b05dfbd3af6d7
7,684
cpp
C++
opt/nomad/src/Algos/LatinHypercubeSampling/LH.cpp
scikit-quant/scikit-quant
397ab0b6287f3815e9bcadbfadbe200edbee5a23
[ "BSD-3-Clause-LBNL" ]
31
2019-02-05T16:39:18.000Z
2022-03-11T23:14:11.000Z
opt/nomad/src/Algos/LatinHypercubeSampling/LH.cpp
scikit-quant/scikit-quant
397ab0b6287f3815e9bcadbfadbe200edbee5a23
[ "BSD-3-Clause-LBNL" ]
20
2020-04-13T09:22:53.000Z
2021-08-16T16:14:13.000Z
opt/nomad/src/Algos/LatinHypercubeSampling/LH.cpp
scikit-quant/scikit-quant
397ab0b6287f3815e9bcadbfadbe200edbee5a23
[ "BSD-3-Clause-LBNL" ]
6
2020-04-21T17:43:47.000Z
2021-03-10T04:12:34.000Z
/*---------------------------------------------------------------------------------*/ /* NOMAD - Nonlinear Optimization by Mesh Adaptive Direct Search - */ /* */ /* NOMAD - Version 4 has been created by ...
43.412429
112
0.507678
scikit-quant
3eedc65415a79d4accf93c2fb742f77b968a5529
4,758
cpp
C++
Stretcher/CDirectDrawWrapper.cpp
Dwedit/GameStretcher
3a313ed183aef70ba7eb586c9c09771ff2bb268e
[ "MIT" ]
7
2020-07-12T00:41:02.000Z
2022-03-30T06:39:48.000Z
Stretcher/CDirectDrawWrapper.cpp
Dwedit/GameStretcher
3a313ed183aef70ba7eb586c9c09771ff2bb268e
[ "MIT" ]
null
null
null
Stretcher/CDirectDrawWrapper.cpp
Dwedit/GameStretcher
3a313ed183aef70ba7eb586c9c09771ff2bb268e
[ "MIT" ]
null
null
null
#include "CDirectDrawWrapper.h" #include "CDirectDrawSurfaceWrapper.h" CDirectDraw7Wrapper::CDirectDraw7Wrapper(IDirectDraw7* obj) { realObject = obj; SafeAddRef(realObject); } CDirectDraw7Wrapper::~CDirectDraw7Wrapper() { SafeRelease(realObject); } HRESULT CDirectDraw7Wrapper::QueryInterface(const IID& riid, LPVO...
23.323529
114
0.76776
Dwedit
3ef27a08f6d683f0ba1c3034bcd31f448acf9813
2,816
cpp
C++
test/zero_dimensionality.cpp
correaa/b-multi
1e961f877662aa7a26933834f9064d2ec8b00b4a
[ "Intel" ]
null
null
null
test/zero_dimensionality.cpp
correaa/b-multi
1e961f877662aa7a26933834f9064d2ec8b00b4a
[ "Intel" ]
3
2019-11-05T16:26:14.000Z
2022-03-09T18:32:59.000Z
test/zero_dimensionality.cpp
correaa/b-multi
1e961f877662aa7a26933834f9064d2ec8b00b4a
[ "Intel" ]
null
null
null
#ifdef COMPILATION// -*-indent-tabs-mode:t;c-basic-offset:4;tab-width:4-*- $CXX $CXXFLAGS $0 -o $0.$X -lboost_unit_test_framework&&$0.$X&&rm $0.$X;exit #endif // © Alfredo Correa 2019-2020 #define BOOST_TEST_MODULE "C++ Unit Tests for Multi zero dimensionality" #define BOOST_TEST_DYN_LINK #include<boost/test/unit_test...
25.834862
91
0.613281
correaa
3ef8c7efbadae6b59d0b5b03f58e347c83784f12
10,507
cpp
C++
src/objects/genotype/genotype_prune.cpp
rwk-unil/shapeit4
16865e593ad50689271ead985dc8f4296d2f491d
[ "MIT" ]
73
2018-12-14T11:49:56.000Z
2022-02-09T04:43:09.000Z
src/objects/genotype/genotype_prune.cpp
rwk-unil/shapeit4
16865e593ad50689271ead985dc8f4296d2f491d
[ "MIT" ]
70
2019-02-12T22:25:07.000Z
2022-03-23T13:33:44.000Z
src/objects/genotype/genotype_prune.cpp
rwk-unil/shapeit4
16865e593ad50689271ead985dc8f4296d2f491d
[ "MIT" ]
16
2018-12-14T18:32:12.000Z
2022-01-07T08:57:17.000Z
//////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2018 Olivier Delaneau, University of Lausanne // // 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 S...
43.417355
139
0.679261
rwk-unil
3ef9fe7862e2b4f8ca000d33798c4a5782f32841
804
cpp
C++
slidedial.cpp
SRTCpp/Code
67c311566cee7b3e5cd8440ac2f7531f1737e293
[ "Apache-2.0" ]
1
2018-09-24T21:58:03.000Z
2018-09-24T21:58:03.000Z
slidedial.cpp
SRTCpp/Code
67c311566cee7b3e5cd8440ac2f7531f1737e293
[ "Apache-2.0" ]
null
null
null
slidedial.cpp
SRTCpp/Code
67c311566cee7b3e5cd8440ac2f7531f1737e293
[ "Apache-2.0" ]
null
null
null
#include "slidedial.h" Jcrap::slidedial::slidedial(string labelstr, QWidget *parent, const char *name) : QHBox(parent, name), labeller (labelstr.c_str(), this), spinner(this), slider(Qt::Horizontal, this) { setMargin(6); setSpacing(6); rerange(0, 0); // setMinimumSize(200, 30); QObject::connect(&spinner, ...
20.1
79
0.69403
SRTCpp
4103b06d6989e0d42bf788ae3cbffe49d5585c27
10,812
cpp
C++
src/Painter/Image.cpp
Piotrek1910/Painter
de5efa0d392a58b1a3a291a13cd5b6572353f37d
[ "MIT" ]
null
null
null
src/Painter/Image.cpp
Piotrek1910/Painter
de5efa0d392a58b1a3a291a13cd5b6572353f37d
[ "MIT" ]
null
null
null
src/Painter/Image.cpp
Piotrek1910/Painter
de5efa0d392a58b1a3a291a13cd5b6572353f37d
[ "MIT" ]
null
null
null
#include "Image.h" #include "Client.h" #include "Renderer.h" #include "Math.h" #include "Keyboard.h" #include "Cursor.h" #include "View.h" #include "Menu.h" #include "Math.h" CImage::CImage(const glm::ivec2 &_size, const cvec3 &_bgColor) : m_iSizeImage(_size), m_byBgColor(_bgColor) { m_pImage = new SP...
26.762376
192
0.582686
Piotrek1910
410650461d3604ebdf767f388ba94b8a79a7c010
1,363
cpp
C++
dmengine/tests/dmtimer_test.cpp
damao1222/dmengine
09ab62c043a520f8f6b15eb8790c7ee56c006931
[ "Apache-2.0" ]
null
null
null
dmengine/tests/dmtimer_test.cpp
damao1222/dmengine
09ab62c043a520f8f6b15eb8790c7ee56c006931
[ "Apache-2.0" ]
null
null
null
dmengine/tests/dmtimer_test.cpp
damao1222/dmengine
09ab62c043a520f8f6b15eb8790c7ee56c006931
[ "Apache-2.0" ]
null
null
null
/* Copyright (C) 2012-2014 Xiongfa Li All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by ap...
20.651515
75
0.661775
damao1222
41092c57effa4ecdff173211e31828670fff8f4d
128
hpp
C++
include/RavEngine/NetworkReplicable.hpp
Ravbug/RavEngine
73249827cb2cd3c938bb59447e9edbf7b6f0defc
[ "Apache-2.0" ]
48
2020-11-18T23:14:25.000Z
2022-03-11T09:13:42.000Z
include/RavEngine/NetworkReplicable.hpp
Ravbug/RavEngine
73249827cb2cd3c938bb59447e9edbf7b6f0defc
[ "Apache-2.0" ]
1
2020-11-17T20:53:10.000Z
2020-12-01T20:27:36.000Z
include/RavEngine/NetworkReplicable.hpp
Ravbug/RavEngine
73249827cb2cd3c938bb59447e9edbf7b6f0defc
[ "Apache-2.0" ]
3
2020-12-22T02:40:39.000Z
2021-10-08T02:54:22.000Z
#pragma once #include "CTTI.hpp" namespace RavEngine { struct NetworkReplicable{ virtual ctti_t NetTypeID() const = 0; }; }
12.8
38
0.726563
Ravbug
4109cbfd9d8005a7128ef3d1da9a5022579e212e
2,852
cc
C++
unittests/libtests/topology/data/MeshDataCohesiveQuad4Level1Fault1.cc
joegeisz/pylith
f74060b7b19d7e90abf8597bbe9250c96593c0ad
[ "MIT" ]
1
2021-09-09T06:24:11.000Z
2021-09-09T06:24:11.000Z
unittests/libtests/topology/data/MeshDataCohesiveQuad4Level1Fault1.cc
joegeisz/pylith
f74060b7b19d7e90abf8597bbe9250c96593c0ad
[ "MIT" ]
null
null
null
unittests/libtests/topology/data/MeshDataCohesiveQuad4Level1Fault1.cc
joegeisz/pylith
f74060b7b19d7e90abf8597bbe9250c96593c0ad
[ "MIT" ]
null
null
null
// -*- C++ -*- // // ====================================================================== // // Brad T. Aagaard, U.S. Geological Survey // Charles A. Williams, GNS Science // Matthew G. Knepley, University of Chicago // // This code was developed as part of the Computational Infrastructure // for Geodynamics (http://...
31.340659
93
0.725105
joegeisz
410abc4ab36eb72a24223980002649de0811da2d
3,073
cpp
C++
src/zone/eval-task.cpp
localh0rzd/napajs
b3f5e67dd20caef5d96ea8c3e3d4c542fcb9a431
[ "MIT" ]
9,088
2017-08-08T22:28:16.000Z
2019-05-05T14:57:12.000Z
src/zone/eval-task.cpp
localh0rzd/napajs
b3f5e67dd20caef5d96ea8c3e3d4c542fcb9a431
[ "MIT" ]
172
2017-08-09T21:32:15.000Z
2019-05-03T21:21:05.000Z
src/zone/eval-task.cpp
localh0rzd/napajs
b3f5e67dd20caef5d96ea8c3e3d4c542fcb9a431
[ "MIT" ]
370
2017-08-09T04:58:14.000Z
2019-04-13T18:59:29.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. // See: https://groups.google.com/forum/#!topic/nodejs/onA0S01INtw #ifdef BUILDING_NODE_EXTENSION #include <node.h> #endif #include "eval-task.h" #include <platform/filesystem.h> #include <napa/log.h> #include <napa/v8-h...
33.769231
99
0.641718
localh0rzd
410dd25170e5cbfa4a016592090d3b28d736792f
214
cpp
C++
src/chipmunkpp/segmentshape.cpp
amiani/chipmunkpp
4ffd0c9ae269dcdec2e693c439f28bf1bd63bff8
[ "Zlib" ]
30
2015-04-06T21:43:12.000Z
2021-03-06T10:06:39.000Z
src/chipmunkpp/segmentshape.cpp
amiani/chipmunkpp
4ffd0c9ae269dcdec2e693c439f28bf1bd63bff8
[ "Zlib" ]
5
2015-04-22T08:13:18.000Z
2021-01-03T20:22:03.000Z
src/chipmunkpp/segmentshape.cpp
amiani/chipmunkpp
4ffd0c9ae269dcdec2e693c439f28bf1bd63bff8
[ "Zlib" ]
1
2020-03-25T19:15:17.000Z
2020-03-25T19:15:17.000Z
#include "segmentshape.hpp" namespace cp { SegmentShape::SegmentShape(std::shared_ptr<Body> body, Vect a, Vect b, Float radius) : Shape(cpSegmentShapeNew(body ? (*body) : (cpBody*)0, a, b, radius), body) { } }
30.571429
85
0.691589
amiani
410eca58bb2e21f340c842c27e2607b7046d6a4e
2,567
cpp
C++
mcrouter/routes/test/BlackholeRouteTest.cpp
edenzik/mcrouter
6087962cd45530447c51f659a918862e4ad6acc0
[ "MIT" ]
2
2020-03-19T17:25:21.000Z
2020-03-19T17:25:29.000Z
mcrouter/routes/test/BlackholeRouteTest.cpp
fakeNetflix/facebook-repo-mcrouter
cc9fb6ace9e21f174b2d620c3c9e57d99156df47
[ "MIT" ]
null
null
null
mcrouter/routes/test/BlackholeRouteTest.cpp
fakeNetflix/facebook-repo-mcrouter
cc9fb6ace9e21f174b2d620c3c9e57d99156df47
[ "MIT" ]
null
null
null
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the LICENSE * file in the root directory of this source tree. */ #include "mcrouter/routes/BlackholeRoute.h" #include "mcrouter/CarbonRouterInstance.h" #include "mcrouter/PoolFactory.h" #include "m...
23.550459
79
0.708999
edenzik
4110a23fb2524d22ec0583d203df0d058654e528
134
hpp
C++
pythran/pythonic/types/complex128.hpp
artas360/pythran
66dad52d52be71693043e9a7d7578cfb9cb3d1da
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/types/complex128.hpp
artas360/pythran
66dad52d52be71693043e9a7d7578cfb9cb3d1da
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/types/complex128.hpp
artas360/pythran
66dad52d52be71693043e9a7d7578cfb9cb3d1da
[ "BSD-3-Clause" ]
null
null
null
#ifndef PYTHONIC_TYPES_COMPLEX128_HPP #define PYTHONIC_TYPES_COMPLEX128_HPP #include "pythonic/include/types/complex128.hpp" #endif
19.142857
48
0.858209
artas360
411167895a99155ddc5d7aa76b3fa25726d12f09
894
cpp
C++
LeetCode/Problems/Algorithms/#1329_SortTheMatrixDiagonally_sol2_store_diagonal_and_sort_O(RC+(R+C)min(R,C)log(min(R,C)))_time_O(min(R,C))_extra_space_16ms_8.6MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
1
2022-01-26T14:50:07.000Z
2022-01-26T14:50:07.000Z
LeetCode/Problems/Algorithms/#1329_SortTheMatrixDiagonally_sol2_store_diagonal_and_sort_O(RC+(R+C)min(R,C)log(min(R,C)))_time_O(min(R,C))_extra_space_16ms_8.6MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
LeetCode/Problems/Algorithms/#1329_SortTheMatrixDiagonally_sol2_store_diagonal_and_sort_O(RC+(R+C)min(R,C)log(min(R,C)))_time_O(min(R,C))_extra_space_16ms_8.6MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
class Solution { public: vector<vector<int>> diagonalSort(vector<vector<int>>& mat) { const int ROWS = mat.size(); const int COLS = mat[0].size(); vector<vector<int>> sortedMat = mat; vector<int> diag; for(int startRow = 0; startRow <= ROWS - 1; ++startRow){ ...
40.636364
106
0.461969
Tudor67
4114b8a7bc6c1eee9e1587933ffd8ad42585756f
3,100
cc
C++
Cassie_Example/opt_two_step/periodic/c_code/src/gen/J_swing_toe_angular_velocity_x_RightStance.cc
prem-chand/Cassie_CFROST
da4bd51442f86e852cbb630cc91c9a380a10b66d
[ "BSD-3-Clause" ]
null
null
null
Cassie_Example/opt_two_step/periodic/c_code/src/gen/J_swing_toe_angular_velocity_x_RightStance.cc
prem-chand/Cassie_CFROST
da4bd51442f86e852cbb630cc91c9a380a10b66d
[ "BSD-3-Clause" ]
null
null
null
Cassie_Example/opt_two_step/periodic/c_code/src/gen/J_swing_toe_angular_velocity_x_RightStance.cc
prem-chand/Cassie_CFROST
da4bd51442f86e852cbb630cc91c9a380a10b66d
[ "BSD-3-Clause" ]
null
null
null
/* * Automatically Generated from Mathematica. * Fri 5 Nov 2021 09:01:50 GMT-04:00 */ #include <stdio.h> #include <stdlib.h> #include <math.h> #include "frost/gen/J_swing_toe_angular_velocity_x_RightStance.hh" #ifdef _MSC_VER #define INLINE __forceinline /* use __forceinline (VC++ specific) */ #else #define IN...
26.05042
152
0.65871
prem-chand
4115eb99f9338767d38cec5cd8f0915fb153cfca
2,997
cpp
C++
module05/ex03/AForm.cpp
mathias-mrsn/CPP_modules
726bb5bd25f5e366550c79e5f01aed1d3d95c7fc
[ "MIT" ]
null
null
null
module05/ex03/AForm.cpp
mathias-mrsn/CPP_modules
726bb5bd25f5e366550c79e5f01aed1d3d95c7fc
[ "MIT" ]
null
null
null
module05/ex03/AForm.cpp
mathias-mrsn/CPP_modules
726bb5bd25f5e366550c79e5f01aed1d3d95c7fc
[ "MIT" ]
null
null
null
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* AForm.cpp :+: :+: :+: ...
27.245455
83
0.501835
mathias-mrsn
411ec61770558029764cc90cc56d85bffb0e03bd
8,941
cpp
C++
src/frameworks/native/services/surfaceflinger/tests/unittests/RefreshRateStatsTest.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
src/frameworks/native/services/surfaceflinger/tests/unittests/RefreshRateStatsTest.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
src/frameworks/native/services/surfaceflinger/tests/unittests/RefreshRateStatsTest.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
39.915179
93
0.715021
dAck2cC2
412942927d6b1cac31eb112dbcf65b2f7f16de3e
6,184
cpp
C++
src/graphics.cpp
sedrik/GobblashX
96c2c7448ca32d489520186d0cd7091ebd0a0098
[ "MIT" ]
null
null
null
src/graphics.cpp
sedrik/GobblashX
96c2c7448ca32d489520186d0cd7091ebd0a0098
[ "MIT" ]
5
2015-09-03T06:11:40.000Z
2015-09-03T06:15:07.000Z
src/graphics.cpp
sedrik/GobblashX
96c2c7448ca32d489520186d0cd7091ebd0a0098
[ "MIT" ]
null
null
null
#include "graphics.h" #include "settings.h" SDL_Rect look; SDL_Rect cliprectworld; SDL_Rect cliprectmenu; void prepare_to_show(SDL_Rect & target, const SDL_Rect & source){ target.x = source.x - look.x; target.y = source.y - look.y; target.w = source.w; target.h = source.h; } SDL_Surface *load_optimized_pic( ...
28.109091
78
0.588939
sedrik
412ebd342c81894dc47c8313f4ec5bda6eb1faee
3,869
cpp
C++
src/members/buffer_member.cpp
vtavernier/libshadertoy
a0b2a133199383cc7e9bcb3c0300f39eb95177c0
[ "MIT" ]
2
2020-02-23T09:33:07.000Z
2021-11-15T18:23:13.000Z
src/members/buffer_member.cpp
vtavernier/libshadertoy
a0b2a133199383cc7e9bcb3c0300f39eb95177c0
[ "MIT" ]
2
2019-08-09T15:48:07.000Z
2020-11-16T13:51:56.000Z
src/members/buffer_member.cpp
vtavernier/libshadertoy
a0b2a133199383cc7e9bcb3c0300f39eb95177c0
[ "MIT" ]
3
2019-12-12T09:42:34.000Z
2020-12-14T03:56:30.000Z
#include <epoxy/gl.h> #include <algorithm> #include <utility> #include "shadertoy/gl.hpp" #include "shadertoy/render_context.hpp" #include "shadertoy/buffers/basic_buffer.hpp" #include "shadertoy/members/buffer_member.hpp" #include "shadertoy/swap_chain.hpp" using namespace shadertoy; using namespace shadertoy::...
30.464567
203
0.738434
vtavernier
4131767d60a0129edad04ff1bd1bd0a130433c7c
1,739
cpp
C++
Source/Plugins/bsfD3D11RenderAPI/BsD3D11EventQuery.cpp
bsf2dev/bsf
b318cd4eb1b0299773d625e6c870b8d503cf539e
[ "MIT" ]
1,745
2018-03-16T02:10:28.000Z
2022-03-26T17:34:21.000Z
Source/Plugins/bsfD3D11RenderAPI/BsD3D11EventQuery.cpp
bsf2dev/bsf
b318cd4eb1b0299773d625e6c870b8d503cf539e
[ "MIT" ]
395
2018-03-16T10:18:20.000Z
2021-08-04T16:52:08.000Z
Source/Plugins/bsfD3D11RenderAPI/BsD3D11EventQuery.cpp
bsf2dev/bsf
b318cd4eb1b0299773d625e6c870b8d503cf539e
[ "MIT" ]
267
2018-03-17T19:32:54.000Z
2022-02-17T16:55:50.000Z
//************************************ bs::framework - Copyright 2018 Marko Pintera **************************************// //*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********// #include "BsD3D11EventQuery.h" #include "BsD3D11RenderAPI.h" #include ...
25.955224
124
0.680851
bsf2dev
41342c6d7f5a4362f2780a7ecbef9dc5d2201a0b
12,853
cxx
C++
src/builtin_kernel.cxx
wavefunction91/ExchCXX
9a262ecfd153d8e0ec2891c48a3a573c89c5b056
[ "BSD-3-Clause-LBNL" ]
16
2020-08-26T00:40:50.000Z
2022-03-05T01:16:43.000Z
src/builtin_kernel.cxx
wavefunction91/ExchCXX
9a262ecfd153d8e0ec2891c48a3a573c89c5b056
[ "BSD-3-Clause-LBNL" ]
6
2020-10-13T22:14:57.000Z
2021-09-15T19:59:19.000Z
src/builtin_kernel.cxx
wavefunction91/ExchCXX
9a262ecfd153d8e0ec2891c48a3a573c89c5b056
[ "BSD-3-Clause-LBNL" ]
5
2019-05-09T21:03:17.000Z
2020-10-09T16:55:03.000Z
#include <exchcxx/impl/builtin/kernel_type.hpp> #include <exchcxx/impl/builtin/util.hpp> #include <exchcxx/impl/builtin/kernels.hpp> #include <exchcxx/util/unused.hpp> namespace ExchCXX { // LDA interface UNUSED_INTERFACE_GENERATOR( LDA, EXC, BuiltinKernel::eval_exc, const ) UNUSED_INTERFACE_GENERATOR( LDA,...
28.373068
101
0.68202
wavefunction91
413916c3142ab90b584b1510ae212eaf130204cc
2,267
cpp
C++
Modules/ModelFit/src/Functors/mitkMVModelFitCostFunction.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
1
2021-11-20T08:19:27.000Z
2021-11-20T08:19:27.000Z
Modules/ModelFit/src/Functors/mitkMVModelFitCostFunction.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
null
null
null
Modules/ModelFit/src/Functors/mitkMVModelFitCostFunction.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
null
null
null
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
28.3375
119
0.686811
wyyrepo
413fba811c275338f57a0d8d324410910aa1cb48
129
hpp
C++
swix-ios/opencv2.framework/Versions/A/Headers/objdetect/detection_based_tracker.hpp
vasiliydumanov/swix
4af96bec73fbb116b3b085c92b93ae3c580f3245
[ "MIT" ]
null
null
null
swix-ios/opencv2.framework/Versions/A/Headers/objdetect/detection_based_tracker.hpp
vasiliydumanov/swix
4af96bec73fbb116b3b085c92b93ae3c580f3245
[ "MIT" ]
null
null
null
swix-ios/opencv2.framework/Versions/A/Headers/objdetect/detection_based_tracker.hpp
vasiliydumanov/swix
4af96bec73fbb116b3b085c92b93ae3c580f3245
[ "MIT" ]
1
2021-05-03T22:22:38.000Z
2021-05-03T22:22:38.000Z
version https://git-lfs.github.com/spec/v1 oid sha256:0d5cf673f474a546a7b3e5a344ad71f36fe1dc91e97fa50f6905770d319413a3 size 7428
32.25
75
0.883721
vasiliydumanov
4140ba047c7dd3021b60189ceddd44b3dffe34cb
154
hpp
C++
mod/wrd/src/ast/point.hpp
kniz/worldlang
78701ab003c158211d42d129f91259d17febbb22
[ "MIT" ]
7
2019-03-12T03:04:32.000Z
2021-12-26T04:33:44.000Z
mod/wrd/src/ast/point.hpp
kniz/worldlang
78701ab003c158211d42d129f91259d17febbb22
[ "MIT" ]
7
2019-02-13T14:01:43.000Z
2020-11-20T11:09:06.000Z
mod/wrd/src/ast/point.hpp
kniz/worldlang
78701ab003c158211d42d129f91259d17febbb22
[ "MIT" ]
null
null
null
#pragma once #include "../common/dep.hpp" namespace wrd { struct point { wcnt row; wcnt col; }; struct area { point start; point end; }; }
9.625
28
0.61039
kniz
414236875e8aa17aa270a52468d74626d6abdffd
1,999
cpp
C++
aws-cpp-sdk-securityhub/source/model/PortProbeAction.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-securityhub/source/model/PortProbeAction.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-securityhub/source/model/PortProbeAction.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/securityhub/model/PortProbeAction.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { n...
23.517647
130
0.751376
perfectrecall
414434b4235f869844020aa84a04d5943a210fc7
763
cpp
C++
src/lib/string.cpp
qookei/tart
e039f9c493560f306904793ac9143810aabbf68e
[ "Zlib" ]
11
2020-06-20T19:05:08.000Z
2021-04-07T17:49:18.000Z
src/lib/string.cpp
qookei/tart
e039f9c493560f306904793ac9143810aabbf68e
[ "Zlib" ]
null
null
null
src/lib/string.cpp
qookei/tart
e039f9c493560f306904793ac9143810aabbf68e
[ "Zlib" ]
null
null
null
#include <string.h> [[gnu::used]] void *memcpy(void *dest, const void *src, size_t size) { char *d = static_cast<char *>(dest); const char *s = static_cast<const char *>(src); while (size--) *d++ = *s++; return dest; } [[gnu::used]] void *memset(void *dest, int value, size_t size) { char *d = static_cast<cha...
16.234043
72
0.568807
qookei
4146253d5a8dd6a8eb5310fe116c912e22c479cb
20,245
cpp
C++
src/tool-autobeam.cpp
juyaolongpaul/humlib
266528211e727c593a6f8a1e6a9ac46d77aab54c
[ "BSD-2-Clause" ]
null
null
null
src/tool-autobeam.cpp
juyaolongpaul/humlib
266528211e727c593a6f8a1e6a9ac46d77aab54c
[ "BSD-2-Clause" ]
null
null
null
src/tool-autobeam.cpp
juyaolongpaul/humlib
266528211e727c593a6f8a1e6a9ac46d77aab54c
[ "BSD-2-Clause" ]
null
null
null
// // Programmer: Craig Stuart Sapp <craig@ccrma.stanford.edu> // Creation Date: Wed Nov 30 01:02:57 PST 2016 // Last Modified: Sun May 21 21:11:12 CEST 2017 Ignore non-kern spines when adding beams // Filename: tool-autobeam.cpp // URL: https://github.com/craigsapp/humlib/blob/master/src/tool-autobea...
21.514346
88
0.590911
juyaolongpaul
4148e6a20cfac8b7c41b8b56405a15767e35171a
502
cpp
C++
Codeforces/918B.cpp
HardLearning/ACM_Solution
2495211017db828876d49910461f404ae0476261
[ "MIT" ]
2
2020-01-16T03:40:18.000Z
2021-09-09T07:15:11.000Z
Codeforces/918B.cpp
HardLearning/ACM_Solution
2495211017db828876d49910461f404ae0476261
[ "MIT" ]
null
null
null
Codeforces/918B.cpp
HardLearning/ACM_Solution
2495211017db828876d49910461f404ae0476261
[ "MIT" ]
1
2022-01-08T14:49:05.000Z
2022-01-08T14:49:05.000Z
#include <iostream> #include <string> #include <map> using namespace std; map<string,string>mp; int n,m; string s1,s2; int main(){ mp.clear(); cin >> n >> m; for (int i=1; i<=n; i++) { cin >> s1 >> s2; mp[s2] = s1; } int sz; string tmp; for (int i=1; i<=...
17.928571
60
0.416335
HardLearning
414b362e5741b634a7c52e654433b948e51da45b
760
cpp
C++
leetcode5346.cpp
SJTUGavinLiu/Leetcodes
99d4010bc34e78d22e3c8b6436e4489a7d1338da
[ "MIT" ]
null
null
null
leetcode5346.cpp
SJTUGavinLiu/Leetcodes
99d4010bc34e78d22e3c8b6436e4489a7d1338da
[ "MIT" ]
null
null
null
leetcode5346.cpp
SJTUGavinLiu/Leetcodes
99d4010bc34e78d22e3c8b6436e4489a7d1338da
[ "MIT" ]
null
null
null
static const auto __ = []() { ios::sync_with_stdio(false); cin.tie(nullptr); return nullptr; }(); class Solution { private: bool helper(ListNode* head, TreeNode* root) { if(!head) return true; if(!root) return false; if(head->val == root->val && (helper(head->next, root->left)...
29.230769
105
0.569737
SJTUGavinLiu
41519287bb09505486fbb65e367f058f54327257
609
cpp
C++
src/targets/gpu/clip.cpp
aaronenyeshi/AMDMIGraphX
87528938188f0247f3dfcc6ab9b83c22187109fd
[ "MIT" ]
null
null
null
src/targets/gpu/clip.cpp
aaronenyeshi/AMDMIGraphX
87528938188f0247f3dfcc6ab9b83c22187109fd
[ "MIT" ]
null
null
null
src/targets/gpu/clip.cpp
aaronenyeshi/AMDMIGraphX
87528938188f0247f3dfcc6ab9b83c22187109fd
[ "MIT" ]
null
null
null
#include <migraphx/gpu/clip.hpp> #include <migraphx/gpu/context.hpp> #include <migraphx/gpu/device/clip.hpp> namespace migraphx { inline namespace MIGRAPHX_INLINE_NS { namespace gpu { shape hip_clip::compute_shape(std::vector<shape> inputs) const { inputs.pop_back(); return op.compute_shape(inputs); } argume...
25.375
95
0.727422
aaronenyeshi
a9911a3fa0525b944a6ae8c5eed23dc8b43509ca
4,550
cpp
C++
tests/extension/oneapi_device_global/device_global_functional_pass_pointer.cpp
AndreyXRomanov/SYCL-CTS
9e232c7031c80f28ef55366bcfb7f6e843032b67
[ "Apache-2.0" ]
null
null
null
tests/extension/oneapi_device_global/device_global_functional_pass_pointer.cpp
AndreyXRomanov/SYCL-CTS
9e232c7031c80f28ef55366bcfb7f6e843032b67
[ "Apache-2.0" ]
null
null
null
tests/extension/oneapi_device_global/device_global_functional_pass_pointer.cpp
AndreyXRomanov/SYCL-CTS
9e232c7031c80f28ef55366bcfb7f6e843032b67
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* // // SYCL 2020 Conformance Test Suite // // Provides functional test for device_global // // Tests passing pointer to the underlying data to another kernel // // In this test the first kernel called write_kernel change the value of //...
31.818182
80
0.682637
AndreyXRomanov
a991cefe339eb46c2244ee6da591aa5eb5bd2156
427
cpp
C++
LuoguOJ/2415.cpp
immccn123/immccn123-cpp
b242ec25cdbf2f21dae3a1c12f0f9c4b10404793
[ "WTFPL" ]
null
null
null
LuoguOJ/2415.cpp
immccn123/immccn123-cpp
b242ec25cdbf2f21dae3a1c12f0f9c4b10404793
[ "WTFPL" ]
null
null
null
LuoguOJ/2415.cpp
immccn123/immccn123-cpp
b242ec25cdbf2f21dae3a1c12f0f9c4b10404793
[ "WTFPL" ]
null
null
null
#include <iostream> using namespace std; long long a[100010]; long long pow(long long a,long long b) { long long sum = 1; for(long long i = 0;i < b;i++) { sum = sum * a; } return sum; } int main(){ int nums = 0, ls = 0; while(cin >> a[ls++],a[ls] != 0); long long sum = 0; for(int i = 0;i < n...
18.565217
42
0.533958
immccn123
a99a4a5c738a3d79ac32ad4b75fa35bf480ee162
405
cpp
C++
online_judges/cf/1204/b/b.cpp
miaortizma/competitive-programming
ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc
[ "MIT" ]
2
2018-02-20T14:44:57.000Z
2018-02-20T14:45:03.000Z
online_judges/cf/1204/b/b.cpp
miaortizma/competitive-programming
ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc
[ "MIT" ]
null
null
null
online_judges/cf/1204/b/b.cpp
miaortizma/competitive-programming
ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(0); cin.tie(NULL); int n, l, r; cin >> n >> l >> r; int ans_min = 0; for (int i = 0; i < l; ++i) ans_min += 1 << i; ans_min += n - l; long long ans_max = 0; for (int i = 0; i < r; ++i) ans_max += 1 << i; ans...
20.25
38
0.491358
miaortizma
a99ca8c79a439802beffcf470b89fb31cf79eb7f
506
cpp
C++
cpp/src/source_code_generation/details/write_unequal_operator.cpp
KaMoKuMo/plain-old-data-mate
2dc8a76d402f69a730230c46de4c5cecce8e2c2e
[ "MIT" ]
null
null
null
cpp/src/source_code_generation/details/write_unequal_operator.cpp
KaMoKuMo/plain-old-data-mate
2dc8a76d402f69a730230c46de4c5cecce8e2c2e
[ "MIT" ]
null
null
null
cpp/src/source_code_generation/details/write_unequal_operator.cpp
KaMoKuMo/plain-old-data-mate
2dc8a76d402f69a730230c46de4c5cecce8e2c2e
[ "MIT" ]
null
null
null
#include "source_code_generation/details/write_unequal_operator.h" #include "source_code_generation/details/write_comparison_operator.h" /** * Transforms a StructSnippets into a Function object modeling a function definition * for the unequal operator. **/ Function writeUnequalOperator(StructSnippets const& struc...
28.111111
84
0.620553
KaMoKuMo
a99cb9a28eed525fad0740236eb90b6be9b97037
2,290
cpp
C++
src/obproxy/dbconfig/grpc/ob_proxy_grpc_client_pool.cpp
stutiredboy/obproxy
b5f98a6e1c45e6a878376df49b9c10b4249d3626
[ "Apache-2.0" ]
74
2021-05-31T15:23:49.000Z
2022-03-12T04:46:39.000Z
src/obproxy/dbconfig/grpc/ob_proxy_grpc_client_pool.cpp
stutiredboy/obproxy
b5f98a6e1c45e6a878376df49b9c10b4249d3626
[ "Apache-2.0" ]
16
2021-05-31T15:26:38.000Z
2022-03-30T06:02:43.000Z
src/obproxy/dbconfig/grpc/ob_proxy_grpc_client_pool.cpp
stutiredboy/obproxy
b5f98a6e1c45e6a878376df49b9c10b4249d3626
[ "Apache-2.0" ]
64
2021-05-31T15:25:36.000Z
2022-02-23T08:43:58.000Z
/** * Copyright (c) 2021 OceanBase * OceanBase Database Proxy(ODP) is licensed under Mulan PubL v2. * You can use this software according to the terms and conditions of the Mulan PubL v2. * You may obtain a copy of Mulan PubL v2 at: * http://license.coscl.org.cn/MulanPubL-2.0 * THIS SOFTWARE IS PROVIDED ...
29.74026
90
0.687336
stutiredboy
a99f49dcdd5fbcdac56bf41372fdc188d9f41573
28,154
cpp
C++
src/process.cpp
LePtitDev/gpg-compressor
7a2613056033b8a92574c28e20c32c923d459897
[ "BSD-3-Clause" ]
null
null
null
src/process.cpp
LePtitDev/gpg-compressor
7a2613056033b8a92574c28e20c32c923d459897
[ "BSD-3-Clause" ]
null
null
null
src/process.cpp
LePtitDev/gpg-compressor
7a2613056033b8a92574c28e20c32c923d459897
[ "BSD-3-Clause" ]
null
null
null
#include "process.h" #include "huffman.h" #include <cmath> #include <array> #include <algorithm> void Process::toGrayscale(const Bitmap<unsigned char>& R, const Bitmap<unsigned char>& G, const Bitmap<unsigned char>& B, Bitmap<unsigned char>& Y) { if (R.width() != Y.width() || R.height() != Y.height()) Y.r...
43.853583
201
0.536513
LePtitDev
a99fab615abe9bb2811bef2ec44c85f1bc08a77e
4,611
cpp
C++
OPHD/Things/Structures/Factory.cpp
belgianguy/OPHD
d59009d63b6f10fc9a95c36c392d72509e52a21c
[ "BSD-3-Clause" ]
null
null
null
OPHD/Things/Structures/Factory.cpp
belgianguy/OPHD
d59009d63b6f10fc9a95c36c392d72509e52a21c
[ "BSD-3-Clause" ]
null
null
null
OPHD/Things/Structures/Factory.cpp
belgianguy/OPHD
d59009d63b6f10fc9a95c36c392d72509e52a21c
[ "BSD-3-Clause" ]
null
null
null
#include "Factory.h" #include "../../ProductionCost.h" #include "../../States/MapViewStateHelper.h" // yuck #include <algorithm> using ProductionTypeTable = std::map<ProductType, ProductionCost>; /** * Table with production information for each product that factories can produce. * * \note This table defines p...
24.268421
133
0.724138
belgianguy
a9a1edbae8d8932125d2fa9b2dd83dd4d380754b
403
cpp
C++
Zadatak 1.3/3.cpp
pikacxe/Cpp_Projects
4c1defc292a284b359a7583fa48ef51f2fec484b
[ "MIT" ]
null
null
null
Zadatak 1.3/3.cpp
pikacxe/Cpp_Projects
4c1defc292a284b359a7583fa48ef51f2fec484b
[ "MIT" ]
null
null
null
Zadatak 1.3/3.cpp
pikacxe/Cpp_Projects
4c1defc292a284b359a7583fa48ef51f2fec484b
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> using namespace std; float f(int n){ float rez = 0; for(int i = 1;i<=n;i++){ rez += sqrt(i); } return rez; } float zaoukruzi(float n){ n *=100; n = int(n); return n = n/100; } int main(){ int n; cout << "Unesite broj n:"<<endl; c...
12.59375
36
0.503722
pikacxe
a9a538e4a538a6b1b00d2e9cca6a44b6163ab177
1,526
hpp
C++
PolyEngine/Editor/Src/Controls/ControlBase.hpp
PiotrMoscicki/PolyEngine
573c453e9d1ae0a351ad14410595ff844e3b4620
[ "MIT" ]
65
2017-04-04T20:33:44.000Z
2019-12-02T23:06:58.000Z
PolyEngine/Editor/Src/Controls/ControlBase.hpp
PiotrMoscicki/PolyEngine
573c453e9d1ae0a351ad14410595ff844e3b4620
[ "MIT" ]
46
2017-04-21T12:26:38.000Z
2019-12-15T05:31:47.000Z
PolyEngine/Editor/Src/Controls/ControlBase.hpp
PiotrMoscicki/PolyEngine
573c453e9d1ae0a351ad14410595ff844e3b4620
[ "MIT" ]
51
2017-04-12T10:53:32.000Z
2019-11-20T13:05:54.000Z
#pragma once #include <QtWidgets/qstyle.h> #include <QtWidgets/qlabel.h> #include <QtWidgets/qgridlayout.h> #include "Managers/CommandsImpl.hpp" #include "Controls/RTTIRegisteredControl.hpp" template <typename T> class ControlBase : public RTTIRegisteredControl { public: ControlBase(QWidget* parent) : RTTIRegistere...
17.952941
61
0.699214
PiotrMoscicki
a9a683441e0b9bbade2df09d120c9e93ff2a151d
5,232
cpp
C++
src/Peio/GUI/Text.cpp
Samdooo/Peio
0c68c10d91be5427bbbebcc7aaef392b9db6ef59
[ "Apache-2.0" ]
null
null
null
src/Peio/GUI/Text.cpp
Samdooo/Peio
0c68c10d91be5427bbbebcc7aaef392b9db6ef59
[ "Apache-2.0" ]
null
null
null
src/Peio/GUI/Text.cpp
Samdooo/Peio
0c68c10d91be5427bbbebcc7aaef392b9db6ef59
[ "Apache-2.0" ]
null
null
null
#define PEIO_GUI_EXPORTING #include "Text.h" #include <iostream> namespace Peio::GUI { void Text::Init(Gfx::Graphics* graphics, Offset<float, 2> position, Float2 size) { Rectangle::Init(graphics, position, size); info[0].useAlpha = true; } void Text::SetFont(Font* font) { this->font = font; } void Tex...
26.558376
183
0.629969
Samdooo
a9a6c8b53261657a404029aebdd5c3019d80da82
1,486
cpp
C++
components/klp/averager/averager.cpp
DigKleppe/ESP32Thermostat
0f67dea8288913770b6ac7f78fbc3fdd7043c29b
[ "CC0-1.0" ]
null
null
null
components/klp/averager/averager.cpp
DigKleppe/ESP32Thermostat
0f67dea8288913770b6ac7f78fbc3fdd7043c29b
[ "CC0-1.0" ]
null
null
null
components/klp/averager/averager.cpp
DigKleppe/ESP32Thermostat
0f67dea8288913770b6ac7f78fbc3fdd7043c29b
[ "CC0-1.0" ]
null
null
null
/* * * Created on: Feb 8, 2018 * Author: dig */ #include "include/averager.h" #include <stdlib.h> #ifdef USE_FREERTOS #include "freertos/FreeRTOS.h" #endif Averager::Averager( uint32_t averages) { bufWriteIndex = 0; bufValues = 0; bufSize = averages; pBuffer = (int32_t *) malloc ( bufSize * 4); } void...
17.690476
49
0.635262
DigKleppe
a9abc8cb2d976bd8625ab5e351564e291d789453
399
cpp
C++
QtChromiumWidgetTest/mainwindow.cpp
Dax89/QtCEF
81ed956411c92431e4ea086e3185ddbcf05ec0b3
[ "BSD-2-Clause" ]
21
2015-10-31T07:54:01.000Z
2020-12-01T07:30:17.000Z
QtChromiumWidgetTest/mainwindow.cpp
Dax89/QtCEF
81ed956411c92431e4ea086e3185ddbcf05ec0b3
[ "BSD-2-Clause" ]
2
2015-05-22T15:54:41.000Z
2018-03-12T05:20:16.000Z
QtChromiumWidgetTest/mainwindow.cpp
Dax89/QtCEF
81ed956411c92431e4ea086e3185ddbcf05ec0b3
[ "BSD-2-Clause" ]
8
2016-05-11T06:21:49.000Z
2020-12-01T07:29:39.000Z
#include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent): QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); } MainWindow::~MainWindow() { delete ui; } void MainWindow::on_pbGo_clicked() { QString url = ((ui->leUrl->text().indexOf("http://") == -1) ? ("http...
19.95
119
0.629073
Dax89
a9ac0abddb0ac0b909a923ad023cd51eb31f4bd2
27,127
cc
C++
gui/welt.cc
makkrnic/simutrans-extended
8afbbce5b88c79bfea1760cf6c7662d020757b6a
[ "Artistic-1.0" ]
null
null
null
gui/welt.cc
makkrnic/simutrans-extended
8afbbce5b88c79bfea1760cf6c7662d020757b6a
[ "Artistic-1.0" ]
null
null
null
gui/welt.cc
makkrnic/simutrans-extended
8afbbce5b88c79bfea1760cf6c7662d020757b6a
[ "Artistic-1.0" ]
null
null
null
/* * This file is part of the Simutrans-Extended project under the Artistic License. * (see LICENSE.txt) */ #include "welt.h" #include "karte.h" #include "../simdebug.h" #include "../simworld.h" #include "../gui/simwin.h" #include "../display/simimg.h" #include "../simmesg.h" #include "../simskin.h" #include "../s...
34.778205
173
0.739595
makkrnic
a9ad2d4fe25822c63742f798e928a422d1fae47c
18,550
cpp
C++
android/android/opengl/Matrix.cpp
djangw/androidpp
7d78de900873184bf7bed231fabb3f4280c4edfd
[ "BSD-3-Clause" ]
null
null
null
android/android/opengl/Matrix.cpp
djangw/androidpp
7d78de900873184bf7bed231fabb3f4280c4edfd
[ "BSD-3-Clause" ]
null
null
null
android/android/opengl/Matrix.cpp
djangw/androidpp
7d78de900873184bf7bed231fabb3f4280c4edfd
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2017 Daewoong Jang. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following ...
31.020067
166
0.521078
djangw
a9ae3014e74df037dbbbd3481c2c1829832a619c
11,973
cpp
C++
2015/day07/p1/main.cpp
jbaldwin/adventofcode2019
bdc333330dd5e36458a49f0b7cd64d462c9988c7
[ "MIT" ]
null
null
null
2015/day07/p1/main.cpp
jbaldwin/adventofcode2019
bdc333330dd5e36458a49f0b7cd64d462c9988c7
[ "MIT" ]
null
null
null
2015/day07/p1/main.cpp
jbaldwin/adventofcode2019
bdc333330dd5e36458a49f0b7cd64d462c9988c7
[ "MIT" ]
null
null
null
#include <iostream> #include <unordered_map> #include <string> #include <string_view> #include <variant> #include <optional> #include <vector> #include <lib/file_util.hpp> #include <chain/chain.hpp> using namespace std::string_literals; const std::string COPY = "COPY"s; const std::string AND = "AND"s; const std::str...
30.858247
103
0.485342
jbaldwin
a9af69894f5d7350e97cd8728c8e4db010b15fca
4,472
cpp
C++
MediaSystem/MediaSystem.cpp
Sukanya673/OCDM-Nagra
b85aa3439f4c4cc4d740a9a8e2a9929250353a00
[ "Apache-2.0" ]
1
2020-01-16T14:55:12.000Z
2020-01-16T14:55:12.000Z
MediaSystem/MediaSystem.cpp
Sukanya673/OCDM-Nagra
b85aa3439f4c4cc4d740a9a8e2a9929250353a00
[ "Apache-2.0" ]
1
2020-02-19T11:27:22.000Z
2020-02-19T11:27:22.000Z
MediaSystem/MediaSystem.cpp
Sukanya673/OCDM-Nagra
b85aa3439f4c4cc4d740a9a8e2a9929250353a00
[ "Apache-2.0" ]
1
2020-02-18T10:43:04.000Z
2020-02-18T10:43:04.000Z
/* * Copyright 2018 Metrological * * 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...
27.604938
142
0.643784
Sukanya673
a9b0c4d291077fa8722bb1c42a255cef33f86b9b
4,726
hpp
C++
Source/AllProjects/CQCSysCfg/CQCSysCfg_Shared.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
51
2020-12-26T18:17:16.000Z
2022-03-15T04:29:35.000Z
Source/AllProjects/CQCSysCfg/CQCSysCfg_Shared.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
null
null
null
Source/AllProjects/CQCSysCfg/CQCSysCfg_Shared.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
4
2020-12-28T07:24:39.000Z
2021-12-29T12:09:37.000Z
// ---------------------------------------------------------------------------- // FILE: CQCSysCfg_Shared.hpp // DATE: Fri, Feb 12 21:14:15 2021 -0500 // // This file was generated by the Charmed Quark CIDIDL compiler. Do not make // changes by hand, because they will be lost if the file is regenerated. // --------...
38.737705
151
0.548455
MarkStega
a9b142795e4cb954ad8ca46a72db1d37e77ea534
13,079
cpp
C++
isis/src/base/objs/BulletShapeModel/BulletClosestRayCallback.cpp
kdl222/ISIS3
aab0e63088046690e6c031881825596c1c2cc380
[ "CC0-1.0" ]
134
2018-01-18T00:16:24.000Z
2022-03-24T03:53:33.000Z
isis/src/base/objs/BulletShapeModel/BulletClosestRayCallback.cpp
kdl222/ISIS3
aab0e63088046690e6c031881825596c1c2cc380
[ "CC0-1.0" ]
3,825
2017-12-11T21:27:34.000Z
2022-03-31T21:45:20.000Z
isis/src/base/objs/BulletShapeModel/BulletClosestRayCallback.cpp
jlaura/isis3
2c40e08caed09968ea01d5a767a676172ad20080
[ "CC0-1.0" ]
164
2017-11-30T21:15:44.000Z
2022-03-23T10:22:29.000Z
/** This is free and unencumbered software released into the public domain. The authors of ISIS do not claim copyright on the contents of this file. For more details about the LICENSE terms and the AUTHORS, you will find files of those names at the top level of this repository. **/ /* SPDX-License-Identifier: CC0-1.0 ...
34.877333
109
0.64141
kdl222
a9b25f5fc70cdef40153951721caa7a44374316c
431
cpp
C++
test/aoj/NTL_1_B_2.test.cpp
rajyan/library
abad203321e34b87a248e02f5ae84a0899f6c4fd
[ "MIT" ]
null
null
null
test/aoj/NTL_1_B_2.test.cpp
rajyan/library
abad203321e34b87a248e02f5ae84a0899f6c4fd
[ "MIT" ]
8
2019-08-18T18:23:37.000Z
2021-01-21T00:20:00.000Z
test/aoj/NTL_1_B_2.test.cpp
rajyan/library
abad203321e34b87a248e02f5ae84a0899f6c4fd
[ "MIT" ]
null
null
null
#define PROBLEM "http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=NTL_1_B" #include <iostream> #include <iomanip> using namespace std; #include "../../src/Modint.hpp" struct init { init() { cin.tie(nullptr); ios::sync_with_stdio(false); cout << fixed << setprecision(10); } }...
14.862069
82
0.570766
rajyan
a9b341407e2acb06cc62052fe449509135189348
685
cpp
C++
Plugins/UnrealMimic/Source/UnrealMimic/Private/UnrealMimicModule.cpp
VertexStudio/UnrealMimic
dc48a621f2f9395a5ecedc4e8f10c3ef557efb66
[ "MIT" ]
null
null
null
Plugins/UnrealMimic/Source/UnrealMimic/Private/UnrealMimicModule.cpp
VertexStudio/UnrealMimic
dc48a621f2f9395a5ecedc4e8f10c3ef557efb66
[ "MIT" ]
null
null
null
Plugins/UnrealMimic/Source/UnrealMimic/Private/UnrealMimicModule.cpp
VertexStudio/UnrealMimic
dc48a621f2f9395a5ecedc4e8f10c3ef557efb66
[ "MIT" ]
1
2021-02-27T14:15:26.000Z
2021-02-27T14:15:26.000Z
#include "UnrealMimicModule.h" #include "usenglish/usenglish.h" #include "cmulex/cmu_lex.h" //void usenglish_init(cst_voice *v); //cst_lexicon* cmulex_init(void); class FUnrealMimicModule : public IUnrealMimicModule { virtual void StartupModule() override { mimic_init(); //mimic_set_lang_list(); //hack aroun...
25.37037
87
0.760584
VertexStudio
a9bfec75a6ee30fa23573533a35eea01ec800684
7,718
cpp
C++
tests/test_environments.cpp
a1ien/sol2
358c34e5e978524d7c0dbf3f69987f57dfb30da6
[ "MIT" ]
null
null
null
tests/test_environments.cpp
a1ien/sol2
358c34e5e978524d7c0dbf3f69987f57dfb30da6
[ "MIT" ]
null
null
null
tests/test_environments.cpp
a1ien/sol2
358c34e5e978524d7c0dbf3f69987f57dfb30da6
[ "MIT" ]
null
null
null
// sol2 // The MIT License (MIT) // Copyright (c) 2013-2017 Rapptz, ThePhD and contributors // 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 limit...
29.914729
101
0.681265
a1ien
a9c0fea7b02ec5616f9375d0361fcf5d3ede62f0
1,242
hpp
C++
include/networkit/numerics/LAMG/Level/EliminationStage.hpp
fabratu/networkit
95f270122165f9c8950aa2f4d4cf126fb8fb1400
[ "MIT" ]
2
2017-08-24T17:59:11.000Z
2021-06-13T05:33:11.000Z
include/networkit/numerics/LAMG/Level/EliminationStage.hpp
fabratu/networkit
95f270122165f9c8950aa2f4d4cf126fb8fb1400
[ "MIT" ]
1
2020-06-12T23:14:09.000Z
2020-06-12T23:14:09.000Z
include/networkit/numerics/LAMG/Level/EliminationStage.hpp
fabratu/networkit
95f270122165f9c8950aa2f4d4cf126fb8fb1400
[ "MIT" ]
2
2019-04-29T23:00:15.000Z
2019-06-18T10:08:38.000Z
/* * EliminationStage.h * * Created on: 09.01.2015 * Author: Michael */ #ifndef NETWORKIT_NUMERICS_LAMG_LEVEL_ELIMINATION_STAGE_HPP_ #define NETWORKIT_NUMERICS_LAMG_LEVEL_ELIMINATION_STAGE_HPP_ #include <networkit/algebraic/Vector.hpp> namespace NetworKit { /** * @ingroup numerics */ template<class Mat...
21.413793
176
0.655395
fabratu
a9c2ce20f4ecbeb28199731477469ae7266bfca7
130
cc
C++
Pods/FirebaseFirestore/Firestore/core/src/firebase/firestore/util/ordered_code.cc
MrsTrier/RememberArt
90314d1f05a1d63b9885ebb17d37bab5134a24f3
[ "MIT" ]
null
null
null
Pods/FirebaseFirestore/Firestore/core/src/firebase/firestore/util/ordered_code.cc
MrsTrier/RememberArt
90314d1f05a1d63b9885ebb17d37bab5134a24f3
[ "MIT" ]
null
null
null
Pods/FirebaseFirestore/Firestore/core/src/firebase/firestore/util/ordered_code.cc
MrsTrier/RememberArt
90314d1f05a1d63b9885ebb17d37bab5134a24f3
[ "MIT" ]
null
null
null
version https://git-lfs.github.com/spec/v1 oid sha256:a2c163644a52e75ff43c4315785762dbf12e3641ef820035f5568b016434b454 size 23139
32.5
75
0.884615
MrsTrier
a9c8abe75855b6f2b4292faf19ba12f166358e60
7,769
cpp
C++
source/mango/filesystem/win32/file_observer.cpp
heiligeslama/mango
6528e151fa70c1b02871f1e7972e6c162c945350
[ "Zlib" ]
1
2021-08-06T09:27:45.000Z
2021-08-06T09:27:45.000Z
source/mango/filesystem/win32/file_observer.cpp
heiligeslama/mango
6528e151fa70c1b02871f1e7972e6c162c945350
[ "Zlib" ]
null
null
null
source/mango/filesystem/win32/file_observer.cpp
heiligeslama/mango
6528e151fa70c1b02871f1e7972e6c162c945350
[ "Zlib" ]
1
2021-07-10T11:41:01.000Z
2021-07-10T11:41:01.000Z
/* MANGO Multimedia Development Platform Copyright (C) 2012-2016 Twilight Finland 3D Oy Ltd. All rights reserved. */ #include <mango/core/configure.hpp> #include <mango/core/string.hpp> #include <mango/filesystem/path.hpp> #include <mango/filesystem/fileobserver.hpp> #include <thread> namespace mango { e...
30.466667
179
0.448964
heiligeslama
a9c8ef0cf8dbd2efaac74941ed94ef63343f7f75
13,232
hpp
C++
c++/include/objtools/data_loaders/genbank/reader.hpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
31
2016-12-09T04:56:59.000Z
2021-12-31T17:19:10.000Z
c++/include/objtools/data_loaders/genbank/reader.hpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
6
2017-03-10T17:25:13.000Z
2021-09-22T15:49:49.000Z
c++/include/objtools/data_loaders/genbank/reader.hpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
20
2015-01-04T02:15:17.000Z
2021-12-03T02:31:43.000Z
#ifndef READER__HPP_INCLUDED #define READER__HPP_INCLUDED /* $Id: reader.hpp 389585 2013-02-19 17:21:14Z vasilche $ * =========================================================================== * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This sof...
40.839506
78
0.614797
OpenHero