hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
7d8d4e079ea50b00869f110d8dab885e825acd21
2,787
cpp
C++
engine/gfx/gles2/src/gfx_gles2_shader.cpp
aeon-engine/aeon-engine
9efcf83985110c36ebf0964bd4f76b261f2f6717
[ "MIT" ]
12
2017-02-25T17:14:15.000Z
2021-08-02T13:39:18.000Z
engine/gfx/gles2/src/gfx_gles2_shader.cpp
aeon-engine/aeon-engine
9efcf83985110c36ebf0964bd4f76b261f2f6717
[ "MIT" ]
31
2017-02-23T06:59:44.000Z
2017-05-21T11:49:10.000Z
engine/gfx/gles2/src/gfx_gles2_shader.cpp
aeon-engine/aeon-engine
9efcf83985110c36ebf0964bd4f76b261f2f6717
[ "MIT" ]
5
2017-05-02T05:34:53.000Z
2020-05-19T06:57:50.000Z
/* * Copyright (c) 2012-2018 Robin Degen * * 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,...
29.648936
95
0.743093
aeon-engine
7d8db40b57296ab0611ed65766375ef9d6539625
6,205
cc
C++
mindspore/ccsrc/plugin/device/cpu/kernel/eigen/eig_cpu_kernel.cc
httpsgithu/mindspore
c29d6bb764e233b427319cb89ba79e420f1e2c64
[ "Apache-2.0" ]
1
2022-02-23T09:13:43.000Z
2022-02-23T09:13:43.000Z
mindspore/ccsrc/plugin/device/cpu/kernel/eigen/eig_cpu_kernel.cc
949144093/mindspore
c29d6bb764e233b427319cb89ba79e420f1e2c64
[ "Apache-2.0" ]
null
null
null
mindspore/ccsrc/plugin/device/cpu/kernel/eigen/eig_cpu_kernel.cc
949144093/mindspore
c29d6bb764e233b427319cb89ba79e420f1e2c64
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2021-2022 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
42.793103
116
0.720709
httpsgithu
7d9519c733e9832a84f01afa3237f1e607efdcf2
306
cpp
C++
libs/mxgui/_tools/qtsimulator/qtsimulator.cpp
skyward-er/skyward-boardcore
05b9fc2ef45d27487af57cc11ed8b85524451510
[ "MIT" ]
6
2022-01-06T14:20:45.000Z
2022-02-28T07:32:39.000Z
libs/mxgui/_tools/qtsimulator/qtsimulator.cpp
skyward-er/skyward-boardcore
05b9fc2ef45d27487af57cc11ed8b85524451510
[ "MIT" ]
null
null
null
libs/mxgui/_tools/qtsimulator/qtsimulator.cpp
skyward-er/skyward-boardcore
05b9fc2ef45d27487af57cc11ed8b85524451510
[ "MIT" ]
null
null
null
#include <QtGui/QApplication> #include <boost/filesystem.hpp> #include "window.h" using namespace boost::filesystem; int main(int argc, char *argv[]) { current_path(path(argv[0]).parent_path()); //chdir() to executable's path QApplication a(argc,argv); Window window; return a.exec(); }
20.4
77
0.69281
skyward-er
7d9be2c5607d56344fbce7a08e3a134e7f9b1a03
543
cpp
C++
Olympiad Solutions/URI/1234.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
Olympiad Solutions/URI/1234.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
Olympiad Solutions/URI/1234.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/1234 #include <cstdio> #include <cstring> #include <cctype> #include <iostream> int main(){ char frase[50]; while(std::cin.getline(frase,50)){ int tamanho = strlen(frase),i,valido=1; for(i=0;i<tamanho;i++){ char davez = frase...
18.724138
73
0.587477
Ashwanigupta9125
7d9ce29c24d2f57029956dc2dc705fa615ac628f
422
cpp
C++
C++Now 2017/Mocking Examples/runtime_rtti_name/f.cpp
dascandy/presentations
7a004ba5e485900a7c81e7a1116b098d24331075
[ "Apache-2.0" ]
2
2017-05-18T19:48:51.000Z
2017-11-10T16:11:43.000Z
C++Now 2017/Mocking Examples/runtime_rtti_name/f.cpp
dascandy/presentations
7a004ba5e485900a7c81e7a1116b098d24331075
[ "Apache-2.0" ]
null
null
null
C++Now 2017/Mocking Examples/runtime_rtti_name/f.cpp
dascandy/presentations
7a004ba5e485900a7c81e7a1116b098d24331075
[ "Apache-2.0" ]
null
null
null
#include <typeinfo> #include <cstdlib> #include <cstdio> #include <cstring> struct T { virtual ~T() {} }; struct rttiinfo { void* type; const char* name; void* base; }; T* f(const char* name) { static rttiinfo rti; void** vt = new void*[10]; static T object; memcpy(&rti, ((void***)&object)[0][-1], si...
15.62963
60
0.594787
dascandy
7d9dc8e3d47c49f5ce5db516be1ea23172d4c790
644
cpp
C++
OOP/Shapes.cpp
ApostolAndrew/OOP
aff106a8df8960108fa07ed0c36ed64dc8497a9f
[ "MIT" ]
null
null
null
OOP/Shapes.cpp
ApostolAndrew/OOP
aff106a8df8960108fa07ed0c36ed64dc8497a9f
[ "MIT" ]
null
null
null
OOP/Shapes.cpp
ApostolAndrew/OOP
aff106a8df8960108fa07ed0c36ed64dc8497a9f
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; class Shape { protected: float width, height; public: void set(float a, float b) { width = a; height = b; } }; class Rectangle : public Shape { public: float area() { return width * height; ...
16.947368
40
0.493789
ApostolAndrew
7da1d757366a23377316e1c32feed2fc22302b8d
4,929
cpp
C++
src/util/tensor_distribution.cpp
mdschatz/rote
111e965c6365c605f9872ee8302b1170565a3002
[ "BSD-3-Clause" ]
null
null
null
src/util/tensor_distribution.cpp
mdschatz/rote
111e965c6365c605f9872ee8302b1170565a3002
[ "BSD-3-Clause" ]
null
null
null
src/util/tensor_distribution.cpp
mdschatz/rote
111e965c6365c605f9872ee8302b1170565a3002
[ "BSD-3-Clause" ]
2
2018-07-21T15:39:45.000Z
2021-02-09T20:34:50.000Z
#include "rote.hpp" namespace rote{ bool CheckOrder(const Unsigned& outOrder, const Unsigned& inOrder){ if(outOrder != inOrder){ LogicError("Invalid redistribution: Objects being redistributed must be of same order"); } return true; } bool CheckNonDistOutIsPrefix(const TensorDistribution& outDist, cons...
27.082418
102
0.623656
mdschatz
7da344669f21c1cfdaecf5062fbb9717b6904967
1,960
cc
C++
test/testnewalloc.cc
dch0ph/libcmatrix
1f5fae7a398fe2c643252f93371b407dbfb70855
[ "MIT" ]
null
null
null
test/testnewalloc.cc
dch0ph/libcmatrix
1f5fae7a398fe2c643252f93371b407dbfb70855
[ "MIT" ]
null
null
null
test/testnewalloc.cc
dch0ph/libcmatrix
1f5fae7a398fe2c643252f93371b407dbfb70855
[ "MIT" ]
null
null
null
#include "cmatrix.h" #include <iostream> struct dodgy; std::ostream& operator<< (std::ostream&, const dodgy&); static int initcount=0; static int destroycount=0; static int copycount=0; //static int assigncount=0; struct dodgy { int val; explicit dodgy(int valv =1234) : val(valv) { std::cerr << "Make: " <<...
21.304348
61
0.557143
dch0ph
7da38eb297d73de555fa3171db7348109211039c
22,360
hpp
C++
include/flusspferd/class_description.hpp
Flusspferd/flusspferd
f2a070c4805e0bdbae4b5f528e94a9a36ceb80c5
[ "MIT" ]
7
2015-06-08T09:59:36.000Z
2021-02-27T18:45:17.000Z
include/flusspferd/class_description.hpp
Flusspferd/flusspferd
f2a070c4805e0bdbae4b5f528e94a9a36ceb80c5
[ "MIT" ]
null
null
null
include/flusspferd/class_description.hpp
Flusspferd/flusspferd
f2a070c4805e0bdbae4b5f528e94a9a36ceb80c5
[ "MIT" ]
3
2016-07-06T20:47:01.000Z
2021-06-30T19:09:47.000Z
// vim:ts=2:sw=2:expandtab:autoindent:filetype=cpp: /* The MIT License Copyright (c) 2008, 2009 Flusspferd contributors (see "CONTRIBUTORS" or http://flusspferd.org/contributors.txt) Permission is hereby granted, free of charge, to any person obtaining a copy of this software an...
38.222222
144
0.652326
Flusspferd
7da444fef18e499bc96280f8f86bf5c177b3b49b
831
cc
C++
src/Parser/AST/AtomExprNode.cc
stenbror/PythonCoreNative
9b5b1e55acf7d6adc7d8202e951872b2b9f71167
[ "BSL-1.0" ]
2
2021-06-09T12:58:46.000Z
2021-06-09T21:06:43.000Z
src/Parser/AST/AtomExprNode.cc
JeffTheK/PythonCoreNative
a5b4c2a4092e39d9094042e88d272f01ae84993d
[ "BSL-1.0" ]
null
null
null
src/Parser/AST/AtomExprNode.cc
JeffTheK/PythonCoreNative
a5b4c2a4092e39d9094042e88d272f01ae84993d
[ "BSL-1.0" ]
1
2021-05-24T11:18:32.000Z
2021-05-24T11:18:32.000Z
#include <ast/AtomExprNode.h> using namespace PythonCoreNative::RunTime::Parser::AST; using namespace PythonCoreNative::RunTime::Parser; AtomExprNode::AtomExprNode( unsigned int start, unsigned int end, std::shared_ptr<Token> op1, ...
25.181818
95
0.613718
stenbror
7daa822af90d6f7d460cf32208aa31ca968062ed
1,070
cpp
C++
robot-car/sensors/UltrasonicSensor.cpp
TanayB11/intro-to-robotics
d1f3c936b80837de189461e492e5d3cae9c164bb
[ "MIT" ]
null
null
null
robot-car/sensors/UltrasonicSensor.cpp
TanayB11/intro-to-robotics
d1f3c936b80837de189461e492e5d3cae9c164bb
[ "MIT" ]
null
null
null
robot-car/sensors/UltrasonicSensor.cpp
TanayB11/intro-to-robotics
d1f3c936b80837de189461e492e5d3cae9c164bb
[ "MIT" ]
null
null
null
//Ultrasonic Ranger #define ECHO A4 #define TRIG A5 #include <Servo.h> Servo rangerServo; // function prototypes void allStop(); void forward(); void back(); void right(); void left(); int findRange(){ //Dist in cm int range; digitalWrite(TRIG,LOW); delayMicroseconds(2); ...
20.980392
83
0.598131
TanayB11
7dad0696f55a0708eae5ebfb16be66a70dfa2d75
5,203
cpp
C++
server/server_state_game.cpp
cschreib/cobalt
11184864008f411875a3321f3fb4493ebc9a79e2
[ "MIT" ]
9
2015-12-09T22:25:25.000Z
2022-01-12T23:50:56.000Z
server/server_state_game.cpp
cschreib/cobalt
11184864008f411875a3321f3fb4493ebc9a79e2
[ "MIT" ]
6
2019-12-28T21:18:16.000Z
2020-02-15T21:04:54.000Z
server/server_state_game.cpp
cschreib/cobalt
11184864008f411875a3321f3fb4493ebc9a79e2
[ "MIT" ]
null
null
null
#include "server_state_game.hpp" #include "server_state_idle.hpp" #include "server_instance.hpp" #include <filesystem.hpp> namespace server { namespace state { game::game(server::instance& serv) : base(serv, server::state_id::game, "game"), saving_(false) { // TODO: add all game components to this containe...
30.605882
101
0.528733
cschreib
7daec3a428e9fe2617aa53a1049d7162812a67d4
5,784
cpp
C++
ugene/src/plugins/external_tool_support/src/cufflinks/CuffmergeWorker.cpp
iganna/lspec
c75cba3e4fa9a46abeecbf31b5d467827cf4fec0
[ "MIT" ]
null
null
null
ugene/src/plugins/external_tool_support/src/cufflinks/CuffmergeWorker.cpp
iganna/lspec
c75cba3e4fa9a46abeecbf31b5d467827cf4fec0
[ "MIT" ]
null
null
null
ugene/src/plugins/external_tool_support/src/cufflinks/CuffmergeWorker.cpp
iganna/lspec
c75cba3e4fa9a46abeecbf31b5d467827cf4fec0
[ "MIT" ]
null
null
null
/** * UGENE - Integrated Bioinformatics Tools. * Copyright (C) 2008-2012 UniPro <ugene@unipro.ru> * http://ugene.unipro.ru * * 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...
33.241379
115
0.703492
iganna
7daed8b0134aa1554ac7b67d778c39e89a446fe6
7,724
cpp
C++
Source/com/Communicator.cpp
goruklu/WPEFramework
99fc7dd0732dbdd9c332df7ceccb625436ab7a4e
[ "Apache-2.0" ]
null
null
null
Source/com/Communicator.cpp
goruklu/WPEFramework
99fc7dd0732dbdd9c332df7ceccb625436ab7a4e
[ "Apache-2.0" ]
null
null
null
Source/com/Communicator.cpp
goruklu/WPEFramework
99fc7dd0732dbdd9c332df7ceccb625436ab7a4e
[ "Apache-2.0" ]
null
null
null
#include "Communicator.h" namespace WPEFramework { namespace RPC { static Core::ProxyPoolType<RPC::AnnounceMessage> AnnounceMessageFactory(2); static void LoadProxyStubs(const string& pathName) { static std::list<Core::Library> processProxyStubs; Core::Directory index(pathName.c_str(), _T...
35.431193
166
0.625971
goruklu
7db01b41db6a230d93d36370ee279da8d2d3771c
1,954
cc
C++
src/core/basetypes/MCLog.cc
zhanleewo/mailcore2
a6c2d0465b25351689a1b4761f191201275f2b52
[ "BSD-3-Clause" ]
null
null
null
src/core/basetypes/MCLog.cc
zhanleewo/mailcore2
a6c2d0465b25351689a1b4761f191201275f2b52
[ "BSD-3-Clause" ]
null
null
null
src/core/basetypes/MCLog.cc
zhanleewo/mailcore2
a6c2d0465b25351689a1b4761f191201275f2b52
[ "BSD-3-Clause" ]
null
null
null
#include "MCLog.h" #include <stdarg.h> #include <string.h> #include <stdio.h> #include <time.h> #include <sys/time.h> #include <pthread.h> #include <unistd.h> static pid_t sPid = -1; bool mailcore::logEnabled = false; __attribute__((constructor)) static void initialize() { sPid = getpid(); } static void logInte...
24.425
197
0.631013
zhanleewo
7db36b23be968d4b9e78291144751234d7bfb4e8
1,945
cc
C++
www/cliqz/patches/patch-mozilla-release_media_webrtc_trunk_webrtc_modules_video__capture_linux_device__info__linux.cc
fraggerfox/cliqz-pkgsrc
61233b17d4c5bc1edeb571ddbf00fb2308c10c5f
[ "BSD-2-Clause" ]
null
null
null
www/cliqz/patches/patch-mozilla-release_media_webrtc_trunk_webrtc_modules_video__capture_linux_device__info__linux.cc
fraggerfox/cliqz-pkgsrc
61233b17d4c5bc1edeb571ddbf00fb2308c10c5f
[ "BSD-2-Clause" ]
null
null
null
www/cliqz/patches/patch-mozilla-release_media_webrtc_trunk_webrtc_modules_video__capture_linux_device__info__linux.cc
fraggerfox/cliqz-pkgsrc
61233b17d4c5bc1edeb571ddbf00fb2308c10c5f
[ "BSD-2-Clause" ]
null
null
null
$NetBSD: patch-mozilla-release_media_webrtc_trunk_webrtc_modules_video__capture_linux_device__info__linux.cc,v 1.1 2020/07/24 07:29:32 fox Exp $ * Fix buiuld under NetBSD. NetBSD's sys/videoio.h does not have v4l2_capability.device_caps and video capture does not work for me anyway. Taken from www/firefox --- mo...
39.693878
144
0.66838
fraggerfox
7db8d980c2a3aaaf7ab23d1ce8b4f91c9ec67f33
3,101
cpp
C++
Sources/Elastos/LibCore/src/elastos/text/CDateFormatHelper.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/LibCore/src/elastos/text/CDateFormatHelper.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/LibCore/src/elastos/text/CDateFormatHelper.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos 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 // // ...
27.6875
80
0.671719
jingcao80
7dbb3900d3bf652de4dde9567004d7685874909b
12,103
hpp
C++
search/flrtastar.hpp
skiesel/search
b9bb14810a85d6a486d603b3d81444c9d0b246b0
[ "MIT" ]
28
2015-02-10T04:06:16.000Z
2022-03-11T11:51:38.000Z
search/flrtastar.hpp
skiesel/search
b9bb14810a85d6a486d603b3d81444c9d0b246b0
[ "MIT" ]
3
2016-11-03T12:03:28.000Z
2020-07-13T17:35:40.000Z
search/flrtastar.hpp
skiesel/search
b9bb14810a85d6a486d603b3d81444c9d0b246b0
[ "MIT" ]
9
2015-10-22T20:22:45.000Z
2020-06-30T20:11:31.000Z
// Copyright © 2013 the Search Authors under the MIT license. See AUTHORS for the list of authors. #pragma once #include "../search/search.hpp" #include "../utils/geom2d.hpp" #include "../utils/pool.hpp" #include <vector> template <class D> class Flrtastar2 : public SearchAlgorithm<D> { private: typedef typename D::...
22.207339
98
0.590102
skiesel
7dbe445dba5f2fdc6d304dc5747b534460221d13
626
hpp
C++
src/shader.hpp
qkniep/Simetra
734292ff3d48afd83f811501d8da39f5bb0d3623
[ "MIT" ]
2
2021-01-07T15:30:36.000Z
2021-06-13T21:47:46.000Z
src/shader.hpp
qkniep/Simetra
734292ff3d48afd83f811501d8da39f5bb0d3623
[ "MIT" ]
null
null
null
src/shader.hpp
qkniep/Simetra
734292ff3d48afd83f811501d8da39f5bb0d3623
[ "MIT" ]
null
null
null
#ifndef SHADER_HPP #define SHADER_HPP #include <string> #include <GLFW/glfw3.h> class ShaderProgram { GLuint programID; public: bool load(const char* vertexFilePath, const char* fragmentFilePath); void use(); GLuint getProgramID(); private: static bool loadShaderFromFile(const GLuint shade...
24.076923
84
0.749201
qkniep
7dc0c97881c6a9cdcf7f9d5456557ea9e190341b
2,759
cpp
C++
Engine/Source/Runtime/Engine/Private/UserInterface/EngineFontServices.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
Engine/Source/Runtime/Engine/Private/UserInterface/EngineFontServices.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
2
2015-06-21T17:38:11.000Z
2015-06-22T20:54:42.000Z
Engine/Source/Runtime/Engine/Private/UserInterface/EngineFontServices.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #include "EnginePrivate.h" #include "EngineFontServices.h" #include "SlateBasics.h" #if !UE_SERVER #include "ISlateRHIRendererModule.h" #endif FEngineFontServices* FEngineFontServices::Instance = nullptr; FEngineFontServices::FEngineFontServices() { chec...
19.429577
147
0.760783
PopCap
7dc183c37c84af1bbbe3a71a43284014cf3a4010
2,715
cpp
C++
main.cpp
nathan-osman/sudokubot
3088cae5ea88fa6c2e08853c712bab8f9e4d4752
[ "MIT" ]
null
null
null
main.cpp
nathan-osman/sudokubot
3088cae5ea88fa6c2e08853c712bab8f9e4d4752
[ "MIT" ]
null
null
null
main.cpp
nathan-osman/sudokubot
3088cae5ea88fa6c2e08853c712bab8f9e4d4752
[ "MIT" ]
null
null
null
/** * The MIT License (MIT) * * Copyright (c) 2015 Nathan Osman * * 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...
35.25974
79
0.632044
nathan-osman
7dc2e2f3b3958394ab573ab39b079a6f0d422ff1
16,397
cc
C++
examples/tester/wampcc_tester.cc
vai-hhn/wampcc
ac206f60028406ea8af4c295e11cbc7de67cf2ad
[ "MIT" ]
70
2017-03-09T12:45:30.000Z
2021-12-31T20:34:40.000Z
examples/tester/wampcc_tester.cc
vai-hhn/wampcc
ac206f60028406ea8af4c295e11cbc7de67cf2ad
[ "MIT" ]
54
2017-04-15T23:02:08.000Z
2021-04-13T08:44:25.000Z
examples/tester/wampcc_tester.cc
vai-hhn/wampcc
ac206f60028406ea8af4c295e11cbc7de67cf2ad
[ "MIT" ]
30
2017-06-02T14:12:28.000Z
2021-12-06T07:28:48.000Z
/* * Copyright (c) 2017 Darren Smith * * wampcc is free software; you can redistribute it and/or modify * it under the terms of the MIT license. See LICENSE for details. */ #include "wampcc/wampcc.h" #include "wampcc/utils.h" #include <algorithm> #include <sstream> #include <getopt.h> /* for getopt_long; standa...
30.252768
98
0.598707
vai-hhn
7dc9018939e96b62f6b2f0ff121a5a036f7089ce
1,375
hpp
C++
include/euclidean2/object/water.hpp
Euclidean-Entertainment/Assignment_2
04a855f3cec41c9046340b3248d32e5acb94c221
[ "BSD-3-Clause" ]
1
2018-05-03T03:57:29.000Z
2018-05-03T03:57:29.000Z
include/euclidean2/object/water.hpp
Euclidean-Entertainment/Assignment_2
04a855f3cec41c9046340b3248d32e5acb94c221
[ "BSD-3-Clause" ]
1
2018-05-04T14:17:53.000Z
2018-05-04T14:17:53.000Z
include/euclidean2/object/water.hpp
Euclidean-Entertainment/Assignment_2
04a855f3cec41c9046340b3248d32e5acb94c221
[ "BSD-3-Clause" ]
2
2018-05-03T03:57:32.000Z
2018-05-20T12:01:55.000Z
/** * */ #ifndef _WATER_HPP_INCLUDED_ #define _WATER_HPP_INCLUDED_ #include "euclidean2/vertex.hpp" #include "euclidean2/system/material.hpp" #include "euclidean2/system/texture.hpp" #include <climits> #include <vector> static constexpr int MIN_TESSELATIONS = 16; static constexpr int MAX_TESSELATIONS = 512; str...
17.628205
88
0.688727
Euclidean-Entertainment
7dca48bbb88ede97a25fd4a70ba9b8ec9b17992b
1,284
cpp
C++
GeeksForGeeks/C Plus Plus/K_largest_elements.cpp
ankit-sr/Competitive-Programming
3397b313b80a32a47cfe224426a6e9c7cf05dec2
[ "MIT" ]
4
2021-06-19T14:15:34.000Z
2021-06-21T13:53:53.000Z
GeeksForGeeks/C Plus Plus/K_largest_elements.cpp
ankit-sr/Competitive-Programming
3397b313b80a32a47cfe224426a6e9c7cf05dec2
[ "MIT" ]
2
2021-07-02T12:41:06.000Z
2021-07-12T09:37:50.000Z
GeeksForGeeks/C Plus Plus/K_largest_elements.cpp
ankit-sr/Competitive-Programming
3397b313b80a32a47cfe224426a6e9c7cf05dec2
[ "MIT" ]
3
2021-06-19T15:19:20.000Z
2021-07-02T17:24:51.000Z
/* Problem Statement: ----------------- Given an array Arr of N positive integers, find K largest elements from the array. The output elements should be printed in decreasing order. Example 1: --------- Input: N = 5, K = 2 Arr[] = {12, 5, 787, 1, 23} Output: 787 23 Explanation: 1st largest element in the array is 787...
24.226415
148
0.639408
ankit-sr
7dcacce0b81670de55e2e6819af4998a256efbb5
5,646
cc
C++
typecd/usb_monitor.cc
ascii33/platform2
b78891020724e9ff26b11ca89c2a53f949e99748
[ "BSD-3-Clause" ]
null
null
null
typecd/usb_monitor.cc
ascii33/platform2
b78891020724e9ff26b11ca89c2a53f949e99748
[ "BSD-3-Clause" ]
null
null
null
typecd/usb_monitor.cc
ascii33/platform2
b78891020724e9ff26b11ca89c2a53f949e99748
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2022 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 "typecd/usb_monitor.h" #include <utility> #include <base/files/file_util.h> #include <base/logging.h> #include "base/strings/string_number_c...
30.192513
79
0.638328
ascii33
7dd03b654fc86cb8bea767f9fe15e55ea5ead232
9,163
hxx
C++
main/extensions/source/bibliography/datman.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/extensions/source/bibliography/datman.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/extensions/source/bibliography/datman.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
46.75
291
0.666267
Grosskopf
7dd0ff3c07426231bb6aeb7e8dde943472e08431
2,549
cpp
C++
Engine/GameObject.cpp
rakocevicjovan/PCG_and_graphics
02c81d5b814f468f1397c6377438cb4a8810e0ac
[ "MIT" ]
null
null
null
Engine/GameObject.cpp
rakocevicjovan/PCG_and_graphics
02c81d5b814f468f1397c6377438cb4a8810e0ac
[ "MIT" ]
3
2021-05-09T20:19:23.000Z
2021-08-10T19:00:19.000Z
Engine/GameObject.cpp
rakocevicjovan/PCG_and_graphics
02c81d5b814f468f1397c6377438cb4a8810e0ac
[ "MIT" ]
null
null
null
#include "pch.h" #include "GameObject.h" #include "Renderer.h" Actor::Actor(Model* model, SMatrix& transform) : _steerComp(this), _transform(transform), _collider(Collider(BoundingVolumeType::BVT_SPHERE, this, true)) { _renderables.reserve(model->_meshes.size()); for (MeshNode& meshNode : model->_meshNodeTree) ...
23.601852
138
0.731267
rakocevicjovan
7dd1a7c1f1f9a42be384305132f18161f709a168
2,952
cpp
C++
Projects/Overloading/pr6-28.cpp
ToyVo/CSIIStout
c9b0f2adfa9eb60f078413c2a17f30b44d85059f
[ "MIT" ]
null
null
null
Projects/Overloading/pr6-28.cpp
ToyVo/CSIIStout
c9b0f2adfa9eb60f078413c2a17f30b44d85059f
[ "MIT" ]
null
null
null
Projects/Overloading/pr6-28.cpp
ToyVo/CSIIStout
c9b0f2adfa9eb60f078413c2a17f30b44d85059f
[ "MIT" ]
null
null
null
// This program demonstrates overloaded functions to calculate // the gross weekly pay of hourly-wage or salaried employees. #include <iostream> #include <iomanip> using namespace std; // Function prototypes char getChoice(); double calcWeeklyPay(int, double); double calcWeeklyPay(double); int main() { char selecti...
31.404255
63
0.505759
ToyVo
7dd74ce39de9bd43e27097a0fb3026a5959e01d7
2,768
hpp
C++
display/GUI.hpp
mbellier/FluidSolver
c75c95f1725a362703d500c0dd3443df7d710bc3
[ "Apache-2.0" ]
18
2015-01-08T00:48:40.000Z
2022-01-12T15:04:04.000Z
display/GUI.hpp
mbellier/FluidSolver
c75c95f1725a362703d500c0dd3443df7d710bc3
[ "Apache-2.0" ]
null
null
null
display/GUI.hpp
mbellier/FluidSolver
c75c95f1725a362703d500c0dd3443df7d710bc3
[ "Apache-2.0" ]
3
2015-11-20T02:35:16.000Z
2018-03-25T20:14:55.000Z
#ifndef GUI_H #define GUI_H #include <QtOpenGL> #include <QGLWidget> #include <QString> #include <QList> #include "Print.hpp" #include "Dialog.hpp" #include "../config.hpp" #include "../solver/FluidSolver2D.hpp" #include "../solver/FloatMatrix2D.hpp" #include "LeapMotion.h" /** * Class herited from myGLWidget corr...
26.873786
120
0.696171
mbellier
7dd832787c050136d22b59a79eb1f95ac3791afa
618
cpp
C++
potd/potd-q25/Queue.cpp
taoyuc3/CS225
e3a8add28059c63a663ad512885ddf8df86eebd9
[ "MIT" ]
null
null
null
potd/potd-q25/Queue.cpp
taoyuc3/CS225
e3a8add28059c63a663ad512885ddf8df86eebd9
[ "MIT" ]
null
null
null
potd/potd-q25/Queue.cpp
taoyuc3/CS225
e3a8add28059c63a663ad512885ddf8df86eebd9
[ "MIT" ]
null
null
null
#include "Queue.h" // `int size()` - returns the number of elements in the stack (0 if empty) int Queue::size() const { return mySize; } // `bool isEmpty()` - returns if the list has no elements, else false bool Queue::isEmpty() const { return mySize==0 ? true : false; } // `void enqueue(int val)` - enqueue a...
20.6
85
0.658576
taoyuc3
7dd86d15ec8e46a1f3049c99b0c013ece0720fb3
8,595
cpp
C++
TI_Sound/SoundManager.cpp
edhaker13/team-indecisive
290d5f8d905fbf7524bfd685336044477b316fbe
[ "CC-BY-3.0" ]
null
null
null
TI_Sound/SoundManager.cpp
edhaker13/team-indecisive
290d5f8d905fbf7524bfd685336044477b316fbe
[ "CC-BY-3.0" ]
null
null
null
TI_Sound/SoundManager.cpp
edhaker13/team-indecisive
290d5f8d905fbf7524bfd685336044477b316fbe
[ "CC-BY-3.0" ]
null
null
null
#include "SoundManager.h" namespace Indecisive { static const std::string _PATH = ".\\/Assets\\/"; bool SoundManager::Initialize(HWND hwnd) { // TODO: Too many lines, just return method bool result; // Initialize direct sound and the primary sound buffer. result = InitializeDirectSound(hwnd); if (!resu...
26.204268
116
0.696684
edhaker13
7ddaccf6fde9087e21913df4d0594e7c10425772
10,466
cpp
C++
tests/instructions.cpp
voivoid/SynacorChallenge
8d922b290011a3a497b8933c012abc3afa9415d8
[ "MIT" ]
null
null
null
tests/instructions.cpp
voivoid/SynacorChallenge
8d922b290011a3a497b8933c012abc3afa9415d8
[ "MIT" ]
null
null
null
tests/instructions.cpp
voivoid/SynacorChallenge
8d922b290011a3a497b8933c012abc3afa9415d8
[ "MIT" ]
null
null
null
#include "boost/test/unit_test.hpp" #include "synacor/instructions.h" #include "synacor/io.h" #include "synacor/memory_storage.h" #include "synacor/stack.h" #include "test_utils.h" #include "boost/scope_exit.hpp" #include <sstream> #ifdef _MSC_VER # pragma warning( disable : 4459 ) #endif namespace { struct Inst...
27.255208
140
0.671699
voivoid
7de18477eba6ca4f9c0f4ad6f1f10c37984e82cf
619
hpp
C++
src/Omega_h_inertia.hpp
joshia5/ayj-omega_h
8b65215013df29af066fa076261ba897d64a72c2
[ "BSD-2-Clause-FreeBSD" ]
44
2019-01-23T03:37:18.000Z
2021-08-24T02:20:29.000Z
src/Omega_h_inertia.hpp
joshia5/ayj-omega_h
8b65215013df29af066fa076261ba897d64a72c2
[ "BSD-2-Clause-FreeBSD" ]
67
2019-01-29T15:35:42.000Z
2021-08-17T20:42:40.000Z
src/Omega_h_inertia.hpp
joshia5/ayj-omega_h
8b65215013df29af066fa076261ba897d64a72c2
[ "BSD-2-Clause-FreeBSD" ]
29
2019-01-14T21:33:32.000Z
2021-08-10T11:35:24.000Z
#ifndef INERTIA_HPP #define INERTIA_HPP #include <vector> #include "Omega_h_remotes.hpp" #include "Omega_h_vector.hpp" namespace Omega_h { namespace inertia { struct Rib { std::vector<Vector<3>> axes; }; Read<I8> mark_bisection( CommPtr comm, Reals coords, Reals masses, Real tolerance, Vector<3>& axis); Rea...
22.107143
79
0.741519
joshia5
7dea34c246d4e7b568d47cbe1d15058465638586
2,769
cpp
C++
Examples/source/ManageBarcodeImages/BarcodeImageResolution.cpp
aspose-barcode/Aspose.Barcode-for-C
9741636d98a148d7438cc6ee790dc3c4bcc5a1e8
[ "MIT" ]
3
2018-12-07T18:39:59.000Z
2021-06-08T13:08:29.000Z
Examples/source/ManageBarcodeImages/BarcodeImageResolution.cpp
aspose-barcode/Aspose.Barcode-for-C
9741636d98a148d7438cc6ee790dc3c4bcc5a1e8
[ "MIT" ]
null
null
null
Examples/source/ManageBarcodeImages/BarcodeImageResolution.cpp
aspose-barcode/Aspose.Barcode-for-C
9741636d98a148d7438cc6ee790dc3c4bcc5a1e8
[ "MIT" ]
1
2018-07-13T14:22:11.000Z
2018-07-13T14:22:11.000Z
/* This project uses Automatic Package Restore feature of NuGet to resolve Aspose.BarCode for .NET API reference when the project is build. Please check https://docs.nuget.org/consume/nuget-faq for more information. If you do not wish to use NuGet, you can manually download Aspose.BarCode for .NET API from http://www.a...
41.328358
211
0.772842
aspose-barcode
8fc31b5a688eea5ef79a0996e62bac80e8ff0f98
7,411
cpp
C++
src/Cpl/Container/_0test/stack.cpp
johnttaylor/foxtail
86e4e1d19d5e8f9c1d1064cf0939f4bf62615400
[ "BSD-3-Clause" ]
null
null
null
src/Cpl/Container/_0test/stack.cpp
johnttaylor/foxtail
86e4e1d19d5e8f9c1d1064cf0939f4bf62615400
[ "BSD-3-Clause" ]
null
null
null
src/Cpl/Container/_0test/stack.cpp
johnttaylor/foxtail
86e4e1d19d5e8f9c1d1064cf0939f4bf62615400
[ "BSD-3-Clause" ]
null
null
null
/*----------------------------------------------------------------------------- * This file is part of the Colony.Core Project. The Colony.Core Project is an * open source project with a BSD type of licensing agreement. See the license * agreement (license.txt) in the top/ directory or on the Internet at * http://int...
32.082251
86
0.586021
johnttaylor
8fcc4b6fcd37808464600f77f4c3cf0a4a9ddf61
347
hpp
C++
examples/06_ssd1306/main/include/i2c.hpp
graealex/qemu_esp32
d4d334d1cc53e6e517ac740c0d51e7e4b7afbd3e
[ "Apache-2.0" ]
335
2016-10-12T06:59:33.000Z
2022-03-29T14:26:04.000Z
examples/06_ssd1306/main/include/i2c.hpp
graealex/qemu_esp32
d4d334d1cc53e6e517ac740c0d51e7e4b7afbd3e
[ "Apache-2.0" ]
30
2016-10-30T11:23:59.000Z
2021-11-12T10:51:20.000Z
examples/06_ssd1306/main/include/i2c.hpp
graealex/qemu_esp32
d4d334d1cc53e6e517ac740c0d51e7e4b7afbd3e
[ "Apache-2.0" ]
48
2016-10-30T08:41:13.000Z
2022-02-15T22:15:09.000Z
#ifndef I2C_H_ #define I2C_H_ #include "driver/gpio.h" #include "rom/ets_sys.h" class I2C { private: gpio_num_t scl_pin, sda_pin; public: I2C(gpio_num_t scl, gpio_num_t sda); void init(uint8_t scl_pin, uint8_t sda_pin); bool start(void); void stop(void); bool write(uint8_t data); uint8_t read(void); void set...
15.772727
45
0.729107
graealex
8fcc7de9d75968f69f738bf5721e91618526caa1
797
cpp
C++
codeforce2/463C. Gargari and Bishops.cpp
khaled-farouk/My_problem_solving_solutions
46ed6481fc9b424d0714bc717cd0ba050a6638ef
[ "MIT" ]
null
null
null
codeforce2/463C. Gargari and Bishops.cpp
khaled-farouk/My_problem_solving_solutions
46ed6481fc9b424d0714bc717cd0ba050a6638ef
[ "MIT" ]
null
null
null
codeforce2/463C. Gargari and Bishops.cpp
khaled-farouk/My_problem_solving_solutions
46ed6481fc9b424d0714bc717cd0ba050a6638ef
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int const N = 3001; int n, g[N][N], x, y, xx, yy; long long dp1[2 * N], dp2[2 * N], sol1 = -1, sol2 = -1; int main() { scanf("%d", &n); for(int i = 1; i <= n; ++i) for(int j = 1; j <= n; ++j) { scanf("%d", &g[i][j]); dp1[i + j] += g[i][j]; dp2[i...
19.439024
58
0.350063
khaled-farouk
8fd14b59b311c5b83ea91c105073dbeb16b83704
9,609
cpp
C++
sdl.cpp
bl-ackrain/PokittoEmu
928f1e7beedc80b414add4c54f88731ac64f1b73
[ "MIT" ]
null
null
null
sdl.cpp
bl-ackrain/PokittoEmu
928f1e7beedc80b414add4c54f88731ac64f1b73
[ "MIT" ]
null
null
null
sdl.cpp
bl-ackrain/PokittoEmu
928f1e7beedc80b414add4c54f88731ac64f1b73
[ "MIT" ]
null
null
null
#include "sdl.hpp" #include "./cpu.hpp" #include "./gdb.hpp" #include "./gpio.hpp" #include "./screen.hpp" #include "./state.hpp" #include "./sd.hpp" #include "./adc.hpp" #include "gif.h" extern volatile EmuState emustate; extern volatile bool hasQuit; extern std::string srcPath; extern "C" void reset(); GifWriter g...
22.662736
92
0.480383
bl-ackrain
8fda5f2b74a481e41fa4bbfc7ea333ea6f5d3130
14,639
cpp
C++
windows/advcore/duser/engine/motion/scheduler.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
windows/advcore/duser/engine/motion/scheduler.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
windows/advcore/duser/engine/motion/scheduler.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/***************************************************************************\ * * File: Scheduler.cpp * * Description: * Scheduler.cpp maintains a collection of timers that are created and used * by the application for notifications. * * * History: * 1/18/2000: JStall: Created * * Copyright (C) 2000 ...
29.633603
98
0.485074
npocmaka
8fdaa8167b9c199f632393837270d264aa7564f6
27,470
hpp
C++
multimedia/directx/dxg/d3d/ref/inc/rrutil.hpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
multimedia/directx/dxg/d3d/ref/inc/rrutil.hpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
multimedia/directx/dxg/d3d/ref/inc/rrutil.hpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/////////////////////////////////////////////////////////////////////////////// // Copyright (C) Microsoft Corporation, 1998. // // rrutil.hpp // // Direct3D Reference Rasterizer - Utilities // /////////////////////////////////////////////////////////////////////////////// #ifndef _RRUTIL_HPP #define _RRUTIL...
31.94186
96
0.484601
npocmaka
8fdac102c5f67124d3723a13e9d45c018ddda0e4
18,891
cpp
C++
src/client/SkinnedGUI/CommonDialogs.cpp
JiPRA/openlierox
1d9a490cb3b214c7f6dad3a7d582b54373b5b9dc
[ "CECILL-B" ]
192
2015-02-13T14:53:59.000Z
2022-03-29T11:18:58.000Z
src/client/SkinnedGUI/CommonDialogs.cpp
JiPRA/openlierox
1d9a490cb3b214c7f6dad3a7d582b54373b5b9dc
[ "CECILL-B" ]
48
2015-01-06T22:00:53.000Z
2022-01-15T18:22:46.000Z
src/client/SkinnedGUI/CommonDialogs.cpp
JiPRA/openlierox
1d9a490cb3b214c7f6dad3a7d582b54373b5b9dc
[ "CECILL-B" ]
51
2015-01-16T00:55:16.000Z
2022-02-05T03:09:30.000Z
#include "LieroX.h" #include "SkinnedGUI/CommonDialogs.h" #include "SkinnedGUI/CButton.h" #include "SkinnedGUI/CTabControl.h" #include "SkinnedGUI/CLabel.h" #include "SkinnedGUI/CTextbox.h" #include "SkinnedGUI/CSlider.h" #include "SkinnedGUI/CCheckbox.h" #include "SkinnedGUI/CListview.h" #include "MathLib.h" #includ...
26.948645
135
0.704727
JiPRA
8fdc6d6dc65687f8f0d242195602b31d2ea28ede
4,847
hpp
C++
OREData/ored/marketdata/todaysmarketcalibrationinfo.hpp
mrslezak/Engine
c46ff278a2c5f4162db91a7ab500a0bb8cef7657
[ "BSD-3-Clause" ]
335
2016-10-07T16:31:10.000Z
2022-03-02T07:12:03.000Z
OREData/ored/marketdata/todaysmarketcalibrationinfo.hpp
mrslezak/Engine
c46ff278a2c5f4162db91a7ab500a0bb8cef7657
[ "BSD-3-Clause" ]
59
2016-10-31T04:20:24.000Z
2022-01-03T16:39:57.000Z
OREData/ored/marketdata/todaysmarketcalibrationinfo.hpp
mrslezak/Engine
c46ff278a2c5f4162db91a7ab500a0bb8cef7657
[ "BSD-3-Clause" ]
180
2016-10-08T14:23:50.000Z
2022-03-28T10:43:05.000Z
/* Copyright (C) 2021 Quaternion Risk Management Ltd All rights reserved. This file is part of ORE, a free-software/open-source library for transparent pricing and risk analysis - http://opensourcerisk.org ORE is free software: you can redistribute it and/or modify it under the terms of the Modified BSD License...
33.427586
106
0.744584
mrslezak
8fe3fd9e25449a7cb543fc2fec778b0d6f4729f5
5,754
cpp
C++
src/window.cpp
den-mentiei/hlsl-toy
ac80d90ff9d52abc80ba31c06bd5a048a8c08cde
[ "MIT" ]
4
2016-05-28T18:21:55.000Z
2020-01-13T01:39:28.000Z
src/window.cpp
den-mentiei/hlsl-toy
ac80d90ff9d52abc80ba31c06bd5a048a8c08cde
[ "MIT" ]
null
null
null
src/window.cpp
den-mentiei/hlsl-toy
ac80d90ff9d52abc80ba31c06bd5a048a8c08cde
[ "MIT" ]
null
null
null
#include "window.h" namespace toy { namespace { static const wchar_t* WINDOW_CLASS = L"hlsl-toy-class"; } // anonymous namespace LRESULT WINAPI Window::windows_proc(HWND handle, UINT message, WPARAM wparam, LPARAM lparam) { Window* window = reinterpret_cast<Window*>(::GetWindowLong(handle, GWL_USERDATA)); if (wi...
24.176471
199
0.72367
den-mentiei
8fe5c70f858c945d7d1ac3ac9bc7f43eedde49b2
1,070
hpp
C++
ElectruxShorthandInterpretedLanguage/include/ExpressionEvaluator.hpp
Electrux/CCPP-Code
3c5e5b866cf050c11bced9651b112eb31dd2465d
[ "BSD-3-Clause" ]
6
2019-08-29T23:31:17.000Z
2021-11-14T20:35:47.000Z
ElectruxShorthandInterpretedLanguage/include/ExpressionEvaluator.hpp
Electrux/CCPP-Code
3c5e5b866cf050c11bced9651b112eb31dd2465d
[ "BSD-3-Clause" ]
null
null
null
ElectruxShorthandInterpretedLanguage/include/ExpressionEvaluator.hpp
Electrux/CCPP-Code
3c5e5b866cf050c11bced9651b112eb31dd2465d
[ "BSD-3-Clause" ]
1
2019-09-01T12:22:58.000Z
2019-09-01T12:22:58.000Z
#ifndef EXPRESSIONEVALUATOR_HPP #define EXPRESSIONEVALUATOR_HPP #include <string> #include <vector> #include "Errors.hpp" #include "DataTypes.hpp" ErrorTypes EvalExpression( const std::vector< DataType::Data > & dataline, const int & from, const int & to, Variable & result ); ErrorTypes GenPostfix( const std::vecto...
35.666667
131
0.740187
Electrux
8fe7ab9117a3eb60248e066eb12b55f75ff67fb9
5,536
hpp
C++
include/range/v3/view/reverse.hpp
anders-sjogren/range-v3
a7583aaf4e446d435867e54d58575d40c0575312
[ "MIT" ]
null
null
null
include/range/v3/view/reverse.hpp
anders-sjogren/range-v3
a7583aaf4e446d435867e54d58575d40c0575312
[ "MIT" ]
null
null
null
include/range/v3/view/reverse.hpp
anders-sjogren/range-v3
a7583aaf4e446d435867e54d58575d40c0575312
[ "MIT" ]
null
null
null
/// \file // Range v3 library // // Copyright Eric Niebler 2014 // // Use, modification and distribution is 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) // // Project home: https://github.com/ericniebler/range-v...
36.183007
98
0.504697
anders-sjogren
8fe7e6f7cf03cb8018f8dd228eeaf69241fc2bdd
879
cpp
C++
xfa/fxfa/parser/cxfa_list.cpp
softwarecapital/google.pdfium
d6c0f7d6aeaac79ca1eb7fb065d80dbd3504c92e
[ "Apache-2.0" ]
16
2018-09-14T12:07:14.000Z
2021-04-22T11:18:25.000Z
xfa/fxfa/parser/cxfa_list.cpp
softwarecapital/google.pdfium
d6c0f7d6aeaac79ca1eb7fb065d80dbd3504c92e
[ "Apache-2.0" ]
1
2020-12-26T16:18:40.000Z
2020-12-26T16:18:40.000Z
xfa/fxfa/parser/cxfa_list.cpp
softwarecapital/google.pdfium
d6c0f7d6aeaac79ca1eb7fb065d80dbd3504c92e
[ "Apache-2.0" ]
6
2017-09-12T14:09:32.000Z
2021-11-20T03:32:27.000Z
// Copyright 2017 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "xfa/fxfa/parser/cxfa_list.h" #include "core/fxcrt/fx_extension.h" #...
35.16
80
0.711035
softwarecapital
8fe906850fb3f769e8eca6cbe96f58147c07e5df
26
cc
C++
boostrap/BListenUDP.cc
hanswenzel/opticks
b75b5929b6cf36a5eedeffb3031af2920f75f9f0
[ "Apache-2.0" ]
11
2020-07-05T02:39:32.000Z
2022-03-20T18:52:44.000Z
boostrap/BListenUDP.cc
hanswenzel/opticks
b75b5929b6cf36a5eedeffb3031af2920f75f9f0
[ "Apache-2.0" ]
null
null
null
boostrap/BListenUDP.cc
hanswenzel/opticks
b75b5929b6cf36a5eedeffb3031af2920f75f9f0
[ "Apache-2.0" ]
4
2020-09-03T20:36:32.000Z
2022-01-19T07:42:21.000Z
#include "BListenUDP.hh"
8.666667
24
0.730769
hanswenzel
8fed68e99333ac75a57ea4c403c874ab78103776
5,173
cc
C++
neb/test/host.cc
centreon-lab/centreon-broker
b412470204eedc01422bbfd00bcc306dfb3d2ef5
[ "Apache-2.0" ]
40
2015-03-10T07:55:39.000Z
2021-06-11T10:13:56.000Z
neb/test/host.cc
centreon-lab/centreon-broker
b412470204eedc01422bbfd00bcc306dfb3d2ef5
[ "Apache-2.0" ]
297
2015-04-30T10:02:04.000Z
2022-03-09T13:31:54.000Z
neb/test/host.cc
centreon-lab/centreon-broker
b412470204eedc01422bbfd00bcc306dfb3d2ef5
[ "Apache-2.0" ]
29
2015-08-03T10:04:15.000Z
2021-11-25T12:21:00.000Z
/* * Copyright 2011 - 2019 Centreon (https://www.centreon.com/) * * 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 ...
31.351515
75
0.727238
centreon-lab
8fede4a60f7800f6498ad9ae17e9587904d49103
1,821
cc
C++
chrome/browser/permissions/last_tab_standing_tracker.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
chrome/browser/permissions/last_tab_standing_tracker.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
chrome/browser/permissions/last_tab_standing_tracker.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/permissions/last_tab_standing_tracker.h" #include "chrome/browser/profiles/profile.h" #include "url/gurl.h" LastTabStandingTrac...
30.864407
76
0.723229
zealoussnow
8fee5cae86153aa48502aff5223a103558611347
14,555
cpp
C++
src/sim/ldpcsim.cpp
patrickwillner/libldpc
d2ec2d369dd4f4c5cad33caa8e416280d048a89c
[ "MIT" ]
1
2021-01-29T17:19:57.000Z
2021-01-29T17:19:57.000Z
src/sim/ldpcsim.cpp
patrickwillner/libldpc
d2ec2d369dd4f4c5cad33caa8e416280d048a89c
[ "MIT" ]
2
2021-07-16T10:03:40.000Z
2021-08-19T21:40:53.000Z
src/sim/ldpcsim.cpp
patrickwillner/libldpc
d2ec2d369dd4f4c5cad33caa8e416280d048a89c
[ "MIT" ]
1
2021-07-16T10:40:47.000Z
2021-07-16T10:40:47.000Z
#include "ldpcsim.h" #include <omp.h> namespace ldpc { ldpc_sim::ldpc_sim(const std::shared_ptr<ldpc_code> &code, const decoder_param &decoderParams, const channel_param &channelParams, const simulation_param &simulationParams) : ldpc_si...
35.67402
159
0.419924
patrickwillner
8ff1bb73cfc65f29b37e4a2be18d431483970428
8,392
cpp
C++
server-client-sample/connectivity/classic/ServerTest.cpp
kaiostech/gonk-binder
5ab61435a1939f992e4ace372b9c694a65023927
[ "FSFAP" ]
null
null
null
server-client-sample/connectivity/classic/ServerTest.cpp
kaiostech/gonk-binder
5ab61435a1939f992e4ace372b9c694a65023927
[ "FSFAP" ]
null
null
null
server-client-sample/connectivity/classic/ServerTest.cpp
kaiostech/gonk-binder
5ab61435a1939f992e4ace372b9c694a65023927
[ "FSFAP" ]
2
2020-07-17T01:55:32.000Z
2021-08-12T06:12:29.000Z
/* (c) 2020 KAI OS TECHNOLOGIES (HONG KONG) LIMITED All rights reserved. This * file or any portion thereof may not be reproduced or used in any manner * whatsoever without the express written permission of KAI OS TECHNOLOGIES * (HONG KONG) LIMITED. KaiOS is the trademark of KAI OS TECHNOLOGIES (HONG * KONG) LIMITE...
33.03937
80
0.750119
kaiostech
8ff22aaed87b56b031f0e7ed06f7b866a0a13819
2,043
cc
C++
voicenavigator/src/model/MoveCategoryRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
null
null
null
voicenavigator/src/model/MoveCategoryRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
null
null
null
voicenavigator/src/model/MoveCategoryRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
1
2020-11-27T09:13:12.000Z
2020-11-27T09:13:12.000Z
/* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * 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...
27.608108
97
0.769457
iamzken
8ff25b07f1019afac31fa0b3a7cbac04c3c1114e
1,116
cpp
C++
decompiler/level_extractor/extract_common.cpp
Hat-Kid/jak-project
0e2320ca9584118316313e41e646b179a1083feb
[ "ISC" ]
null
null
null
decompiler/level_extractor/extract_common.cpp
Hat-Kid/jak-project
0e2320ca9584118316313e41e646b179a1083feb
[ "ISC" ]
null
null
null
decompiler/level_extractor/extract_common.cpp
Hat-Kid/jak-project
0e2320ca9584118316313e41e646b179a1083feb
[ "ISC" ]
null
null
null
#include <cstddef> #include "extract_common.h" u32 clean_up_vertex_indices(std::vector<u32>& idx) { std::vector<u32> fixed; u32 num_tris = 0; bool looking_for_start = true; size_t i_of_start; for (size_t i = 0; i < idx.size(); i++) { if (looking_for_start) { if (idx[i] != UINT32_MAX) { loo...
24.8
84
0.548387
Hat-Kid
8ff4c7c05e71629adadc56b321e708fdd532b0a6
5,471
cpp
C++
benchmark/BM_sinecrunch.cpp
MuAlphaOmegaEpsilon/sinecrunch
65d4f6003f60fcaa973ae67e90c9f6a5cc16bce8
[ "MIT" ]
1
2019-04-05T19:09:46.000Z
2019-04-05T19:09:46.000Z
benchmark/BM_sinecrunch.cpp
MuAlphaOmegaEpsilon/sinecrunch
65d4f6003f60fcaa973ae67e90c9f6a5cc16bce8
[ "MIT" ]
null
null
null
benchmark/BM_sinecrunch.cpp
MuAlphaOmegaEpsilon/sinecrunch
65d4f6003f60fcaa973ae67e90c9f6a5cc16bce8
[ "MIT" ]
null
null
null
#include <sltbench/Bench.h> #include <algorithm> #define _USE_MATH_DEFINES #include <math.h> #include <numeric> // A simple shorthand for single precision floating point. using floatSP = float; // A simple shorthand for double precision floating point. using floatDP = double; // A simple shorthand for quadruple preci...
37.993056
90
0.703528
MuAlphaOmegaEpsilon
8ff5e8b271e4fde432711382d7adc743646f5149
2,514
hh
C++
nox/src/include/timeval.hh
ayjazz/OESS
deadc504d287febc7cbd7251ddb102bb5c8b1f04
[ "Apache-2.0" ]
28
2015-02-04T13:59:25.000Z
2021-12-29T03:44:47.000Z
nox/src/include/timeval.hh
ayjazz/OESS
deadc504d287febc7cbd7251ddb102bb5c8b1f04
[ "Apache-2.0" ]
552
2015-01-05T18:25:54.000Z
2022-03-16T18:51:13.000Z
nox/src/include/timeval.hh
ayjazz/OESS
deadc504d287febc7cbd7251ddb102bb5c8b1f04
[ "Apache-2.0" ]
25
2015-02-04T18:48:20.000Z
2020-06-18T15:51:05.000Z
/* Copyright 2008 (C) Nicira, Inc. * * This file is part of NOX. * * NOX is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * N...
28.247191
71
0.683373
ayjazz
8ffc731c5d2b12384e2e867f7832b11c629e86a6
1,420
cpp
C++
Testing/testCiphers.cpp
MPAGS-CPP-2019/mpags-day-5-JamesDownsLab
9af7ace33284d06aaf97143211a1646e97f458c8
[ "MIT" ]
null
null
null
Testing/testCiphers.cpp
MPAGS-CPP-2019/mpags-day-5-JamesDownsLab
9af7ace33284d06aaf97143211a1646e97f458c8
[ "MIT" ]
null
null
null
Testing/testCiphers.cpp
MPAGS-CPP-2019/mpags-day-5-JamesDownsLab
9af7ace33284d06aaf97143211a1646e97f458c8
[ "MIT" ]
null
null
null
//! Unit Tests for MPAGSCipher CaesarCipher Class #define CATCH_CONFIG_MAIN #include "catch.hpp" #include "Cipher.hpp" #include "CipherMode.hpp" #include "CaesarCipher.hpp" #include "PlayfairCipher.hpp" #include "VigenereCipher.hpp" bool testCipher( const Cipher& cipher, const CipherMode mode, ...
33.809524
165
0.725352
MPAGS-CPP-2019
89035873afcbd1235731e594a770be55ede906d6
20,090
cxx
C++
main/sw/source/core/text/widorp.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/sw/source/core/text/widorp.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/sw/source/core/text/widorp.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
34.400685
99
0.609706
Grosskopf
8904f7bd15a658d3e38bd83e3df7292e443b5f28
147
cpp
C++
common/crc32.cpp
cschreib/cobalt
11184864008f411875a3321f3fb4493ebc9a79e2
[ "MIT" ]
9
2015-12-09T22:25:25.000Z
2022-01-12T23:50:56.000Z
common/crc32.cpp
cschreib/cobalt
11184864008f411875a3321f3fb4493ebc9a79e2
[ "MIT" ]
6
2019-12-28T21:18:16.000Z
2020-02-15T21:04:54.000Z
common/crc32.cpp
cschreib/cobalt
11184864008f411875a3321f3fb4493ebc9a79e2
[ "MIT" ]
null
null
null
#include "crc32.hpp" std::uint32_t get_crc32(const std::string& str) { return recursive_crc32(0, str.c_str(), 0, str.size(), 0, 0x4C11DB7); }
24.5
72
0.680272
cschreib
890b3e947225c14bf71935b487d6202fac00c508
884
hpp
C++
code/interface.hpp
BrunoFCM/CAL_projeto
1b0ebadd350dcbbc7d5ee99d93cb98a377fd8b56
[ "MIT" ]
1
2021-01-12T12:33:00.000Z
2021-01-12T12:33:00.000Z
code/interface.hpp
BrunoFCM/CAL_projeto
1b0ebadd350dcbbc7d5ee99d93cb98a377fd8b56
[ "MIT" ]
null
null
null
code/interface.hpp
BrunoFCM/CAL_projeto
1b0ebadd350dcbbc7d5ee99d93cb98a377fd8b56
[ "MIT" ]
null
null
null
#include <fstream> #include <iomanip> #include <iostream> #include <sstream> #include <string> #include "Group.hpp" #include "bus.hpp" #include "TouristGenerator.hpp" #include "TouristOrganizer.hpp" using namespace std; #define INPUT_FILE "input.txt" #define NODES_FILE "T03_nodes_X_Y_Fafe.txt" #define EDGES_FILE "T0...
34
80
0.755656
BrunoFCM
890b513697fc86cfa7bc39c59f5da14dcfeb889c
237
cpp
C++
LeetCode/Solutions/LC0231.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
54
2019-05-13T12:13:09.000Z
2022-02-27T02:59:00.000Z
LeetCode/Solutions/LC0231.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
2
2020-10-02T07:16:43.000Z
2020-10-19T04:36:19.000Z
LeetCode/Solutions/LC0231.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
20
2020-05-26T09:48:13.000Z
2022-03-18T15:18:27.000Z
/* Problem Statement: https://leetcode.com/problems/power-of-two/ Time: O(1) Space: O(1) Author: Mohammed Shoaib, github.com/Mohammed-Shoaib */ class Solution { public: bool isPowerOfTwo(int n) { return n > 0 && !(n & (n - 1)); } };
18.230769
62
0.658228
Mohammed-Shoaib
890e53d44e8c004fb4338263bb04432caaec9846
3,146
cpp
C++
src/ipog/DitherAdapter.cpp
vallant/reta
f9eb515a956ebdb8163beda0cd927dfc64875b62
[ "MIT" ]
1
2022-01-04T17:20:13.000Z
2022-01-04T17:20:13.000Z
src/ipog/DitherAdapter.cpp
vallant/reta
f9eb515a956ebdb8163beda0cd927dfc64875b62
[ "MIT" ]
null
null
null
src/ipog/DitherAdapter.cpp
vallant/reta
f9eb515a956ebdb8163beda0cd927dfc64875b62
[ "MIT" ]
null
null
null
#include "DitherAdapter.h" #include <dither.h> #include <test/ConfigGenerator.h> #include <util/Util.h> TestConfigurations DitherAdapter::generate (Plugin* plugin, const GenerateCommand::Parameters& parameters) { return generate (plugin->getInfo(), parameters); } TestConfigurations DitherAdapter::gene...
41.394737
117
0.660839
vallant
8913a1fadb946bca918fdf7792263d1e2c83ea9c
571
cpp
C++
c3dEngine2/c3dEngine/c3dEngine/core/c3dGlobalTimer.cpp
wantnon2/c3dEngine2
0c12d077d8f2bac8c12b8f720eccc5a2f3f3a7c1
[ "MIT" ]
27
2015-01-11T15:42:21.000Z
2021-10-10T06:24:37.000Z
c3dEngine2/c3dEngine/c3dEngine/core/c3dGlobalTimer.cpp
wantnon2/c3dEngine2
0c12d077d8f2bac8c12b8f720eccc5a2f3f3a7c1
[ "MIT" ]
null
null
null
c3dEngine2/c3dEngine/c3dEngine/core/c3dGlobalTimer.cpp
wantnon2/c3dEngine2
0c12d077d8f2bac8c12b8f720eccc5a2f3f3a7c1
[ "MIT" ]
18
2015-01-11T15:42:28.000Z
2021-10-10T06:24:38.000Z
// // c3dGlobalTimer.cpp // HelloOpenGL // // Created by wantnon (yang chao) on 12-11-19. // // #include "c3dGlobalTimer.h" static Cc3dGlobalTimer*s_globalTimer=NULL; Cc3dGlobalTimer*Cc3dGlobalTimer::sharedGlobalTimer(){ if(s_globalTimer==NULL){ s_globalTimer=new Cc3dGlobalTimer(); } return s_gl...
21.961538
56
0.698774
wantnon2
891d23337829d76802201a034f1fd38f24e9733f
16,168
cc
C++
mac/chatkit/cim/pb/CIM.Friend.pb.cc
xmcy0011/CoffeeChat-Desktop
20b907e95ec8b481dbbb77a3b22587ac108520fb
[ "MIT" ]
1
2021-08-05T10:32:24.000Z
2021-08-05T10:32:24.000Z
mac/chatkit/cim/pb/CIM.Friend.pb.cc
xmcy0011/CoffeeChat-Desktop
20b907e95ec8b481dbbb77a3b22587ac108520fb
[ "MIT" ]
null
null
null
mac/chatkit/cim/pb/CIM.Friend.pb.cc
xmcy0011/CoffeeChat-Desktop
20b907e95ec8b481dbbb77a3b22587ac108520fb
[ "MIT" ]
null
null
null
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: CIM.Friend.proto #include "CIM.Friend.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/io/zero_copy_stream_i...
36.662132
156
0.746598
xmcy0011
89232393ffcdec7f58dda27e0baea19f45c83444
5,658
cpp
C++
dlls/usas.cpp
solidi/coldice-remastered
e383047320d8cd321d716cdd7cc336231b58bbe1
[ "Unlicense" ]
2
2022-01-04T09:37:40.000Z
2022-01-12T22:18:54.000Z
dlls/usas.cpp
solidi/coldice-remastered
e383047320d8cd321d716cdd7cc336231b58bbe1
[ "Unlicense" ]
null
null
null
dlls/usas.cpp
solidi/coldice-remastered
e383047320d8cd321d716cdd7cc336231b58bbe1
[ "Unlicense" ]
1
2022-01-06T23:03:05.000Z
2022-01-06T23:03:05.000Z
/*** * * Copyright (c) 1996-2001, Valve LLC. All rights reserved. * * This product contains software technology licensed from Id * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. * All Rights Reserved. * * Use, distribution, and modification of this source code and/or resulting * obje...
23.093878
164
0.711205
solidi
8929b24024e725fe891a9dc1a28aa566604596e6
7,158
cpp
C++
3rdparty/nana/source/system/dataexch.cpp
Greentwip/windy
4eb8174f952c5b600ff004827a5c85dbfb013091
[ "MIT" ]
1
2017-07-13T21:11:55.000Z
2017-07-13T21:11:55.000Z
3rdparty/nana/source/system/dataexch.cpp
Greentwip/Windy
4eb8174f952c5b600ff004827a5c85dbfb013091
[ "MIT" ]
null
null
null
3rdparty/nana/source/system/dataexch.cpp
Greentwip/Windy
4eb8174f952c5b600ff004827a5c85dbfb013091
[ "MIT" ]
null
null
null
/* * Data Exchanger Implementation * Copyright(C) 2003-2013 Jinhao(cnjinhao@hotmail.com) * * 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) * * @file: nana/system/dataexch.cpp * @description: An implementa...
29.578512
142
0.627969
Greentwip
8931bfc0d91a750dc6fcb607316655ab207cc0c3
4,497
cpp
C++
assignments/a6-transform/unique.cpp
dndinh7/animation-toolkit
906b003166f5ea588333e8681448afaf33cb30b3
[ "MIT" ]
null
null
null
assignments/a6-transform/unique.cpp
dndinh7/animation-toolkit
906b003166f5ea588333e8681448afaf33cb30b3
[ "MIT" ]
null
null
null
assignments/a6-transform/unique.cpp
dndinh7/animation-toolkit
906b003166f5ea588333e8681448afaf33cb30b3
[ "MIT" ]
null
null
null
#include "atkui/framework.h" #include "atk/toolkit.h" #include <deque> using namespace atk; using glm::vec3; class Steve : public atkui::Framework { public: Steve() : atkui::Framework(atkui::Perspective) { background(vec3(0)); cameraPos = vec3(-500, 500, -500); setCameraEnabled(false); ...
34.068182
133
0.596842
dndinh7
89325d137a9c5992cf978546431202f269055988
9,354
cpp
C++
data/918.cpp
TianyiChen/rdcpp-data
75c6868c876511e3ce143fdc3c08ddd74c7aa4ea
[ "MIT" ]
null
null
null
data/918.cpp
TianyiChen/rdcpp-data
75c6868c876511e3ce143fdc3c08ddd74c7aa4ea
[ "MIT" ]
null
null
null
data/918.cpp
TianyiChen/rdcpp-data
75c6868c876511e3ce143fdc3c08ddd74c7aa4ea
[ "MIT" ]
null
null
null
int PL ,du ,lUu , h2, KjY1 ,ez ,Ilu ,l ,uVy8 , YaZ ,/*Bv*/ UkM , wGDvh, ho ,XNDO ,gb9nx , HW, f ,H,KHvs85Q , qvf , Pu , Vf85E, T ,//H fjK, kIb/*kl0*/ , TEE,s2 ,// rqqN38 ,HiA2 , H4av , j, Qy , /*Q8*/ Tal,bYpV , mfW /*Dk*/;void f_f0 () { volatile int sS1s, //Z Ajs ,lC//fco1 //0iGM ,C9I, /*N1*/...
10.222951
65
0.455634
TianyiChen
89330ec7af9f1a8ee0171f1058a3c7aa4bb9bbc8
6,949
cpp
C++
src/lib/rtm/LocalServiceAdmin.cpp
r-kurose/OpenRTM-aist
258c922c55a97c6d1265dbf45e1e8b2ea29b2d86
[ "RSA-MD" ]
15
2019-01-08T15:34:04.000Z
2022-03-01T08:36:17.000Z
src/lib/rtm/LocalServiceAdmin.cpp
r-kurose/OpenRTM-aist
258c922c55a97c6d1265dbf45e1e8b2ea29b2d86
[ "RSA-MD" ]
448
2018-12-27T03:13:56.000Z
2022-03-24T09:57:03.000Z
src/lib/rtm/LocalServiceAdmin.cpp
r-kurose/OpenRTM-aist
258c922c55a97c6d1265dbf45e1e8b2ea29b2d86
[ "RSA-MD" ]
31
2018-12-26T04:34:22.000Z
2021-11-25T04:39:51.000Z
// -*- C++ -*- /*! * @file LocalServiceAdmin.cpp * @brief SDO service administration class * @date $Date$ * @author Noriaki Ando <n-ando@aist.go.jp> * * Copyright (C) 2011 * Noriaki Ando * Intelligent Systems Research Institute, * National Institute of * Advanced Industrial Science and Te...
24.044983
78
0.576054
r-kurose
89348a32df641913c4702660dc8ea99fc8e741b1
3,658
cpp
C++
src/UtilsString.cpp
georgedeath/TAsK
14c4abb3b3f9918accd59e9987e9403bd8a0470c
[ "MIT" ]
28
2015-03-05T04:12:58.000Z
2021-12-16T22:24:41.000Z
src/UtilsString.cpp
joshchea/TAsK
d66d0c7561e30b45308aabcf08f584326779f4ae
[ "MIT" ]
2
2017-02-07T15:37:37.000Z
2020-06-26T14:06:00.000Z
src/UtilsString.cpp
joshchea/TAsK
d66d0c7561e30b45308aabcf08f584326779f4ae
[ "MIT" ]
15
2015-07-09T11:53:16.000Z
2022-02-22T04:01:19.000Z
#include "UtilsString.h" #include "Error.h" #include <cstring> #include <algorithm> #include <stdlib.h> void Utils::checkEmptyValue(int value){ if (value == 0) { std::string message = "Some values of attributes are missing"; Error er(message); throw er; } }; FPType Utils::extractNumber(const std::string& lin...
22.8625
108
0.615364
georgedeath
8934bc258baa69177a04743b44509d032f0d45cc
4,992
cpp
C++
benchmark/runtime/integer/single.cpp
danra/scnlib
815782badc1b548c21bb151372497e1516bee806
[ "Apache-2.0" ]
556
2018-11-17T01:49:32.000Z
2022-03-25T09:35:10.000Z
benchmark/runtime/integer/single.cpp
danra/scnlib
815782badc1b548c21bb151372497e1516bee806
[ "Apache-2.0" ]
51
2019-05-09T14:36:53.000Z
2022-03-19T12:47:12.000Z
benchmark/runtime/integer/single.cpp
danra/scnlib
815782badc1b548c21bb151372497e1516bee806
[ "Apache-2.0" ]
21
2019-02-11T19:56:30.000Z
2022-03-28T02:52:27.000Z
// Copyright 2017 Elias Kosunen // // 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 agreed to ...
29.538462
75
0.648037
danra
8938915a32c234de257ac62cb73ae6bdf20cf121
6,216
cc
C++
plugins/taglib/TagParser.cc
bsdelf/mous
eb59b625d0ba8236f3597ae6015d9215cef922cf
[ "BSD-2-Clause" ]
75
2015-04-26T11:22:07.000Z
2022-02-12T17:18:37.000Z
plugins/taglib/TagParser.cc
bsdelf/mous
eb59b625d0ba8236f3597ae6015d9215cef922cf
[ "BSD-2-Clause" ]
7
2016-05-31T21:56:01.000Z
2019-09-15T06:25:28.000Z
plugins/taglib/TagParser.cc
bsdelf/mous
eb59b625d0ba8236f3597ae6015d9215cef922cf
[ "BSD-2-Clause" ]
19
2015-09-23T01:50:15.000Z
2022-02-12T17:18:41.000Z
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <limits.h> #include <vector> #include <map> #include <taglib/mpegfile.h> #include <taglib/fileref.h> #include <taglib/tag.h> #include <taglib/audioproperties.h> using namespace TagLib; #include <scx/Conv.h> #include <scx/FileHelper.h> #include <scx/...
21.583333
100
0.598456
bsdelf
89395fc1e297359f3d2e6ca94098c6a453418625
932
cxx
C++
state/sw.cxx
kydos/dilib-demo
de5ded471adb7075d04450371d2e3a88bd57d5c7
[ "Apache-2.0" ]
null
null
null
state/sw.cxx
kydos/dilib-demo
de5ded471adb7075d04450371d2e3a88bd57d5c7
[ "Apache-2.0" ]
null
null
null
state/sw.cxx
kydos/dilib-demo
de5ded471adb7075d04450371d2e3a88bd57d5c7
[ "Apache-2.0" ]
null
null
null
#include "util.hxx" #include <dilib/state.hxx> #include <random> #include <chrono> #include <thread> int main(int argc, char *argv[]) { if (argc > 2) { std::string name = argv[1]; std::string did = argv[2]; std::cout << "StateWriter(" << name << ")" << std::endl; dilib::StateWriter<dilib::demo::Dev...
26.628571
95
0.590129
kydos
893b011b4350afabdf5f407733a8efb9e42337a7
4,191
cpp
C++
C++/Semester_2/class_4.cpp
Trilonka/MireaAl
2d68b6facbeb99cc4040ea206c64e95ea3c1bc92
[ "BSD-2-Clause" ]
null
null
null
C++/Semester_2/class_4.cpp
Trilonka/MireaAl
2d68b6facbeb99cc4040ea206c64e95ea3c1bc92
[ "BSD-2-Clause" ]
null
null
null
C++/Semester_2/class_4.cpp
Trilonka/MireaAl
2d68b6facbeb99cc4040ea206c64e95ea3c1bc92
[ "BSD-2-Clause" ]
1
2021-12-14T09:35:43.000Z
2021-12-14T09:35:43.000Z
#include <iostream> using namespace std; class BaseString { protected: char *p; int len; int capacity; public: BaseString(char *ptr) { //cout<<"\nBase Constructor 1\n"; len = 0; for (int i = 0; ptr[i] != '\0'; i++) { len++; } capacity = (len >= 2...
22.532258
68
0.409926
Trilonka
9f1c8ff208d697fa8730f4e81fb0f6340056fcce
1,643
cc
C++
squim/image/multi_frame_writer.cc
baranov1ch/squim
5bde052735e0dac7c87e8f7939d0168e6ee05857
[ "Apache-2.0" ]
2
2016-05-06T01:15:49.000Z
2016-05-06T01:29:00.000Z
squim/image/multi_frame_writer.cc
baranov1ch/squim
5bde052735e0dac7c87e8f7939d0168e6ee05857
[ "Apache-2.0" ]
null
null
null
squim/image/multi_frame_writer.cc
baranov1ch/squim
5bde052735e0dac7c87e8f7939d0168e6ee05857
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2015 Alexey Baranov <me@kotiki.cc>. All rights reserved. * * 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 re...
31
79
0.752891
baranov1ch
9f1cf689e23f70318bd72ccc884671d7e91fc583
260
hpp
C++
src/algorithms/next_pos_chars.hpp
ruolin/vg
fddf5a0e3172cfc50eb6f8a561dfbe3dbbbaec04
[ "MIT" ]
740
2016-02-23T02:31:10.000Z
2022-03-31T20:51:36.000Z
src/algorithms/next_pos_chars.hpp
ruolin/vg
fddf5a0e3172cfc50eb6f8a561dfbe3dbbbaec04
[ "MIT" ]
2,455
2016-02-24T08:17:45.000Z
2022-03-31T20:19:41.000Z
src/algorithms/next_pos_chars.hpp
ruolin/vg
fddf5a0e3172cfc50eb6f8a561dfbe3dbbbaec04
[ "MIT" ]
169
2016-03-03T15:41:33.000Z
2022-03-31T04:01:53.000Z
#pragma once #include "../handle.hpp" #include <vg/vg.pb.h> #include <functional> #include "../position.hpp" namespace vg { namespace algorithms { using namespace std; map<pos_t, char> next_pos_chars(const PathPositionHandleGraph& graph, pos_t pos); } }
14.444444
81
0.726923
ruolin
9f1f34484b8ebf33a1f2d1fa4e8d7880dd78c071
468
cpp
C++
LuoGu/level1/P1553 1.cpp
Seizzzz/DailyCodes
9a617fb64ee27b9f254be161850e9c9a61747cb1
[ "MIT" ]
null
null
null
LuoGu/level1/P1553 1.cpp
Seizzzz/DailyCodes
9a617fb64ee27b9f254be161850e9c9a61747cb1
[ "MIT" ]
null
null
null
LuoGu/level1/P1553 1.cpp
Seizzzz/DailyCodes
9a617fb64ee27b9f254be161850e9c9a61747cb1
[ "MIT" ]
null
null
null
#include <stdio.h> #include <ctype.h> int main() { int a[20], i=0; char ch; while((ch=getchar())>='0'&&ch<='9') a[i++]=ch-'0'; while(i>0&&a[--i]==0); for(;i>=0;i--) printf("%d",a[i]); if(ch=='\n') return 0; printf("%c",ch); if(ch=='%') return 0; i=0; while((ch=getchar())>='0'&&ch<='9...
15.6
37
0.42735
Seizzzz
9f1fe650134466484ceccc8394f6fa881318d4a2
805
cc
C++
cpp/86.cc
staugust/leetcode
0ddd0b0941e596d3c6a21b6717d0dd193025f580
[ "Apache-2.0" ]
null
null
null
cpp/86.cc
staugust/leetcode
0ddd0b0941e596d3c6a21b6717d0dd193025f580
[ "Apache-2.0" ]
null
null
null
cpp/86.cc
staugust/leetcode
0ddd0b0941e596d3c6a21b6717d0dd193025f580
[ "Apache-2.0" ]
null
null
null
/* * https://leetcode.com/problems/partition-list/ */ #include <iostream> #include <vector> #include <string> #include <algorithm> #include <iomanip> #include <cstdlib> #include <cstdio> #include <map> #include <set> #include <deque> #include <queue> using namespace std; /* //Definition for singly-linked list. str...
16.1
48
0.596273
staugust
9f22c4205146955dee7fdc115f39997bbf0dd0d5
7,029
cc
C++
src/test-data/test-keys/reset_key_data.cc
TinkerEdgeR-Android/external_nos_test_system-test-harness
48c68c688044cad7cf7062ef9728f6b930f7c203
[ "Apache-2.0" ]
null
null
null
src/test-data/test-keys/reset_key_data.cc
TinkerEdgeR-Android/external_nos_test_system-test-harness
48c68c688044cad7cf7062ef9728f6b930f7c203
[ "Apache-2.0" ]
null
null
null
src/test-data/test-keys/reset_key_data.cc
TinkerEdgeR-Android/external_nos_test_system-test-harness
48c68c688044cad7cf7062ef9728f6b930f7c203
[ "Apache-2.0" ]
null
null
null
#include "reset_key_data.h" namespace test_data { const uint8_t kResetKeyPem[] = "-----BEGIN RSA PRIVATE KEY-----\n\ MIIEpAIBAAKCAQEAo0IoAa5cK7XyAj7u1jFStsfEcxkgAZVF9VWKzH1bofKxLioA\n\ r5Lo4D33glKehxkOlDo6GkBj1PoI8WuvYYvEUyxJNUdlVpa1C2lbewEL0rfyBrZ9\n\ 4cp0ZeUknymYHn3ynW4Z8sYMlj7BNxGttV/jbxtgtT5WHJ+hg5/4/ifCPucN17Bt...
56.232
73
0.71959
TinkerEdgeR-Android
9f22d3790d88e1ac78e04f0fa1ddd96685262d2f
1,357
cpp
C++
src/zone_server.cpp
sischkg/nxnsattack
c20896e40187bbcacb5c0255ff8f3cc7d0592126
[ "MIT" ]
5
2020-05-22T10:01:51.000Z
2022-01-01T04:45:14.000Z
src/zone_server.cpp
sischkg/dns-fuzz-server
6f45079014e745537c2f564fdad069974e727da1
[ "MIT" ]
1
2020-06-07T14:09:44.000Z
2020-06-07T14:09:44.000Z
src/zone_server.cpp
sischkg/dns-fuzz-server
6f45079014e745537c2f564fdad069974e727da1
[ "MIT" ]
2
2020-03-10T03:06:20.000Z
2021-07-25T15:07:45.000Z
#include "auth_server.hpp" #include <boost/program_options.hpp> #include <iostream> #include <fstream> int main( int argc, char **argv ) { namespace po = boost::program_options; std::string bind_address; uint16_t bind_port; std::string zone_filename; std::string apex; po::options_descript...
27.693878
105
0.590273
sischkg
9f23a340317e03cb15a7ec88a2cc6bb8c32dd96b
9,980
cpp
C++
tests/RaZ/Render/Shader.cpp
xiaohunqupo/RaZ
ad0a1e0f336d8beb20afc73c0a5e6ee8a319a8f1
[ "MIT" ]
1
2022-01-26T06:36:54.000Z
2022-01-26T06:36:54.000Z
tests/RaZ/Render/Shader.cpp
xiaohunqupo/RaZ
ad0a1e0f336d8beb20afc73c0a5e6ee8a319a8f1
[ "MIT" ]
null
null
null
tests/RaZ/Render/Shader.cpp
xiaohunqupo/RaZ
ad0a1e0f336d8beb20afc73c0a5e6ee8a319a8f1
[ "MIT" ]
null
null
null
#include "Catch.hpp" #include "RaZ/Render/Renderer.hpp" #include "RaZ/Render/Shader.hpp" namespace { inline void checkShader(const Raz::Shader& shader, const Raz::FilePath& path = {}) { CHECK_FALSE(Raz::Renderer::hasErrors()); CHECK(shader.isValid()); CHECK(shader.getPath() == path); shader.compile(); CHE...
32.508143
136
0.71994
xiaohunqupo
9f267d44ac326c20212e735301699300d0b135e0
1,145
cpp
C++
Engine/Renderer/GLES3/src/GLES3RenderTextureManager.cpp
LiangYue1981816/AresEngine
c1cf040a1dffaf2bc585ed75e70ddd9322fe3f67
[ "BSD-2-Clause" ]
3
2018-12-08T16:32:05.000Z
2020-06-02T11:07:15.000Z
Engine/Renderer/GLES3/src/GLES3RenderTextureManager.cpp
LiangYue1981816/AresEngine
c1cf040a1dffaf2bc585ed75e70ddd9322fe3f67
[ "BSD-2-Clause" ]
null
null
null
Engine/Renderer/GLES3/src/GLES3RenderTextureManager.cpp
LiangYue1981816/AresEngine
c1cf040a1dffaf2bc585ed75e70ddd9322fe3f67
[ "BSD-2-Clause" ]
1
2019-09-12T00:26:05.000Z
2019-09-12T00:26:05.000Z
#include "GLES3Renderer.h" CGLES3RenderTextureManager::CGLES3RenderTextureManager(void) { } CGLES3RenderTextureManager::~CGLES3RenderTextureManager(void) { for (const auto& itRenderTexture : m_pRenderTextures) { delete itRenderTexture.second; } } CGLES3RenderTexture* CGLES3RenderTextureManager::Get(uint32_t na...
20.446429
86
0.751092
LiangYue1981816
9f2a3372e84e19137a06ffc0268222985e532a7d
3,811
cc
C++
ui/gl/android/surface_texture_bridge.cc
MIPS/external-chromium_org
e31b3128a419654fd14003d6117caa8da32697e7
[ "BSD-3-Clause" ]
2
2017-10-19T13:50:00.000Z
2019-05-26T20:11:54.000Z
ui/gl/android/surface_texture_bridge.cc
carlosavignano/android_external_chromium_org
2b5652f7889ccad0fbdb1d52b04bad4c23769547
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ui/gl/android/surface_texture_bridge.cc
carlosavignano/android_external_chromium_org
2b5652f7889ccad0fbdb1d52b04bad4c23769547
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2017-07-31T19:09:52.000Z
2019-01-04T18:48:50.000Z
// Copyright (c) 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/gl/android/surface_texture_bridge.h" #include <android/native_window_jni.h> // TODO(boliu): Remove this include when we move off ICS. #...
33.13913
78
0.741275
MIPS
9f2b822d465d8152de0081d95510fb3ea6bd72d4
1,825
cpp
C++
2020/discrete-mathematics/adjacency-table-and-adjacency-matrix/main.cpp
Overloadlightning/BIT
de85cb74523d63b22b0118c26c65f854b7d2df86
[ "MIT" ]
6
2021-10-30T06:07:42.000Z
2022-03-02T15:24:57.000Z
2020/discrete-mathematics/adjacency-table-and-adjacency-matrix/main.cpp
Overloadlightning/BIT
de85cb74523d63b22b0118c26c65f854b7d2df86
[ "MIT" ]
null
null
null
2020/discrete-mathematics/adjacency-table-and-adjacency-matrix/main.cpp
Overloadlightning/BIT
de85cb74523d63b22b0118c26c65f854b7d2df86
[ "MIT" ]
1
2022-02-21T15:37:49.000Z
2022-02-21T15:37:49.000Z
#include <algorithm> #include <cstdio> #include <cstring> struct point { char name; int neighbor_num; char neighbor[500]; }; bool comp(point a, point b) { return a.name < b.name; } int main() { point point_list[100]; char str[500] = {'\0'}; int point_num = 0; while (gets(str) != NULL)...
28.076923
98
0.445479
Overloadlightning
9f2d8d92c62b48c3433cc9060f68e9d2cdcfc254
5,295
hpp
C++
third_party/amo/amo/asio/tcp/client_socket.hpp
amoylel/NCUI
a3b315ebf97d9903766efdafa42c24d4212d5ad6
[ "BSD-2-Clause" ]
24
2018-11-20T14:45:57.000Z
2021-12-30T13:38:42.000Z
third_party/amo/amo/asio/tcp/client_socket.hpp
amoylel/NCUI
a3b315ebf97d9903766efdafa42c24d4212d5ad6
[ "BSD-2-Clause" ]
null
null
null
third_party/amo/amo/asio/tcp/client_socket.hpp
amoylel/NCUI
a3b315ebf97d9903766efdafa42c24d4212d5ad6
[ "BSD-2-Clause" ]
11
2018-11-29T00:09:14.000Z
2021-11-23T08:13:17.000Z
// Created by amoylel on 06/09/2018. // Copyright (c) 2018 amoylel All rights reserved. #ifndef AMO_CLIENT_SOCKET_63DEE874_EDFB_4063_A818_BA44CA9D0782_HPP__ #define AMO_CLIENT_SOCKET_63DEE874_EDFB_4063_A818_BA44CA9D0782_HPP__ #include <iostream> #define ST_ASIO_REUSE_OBJECT //use objects pool //#define ST_ASIO...
34.607843
126
0.525212
amoylel
9f330b4981e392f286ea29795129ed4a5ede00c6
577
cpp
C++
C++/Quardratic.cpp
rj011/Hacktoberfest2021-4
0aa981d4ba5e71c86cc162d34fe57814050064c2
[ "MIT" ]
41
2021-10-03T16:03:52.000Z
2021-11-14T18:15:33.000Z
C++/Quardratic.cpp
rj011/Hacktoberfest2021-4
0aa981d4ba5e71c86cc162d34fe57814050064c2
[ "MIT" ]
175
2021-10-03T10:47:31.000Z
2021-10-20T11:55:32.000Z
C++/Quardratic.cpp
rj011/Hacktoberfest2021-4
0aa981d4ba5e71c86cc162d34fe57814050064c2
[ "MIT" ]
208
2021-10-03T11:24:04.000Z
2021-10-31T17:27:59.000Z
//3. roots of quadratic equation #include <iostream> #include <cmath> using namespace std; int main(){ cout<<" please enter a, b and c according to your quadratic equation ax^2 + bx + c = 0 "<<endl; float a,b,c,r1,r2;// where a, b and c are coefficients as per quadratic equation ax^2 + bx + c = 0 and r1, r2 ar...
28.85
139
0.568458
rj011
9f33f2dc68eb1ca8e9c6958e1e0c79e895cec810
1,534
cpp
C++
Geometry/LayeredBlock.cpp
danielfrascarelli/esys-particle
e56638000fd9c4af77e21c75aa35a4f8922fd9f0
[ "Apache-2.0" ]
null
null
null
Geometry/LayeredBlock.cpp
danielfrascarelli/esys-particle
e56638000fd9c4af77e21c75aa35a4f8922fd9f0
[ "Apache-2.0" ]
null
null
null
Geometry/LayeredBlock.cpp
danielfrascarelli/esys-particle
e56638000fd9c4af77e21c75aa35a4f8922fd9f0
[ "Apache-2.0" ]
null
null
null
///////////////////////////////////////////////////////////// // // // Copyright (c) 2003-2017 by The University of Queensland // // Centre for Geoscience Computing // // http://earth.uq.edu.au/centre-geoscience-computing // // ...
33.347826
156
0.529987
danielfrascarelli
9f3987fbb9f0e91edeb0403e6b34be56e630e354
3,702
cc
C++
src/usart.cc
radishkill/check_system
0f5692462ebd40a0d7b7ae2a8462df75b6fec74c
[ "Apache-2.0" ]
null
null
null
src/usart.cc
radishkill/check_system
0f5692462ebd40a0d7b7ae2a8462df75b6fec74c
[ "Apache-2.0" ]
null
null
null
src/usart.cc
radishkill/check_system
0f5692462ebd40a0d7b7ae2a8462df75b6fec74c
[ "Apache-2.0" ]
null
null
null
#include "usart.h" #include "mutils.h" Usart::Usart() : fd_(-1), device_name_("") { } Usart::Usart(const char* name, int baud_rate, int databits, int stopbits, char parity, int flow_ctrl) { Open(name, baud_rate, databits, stopbits, parity, flow_ctrl); } int Usart::Open(const char* name, int baud_rate, int dat...
23.730769
106
0.573474
radishkill
9f39f8cf75d908f2fb7704ad6e7097c4e1c0315d
960
hh
C++
CommTrackingObjects/smartsoft/src-gen/CommTrackingObjects/CommPersonLostEventResultData.hh
canonical-robots/DomainModelsRepositories
68b9286d84837e5feb7b200833b158ab9c2922a4
[ "BSD-3-Clause" ]
null
null
null
CommTrackingObjects/smartsoft/src-gen/CommTrackingObjects/CommPersonLostEventResultData.hh
canonical-robots/DomainModelsRepositories
68b9286d84837e5feb7b200833b158ab9c2922a4
[ "BSD-3-Clause" ]
2
2020-08-20T14:49:47.000Z
2020-10-07T16:10:07.000Z
CommTrackingObjects/smartsoft/src-gen/CommTrackingObjects/CommPersonLostEventResultData.hh
canonical-robots/DomainModelsRepositories
68b9286d84837e5feb7b200833b158ab9c2922a4
[ "BSD-3-Clause" ]
8
2018-06-25T08:41:28.000Z
2020-08-13T10:39:30.000Z
//-------------------------------------------------------------------------- // Code generated by the SmartSoft MDSD Toolchain // The SmartSoft Toolchain has been developed by: // // Service Robotics Research Center // University of Applied Sciences Ulm // Prittwitzstr. 10 // 89075 Ulm (Germany) // // Information abo...
30.967742
76
0.676042
canonical-robots
9f3b907f061965f3de5e1526686d532c2c4cd3f1
826
cpp
C++
codeforces/contests/1351/A.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
18
2020-08-27T05:27:50.000Z
2022-03-08T02:56:48.000Z
codeforces/contests/1351/A.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
null
null
null
codeforces/contests/1351/A.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
1
2020-10-13T05:23:58.000Z
2020-10-13T05:23:58.000Z
/* A. A+B (Trial Problem) time limit per test1 second memory limit per test: 256 megabytes inputstandard input outputstandard output You are given two integers 𝑎 and 𝑏. Print 𝑎+𝑏. Input The first line contains an integer 𝑡 (1≤𝑡≤104) — the number of test cases in the input. Then 𝑡 test cases follow. Each test c...
17.208333
113
0.650121
wingkwong
9f3c5f94ce2e321af0a8047f71a3a051c3091a70
68,205
cpp
C++
Yugo/src/Editor/Editor.cpp
bd93/Yugo
4448083b2968a889d2b8bf1c83d9ba11cb358aaf
[ "MIT" ]
null
null
null
Yugo/src/Editor/Editor.cpp
bd93/Yugo
4448083b2968a889d2b8bf1c83d9ba11cb358aaf
[ "MIT" ]
null
null
null
Yugo/src/Editor/Editor.cpp
bd93/Yugo
4448083b2968a889d2b8bf1c83d9ba11cb358aaf
[ "MIT" ]
null
null
null
#include "pch.h" #include "Editor.h" #include "Animation/Components.h" #include "Animation/Animation.h" #include "Scripting/Components.h" #include "Core/Time.h" #include "Core/ModelImporter.h" #include "Renderer/SpriteRenderer.h" //#include "GameUI/Widget.h" #include <ImGuizmo.h> #include <windows.h> #include <commdlg...
34.051423
228
0.693659
bd93
9f3d0b3a213a110f9f24124fe4be6b1e84186cb5
5,216
hpp
C++
include/indigox/utils/common.hpp
allison-group/indigox
22657cb3ceb888049cc231e73d18fb2eac099604
[ "MIT" ]
7
2019-11-24T15:51:37.000Z
2021-10-02T05:18:42.000Z
include/indigox/utils/common.hpp
allison-group/indigox
22657cb3ceb888049cc231e73d18fb2eac099604
[ "MIT" ]
2
2018-12-17T00:55:32.000Z
2019-10-11T01:47:04.000Z
include/indigox/utils/common.hpp
allison-group/indigox
22657cb3ceb888049cc231e73d18fb2eac099604
[ "MIT" ]
2
2019-10-21T01:26:56.000Z
2019-12-02T00:00:42.000Z
/*! \file common.hpp */ #ifndef INDIGOX_UTILS_COMMON_HPP #define INDIGOX_UTILS_COMMON_HPP #include <array> #include <bitset> #include <algorithm> #include <iterator> #include <memory> #include <string> #include <type_traits> // forward definitions of serilisation stuff namespace cereal { class access; class Por...
34.543046
97
0.66296
allison-group
9f3e51b216a6de9ee5f29eb9cd92ae51cb7f783f
4,986
cpp
C++
windows/c++/visualstudio/src/InformationManager.cpp
afskylia/bachelor-starcraft-bot
e9d53345d77f6243f5a2db1781cdfcb7838ebcfd
[ "MIT" ]
null
null
null
windows/c++/visualstudio/src/InformationManager.cpp
afskylia/bachelor-starcraft-bot
e9d53345d77f6243f5a2db1781cdfcb7838ebcfd
[ "MIT" ]
2
2021-06-27T18:57:39.000Z
2021-06-27T18:57:52.000Z
windows/c++/visualstudio/src/InformationManager.cpp
afskylia/bachelor-starcraft-bot
e9d53345d77f6243f5a2db1781cdfcb7838ebcfd
[ "MIT" ]
null
null
null
#include "InformationManager.h" #include "MiraBotMain.h" #include "Global.h" using namespace MiraBot; /// <summary> /// Here we save important information through the game e.g. enemy race and where they are. /// </summary> InformationManager::InformationManager() { //// Save positions of all chokepoints in main bas...
27.854749
114
0.712796
afskylia
9f3ef13ff365f2d7b000ee73688fc5072f454092
4,165
cpp
C++
Spectre2D/source/FileSystem.cpp
DragonGamesStudios/Spectre2D
044f73f3516f92fd939349e11e89e4524c84e7fd
[ "MIT" ]
null
null
null
Spectre2D/source/FileSystem.cpp
DragonGamesStudios/Spectre2D
044f73f3516f92fd939349e11e89e4524c84e7fd
[ "MIT" ]
null
null
null
Spectre2D/source/FileSystem.cpp
DragonGamesStudios/Spectre2D
044f73f3516f92fd939349e11e89e4524c84e7fd
[ "MIT" ]
null
null
null
#include "..\include\Spectre2D\FileSystem.h" namespace sp { FileSystem::FileSystem(bool appdata) { if (appdata) { #if defined(_WIN32) char* appbuff; size_t len; _dupenv_s(&appbuff, &len, "APPDATA"); current_path = appbuff; #elif defined(__linux__) current_path = "~/.local/"; #endif } else ...
20.218447
117
0.669148
DragonGamesStudios
9f4248b73d87945f377b354bbecd0c62904b6fa2
427
cpp
C++
1010.cpp
matheusfbonfim/URI-solutions
a368c271e2940dc2d0c575ea6cc468b50d76ce6f
[ "MIT" ]
null
null
null
1010.cpp
matheusfbonfim/URI-solutions
a368c271e2940dc2d0c575ea6cc468b50d76ce6f
[ "MIT" ]
null
null
null
1010.cpp
matheusfbonfim/URI-solutions
a368c271e2940dc2d0c575ea6cc468b50d76ce6f
[ "MIT" ]
null
null
null
#include<iostream> #include<iomanip> using namespace std; int main(){ int cod_peca1, num_peca1, cod_peca2, num_peca2; double valor_unit_peca1, valor_unit_peca2; cin >> cod_peca1 >> num_peca1 >> valor_unit_peca1; cin >> cod_peca2 >> num_peca2 >> valor_unit_peca2; cout << fixed << setprecision(2); cout <<...
25.117647
101
0.709602
matheusfbonfim
9f46e62c023b9a42a3184aa2e447b9596181f220
860
cpp
C++
src/peakIndexInMountainArray.cpp
guitargeek/leetcode
7d587774d3f922020b5ba3ca2d533b2686891fed
[ "MIT" ]
null
null
null
src/peakIndexInMountainArray.cpp
guitargeek/leetcode
7d587774d3f922020b5ba3ca2d533b2686891fed
[ "MIT" ]
null
null
null
src/peakIndexInMountainArray.cpp
guitargeek/leetcode
7d587774d3f922020b5ba3ca2d533b2686891fed
[ "MIT" ]
null
null
null
/** 852. Peak Index in a Mountain Array Let's call an array A a mountain if the following properties hold: A.length >= 3 There exists some 0 < i < A.length - 1 such that A[0] < A[1] < ... A[i-1] < A[i] > A[i+1] > ... > A[A.length - 1] Given an array that is definitely a mountain, return any i such that A[0]...
17.2
117
0.517442
guitargeek
9f488e046a44a1c69f4910c46d8195b6e47a9356
3,286
cpp
C++
src/panels/wx_id_list.cpp
KeyWorksRW/wxUiEditor
fc58bb37284430fa5901579ae121d4482b588c75
[ "Apache-2.0" ]
7
2021-10-22T02:43:12.000Z
2022-01-15T10:52:58.000Z
src/panels/wx_id_list.cpp
KeyWorksRW/wxUiEditor
fc58bb37284430fa5901579ae121d4482b588c75
[ "Apache-2.0" ]
288
2021-05-16T19:12:04.000Z
2022-03-30T13:22:31.000Z
src/panels/wx_id_list.cpp
KeyWorksRW/wxUiEditor
fc58bb37284430fa5901579ae121d4482b588c75
[ "Apache-2.0" ]
null
null
null
///////////////////////////////////////////////////////////////////////////// // Purpose: wxID_ strings // Author: Ralph Walden // Copyright: Copyright (c) 2020 KeyWorks Software (Ralph Walden) // License: Apache License -- see ../../LICENSE ///////////////////////////////////////////////////////////////////////...
22.506849
115
0.602252
KeyWorksRW
9f49c7a5b74af2b4895012b19f979731cdb85e87
882
hpp
C++
Library/Deps/MessagePack/Include/msgpack/v2/adaptor/nil_decl.hpp
rneogns/simpleio
20830a2b9b22c31eab23508acd25b275b53103c9
[ "MIT" ]
null
null
null
Library/Deps/MessagePack/Include/msgpack/v2/adaptor/nil_decl.hpp
rneogns/simpleio
20830a2b9b22c31eab23508acd25b275b53103c9
[ "MIT" ]
null
null
null
Library/Deps/MessagePack/Include/msgpack/v2/adaptor/nil_decl.hpp
rneogns/simpleio
20830a2b9b22c31eab23508acd25b275b53103c9
[ "MIT" ]
null
null
null
// // MessagePack for C++ static resolution routine // // Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi // // 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 MSGPACK_V2_...
20.511628
66
0.701814
rneogns
9f501130ee9ec309f963f799258da5453751b003
155
cpp
C++
C++/subtracao.cpp
alinemarchiori/NEPS_Exercises_Solved
429402c6a86f64d54b80bf965f9ec3e95a5e5db8
[ "MIT" ]
null
null
null
C++/subtracao.cpp
alinemarchiori/NEPS_Exercises_Solved
429402c6a86f64d54b80bf965f9ec3e95a5e5db8
[ "MIT" ]
null
null
null
C++/subtracao.cpp
alinemarchiori/NEPS_Exercises_Solved
429402c6a86f64d54b80bf965f9ec3e95a5e5db8
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(){ int n, m, resultado; cin >> n; cin >> m; resultado=n-m; cout << resultado << endl; return 0; }
12.916667
27
0.619355
alinemarchiori
9f527ae3a9e3cc87fc724c86a3c08884f97f8c7b
51
cpp
C++
src/dna_block.cpp
dyigitpolat/relaxase
bb183197b48ca448afe71cb801c9cdafb8d418a1
[ "MIT" ]
1
2020-10-22T11:27:51.000Z
2020-10-22T11:27:51.000Z
src/dna_block.cpp
dyigitpolat/relaxase
bb183197b48ca448afe71cb801c9cdafb8d418a1
[ "MIT" ]
null
null
null
src/dna_block.cpp
dyigitpolat/relaxase
bb183197b48ca448afe71cb801c9cdafb8d418a1
[ "MIT" ]
null
null
null
#include "dna_block.hpp" DNABlock::DNABlock() { }
8.5
24
0.686275
dyigitpolat
9f542b5f07245ea8acda91d4cbc1761ec9aa5684
1,415
hpp
C++
examples_tf2/include/examples_tf2/listener.hpp
ROBOTIS-Platform/ros2_examples
5b1cfff84c7d6baaaee5239a717475c65f8a7a90
[ "Apache-2.0" ]
10
2019-08-13T01:41:34.000Z
2021-12-06T14:11:17.000Z
examples_tf2/include/examples_tf2/listener.hpp
ROBOTIS-Platform/ros2_examples
5b1cfff84c7d6baaaee5239a717475c65f8a7a90
[ "Apache-2.0" ]
4
2019-09-29T22:53:18.000Z
2020-11-08T23:29:17.000Z
examples_tf2/include/examples_tf2/listener.hpp
ROBOTIS-Platform/ros2_examples
5b1cfff84c7d6baaaee5239a717475c65f8a7a90
[ "Apache-2.0" ]
2
2020-09-25T13:12:35.000Z
2021-12-06T14:11:18.000Z
/******************************************************************************* * Copyright 2019 ROBOTIS CO., LTD. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.o...
28.877551
80
0.681979
ROBOTIS-Platform