hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
float64
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
float64
1
77k
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
float64
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
653k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
1
7f9d164d35bb5249e38b5ed62e3ebc8530c727ff
2,193
cpp
C++
ex1/ex1/osm.cpp
nadavWeisler/OperatingSystems
8735cb6c7d124c63eba8d03d0654477daefeee9b
[ "MIT" ]
null
null
null
ex1/ex1/osm.cpp
nadavWeisler/OperatingSystems
8735cb6c7d124c63eba8d03d0654477daefeee9b
[ "MIT" ]
3
2021-08-09T11:19:23.000Z
2021-08-09T11:19:36.000Z
ex1/ex1/osm.cpp
nadavWeisler/OperatingSystems
8735cb6c7d124c63eba8d03d0654477daefeee9b
[ "MIT" ]
null
null
null
// // Created by weisler on 06/04/2021. // #include <iostream> #include "osm.h" #include <sys/time.h> /** * An empty function */ void empty_func() {} long get_nano(struct timeval t) { return ((t.tv_sec * 1000000 + t.tv_usec) * 1000); } double osm_operation_time(unsigned int iterations) { if (iterations == ...
22.84375
86
0.562699
7f9e377060e22224456bd298051adcc9ff9abad8
3,855
cpp
C++
modules/vulkan/src/codegen/ops/copy.cpp
xhuohai/nncase
cf7921c273c7446090939c64f57ef783a62bf29c
[ "Apache-2.0" ]
510
2018-12-29T06:49:36.000Z
2022-03-30T08:36:29.000Z
modules/vulkan/src/codegen/ops/copy.cpp
xhuohai/nncase
cf7921c273c7446090939c64f57ef783a62bf29c
[ "Apache-2.0" ]
459
2019-02-17T13:31:29.000Z
2022-03-31T05:55:38.000Z
modules/vulkan/src/codegen/ops/copy.cpp
xhuohai/nncase
cf7921c273c7446090939c64f57ef783a62bf29c
[ "Apache-2.0" ]
155
2019-04-16T08:43:24.000Z
2022-03-21T07:27:26.000Z
/* Copyright 2019-2021 Canaan 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 t...
31.598361
103
0.664591
7fa1e787c8778f1a507ab8190f389c33830a6b02
1,229
cpp
C++
src/color.cpp
yudhik11/OpenGL-LOZ
c1add7b09df2b99e1c82c21b56ba18b1cf7c4846
[ "MIT" ]
1
2019-08-29T02:01:20.000Z
2019-08-29T02:01:20.000Z
src/color.cpp
yudhik11/OpenGL-LOZ
c1add7b09df2b99e1c82c21b56ba18b1cf7c4846
[ "MIT" ]
null
null
null
src/color.cpp
yudhik11/OpenGL-LOZ
c1add7b09df2b99e1c82c21b56ba18b1cf7c4846
[ "MIT" ]
null
null
null
#include "main.h" const color_t COLOR_BLACK = { 52, 73, 94 }; const color_t COLOR_BACKGROUND = { 153, 235, 255 }; const color_t COLOR_BLUE = { 0, 138, 230 }; // const color_a COLOR_ABLUE = { 0, 138, 230, 0.3 }; const color_t COLOR_CUBE1 = { 128, 43, 0 }; const color_t COLOR_CUBE2 = { 204, 68, 0 }; const color_t COLOR_...
40.966667
52
0.673718
7fa8f3fdf2ebb64ccf08c6ec947b368c0a81c2ee
832
hpp
C++
src/util.hpp
triton/cc-wrapper
4be147e091897efc080691567034127dfafd75b9
[ "Apache-2.0" ]
1
2018-09-27T05:08:35.000Z
2018-09-27T05:08:35.000Z
src/util.hpp
triton/cc-wrapper
4be147e091897efc080691567034127dfafd75b9
[ "Apache-2.0" ]
null
null
null
src/util.hpp
triton/cc-wrapper
4be147e091897efc080691567034127dfafd75b9
[ "Apache-2.0" ]
3
2017-12-24T22:07:05.000Z
2020-11-26T01:20:16.000Z
#pragma once #include <algorithm> #include <nonstd/optional.hpp> #include <nonstd/span.hpp> #include <nonstd/string_view.hpp> namespace cc_wrapper { namespace util { namespace detail { char *append(char *out, nonstd::string_view str); nonstd::string_view removeTrailing(nonstd::string_view path); } // namespace deta...
27.733333
75
0.725962
7fa980e5f37645bb45d89cee4ca0ef72ef949387
2,003
cpp
C++
Programming and Algorithm/High Level Programming Language 2/mydeque/src/myIterator.cpp
Lan-Jing/Courses
540db9499b8725ca5b82a2c4e7a3da09f73c0efa
[ "MIT" ]
1
2021-12-17T23:09:00.000Z
2021-12-17T23:09:00.000Z
Programming and Algorithm/High Level Programming Language 2/mydeque/src/myIterator.cpp
Lan-Jing/Courses
540db9499b8725ca5b82a2c4e7a3da09f73c0efa
[ "MIT" ]
null
null
null
Programming and Algorithm/High Level Programming Language 2/mydeque/src/myIterator.cpp
Lan-Jing/Courses
540db9499b8725ca5b82a2c4e7a3da09f73c0efa
[ "MIT" ]
1
2021-08-03T23:42:06.000Z
2021-08-03T23:42:06.000Z
#include "myIterator.hpp" myIterator& myIterator::operator = (const myIterator &iter){ this->setPtr(iter.showPtr()); this->setDequePos(iter.showDequePos()); this->setBlockPos(iter.showBlockPos()); this->setMode(iter.showMode()); return (*this); } bool myIterator::operator == (const myIterator &ite...
30.815385
65
0.558662
7faaa60c75d257122ea60ec87bf551f80b001487
3,835
cpp
C++
dirWalker1.cpp/main.cpp
phques/dir-walker-langcomp
3e46ea81fbcc1620a8b28c79942d4845b9680eaf
[ "AFL-3.0" ]
null
null
null
dirWalker1.cpp/main.cpp
phques/dir-walker-langcomp
3e46ea81fbcc1620a8b28c79942d4845b9680eaf
[ "AFL-3.0" ]
null
null
null
dirWalker1.cpp/main.cpp
phques/dir-walker-langcomp
3e46ea81fbcc1620a8b28c79942d4845b9680eaf
[ "AFL-3.0" ]
null
null
null
// DirWalker project // Copyright 2013 Philippe Quesnel // Licensed under the Academic Free License version 3.0 #include <iostream> #include <dirent.h> #include <string> #include <list> using namespace std; class OneDir { public: OneDir() {} OneDir(const string& basePath, const string& name) { ...
21.666667
84
0.518383
7fadd9c58dde2e49eff7ac12fa64aafa57440a02
894
cpp
C++
ports/biology/diamond/dragonfly/patch-src_util_system_system.cpp
liweitianux/DeltaPorts
b907de0ceb9c0e46ae8961896e97b361aa7c62c0
[ "BSD-2-Clause-FreeBSD" ]
31
2015-02-06T17:06:37.000Z
2022-03-08T19:53:28.000Z
ports/biology/diamond/dragonfly/patch-src_util_system_system.cpp
liweitianux/DeltaPorts
b907de0ceb9c0e46ae8961896e97b361aa7c62c0
[ "BSD-2-Clause-FreeBSD" ]
236
2015-06-29T19:51:17.000Z
2021-12-16T22:46:38.000Z
ports/biology/diamond/dragonfly/patch-src_util_system_system.cpp
liweitianux/DeltaPorts
b907de0ceb9c0e46ae8961896e97b361aa7c62c0
[ "BSD-2-Clause-FreeBSD" ]
52
2015-02-06T17:05:36.000Z
2021-10-21T12:13:06.000Z
--- src/util/system/system.cpp.orig 2021-02-12 11:50:56 UTC +++ src/util/system/system.cpp @@ -16,7 +16,7 @@ #include <fcntl.h> #include <unistd.h> #ifndef __APPLE__ - #ifdef __FreeBSD__ + #if defined(__FreeBSD__) || defined(__DragonFly__) #include <sys/types.h> #include <sys/sysctl.h> ...
27.090909
59
0.649888
7fb117bc0fa66fc32423df42dc26bf922768b159
4,503
cpp
C++
Classes/DroneSystem.cpp
InversePalindrome/Apophis
c2bb39e87d63cb51bc67f8e3682d84b3b4f970c8
[ "MIT" ]
7
2018-08-20T17:28:29.000Z
2020-09-05T15:19:31.000Z
Classes/DroneSystem.cpp
InversePalindrome/JATR66
c2bb39e87d63cb51bc67f8e3682d84b3b4f970c8
[ "MIT" ]
null
null
null
Classes/DroneSystem.cpp
InversePalindrome/JATR66
c2bb39e87d63cb51bc67f8e3682d84b3b4f970c8
[ "MIT" ]
1
2019-12-25T12:02:03.000Z
2019-12-25T12:02:03.000Z
/* Copyright (c) 2018 Inverse Palindrome Apophis - DroneSystem.cpp InversePalindrome.com */ #include "DroneSystem.hpp" #include "ObjectComponent.hpp" #include "SteeringBehaviors.hpp" #include "TransformComponent.hpp" DroneSystem::DroneSystem(entityx::EntityManager& entityManager, entityx::EventManager& eventManager...
58.480519
315
0.641794
7fb4ce55e05517579f0901da106a1f7879d017ec
11,238
cpp
C++
thirdparty/cgicc/cgicc/CgiEnvironment.cpp
rockchip-linux/ipcweb-backend
1885a61babe060c16a84c172712146d4206361df
[ "BSD-3-Clause" ]
1
2021-09-16T02:56:35.000Z
2021-09-16T02:56:35.000Z
thirdparty/cgicc/cgicc/CgiEnvironment.cpp
rockchip-linux/ipcweb-backend
1885a61babe060c16a84c172712146d4206361df
[ "BSD-3-Clause" ]
1
2021-07-08T03:34:02.000Z
2021-07-08T03:34:02.000Z
thirdparty/cgicc/cgicc/CgiEnvironment.cpp
rockchip-linux/ipcweb-backend
1885a61babe060c16a84c172712146d4206361df
[ "BSD-3-Clause" ]
2
2021-08-24T05:38:18.000Z
2021-09-16T02:56:39.000Z
/* -*-mode:c++; c-file-style: "gnu";-*- */ /* * $Id: CgiEnvironment.cpp,v 1.31 2017/06/22 20:26:35 sebdiaz Exp $ * * Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> * 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> * Part of the GNU cgicc library, http://www.gnu.org/software/cgi...
30.873626
120
0.69354
7fb526b14c4f069d81bdd3bf86d4613402f00979
2,534
hpp
C++
taskflow/cuda/cuda_ops.hpp
vedranmiletic/taskflow
f4fc11487d5bcd23671d8c7325cab0804ddc29c1
[ "MIT" ]
2
2021-11-04T04:01:26.000Z
2021-11-04T04:05:12.000Z
projects/Ivy/dependencies/taskflow/cuda/cuda_ops.hpp
TKscoot/Ivy
3b0a09d719e28c260c8eb5d7fbeb52be876e2af8
[ "Apache-2.0" ]
null
null
null
projects/Ivy/dependencies/taskflow/cuda/cuda_ops.hpp
TKscoot/Ivy
3b0a09d719e28c260c8eb5d7fbeb52be876e2af8
[ "Apache-2.0" ]
1
2021-10-14T22:28:46.000Z
2021-10-14T22:28:46.000Z
#pragma once #include "cuda_graph.hpp" namespace tf { // ---------------------------------------------------------------------------- // for_each // ---------------------------------------------------------------------------- // Kernel: for_each template <typename I, typename F> __global__ void cuda_for_each(I firs...
26.673684
79
0.404893
7fba04bc263e96728d4aed53624ee7aa4159f8d4
700
cpp
C++
src/components/RenderableComponent.cpp
SgtCoDFish/obelisk
8ff736a720f2604c7990477791cb5a983271f66a
[ "CC0-1.0", "MIT" ]
1
2018-10-03T20:46:57.000Z
2018-10-03T20:46:57.000Z
src/components/RenderableComponent.cpp
SgtCoDFish/obelisk
8ff736a720f2604c7990477791cb5a983271f66a
[ "CC0-1.0", "MIT" ]
null
null
null
src/components/RenderableComponent.cpp
SgtCoDFish/obelisk
8ff736a720f2604c7990477791cb5a983271f66a
[ "CC0-1.0", "MIT" ]
null
null
null
#include <utility> #include "components/RenderableComponent.hpp" namespace obelisk { RenderableComponent::RenderableComponent(APG::SpriteBase *sprite) : sprite{sprite} { } RenderableComponent::RenderableComponent(APG::SpriteBase *sprite, APG::SpriteBase *secondary) : sprite{sprite}, secondary{secondary} { ca...
23.333333
95
0.734286
7fba614ab0a0ff114d06c1bae69dbcb7ad3a6ca3
842
cpp
C++
AdjMatrix.cpp
RadheTians/Data-Structre
c4ee2d2592ce0eec3bb3f6a582542bb8307220d9
[ "MIT" ]
2
2019-09-23T15:17:15.000Z
2019-10-15T04:17:07.000Z
AdjMatrix.cpp
RadheTians/Data-Structre
c4ee2d2592ce0eec3bb3f6a582542bb8307220d9
[ "MIT" ]
null
null
null
AdjMatrix.cpp
RadheTians/Data-Structre
c4ee2d2592ce0eec3bb3f6a582542bb8307220d9
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; class AdjMatrix { private: int v; int adj[10][10]; public: AdjMatrix(int); ~AdjMatrix(); void addPath(int,int); void print(); }; AdjMatrix::AdjMatrix(int v) { this->v = v; for(int i=0;i<v;i++) for(int j=0;j<v;j++) adj[i][...
16.84
42
0.508314
7fbb8db6cf319ae805704b3c86a1771c8c3a6f12
648
cpp
C++
src/public/src/FM7/util/rawReadToD77/main.cpp
rothberg-cmu/rothberg-run
a42df5ca9fae97de77753864f60d05295d77b59f
[ "MIT" ]
1
2019-08-10T00:24:09.000Z
2019-08-10T00:24:09.000Z
src/public/src/FM7/util/rawReadToD77/main.cpp
rothberg-cmu/rothberg-run
a42df5ca9fae97de77753864f60d05295d77b59f
[ "MIT" ]
null
null
null
src/public/src/FM7/util/rawReadToD77/main.cpp
rothberg-cmu/rothberg-run
a42df5ca9fae97de77753864f60d05295d77b59f
[ "MIT" ]
2
2019-05-01T03:11:10.000Z
2019-05-01T03:30:35.000Z
#include "rawread.h" #include "rawreadutil.h" int main(int ac,char *av[]) { FM7RawDiskReadUtil::CommandParameterInfo cpmi; if(true!=cpmi.RecognizeCommandParameter(ac,av)) { printf("Usage:\n"); printf(" rawRead2D77 -?\n"); printf(" Show help.\n"); printf(" rawRead2D77 inputFileName.txt outputFileName.d...
27
101
0.700617
7fbb94aa88bdb32f50c0a2e4598ac633593fd68b
5,788
cpp
C++
ext/dvdaf3/UnicodeStr.replace.cpp
FilmAf/PHP-Extensions
f00bd2f1f2b0298fc673c03c9be89dbcceb1a3d4
[ "CC0-1.0" ]
null
null
null
ext/dvdaf3/UnicodeStr.replace.cpp
FilmAf/PHP-Extensions
f00bd2f1f2b0298fc673c03c9be89dbcceb1a3d4
[ "CC0-1.0" ]
null
null
null
ext/dvdaf3/UnicodeStr.replace.cpp
FilmAf/PHP-Extensions
f00bd2f1f2b0298fc673c03c9be89dbcceb1a3d4
[ "CC0-1.0" ]
null
null
null
#include "UnicodeStr.h" /// <summary> /// Given an item to replace it finds it in the requested translation table and replaces it. /// </summary> /// <param name="pTargetPosBegins">Index of the string to be replaced.</param> /// <param name="pTargetLength">Length of the string to be replaced.</param> /// <param name="...
29.989637
139
0.657222
7fbbe8613adf38550a1732c9bc237aeb19ef0e49
321
cpp
C++
Test/TestMain.cpp
aldonunez/Gemini
141e060bbc0698370c406046c35f5669eedcce75
[ "Apache-2.0" ]
null
null
null
Test/TestMain.cpp
aldonunez/Gemini
141e060bbc0698370c406046c35f5669eedcce75
[ "Apache-2.0" ]
null
null
null
Test/TestMain.cpp
aldonunez/Gemini
141e060bbc0698370c406046c35f5669eedcce75
[ "Apache-2.0" ]
null
null
null
#define CATCH_CONFIG_RUNNER #include "catch.hpp" int main( int argc, char* argv[] ) { #if defined( _WIN32 ) _CrtSetDbgFlag( _crtDbgFlag | _CRTDBG_LEAK_CHECK_DF | _CRTDBG_ALLOC_MEM_DF ); #endif int result = Catch::Session().run( argc, argv ); return result; } ...
16.894737
53
0.598131
7fbbf68ce630456f4164a72ac083f29abfce8ed4
1,147
cpp
C++
Olympiad Solutions/URI/1288.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
Olympiad Solutions/URI/1288.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
Olympiad Solutions/URI/1288.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
// Ivan Carvalho // Solution to https://www.urionlinejudge.com.br/judge/problems/view/1288 #include <unordered_map> #include <algorithm> #define MAXN 1010 using namespace std; typedef long long ll; ll n,s,casos,peso[MAXN],valor[MAXN],r,davez,condicional; unordered_map<ll,ll> tab[MAXN]; int knapsack(ll obj, ll aguenta){...
30.184211
73
0.664342
7fbd8fa92bae2899d036ac189f91569770e9621a
983
cpp
C++
examples/SDLAssets/MusicHandler.cpp
cloudncali/GExL
08010f6a3e46e7c633968930a96ff7e98aec4efb
[ "MIT" ]
null
null
null
examples/SDLAssets/MusicHandler.cpp
cloudncali/GExL
08010f6a3e46e7c633968930a96ff7e98aec4efb
[ "MIT" ]
null
null
null
examples/SDLAssets/MusicHandler.cpp
cloudncali/GExL
08010f6a3e46e7c633968930a96ff7e98aec4efb
[ "MIT" ]
null
null
null
#include "MusicHandler.hpp" #include <SDL_image.h> #include <iostream> MusicHandler::MusicHandler() : GExL::TAssetHandler<Music>() { } MusicHandler::~MusicHandler() { } bool MusicHandler::LoadFromFile(const GExL::typeAssetID theAssetID, Music& theAsset) { bool anResult = false; std::string anFilname = GetFilename...
22.340909
87
0.668362
7fbda4d6c5ea5110380e7431ef241ff4083abecc
2,300
cpp
C++
nice_matrix.cpp
AnkilP/codeforces
f0ed588166420b984db1864acfff8b94639422ba
[ "MIT" ]
null
null
null
nice_matrix.cpp
AnkilP/codeforces
f0ed588166420b984db1864acfff8b94639422ba
[ "MIT" ]
null
null
null
nice_matrix.cpp
AnkilP/codeforces
f0ed588166420b984db1864acfff8b94639422ba
[ "MIT" ]
null
null
null
#include <string> #include <iostream> #include <sstream> #include <iterator> #include <fstream> #include <iomanip> #include <vector> #include <queue> #include <utility> #include <algorithm> #include <stdlib.h> #include <math.h> long long solution(const std::vector<std::vector<long long>> & sides, std::vector<long long...
31.506849
207
0.538261
7fbfd83f68152f001c8b4b6c38b6cb8ef7ab1457
15,886
hpp
C++
include/ValkyrieEngine/Component.hpp
VD-15/Valkyrie-Engine
2287568e24b3ab20dff4feecbbf523c2fbbced65
[ "MIT" ]
2
2020-06-18T21:32:29.000Z
2021-01-29T04:16:47.000Z
include/ValkyrieEngine/Component.hpp
VD-15/Valkyrie-Engine
2287568e24b3ab20dff4feecbbf523c2fbbced65
[ "MIT" ]
13
2020-02-02T19:00:15.000Z
2020-02-08T18:32:06.000Z
include/ValkyrieEngine/Component.hpp
VD-15/Valkyrie-Engine
2287568e24b3ab20dff4feecbbf523c2fbbced65
[ "MIT" ]
null
null
null
/*! * \file Component.hpp * \brief Provides ECS component class */ #ifndef VLK_COMPONENT_HPP #define VLK_COMPONENT_HPP #include "ValkyrieEngine/AllocChunk.hpp" #include "ValkyrieEngine/IComponent.hpp" #include "ValkyrieEngine/Entity.hpp" #include <stdexcept> #include <type_traits> #include <unordered_map> #includ...
29.418519
172
0.616077
7fc0ca2ddb5ed554bca7b6b959ba36908fdc425e
1,107
hpp
C++
stapl_release/stapl/utility/empty_class.hpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/stapl/utility/empty_class.hpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/stapl/utility/empty_class.hpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
/* // Copyright (c) 2000-2009, Texas Engineering Experiment Station (TEES), a // component of the Texas A&M University System. // All rights reserved. // The information and source code contained herein is the exclusive // property of TEES and may not be disclosed, examined or reproduced // in whole or in part withou...
28.384615
76
0.65131
7fc260b029f5a45c91e06399a37be0e6c61276fd
471
cpp
C++
LiteCppDB/LiteCppDB.Console/Cls.cpp
pnadan/LiteCppDB
cb17db1ea6d82e0c1e669b4d70271dcf9c03d1a2
[ "MIT" ]
2
2019-07-18T06:30:33.000Z
2020-01-23T17:40:36.000Z
LiteCppDB/LiteCppDB.Console/Cls.cpp
pnadan/LiteCppDB
cb17db1ea6d82e0c1e669b4d70271dcf9c03d1a2
[ "MIT" ]
null
null
null
LiteCppDB/LiteCppDB.Console/Cls.cpp
pnadan/LiteCppDB
cb17db1ea6d82e0c1e669b4d70271dcf9c03d1a2
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "Cls.h" namespace LiteCppDB_Console_Commands { DataAccess Cls::getAccess() noexcept { return DataAccess::None; } bool Cls::IsCommand(LiteCppDB::StringScanner& s) noexcept { return s.Scan("cls[[:s:]]*").length() > 0; } void Cls::Execute(LiteCppDB::LiteEngine engine, LiteCppDB::...
23.55
183
0.730361
7fc53cb9ecb64a97512fb0d4737c9a4b1ebcf413
40,194
cpp
C++
Test/NativeTestHelpers/TestMarshaledStructs.cpp
blue3k/ATFClone
d1dbadfaaf2bc54cdb7db5c4ccbc5763a4891931
[ "Apache-2.0" ]
1
2020-06-20T07:35:34.000Z
2020-06-20T07:35:34.000Z
Test/NativeTestHelpers/TestMarshaledStructs.cpp
blue3k/ATFClone
d1dbadfaaf2bc54cdb7db5c4ccbc5763a4891931
[ "Apache-2.0" ]
null
null
null
Test/NativeTestHelpers/TestMarshaledStructs.cpp
blue3k/ATFClone
d1dbadfaaf2bc54cdb7db5c4ccbc5763a4891931
[ "Apache-2.0" ]
null
null
null
//Copyright ?2014 Sony Computer Entertainment America LLC. See License.txt. #include "stdafx.h" // These names conflict with the managed versions. #undef BROWSEINFO #undef HDITEM // Couldn't get this fully working. I'll make the necessary types public instead. --Ron //// This 'using' is because of an annoying C++/C...
45.111111
131
0.662711
7fcba25c88f9ca7aeda972611dd330aef4ee9331
6,359
cpp
C++
darkOsRsfs/darkOsRsfs/LafsFlat.cpp
ProjectStation13/DCPUOS
6a2b893aebf0b38317fc4e2a403ff8020c99d202
[ "MIT" ]
3
2019-02-08T19:41:56.000Z
2019-09-22T12:02:40.000Z
darkOsRsfs/darkOsRsfs/LafsFlat.cpp
ProjectStation13/DCPUOS
6a2b893aebf0b38317fc4e2a403ff8020c99d202
[ "MIT" ]
2
2017-06-24T06:37:21.000Z
2017-06-28T03:02:25.000Z
darkOsRsfs/darkOsRsfs/LafsFlat.cpp
JeremyWildsmith/DCPUOS
6a2b893aebf0b38317fc4e2a403ff8020c99d202
[ "MIT" ]
1
2021-06-25T17:21:00.000Z
2021-06-25T17:21:00.000Z
#include "stdafx.h" #include "LafsFlat.h" #include "FormattingException.h" #include <Windows.h> #include <sstream> #include <fstream> using namespace DarkOsFormat; const unsigned int LafsFlat::LAFS_NAME_SIZE = 6; const unsigned int LafsFlat::LAFS_ENTRIES_PER_FLAT = 128; const unsigned int LafsFlat::LAFS_JUMP_MAXLEN...
28.137168
117
0.708759
7fcfbfa7aa6c45f8e66f00927bb87b8655fbbaaf
1,885
cpp
C++
examples/c++/batesprocess.cpp
bpmbank/pyql
db1fc886a61ab3e234cebf54723abaa4258138b3
[ "BSD-3-Clause" ]
488
2015-01-13T11:03:27.000Z
2022-03-31T07:19:44.000Z
examples/c++/batesprocess.cpp
bpmbank/pyql
db1fc886a61ab3e234cebf54723abaa4258138b3
[ "BSD-3-Clause" ]
139
2015-01-05T18:56:55.000Z
2022-01-26T18:33:37.000Z
examples/c++/batesprocess.cpp
bpmbank/pyql
db1fc886a61ab3e234cebf54723abaa4258138b3
[ "BSD-3-Clause" ]
142
2015-01-07T14:26:46.000Z
2022-01-23T14:08:47.000Z
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Test of bates model constructor from bates process */ #include <iostream> #include <iomanip> #include "utilities.hpp" #include <ql/quantlib.hpp> #ifdef BOOST_MSVC /* Uncomment the following lines to unmask floating-point exceptions....
24.166667
96
0.666844
7fd2130e7866bac13b1394b8e297b703e97d82d2
71
hpp
C++
Source/NieRTracker/defineOffsets.hpp
Asiern/NieR-Tracker
8b5288989e434395a4f093891ce07092bb61f846
[ "MIT" ]
null
null
null
Source/NieRTracker/defineOffsets.hpp
Asiern/NieR-Tracker
8b5288989e434395a4f093891ce07092bb61f846
[ "MIT" ]
null
null
null
Source/NieRTracker/defineOffsets.hpp
Asiern/NieR-Tracker
8b5288989e434395a4f093891ce07092bb61f846
[ "MIT" ]
null
null
null
#define entity 16053E8; #define X 0x50; #define Y 0x54; #define Z 0x58;
17.75
23
0.732394
7fd4327a12b06fdea921b7b2009111b294779254
3,217
hpp
C++
AL/Collections/Iterator.hpp
LeoTHPS/AbstractionLayer
c2a77cc090214b9455af65aee6b9331bc6a64fd2
[ "MIT" ]
null
null
null
AL/Collections/Iterator.hpp
LeoTHPS/AbstractionLayer
c2a77cc090214b9455af65aee6b9331bc6a64fd2
[ "MIT" ]
null
null
null
AL/Collections/Iterator.hpp
LeoTHPS/AbstractionLayer
c2a77cc090214b9455af65aee6b9331bc6a64fd2
[ "MIT" ]
null
null
null
#pragma once #include "AL/Common.hpp" #include <iterator> namespace AL::Collections { template<typename T> class ForwardIterator { public: typedef T* pointer; typedef T& reference; typedef T value_type; typedef std::ptrdiff_t ...
24.371212
109
0.654958
7fd570a62dd03d9fb14543f4914e749ed95b9406
500
cpp
C++
src/temp_gen.cpp
banacer/temppredictor
b368b04fcd055c7d8f94881c1e6d4b1555721d63
[ "MIT" ]
1
2016-08-10T19:26:26.000Z
2016-08-10T19:26:26.000Z
src/temp_gen.cpp
banacer/temppredictor
b368b04fcd055c7d8f94881c1e6d4b1555721d63
[ "MIT" ]
null
null
null
src/temp_gen.cpp
banacer/temppredictor
b368b04fcd055c7d8f94881c1e6d4b1555721d63
[ "MIT" ]
null
null
null
// normal_distribution #include <iostream> #include <random> using namespace std; int main() { const int nrolls=120; // number of experiments const int nstars=100; // maximum number of stars to distribute std::default_random_engine generator; std::normal_distribution<double> distribution(0.05,0.02); in...
21.73913
67
0.672
7fdc3f737f0eac1e01f0a882d5b2f0715f89d3bc
1,686
hxx
C++
opencascade/BinObjMgt_Position.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/BinObjMgt_Position.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/BinObjMgt_Position.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2021 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 as published // by the Free Software Foundation, with special ...
36.652174
113
0.800712
7fdcac4f87871a4b273078a5b58a207f5b6dfa30
1,116
hpp
C++
src/PathFinder/RecursiveBestFirstAgent.hpp
Person-93/aima-cpp
08d062dcb971edeaddb9a10083cf6da5a1b869f7
[ "MIT" ]
null
null
null
src/PathFinder/RecursiveBestFirstAgent.hpp
Person-93/aima-cpp
08d062dcb971edeaddb9a10083cf6da5a1b869f7
[ "MIT" ]
null
null
null
src/PathFinder/RecursiveBestFirstAgent.hpp
Person-93/aima-cpp
08d062dcb971edeaddb9a10083cf6da5a1b869f7
[ "MIT" ]
null
null
null
#pragma once #include "PathFinderAgent.hpp" #include "CollapsibleSearchNode.hpp" namespace aima::path_finder { class RecursiveBestFirstAgent final : public PathFinderAgent { public: std::unique_ptr<core::Agent> clone() const override; std::shared_ptr<const SearchNode> getPlan() const override...
41.333333
112
0.551075
8f0d35006a6914e8c8979ef500b51d4cf5acda4e
6,717
cpp
C++
MachineLearning/Entity101/tests/root_mean_squared_error_test.cpp
CJBuchel/Entity101
b868ffff4ca99e240a0bf1248d5c5ebb45019426
[ "MIT" ]
null
null
null
MachineLearning/Entity101/tests/root_mean_squared_error_test.cpp
CJBuchel/Entity101
b868ffff4ca99e240a0bf1248d5c5ebb45019426
[ "MIT" ]
null
null
null
MachineLearning/Entity101/tests/root_mean_squared_error_test.cpp
CJBuchel/Entity101
b868ffff4ca99e240a0bf1248d5c5ebb45019426
[ "MIT" ]
null
null
null
/****************************************************************************************************************/ /* */ /* OpenNN: Open Neural Networks Library ...
26.444882
122
0.589996
8f0e5ea05920cd37f1b82c4ea0589b4d77b478e0
317
hpp
C++
dep_package/Hicore/hicore/wkb.hpp
KyrieBang/HiVecMap
b4861df4d41dd5299f277882d49540da25894972
[ "MIT" ]
null
null
null
dep_package/Hicore/hicore/wkb.hpp
KyrieBang/HiVecMap
b4861df4d41dd5299f277882d49540da25894972
[ "MIT" ]
null
null
null
dep_package/Hicore/hicore/wkb.hpp
KyrieBang/HiVecMap
b4861df4d41dd5299f277882d49540da25894972
[ "MIT" ]
null
null
null
#ifndef WKB_HPP_ #define WKB_HPP_ #include "core.hpp" #define POLYGON_TYPE 3 #define LINESTRING_TYPE 2 namespace HiGIS::IO { Core::GeoType ReadWkb(Core::GeoBuffer &out, uint8_t *source, int type); int ReadWkbType(uint8_t *source); Core::GeoType GetGeoType(int code); } // namespace HiGIS::IO #endif // WKB_HPP_
17.611111
71
0.747634
8f0e9dd013fce4f3c69f597b357ae41594f5a753
9,747
cc
C++
lib/render.cc
swwind/aurora
ea8c002d96e9ae4e0f2f73ae6a4692bb531ce46d
[ "MIT" ]
null
null
null
lib/render.cc
swwind/aurora
ea8c002d96e9ae4e0f2f73ae6a4692bb531ce46d
[ "MIT" ]
null
null
null
lib/render.cc
swwind/aurora
ea8c002d96e9ae4e0f2f73ae6a4692bb531ce46d
[ "MIT" ]
null
null
null
#include "render.h" SDL_Window* gWindow = NULL; SDL_Renderer* gRenderer = NULL; std::map<int, SDL_Texture*> textureMap; std::map<int, TTF_Font*> fontMap; std::map<int, Mix_Music*> musicMap; std::map<int, Mix_Chunk*> soundMap; int tcnt = 0, fcnt = 0, mcnt = 0, scnt = 0; std::vector<Napi::ThreadSafeFunction> keyEvent...
25.186047
105
0.674156
8f108241458a4ad128cca62cbbac1b351372bafa
2,215
hpp
C++
tests/phmap/tracked.hpp
phprus/gtl
f80aefde2b3b1b57c0cbf467f6897561e2f889ad
[ "Apache-2.0" ]
3
2022-03-09T05:56:37.000Z
2022-03-29T15:32:53.000Z
tests/phmap/tracked.hpp
phprus/gtl
f80aefde2b3b1b57c0cbf467f6897561e2f889ad
[ "Apache-2.0" ]
6
2022-03-09T18:46:55.000Z
2022-03-29T12:57:26.000Z
tests/phmap/tracked.hpp
phprus/gtl
f80aefde2b3b1b57c0cbf467f6897561e2f889ad
[ "Apache-2.0" ]
1
2022-03-09T05:56:39.000Z
2022-03-09T05:56:39.000Z
// Copyright 2018 The Abseil Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agr...
28.037975
79
0.679458
8f10dc394b595e2d21cd3ec7347a61468efb466e
1,071
hpp
C++
modules/boost/simd/sdk/include/boost/simd/sdk/simd/pack/meta/model_of.hpp
pbrunet/nt2
2aeca0f6a315725b335efd5d9dc95d72e10a7fb7
[ "BSL-1.0" ]
2
2016-09-14T00:23:53.000Z
2018-01-14T12:51:18.000Z
modules/boost/simd/sdk/include/boost/simd/sdk/simd/pack/meta/model_of.hpp
pbrunet/nt2
2aeca0f6a315725b335efd5d9dc95d72e10a7fb7
[ "BSL-1.0" ]
null
null
null
modules/boost/simd/sdk/include/boost/simd/sdk/simd/pack/meta/model_of.hpp
pbrunet/nt2
2aeca0f6a315725b335efd5d9dc95d72e10a7fb7
[ "BSL-1.0" ]
null
null
null
//============================================================================== // Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
31.5
80
0.547152
8f146a6baded3606ecf981d6a0093b49d85f7dd5
1,221
cpp
C++
reporting/performance/logsumexp_performance.cpp
grlee77/math
e8c40e309cc32d43fbe42c49d9ec7da7cdb79418
[ "BSL-1.0" ]
null
null
null
reporting/performance/logsumexp_performance.cpp
grlee77/math
e8c40e309cc32d43fbe42c49d9ec7da7cdb79418
[ "BSL-1.0" ]
null
null
null
reporting/performance/logsumexp_performance.cpp
grlee77/math
e8c40e309cc32d43fbe42c49d9ec7da7cdb79418
[ "BSL-1.0" ]
null
null
null
// (C) Copyright Matt Borland 2022. // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <vector> #include <benchmark/benchmark.h> #include <boost/math/special_functions/l...
37
128
0.732187
8f15eeb33f2d1cdf88314c41d31f9f5c75497fdc
1,933
cpp
C++
IcarusDetector/Behaviors/SendingCommand.cpp
RoboPioneers/ProjectIcarus
85328c0206d77617fe7fbb81b2ca0cda805de849
[ "MIT" ]
1
2021-10-05T03:43:57.000Z
2021-10-05T03:43:57.000Z
IcarusDetector/Behaviors/SendingCommand.cpp
RoboPioneers/ProjectIcarus
85328c0206d77617fe7fbb81b2ca0cda805de849
[ "MIT" ]
null
null
null
IcarusDetector/Behaviors/SendingCommand.cpp
RoboPioneers/ProjectIcarus
85328c0206d77617fe7fbb81b2ca0cda805de849
[ "MIT" ]
null
null
null
#include "SendingCommand.hpp" #include <sw/redis++/redis++.h> #include "../Modules/GeneralMessageTranslator.hpp" #include "TurretCommand.pb.h" namespace Icarus { using namespace Gaia::BehaviorTree; void SendingCommand::OnInitialize() { InitializeFacilities(); auto connection = GetBlackboar...
35.796296
96
0.638386
8f1703db107c1a8ca04f23a1c0f80e2877217378
1,305
hpp
C++
experimental/Pomdog.Experimental/Actions/ScaleToAction.hpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
experimental/Pomdog.Experimental/Actions/ScaleToAction.hpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
experimental/Pomdog.Experimental/Actions/ScaleToAction.hpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
// Copyright (c) 2013-2018 mogemimi. Distributed under the MIT license. #pragma once #include "detail/TemporalAction.hpp" #include "Pomdog.Experimental/Gameplay/Entity.hpp" #include "Pomdog.Experimental/Gameplay2D/Transform.hpp" #include "Pomdog/Math/Vector3.hpp" #include "Pomdog/Utility/Assert.hpp" namespace Pomdog...
24.166667
81
0.695785
8f1cae6fa2350fbfcbdff334e819bdd69797e002
9,227
cpp
C++
bootstrap_semantic.cpp
marionette-of-u/kp19pp
61a80859774e4c391b9a6e2b2e98387bacb92410
[ "BSD-2-Clause-FreeBSD" ]
4
2015-12-16T05:33:11.000Z
2018-06-06T14:18:31.000Z
bootstrap_semantic.cpp
marionette-of-u/kp19pp
61a80859774e4c391b9a6e2b2e98387bacb92410
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
bootstrap_semantic.cpp
marionette-of-u/kp19pp
61a80859774e4c391b9a6e2b2e98387bacb92410
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
#include <iostream> #include <fstream> #include <string> #include <vector> #include <unordered_map> #include <cstdlib> #include "scanner_lexer.hpp" #include "scanner.hpp" #include "exception.hpp" namespace kp19pp{ namespace scanner{ namespace semantic_action{ typedef scanner_type::token_type to...
39.431624
222
0.687873
8f22289c193a2e7de5bff6bcaf9bd657d9174f5a
2,882
cpp
C++
source/Camera.cpp
planetpratik/Alphonso-Graphics-Engine
d31b46fa5c34862e6e67d07fc99f34f63065929c
[ "MIT" ]
2
2019-09-16T04:44:02.000Z
2020-03-06T08:24:33.000Z
source/Camera.cpp
planetpratik/Alphonso-Graphics-Engine
d31b46fa5c34862e6e67d07fc99f34f63065929c
[ "MIT" ]
null
null
null
source/Camera.cpp
planetpratik/Alphonso-Graphics-Engine
d31b46fa5c34862e6e67d07fc99f34f63065929c
[ "MIT" ]
null
null
null
#pragma once #include "Camera.h" #define UNREFERENCED_PARAMETER(P) (P) using namespace glm; namespace AlphonsoGraphicsEngine { const float Camera::DefaultFieldOfView = 45.0f; const float Camera::DefaultNearPlaneDistance = 0.1f; const float Camera::DefaultFarPlaneDistance = 10.0f; Camera::Camera(RendererC& rende...
20.884058
163
0.719986
8f23fdc865ff8012af8949afdf760c16bd07da0a
1,131
cpp
C++
test/function/scalar/rem_pio2.cpp
TobiasLudwig/boost.simd
c04d0cc56747188ddb9a128ccb5715dd3608dbc1
[ "BSL-1.0" ]
6
2018-02-25T22:23:33.000Z
2021-01-15T15:13:12.000Z
test/function/scalar/rem_pio2.cpp
remymuller/boost.simd
3caefb7ee707e5f68dae94f8f31f72f34b7bb5de
[ "BSL-1.0" ]
null
null
null
test/function/scalar/rem_pio2.cpp
remymuller/boost.simd
3caefb7ee707e5f68dae94f8f31f72f34b7bb5de
[ "BSL-1.0" ]
7
2017-12-12T12:36:31.000Z
2020-02-10T14:27:07.000Z
//================================================================================================== /*! Copyright 2016 NumScale SAS Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ //====================================...
32.314286
100
0.585323
8f263dafea37bb4e00bcde5ed412c7deb79b26ca
2,506
cpp
C++
example_cmake/main.cpp
PtaxLaine/PyBuildInfo
4155fccdb7d42a40c942aeff8b0cb3adb5ff5080
[ "BSD-3-Clause" ]
null
null
null
example_cmake/main.cpp
PtaxLaine/PyBuildInfo
4155fccdb7d42a40c942aeff8b0cb3adb5ff5080
[ "BSD-3-Clause" ]
null
null
null
example_cmake/main.cpp
PtaxLaine/PyBuildInfo
4155fccdb7d42a40c942aeff8b0cb3adb5ff5080
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <iomanip> #include <sstream> #include <pybuildinfoexample.hpp> int main(){ using namespace std; using namespace pybuildinfo; int width = 32; cout << left; cout << setw(width) << "vcs::name" << vcs::name << endl; cout << setw(width) << "vcs::revision" << vcs::revis...
54.478261
98
0.635674
8f2699c85a835ae4af3c92fb3242309afa3f6c1f
510
cpp
C++
gcommon/source/gmeshedgenormaldynamic.cpp
DavidCoenFish/ancient-code-0
243fb47b9302a77f9b9392b6e3f90bba2ef3c228
[ "Unlicense" ]
null
null
null
gcommon/source/gmeshedgenormaldynamic.cpp
DavidCoenFish/ancient-code-0
243fb47b9302a77f9b9392b6e3f90bba2ef3c228
[ "Unlicense" ]
null
null
null
gcommon/source/gmeshedgenormaldynamic.cpp
DavidCoenFish/ancient-code-0
243fb47b9302a77f9b9392b6e3f90bba2ef3c228
[ "Unlicense" ]
null
null
null
// // GMeshEdgeNormalDynamic.cpp // // Created by David Coen on 2011 03 30 // Copyright 2010 Pleasure seeking morons. All rights reserved. // #include "GMeshEdgeNormalDynamic.h" //constructor GMeshEdgeNormalDynamic::GMeshEdgeNormalDynamic( const int in_vertexIndex0, const int in_vertexIndex1, const int in_verte...
18.888889
64
0.780392
8f294933649aa45b9af001d6d61907e0686a4b0b
2,464
cpp
C++
c++/0088-merge-sorted-array.cpp
aafulei/leetcode
e3a0ef9c912abf99a1d6e56eff8802ba44b0057d
[ "MIT" ]
2
2019-04-13T09:55:04.000Z
2019-05-16T12:47:40.000Z
c++/0088-merge-sorted-array.cpp
aafulei/leetcode
e3a0ef9c912abf99a1d6e56eff8802ba44b0057d
[ "MIT" ]
null
null
null
c++/0088-merge-sorted-array.cpp
aafulei/leetcode
e3a0ef9c912abf99a1d6e56eff8802ba44b0057d
[ "MIT" ]
null
null
null
// 22/06/07 = Tue // 18/12/26 = Wed // 88. Merge Sorted Array [Easy] // You are given two integer arrays nums1 and nums2, sorted in non-decreasing // order, and two integers m and n, representing the number of elements in nums1 // and nums2 respectively. // Merge nums1 and nums2 into a single array sorted in non-dec...
32.421053
80
0.57711
8f2d2d22e31511a19c9487bc80eae1f977eaefdf
1,281
cpp
C++
src/cppstubs.cpp
erikvanhamme/ecppstm32
4f265bf649be0a5d6c0ed333d27a10c21e90166e
[ "Apache-2.0" ]
1
2019-06-25T14:28:51.000Z
2019-06-25T14:28:51.000Z
src/cppstubs.cpp
erikvanhamme/ecppstm32
4f265bf649be0a5d6c0ed333d27a10c21e90166e
[ "Apache-2.0" ]
null
null
null
src/cppstubs.cpp
erikvanhamme/ecppstm32
4f265bf649be0a5d6c0ed333d27a10c21e90166e
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2015 Erik Van Hamme * * 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 ...
23.722222
75
0.674473
8f31ef0280910e22f1165dc29021556314c67555
11,619
cpp
C++
lib/seldon/lib/template-Blas.cpp
HongyuHe/lsolver
c791bf192308ba6b564cb60cb3991d2e72093cd7
[ "Apache-2.0" ]
7
2021-01-31T23:20:07.000Z
2021-09-09T20:54:15.000Z
lib/seldon/lib/template-Blas.cpp
HongyuHe/lsolver
c791bf192308ba6b564cb60cb3991d2e72093cd7
[ "Apache-2.0" ]
1
2021-06-07T07:52:38.000Z
2021-08-13T20:40:55.000Z
lib/seldon/lib/template-Blas.cpp
HongyuHe/lsolver
c791bf192308ba6b564cb60cb3991d2e72093cd7
[ "Apache-2.0" ]
null
null
null
#ifndef SELDON_WITH_BLAS #define SELDON_WITH_BLAS #endif #ifndef SELDON_WITH_LAPACK #define SELDON_WITH_LAPACK #endif #include "SeldonHeader.hxx" #ifndef SELDON_WITH_COMPILED_LIBRARY #include "vector/Vector.cxx" #include "matrix/Matrix_Base.cxx" #include "matrix/Matrix_Pointers.cxx" #include "matrix/Matrix_Symmetric....
83.589928
297
0.785093
8f33db63665776258e8672f3b69f76bbb5933c38
12,342
cpp
C++
src/MainUi.cpp
membranesoftware/membrane-medialibraryui
3e95d0b7991075386e442fec006f2fdc4257746c
[ "BSD-3-Clause" ]
null
null
null
src/MainUi.cpp
membranesoftware/membrane-medialibraryui
3e95d0b7991075386e442fec006f2fdc4257746c
[ "BSD-3-Clause" ]
null
null
null
src/MainUi.cpp
membranesoftware/membrane-medialibraryui
3e95d0b7991075386e442fec006f2fdc4257746c
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2018-2021 Membrane Software <author@membranesoftware.com> https://membranesoftware.com * * 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...
32.737401
346
0.72549
8f3846c38b07855eb813fe65418b785ec1ba87aa
1,442
cpp
C++
Contests/USACO Solutions/2016-17/Open 2017/Silver/17 Open S2.cpp
nocrizwang/USACO
8a922f8d4b3bc905da97f53f9a447debe97d5e81
[ "CC0-1.0" ]
1,760
2017-05-21T21:07:06.000Z
2022-03-29T13:15:08.000Z
Contests/USACO Solutions/2016-17/Open 2017/Silver/17 Open S2.cpp
nocrizwang/USACO
8a922f8d4b3bc905da97f53f9a447debe97d5e81
[ "CC0-1.0" ]
12
2018-01-24T02:41:53.000Z
2022-03-17T13:09:26.000Z
Contests/USACO Solutions/2016-17/Open 2017/Silver/17 Open S2.cpp
nocrizwang/USACO
8a922f8d4b3bc905da97f53f9a447debe97d5e81
[ "CC0-1.0" ]
473
2017-07-06T04:53:41.000Z
2022-03-28T13:03:28.000Z
#include <bits/stdc++.h> #include <ext/pb_ds/tree_policy.hpp> #include <ext/pb_ds/assoc_container.hpp> using namespace std; using namespace __gnu_pbds; typedef long long ll; typedef vector<int> vi; typedef pair<int, int> pi; template <class T> using Tree = tree<T, null_type, less<T>, rb_tree_tag,tree_order_statistic...
22.184615
107
0.539528
8f39482c56618b2c605d277ce6fc27ad76feb891
967
cpp
C++
OscillatorDPW.cpp
VSIONHAIRIES/CHEAP-FAT-OPEN
36862751bd4f872cc510dfb205e9b1103d8cf6b8
[ "MIT" ]
null
null
null
OscillatorDPW.cpp
VSIONHAIRIES/CHEAP-FAT-OPEN
36862751bd4f872cc510dfb205e9b1103d8cf6b8
[ "MIT" ]
null
null
null
OscillatorDPW.cpp
VSIONHAIRIES/CHEAP-FAT-OPEN
36862751bd4f872cc510dfb205e9b1103d8cf6b8
[ "MIT" ]
null
null
null
#include "OscillatorDPW.h" OscillatorDPW::OscillatorDPW(): Oscillator() { AudioOut = new AudioNodeOutput(this, &_osc); _acc = 0; _f0 = 1; // we should not divide by zero!!!! _fs = (int64_t(48000) << 32); // placeholder until the below works // bitshift up with 32 then divide by 4, is the same as bitshifting up wit...
31.193548
146
0.622544
8f3ab0f31ad5b641201d339bfddc6e3a34898700
527
cpp
C++
Atomic/AtMem.cpp
denisbider/Atomic
8e8e979a6ef24d217a77f17fa81a4129f3506952
[ "MIT" ]
4
2019-11-10T21:56:40.000Z
2021-12-11T20:10:55.000Z
Atomic/AtMem.cpp
denisbider/Atomic
8e8e979a6ef24d217a77f17fa81a4129f3506952
[ "MIT" ]
null
null
null
Atomic/AtMem.cpp
denisbider/Atomic
8e8e979a6ef24d217a77f17fa81a4129f3506952
[ "MIT" ]
1
2019-11-11T08:38:59.000Z
2019-11-11T08:38:59.000Z
#include "AtIncludes.h" #include "AtMem.h" // The below global objects MUST be initialized before code that may call the allocation functions in AtMem.h #pragma warning (push) #pragma warning (disable: 4073) // L3: initializers put in library initialization area #pragma init_seg (lib) #pragma warning (pop) ...
21.08
110
0.690702
8f3ed7695e438ba20f25549b9020bd0602463033
462
cpp
C++
solutions/URI_1329 - (2322746) - Accepted.cpp
KelwinKomka/URI-Online-Judge-1
3d6e37ebe3aa145f47dfcad8b219e53c3cae50f6
[ "MIT" ]
null
null
null
solutions/URI_1329 - (2322746) - Accepted.cpp
KelwinKomka/URI-Online-Judge-1
3d6e37ebe3aa145f47dfcad8b219e53c3cae50f6
[ "MIT" ]
null
null
null
solutions/URI_1329 - (2322746) - Accepted.cpp
KelwinKomka/URI-Online-Judge-1
3d6e37ebe3aa145f47dfcad8b219e53c3cae50f6
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(int argc, const char * argv[]) { int x, y, n, num; while(cin >> n && n != 0) { x = 0; y = 0; for(; n > 0; n--){ cin >> num; if(num == 0) x++; else ...
17.769231
81
0.32684
8f413151c01347deb426f68e3dcbb068e665b3bd
35,772
cpp
C++
Zaimoni.STL/OS/console.cpp
zaimoni/Franc
54c41949676e0e4e2fdba00b7bb7813b1b45e649
[ "BSL-1.0" ]
null
null
null
Zaimoni.STL/OS/console.cpp
zaimoni/Franc
54c41949676e0e4e2fdba00b7bb7813b1b45e649
[ "BSL-1.0" ]
null
null
null
Zaimoni.STL/OS/console.cpp
zaimoni/Franc
54c41949676e0e4e2fdba00b7bb7813b1b45e649
[ "BSL-1.0" ]
null
null
null
// Console.cxx // implementation of VConsole // NOTE: this is OS-sensitive // Logical windows: // top half: Franci // bottom half: user // 1st line of bottom half: user name // 1st line of top half, or title bar: Franci // headers #include "console.hpp" // to be initialized by the application Consol...
27.751746
118
0.699625
8f422cbdf2c2815681c2c5de887c3acc5548e9e0
21,089
hpp
C++
src/SDDK/wf_trans.hpp
ckae95/SIRIUS
ecb7edb4f19577c85b0cec82aa6a0d5374ee1f33
[ "BSD-2-Clause" ]
null
null
null
src/SDDK/wf_trans.hpp
ckae95/SIRIUS
ecb7edb4f19577c85b0cec82aa6a0d5374ee1f33
[ "BSD-2-Clause" ]
null
null
null
src/SDDK/wf_trans.hpp
ckae95/SIRIUS
ecb7edb4f19577c85b0cec82aa6a0d5374ee1f33
[ "BSD-2-Clause" ]
null
null
null
/// Linear transformation of the wave-functions. /** The transformation matrix is expected in the CPU memory. */ template <typename T> inline void transform(device_t pu__, int ispn__, double alpha__, ...
45.647186
158
0.437242
8f42af672d54dfd800bcc91efc2b0398649334a6
5,376
cpp
C++
isis/src/base/objs/Gui/GuiCubeParameter.cpp
kdl222/ISIS3
aab0e63088046690e6c031881825596c1c2cc380
[ "CC0-1.0" ]
134
2018-01-18T00:16:24.000Z
2022-03-24T03:53:33.000Z
isis/src/base/objs/Gui/GuiCubeParameter.cpp
kdl222/ISIS3
aab0e63088046690e6c031881825596c1c2cc380
[ "CC0-1.0" ]
3,825
2017-12-11T21:27:34.000Z
2022-03-31T21:45:20.000Z
isis/src/base/objs/Gui/GuiCubeParameter.cpp
jlaura/isis3
2c40e08caed09968ea01d5a767a676172ad20080
[ "CC0-1.0" ]
164
2017-11-30T21:15:44.000Z
2022-03-23T10:22:29.000Z
/** This is free and unencumbered software released into the public domain. The authors of ISIS do not claim copyright on the contents of this file. For more details about the LICENSE terms and the AUTHORS, you will find files of those names at the top level of this repository. **/ /* SPDX-License-Identifier: CC0-1.0 ...
28.748663
79
0.629836
8f45c917f4686a7a2be99d31e6b87cac08564601
3,046
cpp
C++
src/Window/Window.cpp
RihamHazem/SonicGame
315d6bb09bd9a297a627773ee76bcc2ca3a5fbe9
[ "MIT" ]
null
null
null
src/Window/Window.cpp
RihamHazem/SonicGame
315d6bb09bd9a297a627773ee76bcc2ca3a5fbe9
[ "MIT" ]
null
null
null
src/Window/Window.cpp
RihamHazem/SonicGame
315d6bb09bd9a297a627773ee76bcc2ca3a5fbe9
[ "MIT" ]
null
null
null
#include "Window.h" /* Constructs a new Window with the defined properties */ Window::Window(int width, int height, const char* title) { // Init GLFW if (!glfwInit()) { cout << "Failed to initialize GLFW" << endl; return; } // Set all the required options for GLFW glfwWindowHint(GLFW_CONTEXT_VERSI...
29.288462
107
0.712081
8f4614c482fc5cbcebe4aa87d43bb1285abaacbb
17,229
cpp
C++
Sabertooth/projects/CurvesEditor/CurvesEditor.cpp
Andresho/computacao_grafica
5398a58d3884d12bd984ab514f60914926e56467
[ "MIT" ]
1
2020-08-05T02:54:00.000Z
2020-08-05T02:54:00.000Z
Sabertooth/projects/CurvesEditor/CurvesEditor.cpp
Andresho/computacao_grafica
5398a58d3884d12bd984ab514f60914926e56467
[ "MIT" ]
null
null
null
Sabertooth/projects/CurvesEditor/CurvesEditor.cpp
Andresho/computacao_grafica
5398a58d3884d12bd984ab514f60914926e56467
[ "MIT" ]
null
null
null
#include "CurvesEditor.h" #define WIDTH 800 #define HEIGHT 600 #define CURVE_SIZE 20.0 //Atributos janela int RESIZED_WIDTH = WIDTH; int RESIZED_HEIGHT = HEIGHT; bool keys[1024]; GLuint pointsVAO, centralCurveVAO, internalCurveVAO, externalCurveVAO; GLuint pointsVBO, centralCurveVBO, internalCurveVBO, externalCurve...
33.782353
136
0.634221
8f46a3de19bd49938a996e2572c3461888f23919
972
cpp
C++
PAT_A/PAT_A1071.cpp
EnhydraGod/PATCode
ff38ea33ba319af78b3aeba8aa6c385cc5e8329f
[ "BSD-2-Clause" ]
3
2019-07-08T05:20:28.000Z
2021-09-22T10:53:26.000Z
PAT_A/PAT_A1071.cpp
EnhydraGod/PATCode
ff38ea33ba319af78b3aeba8aa6c385cc5e8329f
[ "BSD-2-Clause" ]
null
null
null
PAT_A/PAT_A1071.cpp
EnhydraGod/PATCode
ff38ea33ba319af78b3aeba8aa6c385cc5e8329f
[ "BSD-2-Clause" ]
null
null
null
#include <bits/stdc++.h> using namespace std; string str, res; int resNum = -1; unordered_map<string, int> counts; int main() { getline(cin, str); int j = 0; for (int i = 0; i < str.size(); i = j) { j = i; string word = ""; while (j < str.size() && ((str[j] >= 'A' && str[j] <= '...
23.707317
140
0.388889
8f47c70b229f8dfc7202775d940b36a75eaa1e51
1,737
cpp
C++
10114 - Loansome Car Buyer/10114 - Loansome Car Buyer/main.cpp
anirudha-ani/UVa
236f8cc2f357fa28abff05861afa45aa3419b6c3
[ "Apache-2.0" ]
null
null
null
10114 - Loansome Car Buyer/10114 - Loansome Car Buyer/main.cpp
anirudha-ani/UVa
236f8cc2f357fa28abff05861afa45aa3419b6c3
[ "Apache-2.0" ]
null
null
null
10114 - Loansome Car Buyer/10114 - Loansome Car Buyer/main.cpp
anirudha-ani/UVa
236f8cc2f357fa28abff05861afa45aa3419b6c3
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <iostream> #include <cstring> #include <string> using namespace std; int main() { int loan_duration , number_of_depriciation_recorded; double down_payment , initial_loan; while(scanf("%d %lf %lf %d", &loan_duration , & down_payment , &initial_loan , &number_of_depriciation_...
27.571429
117
0.52274
8f47ee56cb447aed652640de5a07933a231d143a
2,880
cpp
C++
src/frameworks/av/media/libmediaextractor/DataSourceBase.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
src/frameworks/av/media/libmediaextractor/DataSourceBase.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
src/frameworks/av/media/libmediaextractor/DataSourceBase.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2009 The Android Open Source Project * * 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 app...
21.984733
83
0.6
8f494c78b3e49366b93667a3aeafa1d108eff619
30,654
cpp
C++
src/util/IntegrateDimension.cpp
paullric/tempestextremes
a478fe4bd204fb83b00ba87708f9d21791260f9c
[ "Unlicense" ]
38
2016-08-02T14:44:37.000Z
2022-03-19T11:54:48.000Z
src/util/IntegrateDimension.cpp
ClimateGlobalChange/tempestextremes
08401d5ed96fee1def58419479d0d0e2cfa7a703
[ "Unlicense" ]
32
2016-07-27T21:20:32.000Z
2022-03-31T04:16:28.000Z
src/util/IntegrateDimension.cpp
paullric/tempestextremes
a478fe4bd204fb83b00ba87708f9d21791260f9c
[ "Unlicense" ]
16
2017-09-30T09:03:46.000Z
2022-03-18T08:44:25.000Z
/////////////////////////////////////////////////////////////////////////////// /// /// \file IntegrateDimension.cpp /// \author Paul Ullrich /// \version December 26th, 2020 /// /// <remarks> /// Copyright 2020 Paul Ullrich /// /// This file is distributed as part of the Tempest source code package. /// Permiss...
30.963636
140
0.619886
8f495e13ad960055227d17a352fe157ded8f32ec
1,054
hpp
C++
libs/core/include/fcppt/container/grid/in_range.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
13
2015-02-21T18:35:14.000Z
2019-12-29T14:08:29.000Z
libs/core/include/fcppt/container/grid/in_range.hpp
cpreh/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
5
2016-08-27T07:35:47.000Z
2019-04-21T10:55:34.000Z
libs/core/include/fcppt/container/grid/in_range.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
8
2015-01-10T09:22:37.000Z
2019-12-01T08:31:12.000Z
// Copyright Carl Philipp Reh 2009 - 2021. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef FCPPT_CONTAINER_GRID_IN_RANGE_HPP_INCLUDED #define FCPPT_CONTAINER_GRID_IN_RANGE_HPP_INCLUD...
30.114286
90
0.740038
8f4cd3f938f0ca768f22c5c7a2c94cc18d16dca7
3,844
hpp
C++
lib/dmitigr/util/debug.hpp
thevojacek/pgfe
22e85d4039c347dc4bb61bde8bdb0c4eeea860cf
[ "Zlib" ]
null
null
null
lib/dmitigr/util/debug.hpp
thevojacek/pgfe
22e85d4039c347dc4bb61bde8bdb0c4eeea860cf
[ "Zlib" ]
null
null
null
lib/dmitigr/util/debug.hpp
thevojacek/pgfe
22e85d4039c347dc4bb61bde8bdb0c4eeea860cf
[ "Zlib" ]
null
null
null
// -*- C++ -*- // Copyright (C) Dmitry Igrishin // For conditions of distribution and use, see files LICENSE.txt or util.hpp #ifndef DMITIGR_UTIL_DEBUG_HPP #define DMITIGR_UTIL_DEBUG_HPP #include "dmitigr/util/macros.hpp" #include <cstdio> #include <stdexcept> namespace dmitigr { /** * @brief The debug mode indic...
31.768595
134
0.603278
8f4ddc3fad2a6a2e1403f1446267976ae2053673
1,074
cpp
C++
string_playing/string_playing/main.cpp
silentShadow/C-plus-plus
fb0108beb83f69d0c207f75dc29fae8c1657121c
[ "MIT" ]
null
null
null
string_playing/string_playing/main.cpp
silentShadow/C-plus-plus
fb0108beb83f69d0c207f75dc29fae8c1657121c
[ "MIT" ]
null
null
null
string_playing/string_playing/main.cpp
silentShadow/C-plus-plus
fb0108beb83f69d0c207f75dc29fae8c1657121c
[ "MIT" ]
null
null
null
// // main.cpp // string_playing // // Rev: 1 // Created by Jonathan Reiter on 6/8/16. // Copyright © 2016 Jonathan Reiter. All rights reserved. // #include <iostream> #include <cstring> #define STRMAX 300 using namespace std; int main() { //char s[20]; char str[STRMAX]; char name[100]; cha...
19.178571
58
0.540968
8f4e219558db87ad458179e40301a06cdbfaf031
2,042
cpp
C++
src/anim3/WxStageCanvas.cpp
xzrunner/easyone
c6cc33585a3a5affd44e51938a1bae5b146ab7af
[ "MIT" ]
1
2020-07-07T07:14:01.000Z
2020-07-07T07:14:01.000Z
src/anim3/WxStageCanvas.cpp
xzrunner/easyone
c6cc33585a3a5affd44e51938a1bae5b146ab7af
[ "MIT" ]
null
null
null
src/anim3/WxStageCanvas.cpp
xzrunner/easyone
c6cc33585a3a5affd44e51938a1bae5b146ab7af
[ "MIT" ]
null
null
null
#include "anim3/WxStageCanvas.h" #ifdef MODULE_ANIM3 #include "anim3/WxStagePage.h" #include "frame/WxStagePage.h" #include <ee0/WxStagePage.h> #include <ee0/SubjectMgr.h> #include <model/Model.h> #include <node0/SceneNode.h> #include <node3/CompModel.h> #include <node3/CompModelInst.h> #include <node3/RenderSyste...
24.023529
81
0.670421
8f4ec57cf153b478c713eab1e116468a44e006f3
5,684
cpp
C++
robot_by_robot/primitives.cpp
gfonsecabr/shadoks-robots
04dc95e05cf7bf04545e72e2bbf4bda524d06594
[ "MIT" ]
null
null
null
robot_by_robot/primitives.cpp
gfonsecabr/shadoks-robots
04dc95e05cf7bf04545e72e2bbf4bda524d06594
[ "MIT" ]
null
null
null
robot_by_robot/primitives.cpp
gfonsecabr/shadoks-robots
04dc95e05cf7bf04545e72e2bbf4bda524d06594
[ "MIT" ]
null
null
null
// CG:SHOP 2021 Coordinated Motion Planning - Shadoks Team // // Elementary classes // /** * MIT License * * Copyright (c) 2020 Guilherme Dias da Fonseca <gfonsecabr@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (...
23.487603
91
0.606967
8f52b68aee2583c26c8e6168d3f9178ddce7fbfe
2,076
cpp
C++
src/pheromones/tests/UserCallRequestDTOUnitTests.cpp
SwarmUS/Propolis
0d23dd862638ad8442ad6995ddf0563583fe955c
[ "MIT" ]
null
null
null
src/pheromones/tests/UserCallRequestDTOUnitTests.cpp
SwarmUS/Propolis
0d23dd862638ad8442ad6995ddf0563583fe955c
[ "MIT" ]
3
2021-01-31T14:03:05.000Z
2021-04-22T21:02:55.000Z
src/pheromones/tests/UserCallRequestDTOUnitTests.cpp
SwarmUS/Propolis
0d23dd862638ad8442ad6995ddf0563583fe955c
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <pheromones/UserCallRequestDTO.h> class UserCallRequestDTOFixture : public testing::Test { public: static constexpr UserCallTargetDTO gc_src = UserCallTargetDTO::BUZZ; static constexpr UserCallTargetDTO gc_dest = UserCallTargetDTO::BUZZ; UserCallRequestDTO* m_request; ...
28.833333
99
0.740848
8f54b3f0e88f892b1d0998ed0640f4c462ecfb4d
720
cpp
C++
src/QtComponents/Traditions/nScrollArea.cpp
Vladimir-Lin/QtComponents
e7f0a6abcf0504cc9144dcf59f3f14a52d08092c
[ "MIT" ]
null
null
null
src/QtComponents/Traditions/nScrollArea.cpp
Vladimir-Lin/QtComponents
e7f0a6abcf0504cc9144dcf59f3f14a52d08092c
[ "MIT" ]
null
null
null
src/QtComponents/Traditions/nScrollArea.cpp
Vladimir-Lin/QtComponents
e7f0a6abcf0504cc9144dcf59f3f14a52d08092c
[ "MIT" ]
null
null
null
#include <qtcomponents.h> N::ScrollArea :: ScrollArea ( QWidget * parent , Plan * p ) : QScrollArea ( parent ) , VirtualGui ( this , p ) { addIntoWidget ( parent , this ) ; setAttribute ( Qt::WA_InputMethodEnabled ) ; addCon...
28.8
60
0.418056
8f56348b62a8478749caf7983bf269f7b39702f6
11,052
cpp
C++
Terminal/Source/Encoding.cpp
Gravecat/BearLibTerminal
64fec04101350a99a71db872c513e17bdd2cc94d
[ "MIT" ]
80
2020-06-17T15:26:27.000Z
2022-03-29T11:17:01.000Z
Terminal/Source/Encoding.cpp
Gravecat/BearLibTerminal
64fec04101350a99a71db872c513e17bdd2cc94d
[ "MIT" ]
11
2020-07-19T15:22:06.000Z
2022-03-31T03:33:13.000Z
Terminal/Source/Encoding.cpp
Gravecat/BearLibTerminal
64fec04101350a99a71db872c513e17bdd2cc94d
[ "MIT" ]
18
2020-09-16T01:29:46.000Z
2022-03-27T18:48:09.000Z
/* * BearLibTerminal * Copyright (C) 2013-2016 Cfyz * * 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, modif...
26.12766
125
0.606225
8f58886851d61f364d1c797d6fa3947c1dc70f0f
2,003
cpp
C++
modules/cpp-core-mmciflib-wrapper-gen/src/wrapDictDataInfo.cpp
epeisach/py-mmcif
f44cb8e4a1699c1f254f873fadced1f4461763f6
[ "Apache-2.0" ]
9
2019-08-29T09:43:02.000Z
2022-01-11T01:00:39.000Z
modules/cpp-core-mmciflib-wrapper-gen/src/wrapDictDataInfo.cpp
epeisach/py-mmcif
f44cb8e4a1699c1f254f873fadced1f4461763f6
[ "Apache-2.0" ]
7
2018-07-03T16:04:38.000Z
2022-03-23T05:54:37.000Z
modules/cpp-core-mmciflib-wrapper-gen/src/wrapDictDataInfo.cpp
epeisach/py-mmcif
f44cb8e4a1699c1f254f873fadced1f4461763f6
[ "Apache-2.0" ]
10
2019-03-05T18:06:59.000Z
2022-01-27T03:32:19.000Z
// File: ./src/wrapDictDataInfo.cpp // Date: 2018-01-10 // #include <pybind11/pybind11.h> #include <pybind11/stl.h> #include <string> #include <vector> #include "DataInfo.h" #include "DictObjCont.h" #include "DictDataInfo.h" namespace py = pybind11; using namespace pybind11::literals; #ifndef BINDER_PYBIND11_TYPE_CAS...
48.853659
180
0.717424
8f5b22d2e2d127643f05cb2dd4e3f534180dda07
665
cpp
C++
Hackerrank/Mathematics/Number Theory/The Chosen One.cpp
Sowmik23/All-Codes
212ef0d940fa84624bb2972a257768a830a709a3
[ "MIT" ]
5
2021-02-14T17:48:21.000Z
2022-01-24T14:29:44.000Z
Hackerrank/Mathematics/Number Theory/The Chosen One.cpp
Sowmik23/All-Codes
212ef0d940fa84624bb2972a257768a830a709a3
[ "MIT" ]
null
null
null
Hackerrank/Mathematics/Number Theory/The Chosen One.cpp
Sowmik23/All-Codes
212ef0d940fa84624bb2972a257768a830a709a3
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define ll long long //tag: gcd();, find a divisor that divides n-1 number in an array; ll prefix[1000005], suffix[1000005]; int main(){ int n; cin>>n; ll arr[n]; for(int i=0;i<n;i++) cin>>arr[i]; if(n==1) { cout<<arr[0]+1<<endl; return 0; } for(int ...
14.777778
66
0.544361
8f5b9c2586c4d60944c24646a7e55e52ac71041e
2,854
cpp
C++
artoo/src/stm32/hwtimer.cpp
meee1/OpenSolo
6f299639adbad1e8d573c8ae1135832711b600e4
[ "Apache-2.0" ]
68
2019-09-23T03:27:05.000Z
2022-03-12T03:00:41.000Z
artoo/src/stm32/hwtimer.cpp
meee1/OpenSolo
6f299639adbad1e8d573c8ae1135832711b600e4
[ "Apache-2.0" ]
22
2019-10-26T20:15:56.000Z
2022-02-12T05:41:56.000Z
artoo/src/stm32/hwtimer.cpp
meee1/OpenSolo
6f299639adbad1e8d573c8ae1135832711b600e4
[ "Apache-2.0" ]
33
2019-09-29T19:52:19.000Z
2022-03-12T03:00:43.000Z
#include "hwtimer.h" bool ALWAYS_INLINE IS_ADVANCED(volatile TIM_t *t) { return t == &TIM1 || t == &TIM8; } void HwTimer::init(uint16_t period_, uint16_t prescaler) const { if (tim == &TIM1) { RCC.APB2ENR |= (1 << 11); // TIM1 enable RCC.APB2RSTR = (1 << 11); // TIM1 reset RCC.APB2RST...
27.980392
127
0.493343
8f5c3f86f656e293cdf7be14e086167145a7f20a
7,441
cpp
C++
test/resources/bichos/CEvent.cpp
Manu343726/biicode-common
91b32c6fd1e4a72ce5451183f1766d313cd0e420
[ "MIT" ]
17
2015-04-15T09:40:23.000Z
2017-05-17T20:34:49.000Z
test/resources/bichos/CEvent.cpp
Manu343726/biicode-common
91b32c6fd1e4a72ce5451183f1766d313cd0e420
[ "MIT" ]
2
2015-04-22T11:29:36.000Z
2018-09-25T09:31:09.000Z
test/resources/bichos/CEvent.cpp
bowlofstew/common
45e9ca902be7bbbdd73dafe3ab8957bc4a006020
[ "MIT" ]
22
2015-04-15T09:46:00.000Z
2020-09-29T17:03:31.000Z
//============================================================================== #include "CEvent.h" //============================================================================== CEvent::CEvent() { } //------------------------------------------------------------------------------ CEvent::~CEvent() { //Do...
27.764925
249
0.425884
8f5c949fcf8adc83f2fe152869ccbead4343f342
557
cpp
C++
private/shell/ext/intern/util.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
11
2017-09-02T11:27:08.000Z
2022-01-02T15:25:24.000Z
private/shell/ext/intern/util.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
null
null
null
private/shell/ext/intern/util.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
14
2019-01-16T01:01:23.000Z
2022-02-20T15:54:27.000Z
/***************************************************************************** * * util.cpp - Shared stuff that operates on all classes * *****************************************************************************/ #include "priv.h" #include "util.h" HINSTANCE g_hinst; /* My instance h...
25.318182
80
0.464991
8f5e8b1f7cfc7dbdffefa41bb184de9aeea8396a
596,867
cpp
C++
IOSTEST/Classes/Native/Il2CppGenericMethodTable.cpp
1085069832/OpenBrushVR
acd5c5b4636d81fda5162d4bfc5381e37237f155
[ "Unlicense", "MIT" ]
203
2016-09-04T16:36:34.000Z
2022-03-16T23:55:18.000Z
IOSTEST/Classes/Native/Il2CppGenericMethodTable.cpp
1085069832/OpenBrushVR
acd5c5b4636d81fda5162d4bfc5381e37237f155
[ "Unlicense", "MIT" ]
5
2016-11-28T06:43:07.000Z
2018-11-09T21:09:25.000Z
IOSTEST/Classes/Native/Il2CppGenericMethodTable.cpp
1085069832/OpenBrushVR
acd5c5b4636d81fda5162d4bfc5381e37237f155
[ "Unlicense", "MIT" ]
42
2016-09-05T04:05:15.000Z
2021-06-27T12:26:23.000Z
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> #include "class-internals.h" #include "codegen/il2cpp-codegen.h" extern const Il2CppGenericMethodF...
108.897464
201
0.808066
8f5e951daf815f3a8716c97d339f7049012d80b5
539
hpp
C++
test/util/memory_input_stream.hpp
falk-werner/nv
7bb2b71de4333466b91b960f1eda822a73c3382e
[ "MIT" ]
null
null
null
test/util/memory_input_stream.hpp
falk-werner/nv
7bb2b71de4333466b91b960f1eda822a73c3382e
[ "MIT" ]
null
null
null
test/util/memory_input_stream.hpp
falk-werner/nv
7bb2b71de4333466b91b960f1eda822a73c3382e
[ "MIT" ]
null
null
null
#ifndef NV_MEMORY_INPUT_STREAM_H #define NV_MEMORY_INPUT_STREAM_H #include <cstdio> #include <string> namespace nv_test { class MemoryInputStream { MemoryInputStream(MemoryInputStream const & other) = delete; MemoryInputStream& operator=(MemoryInputStream const & other) = delete; public: MemoryInputStrea...
18.586207
75
0.716141
8f5fffc7826d74675e32c40ee16410fa0e85320e
6,048
cpp
C++
CFD/src/visualization/visualization.cpp
CompilerLuke/NextEngine
aa1a8e9d9370bce004dba00854701597cab74989
[ "MIT" ]
1
2021-09-10T18:19:16.000Z
2021-09-10T18:19:16.000Z
CFD/src/visualization/visualization.cpp
CompilerLuke/NextEngine
aa1a8e9d9370bce004dba00854701597cab74989
[ "MIT" ]
null
null
null
CFD/src/visualization/visualization.cpp
CompilerLuke/NextEngine
aa1a8e9d9370bce004dba00854701597cab74989
[ "MIT" ]
2
2020-04-02T06:46:56.000Z
2021-06-17T16:47:57.000Z
#include "visualization/visualizer.h" #include "mesh.h" #include "cfd_components.h" #include "graphics/assets/model.h" #include "graphics/assets/assets.h" #include "graphics/rhi/draw.h" #include "components/transform.h" #include "ecs/ecs.h" #include "core/time.h" #include "cfd_ids.h" #include "core/math/vec3.h" #inclu...
33.977528
110
0.597057
8f635e69b343e7957a85ffd4f6b90dcea184775b
5,883
cpp
C++
src/net/MosquittoClient.cpp
jalowiczor/beeon-gateway-with-nemea-sources
195d8209302a42e03bafe33811236d7aeedb188d
[ "BSD-3-Clause" ]
7
2018-06-09T05:55:59.000Z
2021-01-05T05:19:02.000Z
src/net/MosquittoClient.cpp
jalowiczor/beeon-gateway-with-nemea-sources
195d8209302a42e03bafe33811236d7aeedb188d
[ "BSD-3-Clause" ]
1
2019-12-25T10:39:06.000Z
2020-01-03T08:35:29.000Z
src/net/MosquittoClient.cpp
jalowiczor/beeon-gateway-with-nemea-sources
195d8209302a42e03bafe33811236d7aeedb188d
[ "BSD-3-Clause" ]
11
2018-05-10T08:29:05.000Z
2020-01-22T20:49:32.000Z
#include <Poco/Clock.h> #include <Poco/Error.h> #include <Poco/Exception.h> #include <Poco/Logger.h> #include <Poco/Thread.h> #include <Poco/Net/NetException.h> #include "di/Injectable.h" #include "net/MosquittoClient.h" BEEEON_OBJECT_BEGIN(BeeeOn, MosquittoClient) BEEEON_OBJECT_CASTABLE(StoppableRunnable) BEEEON_OBJ...
22.54023
92
0.739249
8f65dcadfc53535fdb54577ca97323fb1737accb
5,420
cpp
C++
src/grabbers/realsense_grabber.cpp
taketwo/radical
cce899af3b78a339204eab8201e67d8a6cb98b1a
[ "MIT" ]
40
2016-10-23T06:22:38.000Z
2021-08-11T04:28:11.000Z
src/grabbers/realsense_grabber.cpp
taketwo/radical
cce899af3b78a339204eab8201e67d8a6cb98b1a
[ "MIT" ]
14
2017-03-29T14:05:28.000Z
2021-06-25T08:49:48.000Z
src/grabbers/realsense_grabber.cpp
taketwo/radical
cce899af3b78a339204eab8201e67d8a6cb98b1a
[ "MIT" ]
11
2016-07-21T01:56:11.000Z
2020-10-07T02:40:19.000Z
/****************************************************************************** * Copyright (c) 2016 Sergey Alexandrov * * 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 restricti...
34.303797
102
0.705351
8f6664b1559ce5c6a8cf546e759f036587987987
533
cpp
C++
firmware/blinky_ota/firmware/components/Signal/biquad.cpp
popura/blinky
d9a81c0c0b8789ce9f0d234d1c768dd24f88d257
[ "MIT" ]
7
2019-04-08T03:37:00.000Z
2021-09-07T10:02:01.000Z
firmware/blinky_ota/firmware/components/Signal/biquad.cpp
popura/blinky
d9a81c0c0b8789ce9f0d234d1c768dd24f88d257
[ "MIT" ]
null
null
null
firmware/blinky_ota/firmware/components/Signal/biquad.cpp
popura/blinky
d9a81c0c0b8789ce9f0d234d1c768dd24f88d257
[ "MIT" ]
5
2019-10-01T06:24:22.000Z
2022-02-12T03:40:32.000Z
// // Created by Robin Scheibler // Copyright (c) 2018 Robin Scheibler. All rights reserved. // #include "biquad.h" Biquad::Biquad(float *_b, float *_a) { registers[0] = registers[1] = 0; for (int i = 0 ; i < 3 ; i++) b[i] = _b[i]; for (int i = 0 ; i < 2 ; i++) a[i] = _a[i]; } float Biquad::process(f...
21.32
72
0.572233
8f66d1ad15fb38f511743d8149abb95e42bb47f2
1,815
hpp
C++
kern/i686/video/edid.hpp
greck2908/LudOS
db38455eb33dfc0dfc6d4be102e6bd54d852eee8
[ "MIT" ]
44
2018-01-28T20:07:48.000Z
2022-02-11T22:58:49.000Z
kern/i686/video/edid.hpp
greck2908/LudOS
db38455eb33dfc0dfc6d4be102e6bd54d852eee8
[ "MIT" ]
2
2017-09-12T15:38:16.000Z
2017-11-05T12:19:01.000Z
kern/i686/video/edid.hpp
greck2908/LudOS
db38455eb33dfc0dfc6d4be102e6bd54d852eee8
[ "MIT" ]
8
2018-08-17T13:30:57.000Z
2021-06-25T16:56:12.000Z
/* edid.hpp Copyright (c) 04 Yann BOUCHER (yann) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish,...
27.5
78
0.766942
8f67903672bfd65e415b15508b4d9550cb5084e1
350
cpp
C++
map/guides_on_map_delegate.cpp
suke-blog/omim
f3e75dad4fc2f8c2ec6f3b48fe3841084f8831eb
[ "Apache-2.0" ]
null
null
null
map/guides_on_map_delegate.cpp
suke-blog/omim
f3e75dad4fc2f8c2ec6f3b48fe3841084f8831eb
[ "Apache-2.0" ]
null
null
null
map/guides_on_map_delegate.cpp
suke-blog/omim
f3e75dad4fc2f8c2ec6f3b48fe3841084f8831eb
[ "Apache-2.0" ]
null
null
null
#include "map/guides_on_map_delegate.hpp" GuidesOnMapDelegate::GuidesOnMapDelegate( std::shared_ptr<CatalogHeadersProvider> const & headersProvider) : m_headersProvider(headersProvider) { } platform::HttpClient::Headers GuidesOnMapDelegate::GetHeaders() { if (!m_headersProvider) return {}; return m_hea...
21.875
68
0.777143
8f687c7a189551b3b618b9d5e9864a798ad8de2c
3,972
cc
C++
physicalrobots/player/server/drivers/position/snd/gap_and_valley.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
physicalrobots/player/server/drivers/position/snd/gap_and_valley.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
physicalrobots/player/server/drivers/position/snd/gap_and_valley.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
/* * gap_and_valley.cpp * * Copyright 2007 Joey Durham <joey@engineering.ucsb.edu> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Licen...
25.299363
202
0.657603
8f6cd6b52732b6fcde7a638d3160ea1c715ad579
13,121
hpp
C++
Lib/Chip/Unknown/Spansion/MB9BF56xx/CLK_GATING.hpp
cjsmeele/Kvasir
c8d2acd8313ae52d78259ee2d409b963925f77d7
[ "Apache-2.0" ]
376
2015-07-17T01:41:20.000Z
2022-03-26T04:02:49.000Z
Lib/Chip/Unknown/Spansion/MB9BF56xx/CLK_GATING.hpp
cjsmeele/Kvasir
c8d2acd8313ae52d78259ee2d409b963925f77d7
[ "Apache-2.0" ]
59
2015-07-03T21:30:13.000Z
2021-03-05T11:30:08.000Z
Lib/Chip/Unknown/Spansion/MB9BF56xx/CLK_GATING.hpp
cjsmeele/Kvasir
c8d2acd8313ae52d78259ee2d409b963925f77d7
[ "Apache-2.0" ]
53
2015-07-14T12:17:06.000Z
2021-06-04T07:28:40.000Z
#pragma once #include <Register/Utility.hpp> namespace Kvasir { // peripheral CLK_GATING namespace ClkGatingCken0{ ///< register CKEN0 using Addr = Register::Address<0x4003c100,0xeaf00000,0x00000000,unsigned>; /// bitfield GIOCK constexpr Register::FieldLocation<Addr,Register::maskFro...
72.093407
126
0.712751
8f70ba2f7017b7aec42075a7fe662b3fa0a9c048
7,363
cpp
C++
application/applications/comma-options-to-name-value.cpp
mission-systems-pty-ltd/comma
3ccec0b206fb15a8c048358a7fc01be61a7e4f1e
[ "BSD-3-Clause" ]
21
2015-05-07T06:11:09.000Z
2022-02-01T09:55:46.000Z
application/applications/comma-options-to-name-value.cpp
mission-systems-pty-ltd/comma
3ccec0b206fb15a8c048358a7fc01be61a7e4f1e
[ "BSD-3-Clause" ]
17
2015-01-16T01:38:08.000Z
2020-03-30T09:05:01.000Z
application/applications/comma-options-to-name-value.cpp
mission-systems-pty-ltd/comma
3ccec0b206fb15a8c048358a7fc01be61a7e4f1e
[ "BSD-3-Clause" ]
13
2016-01-13T01:29:29.000Z
2022-02-01T09:55:49.000Z
// This file is part of comma, a generic and flexible library // Copyright (c) 2011 The University of Sydney // 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 cod...
56.206107
181
0.584409
8f737a0a5a429069ae02c6ffa84d8c6d9c888b96
2,029
cc
C++
mysql-server/sql/dd/impl/bootstrap/bootstrap_ctx.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
mysql-server/sql/dd/impl/bootstrap/bootstrap_ctx.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
mysql-server/sql/dd/impl/bootstrap/bootstrap_ctx.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
/* Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by the Free Software Foundation. This program is also distributed with certain so...
40.58
79
0.748645
8f74912a7ed21631fc610145fa8ddfb2aaf358e5
519
cpp
C++
uva/713.cpp
larc/competitive_programming
deccd7152a14adf217c58546d1cf8ac6b45f1c52
[ "MIT" ]
1
2019-05-23T19:05:39.000Z
2019-05-23T19:05:39.000Z
uva/713.cpp
larc/oremor
deccd7152a14adf217c58546d1cf8ac6b45f1c52
[ "MIT" ]
null
null
null
uva/713.cpp
larc/oremor
deccd7152a14adf217c58546d1cf8ac6b45f1c52
[ "MIT" ]
null
null
null
// 713 - Adding Reversed Numbers #include <cstdio> #include <cstring> #define N 202 int main() { int n, i; char A[N], B[N], C[N], a; scanf("%d", &n); while(n--) { memset(A, 0, sizeof(A)); memset(B, 0, sizeof(B)); scanf("%s %s", A, B); a = 0; for(i = 0; A[i] || B[i]; ++i) { a += A[i] ? A[i] - '...
12.069767
32
0.396917
8f77127a0ecb91262cc89e9285994acfbc98d5f9
891
cpp
C++
P4Library/Commands/P4LoginCommand.cpp
sipe9/PerforceAssist
faf91344c6e6b89b883fbfc799c27b1476eb60ed
[ "MIT" ]
null
null
null
P4Library/Commands/P4LoginCommand.cpp
sipe9/PerforceAssist
faf91344c6e6b89b883fbfc799c27b1476eb60ed
[ "MIT" ]
null
null
null
P4Library/Commands/P4LoginCommand.cpp
sipe9/PerforceAssist
faf91344c6e6b89b883fbfc799c27b1476eb60ed
[ "MIT" ]
null
null
null
#include "P4LoginCommand.hpp" #include "../Utils/StringUtil.hpp" #include <sstream> namespace VersionControl { P4LoginCommand::P4LoginCommand(const std::string &password, bool globalTicket) : P4Command("login"), m_password(password), m_loginRequired(false), m_globalTicket(true) { } bool P...
18.5625
88
0.637486
8f783361cce71e4dd30ff1dd6d0a857a89b53bdc
623
hpp
C++
DonkeyKom/dk/memory.hpp
branw/DonkeyKom
3a7b90fc5d7ecf74e511e92da2e93baa148cf685
[ "MIT" ]
10
2018-01-07T09:33:53.000Z
2021-11-26T03:39:37.000Z
DonkeyKom/dk/memory.hpp
branw/DonkeyKom
3a7b90fc5d7ecf74e511e92da2e93baa148cf685
[ "MIT" ]
null
null
null
DonkeyKom/dk/memory.hpp
branw/DonkeyKom
3a7b90fc5d7ecf74e511e92da2e93baa148cf685
[ "MIT" ]
8
2018-01-07T09:33:54.000Z
2019-10-13T15:38:21.000Z
#pragma once #include <Windows.h> #include <functional> namespace dk { struct memory_manager { using Callback = std::function<bool(uint64_t, uint8_t *&)>; memory_manager(); ~memory_manager(); uint64_t scan_ranges(char *pool_tag, size_t page_size, Callback page_cb, Callback block_cb); void map_all_memory(...
18.323529
94
0.728732
8f7fe1ab27ab28738be85a87e034e7f86e40cf02
3,072
hpp
C++
src/HYMLS_Householder.hpp
Sbte/hymls
75cb1e70eb0b3d71085e481cc9d418bdfada1a35
[ "Apache-2.0" ]
null
null
null
src/HYMLS_Householder.hpp
Sbte/hymls
75cb1e70eb0b3d71085e481cc9d418bdfada1a35
[ "Apache-2.0" ]
17
2019-03-12T15:26:53.000Z
2021-02-02T20:07:02.000Z
src/HYMLS_Householder.hpp
Sbte/hymls
75cb1e70eb0b3d71085e481cc9d418bdfada1a35
[ "Apache-2.0" ]
2
2019-07-03T14:29:05.000Z
2022-02-21T12:44:40.000Z
#ifndef HYMLS_HOUSEHOLDER_H #define HYMLS_HOUSEHOLDER_H #include "HYMLS_config.h" #include "HYMLS_OrthogonalTransform.hpp" class Epetra_RowMatrixTransposer; namespace HYMLS { //! Householder transform I-2vv'/v'v, where v_1=1+sqrt(n) and v_j=1 for 1<j<=n class Householder : public OrthogonalTransform { public: ...
32
90
0.740234
8f824294758884516aa247417f19c241b576e4a4
3,981
hpp
C++
converter.hpp
YourName0729/B4-S4
d079849e8d37191938ca18e89cfa5ec33ad9a3a6
[ "MIT" ]
1
2021-07-10T14:25:25.000Z
2021-07-10T14:25:25.000Z
converter.hpp
YourName0729/B4-S4
d079849e8d37191938ca18e89cfa5ec33ad9a3a6
[ "MIT" ]
null
null
null
converter.hpp
YourName0729/B4-S4
d079849e8d37191938ca18e89cfa5ec33ad9a3a6
[ "MIT" ]
null
null
null
#include <vector> #include <utility> #include "cnf.hpp" #include "state.hpp" class Converter { public: Converter(unsigned int h, unsigned int l, unsigned int p) { height = h + 2, length = l + 2, period = p; } CNF& convert() { cnf.clear(); ruleNeighbor(); ruleWall(); ...
28.640288
86
0.431299
8f82ce278e9ae7ebef94b522b832d38bbf357cbe
5,513
cpp
C++
Externals/Falcor/Test/Source/DepthStencilStateTest.cpp
guoxx/Playground
bdbef6c7525631eabe37896102d125a03eaec1f3
[ "MIT" ]
49
2020-11-16T07:50:53.000Z
2022-03-19T21:54:18.000Z
Test/Source/DepthStencilStateTest.cpp
tfoleyNV/Falcor-old
2155109af2322f2aa1db2385cde44d1b7507976b
[ "BSD-3-Clause" ]
null
null
null
Test/Source/DepthStencilStateTest.cpp
tfoleyNV/Falcor-old
2155109af2322f2aa1db2385cde44d1b7507976b
[ "BSD-3-Clause" ]
5
2020-12-15T09:42:17.000Z
2021-09-11T21:03:52.000Z
/*************************************************************************** # Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # * Redistributions of sourc...
44.459677
130
0.575186
8f832afccb1d08aea0c006212bb555db6b49bb9f
2,820
cpp
C++
wrappers/js/odil.cpp
genisysram/odil
e6b12df698ce452f9c5d86858e896e9b6d28cdf0
[ "CECILL-B" ]
72
2016-02-04T00:41:02.000Z
2022-03-18T18:10:34.000Z
wrappers/js/odil.cpp
genisysram/odil
e6b12df698ce452f9c5d86858e896e9b6d28cdf0
[ "CECILL-B" ]
74
2016-01-11T16:04:46.000Z
2021-11-18T16:36:11.000Z
wrappers/js/odil.cpp
genisysram/odil
e6b12df698ce452f9c5d86858e896e9b6d28cdf0
[ "CECILL-B" ]
23
2016-04-27T07:14:56.000Z
2021-09-28T21:59:31.000Z
/************************************************************************* * odil - Copyright (C) Universite de Strasbourg * Distributed under the terms of the CeCILL-B license, as published by * the CEA-CNRS-INRIA. Refer to the LICENSE file or to * http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html * for...
28.484848
81
0.674823
8f8403002c26123c21432bece82fdf1f888c9068
7,093
cpp
C++
src/physics/havok/cloth.cpp
Caprica666/vixen
b71e9415bbfa5f080aee30a831e3b0c8f70fcc7d
[ "BSD-2-Clause" ]
1
2019-02-13T15:39:56.000Z
2019-02-13T15:39:56.000Z
src/physics/havok/cloth.cpp
Caprica666/vixen
b71e9415bbfa5f080aee30a831e3b0c8f70fcc7d
[ "BSD-2-Clause" ]
null
null
null
src/physics/havok/cloth.cpp
Caprica666/vixen
b71e9415bbfa5f080aee30a831e3b0c8f70fcc7d
[ "BSD-2-Clause" ]
2
2017-11-09T12:06:41.000Z
2019-02-13T15:40:02.000Z
#include "vixen.h" #include "physics/havok/vxphysics.h" #include "physics/havok/vxcloth.h" #include <Common/Base/KeyCode.h> #include <Common/Base/hkBase.h> #include <Common/Base/hkBase.h> #include <Common/Base/Config/hkConfigVersion.h> #include <Common/Base/Math/QsTransform/hkQsTransform.h> #include <Common/Base/Threa...
24.291096
104
0.732412
8f889094ecc2f0ab9f75afd7f682153560a5591f
101
cpp
C++
test/common/network/FakeUUIDFactory.cpp
Toinouze/Arthos
fc08d20fb1d9dcd539209f00bf1b6ab00d63bad6
[ "Apache-2.0" ]
null
null
null
test/common/network/FakeUUIDFactory.cpp
Toinouze/Arthos
fc08d20fb1d9dcd539209f00bf1b6ab00d63bad6
[ "Apache-2.0" ]
null
null
null
test/common/network/FakeUUIDFactory.cpp
Toinouze/Arthos
fc08d20fb1d9dcd539209f00bf1b6ab00d63bad6
[ "Apache-2.0" ]
null
null
null
#include "FakeUUIDFactory.h" UUID FakeUUIDFactory::create() { return std::to_string(++count); }
16.833333
35
0.70297
8f88edb34ccdd15da81d8370548d741136cd1311
1,216
hpp
C++
source/code/utilities/filesystem/files/observers/lstat_wrap/lib.hpp
luxe/CodeLang-compiler
78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a
[ "MIT" ]
33
2019-05-30T07:43:32.000Z
2021-12-30T13:12:32.000Z
source/code/utilities/filesystem/files/observers/lstat_wrap/lib.hpp
luxe/CodeLang-compiler
78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a
[ "MIT" ]
371
2019-05-16T15:23:50.000Z
2021-09-04T15:45:27.000Z
source/code/utilities/filesystem/files/observers/lstat_wrap/lib.hpp
UniLang/compiler
c338ee92994600af801033a37dfb2f1a0c9ca897
[ "MIT" ]
6
2019-08-22T17:37:36.000Z
2020-11-07T07:15:32.000Z
#pragma once #include <string> #include <sys/types.h> #include <sys/stat.h> #include <unordered_map> struct stat Lstat(std::string path_to_file); size_t Last_Modified_Time_From_Epoch(std::string const& path_to_file); //checking characteristics of a single file bool Is_Symbolic_Link(std::string path_to_file); boo...
41.931034
79
0.818257
8f8e159d8afd321d528ac8666bdb57c8dfa181a7
2,065
cpp
C++
libs/fnd/memory/test/src/unit_test_fnd_memory_uninitialized_default_construct.cpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/fnd/memory/test/src/unit_test_fnd_memory_uninitialized_default_construct.cpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/fnd/memory/test/src/unit_test_fnd_memory_uninitialized_default_construct.cpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file unit_test_fnd_memory_uninitialized_default_construct.cpp * * @brief uninitialized_default_construct のテスト * * @author myoukaku */ #include <bksge/fnd/memory/uninitialized_default_construct.hpp> #include <bksge/fnd/memory/destroy.hpp> #include <bksge/fnd/iterator/begin.hpp> #include <bksge/...
21.28866
71
0.661985
8f8fd8262cc962079538fb912250447c2b8afb31
94
cpp
C++
src/toolchain/core/IL/ILProgram.cpp
layerzero/cc0
fa3f8f1f7bbc38ca5b6b8864c80223191b3b1f09
[ "BSD-2-Clause" ]
null
null
null
src/toolchain/core/IL/ILProgram.cpp
layerzero/cc0
fa3f8f1f7bbc38ca5b6b8864c80223191b3b1f09
[ "BSD-2-Clause" ]
null
null
null
src/toolchain/core/IL/ILProgram.cpp
layerzero/cc0
fa3f8f1f7bbc38ca5b6b8864c80223191b3b1f09
[ "BSD-2-Clause" ]
2
2015-03-03T04:36:51.000Z
2018-10-01T03:04:11.000Z
#include "ILProgram.h" ILProgram::ILProgram():Scope(NULL) { } ILProgram::~ILProgram() { }
7.833333
34
0.659574
8f92d3bf2d227d21c08a7dcb71791a3e408045fe
20,943
cc
C++
CAPI/CAPI/CAPI/src/proto/Message2Server.pb.cc
BryantSuen/THUAI4
88c4ab90c814b781b0af58e8781720cf32699b48
[ "MIT" ]
7
2021-03-27T14:23:33.000Z
2022-03-28T11:16:46.000Z
CAPI/CAPI/CAPI/src/proto/Message2Server.pb.cc
BryantSuen/THUAI4
88c4ab90c814b781b0af58e8781720cf32699b48
[ "MIT" ]
4
2021-03-21T10:56:38.000Z
2021-04-30T15:02:12.000Z
CAPI/CAPI/CAPI/src/proto/Message2Server.pb.cc
BryantSuen/THUAI4
88c4ab90c814b781b0af58e8781720cf32699b48
[ "MIT" ]
13
2021-03-14T08:57:36.000Z
2021-09-23T01:09:14.000Z
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: Message2Server.proto #include "Message2Server.pb.h" #include <algorithm> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/extension_set.h> #include <google/protobuf/wire_format_lite.h> #include <google/protobuf/descriptor.h>...
40.984344
175
0.727689
8f93b88d9773d774a26185d20d22629c58af7c61
241
cpp
C++
LCOF/62.yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof.cpp
OctopusLian/leetcode-solutions
40920d11c584504e805d103cdc6ef3f3774172b3
[ "MIT" ]
1
2020-12-01T18:35:24.000Z
2020-12-01T18:35:24.000Z
LCOF/62.yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof.cpp
OctopusLian/leetcode-solutions
40920d11c584504e805d103cdc6ef3f3774172b3
[ "MIT" ]
18
2020-11-10T05:48:29.000Z
2020-11-26T08:39:20.000Z
LCOF/62.yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof.cpp
OctopusLian/leetcode-solutions
40920d11c584504e805d103cdc6ef3f3774172b3
[ "MIT" ]
5
2020-11-09T07:43:00.000Z
2021-12-02T14:59:37.000Z
class Solution { public: //1,数学+递归 int lastRemaining(int n, int m) { return f(n,m); } int f(int n, int m) { if (n == 1) return 0; int x = f(n - 1, m); return (m + x) % n; } };
16.066667
37
0.40249
8f93c25a0e62e2b4700ad005f1c9d7b5ec665244
3,155
cpp
C++
demos/sjtwo/oled/source/main.cpp
SarahS16/SJSU-Dev2
47f9ddb7d3c3743f839b57f381bf979dd61d49ab
[ "Apache-2.0" ]
6
2020-06-20T23:56:42.000Z
2021-12-18T08:13:54.000Z
demos/sjtwo/oled/source/main.cpp
SarahS16/SJSU-Dev2
47f9ddb7d3c3743f839b57f381bf979dd61d49ab
[ "Apache-2.0" ]
153
2020-06-09T14:49:29.000Z
2022-01-31T16:39:39.000Z
demos/sjtwo/oled/source/main.cpp
SarahS16/SJSU-Dev2
47f9ddb7d3c3743f839b57f381bf979dd61d49ab
[ "Apache-2.0" ]
10
2020-08-02T00:55:38.000Z
2022-01-24T23:06:51.000Z
#include "peripherals/lpc40xx/gpio.hpp" #include "peripherals/lpc40xx/spi.hpp" #include "devices/displays/oled/ssd1306.hpp" #include "systems/graphics/graphics.hpp" #include "utility/log.hpp" #include "utility/time/time.hpp" int main() { sjsu::LogInfo("Starting OLED Application..."); sjsu::lpc40xx::Spi & ssp1 ...
30.336538
80
0.640887
8f95b97568538ab829522cdac3e067c78833076c
3,076
cpp
C++
GUI_LabelValuePair.cpp
TheNewBob/IMS2
572dcfd4c3621458f01278713437c2aca526d2e6
[ "MIT" ]
2
2018-01-28T20:07:52.000Z
2018-03-01T22:41:39.000Z
GUI_LabelValuePair.cpp
TheNewBob/IMS2
572dcfd4c3621458f01278713437c2aca526d2e6
[ "MIT" ]
6
2017-08-26T10:24:48.000Z
2018-01-28T13:45:34.000Z
GUI_LabelValuePair.cpp
TheNewBob/IMS2
572dcfd4c3621458f01278713437c2aca526d2e6
[ "MIT" ]
null
null
null
#include "GUI_Common.h" #include "GUI_LabelValuePair.h" #include "GUI_LabelValuePairState.h" GUI_LabelValuePair::GUI_LabelValuePair(string _label, string _value, RECT _rect, int _id, GUI_ElementStyle *_style, GUI_font *_valuefont) : GUI_BaseElement(_rect, _id, _style), label(_label), valuefont(_valuefont) { swapStat...
27.963636
180
0.730494