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
c45269e5845706f88771b3871fd574a66d75ee87
448
cpp
C++
1486_xor_operator/xor_operator.cpp
Mengsen-W/algorithm
66216b8601e416343a2cc191bd0f2f12eb282262
[ "BSD-3-Clause" ]
null
null
null
1486_xor_operator/xor_operator.cpp
Mengsen-W/algorithm
66216b8601e416343a2cc191bd0f2f12eb282262
[ "BSD-3-Clause" ]
null
null
null
1486_xor_operator/xor_operator.cpp
Mengsen-W/algorithm
66216b8601e416343a2cc191bd0f2f12eb282262
[ "BSD-3-Clause" ]
null
null
null
/* * @Date: 2021-05-07 09:54:19 * @Author: Mengsen Wang * @LastEditors: Mengsen Wang * @LastEditTime: 2021-05-07 10:13:21 */ #include <cassert> int xor_operation(int n, int start) { int ans = 0; for (int i = 0; i < n; ++i) ans ^= (start + i * 2); return ans; } int main() { assert(xor_operation(5, 0) =...
18.666667
53
0.591518
Mengsen-W
c4539a34745485b12b347874352ab80a5395ee8e
19,117
cpp
C++
Tudat/Astrodynamics/OrbitDetermination/ObservationPartials/oneWayDopplerPartial.cpp
sebranchett/tudat
24e5f3cc85c250fcbed0aac37f026c1dd7fd6c44
[ "BSD-3-Clause" ]
null
null
null
Tudat/Astrodynamics/OrbitDetermination/ObservationPartials/oneWayDopplerPartial.cpp
sebranchett/tudat
24e5f3cc85c250fcbed0aac37f026c1dd7fd6c44
[ "BSD-3-Clause" ]
null
null
null
Tudat/Astrodynamics/OrbitDetermination/ObservationPartials/oneWayDopplerPartial.cpp
sebranchett/tudat
24e5f3cc85c250fcbed0aac37f026c1dd7fd6c44
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2010-2019, Delft University of Technology * All rigths reserved * * This file is part of the Tudat. Redistribution and use in source and * binary forms, with or without modification, are permitted exclusively * under the terms of the Modified BSD license. You should have received *...
43.646119
135
0.685359
sebranchett
c455a16c5b15dca9ca5fdf6bace79bae71ac4055
19,519
cc
C++
src/FbCommands.cc
antix-skidoo/fluxbox
b83ee923f4ab2ab51f3b8c14343bda0579e538c6
[ "MIT" ]
null
null
null
src/FbCommands.cc
antix-skidoo/fluxbox
b83ee923f4ab2ab51f3b8c14343bda0579e538c6
[ "MIT" ]
2
2017-05-30T05:21:59.000Z
2018-03-14T07:21:33.000Z
src/FbCommands.cc
antix-skidoo/fluxbox
b83ee923f4ab2ab51f3b8c14343bda0579e538c6
[ "MIT" ]
null
null
null
// FbCommands.cc for Fluxbox // Copyright (c) 2003 - 2008 Henrik Kinnunen (fluxgen at fluxbox dot org) // // 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 wit...
31.94599
162
0.63451
antix-skidoo
c4598c1a7c4685c6d3eb5a0672eff5cb90e94bb8
3,641
cpp
C++
src/explorer/ExplorerManager.cpp
etrange02/Fux
2f49bcd8ec82eb521092c9162e01c8b0d00222ab
[ "CECILL-B" ]
2
2016-03-21T10:48:34.000Z
2017-03-17T19:50:34.000Z
src/explorer/ExplorerManager.cpp
etrange02/Fux
2f49bcd8ec82eb521092c9162e01c8b0d00222ab
[ "CECILL-B" ]
null
null
null
src/explorer/ExplorerManager.cpp
etrange02/Fux
2f49bcd8ec82eb521092c9162e01c8b0d00222ab
[ "CECILL-B" ]
null
null
null
/*************************************************************** * Name: ExplorerManager.cpp * Purpose: Code for Fu(X) 2.0 * Author: David Lecoconnier (david.lecoconnier@free.fr) * Created: 2014-11-19 * Copyright: David Lecoconnier (http://www.getfux.fr) * License: ***********************************...
34.67619
125
0.741005
etrange02
c45a8cb10e463401a536669e28c920cdd3d936c1
10,650
hpp
C++
source/list.hpp
neyustudies/programmiersprachen-aufgabenblatt-3
d8ae2050f578977b4b638504e567b2f525eac772
[ "MIT" ]
null
null
null
source/list.hpp
neyustudies/programmiersprachen-aufgabenblatt-3
d8ae2050f578977b4b638504e567b2f525eac772
[ "MIT" ]
null
null
null
source/list.hpp
neyustudies/programmiersprachen-aufgabenblatt-3
d8ae2050f578977b4b638504e567b2f525eac772
[ "MIT" ]
null
null
null
#ifndef BUW_LIST_HPP #define BUW_LIST_HPP #include <cassert> #include <cstddef> //ptrdiff_t #include <iterator> //std::bidirectional_iterator_tag #include <iostream> #include <vector> #include <initializer_list> template <typename T> class List; template <typename T> struct ListNode { T value = T{}; List...
24.259681
97
0.552958
neyustudies
c45ee3423f70de2efee142b29244ee487186bf62
526
cpp
C++
Exercicio 37.cpp
dariooliveirajr/programming_logic
e1a61edb39f82b59da885b0469f747d3e27b02c6
[ "MIT" ]
null
null
null
Exercicio 37.cpp
dariooliveirajr/programming_logic
e1a61edb39f82b59da885b0469f747d3e27b02c6
[ "MIT" ]
null
null
null
Exercicio 37.cpp
dariooliveirajr/programming_logic
e1a61edb39f82b59da885b0469f747d3e27b02c6
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main () { double A,B,T; char M; cout<<"Digite o primeiro numero: "; cin>>A; cout<<"Digite o segundo numero: "; cin>>B; cout<<"A - Adicao"<<endl<<"S - Subtracao"<<endl<<"D - Divisao"<<endl<<"M - Multiplicacao"<<endl<<"Digite a inicial de qual operacao deseja utilizar: ...
15.939394
152
0.558935
dariooliveirajr
c45f48deedabe4dc6e9cce754d645d3550487950
3,392
cxx
C++
Common/DataModel/vtkClosestNPointsStrategy.cxx
cads-build/VTK
ee0c9688a082c88bfe070afc08f4eb0f0a546487
[ "BSD-3-Clause" ]
null
null
null
Common/DataModel/vtkClosestNPointsStrategy.cxx
cads-build/VTK
ee0c9688a082c88bfe070afc08f4eb0f0a546487
[ "BSD-3-Clause" ]
null
null
null
Common/DataModel/vtkClosestNPointsStrategy.cxx
cads-build/VTK
ee0c9688a082c88bfe070afc08f4eb0f0a546487
[ "BSD-3-Clause" ]
null
null
null
/*========================================================================= Program: Visualization Toolkit Module: vtkClosestNPointsStrategy.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This...
33.92
81
0.589623
cads-build
c460ae7322f7e10917399a6f5e9662ed1a860f72
27,631
cpp
C++
RPGMPackerLib/src/parseData.cpp
erri120/rpgmpacker
ffcb27912abb6e2d57d55a5f844a529754a58516
[ "MIT" ]
15
2021-02-05T18:53:38.000Z
2022-03-26T04:33:57.000Z
RPGMPackerLib/src/parseData.cpp
erri120/rpgmpacker
ffcb27912abb6e2d57d55a5f844a529754a58516
[ "MIT" ]
34
2021-02-08T10:56:02.000Z
2022-02-24T18:27:14.000Z
RPGMPackerLib/src/parseData.cpp
erri120/rpgmpacker
ffcb27912abb6e2d57d55a5f844a529754a58516
[ "MIT" ]
3
2021-04-20T04:32:20.000Z
2021-11-14T21:08:03.000Z
#include "parseData.hpp" #include <set> #include <string> #include <locale> #include <simdjson.h> #include "loggers.h" #include "formatters.hpp" using namespace simdjson; //Bunch of macros to make life easier, CLion has awesome macro function support! #define PARSE_FILE(path) dom::parser parser; \ dom::element do...
34.281638
246
0.617603
erri120
c46c9912d1ec5dba093748113b2d1a3149f73fe0
4,085
hpp
C++
include/seqan3/io/alignment_file/input.hpp
qPCR4vir/seqan3
67ebf427dc1d49fb55e684acc108ed75d224f5d4
[ "CC-BY-4.0", "CC0-1.0" ]
null
null
null
include/seqan3/io/alignment_file/input.hpp
qPCR4vir/seqan3
67ebf427dc1d49fb55e684acc108ed75d224f5d4
[ "CC-BY-4.0", "CC0-1.0" ]
null
null
null
include/seqan3/io/alignment_file/input.hpp
qPCR4vir/seqan3
67ebf427dc1d49fb55e684acc108ed75d224f5d4
[ "CC-BY-4.0", "CC0-1.0" ]
null
null
null
// ----------------------------------------------------------------------------------------------------- // Copyright (c) 2006-2020, Knut Reinert & Freie Universität Berlin // Copyright (c) 2016-2020, Knut Reinert & MPI für molekulare Genetik // This file may be used, modified and/or redistributed under the terms of th...
55.958904
144
0.552754
qPCR4vir
c46d1db1b244626acfd11c8a7b214e5311fc7123
1,498
cc
C++
tests/thread/test_mutex.cc
pmarguinaud/eckit
7df4be9a1cd8f4561de6d41b73d37838d78f13ea
[ "Apache-2.0" ]
null
null
null
tests/thread/test_mutex.cc
pmarguinaud/eckit
7df4be9a1cd8f4561de6d41b73d37838d78f13ea
[ "Apache-2.0" ]
14
2019-09-30T19:24:29.000Z
2020-10-15T16:02:11.000Z
tests/thread/test_mutex.cc
pmarguinaud/eckit
7df4be9a1cd8f4561de6d41b73d37838d78f13ea
[ "Apache-2.0" ]
2
2019-10-17T13:52:08.000Z
2019-11-25T14:53:52.000Z
/* * (C) Copyright 1996- ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an interg...
25.389831
120
0.566756
pmarguinaud
c46e61307b6db8852235f65a869f5faf2405cc21
470
hpp
C++
menu/items/D3DMenuBoolItem.hpp
RequiDev/text_menu
6df4b490de73c2c9c1206253ce1c08fe2e9dcaad
[ "MIT" ]
13
2017-12-12T14:37:31.000Z
2021-09-21T01:36:29.000Z
menu/items/D3DMenuBoolItem.hpp
RequiDev/text_menu
6df4b490de73c2c9c1206253ce1c08fe2e9dcaad
[ "MIT" ]
null
null
null
menu/items/D3DMenuBoolItem.hpp
RequiDev/text_menu
6df4b490de73c2c9c1206253ce1c08fe2e9dcaad
[ "MIT" ]
9
2017-12-12T14:37:33.000Z
2021-09-25T17:52:47.000Z
#pragma once #include "ID3DMenuItem.hpp" class D3DMenuBoolItem : public ID3DMenuItem { public: D3DMenuBoolItem(const std::string& _name, bool& value_ptr, const bool is_sub_item = false) : ID3DMenuItem(_name, is_sub_item), value(value_ptr) { } std::string get_value_text() const override { return value ? "<On>" ...
16.785714
93
0.691489
RequiDev
c46e62cecc3f75821995062237e904ced073676e
8,226
cpp
C++
src/token_index/index_manager_v4_1.cpp
LIN2801112682/token_index
a9cb3602bb5aa0446b151c3d6a8f96ef96e23b53
[ "MIT" ]
4
2021-04-30T06:59:11.000Z
2021-05-10T02:10:18.000Z
src/token_index/index_manager_v4_1.cpp
virgilwjj/token_index
a9cb3602bb5aa0446b151c3d6a8f96ef96e23b53
[ "MIT" ]
null
null
null
src/token_index/index_manager_v4_1.cpp
virgilwjj/token_index
a9cb3602bb5aa0446b151c3d6a8f96ef96e23b53
[ "MIT" ]
1
2021-04-28T06:15:54.000Z
2021-04-28T06:15:54.000Z
#include "token_index/index_manager_v4_1.h" #include "token_index/types.h" #include "token_index/common.h" #include "common/scope_exit.h" #include <iostream> #include <fstream> #include <sstream> #include <cstdlib> #include <algorithm> namespace ti { index_manager_v4_1::index_manager_v4_1() : _inverted_ind...
36.078947
116
0.554218
LIN2801112682
c46e841723c6fcf2cc47196d8f093e3f396861f3
4,600
cpp
C++
Userland/Libraries/LibWeb/HTML/HTMLInputElement.cpp
nickwanninger/serenity
d9290558423bac8ae9fa4cc5fd26171ed120b3dd
[ "BSD-2-Clause" ]
2
2021-11-26T08:23:43.000Z
2021-12-28T20:20:53.000Z
Userland/Libraries/LibWeb/HTML/HTMLInputElement.cpp
nickwanninger/serenity
d9290558423bac8ae9fa4cc5fd26171ed120b3dd
[ "BSD-2-Clause" ]
null
null
null
Userland/Libraries/LibWeb/HTML/HTMLInputElement.cpp
nickwanninger/serenity
d9290558423bac8ae9fa4cc5fd26171ed120b3dd
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright noti...
33.333333
89
0.716087
nickwanninger
c47167816529a0696975f3bb76725157d8cd6d05
9,337
cpp
C++
lib/middleware/src/DataManager.cpp
beryan/Adventure2019
a07b6ffee7ee196d9f499aa145906732ee067af0
[ "MIT" ]
1
2020-03-03T12:16:22.000Z
2020-03-03T12:16:22.000Z
lib/middleware/src/DataManager.cpp
beryan/Adventure2019
a07b6ffee7ee196d9f499aa145906732ee067af0
[ "MIT" ]
null
null
null
lib/middleware/src/DataManager.cpp
beryan/Adventure2019
a07b6ffee7ee196d9f499aa145906732ee067af0
[ "MIT" ]
1
2020-03-03T12:16:23.000Z
2020-03-03T12:16:23.000Z
// // Created by arehal on 1/30/19. // #include "DataManager.h" #include "World.h" #include "Reset.h" #include <iostream> #include <fstream> #include <iomanip> #include <boost/filesystem.hpp> using Json = nlohmann::json; using Door = model::Door; using NPC = model::NPC; using Object = model::Object; using Player = m...
32.876761
163
0.539252
beryan
c474350adab7bf7b0dbba8f75cedcb40d5295551
2,023
cpp
C++
Source/DbPlusEditor/Private/KismetNodes/SGraphNodeFormatQuery.cpp
GeorgeR/DbPlus
dd591bce6709cfb448640b14d2a5e8c7ffd9da8a
[ "Unlicense" ]
null
null
null
Source/DbPlusEditor/Private/KismetNodes/SGraphNodeFormatQuery.cpp
GeorgeR/DbPlus
dd591bce6709cfb448640b14d2a5e8c7ffd9da8a
[ "Unlicense" ]
null
null
null
Source/DbPlusEditor/Private/KismetNodes/SGraphNodeFormatQuery.cpp
GeorgeR/DbPlus
dd591bce6709cfb448640b14d2a5e8c7ffd9da8a
[ "Unlicense" ]
null
null
null
#include "KismetNodes/SGraphNodeFormatQuery.h" #include "Widgets/SBoxPanel.h" #include "GraphEditorSettings.h" #include "K2Node_FormatQuery.h" #include "NodeFactory.h" void SGraphNodeFormatQuery::Construct(const FArguments& Args, UK2Node_FormatQuery* Node) { this->GraphNode = Node; this->SetCursor(EMouseCursor::Card...
28.097222
102
0.7652
GeorgeR
c475442ee0ad7fd492ded5fa01ed1c3018619152
1,366
cpp
C++
lhuelang/definition.cpp
HueStudios/HueLang
3b89d6d88c6b61cc5cd94017280821d2571338e5
[ "MIT" ]
5
2020-06-26T08:54:26.000Z
2020-06-26T16:58:17.000Z
lhuelang/definition.cpp
HueStudios/HueLang
3b89d6d88c6b61cc5cd94017280821d2571338e5
[ "MIT" ]
3
2020-04-28T14:38:26.000Z
2020-05-21T13:41:34.000Z
lhuelang/definition.cpp
HueStudios/HueLang
3b89d6d88c6b61cc5cd94017280821d2571338e5
[ "MIT" ]
null
null
null
#include "definition.h" namespace huelang { unsigned long long DefinitionTable::HashString(const char *str) { unsigned long long hash = 5381; int c; while ((c = *str++)) hash = ((hash << 5) + hash) + c; /* hash * 33 + c */ return hash; } Word DefinitionTable:...
28.458333
73
0.560761
HueStudios
c4757098ab4edf68fb90cc4a5fc515aac3203e82
801
hpp
C++
Sources/IO/Loader/ModelLoader.hpp
ValentinCamus/GIR-Engine
1aa8f6d44f65a00bc19e932ecd5ce98136015ee0
[ "MIT" ]
4
2020-01-21T14:51:29.000Z
2020-02-26T17:02:40.000Z
Sources/IO/Loader/ModelLoader.hpp
ValentinCamus/GIR-Engine
1aa8f6d44f65a00bc19e932ecd5ce98136015ee0
[ "MIT" ]
null
null
null
Sources/IO/Loader/ModelLoader.hpp
ValentinCamus/GIR-Engine
1aa8f6d44f65a00bc19e932ecd5ce98136015ee0
[ "MIT" ]
3
2020-02-18T10:55:46.000Z
2021-11-14T12:02:44.000Z
#pragma once #include <Core/Core.hpp> #include <Engine/Mesh/Mesh.hpp> #include <Engine/Mesh/Model.hpp> #include <Engine/Mesh/VertexArrayObject.hpp> #include <IO/Loader/TextureLoader.hpp> #include <IO/FileSystem/FileSystem.hpp> #include <assimp/Importer.hpp> #include <assimp/scene.h> #include <assimp/postprocess.h> ...
22.25
95
0.710362
ValentinCamus
c476a3493278a4a750fe1401237264232a4b330b
22,778
cxx
C++
MSEL_src/MSEL_core/dbdet_contour_breaker.cxx
yuliangguo/MSEL_contour_extraction_cxx
723893a92370dfe084afd23d9a69d3e2fead2464
[ "MIT" ]
4
2020-04-23T12:28:41.000Z
2021-06-07T05:54:16.000Z
MSEL_src/MSEL_core/dbdet_contour_breaker.cxx
yuliangguo/MSEL_contour_extraction_cxx
723893a92370dfe084afd23d9a69d3e2fead2464
[ "MIT" ]
null
null
null
MSEL_src/MSEL_core/dbdet_contour_breaker.cxx
yuliangguo/MSEL_contour_extraction_cxx
723893a92370dfe084afd23d9a69d3e2fead2464
[ "MIT" ]
1
2017-06-05T18:00:21.000Z
2017-06-05T18:00:21.000Z
#include "dbdet_contour_breaker.h" #include "dbdet_edgel.h" #include <vcl_algorithm.h> #include <vcl_limits.h> #include "bgld_diffgeom.h" #include <vil/algo/vil_colour_space.h> #include <vil/vil_border.h> #include <vcl_iostream.h> #include <vcl_cassert.h> void dbdet_contour_breaker:: dbdet_contour_breaker_geom( ...
36.098257
236
0.603038
yuliangguo
c47b4420c8010ac296a316fd3a3eb098b5f11048
1,339
cpp
C++
sukiNES_StressTest/vbl_nmi_7_nmi_timing.cpp
mlarouche/sukiNES
708fcffa6b05012090d88a0d7ef8c2dc7bf1cc69
[ "Unlicense" ]
null
null
null
sukiNES_StressTest/vbl_nmi_7_nmi_timing.cpp
mlarouche/sukiNES
708fcffa6b05012090d88a0d7ef8c2dc7bf1cc69
[ "Unlicense" ]
null
null
null
sukiNES_StressTest/vbl_nmi_7_nmi_timing.cpp
mlarouche/sukiNES
708fcffa6b05012090d88a0d7ef8c2dc7bf1cc69
[ "Unlicense" ]
null
null
null
// Local includes #include "blaggtestrombase.h" static const char* RomFilename = "vbl_nmi_timing/7.nmi_timing.nes"; class VblNmiTiming_NmiTiming: public BlaggTestRomBase { public: VblNmiTiming_NmiTiming() : BlaggTestRomBase() { setRomFilename(RomFilename); setFinalProgramCounter(0xE58E); setResultRamAddress(...
24.796296
90
0.738611
mlarouche
c4824acfb9dc988f2de59ae5aa1321598e7a7924
1,018
cpp
C++
cpp_algs/graphs/mst/kruskal.cpp
vitalir2/AlgorithmsCpp
f9a1b7a0b51c6f122ff600008d2c0ef72a26502f
[ "MIT" ]
null
null
null
cpp_algs/graphs/mst/kruskal.cpp
vitalir2/AlgorithmsCpp
f9a1b7a0b51c6f122ff600008d2c0ef72a26502f
[ "MIT" ]
null
null
null
cpp_algs/graphs/mst/kruskal.cpp
vitalir2/AlgorithmsCpp
f9a1b7a0b51c6f122ff600008d2c0ef72a26502f
[ "MIT" ]
null
null
null
#include <iostream> #include <queue> #include "weighted_graph.h" #include "union_find.h" class KruskalMST { public: using Edge = WeightedGraph::Edge; KruskalMST(WeightedGraph wgraph) : graph_(wgraph) { this->calculate(); } void calculate() { auto cmp = [](const Edge& lhs, const Edge& rhs) { ret...
20.77551
75
0.576621
vitalir2
c482546694bb6d74a2af82e79c703f8b7765a19a
3,769
cxx
C++
sources/cores/src/default/dmlc_copy_8u_px.cxx
jinjunzh/DML
0c5103dce053fc75f007bc4761359b03cff0c1dc
[ "MIT" ]
null
null
null
sources/cores/src/default/dmlc_copy_8u_px.cxx
jinjunzh/DML
0c5103dce053fc75f007bc4761359b03cff0c1dc
[ "MIT" ]
null
null
null
sources/cores/src/default/dmlc_copy_8u_px.cxx
jinjunzh/DML
0c5103dce053fc75f007bc4761359b03cff0c1dc
[ "MIT" ]
null
null
null
/* * Copyright 2020-2021 Intel Corporation. * * This software and the related documents are Intel copyrighted materials, * and your use of them is governed by the express license under which they * were provided to you ("License"). Unless the License provides otherwise, * you may not use, modify, copy, publish, d...
31.408333
91
0.695145
jinjunzh
c48888696e19ebbf2e9a4b823068b7efbc98cb68
3,330
cc
C++
homeworks/LinFeReactDiff/templates/test/linfereactdiff_test.cc
kryo4096/NPDECODES
3498c0e4abec6ba21447849ba2ddc9286c068ea1
[ "MIT" ]
15
2019-04-29T11:28:56.000Z
2022-03-22T05:10:58.000Z
homeworks/LinFeReactDiff/templates/test/linfereactdiff_test.cc
kryo4096/NPDECODES
3498c0e4abec6ba21447849ba2ddc9286c068ea1
[ "MIT" ]
12
2020-02-29T15:05:58.000Z
2022-02-21T13:51:07.000Z
homeworks/LinFeReactDiff/templates/test/linfereactdiff_test.cc
kryo4096/NPDECODES
3498c0e4abec6ba21447849ba2ddc9286c068ea1
[ "MIT" ]
26
2020-01-09T15:59:23.000Z
2022-03-24T16:27:33.000Z
#include "../linfereactdiff.h" #include <gtest/gtest.h> #include <lf/assemble/assemble.h> #include <lf/base/base.h> #include <lf/fe/fe.h> #include <lf/io/io.h> #include <lf/mesh/hybrid2d/hybrid2d.h> #include <lf/mesh/mesh.h> #include <lf/mesh/utils/utils.h> #include <lf/uscalfe/uscalfe.h> #include <Eigen/Core> #incl...
35.425532
79
0.707207
kryo4096
c494f989cd0112c4da5ea349733abbcc28e84765
1,482
cpp
C++
burn-pipe/logutil.cpp
res2k/seveninstall
2de8a1f4f70c0dcdf8e2c617daeeb4db1e17c855
[ "Unlicense" ]
1
2021-02-02T11:08:43.000Z
2021-02-02T11:08:43.000Z
burn-pipe/logutil.cpp
res2k/seveninstall
2de8a1f4f70c0dcdf8e2c617daeeb4db1e17c855
[ "Unlicense" ]
null
null
null
burn-pipe/logutil.cpp
res2k/seveninstall
2de8a1f4f70c0dcdf8e2c617daeeb4db1e17c855
[ "Unlicense" ]
1
2021-02-27T20:12:05.000Z
2021-02-27T20:12:05.000Z
// Portions Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. #include "precomp.h" HRESULT LogErrorString (HRESULT hrError, LPCSTR szFormat, ...) { HRESULT hr; va_list args...
29.64
200
0.724696
res2k
7bcd040b66df9c2e26ba84c705061e79595c39f4
2,485
cpp
C++
packages/curng/poly/RunnerImpl.cpp
Geant-RnD/curng-demo
b350e9b1d42138047be67c419fd71faf621e0264
[ "MIT" ]
null
null
null
packages/curng/poly/RunnerImpl.cpp
Geant-RnD/curng-demo
b350e9b1d42138047be67c419fd71faf621e0264
[ "MIT" ]
null
null
null
packages/curng/poly/RunnerImpl.cpp
Geant-RnD/curng-demo
b350e9b1d42138047be67c419fd71faf621e0264
[ "MIT" ]
null
null
null
// vim: set ft=cuda: -------------*-CUDA-*-----------------------------------// /*! * \file curng/poly/RunnerImpl.cpp * \brief Runner class definitions. * \note Copyright (c) 2019 Oak Ridge National Laboratory, UT-Battelle, LLC. */ //---------------------------------------------------------------------------//...
28.895349
79
0.438632
Geant-RnD
7bcf75819ce044688468e6eb0568030449b9a25d
569
cpp
C++
Geometria/Game/GuisFirstScene.cpp
HastagGuigui/GeometriaEngine
e9e45227091182acfb523d3833c4cf47d3f00355
[ "MIT", "BSD-3-Clause" ]
null
null
null
Geometria/Game/GuisFirstScene.cpp
HastagGuigui/GeometriaEngine
e9e45227091182acfb523d3833c4cf47d3f00355
[ "MIT", "BSD-3-Clause" ]
null
null
null
Geometria/Game/GuisFirstScene.cpp
HastagGuigui/GeometriaEngine
e9e45227091182acfb523d3833c4cf47d3f00355
[ "MIT", "BSD-3-Clause" ]
null
null
null
#include "GuisFirstScene.h" #include "geometria.h" Model* somethingIDK = nullptr; void GuisFirstScene::Init() { SceneManager::MainScene().MainDrawCall()->sort = DrawCall::Sorting::Update; SceneManager::MainScene().MainDrawCall()->type = DrawCall::Type::Dynamic; //thx nacho somethingIDK = new Model(Mod...
29.947368
82
0.710018
HastagGuigui
7bd3800d077c66e0f9481ddd3a84fd7a79b7abc3
9,887
hpp
C++
modules/fmt/xchar.hpp
Shtan7/KTL
9c0adf8fac2f0bb481060b7bbb15b1356089af3c
[ "MIT" ]
38
2020-12-16T22:12:50.000Z
2022-03-24T04:07:14.000Z
modules/fmt/xchar.hpp
Shtan7/KTL
9c0adf8fac2f0bb481060b7bbb15b1356089af3c
[ "MIT" ]
165
2020-11-11T21:22:23.000Z
2022-03-26T14:30:40.000Z
modules/fmt/xchar.hpp
Shtan7/KTL
9c0adf8fac2f0bb481060b7bbb15b1356089af3c
[ "MIT" ]
5
2021-07-16T19:05:28.000Z
2021-12-22T11:46:42.000Z
// Formatting library for C++ - optional wchar_t and exotic character support // // Copyright (c) 2012 - present, Victor Zverovich // All rights reserved. // // For the license information refer to format.h. #ifndef FMT_WCHAR_H_ #define FMT_WCHAR_H_ #include <char_traits.hpp> #include <initializer_list.hpp> #include ...
34.093103
80
0.657631
Shtan7
7bd7a91e6b241bc6de3a93bbd5b1c5abb825ffda
4,473
cpp
C++
a/352 recycling bottles.cpp
Arafatk/codeforces
314e8aa64c0b678866dab0d7a7694b9d30dc7f51
[ "MIT" ]
null
null
null
a/352 recycling bottles.cpp
Arafatk/codeforces
314e8aa64c0b678866dab0d7a7694b9d30dc7f51
[ "MIT" ]
null
null
null
a/352 recycling bottles.cpp
Arafatk/codeforces
314e8aa64c0b678866dab0d7a7694b9d30dc7f51
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define INF (int)1e9 #define bitcount __builtin_popcount // counts 1 eg- 1101 has value 3 /* const clock_t begin_time = clock(); // do something cout << float( clock () - begin_time ) / CLOCKS_PER_SEC; */ /* Read fr...
31.95
142
0.509501
Arafatk
7bd824f40a9144fd7cd6ab70bc5a8cb9b2acfb44
799
hpp
C++
lumino/LuminoEngine/include/LuminoEngine/PostEffect/FXAAPostEffect.hpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
113
2020-03-05T01:27:59.000Z
2022-03-28T13:20:51.000Z
lumino/LuminoEngine/include/LuminoEngine/PostEffect/FXAAPostEffect.hpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
35
2016-04-18T06:14:08.000Z
2020-02-09T15:51:58.000Z
lumino/LuminoEngine/include/LuminoEngine/PostEffect/FXAAPostEffect.hpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
12
2020-12-21T12:03:59.000Z
2021-12-15T02:07:49.000Z
#pragma once #include "PostEffect.hpp" namespace ln { namespace detail { class FXAAPostEffectInstance; } class FXAAPostEffect : public PostEffect { public: protected: virtual Ref<PostEffectInstance> onCreateInstance() override; LN_CONSTRUCT_ACCESS: FXAAPostEffect(); void init(); private: frien...
18.581395
136
0.754693
GameDevery
7bda0dfd1130cedaffb51f31465d0600bdad8dd4
17,625
cpp
C++
src/library/clipping.cpp
flubbe/swr
2f09acb9f27a8d5345aaeb6f229f74693a24fcdd
[ "MIT" ]
1
2022-02-15T21:00:31.000Z
2022-02-15T21:00:31.000Z
src/library/clipping.cpp
flubbe/swr
2f09acb9f27a8d5345aaeb6f229f74693a24fcdd
[ "MIT" ]
null
null
null
src/library/clipping.cpp
flubbe/swr
2f09acb9f27a8d5345aaeb6f229f74693a24fcdd
[ "MIT" ]
null
null
null
/** * swr - a software rasterizer * * triangle clipping in homogeneous coordinates. * * references: * [1] http://fabiensanglard.net/polygon_codec/ * * \author Felix Lubbe * \copyright Copyright (c) 2021 * \license Distributed under the MIT software license (see accompanying LICENSE.txt). */ /* user head...
32.103825
192
0.567546
flubbe
7bda80f79e37b07d30ed6afaf3d007211c8fa3ed
1,264
cpp
C++
solutions/spoj/GNY07D.cpp
brnpapa/icpc
8149397daddc630e0fe2395f3f48e017154d223d
[ "MIT" ]
19
2020-10-05T08:02:40.000Z
2021-08-17T08:13:16.000Z
solutions/spoj/GNY07D.cpp
brnpapa/judge-resolutions
8149397daddc630e0fe2395f3f48e017154d223d
[ "MIT" ]
null
null
null
solutions/spoj/GNY07D.cpp
brnpapa/judge-resolutions
8149397daddc630e0fe2395f3f48e017154d223d
[ "MIT" ]
10
2020-10-05T08:03:43.000Z
2021-08-19T17:19:25.000Z
/* ad-hoc > implementation difficulty: easy date: 21/Feb/2020 by: @brpapa */ #include <iostream> #include <vector> using namespace std; #define VISITED -1 int grid[22][22]; int R, C; vector<int> binDecoded; int d; int dr[4] = {0, 1, 0,-1}; int dc[4] = {1, 0,-1, 0}; void walk(int r, int c) { binDecode...
20.721311
76
0.433544
brnpapa
7bdcc01cf46a74aba7451c33f82278b1f6930390
5,476
cpp
C++
src/xtalopt/ui/molecular/tab_molecularopt.cpp
lilithean/XtalOpt
9ebc125e6014b27e72a04fb62c8820c7b9670c61
[ "BSD-3-Clause" ]
23
2017-09-01T04:35:02.000Z
2022-01-16T13:51:17.000Z
src/xtalopt/ui/molecular/tab_molecularopt.cpp
lilithean/XtalOpt
9ebc125e6014b27e72a04fb62c8820c7b9670c61
[ "BSD-3-Clause" ]
20
2017-08-29T15:29:46.000Z
2022-01-20T09:10:59.000Z
src/xtalopt/ui/molecular/tab_molecularopt.cpp
lilithean/XtalOpt
9ebc125e6014b27e72a04fb62c8820c7b9670c61
[ "BSD-3-Clause" ]
21
2017-06-15T03:11:34.000Z
2022-02-28T05:20:44.000Z
/********************************************************************** TabMolecularOpt - the tab for molecular optimization options in XtalOpt. Copyright (C) 2017 by Patrick Avery This source code is released under the New BSD License, (the "License"). Unless required by applicable law or agreed to in writi...
29.6
75
0.696129
lilithean
7be08dc7854edbc7845bc6b93d0cde1de2ae7ea9
126
cpp
C++
contest/AtCoder/abc035/A.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
7
2018-04-14T14:55:51.000Z
2022-01-31T10:49:49.000Z
contest/AtCoder/abc035/A.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
5
2018-04-14T14:28:49.000Z
2019-05-11T02:22:10.000Z
contest/AtCoder/abc035/A.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
null
null
null
#include "template.hpp" int main() { setBoolName("4:3", "16:9"); int w(in), h(in); cout << (w * 3 == h * 4) << endl; }
15.75
35
0.492063
not522
7be710a9fa2d4549be866e18bee19b3a41a9931a
15,227
cpp
C++
src/Core/TundraCore/Audio/AudioAPI.cpp
Adminotech/tundra
8270097dbf79c3ec1935cf66c7979eeef9c24c0e
[ "Apache-2.0" ]
null
null
null
src/Core/TundraCore/Audio/AudioAPI.cpp
Adminotech/tundra
8270097dbf79c3ec1935cf66c7979eeef9c24c0e
[ "Apache-2.0" ]
null
null
null
src/Core/TundraCore/Audio/AudioAPI.cpp
Adminotech/tundra
8270097dbf79c3ec1935cf66c7979eeef9c24c0e
[ "Apache-2.0" ]
null
null
null
// For conditions of distribution and use, see copyright notice in LICENSE #include "StableHeaders.h" #include "DebugOperatorNew.h" #include "Win.h" #include "AudioAPI.h" #include "AudioAsset.h" #include "SoundChannel.h" #include "CoreDefines.h" #include "CoreTypes.h" #include "AssetAPI.h" #include "GenericAssetFact...
25.940375
149
0.663887
Adminotech
7bf448fedb85866677fbebbf7c9dfb2bdf9daa63
342
cpp
C++
test/src/ls-js-string-test.cpp
LaughingSun/ls-js-object
e298b3851a287f42c60ee33f192dca0bf101d48c
[ "MIT" ]
null
null
null
test/src/ls-js-string-test.cpp
LaughingSun/ls-js-object
e298b3851a287f42c60ee33f192dca0bf101d48c
[ "MIT" ]
null
null
null
test/src/ls-js-string-test.cpp
LaughingSun/ls-js-object
e298b3851a287f42c60ee33f192dca0bf101d48c
[ "MIT" ]
null
null
null
#include "ls-js-null.hpp" #include "ls-js-number.hpp" #include "ls-js-boolean.hpp" #include "ls-js-string.hpp" int main() { #define LS_JS_OBJECT String #include "../include/test.hpp" LS_JS_TEST(LS_JS_OBJECT,s1,( "non-numeric" )) LS_JS_TEST(LS_JS_OBJECT,s2,( "21 lines of code in this file (not counting empty lines)" )...
18
90
0.701754
LaughingSun
7bf5000a72b115dac6d98f5156c989261811ce1a
146
hpp
C++
src/gui/playbacksettings.hpp
alex-x-o/Djiki
a684fc890ed867d4bb3deeedd4f327959dfbd68a
[ "MIT" ]
null
null
null
src/gui/playbacksettings.hpp
alex-x-o/Djiki
a684fc890ed867d4bb3deeedd4f327959dfbd68a
[ "MIT" ]
null
null
null
src/gui/playbacksettings.hpp
alex-x-o/Djiki
a684fc890ed867d4bb3deeedd4f327959dfbd68a
[ "MIT" ]
null
null
null
#ifndef PLAYBACKSETTINGS_HPP #define PLAYBACKSETTINGS_HPP enum playbackSettings { play, pausE, stop }; #endif // PLAYBACKSETTINGS_HPP
14.6
30
0.753425
alex-x-o
7bf59692cb3b9e8b42abc044b68a2e124ae28fcd
169,543
cpp
C++
tcs/csp_solver_lf_dsg_collector_receiver.cpp
jalantechnologies/ssc
0b7b2c7a787b91c41a468d36606f5c6610760161
[ "BSD-3-Clause" ]
null
null
null
tcs/csp_solver_lf_dsg_collector_receiver.cpp
jalantechnologies/ssc
0b7b2c7a787b91c41a468d36606f5c6610760161
[ "BSD-3-Clause" ]
null
null
null
tcs/csp_solver_lf_dsg_collector_receiver.cpp
jalantechnologies/ssc
0b7b2c7a787b91c41a468d36606f5c6610760161
[ "BSD-3-Clause" ]
null
null
null
/** BSD-3-Clause Copyright 2019 Alliance for Sustainable Energy, LLC Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met : 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the...
42.174876
269
0.697935
jalantechnologies
7bfd1124c40a39ead2d6090d1636c4a1100e109c
7,724
cpp
C++
aws-cpp-sdk-honeycode/source/HoneycodeClient.cpp
neil-b/aws-sdk-cpp
1602b75abbca880b770c12788f6d2bac0c87176a
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-honeycode/source/HoneycodeClient.cpp
neil-b/aws-sdk-cpp
1602b75abbca880b770c12788f6d2bac0c87176a
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-honeycode/source/HoneycodeClient.cpp
neil-b/aws-sdk-cpp
1602b75abbca880b770c12788f6d2bac0c87176a
[ "Apache-2.0" ]
1
2020-11-04T03:18:11.000Z
2020-11-04T03:18:11.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/core/utils/Outcome.h> #include <aws/core/auth/AWSAuthSigner.h> #include <aws/core/client/CoreErrors.h> #include <aws/core/client/RetryStrategy.h> #include <aws/core/http/HttpClient.h> #i...
43.150838
240
0.77434
neil-b
d0092124adc1f2c1b0b54c89043dd01af8a7dde1
6,732
cpp
C++
plugins/core/scene/renderer_tools/Madgine_Tools/sceneeditor/sceneview.cpp
MadManRises/Madgine
c9949bc9cf8b30d63db0da2382c9fbc5b60bcd0f
[ "MIT" ]
5
2018-05-16T14:09:34.000Z
2019-10-24T19:01:15.000Z
plugins/core/scene/renderer_tools/Madgine_Tools/sceneeditor/sceneview.cpp
MadManRises/Madgine
c9949bc9cf8b30d63db0da2382c9fbc5b60bcd0f
[ "MIT" ]
71
2017-06-20T06:41:42.000Z
2021-01-11T11:18:53.000Z
plugins/core/scene/renderer_tools/Madgine_Tools/sceneeditor/sceneview.cpp
MadManRises/Madgine
c9949bc9cf8b30d63db0da2382c9fbc5b60bcd0f
[ "MIT" ]
2
2018-05-16T13:57:25.000Z
2018-05-16T13:57:51.000Z
#include "../scenerenderertoolslib.h" #include "sceneview.h" #include "imgui/imgui.h" #include "imgui/imguiaddons.h" #include "Madgine/render/rendercontext.h" #include "Meta/keyvalue/metatable_impl.h" #include "im3d/im3d.h" #include "im3d/im3d_internal.h" #include "sceneeditor.h" #include "Madgine/scene/entity/...
32.679612
144
0.548425
MadManRises
d00b3487e1a907f3bc445d1d24494042628033e8
1,176
hh
C++
src/roots/zbrent.hh
keadyk/Draco
129fbff1d74a3f5498670e952b7d4142f37b2aac
[ "BSD-3-Clause-Open-MPI" ]
1
2020-03-19T07:05:08.000Z
2020-03-19T07:05:08.000Z
src/roots/zbrent.hh
5l1v3r1/Draco
0480d4c7c1ff7f40e0aece3be785dc0e4e23ece1
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
src/roots/zbrent.hh
5l1v3r1/Draco
0480d4c7c1ff7f40e0aece3be785dc0e4e23ece1
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
//----------------------------------*-C++-*-----------------------------------// /*! * \file roots/zbrent.hh * \author Kent Budge * \date Tue Aug 17 15:57:06 2004 * \brief Find a bracketed root of a function. * \note Copyright (C) 2016-2020 Triad National Security, LLC. * All rights reserved. */ //...
33.6
80
0.412415
keadyk
d00fc9eb4557a872558cd38b51ad9bbeedda5af0
9,749
cpp
C++
engine/strings/source/TextKeys.cpp
sidav/shadow-of-the-wyrm
747afdeebed885b1a4f7ab42f04f9f756afd3e52
[ "MIT" ]
null
null
null
engine/strings/source/TextKeys.cpp
sidav/shadow-of-the-wyrm
747afdeebed885b1a4f7ab42f04f9f756afd3e52
[ "MIT" ]
null
null
null
engine/strings/source/TextKeys.cpp
sidav/shadow-of-the-wyrm
747afdeebed885b1a4f7ab42f04f9f756afd3e52
[ "MIT" ]
null
null
null
#include "TextKeys.hpp" using namespace std; TextKeys::TextKeys() { } TextKeys::~TextKeys() { } const string TextKeys::SW_TITLE = "SW_TITLE"; const string TextKeys::SW_TITLE_POEM = "SW_TITLE_POEM"; const string TextKeys::COPYRIGHT_NOTICE = "COPYRIGHT_NOTICE"; const string TextKeys::SW_TITLE_NEW_GAME = "SW_TITLE_...
51.041885
97
0.781003
sidav
d010bb8204adeea1907cbe8dfb244858e949c01f
835
hh
C++
src/InetAddress.hh
BlurryLight/DiReactor
0bbf16f1a581236be9e12e7f6009b076ac438c90
[ "MIT" ]
null
null
null
src/InetAddress.hh
BlurryLight/DiReactor
0bbf16f1a581236be9e12e7f6009b076ac438c90
[ "MIT" ]
null
null
null
src/InetAddress.hh
BlurryLight/DiReactor
0bbf16f1a581236be9e12e7f6009b076ac438c90
[ "MIT" ]
null
null
null
// // Created by BlurryLight on 2021/2/12. // #pragma once #include <cstddef> #include <cstdint> #include <netinet/in.h> //struct sockaddr_in #include <string> namespace PD { // POD wrapper of sockaddr_in class InetAddress { public: // port should be host-endian explicit InetAddress(uint16_t portH); // ip should...
24.558824
76
0.71976
BlurryLight
d0148edeaf5f07c27c1d9aad48def1bba8fbbb3b
1,042
cpp
C++
source/opengl/TextureSampler.cpp
xzrunner/unirender
2b26554eaf71230e1553409c3a1bff20898d970d
[ "MIT" ]
null
null
null
source/opengl/TextureSampler.cpp
xzrunner/unirender
2b26554eaf71230e1553409c3a1bff20898d970d
[ "MIT" ]
null
null
null
source/opengl/TextureSampler.cpp
xzrunner/unirender
2b26554eaf71230e1553409c3a1bff20898d970d
[ "MIT" ]
null
null
null
#include "unirender/opengl/TextureSampler.h" #include "unirender/opengl/TypeConverter.h" #include <assert.h> namespace ur { namespace opengl { TextureSampler::TextureSampler(TextureMinificationFilter min_filter, TextureMagnificationFilter mag_filter, TextureWrap wrap_s, TextureWrap wra...
26.717949
107
0.75144
xzrunner
d015edbdce374dbd898047b99a44a17d75e2c9f8
677
cpp
C++
cryptools/tools/prime-generator.cpp
CrypTools/Software
f5e1989d72f4322db26a51fe01276ab37690b69b
[ "MIT" ]
1
2019-02-24T02:01:55.000Z
2019-02-24T02:01:55.000Z
cryptools/tools/prime-generator.cpp
CrypTools/Software
f5e1989d72f4322db26a51fe01276ab37690b69b
[ "MIT" ]
null
null
null
cryptools/tools/prime-generator.cpp
CrypTools/Software
f5e1989d72f4322db26a51fe01276ab37690b69b
[ "MIT" ]
null
null
null
#include "prime-generator.h" void generator::primeGenerator(int number, int minLenght, mpz_class* resultArray) { srand(clock()); running = true; for (int i =0; i<number; ++i){ mpz_class nbr = 10; for (int j=0; j<minLenght; ++j){ nbr *= 10; nbr += rand() % M...
29.434783
82
0.502216
CrypTools
d01f3d692d41dc194afc4cb0ef71cda58e68a07f
883
cpp
C++
neps/cursos/codcad/grafos/intermediarios/floyd-warshall/lanche.cpp
homembaixinho/codeforces
9394eaf383afedacdfe86ca48609425b14f84bdb
[ "MIT" ]
null
null
null
neps/cursos/codcad/grafos/intermediarios/floyd-warshall/lanche.cpp
homembaixinho/codeforces
9394eaf383afedacdfe86ca48609425b14f84bdb
[ "MIT" ]
null
null
null
neps/cursos/codcad/grafos/intermediarios/floyd-warshall/lanche.cpp
homembaixinho/codeforces
9394eaf383afedacdfe86ca48609425b14f84bdb
[ "MIT" ]
null
null
null
// Lanche na Empresa // https://neps.academy/lesson/218 #include <iostream> #include <algorithm> using namespace std; #define endl "\n" #define INF 12500002 #define MAXS 251 int s, c; int dist[MAXS][MAXS]; int main() { ios::sync_with_stdio(0); cin.tie(0); cin >> s >> c; for (int i = 1; i <= s; i++) ...
18.020408
62
0.450736
homembaixinho
d029cc520073ff95bb0a338783583ae9075728a5
313
cpp
C++
BulletPhysics/Source/BulletPhysicsSystem.cpp
jordanlittlefair/Foundation
ab737b933ea5bbe2be76133ed78c8e882f072fd0
[ "BSL-1.0" ]
null
null
null
BulletPhysics/Source/BulletPhysicsSystem.cpp
jordanlittlefair/Foundation
ab737b933ea5bbe2be76133ed78c8e882f072fd0
[ "BSL-1.0" ]
null
null
null
BulletPhysics/Source/BulletPhysicsSystem.cpp
jordanlittlefair/Foundation
ab737b933ea5bbe2be76133ed78c8e882f072fd0
[ "BSL-1.0" ]
null
null
null
#include "../Include/BulletPhysicsSystem.hpp" using namespace Fnd::BulletPhysics; BulletPhysicsSystem::BulletPhysicsSystem( const std::string& system_name, BulletPhysics* physics ): _physics(physics), System(system_name) { } BulletPhysics* BulletPhysicsSystem::GetPhysics() { return _physics; }
22.357143
100
0.757188
jordanlittlefair
d02aade06f58c0c129f731d860d5df99853dcfda
925
cpp
C++
kernel/base/src/PlatformK64.cpp
LetsPlaySomeUbuntu/XitongOS-test-1
792d0c76f9aa4bb2b579d47c2c728394a3acf9f9
[ "MIT" ]
null
null
null
kernel/base/src/PlatformK64.cpp
LetsPlaySomeUbuntu/XitongOS-test-1
792d0c76f9aa4bb2b579d47c2c728394a3acf9f9
[ "MIT" ]
null
null
null
kernel/base/src/PlatformK64.cpp
LetsPlaySomeUbuntu/XitongOS-test-1
792d0c76f9aa4bb2b579d47c2c728394a3acf9f9
[ "MIT" ]
null
null
null
#include <FunnyOS/Stdlib/IntegerTypes.hpp> #include <FunnyOS/Kernel/Kernel.hpp> /** * Platform-specific function implementations for the kernel Stdlib */ namespace FunnyOS::_Platform { using namespace FunnyOS::Stdlib; // TODO void* AllocateMemoryAligned(size_t size, size_t aligned) noexcept { r...
28.90625
96
0.695135
LetsPlaySomeUbuntu
d02faa35a500103dcfcd0ffe9f6baeb5ce37cf1c
914
cpp
C++
Source/RayTracer/Brdf/FireflyReduction.cpp
rorydriscoll/RayTracer
772b5d47c0d181c6fe49728aabc8e0a949f285e1
[ "CC0-1.0" ]
124
2018-06-28T16:09:09.000Z
2022-02-23T16:20:26.000Z
Source/RayTracer/Brdf/FireflyReduction.cpp
rorydriscoll/RayTracer
772b5d47c0d181c6fe49728aabc8e0a949f285e1
[ "CC0-1.0" ]
null
null
null
Source/RayTracer/Brdf/FireflyReduction.cpp
rorydriscoll/RayTracer
772b5d47c0d181c6fe49728aabc8e0a949f285e1
[ "CC0-1.0" ]
9
2018-06-28T17:10:42.000Z
2021-08-09T08:42:41.000Z
#include <RayTracer/Brdf/FireflyReduction.h> #include <Core/Generic.h> namespace { // The minimum allowed roughness for the current sample // thread_local float min_alpha = 0; // The roughness value at which firefly reduction will disable. Roughness values beyond about // GGX alpha = 0.25 don't tend to...
24.052632
97
0.731947
rorydriscoll
d0333bfc16fa0fd2858fdab7d8b8298d31f7d5ec
13,404
cpp
C++
src/CTBot.cpp
Di-Strix/CTBot
668f9acb3f9e1de6220689ed8c0efc265c7e95e3
[ "MIT" ]
null
null
null
src/CTBot.cpp
Di-Strix/CTBot
668f9acb3f9e1de6220689ed8c0efc265c7e95e3
[ "MIT" ]
null
null
null
src/CTBot.cpp
Di-Strix/CTBot
668f9acb3f9e1de6220689ed8c0efc265c7e95e3
[ "MIT" ]
null
null
null
// for using int_64 data #define ARDUINOJSON_USE_LONG_LONG 1 // for decoding UTF8/UNICODE #define ARDUINOJSON_DECODE_UNICODE 1 #include <ArduinoJson.h> #include "CTBot.h" #include "Utilities.h" CTBot::CTBot() { m_lastUpdate = 0; // not updated yet m_UTF8Encoding = false; // no UTF8 encoded string ...
28.278481
105
0.694643
Di-Strix
d036c3b4e982ba290ceaf94d44d72e79b80dab84
725
hpp
C++
sources/Modules/Pathfinder/Licensing.hpp
palchukovsky/TunnelEx
ec645271ab8b79225e378345ff108795110c57de
[ "Apache-2.0" ]
null
null
null
sources/Modules/Pathfinder/Licensing.hpp
palchukovsky/TunnelEx
ec645271ab8b79225e378345ff108795110c57de
[ "Apache-2.0" ]
null
null
null
sources/Modules/Pathfinder/Licensing.hpp
palchukovsky/TunnelEx
ec645271ab8b79225e378345ff108795110c57de
[ "Apache-2.0" ]
null
null
null
/************************************************************************** * Created: 2011/04/11 23:49 * Author: Eugene V. Palchukovsky * E-mail: eugene@palchukovsky.com * ------------------------------------------------------------------- * Project: TunnelEx * URL: http://tunnelex.net *********...
40.277778
76
0.558621
palchukovsky
d03819aa6216eb58344f7554715e8b5136d52d4d
5,963
cpp
C++
se306Project/src/fieldinfo.cpp
TomHulme/306-Swarm-Robotics-Project
548a450bcef6478d58e549fbb8e31cd39f636904
[ "Apache-2.0" ]
1
2016-10-17T04:51:53.000Z
2016-10-17T04:51:53.000Z
se306Project/src/fieldinfo.cpp
TomHulme/306-Swarm-Robotics-Project
548a450bcef6478d58e549fbb8e31cd39f636904
[ "Apache-2.0" ]
null
null
null
se306Project/src/fieldinfo.cpp
TomHulme/306-Swarm-Robotics-Project
548a450bcef6478d58e549fbb8e31cd39f636904
[ "Apache-2.0" ]
null
null
null
class fieldinfo { public: const static int field_X= 4 const static int field_Y= 4 }; class fieldinfo { public: const static int field_X= 4 const static int field_Y= 4 }; class fieldinfo { public: const static int field_X= 4 const static int field_Y= 4 }; class fieldinfo { public: const static int field_X=...
17.747024
27
0.719101
TomHulme
d0394a02c7191a9904020bc5b8fdf2625c0766ca
1,837
cpp
C++
tests/src/scale.cpp
nospi/synth2
f4548e01753a74e826f4155685259750cfe2581f
[ "Unlicense" ]
1
2021-07-14T07:49:46.000Z
2021-07-14T07:49:46.000Z
tests/src/scale.cpp
nospi/synth2
f4548e01753a74e826f4155685259750cfe2581f
[ "Unlicense" ]
null
null
null
tests/src/scale.cpp
nospi/synth2
f4548e01753a74e826f4155685259750cfe2581f
[ "Unlicense" ]
null
null
null
#include <catch.hpp> #include <dsp.h> using namespace dsp; TEST_CASE("note to frequency", "[scale]") { CHECK(scale::noteToHz(21) == Approx(27.5).margin(1.e-1)); CHECK(scale::noteToHz(33) == Approx(55.0)); CHECK(scale::noteToHz(35) == Approx(61.735).margin(1.e-3)); CHECK(scale::noteToHz(36) == Approx(65.406).margi...
30.114754
70
0.639085
nospi
d03a773fcb51973acb14ed319e63a69d1e756cf2
4,183
cpp
C++
src/hardware/src/imu/bno055.cpp
ILT-HSR/boarai-firmware
4e22918719571d901dd76b36a23fd41bff5a0694
[ "BSD-3-Clause" ]
1
2021-05-22T09:51:38.000Z
2021-05-22T09:51:38.000Z
src/hardware/src/imu/bno055.cpp
ILT-HSR/boarai-firmware
4e22918719571d901dd76b36a23fd41bff5a0694
[ "BSD-3-Clause" ]
1
2021-06-02T01:01:37.000Z
2021-06-02T01:01:37.000Z
src/hardware/src/imu/bno055.cpp
ILT-HSR/boarai-firmware
4e22918719571d901dd76b36a23fd41bff5a0694
[ "BSD-3-Clause" ]
1
2021-05-22T09:51:51.000Z
2021-05-22T09:51:51.000Z
#include "imu/bno055.hpp" #include "support/fallible.hpp" #include <fmt/format.h> #include <chrono> #include <cstring> #include <filesystem> #include <new> #include <stdexcept> #include <string> #include <thread> #include <type_traits> namespace boarai::hardware { auto constexpr default_chip_id = std::byte{0xa0};...
28.263514
121
0.682764
ILT-HSR
d03d9a2d912bba50b19936fee4410d88b3b1c39b
4,335
cpp
C++
Algorithms Design and Analysis I/kargersRandomizedContraction.cpp
cbrghostrider/Coursera
0b509adb57f2e96e0d7b4119d50cdf2e555abafe
[ "MIT" ]
null
null
null
Algorithms Design and Analysis I/kargersRandomizedContraction.cpp
cbrghostrider/Coursera
0b509adb57f2e96e0d7b4119d50cdf2e555abafe
[ "MIT" ]
null
null
null
Algorithms Design and Analysis I/kargersRandomizedContraction.cpp
cbrghostrider/Coursera
0b509adb57f2e96e0d7b4119d50cdf2e555abafe
[ "MIT" ]
null
null
null
// ------------------------------------------------------------------------------------- // Author: Sourabh S Joshi (cbrghostrider); Copyright - All rights reserved. // For email, run on linux (perl v5.8.5): // perl -e 'print pack "H*","736f75726162682e732e6a6f73686940676d61696c2e636f6d0...
28.708609
113
0.606228
cbrghostrider
d03f49b4dfd9204812e79bef4289d099f38ace56
24,903
cxx
C++
Code/Widgets/vtkMimxPlaceLocalAxesWidget.cxx
Piyusha23/IAFEMesh
e91b34c9eaa9c8ecc4ebb5d16f4c13f330d75c9f
[ "BSD-4-Clause-UC" ]
null
null
null
Code/Widgets/vtkMimxPlaceLocalAxesWidget.cxx
Piyusha23/IAFEMesh
e91b34c9eaa9c8ecc4ebb5d16f4c13f330d75c9f
[ "BSD-4-Clause-UC" ]
null
null
null
Code/Widgets/vtkMimxPlaceLocalAxesWidget.cxx
Piyusha23/IAFEMesh
e91b34c9eaa9c8ecc4ebb5d16f4c13f330d75c9f
[ "BSD-4-Clause-UC" ]
null
null
null
/*========================================================================= Program: MIMX Meshing Toolkit Module: $RCSfile: vtkMimxPlaceLocalAxesWidget.cxx,v $ Language: C++ Date: $Date: 2012/12/07 19:08:59 $ Version: $Revision: 1.1.1.1 $ Musculoskeletal Imaging, Modelling and Experimentation (MIMX) ...
31.012453
100
0.647472
Piyusha23
d041d6fb556902bf207695ccad524ca3d012899b
3,109
cpp
C++
sfx/sfx/HtmlCtrl.cpp
keelanstuart/sfxPackager
a219a9c98cfb5785f246b2f0b805a47e82fcbec5
[ "MIT" ]
1
2021-07-11T17:25:27.000Z
2021-07-11T17:25:27.000Z
sfx/sfx/HtmlCtrl.cpp
keelanstuart/sfxPackager
a219a9c98cfb5785f246b2f0b805a47e82fcbec5
[ "MIT" ]
null
null
null
sfx/sfx/HtmlCtrl.cpp
keelanstuart/sfxPackager
a219a9c98cfb5785f246b2f0b805a47e82fcbec5
[ "MIT" ]
1
2020-07-18T05:45:35.000Z
2020-07-18T05:45:35.000Z
// Microsoft Systems Journal -- January 2000 // If this code works, it was written by Paul DiLascia. // If not, I don't know who wrote it. // Compiles with Visual C++ 6.0, runs on Windows 98 and probably Windows NT too. #include "StdAfx.h" #include "HtmlCtrl.h" //Web browser control #ifdef _DEBUG #def...
27.034783
103
0.650692
keelanstuart
d044fb59a6f106c567d17822a76220b5ba9c8efe
5,436
cpp
C++
tests/dl_tests_util.cpp
wc-duck/datalibrary
18d38ce56e484db075036a73aa6ebc9201c99e0c
[ "Zlib" ]
33
2015-06-06T09:21:05.000Z
2021-07-04T16:32:12.000Z
tests/dl_tests_util.cpp
wc-duck/datalibrary
18d38ce56e484db075036a73aa6ebc9201c99e0c
[ "Zlib" ]
116
2015-04-22T05:26:58.000Z
2021-02-28T18:59:14.000Z
tests/dl_tests_util.cpp
wc-duck/datalibrary
18d38ce56e484db075036a73aa6ebc9201c99e0c
[ "Zlib" ]
19
2015-11-01T08:34:42.000Z
2019-07-24T12:00:10.000Z
/* copyright (c) 2010 Fredrik Kihlander, see LICENSE for more info */ #include <gtest/gtest.h> #include <dl/dl.h> #include <dl/dl_util.h> #include "dl_test_common.h" const char* TEMP_FILE_NAME = "temp_dl_file.packed"; class DLUtil : public DL { public: Pods p; virtual void SetUp() { DL::SetUp(); p.i8 = 1...
23.737991
96
0.578366
wc-duck
d046ab3c14c88f1ec032bd22ee7cecf2115b0bb6
3,825
cpp
C++
src/DirectConnectionBuilder.cpp
sempr-tk/sempr-gui
ba96dca6945122a157f61fec9e41f4aa6060e3b2
[ "BSD-3-Clause" ]
null
null
null
src/DirectConnectionBuilder.cpp
sempr-tk/sempr-gui
ba96dca6945122a157f61fec9e41f4aa6060e3b2
[ "BSD-3-Clause" ]
null
null
null
src/DirectConnectionBuilder.cpp
sempr-tk/sempr-gui
ba96dca6945122a157f61fec9e41f4aa6060e3b2
[ "BSD-3-Clause" ]
null
null
null
#include <rete-reasoner/Exceptions.hpp> #include "DirectConnectionBuilder.hpp" namespace sempr { namespace gui { DirectConnectionBuilder::DirectConnectionBuilder(DirectConnection::Ptr conn) : rete::NodeBuilder("DirectConnection", rete::NodeBuilder::BuilderType::EFFECT), connection_(...
34.459459
98
0.610719
sempr-tk
d0499697d6640f0fca479918c7d403852c19e6d0
6,649
cpp
C++
thirdparty/qtiplot/qtiplot/src/plot2D/AddWidgetTool.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
6
2018-09-05T12:41:59.000Z
2021-07-01T05:34:23.000Z
thirdparty/qtiplot/qtiplot/src/plot2D/AddWidgetTool.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
2
2015-02-07T19:09:21.000Z
2015-08-14T03:15:42.000Z
thirdparty/qtiplot/qtiplot/src/plot2D/AddWidgetTool.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
2
2015-03-25T15:50:31.000Z
2017-12-06T12:16:47.000Z
/*************************************************************************** File : AddWidgetTool.cpp Project : QtiPlot -------------------------------------------------------------------- Copyright : (C) 2008 by Ion Vasilief Email (use @ for *) : ion_vasilie...
30.782407
131
0.579034
hoehnp
d049ba6f8914f89a6b7854c56644ab20620aca2a
5,153
cpp
C++
programs/haarDetection2D/SegmentorThread.cpp
mgd96/vision_balance
f09457c781f9ce4b291c761173944600fb3f0c96
[ "Apache-2.0" ]
null
null
null
programs/haarDetection2D/SegmentorThread.cpp
mgd96/vision_balance
f09457c781f9ce4b291c761173944600fb3f0c96
[ "Apache-2.0" ]
null
null
null
programs/haarDetection2D/SegmentorThread.cpp
mgd96/vision_balance
f09457c781f9ce4b291c761173944600fb3f0c96
[ "Apache-2.0" ]
null
null
null
// -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*- #include "SegmentorThread.hpp" #include <cmath> #include <cstdio> #include <cstdlib> #include <string> #include <vector> #include <yarp/os/Bottle.h> #include <yarp/sig/ImageDraw.h> #include <opencv2/core/core.hpp> #include <opencv2/imgproc/img...
25.894472
108
0.527654
mgd96
d04b6eee6927604e94c781b7dc6a00903f01f1af
1,354
cpp
C++
VoxelConeTracing/VoxelConeTracing/Texture3D.cpp
HarryPyc/Interactive-Indirect-Illumination-Using-Voxel-Cone-Tracing
828acd414ac4475383b137f7bb1faf2171bc866b
[ "MIT" ]
3
2021-05-07T08:36:58.000Z
2021-06-16T02:27:11.000Z
VoxelConeTracing/VoxelConeTracing/Texture3D.cpp
HarryPyc/Voxel-Render
828acd414ac4475383b137f7bb1faf2171bc866b
[ "MIT" ]
null
null
null
VoxelConeTracing/VoxelConeTracing/Texture3D.cpp
HarryPyc/Voxel-Render
828acd414ac4475383b137f7bb1faf2171bc866b
[ "MIT" ]
1
2020-05-25T02:50:54.000Z
2020-05-25T02:50:54.000Z
#include "Texture3D.h" Texture3D::Texture3D(const std::string name, int size, GLenum magFilter, GLenum minFilter, GLint internalFormat, GLint type, GLint wrap) { glGenTextures(1, &texture_id); glBindTexture(GL_TEXTURE_3D, texture_id); glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_S, wrap); glTexParameteri(GL_TE...
30.772727
90
0.777696
HarryPyc
d04d31b7b474fd7a4e06f4434177ce76ed0e50b4
1,606
cpp
C++
source/core/Backend.cpp
z415073783/MNN
62c5ca47964407508a5fa802582e648fc75eb0d9
[ "Apache-2.0" ]
1
2019-08-09T03:16:49.000Z
2019-08-09T03:16:49.000Z
source/core/Backend.cpp
z415073783/MNN
62c5ca47964407508a5fa802582e648fc75eb0d9
[ "Apache-2.0" ]
1
2021-09-07T09:13:03.000Z
2021-09-07T09:13:03.000Z
source/core/Backend.cpp
z415073783/MNN
62c5ca47964407508a5fa802582e648fc75eb0d9
[ "Apache-2.0" ]
1
2020-03-10T02:17:47.000Z
2020-03-10T02:17:47.000Z
// // Backend.cpp // MNN // // Created by MNN on 2018/07/06. // Copyright © 2018, Alibaba Group Holding Limited // #include "Backend.hpp" #include <stdio.h> #include <mutex> #include "MNN_generated.h" #include "Macro.h" namespace MNN { void registerBackend(); static std::map<MNNForwardType, std::pair<const Back...
28.175439
116
0.662516
z415073783
d04ee99e53b9268ba2695f516dde717e15569347
838
cpp
C++
CodeForces/Contest/385/B/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
CodeForces/Contest/385/B/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
CodeForces/Contest/385/B/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #define rg register #define rep(i,x,y) for(rg int i=(x);i<=(y);++i) #define per(i,x,y) for(rg int i=(x);i>=(y);--i) using namespace std; const int N=1000+10,inf=1e9+7; inline void dn(int&x,int y){if(y<x)x=y;} int n,ans[N],ask[N],k; int main(){ scanf("%d",&n); rep(i,1,n)ans[i]=inf; ...
21.487179
47
0.520286
sjj118
d05750ec5b83eaf17520e6c88252dec546a50950
679
hpp
C++
include/node.hpp
shiwk/paxosme
7eff224edefb5fe6ebecdd4e96ec6ab325d19d5f
[ "MIT" ]
null
null
null
include/node.hpp
shiwk/paxosme
7eff224edefb5fe6ebecdd4e96ec6ab325d19d5f
[ "MIT" ]
null
null
null
include/node.hpp
shiwk/paxosme
7eff224edefb5fe6ebecdd4e96ec6ab325d19d5f
[ "MIT" ]
null
null
null
// // Created by shiwk on 2020/7/25. // #ifndef PAXOSME_NODE_HPP #define PAXOSME_NODE_HPP #include <string> #include <vector> #include "common.hpp" namespace paxosme { class NodeInfo { node_id_t node_id_; std::string ip_; int port_; }; class NodeList { std::vector<NodeInf...
16.560976
76
0.611193
shiwk
d0609230a059908060c994c305d5ebfc8c5bf310
477
cpp
C++
examples/P1047/main.cpp
aguegu/localjudge
b2d55b80e7ab5dfbd7a2e145dabc61b5d644c080
[ "MIT" ]
2
2021-06-08T07:13:00.000Z
2021-06-09T09:38:28.000Z
examples/P1047/main.cpp
aguegu/localjudge
b2d55b80e7ab5dfbd7a2e145dabc61b5d644c080
[ "MIT" ]
null
null
null
examples/P1047/main.cpp
aguegu/localjudge
b2d55b80e7ab5dfbd7a2e145dabc61b5d644c080
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdint> using namespace std; int main(void) { uint16_t l, m; cin >> l >> m; uint8_t points[l + 1] = {}; // filled with 0 for (uint16_t i = 0; i < m; i++) { uint16_t start, end; cin >> start >> end; for (uint16_t j = start; j <= end && j <= l; j++) { points[j]++...
16.448276
55
0.492662
aguegu
d061e4681ec62d54e5f8565b9029bf3567d6436b
743
cpp
C++
leetcode/leetcode_0674_easy_longest_continuous_increasing_subsequence/main.v01.cpp
friskit-china/leetcode-cn-repo
5f428e77f9d3f79da3e670a38b86d85bd58c81b2
[ "MIT" ]
null
null
null
leetcode/leetcode_0674_easy_longest_continuous_increasing_subsequence/main.v01.cpp
friskit-china/leetcode-cn-repo
5f428e77f9d3f79da3e670a38b86d85bd58c81b2
[ "MIT" ]
null
null
null
leetcode/leetcode_0674_easy_longest_continuous_increasing_subsequence/main.v01.cpp
friskit-china/leetcode-cn-repo
5f428e77f9d3f79da3e670a38b86d85bd58c81b2
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; class Solution { public: int findLengthOfLCIS(vector<int>& nums) { if (nums.size() == 0){ return 0; } int current_max = 1; int current_length = 1; for (int i = 1; i < nums.size(); ++i){ if (nu...
23.967742
63
0.510094
friskit-china
d06468ccf98d070ad77000e44ed41d7b8cdc9ee5
1,785
cpp
C++
geodrawer/geodrawer.cpp
ridoo/IlwisCore
9d9837507d804a4643545a03fd40d9b4d0eaee45
[ "Apache-2.0" ]
null
null
null
geodrawer/geodrawer.cpp
ridoo/IlwisCore
9d9837507d804a4643545a03fd40d9b4d0eaee45
[ "Apache-2.0" ]
null
null
null
geodrawer/geodrawer.cpp
ridoo/IlwisCore
9d9837507d804a4643545a03fd40d9b4d0eaee45
[ "Apache-2.0" ]
null
null
null
#include <QtGui/QOpenGLFramebufferObject> #include <QtQuick/QQuickWindow> #include "visualizationmanager.h" #include "coverage.h" #include "geodrawer.h" #include "georenderer.h" QQuickFramebufferObject::Renderer *GeoDrawer::createRenderer() const { return new GeoRenderer(); } void GeoDrawer::setAttribute(const QS...
26.641791
83
0.612885
ridoo
d0670c5e668d9bd5a5d634847cbf27d79eb64e44
1,118
cpp
C++
C++/SoloLearn/chapter3-data-types-arrays-and-pointers/part2-arrays.cpp
CavHaunch/tutorial
03f672528ac61f570f6a850b66874dd9d973f87e
[ "MIT" ]
null
null
null
C++/SoloLearn/chapter3-data-types-arrays-and-pointers/part2-arrays.cpp
CavHaunch/tutorial
03f672528ac61f570f6a850b66874dd9d973f87e
[ "MIT" ]
null
null
null
C++/SoloLearn/chapter3-data-types-arrays-and-pointers/part2-arrays.cpp
CavHaunch/tutorial
03f672528ac61f570f6a850b66874dd9d973f87e
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> using namespace std; int main() { /*An array is used to store a collection of data, but it may be useful to think of an array as a collection of variables that are all of the same type.*/ /*An array is used to store a collection of data, but it may be useful to thin...
27.95
71
0.624329
CavHaunch
d0692c89ceef09facfeac358846fefe4c57c31d6
688
cpp
C++
Basic/arrays/BinarySearch.cpp
Abhijay007/CPP-Ques
6db7ae89cb85fbc0a26a988331bf3817cdc70da6
[ "MIT" ]
null
null
null
Basic/arrays/BinarySearch.cpp
Abhijay007/CPP-Ques
6db7ae89cb85fbc0a26a988331bf3817cdc70da6
[ "MIT" ]
null
null
null
Basic/arrays/BinarySearch.cpp
Abhijay007/CPP-Ques
6db7ae89cb85fbc0a26a988331bf3817cdc70da6
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int binarySearch(int arr[],int n,int key){ int s =0; int e = n; while(s<=e){ int mid = (s+e)/2; if(arr[mid]==key){ return mid; } else if(arr[mid]>key){ ...
16.380952
43
0.331395
Abhijay007
d07063a713e8d09f8fef8c2085fcd3dabaf48de5
302
cpp
C++
COJ/Meeting.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
1
2019-09-29T03:58:35.000Z
2019-09-29T03:58:35.000Z
COJ/Meeting.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
null
null
null
COJ/Meeting.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <vector> #include <algorithm> #include <iostream> #include <string> #include <cstring> using namespace std; int main () { int t, a, b, k; double res; cin >> t; for(;t--;){ cin >> a >> b >> k; res = (k+0.0)/(a+b+0.0); printf("%.4lf\n", res); } }
15.894737
27
0.533113
MartinAparicioPons
d0741963b3078aff4d46275c315cda41cd1c94fa
265
cpp
C++
src/utils/config/compile.cpp
unbornchikken/reflect-cpp
1a9a3d107c952406d3b7cae4bc5a6a23d566ea4f
[ "BSD-2-Clause" ]
45
2015-03-24T09:35:46.000Z
2021-05-06T11:50:34.000Z
src/utils/config/compile.cpp
unbornchikken/reflect-cpp
1a9a3d107c952406d3b7cae4bc5a6a23d566ea4f
[ "BSD-2-Clause" ]
null
null
null
src/utils/config/compile.cpp
unbornchikken/reflect-cpp
1a9a3d107c952406d3b7cae4bc5a6a23d566ea4f
[ "BSD-2-Clause" ]
11
2015-01-27T12:08:21.000Z
2020-08-29T16:34:13.000Z
/* compile.cpp -*- C++ -*- Rémi Attab (remi.attab@gmail.com), 29 Apr 2014 FreeBSD-style copyright and disclaimer apply Compilation file. */ #include "path.cpp" #include "node.cpp" #include "config.cpp" #include "json.cpp"
22.083333
58
0.596226
unbornchikken
d07837a32cd356075c55f0f2b0d325acff6829b2
3,501
cpp
C++
UVA/11992 - Fast Matrix Operations.cpp
amraboelkher/CompetitiveProgramming
624ca5c3e5044eae2800d14b3dbb961c85494b85
[ "MIT" ]
2
2017-12-06T01:17:21.000Z
2018-05-02T04:49:44.000Z
UVA/11992 - Fast Matrix Operations.cpp
amraboelkher/CompetitiveProgramming
624ca5c3e5044eae2800d14b3dbb961c85494b85
[ "MIT" ]
null
null
null
UVA/11992 - Fast Matrix Operations.cpp
amraboelkher/CompetitiveProgramming
624ca5c3e5044eae2800d14b3dbb961c85494b85
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; const int MAXN = 1e3 + 3; class Seg{ vector< int > T , mn , mx ; vector< int > Set , Add ; public: Seg(int n){ n = 2 * n; T.resize(4 * n , 0); mn.resize(4 * n , 1e9); mx.resize(4 * n , -1e9); Set.resize(4 * n , 0); ...
30.443478
87
0.325336
amraboelkher
4ed9e4caacd7755e30bc3eb97584eafc101b5ef1
636
cpp
C++
src/Gratrix.cpp
flyingLowSounds/1-Seifert
07f6d0b34e753cf163e7e6fb74dbbc2af1e2c2f4
[ "MIT", "BSD-3-Clause" ]
4
2021-04-01T16:14:47.000Z
2022-03-21T13:08:12.000Z
src/Gratrix.cpp
flyingLowSounds/1-Seifert
07f6d0b34e753cf163e7e6fb74dbbc2af1e2c2f4
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/Gratrix.cpp
flyingLowSounds/1-Seifert
07f6d0b34e753cf163e7e6fb74dbbc2af1e2c2f4
[ "MIT", "BSD-3-Clause" ]
1
2021-09-20T11:38:24.000Z
2021-09-20T11:38:24.000Z
#include "Gratrix.hpp" Plugin *pluginInstance; void init(rack::Plugin *p) { pluginInstance = p; p->addModel(modelADSR_F1); p->addModel(modelBinary_G1); p->addModel(modelBlank_03); p->addModel(modelBlank_06); p->addModel(modelBlank_09); p->addModel(modelBlank_12); p->addModel(modelChord_G1); p->addModel(mode...
21.931034
29
0.742138
flyingLowSounds
4edca41bba041b2a58f15755feffd438f4e13063
212
cpp
C++
gen/src/model/ServiceJobStatus_test.cpp
cpp-openapi/dockerctl
44da21c32509fb7e44c93551a41ceb14c42c18b1
[ "Apache-2.0" ]
null
null
null
gen/src/model/ServiceJobStatus_test.cpp
cpp-openapi/dockerctl
44da21c32509fb7e44c93551a41ceb14c42c18b1
[ "Apache-2.0" ]
null
null
null
gen/src/model/ServiceJobStatus_test.cpp
cpp-openapi/dockerctl
44da21c32509fb7e44c93551a41ceb14c42c18b1
[ "Apache-2.0" ]
null
null
null
#include "gtest/gtest.h" #include "ServiceJobStatus.h" TEST(ServiceJobStatus, Deserialize) { // TODO: generate test content openapi::ServiceJobStatus x; Json j; x.FromJSON(j); x.ToJSON(j); }
17.666667
35
0.674528
cpp-openapi
4ee49afa9d99951e76029e2ac5a3e6d8004164aa
290
hpp
C++
falcon/helper/use_pointer.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
2
2018-02-02T14:19:59.000Z
2018-05-13T02:48:24.000Z
falcon/helper/use_pointer.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
null
null
null
falcon/helper/use_pointer.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
null
null
null
#ifndef FALCON_HELPER_USE_POINTER_HPP #define FALCON_HELPER_USE_POINTER_HPP #include <falcon/type_traits/use_def.hpp> namespace falcon { namespace _aux { FALCON_USE_XXX_TRAIT_NAMED_DEF(pointer, use_pointer); } template <class T> struct use_pointer : _aux::use_pointer<T> {}; } #endif
14.5
53
0.8
jonathanpoelen
4ee7e0a239093764abccbb9676c533c0a2d45fc3
1,845
inl
C++
include/Nazara/Platform/EventHandler.inl
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
11
2019-11-27T00:40:43.000Z
2020-01-29T14:31:52.000Z
include/Nazara/Platform/EventHandler.inl
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
7
2019-11-27T00:29:08.000Z
2020-01-08T18:53:39.000Z
include/Nazara/Platform/EventHandler.inl
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
7
2019-11-27T10:27:40.000Z
2020-01-15T17:43:33.000Z
// Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" // For conditions of distribution and use, see copyright notice in Config.hpp #include <Nazara/Platform/EventHandler.hpp> #include <memory> #include <Nazara/Platform/Debug.hpp> namespace Nz...
21.453488
77
0.714363
jayrulez
4ee81b5d254e4ff8d3fb4a6670972d02c3f16fd7
599
hpp
C++
include/ekutils/bag.hpp
handtruth/ekutils
c8f0798c9aaa356ee140cf3a8c50025e649e265b
[ "MIT" ]
null
null
null
include/ekutils/bag.hpp
handtruth/ekutils
c8f0798c9aaa356ee140cf3a8c50025e649e265b
[ "MIT" ]
null
null
null
include/ekutils/bag.hpp
handtruth/ekutils
c8f0798c9aaa356ee140cf3a8c50025e649e265b
[ "MIT" ]
null
null
null
#ifndef BAG_HEAD_GIGCFTHCWDZCXVCB #define BAG_HEAD_GIGCFTHCWDZCXVCB #include <forward_list> namespace handtruth::ekutils { template <typename T> class bag { std::forward_list<T> data; public: T & add(const T & value) { data.push_front(value); return data.front(); } T & add(T && value) { data.push_front(...
16.638889
57
0.679466
handtruth
4ee86d8cdfffa3a8b32a9cafd1386ce986a76d1a
13,396
cpp
C++
Samples/Win7Samples/multimedia/mediafoundation/asfparser/Decoder.cpp
windows-development/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
8
2017-04-30T17:38:27.000Z
2021-11-29T00:59:03.000Z
Samples/Win7Samples/multimedia/mediafoundation/asfparser/Decoder.cpp
TomeSq/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
null
null
null
Samples/Win7Samples/multimedia/mediafoundation/asfparser/Decoder.cpp
TomeSq/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
2
2020-08-11T13:21:49.000Z
2021-09-01T10:41:51.000Z
////////////////////////////////////////////////////////////////////////// // // Decoder.cpp : CDecoder class implementation. // // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO // THE IMPLIED WARRANTIES OF MERCHANTABILITY...
27.563786
102
0.54046
windows-development
4ee943b8ebe8cea3973e609e026cb57c6d20caa3
5,446
cpp
C++
src/main.cpp
Attractadore/RaytracingCPU
535fa254f9bb071e922364bcbb5cae4486af73ea
[ "MIT" ]
null
null
null
src/main.cpp
Attractadore/RaytracingCPU
535fa254f9bb071e922364bcbb5cae4486af73ea
[ "MIT" ]
null
null
null
src/main.cpp
Attractadore/RaytracingCPU
535fa254f9bb071e922364bcbb5cae4486af73ea
[ "MIT" ]
null
null
null
#include "Intersectable.hpp" #include "Light.hpp" #include "MaterialLoader.hpp" #include "SceneLoader.hpp" #include "Util/ReinhardToneMapping.hpp" #include "Util/Window.hpp" #include <boost/program_options.hpp> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <chrono> #include <iostream> #inclu...
35.828947
177
0.655343
Attractadore
4ee9a3c10ce7e04a3ee4cd2820398bd02a1427d7
269
hpp
C++
include/hypp/message.hpp
erengy/hypp
966448d020039552aa18d16f0b77b214a93acc4b
[ "MIT" ]
3
2018-10-14T22:45:31.000Z
2021-07-09T21:31:07.000Z
include/hypp/message.hpp
erengy/hypp
966448d020039552aa18d16f0b77b214a93acc4b
[ "MIT" ]
null
null
null
include/hypp/message.hpp
erengy/hypp
966448d020039552aa18d16f0b77b214a93acc4b
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <hypp/header.hpp> namespace hypp { template <typename StartLine> struct Message { StartLine start_line; // start-line = request-line / status-line HeaderFields header_fields; std::string body; }; } // namespace hypp
15.823529
67
0.72119
erengy
4eeb4d1919c8dceae62fc8c698c6f75d47b21a2c
535
cpp
C++
src/generated/rpg_battlecommands.cpp
glynnc/liblcf
301371de7d8e39f30c464ace355252b58beb71ee
[ "MIT" ]
null
null
null
src/generated/rpg_battlecommands.cpp
glynnc/liblcf
301371de7d8e39f30c464ace355252b58beb71ee
[ "MIT" ]
null
null
null
src/generated/rpg_battlecommands.cpp
glynnc/liblcf
301371de7d8e39f30c464ace355252b58beb71ee
[ "MIT" ]
null
null
null
/* !!!! GENERATED FILE - DO NOT EDIT !!!! */ /* * Copyright (c) 2014 liblcf authors * This file is released under the MIT License * http://opensource.org/licenses/MIT */ // Headers #include "rpg_battlecommands.h" /** * Constructor. */ RPG::BattleCommands::BattleCommands() { placement = 0; death_handler1 = 0;...
17.258065
46
0.659813
glynnc
4eeb870521485f02047be2aba393427c0dba9fb9
4,651
cpp
C++
logfiletest/testModule/LogFileUtilityTest.cpp
maxperiod/aiongrindmeter2
91a54d7cb01957cd9e1439b89bbd03ddb63a76a7
[ "MIT" ]
2
2016-08-19T19:28:04.000Z
2021-04-18T04:48:44.000Z
logfiletest/testModule/LogFileUtilityTest.cpp
maxperiod/aiongrindmeter2
91a54d7cb01957cd9e1439b89bbd03ddb63a76a7
[ "MIT" ]
null
null
null
logfiletest/testModule/LogFileUtilityTest.cpp
maxperiod/aiongrindmeter2
91a54d7cb01957cd9e1439b89bbd03ddb63a76a7
[ "MIT" ]
null
null
null
using namespace std; #include "gtest/gtest.h" #include "../Module.h" #include "../parser/LogFileUtility.h" #include "../language/EnglishNA.h" #include "../parser/ChatLogCommand.h" #include "testLog/TemporaryLogFile.h" class Module1: public Module{ public: int x; int m; Module1(): x(0), m(0){ DECLARE_MESSAGE_R...
30.006452
224
0.783272
maxperiod
4eed94bc5281aaeb8c1d191098be79cbd62377ec
145
cpp
C++
scripts/cpp11/enable_if.cpp
zoomint/GreatCMakeCookOff
44680621bfb511588526a42937ba12abc058ebd4
[ "MIT" ]
37
2015-08-12T12:02:58.000Z
2020-11-13T08:46:56.000Z
scripts/cpp11/enable_if.cpp
zoomint/GreatCMakeCookOff
44680621bfb511588526a42937ba12abc058ebd4
[ "MIT" ]
43
2015-01-05T15:14:42.000Z
2019-05-21T22:01:27.000Z
scripts/cpp11/enable_if.cpp
zoomint/GreatCMakeCookOff
44680621bfb511588526a42937ba12abc058ebd4
[ "MIT" ]
23
2015-01-05T15:07:01.000Z
2021-02-27T19:11:59.000Z
#include <type_traits> template<int N> typename std::enable_if<N==2, int>::type testme() { return 0; } int main() { return testme<2>(); };
16.111111
65
0.634483
zoomint
4ef26c61a321eae1e7490bde361dae47be78a8ca
7,078
cpp
C++
week9/Assignment9/Assignment9/Assignment9.cpp
chrisloyde/CPlusPlus_Course
aae6a93424d0cbb98a634546de6832ae7744d3bf
[ "Unlicense" ]
null
null
null
week9/Assignment9/Assignment9/Assignment9.cpp
chrisloyde/CPlusPlus_Course
aae6a93424d0cbb98a634546de6832ae7744d3bf
[ "Unlicense" ]
null
null
null
week9/Assignment9/Assignment9/Assignment9.cpp
chrisloyde/CPlusPlus_Course
aae6a93424d0cbb98a634546de6832ae7744d3bf
[ "Unlicense" ]
null
null
null
/* Exercise 7.28 (Palindromes): Palindrome: string that's spelled the same way forward and backward. Recursive function testPalindrome that returns true if a string is a palindrome. Exercise 7.32 pg 335-336 (Find The Minimum Value in an array): Recursive function recursiveMinimum that accepts integer array, starting...
32.768519
119
0.688754
chrisloyde
4ef45197d099b2300fdfe418de7d07406b97e859
3,773
cpp
C++
src/verification-algorithms/ic3/ic3.cpp
AnandSaminathan/verification-algorithms
5ba499b6147dc6002b6e7a1b67ffc1da6a2e1549
[ "BSL-1.0" ]
null
null
null
src/verification-algorithms/ic3/ic3.cpp
AnandSaminathan/verification-algorithms
5ba499b6147dc6002b6e7a1b67ffc1da6a2e1549
[ "BSL-1.0" ]
null
null
null
src/verification-algorithms/ic3/ic3.cpp
AnandSaminathan/verification-algorithms
5ba499b6147dc6002b6e7a1b67ffc1da6a2e1549
[ "BSL-1.0" ]
null
null
null
#include "verification-algorithms/ic3/ic3.hpp" namespace verifier { void IC3::declare() { for(auto symbol: symbols) { x.push_back(addOrGetSymbol(symbol)); type type = symbol.getType(); std::string name = symbol.getName(); std::string value = symbol.getValue(); std::st...
28.156716
69
0.475484
AnandSaminathan
4ef6284af67953ea56129867b415de6f9c5f510f
7,460
hh
C++
python/dune/xt/functions/function-interface.hh
dune-community/dune-xt
da921524c6fff8d60c715cb4849a0bdd5f020d2b
[ "BSD-2-Clause" ]
2
2020-02-08T04:08:52.000Z
2020-08-01T18:54:14.000Z
python/dune/xt/functions/function-interface.hh
dune-community/dune-xt
da921524c6fff8d60c715cb4849a0bdd5f020d2b
[ "BSD-2-Clause" ]
35
2019-08-19T12:06:35.000Z
2020-03-27T08:20:39.000Z
python/dune/xt/functions/function-interface.hh
dune-community/dune-xt
da921524c6fff8d60c715cb4849a0bdd5f020d2b
[ "BSD-2-Clause" ]
1
2020-02-08T04:09:34.000Z
2020-02-08T04:09:34.000Z
// This file is part of the dune-xt project: // https://zivgitlab.uni-muenster.de/ag-ohlberger/dune-community/dune-xt // Copyright 2009-2021 dune-xt developers and contributors. All rights reserved. // License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // or GPL-2.0+ (h...
31.610169
120
0.619839
dune-community
4ef9cd070bb23a8ae7533e814792b29650d50bf4
2,767
cpp
C++
src/app/cycles_server.cpp
alecsavvy/cycles
2ad08fa83a7b0ad275a97bc183db34a9c98d6384
[ "Apache-2.0" ]
null
null
null
src/app/cycles_server.cpp
alecsavvy/cycles
2ad08fa83a7b0ad275a97bc183db34a9c98d6384
[ "Apache-2.0" ]
null
null
null
src/app/cycles_server.cpp
alecsavvy/cycles
2ad08fa83a7b0ad275a97bc183db34a9c98d6384
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2011-2013 Blender Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
23.853448
78
0.687748
alecsavvy
4efa20acf15cb22b0d68cf52ac946e5b007ed08b
15,612
cpp
C++
src/Core/Input/Windows/CInputSystem.cpp
przemyslaw-szymanski/vke
1d8fb139e0e995e330db6b8873dfc49463ec312c
[ "MIT" ]
1
2018-01-06T04:44:36.000Z
2018-01-06T04:44:36.000Z
src/Core/Input/Windows/CInputSystem.cpp
przemyslaw-szymanski/vke
1d8fb139e0e995e330db6b8873dfc49463ec312c
[ "MIT" ]
null
null
null
src/Core/Input/Windows/CInputSystem.cpp
przemyslaw-szymanski/vke
1d8fb139e0e995e330db6b8873dfc49463ec312c
[ "MIT" ]
null
null
null
#include "Core/Input/CInputSystem.h" #include "Core/Platform/CPlatform.h" #include "Core/Utils/CLogger.h" #if VKE_WINDOWS #include <windef.h> #include <basetsd.h> #include <winnt.h> #include <hidusage.h> namespace VKE { namespace Input { using QWORD = uint64_t; static Input::KEY vke_force_inlin...
40.030769
126
0.447156
przemyslaw-szymanski
4efae9df979242bd60cf76a6b6bf4a76f36fa9e4
1,972
cpp
C++
AtCoder/ABC/ABC-120/SolveD.cpp
MonadicDavidHuang/CompetitiveProgramming
b5b6f39a1be05d257f8ea8e504dd910cc624b153
[ "MIT" ]
null
null
null
AtCoder/ABC/ABC-120/SolveD.cpp
MonadicDavidHuang/CompetitiveProgramming
b5b6f39a1be05d257f8ea8e504dd910cc624b153
[ "MIT" ]
null
null
null
AtCoder/ABC/ABC-120/SolveD.cpp
MonadicDavidHuang/CompetitiveProgramming
b5b6f39a1be05d257f8ea8e504dd910cc624b153
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using ll = long long int; const int MAX = (int)(1e5 + 5); const ll INF = (ll)(1e10 + 5); const int MAX_N = (int)(1e5 + 5); ///////////////////////////////////////////////////////// class UnionFind { public: static const int MAX_N_LIB = (int)(2e5 + 100); int uf_par...
18.091743
60
0.481744
MonadicDavidHuang
4efc1ae660240b5dfdeffe54cd4d024746044b49
3,467
hpp
C++
include/Player.hpp
ugo94490/Indie-Studio
9a8436a88c6e7f5d7dd571b77e81998559e6c1ad
[ "Unlicense" ]
2
2020-08-11T09:30:26.000Z
2021-08-25T08:05:35.000Z
include/Player.hpp
ugo94490/Indie-Studio
9a8436a88c6e7f5d7dd571b77e81998559e6c1ad
[ "Unlicense" ]
null
null
null
include/Player.hpp
ugo94490/Indie-Studio
9a8436a88c6e7f5d7dd571b77e81998559e6c1ad
[ "Unlicense" ]
null
null
null
/* ** EPITECH PROJECT, 2020 ** OOP_indie_studio_2019 ** File description: ** Player */ #pragma once #include "Bomb.hpp" class Core; class Player : public GameObject { public: Player(irr::core::vector3d<f32> pos, scene::ISceneManager* smgr, video::IVideoDriver* driver, std::string name, irr::video::ITextu...
38.522222
165
0.634843
ugo94490
4efd06ed1b301cb154dafcf499d5ddf78ed2d054
44,750
cpp
C++
src/linux/cgroups.cpp
clearstorydata/mesos
4164125048c6635a4d0dbe72daf243457b0f325b
[ "Apache-2.0" ]
null
null
null
src/linux/cgroups.cpp
clearstorydata/mesos
4164125048c6635a4d0dbe72daf243457b0f325b
[ "Apache-2.0" ]
null
null
null
src/linux/cgroups.cpp
clearstorydata/mesos
4164125048c6635a4d0dbe72daf243457b0f325b
[ "Apache-2.0" ]
1
2022-02-19T10:59:37.000Z
2022-02-19T10:59:37.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 you under the Apache License, Version 2.0 (the * "License"); you...
29.402102
80
0.619777
clearstorydata
f605e880bf6ad708b722b5a08a55526db4f21d67
1,664
cpp
C++
src/Interfaces/filesystem/filequery_win.cpp
MadManRises/Madgine
c9949bc9cf8b30d63db0da2382c9fbc5b60bcd0f
[ "MIT" ]
5
2018-05-16T14:09:34.000Z
2019-10-24T19:01:15.000Z
src/Interfaces/filesystem/filequery_win.cpp
MadManRises/Madgine
c9949bc9cf8b30d63db0da2382c9fbc5b60bcd0f
[ "MIT" ]
71
2017-06-20T06:41:42.000Z
2021-01-11T11:18:53.000Z
src/Interfaces/filesystem/filequery_win.cpp
MadManRises/Madgine
c9949bc9cf8b30d63db0da2382c9fbc5b60bcd0f
[ "MIT" ]
2
2018-05-16T13:57:25.000Z
2018-05-16T13:57:51.000Z
#include "../interfaceslib.h" #if WINDOWS # include "filequery.h" # include "path.h" # define NOMINMAX # include <Windows.h> # include <cctype> # include <direct.h> namespace Engine { namespace Filesystem { struct FileQueryState { WIN32_FIND_DATA mData; }; static bool skipS...
21.063291
97
0.58113
MadManRises
f60ef63735670181e25ea31058b08c85755c29ec
1,816
cpp
C++
Factorio-Imitation/UIManager.cpp
JiokKae/Factorio-Imitation
06b6328a48926e64b376ff8e985eedef22f06c14
[ "MIT" ]
2
2020-12-24T10:38:46.000Z
2021-04-23T11:44:48.000Z
Factorio-Imitation/UIManager.cpp
JiokKae/Factorio-Imitation
06b6328a48926e64b376ff8e985eedef22f06c14
[ "MIT" ]
null
null
null
Factorio-Imitation/UIManager.cpp
JiokKae/Factorio-Imitation
06b6328a48926e64b376ff8e985eedef22f06c14
[ "MIT" ]
null
null
null
#include "UIManager.h" #include "UI.h" #include "HandUI.h" #include "TextUI.h" HRESULT UIManager::Init() { handUI = new HandUI(); handUI->Init(); textUI = new TextUI(); textUI->Init(); textUI->SetText("TextUI Test"); textUI->SetLocalPosition(glm::vec2(500.f, 500.f)); return S_OK; } void UIManager::Release() ...
13.969231
66
0.639317
JiokKae
f61628e33ff06fe389ecd0287039380b222ffb72
7,676
cpp
C++
demo_plugins/IntOperations/IntOperations/IntOperations.cpp
JuniorDjjr/CLEO4
97491d1b55fe8efef926462e836e644434714157
[ "MIT" ]
112
2016-02-29T19:32:18.000Z
2022-03-26T19:18:19.000Z
demo_plugins/IntOperations/IntOperations/IntOperations.cpp
UTINKA/CLEO4
1c773e5a1f37208a3a3b0458ae63d49424423833
[ "MIT" ]
53
2016-02-29T20:18:58.000Z
2022-03-14T23:45:24.000Z
demo_plugins/IntOperations/IntOperations/IntOperations.cpp
UTINKA/CLEO4
1c773e5a1f37208a3a3b0458ae63d49424423833
[ "MIT" ]
27
2016-05-27T00:53:30.000Z
2022-02-09T10:29:11.000Z
#include "plugin.h" #include "CLEO.h" using namespace plugin; class IntOperations { public: IntOperations() { //check cleo version if (CLEO_GetVersion() >= CLEO_VERSION) { //register opcodes CLEO_RegisterOpcode(0x0B10, Script_IntOp_AND); CLEO_RegisterOpcode(0x0B...
35.702326
118
0.449062
JuniorDjjr
f61d0cc63d470060b5468be53d6217ecfb196f54
2,627
cpp
C++
leetcode/binary-search/875.koko-eating-bananas.cpp
saurabhraj042/dsaPrep
0973a03bc565a2850003c7e48d99b97ff83b1d01
[ "MIT" ]
23
2021-10-30T04:11:52.000Z
2021-11-27T09:16:18.000Z
leetcode/binary-search/875.koko-eating-bananas.cpp
Pawanupadhyay10/placement-prep
0449fa7cbc56e7933e6b090936ab7c15ca5f290f
[ "MIT" ]
null
null
null
leetcode/binary-search/875.koko-eating-bananas.cpp
Pawanupadhyay10/placement-prep
0449fa7cbc56e7933e6b090936ab7c15ca5f290f
[ "MIT" ]
4
2021-10-30T03:26:05.000Z
2021-11-14T12:15:04.000Z
// https://leetcode.com/problems/koko-eating-bananas/ /** * # OBSERVATIONS : * * Let's say the max pile has X bananas, then if koko eats X b/hr then she can * eat all piles in 'N' hrs (N -> total no of piles of bananas) * * Now our task is to minimise this X, X i...
34.116883
136
0.457556
saurabhraj042
f61f75f7d78cc91290393c4ae8e7c3d62dc06860
2,227
cpp
C++
src/Engine/Animation/Skeleton.cpp
Chainsawkitten/Deathcap
37ed5afccd3113d34612d89c6e6508e8da9a0d7f
[ "MIT" ]
3
2017-09-08T06:05:10.000Z
2017-10-28T04:22:20.000Z
src/Engine/Animation/Skeleton.cpp
Chainsawkitten/Deathcap
37ed5afccd3113d34612d89c6e6508e8da9a0d7f
[ "MIT" ]
894
2017-08-30T09:57:28.000Z
2018-01-30T12:35:38.000Z
src/Engine/Animation/Skeleton.cpp
Chainsawkitten/LargeGameProjectEngine
37ed5afccd3113d34612d89c6e6508e8da9a0d7f
[ "MIT" ]
1
2020-11-06T23:59:58.000Z
2020-11-06T23:59:58.000Z
#include "Skeleton.hpp" #include <glm/gtc/matrix_inverse.hpp> #include <Utility/Log.hpp> #include <Engine/Hymn.hpp> #include "SkeletonBone.hpp" #ifdef USINGMEMTRACK #include <MemTrackInclude.hpp> #endif using namespace Animation; Animation::Skeleton::Skeleton() { } void Skeleton::Save(const std::string& path) { ...
27.158537
99
0.614728
Chainsawkitten
f625c4701b4a2e1a933660a5e05f4169af368c9e
1,537
cpp
C++
src/framework/shared/core/fxcxdeviceinit.cpp
IT-Enthusiast-Nepal/Windows-Driver-Frameworks
bfee6134f30f92a90dbf96e98d54582ecb993996
[ "MIT" ]
994
2015-03-18T21:37:07.000Z
2019-04-26T04:04:14.000Z
src/framework/shared/core/fxcxdeviceinit.cpp
IT-Enthusiast-Nepal/Windows-Driver-Frameworks
bfee6134f30f92a90dbf96e98d54582ecb993996
[ "MIT" ]
13
2019-06-13T15:58:03.000Z
2022-02-18T22:53:35.000Z
src/framework/shared/core/fxcxdeviceinit.cpp
IT-Enthusiast-Nepal/Windows-Driver-Frameworks
bfee6134f30f92a90dbf96e98d54582ecb993996
[ "MIT" ]
350
2015-03-19T04:29:46.000Z
2019-05-05T23:26:50.000Z
/*++ Copyright (c) Microsoft Corporation Module Name: FxCxDeviceInit.cpp Abstract: Internals for WDFCXDEVICE_INIT Author: Environment: Both kernel and user mode Revision History: --*/ #include "coreprivshared.hpp" extern "C" { #include "FxCxDeviceInit.tmh" } WDFCXDEVICE_INIT::WDFCXDEVICE_INI...
19.2125
78
0.696161
IT-Enthusiast-Nepal
f625e605c381f227d54136712bbcedc4d557728e
9,892
hpp
C++
apyre/src/apyre/inputs.hpp
cvbn127/captal-engine
93a5f428b4cee810b529b7c9a9b3bf6504c8f32f
[ "MIT" ]
78
2021-11-02T13:55:43.000Z
2022-02-25T09:37:22.000Z
apyre/src/apyre/inputs.hpp
cvbn127/captal-engine
93a5f428b4cee810b529b7c9a9b3bf6504c8f32f
[ "MIT" ]
null
null
null
apyre/src/apyre/inputs.hpp
cvbn127/captal-engine
93a5f428b4cee810b529b7c9a9b3bf6504c8f32f
[ "MIT" ]
6
2021-11-03T06:56:22.000Z
2022-01-13T19:11:29.000Z
//MIT License // //Copyright (c) 2021 Alexy Pellegrini // //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, ...
24.73
148
0.634048
cvbn127
f62605903939c31492b20c7eb3db095b2f90142c
3,297
hpp
C++
include/Zoom/Config.hpp
Zinlibs/Zoom
55cc8172043365f2c22e153f95a75dc510a27d5c
[ "Zlib" ]
3
2015-01-31T05:08:43.000Z
2016-04-22T17:24:41.000Z
include/Zoom/Config.hpp
pebbrian/Zoom
55cc8172043365f2c22e153f95a75dc510a27d5c
[ "Zlib" ]
null
null
null
include/Zoom/Config.hpp
pebbrian/Zoom
55cc8172043365f2c22e153f95a75dc510a27d5c
[ "Zlib" ]
2
2018-10-07T16:02:03.000Z
2019-03-18T05:50:45.000Z
//////////////////////////////////////////////////////////// // // Zoom C++ library // Copyright (C) 2011-2012 Pierre-Emmanuel BRIAN (zinlibs@gmail.com) // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any damages arising from the...
32.97
102
0.583864
Zinlibs
f6297844e200d67cf5168ece46d6fceb0293c881
8,197
hpp
C++
thirdparty/antlr/cpp/antlr3interfaces.hpp
RuslanKorshunov/sc-machine
8cb79a818d4e4144843b26722ac67bd71515ddaf
[ "MIT" ]
2
2015-02-20T16:48:59.000Z
2015-03-14T11:37:40.000Z
thirdparty/antlr/cpp/antlr3interfaces.hpp
RuslanKorshunov/sc-machine
8cb79a818d4e4144843b26722ac67bd71515ddaf
[ "MIT" ]
19
2015-02-01T19:42:52.000Z
2016-10-27T15:59:55.000Z
thirdparty/antlr/cpp/antlr3interfaces.hpp
RuslanKorshunov/sc-machine
8cb79a818d4e4144843b26722ac67bd71515ddaf
[ "MIT" ]
23
2015-04-18T15:11:56.000Z
2021-12-21T14:43:22.000Z
/** \file * Declarations for all the antlr3 C runtime interfaces/classes. This * allows the structures that define the interfaces to contain pointers to * each other without trying to sort out the cyclic interdependencies that * would otherwise result. */ #ifndef _ANTLR3_INTERFACES_HPP #define _ANTLR3_INTERFACES_H...
27.142384
81
0.786019
RuslanKorshunov
f629a7180509586c65557a3af841eb3231b389ca
2,094
cpp
C++
Chapter 4: Graph/Single-Source Shortest Paths/On Unweighted Graph: BFS, Easier/10653 - Bombs! NO they are Mines!!.cpp
nicolaskribas/cp3
e325b961451fc8a23a71ecab73b5ce4461313187
[ "MIT" ]
1
2020-09-29T11:24:13.000Z
2020-09-29T11:24:13.000Z
Chapter 4: Graph/Single-Source Shortest Paths/On Unweighted Graph: BFS, Easier/10653 - Bombs! NO they are Mines!!.cpp
nicolaskribas/competitive-programming-3
e325b961451fc8a23a71ecab73b5ce4461313187
[ "MIT" ]
null
null
null
Chapter 4: Graph/Single-Source Shortest Paths/On Unweighted Graph: BFS, Easier/10653 - Bombs! NO they are Mines!!.cpp
nicolaskribas/competitive-programming-3
e325b961451fc8a23a71ecab73b5ce4461313187
[ "MIT" ]
null
null
null
#include <cstdio> #include <queue> #include <vector> using namespace std; typedef long long ll; typedef pair<int, int> ii; typedef vector<ii> vii; typedef vector<int> vi; #define INF 1000000000 int r, c; vector<ii> adjacent(ii u) { vector<ii> adj_list; if (u.first != 0) adj_list.push_back(ii(u.firs...
26.506329
80
0.490449
nicolaskribas