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
c58206d9926748e1736b9d349a8bbfbc97ea87e7
597
hpp
C++
Code/include/OE/Platform/Direct3D/D3DMesh.hpp
mlomb/OrbitEngine
41f053626f05782e81c2e48f5c87b04972f9be2c
[ "Apache-2.0" ]
21
2018-06-26T16:37:36.000Z
2022-01-11T01:19:42.000Z
Code/include/OE/Platform/Direct3D/D3DMesh.hpp
mlomb/OrbitEngine
41f053626f05782e81c2e48f5c87b04972f9be2c
[ "Apache-2.0" ]
null
null
null
Code/include/OE/Platform/Direct3D/D3DMesh.hpp
mlomb/OrbitEngine
41f053626f05782e81c2e48f5c87b04972f9be2c
[ "Apache-2.0" ]
3
2019-10-01T14:10:50.000Z
2021-11-19T20:30:18.000Z
#ifndef GRAPHICS_D3DMESH_HPP #define GRAPHICS_D3DMESH_HPP #include "OE/Graphics/API/Mesh.hpp" #include "OE/Platform/Direct3D/Direct3D.hpp" namespace OrbitEngine { namespace Graphics { class D3DMesh : public Mesh { public: D3DMesh(void* vertices, unsigned int vertexSize, VertexLayout* layout, const std::vector<un...
27.136364
117
0.768844
mlomb
c583f6f94f0adfcb7081ef318f16ef789d5ea72c
2,052
cpp
C++
src/unit_tests/engine/ut_aabb.cpp
OndraVoves/LumixEngine
b7040d7a5b9dc1c6bc78e5e6d9b33b7f585c435f
[ "MIT" ]
1
2020-10-28T10:29:21.000Z
2020-10-28T10:29:21.000Z
src/unit_tests/engine/ut_aabb.cpp
OndraVoves/LumixEngine
b7040d7a5b9dc1c6bc78e5e6d9b33b7f585c435f
[ "MIT" ]
null
null
null
src/unit_tests/engine/ut_aabb.cpp
OndraVoves/LumixEngine
b7040d7a5b9dc1c6bc78e5e6d9b33b7f585c435f
[ "MIT" ]
null
null
null
#include "engine/geometry.h" #include "engine/matrix.h" #include "unit_tests/suite/lumix_unit_tests.h" using namespace Lumix; void UT_aabb(const char* params) { AABB aabb1; AABB aabb2(Vec3(0, 0, 0), Vec3(1, 1, 1)); LUMIX_EXPECT(aabb2.min.x == 0); LUMIX_EXPECT(aabb2.min.y == 0); LUMIX_EXPECT(aabb2.min.z == 0);...
25.65
52
0.662768
OndraVoves
c5869e7586189e620e6a78d1bdae1cae6677a9ea
2,298
cpp
C++
src/util.cpp
tony/tot-cpp-shmup
40084b5e19eeabb0e65fa3f7aac7ea92cbf77fee
[ "MIT" ]
6
2016-12-31T11:42:17.000Z
2019-10-25T07:11:26.000Z
src/util.cpp
tony/tot-cpp-shmup
40084b5e19eeabb0e65fa3f7aac7ea92cbf77fee
[ "MIT" ]
null
null
null
src/util.cpp
tony/tot-cpp-shmup
40084b5e19eeabb0e65fa3f7aac7ea92cbf77fee
[ "MIT" ]
null
null
null
/* Copyright 2016 Tony Narlock. All rights reserved. */ #include "util.h" #include <memory> #include "config.h" #include "json.hpp" using json = nlohmann::json; std::shared_ptr<SDL2pp::Texture> DrawText( const std::string& text, const SDL2pp::Point& position, const std::shared_ptr<SDL2pp::Font>& font, ...
31.916667
76
0.64752
tony
c58833ce649533cf2706a330c27a8f2a95d859e5
3,929
cpp
C++
VSDataReduction/VSSimplePedData.cpp
sfegan/ChiLA
916bdd95348c2df2ecc736511d5f5b2bfb4a831e
[ "BSD-3-Clause" ]
1
2018-04-17T14:03:36.000Z
2018-04-17T14:03:36.000Z
VSDataReduction/VSSimplePedData.cpp
sfegan/ChiLA
916bdd95348c2df2ecc736511d5f5b2bfb4a831e
[ "BSD-3-Clause" ]
null
null
null
VSDataReduction/VSSimplePedData.cpp
sfegan/ChiLA
916bdd95348c2df2ecc736511d5f5b2bfb4a831e
[ "BSD-3-Clause" ]
null
null
null
//-*-mode:c++; mode:font-lock;-*- /*! \file VSSimplePedData.hpp Simple pedestal data \author Stephen Fegan \n UCLA \n sfegan@astro.ucla.edu \n \version 1.0 \date 05/18/2005 $Id: VSSimplePedData.cpp,v 3.1 2007/12/04 18:05:0...
26.910959
73
0.611861
sfegan
c58ab15f5f674fb2e4a27e1651627c519ccf7b9e
18,416
cpp
C++
com/netfx/src/clr/profile/mscorcap/callback.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
com/netfx/src/clr/profile/mscorcap/callback.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
com/netfx/src/clr/profile/mscorcap/callback.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //***************************************************************************** // Callback.cpp // // Implements the profiling callbacks and does the right thing for icecap. // //***************************************...
32.652482
125
0.485393
npocmaka
c58e60d33e3f09717504d19cc55fa2fc2271b104
487
cpp
C++
abc068/abc068_b.cpp
crazystylus/AtCoderPractice
8e0f56a9b3905e11f83f351af66af5bfed8606b2
[ "MIT" ]
null
null
null
abc068/abc068_b.cpp
crazystylus/AtCoderPractice
8e0f56a9b3905e11f83f351af66af5bfed8606b2
[ "MIT" ]
null
null
null
abc068/abc068_b.cpp
crazystylus/AtCoderPractice
8e0f56a9b3905e11f83f351af66af5bfed8606b2
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define ll long long #define ull unsigned long long #define rep(i, n) for (int i = 0; i < n; i++) const int mod = 1e9 + 7; // 10^9 + 7; const int N = 1e5 + 1; /////////////////// // multiply 1 with 2 till it is <= n int n, op; void solve() { op = 1; cin >> n; //...
21.173913
45
0.478439
crazystylus
c5953e50037c06f0fd50b203f3a246e6bf433296
1,625
hpp
C++
src/utility/debug_log.hpp
mnewhouse/tselements
bd1c6724018e862156948a680bb1bc70dd28bef6
[ "MIT" ]
null
null
null
src/utility/debug_log.hpp
mnewhouse/tselements
bd1c6724018e862156948a680bb1bc70dd28bef6
[ "MIT" ]
null
null
null
src/utility/debug_log.hpp
mnewhouse/tselements
bd1c6724018e862156948a680bb1bc70dd28bef6
[ "MIT" ]
null
null
null
/* * TS Elements * Copyright 2015-2018 M. Newhouse * Released under the MIT license. */ #pragma once #include "logger.hpp" #include <cstdint> namespace ts { namespace debug { struct DebugTag {}; using logger::flush; using logger::endl; namespace level { static const std::uint32_t ess...
18.895349
59
0.634462
mnewhouse
c599c13d52611de45949f9f2d2297c4b3e93e13a
452
cpp
C++
src/luogu/P1439/33162768_ua_50_442ms_128000k_noO2.cpp
lnkkerst/oj-codes
d778489182d644370b2a690aa92c3df6542cc306
[ "MIT" ]
null
null
null
src/luogu/P1439/33162768_ua_50_442ms_128000k_noO2.cpp
lnkkerst/oj-codes
d778489182d644370b2a690aa92c3df6542cc306
[ "MIT" ]
null
null
null
src/luogu/P1439/33162768_ua_50_442ms_128000k_noO2.cpp
lnkkerst/oj-codes
d778489182d644370b2a690aa92c3df6542cc306
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #define int long long using namespace std; signed main() { int n; cin >> n; vector<int> a(n + 1), b(n + 1); vector<vector<int> > dp(n + 1, vector<int>(n + 1, 0)); for(int i = 1; i <= n; ++i) cin >> a[i]; for(int i = 1; i <= n; ++i) cin >> b[i]; for(int i = 1; i <= n; ++i) ...
25.111111
63
0.49115
lnkkerst
c599d2d698815e65a40fbcc4222a32e62849ea04
1,656
cxx
C++
StRoot/StFgtPool/StFgtClusterTools/StFgtCosmicAlignment.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
2
2018-12-24T19:37:00.000Z
2022-02-28T06:57:20.000Z
StRoot/StFgtPool/StFgtClusterTools/StFgtCosmicAlignment.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
StRoot/StFgtPool/StFgtClusterTools/StFgtCosmicAlignment.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
#include "StFgtCosmicAlignment.h" #include <math.h> const int MaxDisc=3; //initial z offsets for disks float z0[MaxDisc]={0.0, 16.51, 2.0*16.51}; //center of rotaion float x00=2.0, y00=-26.0, z00=0.0; //Alignment xyz offsets and Euler angles for each disc float par[MaxDisc][6]= { {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, ...
38.511628
107
0.539251
xiaohaijin
c59c605d4a34c43141f0afdca8e824d12872150a
2,342
hpp
C++
database/L1/demos/q5_simplified_100g/kernel/q5simplified.hpp
vmayoral/Vitis_Libraries
2323dc5036041e18242718287aee4ce66ba071ef
[ "Apache-2.0" ]
1
2021-06-14T17:02:06.000Z
2021-06-14T17:02:06.000Z
database/L1/demos/q5_simplified_100g/kernel/q5simplified.hpp
vmayoral/Vitis_Libraries
2323dc5036041e18242718287aee4ce66ba071ef
[ "Apache-2.0" ]
null
null
null
database/L1/demos/q5_simplified_100g/kernel/q5simplified.hpp
vmayoral/Vitis_Libraries
2323dc5036041e18242718287aee4ce66ba071ef
[ "Apache-2.0" ]
1
2021-04-28T05:58:38.000Z
2021-04-28T05:58:38.000Z
/* * Copyright 2019 Xilinx, 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...
43.37037
90
0.577284
vmayoral
c59e1d492e86efd34c133c287d1548ea3bf637db
1,119
cpp
C++
pomodoro/logic-config.cpp
ximenpo/easy-pomodoro
c0eed81e824dc7348816f059f68a51ba0ddb0810
[ "MIT" ]
null
null
null
pomodoro/logic-config.cpp
ximenpo/easy-pomodoro
c0eed81e824dc7348816f059f68a51ba0ddb0810
[ "MIT" ]
null
null
null
pomodoro/logic-config.cpp
ximenpo/easy-pomodoro
c0eed81e824dc7348816f059f68a51ba0ddb0810
[ "MIT" ]
null
null
null
#include <stddef.h> #include <stdint.h> #include <string.h> #include "logic-config.h" size_t storage_load(uint8_t* begin, uint8_t* end); void storage_save(uint8_t* begin, uint8_t* end); void logic_config::init() { const char DEFAULT_SSID[] = "pomodoro"; const char DEFAULT_PASSWORDD[] = "88888888...
27.292683
74
0.679178
ximenpo
c5a0f36daed9457c007f555f9a83f6f2d18384ba
1,257
cpp
C++
kvm_gadget/src/kvm_mouse.cpp
pspglb/kvm
2dc3c4cc331dedaf5245e5c8a24bcba02b6ded32
[ "BSD-3-Clause" ]
26
2020-12-03T11:13:42.000Z
2022-03-25T05:36:33.000Z
kvm_gadget/src/kvm_mouse.cpp
mtlynch/kvm
f0128edd493a758197a683cbb40dd409d16235e5
[ "BSD-3-Clause" ]
4
2021-01-28T19:32:17.000Z
2021-06-01T15:01:42.000Z
kvm_gadget/src/kvm_mouse.cpp
mtlynch/kvm
f0128edd493a758197a683cbb40dd409d16235e5
[ "BSD-3-Clause" ]
8
2020-12-04T01:30:21.000Z
2021-12-01T11:19:11.000Z
// Copyright 2020 Christopher A. Taylor #include "kvm_mouse.hpp" #include "kvm_serializer.hpp" #include "kvm_logger.hpp" #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <errno.h> namespace kvm { static logger::Channel Logger("Gadget"); //-------------------------------...
19.640625
80
0.584726
pspglb
c5a6671cf32c952770c4dccef896eacc5755a6c4
7,831
cc
C++
framework/window/linux/x_window.cc
ans-hub/gdm_framework
4218bb658d542df2c0568c4d3aac813cd1f18e1b
[ "MIT" ]
1
2020-12-30T23:50:01.000Z
2020-12-30T23:50:01.000Z
framework/window/linux/x_window.cc
ans-hub/gdm_framework
4218bb658d542df2c0568c4d3aac813cd1f18e1b
[ "MIT" ]
null
null
null
framework/window/linux/x_window.cc
ans-hub/gdm_framework
4218bb658d542df2c0568c4d3aac813cd1f18e1b
[ "MIT" ]
null
null
null
// ************************************************************* // File: x_window.cc // Author: Novoselov Anton @ 2018 // URL: https://github.com/ans-hub/gdm_framework // ************************************************************* #include "x_window.h" // --public gdm::XWindow::XWindow() : disp_{ XOpenD...
24.395639
93
0.653556
ans-hub
c5a94600268ac8606b8249272b99cd6cb5567a26
16,792
cpp
C++
src/evaluation.cpp
x0x/hive
5cd9cc82f469b184dcf0a8161ba432d6abf79823
[ "MIT" ]
null
null
null
src/evaluation.cpp
x0x/hive
5cd9cc82f469b184dcf0a8161ba432d6abf79823
[ "MIT" ]
null
null
null
src/evaluation.cpp
x0x/hive
5cd9cc82f469b184dcf0a8161ba432d6abf79823
[ "MIT" ]
null
null
null
#include "../include/types.hpp" #include "../include/bitboard.hpp" #include "../include/position.hpp" #include "../include/evaluation.hpp" #include "../include/piece_square_tables.hpp" #include <cassert> #include <stdlib.h> namespace Evaluation { EvalData::EvalData(const Board& board) { Square kings[...
43.278351
136
0.558182
x0x
c5af54ec396d6934559543d71b7fd82e62efb4c3
1,454
cc
C++
Chapter23_01.cc
ucarlos/Programming-Principles-Chapter23
30234d31720e9194880cc84d04d3d6247ce1c1a0
[ "MIT" ]
null
null
null
Chapter23_01.cc
ucarlos/Programming-Principles-Chapter23
30234d31720e9194880cc84d04d3d6247ce1c1a0
[ "MIT" ]
null
null
null
Chapter23_01.cc
ucarlos/Programming-Principles-Chapter23
30234d31720e9194880cc84d04d3d6247ce1c1a0
[ "MIT" ]
null
null
null
/* * ----------------------------------------------------------------------------- * Created by Ulysses Carlos on 01/05/2021 at 02:22 PM * * Chapter23_01.cc * Get the email file example to run; test it using a larger file of your own * creation. Be sure to include messages that are likely to trigger errors, such...
33.045455
80
0.610041
ucarlos
c5b039ee0234f54312d283c1d27949f21872e054
3,607
cpp
C++
src/core_math.cpp
thechrisyoon08/NeuralNetworks
b47eb6425341c0d0e8278431aaf8b64143ce921f
[ "MIT" ]
1
2018-12-30T05:11:59.000Z
2018-12-30T05:11:59.000Z
src/core_math.cpp
thechrisyoon08/sANNity
b47eb6425341c0d0e8278431aaf8b64143ce921f
[ "MIT" ]
null
null
null
src/core_math.cpp
thechrisyoon08/sANNity
b47eb6425341c0d0e8278431aaf8b64143ce921f
[ "MIT" ]
null
null
null
#include "../include/core_math.h" #include <cstdlib> #include <iostream> #include <vector> #include <random> #include <math.h> #include <assert.h> namespace tensor{ void Tensor::fill_weights(const std::string initializer){ this->tensor.resize(this->m * this->n); if(initializer== "zero"){ for(size_t e...
26.137681
101
0.535071
thechrisyoon08
c5b3694027671c2a0d6653bc51150967a242c5f9
1,034
cpp
C++
src/arguments/src/ArgumentsException.cpp
xgallom/eset_file_system
3816a8e3ae3c36d5771b900251345d08c76f8a0e
[ "MIT" ]
null
null
null
src/arguments/src/ArgumentsException.cpp
xgallom/eset_file_system
3816a8e3ae3c36d5771b900251345d08c76f8a0e
[ "MIT" ]
null
null
null
src/arguments/src/ArgumentsException.cpp
xgallom/eset_file_system
3816a8e3ae3c36d5771b900251345d08c76f8a0e
[ "MIT" ]
null
null
null
// // Created by xgallom on 4/4/19. // #include "ArgumentsException.h" #include "ArgumentsConfig.h" #include <sstream> namespace Arguments { Exception::Exception(const std::string &a_what) : std::runtime_error(a_what) {} Exception Exception::InvalidArgCount(int argCount) { std::stringstream stream; // c...
22.478261
109
0.659574
xgallom
c5b60c75a1c28b40bf241789e5011fe70eb4d74e
4,492
cpp
C++
test/test-uvcpp/my-uv-tcp/MTcpServer.cpp
miaopei/B4860
6f084bd485b787bb36de26d40f83ff4833098c3d
[ "MIT" ]
5
2019-10-27T19:06:06.000Z
2022-01-01T02:27:21.000Z
test/test-uvcpp/my-uv-tcp/MTcpServer.cpp
miaopei/B4860
6f084bd485b787bb36de26d40f83ff4833098c3d
[ "MIT" ]
null
null
null
test/test-uvcpp/my-uv-tcp/MTcpServer.cpp
miaopei/B4860
6f084bd485b787bb36de26d40f83ff4833098c3d
[ "MIT" ]
2
2020-02-15T13:27:47.000Z
2021-12-24T17:32:56.000Z
#include "MTcpServer.hpp" #include "MClientSession.hpp" MTcpServer::MTcpServer() :on_new_session(nullptr), on_new_packet(nullptr), on_session_close(nullptr), on_server_close(nullptr), is_short_connection(false){} MTcpServer::~MTcpServer(){} int MTcpServer::Setup(const char* ip, int port, bool is_ip_v6) { lastErro...
23.642105
102
0.705699
miaopei
c5b86897c012d61d17e8cbd2402c3f462896dd9d
1,276
cpp
C++
code/src/core/errlib/log.cpp
jgresula/jagpdf
6c36958b109e6522e6b57d04144dd83c024778eb
[ "MIT" ]
54
2015-02-16T14:25:16.000Z
2022-03-16T07:54:25.000Z
code/src/core/errlib/log.cpp
jgresula/jagpdf
6c36958b109e6522e6b57d04144dd83c024778eb
[ "MIT" ]
null
null
null
code/src/core/errlib/log.cpp
jgresula/jagpdf
6c36958b109e6522e6b57d04144dd83c024778eb
[ "MIT" ]
30
2015-03-05T08:52:25.000Z
2022-02-17T13:49:15.000Z
// Copyright (c) 2005-2009 Jaroslav Gresula // // Distributed under the MIT license (See accompanying file // LICENSE.txt or copy at http://jagpdf.org/LICENSE.txt) // #include "precompiled.h" #include <core/errlib/log.h> #include <interfaces/message_sink.h> #include <cstdio> namespace { ///////////////////////////...
20.918033
97
0.510188
jgresula
c5b8b2e00fb51bbfd63c63fbf4c6369b0eda6d02
764
cpp
C++
editor/ui/windows/sceneview/light.cpp
chokomancarr/chokoengine2
2825f2b95d24689f4731b096c8be39cc9a0f759a
[ "Apache-2.0" ]
null
null
null
editor/ui/windows/sceneview/light.cpp
chokomancarr/chokoengine2
2825f2b95d24689f4731b096c8be39cc9a0f759a
[ "Apache-2.0" ]
null
null
null
editor/ui/windows/sceneview/light.cpp
chokomancarr/chokoengine2
2825f2b95d24689f4731b096c8be39cc9a0f759a
[ "Apache-2.0" ]
null
null
null
#include "chokoeditor.hpp" CE_BEGIN_ED_NAMESPACE void EW_S_Light::Init() { EW_S_DrawCompList::funcs[(int)ComponentType::Light] = &Draw; EW_S_DrawCompList::activeFuncs[(int)ComponentType::Light] = &DrawActive; } void EW_S_Light::Draw(const Component& c, const Mat4x4& p) { } void EW_S_Light::DrawActive(const Compo...
21.222222
82
0.676702
chokomancarr
c5bb650b6b79f65a7f578b14a57e6aa4af27d794
2,350
cpp
C++
CppMisc/SrcOld/002-fibonacci.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
CppMisc/SrcOld/002-fibonacci.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
CppMisc/SrcOld/002-fibonacci.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
#include <ctime> #include <cstdio> typedef unsigned long long ullong; void timeit(ullong(*func)(ullong), char const* info) { clock_t start = clock(); ullong r, s = 0ull; // n 纯粹为了计时故意调大,反正溢出了结果也肯定一样 ullong n = 0xffffull; unsigned it = 0xffffu; // += 是防止直接赋值循环被优化掉;后面的输出是为了防止优化掉 s for (unsigned u = 0u; u < it; ...
22.169811
78
0.488511
Ginkgo-Biloba
c5bf3d264367627720709b6232fc1980890a8aa5
1,045
cpp
C++
Data Structures/TRIE.cpp
FreeJ99/Algorithms
d8364e1107e702aec0b4055b0d52130e64ddc386
[ "MIT" ]
null
null
null
Data Structures/TRIE.cpp
FreeJ99/Algorithms
d8364e1107e702aec0b4055b0d52130e64ddc386
[ "MIT" ]
null
null
null
Data Structures/TRIE.cpp
FreeJ99/Algorithms
d8364e1107e702aec0b4055b0d52130e64ddc386
[ "MIT" ]
null
null
null
#include<iostream> #include<string> #include<unordered_map> using namespace std; struct Node{ bool leaf; unordered_map<char, Node*> chd; Node(): leaf(false){} }; void insert(Node* root, string s, int idx){ if(idx == s.size()){ root->leaf = true; } else{ if(root->chd[s[idx]] ==...
22.234043
45
0.522488
FreeJ99
c5c035dee395ffffc3b65c7d297f7df0d532c2fd
12,042
hpp
C++
src/mechanics_model.hpp
StopkaKris/ExaConstit
fecf8b5d0d97946e29244360c3bc538c3efb433a
[ "BSD-3-Clause" ]
16
2019-10-11T17:03:20.000Z
2021-11-17T14:09:47.000Z
src/mechanics_model.hpp
Leonidas-Z/ExaConstit
0ab293cb6543b97eabde99e3ab43c1e921258ae4
[ "BSD-3-Clause" ]
41
2020-01-29T04:40:16.000Z
2022-03-11T16:59:31.000Z
src/mechanics_model.hpp
Leonidas-Z/ExaConstit
0ab293cb6543b97eabde99e3ab43c1e921258ae4
[ "BSD-3-Clause" ]
7
2019-10-12T02:00:58.000Z
2022-03-10T04:09:35.000Z
#ifndef MECHANICS_MODEL #define MECHANICS_MODEL #include "mfem.hpp" #include <utility> #include <unordered_map> #include <string> /// free function to compute the beginning step deformation gradient to store /// on a quadrature function void computeDefGrad(mfem::QuadratureFunction *qf, mfem::ParFiniteElementSpace *f...
46.674419
122
0.66102
StopkaKris
c5c31a6215118d04f3e7655eadd9e8229e66be39
2,424
cpp
C++
Practice/2018/2018.11.2/Luogu3962.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
4
2017-10-31T14:25:18.000Z
2018-06-10T16:10:17.000Z
Practice/2018/2018.11.2/Luogu3962.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
Practice/2018/2018.11.2/Luogu3962.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> using namespace std; #define ll long long #define mem(Arr,x) memset(Arr,x,sizeof(Arr)) #define lson (now<<1) #define rson (lson|1) const int maxN=101000; const int SS=(1<<10)-1; const int inf=2147483647; class SegmentData { p...
24.989691
179
0.560644
SYCstudio
c5c5ed2eebcc56d6b9c04051215eb73a824b79ae
762
cpp
C++
dumb_kernel.cpp
rioyokotalab/scala20-artifact
2a438f1fec4f9963d44181578f87c703a5bd4016
[ "BSD-3-Clause" ]
1
2021-06-10T01:11:55.000Z
2021-06-10T01:11:55.000Z
dumb_kernel.cpp
rioyokotalab/scala20-artifact
2a438f1fec4f9963d44181578f87c703a5bd4016
[ "BSD-3-Clause" ]
null
null
null
dumb_kernel.cpp
rioyokotalab/scala20-artifact
2a438f1fec4f9963d44181578f87c703a5bd4016
[ "BSD-3-Clause" ]
null
null
null
#include "utils.hpp" void dumb_kernel(double *GXYb, int mc, int nc, int xc, int yc, int mb, int nb, double * packA_V, double * packB_S, double *packB_U, double *packA_S) { double cmn, exn; for (int mi = 0; mi < B_SIZE; ++mi) { for (int ni = 0; ni < B_SIZE; ++ni) { for (int ki = 0; ki < ...
34.636364
96
0.472441
rioyokotalab
c5c7b40f5fc1e12a15e2b359e6552cfa5cae6088
10,416
cpp
C++
xlib/Drawing.cpp
X547/xlibe
fbab795ad8a86503174ecfcb8603ec868537d069
[ "MIT" ]
1
2022-01-02T16:10:26.000Z
2022-01-02T16:10:26.000Z
xlib/Drawing.cpp
X547/xlibe
fbab795ad8a86503174ecfcb8603ec868537d069
[ "MIT" ]
null
null
null
xlib/Drawing.cpp
X547/xlibe
fbab795ad8a86503174ecfcb8603ec868537d069
[ "MIT" ]
null
null
null
/* * Copyright 2003, Shibukawa Yoshiki. All rights reserved. * Copyright 2003, kazuyakt. All rights reserved. * Copyright 2021, Haiku, Inc. All rights reserved. * Distributed under the terms of the MIT license. */ #include "Drawing.h" #include <interface/Bitmap.h> #include <interface/Polygon.h> #include "Drawabl...
24.223256
106
0.66225
X547
c5c83e5489bc07df68ab6b618831b6c3ad512abc
188
cpp
C++
src/backends/windows/has_last_error.cpp
freundlich/libawl
0d51f388a6b662373058cb51a24ef25ed826fa0f
[ "BSL-1.0" ]
null
null
null
src/backends/windows/has_last_error.cpp
freundlich/libawl
0d51f388a6b662373058cb51a24ef25ed826fa0f
[ "BSL-1.0" ]
null
null
null
src/backends/windows/has_last_error.cpp
freundlich/libawl
0d51f388a6b662373058cb51a24ef25ed826fa0f
[ "BSL-1.0" ]
null
null
null
#include <awl/backends/windows/has_last_error.hpp> #include <awl/backends/windows/windows.hpp> bool awl::backends::windows::has_last_error() { return ::GetLastError() != ERROR_SUCCESS; }
37.6
91
0.765957
freundlich
c5ca729a61faf3428f30752fc18548673c8ddfdd
18,824
cc
C++
src/buffers.cc
klantz81/feature-detection
1ed289711128a30648e198b085534fe9a9610984
[ "MIT" ]
null
null
null
src/buffers.cc
klantz81/feature-detection
1ed289711128a30648e198b085534fe9a9610984
[ "MIT" ]
null
null
null
src/buffers.cc
klantz81/feature-detection
1ed289711128a30648e198b085534fe9a9610984
[ "MIT" ]
null
null
null
#include "buffers.h" // cFloatBuffer ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// cFloatBuffer::cFloatBuffer() : width(0), height(0), buffer(0) { } cFloatBuffer::cFloatBuffer(int width, int height) ...
41.462555
259
0.562208
klantz81
c5cadfbc305bb5d1e535e8f8fcaa60d267412bdb
2,763
cpp
C++
overhead-detect/src/modules/view/ImageGridWindow.cpp
cn0512/PokeDetective
b2785350010a00391c1349046a78f7e27c3af564
[ "Apache-2.0" ]
null
null
null
overhead-detect/src/modules/view/ImageGridWindow.cpp
cn0512/PokeDetective
b2785350010a00391c1349046a78f7e27c3af564
[ "Apache-2.0" ]
null
null
null
overhead-detect/src/modules/view/ImageGridWindow.cpp
cn0512/PokeDetective
b2785350010a00391c1349046a78f7e27c3af564
[ "Apache-2.0" ]
null
null
null
#ifndef IMAGE_GRID_WINDOW_CPP #define IMAGE_GRID_WINDOW_CPP #include <assert.h> #include <string> #include <opencv2/opencv.hpp> #include "ImageGridCell.cpp" using namespace cv; class ImageGridWindow { private: String title; Size size; bool isVisible; int rows; int cols; vector<ImageGridCel...
26.314286
203
0.564604
cn0512
c5cbfaea8c07ab64173da8ec2ebef8d5001cb145
573
cpp
C++
modules/dh2320lab1/dh2320lab1module.cpp
victorca25/inviwo
34b6675f6b791a08e358d24aea4f75d5baadc6da
[ "BSD-2-Clause" ]
null
null
null
modules/dh2320lab1/dh2320lab1module.cpp
victorca25/inviwo
34b6675f6b791a08e358d24aea4f75d5baadc6da
[ "BSD-2-Clause" ]
null
null
null
modules/dh2320lab1/dh2320lab1module.cpp
victorca25/inviwo
34b6675f6b791a08e358d24aea4f75d5baadc6da
[ "BSD-2-Clause" ]
null
null
null
/********************************************************************* * Author : Himangshu Saikia * Init : Thursday, October 12, 2017 - 11:10:04 * * Project : KTH Inviwo Modules * * License : Follows the Inviwo BSD license model ********************************************************************* */ ...
23.875
92
0.535777
victorca25
c5cf4a2e6f99f5132de6b89e9d404cfcd2f4f7bf
25,849
cc
C++
chrome/browser/ui/webui/management_ui_handler_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/ui/webui/management_ui_handler_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/ui/webui/management_ui_handler_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2019 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 <memory> #include <set> #include <string> #include "base/strings/utf_string_conversions.h" #include "chrome/browser/ui/webui/management_ui_hand...
41.030159
80
0.718674
sarang-apps
c5d75f83f8654919a33244141985beffda4e6a19
2,835
cpp
C++
src/ui/3d/entities/HemiFunctionEntity.cpp
PearCoding/PearRay
8654a7dcd55cc67859c7c057c7af64901bf97c35
[ "MIT" ]
19
2016-11-07T00:01:19.000Z
2021-12-29T05:35:14.000Z
src/ui/3d/entities/HemiFunctionEntity.cpp
PearCoding/PearRay
8654a7dcd55cc67859c7c057c7af64901bf97c35
[ "MIT" ]
33
2016-07-06T21:58:05.000Z
2020-08-01T18:18:24.000Z
src/ui/3d/entities/HemiFunctionEntity.cpp
PearCoding/PearRay
8654a7dcd55cc67859c7c057c7af64901bf97c35
[ "MIT" ]
null
null
null
#include "3d/OpenGLHeaders.h" #include "3d/shader/ColorShader.h" #include "HemiFunctionEntity.h" #include "math/Spherical.h" #include <tbb/blocked_range.h> #include <tbb/parallel_for.h> namespace PR { namespace UI { HemiFunctionEntity::HemiFunctionEntity(const Function& function, int ntheta, int nphi) : GraphicEnti...
22.5
90
0.586596
PearCoding
c5d89e7e6033d1ed5f43d64760d76a23841efbdd
6,160
cc
C++
dlb_pmd/test/TestSadm.cc
DolbyLaboratories/pmd_tool
4c6d27df5f531d488a627f96f489cf213cbf121a
[ "BSD-3-Clause" ]
11
2020-04-05T19:58:40.000Z
2022-02-04T19:18:12.000Z
dlb_pmd/test/TestSadm.cc
DolbyLaboratories/pmd_tool
4c6d27df5f531d488a627f96f489cf213cbf121a
[ "BSD-3-Clause" ]
1
2020-02-25T22:08:30.000Z
2020-02-25T22:08:30.000Z
dlb_pmd/test/TestSadm.cc
DolbyLaboratories/pmd_tool
4c6d27df5f531d488a627f96f489cf213cbf121a
[ "BSD-3-Clause" ]
null
null
null
/************************************************************************ * dlb_pmd * Copyright (c) 2021, Dolby Laboratories 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...
26.899563
110
0.626786
DolbyLaboratories
c5daa273dd4ab20759832968146f7077fee9c58b
439
cc
C++
MWP2_1E.cc
hkktr/POLSKI-SPOJ
59f7e0be99fca6532681c2ca01c8a7d97c6b5eed
[ "Unlicense" ]
1
2021-02-01T11:21:56.000Z
2021-02-01T11:21:56.000Z
MWP2_1E.cc
hkktr/POLSKI-SPOJ
59f7e0be99fca6532681c2ca01c8a7d97c6b5eed
[ "Unlicense" ]
null
null
null
MWP2_1E.cc
hkktr/POLSKI-SPOJ
59f7e0be99fca6532681c2ca01c8a7d97c6b5eed
[ "Unlicense" ]
1
2022-01-28T15:25:45.000Z
2022-01-28T15:25:45.000Z
// C++14 (gcc 8.3) #include <algorithm> #include <iostream> #include <string> #include <vector> int main() { std::ios_base::sync_with_stdio(false); std::cin.tie(nullptr); std::vector<std::string> words; std::string word; while (std::cin >> word) { words.push_back(word); } std::sort(words.begin(), w...
19.086957
57
0.594533
hkktr
c5db24648dcb994cc0671d991851bedc79c33fac
232
hpp
C++
src/actor/ActorId.hpp
patrikpihlstrom/nn-c-
8b5df5f2c62a3dbefc9ded4908daffdf989c771b
[ "MIT" ]
null
null
null
src/actor/ActorId.hpp
patrikpihlstrom/nn-c-
8b5df5f2c62a3dbefc9ded4908daffdf989c771b
[ "MIT" ]
null
null
null
src/actor/ActorId.hpp
patrikpihlstrom/nn-c-
8b5df5f2c62a3dbefc9ded4908daffdf989c771b
[ "MIT" ]
null
null
null
#pragma once #include <cstdint> struct ActorId { uint64_t id; bool operator== (const ActorId& compare) const { return id == compare.id; } bool operator< (const ActorId& compare) const { return id < compare.id; } };
11.047619
47
0.659483
patrikpihlstrom
c5dba36aad008efc0858fcd21d747c9d17b5b30e
4,458
hpp
C++
src/klass/layer.hpp
burncode/py-skp
2e022fc7ef54bc77454bd368f3b512ad3cb5b0f2
[ "MIT" ]
1
2021-02-28T16:33:38.000Z
2021-02-28T16:33:38.000Z
src/klass/layer.hpp
burncode/py-skp
2e022fc7ef54bc77454bd368f3b512ad3cb5b0f2
[ "MIT" ]
null
null
null
src/klass/layer.hpp
burncode/py-skp
2e022fc7ef54bc77454bd368f3b512ad3cb5b0f2
[ "MIT" ]
null
null
null
#ifndef SKP_LAYER_HPP #define SKP_LAYER_HPP #include "common.hpp" #include <SketchUpAPI/model/layer.h> #include "entity.hpp" typedef struct { SkpEntity skp_entilty; SULayerRef _su_layer; } SkpLayer; static void SkpLayer_dealloc(SkpLayer* self) { Py_TYPE(self)->tp_free((PyObject*)self); } static SUEntityRef ...
40.162162
84
0.401301
burncode
c5e35d17fb6c91295662f366518c972975b69bed
2,389
cpp
C++
google/gcj/2019/1b/a.cpp
yu3mars/proconVSCodeGcc
fcf36165bb14fb6f555664355e05dd08d12e426b
[ "MIT" ]
null
null
null
google/gcj/2019/1b/a.cpp
yu3mars/proconVSCodeGcc
fcf36165bb14fb6f555664355e05dd08d12e426b
[ "MIT" ]
null
null
null
google/gcj/2019/1b/a.cpp
yu3mars/proconVSCodeGcc
fcf36165bb14fb6f555664355e05dd08d12e426b
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using ll = long long; using ld = long double; using pii = pair<int, int>; #define REP(i, n) for (int i = 0, i##_len = (n); i < i##_len; ++i) #define all(x) (x).begin(), (x).end() #define m0(x) memset(x, 0, sizeof(x)) int dx4[4] = {1, 0, -1, 0}, dy4[4] = {0, 1, 0, -1}; c...
20.594828
66
0.321892
yu3mars
c5e3b634fe1e1449283eaaf536e62babbcf04933
3,184
cc
C++
lib/io/disk_manager.cc
DibiBase/dibibase
46020a1052f16d8225a06a5a5b5dd43dd62e5c26
[ "Apache-2.0" ]
1
2021-12-14T12:22:32.000Z
2021-12-14T12:22:32.000Z
lib/io/disk_manager.cc
DibiBase/dibibase
46020a1052f16d8225a06a5a5b5dd43dd62e5c26
[ "Apache-2.0" ]
5
2021-11-16T15:21:11.000Z
2022-03-30T13:01:44.000Z
lib/io/disk_manager.cc
DibiBase/dibibase
46020a1052f16d8225a06a5a5b5dd43dd62e5c26
[ "Apache-2.0" ]
null
null
null
#include "io/disk_manager.hh" #include <cerrno> #include <fcntl.h> #include <memory> #include <string> #include <unistd.h> #include "catalog/record.hh" #include "catalog/schema.hh" #include "db/index_page.hh" #include "mem/summary.hh" #include "util/buffer.hh" #include "util/logger.hh" using namespace dibibase; std...
31.524752
80
0.629083
DibiBase
c5e4b411660dcf15e43f5cf4e4e2ee1251f141d1
1,262
hpp
C++
api.hpp
CESNET/TorquePlanSched
1db26ccb25822132af61a6edd722a67ac21754a7
[ "MIT" ]
null
null
null
api.hpp
CESNET/TorquePlanSched
1db26ccb25822132af61a6edd722a67ac21754a7
[ "MIT" ]
null
null
null
api.hpp
CESNET/TorquePlanSched
1db26ccb25822132af61a6edd722a67ac21754a7
[ "MIT" ]
null
null
null
#ifndef API_HPP_ #define API_HPP_ /* api.h modified for usage in C++ code */ extern "C" { #include "pbs_cache_api.h" } inline char *xpbs_cache_get_local(const char *hostname, const char *name) { return pbs_cache_get_local(const_cast<char*>(hostname), const_cast<char*>(name)); } inline int xcache_hash_fill_local(con...
34.108108
109
0.748811
CESNET
c5e58142ee2b983da881c2859c0fd5449fda7f9b
1,516
cpp
C++
a4atlas/src/grl.cpp
a4/a4
e1de89260cb3894908f1d01dfacea125abc79da9
[ "BSL-1.0" ]
4
2015-04-07T20:25:16.000Z
2019-04-27T15:04:02.000Z
a4atlas/src/grl.cpp
a4/a4
e1de89260cb3894908f1d01dfacea125abc79da9
[ "BSL-1.0" ]
null
null
null
a4atlas/src/grl.cpp
a4/a4
e1de89260cb3894908f1d01dfacea125abc79da9
[ "BSL-1.0" ]
1
2021-06-02T17:22:35.000Z
2021-06-02T17:22:35.000Z
#include <iostream> #include <fstream> #include <stdexcept> #include <a4/grl.h> #include <a4/types.h> using namespace std; namespace a4{ namespace atlas{ FileGRL::FileGRL(const string& fn) { ifstream in(fn.c_str(), ios::in); if (!in) { TERMINATE("Can not open '", fn, "'!"); } uint32_t run, s...
30.938776
93
0.610158
a4
c5e5d6998482ee9db4ff33ed16f7b4ba8e38dce2
999
cpp
C++
src/main/cpp/states/turret/HoldTurretPosition.cpp
Team302/2020InfiiniteRechargeImportedInto2021
cfdbcc78e3a83e57cb8a0acc894609a94ab57193
[ "BSD-3-Clause" ]
5
2020-01-11T14:49:32.000Z
2020-01-30T01:10:00.000Z
src/main/cpp/states/turret/HoldTurretPosition.cpp
Team302/2020InfiiniteRechargeImportedInto2021
cfdbcc78e3a83e57cb8a0acc894609a94ab57193
[ "BSD-3-Clause" ]
117
2020-01-11T14:48:09.000Z
2020-03-04T01:38:43.000Z
src/main/cpp/states/turret/HoldTurretPosition.cpp
Team302/2020InfiniteRecharge
c6355fdc7fcfd1f62b4f0ed5d077f026d3ace8f4
[ "MIT" ]
null
null
null
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2018 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
49.95
125
0.580581
Team302
c5e6003b9f5e7d70abdf6fe2e66e6568cfc80184
650
cpp
C++
Semester_2/Lab_14/main.cpp
DenCoder618/SUAI-Labs
4785f5888257a7da79bc7ab681cde670ab3cf586
[ "MIT" ]
1
2021-09-20T23:58:34.000Z
2021-09-20T23:58:34.000Z
Semester_2/Lab_14/main.cpp
DenCoder618/SUAI-Labs
4785f5888257a7da79bc7ab681cde670ab3cf586
[ "MIT" ]
9
2021-09-22T22:47:47.000Z
2021-10-23T00:34:36.000Z
Semester_2/Lab_14/main.cpp
DenCoder618/SUAI-Labs
4785f5888257a7da79bc7ab681cde670ab3cf586
[ "MIT" ]
null
null
null
// Программа должна хранить схему в виде заданной в задании // структуры данных, где хранятся геометрические фигуры. // Каждая фигура характеризуется уникальным идентификатором // (int) id, координатами на экране (x, y), а также своими параметрами // Программа должна уметь работать с фигурами, указанными в задании. //...
50
70
0.783077
DenCoder618
c5e717454e58e19ba151abb9eef773b7e7a5bef3
1,222
cpp
C++
src/DocumentManager.cpp
kungyao/Group5
6c0c8ebffe22882e02c2dd88c45e51124a6c3268
[ "BSD-3-Clause" ]
null
null
null
src/DocumentManager.cpp
kungyao/Group5
6c0c8ebffe22882e02c2dd88c45e51124a6c3268
[ "BSD-3-Clause" ]
10
2021-04-20T09:08:48.000Z
2021-06-12T10:28:33.000Z
src/DocumentManager.cpp
kungyao/Group5
6c0c8ebffe22882e02c2dd88c45e51124a6c3268
[ "BSD-3-Clause" ]
3
2021-04-13T14:35:57.000Z
2021-04-20T05:22:41.000Z
// Copyright (c) 2021, Kung-Yao Hsieh, Shang-Chen LIN, Yi-Hang Xie. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "DocumentManager.h" std::string Revision::toString() { std::string output_; output_ += user_id; output_ ...
24.938776
88
0.613748
kungyao
c5e7778713b803c63fc46728bf635fff4d5826f4
10,667
cpp
C++
Test/test_buffer.cpp
Grandbrain/StdEx
e79c37ea77f67ae44e4cc4db4a9e90965c2fbf97
[ "MIT" ]
null
null
null
Test/test_buffer.cpp
Grandbrain/StdEx
e79c37ea77f67ae44e4cc4db4a9e90965c2fbf97
[ "MIT" ]
null
null
null
Test/test_buffer.cpp
Grandbrain/StdEx
e79c37ea77f67ae44e4cc4db4a9e90965c2fbf97
[ "MIT" ]
null
null
null
#include <catch.hpp> #include <buffer.hpp> // Testing of buffer. TEST_CASE("Testing of buffer") { // Testing of buffer constructors. SECTION("Constructors") { SECTION("Constructor without parameters") { stdex::buffer<int> a; REQUIRE(a.data() == nullptr); REQUIRE(a....
31.190058
73
0.431612
Grandbrain
c5ec745eb47bce7dd5d8dec897432173e866d91b
30
cc
C++
deps/gettext/gettext-tools/woe32dll/c++msgfilter.cc
kimpel70/poedit
9114258b6421c530f6516258635e730d8d3f6b26
[ "MIT" ]
3
2021-05-04T17:09:06.000Z
2021-10-04T07:19:26.000Z
deps/gettext/gettext-tools/woe32dll/c++msgfilter.cc
kimpel70/poedit
9114258b6421c530f6516258635e730d8d3f6b26
[ "MIT" ]
null
null
null
deps/gettext/gettext-tools/woe32dll/c++msgfilter.cc
kimpel70/poedit
9114258b6421c530f6516258635e730d8d3f6b26
[ "MIT" ]
null
null
null
#include "../src/msgfilter.c"
15
29
0.666667
kimpel70
c5eef785114172af92a644f2c971a510e55dac8d
131,233
cpp
C++
disabled_modules/visual_script/visual_script_nodes.cpp
ZopharShinta/SegsEngine
86d52c5b805e05e107594efd3358cabd694365f0
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
disabled_modules/visual_script/visual_script_nodes.cpp
ZopharShinta/SegsEngine
86d52c5b805e05e107594efd3358cabd694365f0
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
disabled_modules/visual_script/visual_script_nodes.cpp
ZopharShinta/SegsEngine
86d52c5b805e05e107594efd3358cabd694365f0
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
/*************************************************************************/ /* visual_script_nodes.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
30.791412
209
0.686116
ZopharShinta
c5f20d70f2335d0ddb3a93c5de9954735850173d
817
cpp
C++
abc/249d.cpp
wky32768/Atcoder
b816b8de922b5bcd59881d808ea0f98148c07311
[ "MIT" ]
null
null
null
abc/249d.cpp
wky32768/Atcoder
b816b8de922b5bcd59881d808ea0f98148c07311
[ "MIT" ]
null
null
null
abc/249d.cpp
wky32768/Atcoder
b816b8de922b5bcd59881d808ea0f98148c07311
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> #include <cmath> #include <cstring> #include <algorithm> #include <map> #define int long long #define For(i,a,b) for(int i=a;i<=b;i++) using namespace std; const int N=200005; int n, ans, mx, a[N]; map <int, int> mp; signed main() { cin>>n; For(i,1,n) { cin>>a[i]; ...
25.53125
58
0.451652
wky32768
c5f4f2b247ca2257eb82f43f8abda37882412ddd
720
cpp
C++
src/121.BestTimetoBuyandSellStock/121.cpp
Taowyoo/LeetCodeLog
cb05798538dd10675bf81011a419d0e33d85e4e0
[ "MIT" ]
null
null
null
src/121.BestTimetoBuyandSellStock/121.cpp
Taowyoo/LeetCodeLog
cb05798538dd10675bf81011a419d0e33d85e4e0
[ "MIT" ]
null
null
null
src/121.BestTimetoBuyandSellStock/121.cpp
Taowyoo/LeetCodeLog
cb05798538dd10675bf81011a419d0e33d85e4e0
[ "MIT" ]
null
null
null
/* * @Author: Nick Cao * @Date: 2021-06-06 11:02:12 * @LastEditTime: 2021-06-06 12:00:48 * @LastEditors: Nick Cao * @Description: * @FilePath: \LeetCodeLog\src\121. Best Time to Buy and Sell Stock\121.cpp */ class Solution { public: int maxProfit(vector<int>& prices) { int buy_idx = 0; int ...
27.692308
102
0.529167
Taowyoo
c5f571fc1d2c45774dbe0bf7ed14da3749be378d
1,258
cpp
C++
lldb/test/Shell/Register/Inputs/x86-multithread-read.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
2,338
2018-06-19T17:34:51.000Z
2022-03-31T11:00:37.000Z
lldb/test/Shell/Register/Inputs/x86-multithread-read.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
lldb/test/Shell/Register/Inputs/x86-multithread-read.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
500
2019-01-23T07:49:22.000Z
2022-03-30T02:59:37.000Z
#include <cstdint> #include <mutex> #include <thread> std::mutex t1_mutex, t2_mutex; struct test_data { uint32_t eax; uint32_t ebx; struct alignas(16) { uint64_t mantissa; uint16_t sign_exp; } st0; }; void t_func(std::mutex &t_mutex, const test_data &t_data) { std::lock_guard<std::mutex> t_lock(t_...
20.290323
64
0.636725
mkinsner
c5f575f144f8d8537c2a7e8c8b6b235525c2f225
4,450
cpp
C++
src/mongo/db/catalog/commit_quorum_options.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/catalog/commit_quorum_options.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/catalog/commit_quorum_options.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2019-present MongoDB, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the Server Side Public License, version 1, * as published by MongoDB, Inc. * * This program is distributed in the hope that it will be useful, * but W...
39.035088
96
0.689213
benety
c5f9411338a09e257face1d14db19a463987269b
3,679
cpp
C++
errors/errorhandler.cpp
buelowp/aquarium
6d379469fbfe2a8c12631bc5571c76d3c0d9d84a
[ "MIT" ]
3
2017-05-04T08:14:46.000Z
2020-04-21T12:17:08.000Z
errors/errorhandler.cpp
buelowp/aquarium
6d379469fbfe2a8c12631bc5571c76d3c0d9d84a
[ "MIT" ]
12
2019-08-17T20:49:35.000Z
2020-04-22T00:46:17.000Z
errors/errorhandler.cpp
buelowp/aquarium
6d379469fbfe2a8c12631bc5571c76d3c0d9d84a
[ "MIT" ]
null
null
null
/* * Copyright (c) 2020 <copyright holder> <email> * * 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, modi...
27.251852
105
0.654797
buelowp
c5f99647d63a209ee39e8ffd30f8ef6eaf2acb46
1,177
cpp
C++
learncpp_com/6-arr_string_pointer_references/142-array_loops/main.cpp
mitsiu-carreno/cpp_tutorial
71f9083884ae6aa23774c044c3d08be273b6bb8e
[ "MIT" ]
null
null
null
learncpp_com/6-arr_string_pointer_references/142-array_loops/main.cpp
mitsiu-carreno/cpp_tutorial
71f9083884ae6aa23774c044c3d08be273b6bb8e
[ "MIT" ]
null
null
null
learncpp_com/6-arr_string_pointer_references/142-array_loops/main.cpp
mitsiu-carreno/cpp_tutorial
71f9083884ae6aa23774c044c3d08be273b6bb8e
[ "MIT" ]
null
null
null
#include <iostream> int main() { int testScore[] ={88, 75, 98, 80, 93}; // Get the average score without loops double noLoopTotalScore = testScore[0] + testScore[1] + testScore[2] + testScore[3] + testScore[4]; double noLoopAverageScore = noLoopTotalScore / (sizeof(testScore) / sizeof(testScore[0])); std...
31.810811
101
0.638063
mitsiu-carreno
c5fc885fb12759a1fcd7354a5edc3448e4c3a067
9,042
cpp
C++
GeneralFunctions/MUSEN/GeometryMotion.cpp
ElsevierSoftwareX/SOFTX-D-20-00025
24f10384f50d7e5fcebcc90fb27fb836c2fa6c73
[ "BSD-3-Clause" ]
2
2021-03-18T16:22:10.000Z
2021-09-18T13:56:04.000Z
MUSEN/Modules/Geometries/GeometryMotion.cpp
LasCondes/musen
18961807928285ff802e050050f4c627dd7bec1e
[ "BSD-3-Clause" ]
null
null
null
MUSEN/Modules/Geometries/GeometryMotion.cpp
LasCondes/musen
18961807928285ff802e050050f4c627dd7bec1e
[ "BSD-3-Clause" ]
3
2020-11-22T19:17:06.000Z
2021-12-03T14:21:18.000Z
/* Copyright (c) 2013-2020, MUSEN Development Team. All rights reserved. This file is part of MUSEN framework http://msolids.net/musen. See LICENSE file for license and warranty information. */ #include "GeometryMotion.h" #include "MixedFunctions.h" #include "ProtoFunctions.h" // TODO: sort time-dependent motio...
29.54902
147
0.745521
ElsevierSoftwareX
c5ff0185e80f8e4451d6a8a1f35b9b8e8eef643c
40
cpp
C++
lab4/Streamline/Streamline/Grid.cpp
trainsn/CSE_5194.02
645c132dfe9169e5bd140ce0410225780723d93b
[ "MIT" ]
null
null
null
lab4/Streamline/Streamline/Grid.cpp
trainsn/CSE_5194.02
645c132dfe9169e5bd140ce0410225780723d93b
[ "MIT" ]
null
null
null
lab4/Streamline/Streamline/Grid.cpp
trainsn/CSE_5194.02
645c132dfe9169e5bd140ce0410225780723d93b
[ "MIT" ]
null
null
null
#include "Grid.h" Grid::~Grid() { }
5.714286
17
0.5
trainsn
68019d9f9622a364965e0e7bf99327e5a7522a96
21,223
cpp
C++
src/game/client/tf2/c_env_meteor.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/game/client/tf2/c_env_meteor.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/game/client/tf2/c_env_meteor.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ //=============================================================================// #include "cbase.h" #include "C_Env_Meteor.h" #include "fx_explosion.h" #include "tempentity.h" #include "c_tracer.h" //====...
32.550613
136
0.569429
cstom4994
68042b93b117990dfebcf29a5579fbdd97c0e06b
224
hpp
C++
graphics/shaders/Type.hpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
26
2015-04-22T05:25:25.000Z
2020-11-15T11:07:56.000Z
graphics/shaders/Type.hpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
2
2015-01-05T10:41:27.000Z
2015-01-06T20:46:11.000Z
graphics/shaders/Type.hpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
5
2016-08-02T11:13:57.000Z
2018-10-26T11:19:27.000Z
#ifndef ___INANITY_SHADERS_TYPE_HPP___ #define ___INANITY_SHADERS_TYPE_HPP___ #include "shaders.hpp" BEGIN_INANITY_SHADERS /// Базовый класс типов данных для шейдеров. class Type { public: }; END_INANITY_SHADERS #endif
13.176471
44
0.816964
quyse
680662dc4b4e7bab5d390e481ae866021c4f9eae
2,465
cpp
C++
src/OpenGL/entrypoints/GL3.0/gl_get_booleani_v.cpp
kbiElude/VKGL
fffabf412723a3612ba1c5bfeafe1da38062bd18
[ "MIT" ]
114
2018-08-05T16:26:53.000Z
2021-12-30T07:28:35.000Z
src/OpenGL/entrypoints/GL3.0/gl_get_booleani_v.cpp
kbiElude/VKGL
fffabf412723a3612ba1c5bfeafe1da38062bd18
[ "MIT" ]
5
2018-08-18T21:16:58.000Z
2018-11-22T21:50:48.000Z
src/OpenGL/entrypoints/GL3.0/gl_get_booleani_v.cpp
kbiElude/VKGL
fffabf412723a3612ba1c5bfeafe1da38062bd18
[ "MIT" ]
6
2018-08-05T22:32:28.000Z
2021-10-04T15:39:53.000Z
/* VKGL (c) 2018 Dominik Witczak * * This code is licensed under MIT license (see LICENSE.txt for details) */ #include "OpenGL/entrypoints/GL3.0/gl_get_booleani_v.h" #include "OpenGL/context.h" #include "OpenGL/globals.h" #include "OpenGL/utils_enum.h" static bool validate(OpenGL::Context* in_context_ptr, ...
35.724638
107
0.486815
kbiElude
6809a142f548c14845ebb3e92c8c8ad2e4767598
1,762
cpp
C++
src/commonUtils.cpp
flavio-fernandes/oclock
a5c7c4e4a36e16cf1c68f597e68ec70fc4f3b984
[ "MIT" ]
null
null
null
src/commonUtils.cpp
flavio-fernandes/oclock
a5c7c4e4a36e16cf1c68f597e68ec70fc4f3b984
[ "MIT" ]
null
null
null
src/commonUtils.cpp
flavio-fernandes/oclock
a5c7c4e4a36e16cf1c68f597e68ec70fc4f3b984
[ "MIT" ]
null
null
null
#include <random> #include <algorithm> #include <stdlib.h> #include <strings.h> #include "commonUtils.h" // http://en.cppreference.com/w/cpp/numeric/random // Choose a random mean between 1 and 0xffffff static std::random_device randomDevice; static std::default_random_engine randomEngine(randomDevice()); static std:...
30.37931
104
0.708854
flavio-fernandes
6809ab5cf6abd4173e98010d97a194f80c2f44f9
3,622
cc
C++
emu-ex-plus-alpha/imagine/src/input/ps3/ps3.cc
damoonvisuals/GBA4iOS
95bfce0aca270b68484535ecaf0d3b2366739c77
[ "MIT" ]
1
2018-11-14T23:40:35.000Z
2018-11-14T23:40:35.000Z
emu-ex-plus-alpha/imagine/src/input/ps3/ps3.cc
damoonvisuals/GBA4iOS
95bfce0aca270b68484535ecaf0d3b2366739c77
[ "MIT" ]
null
null
null
emu-ex-plus-alpha/imagine/src/input/ps3/ps3.cc
damoonvisuals/GBA4iOS
95bfce0aca270b68484535ecaf0d3b2366739c77
[ "MIT" ]
null
null
null
/* This file is part of Imagine. Imagine 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. Imagine is distributed in the hope that it w...
31.495652
117
0.726394
damoonvisuals
680aff3b1abb8e6c9b0a90d3175a5b36e3dd2430
856
hpp
C++
src/Onyx32.Gui.Legacy/Onyx32.Gui/src/Controls/DateTime/DateTime.hpp
yottaawesome/onyx32-gui
6d1ead1a6e36f3f56e26fa445ea314e96d1234e9
[ "MIT" ]
1
2019-02-02T03:30:53.000Z
2019-02-02T03:30:53.000Z
src/Onyx32.Gui.Legacy/Onyx32.Gui/src/Controls/DateTime/DateTime.hpp
yottaawesome/Onyx32
6d1ead1a6e36f3f56e26fa445ea314e96d1234e9
[ "MIT" ]
1
2020-01-22T00:35:34.000Z
2020-01-22T15:30:47.000Z
src/Onyx32.Gui.Legacy/Onyx32.Gui/src/Controls/DateTime/DateTime.hpp
yottaawesome/Onyx32
6d1ead1a6e36f3f56e26fa445ea314e96d1234e9
[ "MIT" ]
null
null
null
#pragma once #include "../BaseControl.hpp" namespace Onyx32::Gui::Controls { class DateTime : public BaseControl<IDateTime> { public: DateTime( const unsigned int width, const unsigned int height, const unsigned int xPos, const unsigned int yPos, const uint64_t controlId); v...
30.571429
145
0.727804
yottaawesome
6810d2e317cbd7d391bd49bdb16675f913db7b8b
1,833
hpp
C++
Engine/src/Render/Primitive.hpp
MilkyStorm3/SplashyEngine
2c321395da04b524938390c74a45340d7c3c1e2a
[ "MIT" ]
null
null
null
Engine/src/Render/Primitive.hpp
MilkyStorm3/SplashyEngine
2c321395da04b524938390c74a45340d7c3c1e2a
[ "MIT" ]
null
null
null
Engine/src/Render/Primitive.hpp
MilkyStorm3/SplashyEngine
2c321395da04b524938390c74a45340d7c3c1e2a
[ "MIT" ]
null
null
null
#pragma once #include "Graphics/Buffer.hpp" #include "Render/Transform.hpp" #include "Graphics/Texture.hpp" namespace ant { struct Vertex { glm::vec4 position; glm::vec4 color; glm::vec2 textureCoordinate; float textureId = 0; static VertexBufferLayout layout; o...
26.955882
164
0.604474
MilkyStorm3
681626199cecf9f91bc68e243da86c518fc934f5
315
cpp
C++
lib/geometry/distance_between_two_points.cpp
mdstoy/atcoder-cpp
5dfe4db5558dfa1faaf10f19c1a99fee1b4104e7
[ "Unlicense" ]
null
null
null
lib/geometry/distance_between_two_points.cpp
mdstoy/atcoder-cpp
5dfe4db5558dfa1faaf10f19c1a99fee1b4104e7
[ "Unlicense" ]
null
null
null
lib/geometry/distance_between_two_points.cpp
mdstoy/atcoder-cpp
5dfe4db5558dfa1faaf10f19c1a99fee1b4104e7
[ "Unlicense" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // verifing: https://atcoder.jp/contests/math-and-algorithm/submissions/30698630 // *** CAUTION *** : Return value is square. double distance_between_two_points(double x1, double y1, double x2, double y2) { return (x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2); }
31.5
80
0.669841
mdstoy
681846559edf0e4b5d0f15a30d826a03e68a29a6
313
cpp
C++
Contest 1005/D.cpp
PC-DOS/SEUCPP-OJ-KEYS
073f97fb29a659abd25554330382f0a7149c2511
[ "MIT" ]
null
null
null
Contest 1005/D.cpp
PC-DOS/SEUCPP-OJ-KEYS
073f97fb29a659abd25554330382f0a7149c2511
[ "MIT" ]
null
null
null
Contest 1005/D.cpp
PC-DOS/SEUCPP-OJ-KEYS
073f97fb29a659abd25554330382f0a7149c2511
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> using namespace std; int main(){ int a,b,c,n; n = 0; for (c = 1; c <= 100; ++c){ for (a = 1; a <= c; ++a){ b = sqrt(c*c - a*a); if (a <= b && ((a*a + b*b) == (c*c))) ++n; } } cout << n; //system("pause > nul"); }
20.866667
54
0.373802
PC-DOS
681af677f93b2046ecf12a3ced4e35528cef662f
17,280
cpp
C++
src/bpftrace.cpp
ajor/bpftrace
691e1264b526b9179a610c3ae706e439efd132d3
[ "Apache-2.0" ]
278
2016-12-28T00:51:17.000Z
2022-02-09T10:32:31.000Z
src/bpftrace.cpp
brendangregg/bpftrace
4cc2e864a9bbbcb97a508bfc5a3db1cd0b5d7f95
[ "Apache-2.0" ]
48
2017-07-10T20:17:55.000Z
2020-01-20T23:41:51.000Z
src/bpftrace.cpp
ajor/bpftrace
691e1264b526b9179a610c3ae706e439efd132d3
[ "Apache-2.0" ]
19
2017-07-28T05:49:00.000Z
2022-02-22T22:05:37.000Z
#include <assert.h> #include <fstream> #include <iomanip> #include <iostream> #include <regex> #include <sstream> #include <sys/epoll.h> #include "bcc_syms.h" #include "perf_reader.h" #include "bpforc.h" #include "bpftrace.h" #include "attached_probe.h" #include "triggers.h" namespace bpftrace { int BPFtrace::add_p...
25.300146
135
0.599653
ajor
681b706f6831743ded94d704c5f06f2b86e47399
7,681
cpp
C++
Engine/Source/Runtime/Online/BuildPatchServices/Private/BuildPatchMergeManifests.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Runtime/Online/BuildPatchServices/Private/BuildPatchMergeManifests.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Runtime/Online/BuildPatchServices/Private/BuildPatchMergeManifests.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "BuildPatchMergeManifests.h" #include "Misc/FileHelper.h" #include "Misc/Paths.h" #include "HAL/ThreadSafeBool.h" #include "Misc/Guid.h" #include "BuildPatchManifest.h" #include "Async/Future.h" #include "Async/Async.h" DECLARE_LOG_CATEGORY_EXTERN(...
35.073059
216
0.755631
windystrife
681d496db1850440188eb5a96e41a2c1b2dc09a8
1,436
cpp
C++
12.Classes&DynamicMemoryAllocation/Exercises/3.stock.cpp
HuangStomach/Cpp-primer-plus
c8b2b90f10057e72da3ab570da7cc39220c88f70
[ "MIT" ]
1
2019-09-18T01:48:06.000Z
2019-09-18T01:48:06.000Z
12.Classes&DynamicMemoryAllocation/Exercises/3.stock.cpp
HuangStomach/Cpp-primer-plus
c8b2b90f10057e72da3ab570da7cc39220c88f70
[ "MIT" ]
1
2019-09-18T11:31:31.000Z
2019-09-22T04:47:31.000Z
12.Classes&DynamicMemoryAllocation/Exercises/3.stock.cpp
HuangStomach/Cpp-primer-plus
c8b2b90f10057e72da3ab570da7cc39220c88f70
[ "MIT" ]
null
null
null
#include <iostream> #include "3.stock.h" Stock::Stock() { std::cout << "Default\n"; company = new char[strlen("no name") + 1]; strcpy(company, "no name"); shares = 0; share_val = 0.0; total_val = 0.0; } Stock::Stock(const char * co, long n, double pr) { std::cout << "Constructor using " <<...
21.432836
63
0.520195
HuangStomach
681da69852f2e04e8ec972ea255dc83edc65a06a
1,632
cc
C++
ETI06F3.cc
hkktr/POLSKI-SPOJ
59f7e0be99fca6532681c2ca01c8a7d97c6b5eed
[ "Unlicense" ]
1
2021-02-01T11:21:56.000Z
2021-02-01T11:21:56.000Z
ETI06F3.cc
hkktr/POLSKI-SPOJ
59f7e0be99fca6532681c2ca01c8a7d97c6b5eed
[ "Unlicense" ]
null
null
null
ETI06F3.cc
hkktr/POLSKI-SPOJ
59f7e0be99fca6532681c2ca01c8a7d97c6b5eed
[ "Unlicense" ]
1
2022-01-28T15:25:45.000Z
2022-01-28T15:25:45.000Z
// C++14 (gcc 8.3) #include <algorithm> #include <iostream> #include <vector> class Graph { public: Graph(int vertices) : vertices_{vertices} { adjacency_list_.resize(vertices_); } void AddEdge(int a, int b) { adjacency_list_[a].push_back(b); } std::vector<int> ConnectedComponents() { std::vector<ch...
22.356164
72
0.58701
hkktr
68217ed14129fd41ec911faa7874ca14d18ae343
995
hpp
C++
src/Luddite/Utilities/YamlParsers.hpp
Aquaticholic/Luddite-Engine
66584fa31ee75b0cdebabe88cdfa2431d0e0ac2f
[ "Apache-2.0" ]
1
2021-06-03T05:46:46.000Z
2021-06-03T05:46:46.000Z
src/Luddite/Utilities/YamlParsers.hpp
Aquaticholic/Luddite-Engine
66584fa31ee75b0cdebabe88cdfa2431d0e0ac2f
[ "Apache-2.0" ]
null
null
null
src/Luddite/Utilities/YamlParsers.hpp
Aquaticholic/Luddite-Engine
66584fa31ee75b0cdebabe88cdfa2431d0e0ac2f
[ "Apache-2.0" ]
null
null
null
#pragma once #include "Luddite/Core/pch.hpp" #include "Luddite/Graphics/Color.hpp" void operator >>(const YAML::Node& node, float& f); void operator >>(const YAML::Node& node, int32_t& i); void operator >>(const YAML::Node& node, uint32_t& u); void operator >>(const YAML::Node& node, glm::vec2& v); void operator >>(con...
49.75
64
0.681407
Aquaticholic
6822d1a77aa7f6e4f374c36b11d3bd13fa35b860
4,484
cpp
C++
src/QtFuzzy/nFuzzyVariable.cpp
Vladimir-Lin/QtFuzzy
185869384f3ce9d3a801080b675bae8ed6c5fb12
[ "MIT" ]
null
null
null
src/QtFuzzy/nFuzzyVariable.cpp
Vladimir-Lin/QtFuzzy
185869384f3ce9d3a801080b675bae8ed6c5fb12
[ "MIT" ]
null
null
null
src/QtFuzzy/nFuzzyVariable.cpp
Vladimir-Lin/QtFuzzy
185869384f3ce9d3a801080b675bae8ed6c5fb12
[ "MIT" ]
null
null
null
#include <qtfuzzy.h> N::Fuzzy::Variable:: Variable ( const QString & name , double minimum , double maximum ) : Object ( 0 , None ) , _name ( name ) ...
27.012048
88
0.432649
Vladimir-Lin
68277db57fbd8b0ebd116e7a5821b5825d87b3da
5,244
cpp
C++
Source/Readers/HTKDeserializers/MLFBinaryIndexBuilder.cpp
shyamalschandra/CNTK
0e7a6cd4cc174eab28eaf2ffc660c6380b9e4e2d
[ "MIT" ]
17,702
2016-01-25T14:03:01.000Z
2019-05-06T09:23:41.000Z
Source/Readers/HTKDeserializers/MLFBinaryIndexBuilder.cpp
shyamalschandra/CNTK
0e7a6cd4cc174eab28eaf2ffc660c6380b9e4e2d
[ "MIT" ]
3,489
2016-01-25T13:32:09.000Z
2019-05-03T11:29:15.000Z
Source/Readers/HTKDeserializers/MLFBinaryIndexBuilder.cpp
shyamalschandra/CNTK
0e7a6cd4cc174eab28eaf2ffc660c6380b9e4e2d
[ "MIT" ]
5,180
2016-01-25T14:02:12.000Z
2019-05-06T04:24:28.000Z
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.md file in the project root for full license information. // #include "stdafx.h" #define _CRT_SECURE_NO_WARNINGS #define _SCL_SECURE_NO_WARNINGS #include "MLFBinaryIndexBuilder.h" #include "MLFUtils.h" #include "ReaderUti...
37.726619
115
0.61804
shyamalschandra
68280ca358bc4ed9c6da4e3744c99967dd88af84
3,065
cpp
C++
test/CpuOperations/BCHGTest.cpp
PaulTrampert/GenieSys
637e7f764bc7faac8d0b5afcf22646e200562f6a
[ "MIT" ]
null
null
null
test/CpuOperations/BCHGTest.cpp
PaulTrampert/GenieSys
637e7f764bc7faac8d0b5afcf22646e200562f6a
[ "MIT" ]
82
2020-12-17T04:03:10.000Z
2022-03-24T17:54:28.000Z
test/CpuOperations/BCHGTest.cpp
PaulTrampert/GenieSys
637e7f764bc7faac8d0b5afcf22646e200562f6a
[ "MIT" ]
null
null
null
// // Created by paul.trampert on 4/4/2021. // #include <gtest/gtest.h> #include <GenieSys/CpuOperations/BCHG.h> #include <GenieSys/Bus.h> struct BCHGTest : testing::Test { GenieSys::M68kCpu* cpu; GenieSys::Bus bus; GenieSys::BCHG* subject; BCHGTest() { cpu = bus.getCpu(); subject =...
34.055556
151
0.72398
PaulTrampert
68292e8a8ea099595f63a41b270e1210d757bda9
2,210
cpp
C++
omp1.cpp
jrengdahl/bmomp
3c00f0e599c127504e47a0b35fdb8dbd85f9ebc4
[ "BSD-3-Clause" ]
null
null
null
omp1.cpp
jrengdahl/bmomp
3c00f0e599c127504e47a0b35fdb8dbd85f9ebc4
[ "BSD-3-Clause" ]
null
null
null
omp1.cpp
jrengdahl/bmomp
3c00f0e599c127504e47a0b35fdb8dbd85f9ebc4
[ "BSD-3-Clause" ]
null
null
null
// A test program for experiments with OpenMP. // omp1.cpp tests // "#pragma omp parallel for" #include <stdint.h> #include <stdio.h> #include "exports.hpp" #include "thread.hpp" #include "threadFIFO.hpp" #include "libgomp.hpp" #include "omp.h" // The DeferFIFO used by yield, for rudimentary time-slicing. // Note...
27.625
141
0.589593
jrengdahl
6829bd8c63bcfd90ba5752091106328991fa11b0
404
hpp
C++
hw3/tmpl/src-cpp/include/AST/UnaryOperator.hpp
idoleat/P-Language-Compiler-CourseProject
57db735b349a0a3a30d78b927953e2d44b7c7d53
[ "MIT" ]
7
2020-09-10T16:54:49.000Z
2022-03-15T12:39:23.000Z
hw3/tmpl/src-cpp/include/AST/UnaryOperator.hpp
idoleat/simple-P-compiler
57db735b349a0a3a30d78b927953e2d44b7c7d53
[ "MIT" ]
null
null
null
hw3/tmpl/src-cpp/include/AST/UnaryOperator.hpp
idoleat/simple-P-compiler
57db735b349a0a3a30d78b927953e2d44b7c7d53
[ "MIT" ]
null
null
null
#ifndef __AST_UNARY_OPERATOR_NODE_H #define __AST_UNARY_OPERATOR_NODE_H #include "AST/expression.hpp" class UnaryOperatorNode : public ExpressionNode { public: UnaryOperatorNode(const uint32_t line, const uint32_t col /* TODO: operator, expression */); ~UnaryOperatorNode() = default; ...
21.263158
61
0.70297
idoleat
682aeb16d6533e5bff7e1bbd3aa5831f4aa8dd4d
1,290
cpp
C++
math/kth_root_mod/gen/safe_prime.cpp
tko919/library-checker-problems
007a3ef79d1a1824e68545ab326d1523d9c05262
[ "Apache-2.0" ]
290
2019-06-06T22:20:36.000Z
2022-03-27T12:45:04.000Z
math/kth_root_mod/gen/safe_prime.cpp
tko919/library-checker-problems
007a3ef79d1a1824e68545ab326d1523d9c05262
[ "Apache-2.0" ]
536
2019-06-06T18:25:36.000Z
2022-03-29T11:46:36.000Z
math/kth_root_mod/gen/safe_prime.cpp
tko919/library-checker-problems
007a3ef79d1a1824e68545ab326d1523d9c05262
[ "Apache-2.0" ]
82
2019-06-06T18:17:55.000Z
2022-03-21T07:40:31.000Z
#include "random.h" #include <iostream> #include <vector> #include <cassert> #include "../params.h" using namespace std; using ll = long long; vector<ll> enum_prime(ll l, ll r) { vector<int> is_prime(r - l + 1, true); for (ll i = 2; i * i <= r; i++) { for (ll j = max(2 * i, (l + i - 1) / i * i); j <= ...
23.454545
85
0.494574
tko919
682eba30c768c3fd3dcaaef271ea4e7c5c664ea1
871
hpp
C++
include/daqi/utilities/file_utilities.hpp
hl4/da4qi4
9dfb8902427d40b392977b4fd706048ce3ee8828
[ "Apache-2.0" ]
166
2019-04-15T03:19:31.000Z
2022-03-26T05:41:12.000Z
include/daqi/utilities/file_utilities.hpp
YangKefan/da4qi4
9dfb8902427d40b392977b4fd706048ce3ee8828
[ "Apache-2.0" ]
9
2019-07-18T06:09:59.000Z
2021-01-27T04:19:04.000Z
include/daqi/utilities/file_utilities.hpp
YangKefan/da4qi4
9dfb8902427d40b392977b4fd706048ce3ee8828
[ "Apache-2.0" ]
43
2019-07-03T05:41:57.000Z
2022-02-24T14:16:09.000Z
#ifndef DAQI_FILE_UTILITIES_HPP #define DAQI_FILE_UTILITIES_HPP #include <string> #include "daqi/def/boost_def.hpp" namespace da4qi4 { namespace Utilities { bool SaveDataToFile(std::string const& data, std::string const& filename_with_path, std::string& err); bool SaveDataToFile(std::string const& data, fs::path con...
24.885714
102
0.75775
hl4
682fc5812863d852f26231283fd91b4c75e0515f
613
cpp
C++
leetcode/Algorithms/reverse-vowels-of-a-string.cpp
Doarakko/competitive-programming
5ae78c501664af08a3f16c81dbd54c68310adec8
[ "MIT" ]
1
2017-07-11T16:47:29.000Z
2017-07-11T16:47:29.000Z
leetcode/Algorithms/reverse-vowels-of-a-string.cpp
Doarakko/Competitive-Programming
10642a4bd7266c828dd2fc6e311284e86bdf2968
[ "MIT" ]
1
2021-02-07T09:10:26.000Z
2021-02-07T09:10:26.000Z
leetcode/Algorithms/reverse-vowels-of-a-string.cpp
Doarakko/Competitive-Programming
10642a4bd7266c828dd2fc6e311284e86bdf2968
[ "MIT" ]
null
null
null
class Solution { public: string reverseVowels(string s) { vector<int> v; for (int i = 0; i < s.length(); i++) { switch (s[i]) { case 'a': case 'i': case 'u': case 'e': case 'o': case 'A': ...
19.15625
53
0.298532
Doarakko
682fce5ba95dadeb2a1ba215388d6142c832646d
583
hpp
C++
Include/SA/Input/Base/Axis/Bindings/InputAxisRange.hpp
SapphireSuite/Engine
f29821853aec6118508f31d3e063e83e603f52dd
[ "MIT" ]
1
2022-01-20T23:17:18.000Z
2022-01-20T23:17:18.000Z
Include/SA/Input/Base/Axis/Bindings/InputAxisRange.hpp
SapphireSuite/Engine
f29821853aec6118508f31d3e063e83e603f52dd
[ "MIT" ]
null
null
null
Include/SA/Input/Base/Axis/Bindings/InputAxisRange.hpp
SapphireSuite/Engine
f29821853aec6118508f31d3e063e83e603f52dd
[ "MIT" ]
null
null
null
// Copyright (c) 2021 Sapphire's Suite. All Rights Reserved. #pragma once #ifndef SAPPHIRE_INPUT_INPUT_AXIS_RANGE_GUARD #define SAPPHIRE_INPUT_INPUT_AXIS_RANGE_GUARD #include <SA/Input/Base/Bindings/InputRangeBase.hpp> #include <SA/Input/Base/Axis/Bindings/InputAxisBinding.hpp> namespace Sa { class InputAxisRange ...
20.821429
63
0.7753
SapphireSuite
6830046466209c71aafc249d502ff69efbc46f64
373
cpp
C++
Math/168. Excel Sheet Column Title.cpp
YuPeize/LeetCode-
b01d00f28e1eedcb04aee9eca984685bd9d52791
[ "MIT" ]
2
2019-10-28T06:40:09.000Z
2022-03-09T10:50:06.000Z
Math/168. Excel Sheet Column Title.cpp
sumiya-NJU/LeetCode
8e6065e160da3db423a51aaf3ae53b2023068d05
[ "MIT" ]
null
null
null
Math/168. Excel Sheet Column Title.cpp
sumiya-NJU/LeetCode
8e6065e160da3db423a51aaf3ae53b2023068d05
[ "MIT" ]
1
2018-12-09T13:46:06.000Z
2018-12-09T13:46:06.000Z
/* author: ypz */ class Solution { public: string convertToTitle(int n) { string ans; while(n != 0) { char temp; if(n%26 == 0) { temp = 'Z'; n -= 1; } else temp = 'A' + n%26 - 1; ans = temp + ans; ...
16.954545
39
0.335121
YuPeize
6834eaa61ab72647f1f8a23f2265d6a14a8ae59a
2,459
cpp
C++
luogu/p1042.cpp
ajidow/Answers_of_OJ
70e0c02d9367c3a154b83a277edbf158f32484a3
[ "MIT" ]
null
null
null
luogu/p1042.cpp
ajidow/Answers_of_OJ
70e0c02d9367c3a154b83a277edbf158f32484a3
[ "MIT" ]
null
null
null
luogu/p1042.cpp
ajidow/Answers_of_OJ
70e0c02d9367c3a154b83a277edbf158f32484a3
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> using namespace std; char c; // int hua,sb; // int huawin,sbwin; int tmphua,tmpsb; int cnt = 0; int get[100000]; int main(int argc, char const *argv[]) { // cout << "11:0" << endl; while(1) { c = getchar(); if (c == 'E') { cout << tmphua << ":" << tmpsb << endl; b...
19.362205
60
0.395283
ajidow
6835e1f3603467bf8ff17f87fc84f97f267c2969
1,997
cpp
C++
SerialPrograms/Source/NintendoSwitch/Framework/NintendoSwitch_SingleSwitchProgramWidget.cpp
Gin890/Arduino-Source
9047ff584010d8ddc3558068874f16fb3c7bb46d
[ "MIT" ]
1
2022-03-29T18:51:49.000Z
2022-03-29T18:51:49.000Z
SerialPrograms/Source/NintendoSwitch/Framework/NintendoSwitch_SingleSwitchProgramWidget.cpp
Gin890/Arduino-Source
9047ff584010d8ddc3558068874f16fb3c7bb46d
[ "MIT" ]
null
null
null
SerialPrograms/Source/NintendoSwitch/Framework/NintendoSwitch_SingleSwitchProgramWidget.cpp
Gin890/Arduino-Source
9047ff584010d8ddc3558068874f16fb3c7bb46d
[ "MIT" ]
null
null
null
/* Single Switch Program Template * * From: https://github.com/PokemonAutomation/Arduino-Source * */ #include "CommonFramework/Tools/BlackBorderCheck.h" #include "NintendoSwitch_SingleSwitchProgramWidget.h" #include <iostream> using std::cout; using std::endl; namespace PokemonAutomation{ namespa...
26.626667
99
0.657987
Gin890
68383cad3387296c9c36cca5935b428b4f51c87f
9,038
cpp
C++
Grbl_Esp32/src/Spindles/YL620Spindle.cpp
ghjklzx/ESP32-E-support
03e081d3f6df613ff1f215ba311bec3fb7baa8ed
[ "MIT" ]
49
2021-12-15T12:57:20.000Z
2022-02-07T12:22:10.000Z
Firmware/Grbl_Esp32-main/Grbl_Esp32/src/Spindles/YL620Spindle.cpp
pspadale/Onyx-Stepper-Motherboard
e94e6cc2e40869f6ee395a3f6e52c81307373971
[ "MIT" ]
null
null
null
Firmware/Grbl_Esp32-main/Grbl_Esp32/src/Spindles/YL620Spindle.cpp
pspadale/Onyx-Stepper-Motherboard
e94e6cc2e40869f6ee395a3f6e52c81307373971
[ "MIT" ]
10
2021-12-15T12:57:24.000Z
2022-01-17T22:47:33.000Z
#include "YL620Spindle.h" /* YL620Spindle.cpp This is for a Yalang YL620/YL620-A VFD based spindle to be controlled via RS485 Modbus RTU. Part of Grbl_ESP32 2021 - Marco Wagner Grbl is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License ...
38.7897
136
0.501881
ghjklzx
683ba4119670f9dbd36d441fbe7e90e150be3690
5,495
cpp
C++
crystal/foundation/http/Crypto.cpp
crystal-dataop/crystal
128e1dcde1ef68cabadab9b16d45f5199f0afe5c
[ "Apache-2.0" ]
2
2020-10-02T03:31:50.000Z
2020-12-31T09:41:48.000Z
crystal/foundation/http/Crypto.cpp
crystal-dataop/crystal
128e1dcde1ef68cabadab9b16d45f5199f0afe5c
[ "Apache-2.0" ]
null
null
null
crystal/foundation/http/Crypto.cpp
crystal-dataop/crystal
128e1dcde1ef68cabadab9b16d45f5199f0afe5c
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2020 Yeolar */ #include "crystal/foundation/http/Crypto.h" #include <iomanip> #include <vector> #include <openssl/evp.h> #include <openssl/md5.h> #include <openssl/sha.h> namespace crystal { std::string Crypto::to_hex_string(const std::string& input) { std::stringstream hex_stream; hex_stream ...
33.919753
78
0.647134
crystal-dataop
683f82e4ea5d0c5966b1ad32dd95cfea784541a8
25,099
cpp
C++
octomap/src/testing/test_set_tree_values.cpp
BadgerTechnologies/octomap
cf470ad72aaf7783b6eeef82331f52146557fc09
[ "BSD-3-Clause" ]
null
null
null
octomap/src/testing/test_set_tree_values.cpp
BadgerTechnologies/octomap
cf470ad72aaf7783b6eeef82331f52146557fc09
[ "BSD-3-Clause" ]
null
null
null
octomap/src/testing/test_set_tree_values.cpp
BadgerTechnologies/octomap
cf470ad72aaf7783b6eeef82331f52146557fc09
[ "BSD-3-Clause" ]
null
null
null
#include <memory> #include <octomap/octomap.h> #include "testing.h" using namespace std; using namespace octomap; using namespace octomath; int main(int /*argc*/, char** /*argv*/) { double res = 0.01; OcTree value_tree(res); OcTree value_tree2(res); OcTree bounds_tree(res); OcTree tree(res); O...
40.287319
130
0.61616
BadgerTechnologies
683f877debdbab79a8362817d237a71245f32022
546
cpp
C++
c++/10611.cpp
AkashChandrakar/UVA
b90535c998ecdffe0f30e56fec89411f456b16a5
[ "Apache-2.0" ]
2
2016-10-23T14:35:13.000Z
2018-09-16T05:38:47.000Z
c++/10611.cpp
AkashChandrakar/UVA
b90535c998ecdffe0f30e56fec89411f456b16a5
[ "Apache-2.0" ]
null
null
null
c++/10611.cpp
AkashChandrakar/UVA
b90535c998ecdffe0f30e56fec89411f456b16a5
[ "Apache-2.0" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int arr[50001]; int main() { int n, q, x, y, h; scanf("%d", &n); for (int i = 0; i < n; i++) scanf("%d", &arr[i]); scanf("%d", &q); for (int i = 0; i < q; i++) { scanf("%d", &h); x = lower_bound(arr, arr + n, h) - arr; if (arr[x] >= h && x > 0) { printf("...
17.612903
41
0.456044
AkashChandrakar
684136a1306bd5df1908ea77a56e1c371dd228b1
3,071
cxx
C++
Testing/Code/BasicFilters/itkPathToChainCodePathFilterTest.cxx
kiranhs/ITKv4FEM-Kiran
0e4ab3b61b5fc4c736f04a73dd19e41390f20152
[ "BSD-3-Clause" ]
1
2018-04-15T13:32:43.000Z
2018-04-15T13:32:43.000Z
Testing/Code/BasicFilters/itkPathToChainCodePathFilterTest.cxx
kiranhs/ITKv4FEM-Kiran
0e4ab3b61b5fc4c736f04a73dd19e41390f20152
[ "BSD-3-Clause" ]
null
null
null
Testing/Code/BasicFilters/itkPathToChainCodePathFilterTest.cxx
kiranhs/ITKv4FEM-Kiran
0e4ab3b61b5fc4c736f04a73dd19e41390f20152
[ "BSD-3-Clause" ]
null
null
null
/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkPathToChainCodePathFilterTest.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium. All rights reserved. See IT...
29.528846
94
0.62097
kiranhs
684167ef25f5b08999dc11929875145ad578c9ce
10,381
cpp
C++
code/marvinolomu-snake.cpp
nyamako/hacktoberfest-2018
bf7939d4b0cfb57a854a1644dbbae7ddf8af3c4f
[ "MIT" ]
67
2018-09-25T21:37:23.000Z
2020-11-03T02:03:22.000Z
code/marvinolomu-snake.cpp
nyamako/hacktoberfest-2018
bf7939d4b0cfb57a854a1644dbbae7ddf8af3c4f
[ "MIT" ]
245
2018-09-18T10:07:28.000Z
2020-09-30T19:00:11.000Z
code/marvinolomu-snake.cpp
nyamako/hacktoberfest-2018
bf7939d4b0cfb57a854a1644dbbae7ddf8af3c4f
[ "MIT" ]
1,192
2018-09-18T11:27:55.000Z
2021-10-17T10:24:37.000Z
#include <stdio.h> #include <stdlib.h> #include <conio.h> #include <windows.h> #include <math.h> #include <time.h> // a simple snake game // 4 is a body // 3 is the head // 2 is an apple // 1 is a block // 0 is nothing // works under Windows // compiled with MSC compiler int level_matrix[20][20]; int lastposx[20]; i...
20.556436
182
0.554282
nyamako
684168141721cff59b7e4d9dbd510002eabfc488
955
cpp
C++
src/random/UniformReal.cpp
shiruizhao/swift
2026acce35f0717c7a3e9dc522ff1c69f8dc3227
[ "BSD-4-Clause-UC", "BSD-4-Clause" ]
22
2016-07-11T15:34:14.000Z
2021-04-19T04:11:13.000Z
src/random/UniformReal.cpp
shiruizhao/swift
2026acce35f0717c7a3e9dc522ff1c69f8dc3227
[ "BSD-4-Clause-UC", "BSD-4-Clause" ]
14
2016-07-11T14:28:42.000Z
2017-01-27T02:59:24.000Z
src/random/UniformReal.cpp
shiruizhao/swift
2026acce35f0717c7a3e9dc522ff1c69f8dc3227
[ "BSD-4-Clause-UC", "BSD-4-Clause" ]
7
2016-10-03T10:05:06.000Z
2021-05-31T00:58:35.000Z
/* * UniformReal.cpp * * Created on: Mar 16, 2014 * Author: yiwu */ #include <cmath> #include <algorithm> #include "UniformReal.h" namespace swift { namespace random { UniformReal::UniformReal() : dist(0.0,1.0), a(0), b(1), scale(1), logscale(0) { is_logscale_ok = true; } UniformReal::~UniformReal()...
18.018868
54
0.579058
shiruizhao
68438640222cc0b050f6467019e921a04bd91a6a
1,705
hpp
C++
Support/Modules/GSModelDevLib/ModelColor.hpp
graphisoft-python/TextEngine
20c2ff53877b20fdfe2cd51ce7abdab1ff676a70
[ "Apache-2.0" ]
3
2019-07-15T10:54:54.000Z
2020-01-25T08:24:51.000Z
Support/Modules/GSModelDevLib/ModelColor.hpp
graphisoft-python/GSRoot
008fac2c6bf601ca96e7096705e25b10ba4d3e75
[ "Apache-2.0" ]
null
null
null
Support/Modules/GSModelDevLib/ModelColor.hpp
graphisoft-python/GSRoot
008fac2c6bf601ca96e7096705e25b10ba4d3e75
[ "Apache-2.0" ]
1
2020-09-26T03:17:22.000Z
2020-09-26T03:17:22.000Z
// ***************************************************************************** // Color // GSModeler, Platform independent // // Namespaces: Contact person: // PCS // // SG compatible // ***************************************************************************** #if !defined (MODELCO...
23.040541
80
0.410557
graphisoft-python
6844aeda302cab7ce5e12d5ebb4fc310de0fc6ac
9,896
cpp
C++
Homework3 Matrix calculations/Homework3 Matrix calculations/vectorMatrix.cpp
ShounakNR/Programming-for-Finance-16-332-503
56048c67179d98ab519fcb4e9df4d8dfc323266a
[ "Apache-2.0" ]
null
null
null
Homework3 Matrix calculations/Homework3 Matrix calculations/vectorMatrix.cpp
ShounakNR/Programming-for-Finance-16-332-503
56048c67179d98ab519fcb4e9df4d8dfc323266a
[ "Apache-2.0" ]
null
null
null
Homework3 Matrix calculations/Homework3 Matrix calculations/vectorMatrix.cpp
ShounakNR/Programming-for-Finance-16-332-503
56048c67179d98ab519fcb4e9df4d8dfc323266a
[ "Apache-2.0" ]
null
null
null
// // vectorMatrix.cpp // Homework3 Matrix calculations (with vectors) // Programming for finance 16:332:503. // Created by Shounak Rangwala on 9/22/19. // Copyright © 2019 Shounak Rangwala. All rights reserved. // #include <iostream> #include <iomanip> #include <vector> using namespace std; vector<int> inputDi...
32.660066
235
0.584883
ShounakNR
96970a72455650957c85d7ac776a10299f1ec863
6,135
cpp
C++
heart/src/donotuse/hDeviceFileSystem.cpp
JoJo2nd/Heart
4b50dfa6cbf87d32768f6c01b578bc1b23c18591
[ "BSD-3-Clause" ]
1
2016-05-14T09:22:26.000Z
2016-05-14T09:22:26.000Z
heart/src/donotuse/hDeviceFileSystem.cpp
JoJo2nd/Heart
4b50dfa6cbf87d32768f6c01b578bc1b23c18591
[ "BSD-3-Clause" ]
null
null
null
heart/src/donotuse/hDeviceFileSystem.cpp
JoJo2nd/Heart
4b50dfa6cbf87d32768f6c01b578bc1b23c18591
[ "BSD-3-Clause" ]
null
null
null
/******************************************************************** Written by James Moran Please see the file HEART_LICENSE.txt in the source's root directory. *********************************************************************/ #include "base/hDeviceFileSystem.h" #include "pal/hMutex.h" #include "base/hS...
36.736527
158
0.52339
JoJo2nd
9697f68859d4396524f960cc99eaf724a97aa2d6
1,588
cc
C++
src/pineapple/app.cc
tomocy/pineapple
bc9c901a521616c4f47d079c6945359eac947ca2
[ "MIT" ]
null
null
null
src/pineapple/app.cc
tomocy/pineapple
bc9c901a521616c4f47d079c6945359eac947ca2
[ "MIT" ]
null
null
null
src/pineapple/app.cc
tomocy/pineapple
bc9c901a521616c4f47d079c6945359eac947ca2
[ "MIT" ]
null
null
null
#include "src/pineapple/app.h" #include <iostream> #include <map> #include <string> #include <vector> #include "external/flags/src/flags/flags.h" #include "src/pineapple/command.h" #include "src/pineapple/context.h" #include "src/pineapple/exceptions.h" namespace pineapple { App::App(const std::string& name) : Comma...
26.466667
80
0.630353
tomocy
9698ff51d7f20ca0b8a25b150ddb419aaa7e01c8
2,860
cpp
C++
crogine/src/network/NetPeer.cpp
fallahn/crogine
f6cf3ade1f4e5de610d52e562bf43e852344bca0
[ "FTL", "Zlib" ]
41
2017-08-29T12:14:36.000Z
2022-02-04T23:49:48.000Z
crogine/src/network/NetPeer.cpp
fallahn/crogine
f6cf3ade1f4e5de610d52e562bf43e852344bca0
[ "FTL", "Zlib" ]
11
2017-09-02T15:32:45.000Z
2021-12-27T13:34:56.000Z
crogine/src/network/NetPeer.cpp
fallahn/crogine
f6cf3ade1f4e5de610d52e562bf43e852344bca0
[ "FTL", "Zlib" ]
5
2020-01-25T17:51:45.000Z
2022-03-01T05:20:30.000Z
/*----------------------------------------------------------------------- Matt Marchant 2017 - 2020 http://trederia.blogspot.com crogine - Zlib license. This software is provided 'as-is', without any express or implied warranty.In no event will the authors be held liable for any damages arising from the use of this ...
28.316832
73
0.683217
fallahn
969e5fbeb80508aa303a4023e918e6af5a213024
955
cpp
C++
Cpp/CpTemplate.cpp
aminPial/Competitive-Programming-Library
c77373bf9f0dd212369a383ec3165d345f2a0cc7
[ "MIT" ]
4
2020-03-21T04:32:09.000Z
2021-07-14T13:49:00.000Z
Cpp/CpTemplate.cpp
aminPial/Competitive-Programming-Library
c77373bf9f0dd212369a383ec3165d345f2a0cc7
[ "MIT" ]
null
null
null
Cpp/CpTemplate.cpp
aminPial/Competitive-Programming-Library
c77373bf9f0dd212369a383ec3165d345f2a0cc7
[ "MIT" ]
1
2020-12-11T06:06:06.000Z
2020-12-11T06:06:06.000Z
#pragma GCC optimize("O3","unroll-loops","omit-frame-pointer","inline","fast-math","no-stack-protector") //Optimization flags #pragma GCC target("sse,sse2,sse3,ssse3,popcnt,abm,mmx,tune=native") // #include <x86intrin.h> //AVX/SSE Extensions /* 만든 사람 <xrssa> */ /* 불타오르네, 불타오르네, 불타오르네 */ #include <bits/stdc++.h> using...
27.285714
125
0.584293
aminPial
969fbf7d50bcec325b35d3515b12ca53f22524d3
17,013
cpp
C++
plugins/dali-script-v8/src/controls/scroll-view-api.cpp
tizenorg/platform.core.uifw.dali-toolkit
146486a8c7410a2f2a20a6d670145fe855672b96
[ "Apache-2.0" ]
null
null
null
plugins/dali-script-v8/src/controls/scroll-view-api.cpp
tizenorg/platform.core.uifw.dali-toolkit
146486a8c7410a2f2a20a6d670145fe855672b96
[ "Apache-2.0" ]
null
null
null
plugins/dali-script-v8/src/controls/scroll-view-api.cpp
tizenorg/platform.core.uifw.dali-toolkit
146486a8c7410a2f2a20a6d670145fe855672b96
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2015 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
35.59205
184
0.716687
tizenorg
96a0e1fecb2c7f6e7286af9704399ff11e621035
6,614
hpp
C++
Simple++/Graphic/Texture.hpp
Oriode/Simpleplusplus
2ba44eeab5078d6dab66bdefdf73617696b8cb2e
[ "Apache-2.0" ]
null
null
null
Simple++/Graphic/Texture.hpp
Oriode/Simpleplusplus
2ba44eeab5078d6dab66bdefdf73617696b8cb2e
[ "Apache-2.0" ]
null
null
null
Simple++/Graphic/Texture.hpp
Oriode/Simpleplusplus
2ba44eeab5078d6dab66bdefdf73617696b8cb2e
[ "Apache-2.0" ]
null
null
null
namespace Graphic { template<typename T> Texture<T>::Texture( typename Format format ) { this -> datas.push( new ImageT<T>( format ) ); } template<typename T> Graphic::Texture<T>::Texture( const Math::Vec2<Size> & size, typename Format format ) { this -> datas.push( new ImageT<T>( size, format ) ); } ...
25.05303
166
0.63033
Oriode
96a5bc246fdf8fb6249efb449594d710a9d59ccf
3,438
cc
C++
riscos/libs/tbx/tbx/doc/docsaveas.cc
riscoscloverleaf/chatcube
a7184ef76108f90a74a88d3183a3d21c1249a0f5
[ "MIT" ]
null
null
null
riscos/libs/tbx/tbx/doc/docsaveas.cc
riscoscloverleaf/chatcube
a7184ef76108f90a74a88d3183a3d21c1249a0f5
[ "MIT" ]
null
null
null
riscos/libs/tbx/tbx/doc/docsaveas.cc
riscoscloverleaf/chatcube
a7184ef76108f90a74a88d3183a3d21c1249a0f5
[ "MIT" ]
null
null
null
/* * tbx RISC OS toolbox library * * Copyright (C) 2010 Alan Buckley All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without lim...
30.972973
93
0.747237
riscoscloverleaf
96aa0c6d5cbc789bf926bffea3256127799d74b4
2,237
cpp
C++
DOS_Boat_Source/EnemySpace.cpp
michaelslewis/DOS_Boat
1c25f352d75555fa81bbd0f99c89aaed43739646
[ "MIT" ]
null
null
null
DOS_Boat_Source/EnemySpace.cpp
michaelslewis/DOS_Boat
1c25f352d75555fa81bbd0f99c89aaed43739646
[ "MIT" ]
null
null
null
DOS_Boat_Source/EnemySpace.cpp
michaelslewis/DOS_Boat
1c25f352d75555fa81bbd0f99c89aaed43739646
[ "MIT" ]
null
null
null
/**************************************************************************** * Author: Michael S. Lewis * * Date: 6/3/2016 * * Description: EnemySpace.cpp is the EnemySpace class function * * implementation file (for Final Project "DOS Boat"). * * An Enem...
38.568966
78
0.453286
michaelslewis
96ad39b2a5385f3be8906cdd2fd7048b6aeda733
3,703
cpp
C++
lib/regi/sim_metrics_2d/xregImgSimMetric2DGradNCCOCL.cpp
rg2/xreg
c06440d7995f8a441420e311bb7b6524452843d3
[ "MIT" ]
30
2020-09-29T18:36:13.000Z
2022-03-28T09:25:13.000Z
lib/regi/sim_metrics_2d/xregImgSimMetric2DGradNCCOCL.cpp
gaocong13/Orthopedic-Robot-Navigation
bf36f7de116c1c99b86c9ba50f111c3796336af0
[ "MIT" ]
3
2020-10-09T01:21:27.000Z
2020-12-10T15:39:44.000Z
lib/regi/sim_metrics_2d/xregImgSimMetric2DGradNCCOCL.cpp
rg2/xreg
c06440d7995f8a441420e311bb7b6524452843d3
[ "MIT" ]
8
2021-05-25T05:14:48.000Z
2022-02-26T12:29:50.000Z
/* * MIT License * * Copyright (c) 2020 Robert Grupp * * 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, mod...
37.40404
99
0.766946
rg2
96b1f1cf82f32d190a55de09c85fbcb1e0a3b7f2
6,201
cxx
C++
main/shell/source/win32/workbench/TestSmplMail.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/shell/source/win32/workbench/TestSmplMail.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/shell/source/win32/workbench/TestSmplMail.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
33.518919
126
0.541042
Grosskopf
96bba7b9ab561f38e4598dc669f60b9304497550
1,609
cpp
C++
Libraries/RobsJuceModules/jura_framework/gui/misc/jura_DescribedComponent.cpp
elanhickler/RS-MET
c04cbe660ea426ddf659dfda3eb9cba890de5468
[ "FTL" ]
null
null
null
Libraries/RobsJuceModules/jura_framework/gui/misc/jura_DescribedComponent.cpp
elanhickler/RS-MET
c04cbe660ea426ddf659dfda3eb9cba890de5468
[ "FTL" ]
null
null
null
Libraries/RobsJuceModules/jura_framework/gui/misc/jura_DescribedComponent.cpp
elanhickler/RS-MET
c04cbe660ea426ddf659dfda3eb9cba890de5468
[ "FTL" ]
1
2017-10-15T07:25:41.000Z
2017-10-15T07:25:41.000Z
// construction/destruction: DescribedItem::DescribedItem(const String& newDescription) { description = newDescription; descriptionField = NULL; } DescribedItem::~DescribedItem() { } // setup: void DescribedItem::setDescription(const String &newDescription) { description = newDescription; if( descr...
22.985714
99
0.675575
elanhickler