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
0f2e67d62ee9361191ae120b13220a1ea29bbce7
540
hpp
C++
src/Screens/Gameplay/TimedEventsQueue.hpp
Subject38/jujube
664b995cc65fa6045433b4837d765c62fe6490b4
[ "MIT" ]
19
2020-02-28T20:34:12.000Z
2022-01-28T20:18:25.000Z
src/Screens/Gameplay/TimedEventsQueue.hpp
Subject38/jujube
664b995cc65fa6045433b4837d765c62fe6490b4
[ "MIT" ]
7
2019-10-22T09:43:16.000Z
2022-03-12T00:15:13.000Z
src/Screens/Gameplay/TimedEventsQueue.hpp
Subject38/jujube
664b995cc65fa6045433b4837d765c62fe6490b4
[ "MIT" ]
5
2019-10-22T08:14:57.000Z
2021-03-13T06:32:04.000Z
#pragma once #include <mutex> #include <optional> #include <queue> #include <SFML/System/Time.hpp> #include <SFML/Window/Event.hpp> namespace Gameplay { struct TimedEvent { sf::Time time; sf::Event event; }; // Thread-safe queue for events with a timestamp class TimedEventsQueue { ...
20
52
0.624074
Subject38
0f2f86ad25e2ac1c0df97f28bb038e2577102449
5,602
cpp
C++
tests/module/OutputControllerTests.cpp
mathieunassar/ghostmodule
8e9a9e958ec3cfa3494b49211920e3f669a9c8bd
[ "Apache-2.0" ]
2
2019-10-05T06:51:49.000Z
2020-10-11T11:20:59.000Z
tests/module/OutputControllerTests.cpp
mathieunassar/ghostmodule
8e9a9e958ec3cfa3494b49211920e3f669a9c8bd
[ "Apache-2.0" ]
24
2019-06-19T21:33:23.000Z
2020-10-04T11:36:41.000Z
tests/module/OutputControllerTests.cpp
mathieunassar/ghostmodule
8e9a9e958ec3cfa3494b49211920e3f669a9c8bd
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019 Mathieu Nassar * * 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 ...
28.150754
117
0.778829
mathieunassar
0f308b3b57cc5e4c7df36f533bcc342fa27bbff9
10,007
hpp
C++
include/mango/math/vector_float32x2.hpp
JessyDL/mango
8db9632fb2e81ba0a13129d3d19019688fab7bd1
[ "Zlib" ]
2
2020-06-28T19:06:09.000Z
2020-07-01T16:31:49.000Z
include/mango/math/vector_float32x2.hpp
JessyDL/mango
8db9632fb2e81ba0a13129d3d19019688fab7bd1
[ "Zlib" ]
null
null
null
include/mango/math/vector_float32x2.hpp
JessyDL/mango
8db9632fb2e81ba0a13129d3d19019688fab7bd1
[ "Zlib" ]
1
2020-06-28T15:19:27.000Z
2020-06-28T15:19:27.000Z
/* MANGO Multimedia Development Platform Copyright (C) 2012-2019 Twilight Finland 3D Oy Ltd. All rights reserved. */ #pragma once #include "vector.hpp" namespace mango { // ------------------------------------------------------------------ // Vector<float, 2> // ----------------------------------...
25.0175
126
0.469272
JessyDL
0f318a67e889b454ca71a4078a0f3297f4187424
1,109
hh
C++
elements/standard/setpackettype.hh
BorisPis/asplos22-nicmem-fastclick
ab4df08ee056ed48a4c534ec5f8536a958f756b5
[ "BSD-3-Clause-Clear" ]
129
2015-10-08T14:38:35.000Z
2022-03-06T14:54:44.000Z
elements/standard/setpackettype.hh
BorisPis/asplos22-nicmem-fastclick
ab4df08ee056ed48a4c534ec5f8536a958f756b5
[ "BSD-3-Clause-Clear" ]
241
2016-02-17T16:17:58.000Z
2022-03-15T09:08:33.000Z
elements/standard/setpackettype.hh
BorisPis/asplos22-nicmem-fastclick
ab4df08ee056ed48a4c534ec5f8536a958f756b5
[ "BSD-3-Clause-Clear" ]
61
2015-12-17T01:46:58.000Z
2022-02-07T22:25:19.000Z
// -*- mode: c++; c-basic-offset: 4 -*- #ifndef CLICK_SETPACKETTYPE_HH #define CLICK_SETPACKETTYPE_HH #include <click/element.hh> CLICK_DECLS /* =c SetPacketType(TYPE) =s annotations sets packet type annotation =d SetPacketType sets passing packets' packet type annotations to TYPE. The packet type annotation tell...
23.595745
75
0.722272
BorisPis
0f36f1a3f34dc1e5190427abf3489dc86d1ca277
411
hpp
C++
microptp/ports/systemportapi.hpp
decimad/microptp
bc7e10ddafc9015d480425f3f462ae086bf48c3b
[ "BSL-1.0" ]
3
2015-07-14T19:22:18.000Z
2015-12-03T01:15:15.000Z
microptp/ports/systemportapi.hpp
decimad/microptp
bc7e10ddafc9015d480425f3f462ae086bf48c3b
[ "BSL-1.0" ]
1
2015-12-02T23:46:25.000Z
2015-12-04T14:17:43.000Z
microptp/ports/systemportapi.hpp
decimad/microptp
bc7e10ddafc9015d480425f3f462ae086bf48c3b
[ "BSL-1.0" ]
null
null
null
/* * systemportapi.hpp * * Created on: 08.08.2015 * Author: Michael */ #ifndef MICROPTP_PORTS_SYSTEMPORTAPI_HPP__ #define MICROPTP_PORTS_SYSTEMPORTAPI_HPP__ #include <microptp_config.hpp> #ifdef MICROPTP_PORT_CORTEX_M4 #include <microptp/ports/cortex_m4/port_types.hpp> #endif #ifdef MICROPTP_PORT_CORTEX_M...
17.125
60
0.793187
decimad
0f389c11a12b15787dcca0d24e25bf952a2b1119
304
cpp
C++
009_palindromeNumber/main.cpp
IdLeoO/LC
445d8f1521d02c8481d590e5af914b6599bf8d7d
[ "MIT" ]
null
null
null
009_palindromeNumber/main.cpp
IdLeoO/LC
445d8f1521d02c8481d590e5af914b6599bf8d7d
[ "MIT" ]
null
null
null
009_palindromeNumber/main.cpp
IdLeoO/LC
445d8f1521d02c8481d590e5af914b6599bf8d7d
[ "MIT" ]
null
null
null
#include "main.hpp" #include <string> #include <iostream> using namespace std; bool Solution::isPalindrome(int x){ string xStr = to_string(x); for (int i = 0; i < xStr.size()/2; i++){ if (xStr[i] != xStr[xStr.size() - 1 - i]){ return false; } } return true; }
21.714286
50
0.552632
IdLeoO
0f3923b98fb10c665d947986355075bc25cc31de
1,484
cpp
C++
hackerrank/problem-solving/between-two-sets/main.cpp
lithika-damnod/problem-solving
5df3f5f69456219c75381be9990c949b7d77a89b
[ "MIT" ]
null
null
null
hackerrank/problem-solving/between-two-sets/main.cpp
lithika-damnod/problem-solving
5df3f5f69456219c75381be9990c949b7d77a89b
[ "MIT" ]
null
null
null
hackerrank/problem-solving/between-two-sets/main.cpp
lithika-damnod/problem-solving
5df3f5f69456219c75381be9990c949b7d77a89b
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <unordered_set> using namespace std; // find the min from a vector int min(vector<int> b){ int minim = b[0]; for(int i=0; i<b.size(); i++){ if(b[i] < minim){ minim = b[i]; } } return minim; } int getTotalX(vecto...
22.830769
52
0.3969
lithika-damnod
0f3d07b2804dccf3a12a22fa374fd6c5b25ce2b7
2,032
cc
C++
OdfCommon/odfTransitionTranslator.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
OdfCommon/odfTransitionTranslator.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
OdfCommon/odfTransitionTranslator.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
//-------------------------------------------------------------------------- // File and Version Information: // $Id: odfTransitionTranslator.cc 159 2010-01-15 08:50:21Z stroili $ // // Description: // odfTransitionTranslator implementation // // Environment: // Software developed for the BaBar Detector at the SLAC B-...
26.051282
76
0.425197
brownd1978
0f3d68534fbdc2163a6a010ee2a43e355cb878a1
3,916
cxx
C++
test/itkThresholdedMedianImageFilterTest.cxx
darrent1974/ITKCSIROTomo
48c06aaf5e8aa3cbb9f7751b77af6f165dbcd8aa
[ "Apache-2.0" ]
null
null
null
test/itkThresholdedMedianImageFilterTest.cxx
darrent1974/ITKCSIROTomo
48c06aaf5e8aa3cbb9f7751b77af6f165dbcd8aa
[ "Apache-2.0" ]
null
null
null
test/itkThresholdedMedianImageFilterTest.cxx
darrent1974/ITKCSIROTomo
48c06aaf5e8aa3cbb9f7751b77af6f165dbcd8aa
[ "Apache-2.0" ]
null
null
null
/*========================================================================= * * Copyright * * 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/license...
36.943396
119
0.686159
darrent1974
0f3e1a1b01cc340b5767867da3b955b2a8c04697
253
hpp
C++
core/exception.hpp
SamuelAlonsoDev/lux
268a9fabddb60a06e226d8bad27a5d5d7a29dcb2
[ "MIT" ]
2
2020-11-05T07:39:05.000Z
2021-01-07T18:29:56.000Z
core/exception.hpp
SamuelAlonsoDev/lux
268a9fabddb60a06e226d8bad27a5d5d7a29dcb2
[ "MIT" ]
null
null
null
core/exception.hpp
SamuelAlonsoDev/lux
268a9fabddb60a06e226d8bad27a5d5d7a29dcb2
[ "MIT" ]
null
null
null
#pragma once #include <exception> namespace lux { using exception = std::exception; class null_ptr : public exception { public: inline const char* what() const throw() { return "null_ptr"; } }; }
15.8125
47
0.557312
SamuelAlonsoDev
0f40c4419c0d68667d584f873ca9bfee1ad8d493
7,606
cpp
C++
PrehistoricEngine/src/engine/platform/vulkan/rendering/pipeline/VKGraphicsPipeline.cpp
Andrispowq/PrehistoricEngine---C-
04159c9119b2f5e0148de21a85aa0dab2d6ba60e
[ "Apache-2.0" ]
1
2020-12-04T13:36:03.000Z
2020-12-04T13:36:03.000Z
PrehistoricEngine/src/engine/platform/vulkan/rendering/pipeline/VKGraphicsPipeline.cpp
Andrispowq/PrehistoricEngine---C-
04159c9119b2f5e0148de21a85aa0dab2d6ba60e
[ "Apache-2.0" ]
null
null
null
PrehistoricEngine/src/engine/platform/vulkan/rendering/pipeline/VKGraphicsPipeline.cpp
Andrispowq/PrehistoricEngine---C-
04159c9119b2f5e0148de21a85aa0dab2d6ba60e
[ "Apache-2.0" ]
null
null
null
#include "Includes.hpp" #include "VKGraphicsPipeline.h" namespace Prehistoric { VKGraphicsPipeline::VKGraphicsPipeline(Window* window, AssetManager* manager, ShaderHandle shader, VertexBufferHandle vbo) : VKPipeline(window, manager, shader), GraphicsPipeline(manager, vbo) { CreatePipeline(); } VKGraphicsPipel...
41.791209
146
0.792795
Andrispowq
0f419a62d1ddbafa11b74426a24d74447dd61e80
25,106
cpp
C++
ELF/Arch/Mips.cpp
dragon-tc-tmp/lld
31e0f960ae9b2c8cb900b0179f6deb1d3085db09
[ "Apache-2.0" ]
null
null
null
ELF/Arch/Mips.cpp
dragon-tc-tmp/lld
31e0f960ae9b2c8cb900b0179f6deb1d3085db09
[ "Apache-2.0" ]
1
2019-04-15T14:45:13.000Z
2019-05-19T17:45:11.000Z
ELF/Arch/Mips.cpp
dragon-tc-tmp/lld
31e0f960ae9b2c8cb900b0179f6deb1d3085db09
[ "Apache-2.0" ]
null
null
null
//===- MIPS.cpp -----------------------------------------------------------===// // // 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 // //===---------------------------...
33.927027
80
0.669641
dragon-tc-tmp
0f423e08ed5e7fd5ed8df1e1cdbbdaf1b2ecd32d
6,222
cpp
C++
src/array_tests.cpp
bobcarterirl/homebrew-stl
a92d4407801f2ef77b2d52177b86a173ee64e6e4
[ "MIT" ]
null
null
null
src/array_tests.cpp
bobcarterirl/homebrew-stl
a92d4407801f2ef77b2d52177b86a173ee64e6e4
[ "MIT" ]
1
2019-02-04T23:00:25.000Z
2019-02-04T23:00:25.000Z
src/array_tests.cpp
bobcarterirl/homebrew-standard-library
a92d4407801f2ef77b2d52177b86a173ee64e6e4
[ "MIT" ]
null
null
null
#include <cassert> #include <iostream> #include "tests.hpp" #include "array.hpp" void test_array() { std::cerr << "array tests\n"; std::cerr << "\tconstructors\n"; { hsl::array<int, 5> arr1; hsl::array<int, 5> arr2{1, 2, 3, 4, 5}; hsl::array<int, 5> arr3 = arr2; } std::cer...
23.568182
114
0.421086
bobcarterirl
0f4734d2321738024aeb47217d41e50767420cff
31,768
cpp
C++
src/mongo/db/s/migration_chunk_cloner_source_legacy.cpp
GoldJohn/dds
68e5cf295d2b356f42d86b78f35182f488fba85b
[ "Apache-2.0" ]
72
2020-06-12T06:33:41.000Z
2021-03-22T03:15:56.000Z
src/mongo/db/s/migration_chunk_cloner_source_legacy.cpp
GoldJohn/dds
68e5cf295d2b356f42d86b78f35182f488fba85b
[ "Apache-2.0" ]
9
2020-07-02T09:36:49.000Z
2021-03-25T23:54:00.000Z
src/mongo/db/s/migration_chunk_cloner_source_legacy.cpp
GoldJohn/dds
68e5cf295d2b356f42d86b78f35182f488fba85b
[ "Apache-2.0" ]
14
2020-06-12T03:08:03.000Z
2021-02-03T11:43:09.000Z
/** * Copyright (C) 2015 MongoDB Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be usef...
40.06053
100
0.608946
GoldJohn
0f4f7512729a3c43c368a98b31b9006860296118
387
hpp
C++
backend/inc/effects/distortion.hpp
capstone-2019/capstone
b9212ad803c962dc4b03fe8505fe56bfd820aa8a
[ "MIT" ]
1
2019-05-04T02:21:12.000Z
2019-05-04T02:21:12.000Z
backend/inc/effects/distortion.hpp
capstone-2019/capstone
b9212ad803c962dc4b03fe8505fe56bfd820aa8a
[ "MIT" ]
2
2019-02-11T17:11:28.000Z
2019-02-11T17:12:26.000Z
backend/inc/effects/distortion.hpp
capstone-2019/capstone
b9212ad803c962dc4b03fe8505fe56bfd820aa8a
[ "MIT" ]
null
null
null
/** @file distortion.hpp * * @brief interface for the distortion effect. * * @author Joseph Kim (youngchk) */ #ifndef _DISTORTION_H_ #define _DISTORTION_H_ #include <effect.hpp> class Distortion : public Effect { public: Distortion() { }; ~Distortion() { }; float apply(float val) override; private: floa...
12.9
46
0.684755
capstone-2019
0f4ff1b282b1402f6cd84f00c5507456d0f595f1
192
cpp
C++
Engine/Assets/Importer.cpp
Raphy42/KiwiEngine
6ba54ee7d8d92da3903970beac8f32462e2f64ef
[ "MIT" ]
3
2016-12-11T09:30:23.000Z
2017-03-22T19:50:14.000Z
Engine/Assets/Importer.cpp
Raphy42/KiwiEngine
6ba54ee7d8d92da3903970beac8f32462e2f64ef
[ "MIT" ]
null
null
null
Engine/Assets/Importer.cpp
Raphy42/KiwiEngine
6ba54ee7d8d92da3903970beac8f32462e2f64ef
[ "MIT" ]
1
2021-06-29T14:15:57.000Z
2021-06-29T14:15:57.000Z
// // Created by Raphael DANTZER on 12/13/16. // #include "Importer.h" std::vector<Kiwi::Engine::Asset::Asset> Kiwi::Engine::Asset::Importer::createAssetsFromFile(const char *filename) { }
17.454545
75
0.708333
Raphy42
0f504f267572768d27806d98e65de4d5207bc996
7,028
cpp
C++
XivAlexander/App_Feature_IpcTypeFinder.cpp
ddc/XivAlexander
8371d70e42c64cd082d90fc1ca102b687c9d3899
[ "Apache-2.0" ]
null
null
null
XivAlexander/App_Feature_IpcTypeFinder.cpp
ddc/XivAlexander
8371d70e42c64cd082d90fc1ca102b687c9d3899
[ "Apache-2.0" ]
null
null
null
XivAlexander/App_Feature_IpcTypeFinder.cpp
ddc/XivAlexander
8371d70e42c64cd082d90fc1ca102b687c9d3899
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #include "App_Feature_IpcTypeFinder.h" #include "App_Misc_Logger.h" #include "App_Network_SocketHook.h" #include "App_Network_Structures.h" struct App::Feature::IpcTypeFinder::Implementation { class SingleConnectionHandler { public: Implementation* m_pImpl; Network::SingleConnection& conn; Si...
36.795812
122
0.653671
ddc
0f5225ae9b289affad1477b7767cbe3b9d01b45a
10,214
cpp
C++
bip/ripemd160.cpp
toby20130333/QtQuickBlockChain
e6b9f95502fede24bd0196106381b8267c4f85cb
[ "BSD-3-Clause" ]
8
2019-07-05T07:33:29.000Z
2021-06-04T17:53:49.000Z
bip/ripemd160.cpp
toby20130333/QtQuickBlockChain
e6b9f95502fede24bd0196106381b8267c4f85cb
[ "BSD-3-Clause" ]
null
null
null
bip/ripemd160.cpp
toby20130333/QtQuickBlockChain
e6b9f95502fede24bd0196106381b8267c4f85cb
[ "BSD-3-Clause" ]
4
2019-09-30T17:21:47.000Z
2020-04-12T08:09:49.000Z
/* * RIPE MD-160 implementation * * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. * You may obtain a copy of the License ...
29.605797
91
0.466321
toby20130333
0f54c531bb4004bebc90f2b7ddac87dee8b7ce46
4,453
cxx
C++
trolley-interface/src/TCPDrivers.cxx
g2-field-team/field-hardware-lib
559052f2c245fc384265d67e7885f13f431ca4b8
[ "MIT" ]
null
null
null
trolley-interface/src/TCPDrivers.cxx
g2-field-team/field-hardware-lib
559052f2c245fc384265d67e7885f13f431ca4b8
[ "MIT" ]
null
null
null
trolley-interface/src/TCPDrivers.cxx
g2-field-team/field-hardware-lib
559052f2c245fc384265d67e7885f13f431ca4b8
[ "MIT" ]
null
null
null
//C includes #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> #include <fcntl.h> //C++ includes #include <iostream> #include <string> #include <strings.h> #include "TCPDrivers.h" using namespace std; using namespace TC...
26.194118
180
0.675724
g2-field-team
0f555c5047c03059db2983f769ed7b40f691cf43
2,199
hpp
C++
include/sprout/type/algorithm/transform.hpp
thinkoid/Sprout
a5a5944bb1779d3bb685087c58c20a4e18df2f39
[ "BSL-1.0" ]
4
2021-12-29T22:17:40.000Z
2022-03-23T11:53:44.000Z
dsp/lib/sprout/sprout/type/algorithm/transform.hpp
TheSlowGrowth/TapeLooper
ee8d8dccc27e39a6f6f6f435847e4d5e1b97c264
[ "MIT" ]
16
2021-10-31T21:41:09.000Z
2022-01-22T10:51:34.000Z
include/sprout/type/algorithm/transform.hpp
thinkoid/Sprout
a5a5944bb1779d3bb685087c58c20a4e18df2f39
[ "BSL-1.0" ]
null
null
null
/*============================================================================= Copyright (c) 2011-2019 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprout 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) ==...
37.271186
96
0.693952
thinkoid
0f5791c72f3491e8096a771cc30cde6d91bcfdd5
9,832
cpp
C++
tests/regression/gcl/test_halo_exchange_3D.cpp
tehrengruber/gridtools
92bbbf65174d440c28a33babffde41b46ed943de
[ "BSD-3-Clause" ]
null
null
null
tests/regression/gcl/test_halo_exchange_3D.cpp
tehrengruber/gridtools
92bbbf65174d440c28a33babffde41b46ed943de
[ "BSD-3-Clause" ]
null
null
null
tests/regression/gcl/test_halo_exchange_3D.cpp
tehrengruber/gridtools
92bbbf65174d440c28a33babffde41b46ed943de
[ "BSD-3-Clause" ]
null
null
null
/* * GridTools * * Copyright (c) 2014-2019, ETH Zurich * All rights reserved. * * Please, refer to the LICENSE file in the root directory. * SPDX-License-Identifier: BSD-3-Clause */ #include <gridtools/gcl/halo_exchange.hpp> #include <type_traits> #include <vector> #include <mpi.h> #include <gmock/gmock.h> #...
39.328
120
0.530513
tehrengruber
0f61545dd9587b36b5cabb4cca64a8cce4ffeeca
1,515
cpp
C++
cpp/671-680/24 Game.cpp
KaiyuWei/leetcode
fd61f5df60cfc7086f7e85774704bacacb4aaa5c
[ "MIT" ]
150
2015-04-04T06:53:49.000Z
2022-03-21T13:32:08.000Z
cpp/671-680/24 Game.cpp
yizhu1012/leetcode
d6fa443a8517956f1fcc149c8c4f42c0ad93a4a7
[ "MIT" ]
1
2015-04-13T15:15:40.000Z
2015-04-21T20:23:16.000Z
cpp/671-680/24 Game.cpp
yizhu1012/leetcode
d6fa443a8517956f1fcc149c8c4f42c0ad93a4a7
[ "MIT" ]
64
2015-06-30T08:00:07.000Z
2022-01-01T16:44:14.000Z
class Solution { vector<double> op(double d1, double d2) { vector<double> result; result.push_back(d1 + d2); result.push_back(d1 - d2); result.push_back(d2 - d1); result.push_back(d1 * d2); if (fabs(d2) > 1e-5) result.push_back(d1 / d2); if (fabs(d1) > 1e...
30.3
63
0.424422
KaiyuWei
0f619d0e1c673c166e8162b49e8e91dacbedd76f
6,602
cpp
C++
deps/icu/repo/source/test/intltest/pptest.cpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
26
2015-04-22T05:25:25.000Z
2020-11-15T11:07:56.000Z
hihope_neptune-oh_hid/00_src/v0.3/third_party/icu/icu4c/source/test/intltest/pptest.cpp
dawmlight/vendor_oh_fun
bc9fb50920f06cd4c27399f60076f5793043c77d
[ "Apache-2.0" ]
2
2015-01-05T10:41:27.000Z
2015-01-06T20:46:11.000Z
hihope_neptune-oh_hid/00_src/v0.3/third_party/icu/icu4c/source/test/intltest/pptest.cpp
dawmlight/vendor_oh_fun
bc9fb50920f06cd4c27399f60076f5793043c77d
[ "Apache-2.0" ]
5
2016-08-02T11:13:57.000Z
2018-10-26T11:19:27.000Z
// © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html /******************************************************************** * COPYRIGHT: * Copyright (c) 1997-2010, International Business Machines Corporation and * others. All Rights Reserved. **************...
28.213675
119
0.537261
quyse
0f633ef8f6614d31b9884437c371e3c193e2f70d
53,516
cpp
C++
BCG/BCGPOutlookWnd.cpp
11Zero/DemoBCG
8f41d5243899cf1c82990ca9863fb1cb9f76491c
[ "MIT" ]
2
2018-03-30T06:40:08.000Z
2022-02-23T12:40:13.000Z
BCG/BCGPOutlookWnd.cpp
11Zero/DemoBCG
8f41d5243899cf1c82990ca9863fb1cb9f76491c
[ "MIT" ]
null
null
null
BCG/BCGPOutlookWnd.cpp
11Zero/DemoBCG
8f41d5243899cf1c82990ca9863fb1cb9f76491c
[ "MIT" ]
1
2020-08-11T05:48:02.000Z
2020-08-11T05:48:02.000Z
//******************************************************************************* // COPYRIGHT NOTES // --------------- // This is a part of the BCGControlBar Library // Copyright (C) 1998-2014 BCGSoft Ltd. // All rights reserved. // // This source code can be used, distributed or modified // only under terms and condi...
25.101313
119
0.631811
11Zero
0f6826ad9c7e2da368a839639dcc5bb1a9016831
2,905
cpp
C++
fpdfsdk/fpdf_javascript.cpp
WarGloom/pdfium
e9a79aa2ef7d63aa8e1b2716d25725cf280f199f
[ "Apache-2.0" ]
7
2018-05-17T22:53:33.000Z
2022-02-05T15:51:41.000Z
fpdfsdk/fpdf_javascript.cpp
WarGloom/pdfium
e9a79aa2ef7d63aa8e1b2716d25725cf280f199f
[ "Apache-2.0" ]
null
null
null
fpdfsdk/fpdf_javascript.cpp
WarGloom/pdfium
e9a79aa2ef7d63aa8e1b2716d25725cf280f199f
[ "Apache-2.0" ]
3
2018-05-17T22:53:42.000Z
2022-01-18T05:53:34.000Z
// Copyright 2019 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "public/fpdf_javascript.h" #include <memory> #include "core/fpdfapi/parser/cpdf_dictionary.h" #include "core/fpdfapi/parser/cpdf_document.h" #include...
32.277778
80
0.736661
WarGloom
0f6a1764db375d7e407ba02163101c5d4aa2b8cf
3,604
cpp
C++
export/windows/obj/src/flixel/system/replay/CodeValuePair.cpp
arturspon/zombie-killer
07848c5006916e9079537a3d703ffe3740afaa5a
[ "MIT" ]
null
null
null
export/windows/obj/src/flixel/system/replay/CodeValuePair.cpp
arturspon/zombie-killer
07848c5006916e9079537a3d703ffe3740afaa5a
[ "MIT" ]
null
null
null
export/windows/obj/src/flixel/system/replay/CodeValuePair.cpp
arturspon/zombie-killer
07848c5006916e9079537a3d703ffe3740afaa5a
[ "MIT" ]
1
2021-07-16T22:57:01.000Z
2021-07-16T22:57:01.000Z
// Generated by Haxe 4.0.0-rc.2+77068e10c #include <hxcpp.h> #ifndef INCLUDED_flixel_system_replay_CodeValuePair #include <flixel/system/replay/CodeValuePair.h> #endif HX_DEFINE_STACK_FRAME(_hx_pos_0db6d6d8b03f35eb_11_new,"flixel.system.replay.CodeValuePair","new",0x0170ef56,"flixel.system.replay.CodeValuePair.new","...
32.178571
203
0.750277
arturspon
0f6c34908932d47a8b9afd1a793c7337fcb59ce5
6,167
hpp
C++
editor/xml_feature.hpp
kadetlessy/omim
f28560ac36899ef8694e75a36535b0f1487b285b
[ "Apache-2.0" ]
1
2021-07-02T08:45:02.000Z
2021-07-02T08:45:02.000Z
editor/xml_feature.hpp
kadetlessy/omim
f28560ac36899ef8694e75a36535b0f1487b285b
[ "Apache-2.0" ]
1
2020-06-15T15:16:23.000Z
2020-06-15T15:59:19.000Z
editor/xml_feature.hpp
maksimandrianov/omim
cbc5a80d09d585afbda01e471887f63b9d3ab0c2
[ "Apache-2.0" ]
1
2018-10-01T10:27:21.000Z
2018-10-01T10:27:21.000Z
#pragma once #include "geometry/mercator.hpp" #include "geometry/point2d.hpp" #include "coding/multilang_utf8_string.hpp" #include "base/string_utils.hpp" #include "std/ctime.hpp" #include "std/iostream.hpp" #include "std/vector.hpp" #include "3party/pugixml/src/pugixml.hpp" class FeatureType; namespace editor {...
32.119792
100
0.71915
kadetlessy
0f705456405077d54bc45f9483c19530765d62e1
5,282
cpp
C++
src/age_tester/age_tester_write_log.cpp
c-sp/AGE
054bc4c7c0fe703439b73575d56a23eb3700d695
[ "Apache-2.0" ]
2
2022-02-12T12:51:14.000Z
2022-02-13T19:14:36.000Z
src/age_tester/age_tester_write_log.cpp
c-sp/AGE
054bc4c7c0fe703439b73575d56a23eb3700d695
[ "Apache-2.0" ]
4
2021-05-19T18:11:22.000Z
2021-09-27T18:17:26.000Z
src/age_tester/age_tester_write_log.cpp
c-sp/AGE
054bc4c7c0fe703439b73575d56a23eb3700d695
[ "Apache-2.0" ]
null
null
null
// // Copyright 2021 Christoph Sprenger // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agr...
32.404908
142
0.536161
c-sp
0f73633acbd69bf38aabac5c038744cc4a1d9ddf
846
cpp
C++
src/Math.cpp
JBenda/TravellerSubSectorGenerator
d5b149778372fdbf98dde8ebe8274f1fcd802c33
[ "MIT" ]
null
null
null
src/Math.cpp
JBenda/TravellerSubSectorGenerator
d5b149778372fdbf98dde8ebe8274f1fcd802c33
[ "MIT" ]
null
null
null
src/Math.cpp
JBenda/TravellerSubSectorGenerator
d5b149778372fdbf98dde8ebe8274f1fcd802c33
[ "MIT" ]
null
null
null
#include "Math.hpp" Quat::Quat(const sf::Vector3f& axis, float angle) { float a2 = angle / 2.f; float as = sin(a2); float ac = cos(a2); _data[0] = axis.x * as; _data[1] = axis.y * as; _data[2] = axis.z * as; _data[3] = ac; updateMatrix(); } void Quat::updateMatrix() { _matrix[0] = 1. - 2. * (_data...
33.84
67
0.553191
JBenda
0f7759c9a98552d94a586e3da08fabc9dbe26c21
4,560
hxx
C++
opencascade/IFSelect_PacketList.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/IFSelect_PacketList.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/IFSelect_PacketList.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
// Created on: 1994-09-02 // Created by: Christian CAILLET // Copyright (c) 1994-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the ...
33.777778
123
0.76886
mgreminger
0f7892fbb026dd6aea0c6d2311fc957a70cf215b
61,979
cpp
C++
openstudiocore/src/model/ChillerHeaterPerformanceElectricEIR.cpp
hongyuanjia/OpenStudio
6cc52f1b66c069cf13f2b6ca2a0cc3c137c37cf0
[ "MIT" ]
1
2019-04-21T15:38:54.000Z
2019-04-21T15:38:54.000Z
openstudiocore/src/model/ChillerHeaterPerformanceElectricEIR.cpp
hongyuanjia/OpenStudio
6cc52f1b66c069cf13f2b6ca2a0cc3c137c37cf0
[ "MIT" ]
null
null
null
openstudiocore/src/model/ChillerHeaterPerformanceElectricEIR.cpp
hongyuanjia/OpenStudio
6cc52f1b66c069cf13f2b6ca2a0cc3c137c37cf0
[ "MIT" ]
1
2019-07-18T06:52:29.000Z
2019-07-18T06:52:29.000Z
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2018, Alliance for Sustainable Energy, LLC. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are perm...
53.064212
200
0.823198
hongyuanjia
0f7906f96d0ef1c3a9a1dfd0b382afd7c85c5288
1,319
cpp
C++
Chapter9/05_gpu_performance.cpp
robotchaoX/Hands-On-GPU-Accelerated-Computer-Vision-with-OpenCV-and-CUDA
fa0c6c80e70d4dbbea8662b6f17d18927ca6d3fa
[ "MIT" ]
null
null
null
Chapter9/05_gpu_performance.cpp
robotchaoX/Hands-On-GPU-Accelerated-Computer-Vision-with-OpenCV-and-CUDA
fa0c6c80e70d4dbbea8662b6f17d18927ca6d3fa
[ "MIT" ]
null
null
null
Chapter9/05_gpu_performance.cpp
robotchaoX/Hands-On-GPU-Accelerated-Computer-Vision-with-OpenCV-and-CUDA
fa0c6c80e70d4dbbea8662b6f17d18927ca6d3fa
[ "MIT" ]
null
null
null
#include <iostream> #include "opencv2/opencv.hpp" using namespace cv; int main(int argc, char* argv[]) { cv::Mat h_img1 = cv::imread("images/cameraman.tif", 0); cv::cuda::GpuMat d_result1,d_result2,d_result3,d_result4,d_result5, d_img1; //Measure initial time ticks int64 work_begin = getTickCount(); d...
38.794118
78
0.705838
robotchaoX
0f79a92d3bfbb88a6dc42354e958cb37077044d2
4,161
cc
C++
perceptron-pv.cc
lemrobotry/thesis
14ad489e8f04cb957707b89c454ee7d81ec672ad
[ "MIT" ]
null
null
null
perceptron-pv.cc
lemrobotry/thesis
14ad489e8f04cb957707b89c454ee7d81ec672ad
[ "MIT" ]
null
null
null
perceptron-pv.cc
lemrobotry/thesis
14ad489e8f04cb957707b89c454ee7d81ec672ad
[ "MIT" ]
null
null
null
#include "Application.hh" #include "ChartFactory.hh" #include "PV.hh" APPLICATION using namespace Permute; // Trains a PV using standard perceptron updates. Until convergence, for each // sentence in the input, searches for the best permutation according to the // model. Updates the parameters to prefer the true t...
29.510638
112
0.630377
lemrobotry
0f7acb6fca1b42b030ae185f363d28741d84cf6b
27,250
cc
C++
cvmfs/catalog_mgr_rw.cc
btovar/cvmfs
23a98b0ec0a9407f83f29728bb8c7fbf331cbdc0
[ "BSD-3-Clause" ]
null
null
null
cvmfs/catalog_mgr_rw.cc
btovar/cvmfs
23a98b0ec0a9407f83f29728bb8c7fbf331cbdc0
[ "BSD-3-Clause" ]
null
null
null
cvmfs/catalog_mgr_rw.cc
btovar/cvmfs
23a98b0ec0a9407f83f29728bb8c7fbf331cbdc0
[ "BSD-3-Clause" ]
null
null
null
/** * This file is part of the CernVM file system. */ #define __STDC_FORMAT_MACROS #include "catalog_mgr_rw.h" #include <unistd.h> #include <inttypes.h> #include <cassert> #include <cstdio> #include <cstdlib> #include <string> #include "compression.h" #include "catalog_rw.h" #include "util.h" #include "logging....
34.0625
88
0.681835
btovar
0f7d18a9db5289b9017c3e01c63d74ec7697a6d1
884
hpp
C++
src/stan/language/ast/node/function_decl_def_def.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
1
2019-09-06T15:53:17.000Z
2019-09-06T15:53:17.000Z
src/stan/language/ast/node/function_decl_def_def.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
8
2019-01-17T18:51:16.000Z
2019-01-17T18:51:39.000Z
src/stan/language/ast/node/function_decl_def_def.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
null
null
null
#ifndef STAN_LANG_AST_NODE_FUNCTION_DECL_DEF_DEF_HPP #define STAN_LANG_AST_NODE_FUNCTION_DECL_DEF_DEF_HPP #include "stan/language/ast.hpp" #include <string> #include <vector> namespace stan { namespace lang { function_decl_def::function_decl_def() {} function_decl_def::function_decl_def(const bare_expr_type& return...
27.625
76
0.645928
alashworth
0f7fda0423a961efbe2432243cc0ca0160074b61
722
hpp
C++
Include/Engine/ForwardIBLTechnique.hpp
glowing-chemist/Bell
0cf4d0ac925940869077779700c1d3bd45ff841f
[ "MIT" ]
14
2020-02-12T19:13:46.000Z
2022-03-05T02:26:06.000Z
Include/Engine/ForwardIBLTechnique.hpp
glowing-chemist/Bell
0cf4d0ac925940869077779700c1d3bd45ff841f
[ "MIT" ]
5
2020-08-06T07:19:47.000Z
2021-01-05T21:20:51.000Z
Include/Engine/ForwardIBLTechnique.hpp
glowing-chemist/Bell
0cf4d0ac925940869077779700c1d3bd45ff841f
[ "MIT" ]
2
2021-09-18T13:36:47.000Z
2021-12-04T15:08:53.000Z
#ifndef FORWARD_IBL_TECHNIQUE_HPP #define FORWARD_IBL_TECHNIQUE_HPP #include "RenderGraph/GraphicsTask.hpp" #include "Technique.hpp" class ForwardIBLTechnique : public Technique { public: ForwardIBLTechnique(RenderEngine*, RenderGraph&); ~ForwardIBLTechnique() = default; virtual PassType getPassType() const {...
20.055556
82
0.781163
glowing-chemist
abf0ce847e719f742122de2c90b4380128401f28
1,048
cpp
C++
Chapter_2_Data_Structures/Linear_DS_with_Built-in_Libraries/kattis_baloni.cpp
BrandonTang89/CP4_Code
5114471f439978dd11f6f2cbf6af20ca654593da
[ "MIT" ]
2
2021-12-29T04:12:59.000Z
2022-03-30T09:32:19.000Z
Chapter_2_Data_Structures/Linear_DS_with_Built-in_Libraries/kattis_baloni.cpp
BrandonTang89/CP4_Code
5114471f439978dd11f6f2cbf6af20ca654593da
[ "MIT" ]
null
null
null
Chapter_2_Data_Structures/Linear_DS_with_Built-in_Libraries/kattis_baloni.cpp
BrandonTang89/CP4_Code
5114471f439978dd11f6f2cbf6af20ca654593da
[ "MIT" ]
1
2022-03-01T06:12:46.000Z
2022-03-01T06:12:46.000Z
/**Kattis - baloni * if the leftmost balloon is at height h, we need to throw a dart at height h, removing the leftmost * balloon and considering that we have a dart travelling at height h-1. We can do this repeatedly, * throwing a new dart if no dart is present to hit the leftmost balloon, else we let the existing...
27.578947
101
0.593511
BrandonTang89
abf550ed8b852a201a93c3c5d77d21916bc2e0fc
1,194
cpp
C++
test/box.cpp
delftrobotics/dr_eigen
47022c2e1648c1b514ff493b25b3ebe54a7ddc7d
[ "Apache-2.0" ]
1
2017-06-02T14:14:37.000Z
2017-06-02T14:14:37.000Z
test/box.cpp
delftrobotics/dr_eigen
47022c2e1648c1b514ff493b25b3ebe54a7ddc7d
[ "Apache-2.0" ]
null
null
null
test/box.cpp
delftrobotics/dr_eigen
47022c2e1648c1b514ff493b25b3ebe54a7ddc7d
[ "Apache-2.0" ]
null
null
null
#include "eigen.hpp" #include "test/compare.hpp" #include <gtest/gtest.h> using namespace dr; int main(int argc, char * * argv) { testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); } TEST(BoxTest, makeCenteredBox) { Eigen::AlignedBox3d box; box = makeCenteredBox({1, 2, 3}, {4, 5, 6}); ASSERT_EQ(Ei...
41.172414
105
0.717755
delftrobotics
abf8a587598b365cea0f8a80adb3bcad7b1ed9d8
726
hh
C++
src/sound/ResampleBlip.hh
D15C0DE/openMSX
5119a9657de4b82115c745f670cdc55dc7363133
[ "Naumen", "Condor-1.1", "MS-PL" ]
7
2019-10-11T21:47:05.000Z
2021-10-05T19:58:18.000Z
src/sound/ResampleBlip.hh
D15C0DE/openMSX
5119a9657de4b82115c745f670cdc55dc7363133
[ "Naumen", "Condor-1.1", "MS-PL" ]
1
2019-05-25T21:08:47.000Z
2019-05-25T21:10:35.000Z
src/sound/ResampleBlip.hh
D15C0DE/openMSX
5119a9657de4b82115c745f670cdc55dc7363133
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
#ifndef RESAMPLEBLIP_HH #define RESAMPLEBLIP_HH #include "ResampleAlgo.hh" #include "BlipBuffer.hh" #include "DynamicClock.hh" namespace openmsx { class ResampledSoundDevice; template<unsigned CHANNELS> class ResampleBlip final : public ResampleAlgo { public: ResampleBlip(ResampledSoundDevice& input, const Dynamic...
22
74
0.714876
D15C0DE
abfa29e6ef4174af9b88d44fc28fd73ed838d25d
2,501
cpp
C++
Source/3rdParty/SFML/System/Android/ResourceStream.cpp
chronos38/lupus-playground
8f2278d9e7da67fbded15b80d3602ca51a4add72
[ "MIT" ]
11
2017-01-17T15:02:25.000Z
2020-11-27T16:54:42.000Z
Source/3rdParty/SFML/System/Android/ResourceStream.cpp
chronos38/lupus-playground
8f2278d9e7da67fbded15b80d3602ca51a4add72
[ "MIT" ]
9
2016-10-23T20:15:38.000Z
2018-02-06T11:23:17.000Z
Source/3rdParty/SFML/System/Android/ResourceStream.cpp
chronos38/lupus-playground
8f2278d9e7da67fbded15b80d3602ca51a4add72
[ "MIT" ]
3
2015-11-13T01:52:42.000Z
2019-04-16T03:31:57.000Z
//////////////////////////////////////////////////////////// // // SFML - Simple and Fast Multimedia Library // Copyright (C) 2013 Jonathan De Wachter (dewachter.jonathan@gmail.com) // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any d...
29.081395
103
0.558177
chronos38
abfa310698392f04a6821ba914c800c147823eb0
1,652
cpp
C++
libs/maps/src/maps/CLogOddsGridMapLUT_unittest.cpp
wstnturner/mrpt
b0be3557a4cded6bafff03feb28f7fa1f75762a3
[ "BSD-3-Clause" ]
38
2015-01-04T05:24:26.000Z
2015-07-17T00:30:02.000Z
libs/maps/src/maps/CLogOddsGridMapLUT_unittest.cpp
wstnturner/mrpt
b0be3557a4cded6bafff03feb28f7fa1f75762a3
[ "BSD-3-Clause" ]
40
2015-01-03T22:43:00.000Z
2015-07-17T18:52:59.000Z
libs/maps/src/maps/CLogOddsGridMapLUT_unittest.cpp
wstnturner/mrpt
b0be3557a4cded6bafff03feb28f7fa1f75762a3
[ "BSD-3-Clause" ]
41
2015-01-06T12:32:19.000Z
2017-05-30T15:50:13.000Z
/* +------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | https://www.mrpt.org/ | | | | Cop...
35.913043
80
0.54661
wstnturner
abfada6c02a8d30168facfafba156ac183594b88
9,802
cpp
C++
sources/Renderer/Vulkan/RenderState/VKRenderPass.cpp
aviallon/LLGL
1bda034b08ccdda284ed9e0d2df425d4118583b7
[ "BSD-3-Clause" ]
2
2020-03-13T19:31:26.000Z
2021-02-20T14:30:21.000Z
sources/Renderer/Vulkan/RenderState/VKRenderPass.cpp
aviallon/LLGL
1bda034b08ccdda284ed9e0d2df425d4118583b7
[ "BSD-3-Clause" ]
null
null
null
sources/Renderer/Vulkan/RenderState/VKRenderPass.cpp
aviallon/LLGL
1bda034b08ccdda284ed9e0d2df425d4118583b7
[ "BSD-3-Clause" ]
null
null
null
/* * VKRenderPass.cpp * * This file is part of the "LLGL" project (Copyright (c) 2015-2019 by Lukas Hermanns) * See "LICENSE.txt" for license information. */ #include "VKRenderPass.h" #include "../VKCore.h" #include "../VKTypes.h" #include <LLGL/RenderPassFlags.h> #include <limits> namespace LLGL { VKRenderP...
38.590551
137
0.664864
aviallon
abfcf3ae317a9e5134b1a8516de6bfc4a052980f
388
cpp
C++
codeforces/1619A.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
codeforces/1619A.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
codeforces/1619A.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
// A. Square String? #include <iostream> #include <string> using namespace std; int main() { int t; cin >> t; while (t--) { string s; cin >> s; int n = size(s); bool ans = false; if (s.substr(0, n/2) == s.substr(n/2, n)) { ans = true; } ...
12.516129
51
0.420103
sgrade
abffeabf4ad76ce506ff9b1ceb1cf5903777da8f
1,333
cpp
C++
src/linalg/Exp.cpp
j9263178/Cytnx
cf7fb1cff75c1cea14fbbc370fd8e4d86d0ddc8b
[ "Apache-2.0" ]
11
2020-04-14T15:45:42.000Z
2022-03-31T14:37:03.000Z
src/linalg/Exp.cpp
j9263178/Cytnx
cf7fb1cff75c1cea14fbbc370fd8e4d86d0ddc8b
[ "Apache-2.0" ]
38
2019-08-02T15:15:51.000Z
2022-03-04T19:07:02.000Z
src/linalg/Exp.cpp
j9263178/Cytnx
cf7fb1cff75c1cea14fbbc370fd8e4d86d0ddc8b
[ "Apache-2.0" ]
7
2019-07-17T07:50:55.000Z
2021-07-03T06:44:52.000Z
#include "linalg.hpp" #include "linalg_internal_interface.hpp" #include "Tensor.hpp" namespace cytnx{ namespace linalg{ Tensor Exp(const Tensor &Tin){ Tensor out; if( (Tin.dtype() == Type.ComplexDouble) || (Tin.dtype() == Type.Double) ) out = Tin.clone(); els...
37.027778
156
0.562641
j9263178
2800b3d7d4508082079acf2b4dcca42daef7f6f5
2,400
cpp
C++
samples/snippets/cpp/VS_Snippets_Remoting/SoapAttributeAttributeEx2/CPP/soapattributeex2.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
421
2018-04-01T01:57:50.000Z
2022-03-28T15:24:42.000Z
samples/snippets/cpp/VS_Snippets_Remoting/SoapAttributeAttributeEx2/CPP/soapattributeex2.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
5,797
2018-04-02T21:12:23.000Z
2022-03-31T23:54:38.000Z
samples/snippets/cpp/VS_Snippets_Remoting/SoapAttributeAttributeEx2/CPP/soapattributeex2.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
1,482
2018-03-31T11:26:20.000Z
2022-03-30T22:36:45.000Z
//<Snippet1> #using <System.Xml.dll> #using <System.dll> using namespace System; using namespace System::IO; using namespace System::Xml; using namespace System::Xml::Serialization; public ref class Group { public: // This attribute will be overridden. [SoapAttributeAttribute(Namespace="http:...
31.168831
130
0.679167
hamarb123
2801e54604c7ef4fa57547c0daf4e6b1bf3e18f9
2,464
cpp
C++
Algorithm/list-based/polynomial_add.cpp
Alquama00s/DS-Algo
594b04e8d119a188763481209cbfcc49c62fc002
[ "MIT" ]
null
null
null
Algorithm/list-based/polynomial_add.cpp
Alquama00s/DS-Algo
594b04e8d119a188763481209cbfcc49c62fc002
[ "MIT" ]
null
null
null
Algorithm/list-based/polynomial_add.cpp
Alquama00s/DS-Algo
594b04e8d119a188763481209cbfcc49c62fc002
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; struct poly { int c; //coefficient int p; //power struct poly *next; }; struct expression { poly *start = NULL, *end = NULL; expression() {} expression(int coe, int pow) { start = (poly *)malloc(sizeof(poly)); start->c...
20.881356
57
0.345373
Alquama00s
2802c69a73f2d025045ba8ee688c96c829643771
21,154
cpp
C++
src/uvm/liolib.cpp
rockercheng/uvm
48f01ae86ba78a487d22662da12b7460609db50e
[ "MIT" ]
10
2020-09-26T12:00:03.000Z
2021-07-27T06:41:40.000Z
libraries/uvm/src/uvm/liolib.cpp
wuhua103/Whitecoin-core
9225520dcdc8404022f29acdc3c17ebeb5e9cb67
[ "MIT" ]
23
2020-05-31T13:08:03.000Z
2021-12-08T09:07:30.000Z
libraries/uvm/src/uvm/liolib.cpp
wuhua103/Whitecoin-core
9225520dcdc8404022f29acdc3c17ebeb5e9cb67
[ "MIT" ]
4
2019-12-05T15:32:08.000Z
2021-09-21T17:53:41.000Z
/* ** $Id: liolib.c,v 2.148 2015/11/23 11:36:11 roberto Exp $ ** Standard I/O (and system) library ** See Copyright Notice in lua.h */ #define liolib_cpp #include "uvm/lprefix.h" #include <ctype.h> #include <errno.h> #include <locale.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "uvm/lua.h...
27.652288
83
0.563156
rockercheng
2804bf26dd0b4b481c1e3560242b3714c9dea548
410
hpp
C++
src/libs/libold/content/loaders/sprite_loader.hpp
jdmclark/gorc
a03d6a38ab7684860c418dd3d2e77cbe6a6d9fc8
[ "Apache-2.0" ]
97
2015-02-24T05:09:24.000Z
2022-01-23T12:08:22.000Z
src/libs/libold/content/loaders/sprite_loader.hpp
annnoo/gorc
1889b4de6380c30af6c58a8af60ecd9c816db91d
[ "Apache-2.0" ]
8
2015-03-27T23:03:23.000Z
2020-12-21T02:34:33.000Z
src/libs/libold/content/loaders/sprite_loader.hpp
annnoo/gorc
1889b4de6380c30af6c58a8af60ecd9c816db91d
[ "Apache-2.0" ]
10
2016-03-24T14:32:50.000Z
2021-11-13T02:38:53.000Z
#pragma once #include "libold/base/content/text_loader.hpp" namespace gorc { namespace content { namespace loaders { class sprite_loader : public text_loader { public: static fourcc const type; virtual std::unique_ptr<asset> parse(text::tokenizer& t, content_manager& manager, service_registry const &) const...
19.52381
128
0.743902
jdmclark
280927f161f4c8c46c0b48c9931817198826999a
6,609
cpp
C++
test/oxtra/codegen/decoding/decoding_test.cpp
oxtra/oxtra
cd538062869bfe68fc8552604c22334589d7380c
[ "BSD-3-Clause" ]
9
2019-10-22T19:44:25.000Z
2021-05-02T17:47:14.000Z
test/oxtra/codegen/decoding/decoding_test.cpp
oxtra/oxtra
cd538062869bfe68fc8552604c22334589d7380c
[ "BSD-3-Clause" ]
1
2020-11-16T20:06:14.000Z
2020-11-16T20:06:14.000Z
test/oxtra/codegen/decoding/decoding_test.cpp
oxtra/oxtra
cd538062869bfe68fc8552604c22334589d7380c
[ "BSD-3-Clause" ]
2
2020-11-16T17:05:47.000Z
2021-05-02T17:47:16.000Z
#include "../../../catch2/catch.hpp" #include "oxtra/codegen/encoding/encoding.h" #include "oxtra/codegen/decoding/decoding.h" #include <string> #include <unistd.h> #include <string.h> using namespace encoding; using namespace decoding; constexpr const char* expected_rtype[] = { "sub rdx, r10 -> rsi", "add Vt2, r...
43.768212
100
0.662581
oxtra
280bf699c9b1329a4de68cfb71d66810564ccaa9
3,923
hpp
C++
include/universal/native/ieee754_clang.hpp
AI-App/universal
a2e8eff7a1354faa8c9584e347414ee62b12e1be
[ "MIT" ]
254
2017-05-24T16:51:57.000Z
2022-03-22T13:07:29.000Z
include/universal/native/ieee754_clang.hpp
jamesquinlan/universal
3b7e6bf37cbb9123425b634d18af18a409c2eccc
[ "MIT" ]
101
2017-11-09T22:57:24.000Z
2022-03-17T12:44:59.000Z
include/universal/native/ieee754_clang.hpp
jamesquinlan/universal
3b7e6bf37cbb9123425b634d18af18a409c2eccc
[ "MIT" ]
55
2017-06-09T10:04:38.000Z
2022-02-01T16:54:56.000Z
#pragma once // ieee754_clang.hpp: clang-specific manipulation functions for IEEE-754 native types // // Copyright (C) 2017-2021 Stillwater Supercomputing, Inc. // // This file is part of the universal numbers project, which is released under an MIT Open Source license. #if defined(__clang__) /* Clang/LLVM. ----------...
44.579545
106
0.719857
AI-App
280ccbc9657985617aef7a339ab035f5f0f070ab
2,390
cpp
C++
dwfout.cpp
MadhukarMoogala/dwfout
fa64f6616590037d6b24391de59b01c92361fa41
[ "MIT" ]
3
2021-01-30T21:33:30.000Z
2021-07-20T01:19:54.000Z
dwfout.cpp
MadhukarMoogala/dwfout
fa64f6616590037d6b24391de59b01c92361fa41
[ "MIT" ]
null
null
null
dwfout.cpp
MadhukarMoogala/dwfout
fa64f6616590037d6b24391de59b01c92361fa41
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////////////// // // Copyright 2020 Autodesk, Inc. All rights reserved. // // Use of this software is subject to the terms of the Autodesk license // agreement provided at the time of installation or download, or which // otherwise accompanies this ...
27.790698
84
0.596653
MadhukarMoogala
280f6f2deefd1f732008200126421f2eee9d2408
3,140
cpp
C++
Equinox/Cube.cpp
jowie94/EquinoxEngine
45f5efaa00e35a264bf3537ec3bdfe8b221325bf
[ "MIT" ]
2
2017-02-05T15:45:46.000Z
2017-02-05T15:45:53.000Z
Equinox/Cube.cpp
CLENJOPOMI/Enjopongine
d8bfa29188f9f25818c95e746ee66d237e46d25f
[ "MIT" ]
73
2017-01-17T20:34:24.000Z
2017-08-29T16:57:26.000Z
Equinox/Cube.cpp
CLENJOPOMI/EquinoxEngine
d8bfa29188f9f25818c95e746ee66d237e46d25f
[ "MIT" ]
1
2018-10-16T20:12:59.000Z
2018-10-16T20:12:59.000Z
#include "Cube.h" #include <GL/glew.h> #include <MathGeoLib/include/Math/float3.h> #include <MathGeoLib/include/Math/MathFunc.h> Cube::Cube() : Primitive() {} Cube::Cube(const float3& position, const Quat& rotation) : Primitive(position, rotation) {} Cube::Cube(const float3& position, const Quat& rotation, int t...
22.589928
126
0.627389
jowie94
2810a991fdabf2bcb844f8edba290c698aebd176
8,084
hpp
C++
src/mt/ast/stmt.hpp
nfagan/mtype
a745271d366df64e1b4692cc90f0685ea4084ba6
[ "MIT" ]
null
null
null
src/mt/ast/stmt.hpp
nfagan/mtype
a745271d366df64e1b4692cc90f0685ea4084ba6
[ "MIT" ]
null
null
null
src/mt/ast/stmt.hpp
nfagan/mtype
a745271d366df64e1b4692cc90f0685ea4084ba6
[ "MIT" ]
null
null
null
#pragma once #include "ast.hpp" #include "../token.hpp" #include "../lang_components.hpp" #include "../Optional.hpp" #include "../identifier.hpp" namespace mt { struct CharLiteralExpr; class TypePreservingVisitor; struct VariableDeclarationStmt : public Stmt { VariableDeclarationStmt(const Token& source_token, ...
29.396364
96
0.724765
nfagan
281892e1ac248bdaa319cbec29929175316546ad
331
cpp
C++
source/main.cpp
ClauText/NewParadoxGameEngineParser
ce24b17333fd1d430934c68a75e284e85954abef
[ "MIT" ]
null
null
null
source/main.cpp
ClauText/NewParadoxGameEngineParser
ce24b17333fd1d430934c68a75e284e85954abef
[ "MIT" ]
null
null
null
source/main.cpp
ClauText/NewParadoxGameEngineParser
ce24b17333fd1d430934c68a75e284e85954abef
[ "MIT" ]
null
null
null
 #define _CRT_SECURE_NO_WARNINGS #include <iostream> #include "new_paradox_parser.h" int main(void) { wiz::load_data::UserType global; wiz::load_data::LoadData::LoadDataFromFile("input.eu4", global); // use all of thread in cpu? wiz::load_data::LoadData::SaveWizDB(global, "ouput.eu4"); retur...
16.55
95
0.682779
ClauText
281eabd888a63f054260631b17795a00072305d0
5,687
hpp
C++
include/Mono/Unity/UnityTls.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/Mono/Unity/UnityTls.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/Mono/Unity/UnityTls.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Completed includes // Begin f...
49.885965
174
0.734834
marksteward
281ee105a806165512c4b22c2ea22cc162f0dcda
515
cpp
C++
src/test/testsolve.cpp
maklakovsergey/nonogram
742e7eafcf0df66a8cf087a08ba997d5943fdad2
[ "MIT" ]
null
null
null
src/test/testsolve.cpp
maklakovsergey/nonogram
742e7eafcf0df66a8cf087a08ba997d5943fdad2
[ "MIT" ]
null
null
null
src/test/testsolve.cpp
maklakovsergey/nonogram
742e7eafcf0df66a8cf087a08ba997d5943fdad2
[ "MIT" ]
null
null
null
#include "testsolve.h" #include "nonogramsolver.h" #include "test.h" #include <QtTest/QTest> TestSolve::TestSolve(QObject *parent) : QObject(parent) { } void TestSolve::solve(){ NonogramSolver solver; Nonogram heart=heartNonogram(); QVERIFY(heart.isSolveable()); QVERIFY(solver.solve(&heart)); No...
20.6
55
0.68932
maklakovsergey
2821b0853adbc2c0ff4d5ce47ba4056f5e4656cb
7,658
cpp
C++
wxWidgets-3.1.0/samples/power/power.cpp
screwjack/nemesis
8c2587d2aa60f8da6cf49e5f4f5740bf2666c6fd
[ "BSD-2-Clause" ]
2
2016-10-15T05:12:16.000Z
2016-11-06T16:19:53.000Z
wxWidgets-3.1.0/samples/power/power.cpp
screwjack/nemesis
8c2587d2aa60f8da6cf49e5f4f5740bf2666c6fd
[ "BSD-2-Clause" ]
14
2016-09-21T21:24:46.000Z
2016-11-15T07:54:21.000Z
wxWidgets-3.1.0/samples/power/power.cpp
screwjack/nemesis
8c2587d2aa60f8da6cf49e5f4f5740bf2666c6fd
[ "BSD-2-Clause" ]
null
null
null
///////////////////////////////////////////////////////////////////////////// // Name: power.cpp // Purpose: wxWidgets power management sample // Author: Vadim Zeitlin // Created: 2006-05-27 // Copyright: (C) 2006 Vadim Zeitlin <vadim@wxwindows.org> // Licence: wxWindows licence //////////////...
27.546763
80
0.525464
screwjack
282573595042dd0461d24004189ebcc3764b3bbc
9,840
cpp
C++
atp/src/AtpAnnotatedImage.cpp
dardok/ossim-plugins
3406ffed9fcab88fe4175b845381611ac4122c81
[ "MIT" ]
12
2016-09-09T01:24:12.000Z
2022-01-09T21:45:58.000Z
atp/src/AtpAnnotatedImage.cpp
dardok/ossim-plugins
3406ffed9fcab88fe4175b845381611ac4122c81
[ "MIT" ]
5
2016-02-04T16:10:40.000Z
2021-06-29T05:00:29.000Z
atp/src/AtpAnnotatedImage.cpp
dardok/ossim-plugins
3406ffed9fcab88fe4175b845381611ac4122c81
[ "MIT" ]
20
2015-11-17T11:46:22.000Z
2021-11-12T19:23:54.000Z
//************************************************************************************************** // // OSSIM Open Source Geospatial Data Processing Library // See top level LICENSE.txt file for license information // //*****************************************************************************************...
31.538462
108
0.66626
dardok
282c06d0d4b487d49734f41866cbf465b3137d64
512
hpp
C++
PDE Classes/EllipticPDE2.hpp
thabomiles/FEMHeatEquation
b60eb04358e6c408923073cb52eeaadeee9fa0d4
[ "MIT" ]
null
null
null
PDE Classes/EllipticPDE2.hpp
thabomiles/FEMHeatEquation
b60eb04358e6c408923073cb52eeaadeee9fa0d4
[ "MIT" ]
null
null
null
PDE Classes/EllipticPDE2.hpp
thabomiles/FEMHeatEquation
b60eb04358e6c408923073cb52eeaadeee9fa0d4
[ "MIT" ]
null
null
null
#ifndef ELLIPTICPDE2HEADERREF #define ELLIPTICPDE2HEADERREF #include <cmath> #include <math.h> #include <vector> #include <array> #include "APDE.hpp" class EllipticPDE2: public APDE { public: friend class GeneralHeat; double EllipticalRHSfunction( double x ); double ContinuousA...
18.962963
65
0.662109
thabomiles
282e68b986990aecd9a35d25e179fc23b671d0f4
5,810
hpp
C++
SamSrc/sam/CountDistinct.hpp
elgood/SAM
5943d637270581e4fe307bc68fbeb5a8e4eccc2c
[ "MIT" ]
6
2019-08-16T07:13:17.000Z
2021-06-08T21:15:52.000Z
SamSrc/sam/CountDistinct.hpp
elgood/SAM
5943d637270581e4fe307bc68fbeb5a8e4eccc2c
[ "MIT" ]
1
2020-05-30T20:35:18.000Z
2020-05-30T20:35:18.000Z
SamSrc/sam/CountDistinct.hpp
elgood/SAM
5943d637270581e4fe307bc68fbeb5a8e4eccc2c
[ "MIT" ]
3
2020-02-17T18:38:14.000Z
2021-03-28T02:47:57.000Z
#ifndef COUNT_DISTINCT_HPP #define COUNT_DISTINCT_HPP /** * A preliminary, non-streaming implementation to count distinct items. Not * space efficient, uses O(N) space where N is size of sliding window */ #include <iostream> #include <map> #include <sam/AbstractConsumer.hpp> #include <sam/BaseComputation.hpp> #in...
25.594714
82
0.64475
elgood
282e94a7972436b1f7c3fb27210fcaf749c1e3dd
11,845
hpp
C++
Primitives/General/Mat2x3.hpp
jlandess/LandessDevCore
3319c36c3232415d6bdba7da8b4896c0638badf2
[ "BSD-3-Clause" ]
2
2021-06-09T00:38:46.000Z
2021-09-04T21:55:33.000Z
Primitives/General/Mat2x3.hpp
jlandess/LandessDevCore
3319c36c3232415d6bdba7da8b4896c0638badf2
[ "BSD-3-Clause" ]
null
null
null
Primitives/General/Mat2x3.hpp
jlandess/LandessDevCore
3319c36c3232415d6bdba7da8b4896c0638badf2
[ "BSD-3-Clause" ]
1
2021-08-30T00:46:12.000Z
2021-08-30T00:46:12.000Z
// // Mat2x3.h // DataStructures // // Created by James Landess on 11/13/16. // Copyright (c) 2016 James Landess. All rights reserved. // #ifndef DataStructures_Mat2x3_h #define DataStructures_Mat2x3_h #include "StaticArray.hpp" #include "Mat2x2.hpp" #include "Vec3.hpp" #include "TypeTraits/StaticallySized.h" nam...
29.465174
182
0.434529
jlandess
2831bb92ed10d9089a887c5bd178a124287bd578
2,279
hh
C++
compiler/include/frontend/visitors/translate.hh
balayette/saphIR-project
18da494ac21e5433fdf1c646be02c9bf25177d7d
[ "MIT" ]
14
2020-07-31T09:35:23.000Z
2021-11-15T11:18:35.000Z
compiler/include/frontend/visitors/translate.hh
balayette/saphIR-project
18da494ac21e5433fdf1c646be02c9bf25177d7d
[ "MIT" ]
null
null
null
compiler/include/frontend/visitors/translate.hh
balayette/saphIR-project
18da494ac21e5433fdf1c646be02c9bf25177d7d
[ "MIT" ]
null
null
null
#pragma once #include "ir/ir.hh" #include "default-visitor.hh" #include "utils/scoped.hh" #include "ir/ops.hh" #include "mach/target.hh" #include <unordered_map> #include <vector> namespace frontend::translate { using namespace ir::tree; class translate_visitor : public default_visitor { public: translate_vis...
32.557143
73
0.74287
balayette
283370b1690fca26261243e89ecadfbff7f13a4c
833
cpp
C++
Problems/206. Reverse Linked List/two_pointers.cpp
uSlashVlad/MyLeetCode
3d5e8e347716beb0ffadb538c92eceb42ab7fcf9
[ "MIT" ]
1
2022-01-29T01:52:58.000Z
2022-01-29T01:52:58.000Z
Problems/206. Reverse Linked List/two_pointers.cpp
uSlashVlad/MyLeetCode
3d5e8e347716beb0ffadb538c92eceb42ab7fcf9
[ "MIT" ]
null
null
null
Problems/206. Reverse Linked List/two_pointers.cpp
uSlashVlad/MyLeetCode
3d5e8e347716beb0ffadb538c92eceb42ab7fcf9
[ "MIT" ]
null
null
null
struct ListNode { int val; ListNode *next; ListNode() : val(0), next(nullptr) {} ListNode(int x) : val(x), next(nullptr) {} ListNode(int x, ListNode *next) : val(x), next(next) {} }; class Solution { public: ListNode *reverseList(ListNode *head) { if (head == nullptr || head->next =...
21.358974
103
0.546218
uSlashVlad
283463176e2a01fb8c1122c82a8023a513851067
38,319
cpp
C++
src/binder/bind_node_visitor.cpp
mush-zhang/terrier
68dd79a10f9f29f02f48c765e2d1feda897070ab
[ "MIT" ]
null
null
null
src/binder/bind_node_visitor.cpp
mush-zhang/terrier
68dd79a10f9f29f02f48c765e2d1feda897070ab
[ "MIT" ]
7
2020-04-06T19:31:12.000Z
2020-05-12T23:05:09.000Z
src/binder/bind_node_visitor.cpp
mush-zhang/terrier
68dd79a10f9f29f02f48c765e2d1feda897070ab
[ "MIT" ]
null
null
null
#include "binder/bind_node_visitor.h" #include <algorithm> #include <memory> #include <string> #include <tuple> #include <utility> #include <vector> #include "binder/binder_sherpa.h" #include "catalog/catalog_accessor.h" #include "catalog/catalog_defs.h" #include "common/exception.h" #include "common/managed_pointer....
46.447273
120
0.703515
mush-zhang
283899820e763c8e0be48b8ee411bf467acd9ad6
474
hpp
C++
src/serialization/mime/header_serialization.hpp
Xoanis/s2smtp
2262d39cbe8c1c0cfd4e7dfb7761f6bd15e7caeb
[ "MIT" ]
null
null
null
src/serialization/mime/header_serialization.hpp
Xoanis/s2smtp
2262d39cbe8c1c0cfd4e7dfb7761f6bd15e7caeb
[ "MIT" ]
null
null
null
src/serialization/mime/header_serialization.hpp
Xoanis/s2smtp
2262d39cbe8c1c0cfd4e7dfb7761f6bd15e7caeb
[ "MIT" ]
null
null
null
// Copyright (c) 2020 Ivan Petrov <petroviv90@gmail.com> // Licensed under the MIT license. #ifndef HEADER_SERIALIZATION_HPP #define HEADER_SERIALIZATION_HPP #include <sstream> #include <string> #include "s2smtp/mime/message.hpp" namespace s2smtp::serialization { void serialize(std::stringstream &s, const std::tm ...
23.7
67
0.772152
Xoanis
283a68cb64842292c96ec2f8e14debbef6b7e004
1,371
hpp
C++
redist/deps/mcm/Entropy.hpp
VIGGEEN/bundle
9a7a392ea31780660d5b5c34fbe143693c8f0d7b
[ "Zlib" ]
443
2018-01-30T13:36:46.000Z
2022-03-30T18:26:26.000Z
redist/deps/mcm/Entropy.hpp
VIGGEEN/bundle
9a7a392ea31780660d5b5c34fbe143693c8f0d7b
[ "Zlib" ]
3
2019-04-18T08:15:34.000Z
2022-02-13T00:33:07.000Z
redist/deps/mcm/Entropy.hpp
VIGGEEN/bundle
9a7a392ea31780660d5b5c34fbe143693c8f0d7b
[ "Zlib" ]
58
2018-01-20T12:57:10.000Z
2022-03-22T22:10:02.000Z
/* MCM file compressor Copyright (C) 2013, Google Inc. Authors: Mathieu Chartier LICENSE This file is part of the MCM file compressor. MCM 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, eit...
26.882353
75
0.702407
VIGGEEN
283ab12a0984c01f0373fd0d845d6ca6b96a99ba
2,996
cpp
C++
Source/Common/OPC/NMR_OpcPackageRelationship.cpp
geaz/lib3mf
fd07e571a869f5c495a3beea014d341d67c9d405
[ "BSD-2-Clause" ]
171
2015-04-30T21:54:02.000Z
2022-03-13T13:33:59.000Z
Source/Common/OPC/NMR_OpcPackageRelationship.cpp
geaz/lib3mf
fd07e571a869f5c495a3beea014d341d67c9d405
[ "BSD-2-Clause" ]
190
2015-07-21T22:15:54.000Z
2022-03-30T15:48:37.000Z
Source/Common/OPC/NMR_OpcPackageRelationship.cpp
geaz/lib3mf
fd07e571a869f5c495a3beea014d341d67c9d405
[ "BSD-2-Clause" ]
80
2015-04-30T22:15:54.000Z
2022-03-09T12:38:49.000Z
/*++ Copyright (C) 2019 3MF Consortium All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the followi...
34.436782
128
0.779706
geaz
283bec6527cda6894476f3354a32a813f1d86b3f
1,561
cpp
C++
source/collision/prLine.cpp
pmac1965/proteus
53f366be90739f456c64f09cbec565a0e97b2629
[ "Apache-2.0" ]
1
2019-01-27T14:47:10.000Z
2019-01-27T14:47:10.000Z
source/collision/prLine.cpp
pmac1965/proteus
53f366be90739f456c64f09cbec565a0e97b2629
[ "Apache-2.0" ]
null
null
null
source/collision/prLine.cpp
pmac1965/proteus
53f366be90739f456c64f09cbec565a0e97b2629
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2014 Paul Michael McNab * * 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...
31.22
85
0.542601
pmac1965
2843a163939c709a68eed06b556be7b5c470d828
357
cpp
C++
ShaassO.cpp
TrullMiester/CP-Solutions
f574ee74463034c7f8890631cf3d56ccfdc67217
[ "MIT" ]
null
null
null
ShaassO.cpp
TrullMiester/CP-Solutions
f574ee74463034c7f8890631cf3d56ccfdc67217
[ "MIT" ]
null
null
null
ShaassO.cpp
TrullMiester/CP-Solutions
f574ee74463034c7f8890631cf3d56ccfdc67217
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int m; cin >> m; int x[m+2]; for (int i=1;i<=m;i++) { cin >> x[i]; } int c; cin >> c; for(int i=0;i<c;i++) { int a,b; cin >> a >> b; x[a+1] += x[a] - b; x[a-1] += b - 1; x[a] = 0; } for (int i=1;i<=m;i++) { cout ...
13.730769
26
0.386555
TrullMiester
2847313278ad0532b9694a91c93ed2a3b80f9cbb
1,556
cpp
C++
tests/AcceptanceTests/ColorTests.cpp
ei06125/ray-tracer-challenge
54475def8c6f82c3559871f7fce00248128bb5ba
[ "MIT" ]
null
null
null
tests/AcceptanceTests/ColorTests.cpp
ei06125/ray-tracer-challenge
54475def8c6f82c3559871f7fce00248128bb5ba
[ "MIT" ]
null
null
null
tests/AcceptanceTests/ColorTests.cpp
ei06125/ray-tracer-challenge
54475def8c6f82c3559871f7fce00248128bb5ba
[ "MIT" ]
null
null
null
// Test Framework #include "doctest/doctest.h" // Engine #include "RayTracer.hpp" using namespace RayTracer::Rendering::Colors; SCENARIO("Colors are (red, green, blue) tuples") { GIVEN("c = color(-0.5, 0.4, 1.7)") { auto c = Color{ -0.5f, 0.4f, 1.7f }; THEN("c.red == -0.5 && c.green == 0.4 && c.blue == 1...
21.315068
67
0.481362
ei06125
2847e0d4dacb952863286ab09f76cfcc3784313b
7,600
cpp
C++
src/ngraph/runtime/plaidml/plaidml_compiler.cpp
magrawal128/ngraph
ca911487d1eadfe6ec66dbe3da6f05cee3645b24
[ "Apache-2.0" ]
1
2020-11-25T16:16:42.000Z
2020-11-25T16:16:42.000Z
src/ngraph/runtime/plaidml/plaidml_compiler.cpp
biswajitcsecu/ngraph
d6bff37d7968922ef81f3bed63379e849fcf3b45
[ "Apache-2.0" ]
null
null
null
src/ngraph/runtime/plaidml/plaidml_compiler.cpp
biswajitcsecu/ngraph
d6bff37d7968922ef81f3bed63379e849fcf3b45
[ "Apache-2.0" ]
null
null
null
//***************************************************************************** // Copyright 2017-2019 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://w...
42.222222
100
0.676579
magrawal128
284819b2c349642a54cf1f150b222997e7532dd6
201
cpp
C++
acmicpc.net/2869.cpp
kbu1564/SimpleAlgorithm
7e5b0d2fe19461417d88de0addd2235da55787d3
[ "MIT" ]
4
2016-04-15T07:54:39.000Z
2021-01-11T09:02:16.000Z
acmicpc.net/2869.cpp
kbu1564/SimpleAlgorithm
7e5b0d2fe19461417d88de0addd2235da55787d3
[ "MIT" ]
null
null
null
acmicpc.net/2869.cpp
kbu1564/SimpleAlgorithm
7e5b0d2fe19461417d88de0addd2235da55787d3
[ "MIT" ]
null
null
null
#include <stdio.h> #include <math.h> long long a, b, v; int main() { scanf("%lld %lld %lld", &a, &b, &v); long long r = (v-b)/(a-b); r = (v-b)%(a-b)? r+1: r; printf("%lld\n", r); return 0; }
18.272727
38
0.492537
kbu1564
284afc57e856bda9d2e8359ba6caa30178fc1d9c
2,386
cc
C++
src/operator/upsampling.cc
GrassSunFlower/mxnet_tmp
190f16172cbe80f751d4840847fd5a5df43552bd
[ "Apache-2.0" ]
null
null
null
src/operator/upsampling.cc
GrassSunFlower/mxnet_tmp
190f16172cbe80f751d4840847fd5a5df43552bd
[ "Apache-2.0" ]
null
null
null
src/operator/upsampling.cc
GrassSunFlower/mxnet_tmp
190f16172cbe80f751d4840847fd5a5df43552bd
[ "Apache-2.0" ]
null
null
null
/*! * Copyright (c) 2015 by Contributors * \file upsampling_nearest.cc * \brief * \author Bing Xu */ #include "./upsampling-inl.h" #include <nnvm/op_attr_types.h> #include "./deconvolution-inl.h" namespace mxnet { namespace op { template<> Operator *CreateOp<cpu>(UpSamplingParam param, int dtype) { Operator *op...
33.605634
86
0.652976
GrassSunFlower
285642dcfae86baf76e7d85aa5486760abd7b565
1,976
hh
C++
include/maxscale/protocol.hh
crspecter/MaxScale
471fa20a09ebc954fc3304500037b6b55dbbf9f1
[ "BSD-3-Clause" ]
1
2021-02-07T01:57:32.000Z
2021-02-07T01:57:32.000Z
include/maxscale/protocol.hh
crspecter/MaxScale
471fa20a09ebc954fc3304500037b6b55dbbf9f1
[ "BSD-3-Clause" ]
null
null
null
include/maxscale/protocol.hh
crspecter/MaxScale
471fa20a09ebc954fc3304500037b6b55dbbf9f1
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. * * Change Date: 2025-01-25 * * On the date above, in accordance with the Business Source License, use * of this software will be g...
21.714286
76
0.678644
crspecter
2858965a05b25ac31680f636628f34aa857f011f
496
cpp
C++
android-28/javax/crypto/CipherSpi.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/javax/crypto/CipherSpi.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/javax/crypto/CipherSpi.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../JByteArray.hpp" #include "../../JString.hpp" #include "../../java/nio/ByteBuffer.hpp" #include "../../java/security/AlgorithmParameters.hpp" #include "../../java/security/SecureRandom.hpp" #include "./CipherSpi.hpp" namespace javax::crypto { // Fields // QJniObject forward CipherSpi::CipherSpi(QJn...
19.84
55
0.659274
YJBeetle
285ae00df7c3817c30ed07a9c4341ff5e96e1911
4,821
cpp
C++
src/modules/SD2/scripts/outland/hellfire_citadel/hellfire_ramparts/instance_hellfire_ramparts.cpp
Zilvereyes/ServerThree
b61c215b000f199eb884ebc39844ebbbd0703a1b
[ "PostgreSQL", "Zlib", "OpenSSL" ]
null
null
null
src/modules/SD2/scripts/outland/hellfire_citadel/hellfire_ramparts/instance_hellfire_ramparts.cpp
Zilvereyes/ServerThree
b61c215b000f199eb884ebc39844ebbbd0703a1b
[ "PostgreSQL", "Zlib", "OpenSSL" ]
null
null
null
src/modules/SD2/scripts/outland/hellfire_citadel/hellfire_ramparts/instance_hellfire_ramparts.cpp
Zilvereyes/ServerThree
b61c215b000f199eb884ebc39844ebbbd0703a1b
[ "PostgreSQL", "Zlib", "OpenSSL" ]
null
null
null
/* Copyright (C) 2006 - 2013 ScriptDev2 <http://www.scriptdev2.com/> * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version....
30.320755
143
0.640116
Zilvereyes
285e7afdcadb09432ab42c36d26f76a73433e60e
4,904
cpp
C++
vulkanon/generator/tmp/05-gen-callingvector/vulkanon/l0_enemy18-right.cpp
pqrs-org/Vulkanon
3c161b83e64f18be2ba916055e5761fbc0b61028
[ "Unlicense" ]
5
2020-04-20T02:28:15.000Z
2021-12-05T22:04:06.000Z
vulkanon/generator/tmp/05-gen-callingvector/vulkanon/l0_enemy18-right.cpp
pqrs-org/Vulkanon
3c161b83e64f18be2ba916055e5761fbc0b61028
[ "Unlicense" ]
null
null
null
vulkanon/generator/tmp/05-gen-callingvector/vulkanon/l0_enemy18-right.cpp
pqrs-org/Vulkanon
3c161b83e64f18be2ba916055e5761fbc0b61028
[ "Unlicense" ]
null
null
null
extern const BulletStepFunc bullet_66a2f95601e784c18e0dab7a14ea58ac_237614aaec8157c2c678e39a91b6f99b[] = { stepfunc_456753c9ab23d0c18884db48a58a16e6_237614aaec8157c2c678e39a91b6f99b, stepfunc_30a5b118867561f3ad2802c148f182e3_237614aaec8157c2c678e39a91b6f99b, stepfunc_fc499abee849ad3ec48ab61df1d3ae95_237614aaec8157c2c6...
74.30303
107
0.971248
pqrs-org
286194ef8b36a64d2710a25987aad8cdf13dfb52
22,798
cpp
C++
deployed/Il2CppOutputProject/IL2CPP/libil2cpp/icalls/mscorlib/System.Reflection/Assembly.cpp
PaulDixon/HelloWorld
f73f1eb2f972b3bc03420727e3c383ff63041af9
[ "MIT" ]
1
2019-09-14T04:39:37.000Z
2019-09-14T04:39:37.000Z
deployed/Il2CppOutputProject/IL2CPP/libil2cpp/icalls/mscorlib/System.Reflection/Assembly.cpp
PaulDixon/HelloWorld
f73f1eb2f972b3bc03420727e3c383ff63041af9
[ "MIT" ]
null
null
null
deployed/Il2CppOutputProject/IL2CPP/libil2cpp/icalls/mscorlib/System.Reflection/Assembly.cpp
PaulDixon/HelloWorld
f73f1eb2f972b3bc03420727e3c383ff63041af9
[ "MIT" ]
null
null
null
#include "il2cpp-config.h" #include <stddef.h> #include <vector> #include <algorithm> #include "icalls/mscorlib/System.Reflection/Assembly.h" #include "icalls/mscorlib/System.Reflection/Module.h" #include "utils/StringUtils.h" #include "utils/PathUtils.h" #include "os/File.h" #include "os/MemoryMappedFile.h" #include "...
38.772109
228
0.670804
PaulDixon
286232e341961a687a60f2b6041b836c255c2726
26,881
cpp
C++
test/opt/dead_branch_elim_test.cpp
greg-lunarg/SPIRV-Tools
c87e9671abb881cf83fccce2fe062e08d22c354b
[ "Apache-2.0" ]
null
null
null
test/opt/dead_branch_elim_test.cpp
greg-lunarg/SPIRV-Tools
c87e9671abb881cf83fccce2fe062e08d22c354b
[ "Apache-2.0" ]
null
null
null
test/opt/dead_branch_elim_test.cpp
greg-lunarg/SPIRV-Tools
c87e9671abb881cf83fccce2fe062e08d22c354b
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2017 Valve Corporation // Copyright (c) 2017 LunarG Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless...
24.959146
78
0.716975
greg-lunarg
2863df73dae8309fdc75f2a88555af78222b78ad
6,742
cpp
C++
host/mult_compute_units/src/host.cpp
vishnuchebrolu/Vitis_Accel_Examples
0f573c014efb0e385f4a7d9306821a111ebf2b74
[ "BSD-3-Clause" ]
1
2021-11-17T10:52:01.000Z
2021-11-17T10:52:01.000Z
host/mult_compute_units/src/host.cpp
chipet/Vitis_Accel_Examples
f72dff9eea45a76e9ee0713774589624e2b52c9f
[ "BSD-3-Clause" ]
null
null
null
host/mult_compute_units/src/host.cpp
chipet/Vitis_Accel_Examples
f72dff9eea45a76e9ee0713774589624e2b52c9f
[ "BSD-3-Clause" ]
null
null
null
/********** Copyright (c) 2020, Xilinx, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the fol...
38.090395
80
0.655295
vishnuchebrolu
2864721fdf7e9ab120ed949e86b5e572abcc641a
11,366
cpp
C++
Components/Hlms/Unlit/src/OgreHlmsJsonUnlit.cpp
DisplaySweet/ogre-next
6d03e443236867193cb3923b4c538e1820ea2827
[ "MIT" ]
11
2017-01-17T15:02:25.000Z
2020-11-27T16:54:42.000Z
Components/Hlms/Unlit/src/OgreHlmsJsonUnlit.cpp
DisplaySweet/ogre-next
6d03e443236867193cb3923b4c538e1820ea2827
[ "MIT" ]
9
2016-10-23T20:15:38.000Z
2018-02-06T11:23:17.000Z
Components/Hlms/Unlit/src/OgreHlmsJsonUnlit.cpp
DisplaySweet/ogre-next
6d03e443236867193cb3923b4c538e1820ea2827
[ "MIT" ]
3
2020-10-15T15:11:41.000Z
2021-04-04T03:38:54.000Z
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2014 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person ...
34.652439
124
0.623262
DisplaySweet
28653e4bfc31301742fa0d96a06599ac62147818
9,070
hpp
C++
src/ParallelAlgorithms/DiscontinuousGalerkin/InitializeMortars.hpp
jennifersanchez/spectre
ea090e7096186a05edf5e58a63cd82736d9708bf
[ "MIT" ]
null
null
null
src/ParallelAlgorithms/DiscontinuousGalerkin/InitializeMortars.hpp
jennifersanchez/spectre
ea090e7096186a05edf5e58a63cd82736d9708bf
[ "MIT" ]
null
null
null
src/ParallelAlgorithms/DiscontinuousGalerkin/InitializeMortars.hpp
jennifersanchez/spectre
ea090e7096186a05edf5e58a63cd82736d9708bf
[ "MIT" ]
1
2019-01-03T21:47:04.000Z
2019-01-03T21:47:04.000Z
// Distributed under the MIT License. // See LICENSE.txt for details. #pragma once #include <array> #include <cstddef> #include <tuple> #include <utility> #include <vector> #include "DataStructures/DataBox/DataBox.hpp" #include "DataStructures/DataBox/Prefixes.hpp" #include "DataStructures/Tensor/EagerMath/Magnitude...
42.985782
80
0.677398
jennifersanchez
286ca9ebd22a8ff5b87d5afa2e777ea0b702c4c2
9,932
cpp
C++
runtime/sharings/d3d/d3d_surface.cpp
mkmartinw/compute-runtime
8d69b0cd142a9eeab93d1b0c742f4cccef8c5854
[ "MIT" ]
null
null
null
runtime/sharings/d3d/d3d_surface.cpp
mkmartinw/compute-runtime
8d69b0cd142a9eeab93d1b0c742f4cccef8c5854
[ "MIT" ]
null
null
null
runtime/sharings/d3d/d3d_surface.cpp
mkmartinw/compute-runtime
8d69b0cd142a9eeab93d1b0c742f4cccef8c5854
[ "MIT" ]
null
null
null
/* * Copyright (C) 2017-2018 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "runtime/sharings/d3d/d3d_surface.h" #include "runtime/context/context.h" #include "runtime/device/device.h" #include "runtime/mem_obj/image.h" #include "runtime/helpers/get_info.h" #include "runtime/memory_manager/memor...
38.645914
170
0.67207
mkmartinw
28711a2410909ba900f35ebda303124222a6c549
50,430
cpp
C++
application/scene_viewer_application.cpp
VulkanWorks/Granite-scene-graph-gui-ffmpeg-dsp
a725ec78eeb5de2d3c25257b1a9372f5e38910f6
[ "MIT" ]
null
null
null
application/scene_viewer_application.cpp
VulkanWorks/Granite-scene-graph-gui-ffmpeg-dsp
a725ec78eeb5de2d3c25257b1a9372f5e38910f6
[ "MIT" ]
null
null
null
application/scene_viewer_application.cpp
VulkanWorks/Granite-scene-graph-gui-ffmpeg-dsp
a725ec78eeb5de2d3c25257b1a9372f5e38910f6
[ "MIT" ]
null
null
null
/* Copyright (c) 2017-2020 Hans-Kristian Arntzen * * 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, me...
35.514085
118
0.738965
VulkanWorks
2871838554974f357dabc612c4a4b047e501c713
1,012
cc
C++
tests/libtests/meshio/data/DataWriterDataPoints.cc
cehanagan/pylith
cf5c1c34040460a82f79b6eb54df894ed1b1ee93
[ "MIT" ]
93
2015-01-08T16:41:22.000Z
2022-02-25T13:40:02.000Z
tests/libtests/meshio/data/DataWriterDataPoints.cc
sloppyjuicy/pylith
ac2c1587f87e45c948638b19560813d4d5b6a9e3
[ "MIT" ]
277
2015-02-20T16:27:35.000Z
2022-03-30T21:13:09.000Z
tests/libtests/meshio/data/DataWriterDataPoints.cc
sloppyjuicy/pylith
ac2c1587f87e45c948638b19560813d4d5b6a9e3
[ "MIT" ]
71
2015-03-24T12:11:08.000Z
2022-03-03T04:26:02.000Z
// -*- C++ -*- // // ====================================================================== // // Brad T. Aagaard, U.S. Geological Survey // Charles A. Williams, GNS Science // Matthew G. Knepley, University at Buffalo // // This code was developed as part of the Computational Infrastructure // for Geodynamics (http://...
25.948718
73
0.498024
cehanagan
2872d80068c4bfc87540a628803a1982e9f5ba89
1,616
hpp
C++
include/aikido/rviz/WorldInteractiveMarkerViewer.hpp
usc-csci-545/aikido
afd8b203c17cb0b05d7db436f8bffbbe2111a75a
[ "BSD-3-Clause" ]
null
null
null
include/aikido/rviz/WorldInteractiveMarkerViewer.hpp
usc-csci-545/aikido
afd8b203c17cb0b05d7db436f8bffbbe2111a75a
[ "BSD-3-Clause" ]
null
null
null
include/aikido/rviz/WorldInteractiveMarkerViewer.hpp
usc-csci-545/aikido
afd8b203c17cb0b05d7db436f8bffbbe2111a75a
[ "BSD-3-Clause" ]
null
null
null
#ifndef AIKIDO_RVIZ_WORLDINTERACTIVEMARKERVIEWER_HPP_ #define AIKIDO_RVIZ_WORLDINTERACTIVEMARKERVIEWER_HPP_ #include <map> #include <aikido/planner/World.hpp> #include <aikido/rviz/InteractiveMarkerViewer.hpp> #include <aikido/rviz/pointers.hpp> namespace aikido { namespace rviz { AIKIDO_DECLARE_POINTERS(WorldIntera...
29.925926
78
0.77599
usc-csci-545
28751fcacdc1d7bc156873c937ca512db5053e54
5,689
cpp
C++
src/crypto/ConversionUtil.cpp
ltc-mweb/libmw
e4c487e5e90a17d2121d1e7f1cd65d4793a5c7ac
[ "MIT" ]
24
2020-10-01T10:15:22.000Z
2022-02-01T20:07:47.000Z
src/crypto/ConversionUtil.cpp
mosadialiou/libmw
7c47bb5a75553bf1b6d3ae61998638481048ec93
[ "MIT" ]
29
2020-10-11T00:43:51.000Z
2021-07-01T22:39:06.000Z
src/crypto/ConversionUtil.cpp
mosadialiou/libmw
7c47bb5a75553bf1b6d3ae61998638481048ec93
[ "MIT" ]
5
2020-10-02T13:17:50.000Z
2021-05-30T03:26:49.000Z
#include "ConversionUtil.h" #include <mw/exceptions/CryptoException.h> PublicKey ConversionUtil::ToPublicKey(const Commitment& commitment) const { secp256k1_pedersen_commitment parsedCommitment = ToSecp256k1(commitment); secp256k1_pubkey pubkey; const int pubkeyResult = secp256k1_pedersen_commitment_to_p...
27.220096
121
0.6836
ltc-mweb
2876cecd16e5583ba0b8564c46ceb1c23ef982d7
949
cpp
C++
bark/world/goal_definition/goal_definition_state_limits.cpp
GAIL-4-BARK/bark
1cfda9ba6e9ec5318fbf01af6b67c242081b516e
[ "MIT" ]
null
null
null
bark/world/goal_definition/goal_definition_state_limits.cpp
GAIL-4-BARK/bark
1cfda9ba6e9ec5318fbf01af6b67c242081b516e
[ "MIT" ]
null
null
null
bark/world/goal_definition/goal_definition_state_limits.cpp
GAIL-4-BARK/bark
1cfda9ba6e9ec5318fbf01af6b67c242081b516e
[ "MIT" ]
null
null
null
// Copyright (c) 2020 Julian Bernhard, Klemens Esterle, Patrick Hart and // Tobias Kessler // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "bark/world/goal_definition/goal_definition_state_limits.hpp" #include "bark/world/objects/agent....
32.724138
73
0.737619
GAIL-4-BARK
287757512fbb98ca1b9ba388f6c49e500053d3f0
3,231
hpp
C++
include/mtxclient/crypto/types.hpp
grzmot22/mtxclientForESP8266
6e4c6d8c3bafdb96ef41e17d1f410db433c07808
[ "MIT" ]
20
2018-02-26T22:31:06.000Z
2019-07-08T17:57:22.000Z
include/mtxclient/crypto/types.hpp
grzmot22/mtxclientForESP8266
6e4c6d8c3bafdb96ef41e17d1f410db433c07808
[ "MIT" ]
27
2018-02-27T20:30:51.000Z
2018-09-25T11:48:35.000Z
include/mtxclient/crypto/types.hpp
grzmot22/mtxclientForESP8266
6e4c6d8c3bafdb96ef41e17d1f410db433c07808
[ "MIT" ]
9
2018-03-02T02:57:26.000Z
2021-01-28T13:37:54.000Z
#pragma once #include "mtxclient/utils.hpp" #include <json.hpp> STRONG_TYPE(UserId, std::string) STRONG_TYPE(DeviceId, std::string) STRONG_TYPE(RoomId, std::string) namespace mtx { namespace crypto { constexpr auto ED25519 = "ed25519"; constexpr auto CURVE25519 = "curve25519"; constexpr auto MEGOLM_ALGO = "m.m...
26.925
89
0.653977
grzmot22
2877d9f67e316529e20c04ae744e9cebb2491fb7
13,883
cpp
C++
src/openms/source/FORMAT/PercolatorOutfile.cpp
ksantone/OpenMS
84d15f108c0c15d7f192b11169c9205b9de4129e
[ "BSL-1.0", "Apache-2.0", "Zlib" ]
348
2015-01-17T16:50:12.000Z
2022-03-30T22:55:39.000Z
src/openms/source/FORMAT/PercolatorOutfile.cpp
ksantone/OpenMS
84d15f108c0c15d7f192b11169c9205b9de4129e
[ "BSL-1.0", "Apache-2.0", "Zlib" ]
4,259
2015-01-01T14:07:54.000Z
2022-03-31T16:49:14.000Z
src/openms/source/FORMAT/PercolatorOutfile.cpp
ksantone/OpenMS
84d15f108c0c15d7f192b11169c9205b9de4129e
[ "BSL-1.0", "Apache-2.0", "Zlib" ]
266
2015-01-24T14:56:14.000Z
2022-03-30T12:32:35.000Z
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and Freie Universit...
38.035616
173
0.586689
ksantone
287c71dbd7c97b01245f06c70009ea5651bdf225
3,377
cpp
C++
Demos/04_demo_LIA_SpkSeg/src/SpkMoulinette/src/SegServerIOMdtm.cpp
ibillxia/VoicePrintReco
20bf32f183abcd483fe1da451b4c75cf995b5f26
[ "MIT" ]
83
2015-01-18T01:20:37.000Z
2022-03-02T20:15:27.000Z
Demos/04_demo_LIA_SpkSeg/src/SpkMoulinette/src/SegServerIOMdtm.cpp
Dystopiaz/VoicePrintReco
20bf32f183abcd483fe1da451b4c75cf995b5f26
[ "MIT" ]
4
2016-03-03T08:43:00.000Z
2019-03-08T06:20:56.000Z
Demos/04_demo_LIA_SpkSeg/src/SpkMoulinette/src/SegServerIOMdtm.cpp
Dystopiaz/VoicePrintReco
20bf32f183abcd483fe1da451b4c75cf995b5f26
[ "MIT" ]
59
2015-02-02T03:07:37.000Z
2021-11-22T12:05:42.000Z
/* This file (SegServerIOMdtm.cpp) is part of SpkMoulinette. SpkMoulinette 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 3 of the License, or any later version. ...
34.814433
163
0.609417
ibillxia
287e68b3c4e6a1d7a718da10cb7d72a10d6fc636
16,642
cpp
C++
ExodusImport/Source/ExodusImport/Private/TerrainBuilder.cpp
adamgoodrich/ProjectExodus
29a9fa87f981ad41e3b323702dc2b0d4523889d8
[ "BSD-3-Clause" ]
1
2020-07-15T23:21:15.000Z
2020-07-15T23:21:15.000Z
ExodusImport/Source/ExodusImport/Private/TerrainBuilder.cpp
adamgoodrich/ProjectExodus
29a9fa87f981ad41e3b323702dc2b0d4523889d8
[ "BSD-3-Clause" ]
null
null
null
ExodusImport/Source/ExodusImport/Private/TerrainBuilder.cpp
adamgoodrich/ProjectExodus
29a9fa87f981ad41e3b323702dc2b0d4523889d8
[ "BSD-3-Clause" ]
null
null
null
#include "JsonImportPrivatePCH.h" #include "TerrainBuilder.h" #include "Landscape.h" #include "LandscapeInfo.h" #include "LandscapeLayerInfoObject.h" #include "JsonImporter.h" #include "UnrealUtilities.h" #include "MeshBuilder.h" #include "Materials/Material.h" #include "JsonObjects/JsonBinaryTerrain.h" #include "Run...
37.313901
170
0.746305
adamgoodrich
288175b5bf31de1ede14b5360417bc6f2a933844
1,476
cpp
C++
examples/xtd.core.examples/network/socket_udp_ip_v6/src/socket_udp_ip_v6.cpp
gammasoft71/xtd
09e589a9dd2cb292d1e54c9c4f803c2b3ad22102
[ "MIT" ]
251
2019-04-20T02:02:24.000Z
2022-03-31T09:52:08.000Z
examples/xtd.core.examples/network/socket_udp_ip_v6/src/socket_udp_ip_v6.cpp
gammasoft71/xtd
09e589a9dd2cb292d1e54c9c4f803c2b3ad22102
[ "MIT" ]
29
2021-01-07T12:52:12.000Z
2022-03-29T08:42:14.000Z
examples/xtd.core.examples/network/socket_udp_ip_v6/src/socket_udp_ip_v6.cpp
gammasoft71/xtd
09e589a9dd2cb292d1e54c9c4f803c2b3ad22102
[ "MIT" ]
27
2019-11-21T02:37:44.000Z
2022-03-30T22:59:14.000Z
#include <xtd/xtd> using namespace std; using namespace std::literals; using namespace xtd; using namespace xtd::net; using namespace xtd::net::sockets; int main() { auto terminate_app = false; thread server([&] { socket server_socket(address_family::inter_network_v6, socket_type::dgram, protocol_type::udp...
28.384615
116
0.687669
gammasoft71
28844c49a33543014a3ce2daeb8c8c291b09c973
534
hpp
C++
src/ast/node-types/translation-unit-node.hpp
aaron-michaux/giraffe
457b55d80f6d21616a5c40232c2f68ee9e2c8335
[ "MIT" ]
null
null
null
src/ast/node-types/translation-unit-node.hpp
aaron-michaux/giraffe
457b55d80f6d21616a5c40232c2f68ee9e2c8335
[ "MIT" ]
null
null
null
src/ast/node-types/translation-unit-node.hpp
aaron-michaux/giraffe
457b55d80f6d21616a5c40232c2f68ee9e2c8335
[ "MIT" ]
null
null
null
#pragma once #include "ast/node-types/ast-node.hpp" namespace giraffe { /** * Just the skeleton of the TranslationUnit: relevant preprocessor commands, and * module keywords */ class TranslationUnitNode final : public AstNode { public: TranslationUnitNode(StmtListNode* stmts); virtual ~TranslationUnitNode(...
20.538462
84
0.71161
aaron-michaux
28846ed1a631951f629f813d92e4b648e33660a7
593
cpp
C++
Examples/Template/Template03.cpp
HaniAmmar/Qentem-Engine
ffd2506e8da1f91b80dac0ddd5736ee83a3a72f5
[ "MIT" ]
10
2019-01-02T17:57:18.000Z
2021-08-21T02:03:05.000Z
Examples/Template/Template03.cpp
twoxfh/Qentem-Engine
000b99827ee836d52ae254886a1f8eab9c7b047d
[ "MIT" ]
2
2019-01-06T04:13:35.000Z
2021-08-16T22:35:56.000Z
Examples/Template/Template03.cpp
twoxfh/Qentem-Engine
000b99827ee836d52ae254886a1f8eab9c7b047d
[ "MIT" ]
5
2019-11-25T12:45:27.000Z
2021-08-16T14:57:25.000Z
#include "JSON.hpp" #include "Template.hpp" #include <iostream> using Qentem::Template; using Qentem::Value; int main() { auto value = Qentem::JSON::Parse(R"( [ { "name": "a", "value": 1 }, { "name": "b", "value": 2 }, { "name": "c", "value": 3 ...
14.463415
59
0.441821
HaniAmmar
28855a607fb29bae60c5635ca17a98114aa21c37
17,257
hpp
C++
XJFitUtilDemo/FitUtil/fit_gyroscope_data_mesg.hpp
LXiangJian/XJFitUtil
6cdd7ee7064b8b2bd608cd27ede9947b23683776
[ "MIT" ]
null
null
null
XJFitUtilDemo/FitUtil/fit_gyroscope_data_mesg.hpp
LXiangJian/XJFitUtil
6cdd7ee7064b8b2bd608cd27ede9947b23683776
[ "MIT" ]
null
null
null
XJFitUtilDemo/FitUtil/fit_gyroscope_data_mesg.hpp
LXiangJian/XJFitUtil
6cdd7ee7064b8b2bd608cd27ede9947b23683776
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // The following FIT Protocol software provided may be used with FIT protocol // devices only and remains the copyrighted property of Dynastream Innovations Inc. // The software is being provided on an "as-is" basis and as an accommodat...
40.320093
275
0.451353
LXiangJian
2886029a51ae949934338d6d27f4d058a6e9d96d
297
cpp
C++
Chapter_4/sum_array_video8/sum_array_video8.cpp
BjornChrisnach/Udemy_C_plusplus_Programming_From_Zero_to_Hero
f3d7b46ac652eec5d6057b802c612217be2e01cb
[ "MIT" ]
null
null
null
Chapter_4/sum_array_video8/sum_array_video8.cpp
BjornChrisnach/Udemy_C_plusplus_Programming_From_Zero_to_Hero
f3d7b46ac652eec5d6057b802c612217be2e01cb
[ "MIT" ]
null
null
null
Chapter_4/sum_array_video8/sum_array_video8.cpp
BjornChrisnach/Udemy_C_plusplus_Programming_From_Zero_to_Hero
f3d7b46ac652eec5d6057b802c612217be2e01cb
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int i, sum = 0, array1[8] = {1, 2, 4, 5, 6, 7, 20, 25}; int arrSize = sizeof(array1)/sizeof(array1[0]); for(i = 0; i < arrSize; i++) { sum += array1[i]; } cout << "The sum of the given array is "<<sum<<endl; }
21.214286
59
0.52862
BjornChrisnach
2886a6a4e9ff2ea5b32464f2beae564d1864b11e
8,970
hpp
C++
src/caramel-math/matrix/Matrix.implementation.hpp
mikosz/caramel-math
af1fda8d81c4db98b001e868ccfef9b3c4b5a9ea
[ "MIT" ]
1
2018-11-06T20:51:21.000Z
2018-11-06T20:51:21.000Z
src/caramel-math/matrix/Matrix.implementation.hpp
mikosz/caramel-math
af1fda8d81c4db98b001e868ccfef9b3c4b5a9ea
[ "MIT" ]
null
null
null
src/caramel-math/matrix/Matrix.implementation.hpp
mikosz/caramel-math
af1fda8d81c4db98b001e868ccfef9b3c4b5a9ea
[ "MIT" ]
null
null
null
#ifndef CARAMELMATH_MATRIX_MATRIX_IMPLEMENTATION_HPP__ #define CARAMELMATH_MATRIX_MATRIX_IMPLEMENTATION_HPP__ #include <iosfwd> #include <optional> #include "Matrix.template.hpp" #include "ViewStorage.hpp" #include "storage-traits.hpp" namespace caramel_math::matrix { // -- const variants initialisation namespace ...
31.254355
122
0.716054
mikosz
28924760f902d002b7594315128d57348b7f218b
43,236
cpp
C++
test/tests-expr_storage.cpp
dbd64/taco
1114197595f2429f76aa883ac410b597aac1f19c
[ "MIT" ]
1,005
2017-05-06T22:29:50.000Z
2022-03-25T13:47:59.000Z
test/tests-expr_storage.cpp
dbd64/taco
1114197595f2429f76aa883ac410b597aac1f19c
[ "MIT" ]
331
2017-05-14T21:25:20.000Z
2022-03-29T07:11:48.000Z
test/tests-expr_storage.cpp
dbd64/taco
1114197595f2429f76aa883ac410b597aac1f19c
[ "MIT" ]
156
2017-05-14T20:45:14.000Z
2022-03-14T12:54:26.000Z
#include "test.h" #include "test_tensors.h" #include "taco/tensor.h" #include "taco/index_notation/index_notation.h" #include "taco/index_notation/index_notation_nodes.h" #include "taco/storage/storage.h" using namespace taco; namespace expr_storage_tests { typedef int IndexType; typedef std::ve...
32.241611
79
0.249931
dbd64
28956c44d2abcf81548c84f97f1068f1ac883a3a
6,452
hpp
C++
Source/AllProjects/Drivers/IR/GenTrig/GenTrigS_DriverImpl.hpp
DeanRoddey/CQC
3c494db7cf89c6ba73c2c1bd9327b7a8d061072a
[ "MIT" ]
51
2020-12-26T18:17:16.000Z
2022-03-15T04:29:35.000Z
Source/AllProjects/Drivers/IR/GenTrig/GenTrigS_DriverImpl.hpp
DeanRoddey/CQC
3c494db7cf89c6ba73c2c1bd9327b7a8d061072a
[ "MIT" ]
null
null
null
Source/AllProjects/Drivers/IR/GenTrig/GenTrigS_DriverImpl.hpp
DeanRoddey/CQC
3c494db7cf89c6ba73c2c1bd9327b7a8d061072a
[ "MIT" ]
4
2020-12-28T07:24:39.000Z
2021-12-29T12:09:37.000Z
// // FILE NAME: GenTrigS_DriverImpl.hpp // // AUTHOR: Dean Roddey // // CREATED: 04/16/2007 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2020 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://ope...
34.137566
79
0.511934
DeanRoddey