hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
93fb027d867d902d3c6541872be8561db2b9f0f8
2,873
cpp
C++
src/Hexxagon/HexxagonAIPlayer.cpp
ldornbusch/hexxagon_sfml
62de9412a46da98f212f4c2fa8c934786200f02a
[ "Apache-2.0" ]
null
null
null
src/Hexxagon/HexxagonAIPlayer.cpp
ldornbusch/hexxagon_sfml
62de9412a46da98f212f4c2fa8c934786200f02a
[ "Apache-2.0" ]
null
null
null
src/Hexxagon/HexxagonAIPlayer.cpp
ldornbusch/hexxagon_sfml
62de9412a46da98f212f4c2fa8c934786200f02a
[ "Apache-2.0" ]
null
null
null
// HexxagonAIPlayer.cpp: implementation of the HexxagonAIPlayer class. // ////////////////////////////////////////////////////////////////////// #include "HexxagonAIPlayer.h" ////////////////////////////////////////////////////////////////////// // Construction/Destruction ////////////////////////////////////...
31.571429
90
0.611556
ldornbusch
93fb0e6111da31a34b22f47e1346e60d3a047676
8,962
cpp
C++
third_party/WebKit/Source/platform/fonts/shaping/RunSegmenterTest.cpp
xzhan96/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-01-07T18:51:03.000Z
2021-01-07T18:51:03.000Z
third_party/WebKit/Source/platform/fonts/shaping/RunSegmenterTest.cpp
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/platform/fonts/shaping/RunSegmenterTest.cpp
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "platform/fonts/shaping/RunSegmenter.h" #include "platform/fonts/OrientationIterator.h" #include "testing/gtest/include/gtest/gtest.h" #include ...
37.186722
80
0.714126
xzhan96
93fb4419a37b26858ee7a3b81717a961497a723a
6,576
cpp
C++
CtoARM.cpp
wduncanfraser/c_to_armv5
543f8414b0f7711988f7f19bca1a29157ed98353
[ "MIT" ]
null
null
null
CtoARM.cpp
wduncanfraser/c_to_armv5
543f8414b0f7711988f7f19bca1a29157ed98353
[ "MIT" ]
null
null
null
CtoARM.cpp
wduncanfraser/c_to_armv5
543f8414b0f7711988f7f19bca1a29157ed98353
[ "MIT" ]
null
null
null
// // Created by W. Duncan Fraser on 4/28/15. // #include "CtoARM.h" #include "CtoARMtokens.h" std::string data = "\t.data\n"; //contains the data section of the ARM assembly std::string text = "\t.text\n\tb main\nmain:\n"; //contains the text section of the ARM assembly Registers SysRegs; SymTab Sym...
24.265683
122
0.483273
wduncanfraser
93fb7fd7be33f7b9257459d618e20d096da0d08c
10,065
cpp
C++
mcu/cortex-m0/Spi.cpp
fgr1986/fused
2443cf92390914060b074d12e9226f5358e3899b
[ "Apache-2.0" ]
9
2020-04-25T13:37:31.000Z
2021-02-27T08:36:12.000Z
mcu/cortex-m0/Spi.cpp
fgr1986/fused
2443cf92390914060b074d12e9226f5358e3899b
[ "Apache-2.0" ]
null
null
null
mcu/cortex-m0/Spi.cpp
fgr1986/fused
2443cf92390914060b074d12e9226f5358e3899b
[ "Apache-2.0" ]
5
2021-01-20T23:08:23.000Z
2021-11-18T04:39:32.000Z
/* * Copyright (c) 2019-2020, University of Southampton and Contributors. * All rights reserved. * * SPDX-License-Identifier: Apache-2.0 */ #include <spdlog/fmt/fmt.h> #include <iostream> #include <systemc> #include "include/cm0-fused.h" #include "mcu/SpiTransactionExtension.hpp" #include "mcu/cortex-m0/Spi.hpp" ...
33
80
0.612717
fgr1986
93fd8bcc603f7a670dbd908b046820328c44405c
155
hpp
C++
include/SplayLibrary/3D/3D.hpp
Reiex/SplayLibrary
94b68f371ea4c662c84dfe2dd0a6d1625b60fb04
[ "MIT" ]
1
2021-12-14T21:36:39.000Z
2021-12-14T21:36:39.000Z
include/SplayLibrary/3D/3D.hpp
Reiex/SplayLibrary
94b68f371ea4c662c84dfe2dd0a6d1625b60fb04
[ "MIT" ]
null
null
null
include/SplayLibrary/3D/3D.hpp
Reiex/SplayLibrary
94b68f371ea4c662c84dfe2dd0a6d1625b60fb04
[ "MIT" ]
null
null
null
#pragma once #include <SplayLibrary/3D/Transformable3D.hpp> #include <SplayLibrary/3D/PerspectiveCamera.hpp> #include <SplayLibrary/3D/Mesh.hpp>
19.375
49
0.76129
Reiex
9e0098251d15b4fcf002ddedf04660398321a93e
4,112
cpp
C++
game/rendering/drawing/TextLayout_wrapper.cpp
shartte/SpicyTemple.Native
3e6d458e0626ef8118e7e5a0589ec70e0f38a2b8
[ "MIT" ]
null
null
null
game/rendering/drawing/TextLayout_wrapper.cpp
shartte/SpicyTemple.Native
3e6d458e0626ef8118e7e5a0589ec70e0f38a2b8
[ "MIT" ]
3
2019-12-24T20:41:11.000Z
2019-12-24T20:42:08.000Z
game/rendering/drawing/TextLayout_wrapper.cpp
shartte/SpicyTemple.Native
3e6d458e0626ef8118e7e5a0589ec70e0f38a2b8
[ "MIT" ]
1
2021-09-07T02:19:57.000Z
2021-09-07T02:19:57.000Z
#include "../../interop/string_interop.h" #include "../../utils.h" #include "TextLayout.h" NATIVE_API ApiBool TextLayout_SetStyle(TextLayout *layout, uint32_t start, uint32_t length, TextStyleProperty ...
32.125
99
0.683852
shartte
9e00e4e64c362ff594dc35d56dd31835d2dece09
2,349
cpp
C++
src/qt/qtbase/tests/manual/cocoa/appicon/main.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
1
2020-04-30T15:47:35.000Z
2020-04-30T15:47:35.000Z
src/qt/qtbase/tests/manual/cocoa/appicon/main.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/tests/manual/cocoa/appicon/main.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the test suite of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid ...
34.043478
78
0.65049
power-electro
9e0334d3223ce649d87ca4a066c190672e17c82f
2,050
cpp
C++
Vishv_GE/Framework/Graphics/Src/BlendState.cpp
InFaNsO/Vishv_GameEngine
e721afa899fb8715e52cdd67c2656ba6cce7ffed
[ "MIT" ]
1
2021-12-19T02:06:12.000Z
2021-12-19T02:06:12.000Z
Vishv_GE/Framework/Graphics/Src/BlendState.cpp
InFaNsO/Vishv_GameEngine
e721afa899fb8715e52cdd67c2656ba6cce7ffed
[ "MIT" ]
null
null
null
Vishv_GE/Framework/Graphics/Src/BlendState.cpp
InFaNsO/Vishv_GameEngine
e721afa899fb8715e52cdd67c2656ba6cce7ffed
[ "MIT" ]
null
null
null
#include "Precompiled.h" #include "BlendState.h" #include "D3DUtil.h" #include "GraphicsSystem.h" using namespace Vishv; using namespace Vishv::Graphics; namespace { D3D11_BLEND GetSrcBlend(BlendState::Mode mode) { switch (mode) { case BlendState::Mode::Opaque: return D3D11_BLEND_ONE; case BlendState::Mo...
24.698795
101
0.76
InFaNsO
9e0532cb756a276c21b2f7dd8d822889833e8769
906
tcc
C++
include/biggles/observation.tcc
fbi-octopus/biggles
2dac4f1748ab87242951239caf274f302be1143a
[ "Apache-2.0" ]
1
2019-11-15T14:01:59.000Z
2019-11-15T14:01:59.000Z
include/biggles/observation.tcc
fbi-octopus/biggles
2dac4f1748ab87242951239caf274f302be1143a
[ "Apache-2.0" ]
null
null
null
include/biggles/observation.tcc
fbi-octopus/biggles
2dac4f1748ab87242951239caf274f302be1143a
[ "Apache-2.0" ]
null
null
null
#ifndef WITHIN_BIGGLES_OBSERVATION_HPP__ #error "this file must only be included by observation.hpp" #endif // WITHIN_BIGGLES_OBSERVATION_HPP__ #include <cmath> namespace biggles { inline bool observations_see_each_other(const observation& o1, const observation& o2, const float& speed_of_light) { time_stamp dt(s...
27.454545
116
0.674393
fbi-octopus
9e057401d6a051d6e5bdc5121f1cece8e2ad468b
5,033
cpp
C++
src/csalt/src/util/OCHTrajectorySegment.cpp
IncompleteWorlds/GMAT_2020
624de54d00f43831a4d46b46703e069d5c8c92ff
[ "Apache-2.0" ]
null
null
null
src/csalt/src/util/OCHTrajectorySegment.cpp
IncompleteWorlds/GMAT_2020
624de54d00f43831a4d46b46703e069d5c8c92ff
[ "Apache-2.0" ]
null
null
null
src/csalt/src/util/OCHTrajectorySegment.cpp
IncompleteWorlds/GMAT_2020
624de54d00f43831a4d46b46703e069d5c8c92ff
[ "Apache-2.0" ]
null
null
null
//------------------------------------------------------------------------------ // OCH Trajectory Segment //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Tool // // Copyright (c) 2002 - 2020 United States Government as repre...
23.966667
80
0.531492
IncompleteWorlds
9e07e6eba2f995fe5d7c9947da1cbc6fb4e713d0
4,213
cpp
C++
Solutions/Word Break II/main.cpp
Crayzero/LeetCodeProgramming
b10ebe22c0de1501722f0f5c934c0c1902a26789
[ "MIT" ]
1
2015-04-13T10:58:30.000Z
2015-04-13T10:58:30.000Z
Solutions/Word Break/main.cpp
Crayzero/LeetCodeProgramming
b10ebe22c0de1501722f0f5c934c0c1902a26789
[ "MIT" ]
null
null
null
Solutions/Word Break/main.cpp
Crayzero/LeetCodeProgramming
b10ebe22c0de1501722f0f5c934c0c1902a26789
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <unordered_set> #include <unordered_map> #include <vector> using namespace std; class Solution { public: bool wordBreak(string s, unordered_set<string> &dict) { if (s.size() == 0) { return false; } int *dp = new int[s.size()]; ...
29.256944
107
0.402326
Crayzero
9e0910efb0364f3a7775db8f80e66e5f1afc8c49
3,602
hpp
C++
jerome/type/algorithm.hpp
leuski-ict/jerome
6141a21c50903e98a04c79899164e7d0e82fe1c2
[ "Apache-2.0" ]
3
2018-06-11T10:48:54.000Z
2021-05-30T07:10:15.000Z
jerome/type/algorithm.hpp
leuski-ict/jerome
6141a21c50903e98a04c79899164e7d0e82fe1c2
[ "Apache-2.0" ]
null
null
null
jerome/type/algorithm.hpp
leuski-ict/jerome
6141a21c50903e98a04c79899164e7d0e82fe1c2
[ "Apache-2.0" ]
null
null
null
// // algorithm.hpp // jerome // // Created by Anton Leuski on 9/8/16. // Copyright © 2016 Anton Leuski & ICT/USC. All rights reserved. // // This file is part of Jerome. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // ...
30.016667
88
0.628262
leuski-ict
9e0a7e544681068eb6bc06e2b0bbefecaa6f6fc3
6,920
cpp
C++
firmware/snake.cpp
fitzterra/bittycade
aa0918d924177557755a82498a55dc4712abcf4f
[ "MIT" ]
1
2020-10-02T04:18:27.000Z
2020-10-02T04:18:27.000Z
firmware/snake.cpp
fitzterra/bittycade
aa0918d924177557755a82498a55dc4712abcf4f
[ "MIT" ]
null
null
null
firmware/snake.cpp
fitzterra/bittycade
aa0918d924177557755a82498a55dc4712abcf4f
[ "MIT" ]
null
null
null
#include "snake.h" extern byte lost[]; /** * Generates a point at the given coordinates and returns a pointer to it. * The point is dynamically allocated and must be freed again when it is not needed anymore. **/ point* Snake::spawnSegment(int x, int y) { point *position; position = (struct point*)malloc(sizeof(...
28.953975
92
0.580347
fitzterra
9e0c85831e4c63ce159698cdab5ab2b823493132
126,944
cpp
C++
SVIEngine/jni/SVI/Render/SVIProgramManager.cpp
Samsung/SVIEngine
36964f5b296317a3b7b2825137fef921a8c94973
[ "Apache-2.0" ]
27
2015-04-24T07:14:55.000Z
2020-01-24T16:16:37.000Z
SVIEngine/jni/SVI/Render/SVIProgramManager.cpp
Lousnote5/SVIEngine
36964f5b296317a3b7b2825137fef921a8c94973
[ "Apache-2.0" ]
null
null
null
SVIEngine/jni/SVI/Render/SVIProgramManager.cpp
Lousnote5/SVIEngine
36964f5b296317a3b7b2825137fef921a8c94973
[ "Apache-2.0" ]
15
2015-12-08T14:46:19.000Z
2020-01-21T19:26:41.000Z
#define USE_COMPILE 1 #define USE_BINARY_PROGRAM //#define WRITE_BINARY_PROGRAM #include "../SVICores.h" //#include "SVIProgram.h" #include "SVIProgramManager.h" #include "SVIBinaryProgram.h" #include "SVIRenderer.h" namespace SVI{ const SVIChar* SVIProgramHandleSymbols[] = { "uView", //HD_U_VIEW "uInvV...
34.961168
182
0.63925
Samsung
9e0c920045d7818e6dbf8f2069b87d2c44f3122f
1,408
cpp
C++
GeeksForGeeks/Alphabet-order.cpp
sambhav228/Data_Structure_Algorithm
45d7b2603cd9a837bfe7626bfb4abada70f6f4d6
[ "MIT" ]
3
2020-04-17T18:20:07.000Z
2020-07-07T15:16:38.000Z
GeeksForGeeks/Alphabet-order.cpp
sambhav228/Data_Structure_Algorithm
45d7b2603cd9a837bfe7626bfb4abada70f6f4d6
[ "MIT" ]
null
null
null
GeeksForGeeks/Alphabet-order.cpp
sambhav228/Data_Structure_Algorithm
45d7b2603cd9a837bfe7626bfb4abada70f6f4d6
[ "MIT" ]
3
2020-07-19T07:30:05.000Z
2020-10-01T21:56:18.000Z
#include <bits/stdc++.h> using namespace std; string one[] = { "", "one ", "two ", "three ", "four ", "five ", "six ", "seven ", "eight ", "nine ", "ten ", "eleven ", "twelve ", "thirteen ", "fourteen ", "fifteen ", "sixteen ", "seventeen ", "eighteen ", "nineteen " }; string ten[] =...
18.051282
53
0.479403
sambhav228
9e0f3616ab802bf3927394c258e373b18b7b2872
550
hpp
C++
data-manager/src/server/dataManagerServer/DataManagerTCPServer.hpp
Saafke/4dm
68e235164afb1f127def35e9c15ca883ec1426d4
[ "MIT" ]
8
2021-03-16T06:48:57.000Z
2021-11-30T09:34:09.000Z
data-manager/src/server/dataManagerServer/DataManagerTCPServer.hpp
Saafke/4dm
68e235164afb1f127def35e9c15ca883ec1426d4
[ "MIT" ]
null
null
null
data-manager/src/server/dataManagerServer/DataManagerTCPServer.hpp
Saafke/4dm
68e235164afb1f127def35e9c15ca883ec1426d4
[ "MIT" ]
3
2021-05-02T15:38:17.000Z
2021-07-07T09:19:48.000Z
#pragma once #include "TCPConnection.hpp" #include "boost/asio.hpp" #include "boost/thread.hpp" #include "boost/bind.hpp" using boost::asio::ip::tcp; namespace dataManagerServer { class DataManagerTCPServer { public: DataManagerTCPServer(boost::asio::io_context& io_context, uint16_t port); void Stop(); bool St...
18.333333
117
0.758182
Saafke
9e130ee08fc01f24d678b3e86b9eba69df8cff91
844
hpp
C++
files/modules/http-server/gluecode/generated-src/cpp/ezored/net/http/HttpServer.hpp
rockonedege/ezored
024c43070762ae862d13e49d4d2490d28c899d88
[ "MIT" ]
129
2017-12-21T21:45:38.000Z
2022-03-13T01:59:08.000Z
files/modules/http-server/gluecode/generated-src/cpp/ezored/net/http/HttpServer.hpp
rockonedege/ezored
024c43070762ae862d13e49d4d2490d28c899d88
[ "MIT" ]
55
2017-12-28T22:49:25.000Z
2021-12-14T08:47:40.000Z
files/modules/http-server/gluecode/generated-src/cpp/ezored/net/http/HttpServer.hpp
rockonedege/ezored
024c43070762ae862d13e49d4d2490d28c899d88
[ "MIT" ]
21
2017-12-22T08:19:44.000Z
2022-02-23T22:38:06.000Z
// AUTOGENERATED FILE - DO NOT MODIFY! // This file was generated by Djinni from proj.djinni #pragma once #include <cstdint> #include <memory> #include <string> namespace ezored { namespace net { namespace http { struct HttpServerConfig; class HttpServer { public: virtual ~HttpServer() {} static std::shar...
16.88
64
0.684834
rockonedege
9e14075c73d7cf1511d83e703eb6e9e1e6a37cb8
260
cpp
C++
Battleship/HumanPlayer.cpp
Alimektor/battleship-cpp-clr
6c1fd7c263e087592cfee3dcd487f91c1a286554
[ "MIT" ]
null
null
null
Battleship/HumanPlayer.cpp
Alimektor/battleship-cpp-clr
6c1fd7c263e087592cfee3dcd487f91c1a286554
[ "MIT" ]
null
null
null
Battleship/HumanPlayer.cpp
Alimektor/battleship-cpp-clr
6c1fd7c263e087592cfee3dcd487f91c1a286554
[ "MIT" ]
null
null
null
#include "HumanPlayer.h" void BattleshipGame::HumanPlayer::GetTurn() { SetEnabled(); } void BattleshipGame::HumanPlayer::SetEnabled() { this->GetBoard()->SetEnabled(); } void BattleshipGame::HumanPlayer::SetDisabled() { this->GetBoard()->SetDisabled(); }
16.25
47
0.726923
Alimektor
9e16f1dbfa8ed275dabcc360763ac04036bf904d
11,236
cpp
C++
Plugins/JVM/NWScript.cpp
acaos/nwnxee-unified
0e4c318ede64028c1825319f39c012e168e0482c
[ "MIT" ]
1
2019-06-04T04:30:24.000Z
2019-06-04T04:30:24.000Z
Plugins/JVM/NWScript.cpp
presscad/nwnee
0f36b281524e0b7e9796bcf30f924792bf9b8a38
[ "MIT" ]
null
null
null
Plugins/JVM/NWScript.cpp
presscad/nwnee
0f36b281524e0b7e9796bcf30f924792bf9b8a38
[ "MIT" ]
1
2019-10-20T07:54:45.000Z
2019-10-20T07:54:45.000Z
#include "JVM.hpp" #include "Internal.hpp" #include "Util.h" #include "Services/Events/Events.hpp" #include "API/Globals.hpp" #include "API/Constants.hpp" #include "API/CScriptLocation.hpp" #include "API/Vector.hpp" #include "API/CVirtualMachine.hpp" #include "API/CVirtualMachineCmdImplementer.hpp" #include "API/CNWVi...
42.722433
145
0.711908
acaos
9e1d75722c8b7c063101f156f436a3a30dcd83c5
5,365
cpp
C++
simulation/libsimulator/test/resolver.cpp
SylemST-UtilCollection/libtorrent-build
76c22d0f0aa0e6541983fa793789f3a5774cf0ca
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
simulation/libsimulator/test/resolver.cpp
SylemST-UtilCollection/libtorrent-build
76c22d0f0aa0e6541983fa793789f3a5774cf0ca
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
simulation/libsimulator/test/resolver.cpp
SylemST-UtilCollection/libtorrent-build
76c22d0f0aa0e6541983fa793789f3a5774cf0ca
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2015, Arvid Norberg All rights reserved. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. ...
26.959799
101
0.706803
SylemST-UtilCollection
9e1f6e281c5cf2c4cbbcd9f72eb58c587a16a49f
958
cpp
C++
impl/jamtemplate/common/state_manager/state_manager_transition_fade_to_black.cpp
runvs/1hgj_352
ee7bbab20729427ce9e5f861101a75f6b3f699d3
[ "CC0-1.0" ]
6
2021-09-05T08:31:36.000Z
2021-12-09T21:14:37.000Z
impl/jamtemplate/common/state_manager/state_manager_transition_fade_to_black.cpp
runvs/1hgj_352
ee7bbab20729427ce9e5f861101a75f6b3f699d3
[ "CC0-1.0" ]
30
2021-05-19T15:33:03.000Z
2022-03-30T19:26:37.000Z
impl/jamtemplate/common/state_manager/state_manager_transition_fade_to_black.cpp
runvs/1hgj_352
ee7bbab20729427ce9e5f861101a75f6b3f699d3
[ "CC0-1.0" ]
3
2021-05-23T16:06:01.000Z
2021-10-01T01:17:08.000Z
#include "state_manager_transition_fade_to_black.hpp" #include "math_helper.hpp" #include <iostream> namespace jt { StateManagerTransitionFadeToBlack::StateManagerTransitionFadeToBlack( Vector2f const& overlaySize, TextureManagerInterface& tm, float timerMax) : StateManagerTransitionImpl(timerMax) { m_sha...
29.030303
98
0.72547
runvs
9e20ab1b6a0e40e6b87f721039e8f1fe29b0b9e8
798
cpp
C++
src/system/boot/platform/generic/text_console.cpp
Yn0ga/haiku
74e271b2a286c239e60f0ec261f4f197f4727eee
[ "MIT" ]
2
2018-03-28T06:53:23.000Z
2021-05-26T19:35:01.000Z
src/system/boot/platform/generic/text_console.cpp
Yn0ga/haiku
74e271b2a286c239e60f0ec261f4f197f4727eee
[ "MIT" ]
null
null
null
src/system/boot/platform/generic/text_console.cpp
Yn0ga/haiku
74e271b2a286c239e60f0ec261f4f197f4727eee
[ "MIT" ]
null
null
null
/* * Copyright 2021, Haiku, Inc. All rights reserved. * Distributed under the terms of the MIT License. */ #include <boot/platform/generic/text_console.h> #include <boot/vfs.h> // This is set by the boot platform during console_init(). ConsoleNode* gConsoleNode; void console_clear_screen() { gConsoleNode->Cle...
12.870968
58
0.743108
Yn0ga
9e23e11f78e9b498e214119f29e79ad06752bb93
7,595
cpp
C++
src/Plugins/ECEditor/ECEditor.cpp
realXtend/tundra-urho3d
436d41c3e3dd1a9b629703ee76fd0ef2ee212ef8
[ "Apache-2.0" ]
13
2015-02-25T02:42:38.000Z
2018-07-31T11:40:56.000Z
src/Plugins/ECEditor/ECEditor.cpp
realXtend/tundra-urho3d
436d41c3e3dd1a9b629703ee76fd0ef2ee212ef8
[ "Apache-2.0" ]
8
2015-02-12T22:27:05.000Z
2017-01-21T15:59:17.000Z
src/Plugins/ECEditor/ECEditor.cpp
realXtend/tundra-urho3d
436d41c3e3dd1a9b629703ee76fd0ef2ee212ef8
[ "Apache-2.0" ]
12
2015-03-25T21:10:50.000Z
2019-04-10T09:03:10.000Z
// For conditions of distribution and use, see copyright notice in LICENSE #include "StableHeaders.h" #include "Win.h" #include "ECEditor.h" #include "Framework.h" #include "SceneStructureWindow.h" #include "ECEditorWindow.h" #include "FileDialog.h" #include "AssetAPI.h" #include "UI/UiAPI.h" #include "UI/MenuBar.h" #...
27.618182
123
0.665043
realXtend
9e26d52e7f8445379b9e0da30207d81035832aff
15,003
cc
C++
src/Publisher.cc
amtj/ign-transport
3b386bf46efd2fc0b847aa7fd3911b1d9d27546c
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/Publisher.cc
amtj/ign-transport
3b386bf46efd2fc0b847aa7fd3911b1d9d27546c
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/Publisher.cc
amtj/ign-transport
3b386bf46efd2fc0b847aa7fd3911b1d9d27546c
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2015 Open Source Robotics Foundation * * 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 appl...
27.886617
80
0.603013
amtj
9e2aaf25ccb083bc8ac3b0a9ee518f7ffb2c8297
4,120
cpp
C++
visual_studio_environment_test/src/visual_studio_environment_test_app/test_intrinsics.cpp
cpsusie/cjm-numerics
9719f4aa7ed0fa157f4705e3f20f069e28a5755f
[ "MIT" ]
2
2021-04-18T07:35:56.000Z
2021-04-23T07:37:58.000Z
visual_studio_environment_test/src/visual_studio_environment_test_app/test_intrinsics.cpp
cpsusie/Int128
9719f4aa7ed0fa157f4705e3f20f069e28a5755f
[ "MIT" ]
29
2020-12-18T00:50:36.000Z
2021-03-22T21:35:18.000Z
visual_studio_environment_test/src/visual_studio_environment_test_app/test_intrinsics.cpp
cpsusie/cjm-numerics
9719f4aa7ed0fa157f4705e3f20f069e28a5755f
[ "MIT" ]
null
null
null
// Copyright © 2020-2021 CJM Screws, LLC // 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, dis...
58.028169
210
0.700485
cpsusie
9e2bff92891d3efa3a4c6dee9cda9af766713709
1,273
cc
C++
c11/day03/3.2factory.cc
hankai17/test
8f38d999a7c6a92eac94b4d9dc8e444619d2144f
[ "MIT" ]
7
2017-07-16T15:09:26.000Z
2021-09-01T02:13:15.000Z
c11/day03/3.2factory.cc
hankai17/test
8f38d999a7c6a92eac94b4d9dc8e444619d2144f
[ "MIT" ]
null
null
null
c11/day03/3.2factory.cc
hankai17/test
8f38d999a7c6a92eac94b4d9dc8e444619d2144f
[ "MIT" ]
3
2017-09-13T09:54:49.000Z
2019-03-18T01:29:15.000Z
#include <iostream> template <typename T> T* Instance() { return new T(); } template <typename T, typename T0> T* Instance(T0 arg0) { return new T(arg0); } template <typename T, typename T0, typename T1> T* Instance(T0 arg0, T1 arg1) { return new T(arg0, arg1); } template <typename T, typename T0, typename T1...
19.584615
86
0.630793
hankai17
9e2d394371ede6bdc498346aaddee016c646311d
6,001
cpp
C++
TerraForm/terraindesigner.cpp
MasterQ32/TerraForm
78db64148440b8236794078833d371d0aed3d262
[ "MIT" ]
1
2020-03-16T19:59:25.000Z
2020-03-16T19:59:25.000Z
TerraForm/terraindesigner.cpp
MasterQ32/TerraForm
78db64148440b8236794078833d371d0aed3d262
[ "MIT" ]
null
null
null
TerraForm/terraindesigner.cpp
MasterQ32/TerraForm
78db64148440b8236794078833d371d0aed3d262
[ "MIT" ]
null
null
null
#include "terraindesigner.hpp" #include "dragdrop.hpp" #include "terrainfeaturegroup.hpp" #include <QDebug> #include <QtMath> #include <QMouseEvent> #include <QMimeData> static char const * const terrain_vert = R"glsl(#version 450 layout(location = 0) in float uVertexHeight; uniform mat4 uTransform; uni...
24.295547
116
0.633228
MasterQ32
9e3125e679fe0b5943aab85924d6d4ce7ce2da3a
638
cpp
C++
HW1_T6.cpp
MihailBeloshapkin/TASK
d851d13717366b76e165b5dab1df84951efa3cf8
[ "Apache-2.0" ]
1
2020-02-12T10:52:25.000Z
2020-02-12T10:52:25.000Z
HW1_T6.cpp
MihailBeloshapkin/TASK
d851d13717366b76e165b5dab1df84951efa3cf8
[ "Apache-2.0" ]
null
null
null
HW1_T6.cpp
MihailBeloshapkin/TASK
d851d13717366b76e165b5dab1df84951efa3cf8
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #include <stdio.h> int main() { int counter = 0; int operationCounter = 0; bool isSimilar = true; const int stringSize1 = 13; const int stringSize2 = 4; char string1[stringSize1] = "bckbcdbqbckc"; char string2[stringSize2] = "bck"; for (int i = 0; i < stringSize1 - stringSize2 + 1; i++) { ...
18.764706
66
0.639498
MihailBeloshapkin
9e3e5e7117589a68bf033a26cb04f83eedb1db82
2,310
cpp
C++
library/cpp/coroutine/engine/stack/ut/stack_pool_ut.cpp
jochenater/catboost
de2786fbc633b0d6ea6a23b3862496c6151b95c2
[ "Apache-2.0" ]
6,989
2017-07-18T06:23:18.000Z
2022-03-31T15:58:36.000Z
library/cpp/coroutine/engine/stack/ut/stack_pool_ut.cpp
jochenater/catboost
de2786fbc633b0d6ea6a23b3862496c6151b95c2
[ "Apache-2.0" ]
1,978
2017-07-18T09:17:58.000Z
2022-03-31T14:28:43.000Z
library/cpp/coroutine/engine/stack/ut/stack_pool_ut.cpp
jochenater/catboost
de2786fbc633b0d6ea6a23b3862496c6151b95c2
[ "Apache-2.0" ]
1,228
2017-07-18T09:03:13.000Z
2022-03-29T05:57:40.000Z
#include <library/cpp/coroutine/engine/stack/stack_common.h> #include <library/cpp/coroutine/engine/stack/stack_guards.h> #include <library/cpp/coroutine/engine/stack/stack_pool.h> #include <library/cpp/testing/gtest/gtest.h> using namespace testing; namespace NCoro::NStack::Tests { template <class TGuard> ...
32.535211
118
0.671861
jochenater
9e416225132157e9504bfb0557c67938e99e68e6
71,009
cpp
C++
turkey/instructions.cpp
AndrewAPrice/Turkey
aa3fab9bc344b1550eac306471b0513daf286e8a
[ "Apache-2.0" ]
1
2021-02-14T15:04:04.000Z
2021-02-14T15:04:04.000Z
turkey/instructions.cpp
AndrewAPrice/Turkey
aa3fab9bc344b1550eac306471b0513daf286e8a
[ "Apache-2.0" ]
null
null
null
turkey/instructions.cpp
AndrewAPrice/Turkey
aa3fab9bc344b1550eac306471b0513daf286e8a
[ "Apache-2.0" ]
null
null
null
#include "hooks.h" #include "turkey.h" // do nothing void turkey_interpreter_instruction_nop(TurkeyVM *vm) { } void turkey_interpreter_instruction_add(TurkeyVM *vm) { TurkeyVariable a, b; if(!vm->variable_stack.Pop(b)) b.type = TT_Null; if(!vm->variable_stack.Pop(a)) b.type = TT_Null; TurkeyVariable ret; ret.ty...
31.629844
136
0.762523
AndrewAPrice
9e45d4a8c77de0d29808520d9b8f184b21f27967
9,969
hpp
C++
src/analysis/include/mpi/SendRecvRule.hpp
rdietric/casita
02453e1467af10710dd87065c26bccd5d2026c67
[ "BSD-3-Clause" ]
5
2017-04-10T18:23:35.000Z
2022-02-21T00:27:23.000Z
src/analysis/include/mpi/SendRecvRule.hpp
rdietric/casita
02453e1467af10710dd87065c26bccd5d2026c67
[ "BSD-3-Clause" ]
1
2020-07-09T14:25:49.000Z
2020-07-13T19:30:18.000Z
src/analysis/include/mpi/SendRecvRule.hpp
rdietric/casita
02453e1467af10710dd87065c26bccd5d2026c67
[ "BSD-3-Clause" ]
1
2022-02-21T00:27:26.000Z
2022-02-21T00:27:26.000Z
/* * This file is part of the CASITA software * * Copyright (c) 2013-2018, * Technische Universitaet Dresden, Germany * * This software may be modified and distributed under the terms of * a BSD-style license. See the COPYING file in the package base * directory for details. * */ #pragma once #include "IMPI...
35.476868
87
0.556726
rdietric
9e48476d47d9c1b22447aa0818b1fb40b07603ad
1,749
cpp
C++
plugin_vc/game_vc/CCopPed.cpp
gta-chaos-mod/plugin-sdk
e3bf176337774a2afc797a47825f81adde78e899
[ "Zlib" ]
368
2015-01-01T21:42:00.000Z
2022-03-29T06:22:22.000Z
plugin_vc/game_vc/CCopPed.cpp
SteepCheat/plugin-sdk
a17c5d933cb8b06e4959b370092828a6a7aa00ef
[ "Zlib" ]
89
2016-05-08T06:42:36.000Z
2022-03-29T06:49:09.000Z
plugin_vc/game_vc/CCopPed.cpp
SteepCheat/plugin-sdk
a17c5d933cb8b06e4959b370092828a6a7aa00ef
[ "Zlib" ]
179
2015-02-03T23:41:17.000Z
2022-03-26T08:27:16.000Z
/* Plugin-SDK (Grand Theft Auto Vice City) header file Authors: GTA Community. See more here https://github.com/DK22Pac/plugin-sdk Do not delete this comment block. Respect others' work! */ #include "CCopPed.h" // Converted from thiscall void CCopPed::ArrestPlayer(void) 0x4EB470 void CCopPed::ArrestPlayer() { plug...
33.634615
80
0.743282
gta-chaos-mod
eaff88e76a76a81e34f6ad6e09b35eead91d7d23
5,814
cpp
C++
src/obj_loader.cpp
hadalhw17/meshloader
411babf21a6bddf61c6ea8fc8b8ffce325ae5e52
[ "MIT" ]
null
null
null
src/obj_loader.cpp
hadalhw17/meshloader
411babf21a6bddf61c6ea8fc8b8ffce325ae5e52
[ "MIT" ]
null
null
null
src/obj_loader.cpp
hadalhw17/meshloader
411babf21a6bddf61c6ea8fc8b8ffce325ae5e52
[ "MIT" ]
null
null
null
#include "obj_loader.hpp" #include <algorithm> #include <array> #include <fmt/format.h> #include <functional> #include <string> #include <cassert> #include <thread> namespace loader { template <class ArgumentType, class ResultType> struct unary_function { using argument_type = ArgumentType; using result_type = Re...
25.5
79
0.573443
hadalhw17
eaff8d6675c4e7af73288e00a06a6523cb9d2418
12,260
hpp
C++
include/fluidity/container/array_view.hpp
robclu/fluidity
22069dc3b0280f843494913a2371f940531d1744
[ "MIT" ]
1
2018-04-21T09:24:36.000Z
2018-04-21T09:24:36.000Z
include/fluidity/container/array_view.hpp
robclu/fluidity
22069dc3b0280f843494913a2371f940531d1744
[ "MIT" ]
4
2018-08-05T12:14:41.000Z
2021-09-20T14:38:50.000Z
include/fluidity/container/array_view.hpp
robclu/fluidity
22069dc3b0280f843494913a2371f940531d1744
[ "MIT" ]
null
null
null
//==--- fluidity/container/array_view.hpp ------------------ -*- C++ -*- ---==// // // Fluidity // // Copyright (c) 2018 Rob Clucas. // // This file is distributed under the MIT License. See LICENSE for details. // //==-----------------------------------...
36.816817
80
0.668108
robclu
d80788d45ddaabb723daa5df302b1f59f7bf3172
1,355
hpp
C++
src/morda/widgets/base/fraction_band_widget.hpp
igagis/morda
dd7b58f7cb2689d56b7796cc9b6b9302aad1a529
[ "MIT" ]
69
2016-12-07T05:56:53.000Z
2020-11-27T20:59:05.000Z
src/morda/widgets/base/fraction_band_widget.hpp
igagis/morda
dd7b58f7cb2689d56b7796cc9b6b9302aad1a529
[ "MIT" ]
103
2015-07-10T14:42:21.000Z
2020-09-09T16:16:21.000Z
src/morda/widgets/base/fraction_band_widget.hpp
igagis/morda
dd7b58f7cb2689d56b7796cc9b6b9302aad1a529
[ "MIT" ]
18
2016-11-22T14:41:37.000Z
2020-04-22T18:16:10.000Z
/* morda - GUI framework Copyright (C) 2012-2021 Ivan Gagis <igagis@gmail.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 3 of the License, or (at your option) any later version...
27.653061
86
0.746863
igagis
d807a4e96dca0c238419594ddc335955727d4b9c
6,508
cc
C++
tests/api.cc
Samsung/veles.sound_feature_extraction-
56b7c5d3816d092c72a874ca236e889fe843e6cd
[ "Apache-2.0" ]
31
2015-11-10T06:06:47.000Z
2021-02-28T04:54:17.000Z
tests/api.cc
Samsung/veles.sound_feature_extraction-
56b7c5d3816d092c72a874ca236e889fe843e6cd
[ "Apache-2.0" ]
null
null
null
tests/api.cc
Samsung/veles.sound_feature_extraction-
56b7c5d3816d092c72a874ca236e889fe843e6cd
[ "Apache-2.0" ]
17
2015-08-08T20:28:49.000Z
2021-04-15T01:03:47.000Z
/*! @file api.cc * @brief Tests for libSoundFeatureExtraction API. * @author Markovtsev Vadim <v.markovtsev@samsung.com> * @version 1.0 * * @section Notes * This code partially conforms to <a href="http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml">Google C++ Style Guide</a>. * * @section Cop...
34.802139
136
0.695144
Samsung
d80cccc1bf372cbb42e8ab406a33ca4b1d042341
22,254
cpp
C++
arrival/galaxy/galaxy.cpp
paiv/icfpc2020
db45593d467ce5568610dad63208a28d33dcd2ac
[ "MIT" ]
null
null
null
arrival/galaxy/galaxy.cpp
paiv/icfpc2020
db45593d467ce5568610dad63208a28d33dcd2ac
[ "MIT" ]
null
null
null
arrival/galaxy/galaxy.cpp
paiv/icfpc2020
db45593d467ce5568610dad63208a28d33dcd2ac
[ "MIT" ]
null
null
null
#include <cinttypes> #include <map> #include <memory> #include <set> #include "galaxy_machine.inc" typedef uint8_t u8; typedef int32_t i32; typedef uint32_t u32; typedef int64_t i64; typedef uint64_t u64; extern "C" { const void load_machine(const i64* image); const i64* evaluate(u32 size, const i64* reque...
22.298597
98
0.497978
paiv
d816ef873a0b067698a4f0d0dcb6690ade412fec
1,497
cpp
C++
frontend/collision/shapes/shape.cpp
Gohla/rust_box2d
d5431f905a09c0b2670f648c15f6d5120c0693c3
[ "Zlib" ]
52
2015-07-23T12:36:12.000Z
2021-11-14T20:39:10.000Z
frontend/collision/shapes/shape.cpp
Gohla/rust_box2d
d5431f905a09c0b2670f648c15f6d5120c0693c3
[ "Zlib" ]
13
2016-09-19T18:57:40.000Z
2021-08-08T07:47:12.000Z
frontend/collision/shapes/shape.cpp
Gohla/rust_box2d
d5431f905a09c0b2670f648c15f6d5120c0693c3
[ "Zlib" ]
14
2015-08-13T17:36:52.000Z
2021-09-19T11:08:03.000Z
void Shape_drop_virtual(b2Shape* self) { delete self; } /*b2Shape* Shape_clone_virtual(const b2Shape* self, b2BlockAllocator* allocator) { return self->Clone(allocator); }*/ i32 Shape_get_type(const b2Shape* self) { return self->GetType(); } i32 Shape_get_child_count_virtual(...
29.352941
63
0.561122
Gohla
d817150eda69446ae1ab124d4476813c015c426f
14,765
cc
C++
be/src/exec/delimited-text-parser-test.cc
ImpalaToGo/ImpalaToGo
a1a79c0684d1319ee5c99aaf9b8a09c8392ba054
[ "Apache-2.0" ]
51
2015-01-02T04:10:26.000Z
2020-11-21T16:33:19.000Z
be/src/exec/delimited-text-parser-test.cc
ImpalaToGo/ImpalaToGo
a1a79c0684d1319ee5c99aaf9b8a09c8392ba054
[ "Apache-2.0" ]
58
2015-01-29T15:52:19.000Z
2016-04-19T08:19:02.000Z
be/src/exec/delimited-text-parser-test.cc
ImpalaToGo/ImpalaToGo
a1a79c0684d1319ee5c99aaf9b8a09c8392ba054
[ "Apache-2.0" ]
8
2015-03-16T11:03:41.000Z
2019-07-11T06:39:31.000Z
// Copyright 2012 Cloudera Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in wr...
38.855263
115
0.678835
ImpalaToGo
d81bf0a1279649971b186ccd34125fdb78d3fde3
2,888
tpp
C++
uppsrc/Core/src.tpp/OutFilterStream$en-us.tpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
2
2016-04-07T07:54:26.000Z
2020-04-14T12:37:34.000Z
uppsrc/Core/src.tpp/OutFilterStream$en-us.tpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
null
null
null
uppsrc/Core/src.tpp/OutFilterStream$en-us.tpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
null
null
null
topic "OutFilterStream"; [2 $$0,0#00000000000000000000000000000000:Default] [i448;a25;kKO9;2 $$1,0#37138531426314131252341829483380:class] [l288;2 $$2,2#27521748481378242620020725143825:desc] [0 $$3,0#96390100711032703541132217272105:end] [H6;0 $$4,0#05600065144404261032431302351956:begin] [i448;a25;kKO9;2 $$5,0#...
43.757576
97
0.625693
dreamsxin
d81c0ce08721b7755cb6e4e2e53732cc1fc073b9
414,109
cpp
C++
Sources/Tests/OpcodeTests.cpp
drunkfly/retrotoolkit
38fc08ce931339948d697a4dcf6f2441bccef7d6
[ "MIT", "Unlicense" ]
3
2021-04-17T11:32:36.000Z
2022-01-03T17:51:27.000Z
Sources/Tests/OpcodeTests.cpp
drunkfly/retrotoolkit
38fc08ce931339948d697a4dcf6f2441bccef7d6
[ "MIT", "Unlicense" ]
null
null
null
Sources/Tests/OpcodeTests.cpp
drunkfly/retrotoolkit
38fc08ce931339948d697a4dcf6f2441bccef7d6
[ "MIT", "Unlicense" ]
null
null
null
// THIS IS A GENERATED FILE. DO NOT EDIT! #include "Tests/Common.h" TEST_CASE("adc a, (hl)", "[opcodes]") { static const char source[] = "#section main\n" "adc a, (hl)\n" ; static const unsigned char binary[] = { 0x8e, }; ErrorConsumer errorConsumer; DataBlob a...
22.35889
54
0.556933
drunkfly
d81d303a6c4bc521cdf5cb60c0d76c699efe3470
976
cpp
C++
74.cpp
adelacvg/PE
0345335a3f959342625be03ae36a21bbad45f273
[ "MIT" ]
3
2018-11-12T07:32:42.000Z
2021-07-27T04:40:41.000Z
74.cpp
adelacvg/PE
0345335a3f959342625be03ae36a21bbad45f273
[ "MIT" ]
null
null
null
74.cpp
adelacvg/PE
0345335a3f959342625be03ae36a21bbad45f273
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int M = 1000000; int fac[20]={1,1,2,6,24,120,720,5040,40320,362880}; int cash[1000001]; int f(int n) { int sum=0; while(n) { sum+=fac[n%10]; n/=10; } return sum; } int main() { cash[169]=3; cash[363601]=3; cash[1454]=3; ca...
17.428571
51
0.396516
adelacvg
d8227475aedffc29969dd443f91dbe1ddb42146e
3,973
cpp
C++
src/trunk/libs/seiscomp3/geo/coordinate.cpp
damb/seiscomp3
560a8f7ae43737ae7826fb1ffca76a9f601cf9dc
[ "Naumen", "Condor-1.1", "MS-PL" ]
94
2015-02-04T13:57:34.000Z
2021-11-01T15:10:06.000Z
src/trunk/libs/seiscomp3/geo/coordinate.cpp
damb/seiscomp3
560a8f7ae43737ae7826fb1ffca76a9f601cf9dc
[ "Naumen", "Condor-1.1", "MS-PL" ]
233
2015-01-28T15:16:46.000Z
2021-08-23T11:31:37.000Z
src/trunk/libs/seiscomp3/geo/coordinate.cpp
salichon/seiscomp3
4f7715f9ff9a35e7912c379ebf10446d0bceaeb2
[ "Naumen", "Condor-1.1", "MS-PL" ]
95
2015-02-13T15:53:30.000Z
2021-11-02T14:54:54.000Z
/*************************************************************************** * Copyright (C) by gempa GmbH * * * * You can redistribute and/or modify this program under the * * terms o...
26.844595
113
0.350617
damb
d822c98b7e7cab99850aa83671d993ac7d485640
102
cpp
C++
Source/ImsvGraphVis/IGVNodeDetailsUserWidget.cpp
Sapphirine/GraphVR
7ba0d744250ab8932abbab891d3482197a8f6bad
[ "BSD-3-Clause" ]
null
null
null
Source/ImsvGraphVis/IGVNodeDetailsUserWidget.cpp
Sapphirine/GraphVR
7ba0d744250ab8932abbab891d3482197a8f6bad
[ "BSD-3-Clause" ]
null
null
null
Source/ImsvGraphVis/IGVNodeDetailsUserWidget.cpp
Sapphirine/GraphVR
7ba0d744250ab8932abbab891d3482197a8f6bad
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2018 David Kuhta. All Rights Reserved. #include "IGVNodeDetailsUserWidget.h"
12.75
52
0.705882
Sapphirine
d825a7564b9ef54397cc86c7336fc7ea33d3555b
1,528
cpp
C++
src/example_ceres_helloworld.cpp
dringakn/ROSExamples
f4f19d21fab3630c112148e198f117f0466032c4
[ "MIT" ]
2
2020-07-14T19:37:43.000Z
2020-07-15T04:38:09.000Z
src/example_ceres_helloworld.cpp
dringakn/ROSExamples
f4f19d21fab3630c112148e198f117f0466032c4
[ "MIT" ]
null
null
null
src/example_ceres_helloworld.cpp
dringakn/ROSExamples
f4f19d21fab3630c112148e198f117f0466032c4
[ "MIT" ]
null
null
null
/* A simple example of using the Ceres minimizer. Minimize 0.5 (10 - x)^2 using jacobian matrix computed using automatic differentiation. */ #include <ceres/ceres.h> #include <glog/log_severity.h> using ceres::AutoDiffCostFunction; using ceres::CostFunction; using ceres::Problem; using ceres::Solve; using ceres::S...
31.833333
93
0.704188
dringakn
d826d7d643689161a6a3007868b5dd858dc1e118
18,879
cpp
C++
third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.cpp
xzhan96/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-01-07T18:51:03.000Z
2021-01-07T18:51:03.000Z
third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.cpp
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.cpp
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // This file has been auto-generated by code_generator_v8.py. // DO NOT MODIFY! // clang-format off #include "V8TestInterfaceGarbageCollected.h" #includ...
46.272059
511
0.793527
xzhan96
d82ba3919471c00c10094e9a854645d6f1c568aa
461
cpp
C++
Tests/bug18.cpp
klassen-software-solutions/ksstest
c90efdbc40613230f42a84d31e9b8172bde57453
[ "MIT" ]
2
2018-10-14T03:12:45.000Z
2018-10-14T03:12:54.000Z
Tests/bug18.cpp
klassen-software-solutions/ksstest
c90efdbc40613230f42a84d31e9b8172bde57453
[ "MIT" ]
29
2018-04-03T01:02:56.000Z
2020-01-10T21:42:42.000Z
Tests/bug18.cpp
klassen-software-solutions/ksstest
c90efdbc40613230f42a84d31e9b8172bde57453
[ "MIT" ]
null
null
null
// // bug18.cpp // unittest // // Created by Steven W. Klassen on 2019-01-17. // Copyright © 2019 Klassen Software Solutions. All rights reserved. // #include <kss/test/all.h> using namespace std; using namespace kss::test; static TestSuite ts("bug18", { // The bug is that this will not compile. make_pa...
20.043478
69
0.613883
klassen-software-solutions
d82e49b87a2453b07888970f0c17efdf55fd1672
1,824
cpp
C++
LeetCode/C++/1578. Minimum Deletion Cost to Avoid Repeating Letters.cpp
shreejitverma/GeeksforGeeks
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-18T05:14:28.000Z
2022-03-08T07:00:08.000Z
LeetCode/C++/1578. Minimum Deletion Cost to Avoid Repeating Letters.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
6
2022-01-13T04:31:04.000Z
2022-03-12T01:06:16.000Z
LeetCode/C++/1578. Minimum Deletion Cost to Avoid Repeating Letters.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-14T19:53:53.000Z
2022-02-18T05:14:30.000Z
//Runtime: 360 ms, faster than 33.33% of C++ online submissions for Minimum Deletion Cost to Avoid Repeating Letters. //Memory Usage: 95.7 MB, less than 33.33% of C++ online submissions for Minimum Deletion Cost to Avoid Repeating Letters. class Solution { public: int minCost(string s, vector<int>& cost) { ...
33.777778
130
0.530154
shreejitverma
d8382ee5f57aa29247f56027a042a36a2e4e03be
118
hh
C++
src/sinus.hh
Vermeille/Synth
66920d31500cf07791b13c1292c98f0eeaa1323b
[ "MIT" ]
3
2018-01-10T13:47:07.000Z
2019-10-13T02:15:36.000Z
src/sinus.hh
Vermeille/Synth
66920d31500cf07791b13c1292c98f0eeaa1323b
[ "MIT" ]
null
null
null
src/sinus.hh
Vermeille/Synth
66920d31500cf07791b13c1292c98f0eeaa1323b
[ "MIT" ]
null
null
null
#include "osc.hh" #include "params.hh" class Sinus : public Oscillo { public: virtual float Gen() override; };
13.111111
33
0.669492
Vermeille
d83fafa0bfa6493f1b49c2bb74d1ab57adad6261
3,290
cpp
C++
src/core/p_render/scene/mesh/Mesh.cpp
jabronicus/P-Engine
7786c2f97d19bd2913b706f6afe5087a392b1a3c
[ "MIT" ]
null
null
null
src/core/p_render/scene/mesh/Mesh.cpp
jabronicus/P-Engine
7786c2f97d19bd2913b706f6afe5087a392b1a3c
[ "MIT" ]
null
null
null
src/core/p_render/scene/mesh/Mesh.cpp
jabronicus/P-Engine
7786c2f97d19bd2913b706f6afe5087a392b1a3c
[ "MIT" ]
1
2021-08-24T05:43:01.000Z
2021-08-24T05:43:01.000Z
#include "../../../../../include/core/p_render/scene/mesh/Mesh.hpp" using namespace scene; /* SUBMESH */ SubMesh::SubMesh(const SubMeshCreateInfo &info) : Renderable() { name_ = info.name; // set up submesh data (these submesh objects should contain the actual geometry data) numVertices_ = info.vertexCou...
33.917526
101
0.672948
jabronicus
d8421e6b0db46a8afea11cab6763abd8803be262
672
cc
C++
Core/lepus/table.cc
InfiniteSynthesis/lynx-native
022e277ee6767f5b668269a17b1679072cf7c3d6
[ "MIT" ]
677
2017-09-23T16:03:12.000Z
2022-03-26T08:32:10.000Z
Core/lepus/table.cc
InfiniteSynthesis/lynx-native
022e277ee6767f5b668269a17b1679072cf7c3d6
[ "MIT" ]
3
2018-06-11T02:04:02.000Z
2020-04-24T09:26:05.000Z
Core/lepus/table.cc
InfiniteSynthesis/lynx-native
022e277ee6767f5b668269a17b1679072cf7c3d6
[ "MIT" ]
92
2017-09-21T14:21:27.000Z
2022-03-25T13:29:42.000Z
#include "lepus/table.h" namespace lepus { Dictonary::Dictonary() {} Dictonary::~Dictonary() { HashMap::iterator iter = hash_map_.begin(); for(;iter != hash_map_.end(); ++iter) { iter->first->Release(); } } void Dictonary::SetValue(const String* key, const...
25.846154
74
0.565476
InfiniteSynthesis
d844833de259806fbbb23f63628aabe3bd568271
317
hpp
C++
modules/format/include/Tanker/Format/Width.hpp
TankerHQ/sdk-native
5d9eb7c2048fdefae230590a3110e583f08c2c49
[ "Apache-2.0" ]
19
2018-12-05T12:18:02.000Z
2021-07-13T07:33:22.000Z
modules/format/include/Tanker/Format/Width.hpp
TankerHQ/sdk-native
5d9eb7c2048fdefae230590a3110e583f08c2c49
[ "Apache-2.0" ]
3
2020-03-16T15:52:06.000Z
2020-08-01T11:14:30.000Z
modules/format/include/Tanker/Format/Width.hpp
TankerHQ/sdk-native
5d9eb7c2048fdefae230590a3110e583f08c2c49
[ "Apache-2.0" ]
3
2020-01-07T09:55:32.000Z
2020-08-01T01:29:28.000Z
#pragma once #include <utility> namespace Tanker { namespace Format { constexpr std::pair<int, int> parseWidth(char const* it) { int width = 0; auto const begin = it; while (*it >= '0' && *it <= '9') { width = width * 10 + static_cast<int>(*it - '0'); ++it; } return {width, it - begin}; } } }
13.782609
56
0.574132
TankerHQ
d845f65c7c63ee7ad665c4c40c94da4ec9eb62bf
7,051
cpp
C++
src/main.cpp
giraldeau/visvalingam_simplify
e28fc3b760d2037dcdaf0c19af644ecaa2367347
[ "BSD-2-Clause-FreeBSD" ]
26
2015-03-07T01:17:19.000Z
2022-01-14T06:17:49.000Z
src/main.cpp
giraldeau/visvalingam_simplify
e28fc3b760d2037dcdaf0c19af644ecaa2367347
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/main.cpp
giraldeau/visvalingam_simplify
e28fc3b760d2037dcdaf0c19af644ecaa2367347
[ "BSD-2-Clause-FreeBSD" ]
7
2017-04-05T12:43:41.000Z
2021-05-08T12:51:10.000Z
// // // 2013 (c) Mathieu Courtemanche // #include <cstdlib> #include <cstdio> #include <cassert> #include <iostream> #include <ogrsf_frmts.h> #include "visvalingam_algorithm.h" #include "geo_types.h" #include "heap.hpp" void test_vector_sub() { Point a, b; a.X = 10; a.Y = 20; b.X = 5; b.Y = 1; ...
23.58194
87
0.538363
giraldeau
d8470c10963e74c4c0e7f281ca1bfd5c914038a8
1,496
cpp
C++
ural/1085.cpp
jffifa/algo-solution
af2400d6071ee8f777f9473d6a34698ceef08355
[ "MIT" ]
5
2015-07-14T10:29:25.000Z
2016-10-11T12:45:18.000Z
ural/1085.cpp
jffifa/algo-solution
af2400d6071ee8f777f9473d6a34698ceef08355
[ "MIT" ]
null
null
null
ural/1085.cpp
jffifa/algo-solution
af2400d6071ee8f777f9473d6a34698ceef08355
[ "MIT" ]
3
2016-08-23T01:05:26.000Z
2017-05-28T02:04:20.000Z
/* Problem: Ural1085 Algorithm: Floyd-Warshall Time: O() Memory: O() Detail: Simple Coded by [BUPT]AkemiHomura */ #include <cstdio> #include <cstring> #include <algorithm> using namespace std; const int MaxN = 105; const int INF = 0x1fffffff; int N, M, K, L; int Stop[MaxN], Money[MaxN], S[Max...
19.946667
55
0.456551
jffifa
d8474c18e8a284c93eadb433d8226d080be9b940
1,363
hxx
C++
c++/src/laolx/parser/Words.hxx
kpfalzer/laolx
66e5571a63c289294af69949b9ec56f752efc51b
[ "MIT" ]
null
null
null
c++/src/laolx/parser/Words.hxx
kpfalzer/laolx
66e5571a63c289294af69949b9ec56f752efc51b
[ "MIT" ]
null
null
null
c++/src/laolx/parser/Words.hxx
kpfalzer/laolx
66e5571a63c289294af69949b9ec56f752efc51b
[ "MIT" ]
null
null
null
// // Words.hxx // // // Created by Karl W Pfalzer. // #ifndef laolx_parser_Words_hxx #define laolx_parser_Words_hxx #include "laolx/parser/laolx.hxx" namespace laolx { namespace parser { class Words : public _Acceptor { public: explicit Words() {} virtual ~Words() {} class Node : ...
16.22619
55
0.608217
kpfalzer
d8491f1f1fd13e489d8a2f4083ce992df573b6c9
5,811
cpp
C++
src/partition/Partitioning.cpp
dlasalle/poros
a87e2dc1b64c47f94e0ce05adadbd7e35a63d166
[ "MIT" ]
1
2022-01-15T21:58:08.000Z
2022-01-15T21:58:08.000Z
src/partition/Partitioning.cpp
dlasalle/poros
a87e2dc1b64c47f94e0ce05adadbd7e35a63d166
[ "MIT" ]
15
2018-12-15T04:09:58.000Z
2019-09-29T18:51:06.000Z
src/partition/Partitioning.cpp
dlasalle/poros
a87e2dc1b64c47f94e0ce05adadbd7e35a63d166
[ "MIT" ]
null
null
null
/** * @file Partitioning.cpp * @brief Implementation of the partitioning class. * @author Dominique LaSalle <dominique@solidlake.com> * Copyright 2017-2018 * @version 1 * @date 2017-10-04 * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation fil...
27.9375
86
0.637928
dlasalle
d849a646f5c5f17071e8dc8783da51d6c3fb796d
679
inl
C++
ecs/inc/inline/component.inl
RyeToastyO/Ecs
ed748693d28d581abd7912acb992a912768cb62d
[ "MIT" ]
1
2019-10-31T19:18:45.000Z
2019-10-31T19:18:45.000Z
ecs/inc/inline/component.inl
RyeToastyO/Ecs
ed748693d28d581abd7912acb992a912768cb62d
[ "MIT" ]
null
null
null
ecs/inc/inline/component.inl
RyeToastyO/Ecs
ed748693d28d581abd7912acb992a912768cb62d
[ "MIT" ]
null
null
null
// ---------------------------------------------------------------------------- // Copyright (c) 2020 Riley Diederich // License (MIT): https://github.com/RyeToastyO/Ecs/blob/master/LICENSE // ---------------------------------------------------------------------------- namespace ecs { namespace impl { template<typena...
29.521739
79
0.543446
RyeToastyO
d84a36b1b19978e5fd2c8aa0eb0af247f54c7cd5
148
cpp
C++
src/app/src/main.cpp
Mahmuttalemdar/TicTacToe.AI
ccd7f51c5bdfdd86996790db287d2f3d1628809b
[ "MIT" ]
1
2021-04-19T12:36:02.000Z
2021-04-19T12:36:02.000Z
src/app/src/main.cpp
Mahmuttalemdar/TicTacToe.AI
ccd7f51c5bdfdd86996790db287d2f3d1628809b
[ "MIT" ]
null
null
null
src/app/src/main.cpp
Mahmuttalemdar/TicTacToe.AI
ccd7f51c5bdfdd86996790db287d2f3d1628809b
[ "MIT" ]
null
null
null
#include <glue/src/entrance.h> int main(int argc, char* argv[]) { // Show time for TicTacToeAI Entrance::getInstance()->run(argc, argv); }
18.5
45
0.655405
Mahmuttalemdar
d84e78f254ab0183fd247e1fd9b0f7763cae4d57
4,250
cc
C++
lib/bef_converter/mlir_to_bef/bef_location_emitter.cc
Dig-Doug/runtime
e578f442cadc112074032964a4745b1873887ab2
[ "Apache-2.0" ]
669
2020-04-29T16:05:30.000Z
2022-03-30T06:42:36.000Z
lib/bef_converter/mlir_to_bef/bef_location_emitter.cc
sloppyjuicy/runtime
84b400aceb9bae054ff72e1fcd95e15daf910c2d
[ "Apache-2.0" ]
76
2020-04-30T09:23:04.000Z
2022-03-24T16:21:18.000Z
lib/bef_converter/mlir_to_bef/bef_location_emitter.cc
sloppyjuicy/runtime
84b400aceb9bae054ff72e1fcd95e15daf910c2d
[ "Apache-2.0" ]
108
2020-04-29T18:06:09.000Z
2022-03-31T15:53:54.000Z
// Copyright 2021 The TensorFlow Runtime Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
33.464567
79
0.718588
Dig-Doug
d84fb18dcfcbfb1d61a326e28bfa47bc75096e01
348
hpp
C++
src/manager.hpp
handtruth/mcshub
00f23171a868b80469020b6f1830c290570b0187
[ "MIT" ]
6
2019-08-08T04:28:27.000Z
2022-03-19T14:27:44.000Z
src/manager.hpp
handtruth/mcshub
00f23171a868b80469020b6f1830c290570b0187
[ "MIT" ]
1
2021-07-25T19:58:15.000Z
2021-07-26T19:40:00.000Z
src/manager.hpp
handtruth/mcshub
00f23171a868b80469020b6f1830c290570b0187
[ "MIT" ]
null
null
null
#ifndef _MANAGER_HEAD #define _MANAGER_HEAD #include <ekutils/cli.hpp> #include <ekutils/stdin_d.hpp> #include <ekutils/reader.hpp> namespace mcshub { class manager { ekutils::choice_cli_node root; ekutils::reader input = ekutils::reader(ekutils::input); public: manager(); void on_line(); }; } // namespace mcsh...
16.571429
57
0.741379
handtruth
d858cf6c71c9bdc30a8fee6a44a1bfc1277013a1
10,675
hpp
C++
ThirdParty-mod/java2cpp/junit/framework/TestResult.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
1
2019-04-03T01:53:28.000Z
2019-04-03T01:53:28.000Z
ThirdParty-mod/java2cpp/junit/framework/TestResult.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
ThirdParty-mod/java2cpp/junit/framework/TestResult.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
/*================================================================================ code generated by: java2cpp author: Zoran Angelov, mailto://baldzar@gmail.com class: junit.framework.TestResult ================================================================================*/ #ifndef J2CPP_INCLUDE_IMPLE...
34.659091
156
0.731429
kakashidinho
d85a86e411fdee4052b2371049ac362d3ad5d2db
526
cpp
C++
src/AnimationWaitingThread.cpp
mbychawski/traffic-simulator
ef576cb9b2083e9e1cb8671356032d90dcfa42aa
[ "BSD-3-Clause" ]
null
null
null
src/AnimationWaitingThread.cpp
mbychawski/traffic-simulator
ef576cb9b2083e9e1cb8671356032d90dcfa42aa
[ "BSD-3-Clause" ]
null
null
null
src/AnimationWaitingThread.cpp
mbychawski/traffic-simulator
ef576cb9b2083e9e1cb8671356032d90dcfa42aa
[ "BSD-3-Clause" ]
null
null
null
#include "AnimationWaitingThread.h" #include <QWaitCondition> #include <QMutex> #include <QMutexLocker> #include <QTime> AnimationWaitingThread::AnimationWaitingThread(functionPtr f_, QWaitCondition * waitCondition_, QMutex * mutex_) : f(f_), waitCondition(waitCondition_), mutex(mutex_) { go = true; } void A...
21.916667
112
0.692015
mbychawski
d85f27963c261abf8655ea7b18ae949b378223e7
7,747
cpp
C++
Phoebe-core/src/ph/renderer/ForwardRenderer.cpp
JRBonilla/Slate
9bcb3befced30d8f9ffb2dcce0a0209ba76093e4
[ "MIT" ]
1
2017-02-26T23:37:37.000Z
2017-02-26T23:37:37.000Z
Phoebe-core/src/ph/renderer/ForwardRenderer.cpp
JRBonilla/Slate
9bcb3befced30d8f9ffb2dcce0a0209ba76093e4
[ "MIT" ]
null
null
null
Phoebe-core/src/ph/renderer/ForwardRenderer.cpp
JRBonilla/Slate
9bcb3befced30d8f9ffb2dcce0a0209ba76093e4
[ "MIT" ]
null
null
null
#include "ForwardRenderer.h" #include "RenderSystem.h" #include "ph/utils/Log.h" namespace ph { namespace renderer { using namespace math; enum SystemUniformIndices { SystemUniformIndex_ProjectionMatrix = 0, SystemUniformIndex_ViewMatrix = 1, SystemUniformIndex_ModelMatrix = 2, SystemUniformInde...
43.038889
164
0.798503
JRBonilla
d85fd25af471993116893d8ed6e5ab2d2ed77471
592
cpp
C++
src/TestEnvironment/TextBg.cpp
CollegeBart/bart-sdl-engine-e16
0e0e15729a5a42312d3fbeb0ba769a2736fd6333
[ "MIT" ]
null
null
null
src/TestEnvironment/TextBg.cpp
CollegeBart/bart-sdl-engine-e16
0e0e15729a5a42312d3fbeb0ba769a2736fd6333
[ "MIT" ]
null
null
null
src/TestEnvironment/TextBg.cpp
CollegeBart/bart-sdl-engine-e16
0e0e15729a5a42312d3fbeb0ba769a2736fd6333
[ "MIT" ]
null
null
null
#include "TextBg.h" TextBg::TextBg() : Sprite("TextBackground.png", 0, BOTTOM_POSITION, 0, 0, WIDTH, HEIGHT, 4) { text = new Text(TEXT_X_OFFSET, 582, "ChronoTrigger.ttf", "Hello World!", 60); text->SetBgColor({ 0x00, 0x00, 0x00, 0x0 }); } TextBg::~TextBg() { delete text; } void TextBg::Update() { text->SetPo...
15.578947
78
0.646959
CollegeBart
d866ae42b1198b97b85397a18ec8209b90893034
3,155
hpp
C++
nheqminer/3rdparty/boost/metaparse/v1/impl/concat.hpp
EuroLine/nheqminer
81c7ef889bb502d16f7d1e7ef020d0592f8af945
[ "MIT" ]
886
2016-10-20T20:59:59.000Z
2022-03-12T07:47:52.000Z
ios/Pods/boost-for-react-native/boost/metaparse/v1/impl/concat.hpp
c7yrus/alyson-v3
5ad95a8f782f5f5d2fd543d44ca6a8b093395965
[ "Apache-2.0" ]
369
2016-10-21T07:42:54.000Z
2020-11-19T10:49:29.000Z
ios/Pods/boost-for-react-native/boost/metaparse/v1/impl/concat.hpp
c7yrus/alyson-v3
5ad95a8f782f5f5d2fd543d44ca6a8b093395965
[ "Apache-2.0" ]
534
2016-10-20T21:00:00.000Z
2022-03-29T10:02:27.000Z
#ifndef BOOST_METAPARSE_V1_IMPL_CONCAT_HPP #define BOOST_METAPARSE_V1_IMPL_CONCAT_HPP // Copyright Abel Sinkovics (abel@sinkovics.hu) 2013. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include ...
29.485981
78
0.57496
EuroLine
d867a852a5188947c4499ac0345549c8b066d628
3,527
cpp
C++
source/frontend/views/debug_window.cpp
GPUOpen-Tools/radeon_memory_visualizer
309ac5b04b870aef408603eaac4bd727d5d3e698
[ "MIT" ]
86
2020-05-14T17:20:22.000Z
2022-01-21T22:53:24.000Z
source/frontend/views/debug_window.cpp
GPUOpen-Tools/radeon_memory_visualizer
309ac5b04b870aef408603eaac4bd727d5d3e698
[ "MIT" ]
6
2020-05-16T18:50:00.000Z
2022-01-21T15:30:16.000Z
source/frontend/views/debug_window.cpp
GPUOpen-Tools/radeon_memory_visualizer
309ac5b04b870aef408603eaac4bd727d5d3e698
[ "MIT" ]
11
2020-10-15T15:55:56.000Z
2022-03-16T20:38:29.000Z
//============================================================================= // Copyright (c) 2018-2021 Advanced Micro Devices, Inc. All rights reserved. /// @author AMD Developer Tools Team /// @file /// @brief Implementation of the debug window. //==================================================================...
25.744526
116
0.633116
GPUOpen-Tools
d86bc97703019c5b8dcc4ffc741861a6d98fe2f3
18,624
cc
C++
fawnds/hash_table_default.cc
ByteHamster/silt
9970432b27db7b9ef3f23f56cdd0609183e9fd83
[ "Apache-2.0" ]
134
2015-02-02T21:32:16.000Z
2022-01-27T06:03:22.000Z
fawnds/hash_table_default.cc
theopengroup/silt
9970432b27db7b9ef3f23f56cdd0609183e9fd83
[ "Apache-2.0" ]
null
null
null
fawnds/hash_table_default.cc
theopengroup/silt
9970432b27db7b9ef3f23f56cdd0609183e9fd83
[ "Apache-2.0" ]
43
2015-01-02T03:12:34.000Z
2021-12-17T09:19:28.000Z
/* -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ #include "hash_table_default.h" #include "hash_functions.h" #include "hashutil.h" #include "configuration.h" #include "print.h" #include "file_io.h" #include "debug.h" #include <cstdio> #include <cerrno> #include <sstream> namespace fawn { HashTa...
30.834437
166
0.550311
ByteHamster
d86e6d943a900d2b32bbb8f844002f43074e01ee
2,017
cpp
C++
Homeworks/Homework_10/Task_02/main.cpp
sdvelev/Data-Structures-and-Algorithms
286c29dc550bae1936869cf2c3a2c57c1242c60b
[ "MIT" ]
null
null
null
Homeworks/Homework_10/Task_02/main.cpp
sdvelev/Data-Structures-and-Algorithms
286c29dc550bae1936869cf2c3a2c57c1242c60b
[ "MIT" ]
null
null
null
Homeworks/Homework_10/Task_02/main.cpp
sdvelev/Data-Structures-and-Algorithms
286c29dc550bae1936869cf2c3a2c57c1242c60b
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdio> #include <vector> #include<queue> #include <iostream> #include <algorithm> using namespace std; vector<pair<long long, long long>> neighbourSeats = { {-1, 0}, {0, 1}, {1, 0}, {0, -1} }; int main() { long long rows; cin >> rows; long long cols; cin >> cols; long...
25.858974
102
0.567675
sdvelev
d86ec1d1d3fe451ce227964f3e0aab7d4dd1a32f
4,003
cc
C++
unique-binary-search-trees-2.cc
sonald/leetcode
3c34e2779a736acc880876f4244f1becd7b199ed
[ "MIT" ]
null
null
null
unique-binary-search-trees-2.cc
sonald/leetcode
3c34e2779a736acc880876f4244f1becd7b199ed
[ "MIT" ]
null
null
null
unique-binary-search-trees-2.cc
sonald/leetcode
3c34e2779a736acc880876f4244f1becd7b199ed
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <cmath> #include <random> #include <set> #include <map> #include <unordered_map> #include <unordered_set> #include <queue> #include <algorithm> using namespace std; template<class T, class S> ostream& operator<<(ostream& os, const unordered_map<T, S>& v) { bool f = true...
23.686391
65
0.439171
sonald
d86efcd220d96300450c26177acb627c8d2a9ccc
2,513
cpp
C++
Practices/Practice 3/puntuaciones.cpp
marcosherreroa/Fundamentos-de-Programacion
48c5b6c36e11d907776cdf726022c1b62c6cecdc
[ "CC0-1.0" ]
null
null
null
Practices/Practice 3/puntuaciones.cpp
marcosherreroa/Fundamentos-de-Programacion
48c5b6c36e11d907776cdf726022c1b62c6cecdc
[ "CC0-1.0" ]
null
null
null
Practices/Practice 3/puntuaciones.cpp
marcosherreroa/Fundamentos-de-Programacion
48c5b6c36e11d907776cdf726022c1b62c6cecdc
[ "CC0-1.0" ]
null
null
null
#include "puntuaciones.h" std::istream &operator>>(std::istream & flujo, tpuntosJugador & puntosJugador) { flujo >> puntosJugador.nombre >> puntosJugador.puntos; return flujo; } std::ostream &operator<<(std::ostream & flujo, tpuntosJugador const & puntosJugador) { flujo << puntosJugador.nombre <<' '<<puntosJugador...
33.065789
140
0.670911
marcosherreroa
d86f7530fc7e0e69adabc7a514cb22ba76c74ccf
1,440
cpp
C++
node_modules/lzz-gyp/lzz-source/gram_GetEnumtorSet.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
3
2019-09-18T16:44:33.000Z
2021-03-29T13:45:27.000Z
node_modules/lzz-gyp/lzz-source/gram_GetEnumtorSet.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
null
null
null
node_modules/lzz-gyp/lzz-source/gram_GetEnumtorSet.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
2
2019-03-29T01:06:38.000Z
2019-09-18T16:44:34.000Z
// gram_GetEnumtorSet.cpp // #include "gram_GetEnumtorSet.h" // gram #include "gram_BlockTable.h" #include "gram_GetNodeName.h" #include "gram_Nonterm.h" #include "gram_Visitor.h" // semantic #include "smtc_GetEnumtor.h" #define LZZ_INLINE inline namespace { using namespace gram; } namespace { struct GetEnumtorSe...
21.818182
84
0.696528
SuperDizor
d873762ac3639ce333cbfad0522ba12c595fc408
22,294
cpp
C++
ReadThread.cpp
cyrilcluzel/CarbonCD
0ad3c5e9e19b1451cd71ae48f45c0aef9ebb94bc
[ "MIT" ]
8
2017-10-21T16:44:25.000Z
2021-06-04T13:00:54.000Z
ReadThread.cpp
cyrilcluzel/CarbonCD
0ad3c5e9e19b1451cd71ae48f45c0aef9ebb94bc
[ "MIT" ]
null
null
null
ReadThread.cpp
cyrilcluzel/CarbonCD
0ad3c5e9e19b1451cd71ae48f45c0aef9ebb94bc
[ "MIT" ]
4
2018-01-20T20:43:30.000Z
2021-06-04T13:00:56.000Z
#include "StdAfx.h" #include "Resource.h" #include "readthread.h" #include "ReadProgressDialog.h" #include "Setting.h" #include "CheckSector.h" #define PGB(a) ((BYTE *)(((DWORD)(a) + 0x0f) & ~0x0f)) static LPCSTR AudioMethod[11][2] = { {"READ D8", "A"}, {"MMC READ CDDA LBA", "B"}, {"MMC READ CDDA MSF", "B"...
30.290761
130
0.375258
cyrilcluzel
d8755de66ccec50e3c79f48e5dd09b16f433421e
986
cpp
C++
input_src/data_move/operators/float_add.cpp
vagrantxiao/dirc_riscv
0566fd3f7ff1640c7ae9dbb037907d20997aad24
[ "MIT" ]
null
null
null
input_src/data_move/operators/float_add.cpp
vagrantxiao/dirc_riscv
0566fd3f7ff1640c7ae9dbb037907d20997aad24
[ "MIT" ]
null
null
null
input_src/data_move/operators/float_add.cpp
vagrantxiao/dirc_riscv
0566fd3f7ff1640c7ae9dbb037907d20997aad24
[ "MIT" ]
1
2021-05-06T14:05:57.000Z
2021-05-06T14:05:57.000Z
#include "../host/typedefs.h" void float_add ( hls::stream<ap_uint<32> > & Input_1, hls::stream<ap_uint<32> > & Output_1 ) { #pragma HLS INTERFACE ap_hs port=Input_1 #pragma HLS INTERFACE ap_hs port=Output_1 ap_fixed<32, 13> fix_tmp1, fix_tmp2; bit32 out; //float f_tmp1, f_tmp2; int int_tmp1; int int_tmp2...
18.259259
45
0.61359
vagrantxiao
d87c2759295b3ff40f17b255d110ce1d113b63a8
4,350
cpp
C++
src/PositionsFile.cpp
adbailey4/embed_fast5
4416fab3927a4f3deae2f4637ff6c7344b4098c9
[ "MIT" ]
null
null
null
src/PositionsFile.cpp
adbailey4/embed_fast5
4416fab3927a4f3deae2f4637ff6c7344b4098c9
[ "MIT" ]
1
2021-12-14T13:31:42.000Z
2022-03-12T17:41:30.000Z
src/PositionsFile.cpp
adbailey4/embed_fast5
4416fab3927a4f3deae2f4637ff6c7344b4098c9
[ "MIT" ]
null
null
null
// // Created by Andrew Bailey on 2019-07-15. // // Embed libs #include "PositionsFile.hpp" #include "EmbedUtils.hpp" using namespace std; using namespace embed_utils; /** * Deconstructor for PositionsFile. */ PositionsFile::~PositionsFile() = default; /** * Default constructor for PositionsFile. */ PositionsF...
28.431373
153
0.708276
adbailey4
f21d48700cf57d5df19631ee36d601e0a48da891
515
hpp
C++
selfdrive/ui/qt/offroad/keyboard.hpp
mattamonett/myopenpilot
3e222ec13105b490ca80885f805a9ccb77896f44
[ "MIT" ]
116
2018-03-07T09:00:10.000Z
2020-04-06T18:37:45.000Z
selfdrive/ui/qt/offroad/keyboard.hpp
mattamonett/myopenpilot
3e222ec13105b490ca80885f805a9ccb77896f44
[ "MIT" ]
66
2020-04-09T20:27:57.000Z
2022-01-27T14:39:24.000Z
selfdrive/ui/qt/offroad/keyboard.hpp
mattamonett/myopenpilot
3e222ec13105b490ca80885f805a9ccb77896f44
[ "MIT" ]
154
2020-04-08T21:41:22.000Z
2022-03-17T21:05:33.000Z
#pragma once #include <vector> #include <QString> #include <QWidget> #include <QStackedLayout> #include <QAbstractButton> class KeyboardLayout : public QWidget { Q_OBJECT public: explicit KeyboardLayout(QWidget *parent, std::vector<QVector<QString>> layout); }; class Keyboard : public QWidget { Q_OBJECT pub...
16.09375
81
0.749515
mattamonett
f224394d98a765b771f0ccd332d83544e9684127
1,226
cpp
C++
src/logging/Logger.cpp
GiGurra/drunken_walker
45f49a4bffc900a592c1ea0c0ddcdba3a22ac832
[ "MIT" ]
null
null
null
src/logging/Logger.cpp
GiGurra/drunken_walker
45f49a4bffc900a592c1ea0c0ddcdba3a22ac832
[ "MIT" ]
null
null
null
src/logging/Logger.cpp
GiGurra/drunken_walker
45f49a4bffc900a592c1ea0c0ddcdba3a22ac832
[ "MIT" ]
null
null
null
#include "Logger.h" #include <string> #include <easylogging++.h> INITIALIZE_EASYLOGGINGPP Logger::Logger(const int logLevel) : _currentLevel(logLevel) { } void Logger::initSystem(int argc, char** argv) { START_EASYLOGGINGPP(argc, argv); } Logger::~Logger() { } Logger& Logger::global() { sta...
20.779661
115
0.666395
GiGurra
f228911faf681c0f0d9072faa00b5341ea93bc9c
29,402
cpp
C++
examples/USB/usbHostSlave_cosim_model/src/VusbHostSlave_SIEReceiver.cpp
deafbeed/sid-cosim-model-generator
6c69b1fc5f3cdb9f01247420ca8ed2b5121b72fb
[ "MIT" ]
1
2018-03-13T21:02:42.000Z
2018-03-13T21:02:42.000Z
examples/USB/usbHostSlave_cosim_model/src/VusbHostSlave_SIEReceiver.cpp
deafbeed/sid-cosim-model-generator
6c69b1fc5f3cdb9f01247420ca8ed2b5121b72fb
[ "MIT" ]
null
null
null
examples/USB/usbHostSlave_cosim_model/src/VusbHostSlave_SIEReceiver.cpp
deafbeed/sid-cosim-model-generator
6c69b1fc5f3cdb9f01247420ca8ed2b5121b72fb
[ "MIT" ]
null
null
null
// Verilated -*- C++ -*- // DESCRIPTION: Verilator output: Design implementation internals // See VusbHostSlave.h for the primary calling header #include "VusbHostSlave_SIEReceiver.h" // For This #include "VusbHostSlave__Syms.h" //-------------------- // STATIC VARIABLES //-------------------- VL_CTOR_IMP(VusbHost...
66.520362
137
0.805693
deafbeed
f22c125c5c2a0bce1f6d85858fbe9cd1bf67abd9
1,779
cc
C++
kernel/lookahead.cc
Basseuph/manifold
99779998911ed7e8b8ff6adacc7f93080409a5fe
[ "BSD-3-Clause" ]
8
2016-01-22T18:28:48.000Z
2021-05-07T02:27:21.000Z
kernel/lookahead.cc
Basseuph/manifold
99779998911ed7e8b8ff6adacc7f93080409a5fe
[ "BSD-3-Clause" ]
3
2016-04-15T02:58:58.000Z
2017-01-19T17:07:34.000Z
kernel/lookahead.cc
Basseuph/manifold
99779998911ed7e8b8ff6adacc7f93080409a5fe
[ "BSD-3-Clause" ]
10
2015-12-11T04:16:55.000Z
2019-05-25T20:58:13.000Z
// Mirko Stoffers, (and others) Georgia Tech, 2012 #ifndef NO_MPI #include <iostream> #include <assert.h> #include "lookahead.h" namespace manifold { namespace kernel { Lookahead* Lookahead::Create(Lookahead::LookaheadType_t laType) { switch(laType) { case LA_GLOBAL: return new GlobalLookahead(); ...
19.766667
101
0.66217
Basseuph
f22d09a2d7a7433385c2b830f3ff30faa6db0c17
162,440
cc
C++
mysql-server/sql/item_json_func.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
mysql-server/sql/item_json_func.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
mysql-server/sql/item_json_func.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
/* Copyright (c) 2015, 2020, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by the Free Software Foundation. This program is also distributed with certain software (including...
32.026814
80
0.63874
silenc3502
f22fa17996d1136224cfb304a7c8e785c7ea4502
795
cpp
C++
src_plugins/OpenEXR_IO/OpenEXR_IO.cpp
ennis/autograph-pipelines
afc66ef60bf99fca26d200bd7739528e1bf3ed8c
[ "MIT" ]
1
2021-04-24T12:29:42.000Z
2021-04-24T12:29:42.000Z
src_plugins/OpenEXR_IO/OpenEXR_IO.cpp
ennis/autograph-pipelines
afc66ef60bf99fca26d200bd7739528e1bf3ed8c
[ "MIT" ]
null
null
null
src_plugins/OpenEXR_IO/OpenEXR_IO.cpp
ennis/autograph-pipelines
afc66ef60bf99fca26d200bd7739528e1bf3ed8c
[ "MIT" ]
null
null
null
#include "OpenEXR_IO.Config.h" #include <autograph/engine/All.h> #include <autograph/gl/All.h> class OpenEXR_IO : public ag::Extension { public: // load into float buffer // save from float buffer // load into OpenGL texture // save from OpenGL texture virtual std::unique_ptr<char[]> loadEXR(const char* path, in...
25.645161
98
0.633962
ennis
f233de1f7212f4285aa49715eb40c57c133a5897
17,999
cpp
C++
tf2_src/game/shared/tf/tf_weapon_shotgun.cpp
d3fc0n6/TeamFortress2
1b81dded673d49adebf4d0958e52236ecc28a956
[ "MIT" ]
4
2021-10-03T05:16:55.000Z
2021-12-28T16:49:27.000Z
tf2_src/game/shared/tf/tf_weapon_shotgun.cpp
Counter2828/TeamFortress2
1b81dded673d49adebf4d0958e52236ecc28a956
[ "MIT" ]
null
null
null
tf2_src/game/shared/tf/tf_weapon_shotgun.cpp
Counter2828/TeamFortress2
1b81dded673d49adebf4d0958e52236ecc28a956
[ "MIT" ]
3
2022-02-02T18:09:58.000Z
2022-03-06T18:54:39.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // //============================================================================= #include "cbase.h" #include "tf_weapon_shotgun.h" #include "decals.h" #include "tf_fx_shared.h" #include "takedamageinfo.h" #include "tf_gameru...
30.979346
189
0.560142
d3fc0n6
f23435b7c136f859c34e98af23c3b46fd64093d3
8,065
cp
C++
Win32/Sources/Application/Calendar/Component_Editing/CNewComponentDialog.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
12
2015-04-21T16:10:43.000Z
2021-11-05T13:41:46.000Z
Win32/Sources/Application/Calendar/Component_Editing/CNewComponentDialog.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
2
2015-11-02T13:32:11.000Z
2019-07-10T21:11:21.000Z
Win32/Sources/Application/Calendar/Component_Editing/CNewComponentDialog.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
6
2015-01-12T08:49:12.000Z
2021-03-27T09:11:10.000Z
/* Copyright (c) 2007-2009 Cyrus Daboo. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 ...
27.338983
150
0.712833
mulberry-mail
f236ba34673053e057ee8fdf9c79d3cc994d7d62
1,280
cc
C++
test/abc111/test_robot_arms.cc
nryotaro/at_c
8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c
[ "MIT" ]
null
null
null
test/abc111/test_robot_arms.cc
nryotaro/at_c
8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c
[ "MIT" ]
null
null
null
test/abc111/test_robot_arms.cc
nryotaro/at_c
8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include <vector> #include "abc111/robot_arms.h" using namespace std; /* TEST(TestRobotArms, First) { vector<long long> x = {-1, 0, 2}; vector<long long> y = {0, 3, -1}; Answer ans = robot_arms(3, x, y); vector<long long> d = {1, 2}; vector<vector<char>> w = {{'R', 'L'}, {'U', 'U'},...
24.615385
64
0.542969
nryotaro
f238067e08f43e68f5e97fa38c90e76f2796dfcb
526
cpp
C++
BOJ_problem/2493.cpp
Geol2/PSCode
adaa6d3c7712caa8cc0ce9b00711e5d866907ddc
[ "MIT" ]
null
null
null
BOJ_problem/2493.cpp
Geol2/PSCode
adaa6d3c7712caa8cc0ce9b00711e5d866907ddc
[ "MIT" ]
null
null
null
BOJ_problem/2493.cpp
Geol2/PSCode
adaa6d3c7712caa8cc0ce9b00711e5d866907ddc
[ "MIT" ]
null
null
null
#include <iostream> #include <stack> #include <algorithm> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); stack<pair<int, int>> s; pair<int, int> p; int n; cin >> n; for (int i = 0; i < n; i++) { int testCase; cin >> testCase; p = make_pair(testCase...
13.487179
34
0.538023
Geol2
f23ef88803e9b5b5fddd1faf96dbc4b92e42a9f9
5,220
hpp
C++
driver_ros2_foxy_ubuntu2004/yrl3_v2_ros2_package/lib_yujinrobot_yrldriver/include/yujinrobot_yrldriver/NetworkInterface.hpp
yujinrobot/yujin_lidar_v2
b8252e9a3d4d943c5f1f40da84c2c95fbd89cf06
[ "OLDAP-2.3" ]
null
null
null
driver_ros2_foxy_ubuntu2004/yrl3_v2_ros2_package/lib_yujinrobot_yrldriver/include/yujinrobot_yrldriver/NetworkInterface.hpp
yujinrobot/yujin_lidar_v2
b8252e9a3d4d943c5f1f40da84c2c95fbd89cf06
[ "OLDAP-2.3" ]
null
null
null
driver_ros2_foxy_ubuntu2004/yrl3_v2_ros2_package/lib_yujinrobot_yrldriver/include/yujinrobot_yrldriver/NetworkInterface.hpp
yujinrobot/yujin_lidar_v2
b8252e9a3d4d943c5f1f40da84c2c95fbd89cf06
[ "OLDAP-2.3" ]
null
null
null
/********************************************************************* * Copyright (c) 2022, YujinRobot Corp. * * Non-monifiable freely redistributable software(FRS) * * - Redistribution. Redistribution and use in binary form, without modification, * are permitted provided that the following conditions are met: *...
37.826087
487
0.706322
yujinrobot
f245a137fc6c4cf7c8f7090a7352fe73ea9b4e18
976
cpp
C++
Hash Table/560. Subarray Sum Equals K.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
138
2020-02-08T05:25:26.000Z
2021-11-04T11:59:28.000Z
Hash Table/560. Subarray Sum Equals K.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
null
null
null
Hash Table/560. Subarray Sum Equals K.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
24
2021-01-02T07:18:43.000Z
2022-03-20T08:17:54.000Z
/* 560. Subarray Sum Equals K Given an array of integers and an integer k, you need to find the total number of continuous subarrays whose sum equals to k. Example 1: Input:nums = [1,1,1], k = 2 Output: 2 Note: The length of the array is in range [1, 20,000]. The range of numbers in the array is [-1000, 1000] and the...
30.5
125
0.621926
beckswu
f245bf93b3c262b287d885ec2e01f9d8f2ec2d6c
680
cc
C++
chrome/chrome_cleaner/logging/other_logging_definitions.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
chrome/chrome_cleaner/logging/other_logging_definitions.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
chrome/chrome_cleaner/logging/other_logging_definitions.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Provides the logging service instance to be used by executables other than // the reporter and cleaner. #include "chrome/chrome_cleaner/logging/loggin...
34
79
0.798529
zealoussnow
f24775b5155ff36338470254f46cd31628d196f7
4,218
cpp
C++
src/ObjRecRANSAC/DataStructures/DatabaseModelEntry.cpp
CRLab/ObjRecRANSAC
32e6a422465d710f54e6fac3d96fd80bc862f679
[ "Unlicense" ]
30
2015-05-31T06:27:25.000Z
2021-06-03T11:42:43.000Z
src/ObjRecRANSAC/DataStructures/DatabaseModelEntry.cpp
CRLab/ObjRecRANSAC
32e6a422465d710f54e6fac3d96fd80bc862f679
[ "Unlicense" ]
3
2016-02-17T04:22:29.000Z
2019-04-03T13:33:56.000Z
src/ObjRecRANSAC/DataStructures/DatabaseModelEntry.cpp
CRLab/ObjRecRANSAC
32e6a422465d710f54e6fac3d96fd80bc862f679
[ "Unlicense" ]
26
2015-03-12T05:33:32.000Z
2021-12-07T02:50:35.000Z
#include "DatabaseModelEntry.h" #include "../ORRDefines.h" #include "ORROctree/ORROctreeNodeData.h" #include <BasicTools/DataStructures/PointSetAdapter.h> #include <BasicTools/Vtk/VtkMeshSampler.h> #include <vtkPointLocator.h> #include <vtkPointData.h> #include <vtkDataArray.h> #include <map> using namespace std; Da...
29.914894
127
0.672831
CRLab
f250dfe0f309ce8065b503b5027126b72899c0bc
616
hpp
C++
Includes/gtl/FilterBase.hpp
bobvodka/GameTextureLoaderV1
08ac2f09a9b8a990f0f586948c46b38b7bce150f
[ "MIT" ]
null
null
null
Includes/gtl/FilterBase.hpp
bobvodka/GameTextureLoaderV1
08ac2f09a9b8a990f0f586948c46b38b7bce150f
[ "MIT" ]
null
null
null
Includes/gtl/FilterBase.hpp
bobvodka/GameTextureLoaderV1
08ac2f09a9b8a990f0f586948c46b38b7bce150f
[ "MIT" ]
null
null
null
// Base Filter for all Filters #ifndef GTL_FILTERBASE_HPP #define GTL_FILTERBASE_HPP #include <boost/iostreams/detail/ios.hpp> #include <boost/shared_ptr.hpp> #include <boost/iostreams/device/file_descriptor.hpp> // for the typedef #include <boost/iostreams/filtering_streambuf.hpp> // for the typedef #include <gt...
19.25
82
0.732143
bobvodka
f25370bbf97c94a8403e24ba7a155bd071ef46fa
337
cpp
C++
bronze5/3003_chess.cpp
LeeBumSeok/Practice_algorithm
c7a9bd760879af9326de3ad472d85a75e80657d1
[ "MIT" ]
2
2020-12-23T06:02:07.000Z
2021-10-30T19:53:08.000Z
bronze5/3003_chess.cpp
LeeBumSeok/Practice_algorithm
c7a9bd760879af9326de3ad472d85a75e80657d1
[ "MIT" ]
null
null
null
bronze5/3003_chess.cpp
LeeBumSeok/Practice_algorithm
c7a9bd760879af9326de3ad472d85a75e80657d1
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int piece[6] = {1, 1, 2, 2, 2, 8}; int input[6]; int result[6]; for (int i = 0; i < 6; i++) { cin >> input[i]; result[i] = piece[i] - input[i]; } for (int j = 0; j < 6; j++) { cout << result[j] << " "; }...
15.318182
40
0.418398
LeeBumSeok
f2541e94249e47cfc750f6e5481a812cf4a1430c
930
hpp
C++
sample/src/custom_event.hpp
Appdynamics/iot-cpp-sdk
abb7d70b2364089495ac73adf2a992c0af6eaf8c
[ "Apache-2.0" ]
3
2018-09-13T21:26:27.000Z
2022-01-25T06:15:06.000Z
sample/src/custom_event.hpp
Appdynamics/iot-cpp-sdk
abb7d70b2364089495ac73adf2a992c0af6eaf8c
[ "Apache-2.0" ]
11
2018-01-30T00:42:23.000Z
2019-10-20T07:19:37.000Z
sample/src/custom_event.hpp
Appdynamics/iot-cpp-sdk
abb7d70b2364089495ac73adf2a992c0af6eaf8c
[ "Apache-2.0" ]
5
2018-01-29T18:52:21.000Z
2019-05-19T02:38:18.000Z
/* * Copyright (c) 2018 AppDynamics LLC and its affiliates * * 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 appli...
29.0625
75
0.739785
Appdynamics
f254d437ad98dbb3dec5d4dee64a59a26361b20c
517
cpp
C++
_codeforces/499B/499b.cpp
rusucosmin/Cplusplus
0e95cd01d20b22404aa4166c71d5a9e834a5a21b
[ "MIT" ]
11
2015-08-29T13:41:22.000Z
2020-01-08T20:34:06.000Z
_codeforces/499B/499b.cpp
rusucosmin/Cplusplus
0e95cd01d20b22404aa4166c71d5a9e834a5a21b
[ "MIT" ]
null
null
null
_codeforces/499B/499b.cpp
rusucosmin/Cplusplus
0e95cd01d20b22404aa4166c71d5a9e834a5a21b
[ "MIT" ]
5
2016-01-20T18:17:01.000Z
2019-10-30T11:57:15.000Z
#include <fstream> #include <vector> #include <iostream> #include <string> #include <map> using namespace std; map<int, string> lower; map<string, int> ind; int n, m; int main() { #ifndef ONLINE_JUDGE freopen("499b.in", "r", stdin); #endif cin >> n >> m; for(int i = 1 ; i <= m ; ++ i) { string a, b; cin >> ...
15.666667
33
0.524178
rusucosmin
f25ddbe3b0d63b7926099b6ed8ebe9c20a113290
824
cpp
C++
W1D1/E.cpp
MartrixG/2019-summer-OI
4765533f4a373f6f277c1309c534050e52d631d8
[ "MIT" ]
null
null
null
W1D1/E.cpp
MartrixG/2019-summer-OI
4765533f4a373f6f277c1309c534050e52d631d8
[ "MIT" ]
null
null
null
W1D1/E.cpp
MartrixG/2019-summer-OI
4765533f4a373f6f277c1309c534050e52d631d8
[ "MIT" ]
null
null
null
#include"pch.h" #define _CRT_SECURE_NO_WARNINGS #include<cstdio> #include<iostream> #include<cstring> #define ll long long using namespace std; ll n, k; ll cla(ll x)//包括x,到结尾的和 { ll re = (k * (k - 1) >> 1) - (x * (x - 1) >> 1); return re; } int main() { while (cin >> n >> k) { if (n == 1) { cout << 0 << en...
13.290323
49
0.424757
MartrixG
f267336b441e9946f0fba1aad2a43ee91b202ae8
11,757
cpp
C++
core123/ut/ut_elastic_threadpool.cpp
DEShawResearch/fs123
27bee72752fedc54ab493e49c6da96eeb2c6ab6a
[ "BSD-3-Clause" ]
22
2019-04-10T18:05:35.000Z
2021-12-30T12:26:39.000Z
core123/ut/ut_elastic_threadpool.cpp
DEShawResearch/fs123
27bee72752fedc54ab493e49c6da96eeb2c6ab6a
[ "BSD-3-Clause" ]
13
2019-04-09T00:19:29.000Z
2021-11-04T15:57:13.000Z
core123/ut/ut_elastic_threadpool.cpp
DEShawResearch/fs123
27bee72752fedc54ab493e49c6da96eeb2c6ab6a
[ "BSD-3-Clause" ]
4
2019-04-07T16:33:44.000Z
2020-07-02T02:58:51.000Z
#define CORE123_DIAG_FLOOD_ENABLE 1 // set up 'fuzzing' before we #include "core123/elastic_threadpool.hpp" #define ELASTIC_THREADPOOL_FUZZ ::ut_etp_fuzz() #include "core123/threefry.hpp" #include <atomic> #include <thread> #include <chrono> #include <cmath> double expvariate(uint32_t i){ return -::log(core123::...
36.855799
145
0.566896
DEShawResearch
f2674cad24705b9a0f4652f7c31588653ad5f88c
1,249
cpp
C++
PAT_A/PAT_A1053new.cpp
EnhydraGod/PATCode
ff38ea33ba319af78b3aeba8aa6c385cc5e8329f
[ "BSD-2-Clause" ]
3
2019-07-08T05:20:28.000Z
2021-09-22T10:53:26.000Z
PAT_A/PAT_A1053new.cpp
EnhydraGod/PATCode
ff38ea33ba319af78b3aeba8aa6c385cc5e8329f
[ "BSD-2-Clause" ]
null
null
null
PAT_A/PAT_A1053new.cpp
EnhydraGod/PATCode
ff38ea33ba319af78b3aeba8aa6c385cc5e8329f
[ "BSD-2-Clause" ]
null
null
null
#include <bits/stdc++.h> using namespace std; vector<int> tree[110], temp; vector<vector<int>> res; int n, m, s, u, k, v, weights[110]; bool cmp(const int &a, const int &b) { return weights[a] > weights[b]; } void dfs(int u, int weight) { weight += weights[u]; if(weight > s || (weight == s && tree[u].size() != ...
25.489796
72
0.447558
EnhydraGod
f26ada856c8eb26056919ed7161d516b56efb015
2,138
cpp
C++
sourceCode/dsPirates/EffectsLibrary.cpp
stefanos-86/Deep-Space-Pirates
1de2f6d217c87a7feceaa5bb2728387912151da5
[ "MIT" ]
null
null
null
sourceCode/dsPirates/EffectsLibrary.cpp
stefanos-86/Deep-Space-Pirates
1de2f6d217c87a7feceaa5bb2728387912151da5
[ "MIT" ]
null
null
null
sourceCode/dsPirates/EffectsLibrary.cpp
stefanos-86/Deep-Space-Pirates
1de2f6d217c87a7feceaa5bb2728387912151da5
[ "MIT" ]
null
null
null
#include "StdAfx.h" #include "EffectsLibrary.h" #include "Ogre.h" #include "SystemClock.h" //To destroy the particle effects when done. EffectsLibrary::EffectsLibrary(Ogre::SceneManager* sceneManager) : particleNameMaker("particleSystem"), //Fixed prefix ID. sceneManager(sceneManager) { this->name2template["Grey sm...
48.590909
153
0.769411
stefanos-86
f26ce3a51eec820349cf9ac8559d59f7e4121077
9,333
cpp
C++
other/ttable_from_hub.cpp
vsskarthik/noxim-new
c5fcb547f172390cfa06988f66c3e89a2ba008af
[ "BSD-4-Clause-UC" ]
127
2015-07-08T14:39:34.000Z
2022-03-25T08:00:38.000Z
other/ttable_from_hub.cpp
pakeunji/noxim
dbe0b8991b28a44df7c47d940bd59a11cfcc4dd2
[ "BSD-4-Clause-UC" ]
124
2015-08-03T11:32:05.000Z
2022-03-24T16:03:02.000Z
other/ttable_from_hub.cpp
pakeunji/noxim
dbe0b8991b28a44df7c47d940bd59a11cfcc4dd2
[ "BSD-4-Clause-UC" ]
100
2015-07-29T15:08:12.000Z
2022-03-25T08:00:42.000Z
#include <cassert> #include <fstream> #include <iostream> #include <string> #include <vector> #include <stdlib.h> using namespace std; // From noxim/src/DataStructs.h // Coord -- XY coordinates type of the Tile inside the Mesh class Coord { public: int x; // X coordinate int y; // Y coordinate inl...
33.451613
182
0.617379
vsskarthik
f2701f11e114ad5632a09758a019c686e0ab325c
377
hpp
C++
include/Button.hpp
jamiesyme/MoxelEd
b8ad87587057a79ce0324fd5e3c1290a760adc7a
[ "Unlicense" ]
1
2016-03-09T01:32:22.000Z
2016-03-09T01:32:22.000Z
include/Button.hpp
jamiesyme/MoxelEd
b8ad87587057a79ce0324fd5e3c1290a760adc7a
[ "Unlicense" ]
null
null
null
include/Button.hpp
jamiesyme/MoxelEd
b8ad87587057a79ce0324fd5e3c1290a760adc7a
[ "Unlicense" ]
null
null
null
#pragma once #include <string> class Button { public: Button(); virtual ~Button(); void setName(const std::string& name); std::string getName() const; void isDown(const bool down); bool isDown() const; void press(); void release(); protected: virtual void _pressCallback(); virtual void _releaseCallb...
13.464286
39
0.69496
jamiesyme
f273cfc825a745c89d80fc8ecfea0e663e2dd865
2,632
cpp
C++
graph-source-code/489-D/10052426.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/489-D/10052426.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/489-D/10052426.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
//Language: GNU C++ //satyaki3794 #include <iostream> #include <cstdio> #include <cmath> #include <vector> #include <cstring> #include <algorithm> #include <climits> #include <string> #include <queue> #include <stack> #include <set> #include <map> #include <cctype> #include <cassert> #include <bitset> ...
17.783784
81
0.481383
AmrARaouf
f276e6cc1e4b45f231681e41341610ad8b44da36
8,596
cpp
C++
src/db.cpp
gheshu/image_decompiler
0bc471a0d4ab83c8a9a77a12b0fe601b57b6c133
[ "Apache-2.0" ]
37
2018-03-31T11:12:08.000Z
2022-03-11T16:02:28.000Z
src/db.cpp
gheshu/image_decompiler
0bc471a0d4ab83c8a9a77a12b0fe601b57b6c133
[ "Apache-2.0" ]
null
null
null
src/db.cpp
gheshu/image_decompiler
0bc471a0d4ab83c8a9a77a12b0fe601b57b6c133
[ "Apache-2.0" ]
1
2021-09-29T23:10:54.000Z
2021-09-29T23:10:54.000Z
#include "db.h" #include <cassert> #include <cstdio> #include <cstddef> #include <cstring> #include <algorithm> #include "sha3.h" s32 DB::ID::Compare(const ID& other) const { const s32* A = (const s32*)m_bytes; const s32* B = (const s32*)other.m_bytes; for(u32 i = 0; i < sizeof(m_bytes) / sizeof(s32); ++...
26.778816
85
0.540251
gheshu