hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
a296b35be2337b4352431af89274aefbefe74de7
1,211
cpp
C++
src/SMLMat1x4.cpp
aceoyale/SML
513d60be40f1e2629b4475cfdf1b4913c1a5154a
[ "MIT" ]
1
2020-10-08T09:31:54.000Z
2020-10-08T09:31:54.000Z
src/SMLMat1x4.cpp
aceoyale/SML
513d60be40f1e2629b4475cfdf1b4913c1a5154a
[ "MIT" ]
null
null
null
src/SMLMat1x4.cpp
aceoyale/SML
513d60be40f1e2629b4475cfdf1b4913c1a5154a
[ "MIT" ]
null
null
null
#include "SMLMat1x4.h" #include "SMLMat4x1.h" #include "SMLMat4x4.h" SML::Mat1x4::Mat1x4(const float& A, const float& B, const float& C, const float& D) { a = A; b = B; c = C; d = D; } SML::Mat1x4::Mat1x4(const Vector& v) { a = v.x; b = v.y; c = v.z; } SML::Mat1x4::Mat1x4(const Point& v) { a = v.x; b = v.y;...
19.222222
83
0.521883
aceoyale
a29787ec9e004ced64d1d9853a224deb3bed19c7
10,922
hpp
C++
test/gemm/device/mma_sync_multi_lds.hpp
dlangbe/rocWMMA
8dd5c1cd4de202e556e338223e17071daac65987
[ "MIT" ]
null
null
null
test/gemm/device/mma_sync_multi_lds.hpp
dlangbe/rocWMMA
8dd5c1cd4de202e556e338223e17071daac65987
[ "MIT" ]
null
null
null
test/gemm/device/mma_sync_multi_lds.hpp
dlangbe/rocWMMA
8dd5c1cd4de202e556e338223e17071daac65987
[ "MIT" ]
null
null
null
/******************************************************************************* * * MIT License * * Copyright 2021-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal *...
42.664063
95
0.53113
dlangbe
a297f34621582815afd49a1334691ef4307559b4
751
hpp
C++
inc/rand_source.hpp
jimmycao/libga_mpi
39f223891b1474b1b190a0033576f30723051f17
[ "MIT" ]
1
2020-06-14T08:28:01.000Z
2020-06-14T08:28:01.000Z
inc/rand_source.hpp
jimmycao/libga_mpi
39f223891b1474b1b190a0033576f30723051f17
[ "MIT" ]
null
null
null
inc/rand_source.hpp
jimmycao/libga_mpi
39f223891b1474b1b190a0033576f30723051f17
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // rand_source.hpp //------------------------------------------------------------------------------ #pragma once #include <cassert> #include <type_traits> #include <random> #include <ctime> namespace libga_mpi { namespace detail { t...
19.25641
80
0.527297
jimmycao
a29a8036d696db7977bd698afbf7398d40a98d4a
1,395
cpp
C++
04.MinimumCut/main.cpp
shunjilin/AlgorithmsSpecialization
554996a0ce131139917dd02604ce0660ad6d2c2d
[ "MIT" ]
1
2019-05-08T04:20:58.000Z
2019-05-08T04:20:58.000Z
04.MinimumCut/main.cpp
shunjilin/AlgorithmsSpecialization
554996a0ce131139917dd02604ce0660ad6d2c2d
[ "MIT" ]
null
null
null
04.MinimumCut/main.cpp
shunjilin/AlgorithmsSpecialization
554996a0ce131139917dd02604ce0660ad6d2c2d
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <string> #include <sstream> #include <random> #include <cmath> #include <limits> #include "KargersMinCut.hpp" #include "SteadyClockTimer.hpp" int main(int argc, char *argv[]) { Kargers::Edgelist edge_list; unsigned n_nodes = 0; if (argc > 1) { std::if...
27.9
73
0.510394
shunjilin
a29a8ff45ace148b29571e145d144309dd91bcc6
207
hpp
C++
projects/codility/min_avg_two_slice/include/MinAvgTwoSlice.hpp
antaljanosbenjamin/miscellaneous
56d2f0030d1d8ff0dd6dd077c3d1ec981f6c2747
[ "MIT" ]
2
2021-06-24T21:46:56.000Z
2021-09-24T07:51:04.000Z
projects/codility/min_avg_two_slice/include/MinAvgTwoSlice.hpp
antaljanosbenjamin/miscellaneous
56d2f0030d1d8ff0dd6dd077c3d1ec981f6c2747
[ "MIT" ]
null
null
null
projects/codility/min_avg_two_slice/include/MinAvgTwoSlice.hpp
antaljanosbenjamin/miscellaneous
56d2f0030d1d8ff0dd6dd077c3d1ec981f6c2747
[ "MIT" ]
null
null
null
#pragma once #include <vector> namespace MinAvgTwoSlice { // https://app.codility.com/programmers/lessons/5-prefix_sums/min_avg_two_slice/ int solution(std::vector<int> &A); } // namespace MinAvgTwoSlice
20.7
80
0.768116
antaljanosbenjamin
94704ab3c83cf4f5bbeae0ff067feb7ffc04163d
239
cpp
C++
tests/test_point.cpp
a20r/Dodger
6e2525f4701031d4e946fcd04c508655fa67c8ea
[ "Apache-2.0" ]
1
2021-11-30T11:19:56.000Z
2021-11-30T11:19:56.000Z
tests/test_point.cpp
a20r/Dodger
6e2525f4701031d4e946fcd04c508655fa67c8ea
[ "Apache-2.0" ]
null
null
null
tests/test_point.cpp
a20r/Dodger
6e2525f4701031d4e946fcd04c508655fa67c8ea
[ "Apache-2.0" ]
null
null
null
#include "point.hpp" #include <iostream> int main() { Dodger::Point p1 = Dodger::Point::get_random_point_2d(5, 5); Dodger::Point p2 = Dodger::Point::get_random_point_2d(5, 5); std::cout << p1.euclid_dist(p2); return 0; }
21.727273
64
0.65272
a20r
94755399e711e0cf86cb40caf8a22492dd6ae8d6
9,279
cpp
C++
projects/abuild/cache/cache_impl.cpp
agnesoft/adev-alt
3df0329939e3048bbf5db252efb5f74de9c0f061
[ "Apache-2.0" ]
null
null
null
projects/abuild/cache/cache_impl.cpp
agnesoft/adev-alt
3df0329939e3048bbf5db252efb5f74de9c0f061
[ "Apache-2.0" ]
null
null
null
projects/abuild/cache/cache_impl.cpp
agnesoft/adev-alt
3df0329939e3048bbf5db252efb5f74de9c0f061
[ "Apache-2.0" ]
null
null
null
#ifndef __clang__ export module abuild.cache:cache_impl; export import :cache_data; import :cache_index; #endif namespace abuild { export class CacheImpl; //! \private auto read_cache(const std::filesystem::path &path, CacheImpl &cache) -> void; //! \private auto write_cache(const CacheData &data) -> void; //! The C...
30.323529
121
0.621942
agnesoft
94783a178f5c202c66619b636e25d0b7a814158e
7,377
cpp
C++
landmass/src/Render.cpp
DATX02-16-86/Code
70cf4537cf30633a3ab538d3bf0df1d374c88860
[ "MIT" ]
1
2016-05-01T22:54:25.000Z
2016-05-01T22:54:25.000Z
landmass/src/Render.cpp
DATX02-16-86/Code
70cf4537cf30633a3ab538d3bf0df1d374c88860
[ "MIT" ]
10
2016-01-26T10:39:45.000Z
2016-02-29T13:34:21.000Z
landmass/src/Render.cpp
DATX02-16-86/Code
70cf4537cf30633a3ab538d3bf0df1d374c88860
[ "MIT" ]
null
null
null
#include <GLUT/glut.h> #include <iostream> #include "Voronoi.h" #include "../../noise/Simplex/simplex.h" #include "Generate.h" ChunkMap hexChunks; void color(double clr) { glColor3d(clr, clr, clr); } void render() { glClear(GL_COLOR_BUFFER_BIT); std::cout << "render cells!\n"; for (auto& kv : hexC...
30.7375
114
0.516335
DATX02-16-86
94857c70d11429b50807f78b330c01aa5153c1a4
2,903
hpp
C++
app/signal_current_candle_trigger/include/offcenter/trading/signalcurrentcandletrigger/SignalCurrentCandleTriggerOptions.hpp
CodeRancher/offcenter_trading
68526fdc0f27d611f748b2fa20f49e743d3ee5eb
[ "Apache-2.0" ]
null
null
null
app/signal_current_candle_trigger/include/offcenter/trading/signalcurrentcandletrigger/SignalCurrentCandleTriggerOptions.hpp
CodeRancher/offcenter_trading
68526fdc0f27d611f748b2fa20f49e743d3ee5eb
[ "Apache-2.0" ]
4
2021-12-27T17:56:21.000Z
2022-01-05T00:05:01.000Z
app/signal_current_candle_trigger/include/offcenter/trading/signalcurrentcandletrigger/SignalCurrentCandleTriggerOptions.hpp
CodeRancher/offcenter_trading
68526fdc0f27d611f748b2fa20f49e743d3ee5eb
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2021 Scott Brauer * * 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 t...
33.367816
109
0.766793
CodeRancher
9487378dfe3d61009dac8db974a6b78dcce1529b
2,469
cpp
C++
test/training_data/plag_original_codes/arc093_b_12283183_536_plag.cpp
xryuseix/SA-Plag
167f7a2b2fa81ff00fd5263772a74c2c5c61941d
[ "MIT" ]
13
2021-01-20T19:53:16.000Z
2021-11-14T16:30:32.000Z
test/training_data/plag_original_codes/arc093_b_12283183_536_plag.cpp
xryuseix/SA-Plag
167f7a2b2fa81ff00fd5263772a74c2c5c61941d
[ "MIT" ]
null
null
null
test/training_data/plag_original_codes/arc093_b_12283183_536_plag.cpp
xryuseix/SA-Plag
167f7a2b2fa81ff00fd5263772a74c2c5c61941d
[ "MIT" ]
null
null
null
/* 引用元:https://atcoder.jp/contests/arc093/tasks/arc093_b D - Grid ComponentsEditorial // ソースコードの引用元 : https://atcoder.jp/contests/arc093/submissions/12283183 // 提出ID : 12283183 // 問題ID : arc093_b // コンテストID : arc093 // ユーザID : xryuseix // コード長 : 2967 // 実行時間 : 2 */ #include <algorithm> #include <bitset> #include <ca...
24.69
80
0.536655
xryuseix
9487cb7830fa96662a96efade4191446a51a794d
1,371
cpp
C++
src/functions/functionreplace.cpp
IngwiePhoenix/IceTea_old
8a49b7c77bde123da2f4bae830362b0e791f03f4
[ "BSD-3-Clause" ]
1
2015-01-16T05:00:53.000Z
2015-01-16T05:00:53.000Z
src/functions/functionreplace.cpp
IngwiePhoenix/IceTea_old
8a49b7c77bde123da2f4bae830362b0e791f03f4
[ "BSD-3-Clause" ]
null
null
null
src/functions/functionreplace.cpp
IngwiePhoenix/IceTea_old
8a49b7c77bde123da2f4bae830362b0e791f03f4
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2007-2014 Xagasoft, All rights reserved. * * This file is part of the Xagasoft Build and is released under the * terms of the license contained in the file LICENSE. */ #include "functionreplace.h" #include <bu/plugger.h> PluginInterface3( pluginFunctionReplace, replace, FunctionReplace, Functi...
23.237288
76
0.560175
IngwiePhoenix
94885731deaa372f39e71c178678f7b8bc153374
11,775
cpp
C++
implementation/cpl_guisystem/cpl_controller/cpl_controllermanager.cpp
cayprogram/cpl_main
9cc8f4c8cf33465506bdb18ddc84340992b16494
[ "MIT" ]
null
null
null
implementation/cpl_guisystem/cpl_controller/cpl_controllermanager.cpp
cayprogram/cpl_main
9cc8f4c8cf33465506bdb18ddc84340992b16494
[ "MIT" ]
null
null
null
implementation/cpl_guisystem/cpl_controller/cpl_controllermanager.cpp
cayprogram/cpl_main
9cc8f4c8cf33465506bdb18ddc84340992b16494
[ "MIT" ]
null
null
null
#include "cpl_controllerframeincludes.h" //local includes. #include <cpl_guiengine/cpl_guiengineframe/cpl_guiengineframeincludes.h> #include "cpl_controller_items/cpl_scriptproxy.h" #include "cpl_controller_items/cpl_plugintreeproxy.h" #include "cpl_controller_items/cpl_fileioproxy.h" #include "cpl_controller_items/cp...
34.632353
94
0.594395
cayprogram
949bfc103304f85c9960f1e26b6d03f5dd748bdd
1,271
cc
C++
HDU/1532_Drainage Ditches/1532.cc
pdszhh/ACM
956b3d03a5d3f070ef24c940b7459f5cccb11d6c
[ "MIT" ]
1
2019-05-05T03:51:20.000Z
2019-05-05T03:51:20.000Z
HDU/1532_Drainage Ditches/1532.cc
pdszhh/ACM
956b3d03a5d3f070ef24c940b7459f5cccb11d6c
[ "MIT" ]
null
null
null
HDU/1532_Drainage Ditches/1532.cc
pdszhh/ACM
956b3d03a5d3f070ef24c940b7459f5cccb11d6c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; struct Edge { int v, cap, rev; Edge (int _v, int _c, int _r) : v(_v), cap(_c), rev(_r) {} }; const int MAXN = 210; const int INF = 1e8; vector<Edge> E[MAXN]; bool used[MAXN]; int dfs(int s, int t, int f) { if (s == t) return f; used[s] = true; ...
21.542373
67
0.402832
pdszhh
94ab6ed9e914585f85c1ed5efa48fb6d11c08486
11,738
hxx
C++
opencascade/gp_Cone.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/gp_Cone.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/gp_Cone.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 1991-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 as published ...
36.006135
130
0.635457
mgreminger
94b05095f020c09ed466e871062eb8f8aff90a12
8,425
cpp
C++
src/win32/oaPixelFormat.cpp
GPUOpen-Tools/common-src-AMDTOSAPIWrappers
7bef652893dde91ccacaa88c17f4940ed5ebf28a
[ "MIT" ]
1
2017-01-28T14:13:25.000Z
2017-01-28T14:13:25.000Z
src/win32/oaPixelFormat.cpp
GPUOpen-Tools/common-src-AMDTOSAPIWrappers
7bef652893dde91ccacaa88c17f4940ed5ebf28a
[ "MIT" ]
null
null
null
src/win32/oaPixelFormat.cpp
GPUOpen-Tools/common-src-AMDTOSAPIWrappers
7bef652893dde91ccacaa88c17f4940ed5ebf28a
[ "MIT" ]
1
2019-11-01T23:07:22.000Z
2019-11-01T23:07:22.000Z
//===================================================================== // Copyright 2016 (c), Advanced Micro Devices, Inc. All rights reserved. // /// \author AMD Developer Tools Team /// \file oaPixelFormat.cpp /// //===================================================================== //----------------------------...
42.125
181
0.609496
GPUOpen-Tools
94b1598339c66d4afa9c5d327b1dbf6c0ca7539f
4,718
cpp
C++
Engine/Core/Clock.cpp
achen889/Warlockery_Engine
160a14e85009057f4505ff5380a8c17258698f3e
[ "MIT" ]
null
null
null
Engine/Core/Clock.cpp
achen889/Warlockery_Engine
160a14e85009057f4505ff5380a8c17258698f3e
[ "MIT" ]
null
null
null
Engine/Core/Clock.cpp
achen889/Warlockery_Engine
160a14e85009057f4505ff5380a8c17258698f3e
[ "MIT" ]
null
null
null
//============================================================================================================== //Clock.cpp //by Albert Chen Oct-20-2015. //============================================================================================================== #include "Clock.hpp" //===========================...
27.91716
131
0.453794
achen889
94b3bc32aed040e4244eff2656868bc46f9c1ff9
5,874
cpp
C++
src/Components.cpp
leiradel/lrcpp
17e5d833886e642ca4af16e255a5ca58b170a324
[ "MIT" ]
8
2021-01-10T00:44:34.000Z
2021-11-26T02:03:43.000Z
src/Components.cpp
leiradel/lrcpp
17e5d833886e642ca4af16e255a5ca58b170a324
[ "MIT" ]
null
null
null
src/Components.cpp
leiradel/lrcpp
17e5d833886e642ca4af16e255a5ca58b170a324
[ "MIT" ]
null
null
null
#include <lrcpp/Components.h> #include <string.h> #include <stdlib.h> void lrcpp::Logger::debug(char const* format, ...) { va_list args; va_start(args, format); vprintf(RETRO_LOG_DEBUG, format, args); va_end(args); } void lrcpp::Logger::info(char const* format, ...) { va_list args; va_start(a...
24.995745
114
0.524345
leiradel
94b5668affd22cd4696cbeef739a2c6a6adab12d
213
cpp
C++
014.cpp
Jalanjii/Algorithms
6b6b01e18c5c6c4bcfa122a269fdab8a47f09b7b
[ "MIT" ]
1
2021-02-01T03:44:33.000Z
2021-02-01T03:44:33.000Z
014.cpp
Jalanjii/Algorithms
6b6b01e18c5c6c4bcfa122a269fdab8a47f09b7b
[ "MIT" ]
null
null
null
014.cpp
Jalanjii/Algorithms
6b6b01e18c5c6c4bcfa122a269fdab8a47f09b7b
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { freopen("input.txt", "r", stdin); freopen("output.txt", "w", stdout); int n1, n2; cin >> n1 >> n2; if ((n1 % 2) != 0) cout << n1; else cout << n2; }
15.214286
36
0.558685
Jalanjii
94b804fb2886ffa4591ceacdc3fd0a90626c8ea3
7,275
cpp
C++
util/processinfo_osx.cpp
RedBeard0531/mongo_utils
402c2023df7d67609ce9da8e405bf13cdd270e20
[ "Apache-2.0" ]
1
2018-03-14T21:48:43.000Z
2018-03-14T21:48:43.000Z
util/processinfo_osx.cpp
RedBeard0531/mongo_utils
402c2023df7d67609ce9da8e405bf13cdd270e20
[ "Apache-2.0" ]
null
null
null
util/processinfo_osx.cpp
RedBeard0531/mongo_utils
402c2023df7d67609ce9da8e405bf13cdd270e20
[ "Apache-2.0" ]
null
null
null
// processinfo_darwin.cpp /* Copyright 2009 10gen 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 requ...
31.223176
99
0.663368
RedBeard0531
94b82c58694b5425ff49653f6dc49f7d7933b862
3,066
cpp
C++
netvid_slice.cpp
trylle/netvid
ae3f6a54a195b43777654fecc44b431668274da2
[ "MIT" ]
null
null
null
netvid_slice.cpp
trylle/netvid
ae3f6a54a195b43777654fecc44b431668274da2
[ "MIT" ]
null
null
null
netvid_slice.cpp
trylle/netvid
ae3f6a54a195b43777654fecc44b431668274da2
[ "MIT" ]
null
null
null
#include <fstream> #include <iostream> #include <chrono> #include <boost/program_options.hpp> #include <boost/asio/steady_timer.hpp> #include "check.h" #include "protocol.h" #include "net.h" using namespace boost; using namespace boost::asio; using namespace boost::asio::ip; namespace po=boost::program_options; typ...
21.9
210
0.667645
trylle
94bd4f3685478255ef7e686c8701cb6030b395d3
1,030
cpp
C++
src/caesarify.cpp
urlordjames/caesargui
0a382f7887365adab07016ff3f26d5cb10343d1e
[ "MIT" ]
null
null
null
src/caesarify.cpp
urlordjames/caesargui
0a382f7887365adab07016ff3f26d5cb10343d1e
[ "MIT" ]
null
null
null
src/caesarify.cpp
urlordjames/caesargui
0a382f7887365adab07016ff3f26d5cb10343d1e
[ "MIT" ]
null
null
null
#include <iostream> #include "caesarify.h" Caesar::Caesar() { auto build_error = program.build(); if (build_error != 0) { std::cout << "BUILD ERROR: " << build_error << std::endl; std::string log; program.getBuildInfo(device, CL_PROGRAM_BUILD_LOG, &log); std::cout << log << std::endl; } } std::...
27.837838
93
0.68835
urlordjames
94bfc43209acc9d7e4aa16a87436fee814725559
607
hpp
C++
GoPokemon/Entitites/Pokeball.hpp
jesusmartinoza/GoPokemon
99985cd87414d4232698231a08a909e630fc4b9b
[ "MIT" ]
1
2021-01-28T19:46:05.000Z
2021-01-28T19:46:05.000Z
GoPokemon/Entitites/Pokeball.hpp
jesusmartinoza/GoPokemon
99985cd87414d4232698231a08a909e630fc4b9b
[ "MIT" ]
null
null
null
GoPokemon/Entitites/Pokeball.hpp
jesusmartinoza/GoPokemon
99985cd87414d4232698231a08a909e630fc4b9b
[ "MIT" ]
null
null
null
// // Pokeball.hpp // GoPokemon // // Created by Jesús Martínez on 23/03/17. // Copyright © 2017 Jesús Alberto Martínez Mendoza. All rights reserved. // #ifndef Pokeball_hpp #define Pokeball_hpp #include <stdio.h> #include "ObjModel.hpp" class Pokeball: public ObjModel { private: vector<ObjVertex> pathPoints...
18.96875
73
0.678748
jesusmartinoza
94c91e002d67e4a69f6248b6a86806eee688b682
1,711
cc
C++
flare/net/cos/ops/object/get_object.cc
AriCheng/flare
b2c84588fe4ac52f0875791d22284d7e063fd057
[ "CC-BY-3.0", "BSD-2-Clause", "BSD-3-Clause" ]
868
2021-05-28T04:00:22.000Z
2022-03-31T08:57:14.000Z
flare/net/cos/ops/object/get_object.cc
AriCheng/flare
b2c84588fe4ac52f0875791d22284d7e063fd057
[ "CC-BY-3.0", "BSD-2-Clause", "BSD-3-Clause" ]
33
2021-05-28T08:44:47.000Z
2021-09-26T13:09:21.000Z
flare/net/cos/ops/object/get_object.cc
AriCheng/flare
b2c84588fe4ac52f0875791d22284d7e063fd057
[ "CC-BY-3.0", "BSD-2-Clause", "BSD-3-Clause" ]
122
2021-05-28T08:22:23.000Z
2022-03-29T09:52:09.000Z
// Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the BSD 3-Clause License (the "License"); you may not use this // file except in compliance with the License. You may obtain a copy of the // License at // // https://opensource.org/licenses/BSD-3-Clause // // Unless req...
34.22
80
0.674459
AriCheng
94d14cfc34bac6738838e924021fd68708994cff
2,873
cpp
C++
tests/test-time-precise.cpp
Lord-KA/Matrix
eedb363b98e9bcb1a993802d214c9708bafe1842
[ "MIT" ]
1
2021-07-03T19:04:41.000Z
2021-07-03T19:04:41.000Z
tests/test-time-precise.cpp
Lord-KA/Matrix
eedb363b98e9bcb1a993802d214c9708bafe1842
[ "MIT" ]
null
null
null
tests/test-time-precise.cpp
Lord-KA/Matrix
eedb363b98e9bcb1a993802d214c9708bafe1842
[ "MIT" ]
null
null
null
#include "../Matrix.hpp" #include <chrono> #include <vector> #include <iostream> static size_t counter = -1; static constexpr size_t basicSize = 1e4; static constexpr size_t passes = 1e1; void test_0() { Matrix<int> M1(basicSize, basicSize), M2(basicSize, basicSize), M3; M1.FillMatrixRandom(); M2...
24.347458
133
0.584058
Lord-KA
94d1a776cb829eb0e66fefdbc619e409cbe2eb7a
3,072
cpp
C++
src/core/cpp/resource/SoundHolder.cpp
NeroGames/Nero-Game-Engine
8543b8bb142738aa28bc20e929b342d3e6df066e
[ "MIT" ]
26
2020-09-02T18:14:36.000Z
2022-02-08T18:28:36.000Z
src/core/cpp/resource/SoundHolder.cpp
sk-landry/Nero-Game-Engine
8543b8bb142738aa28bc20e929b342d3e6df066e
[ "MIT" ]
14
2020-08-30T01:37:04.000Z
2021-07-19T20:47:29.000Z
src/core/cpp/resource/SoundHolder.cpp
sk-landry/Nero-Game-Engine
8543b8bb142738aa28bc20e929b342d3e6df066e
[ "MIT" ]
6
2020-09-02T18:14:57.000Z
2021-12-31T00:32:09.000Z
//////////////////////////////////////////////////////////// // Nero Game Engine // Copyright (c) 2016-2020 Sanou A. K. Landry //////////////////////////////////////////////////////////// ///////////////////////////HEADERS/////////////////////////// //NERO #include <Nero/core/cpp/resource/SoundHolder.h> #include <Nero/...
22.925373
99
0.607747
NeroGames
94d8e4121cf6801cd4280ba102d7fafd35ec0115
13,314
cpp
C++
driver/umd/src/job_base.cpp
dejsha01/armchina-zhouyi
5de86bbdb5dc4184df4348d64cd152db0dbf9a96
[ "MIT" ]
null
null
null
driver/umd/src/job_base.cpp
dejsha01/armchina-zhouyi
5de86bbdb5dc4184df4348d64cd152db0dbf9a96
[ "MIT" ]
null
null
null
driver/umd/src/job_base.cpp
dejsha01/armchina-zhouyi
5de86bbdb5dc4184df4348d64cd152db0dbf9a96
[ "MIT" ]
null
null
null
/********************************************************************************** * This file is CONFIDENTIAL and any use by you is subject to the terms of the * agreement between you and Arm China or the terms of the agreement between you * and the party authorised by Arm China to disclose this file to you. * Th...
28.943478
103
0.614842
dejsha01
94dd9e840b5fa259bc99a63f5aa06f9894a5fe09
652
hpp
C++
src/standard/bits/DD_GetPackBack.hpp
iDingDong/libDDCPP-old
841260fecc84330ff3bfffba7263f5318f0b4655
[ "BSD-3-Clause" ]
1
2018-06-01T03:29:34.000Z
2018-06-01T03:29:34.000Z
src/standard/bits/DD_GetPackBack.hpp
iDingDong/libDDCPP-old
841260fecc84330ff3bfffba7263f5318f0b4655
[ "BSD-3-Clause" ]
null
null
null
src/standard/bits/DD_GetPackBack.hpp
iDingDong/libDDCPP-old
841260fecc84330ff3bfffba7263f5318f0b4655
[ "BSD-3-Clause" ]
null
null
null
// DDCPP/standard/bits/DD_GetPackBack.hpp #ifndef DD_GET_PACK_BACK_HPP_INCLUDED_ # define DD_GET_PACK_BACK_HPP_INCLUDED_ 1 # if __cplusplus < 201103L # error ISO/IEC 14882:2011 or a later version support is required for'DD::GetPackBack'. # endif # include "DD_global_definitions.hpp" DD_BEGIN_ template <typena...
15.162791
88
0.76227
iDingDong
94de103ab215f5bd98846c02496034e16e52e1d8
3,134
cpp
C++
src/GdfEdit2/MainFrm.cpp
hogsy/xtread
9d4eaf2778b8b687256788c7617b19542986bf32
[ "MIT" ]
1
2019-07-20T12:10:20.000Z
2019-07-20T12:10:20.000Z
src/GdfEdit2/MainFrm.cpp
hogsy/xtread
9d4eaf2778b8b687256788c7617b19542986bf32
[ "MIT" ]
null
null
null
src/GdfEdit2/MainFrm.cpp
hogsy/xtread
9d4eaf2778b8b687256788c7617b19542986bf32
[ "MIT" ]
null
null
null
// MainFrm.cpp : implementation of the CMainFrame class // #include "stdafx.h" #include "GdfEdit2.h" #include "MainFrm.h" #include "Splash.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// ...
23.214815
88
0.666879
hogsy
94dffeab13fe3f118ad3cb894df08fa3013e49be
1,758
cpp
C++
gcd_lcm/gcd_sum/abc162_e.cpp
Takumi1122/data-structure-algorithm
6b9f26e4dbba981f034518a972ecfc698b86d837
[ "MIT" ]
null
null
null
gcd_lcm/gcd_sum/abc162_e.cpp
Takumi1122/data-structure-algorithm
6b9f26e4dbba981f034518a972ecfc698b86d837
[ "MIT" ]
null
null
null
gcd_lcm/gcd_sum/abc162_e.cpp
Takumi1122/data-structure-algorithm
6b9f26e4dbba981f034518a972ecfc698b86d837
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); ++i) using namespace std; using ll = long long; using P = pair<int, int>; /* 参考リンク ABC 162 E - Sum of gcd of Tuples (Hard) https://atcoder.jp/contests/abc162/tasks/abc162_e */ const int mod = 1000000007; struct mint { ll x; // typede...
25.114286
69
0.527304
Takumi1122
94eae3b4d50e2696f4c8a78637329bcde007b08c
1,333
cpp
C++
OverlordEditor/Materials/Deferred/DiffuseMaterial_Deferred.cpp
Ruvah/Overlord-Editor
3193b4986b10edb0fa8fdbc493ee3b05fdea217d
[ "Apache-2.0" ]
1
2018-11-28T12:30:13.000Z
2018-11-28T12:30:13.000Z
OverlordEditor/Materials/Deferred/DiffuseMaterial_Deferred.cpp
Ruvah/Overlord-Editor
3193b4986b10edb0fa8fdbc493ee3b05fdea217d
[ "Apache-2.0" ]
null
null
null
OverlordEditor/Materials/Deferred/DiffuseMaterial_Deferred.cpp
Ruvah/Overlord-Editor
3193b4986b10edb0fa8fdbc493ee3b05fdea217d
[ "Apache-2.0" ]
2
2019-12-28T12:34:51.000Z
2021-03-08T08:37:33.000Z
#include "stdafx.h" #include "DiffuseMaterial_Deferred.h" #include "..\OverlordEngine\ContentManager.h" #include "..\OverlordEngine\TextureData.h" ID3DX11EffectShaderResourceVariable* DiffuseMaterial_Deferred::m_pDiffuseSRVvariable = nullptr; DiffuseMaterial_Deferred::DiffuseMaterial_Deferred() : Material(L"./Re...
26.66
117
0.80045
Ruvah
94f66dbf8aed330a17508647a1740f8b220076e0
4,597
cpp
C++
host/run.cpp
Zottel/opencl_scad_experiment
9226de57b05958f0299de5c2b7a8c197590f1500
[ "Apache-2.0" ]
null
null
null
host/run.cpp
Zottel/opencl_scad_experiment
9226de57b05958f0299de5c2b7a8c197590f1500
[ "Apache-2.0" ]
null
null
null
host/run.cpp
Zottel/opencl_scad_experiment
9226de57b05958f0299de5c2b7a8c197590f1500
[ "Apache-2.0" ]
null
null
null
// Copyright 2018 Julius Roob <julius@juliusroob.de> // // 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...
30.443709
88
0.693061
Zottel
94fbde35b52820a84c9cf9ae1cf170b361c1b524
3,266
cpp
C++
source/unit_tests/regex_crossword_solver_exception.unit_tests.cpp
antoine-trux/regex-crossword-solver
3d4cfe3b973e44f5250f5438ce6b4b696ecd3cd7
[ "MIT" ]
6
2016-10-28T10:24:47.000Z
2021-02-23T00:44:02.000Z
source/unit_tests/regex_crossword_solver_exception.unit_tests.cpp
antoine-trux/regex-crossword-solver
3d4cfe3b973e44f5250f5438ce6b4b696ecd3cd7
[ "MIT" ]
null
null
null
source/unit_tests/regex_crossword_solver_exception.unit_tests.cpp
antoine-trux/regex-crossword-solver
3d4cfe3b973e44f5250f5438ce6b4b696ecd3cd7
[ "MIT" ]
2
2017-03-09T09:19:29.000Z
2021-02-23T00:44:13.000Z
// Copyright (c) 2016 Antoine Trux // // The original version is available at // http://solving-regular-expression-crosswords.blogspot.com // // 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 Softwar...
34.378947
80
0.687385
antoine-trux
94fe68fb560050eadd38c624aa3e1cc23bc01ec3
9,644
cc
C++
fuzzers/tint_regex_fuzzer/regex_fuzzer_tests.cc
haocxy/mirror-googlesource-dawn-tint
44a0adf9b47c22a7b2f392f30aaf59811f56d6ee
[ "Apache-2.0" ]
null
null
null
fuzzers/tint_regex_fuzzer/regex_fuzzer_tests.cc
haocxy/mirror-googlesource-dawn-tint
44a0adf9b47c22a7b2f392f30aaf59811f56d6ee
[ "Apache-2.0" ]
null
null
null
fuzzers/tint_regex_fuzzer/regex_fuzzer_tests.cc
haocxy/mirror-googlesource-dawn-tint
44a0adf9b47c22a7b2f392f30aaf59811f56d6ee
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 The Tint 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 law or agreed ...
36.11985
80
0.607735
haocxy
94fee021c5db08375ed9717e0bfcf13702b3f5fc
2,365
cpp
C++
game/client/sdk/ios_pitchtextureproxy.cpp
IOSoccer/IOS
f572c993c8c551cb87facfc68388f3dd368d1d9f
[ "MIT" ]
6
2015-02-24T04:25:14.000Z
2016-06-26T16:04:57.000Z
game/client/sdk/ios_pitchtextureproxy.cpp
IOSoccer/IOS
f572c993c8c551cb87facfc68388f3dd368d1d9f
[ "MIT" ]
184
2015-01-01T09:40:16.000Z
2016-06-26T14:18:33.000Z
game/client/sdk/ios_pitchtextureproxy.cpp
IOSoccer/IOS
f572c993c8c551cb87facfc68388f3dd368d1d9f
[ "MIT" ]
5
2015-07-26T10:09:33.000Z
2015-12-29T23:25:35.000Z
#include "cbase.h" #include "BaseAnimatedTextureProxy.h" #include "materialsystem/IMaterial.h" #include "materialsystem/IMaterialVar.h" #include "materialsystem/ITexture.h" #include "tier1/KeyValues.h" #include "toolframework_client.h" #include "sdk_gamerules.h" #include "ProxyEntity.h" #include "materialsystem/IMateri...
25.706522
113
0.770402
IOSoccer
a2000b23b7e72954683d774af2745d9516d0a567
971
cpp
C++
test/test_auto_buffer.cpp
yiyuanzhong/flinter
c52655ea5f8e48244fdb59bdf34b915faee57a6e
[ "Apache-2.0" ]
29
2016-01-29T09:31:09.000Z
2021-07-11T12:00:31.000Z
test/test_auto_buffer.cpp
yiyuanzhong/flinter
c52655ea5f8e48244fdb59bdf34b915faee57a6e
[ "Apache-2.0" ]
2
2015-03-30T09:59:51.000Z
2017-03-13T09:35:18.000Z
test/test_auto_buffer.cpp
yiyuanzhong/flinter
c52655ea5f8e48244fdb59bdf34b915faee57a6e
[ "Apache-2.0" ]
17
2015-03-28T09:24:53.000Z
2021-08-07T10:09:10.000Z
#include <gtest/gtest.h> #include <stdio.h> #include <vector> #include <flinter/types/auto_buffer.h> #include <flinter/logger.h> TEST(AutoBufferTest, TestCompileWithType) { LOG(INFO) << "BEGIN"; flinter::AutoBuffer<char> buffer(128 * 1024 * 1024); char *p = buffer.get(); printf("%p\n", p); buffe...
21.577778
56
0.563337
yiyuanzhong
a20180f2b4b3f7834b8bc0b47dce6d3be0f3138f
21,756
cpp
C++
DT3Android/HAL.cpp
9heart/DT3
4ba8fd2af3aebb5c0d77036ac3941e83cd4d1c7e
[ "MIT" ]
3
2016-01-27T13:17:18.000Z
2019-03-19T09:18:25.000Z
DT3Android/HAL.cpp
pakoito/DT3
4ba8fd2af3aebb5c0d77036ac3941e83cd4d1c7e
[ "MIT" ]
1
2016-01-28T14:39:49.000Z
2016-01-28T22:12:07.000Z
DT3Android/HAL.cpp
adderly/DT3
e2605be091ec903d3582e182313837cbaf790857
[ "MIT" ]
3
2016-01-25T16:44:51.000Z
2021-01-29T19:59:45.000Z
//============================================================================== /// /// File: HAL.cpp /// /// Copyright (C) 2000-2013 by Smells Like Donkey, Inc. All rights reserved. /// /// This file is subject to the terms and conditions defined in /// file 'LICENSE.txt', which is part of this source code package....
32.375
153
0.579564
9heart
a205c22aed8585f1f228c1ebb0be6a9815b423b6
1,868
hpp
C++
src/mfx/pi/param/MapPseudoLog.hpp
mikelange49/pedalevite
a81bd8a6119c5920995ec91b9f70e11e9379580e
[ "WTFPL" ]
69
2017-01-17T13:17:31.000Z
2022-03-01T14:56:32.000Z
src/mfx/pi/param/MapPseudoLog.hpp
mikelange49/pedalevite
a81bd8a6119c5920995ec91b9f70e11e9379580e
[ "WTFPL" ]
1
2020-11-03T14:52:45.000Z
2020-12-01T20:31:15.000Z
src/mfx/pi/param/MapPseudoLog.hpp
mikelange49/pedalevite
a81bd8a6119c5920995ec91b9f70e11e9379580e
[ "WTFPL" ]
8
2017-02-08T13:30:42.000Z
2021-12-09T08:43:09.000Z
/***************************************************************************** MapPseudoLog.hpp Author: Laurent de Soras, 2016 --- Legal stuff --- This program is free software. It comes without any warranty, to the extent permitted by applicable law. You can redistribute it and/or modify it under th...
17.961538
78
0.518201
mikelange49
a2067596101a56b51688434b9cb6947939177bec
35,317
cpp
C++
build/linux-build/Sources/src/zpp_nape/geom/ZPP_PartitionVertex.cpp
HedgehogFog/TimeOfDeath
b78abacf940e1a88c8b987d99764ebb6876c5dc6
[ "MIT" ]
null
null
null
build/linux-build/Sources/src/zpp_nape/geom/ZPP_PartitionVertex.cpp
HedgehogFog/TimeOfDeath
b78abacf940e1a88c8b987d99764ebb6876c5dc6
[ "MIT" ]
null
null
null
build/linux-build/Sources/src/zpp_nape/geom/ZPP_PartitionVertex.cpp
HedgehogFog/TimeOfDeath
b78abacf940e1a88c8b987d99764ebb6876c5dc6
[ "MIT" ]
null
null
null
// Generated by Haxe 4.0.0-preview.5 #include <hxcpp.h> #ifndef INCLUDED_zpp_nape_geom_ZPP_GeomVert #include <hxinc/zpp_nape/geom/ZPP_GeomVert.h> #endif #ifndef INCLUDED_zpp_nape_geom_ZPP_PartitionVertex #include <hxinc/zpp_nape/geom/ZPP_PartitionVertex.h> #endif #ifndef INCLUDED_zpp_nape_util_ZNPList_ZPP_PartitionVer...
38.346363
227
0.588838
HedgehogFog
a20887c0f0817c9eff6cad1a40075c4e768633a6
1,277
cpp
C++
sources/Application/Model/Phrase.cpp
haiko21/LittleGPTracker
0f137aa67dfd86379b830cc51ba900b9423127ce
[ "BSD-3-Clause" ]
66
2015-01-29T09:12:51.000Z
2022-03-23T19:20:49.000Z
sources/Application/Model/Phrase.cpp
haiko21/LittleGPTracker
0f137aa67dfd86379b830cc51ba900b9423127ce
[ "BSD-3-Clause" ]
18
2015-08-19T19:50:31.000Z
2021-10-12T02:33:09.000Z
sources/Application/Model/Phrase.cpp
haiko21/LittleGPTracker
0f137aa67dfd86379b830cc51ba900b9423127ce
[ "BSD-3-Clause" ]
20
2015-08-19T00:46:57.000Z
2022-03-14T13:44:49.000Z
#include "Phrase.h" #include "System/System/System.h" #include <stdlib.h> #include <string.h> Phrase::Phrase() { int size=PHRASE_COUNT*16 ; // PHRASE_COUNT phrases of 0x10 steps note_=(unsigned char *)SYS_MALLOC(size) ; memset(note_,0xFF,size) ; instr_=(unsigned char *)SYS_MALLOC(size) ; memset(instr_,0xFF,size)...
22.017241
65
0.670321
haiko21
a20db2b15be5a51a85167c4bb1c948c5cc45ade1
10,192
cpp
C++
tests/kfdtest/src/KFDDBGTest.cpp
candrews/ROCT-Thunk-Interface
4872523c79daaaf6f2c117ebe2e79629d51357da
[ "AMDPLPA" ]
null
null
null
tests/kfdtest/src/KFDDBGTest.cpp
candrews/ROCT-Thunk-Interface
4872523c79daaaf6f2c117ebe2e79629d51357da
[ "AMDPLPA" ]
null
null
null
tests/kfdtest/src/KFDDBGTest.cpp
candrews/ROCT-Thunk-Interface
4872523c79daaaf6f2c117ebe2e79629d51357da
[ "AMDPLPA" ]
null
null
null
/* * Copyright (C) 2016-2018 Advanced Micro Devices, Inc. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the ...
34.90411
130
0.624019
candrews
a20ec08e2ed2f6f95bc0caf5d1a16ed4471af97a
6,834
cpp
C++
src/ReadProvider.cpp
monsanto-pinheiro/ngmlr
8d7677929001d1d13c6b4593c409a52044180dca
[ "MIT" ]
239
2017-01-18T15:14:34.000Z
2022-03-09T10:44:08.000Z
src/ReadProvider.cpp
monsanto-pinheiro/ngmlr
8d7677929001d1d13c6b4593c409a52044180dca
[ "MIT" ]
96
2017-01-13T15:03:29.000Z
2022-02-07T14:27:18.000Z
src/ReadProvider.cpp
monsanto-pinheiro/ngmlr
8d7677929001d1d13c6b4593c409a52044180dca
[ "MIT" ]
44
2017-03-17T20:31:08.000Z
2021-12-02T07:27:09.000Z
/** * Contact: philipp.rescheneder@gmail.com */ #include "ReadProvider.h" #include <zlib.h> #include <stdio.h> #include <algorithm> #include <cmath> #include <limits.h> #include "IConfig.h" #include "Log.h" #include "Timing.h" #include "CS.h" #include "MappedRead.h" #include "FastxParser.h" //#include "BamParser.h...
24.494624
111
0.635353
monsanto-pinheiro
a2194dc212cac9393c009ba3a6d09d5ce07b0c01
2,858
cpp
C++
SRM628/CircuitsConstruction.cpp
CanoeFZH/SRM
02e3eeaa6044b14640e450725f68684e392009cb
[ "MIT" ]
null
null
null
SRM628/CircuitsConstruction.cpp
CanoeFZH/SRM
02e3eeaa6044b14640e450725f68684e392009cb
[ "MIT" ]
null
null
null
SRM628/CircuitsConstruction.cpp
CanoeFZH/SRM
02e3eeaa6044b14640e450725f68684e392009cb
[ "MIT" ]
null
null
null
// BEGIN CUT HERE // END CUT HERE #include <sstream> #include <cstdio> #include <cstdlib> #include <iostream> #include <cstring> #include <algorithm> #include <cmath> #include <vector> #include <map> #include <string> #include <set> #include <algorithm> using namespace std; class CircuitsConstruction { public: ...
41.42029
308
0.557383
CanoeFZH
b8c4b1fc318ac457e0fe04dd1953fa207f50517b
584
hpp
C++
src/traderlib/core/bom/currenciesparameters.hpp
AndreaCitrolo/Trader
5ebaff6d5661471357cb827d3b0c61adafc24b50
[ "MIT" ]
null
null
null
src/traderlib/core/bom/currenciesparameters.hpp
AndreaCitrolo/Trader
5ebaff6d5661471357cb827d3b0c61adafc24b50
[ "MIT" ]
1
2019-11-06T23:15:30.000Z
2019-11-11T10:04:32.000Z
src/traderlib/core/bom/currenciesparameters.hpp
AndreaCitrolo/Trader
5ebaff6d5661471357cb827d3b0c61adafc24b50
[ "MIT" ]
1
2019-11-10T00:01:07.000Z
2019-11-10T00:01:07.000Z
#ifndef CURRENCIESPARAMETERS_HPP #define CURRENCIESPARAMETERS_HPP #include <QMetaType> #include <boost/optional.hpp> #include "basictypes.h" namespace bitinvest { namespace core { namespace bom { struct CurrenciesParameters { CurrenciesParameters(): mId("") {} CurrenciesParameters(const Currenc...
15.783784
62
0.702055
AndreaCitrolo
b8c4e3c791c62d32c08131fce8004b3201f97611
907
cpp
C++
Extensions/ImGui/ImGui.cpp
LinkClinton/MinesweeperVersus
fc5d4fa8aa7e2b6d4fd798d52a1614c243f4e308
[ "MIT" ]
1
2019-11-30T07:12:32.000Z
2019-11-30T07:12:32.000Z
Extensions/ImGui/ImGui.cpp
LinkClinton/MinesweeperVersus
fc5d4fa8aa7e2b6d4fd798d52a1614c243f4e308
[ "MIT" ]
null
null
null
Extensions/ImGui/ImGui.cpp
LinkClinton/MinesweeperVersus
fc5d4fa8aa7e2b6d4fd798d52a1614c243f4e308
[ "MIT" ]
null
null
null
#include "ImGui.hpp" void ImGui::BeginPropertyTable(const char* name) { Columns(2, name); Separator(); } void ImGui::Property(const char* name, const std::function<void()>& contentCall) { AlignTextToFramePadding(); Text(name); NextColumn(); AlignTextToFramePadding(); contentCall(); NextColumn(); } void ImGu...
17.784314
80
0.647189
LinkClinton
b8c672a3c45e3adc9548893af7c5003f8fc78eee
295
cpp
C++
Source/Core/GL_Classes/UBO.cpp
swr06/Glide3D
f37ba0365b8a6131996d966f0472f7d50d4f303f
[ "MIT" ]
37
2020-09-10T17:45:10.000Z
2022-02-16T10:59:41.000Z
Source/Core/GL_Classes/UBO.cpp
swr06/Glide3D
f37ba0365b8a6131996d966f0472f7d50d4f303f
[ "MIT" ]
1
2022-02-16T11:00:46.000Z
2022-02-16T11:00:46.000Z
Source/Core/GL_Classes/UBO.cpp
swr06/Glide3D
f37ba0365b8a6131996d966f0472f7d50d4f303f
[ "MIT" ]
1
2022-02-28T01:42:42.000Z
2022-02-28T01:42:42.000Z
#include "UBO.h" namespace Glide3D { UBO::UBO(GLsizeiptr size) { glGenBuffers(1, &m_UBO); glBindBuffer(GL_UNIFORM_BUFFER, m_UBO); glBufferData(GL_UNIFORM_BUFFER, size, nullptr, GL_STATIC_DRAW); glBindBuffer(GL_UNIFORM_BUFFER, 0); } UBO::~UBO() { glDeleteBuffers(1, &m_UBO); } }
17.352941
65
0.711864
swr06
b8ca5c4d434abc40847e9f55d90373f4fdcfaa3c
9,773
hpp
C++
Sources/epoch_config/Configs/CfgMissions/CfgmissionMilitary.hpp
Schalldampfer/Epoch
9c222bb556c704e4640daba6a5195e2e55df36e1
[ "Naumen", "Condor-1.1", "MS-PL" ]
1
2018-07-05T22:14:29.000Z
2018-07-05T22:14:29.000Z
Sources/epoch_config/Configs/CfgMissions/CfgmissionMilitary.hpp
Schalldampfer/Epoch
9c222bb556c704e4640daba6a5195e2e55df36e1
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
Sources/epoch_config/Configs/CfgMissions/CfgmissionMilitary.hpp
Schalldampfer/Epoch
9c222bb556c704e4640daba6a5195e2e55df36e1
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
class milMissionAccepted{ author = "axeman"; title = "Military Crash Site"; desc = ""; img = ""; simpleTask = 0; triggerCondition = ""; taskLimit = 3; taskCheckTime = 16; triggerDelay = 3; items[] = {""}; itemSpawn = 0; markerType = 0; markerRadius = 250; markerText = ""; initfsm = ""; initsqf = ""; in...
32.905724
275
0.657935
Schalldampfer
b8cac45d6ebb93700e518a743d05ed66389eb4fa
12,097
cpp
C++
src/pipeline/pipelineBuilder.cpp
haddenkim/hush
c003fa327874cf3890da50e8914730974c648f3f
[ "MIT" ]
2
2019-04-28T19:49:15.000Z
2020-06-29T06:04:51.000Z
src/pipeline/pipelineBuilder.cpp
haddenkim/hush
c003fa327874cf3890da50e8914730974c648f3f
[ "MIT" ]
5
2020-03-15T20:17:58.000Z
2020-03-15T21:05:31.000Z
src/pipeline/pipelineBuilder.cpp
haddenkim/hush
c003fa327874cf3890da50e8914730974c648f3f
[ "MIT" ]
null
null
null
#include "pipelineBuilder.h" #include "pipeline/pipeline.h" #include "pipelineBuffer/buffer.h" #include "renderPass/denoise/atrousDenoiserPass.h" #include "renderPass/post/toneMapPass.h" #include "renderPass/raster/rasterGBufferPass.h" #include "renderPass/raster/ssAmbientPass.h" #include "renderPass/raster/ssLightPas...
30.703046
135
0.716872
haddenkim
b8d2dd013a617ba1d952baf69de99106d1898f42
553
cpp
C++
Codeforces/616A.cpp
Alipashaimani/Competitive-programming
5d55567b71ea61e69a6450cda7323c41956d3cb9
[ "MIT" ]
null
null
null
Codeforces/616A.cpp
Alipashaimani/Competitive-programming
5d55567b71ea61e69a6450cda7323c41956d3cb9
[ "MIT" ]
null
null
null
Codeforces/616A.cpp
Alipashaimani/Competitive-programming
5d55567b71ea61e69a6450cda7323c41956d3cb9
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main(){ string s,s2; cin>>s>>s2; if ( s.size()>s2.size()){ reverse ( s2.begin(),s2.end()); while ( s.size()>s2.size()) s2.push_back('0'); reverse ( s2.begin(),s2.end()); } else if ( s2.size()>s.size()){ reverse ( s.begin(),s.end()); while ( s2.size()>...
19.068966
38
0.490054
Alipashaimani
b8d2e6db63e230045d63e9812d70e66896c672b1
433
hpp
C++
graph/ir.hpp
jitMatrix/xiuxian
ba52d11f39957dd14ca34b51ccb5fadb422e6833
[ "Apache-2.0" ]
3
2021-03-08T06:17:55.000Z
2021-04-09T12:50:21.000Z
graph/ir.hpp
jitMatrix/xiuxian
ba52d11f39957dd14ca34b51ccb5fadb422e6833
[ "Apache-2.0" ]
null
null
null
graph/ir.hpp
jitMatrix/xiuxian
ba52d11f39957dd14ca34b51ccb5fadb422e6833
[ "Apache-2.0" ]
null
null
null
#ifndef IR_HPP #define IR_HPP #include <vector> using namespace std; class node { public: int val; vector<node*> neighbors; node() { val = 0; neighbors = vector<node*>(); } node(int _val) { val = _val; neighbors = vector<node*>(); } node(int ...
14.433333
46
0.52194
jitMatrix
b8e2ca8edde474dea2540be789f6d2e6e98c256e
868
cpp
C++
test/son_functional_test.cpp
pdebus/MTVMTL
65a7754b34d1f6a1e86d15e3c2d4346b9418414f
[ "MIT" ]
3
2017-05-08T12:40:46.000Z
2019-06-02T05:11:01.000Z
test/son_functional_test.cpp
pdebus/MTVMTL
65a7754b34d1f6a1e86d15e3c2d4346b9418414f
[ "MIT" ]
null
null
null
test/son_functional_test.cpp
pdebus/MTVMTL
65a7754b34d1f6a1e86d15e3c2d4346b9418414f
[ "MIT" ]
null
null
null
#include <iostream> #define TV_DATA_DEBUG #define TV_FUNC_DEBUG_VERBOSE #define TVMTL_TVMIN_DEBUG_VERBOSE #include <mtvmtl/core/algo_traits.hpp> #include <mtvmtl/core/data.hpp> #include <mtvmtl/core/functional.hpp> int main(int argc, const char *argv[]) { using namespace tvmtl; /* if (argc != 2){ std::cerr <<...
19.727273
65
0.698157
pdebus
b8e5606f8bf3de9743323739af0b762f1169319d
747
cpp
C++
plugins/matchmaker/clientsrc/matchmaker_client.cpp
pretty-wise/link
16a4241c4978136d8c4bd1caab20bdf37df9caaf
[ "Unlicense" ]
null
null
null
plugins/matchmaker/clientsrc/matchmaker_client.cpp
pretty-wise/link
16a4241c4978136d8c4bd1caab20bdf37df9caaf
[ "Unlicense" ]
5
2019-12-27T05:51:10.000Z
2022-02-12T02:24:58.000Z
plugins/matchmaker/clientsrc/matchmaker_client.cpp
pretty-wise/link
16a4241c4978136d8c4bd1caab20bdf37df9caaf
[ "Unlicense" ]
null
null
null
/* * Copywrite 2014-2015 Krzysztof Stasik. All rights reserved. */ #include "plugin/matchmaker/matchmaker_client.h" #include "base/core/macro.h" #include "common/protobuf_stream.h" //#include "protocol/gate.pb.h" namespace Link { namespace Matchmaker { static const Base::LogChannel kMatchLog("match_client"); struc...
19.657895
61
0.717537
pretty-wise
b8e5bc86d88a238786c4eb8bbed4545ee7363d36
336
cpp
C++
GLTFSDK/Source/Extension.cpp
ninerdelta/glTF-SDK
db5c8dfd02f1a027cea63194a6472574cfe8d723
[ "MIT" ]
243
2019-05-22T04:35:22.000Z
2022-03-30T21:04:37.000Z
GLTFSDK/Source/Extension.cpp
ninerdelta/glTF-SDK
db5c8dfd02f1a027cea63194a6472574cfe8d723
[ "MIT" ]
43
2019-05-07T17:37:13.000Z
2022-03-17T12:47:30.000Z
GLTFSDK/Source/Extension.cpp
ninerdelta/glTF-SDK
db5c8dfd02f1a027cea63194a6472574cfe8d723
[ "MIT" ]
64
2019-05-24T14:09:28.000Z
2022-03-13T02:24:27.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include <GLTFSDK/Extension.h> using namespace Microsoft::glTF; bool Extension::operator==(const Extension& rhs) const { return IsEqual(rhs); } bool Extension::operator!=(const Extension& rhs) const { return !ope...
19.764706
60
0.723214
ninerdelta
b8e63b16977d0b2045bb61a09d27080c0688a224
1,879
cpp
C++
UIFrameWork2.6/msgbox.cpp
zlj9328/emokit
113e4841278a4bc970aaea08bc89e0a6d14ec2e4
[ "MIT" ]
null
null
null
UIFrameWork2.6/msgbox.cpp
zlj9328/emokit
113e4841278a4bc970aaea08bc89e0a6d14ec2e4
[ "MIT" ]
null
null
null
UIFrameWork2.6/msgbox.cpp
zlj9328/emokit
113e4841278a4bc970aaea08bc89e0a6d14ec2e4
[ "MIT" ]
null
null
null
#include "msgbox.h" #include "ui_msgbox.h" #include <QFile> #include "IcoHelper/iconhelper.h" MsgBox::MsgBox(QWidget *parent) : QDialog(parent), ui(new Ui::MsgBox) { ui->setupUi(this); this->setWindowFlags(Qt::FramelessWindowHint | Qt::WindowMinMaxButtonsHint); ui->titleWidget->titleInit(tr("Messa...
19.989362
80
0.656732
zlj9328
b8e69be951f5164208d9d02ebaacb268b706ac8d
15,235
cpp
C++
XivAlexander/DllMain.cpp
retaker/XivAlexander
03b64118500c3e6e7c3a035af473ef2bd0303bff
[ "Apache-2.0" ]
345
2021-02-08T18:11:24.000Z
2022-03-25T04:01:23.000Z
XivAlexander/DllMain.cpp
retaker/XivAlexander
03b64118500c3e6e7c3a035af473ef2bd0303bff
[ "Apache-2.0" ]
376
2021-02-12T07:23:57.000Z
2022-03-31T00:05:35.000Z
XivAlexander/DllMain.cpp
retaker/XivAlexander
03b64118500c3e6e7c3a035af473ef2bd0303bff
[ "Apache-2.0" ]
65
2021-02-12T05:47:14.000Z
2022-03-25T03:08:23.000Z
#include "pch.h" #include "DllMain.h" #include <XivAlexander/XivAlexander.h> #include <XivAlexanderCommon/Sqex_CommandLine.h> #include <XivAlexanderCommon/Utils_Win32_Resource.h> #include "App_ConfigRepository.h" #include "App_Misc_CrashMessageBoxHandler.h" #include "App_Misc_Hooks.h" #include "resource.h" #include ...
34.468326
155
0.732786
retaker
b8f7e5fa5d687eac4bfceca514391ac8b42c9151
671
hpp
C++
include/experimental/fundamental/v3/strong/initializer_tags.hpp
jwakely/std-make
f09d052983ace70cf371bb8ddf78d4f00330bccd
[ "BSL-1.0" ]
105
2015-01-24T13:26:41.000Z
2022-02-18T15:36:53.000Z
include/experimental/fundamental/v3/strong/initializer_tags.hpp
jwakely/std-make
f09d052983ace70cf371bb8ddf78d4f00330bccd
[ "BSL-1.0" ]
37
2015-09-04T06:57:10.000Z
2021-09-09T18:01:44.000Z
include/experimental/fundamental/v3/strong/initializer_tags.hpp
jwakely/std-make
f09d052983ace70cf371bb8ddf78d4f00330bccd
[ "BSL-1.0" ]
23
2015-01-27T11:09:18.000Z
2021-10-04T02:23:30.000Z
// 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) // // Copyright (C) 2017 Vicente J. Botet Escriba #error #ifndef JASEL_FUNDAMENTAL_V3_STRONG_INITIALIZER_TAGS_HPP #define JASEL_FUNDAMENTAL_V3_STRONG_INITIALIZER_TA...
20.96875
66
0.76304
jwakely
b8f8496b15af8546ec2b37abb675962d90aefdad
190
cpp
C++
main.cpp
CrafterKolyan/sandbox
ebcec01bf71afddc13a96cd34714bae227731941
[ "MIT" ]
null
null
null
main.cpp
CrafterKolyan/sandbox
ebcec01bf71afddc13a96cd34714bae227731941
[ "MIT" ]
null
null
null
main.cpp
CrafterKolyan/sandbox
ebcec01bf71afddc13a96cd34714bae227731941
[ "MIT" ]
null
null
null
#include <unistd.h> #include <sys/syscall.h> const char message[] = "Hello CrafterKolyan!\n"; int main() { syscall(SYS_write, STDOUT_FILENO, message, sizeof(message) - 1); return 0; }
19
66
0.689474
CrafterKolyan
b8f892c9c1e8a7f65b27ccc016ae05e581cd3968
225
cpp
C++
src/ol/events/EventTarget.cpp
yyk99/olqt
9efbee3c4169a4429dc5c0939cd5c65f52ea6028
[ "Apache-2.0" ]
null
null
null
src/ol/events/EventTarget.cpp
yyk99/olqt
9efbee3c4169a4429dc5c0939cd5c65f52ea6028
[ "Apache-2.0" ]
null
null
null
src/ol/events/EventTarget.cpp
yyk99/olqt
9efbee3c4169a4429dc5c0939cd5c65f52ea6028
[ "Apache-2.0" ]
null
null
null
// // // #include <ol/events/EventTarget.h> ol::events::EventTarget::EventTarget() { } ol::events::EventTarget::~EventTarget() { dispose(); } void ol::events::EventTarget::disposeInternal() { // TODO: implement }
11.25
47
0.644444
yyk99
b8fde86455501b8a86505c5124412573369c7132
10,314
cpp
C++
OpenGL-Laboratory/Src/GLCore/Core/TestsLayerManager.cpp
ishanshLal-tRED/OpenGL-TestSite
6887725e0c268f9949050547578509e06be83eae
[ "Apache-2.0" ]
null
null
null
OpenGL-Laboratory/Src/GLCore/Core/TestsLayerManager.cpp
ishanshLal-tRED/OpenGL-TestSite
6887725e0c268f9949050547578509e06be83eae
[ "Apache-2.0" ]
null
null
null
OpenGL-Laboratory/Src/GLCore/Core/TestsLayerManager.cpp
ishanshLal-tRED/OpenGL-TestSite
6887725e0c268f9949050547578509e06be83eae
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #include "GLCore/Core/TestBase.h" #include "GLCore/Util/Core/Framebuffer.h" #include "TestsLayerManager.h" #include "GLCore/Core/Application.h" #include "imgui/imgui.h" #include "imgui/imgui_internal.h" namespace GLCore { TestsLayerManager::~TestsLayerManager () { for (uint16_t i = 0; i < g_MaxN...
33.927632
269
0.69013
ishanshLal-tRED
770384cb1e9a934299b71b68f4a4acd0af3e0a2c
9,170
cpp
C++
SOURCES/sim/aircraft/ins.cpp
IsraelyFlightSimulator/Negev-Storm
86de63e195577339f6e4a94198bedd31833a8be8
[ "Unlicense" ]
1
2021-02-19T06:06:31.000Z
2021-02-19T06:06:31.000Z
src/sim/aircraft/ins.cpp
markbb1957/FFalconSource
07b12e2c41a93fa3a95b912a2433a8056de5bc4d
[ "BSD-2-Clause" ]
null
null
null
src/sim/aircraft/ins.cpp
markbb1957/FFalconSource
07b12e2c41a93fa3a95b912a2433a8056de5bc4d
[ "BSD-2-Clause" ]
2
2019-08-20T13:35:13.000Z
2021-04-24T07:32:04.000Z
#include "stdhdr.h" #include "aircrft.h" #include "fack.h" #include "airframe.h" #include "otwdrive.h" #include "cpmanager.h" #include "phyconst.h" #include "flightData.h" #include "navsystem.h" void AircraftClass::RunINS(void) { if(INSAlign && INSState(INS_AlignNorm) || INSState(INS_AlignFlight)) { if((OnGroun...
26.57971
136
0.726718
IsraelyFlightSimulator
7705dedcc564861937bf04728ac1ba619966db65
4,386
cpp
C++
Source/Framework/Core/Material/TeShaderVariation.cpp
GameDevery/TweedeFrameworkRedux
69a28fe171db33d00066b97b9b6bf89f6ef3e3a4
[ "MIT" ]
14
2022-02-25T15:52:35.000Z
2022-03-30T18:44:29.000Z
Source/Framework/Core/Material/TeShaderVariation.cpp
GameDevery/TweedeFrameworkRedux
69a28fe171db33d00066b97b9b6bf89f6ef3e3a4
[ "MIT" ]
null
null
null
Source/Framework/Core/Material/TeShaderVariation.cpp
GameDevery/TweedeFrameworkRedux
69a28fe171db33d00066b97b9b6bf89f6ef3e3a4
[ "MIT" ]
1
2022-02-28T09:24:05.000Z
2022-02-28T09:24:05.000Z
#include "TeShaderVariation.h" namespace te { void ShaderDefines::Set(const String& name, float value) { _defines[name] = ToString(value); } void ShaderDefines::Set(const String& name, INT32 value) { _defines[name] = ToString(value); } void ShaderDefines::Set(const String&...
24.366667
81
0.544688
GameDevery
7706c54d3abcbe4973f64b5b51e748082c0c17d3
1,402
cpp
C++
References/Competitive Programming 3/ch8/UVa11065.cpp
eashwaranRaghu/Data-Structures-and-Algorithms
3aad0f1da3d95b572fbb1950c770198bd042a80f
[ "MIT" ]
6
2020-01-29T14:05:56.000Z
2021-04-24T04:37:27.000Z
References/Competitive Programming 3/ch8/UVa11065.cpp
eashwaranRaghu/Data-Structures-and-Algorithms
3aad0f1da3d95b572fbb1950c770198bd042a80f
[ "MIT" ]
null
null
null
References/Competitive Programming 3/ch8/UVa11065.cpp
eashwaranRaghu/Data-Structures-and-Algorithms
3aad0f1da3d95b572fbb1950c770198bd042a80f
[ "MIT" ]
1
2020-05-22T06:37:20.000Z
2020-05-22T06:37:20.000Z
// Gentlemen Agreement #include <bits/stdc++.h> using namespace std; #define FOR(i,a,b) for (int i=(a),_b=(b); i<=_b; i++) #define FORD(i,a,b) for (int i=(a),_b=(b); i>=_b; i--) #define REP(i,n) for (int i=0,_n=(n); i<_n; i++) #define MAXI 62 long long AM[MAXI], dpcon[MAXI]; int V, E, nS, mxS; void backtracking(int...
28.04
75
0.470756
eashwaranRaghu
7709c68620d96fa7b37301a97c8354df9a6573a2
373
cpp
C++
Lecture_Learning/3/1_divisible.cpp
Swapnil-Singh-99/CPP-DSA-Apni-Kaksha
e31d2b4926a3fba7ebeff07419e1ded68c8c73f7
[ "MIT" ]
1
2021-10-11T02:55:05.000Z
2021-10-11T02:55:05.000Z
Lecture_Learning/3/1_divisible.cpp
Swapnil-Singh-99/CPP-DSA-Apni-Kaksha
e31d2b4926a3fba7ebeff07419e1ded68c8c73f7
[ "MIT" ]
null
null
null
Lecture_Learning/3/1_divisible.cpp
Swapnil-Singh-99/CPP-DSA-Apni-Kaksha
e31d2b4926a3fba7ebeff07419e1ded68c8c73f7
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; // continue - it is used to go to the next iteration of the loop // break - it is used to break the loop means stop the loop and get out of it int main(){ // here the numbers divisible by 3 will not get printed for(int i = 0 ; i<=100 ; i++){ if(i%3==0){ ...
26.642857
77
0.589812
Swapnil-Singh-99
77114e5446845b4defbd35281398a6c0621021ee
1,704
cpp
C++
src/interfaces/tui-napalm/main.cpp
Helios-vmg/napalm
15f61c742a4488304583865f35cb286e777112fe
[ "BSD-2-Clause" ]
null
null
null
src/interfaces/tui-napalm/main.cpp
Helios-vmg/napalm
15f61c742a4488304583865f35cb286e777112fe
[ "BSD-2-Clause" ]
null
null
null
src/interfaces/tui-napalm/main.cpp
Helios-vmg/napalm
15f61c742a4488304583865f35cb286e777112fe
[ "BSD-2-Clause" ]
null
null
null
#include <curses.h> #include <Player.h> class Curses{ public: Curses(){ initscr(); start_color(); use_default_colors(); keypad(stdscr, true); noecho(); } ~Curses(){ endwin(); } } curses; const short selected = 2; const short unselected = 1; void f(){ auto window = newwin(10, 20,...
19.586207
44
0.555751
Helios-vmg
7716712cd240d04a5ca444d2f67c6a09e6404c58
13,834
cpp
C++
cwhttp/HttpClient.cpp
hssaaannnn/cwhttp
8faedb45971ab85279987f7fbb0db5ce63d9b401
[ "MIT" ]
null
null
null
cwhttp/HttpClient.cpp
hssaaannnn/cwhttp
8faedb45971ab85279987f7fbb0db5ce63d9b401
[ "MIT" ]
null
null
null
cwhttp/HttpClient.cpp
hssaaannnn/cwhttp
8faedb45971ab85279987f7fbb0db5ce63d9b401
[ "MIT" ]
1
2019-04-16T12:58:35.000Z
2019-04-16T12:58:35.000Z
#include <curl/curl.h> #include "HttpClient.h" #include "ScopedCurl.h" #include "Method.h" #include "Request.h" #include "Response.h" #include "ScopedSList.h" #include "StringUtils.h" #include "Header.h" #include "Logger.h" #include "Cookie.h" #include "CookieJar.h" #include "HeaderContainer.h" #include "ResponseBody....
34.846348
116
0.579876
hssaaannnn
77174de038c23acc56803595107cf040975399fe
1,471
hpp
C++
lib/heif/Srcs/common/avcconfigurationbox.hpp
anzksdk/tifig-by
17a306b27e6e2dd2992e1c0896312047541f4be0
[ "Apache-2.0" ]
null
null
null
lib/heif/Srcs/common/avcconfigurationbox.hpp
anzksdk/tifig-by
17a306b27e6e2dd2992e1c0896312047541f4be0
[ "Apache-2.0" ]
null
null
null
lib/heif/Srcs/common/avcconfigurationbox.hpp
anzksdk/tifig-by
17a306b27e6e2dd2992e1c0896312047541f4be0
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2017, Nokia Technologies Ltd. * All rights reserved. * * Licensed under the Nokia High-Efficiency Image File Format (HEIF) License (the "License"). * * You may not use the High-Efficiency Image File Format except in compliance with the License. * The License accompanies the software and can be fo...
31.978261
115
0.742352
anzksdk
7718dd845ba35459ee42529b261dd9df55e2a0cf
3,162
hpp
C++
rusql/mysql/error_checked.hpp
Wassasin/librusql
207919e5da1e9e49d4c575c81699fcb1d8cd6204
[ "BSD-3-Clause" ]
2
2018-01-16T18:05:21.000Z
2021-02-02T05:04:51.000Z
rusql/mysql/error_checked.hpp
Wassasin/librusql
207919e5da1e9e49d4c575c81699fcb1d8cd6204
[ "BSD-3-Clause" ]
null
null
null
rusql/mysql/error_checked.hpp
Wassasin/librusql
207919e5da1e9e49d4c575c81699fcb1d8cd6204
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <stdexcept> #include <mysql.h> #include <boost/optional.hpp> namespace rusql { namespace mysql { struct SQLError : std::runtime_error { SQLError(std::string msg) : std::runtime_error(msg) {} SQLError(std::string const & function, std::string const & s) : std::runtime_error(functi...
27.025641
108
0.751423
Wassasin
771cb7ed394aef806a1b409d25de91bbf71888f1
172
hpp
C++
include/Utilities/UI.hpp
InDieTasten/IDT.EXP
6d6229d5638297ba061b188edbbe394df33d70b0
[ "MIT" ]
null
null
null
include/Utilities/UI.hpp
InDieTasten/IDT.EXP
6d6229d5638297ba061b188edbbe394df33d70b0
[ "MIT" ]
56
2017-03-30T14:45:29.000Z
2017-03-30T14:46:29.000Z
include/Utilities/UI.hpp
InDieTasten-Legacy/--EXP-old-
6d6229d5638297ba061b188edbbe394df33d70b0
[ "MIT" ]
1
2015-05-08T19:23:51.000Z
2015-05-08T19:23:51.000Z
#ifndef _UI_hpp_ #define _UI_hpp_ #include <SFML\Graphics.hpp> namespace utils { bool hovering(sf::FloatRect object, sf::Vector2i mouse); } #endif // !_UI_hpp_
17.2
58
0.703488
InDieTasten
771cbe14a7cc436cd9c202012543597380b21f4a
1,726
cpp
C++
query_strategies/merge_sum.cpp
shalijiang/efficient-nonmyopic-active-search
6ac08c088dd903ef8a39381380f533889537b9ba
[ "MIT" ]
8
2019-04-17T05:06:44.000Z
2021-02-04T16:57:55.000Z
query_strategies/merge_sum.cpp
shalijiang/efficient-nonmyopic-active-search
6ac08c088dd903ef8a39381380f533889537b9ba
[ "MIT" ]
null
null
null
query_strategies/merge_sum.cpp
shalijiang/efficient-nonmyopic-active-search
6ac08c088dd903ef8a39381380f533889537b9ba
[ "MIT" ]
3
2019-11-06T21:08:59.000Z
2020-06-18T15:20:17.000Z
#include "mex.h" #define P_ARG prhs[0] #define Q_ARG prhs[1] #define TOP_IND_ARG prhs[2] #define REM_GOAL prhs[3] #define SUM_ARG plhs[0] #define ALL_ARG plhs[1] #define P_IND ((int)(top_ind[j]) - 1) void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) { ...
18.76087
54
0.511008
shalijiang
77211d2d41ef39815b3fe06b57875a717a82d084
19,140
cpp
C++
nvgpu/OffsetOps.cpp
uasys/ACF-Coalescing-LLVM
db811bda15bb7c4a951644130ab55f5cb5848351
[ "MIT" ]
1
2020-06-23T00:18:56.000Z
2020-06-23T00:18:56.000Z
nvgpu/OffsetOps.cpp
uasys/ACF-Coalescing-LLVM
db811bda15bb7c4a951644130ab55f5cb5848351
[ "MIT" ]
null
null
null
nvgpu/OffsetOps.cpp
uasys/ACF-Coalescing-LLVM
db811bda15bb7c4a951644130ab55f5cb5848351
[ "MIT" ]
null
null
null
#include "ThreadDepAnalysis.h" #include "OffsetOps.h" using namespace llvm; using namespace std; namespace gpucheck { OffsetValPtr negateCondition(OffsetValPtr& cond) { assert(isa<BinOpOffsetVal>(cond.get())); auto b=dyn_cast<BinOpOffsetVal>(cond.get()); OffsetValPtr lhs = b->lhs; OffsetValPtr rhs ...
38.05169
119
0.621891
uasys
7723eae9b2045d7dbcf632fd16493296ef52a85e
1,395
cpp
C++
p/1k/1598/main.cpp
josedelinux/luogu
f9ce86b8623224512aa3f9e1eecc45d3c89c74e4
[ "MIT" ]
null
null
null
p/1k/1598/main.cpp
josedelinux/luogu
f9ce86b8623224512aa3f9e1eecc45d3c89c74e4
[ "MIT" ]
null
null
null
p/1k/1598/main.cpp
josedelinux/luogu
f9ce86b8623224512aa3f9e1eecc45d3c89c74e4
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define REDIn #define DEBUGn #ifdef DEBUG #define REDI #endif #define MAXROW 400 using namespace std; map<char, int> m; char histogram[MAXROW + 1][26]; // extra 1 for '\0' int main() { #ifdef REDI freopen("input.txt", "r", stdin); #endif int cnt = 0; char ch; while (cin >> ch) {...
18.116883
68
0.467384
josedelinux
77256b1fcab4cbb4f543c7d51afab7e4f336272f
28,945
hpp
C++
include/xtensor-fftw/common.hpp
michaelbacci/xtensor-fftw
0c463ab759d7664a9b25c4382987138151ad74c3
[ "BSD-3-Clause" ]
13
2019-12-13T08:38:55.000Z
2021-06-18T09:01:23.000Z
include/xtensor-fftw/common.hpp
michaelbacci/xtensor-fftw
0c463ab759d7664a9b25c4382987138151ad74c3
[ "BSD-3-Clause" ]
13
2019-11-07T12:15:38.000Z
2022-02-23T14:33:00.000Z
include/xtensor-fftw/common.hpp
michaelbacci/xtensor-fftw
0c463ab759d7664a9b25c4382987138151ad74c3
[ "BSD-3-Clause" ]
5
2019-11-07T11:57:36.000Z
2021-05-15T22:38:37.000Z
/* * xtensor-fftw * Copyright (c) 2017, Patrick Bos * * Distributed under the terms of the BSD 3-Clause License. * * The full license is in the file LICENSE, distributed with this software. * * common.hpp: * Defines the commons datas and functions to wrap original FFTW library. * */ #ifndef XTENSOR_FFTW_CO...
55.663462
259
0.680774
michaelbacci
77287d0087ccb1084c8c55c60899596cbf8beb31
2,537
cpp
C++
sdl2/AdventureInSDL2/TtfScene.cpp
pdpdds/SDLGameProgramming
3af68e2133296f3e7bc3d7454d9301141bca2d5a
[ "BSD-2-Clause" ]
null
null
null
sdl2/AdventureInSDL2/TtfScene.cpp
pdpdds/SDLGameProgramming
3af68e2133296f3e7bc3d7454d9301141bca2d5a
[ "BSD-2-Clause" ]
null
null
null
sdl2/AdventureInSDL2/TtfScene.cpp
pdpdds/SDLGameProgramming
3af68e2133296f3e7bc3d7454d9301141bca2d5a
[ "BSD-2-Clause" ]
null
null
null
/* TtfScene.cpp * * Copyright (C) 2013 Michael Imamura * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
20.459677
80
0.714229
pdpdds
772bb0aef80fd8f0e86d570c82da8e9e0c2b3faf
18,869
cpp
C++
Game/OGRE/OgreMain/src/OgrePlatformInformation.cpp
hackerlank/SourceCode
b702c9e0a9ca5d86933f3c827abb02a18ffc9a59
[ "MIT" ]
4
2021-07-31T13:56:01.000Z
2021-11-13T02:55:10.000Z
Game/OGRE/OgreMain/src/OgrePlatformInformation.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
null
null
null
Game/OGRE/OgreMain/src/OgrePlatformInformation.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
7
2021-08-31T14:34:23.000Z
2022-01-19T08:25:58.000Z
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2006 Torus Knot Software Ltd Also see acknowledgements in Readme.html This program is fre...
36.009542
135
0.54041
hackerlank
7733435e7143ebda874971007f51e93d338fdac9
1,235
cpp
C++
p1807_1.cpp
Alex-Amber/LuoguAlgorithmProblems
ae8abdb6110badc9faf03af1af42ea562ca1170c
[ "MIT" ]
null
null
null
p1807_1.cpp
Alex-Amber/LuoguAlgorithmProblems
ae8abdb6110badc9faf03af1af42ea562ca1170c
[ "MIT" ]
null
null
null
p1807_1.cpp
Alex-Amber/LuoguAlgorithmProblems
ae8abdb6110badc9faf03af1af42ea562ca1170c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; vector<vector<pair<int, int>>> adj_list; vector<int> ind, dists; int main() { ios::sync_with_stdio(false); cin.tie(0); int N, M, u, v, w; cin >> N >> M; adj_list.assign(N, vector<pair<int, int>>()); ind.assign(N, 0); dists.assign(N, INT_MIN); ...
23.75
66
0.425911
Alex-Amber
77361c500e55c8d5444907c6cb026fbaa6548d79
731
cpp
C++
codeforces/a.cpp
Shisir/Online-Judge
e58c32eeb7ca18a19cc2a83ef016f9c3b124370a
[ "MIT" ]
null
null
null
codeforces/a.cpp
Shisir/Online-Judge
e58c32eeb7ca18a19cc2a83ef016f9c3b124370a
[ "MIT" ]
null
null
null
codeforces/a.cpp
Shisir/Online-Judge
e58c32eeb7ca18a19cc2a83ef016f9c3b124370a
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int c[10005], a[10005], n; int main() { long long res = 0LL; scanf("%d", &n); for(int i = 1; i <= n; i++) scanf("%d", &a[i]); for(int i = 1; i <= n; i++) { if(a[i] == 1) { int c = 0; res = 1LL; int pos; for(int...
19.756757
50
0.302326
Shisir
774250248eeab8ddf549e55bb77e82c4fb54447b
1,171
cpp
C++
CharChange.cpp
briangreenery/useless-text-editor
3e0bf11a9f833b88a0a69f2e6f564743b2f9e5b3
[ "Unlicense" ]
4
2018-05-17T11:17:26.000Z
2021-12-01T00:48:43.000Z
CharChange.cpp
briangreenery/useless-text-editor
3e0bf11a9f833b88a0a69f2e6f564743b2f9e5b3
[ "Unlicense" ]
null
null
null
CharChange.cpp
briangreenery/useless-text-editor
3e0bf11a9f833b88a0a69f2e6f564743b2f9e5b3
[ "Unlicense" ]
1
2021-05-31T19:08:00.000Z
2021-05-31T19:08:00.000Z
// CharChange.cpp #include "CharChange.h" #include <algorithm> CharChange::CharChange() : m_start( 0 ) , m_end( 0 ) , m_delta( 0 ) { } CharChange::CharChange( size_t start, size_t count, Type type ) { if ( type == kInsertion ) { m_start = start; m_end = start; m_delta = static_cast<int32_t>( ...
19.847458
73
0.590948
briangreenery
7748882f0590b9f2fd1b6e995f06f6b5951591d4
2,211
cpp
C++
ceppengine/src/ceppengine/modules/windows/windowsinputmodule.cpp
Winded/ceppengine
52a9c1723dc45aba4d85d50e4c919ec8016c8d94
[ "MIT" ]
2
2017-11-13T11:29:03.000Z
2017-11-13T12:09:12.000Z
ceppengine/src/ceppengine/modules/windows/windowsinputmodule.cpp
Winded/ceppengine
52a9c1723dc45aba4d85d50e4c919ec8016c8d94
[ "MIT" ]
null
null
null
ceppengine/src/ceppengine/modules/windows/windowsinputmodule.cpp
Winded/ceppengine
52a9c1723dc45aba4d85d50e4c919ec8016c8d94
[ "MIT" ]
null
null
null
#include "windowsinputmodule.h" namespace cepp { WindowsInputModule::WindowsInputModule() : mMouseScrollDelta(0) { mLastMousePos.x = 0; mLastMousePos.y = 0; for(int i = 0; i < 255; i++) { mKeysPressed[i] = false; mKeysDown[i] = false; mKeysReleased[i] = false; } for(int i ...
20.1
67
0.683401
Winded
7748e2a4123bb3f4c95c0fea82b540dff0b2e7a3
554
cpp
C++
samples/snippets/cpp/VS_Snippets_CLR/Cryptography.KeyNumber/cpp/sample.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
421
2018-04-01T01:57:50.000Z
2022-03-28T15:24:42.000Z
samples/snippets/cpp/VS_Snippets_CLR/Cryptography.KeyNumber/cpp/sample.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
5,797
2018-04-02T21:12:23.000Z
2022-03-31T23:54:38.000Z
samples/snippets/cpp/VS_Snippets_CLR/Cryptography.KeyNumber/cpp/sample.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
1,482
2018-03-31T11:26:20.000Z
2022-03-30T22:36:45.000Z
using namespace System; using namespace System::IO; using namespace System::Text; using namespace System::Security::Cryptography; int main() { //<SNIPPET1> // Create a new CspParameters object. CspParameters^ cspParams = gcnew CspParameters(); // Specify an exchange key. cspParams->Key...
26.380952
82
0.698556
hamarb123
774bf088889c0f77b1479435b754b9e7ab8a73c4
16,784
cpp
C++
Arc/src/Arc/Scene/SceneSerializer.cpp
MohitSethi99/AGE
4291ebeaa4af5b60518bc55eae079fd2cfe55d8f
[ "Apache-2.0" ]
null
null
null
Arc/src/Arc/Scene/SceneSerializer.cpp
MohitSethi99/AGE
4291ebeaa4af5b60518bc55eae079fd2cfe55d8f
[ "Apache-2.0" ]
null
null
null
Arc/src/Arc/Scene/SceneSerializer.cpp
MohitSethi99/AGE
4291ebeaa4af5b60518bc55eae079fd2cfe55d8f
[ "Apache-2.0" ]
null
null
null
#include "arcpch.h" #include "Arc/Scene/SceneSerializer.h" #include "Arc/Scene/Entity.h" #include "Arc/Scene/Components.h" #include <fstream> #include <yaml-cpp/yaml.h> namespace YAML { template<> struct convert<glm::vec2> { static Node encode(const glm::vec2& rhs) { Node node; node.push_back(rhs.x); ...
35.260504
139
0.65908
MohitSethi99
775d46e07c109be26bf81f1dfbb3b3d5529d49fc
398
cpp
C++
06_files_and_io/dll_path_example/main.cpp
Man-Ji/cmake_examples
ba715bdbb6e0e0eb97e37a09f351d9cae1b8da01
[ "MIT" ]
1
2022-02-27T17:38:31.000Z
2022-02-27T17:38:31.000Z
06_files_and_io/dll_path_example/main.cpp
Man-Ji/cmake_examples
ba715bdbb6e0e0eb97e37a09f351d9cae1b8da01
[ "MIT" ]
null
null
null
06_files_and_io/dll_path_example/main.cpp
Man-Ji/cmake_examples
ba715bdbb6e0e0eb97e37a09f351d9cae1b8da01
[ "MIT" ]
null
null
null
#include <GL/freeglut.h> void display() { glClear(GL_COLOR_BUFFER_BIT); glBegin(GL_POLYGON); glVertex2f(-0.5, -0.5); glVertex2f(-0.5, 0.5); glVertex2f(0.5, 0.5); glVertex2f(0.5, -0.5); glEnd(); glFlush(); } int main(int argc, char* argv[]) { glutInit(&argc, argv); glutCreateWindo...
22.111111
34
0.605528
Man-Ji
7760b2b67ebac92d345c3ceb38a0807d21f042be
1,843
cpp
C++
canny_transform/src/CannyTransform.cpp
facontidavide/Exercise_2
b56e432badb2494433c9f3d735483cdc0c99c046
[ "MIT" ]
null
null
null
canny_transform/src/CannyTransform.cpp
facontidavide/Exercise_2
b56e432badb2494433c9f3d735483cdc0c99c046
[ "MIT" ]
null
null
null
canny_transform/src/CannyTransform.cpp
facontidavide/Exercise_2
b56e432badb2494433c9f3d735483cdc0c99c046
[ "MIT" ]
null
null
null
#include <canny_transform/CannyTransform.hpp> const char* WINDOW_NAME = "EdgeDetection"; //#define DEBUG_WINDOW ImageCannyConverter::ImageCannyConverter(ros::NodeHandle& nodehanle) : nh_(nodehanle), it_(nodehanle), low_threshold_(30) { // Subscribe to input video feed and publish output video feed i...
26.710145
93
0.705914
facontidavide
77629daf528a8be25ea3c4cbca692556cabf4d38
8,241
cpp
C++
algo/src/algo_sort.cpp
alex011235/algo
ce36c2673e037a12278117cb036550bee82ecadf
[ "MIT" ]
2
2015-08-16T23:45:23.000Z
2015-10-13T08:12:00.000Z
algo/src/algo_sort.cpp
alex011235/algorithm
ce36c2673e037a12278117cb036550bee82ecadf
[ "MIT" ]
1
2021-03-21T16:33:53.000Z
2021-03-21T16:33:53.000Z
algo/src/algo_sort.cpp
alex011235/algo
ce36c2673e037a12278117cb036550bee82ecadf
[ "MIT" ]
null
null
null
/// /// \brief Source file for sort algorithms. /// \author alex011235 /// \link <a href=https://github.com/alex011235/algo>Algo, Github</a> /// #include "algo_sort.hpp" #include <algorithm> #include <cmath> #include <list> namespace algo::sort { ///////////////////////////////////////////// /// Bubble-sort ////////...
23.545714
94
0.55685
alex011235
77664a641fb849526e079eba88c558d70f86b4fd
241
cpp
C++
inclusion exclusion principle/01_divisible_by_A_or_B.cpp
omkarugale7/cpp
21717ce36a4f0d88e850e8b7205470f812ca1d58
[ "MIT" ]
1
2022-02-23T17:27:42.000Z
2022-02-23T17:27:42.000Z
inclusion exclusion principle/01_divisible_by_A_or_B.cpp
omkarugale7/cpp
21717ce36a4f0d88e850e8b7205470f812ca1d58
[ "MIT" ]
null
null
null
inclusion exclusion principle/01_divisible_by_A_or_B.cpp
omkarugale7/cpp
21717ce36a4f0d88e850e8b7205470f812ca1d58
[ "MIT" ]
null
null
null
//divisible by A or B under n #include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; int an = c / a; int bn = c / b; int ex = c / (a * b); cout << an + bn - ex << endl; return 0; }
17.214286
33
0.477178
omkarugale7
776e0cc3896268c22e56f0a80e187d4dad3130fe
12,123
hpp
C++
include/simple_web_game_server/matchmaking_server.hpp
permutationlock/catacrawl
433c4fa2c48f959691ab8573fdab4c2190bb9422
[ "MIT" ]
6
2021-04-28T21:25:06.000Z
2022-01-23T21:57:28.000Z
include/simple_web_game_server/matchmaking_server.hpp
permutationlock/catacrawl
433c4fa2c48f959691ab8573fdab4c2190bb9422
[ "MIT" ]
null
null
null
include/simple_web_game_server/matchmaking_server.hpp
permutationlock/catacrawl
433c4fa2c48f959691ab8573fdab4c2190bb9422
[ "MIT" ]
null
null
null
/* * Copyright (c) 2020 Daniel Aven Bross * * 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, ...
33.581717
81
0.633837
permutationlock
a5669b1fab7a6f7f6021df4c199a894a73432e0d
759
cpp
C++
05-unit-testing/boost/unit_tests.cpp
yangxl-2014-fe/cmake-examples
0675e0fcb7a4f70dc7ae179fcda520b42e83dd7d
[ "MIT" ]
8,249
2015-12-01T20:22:26.000Z
2022-03-31T09:32:28.000Z
05-unit-testing/boost/unit_tests.cpp
Star2510965709/cmake-examples
2b27fc75c40447c8cf9b371cc21224dd96d6ce45
[ "MIT" ]
43
2015-12-01T15:17:40.000Z
2022-03-18T11:40:54.000Z
05-unit-testing/boost/unit_tests.cpp
Star2510965709/cmake-examples
2b27fc75c40447c8cf9b371cc21224dd96d6ce45
[ "MIT" ]
2,016
2016-11-15T16:27:47.000Z
2022-03-31T07:11:43.000Z
#include <string> #include "Reverse.h" #include "Palindrome.h" #define BOOST_TEST_MODULE VsidCommonTest #include <boost/test/unit_test.hpp> BOOST_AUTO_TEST_SUITE( reverse_tests ) BOOST_AUTO_TEST_CASE( simple ) { std::string toRev = "Hello"; Reverse rev; std::string res = rev.reverse(toRev); BOOST_C...
16.148936
55
0.710145
yangxl-2014-fe
a569f1b2d7918a58878fb57ea66dbf515b550877
8,159
cc
C++
HealpixBaseExtended.cc
bjbuckman/galprop_bb_
076b168f7475b3ba9fb198b6ec2df7be66b1763c
[ "MIT" ]
null
null
null
HealpixBaseExtended.cc
bjbuckman/galprop_bb_
076b168f7475b3ba9fb198b6ec2df7be66b1763c
[ "MIT" ]
null
null
null
HealpixBaseExtended.cc
bjbuckman/galprop_bb_
076b168f7475b3ba9fb198b6ec2df7be66b1763c
[ "MIT" ]
null
null
null
#include "HealpixBaseExtended.h" #include "config.h" #ifdef HAVE_LSCONSTANTS_H #include "lsconstants.h" #endif #include <vector> #include <iterator> #include <algorithm> #include <set> #include <cmath> // this is in HEALPIX V3.11, not in V2.20a. But not needed. AWS20131202 /* int Healpix_Base::ring_above (double z) ...
45.837079
132
0.596887
bjbuckman
a56afe707632f49f877910d723b126e89bfb9c35
769
cpp
C++
LeetCode/GenerateParentheses/generateparentheses.cpp
sharmakarish/CPP-Questions-and-Solutions
a2cbcb7b7de4df2849af352af763a0904f834e56
[ "MIT" ]
42
2021-09-26T18:02:52.000Z
2022-03-15T01:52:15.000Z
LeetCode/GenerateParentheses/generateparentheses.cpp
sharmakarish/CPP-Questions-and-Solutions
a2cbcb7b7de4df2849af352af763a0904f834e56
[ "MIT" ]
404
2021-09-24T19:55:10.000Z
2021-11-03T05:47:47.000Z
LeetCode/GenerateParentheses/generateparentheses.cpp
sharmakarish/CPP-Questions-and-Solutions
a2cbcb7b7de4df2849af352af763a0904f834e56
[ "MIT" ]
140
2021-09-22T20:50:04.000Z
2022-01-22T16:59:09.000Z
#include<iostream> #include<vector> using namespace std; class Solution { public: // Member function will return the anwser of string datatype vector<string> result; vector<string> generateParenthesis(int n) { helper("", n, 0, 0); // Returning the finial answer return result; } ...
24.03125
77
0.555267
sharmakarish
a56c01b623c8fe6c153ce8e35d93f59e2cb9e6a3
2,262
hpp
C++
LevelBattle.hpp
PraiseHelix/Pocket-Animals
fe129e76128b8a986ae59b714b81fc72fde574de
[ "MIT" ]
null
null
null
LevelBattle.hpp
PraiseHelix/Pocket-Animals
fe129e76128b8a986ae59b714b81fc72fde574de
[ "MIT" ]
5
2019-02-01T13:48:16.000Z
2019-02-03T14:02:39.000Z
LevelBattle.hpp
PraiseHelix/PocketAnimals
fe129e76128b8a986ae59b714b81fc72fde574de
[ "MIT" ]
null
null
null
#pragma once #include "..\SGPE\Level.hpp" #include "..\SGPE\GameObject.hpp" #include "GraphicsSFML.hpp" #include "..\BattleSystem\TimeManager.hpp" #include "..\BattleSystem\BattleGraphics.hpp" #include "..\BattleSystem\BattleSystem.hpp" #include "..\BattleSystem\InterLevelData.hpp" #include "..\BattleSystem\BattlePlay...
22.39604
72
0.730327
PraiseHelix
a56e5ae4a07ea758d45934bcc0962785127ba722
1,031
cpp
C++
tute02.cpp
SLIIT-FacultyOfComputing/tutorial-02b-IT21161360
60ce7414f7b72c0ea3831e90e8e18de8d9bd87cd
[ "MIT" ]
null
null
null
tute02.cpp
SLIIT-FacultyOfComputing/tutorial-02b-IT21161360
60ce7414f7b72c0ea3831e90e8e18de8d9bd87cd
[ "MIT" ]
null
null
null
tute02.cpp
SLIIT-FacultyOfComputing/tutorial-02b-IT21161360
60ce7414f7b72c0ea3831e90e8e18de8d9bd87cd
[ "MIT" ]
null
null
null
/*Exercise 2 - Selection Convert the C program given below which calculates an employee's salary to a C++ program. Input Type, Salary, otHours Type = 1 OtRate = 1000 Type = 2 OtRate = 1500 Type = 3 OtRate = 1700 Please Note that the input command in C++ is std::cin. This is a representation of the Keyboard.*/ #incl...
15.621212
98
0.682832
SLIIT-FacultyOfComputing
a5727aefdb51e3fbbfef6e804339b75c777a0700
2,929
cpp
C++
SystemManager.cpp
dsedb/space_deadbeef2
74664f836a21b6ffa6a3944b4d41a8e39c7e5a67
[ "MIT" ]
1
2019-04-24T11:01:38.000Z
2019-04-24T11:01:38.000Z
SystemManager.cpp
dsedb/space_deadbeef2
74664f836a21b6ffa6a3944b4d41a8e39c7e5a67
[ "MIT" ]
null
null
null
SystemManager.cpp
dsedb/space_deadbeef2
74664f836a21b6ffa6a3944b4d41a8e39c7e5a67
[ "MIT" ]
null
null
null
/* -*- mode:C++; coding:utf-8-with-signature -*- * * SystemManager.cpp - Project PetitShooter * * Copyright (c) 2017 Yuji YASUHARA * * 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 w...
27.895238
89
0.754524
dsedb
a574d35e51bce2a6f25705ea3d59646bfe900a3e
681
cpp
C++
src/MazeFactoryEasy.cpp
anqin-gh/minimaze
cfa3df279c75d5fe95a2e69af4569a3981a6f274
[ "MIT" ]
null
null
null
src/MazeFactoryEasy.cpp
anqin-gh/minimaze
cfa3df279c75d5fe95a2e69af4569a3981a6f274
[ "MIT" ]
null
null
null
src/MazeFactoryEasy.cpp
anqin-gh/minimaze
cfa3df279c75d5fe95a2e69af4569a3981a6f274
[ "MIT" ]
null
null
null
#include <new> #include <EnemyLR.h> #include <Goal.h> #include <MazeFactoryEasy.h> #include <Player.h> #include <WallNormal.h> namespace minimaze { Player* MazeFactoryEasy::create_player(int8_t x, int8_t y) const { Player* p = new Player(); p->set_location(x, y); return p; } Enemy* MazeFactoryEasy::create_enemy(...
18.916667
66
0.688693
anqin-gh
a5757f9c7e62686478c045fe0c6f963ef1f00f2d
153
hpp
C++
include/nekoman.hpp
bonohub13/nekoman_speak
f60caa24ee2db88128263c92133a2e93dc9f51f6
[ "MIT" ]
null
null
null
include/nekoman.hpp
bonohub13/nekoman_speak
f60caa24ee2db88128263c92133a2e93dc9f51f6
[ "MIT" ]
null
null
null
include/nekoman.hpp
bonohub13/nekoman_speak
f60caa24ee2db88128263c92133a2e93dc9f51f6
[ "MIT" ]
null
null
null
#pragma once #include <iostream> #include <string> #include <array> namespace nekoman { using namespace std; array<string, 9> get_nekoman(); }
12.75
35
0.69281
bonohub13
a5869e4ebe83dda4b34381154263277f82c30e23
1,919
cpp
C++
cpp/110.balanced-binary-tree.cpp
vermouth1992/Leetcode
0d7dda52b12f9e01d88fc279243742cd8b4bcfd1
[ "MIT" ]
null
null
null
cpp/110.balanced-binary-tree.cpp
vermouth1992/Leetcode
0d7dda52b12f9e01d88fc279243742cd8b4bcfd1
[ "MIT" ]
null
null
null
cpp/110.balanced-binary-tree.cpp
vermouth1992/Leetcode
0d7dda52b12f9e01d88fc279243742cd8b4bcfd1
[ "MIT" ]
null
null
null
/* * @lc app=leetcode id=110 lang=cpp * * [110] Balanced Binary Tree * * https://leetcode.com/problems/balanced-binary-tree/description/ * * algorithms * Easy (45.02%) * Total Accepted: 603.8K * Total Submissions: 1.3M * Testcase Example: '[3,9,20,null,null,15,7]' * * Given a binary tree, determine if ...
21.087912
93
0.565399
vermouth1992
a58886fc5d1553c994b7a6bdc2e62d18c227431d
6,513
cpp
C++
ModuleBanker.cpp
mindcrunch4u/Kernel-Simulator
bc3ffc603a9d2099ae2b3c7879f7e35f7ed5cbd5
[ "MIT" ]
null
null
null
ModuleBanker.cpp
mindcrunch4u/Kernel-Simulator
bc3ffc603a9d2099ae2b3c7879f7e35f7ed5cbd5
[ "MIT" ]
null
null
null
ModuleBanker.cpp
mindcrunch4u/Kernel-Simulator
bc3ffc603a9d2099ae2b3c7879f7e35f7ed5cbd5
[ "MIT" ]
null
null
null
#include <iomanip> #include <sstream> #include "ModuleBanker.h" #include "SystemStatus.h" #include <iostream> #include <utility> #include <vector> using namespace std; #define FALSE 0 #define TRUE 1 int ModuleBanker::findIndexById(int id){ for(int index=0; index<SystemStatus::Max.size(); index++){ if( SystemStatus...
24.393258
147
0.644096
mindcrunch4u
a590f320b058460b91c122deb556efa6fdd8d783
1,155
cc
C++
src/DeletableDc.cc
itsuart/win-cpp-wrappers
a5c85c96cde46a043a2a2d90fe6671e21e8b6253
[ "Unlicense" ]
1
2019-01-11T18:39:14.000Z
2019-01-11T18:39:14.000Z
src/DeletableDc.cc
itsuart/win-cpp-wrappers
a5c85c96cde46a043a2a2d90fe6671e21e8b6253
[ "Unlicense" ]
null
null
null
src/DeletableDc.cc
itsuart/win-cpp-wrappers
a5c85c96cde46a043a2a2d90fe6671e21e8b6253
[ "Unlicense" ]
null
null
null
#pragma comment(lib, "gdi32.lib") #include "DeletableDc.h" #include <utility> namespace helpers { void swap(DeletableDc& lhs, DeletableDc& rhs) noexcept { std::swap(lhs.m_hdc, rhs.m_hdc); } DeletableDc::DeletableDc(HDC hdc) noexcept : m_hdc(hdc) {} DeletableDc::~DeletableDc() noexc...
19.913793
69
0.554978
itsuart
a5935f8a0d4c0faaa058063f6bef00f397bca125
1,679
cc
C++
leetcode/18/main.cc
jinzhao1994/ACM
5846032df31ab000deb57d8cbb8cb4c27c0e955b
[ "WTFPL" ]
2
2015-07-22T01:26:47.000Z
2015-08-30T11:33:19.000Z
leetcode/18/main.cc
jinzhao1994/ACM
5846032df31ab000deb57d8cbb8cb4c27c0e955b
[ "WTFPL" ]
null
null
null
leetcode/18/main.cc
jinzhao1994/ACM
5846032df31ab000deb57d8cbb8cb4c27c0e955b
[ "WTFPL" ]
null
null
null
/* Given an array nums of n integers and an integer target, are there elements a, b, c, and d in nums such that a + b + c + d = target? Find all unique quadruplets in the array which gives the sum of target. Note: The solution set must not contain duplicate quadruplets. Example: Given array nums = [1, 0, -1, 0, -2...
29.982143
79
0.437761
jinzhao1994
a59a6aef12e8498cd2b3406c88c0a3dd900365eb
890
cpp
C++
src/LagrangianState.cpp
adegenna/HardSphereDynamics
0df9aefffbbc5c9c7b96fd689ccc4deb0f3e1507
[ "0BSD" ]
1
2021-09-22T11:22:00.000Z
2021-09-22T11:22:00.000Z
src/LagrangianState.cpp
adegenna/HardSphereDynamics
0df9aefffbbc5c9c7b96fd689ccc4deb0f3e1507
[ "0BSD" ]
null
null
null
src/LagrangianState.cpp
adegenna/HardSphereDynamics
0df9aefffbbc5c9c7b96fd689ccc4deb0f3e1507
[ "0BSD" ]
null
null
null
#include "LagrangianState.h" #include "Inputfile.hpp" #include <stdlib.h> #include <stdio.h> #include <iostream> #include <fstream> #include <istream> #include <random> #include <cmath> #include <iostream> #include <iterator> #include <omp.h> #include <sys/time.h> using namespace std; using namespace Eigen; Lagrangia...
21.707317
78
0.722472
adegenna
a5a2c388af876c7a6f194e5c1d7d9e7410419a75
4,548
cpp
C++
super-mario-dx10/05-SceneManager/main.cpp
HoangTuan0611/Game
64bbf4396ff38d17d3516c1eae687033f954d769
[ "MIT" ]
null
null
null
super-mario-dx10/05-SceneManager/main.cpp
HoangTuan0611/Game
64bbf4396ff38d17d3516c1eae687033f954d769
[ "MIT" ]
null
null
null
super-mario-dx10/05-SceneManager/main.cpp
HoangTuan0611/Game
64bbf4396ff38d17d3516c1eae687033f954d769
[ "MIT" ]
null
null
null
/* ============================================================= INTRODUCTION TO GAME PROGRAMMING SE102 SAMPLE 05 - SCENE MANAGER This sample illustrates how to: 1/ Read scene (textures, sprites, animations and objects) from files 2/ Handle multiple scenes in game Key classes/functions: CScene CPlayScen...
21.760766
113
0.69723
HoangTuan0611
a5a332f16de31f2a10f2003d1391d287a1e3a341
1,147
cpp
C++
src/homework/04_iteration/main.cpp
acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-ryan-f1
d11ef12dda2bf441ad4fde38e7da5a0957a81bd6
[ "MIT" ]
null
null
null
src/homework/04_iteration/main.cpp
acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-ryan-f1
d11ef12dda2bf441ad4fde38e7da5a0957a81bd6
[ "MIT" ]
null
null
null
src/homework/04_iteration/main.cpp
acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-ryan-f1
d11ef12dda2bf441ad4fde38e7da5a0957a81bd6
[ "MIT" ]
null
null
null
//write include statements #include "dna.h" #include<iostream> //write using statements using std::cout; using std::cin; using std::string; /* Write code that prompts user to enter 1 for Get GC Content, or 2 for Get DNA Complement. The program will prompt user for a DNA string and call either get gc content or get ...
23.895833
103
0.665214
acc-cosc-1337-spring-2021
a5a3c9cae05f8d8603b37bb290de0dae8cf56730
10,815
cpp
C++
qws/src/gui/QTableWidgetItem.cpp
keera-studios/hsQt
8aa71a585cbec40005354d0ee43bce9794a55a9a
[ "BSD-2-Clause" ]
42
2015-02-16T19:29:16.000Z
2021-07-25T11:09:03.000Z
qws/src/gui/QTableWidgetItem.cpp
keera-studios/hsQt
8aa71a585cbec40005354d0ee43bce9794a55a9a
[ "BSD-2-Clause" ]
1
2017-11-23T12:49:25.000Z
2017-11-23T12:49:25.000Z
qws/src/gui/QTableWidgetItem.cpp
keera-studios/hsQt
8aa71a585cbec40005354d0ee43bce9794a55a9a
[ "BSD-2-Clause" ]
5
2015-10-15T21:25:30.000Z
2017-11-22T13:18:24.000Z
///////////////////////////////////////////////////////////////////////////// // // File : QTableWidgetItem.cpp // Copyright : (c) David Harley 2010 // Project : qtHaskell // Version : 1.1.4 // Modified : 2010-09-02 17:02:00 // // Warning : this file is machine gene...
33.586957
133
0.713731
keera-studios