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
fe43ebf51be651d1da0fd64829ecf6a0b1efb7e8
670
cpp
C++
src/MeteringSDK/MCORE/MTypeCasting.cpp
beroset/C12Adapter
593b201db169481245b0673813e19d174560a41e
[ "MIT" ]
9
2016-09-02T17:24:58.000Z
2021-12-14T19:43:48.000Z
src/MeteringSDK/MCORE/MTypeCasting.cpp
beroset/C12Adapter
593b201db169481245b0673813e19d174560a41e
[ "MIT" ]
1
2018-09-06T21:48:42.000Z
2018-09-06T21:48:42.000Z
src/MeteringSDK/MCORE/MTypeCasting.cpp
beroset/C12Adapter
593b201db169481245b0673813e19d174560a41e
[ "MIT" ]
4
2016-09-06T16:54:36.000Z
2021-12-16T16:15:24.000Z
// File MCORE/MTypeCasting.cpp #include "MCOREExtern.h" #include "MObject.h" // included instead of MTypeCasting.h #include "MException.h" M_FUNC M_NORETURN_FUNC void MDoThrowBadConversionUint64(const char* typeName) { MException::Throw(MException::ErrorSoftware, M_CODE_STR_P1(MErrorEnum::BadConversion, M_I("Coul...
35.263158
158
0.777612
beroset
1cfb31356e49096d53dc216d70e33f3b0575fd5f
3,168
cpp
C++
test/test_harmonic1d.cpp
grasingerm/port-authority
51db6b09d6a1545eafeaf6be037a23d47313c490
[ "MIT" ]
null
null
null
test/test_harmonic1d.cpp
grasingerm/port-authority
51db6b09d6a1545eafeaf6be037a23d47313c490
[ "MIT" ]
null
null
null
test/test_harmonic1d.cpp
grasingerm/port-authority
51db6b09d6a1545eafeaf6be037a23d47313c490
[ "MIT" ]
null
null
null
#include <iostream> #include <cassert> #include <cstdlib> #include <ctime> #include <random> #include "port_authority.hpp" #include "mpi.h" using namespace std; using namespace pauth; int main() { int taskid, numtasks; MPI_Init(nullptr, nullptr); MPI_Comm_size(MPI_COMM_WORLD, &numtasks); MPI_Comm_rank(MP...
31.68
80
0.561553
grasingerm
e80028ad367f2469b3c6449533f19dc84eb2b828
1,591
cpp
C++
test_package/example.cpp
memsharded/conan-eastl
1c0de6b7f650036224fe4f51e5001f59aa609de0
[ "MIT" ]
null
null
null
test_package/example.cpp
memsharded/conan-eastl
1c0de6b7f650036224fe4f51e5001f59aa609de0
[ "MIT" ]
null
null
null
test_package/example.cpp
memsharded/conan-eastl
1c0de6b7f650036224fe4f51e5001f59aa609de0
[ "MIT" ]
null
null
null
#include <cstdlib> #include <iostream> #include <EASTL/hash_map.h> #include <EASTL/string.h> // EASTL expects us to define these, see allocator.h line 194 void* operator new[](size_t size, const char* /* pName */, int /* flags */, unsigned /* debugFlags */, const char* /* fil...
27.912281
75
0.59208
memsharded
e802fbd2c9ca1e00f17cf66c860bdb14a403a0e8
1,878
cpp
C++
Camera.cpp
CJT-Jackton/The-Color-of-Tea
d7c79279613bdc04237e8692bcc2cb6918172900
[ "BSD-2-Clause" ]
1
2020-09-15T06:32:08.000Z
2020-09-15T06:32:08.000Z
Camera.cpp
CJT-Jackton/The-Color-of-Tea
d7c79279613bdc04237e8692bcc2cb6918172900
[ "BSD-2-Clause" ]
null
null
null
Camera.cpp
CJT-Jackton/The-Color-of-Tea
d7c79279613bdc04237e8692bcc2cb6918172900
[ "BSD-2-Clause" ]
null
null
null
// // Camera.cpp // // Camera class implementations. // // Author: Jietong Chen // Date: 5/2/2018 // #include <glm/gtc/matrix_transform.hpp> #include "Camera.h" /// // Constructor // // @param position - camera location // @param lookat - lookat point location // @param fov - field of view // @param aspec...
27.217391
80
0.551118
CJT-Jackton
e8046a51eb12bfe61e487c86917358894bf37cc1
31,943
cpp
C++
src/Filesystem/Filesystem.cpp
NerdThings/Ngine
e5c4754d07ec38e727d8baaf7250dbb996cad49e
[ "Apache-2.0" ]
2
2019-05-24T15:20:14.000Z
2019-06-12T11:55:27.000Z
src/Filesystem/Filesystem.cpp
NerdThings/Ngine
e5c4754d07ec38e727d8baaf7250dbb996cad49e
[ "Apache-2.0" ]
23
2019-06-05T12:52:33.000Z
2020-03-11T15:23:00.000Z
src/Filesystem/Filesystem.cpp
NerdThings/Ngine
e5c4754d07ec38e727d8baaf7250dbb996cad49e
[ "Apache-2.0" ]
1
2019-10-02T20:31:12.000Z
2019-10-02T20:31:12.000Z
/********************************************************************************************** * * Ngine - The 2D game engine. * * Copyright (C) 2019 NerdThings * * LICENSE: Apache License 2.0 * View: https://github.com/NerdThings/Ngine/blob/master/LICENSE * ****************************************************...
28.243148
134
0.556648
NerdThings
e809d18d381bc7627564d835d0abda51c14e182e
1,578
cpp
C++
Store/XamlWin2D/App.cpp
moutend/cppwinrt
737cbbb11fe56e4d94ff9d84a44aa72e0689016b
[ "MIT" ]
83
2017-11-15T22:51:43.000Z
2022-03-01T09:54:00.000Z
Store/XamlWin2D/App.cpp
moutend/cppwinrt
737cbbb11fe56e4d94ff9d84a44aa72e0689016b
[ "MIT" ]
1
2017-11-13T03:14:01.000Z
2017-11-14T18:01:06.000Z
Store/XamlWin2D/App.cpp
moutend/cppwinrt
737cbbb11fe56e4d94ff9d84a44aa72e0689016b
[ "MIT" ]
24
2017-11-16T22:01:41.000Z
2021-08-04T09:27:46.000Z
#include "pch.h" using namespace winrt; using namespace Windows::ApplicationModel::Activation; using namespace Windows::Foundation; using namespace Windows::Foundation::Numerics; using namespace Windows::UI; using namespace Windows::UI::Xaml; using namespace Microsoft::Graphics::Canvas; using namespace Mi...
32.204082
102
0.646388
moutend
e80e829eed92f0153300cb9a252f84846b85801d
1,561
cpp
C++
c/src/algorithm/sunday.cpp
jc1995wade/dwadelib
06fa17e4687f6a1cd8503d5804c49ca924f9cfb7
[ "Apache-2.0" ]
2
2020-04-15T15:04:21.000Z
2022-03-30T06:22:00.000Z
c/src/algorithm/sunday.cpp
jc1995wade/dwadelib
06fa17e4687f6a1cd8503d5804c49ca924f9cfb7
[ "Apache-2.0" ]
null
null
null
c/src/algorithm/sunday.cpp
jc1995wade/dwadelib
06fa17e4687f6a1cd8503d5804c49ca924f9cfb7
[ "Apache-2.0" ]
null
null
null
#include <stdio.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <fcntl.h> #include <string.h> int * getStep(int *step, char *a, char *b) { int i, sublen; for (i=0; i<256; i++) { step[i] = strlen(b) + 1; } sublen = strlen(b); for (i=0; i<sublen; i++) { step...
19.036585
56
0.497758
jc1995wade
e81ec3c4d0aeb319af81acb7fd418a3da15970d9
9,666
cpp
C++
examples/rapidxml_example.cpp
zlecky/gamecell
309c4e094ed214f79183429e2d2ae9a1464f9b45
[ "MIT" ]
null
null
null
examples/rapidxml_example.cpp
zlecky/gamecell
309c4e094ed214f79183429e2d2ae9a1464f9b45
[ "MIT" ]
null
null
null
examples/rapidxml_example.cpp
zlecky/gamecell
309c4e094ed214f79183429e2d2ae9a1464f9b45
[ "MIT" ]
null
null
null
#include <string> #include <fstream> #include <iostream> #include <string> #include <cmath> #include "rapidxml/rapidxml.hpp" #include "rapidxml/rapidxml_utils.hpp" #include "rapidxml/rapidxml_print.hpp" namespace { void write_doc_to_xml(const std::string& file, rapidxml::xml_document<>& doc) { // write it...
35.667897
134
0.545003
zlecky
e8205f2d64eea0c48d1c378993430260508df213
2,841
cpp
C++
src/Framework/Entities/Components/MeshComponent.cpp
xcasadio/casaengine
19e34c0457265435c28667df7f2e5c137d954b98
[ "MIT" ]
null
null
null
src/Framework/Entities/Components/MeshComponent.cpp
xcasadio/casaengine
19e34c0457265435c28667df7f2e5c137d954b98
[ "MIT" ]
null
null
null
src/Framework/Entities/Components/MeshComponent.cpp
xcasadio/casaengine
19e34c0457265435c28667df7f2e5c137d954b98
[ "MIT" ]
null
null
null
#include "Entities/BaseEntity.h" #include "Entities/ComponentTypeEnum.h" #include "Base.h" #include "Game/Game.h" #include "Assets/AssetManager.h" #include "Maths/Matrix4.h" #include "MeshComponent.h" #include "StringUtils.h" #include "TransformComponent.h" #include "Game/MeshRendererGameComponent.h" namespace Cas...
18.095541
143
0.698698
xcasadio
e82374536f7a46934b251770f446679b13c4779b
2,962
cpp
C++
src/sdb/sdbexception.cpp
raghunayak/libaws
e62cbf2887e7b4177ff72df2e50468ab228edfac
[ "Apache-2.0" ]
null
null
null
src/sdb/sdbexception.cpp
raghunayak/libaws
e62cbf2887e7b4177ff72df2e50468ab228edfac
[ "Apache-2.0" ]
null
null
null
src/sdb/sdbexception.cpp
raghunayak/libaws
e62cbf2887e7b4177ff72df2e50468ab228edfac
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2008 28msec, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
26.212389
105
0.753545
raghunayak
e82566042e055fb3cd4de8673fd2a6eb4a0e2bd8
3,013
hpp
C++
extlibs/SSVUtilsJson/extlibs/SSVUtils/include/SSVUtils/Core/ConsoleFmt/ConsoleFmt.hpp
questor/git-ws
4c6db1dd6586be21baf74d97e3caf1006a239aec
[ "AFL-3.0" ]
null
null
null
extlibs/SSVUtilsJson/extlibs/SSVUtils/include/SSVUtils/Core/ConsoleFmt/ConsoleFmt.hpp
questor/git-ws
4c6db1dd6586be21baf74d97e3caf1006a239aec
[ "AFL-3.0" ]
null
null
null
extlibs/SSVUtilsJson/extlibs/SSVUtils/include/SSVUtils/Core/ConsoleFmt/ConsoleFmt.hpp
questor/git-ws
4c6db1dd6586be21baf74d97e3caf1006a239aec
[ "AFL-3.0" ]
null
null
null
// Copyright (c) 2013-2014 Vittorio Romeo // License: Academic Free License ("AFL") v. 3.0 // AFL License page: http://opensource.org/licenses/AFL-3.0 #ifndef SSVU_CORE_CONSOLEFMT #define SSVU_CORE_CONSOLEFMT namespace ssvu { namespace Console { /// @brief Number of styles. constexpr SizeT styleCount{13}; //...
28.158879
98
0.689346
questor
e82f4a12e54a57a96ed43b5bab19981b6d0f88c5
1,123
cpp
C++
data/dailyCodingProblem987.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
2
2020-09-04T20:56:23.000Z
2021-06-11T07:42:26.000Z
data/dailyCodingProblem987.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
null
null
null
data/dailyCodingProblem987.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; /* Given an array of numbers and an index i, return the index of the nearest larger number of the number at index i, where distance is measured in array indices. For example, given [4, 1, 3, 5, 6] and index 0, you should return 3. If two distances to larger numbers are t...
28.075
96
0.647373
vidit1999
e832d4fb2d0fe78dc887506718cabdfaeda2dd4b
503
cpp
C++
JammaLib/src/actions/DoubleAction.cpp
malisimo/Jamma
69831e79a64e652e82aa41f8141e082c3899896b
[ "MIT" ]
null
null
null
JammaLib/src/actions/DoubleAction.cpp
malisimo/Jamma
69831e79a64e652e82aa41f8141e082c3899896b
[ "MIT" ]
null
null
null
JammaLib/src/actions/DoubleAction.cpp
malisimo/Jamma
69831e79a64e652e82aa41f8141e082c3899896b
[ "MIT" ]
null
null
null
#include "DoubleAction.h" using namespace actions; using base::ActionSender; using base::ActionReceiver; DoubleAction::DoubleAction(double value) : _value(value), Action() { } DoubleAction::~DoubleAction() { } double DoubleAction::Value() const { return _value; } DoubleActionUndo::DoubleActionUndo(double value,...
13.594595
48
0.747515
malisimo
e83551b6fccba0088ef3735bd74e8ac99ca171e6
287
cc
C++
material.cc
KXue/CLRT
2b2dcb3addf5f638cda86fb03322779e0a33aee1
[ "MIT" ]
null
null
null
material.cc
KXue/CLRT
2b2dcb3addf5f638cda86fb03322779e0a33aee1
[ "MIT" ]
null
null
null
material.cc
KXue/CLRT
2b2dcb3addf5f638cda86fb03322779e0a33aee1
[ "MIT" ]
null
null
null
#include "material.hpp" Material::Material(float r, float g, float b, int computeColorType): computeColorType(computeColorType){ color[0] = r; color[1] = g; color[2] = b; } int Material::getComputeColorType(){ return computeColorType; } float* Material::GetColor(){ return color; }
22.076923
104
0.724739
KXue
e838091afc5d9e4b405895d692f78c1121b5c18a
15,878
cpp
C++
Visual Studio/Others/Calculateur d'adresses IP/IP_CalculatorDlg.cpp
Jeanmilost/Demos
2b71f6edc85948540660d290183530fd846262ad
[ "MIT" ]
1
2022-03-22T14:41:15.000Z
2022-03-22T14:41:15.000Z
Visual Studio/Others/Calculateur d'adresses IP/IP_CalculatorDlg.cpp
Jeanmilost/Demos
2b71f6edc85948540660d290183530fd846262ad
[ "MIT" ]
null
null
null
Visual Studio/Others/Calculateur d'adresses IP/IP_CalculatorDlg.cpp
Jeanmilost/Demos
2b71f6edc85948540660d290183530fd846262ad
[ "MIT" ]
null
null
null
// IP_CalculatorDlg.cpp : implementation file // #include "stdafx.h" #include "IP_Calculator.h" #include "IP_CalculatorDlg.h" #include "IP_Properties.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ////////////////////////////////////////////////////////////////////...
28.053004
77
0.659466
Jeanmilost
e83c52514866dc6a83663fc12008a7ea911212b2
4,785
cpp
C++
src/Chronicles/entity/item.cpp
gregtour/chronicles-game
813a33c6d484bff59f210d81a3252bef2e0d3ea2
[ "CC0-1.0" ]
1
2015-04-28T15:12:14.000Z
2015-04-28T15:12:14.000Z
src/Chronicles/entity/item.cpp
gregtour/chronicles-game
813a33c6d484bff59f210d81a3252bef2e0d3ea2
[ "CC0-1.0" ]
null
null
null
src/Chronicles/entity/item.cpp
gregtour/chronicles-game
813a33c6d484bff59f210d81a3252bef2e0d3ea2
[ "CC0-1.0" ]
null
null
null
#include "item.h" #include "../../engine/engine.h" #include "../main.h" #include <string> #include <sstream> #include "particles/spark.h" CItem::CItem() { #ifdef LOW_RESOLUTION_TEXTURES mTexture = CManagedTexture::Load( &gResourceManager, "data/low/crate.bmp" ); #else mTexture = CManagedTexture::Load( &g...
29.720497
99
0.597492
gregtour
e83f40a8a2af17a5c25da13f190872a94202a862
1,912
cpp
C++
example/example.cpp
bobsayshilol/tser
5d7bd971bbf8837f3d4d67005565b21a1ede8bfd
[ "BSL-1.0" ]
null
null
null
example/example.cpp
bobsayshilol/tser
5d7bd971bbf8837f3d4d67005565b21a1ede8bfd
[ "BSL-1.0" ]
null
null
null
example/example.cpp
bobsayshilol/tser
5d7bd971bbf8837f3d4d67005565b21a1ede8bfd
[ "BSL-1.0" ]
null
null
null
// Licensed under the Boost License <https://opensource.org/licenses/BSL-1.0>. // SPDX-License-Identifier: BSL-1.0 #include <cassert> #include <optional> #include <tser/tser.hpp> enum class Item : char { NONE = 0, RADAR = 'R', TRAP = 'T', ORE = 'O' }; namespace x { struct Point { DEFINE_SERIALIZABLE(Point,...
39.833333
121
0.630753
bobsayshilol
e840ec70db85f7c504f638759011e6799d264b1d
1,485
hpp
C++
framework/renderer.hpp
Montag55/Das-raytracer
356eac6a2ad6fe4f09015a94df9bbafe490f9585
[ "MIT" ]
null
null
null
framework/renderer.hpp
Montag55/Das-raytracer
356eac6a2ad6fe4f09015a94df9bbafe490f9585
[ "MIT" ]
null
null
null
framework/renderer.hpp
Montag55/Das-raytracer
356eac6a2ad6fe4f09015a94df9bbafe490f9585
[ "MIT" ]
null
null
null
#ifndef BUW_RENDERER_HPP #define BUW_RENDERER_HPP #include "color.hpp" #include "pixel.hpp" #include "ppmwriter.hpp" #include <string> #include <glm/glm.hpp> #include "scene.hpp" #include "hit.hpp" #include "ray.hpp" class Renderer { public: Renderer(Scene const& scene, unsigned int width, unsigned int height, std:...
32.282609
127
0.731313
Montag55
e84314662841bfc5ff1becb4c52ec4f15c329cf7
3,924
cc
C++
modules/external_packages/src/alien/kernels/petsc/data_structure/PETScMatrix.cc
cedricga91/alien_legacy_plugins-1
459701026d76dbe1e8a6b20454f6b50ec9722f7f
[ "Apache-2.0" ]
4
2021-12-02T09:06:38.000Z
2022-01-10T14:22:35.000Z
modules/external_packages/src/alien/kernels/petsc/data_structure/PETScMatrix.cc
cedricga91/alien_legacy_plugins-1
459701026d76dbe1e8a6b20454f6b50ec9722f7f
[ "Apache-2.0" ]
null
null
null
modules/external_packages/src/alien/kernels/petsc/data_structure/PETScMatrix.cc
cedricga91/alien_legacy_plugins-1
459701026d76dbe1e8a6b20454f6b50ec9722f7f
[ "Apache-2.0" ]
7
2021-11-23T14:50:58.000Z
2022-03-17T13:23:07.000Z
#include "PETScMatrix.h" /* Author : havep at Wed Jul 18 14:46:45 2012 * Generated by createNew */ #include "petscmat.h" #include <alien/kernels/petsc/data_structure/PETScVector.h> #include <alien/kernels/petsc/PETScBackEnd.h> #include <alien/kernels/petsc/data_structure/PETScInternal.h> #include <alien/core/impl/M...
31.645161
88
0.579001
cedricga91
e848d5692fdcd65984e89793ebd611ed9f7627f7
1,516
hpp
C++
headers/permutations.hpp
DouglasSherk/project-euler
f3b188b199ff31671c6d7683b15675be7484c5b8
[ "MIT" ]
null
null
null
headers/permutations.hpp
DouglasSherk/project-euler
f3b188b199ff31671c6d7683b15675be7484c5b8
[ "MIT" ]
null
null
null
headers/permutations.hpp
DouglasSherk/project-euler
f3b188b199ff31671c6d7683b15675be7484c5b8
[ "MIT" ]
null
null
null
#ifndef __EULER_PERMUTATIONS_INCLUDED_ #define __EULER_PERMUTATIONS_INCLUDED_ #include <string> #include <utility> #include <algorithm> #include <climits> #include "types.hpp" namespace euler { bool nextPermutation(std::string& n) { // 1. Find largest x s.t. P[x]<P[x+1] int x = -1; for (int i = n.length() - 2...
18.95
67
0.574538
DouglasSherk
e84c4df6e679a44c7a091eac3534e0115d1dc8cb
523
cpp
C++
mainRun.cpp
LvWenHan/lwh
7f7a219623433e5c06cecbaab72b3cd658e1b94b
[ "Apache-2.0" ]
2
2021-03-20T04:25:41.000Z
2021-03-20T06:52:36.000Z
mainRun.cpp
LvWenHan/lwh
7f7a219623433e5c06cecbaab72b3cd658e1b94b
[ "Apache-2.0" ]
null
null
null
mainRun.cpp
LvWenHan/lwh
7f7a219623433e5c06cecbaab72b3cd658e1b94b
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <string> using namespace std; int main(){ int a, b, t,sumA = 0,i = 1; cin >> a >> b >> t; // sumA += a; while(true) { if (sumA + a >= t) { //xxx } if (b * i + b >= t) { //xx } } for(;!(sumA + a >= t || b * i + b >= t);i++){ if(sumA <= b * i){ sumA += a; } cou...
14.135135
46
0.414914
LvWenHan
e8572eeb790963169619fe590f6c05beb3d79ffc
9,995
cpp
C++
src/InstantInterface/WebInterface.cpp
matthieu-ft/InstantInterface
b27212df6769be6e9a5d168a2b0ed49e0130ce42
[ "MIT" ]
null
null
null
src/InstantInterface/WebInterface.cpp
matthieu-ft/InstantInterface
b27212df6769be6e9a5d168a2b0ed49e0130ce42
[ "MIT" ]
null
null
null
src/InstantInterface/WebInterface.cpp
matthieu-ft/InstantInterface
b27212df6769be6e9a5d168a2b0ed49e0130ce42
[ "MIT" ]
null
null
null
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
27.610497
130
0.634317
matthieu-ft
e859ada3637cdae6ad9d53c476e3ceea2404e1f8
903
cpp
C++
codeforces/D - Riverside Curio/Accepted (2).cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/D - Riverside Curio/Accepted (2).cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/D - Riverside Curio/Accepted (2).cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: Mar/26/2018 18:41 * solution_verdict: Accepted language: GNU C++14 * run...
47.526316
111
0.369878
kzvd4729
e85bc666455c7d89246688864cd3f712c3447a25
1,586
cpp
C++
codeforces/538div2/B/main.cpp
Johniel/contests
b692eff913c20e2c1eb4ff0ce3cd4c57900594e0
[ "Unlicense" ]
null
null
null
codeforces/538div2/B/main.cpp
Johniel/contests
b692eff913c20e2c1eb4ff0ce3cd4c57900594e0
[ "Unlicense" ]
19
2016-05-04T02:46:31.000Z
2021-11-27T06:18:33.000Z
codeforces/538div2/B/main.cpp
Johniel/contests
b692eff913c20e2c1eb4ff0ce3cd4c57900594e0
[ "Unlicense" ]
null
null
null
#include <bits/stdc++.h> #define each(i, c) for (auto& i : c) #define unless(cond) if (!(cond)) using namespace std; typedef long long int lli; typedef unsigned long long ull; typedef complex<double> point; template<typename P, typename Q> ostream& operator << (ostream& os, pair<P, Q> p) { os << "(" << p.first << "...
26.433333
144
0.516393
Johniel
e86c708436fe4f50479c49c8adda64e688fec8a1
26,264
cc
C++
soa/service/zmq_endpoint.cc
oktal/rtbkit
1b1b3b76ab211111c20b2957634619b3ba2813f4
[ "Apache-2.0" ]
1
2019-02-12T10:40:08.000Z
2019-02-12T10:40:08.000Z
soa/service/zmq_endpoint.cc
oktal/rtbkit
1b1b3b76ab211111c20b2957634619b3ba2813f4
[ "Apache-2.0" ]
null
null
null
soa/service/zmq_endpoint.cc
oktal/rtbkit
1b1b3b76ab211111c20b2957634619b3ba2813f4
[ "Apache-2.0" ]
null
null
null
/* zmq_endpoint.cc Jeremy Barnes, 9 November 2012 Copyright (c) 2012 Datacratic Inc. All rights reserved. */ #include "zmq_endpoint.h" #include "jml/utils/smart_ptr_utils.h" #include <sys/utsname.h> #include <thread> #include "jml/arch/timers.h" #include "jml/arch/info.h" using namespace std; namespace Data...
29.410974
91
0.563585
oktal
e86fa29433ef1ba27d0011d69c29eb071d1e5777
19,559
cpp
C++
src/sgcmc.cpp
sinamoeini/mapp4py
923ef57ee5bdb6231bec2885c09a58993b6c0f1f
[ "MIT" ]
3
2018-06-06T05:43:36.000Z
2020-07-18T14:31:37.000Z
src/sgcmc.cpp
sinamoeini/mapp4py
923ef57ee5bdb6231bec2885c09a58993b6c0f1f
[ "MIT" ]
null
null
null
src/sgcmc.cpp
sinamoeini/mapp4py
923ef57ee5bdb6231bec2885c09a58993b6c0f1f
[ "MIT" ]
7
2018-01-16T03:21:20.000Z
2020-07-20T19:36:13.000Z
/*-------------------------------------------- Created by Sina on 06/05/13. Copyright (c) 2013 MIT. All rights reserved. --------------------------------------------*/ #include "elements.h" #include "sgcmc.h" #include "memory.h" #include "random.h" #include "neighbor_md.h" #include "ff_md.h" #include "xmath.h" #incl...
28.387518
132
0.448029
sinamoeini
e871800708f2bfcd67139cb614c0a8abff434087
2,214
cpp
C++
source/procedural_objects/triangulate_geometry.cpp
diegoarjz/selector
976abd0d9e721639e6314e2599ef7e6f3dafdc4f
[ "MIT" ]
12
2019-04-16T17:35:53.000Z
2020-04-12T14:37:27.000Z
source/procedural_objects/triangulate_geometry.cpp
diegoarjz/selector
976abd0d9e721639e6314e2599ef7e6f3dafdc4f
[ "MIT" ]
47
2019-05-27T15:24:43.000Z
2020-04-27T17:54:54.000Z
source/procedural_objects/triangulate_geometry.cpp
diegoarjz/selector
976abd0d9e721639e6314e2599ef7e6f3dafdc4f
[ "MIT" ]
null
null
null
#include "triangulate_geometry.h" #include "procedural_object_system.h" #include "geometry_component.h" #include "geometry_system.h" #include "hierarchical_component.h" #include "hierarchical_system.h" #include "procedural_component.h" #include "geometry_operations/ear_clipping.h" #include <memory> namespace pagod...
32.558824
116
0.81617
diegoarjz
e87b6f023edd43aad0befbe7aec559d135808a55
5,116
cpp
C++
NativeCode/Plugin_SpatializerReverb.cpp
PStewart95/Unity
f80b7d47dd98fa11a9fa6fd7eb1191d5fdf0f331
[ "MIT" ]
58
2020-03-05T09:20:59.000Z
2022-03-31T10:06:20.000Z
NativeCode/Plugin_SpatializerReverb.cpp
PStewart95/Unity
f80b7d47dd98fa11a9fa6fd7eb1191d5fdf0f331
[ "MIT" ]
5
2021-01-18T12:47:27.000Z
2022-03-08T08:41:06.000Z
NativeCode/Plugin_SpatializerReverb.cpp
PStewart95/Unity
f80b7d47dd98fa11a9fa6fd7eb1191d5fdf0f331
[ "MIT" ]
13
2020-09-14T09:50:41.000Z
2022-02-08T15:53:33.000Z
// Simple Velvet-noise based reverb just to demonstrate how to send data from Spatializer to a common mix buffer that is routed into the mixer. #include "AudioPluginUtil.h" float reverbmixbuffer[65536] = { 0 }; namespace SpatializerReverb { const int MAXTAPS = 1024; enum { P_DELAYTIME, P...
31.006061
184
0.561572
PStewart95
e87d53d3851d9e31961506fc18709be8060bb742
16,313
hpp
C++
include/gb/cpu.inc.hpp
nfsu/gb
bfbed4c0effa541fac1ed48e79544f054b8c7376
[ "MIT" ]
null
null
null
include/gb/cpu.inc.hpp
nfsu/gb
bfbed4c0effa541fac1ed48e79544f054b8c7376
[ "MIT" ]
null
null
null
include/gb/cpu.inc.hpp
nfsu/gb
bfbed4c0effa541fac1ed48e79544f054b8c7376
[ "MIT" ]
null
null
null
namespace gb { //Debugging template<bool isCb, typename ...args> _inline_ void Emulator::operation(const args &...arg) { oic::System::log()->debug(oic::Log::concat(std::hex, arg...), "\t\t; $", oic::Log::concat(std::hex, pc - 1 - isCb)); } const char *crName[] = { "b", "c", "d", "e", "h", "l", "(hl)", "a" };...
19.443385
118
0.518482
nfsu
e87e40bb54d3ff3333c68a07c392b39b4763d71b
4,492
cpp
C++
commandsFonts.cpp
SamuraiCrow/AmosKittens
e89477b94a28916e4320fa946c18c0d769c710b2
[ "MIT" ]
7
2018-04-24T22:11:58.000Z
2021-09-10T22:12:35.000Z
commandsFonts.cpp
SamuraiCrow/AmosKittens
e89477b94a28916e4320fa946c18c0d769c710b2
[ "MIT" ]
36
2018-02-24T18:34:18.000Z
2021-08-08T10:33:29.000Z
commandsFonts.cpp
SamuraiCrow/AmosKittens
e89477b94a28916e4320fa946c18c0d769c710b2
[ "MIT" ]
2
2018-10-22T18:47:30.000Z
2020-09-16T06:10:52.000Z
#include "stdafx.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #include <string> #include <iostream> #include <vector> #include <string> #ifdef __amigaos4__ #include <proto/exec.h> #include <proto/exec.h> #include <proto/dos.h> #include <proto/diskfont.h> #include <proto/graphics....
18.716667
111
0.645147
SamuraiCrow
e88e8c7a26dee04f4f1b5749a556d436496df34e
1,614
cpp
C++
sentutil/chat.cpp
surrealwaffle/thesurrealwaffle
6937d8e2604628a5c9141feef837d89e81f68165
[ "BSL-1.0" ]
3
2018-07-20T23:04:45.000Z
2021-07-09T04:16:42.000Z
sentutil/chat.cpp
surrealwaffle/thesurrealwaffle
6937d8e2604628a5c9141feef837d89e81f68165
[ "BSL-1.0" ]
null
null
null
sentutil/chat.cpp
surrealwaffle/thesurrealwaffle
6937d8e2604628a5c9141feef837d89e81f68165
[ "BSL-1.0" ]
1
2018-07-21T06:32:13.000Z
2018-07-21T06:32:13.000Z
// Copyright surrealwaffle 2018 - 2020. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) #include <sentutil/chat.hpp> #include <cstdarg> // std::va_list #include <cstring> // std:...
24.830769
76
0.639405
surrealwaffle
e895368d7b727dd0fcc78181bc264e55667dd1ed
907
cpp
C++
sicxe/sim/device.cpp
blaz-r/SIC-XE-simulator
c148657a120331eea26e137db219c0f60662a1e8
[ "MIT" ]
null
null
null
sicxe/sim/device.cpp
blaz-r/SIC-XE-simulator
c148657a120331eea26e137db219c0f60662a1e8
[ "MIT" ]
null
null
null
sicxe/sim/device.cpp
blaz-r/SIC-XE-simulator
c148657a120331eea26e137db219c0f60662a1e8
[ "MIT" ]
null
null
null
#include "device.h" #include <iostream> uint8_t InputDevice::read() { return inputStream.get(); } void OutputDevice::write(uint8_t value) { outputStream.write(reinterpret_cast<char*>(&value), 1); outputStream.flush(); } FileDevice::FileDevice(std::string file) { fileStream.open(file, std::fstream::i...
16.490909
64
0.628445
blaz-r
e8999ac0e209fb7bb469a1ebd6d497d3929d8e97
6,515
cc
C++
homeworks/HierarchicalErrorEstimator/mastersolution/hierarchicalerrorestimator.cc
0xBachmann/NPDECODES
70a9d251033ab3d8719f0e221de4c2f4e9e8f4ea
[ "MIT" ]
1
2022-02-22T10:59:19.000Z
2022-02-22T10:59:19.000Z
homeworks/HierarchicalErrorEstimator/mastersolution/hierarchicalerrorestimator.cc
0xBachmann/NPDECODES
70a9d251033ab3d8719f0e221de4c2f4e9e8f4ea
[ "MIT" ]
null
null
null
homeworks/HierarchicalErrorEstimator/mastersolution/hierarchicalerrorestimator.cc
0xBachmann/NPDECODES
70a9d251033ab3d8719f0e221de4c2f4e9e8f4ea
[ "MIT" ]
null
null
null
/** * @ file * @ brief NPDE homework on hierarchical error estimation * @ author Ralf Hiptmair * @ date July 2021 * @ copyright Developed at SAM, ETH Zurich */ #include "hierarchicalerrorestimator.h" namespace HEST { /* SAM_LISTING_BEGIN_3 */ Eigen::VectorXd trfLinToQuad( std::shared_ptr<const lf::uscalfe::...
46.205674
80
0.666616
0xBachmann
e89edf4bc15b80365ab3ef7cc4313005917998e8
996
cpp
C++
sdl/Hypergraph/src/UseOpenFst.cpp
sdl-research/hyp
d39f388f9cd283bcfa2f035f399b466407c30173
[ "Apache-2.0" ]
29
2015-01-26T21:49:51.000Z
2021-06-18T18:09:42.000Z
sdl/Hypergraph/src/UseOpenFst.cpp
hypergraphs/hyp
d39f388f9cd283bcfa2f035f399b466407c30173
[ "Apache-2.0" ]
1
2015-12-08T15:03:15.000Z
2016-01-26T14:31:06.000Z
sdl/Hypergraph/src/UseOpenFst.cpp
hypergraphs/hyp
d39f388f9cd283bcfa2f035f399b466407c30173
[ "Apache-2.0" ]
4
2015-11-21T14:25:38.000Z
2017-10-30T22:22:00.000Z
// Copyright 2014-2015 SDL plc // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // Unless required by applicable law or agreed to in writing,...
31.125
75
0.767068
sdl-research
e89fe7ec6cc06a497dbc6c11ed45b36c858ee463
598
cpp
C++
src/window_with_linux_gamepad.cpp
hissingshark/game-window
7d270d3ffc711ae4c66a014cd18ad5276cdbc0a4
[ "MIT" ]
4
2019-03-10T02:35:16.000Z
2021-02-20T17:57:17.000Z
src/window_with_linux_gamepad.cpp
hissingshark/game-window
7d270d3ffc711ae4c66a014cd18ad5276cdbc0a4
[ "MIT" ]
2
2020-06-28T09:28:37.000Z
2021-04-17T10:35:49.000Z
src/window_with_linux_gamepad.cpp
hissingshark/game-window
7d270d3ffc711ae4c66a014cd18ad5276cdbc0a4
[ "MIT" ]
7
2019-06-12T00:03:25.000Z
2021-07-29T13:06:32.000Z
#include "window_with_linux_gamepad.h" #include "joystick_manager_linux_gamepad.h" WindowWithLinuxJoystick::WindowWithLinuxJoystick(std::string const& title, int width, int height, GraphicsApi api) : GameWindow(title, width, height, api) { } WindowWithLinuxJoystick::~WindowWithLinuxJoystick() { LinuxGamep...
33.222222
116
0.799331
hissingshark
e8a426d4b092a2a3bad7dd0e7f1f17ab34287675
3,363
hpp
C++
uActor/include/remote/remote_connection.hpp
uActor/uActor
1180db98f48ad447639a3d625573307d87b28902
[ "MIT" ]
1
2021-09-15T12:41:37.000Z
2021-09-15T12:41:37.000Z
uActor/include/remote/remote_connection.hpp
uActor/uActor
1180db98f48ad447639a3d625573307d87b28902
[ "MIT" ]
null
null
null
uActor/include/remote/remote_connection.hpp
uActor/uActor
1180db98f48ad447639a3d625573307d87b28902
[ "MIT" ]
null
null
null
#pragma once extern "C" { #include <arpa/inet.h> } #include <atomic> #include <cstdint> #include <cstring> #include <list> #include <map> #include <memory> #include <mutex> #include <queue> #include <set> #include <string> #include <unordered_map> #include <vector> #include "forwarder_api.hpp" #include "forwarding_s...
27.120968
79
0.749926
uActor
e8aab68527a7cd0ffa9fc714daad51ea18c92a75
134
hpp
C++
src/hardware/chips/stm32/stm32f103c4.hpp
xenris/nblib
72bf25b6d086bf6f6f3003d709f92a9975bfddaf
[ "MIT" ]
3
2016-03-31T04:41:32.000Z
2017-07-17T02:50:38.000Z
src/hardware/chips/stm32/stm32f103c4.hpp
xenris/nbavr
72bf25b6d086bf6f6f3003d709f92a9975bfddaf
[ "MIT" ]
18
2015-08-12T12:13:16.000Z
2017-05-10T12:55:55.000Z
src/hardware/chips/stm32/stm32f103c4.hpp
xenris/nblib
72bf25b6d086bf6f6f3003d709f92a9975bfddaf
[ "MIT" ]
null
null
null
#ifndef NBLIB_STM32F103C4_HPP #define NBLIB_STM32F103C4_HPP #include "stm32f103t4.hpp" #undef CHIP #define CHIP stm32f103c4 #endif
13.4
29
0.820896
xenris
e8aae74fc176487bb56981bc58fab4197dd93a2a
8,390
hpp
C++
ufora/core/Logging.hpp
ufora/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
571
2015-11-05T20:07:07.000Z
2022-01-24T22:31:09.000Z
ufora/core/Logging.hpp
timgates42/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
218
2015-11-05T20:37:55.000Z
2021-05-30T03:53:50.000Z
ufora/core/Logging.hpp
timgates42/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
40
2015-11-07T21:42:19.000Z
2021-05-23T03:48:19.000Z
/*************************************************************************** Copyright 2015 Ufora 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/licen...
34.958333
147
0.682598
ufora
e8ba1a2fb6a73ff12564cd09de787c50e025df4f
3,625
cpp
C++
test/sandbox/test_digraph.cpp
wataro/midso
8190ac06b2cf391d69c3db49f32147831ba39f5d
[ "MIT" ]
null
null
null
test/sandbox/test_digraph.cpp
wataro/midso
8190ac06b2cf391d69c3db49f32147831ba39f5d
[ "MIT" ]
null
null
null
test/sandbox/test_digraph.cpp
wataro/midso
8190ac06b2cf391d69c3db49f32147831ba39f5d
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include <algorithm> #include <memory> #include <vector> template<typename T_> using Vector = std::vector<T_>; template<typename T1_, typename T2_> using Pair = std::pair<T1_, T2_>; template<typename T_> using Pointer = std::shared_ptr<T_>; template<typename T_> class Layer { public: ...
26.459854
86
0.543448
wataro
e8c1780e18d20c5b439240af585541cf69438cb1
6,089
cpp
C++
STEPVis.cpp
steptools/STEPGraph
e35712e9572e836ca8a7c4db40e54c97c9f08079
[ "Apache-2.0" ]
10
2015-07-23T14:51:11.000Z
2021-06-11T17:37:27.000Z
STEPVis.cpp
steptools/STEPGraph
e35712e9572e836ca8a7c4db40e54c97c9f08079
[ "Apache-2.0" ]
null
null
null
STEPVis.cpp
steptools/STEPGraph
e35712e9572e836ca8a7c4db40e54c97c9f08079
[ "Apache-2.0" ]
4
2015-09-08T01:55:18.000Z
2017-12-24T15:14:36.000Z
#include <rose.h> #include <stp_schema.h> using namespace System; void markme(RoseObject * obj); void graphaddnode(Microsoft::Msagl::Drawing::Graph^ graph, String^ out, String^ in, String^ name=""); void graphatts(RoseObject* obj, Microsoft::Msagl::Drawing::Graph^ graph); void parsetonode(RoseObject*parent, RoseObject...
31.066327
160
0.629824
steptools
e8c22bf8af4daf96ece0f21a30578992f4291cf8
253
cpp
C++
Wind_Vegetation_GOW4/Source/Wind_Vegetation_GOW4/Wind_Vegetation_GOW4.cpp
SungJJinKang/UE4_Interactive_Wind_and_Vegetation_in_God_of_War
cecf72dd6f0982d03b1b01c2fff15cdd07028f11
[ "MIT" ]
15
2022-02-16T00:20:21.000Z
2022-03-21T14:40:37.000Z
Wind_Vegetation_GOW4/Source/Wind_Vegetation_GOW4/Wind_Vegetation_GOW4.cpp
SungJJinKang/UE4_Interactive_Wind_and_Vegetation_in_God_of_War
cecf72dd6f0982d03b1b01c2fff15cdd07028f11
[ "MIT" ]
1
2022-03-06T20:41:06.000Z
2022-03-08T18:21:41.000Z
Wind_Vegetation_GOW4/Source/Wind_Vegetation_GOW4/Wind_Vegetation_GOW4.cpp
SungJJinKang/UE4_Interactive_Wind_and_Vegetation_in_God_of_War
cecf72dd6f0982d03b1b01c2fff15cdd07028f11
[ "MIT" ]
1
2022-03-25T02:09:14.000Z
2022-03-25T02:09:14.000Z
// Fill out your copyright notice in the Description page of Project Settings. #include "Wind_Vegetation_GOW4.h" #include "Modules/ModuleManager.h" IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, Wind_Vegetation_GOW4, "Wind_Vegetation_GOW4" );
36.142857
102
0.83004
SungJJinKang
e8c23c1a1ef9d468819e1ac045e7f0b522b2d841
28,136
hpp
C++
lib/dmitigr/pgfe/array_conversions.hpp
dmitigr/pgfe
c5dd21c0f4949cf6ea2e71368e3c6025c3daf69a
[ "Zlib" ]
121
2018-05-23T19:51:00.000Z
2022-03-12T13:05:34.000Z
lib/dmitigr/pgfe/array_conversions.hpp
dmitigr/pgfe
c5dd21c0f4949cf6ea2e71368e3c6025c3daf69a
[ "Zlib" ]
36
2019-11-11T03:25:10.000Z
2022-03-28T21:54:07.000Z
lib/dmitigr/pgfe/array_conversions.hpp
dmitigr/pgfe
c5dd21c0f4949cf6ea2e71368e3c6025c3daf69a
[ "Zlib" ]
17
2018-05-24T04:01:28.000Z
2022-01-16T13:22:26.000Z
// -*- C++ -*- // Copyright (C) Dmitry Igrishin // For conditions of distribution and use, see files LICENSE.txt or pgfe.hpp #ifndef DMITIGR_PGFE_ARRAY_CONVERSIONS_HPP #define DMITIGR_PGFE_ARRAY_CONVERSIONS_HPP #include "dmitigr/pgfe/basic_conversions.hpp" #include "dmitigr/pgfe/conversions_api.hpp" #include "dmitigr...
33.140165
125
0.681902
dmitigr
e8c64818f81bb22edcb898ba35b7f60f1e9530d5
843
cpp
C++
cap04/cap04-ex4_3-00-dinamic_array-replaceString.cpp
ggaaaff/think_like_a_programmer--test_code
fb081d24d70db6dd503608562625b84607c7a3ab
[ "MIT" ]
1
2020-12-08T10:54:39.000Z
2020-12-08T10:54:39.000Z
cap04/cap04-ex4_3-00-dinamic_array-replaceString.cpp
ggaaaff/think_like_a_programmer--test_code
fb081d24d70db6dd503608562625b84607c7a3ab
[ "MIT" ]
null
null
null
cap04/cap04-ex4_3-00-dinamic_array-replaceString.cpp
ggaaaff/think_like_a_programmer--test_code
fb081d24d70db6dd503608562625b84607c7a3ab
[ "MIT" ]
null
null
null
//2014.03.28 Gustaf - CTG. /* EXERCISE 4-3 : For our dynamically allocated strings, create a function replaceString that takes three parameters, each of type arrayString: source, target, and replaceText. The function replaces every occurrence of target in source with replaceText. For example, if source points to...
18.326087
105
0.729537
ggaaaff
e8c737caea08dc08f30b761194ab66c7955ee9ac
2,843
cpp
C++
dev/Mobile/PerfMonitor/Views/ToolBoxView.cpp
PixPh/kaleido3d
8a8356586f33a1746ebbb0cfe46b7889d0ae94e9
[ "MIT" ]
38
2019-01-10T03:10:12.000Z
2021-01-27T03:14:47.000Z
dev/Mobile/PerfMonitor/Views/ToolBoxView.cpp
fuqifacai/kaleido3d
ec77753b516949bed74e959738ef55a0bd670064
[ "MIT" ]
null
null
null
dev/Mobile/PerfMonitor/Views/ToolBoxView.cpp
fuqifacai/kaleido3d
ec77753b516949bed74e959738ef55a0bd670064
[ "MIT" ]
8
2019-04-16T07:56:27.000Z
2020-11-19T02:38:37.000Z
#include "ToolBoxView.h" #include <MobileDeviceBridge.h> #include <QBoxLayout> #include <QPushButton> #include <QLabel> #include <QLineEdit> #include <QFileDialog> #include <QListWidget> ToolBoxView::ToolBoxView(QWidget* parent) : QWidget(parent) , m_Device(nullptr) { CreateUI(); } ToolBoxView::~ToolBoxVi...
28.148515
76
0.673584
PixPh
e8c98b346df12bf53ae3a3a51e720e1baedd0486
2,536
cpp
C++
webkit/WebCore/plugins/Plugin.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
15
2016-01-05T12:43:41.000Z
2022-03-15T10:34:47.000Z
webkit/WebCore/plugins/Plugin.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
null
null
null
webkit/WebCore/plugins/Plugin.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
2
2020-11-30T18:36:01.000Z
2021-02-05T23:20:24.000Z
/* * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) a...
27.565217
82
0.682177
s1rcheese
e8cd32226646c8f0e83a040e7344d0c1989634cf
12,725
cpp
C++
Misc/UnusedCode/RSLibAndTests/RSLib/Code/Graphics/Rendering/GraphicsRenderer2D.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
34
2017-04-19T18:26:02.000Z
2022-02-15T17:47:26.000Z
Misc/UnusedCode/RSLibAndTests/RSLib/Code/Graphics/Rendering/GraphicsRenderer2D.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
307
2017-05-04T21:45:01.000Z
2022-02-03T00:59:01.000Z
Misc/UnusedCode/RSLibAndTests/RSLib/Code/Graphics/Rendering/GraphicsRenderer2D.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
4
2017-09-05T17:04:31.000Z
2021-12-15T21:24:28.000Z
using namespace RSLib; //------------------------------------------------------------------------------------------------- // class rsGraphicsRenderer2D (the abstract baseclass): // construction/destruction: rsGraphicsRenderer2D::rsGraphicsRenderer2D() { } rsGraphicsRenderer2D::~rsGraphicsRenderer2D() { } // set...
30.442584
140
0.627741
RobinSchmidt
e8d05c7655dd1149727b26b9f7b175237253d9a1
5,861
cpp
C++
vaca/FileDialog.cpp
picrap/vaca
377070c2124bb71649313f6a144c6bd40fdee723
[ "MIT" ]
null
null
null
vaca/FileDialog.cpp
picrap/vaca
377070c2124bb71649313f6a144c6bd40fdee723
[ "MIT" ]
null
null
null
vaca/FileDialog.cpp
picrap/vaca
377070c2124bb71649313f6a144c6bd40fdee723
[ "MIT" ]
null
null
null
// Vaca - Visual Application Components Abstraction // Copyright (c) 2005-2010 David Capello // // This file is distributed under the terms of the MIT license, // please read LICENSE.txt for more information. #include "vaca/FileDialog.h" #include "vaca/Widget.h" #include "vaca/Application.h" #include "vaca/Sy...
23.257937
100
0.651254
picrap
e8d473761c3328e29927eddb682114201b63f940
302
cpp
C++
SimpleLearn/99.Learn/Test2.cpp
codeworkscn/learn-cpp
c72b2330934bdead2489509cd89343e666e631b4
[ "Apache-2.0" ]
null
null
null
SimpleLearn/99.Learn/Test2.cpp
codeworkscn/learn-cpp
c72b2330934bdead2489509cd89343e666e631b4
[ "Apache-2.0" ]
null
null
null
SimpleLearn/99.Learn/Test2.cpp
codeworkscn/learn-cpp
c72b2330934bdead2489509cd89343e666e631b4
[ "Apache-2.0" ]
null
null
null
#include<iostream> #include<string> using namespace std; int Test2(void) { const int n = 9 ; for(int i=1 ; i!= n+1 ; ++i) { for(int j=1 ; j!= i+1 ; ++j) { cout << i << "*" << j << "=" << i*j << "\t"; if(! (j%10) && j) { cout << endl ; } } cout << endl ; } return 0 ; }
12.583333
47
0.427152
codeworkscn
e8d76f278c8b413083732ba9463daecbb233465e
2,991
cpp
C++
test/TestReadIterator.cpp
RPG-18/QMiniZip
aba71ec55e05e4a67e9ece81ca1aa16f825e438e
[ "MIT" ]
null
null
null
test/TestReadIterator.cpp
RPG-18/QMiniZip
aba71ec55e05e4a67e9ece81ca1aa16f825e438e
[ "MIT" ]
null
null
null
test/TestReadIterator.cpp
RPG-18/QMiniZip
aba71ec55e05e4a67e9ece81ca1aa16f825e438e
[ "MIT" ]
2
2018-05-23T14:46:30.000Z
2018-06-23T02:04:32.000Z
#include <gtest/gtest.h> #include <config.h> #include <QtCore/QDir> #include <QtCore/QDebug> #include <QtCore/QVector> #include <QtCore/QStringList> #include "ZipFile.h" #include "ZipReadIterator.h" using namespace QMiniZip; TEST(ZipReadIterator, next) { QDir dir(TEST_SOURCE_DIR); ASSERT_TRUE(dir.cd("data")...
22.320896
65
0.646272
RPG-18
e8e050b4cda28176096b6e8f3f9bdaff02d15143
8,011
cpp
C++
tools/ctmconv.cpp
SaeedTaghavi/OpenCTM
d6c1138eb39632244e6b5d133a100f431c5c5082
[ "Zlib" ]
80
2015-04-08T08:48:06.000Z
2022-03-23T10:36:55.000Z
tools/ctmconv.cpp
rasata/OpenCTM
243a343bd23bbeef8731f06ed91e3996604e1af4
[ "Zlib" ]
7
2015-09-25T21:11:59.000Z
2021-11-09T00:22:18.000Z
tools/ctmconv.cpp
rasata/OpenCTM
243a343bd23bbeef8731f06ed91e3996604e1af4
[ "Zlib" ]
36
2015-05-21T16:34:42.000Z
2021-12-29T06:41:52.000Z
//----------------------------------------------------------------------------- // Product: OpenCTM tools // File: ctmconv.cpp // Description: 3D file format conversion tool. The program can be used to // convert various 3D file formats to and from the OpenCTM file // format, and al...
33.801688
99
0.536887
SaeedTaghavi
e8e907277d26798fc44242b4d2f30dde38835985
12,350
cpp
C++
UnitTest/Basic.cpp
akfreed/CppSocketsXPlatform
06be7da54e4ac29ac87c6e68626bbc3226217f4e
[ "Apache-2.0" ]
null
null
null
UnitTest/Basic.cpp
akfreed/CppSocketsXPlatform
06be7da54e4ac29ac87c6e68626bbc3226217f4e
[ "Apache-2.0" ]
null
null
null
UnitTest/Basic.cpp
akfreed/CppSocketsXPlatform
06be7da54e4ac29ac87c6e68626bbc3226217f4e
[ "Apache-2.0" ]
null
null
null
// ================================================================== // Copyright 2018 Alexander K. Freed // // 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/...
23.434535
85
0.570202
akfreed
e8ecdaba33e0129890adb674a80dc6aedd1a59a4
564
hpp
C++
src/breakout/ball_object.hpp
clsrfish/learnogl
3e1cc42a595dd12779268ba587ef68fa4991e1f5
[ "Apache-2.0" ]
null
null
null
src/breakout/ball_object.hpp
clsrfish/learnogl
3e1cc42a595dd12779268ba587ef68fa4991e1f5
[ "Apache-2.0" ]
null
null
null
src/breakout/ball_object.hpp
clsrfish/learnogl
3e1cc42a595dd12779268ba587ef68fa4991e1f5
[ "Apache-2.0" ]
null
null
null
#if !defined(BALL_OBJECT_H) #define BALL_OBJECT_H #include "./game_object.hpp" namespace breakout { class BallObject : public GameObject { public: // ball state float Radius; bool Stuck; BallObject(); BallObject(glm::vec2 pos, float radius, glm::vec2 velocity, Text...
19.448276
86
0.613475
clsrfish
e8ef2e7dfc0e4b9073b3f91f0947ba70037b8eff
7,739
cc
C++
src/metrics_filter_interpreter.cc
mxzeng/gestures
4d354c4fa38e74fcb8f8a88a903e6fc080f83bc1
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
src/metrics_filter_interpreter.cc
mxzeng/gestures
4d354c4fa38e74fcb8f8a88a903e6fc080f83bc1
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
src/metrics_filter_interpreter.cc
mxzeng/gestures
4d354c4fa38e74fcb8f8a88a903e6fc080f83bc1
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright (c) 2013 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "gestures/include/metrics_filter_interpreter.h" #include <cmath> #include "gestures/include/filter_interpreter.h" #include "gestures/inc...
37.206731
79
0.68032
mxzeng
e8f1e771a41dd05d5ac23c8f7ba8886f641d2b04
344
hpp
C++
src/searches/benchmarks.hpp
adienes/remainder-tree
0aa76214ab6f2a4389ec45a239ea660749989a90
[ "MIT" ]
null
null
null
src/searches/benchmarks.hpp
adienes/remainder-tree
0aa76214ab6f2a4389ec45a239ea660749989a90
[ "MIT" ]
null
null
null
src/searches/benchmarks.hpp
adienes/remainder-tree
0aa76214ab6f2a4389ec45a239ea660749989a90
[ "MIT" ]
null
null
null
#ifndef REMAINDERTREE_SRC_SEARCHES_BENCHMARKS_H_ #define REMAINDERTREE_SRC_SEARCHES_BENCHMARKS_H_ //std::function< std::vector<bool> (long N)> remember this is what is being passed in! #include <vector> std::vector<bool> constant_slow(long); std::vector<bool> random_zz(long, long, long); #endif //REMAINDERTREE_SR...
26.461538
86
0.802326
adienes
e8f637ad13bb661a9253fcf598c2c0e248e03ae3
2,193
hpp
C++
include/codegen/include/Oculus/Platform/MessageWithMatchmakingEnqueueResult.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/Oculus/Platform/MessageWithMatchmakingEnqueueResult.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/Oculus/Platform/MessageWithMatchmakingEnqueueResult.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:10:07 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes // Including type: Oculus.Platform.Message`1 #include "Oculus/Platform/Message_1.hpp" #include "utils/il2cp...
48.733333
137
0.760146
Futuremappermydud
e8fc5928349f4b930c3d40219bd4f5a2ea1a92c5
4,699
cpp
C++
src/soundproducer-track-manager.cpp
adct-the-experimenter/Binaural-Audio-Editor
213e37f6cfe0530f0091b82a700085159ee7babe
[ "BSD-3-Clause" ]
42
2019-05-20T12:54:14.000Z
2022-03-18T01:01:56.000Z
src/soundproducer-track-manager.cpp
adct-the-experimenter/Binaural-Audio-Editor
213e37f6cfe0530f0091b82a700085159ee7babe
[ "BSD-3-Clause" ]
21
2019-05-13T18:40:32.000Z
2021-05-03T20:17:44.000Z
src/soundproducer-track-manager.cpp
adct-the-experimenter/Binaural-Audio-Editor
213e37f6cfe0530f0091b82a700085159ee7babe
[ "BSD-3-Clause" ]
5
2020-05-08T06:02:07.000Z
2021-04-17T12:15:41.000Z
#include "soundproducer-track-manager.h" SoundProducerTrackManager::SoundProducerTrackManager(const wxString& title,ALCdevice* thisAudioDevice,ALCcontext* thisAudioContext) : Track(title) { //initialize audio player audioPlayer = new OpenALSoftPlayer(); audioPlayer->SetReferenceToAudioContext(thisAudioContext); au...
31.75
152
0.816557
adct-the-experimenter
33062b0624f425e8eef0c18b7ff4dfb3b67ef0eb
8,298
cxx
C++
third-party/libstudxml/xml/serializer.cxx
haquocviet/xlnt
8f39375f4c29e7f7590efaeb6ce8c56490560c1f
[ "Unlicense" ]
8
2019-02-28T14:49:56.000Z
2022-03-29T06:32:09.000Z
third-party/libstudxml/xml/serializer.cxx
haquocviet/xlnt
8f39375f4c29e7f7590efaeb6ce8c56490560c1f
[ "Unlicense" ]
2
2021-04-09T15:36:05.000Z
2021-11-17T22:38:10.000Z
third-party/libstudxml/xml/serializer.cxx
haquocviet/xlnt
8f39375f4c29e7f7590efaeb6ce8c56490560c1f
[ "Unlicense" ]
3
2019-12-31T14:04:17.000Z
2022-03-18T11:44:49.000Z
// file : xml/serializer.cxx // copyright : Copyright (c) 2013-2017 Code Synthesis Tools CC // license : MIT; see accompanying LICENSE file #include <new> // std::bad_alloc #include <cstring> // std::strlen #include <xml/serializer> using namespace std; namespace xml { // serialization // void seri...
25.453988
78
0.600265
haquocviet
3306cd5d1317baed6256f45ba3c47e4b0136ae61
2,700
hpp
C++
SOLVER/src/core/element/material/elastic/Elastic.hpp
nicklinyi/AxiSEM-3D
cd11299605cd6b92eb867d4109d2e6a8f15e6b4d
[ "MIT" ]
8
2020-06-05T01:13:20.000Z
2022-02-24T05:11:50.000Z
SOLVER/src/core/element/material/elastic/Elastic.hpp
nicklinyi/AxiSEM-3D
cd11299605cd6b92eb867d4109d2e6a8f15e6b4d
[ "MIT" ]
24
2020-10-21T19:03:38.000Z
2021-11-17T21:32:02.000Z
SOLVER/src/core/element/material/elastic/Elastic.hpp
nicklinyi/AxiSEM-3D
cd11299605cd6b92eb867d4109d2e6a8f15e6b4d
[ "MIT" ]
5
2020-06-21T11:54:22.000Z
2021-06-23T01:02:39.000Z
// // Elastic.hpp // AxiSEM3D // // Created by Kuangdai Leng on 2/26/19. // Copyright © 2019 Kuangdai Leng. All rights reserved. // // elastic material #ifndef Elastic_hpp #define Elastic_hpp #include "Attenuation.hpp" class Elastic { public: // constructor Elastic(bool is1D, std::unique_ptr<Attenuatio...
26.213592
77
0.537778
nicklinyi
331012ad1f9182cfb56eee2c8fb656a32fc7dc7a
1,642
cpp
C++
src/platform/testing/alchemy/audio.cpp
mokoi/luxengine
965532784c4e6112141313997d040beda4b56d07
[ "MIT" ]
11
2015-03-02T07:43:00.000Z
2021-12-04T04:53:02.000Z
src/platform/testing/alchemy/audio.cpp
mokoi/luxengine
965532784c4e6112141313997d040beda4b56d07
[ "MIT" ]
1
2015-03-28T17:17:13.000Z
2016-10-10T05:49:07.000Z
src/platform/testing/alchemy/audio.cpp
mokoi/luxengine
965532784c4e6112141313997d040beda4b56d07
[ "MIT" ]
3
2016-11-04T01:14:31.000Z
2020-05-07T23:42:27.000Z
/**************************** Copyright © 2006-2011 Luke Salisbury This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, includi...
26.063492
243
0.732643
mokoi
33109be627e39e30e59be26f77467aa853c51efe
16,952
cpp
C++
MarlinClient/TestsetClient/TestWS.cpp
zYg-sys/Marlin
eeabb4d324c5f8d253a50c106208bb833cb824e8
[ "MIT" ]
23
2016-09-16T11:25:54.000Z
2022-03-03T07:18:57.000Z
MarlinClient/TestsetClient/TestWS.cpp
zYg-sys/Marlin
eeabb4d324c5f8d253a50c106208bb833cb824e8
[ "MIT" ]
26
2016-10-21T11:07:54.000Z
2022-03-05T18:27:03.000Z
MarlinClient/TestsetClient/TestWS.cpp
zYg-sys/Marlin
eeabb4d324c5f8d253a50c106208bb833cb824e8
[ "MIT" ]
7
2018-09-11T12:17:46.000Z
2021-07-08T09:10:04.000Z
///////////////////////////////////////////////////////////////////////////////// // // SourceFile: TestWS.cpp // // Marlin Server: Internet server/client // // Copyright (c) 2015-2018 ir. W.E. Huisman // All rights reserved // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this ...
33.044834
114
0.611137
zYg-sys
33129146cb1044846470f9ed6329c2a1e51be0a9
3,522
cpp
C++
PrettyEngine/src/engine/Networking/Client.cpp
cristi191096/Pretty_Engine
53a5d305b3de5786223e3ad6775199dbc7b5e90c
[ "Apache-2.0" ]
null
null
null
PrettyEngine/src/engine/Networking/Client.cpp
cristi191096/Pretty_Engine
53a5d305b3de5786223e3ad6775199dbc7b5e90c
[ "Apache-2.0" ]
null
null
null
PrettyEngine/src/engine/Networking/Client.cpp
cristi191096/Pretty_Engine
53a5d305b3de5786223e3ad6775199dbc7b5e90c
[ "Apache-2.0" ]
1
2021-04-16T09:10:46.000Z
2021-04-16T09:10:46.000Z
#include "pepch.h" #include "Client.h" namespace PrettyEngine { Client::Client(bool isHost) : m_IsHost(isHost) { if (isHost) { m_Address.host = ENET_HOST_ANY; m_Address.port = 1234; m_Host = enet_host_create(&m_Address, 32, 2, 0, 0); if (m_Host == NULL) PE_ERROR("Host could not be initialis...
23.797297
90
0.638842
cristi191096
33135cc07e32c6a3d5c92fe5b3273e2978f26d72
2,387
cpp
C++
src/piper-token-to-cst.cpp
PiperLang/piper
7b2dc57793fca7f3bb153e399e36b0ad0ec33ca1
[ "MIT" ]
null
null
null
src/piper-token-to-cst.cpp
PiperLang/piper
7b2dc57793fca7f3bb153e399e36b0ad0ec33ca1
[ "MIT" ]
null
null
null
src/piper-token-to-cst.cpp
PiperLang/piper
7b2dc57793fca7f3bb153e399e36b0ad0ec33ca1
[ "MIT" ]
null
null
null
#include <array> #include <cassert> #include <cerrno> #include <cstring> #include <vector> #include <iostream> #include <scanner.hpp> #include <tokentype.hpp> #define INIT_BUFFER_SIZE 1024 int main(int argc, char *argv[]) { std::freopen(nullptr, "rb", stdin); if (std::ferror(stdin)) { throw std::ru...
27.125
86
0.528697
PiperLang
3315e71bb76a9986841cd5c493beee6dcfe223bb
5,774
cpp
C++
drivers/windows/drv_ndis_intermediate/notifyObj/src/dllmain.cpp
openPOWERLINK-Team/openPOWERLINK_V2
048650a80db37fa372330c3a900d2c8edb327e47
[ "BSD-3-Clause" ]
100
2016-05-18T06:38:44.000Z
2022-03-30T13:53:58.000Z
drivers/windows/drv_ndis_intermediate/notifyObj/src/dllmain.cpp
openPOWERLINK-Team/openPOWERLINK_V2
048650a80db37fa372330c3a900d2c8edb327e47
[ "BSD-3-Clause" ]
238
2016-03-31T06:52:57.000Z
2019-10-17T13:35:03.000Z
drivers/windows/drv_ndis_intermediate/notifyObj/src/dllmain.cpp
openPOWERLINK-Team/openPOWERLINK_V2
048650a80db37fa372330c3a900d2c8edb327e47
[ "BSD-3-Clause" ]
72
2016-04-04T07:29:24.000Z
2022-03-13T05:26:54.000Z
/** ******************************************************************************** \file dllmain.cpp \brief Main file for notify object dll for Windows NDIS intermediate driver This file implements the DLL access routines for notify object. \ingroup module_notify_ndisim *****************************************...
42.77037
89
0.38275
openPOWERLINK-Team
331d7bfe9da030abc8be507cfc44b2476b7e031e
26,670
cpp
C++
LambdaEngine/Source/Rendering/ParticleRenderer.cpp
IbexOmega/CrazyCanvas
f60f01aaf9c988e4da8990dc1ef3caac20cecf7e
[ "MIT" ]
18
2020-09-04T08:00:54.000Z
2021-08-29T23:04:45.000Z
LambdaEngine/Source/Rendering/ParticleRenderer.cpp
IbexOmega/LambdaEngine
f60f01aaf9c988e4da8990dc1ef3caac20cecf7e
[ "MIT" ]
32
2020-09-12T19:24:50.000Z
2020-12-11T14:29:44.000Z
LambdaEngine/Source/Rendering/ParticleRenderer.cpp
IbexOmega/LambdaEngine
f60f01aaf9c988e4da8990dc1ef3caac20cecf7e
[ "MIT" ]
2
2020-12-15T15:36:13.000Z
2021-03-27T14:27:02.000Z
#include "Rendering/ParticleRenderer.h" #include "Rendering/Core/API/CommandAllocator.h" #include "Rendering/Core/API/CommandList.h" #include "Rendering/Core/API/DescriptorHeap.h" #include "Rendering/Core/API/DescriptorSet.h" #include "Rendering/Core/API/PipelineState.h" #include "Rendering/Core/API/TextureView.h" #i...
36.534247
281
0.78069
IbexOmega
3323a3e19530d845d8d07fe37aae1399682c80cf
8,585
hpp
C++
ivarp/include/ivarp/number/exact_less_than.hpp
phillip-keldenich/squares-in-disk
501ebeb00b909b9264a9611fd63e082026cdd262
[ "MIT" ]
null
null
null
ivarp/include/ivarp/number/exact_less_than.hpp
phillip-keldenich/squares-in-disk
501ebeb00b909b9264a9611fd63e082026cdd262
[ "MIT" ]
null
null
null
ivarp/include/ivarp/number/exact_less_than.hpp
phillip-keldenich/squares-in-disk
501ebeb00b909b9264a9611fd63e082026cdd262
[ "MIT" ]
null
null
null
// The code is open source under the MIT license. // Copyright 2019-2020, Phillip Keldenich, TU Braunschweig, Algorithms Group // https://ibr.cs.tu-bs.de/alg // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"), to de...
39.74537
158
0.639371
phillip-keldenich
332481d7162d8778bee2027dc26d914d313eb59e
1,070
cpp
C++
src/medGui/database/medDatabaseNavigatorItemOverlay.cpp
ocommowi/medInria-public
9074e40c886881666e7a52c53309d8d28e35c0e6
[ "BSD-4-Clause" ]
null
null
null
src/medGui/database/medDatabaseNavigatorItemOverlay.cpp
ocommowi/medInria-public
9074e40c886881666e7a52c53309d8d28e35c0e6
[ "BSD-4-Clause" ]
null
null
null
src/medGui/database/medDatabaseNavigatorItemOverlay.cpp
ocommowi/medInria-public
9074e40c886881666e7a52c53309d8d28e35c0e6
[ "BSD-4-Clause" ]
null
null
null
/*========================================================================= medInria Copyright (c) INRIA 2013. All rights reserved. See LICENSE.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ====...
26.75
91
0.581308
ocommowi
33250e1fa4466a4185959a8a159ef4ad0e6639f3
1,330
cpp
C++
UVA/11753.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
3
2020-11-01T06:31:30.000Z
2022-02-21T20:37:51.000Z
UVA/11753.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
null
null
null
UVA/11753.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
1
2021-05-05T18:56:31.000Z
2021-05-05T18:56:31.000Z
/** * author: MaGnsi0 * created: 20/09/2021 23:24:38 **/ #include <bits/stdc++.h> using namespace std; int n, k; vector<int> v; int dp(int i, int j, int curk) { if (curk > k || i >= j) { return curk; } if (v[i] == v[j]) { return dp(i + 1, j - 1, curk); } else { return ...
25.576923
92
0.478947
MaGnsio
332aa0fef8ee76ee418f2033edb2ff24f5dfbd71
2,497
cpp
C++
processor/src/ComponentTreeNode.cpp
mballance-sf/open-ps
a5ed44ce30bfe59462801ca7de4361d16950bcd2
[ "Apache-2.0" ]
null
null
null
processor/src/ComponentTreeNode.cpp
mballance-sf/open-ps
a5ed44ce30bfe59462801ca7de4361d16950bcd2
[ "Apache-2.0" ]
null
null
null
processor/src/ComponentTreeNode.cpp
mballance-sf/open-ps
a5ed44ce30bfe59462801ca7de4361d16950bcd2
[ "Apache-2.0" ]
null
null
null
/* * ComponentTreeNode.cpp * * Licensed under the Apache License, Version 2.0 (the * "License"); you may not use this file except in * compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
23.780952
77
0.670404
mballance-sf
332b05dab42636fbb8920123ff41da8ce1582eff
23,059
cc
C++
tests/bench/fdb_bench.cc
hundredbag/forestdb-io_uring
bb2f49ec889d3fa2db7b3d7057e20dcb6fd4d822
[ "Apache-2.0" ]
6
2020-11-12T07:18:46.000Z
2020-11-17T01:46:30.000Z
tests/bench/fdb_bench.cc
rundun159/forestdb-io_uring
bb2f49ec889d3fa2db7b3d7057e20dcb6fd4d822
[ "Apache-2.0" ]
null
null
null
tests/bench/fdb_bench.cc
rundun159/forestdb-io_uring
bb2f49ec889d3fa2db7b3d7057e20dcb6fd4d822
[ "Apache-2.0" ]
3
2020-11-12T07:18:50.000Z
2020-11-16T05:03:04.000Z
#include <stdio.h> #include "config.h" #include "timing.h" #include "libforestdb/forestdb.h" #include "test.h" struct thread_context { fdb_kvs_handle *handle; ts_nsec latency1; ts_nsec latency2; float avg_latency1; float avg_latency2; }; void print_stat(const char *name, float latency){ print...
26.906651
78
0.624442
hundredbag
06a33a4cfa6cdb28bdf60b636539b38a7f9cc0ce
1,359
cpp
C++
Problems/Hackerrank/rotateArray.cpp
pedrotorreao/DSA
31f9dffbed5275590d5c7b7f6a73fd6dea411564
[ "MIT" ]
1
2021-07-08T01:02:06.000Z
2021-07-08T01:02:06.000Z
Problems/Hackerrank/rotateArray.cpp
pedrotorreao/DSA
31f9dffbed5275590d5c7b7f6a73fd6dea411564
[ "MIT" ]
null
null
null
Problems/Hackerrank/rotateArray.cpp
pedrotorreao/DSA
31f9dffbed5275590d5c7b7f6a73fd6dea411564
[ "MIT" ]
null
null
null
/************************************************************/ /*Problem: Rotate Array (HR) ********/ /************************************************************/ /* -- Summary: A left rotation operation on an array shifts each of the array's elements 1 unit to the left. For example, if 2 left rotations are per...
26.134615
101
0.534216
pedrotorreao
06a4cc5b66aa8f7b8b4106f25c53297268a8bd29
456
hpp
C++
engine/time/include/SpecialDayObserver.hpp
prolog/shadow-of-the-wyrm
a1312c3e9bb74473f73c4e7639e8bd537f10b488
[ "MIT" ]
60
2019-08-21T04:08:41.000Z
2022-03-10T13:48:04.000Z
engine/time/include/SpecialDayObserver.hpp
prolog/shadow-of-the-wyrm
a1312c3e9bb74473f73c4e7639e8bd537f10b488
[ "MIT" ]
3
2021-03-18T15:11:14.000Z
2021-10-20T12:13:07.000Z
engine/time/include/SpecialDayObserver.hpp
prolog/shadow-of-the-wyrm
a1312c3e9bb74473f73c4e7639e8bd537f10b488
[ "MIT" ]
8
2019-11-16T06:29:05.000Z
2022-01-23T17:33:43.000Z
#pragma once #include "ITimeObserver.hpp" #include "Map.hpp" #include "Calendar.hpp" class SpecialDayObserver : public ITimeObserver { public: void notify(const ulonglong minutes_elapsed) override; std::unique_ptr<ITimeObserver> clone() override; protected: void check_special_day(const std::map<int, ...
22.8
102
0.760965
prolog
06a6d2e1a71286edf3abf664abcce0a1ef1a08cc
3,155
hh
C++
src/operators/Op_Face_CellBndFace.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
37
2017-04-26T16:27:07.000Z
2022-03-01T07:38:57.000Z
src/operators/Op_Face_CellBndFace.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
494
2016-09-14T02:31:13.000Z
2022-03-13T18:57:05.000Z
src/operators/Op_Face_CellBndFace.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
43
2016-09-26T17:58:40.000Z
2022-03-25T02:29:59.000Z
/* Operators Copyright 2010-201x held jointly by LANS/LANL, LBNL, and PNNL. Amanzi is released under the three-clause BSD License. The terms of use and "as is" disclaimer for this license are provided in the top-level COPYRIGHT file. Author: Ethan Coon (ecoon@lanl.gov) */ #ifndef AMANZI_OP_FACE_CELLFA...
32.525773
94
0.662758
fmyuan
06ad574224ad027a6116bff88722c86540a0b880
2,419
cpp
C++
tan/samples/src/FileToHeader/stdafx.cpp
amono/TAN
690ed6a92c594f4ba3a26d1c8b77dbff386c9b04
[ "MIT" ]
128
2016-08-17T21:57:05.000Z
2022-03-30T17:44:36.000Z
tan/samples/src/FileToHeader/stdafx.cpp
amono/TAN
690ed6a92c594f4ba3a26d1c8b77dbff386c9b04
[ "MIT" ]
8
2016-08-18T18:39:12.000Z
2021-11-12T19:10:30.000Z
tan/samples/src/FileToHeader/stdafx.cpp
isabella232/TAN
690ed6a92c594f4ba3a26d1c8b77dbff386c9b04
[ "MIT" ]
30
2016-08-18T19:36:06.000Z
2022-03-30T17:28:31.000Z
// // MIT license // // Copyright (c) 2019 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 limit...
39.016129
110
0.724266
amono
06b09ea60d30ace1f4d18be2244f7f9b3d31af8f
3,950
cpp
C++
graph-source-code/450-D/12227770.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/450-D/12227770.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/450-D/12227770.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
//Language: GNU C++11 #include <cctype> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <iostream> #include <sstream> #include <iomanip> #include <string> #include <vector> #include <set> #include <map> #include <queue> #include <stack> #include <list> #include <algori...
19.849246
79
0.409114
AmrARaouf
06b41a5ea007dc3b23dc70c96d092fa876523fdb
17,745
cpp
C++
trview.app.tests/ItemsWindowTests.cpp
chreden/trview
e2a5e3539036f27adfa54fc7fcf4c3537b99a221
[ "MIT" ]
20
2018-10-17T02:00:03.000Z
2022-03-24T09:37:20.000Z
trview.app.tests/ItemsWindowTests.cpp
chreden/trview
e2a5e3539036f27adfa54fc7fcf4c3537b99a221
[ "MIT" ]
396
2018-07-22T16:11:47.000Z
2022-03-29T11:57:03.000Z
trview.app.tests/ItemsWindowTests.cpp
chreden/trview
e2a5e3539036f27adfa54fc7fcf4c3537b99a221
[ "MIT" ]
8
2018-07-25T21:31:06.000Z
2021-11-01T14:36:26.000Z
#include <trview.app/Windows/ItemsWindow.h> #include <trview.tests.common/Window.h> #include <trview.ui/Button.h> #include <trview.ui/Checkbox.h> #include <trview.common/Size.h> #include <trview.app/Elements/Types.h> #include <trview.graphics/mocks/IDeviceWindow.h> #include <trview.ui.render/Mocks/IRenderer.h> #include...
35.561122
140
0.656579
chreden
06c23d1725d489d827b15bf1889a6b3c62707a06
694
hpp
C++
CamelusMips/Timer.hpp
MForever78/CamelusMips
fd55f00e70bee448ad25951013cc1fdad3d3b456
[ "MIT" ]
null
null
null
CamelusMips/Timer.hpp
MForever78/CamelusMips
fd55f00e70bee448ad25951013cc1fdad3d3b456
[ "MIT" ]
1
2016-05-02T05:23:08.000Z
2016-05-02T05:24:01.000Z
CamelusMips/Timer.hpp
MForever78/CamelusMips
fd55f00e70bee448ad25951013cc1fdad3d3b456
[ "MIT" ]
null
null
null
// // Created by MForever78 on 16/4/19. // #ifndef TIMER_HPP #define TIMER_HPP #include "Device.hpp" class Timer: Device { public: inline void set(const std::uint32_t data) override { counting = true; reverseCount = data; } inline std::uint32_t get() const override { return clock;...
17.794872
56
0.569164
MForever78
06d02c7c4e8dc590c433c9111fd27d9385257673
1,567
cpp
C++
Lab6/orange_sorting.cpp
NLaDuke/CSIII-Labs
8f2658d6fcf6cc838bbef17bc5110a10c742bf0e
[ "MIT" ]
null
null
null
Lab6/orange_sorting.cpp
NLaDuke/CSIII-Labs
8f2658d6fcf6cc838bbef17bc5110a10c742bf0e
[ "MIT" ]
null
null
null
Lab6/orange_sorting.cpp
NLaDuke/CSIII-Labs
8f2658d6fcf6cc838bbef17bc5110a10c742bf0e
[ "MIT" ]
null
null
null
#include <iostream> #include <ctime> #include <cstdlib> #include <map> #include <vector> #include <string> using std::cin; using std::cout; using std::endl; using std::string; using std::multimap; using std::vector; //---------------------------- // File: orange_sorting.cpp // By: Nolan LaDuke // Date: 2/23/2021 //--...
33.340426
80
0.539247
NLaDuke
06d5dfc2c7dd31fc4be1b00c490ad9746a9298e2
2,382
cpp
C++
TestApp1/DragTextUI.cpp
EndofDeath/Duilib_adrival
2fc0a4cc2a6ea2a6d945baf16e41d252c1417be3
[ "BSD-2-Clause", "MIT" ]
null
null
null
TestApp1/DragTextUI.cpp
EndofDeath/Duilib_adrival
2fc0a4cc2a6ea2a6d945baf16e41d252c1417be3
[ "BSD-2-Clause", "MIT" ]
null
null
null
TestApp1/DragTextUI.cpp
EndofDeath/Duilib_adrival
2fc0a4cc2a6ea2a6d945baf16e41d252c1417be3
[ "BSD-2-Clause", "MIT" ]
null
null
null
#include "stdafx.h" #include "DragTextUI.h" LPCTSTR UI_DRAGTEXT = _T("DragText"); CDragTextUI::CDragTextUI() { } CDragTextUI::~CDragTextUI() { } LPCTSTR CDragTextUI::GetClass() const { return UI_DRAGTEXT; } LPVOID CDragTextUI::GetInterface(LPCTSTR pstrName) { if (_tcscmp(pstrName, UI_DRAGTEXT) == 0) return stat...
21.853211
81
0.680101
EndofDeath
06d9989f42d8e7f9301a9654d13ed390ecb3768c
1,072
cpp
C++
Doom/src/Doom/Components/PointLight.cpp
Shturm0weak/OpenGL_Engine
6e6570f8dd9000724274942fff5a100f0998b780
[ "MIT" ]
126
2020-10-20T21:39:53.000Z
2022-01-25T14:43:44.000Z
Doom/src/Doom/Components/PointLight.cpp
Shturm0weak/2D_OpenGL_Engine
6e6570f8dd9000724274942fff5a100f0998b780
[ "MIT" ]
2
2021-01-07T17:29:19.000Z
2021-08-14T14:04:28.000Z
Doom/src/Doom/Components/PointLight.cpp
Shturm0weak/2D_OpenGL_Engine
6e6570f8dd9000724274942fff5a100f0998b780
[ "MIT" ]
16
2021-01-09T09:08:40.000Z
2022-01-25T14:43:46.000Z
#include "../pch.h" #include "PointLight.h" using namespace Doom; void Doom::PointLight::Copy(const PointLight& rhs) { m_Constant = rhs.m_Constant; m_Linear = rhs.m_Linear; m_Quadratic = rhs.m_Quadratic; m_Color = rhs.m_Color; } void Doom::PointLight::operator=(const PointLight& rhs) { Copy(rhs); } Component* ...
22.333333
82
0.70709
Shturm0weak
06e82ce46e53badcce22a05eec8cc34cfad94f59
579
cpp
C++
quests/dziwne_sumowanie/dziwne_sumowanie/dziwne_sumowanie.cpp
Donkrzawayan/DECODE-IT_pracuj_pl
a09daa973d32d46d9dc8e7dec284821f52a10607
[ "Apache-2.0" ]
1
2021-01-06T22:15:09.000Z
2021-01-06T22:15:09.000Z
quests/dziwne_sumowanie/dziwne_sumowanie/dziwne_sumowanie.cpp
Donkrzawayan/DECODE-IT_pracuj_pl
a09daa973d32d46d9dc8e7dec284821f52a10607
[ "Apache-2.0" ]
null
null
null
quests/dziwne_sumowanie/dziwne_sumowanie/dziwne_sumowanie.cpp
Donkrzawayan/DECODE-IT_pracuj_pl
a09daa973d32d46d9dc8e7dec284821f52a10607
[ "Apache-2.0" ]
null
null
null
// #include <iostream> #include <vector> #include <cstdint> #include <string> void processString() { unsigned n; std::cin >> n; std::cin.get(); //clear input std::vector<uint_fast8_t> str(4 * n); for (unsigned j = 0; j < 4 * n; ++j) str[j] = std::cin.get() - '0'; std::cin.get(); //clear input std::string an...
18.09375
72
0.542314
Donkrzawayan
06e9f05fba4fd522479cff255bd0739a90440b1d
30,542
cc
C++
lib/memoro/memoro_interceptors.cc
epfl-vlsc/compiler-rt
8d8b3f33c09f637f3fbe406eebf38280e9ee7340
[ "MIT" ]
2
2020-02-04T15:21:22.000Z
2020-02-05T08:20:25.000Z
lib/memoro/memoro_interceptors.cc
epfl-vlsc/compiler-rt
8d8b3f33c09f637f3fbe406eebf38280e9ee7340
[ "MIT" ]
1
2019-11-05T13:08:01.000Z
2019-11-05T13:08:01.000Z
lib/memoro/memoro_interceptors.cc
epfl-vlsc/compiler-rt
8d8b3f33c09f637f3fbe406eebf38280e9ee7340
[ "MIT" ]
null
null
null
//=-- memoro_interceptors.cc ----------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
37.799505
80
0.611715
epfl-vlsc
06fb1bcc1d69479e99dbdd3a5726c5fd7cecae81
11,905
cpp
C++
src/misc/jfontload.cpp
akmed772/dosvax
878a4187d3a126b93a6ae8f79f28267b83d323e5
[ "MIT" ]
1
2022-03-16T08:50:16.000Z
2022-03-16T08:50:16.000Z
src/misc/jfontload.cpp
akmed772/dosvax
878a4187d3a126b93a6ae8f79f28267b83d323e5
[ "MIT" ]
null
null
null
src/misc/jfontload.cpp
akmed772/dosvax
878a4187d3a126b93a6ae8f79f28267b83d323e5
[ "MIT" ]
null
null
null
/* Copyright (c) 2016-2022 akm All rights reserved. This content is under the MIT License. */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "dosbox.h" #include "control.h" #include "support.h" #include "jsupport.h" //#include "jega.h"//for AX //#include "ps55.h"//for PS/55 using...
27.880562
86
0.584292
akmed772
06fb99b73c5854ff64505f1495ea8d32e2bf8cd1
101
cc
C++
.ccls-cache/@Users@clp@id@idl/lg@src@main.cc
clpi/idx
fe86a22e090685d55774101dff132407f593fd9e
[ "MIT" ]
null
null
null
.ccls-cache/@Users@clp@id@idl/lg@src@main.cc
clpi/idx
fe86a22e090685d55774101dff132407f593fd9e
[ "MIT" ]
null
null
null
.ccls-cache/@Users@clp@id@idl/lg@src@main.cc
clpi/idx
fe86a22e090685d55774101dff132407f593fd9e
[ "MIT" ]
null
null
null
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <ncurses.h> class Lexer { };
9.181818
20
0.653465
clpi
06fddfe7aa3897e8a65c6843c54556b0e41eed4c
6,108
cpp
C++
src/flow_table/tests/flow_table_test.cpp
AlexandrePieroux/DNFC
53756f5ec98409357407d4730dca2344ffb256d3
[ "MIT" ]
2
2017-04-25T23:48:01.000Z
2017-06-12T14:20:41.000Z
src/flow_table/tests/flow_table_test.cpp
AlexandrePieroux/DNFC
53756f5ec98409357407d4730dca2344ffb256d3
[ "MIT" ]
null
null
null
src/flow_table/tests/flow_table_test.cpp
AlexandrePieroux/DNFC
53756f5ec98409357407d4730dca2344ffb256d3
[ "MIT" ]
null
null
null
#define _BSD_SOURCE #include <stdio.h> #include <stdlib.h> extern "C" { #include "../flow_table.h" #include "../../memory_management/memory_management.h" } #include <gtest/gtest.h> #include <boost/bind.hpp> #include <boost/asio.hpp> #define NB_NUMBERS 1000000 #define NB_THREADS 64 #define HEADER_LENGTH 1...
24.728745
95
0.599869
AlexandrePieroux
660445d356b337943caa6087fe5f1ef00456eb71
19,468
cpp
C++
src/graphics/VoxelRenderer.cpp
Retro52/Minecraft-Clone
6417ad7f77978d71f90bb6db20e518ad467a3c83
[ "Unlicense" ]
null
null
null
src/graphics/VoxelRenderer.cpp
Retro52/Minecraft-Clone
6417ad7f77978d71f90bb6db20e518ad467a3c83
[ "Unlicense" ]
null
null
null
src/graphics/VoxelRenderer.cpp
Retro52/Minecraft-Clone
6417ad7f77978d71f90bb6db20e518ad467a3c83
[ "Unlicense" ]
null
null
null
#include "VoxelRenderer.h" #include "mesh.h" #include "../voxels/voxel.h" #include "../voxels/Block.h" #include "../lighting/Lightmap.h" #define VERTEX_SIZE (3 + 2 + 4) #define CDIV(X,A) (((X) < 0) ? ((X) / (A) - 1) : ((X) / (A))) #define LOCAL_NEG(X, SIZE) (((X) < 0) ? ((SIZE)+(X)) : (X)) #define LOCAL(X, SIZE) ((X)...
63.829508
153
0.441494
Retro52
660a6aa65cf0765eef4a5a396a834b4ac89e3cc1
6,780
cpp
C++
tech/Game/BeamWeapon.cpp
nbtdev/teardrop
fa9cc8faba03a901d1d14f655a04167e14cd08ee
[ "MIT" ]
null
null
null
tech/Game/BeamWeapon.cpp
nbtdev/teardrop
fa9cc8faba03a901d1d14f655a04167e14cd08ee
[ "MIT" ]
null
null
null
tech/Game/BeamWeapon.cpp
nbtdev/teardrop
fa9cc8faba03a901d1d14f655a04167e14cd08ee
[ "MIT" ]
null
null
null
/****************************************************************************** Copyright (c) 2015 Teardrop Games 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...
29.478261
82
0.64823
nbtdev
660ae7a6f3d6dc183db47b9ec80d91bca9f86cd4
27,592
ipp
C++
include/External/stlib/packages/numerical/optimization/QuasiNewtonLBFGS.ipp
bxl295/m4extreme
2a4a20ebb5b4e971698f7c981de140d31a5e550c
[ "BSD-3-Clause" ]
null
null
null
include/External/stlib/packages/numerical/optimization/QuasiNewtonLBFGS.ipp
bxl295/m4extreme
2a4a20ebb5b4e971698f7c981de140d31a5e550c
[ "BSD-3-Clause" ]
null
null
null
include/External/stlib/packages/numerical/optimization/QuasiNewtonLBFGS.ipp
bxl295/m4extreme
2a4a20ebb5b4e971698f7c981de140d31a5e550c
[ "BSD-3-Clause" ]
null
null
null
// -*- C++ -*- /* * C library of Limited memory BFGS (L-BFGS). * * Copyright (c) 1990, Jorge Nocedal * Copyright (c) 2007,2008,2009 Naoaki Okazaki * All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentati...
31.142212
182
0.532546
bxl295
6614f85317377db14d1072c0519a80afa3ff5bc3
2,228
cpp
C++
Stp/Base/Thread/NativeThreadLinux.cpp
markazmierczak/Polonite
240f099cafc5c38dc1ae1cc6fc5773e13f65e9de
[ "MIT" ]
1
2019-07-11T12:47:52.000Z
2019-07-11T12:47:52.000Z
Stp/Base/Thread/NativeThreadLinux.cpp
Polonite/Polonite
240f099cafc5c38dc1ae1cc6fc5773e13f65e9de
[ "MIT" ]
null
null
null
Stp/Base/Thread/NativeThreadLinux.cpp
Polonite/Polonite
240f099cafc5c38dc1ae1cc6fc5773e13f65e9de
[ "MIT" ]
1
2019-07-11T12:47:53.000Z
2019-07-11T12:47:53.000Z
// Copyright 2017 Polonite Authors. All rights reserved. // Distributed under MIT license that can be found in the LICENSE file. #include "Base/Thread/NativeThread.h" #include "Base/String/StringSpan.h" #if !OS(ANDROID) # include <sched.h> #endif #if !OS(FREEBSD) # include <sys/prctl.h> #endif namespace stp { #if ...
28.564103
89
0.687163
markazmierczak
6618b29423eeb2e49c37bcc9cfc69cdd293210a0
3,024
cpp
C++
Monopoly/GameState.cpp
dragonly/Monopoly
1dc013aed2bb49dd7c0c610df697f2bdfe282a8f
[ "MIT" ]
3
2018-06-24T13:44:50.000Z
2019-11-18T09:49:41.000Z
Monopoly/GameState.cpp
dragonly/Monopoly
1dc013aed2bb49dd7c0c610df697f2bdfe282a8f
[ "MIT" ]
null
null
null
Monopoly/GameState.cpp
dragonly/Monopoly
1dc013aed2bb49dd7c0c610df697f2bdfe282a8f
[ "MIT" ]
null
null
null
// // GameState.cpp // Monopoly // // Created by Dragonly on 4/27/16. // Copyright © 2016 Dragonly. All rights reserved. // #include "GameState.hpp" namespace monopoly { GameState::GameState() : today(2016, 5, 1), stockMarket() { Land lands[] = { // this is just for initializing, don't do logic on...
43.2
116
0.425265
dragonly
661975ec91a71aeb0ec9c0dd1429f627de00d2a9
12,852
cpp
C++
source/cpu/exec/exec.cpp
zhiayang/z86
708aa48f981dbba8025c83ae10918d42163da753
[ "Apache-2.0" ]
3
2020-10-12T15:52:20.000Z
2021-02-07T08:40:03.000Z
source/cpu/exec/exec.cpp
zhiayang/z86
708aa48f981dbba8025c83ae10918d42163da753
[ "Apache-2.0" ]
null
null
null
source/cpu/exec/exec.cpp
zhiayang/z86
708aa48f981dbba8025c83ae10918d42163da753
[ "Apache-2.0" ]
null
null
null
// exec.cpp // Copyright (c) 2020, zhiayang // Licensed under the Apache License Version 2.0. #include "defs.h" #include "cpu/cpu.h" #include "cpu/exec.h" namespace z86 { using Operand = instrad::x86::Operand; using Register = instrad::x86::Register; using Instruction = instrad::x86::Instruction; using InstrMods ...
32.372796
121
0.569561
zhiayang
662078f2d9bfcbb447007249e862c143c63ef57d
214
cpp
C++
code/math/berlekamp-massey/debug.cpp
tonowak/acmlib
ec295b8c76c588914475ad42cff81a64a6f2ebd5
[ "MIT" ]
6
2019-06-25T14:07:08.000Z
2022-01-04T12:28:55.000Z
code/math/berlekamp-massey/debug.cpp
tonowak/acmlib
ec295b8c76c588914475ad42cff81a64a6f2ebd5
[ "MIT" ]
null
null
null
code/math/berlekamp-massey/debug.cpp
tonowak/acmlib
ec295b8c76c588914475ad42cff81a64a6f2ebd5
[ "MIT" ]
1
2021-11-12T01:40:38.000Z
2021-11-12T01:40:38.000Z
#include "../../utils/headers/main.cpp" #include "main.cpp" int main() { int n; cin >> n; vector<int> x(n); REP(i, n) cin >> x[i]; BerlekampMassey<int(1e9 + 696969)> bm(x); REP(k, 10) debug(k, bm.get(k)); }
16.461538
42
0.579439
tonowak
6622435f34c754ba5066588df2344014e217b585
4,999
cc
C++
test/random/curand/CurandPerformance.test.cc
whokion/celeritas
9e1cf3ec6b7b5a15c5bc197959f105d6a02e6612
[ "Apache-2.0", "MIT" ]
22
2020-03-31T14:18:22.000Z
2022-01-10T09:43:06.000Z
test/random/curand/CurandPerformance.test.cc
whokion/celeritas
9e1cf3ec6b7b5a15c5bc197959f105d6a02e6612
[ "Apache-2.0", "MIT" ]
261
2020-04-29T15:14:29.000Z
2022-03-31T19:07:14.000Z
test/random/curand/CurandPerformance.test.cc
whokion/celeritas
9e1cf3ec6b7b5a15c5bc197959f105d6a02e6612
[ "Apache-2.0", "MIT" ]
15
2020-05-01T19:47:19.000Z
2021-12-25T06:12:09.000Z
//----------------------------------*-C++-*----------------------------------// // Copyright 2020 UT-Battelle, LLC, and other Celeritas developers. // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: (Apache-2.0 OR MIT) //-------------------------------------------------------------------------...
29.405882
79
0.572515
whokion
6626884e716c12e8f453565c75b52c851941e1f3
1,312
cpp
C++
Cmds/baseFeatures.cpp
jli860/tnvme
208943be96c0fe073ed97a7098c0b00a2776ebf9
[ "Apache-2.0" ]
34
2015-03-09T17:54:24.000Z
2022-02-03T03:40:08.000Z
Cmds/baseFeatures.cpp
jli860/tnvme
208943be96c0fe073ed97a7098c0b00a2776ebf9
[ "Apache-2.0" ]
13
2015-05-20T02:21:09.000Z
2019-02-13T19:57:20.000Z
Cmds/baseFeatures.cpp
jli860/tnvme
208943be96c0fe073ed97a7098c0b00a2776ebf9
[ "Apache-2.0" ]
53
2015-03-13T02:46:24.000Z
2021-11-17T07:34:04.000Z
/* * Copyright (c) 2011, Intel Corporation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
20.5
76
0.700457
jli860
662fcd4bc7ee63a550178422787435d8cf592569
7,290
hpp
C++
src/mem_datasource.hpp
calvinmetcalf/node-mapnik
3d26f2089dee3cfc901965f6646d50004a0e0e56
[ "BSD-3-Clause" ]
null
null
null
src/mem_datasource.hpp
calvinmetcalf/node-mapnik
3d26f2089dee3cfc901965f6646d50004a0e0e56
[ "BSD-3-Clause" ]
null
null
null
src/mem_datasource.hpp
calvinmetcalf/node-mapnik
3d26f2089dee3cfc901965f6646d50004a0e0e56
[ "BSD-3-Clause" ]
null
null
null
#ifndef __NODE_MAPNIK_MEM_DATASOURCE_H__ #define __NODE_MAPNIK_MEM_DATASOURCE_H__ #include <v8.h> #include <node.h> #include <node_object_wrap.h> using namespace v8; // mapnik #include <mapnik/box2d.hpp> #include <mapnik/query.hpp> #include <mapnik/params.hpp> #include <mapnik/sql_utils.hpp> #include <mapnik/datasou...
33.906977
109
0.510562
calvinmetcalf
66317a8c0d391f473cfc537c75d00f2dffd6d0a9
5,583
cpp
C++
examples/bloom_filter/src/BloomFilter.cpp
swoole/phpx
3beb558f4ebed4660f0795fd98b193a350f924f6
[ "Apache-2.0" ]
213
2018-08-25T05:43:40.000Z
2021-05-04T11:40:19.000Z
examples/bloom_filter/src/BloomFilter.cpp
swoole/phpx
3beb558f4ebed4660f0795fd98b193a350f924f6
[ "Apache-2.0" ]
25
2018-09-09T05:54:59.000Z
2021-02-22T05:09:54.000Z
examples/bloom_filter/src/BloomFilter.cpp
swoole/phpx
3beb558f4ebed4660f0795fd98b193a350f924f6
[ "Apache-2.0" ]
41
2018-08-29T08:34:07.000Z
2021-03-08T15:12:27.000Z
#include "phpx.h" #include "ext/swoole/include/swoole.h" #include "ext/swoole/include/swoole_lock.h" #include "ext/swoole/include/swoole_file.h" #include "ext/swoole/ext-src/php_swoole.h" extern "C" { extern void MurmurHash3_x64_128(const void *key, const int len, const uint32_t seed, void *out); extern void SpookyHas...
26.211268
102
0.602543
swoole
6636fcb78f0da9773abd1c90dfae28a58bedb03f
401
cpp
C++
Sources/thread-oop/main.cpp
igarcerant/curso_cpp_2021
97c4a44fda2917d159e4ae809cc0c2a7e4fb9d16
[ "MIT" ]
null
null
null
Sources/thread-oop/main.cpp
igarcerant/curso_cpp_2021
97c4a44fda2917d159e4ae809cc0c2a7e4fb9d16
[ "MIT" ]
null
null
null
Sources/thread-oop/main.cpp
igarcerant/curso_cpp_2021
97c4a44fda2917d159e4ae809cc0c2a7e4fb9d16
[ "MIT" ]
null
null
null
#include <iostream> #include <thread> #include <string> class Salutator { public: void saludar(std::string name, int times); }; void Salutator::saludar(std::string name, int times) { for(int i=0; i<times; i++) { std::cout << i << ": hello, " << name << "!" << std::endl; } } auto main() -> int { Salutator sa...
13.827586
60
0.605985
igarcerant
663797e7995b05f9aaa50f86293786e3fd6d91bf
773
cpp
C++
_0707_div2/C_Going_Home.cpp
mingweihe/codeforces
8395d68a09373775009b76dbde189ce5bbba58ae
[ "MIT" ]
null
null
null
_0707_div2/C_Going_Home.cpp
mingweihe/codeforces
8395d68a09373775009b76dbde189ce5bbba58ae
[ "MIT" ]
null
null
null
_0707_div2/C_Going_Home.cpp
mingweihe/codeforces
8395d68a09373775009b76dbde189ce5bbba58ae
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int n; int a[200001], x[5000001], y[5000001]; // pigeonhole principle, O(n) time return for qualified input data void solve(){ cin >> n; for(int i = 1; i <= n; ++i) cin >> a[i]; memset(x, 0, sizeof(x)); memset(y, 0, sizeof(y)); for(int i = 1; i < n; ++...
24.15625
76
0.384217
mingweihe
6643314eb2e52bc8a69dca09ab2e2ef51cf5e11c
1,160
hpp
C++
plugins/terrain_plugin/include/TerrainQuadtree.hpp
fuchstraumer/Caelestis
9c4b76288220681bb245d84e5d7bf8c7f69b2716
[ "MIT" ]
5
2018-08-16T00:55:33.000Z
2020-06-19T14:30:17.000Z
plugins/terrain_plugin/include/TerrainQuadtree.hpp
fuchstraumer/Caelestis
9c4b76288220681bb245d84e5d7bf8c7f69b2716
[ "MIT" ]
null
null
null
plugins/terrain_plugin/include/TerrainQuadtree.hpp
fuchstraumer/Caelestis
9c4b76288220681bb245d84e5d7bf8c7f69b2716
[ "MIT" ]
null
null
null
#pragma once #ifndef TERRAIN_PLUGIN_QUADTREE_HPP #define TERRAIN_PLUGIN_QUADTREE_HPP #include "ForwardDecl.hpp" #include "glm/vec3.hpp" #include "glm/mat4x4.hpp" #include <unordered_map> #include <memory> #include <vulkan/vulkan.h> class HeightNode; class TerrainNode; class TerrainQuadtree { TerrainQuadtree(const...
34.117647
192
0.776724
fuchstraumer
6643f8daf3ed7a59e05d29becc0c3db22161fc59
8,700
cpp
C++
sta-src/Astro-Core/cartesianTOrotating.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
6
2018-09-05T12:41:59.000Z
2021-07-01T05:34:23.000Z
sta-src/Astro-Core/cartesianTOrotating.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
2
2015-02-07T19:09:21.000Z
2015-08-14T03:15:42.000Z
sta-src/Astro-Core/cartesianTOrotating.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
2
2015-03-25T15:50:31.000Z
2017-12-06T12:16:47.000Z
/* This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be usefu...
58.783784
240
0.661034
hoehnp
66466076d3c21cacd2d367ed0ca33b82af0d74b8
36,780
cpp
C++
CLucene/core/CLucene/index/SegmentInfos.cpp
asheeshv/CLucene-iOS-Android-Win8
46d3728178c59842472d43ebbb814375713ca7fa
[ "Apache-1.1" ]
2
2015-06-23T13:22:17.000Z
2019-04-28T06:35:02.000Z
CLucene/core/CLucene/index/SegmentInfos.cpp
asheeshv/CLucene-iOS-Android-Win8
46d3728178c59842472d43ebbb814375713ca7fa
[ "Apache-1.1" ]
null
null
null
CLucene/core/CLucene/index/SegmentInfos.cpp
asheeshv/CLucene-iOS-Android-Win8
46d3728178c59842472d43ebbb814375713ca7fa
[ "Apache-1.1" ]
null
null
null
/*------------------------------------------------------------------------------ * Copyright (C) 2003-2006 Ben van Klinken and the CLucene Team * * Distributable under the terms of either the Apache License (Version 2.0) or * the GNU Lesser General Public License, as specified in the COPYING file. ---------------------...
32.606383
145
0.615334
asheeshv