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
1bd3e07889fae7cc84ce637319a07484723a3b68
1,017
hh
C++
src/server.hh
fusion32/kaplar
c85fc3cfd020b4c7892f9987239cb48eaf1a04a5
[ "MIT" ]
null
null
null
src/server.hh
fusion32/kaplar
c85fc3cfd020b4c7892f9987239cb48eaf1a04a5
[ "MIT" ]
null
null
null
src/server.hh
fusion32/kaplar
c85fc3cfd020b4c7892f9987239cb48eaf1a04a5
[ "MIT" ]
2
2018-08-20T00:59:07.000Z
2018-08-20T00:59:18.000Z
#ifndef KAPLAR_SERVER_HH_ #define KAPLAR_SERVER_HH_ 1 #include "common.hh" // ---------------------------------------------------------------- // Server // ---------------------------------------------------------------- enum ConnectionStatus : u32 { CONNECTION_STATUS_ALIVE = 0, CONNECTION_STATUS_CLOSING, }; typede...
29.057143
87
0.668633
fusion32
1bd44f5f4e97bafbba67a4222a1db20ff40b0c30
4,133
cpp
C++
dali/public-api/images/buffer-image.cpp
tizenorg/platform.core.uifw.dali-core
dd89513b4bb1fdde74a83996c726e10adaf58349
[ "Apache-2.0" ]
1
2016-08-05T09:58:38.000Z
2016-08-05T09:58:38.000Z
dali/public-api/images/buffer-image.cpp
tizenorg/platform.core.uifw.dali-core
dd89513b4bb1fdde74a83996c726e10adaf58349
[ "Apache-2.0" ]
null
null
null
dali/public-api/images/buffer-image.cpp
tizenorg/platform.core.uifw.dali-core
dd89513b4bb1fdde74a83996c726e10adaf58349
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2015 Samsung Electronics 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 applicable...
29.312057
164
0.747641
tizenorg
1bd94d73ac682aa309d74778f64f754b9b2f7e96
1,875
cpp
C++
DinoLasers/UIButton.cpp
QRayarch/DinoLasers
500f4144fad2a813cd140d6067b41a41f4573e8c
[ "MIT" ]
null
null
null
DinoLasers/UIButton.cpp
QRayarch/DinoLasers
500f4144fad2a813cd140d6067b41a41f4573e8c
[ "MIT" ]
null
null
null
DinoLasers/UIButton.cpp
QRayarch/DinoLasers
500f4144fad2a813cd140d6067b41a41f4573e8c
[ "MIT" ]
null
null
null
#include "UIButton.h" UIButton::UIButton(String name, vector3 c1, vector3 c2) : UI(name) { color1 = c1; color2 = c2; paddX = 0; paddY = 0; invisiblePadY = 0; isInside = false; } UIButton::~UIButton() { } void UIButton::Update(float dt) { //&& x < (paddX + UI::GetName().length()) * TEXT_SIZE && y < (paddY + ...
32.327586
212
0.609067
QRayarch
1be17a0cfddc77184a80b2c9f9bdc02a1e25d9d8
18,955
cpp
C++
3.7.0/lldb-3.7.0.src/source/Commands/CommandObjectExpression.cpp
androm3da/clang_sles
2ba6d0711546ad681883c42dfb8661b842806695
[ "MIT" ]
3
2016-02-10T14:18:40.000Z
2018-02-05T03:15:56.000Z
3.7.0/lldb-3.7.0.src/source/Commands/CommandObjectExpression.cpp
androm3da/clang_sles
2ba6d0711546ad681883c42dfb8661b842806695
[ "MIT" ]
1
2016-02-10T15:40:03.000Z
2016-02-10T15:40:03.000Z
3.7.0/lldb-3.7.0.src/source/Commands/CommandObjectExpression.cpp
androm3da/clang_sles
2ba6d0711546ad681883c42dfb8661b842806695
[ "MIT" ]
null
null
null
//===-- CommandObjectExpression.cpp -----------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
36.24283
319
0.602427
androm3da
1be1ddd7427e434a9ec342b97fe50659291aa67d
8,077
cpp
C++
implementations/ugene/src/plugins/workflow_designer/src/library/SequenceQualityTrimWorker.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/plugins/workflow_designer/src/library/SequenceQualityTrimWorker.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/plugins/workflow_designer/src/library/SequenceQualityTrimWorker.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
/** * UGENE - Integrated Bioinformatics Tools. * Copyright (C) 2008-2020 UniPro <ugene@unipro.ru> * http://ugene.net * * 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 * ...
50.48125
273
0.727622
r-barnes
1be347460691edb89bcfb1828ef9927d59a3cd21
4,052
cpp
C++
src/main.cpp
Bolukan/AOC2019
d91f8ba22cb5f4a08528e6087b15d87170f9f267
[ "MIT" ]
null
null
null
src/main.cpp
Bolukan/AOC2019
d91f8ba22cb5f4a08528e6087b15d87170f9f267
[ "MIT" ]
null
null
null
src/main.cpp
Bolukan/AOC2019
d91f8ba22cb5f4a08528e6087b15d87170f9f267
[ "MIT" ]
null
null
null
#include <Arduino.h> // WiFi #include <ESP8266WiFi.h> #include "secrets.h" #include <ESP8266mDNS.h> #include <WiFiUdp.h> #include <ArduinoOTA.h> #include <FS.h> #include <dayAOC201901.h> #define APP_NAME "Advent of Code 2019" #define FILENAME "/input201901" // wifi #ifndef SECRETS_H #define SECRETS...
27.753425
120
0.606367
Bolukan
1be4982b0eadd62cf3383db7ab05562de1ffb1a1
857
hpp
C++
tsplp/src/SeparationAlgorithms.hpp
sebrockm/mtsp-vrp
28955855d253f51fcb9397a0b22c6774f66f8d55
[ "MIT" ]
null
null
null
tsplp/src/SeparationAlgorithms.hpp
sebrockm/mtsp-vrp
28955855d253f51fcb9397a0b22c6774f66f8d55
[ "MIT" ]
null
null
null
tsplp/src/SeparationAlgorithms.hpp
sebrockm/mtsp-vrp
28955855d253f51fcb9397a0b22c6774f66f8d55
[ "MIT" ]
null
null
null
#pragma once #include <optional> #include <xtensor/xtensor.hpp> namespace tsplp { class LinearConstraint; class Model; class Variable; class WeightManager; } namespace tsplp::graph { class PiSigmaSupportGraph; class Separator { private: const xt::xtensor<Variable, 3>& m_vari...
22.552632
117
0.673279
sebrockm
1be6cdd8ac8092889e8379ea5bbcdc540a73b2c6
4,960
cc
C++
chrome/browser/enterprise/connectors/enterprise_connectors_policy_handler_unittest.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-10-18T02:33:40.000Z
2020-10-18T02:33:40.000Z
chrome/browser/enterprise/connectors/enterprise_connectors_policy_handler_unittest.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2021-05-17T16:28:52.000Z
2021-05-21T22:42:22.000Z
chrome/browser/enterprise/connectors/enterprise_connectors_policy_handler_unittest.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// 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/enterprise/connectors/enterprise_connectors_policy_handler.h" #include <memory> #include <tuple> #include "base/json/json_reade...
31.794872
86
0.66875
DamieFC
1be9fb8cdf4ef9e9008a81d432a2df01e0cc1b24
1,909
hpp
C++
test/common/mocks_provider.hpp
modern-cpp-examples/match3
bb1f4de11db9e92b6ebdf80f1afe9245e6f86b7e
[ "BSL-1.0" ]
166
2016-04-27T19:01:00.000Z
2022-03-27T02:16:55.000Z
test/common/mocks_provider.hpp
Fuyutsubaki/match3
bb1f4de11db9e92b6ebdf80f1afe9245e6f86b7e
[ "BSL-1.0" ]
4
2016-05-19T07:47:38.000Z
2018-03-22T04:33:00.000Z
test/common/mocks_provider.hpp
Fuyutsubaki/match3
bb1f4de11db9e92b6ebdf80f1afe9245e6f86b7e
[ "BSL-1.0" ]
17
2016-05-18T21:17:39.000Z
2022-03-20T22:37:14.000Z
// // Copyright (c) 2016 Krzysztof Jusiak (krzysztof at jusiak dot net) // // 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) // #pragma once #include <boost/di.hpp> #include <type_traits> #include "fakeit.hpp" na...
27.666667
76
0.618125
modern-cpp-examples
1bebc60678a7df62e258a4a942cda60163b19e37
344
hpp
C++
src/AI/AiCommand.hpp
LazyFalcon/TechDemo-v4
7b865e20beb7f04fde6e7df66be30f555e0aef5a
[ "MIT" ]
null
null
null
src/AI/AiCommand.hpp
LazyFalcon/TechDemo-v4
7b865e20beb7f04fde6e7df66be30f555e0aef5a
[ "MIT" ]
null
null
null
src/AI/AiCommand.hpp
LazyFalcon/TechDemo-v4
7b865e20beb7f04fde6e7df66be30f555e0aef5a
[ "MIT" ]
null
null
null
#pragma once enum CommandType { MoveTo, Attack }; struct AiCommand { CommandType type; bool suspendOther; bool queue; void* payload; template<typename T> T& get() { return *reinterpret_cast<T*>(payload); } }; struct MoveCommand { glm::vec4 position; std::optional<g...
13.230769
46
0.619186
LazyFalcon
1bed0766c3c232027c11a0df8ffd1e1746b92b59
6,647
cpp
C++
examples/2-show-carriers/2-show-carriers.cpp
particle-iot/CellularHelper
c395735a7d47ab4750adc6b58ca40fec6dfc9e64
[ "MIT" ]
2
2020-04-28T13:24:03.000Z
2020-05-22T14:40:46.000Z
examples/2-show-carriers/2-show-carriers.cpp
particle-iot/CellularHelper
c395735a7d47ab4750adc6b58ca40fec6dfc9e64
[ "MIT" ]
null
null
null
examples/2-show-carriers/2-show-carriers.cpp
particle-iot/CellularHelper
c395735a7d47ab4750adc6b58ca40fec6dfc9e64
[ "MIT" ]
1
2022-01-05T16:48:29.000Z
2022-01-05T16:48:29.000Z
#include "Particle.h" #include "CellularHelper.h" // STARTUP(cellular_credentials_set("epc.tmobile.com", "", "", NULL)); SYSTEM_MODE(MANUAL); SYSTEM_THREAD(ENABLED); SerialLogHandler logHandler; const unsigned long STARTUP_WAIT_TIME_MS = 4000; const unsigned long MODEM_ON_WAIT_TIME_MS = 4000; // Forward declaratio...
23.824373
140
0.680307
particle-iot
1bed7e425a3971ebb71336be68d9b8cf6f818c1c
165
hpp
C++
C++/1_SimUDuck/include/quackBehaviours/muteQuack.hpp
laissezfaireisfair/Pieces-of-code
9dfaafe0078fdbe270bead56b4c9d0be33224561
[ "Unlicense" ]
null
null
null
C++/1_SimUDuck/include/quackBehaviours/muteQuack.hpp
laissezfaireisfair/Pieces-of-code
9dfaafe0078fdbe270bead56b4c9d0be33224561
[ "Unlicense" ]
null
null
null
C++/1_SimUDuck/include/quackBehaviours/muteQuack.hpp
laissezfaireisfair/Pieces-of-code
9dfaafe0078fdbe270bead56b4c9d0be33224561
[ "Unlicense" ]
null
null
null
#pragma once #include "../quackBehaviour.hpp" namespace SimUDuck { class MuteQuack : public QuackBehaviour { public: std::string quack() const; }; }
13.75
42
0.666667
laissezfaireisfair
1bedbfdd17c5c9da87d429603df9d057ba5a66cd
2,843
cpp
C++
Hackerrank/Contest/IIITV_STR()/palindrome_love.cpp
ritwik1503/Competitive-Coding-1
ffefe5f8b299c623af1ef01bf024af339401de0b
[ "MIT" ]
29
2016-09-02T04:48:59.000Z
2016-09-08T18:13:05.000Z
Hackerrank/Contest/IIITV_STR()/palindrome_love.cpp
ritwik1503/Competitive-Coding-1
ffefe5f8b299c623af1ef01bf024af339401de0b
[ "MIT" ]
2
2016-09-02T05:20:02.000Z
2016-10-13T06:31:31.000Z
Hackerrank/Contest/IIITV_STR()/palindrome_love.cpp
ritwik1503/Competitive-Coding-1
ffefe5f8b299c623af1ef01bf024af339401de0b
[ "MIT" ]
7
2017-04-01T20:07:03.000Z
2020-10-16T12:28:54.000Z
#include "bits/stdc++.h" using namespace std; # define s(n) scanf("%d",&n) # define sc(n) scanf("%c",&n) # define sl(n) scanf("%lld",&n) # define sf(n) scanf("%lf",&n) # define ss(n) scanf("%s",n) #define R(...
24.508621
70
0.545199
ritwik1503
1beee6b9375aa78b60825afe6ce08e2b9e610a0c
8,716
cpp
C++
src/tool/cppwinrt/test/out_params.cpp
stephenatwork/xlang
0747c3b362c02a9736b3a4ca1bd3e005b4f52279
[ "MIT" ]
1
2020-01-20T07:56:28.000Z
2020-01-20T07:56:28.000Z
test/test/out_params.cpp
shinsetsu/cppwinrt
ae0378373d2318d91448b8697a91d5b65a1fb2e5
[ "MIT" ]
null
null
null
test/test/out_params.cpp
shinsetsu/cppwinrt
ae0378373d2318d91448b8697a91d5b65a1fb2e5
[ "MIT" ]
null
null
null
#include "pch.h" #include "winrt/test_component.h" using namespace winrt; using namespace Windows::Foundation; using namespace test_component; namespace { struct Stringable : implements<Stringable, IStringable> { hstring ToString() { return L"Stringable"; } }; } TEST_C...
32.401487
124
0.564938
stephenatwork
1bf120fc2ff9cfcfe93e00048eb1e5579619dfbe
46,365
cpp
C++
packages/nextclade_cli/src/cli.cpp
bigshr/nextclade
ddffb03e851a68a8d5a7260250a54cc0657da79b
[ "MIT" ]
108
2020-09-29T14:06:08.000Z
2022-03-19T03:07:35.000Z
packages/nextclade_cli/src/cli.cpp
bigshr/nextclade
ddffb03e851a68a8d5a7260250a54cc0657da79b
[ "MIT" ]
500
2020-09-15T09:45:10.000Z
2022-03-30T04:28:38.000Z
packages/nextclade_cli/src/cli.cpp
bigshr/nextclade
ddffb03e851a68a8d5a7260250a54cc0657da79b
[ "MIT" ]
55
2020-10-13T11:40:47.000Z
2022-02-27T04:35:12.000Z
#include <fmt/format.h> #include <nextalign/nextalign.h> #include <nextclade/nextclade.h> #include <tbb/concurrent_vector.h> #include <tbb/global_control.h> #include <tbb/parallel_pipeline.h> #include <boost/algorithm/string.hpp> #include <boost/algorithm/string/join.hpp> #include <boost/algorithm/string/split.hpp> #i...
41.286732
972
0.684503
bigshr
1bf297ab1e3d6b7600df40296ff54278fe627dad
168
cpp
C++
code/Instructions/ZeroRegInstr/ZeroRegInstr.cpp
LLDevLab/LLDevCompiler
f73f13d38069ab5b571fb136e068eb06387caf4c
[ "BSD-3-Clause" ]
5
2019-10-22T18:37:43.000Z
2020-12-09T14:00:03.000Z
code/Instructions/ZeroRegInstr/ZeroRegInstr.cpp
LLDevLab/LLDevCompiler
f73f13d38069ab5b571fb136e068eb06387caf4c
[ "BSD-3-Clause" ]
1
2020-03-29T15:30:45.000Z
2020-03-29T15:30:45.000Z
code/Instructions/ZeroRegInstr/ZeroRegInstr.cpp
LLDevLab/LLDevCompiler
f73f13d38069ab5b571fb136e068eb06387caf4c
[ "BSD-3-Clause" ]
1
2019-12-23T06:51:45.000Z
2019-12-23T06:51:45.000Z
#include "ZeroRegInstr.h" ZeroRegInstr::ZeroRegInstr(token_pos pos) : Instruction(pos) { } NONTERMINALS ZeroRegInstr::GetInstructionType() { return ZERO_REG_INSTR; }
16.8
60
0.785714
LLDevLab
1bfb6e1c4a6a9dcb5a1fd46938405d9f1e114e88
6,812
cpp
C++
src/asiVisu/pipelines/asiVisu_MeshNScalarPipeline.cpp
CadQuery/AnalysisSitus
f3b379ca9158325a21e50fefba8133cab51d9cd9
[ "BSD-3-Clause" ]
3
2021-11-04T01:36:56.000Z
2022-03-10T07:11:01.000Z
src/asiVisu/pipelines/asiVisu_MeshNScalarPipeline.cpp
CadQuery/AnalysisSitus
f3b379ca9158325a21e50fefba8133cab51d9cd9
[ "BSD-3-Clause" ]
null
null
null
src/asiVisu/pipelines/asiVisu_MeshNScalarPipeline.cpp
CadQuery/AnalysisSitus
f3b379ca9158325a21e50fefba8133cab51d9cd9
[ "BSD-3-Clause" ]
1
2021-09-25T18:14:30.000Z
2021-09-25T18:14:30.000Z
//----------------------------------------------------------------------------- // Created on: 13 November 2015 //----------------------------------------------------------------------------- // Copyright (c) 2015-present, Sergey Slyadnev // All rights reserved. // // Redistribution and use in source and binary forms, ...
36.623656
105
0.653993
CadQuery
1bfbeeefd46d791cb9aacd4dcd3c9e3f22b5598d
5,236
cpp
C++
laboratory/1064/Seminar_10/Source.cpp
catalinboja/catalinboja-cpp_2020
ff1d2dc8620ff722aef151c9c823ec20f766d5b2
[ "MIT" ]
4
2020-10-13T13:37:15.000Z
2021-07-10T15:40:40.000Z
laboratory/1064/Seminar_10/Source.cpp
catalinboja/catalinboja-cpp_2020
ff1d2dc8620ff722aef151c9c823ec20f766d5b2
[ "MIT" ]
null
null
null
laboratory/1064/Seminar_10/Source.cpp
catalinboja/catalinboja-cpp_2020
ff1d2dc8620ff722aef151c9c823ec20f766d5b2
[ "MIT" ]
7
2020-10-16T08:32:42.000Z
2021-03-02T14:38:28.000Z
#include <iostream> #include <string> #include <fstream> using namespace std; class InvalidEmailException { string message = ""; public: InvalidEmailException() { } InvalidEmailException(string msg) { this->message = msg; } string getMessage() { return this->message; } }; class Util { public: static void...
22.765217
87
0.620321
catalinboja
1bfd6941b75814d644114996193a344f528e87e2
3,243
cpp
C++
test/storage/cache_revalidate.cpp
donpark/mapbox-gl-native
efa7dad89c61fe0fcc01a492e8db8e36b8f27f53
[ "BSD-2-Clause" ]
1
2015-07-01T21:59:13.000Z
2015-07-01T21:59:13.000Z
test/storage/cache_revalidate.cpp
donpark/mapbox-gl-native
efa7dad89c61fe0fcc01a492e8db8e36b8f27f53
[ "BSD-2-Clause" ]
null
null
null
test/storage/cache_revalidate.cpp
donpark/mapbox-gl-native
efa7dad89c61fe0fcc01a492e8db8e36b8f27f53
[ "BSD-2-Clause" ]
null
null
null
#include "storage.hpp" #include <uv.h> #include <mbgl/storage/default_file_source.hpp> #include <mbgl/storage/sqlite_cache.hpp> TEST_F(Storage, CacheRevalidate) { SCOPED_TEST(CacheRevalidateSame) SCOPED_TEST(CacheRevalidateModified) SCOPED_TEST(CacheRevalidateEtag) using namespace mbgl; SQLiteC...
37.275862
97
0.612704
donpark
1bfe12517e51e14adf9670811267d0c6da4d2bf8
16,774
cpp
C++
src/context.cpp
ShaderKitty/geodesuka
1578f2fe3e5a7102d2e314406c89a48132a71675
[ "MIT" ]
3
2021-08-07T15:11:35.000Z
2021-11-17T18:59:45.000Z
src/context.cpp
ShaderKitty/geodesuka
1578f2fe3e5a7102d2e314406c89a48132a71675
[ "MIT" ]
null
null
null
src/context.cpp
ShaderKitty/geodesuka
1578f2fe3e5a7102d2e314406c89a48132a71675
[ "MIT" ]
null
null
null
#include <geodesuka/engine.h> #include <geodesuka/core/gcl/context.h> #include <cstdlib> #include <climits> #include <GLFW/glfw3.h> namespace geodesuka::core::gcl { context::context(engine* aEngine, device* aDevice, uint32_t aExtensionCount, const char** aExtensionList) { // List of operations. // Check for s...
31.768939
182
0.670442
ShaderKitty
4001eb3c7bd2196ab1f7e6840bcae7bf762de7e6
587
cpp
C++
VGP242/02_HelloDirectX/TestState.cpp
TheJimmyGod/JimmyGod_Engine
b9752c6fbd9db17dc23f03330b5e4537bdcadf8e
[ "MIT" ]
null
null
null
VGP242/02_HelloDirectX/TestState.cpp
TheJimmyGod/JimmyGod_Engine
b9752c6fbd9db17dc23f03330b5e4537bdcadf8e
[ "MIT" ]
null
null
null
VGP242/02_HelloDirectX/TestState.cpp
TheJimmyGod/JimmyGod_Engine
b9752c6fbd9db17dc23f03330b5e4537bdcadf8e
[ "MIT" ]
null
null
null
#include "TestState.h" using namespace JimmyGod::Input; using namespace JimmyGod::Graphics; void RedState::Initialize() { GraphicsSystem::Get()->SetClearColor(Colors::Red); } void RedState::Update(float deltaTime) { if (InputSystem::Get()->IsKeyPressed(KeyCode::SPACE)) JimmyGod::MainApp().ChangeSt...
20.964286
55
0.701874
TheJimmyGod
400357caa5cc97dc4d72de2eb2724fffb0c1ae0e
1,857
cpp
C++
dev/Gems/PythonAssetBuilder/Code/Source/PythonBuilderMessageSink.cpp
brianherrera/lumberyard
f85344403c1c2e77ec8c75deb2c116e97b713217
[ "AML" ]
1,738
2017-09-21T10:59:12.000Z
2022-03-31T21:05:46.000Z
dev/Gems/PythonAssetBuilder/Code/Source/PythonBuilderMessageSink.cpp
ArchitectureStudios/lumberyard
f85344403c1c2e77ec8c75deb2c116e97b713217
[ "AML" ]
427
2017-09-29T22:54:36.000Z
2022-02-15T19:26:50.000Z
dev/Gems/PythonAssetBuilder/Code/Source/PythonBuilderMessageSink.cpp
ArchitectureStudios/lumberyard
f85344403c1c2e77ec8c75deb2c116e97b713217
[ "AML" ]
671
2017-09-21T08:04:01.000Z
2022-03-29T14:30:07.000Z
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license belo...
34.388889
127
0.692515
brianherrera
4006e199b952cc9f344a2d5ba1ae31e1c8f437a3
34,885
cpp
C++
libsyndicate/driver.cpp
jcnelson/syndicate
4837265be3e0aa18cdf4ee50316dbfc2d1f06e5b
[ "Apache-2.0" ]
16
2015-01-02T15:39:04.000Z
2016-03-17T06:38:46.000Z
libsyndicate/driver.cpp
jcnelson/syndicate
4837265be3e0aa18cdf4ee50316dbfc2d1f06e5b
[ "Apache-2.0" ]
37
2015-01-28T20:58:05.000Z
2016-03-22T04:01:32.000Z
libsyndicate/driver.cpp
jcnelson/syndicate
4837265be3e0aa18cdf4ee50316dbfc2d1f06e5b
[ "Apache-2.0" ]
8
2015-04-08T02:26:03.000Z
2016-03-04T05:56:24.000Z
/* Copyright 2015 The Trustees of Princeton University 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...
27.533544
193
0.598882
jcnelson
40097bbe2ad5f27fcbf7571e80c39d1b31db7630
3,628
cpp
C++
src/DetectorConstruction.cpp
tgblackburn/dreamt
71adf27ad276dc1c949831c28a510c256b18e86c
[ "MIT" ]
1
2021-02-08T12:37:59.000Z
2021-02-08T12:37:59.000Z
src/DetectorConstruction.cpp
tgblackburn/dreamt
71adf27ad276dc1c949831c28a510c256b18e86c
[ "MIT" ]
null
null
null
src/DetectorConstruction.cpp
tgblackburn/dreamt
71adf27ad276dc1c949831c28a510c256b18e86c
[ "MIT" ]
null
null
null
#include <DetectorConstruction.hpp> #include <G4NistManager.hh> #include <G4Material.hh> #include <G4Box.hh> #include <G4LogicalVolume.hh> #include <G4VPhysicalVolume.hh> #include <G4PVPlacement.hh> using namespace CLHEP; static G4Material *PPMI (void); DetectorConstruction::DetectorConstruction (const G4String &ma...
27.694656
116
0.615215
tgblackburn
400cafb29de8d2ada3448fc4330c922ab0c3c713
1,747
cpp
C++
llvm-project/clang/test/Parser/pragma-fp.cpp
AgesX/llvm
841024dce9c0263f302491b5c27fa0df6ef222df
[ "MIT" ]
305
2019-09-14T17:16:05.000Z
2022-03-31T15:05:20.000Z
llvm-project/clang/test/Parser/pragma-fp.cpp
AgesX/llvm
841024dce9c0263f302491b5c27fa0df6ef222df
[ "MIT" ]
11
2019-10-17T21:11:52.000Z
2022-02-17T20:10:00.000Z
llvm-project/clang/test/Parser/pragma-fp.cpp
AgesX/llvm
841024dce9c0263f302491b5c27fa0df6ef222df
[ "MIT" ]
24
2019-10-03T11:22:11.000Z
2022-01-25T09:59:30.000Z
// RUN: %clang_cc1 -std=c++11 -verify %s void test_0(int *List, int Length) { /* expected-error@+1 {{missing option; expected 'contract' or 'reassociate'}} */ #pragma clang fp for (int i = 0; i < Length; i++) { List[i] = i; } } void test_1(int *List, int Length) { /* expected-error@+1 {{invalid option 'blah'; ...
26.876923
120
0.599886
AgesX
400f599213347756100576bd82cf44058f69d32c
2,567
cpp
C++
src/math/perlin.cpp
minalear/Kingdom
b4f7f235d37764ffa0ba6d1a42a7d7b9b1f83d5a
[ "MIT" ]
null
null
null
src/math/perlin.cpp
minalear/Kingdom
b4f7f235d37764ffa0ba6d1a42a7d7b9b1f83d5a
[ "MIT" ]
null
null
null
src/math/perlin.cpp
minalear/Kingdom
b4f7f235d37764ffa0ba6d1a42a7d7b9b1f83d5a
[ "MIT" ]
null
null
null
#include "perlin.h" #include <cmath> #include <random> #include <algorithm> #include <numeric> #include "func.h" Perlin::Perlin() { // initalize permutation vector p = { 151,160,137,91,90,15,131,13,201,95,96,53,194,233,7,225,140,36,103,30,69,142, 8,99,37,240,21,10,23,190, 6,148,247,120,234,75,0,26,197,...
34.226667
284
0.574211
minalear
401171c9a255897b243d6e2816efd5b19a918089
3,500
cpp
C++
tests/class/methods.test.cpp
pshoben/reflang
bf3532bbd8e18d43ac538d44d13c37ee6fbc6a35
[ "MIT" ]
263
2016-12-31T22:17:16.000Z
2022-03-25T06:28:27.000Z
tests/class/methods.test.cpp
pshoben/reflang
bf3532bbd8e18d43ac538d44d13c37ee6fbc6a35
[ "MIT" ]
2
2018-04-06T15:09:38.000Z
2022-03-21T07:23:51.000Z
tests/class/methods.test.cpp
pshoben/reflang
bf3532bbd8e18d43ac538d44d13c37ee6fbc6a35
[ "MIT" ]
27
2017-01-01T00:06:43.000Z
2022-01-10T14:32:33.000Z
#include "methods.src.hpp" #include "methods.gen.hpp" #define CATCH_CONFIG_MAIN #include "tests/catch.hpp" using namespace reflang; using namespace std; // MyClass method implementations int global_int = 0; void MyClass::Method0() { ++global_int; } void MyClass::Method1(bool b, int i) { if (b) { global_int = i; ...
24.137931
102
0.705143
pshoben
40155b03f24c2a388f9880b5d5b236795592c817
3,508
hpp
C++
src/Elliptic/BoundaryConditions/Tags/BoundaryFields.hpp
nilsvu/spectre
1455b9a8d7e92db8ad600c66f54795c29c3052ee
[ "MIT" ]
117
2017-04-08T22:52:48.000Z
2022-03-25T07:23:36.000Z
src/Elliptic/BoundaryConditions/Tags/BoundaryFields.hpp
GitHimanshuc/spectre
4de4033ba36547113293fe4dbdd77591485a4aee
[ "MIT" ]
3,177
2017-04-07T21:10:18.000Z
2022-03-31T23:55:59.000Z
src/Elliptic/BoundaryConditions/Tags/BoundaryFields.hpp
geoffrey4444/spectre
9350d61830b360e2d5b273fdd176dcc841dbefb0
[ "MIT" ]
85
2017-04-07T19:36:13.000Z
2022-03-01T10:21:00.000Z
// Distributed under the MIT License. // See LICENSE.txt for details. #pragma once #include <cstddef> #include "DataStructures/DataBox/PrefixHelpers.hpp" #include "DataStructures/DataBox/Prefixes.hpp" #include "DataStructures/DataBox/Tag.hpp" #include "DataStructures/DataVector.hpp" #include "DataStructures/SliceVar...
42.26506
80
0.673318
nilsvu
401709d78f3a7cf5b0e3b10491de5b83609989a1
20,580
cpp
C++
src/webots/editor/WbTextEditor.cpp
victorhu3/webots
60d173850f0b4714c500db004e69f2df8cfb9e8a
[ "Apache-2.0" ]
1
2020-09-28T08:34:32.000Z
2020-09-28T08:34:32.000Z
src/webots/editor/WbTextEditor.cpp
victorhu3/webots
60d173850f0b4714c500db004e69f2df8cfb9e8a
[ "Apache-2.0" ]
2
2020-05-18T12:49:14.000Z
2020-12-01T15:13:43.000Z
src/webots/editor/WbTextEditor.cpp
victorhu3/webots
60d173850f0b4714c500db004e69f2df8cfb9e8a
[ "Apache-2.0" ]
1
2022-02-25T12:34:18.000Z
2022-02-25T12:34:18.000Z
// Copyright 1996-2020 Cyberbotics 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 applicable law or agr...
31.276596
127
0.714723
victorhu3
40199d1578252878431d6e1524ed70d951155d49
4,359
cpp
C++
yellow/w2_02_01_func_test.cpp
avptin/coursera-c-plus-plus
18146f023998a073ee8e34315789d049b7fa0d7c
[ "MIT" ]
null
null
null
yellow/w2_02_01_func_test.cpp
avptin/coursera-c-plus-plus
18146f023998a073ee8e34315789d049b7fa0d7c
[ "MIT" ]
null
null
null
yellow/w2_02_01_func_test.cpp
avptin/coursera-c-plus-plus
18146f023998a073ee8e34315789d049b7fa0d7c
[ "MIT" ]
null
null
null
#include <iostream> #include <map> #include <set> #include <sstream> #include <stdexcept> #include <string> #include <vector> using namespace std; template <class T> ostream& operator<<(ostream& os, const vector<T>& s) { os << "{"; bool first = true; for (const auto& x : s) { if (!first) { os << ", ";...
25.196532
75
0.523056
avptin
401c69831c8bcc90efbd102bd8ad4130c6dc0e6f
751
cpp
C++
Source/CurlFunctions.cpp
Mizugola/MeltingSagaUpdater
b9ebd8b4db39574526fff2703077ee4f76e9a65d
[ "MIT" ]
null
null
null
Source/CurlFunctions.cpp
Mizugola/MeltingSagaUpdater
b9ebd8b4db39574526fff2703077ee4f76e9a65d
[ "MIT" ]
null
null
null
Source/CurlFunctions.cpp
Mizugola/MeltingSagaUpdater
b9ebd8b4db39574526fff2703077ee4f76e9a65d
[ "MIT" ]
null
null
null
#include "CurlFunctions.hpp" namespace fn { namespace Curl { size_t write_data(void * ptr, size_t size, size_t nmemb, FILE * stream) { size_t written = fwrite(ptr, size, nmemb, stream); return written; } void downloadFile(const std::string& link, const std::string& file) { CURL *curl; FILE *fp...
22.757576
73
0.667111
Mizugola
401cbd8ebf8b328b95d6358951d0f90c6c27305d
310
cpp
C++
2-Structural/08.Composite/src/Composite/Add.cpp
gfa99/gof_design_patterns
a33ee7f344f8e382bb9fc676b77b22a5a123bca0
[ "Apache-2.0" ]
21
2017-11-08T11:32:48.000Z
2021-03-29T08:58:04.000Z
2-Structural/08.Composite/src/Composite/Add.cpp
gfa99/gof_design_patterns
a33ee7f344f8e382bb9fc676b77b22a5a123bca0
[ "Apache-2.0" ]
null
null
null
2-Structural/08.Composite/src/Composite/Add.cpp
gfa99/gof_design_patterns
a33ee7f344f8e382bb9fc676b77b22a5a123bca0
[ "Apache-2.0" ]
8
2017-11-26T13:57:50.000Z
2021-08-23T06:52:57.000Z
#include "Composite/Add.h" namespace GoF { namespace Composite { Add::Add(IOperand * left, IOperand * right) : Expression(left, right) { } double Add::calculate() { return leftOperand->calculate() + rightOperand->calculate(); } } }
16.315789
72
0.532258
gfa99
401e7eb777810b37ec4e0b40ce29181b149c08eb
9,504
cpp
C++
GTE/Samples/Graphics/BlendedTerrain/BlendedTerrainWindow3.cpp
lakinwecker/GeometricTools
cff3e3fcb52d714afe0b6789839c460437c10b27
[ "BSL-1.0" ]
null
null
null
GTE/Samples/Graphics/BlendedTerrain/BlendedTerrainWindow3.cpp
lakinwecker/GeometricTools
cff3e3fcb52d714afe0b6789839c460437c10b27
[ "BSL-1.0" ]
1
2022-03-18T00:34:13.000Z
2022-03-18T00:34:13.000Z
GTE/Samples/Graphics/BlendedTerrain/BlendedTerrainWindow3.cpp
lakinwecker/GeometricTools
cff3e3fcb52d714afe0b6789839c460437c10b27
[ "BSL-1.0" ]
1
2022-03-17T21:54:55.000Z
2022-03-17T21:54:55.000Z
// David Eberly, Geometric Tools, Redmond WA 98052 // Copyright (c) 1998-2022 // Distributed under the Boost Software License, Version 1.0. // https://www.boost.org/LICENSE_1_0.txt // https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // Version: 6.0.2022.01.06 #include "BlendedTerrainWindow3.h" #include <Ap...
30.658065
101
0.622475
lakinwecker
402112e3986c735b4885a7824a3e0496331b9cbc
825
cpp
C++
demos/tutorial/alphabets/assignment_1_solution.cpp
JensUweUlrich/seqan
fa609a123d3dc5d8166c12f6849281813438dd39
[ "BSD-3-Clause" ]
409
2015-01-12T22:02:01.000Z
2022-03-29T06:17:05.000Z
demos/tutorial/alphabets/assignment_1_solution.cpp
JensUweUlrich/seqan
fa609a123d3dc5d8166c12f6849281813438dd39
[ "BSD-3-Clause" ]
1,269
2015-01-02T22:42:25.000Z
2022-03-08T13:31:46.000Z
demos/tutorial/alphabets/assignment_1_solution.cpp
JensUweUlrich/seqan
fa609a123d3dc5d8166c12f6849281813438dd39
[ "BSD-3-Clause" ]
193
2015-01-14T16:21:27.000Z
2022-03-19T22:47:02.000Z
#include <seqan/sequence.h> #include <seqan/basic.h> #include <iostream> using namespace seqan; // We define a function which takes // the alphabet type as an argument template <typename TAlphabet> void showAllLettersOfMyAlphabet(TAlphabet const &) { typedef typename ValueSize<TAlphabet>::Type TSize; // We ne...
26.612903
77
0.686061
JensUweUlrich
402154859b3dee824f2c145cb39ecaedd54458b8
5,031
cc
C++
src/browser/util/renderer_preferences_util.cc
spolu/exo_browser_save
d1ef13f2735405154b6c2e56db829e81effe6ed1
[ "MIT" ]
7
2015-02-01T05:07:20.000Z
2017-09-12T07:55:40.000Z
src/browser/util/renderer_preferences_util.cc
spolu/exo_browser_save
d1ef13f2735405154b6c2e56db829e81effe6ed1
[ "MIT" ]
null
null
null
src/browser/util/renderer_preferences_util.cc
spolu/exo_browser_save
d1ef13f2735405154b6c2e56db829e81effe6ed1
[ "MIT" ]
null
null
null
// Copyright (c) 2014 Stanislas Polu. // Copyright (c) 2012 The Chromium Authors. // See the LICENSE file. #include "exo_browser/src/browser/util/renderer_preferences_util.h" #include "base/prefs/pref_service.h" #include "content/public/common/renderer_preferences.h" #include "third_party/skia/include/core/SkColor.h"...
35.680851
80
0.77738
spolu
40218141af0f7035e669f3a22d1ab9faa558bfa3
821
hpp
C++
third-party/include/tao/json/jaxn/is_identifier.hpp
ludchieng/IMAC-Lihowar
e5f551ab9958fa7d8fa4cbe07d0aa3555842b4fb
[ "BSL-1.0", "Apache-2.0", "MIT-0", "MIT" ]
2
2020-03-09T06:24:46.000Z
2022-02-04T23:09:23.000Z
third-party/include/tao/json/jaxn/is_identifier.hpp
ludchieng/IMAC-Lihowar
e5f551ab9958fa7d8fa4cbe07d0aa3555842b4fb
[ "BSL-1.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
third-party/include/tao/json/jaxn/is_identifier.hpp
ludchieng/IMAC-Lihowar
e5f551ab9958fa7d8fa4cbe07d0aa3555842b4fb
[ "BSL-1.0", "Apache-2.0", "MIT-0", "MIT" ]
2
2020-09-07T03:04:36.000Z
2022-02-04T23:09:24.000Z
// Copyright (c) 2017-2018 Dr. Colin Hirsch and Daniel Frey // Please see LICENSE for license or visit https://github.com/taocpp/json/ #ifndef TAO_JSON_JAXN_IS_IDENTIFIER_HPP #define TAO_JSON_JAXN_IS_IDENTIFIER_HPP #include <cctype> #include "../external/string_view.hpp" namespace tao { namespace json { ...
22.189189
74
0.538368
ludchieng
4023760fa55783ed4c72fceb095545d788e03167
1,774
cpp
C++
CMDResponse/TestMain.cpp
ahidaka/CMDResponse
939c28717f277aff1fb8894c9713e9ec9b8035b4
[ "MIT" ]
null
null
null
CMDResponse/TestMain.cpp
ahidaka/CMDResponse
939c28717f277aff1fb8894c9713e9ec9b8035b4
[ "MIT" ]
null
null
null
CMDResponse/TestMain.cpp
ahidaka/CMDResponse
939c28717f277aff1fb8894c9713e9ec9b8035b4
[ "MIT" ]
null
null
null
#include <stdio.h> #include <tchar.h> #include <windows.h> // // Defines // #define BUFFER_SIZE (4 * 1024 * 1024) // 4MB #define COMMAND_TIMEOUT (100) //dwMilliseconds DWORD CMDResponse(PCTSTR* cmdline, PSTR buf, DWORD size, DWORD timeout); // // Test Main // INT _tmain ( INT argc, _TCHAR* argv[] ) { HANDLE ...
18.479167
74
0.543405
ahidaka
402729069d1c25e64a45384682bf48eb1bfb83bf
4,076
hpp
C++
src/main/include/control/ElevatorController.hpp
MattSa952073/PubSubLub
a20bd82d72f3d5a1599234d638afd578259f3553
[ "BSD-2-Clause" ]
null
null
null
src/main/include/control/ElevatorController.hpp
MattSa952073/PubSubLub
a20bd82d72f3d5a1599234d638afd578259f3553
[ "BSD-2-Clause" ]
null
null
null
src/main/include/control/ElevatorController.hpp
MattSa952073/PubSubLub
a20bd82d72f3d5a1599234d638afd578259f3553
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) 2018-2019 FRC Team 3512. All Rights Reserved. #pragma once #include <Eigen/Core> #include <frc/controller/StateSpaceController.h> #include <frc/controller/StateSpaceObserver.h> #include <frc/controller/StateSpacePlant.h> #include "Constants.hpp" #include "control/ElevatorClimbCoeffs.hpp" #include "c...
27.355705
79
0.660206
MattSa952073
402c7528f4e2867bc6b8aec754a50a192888704d
251
cpp
C++
unit_test/comma.cpp
jhasse/coffeepp
35b18e200641847f7756bdb6d9a146238d6d385c
[ "Zlib" ]
30
2015-09-22T13:12:40.000Z
2022-01-10T09:25:56.000Z
unit_test/comma.cpp
jhasse/coffeepp
35b18e200641847f7756bdb6d9a146238d6d385c
[ "Zlib" ]
6
2017-07-22T00:28:11.000Z
2019-05-08T21:17:19.000Z
unit_test/comma.cpp
jhasse/coffeepp
35b18e200641847f7756bdb6d9a146238d6d385c
[ "Zlib" ]
3
2017-07-21T20:12:25.000Z
2019-10-08T17:21:33.000Z
#include "check.hpp" BOOST_AUTO_TEST_CASE(CommaTest) { checkCompiler("Comma.cf++", R"(include cstdio int main(): printf("foo",) )", R"(#pragma once int main(); )", R"(#include "Comma.hpp" #include <cstdio> int main() { printf("foo"); } )"); }
12.55
46
0.625498
jhasse
402c90a52d070ea28b238e903f82e1a2d75acb51
4,900
cpp
C++
qtparallelogram.cpp
tilast/courseWork
e6e76a46c0525f9c8425fda59b30107b709d8e92
[ "MIT" ]
4
2018-03-09T10:18:14.000Z
2020-11-14T08:07:39.000Z
qtparallelogram.cpp
tilast/courseWork
e6e76a46c0525f9c8425fda59b30107b709d8e92
[ "MIT" ]
1
2016-12-06T06:54:27.000Z
2016-12-06T06:54:27.000Z
qtparallelogram.cpp
tilast/courseWork
e6e76a46c0525f9c8425fda59b30107b709d8e92
[ "MIT" ]
2
2016-11-23T10:41:25.000Z
2021-12-09T16:28:55.000Z
#include "qtparallelogram.h" #include <QDebug> QtParallelogram::QtParallelogram(const Point2D& p1, const Point2D& p2, const float& cp) : Parallelogram(p1, p2, cp) { } QtParallelogram::QtParallelogram(const Point2D& p1, const Point2D& p2) : Parallelogram(p1, p2) { setControlPoint(25.); } void QtParallelogram::dr...
30.06135
130
0.650612
tilast
402f907031fdda19e0020db380671f24e02b0515
13,673
cpp
C++
demos/multichannel_face_detection/main.cpp
mypopydev/open_model_zoo
e238a1ac6bfacf133be223dd9debade7bfcf7dc5
[ "Apache-2.0" ]
12
2019-02-09T02:01:12.000Z
2022-03-11T09:34:56.000Z
demos/multichannel_face_detection/main.cpp
mypopydev/open_model_zoo
e238a1ac6bfacf133be223dd9debade7bfcf7dc5
[ "Apache-2.0" ]
null
null
null
demos/multichannel_face_detection/main.cpp
mypopydev/open_model_zoo
e238a1ac6bfacf133be223dd9debade7bfcf7dc5
[ "Apache-2.0" ]
6
2019-04-09T03:59:40.000Z
2021-06-02T06:32:15.000Z
/* // Copyright (c) 2018 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
37.460274
159
0.525196
mypopydev
403247304ccdf8d64e3b9eab32551817bba28c6b
356
cpp
C++
CodeForces-Contest/155/A.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
1
2022-01-23T07:18:07.000Z
2022-01-23T07:18:07.000Z
CodeForces-Contest/155/A.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
null
null
null
CodeForces-Contest/155/A.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
1
2022-02-05T11:53:04.000Z
2022-02-05T11:53:04.000Z
#include <iostream> using namespace std; int main() { int n,a; cin>>n>>a; int min = a, max = a, ans = 0; for(int i = 1; i<n; i++){ int num; cin>>num; if(num>max){ ans++; max = num; } if(num<min){ ans++; min = num; ...
17.8
34
0.370787
Tech-Intellegent
40332982e39299e23497c74992500aea4d87277e
1,185
cpp
C++
leetcode/Algorithms/valid-parentheses.cpp
Doarakko/competitive-programming
5ae78c501664af08a3f16c81dbd54c68310adec8
[ "MIT" ]
1
2017-07-11T16:47:29.000Z
2017-07-11T16:47:29.000Z
leetcode/Algorithms/valid-parentheses.cpp
Doarakko/Competitive-Programming
10642a4bd7266c828dd2fc6e311284e86bdf2968
[ "MIT" ]
1
2021-02-07T09:10:26.000Z
2021-02-07T09:10:26.000Z
leetcode/Algorithms/valid-parentheses.cpp
Doarakko/Competitive-Programming
10642a4bd7266c828dd2fc6e311284e86bdf2968
[ "MIT" ]
null
null
null
class Solution { public: bool isValid(string s) { stack<char> v; for (int i = 0; i < s.length(); i++) { switch (s[i]) { case '(': case '[': case '{': v.push(s[i]); break; case ']': ...
21.944444
52
0.206751
Doarakko
403551d98ffbfdc5f494910a4346be0ff61501c8
418
hpp
C++
src/SivComponent/Utils.hpp
mak1a/SivComponent
1043cde67a5dc14f2d4e0128aecfee7f54ed7002
[ "MIT" ]
1
2021-01-24T08:55:59.000Z
2021-01-24T08:55:59.000Z
src/SivComponent/Utils.hpp
mak1a/SivComponent
1043cde67a5dc14f2d4e0128aecfee7f54ed7002
[ "MIT" ]
2
2021-01-24T06:12:12.000Z
2021-01-24T14:37:10.000Z
src/SivComponent/Utils.hpp
mak1a/SivComponent
1043cde67a5dc14f2d4e0128aecfee7f54ed7002
[ "MIT" ]
null
null
null
#pragma once #define NO_USING_S3D #include <Siv3D.hpp> #include "../ComponentEngine/ComponentEngine.hpp" namespace ComponentEngine::Siv { class MouseChase : public ComponentEngine::AttachableComponent { void Start() override {} void Update() override { this->gameobject.lo...
22
74
0.65311
mak1a
403613f942362c3e6a0ff07194ef8f2c119f0adb
20,573
cpp
C++
DGPortImpl.cpp
yoann01/SpliceAPI
d1fabdb296ffcdbaddf31a00993e97dea7db114e
[ "BSD-3-Clause" ]
null
null
null
DGPortImpl.cpp
yoann01/SpliceAPI
d1fabdb296ffcdbaddf31a00993e97dea7db114e
[ "BSD-3-Clause" ]
null
null
null
DGPortImpl.cpp
yoann01/SpliceAPI
d1fabdb296ffcdbaddf31a00993e97dea7db114e
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2010-2017 Fabric Software Inc. All rights reserved. #include "DGPortImpl.h" #include "SceneManagementImpl.h" using namespace FabricSpliceImpl; DGPortImpl::DGPortImpl( DGGraphImplPtr graph, const std::string & name, const std::string & member, FabricCore::DGNode dgNode, const std::string...
29.902616
128
0.696593
yoann01
40387aae864c8cca2621ee11224839ee155a0ffa
93,724
cpp
C++
selfdrive/locationd/models/generated/live.cpp
lth1436/nirotest
390b8d92493ff50827eaa1987bac07101d257dd9
[ "MIT" ]
null
null
null
selfdrive/locationd/models/generated/live.cpp
lth1436/nirotest
390b8d92493ff50827eaa1987bac07101d257dd9
[ "MIT" ]
null
null
null
selfdrive/locationd/models/generated/live.cpp
lth1436/nirotest
390b8d92493ff50827eaa1987bac07101d257dd9
[ "MIT" ]
null
null
null
extern "C" { #include <math.h> /****************************************************************************** * Code generated with sympy 1.4 * * * * See http://www.sympy.org/ for mor...
46.582505
673
0.686761
lth1436
4039979957516c4bc1245e7b61baf93ccd66128f
964
cpp
C++
Interviewbit/TwoPointers/intersection_of_sorted_arrays.cpp
nullpointxr/HackerRankSolutions
052c9ab66bfd66268b81d8e7888c3d7504ab988f
[ "Apache-2.0" ]
1
2020-10-25T16:12:09.000Z
2020-10-25T16:12:09.000Z
Interviewbit/TwoPointers/intersection_of_sorted_arrays.cpp
abhishek-sankar/Competitive-Coding-Solutions
052c9ab66bfd66268b81d8e7888c3d7504ab988f
[ "Apache-2.0" ]
3
2020-11-12T05:44:24.000Z
2021-04-05T08:09:01.000Z
Interviewbit/TwoPointers/intersection_of_sorted_arrays.cpp
nullpointxr/HackerRankSolutions
052c9ab66bfd66268b81d8e7888c3d7504ab988f
[ "Apache-2.0" ]
null
null
null
/* https://www.interviewbit.com/problems/intersection-of-sorted-arrays/ Intersection Of Sorted Arrays Asked in: Facebook, Google Find the intersection of two sorted arrays. OR in other words, Given 2 sorted arrays, find all the elements which occur in both the arrays. Example : Input : A : [1 2 3 3 4 5 6] B ...
26.054054
199
0.5861
nullpointxr
403b0985825ec36e65acb9daa3cf989bcbea581a
8,779
hpp
C++
applications/ConstitutiveModelsApplication/custom_models/plasticity_models/v2_gens_nova_model.hpp
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
778
2017-01-27T16:29:17.000Z
2022-03-30T03:01:51.000Z
applications/ConstitutiveModelsApplication/custom_models/plasticity_models/v2_gens_nova_model.hpp
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
6,634
2017-01-15T22:56:13.000Z
2022-03-31T15:03:36.000Z
applications/ConstitutiveModelsApplication/custom_models/plasticity_models/v2_gens_nova_model.hpp
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
224
2017-02-07T14:12:49.000Z
2022-03-06T23:09:34.000Z
// // Project Name: KratosConstitutiveModelsApplication $ // Created by: $Author: LMonforte $ // Last modified by: $Co-Author: MCiantia $ // Date: $Date: July 2018 $ // Revision: $Revision: 0.0...
25.594752
159
0.536166
lkusch
403ff2e3015c718a5d5239b0c203464b263dea44
1,550
cpp
C++
vkconfig_core/layer_state.cpp
dorian-apanel-intel/VulkanTools
ff6d769f160def2176d6325d8bbee78215ea3c09
[ "Apache-2.0" ]
579
2016-02-16T14:24:33.000Z
2022-03-30T01:15:29.000Z
vkconfig_core/layer_state.cpp
dorian-apanel-intel/VulkanTools
ff6d769f160def2176d6325d8bbee78215ea3c09
[ "Apache-2.0" ]
1,064
2016-02-18T00:27:10.000Z
2022-03-31T18:17:08.000Z
vkconfig_core/layer_state.cpp
dorian-apanel-intel/VulkanTools
ff6d769f160def2176d6325d8bbee78215ea3c09
[ "Apache-2.0" ]
200
2016-02-16T19:57:40.000Z
2022-03-10T22:30:59.000Z
/* * Copyright (c) 2020-2021 Valve Corporation * Copyright (c) 2020-2021 LunarG, 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...
32.291667
126
0.689032
dorian-apanel-intel
4043aa0a05715467a56bc3de351a54e62952f628
3,855
cpp
C++
WaveletTree/WaveletTree/WaveletNode.cpp
Vaan5/Bioinformatics---Construction-of-a-binary-wavelet-tree-using-RRR-structure
12b8c0a293d521204c97580a6b0ab2654bffac8b
[ "MIT" ]
null
null
null
WaveletTree/WaveletTree/WaveletNode.cpp
Vaan5/Bioinformatics---Construction-of-a-binary-wavelet-tree-using-RRR-structure
12b8c0a293d521204c97580a6b0ab2654bffac8b
[ "MIT" ]
null
null
null
WaveletTree/WaveletTree/WaveletNode.cpp
Vaan5/Bioinformatics---Construction-of-a-binary-wavelet-tree-using-RRR-structure
12b8c0a293d521204c97580a6b0ab2654bffac8b
[ "MIT" ]
4
2016-07-24T18:23:06.000Z
2019-04-11T12:37:22.000Z
#include "WaveletNode.h" // Returns left child node WaveletNode* WaveletNode::getLeftChild() const { return this->leftChild; } // Returns right child node WaveletNode* WaveletNode::getRightChild() const { return this->rightChild; } // Returns parent node WaveletNode* WaveletNode::getParent() const { return this->...
31.341463
233
0.71284
Vaan5
404410bd6dc6abf63b3b42e414528648ce06d498
7,157
cpp
C++
Source/ChilliSource/Rendering/Particles/ParticleComponent.cpp
mclaughlinhugh4/ChilliSource
bfd86242b28125371804ef35ee512a3908763795
[ "MIT" ]
1
2015-05-08T14:29:03.000Z
2015-05-08T14:29:03.000Z
Source/ChilliSource/Rendering/Particles/ParticleComponent.cpp
mclaughlinhugh4/ChilliSource
bfd86242b28125371804ef35ee512a3908763795
[ "MIT" ]
null
null
null
Source/ChilliSource/Rendering/Particles/ParticleComponent.cpp
mclaughlinhugh4/ChilliSource
bfd86242b28125371804ef35ee512a3908763795
[ "MIT" ]
null
null
null
// // ParticleComponent.cpp // Chilli Source // Created by Scott Downie on 07/01/2011. // // The MIT License (MIT) // // Copyright (c) 2011 Tag Games Limited // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"),...
36.329949
120
0.467235
mclaughlinhugh4
4048c247364a45f2e4e348bdb1c93cac1b919d6b
12,497
cpp
C++
src/tdme/tools/shared/controller/EntityBaseSubScreenController.cpp
mahula/tdme2
0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64
[ "BSD-3-Clause" ]
null
null
null
src/tdme/tools/shared/controller/EntityBaseSubScreenController.cpp
mahula/tdme2
0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64
[ "BSD-3-Clause" ]
null
null
null
src/tdme/tools/shared/controller/EntityBaseSubScreenController.cpp
mahula/tdme2
0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64
[ "BSD-3-Clause" ]
null
null
null
#include <tdme/tools/shared/controller/EntityBaseSubScreenController.h> #include <map> #include <string> #include <vector> #include <tdme/gui/GUIParser.h> #include <tdme/gui/events/Action.h> #include <tdme/gui/events/GUIActionListener_Type.h> #include <tdme/gui/nodes/GUIElementNode.h> #include <tdme/gui/nodes/GUINode...
43.242215
174
0.780427
mahula
404edbd4d2e23e6b8928d59b59bff36c9954a535
39,012
cpp
C++
base/Windows/mkasm/mkasm.cpp
sphinxlogic/Singularity-RDK-2.0
2968c3b920a5383f7360e3e489aa772f964a7c42
[ "MIT" ]
null
null
null
base/Windows/mkasm/mkasm.cpp
sphinxlogic/Singularity-RDK-2.0
2968c3b920a5383f7360e3e489aa772f964a7c42
[ "MIT" ]
null
null
null
base/Windows/mkasm/mkasm.cpp
sphinxlogic/Singularity-RDK-2.0
2968c3b920a5383f7360e3e489aa772f964a7c42
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////////////// // // Microsoft Research // Copyright (C) Microsoft Corporation // // File: mkasm.cpp // // Contents: Converts binary files into .asm or .cs files. // #include <stdlib.h> #include <stdio.h> #include <stddef.h> #includ...
30.839526
108
0.442069
sphinxlogic
40512a04b2c36385e8cac51dd37f45aaccd077f2
7,659
cpp
C++
source/tools/Utils/attachLauncher_unix.cpp
NVSL/CSE141pp-Tool-Moneta-Pin
d1f7a1e2aa5ac724cc64fa65f30b1e424a4ad839
[ "Intel" ]
17
2021-07-10T13:22:26.000Z
2022-02-09T20:11:39.000Z
source/tools/Utils/attachLauncher_unix.cpp
NVSL/CSE141pp-Tool-Moneta-Pin
d1f7a1e2aa5ac724cc64fa65f30b1e424a4ad839
[ "Intel" ]
4
2021-08-18T14:07:24.000Z
2022-01-24T16:38:06.000Z
source/tools/Utils/attachLauncher_unix.cpp
NVSL/CSE141pp-Tool-Moneta-Pin
d1f7a1e2aa5ac724cc64fa65f30b1e424a4ad839
[ "Intel" ]
2
2021-08-03T10:56:16.000Z
2022-01-31T12:10:56.000Z
/*BEGIN_LEGAL Intel Open Source License Copyright (c) 2002-2015 Intel 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 source code must retain the above copyright noti...
30.883065
120
0.629456
NVSL
405396e66314ec1ed90f2cb15bc897c67975492d
149
cpp
C++
src/rigidbody_contact.cpp
robdan7/Impact
75dfce522b569bbd2f4dfb549aa78d2196c8e793
[ "MIT" ]
null
null
null
src/rigidbody_contact.cpp
robdan7/Impact
75dfce522b569bbd2f4dfb549aa78d2196c8e793
[ "MIT" ]
null
null
null
src/rigidbody_contact.cpp
robdan7/Impact
75dfce522b569bbd2f4dfb549aa78d2196c8e793
[ "MIT" ]
null
null
null
// // Created by Robin on 2021-05-31. // #include "rigidbody_contact.h" namespace Impact { void Rigidbody_contact::resolve_impulse() { } }
13.545455
47
0.671141
robdan7
4053dab3cc966705393d1a380ea57d96ef730e04
10,505
cpp
C++
Core/Src/usb/usb.cpp
shima-529/BareMetalUSB_STM32F042
887b2bc9d377bf17ce7585efd0c954f5d285fbef
[ "MIT" ]
1
2021-05-21T02:53:37.000Z
2021-05-21T02:53:37.000Z
Core/Src/usb/usb.cpp
shima-529/BareMetalUSB_STM32F042
887b2bc9d377bf17ce7585efd0c954f5d285fbef
[ "MIT" ]
null
null
null
Core/Src/usb/usb.cpp
shima-529/BareMetalUSB_STM32F042
887b2bc9d377bf17ce7585efd0c954f5d285fbef
[ "MIT" ]
1
2021-09-20T02:43:15.000Z
2021-09-20T02:43:15.000Z
#include <usb/usb.hpp> #include "stm32f0xx.h" #include <algorithm> #include <cstdio> #include <usb/utils.hpp> #include <usb_desc/usb_desc_struct.h> #include <usb_desc/usb_desc.h> #include <usb/usb_struct.h> #define printf(...) /* Pointer Notation * - type = uintptr_t : This is an pointer for PMA. * ...
29.928775
137
0.698239
shima-529
405494e075dbe462812254669e3c19340ed25e4e
8,368
cpp
C++
main/source/textrep/TRFactory.cpp
fmoraw/NS
6c3ae93ca7f929f24da4b8f2d14ea0602184cf08
[ "Unlicense" ]
27
2015-01-05T19:25:14.000Z
2022-03-20T00:34:34.000Z
main/source/textrep/TRFactory.cpp
fmoraw/NS
6c3ae93ca7f929f24da4b8f2d14ea0602184cf08
[ "Unlicense" ]
9
2015-01-14T06:51:46.000Z
2021-03-19T12:07:18.000Z
main/source/textrep/TRFactory.cpp
fmoraw/NS
6c3ae93ca7f929f24da4b8f2d14ea0602184cf08
[ "Unlicense" ]
5
2015-01-11T10:31:24.000Z
2021-01-06T01:32:58.000Z
//======== (C) Copyright 2002 Charles G. Cleveland All rights reserved. ========= // // The copyright to the contents herein is the property of Charles G. Cleveland. // The contents may be used and/or copied only with the written permission of // Charles G. Cleveland, or in accordance with the terms and conditions ...
28.462585
140
0.593212
fmoraw
405967b06203a9c73de4ac3c33509ac132e7f39e
23,970
cpp
C++
qt-creator-opensource-src-4.6.1/src/plugins/cpptools/cpppointerdeclarationformatter_test.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
5
2018-12-22T14:49:13.000Z
2022-01-13T07:21:46.000Z
qt-creator-opensource-src-4.6.1/src/plugins/cpptools/cpppointerdeclarationformatter_test.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
null
null
null
qt-creator-opensource-src-4.6.1/src/plugins/cpptools/cpppointerdeclarationformatter_test.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
8
2018-07-17T03:55:48.000Z
2021-12-22T06:37:53.000Z
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance w...
34.992701
99
0.566083
kevinlq
405f147bc84b989e1287d8938de4ba8c380de392
10,954
cc
C++
src/CBLDatabase.cc
stcleezy/couchbase-lite-C
6e04658b023b48908ff1e0d89197e830df22c178
[ "Apache-2.0" ]
null
null
null
src/CBLDatabase.cc
stcleezy/couchbase-lite-C
6e04658b023b48908ff1e0d89197e830df22c178
[ "Apache-2.0" ]
null
null
null
src/CBLDatabase.cc
stcleezy/couchbase-lite-C
6e04658b023b48908ff1e0d89197e830df22c178
[ "Apache-2.0" ]
null
null
null
// // CBLDatabase.cc // // Copyright © 2018 Couchbase. 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 r...
31.750725
108
0.619682
stcleezy
406130ac2ca4d5508ff7001c1e25b488fdaae54c
387
cpp
C++
snippets/control_flow/sequential.cpp
raakasf/moderncpp
2f8495c90e717e73303191e6f6aef37212448a46
[ "MIT" ]
334
2020-08-29T16:41:02.000Z
2022-03-28T06:26:28.000Z
snippets/control_flow/sequential.cpp
raakasf/moderncpp
2f8495c90e717e73303191e6f6aef37212448a46
[ "MIT" ]
4
2021-02-06T21:18:20.000Z
2022-03-16T17:10:44.000Z
snippets/control_flow/sequential.cpp
raakasf/moderncpp
2f8495c90e717e73303191e6f6aef37212448a46
[ "MIT" ]
33
2020-08-31T11:36:44.000Z
2022-03-31T07:07:20.000Z
#include <iostream> int main() { using namespace std; double l = 4; double area = l * l; cout << "Area: " << area << endl; double height = 1.90; double weight = 90; cout << "BMI: " << weight / (height * height) << endl; int a = 4; int b = 7; int fx = (b * b * b + a * b) - 2 ...
17.590909
58
0.45478
raakasf
406132820a828ab682116a0cdf4caa22570a6602
23,688
cc
C++
selfdrive/can/dbc_out/toyota_prius_2010_pt.cc
ziggysnorkel/openpilot
695859fb49976c2ef0a6a4a73d30d5cef2ad1945
[ "MIT" ]
1
2021-03-05T18:09:52.000Z
2021-03-05T18:09:52.000Z
selfdrive/can/dbc_out/toyota_prius_2010_pt.cc
ziggysnorkel/openpilot
695859fb49976c2ef0a6a4a73d30d5cef2ad1945
[ "MIT" ]
null
null
null
selfdrive/can/dbc_out/toyota_prius_2010_pt.cc
ziggysnorkel/openpilot
695859fb49976c2ef0a6a4a73d30d5cef2ad1945
[ "MIT" ]
null
null
null
#include <cstdint> #include "common.h" namespace { const Signal sigs_36[] = { { .name = "YAW_RATE", .b1 = 6, .b2 = 10, .bo = 48, .is_signed = false, .factor = 1, .offset = -512.0, .is_little_endian = false, .type = SignalType::DEFAULT, }, { .nam...
19.889169
83
0.461964
ziggysnorkel
4065f9f510ff5bbb5952a42f437f1e1cb3ed9ada
1,938
cpp
C++
src/dropbox/sharing/SharingAclUpdatePolicy.cpp
slashdotted/dropboxQt
63d43fa882cec8fb980a2aab2464a2d7260b8089
[ "MIT" ]
17
2016-12-03T09:12:29.000Z
2020-06-20T22:08:44.000Z
src/dropbox/sharing/SharingAclUpdatePolicy.cpp
slashdotted/dropboxQt
63d43fa882cec8fb980a2aab2464a2d7260b8089
[ "MIT" ]
8
2017-01-05T17:50:16.000Z
2021-08-06T18:56:29.000Z
src/dropbox/sharing/SharingAclUpdatePolicy.cpp
slashdotted/dropboxQt
63d43fa882cec8fb980a2aab2464a2d7260b8089
[ "MIT" ]
8
2017-09-13T17:28:40.000Z
2020-07-27T00:41:44.000Z
/********************************************************** DO NOT EDIT This file was generated from stone specification "sharing" Part of "Ardi - the organizer" project. osoft4ardi@gmail.com www.prokarpaty.net ***********************************************************/ #include "dropbox/sharing/SharingAclUpdate...
24.846154
96
0.605779
slashdotted
406a5a0392853c2b2296555451431376e56e7824
499
cpp
C++
@DOC by DIPTA/dipta007_final/Number Theory/modular_inverse.cpp
dipta007/Competitive-Programming
998d47f08984703c5b415b98365ddbc84ad289c4
[ "MIT" ]
6
2018-10-15T18:45:05.000Z
2022-03-29T04:30:10.000Z
@DOC by DIPTA/dipta007_final/Number Theory/modular_inverse.cpp
dipta007/Competitive-Programming
998d47f08984703c5b415b98365ddbc84ad289c4
[ "MIT" ]
null
null
null
@DOC by DIPTA/dipta007_final/Number Theory/modular_inverse.cpp
dipta007/Competitive-Programming
998d47f08984703c5b415b98365ddbc84ad289c4
[ "MIT" ]
4
2018-01-07T06:20:07.000Z
2019-08-21T15:45:59.000Z
/** Fermats Theorem **/ ( A / B ) % m = ( ( A % m ) * ( B^( m - 2 ) % m ) ) % m , if m is prime /** Procedure: 1. Call modInv(x, mod) **/ typedef pair <ll, ll> pll pll extendedEuclid(ll a, ll b) // returns x, y jekhane, ax + by = gcd(a,b) { if(b == 0) return pll(1, 0); else { pll d = exten...
21.695652
76
0.48497
dipta007
406bab3d3a7444fed20e33b4f4cb0bb410f999ae
923
cpp
C++
test/unit/math/prim/scal/meta/scalar_seq_view_test.cpp
PhilClemson/math
fffe604a7ead4525be2551eb81578c5f351e5c87
[ "BSD-3-Clause" ]
1
2019-09-06T15:53:17.000Z
2019-09-06T15:53:17.000Z
test/unit/math/prim/scal/meta/scalar_seq_view_test.cpp
PhilClemson/math
fffe604a7ead4525be2551eb81578c5f351e5c87
[ "BSD-3-Clause" ]
8
2019-01-17T18:51:16.000Z
2019-01-17T18:51:39.000Z
archive/math/test/unit/math/prim/scal/meta/scalar_seq_view_test.cpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
null
null
null
#include <stan/math/prim/scal.hpp> #include <gtest/gtest.h> #include <vector> TEST(MetaTraits, ScalarSeqViewDouble) { using stan::scalar_seq_view; double d = 10; scalar_seq_view<double> sv(d); EXPECT_FLOAT_EQ(d, sv[0]); EXPECT_FLOAT_EQ(d, sv[12]); const double d_const = 10; scalar_seq_view<const double...
26.371429
61
0.722644
PhilClemson
406cd461b7e7b316544d849aa2ae1d3a30cc688d
580
cpp
C++
Core/src/latest/entry/main.cpp
CJBuchel/CJ-Vision
60fad66b807c6082fdcf01df9972b42dfc5c5ecc
[ "MIT" ]
1
2020-09-07T09:15:15.000Z
2020-09-07T09:15:15.000Z
Core/src/latest/entry/main.cpp
CJBuchel/CJ-Vision
60fad66b807c6082fdcf01df9972b42dfc5c5ecc
[ "MIT" ]
null
null
null
Core/src/latest/entry/main.cpp
CJBuchel/CJ-Vision
60fad66b807c6082fdcf01df9972b42dfc5c5ecc
[ "MIT" ]
1
2020-09-02T02:02:11.000Z
2020-09-02T02:02:11.000Z
#include "CJ_Vision.h" extern CJ::Application *CJ::createApplication(); int main(int argc, char **argv) { std::cout << "Test" << std::endl; /** * @TODO: * Create startup procedures + loggers and handlers */ CJ::Log::init("[CJ-Vision Client Startup]"); /** * Create Application, supports only one */ au...
18.125
63
0.596552
CJBuchel
406dd3dafc850c3200b3fae6450422b7a48b9522
3,987
cc
C++
src/Modules/Legacy/Converters/ConvertBundleToField.cc
Haydelj/SCIRun
f7ee04d85349b946224dbff183438663e54b9413
[ "MIT" ]
92
2015-02-09T22:42:11.000Z
2022-03-25T09:14:50.000Z
src/Modules/Legacy/Converters/ConvertBundleToField.cc
Haydelj/SCIRun
f7ee04d85349b946224dbff183438663e54b9413
[ "MIT" ]
1,618
2015-01-05T19:39:13.000Z
2022-03-27T20:28:45.000Z
src/Modules/Legacy/Converters/ConvertBundleToField.cc
Haydelj/SCIRun
f7ee04d85349b946224dbff183438663e54b9413
[ "MIT" ]
64
2015-02-20T17:51:23.000Z
2021-11-19T07:08:08.000Z
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2020 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ...
30.906977
79
0.722097
Haydelj
40725f5f3de94a17cf68ecfde61e0b369377a5b7
3,807
cpp
C++
Reflection/Utilities/DefaultRegistration.cpp
dnv-opensource/Reflection
27effb850e9f0cc6acc2d48630ee6aa5d75fa000
[ "BSL-1.0" ]
null
null
null
Reflection/Utilities/DefaultRegistration.cpp
dnv-opensource/Reflection
27effb850e9f0cc6acc2d48630ee6aa5d75fa000
[ "BSL-1.0" ]
null
null
null
Reflection/Utilities/DefaultRegistration.cpp
dnv-opensource/Reflection
27effb850e9f0cc6acc2d48630ee6aa5d75fa000
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2021 DNV AS // // 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 #include "DefaultRegistration.h" #include "Reflection/Classes/Class.h" #include <sstream> #include <float.h> #include "Reflection/...
35.25
119
0.653533
dnv-opensource
4072b0d7454a535a65f813f01c31f2bc1c6a4ffa
3,734
cpp
C++
src/conv/step/g-step/Shape_Representation.cpp
behollis/brlcad-svn-rev65072-gsoc2015
c2e49d80e0776ea6da4358a345a04f56e0088b90
[ "BSD-4-Clause", "BSD-3-Clause" ]
35
2015-03-11T11:51:48.000Z
2021-07-25T16:04:49.000Z
src/conv/step/g-step/Shape_Representation.cpp
CloudComputer/brlcad
05952aafa27ee9df17cd900f5d8f8217ed2194af
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
src/conv/step/g-step/Shape_Representation.cpp
CloudComputer/brlcad
05952aafa27ee9df17cd900f5d8f8217ed2194af
[ "BSD-4-Clause", "BSD-3-Clause" ]
19
2016-05-04T08:39:37.000Z
2021-12-07T12:45:54.000Z
/* S H A P E _ R E P R E S E N T A T I O N . C P P * BRL-CAD * * Copyright (c) 2013-2014 United States Government as represented by * the U.S. Army Research Laboratory. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License ...
33.945455
118
0.696036
behollis
40741c24bfc26e731e5b37cfb759f625b35e499f
6,748
cc
C++
ash/window_manager_unittest.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
ash/window_manager_unittest.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
ash/window_manager_unittest.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2015 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 <map> #include <memory> #include <vector> #include "ash/public/cpp/window_properties.h" #include "ash/public/interfaces/constants.mojom.h" #incl...
38.340909
80
0.756076
zipated
40745804ff968472e9dfd25ce7167fe36acc6855
52
hpp
C++
src/boost_function_types_parameter_types.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_function_types_parameter_types.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_function_types_parameter_types.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/function_types/parameter_types.hpp>
26
51
0.846154
miathedev
40796cedda6f3533ccca96115cfe18a10f5d1b02
153
cpp
C++
lib/src/block.cpp
caseymcc/client
0db6e9b6a66828d2c6faf8ce9db173f541221f70
[ "MIT" ]
1
2021-06-08T14:56:47.000Z
2021-06-08T14:56:47.000Z
lib/src/block.cpp
caseymcc/client
0db6e9b6a66828d2c6faf8ce9db173f541221f70
[ "MIT" ]
null
null
null
lib/src/block.cpp
caseymcc/client
0db6e9b6a66828d2c6faf8ce9db173f541221f70
[ "MIT" ]
null
null
null
#include "block.h" namespace konstructs { Block::Block(const Vector3i position, const BlockData data): position(position), data(data) {} };
21.857143
64
0.686275
caseymcc
40798ac56ef00f3eea109ba54670750e4318300a
127
hpp
C++
NWNXLib/API/Mac/API/unknown_std__vectorTemplatedvoidPtrstd__allocatorTemplatedvoidPtr.hpp
Qowyn/unified
149d0b7670a9d156e64555fe0bd7715423db4c2a
[ "MIT" ]
null
null
null
NWNXLib/API/Mac/API/unknown_std__vectorTemplatedvoidPtrstd__allocatorTemplatedvoidPtr.hpp
Qowyn/unified
149d0b7670a9d156e64555fe0bd7715423db4c2a
[ "MIT" ]
null
null
null
NWNXLib/API/Mac/API/unknown_std__vectorTemplatedvoidPtrstd__allocatorTemplatedvoidPtr.hpp
Qowyn/unified
149d0b7670a9d156e64555fe0bd7715423db4c2a
[ "MIT" ]
null
null
null
#pragma once namespace NWNXLib { namespace API { class std__vectorTemplatedvoidPtrstd__allocatorTemplatedvoidPtr { }; } }
10.583333
68
0.787402
Qowyn
407b3d4bdc100f16c790cc3ac0e301cc9b728f0e
2,484
cpp
C++
tianhe/schedule_restricts_test.cpp
VastRock-Huang/GraphPi
a780bd73743c8535b1e36da210558b0dc81ff0d4
[ "MIT" ]
22
2020-10-07T06:53:49.000Z
2022-03-18T14:00:55.000Z
tianhe/schedule_restricts_test.cpp
VastRock-Huang/GraphPi
a780bd73743c8535b1e36da210558b0dc81ff0d4
[ "MIT" ]
null
null
null
tianhe/schedule_restricts_test.cpp
VastRock-Huang/GraphPi
a780bd73743c8535b1e36da210558b0dc81ff0d4
[ "MIT" ]
5
2020-11-19T20:53:28.000Z
2021-11-28T17:42:29.000Z
#include <../include/graph.h> #include <../include/dataloader.h> #include "../include/pattern.h" #include "../include/schedule.h" #include "../include/common.h" #include "../include/motif_generator.h" #include <assert.h> #include <iostream> #include <string> #include <algorithm> void test_pattern(Graph* g, const Patt...
26.709677
148
0.596216
VastRock-Huang
407c16ad4c6eb7e3167dcb07c28fc45d6c0559d5
13,337
cc
C++
v4l2/v4l2camera.cc
rwaldron/node-audiovideo
89c9da8ce9d63342d335e948246d68cecdfe6578
[ "MIT" ]
19
2015-05-09T02:49:26.000Z
2021-11-29T21:53:41.000Z
v4l2/v4l2camera.cc
tcr/node-audiovideo
61756bfd1e5adead0abbadbf17225d07c3fbfbfa
[ "MIT" ]
11
2016-02-02T18:22:00.000Z
2016-09-03T16:52:37.000Z
v4l2/v4l2camera.cc
tcr/node-audiovideo
61756bfd1e5adead0abbadbf17225d07c3fbfbfa
[ "MIT" ]
4
2016-02-03T21:42:26.000Z
2016-05-02T20:29:40.000Z
#include "capture.h" #include <nan.h> #include <node.h> #include <v8.h> #include <uv.h> #include <errno.h> #include <string.h> #include <string> #include <sstream> using v8::Function; using v8::FunctionTemplate; using v8::ObjectTemplate; using v8::Handle; using v8::Object; using v8::String; using v8::Number; using ...
31.161215
95
0.677139
rwaldron
40806fc33a38823694383f625d001b7955769a7c
1,747
hh
C++
maxutils/maxsql/include/maxsql/mariadb.hh
nephtyws/MaxScale
312469dca2721666d9fff310b6c3166b0d05d2a3
[ "MIT" ]
null
null
null
maxutils/maxsql/include/maxsql/mariadb.hh
nephtyws/MaxScale
312469dca2721666d9fff310b6c3166b0d05d2a3
[ "MIT" ]
null
null
null
maxutils/maxsql/include/maxsql/mariadb.hh
nephtyws/MaxScale
312469dca2721666d9fff310b6c3166b0d05d2a3
[ "MIT" ]
null
null
null
/* * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. * * Change Date: 2023-01-01 * * On the date above, in accordance with the Business Source License, use * of this software will be g...
26.469697
105
0.735547
nephtyws
408238d04fe8683e3500c9fc1001102d086fec87
1,966
cpp
C++
Tests/UnitTests/DFNs/FeaturesDescription2D/OrbDescriptor.cpp
H2020-InFuse/cdff
e55fd48f9a909d0c274c3dfa4fe2704bc5071542
[ "BSD-2-Clause" ]
7
2019-02-26T15:09:50.000Z
2021-09-30T07:39:01.000Z
Tests/UnitTests/DFNs/FeaturesDescription2D/OrbDescriptor.cpp
H2020-InFuse/cdff
e55fd48f9a909d0c274c3dfa4fe2704bc5071542
[ "BSD-2-Clause" ]
null
null
null
Tests/UnitTests/DFNs/FeaturesDescription2D/OrbDescriptor.cpp
H2020-InFuse/cdff
e55fd48f9a909d0c274c3dfa4fe2704bc5071542
[ "BSD-2-Clause" ]
1
2020-12-06T12:09:05.000Z
2020-12-06T12:09:05.000Z
/* -------------------------------------------------------------------------- * * (C) Copyright … * * --------------------------------------------------------------------------- */ /*! * @file OrbDescriptor.cpp * @date 21/02/2018 * @author Alessandro Bianco */ /*! * @addtogroup DFNsTest * * Testing applicatio...
23.686747
110
0.54883
H2020-InFuse
4085eccdaf120d1a66b2af366ba4b999347f78c8
124
hxx
C++
src/Providers/UNIXProviders/CompositeExtent/UNIX_CompositeExtent_ZOS.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
1
2020-10-12T09:00:09.000Z
2020-10-12T09:00:09.000Z
src/Providers/UNIXProviders/CompositeExtent/UNIX_CompositeExtent_ZOS.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
src/Providers/UNIXProviders/CompositeExtent/UNIX_CompositeExtent_ZOS.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
#ifdef PEGASUS_OS_ZOS #ifndef __UNIX_COMPOSITEEXTENT_PRIVATE_H #define __UNIX_COMPOSITEEXTENT_PRIVATE_H #endif #endif
10.333333
40
0.846774
brunolauze
408878463094c8bea9d4f8db70ba10373a2e7de6
12,839
cxx
C++
STEER/ESD/AliESDVZERO.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
STEER/ESD/AliESDVZERO.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
STEER/ESD/AliESDVZERO.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
/************************************************************************** * Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
30.352246
80
0.684789
AllaMaevskaya
40898156dac49bb300c78244296291376d978c1e
4,093
cpp
C++
raytracer/catch/arealights.cpp
tobiasmarciszko/qt_raytracer_challenge
188bf38211e30cb0655577a101c82f6ee8ae2ab8
[ "MIT" ]
24
2019-06-29T07:44:24.000Z
2021-05-27T11:11:49.000Z
raytracer/catch/arealights.cpp
tobiasmarciszko/qt_raytracer_challenge
188bf38211e30cb0655577a101c82f6ee8ae2ab8
[ "MIT" ]
1
2020-12-02T22:54:02.000Z
2021-01-29T08:47:32.000Z
raytracer/catch/arealights.cpp
tobiasmarciszko/qt_raytracer_challenge
188bf38211e30cb0655577a101c82f6ee8ae2ab8
[ "MIT" ]
7
2020-01-29T15:01:19.000Z
2021-05-28T02:34:34.000Z
#include "catch.hpp" #include "worlds.h" #include "point.h" #include "engine.h" #include "equal.h" using namespace Raytracer::Engine; TEST_CASE("is_shadow tests for occlusion between two points") { const World w = Worlds::default_world(); const Point light_position{-10, -10, -10}; const std::vector<std::...
30.544776
125
0.569753
tobiasmarciszko
408aa3a9ff4085098c60438365f02f64ef55bd27
657
cpp
C++
November/Homeworks/Homework 3/4/4/4.cpp
MrMirhan/Algorithm-Class-221-HomeWorks
3198fce11a0fd4ea10b576b418cec3a35ffcff2e
[ "MIT" ]
1
2020-11-19T09:15:09.000Z
2020-11-19T09:15:09.000Z
November/Homeworks/Homework 3/4/4/4.cpp
MrMirhan/Algorithm-Class-221-HomeWorks
3198fce11a0fd4ea10b576b418cec3a35ffcff2e
[ "MIT" ]
null
null
null
November/Homeworks/Homework 3/4/4/4.cpp
MrMirhan/Algorithm-Class-221-HomeWorks
3198fce11a0fd4ea10b576b418cec3a35ffcff2e
[ "MIT" ]
2
2020-11-12T17:37:28.000Z
2020-11-21T14:48:49.000Z
#include <iostream> using namespace std; int main() { int arr[12] = { 4, 11, 16, -2, 65, -5, 12, 1, 123, 54, 10, 0 }; int size = sizeof(arr) / sizeof(arr[0]); for (int i = 0; i < size; i++) { int min = arr[i]; int minAll = i; for (int n = i; n < size; n++) { ...
19.323529
67
0.360731
MrMirhan
408b1ad8105f458557101496977e83e033158085
3,905
cc
C++
chrome/common/extensions/api/extension_action/script_badge_handler.cc
hujiajie/pa-chromium
1816ff80336a6efd1616f9e936880af460b1e105
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2020-05-03T06:33:56.000Z
2021-11-14T18:39:42.000Z
chrome/common/extensions/api/extension_action/script_badge_handler.cc
hujiajie/pa-chromium
1816ff80336a6efd1616f9e936880af460b1e105
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/common/extensions/api/extension_action/script_badge_handler.cc
hujiajie/pa-chromium
1816ff80336a6efd1616f9e936880af460b1e105
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012 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/common/extensions/api/extension_action/script_badge_handler.h" #include "base/memory/scoped_ptr.h" #include "base/strings/utf_string...
35.5
80
0.728553
hujiajie
408c1df277703a403d5ee121e71f990090a2642b
812
cc
C++
dictionary.cc
jkotlinski/htdk
e1a626fce61112c151e9a63cc176bc67a5a92a91
[ "MIT" ]
2
2016-07-23T18:32:29.000Z
2017-10-24T06:33:37.000Z
dictionary.cc
jkotlinski/htdk
e1a626fce61112c151e9a63cc176bc67a5a92a91
[ "MIT" ]
null
null
null
dictionary.cc
jkotlinski/htdk
e1a626fce61112c151e9a63cc176bc67a5a92a91
[ "MIT" ]
null
null
null
#include "dictionary.h" #include <cassert> void Dictionary::addWord(const std::string& word) { if (addedWords.find(word) != addedWords.end()) { fprintf(stderr, "Redefining word '%s' is not allowed\n", word.c_str()); exit(1); } addedWords.insert(word); auto missingIt = missingWords.fin...
23.882353
79
0.641626
jkotlinski
408c893a4b5af700c9aa9386a9101d51db7bc1eb
8,019
cpp
C++
drowaudio-Utility/plugins/Gate/src/DRowAudioEditorComponent.cpp
34Audiovisual/Progetti_JUCE
d22d91d342939a8463823d7a7ec528bd2228e5f7
[ "MIT" ]
92
2015-02-25T12:28:58.000Z
2022-02-15T17:24:24.000Z
drowaudio-Utility/plugins/Gate/src/DRowAudioEditorComponent.cpp
34Audiovisual/Progetti_JUCE
d22d91d342939a8463823d7a7ec528bd2228e5f7
[ "MIT" ]
8
2015-05-03T18:36:49.000Z
2018-02-06T15:50:32.000Z
drowaudio-Utility/plugins/Gate/src/DRowAudioEditorComponent.cpp
34Audiovisual/Progetti_JUCE
d22d91d342939a8463823d7a7ec528bd2228e5f7
[ "MIT" ]
34
2015-01-02T13:34:49.000Z
2021-05-23T20:37:49.000Z
/* ============================================================================== This file is part of the JUCE library - "Jules' Utility Class Extensions" Copyright 2004-7 by Raw Material Software ltd. ------------------------------------------------------------------------------ JUCE can be redistribu...
35.959641
134
0.658187
34Audiovisual
408f510d8b8c8139501a7bedd41c3947572ee85c
2,338
cpp
C++
fbmeshd/tests/SocketTest.cpp
yuyanduan/fbmeshd
56650c4bab7d4ab15d3f1a853d17fa12f83f43f2
[ "MIT" ]
36
2019-10-03T22:33:51.000Z
2020-11-04T15:04:29.000Z
fbmeshd/tests/SocketTest.cpp
yuyanduan/fbmeshd
56650c4bab7d4ab15d3f1a853d17fa12f83f43f2
[ "MIT" ]
3
2019-10-31T01:27:26.000Z
2020-10-06T17:35:50.000Z
fbmeshd/tests/SocketTest.cpp
yuyanduan/fbmeshd
56650c4bab7d4ab15d3f1a853d17fa12f83f43f2
[ "MIT" ]
15
2019-10-30T15:57:09.000Z
2020-11-11T06:34:59.000Z
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <fbmeshd/gateway-connectivity-monitor/Socket.h> #include <folly/Subprocess.h> #include <gflags/gflags.h> #include <gtest...
28.168675
79
0.662104
yuyanduan
40909a31cee901c3f07b9821d3255251cd1f7042
97
cpp
C++
src/test/cpp/compare/project/Component.Edge.StaticClass.cpp
nightlark/xlang
a381bac0f32aaef6f0e7a0e81da3c0fc71a7c253
[ "MIT" ]
null
null
null
src/test/cpp/compare/project/Component.Edge.StaticClass.cpp
nightlark/xlang
a381bac0f32aaef6f0e7a0e81da3c0fc71a7c253
[ "MIT" ]
null
null
null
src/test/cpp/compare/project/Component.Edge.StaticClass.cpp
nightlark/xlang
a381bac0f32aaef6f0e7a0e81da3c0fc71a7c253
[ "MIT" ]
null
null
null
#include "pch.h" #include "StaticClass.h" namespace winrt::Component::Edge::implementation { }
13.857143
48
0.731959
nightlark
40913449aeb1c71f99a5625737c71011bd588b06
1,038
cpp
C++
src/test-libwfp/wfp/layerconditions.cpp
taliesins/libwfp
ac1632d336cfdba106f6f8b8fcc2ccc913b443bb
[ "MIT" ]
null
null
null
src/test-libwfp/wfp/layerconditions.cpp
taliesins/libwfp
ac1632d336cfdba106f6f8b8fcc2ccc913b443bb
[ "MIT" ]
null
null
null
src/test-libwfp/wfp/layerconditions.cpp
taliesins/libwfp
ac1632d336cfdba106f6f8b8fcc2ccc913b443bb
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "gtest/gtest.h" #include "libwfp/layerconditions.h" #include <guiddef.h> #include <fwpmu.h> TEST(LibWfpLayerConditions, IsCompatibleWithCompatibleCondition) { ASSERT_TRUE(wfp::LayerConditions::IsCompatible(FWPM_LAYER_OUTBOUND_TRANSPORT_V6, FWPM_CONDITION_IP_LOCAL_ADDRESS_TYPE)); ...
32.4375
122
0.790944
taliesins
40949e5ca30bd9b376b54abeb3aaf939bafb2add
1,023
cpp
C++
Source/JavascriptEditor/JavascriptCommandlet.cpp
ninemcom/Unreal.js-core
9b7bf774c570be95f4d9f687557164c872bb2307
[ "BSD-3-Clause" ]
1
2019-07-24T13:20:45.000Z
2019-07-24T13:20:45.000Z
Source/JavascriptEditor/JavascriptCommandlet.cpp
ninemcom/Unreal.js-core
9b7bf774c570be95f4d9f687557164c872bb2307
[ "BSD-3-Clause" ]
null
null
null
Source/JavascriptEditor/JavascriptCommandlet.cpp
ninemcom/Unreal.js-core
9b7bf774c570be95f4d9f687557164c872bb2307
[ "BSD-3-Clause" ]
null
null
null
#include "JavascriptCommandlet.h" #include "JavascriptIsolate.h" #include "JavascriptContext.h" UJavascriptCommandlet::UJavascriptCommandlet(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer) {} int32 UJavascriptCommandlet::Main(const FString& Params) { bool bSuccess = true; #if !UE_BUILD_SHIP...
22.23913
89
0.753666
ninemcom
40951a20330f7180bc20457151a94c4f6c9b460c
289
cpp
C++
examples/polar_plots/polarplot/polarplot_6.cpp
solosuper/matplotplusplus
87ff5728b14ad904bc6acaa2bf010c1a03c6cb4a
[ "MIT" ]
2,709
2020-08-29T01:25:40.000Z
2022-03-31T18:35:25.000Z
examples/polar_plots/polarplot/polarplot_6.cpp
p-ranav/matplotplusplus
b45015e2be88e3340b400f82637b603d733d45ce
[ "MIT" ]
124
2020-08-29T04:48:17.000Z
2022-03-25T15:45:59.000Z
examples/polar_plots/polarplot/polarplot_6.cpp
p-ranav/matplotplusplus
b45015e2be88e3340b400f82637b603d733d45ce
[ "MIT" ]
203
2020-08-29T04:16:22.000Z
2022-03-30T02:08:36.000Z
#include <cmath> #include <matplot/matplot.h> int main() { using namespace matplot; std::vector<double> theta = linspace(0, 2 * pi, 25); std::vector<double> rho = transform(theta, [](double t) { return 2 * t; }); polarplot(theta, rho, "r-o"); show(); return 0; }
22.230769
79
0.598616
solosuper
4095c874492d2f1ab71d2d4cfa4786387c97869c
8,271
hh
C++
include/aleph/topology/io/SimplicialComplexReader.hh
eudoxos/Aleph
874882c33a0e8429c74e567eb01525613fee0616
[ "MIT" ]
56
2019-04-24T22:11:15.000Z
2022-03-22T11:37:47.000Z
include/aleph/topology/io/SimplicialComplexReader.hh
eudoxos/Aleph
874882c33a0e8429c74e567eb01525613fee0616
[ "MIT" ]
48
2016-11-30T09:37:13.000Z
2019-01-30T21:43:39.000Z
include/aleph/topology/io/SimplicialComplexReader.hh
eudoxos/Aleph
874882c33a0e8429c74e567eb01525613fee0616
[ "MIT" ]
11
2019-05-02T11:54:31.000Z
2020-12-10T14:05:40.000Z
#ifndef ALEPH_TOPOLOGY_IO_SIMPLICIAL_COMPLEX_READER_HH__ #define ALEPH_TOPOLOGY_IO_SIMPLICIAL_COMPLEX_READER_HH__ #include <algorithm> #include <fstream> #include <iterator> #include <string> #include <stdexcept> #include <vector> #include <aleph/topology/io/EdgeLists.hh> #include <aleph/topology/io/GML.hh> #include ...
27.57
137
0.683351
eudoxos
409774ca7d7a8642ff69436f7a1ee94894892d47
3,978
cpp
C++
src/vk_helpers.cpp
AdlanSADOU/Vulkan_Renderer
f57fcfbd7d97c42690188724d3b82d02c902072b
[ "Unlicense" ]
1
2020-06-10T07:38:05.000Z
2020-06-10T07:38:05.000Z
src/vk_helpers.cpp
AdlanSADOU/Vulkan_Renderer
f57fcfbd7d97c42690188724d3b82d02c902072b
[ "Unlicense" ]
3
2021-03-17T14:31:12.000Z
2021-03-17T14:31:45.000Z
src/vk_helpers.cpp
AdlanSADOU/Vulkan_Renderer
f57fcfbd7d97c42690188724d3b82d02c902072b
[ "Unlicense" ]
null
null
null
#include <vulkan/vulkan.h> #include "vk_types.h" uint32_t FindProperties( const VkPhysicalDeviceMemoryProperties *pMemoryProperties, uint32_t memoryTypeBitsRequirement, VkMemoryPropertyFlags requiredProperties) { const uint32_t memoryCount = pMemory...
32.876033
118
0.682755
AdlanSADOU
4097767cb9f5f40b3d26a9c45b6ca2987265e33c
2,271
hpp
C++
stan/math/prim/scal/prob/student_t_log.hpp
peterwicksstringfield/math
5ce0718ea64f2cca8b2f1e4eeac27a2dc2bd246e
[ "BSD-3-Clause" ]
null
null
null
stan/math/prim/scal/prob/student_t_log.hpp
peterwicksstringfield/math
5ce0718ea64f2cca8b2f1e4eeac27a2dc2bd246e
[ "BSD-3-Clause" ]
null
null
null
stan/math/prim/scal/prob/student_t_log.hpp
peterwicksstringfield/math
5ce0718ea64f2cca8b2f1e4eeac27a2dc2bd246e
[ "BSD-3-Clause" ]
null
null
null
#ifndef STAN_MATH_PRIM_SCAL_PROB_STUDENT_T_LOG_HPP #define STAN_MATH_PRIM_SCAL_PROB_STUDENT_T_LOG_HPP #include <stan/math/prim/meta.hpp> #include <stan/math/prim/scal/prob/student_t_lpdf.hpp> namespace stan { namespace math { /** \ingroup prob_dists * The log of the Student-t density for the given y, nu, mean, and ...
37.229508
79
0.621312
peterwicksstringfield
409b96050ff311b99e2a59dd6532ddc4768b927e
3,937
cpp
C++
tests/simple_worker.cpp
SiddiqSoft/basic-worker
30ece197c9f5605d2e81f921e466ad8ccfcdcf25
[ "BSD-3-Clause" ]
null
null
null
tests/simple_worker.cpp
SiddiqSoft/basic-worker
30ece197c9f5605d2e81f921e466ad8ccfcdcf25
[ "BSD-3-Clause" ]
3
2021-09-18T15:29:01.000Z
2021-10-06T05:25:13.000Z
tests/simple_worker.cpp
SiddiqSoft/basic-worker
30ece197c9f5605d2e81f921e466ad8ccfcdcf25
[ "BSD-3-Clause" ]
1
2021-10-05T22:30:34.000Z
2021-10-05T22:30:34.000Z
/* asynchrony-lib Add asynchrony to your apps BSD 3-Clause License Copyright (c) 2021, Siddiq Software LLC 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. Redistribu...
34.234783
114
0.679705
SiddiqSoft
409c6fc47b25f7f8d9ea799cc925d017f66ca751
4,360
cpp
C++
src/AST/StmtNode.cpp
linvs/test
9d9390e94ecebd1e3098167c553c86a2cddca289
[ "MIT" ]
428
2020-06-12T06:48:38.000Z
2022-02-15T00:43:19.000Z
src/AST/StmtNode.cpp
linvs/test
9d9390e94ecebd1e3098167c553c86a2cddca289
[ "MIT" ]
null
null
null
src/AST/StmtNode.cpp
linvs/test
9d9390e94ecebd1e3098167c553c86a2cddca289
[ "MIT" ]
18
2020-06-15T02:49:30.000Z
2021-09-08T04:39:13.000Z
#include "AST/StmtNode.h" #include "AST/DeclNode.h" #include "Sema/ASTVisitor.h" ExprStmtNode::ExprStmtNode(const SharedPtr<ExprNode> &expr) : expr(expr) {} void ExprStmtNode::accept(const SharedPtr<ASTVisitor> &visitor) { visitor->visit(staticPtrCast<ExprStmtNode>(shared_from_this())); } void ExprStmtNode::bind...
30.704225
107
0.726606
linvs
409cd717968fd714dfded5deeac8e7f119262425
29,110
cpp
C++
tests/unit_tests/blockchain_db.cpp
OIEIEIO/ombre-working-old-chain-before-for-test
4069cc254c3a142b2d40a665185e58130e3ded8d
[ "BSD-3-Clause" ]
107
2018-07-03T19:35:21.000Z
2022-01-12T09:05:44.000Z
tests/unit_tests/blockchain_db.cpp
OIEIEIO/ombre-working-old-chain-before-for-test
4069cc254c3a142b2d40a665185e58130e3ded8d
[ "BSD-3-Clause" ]
87
2018-06-25T14:04:20.000Z
2021-05-31T08:15:47.000Z
tests/unit_tests/blockchain_db.cpp
OIEIEIO/ombre-working-old-chain-before-for-test
4069cc254c3a142b2d40a665185e58130e3ded8d
[ "BSD-3-Clause" ]
69
2018-06-25T05:41:34.000Z
2022-03-09T08:57:37.000Z
// Copyright (c) 2014-2018, The Monero Project // // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, this list of /...
64.402655
143
0.720818
OIEIEIO
40a05189a81660446ad282b9ee0261b8a2c6dd69
456
cpp
C++
Entrenamiento/A/268.cpp
snat-s/competitiva
a743f323e1bedec4709416ef684a0c6a15e42e00
[ "MIT" ]
null
null
null
Entrenamiento/A/268.cpp
snat-s/competitiva
a743f323e1bedec4709416ef684a0c6a15e42e00
[ "MIT" ]
null
null
null
Entrenamiento/A/268.cpp
snat-s/competitiva
a743f323e1bedec4709416ef684a0c6a15e42e00
[ "MIT" ]
null
null
null
#include <iostream> #include <utility> int main(void) { int n = 0, answer = 0; std::cin >> n; std::pair<int, int> teams[n]; for (int i = 0; i < n; ++i) { std::cin >> teams[i].first >> teams[i].second; } for (int i = 0; i < n; i++) { for (int j = 0; j < n; j++) { if(teams[i].first == teams...
19
92
0.475877
snat-s
40a38fd9b67fbcb9b21519ae4fa5f0b301d1a0df
12,173
cc
C++
libs/daemon/shell.cc
sandtreader/obtools
2382e2d90bb62c9665433d6d01bbd31b8ad66641
[ "MIT" ]
null
null
null
libs/daemon/shell.cc
sandtreader/obtools
2382e2d90bb62c9665433d6d01bbd31b8ad66641
[ "MIT" ]
null
null
null
libs/daemon/shell.cc
sandtreader/obtools
2382e2d90bb62c9665433d6d01bbd31b8ad66641
[ "MIT" ]
null
null
null
//========================================================================== // ObTools::Daemon: shell.cc // // Implementation of daemon shell // // Copyright (c) 2009 Paul Clark. All rights reserved // This code comes with NO WARRANTY and is subject to licence agreement //=============================================...
25.955224
79
0.563707
sandtreader
40a549761ea5232f9cd5e39cc36568e04c3e9159
10,083
cpp
C++
src/midend/mir_rewriter.cpp
ericmei/graphit-exploratory
aa12687a1a0c714653cff0503f4c154488097cfb
[ "MIT" ]
null
null
null
src/midend/mir_rewriter.cpp
ericmei/graphit-exploratory
aa12687a1a0c714653cff0503f4c154488097cfb
[ "MIT" ]
null
null
null
src/midend/mir_rewriter.cpp
ericmei/graphit-exploratory
aa12687a1a0c714653cff0503f4c154488097cfb
[ "MIT" ]
null
null
null
// // Created by Yunming Zhang on 5/12/17. // #include <graphit/midend/mir_rewriter.h> namespace graphit { namespace mir { void MIRRewriter::visit(Expr::Ptr expr) { node = rewrite<Expr>(expr); }; void MIRRewriter::visit(ExprStmt::Ptr stmt) { if (stmt->stmt_label...
33.277228
95
0.529505
ericmei
40a721506ac9c6339abc64023a3026b1dd0e4d18
24,194
cpp
C++
trunk/src/app/srs_app_forward_rtsp.cpp
breezeewu/media-server
b7f6e7c24a1c849180ba31088250c0174b1112e0
[ "MIT" ]
null
null
null
trunk/src/app/srs_app_forward_rtsp.cpp
breezeewu/media-server
b7f6e7c24a1c849180ba31088250c0174b1112e0
[ "MIT" ]
null
null
null
trunk/src/app/srs_app_forward_rtsp.cpp
breezeewu/media-server
b7f6e7c24a1c849180ba31088250c0174b1112e0
[ "MIT" ]
null
null
null
/**************************************************************************************************************** * filename srs_app_forward_rtsp.cpp * describe Sunvalley forward rtsp classs define * author Created by dawson on 2019/04/25 * Copyright ©2007 - 2029 Sunvally. All Rights Reserved. ***...
36.381955
245
0.607175
breezeewu
40a7a0e1adb9efa3bf2788595aaf7399c8a1060b
164
cpp
C++
Week4/FriendFunction/TestFriendFunction.cpp
AvansTi/TMTI-DATC-Voorbeelden
572d009ad9378228d125e4025bc0f9aa7763d053
[ "BSD-3-Clause" ]
2
2019-04-26T07:13:05.000Z
2020-04-24T09:47:20.000Z
Week4/FriendFunction/TestFriendFunction.cpp
AvansTi/TMTI-DATC-Voorbeelden
572d009ad9378228d125e4025bc0f9aa7763d053
[ "BSD-3-Clause" ]
null
null
null
Week4/FriendFunction/TestFriendFunction.cpp
AvansTi/TMTI-DATC-Voorbeelden
572d009ad9378228d125e4025bc0f9aa7763d053
[ "BSD-3-Clause" ]
1
2020-05-08T12:19:30.000Z
2020-05-08T12:19:30.000Z
#include <iostream> #include "Date.h" void p() { Date date{ 2010, 5, 9 }; date.year = 2000; std::cout << date.year << '\n'; } int main() { p(); return 0; }
10.933333
32
0.542683
AvansTi
40a7a7c216a19ecf469391fdd26677c687cda6e5
5,457
cpp
C++
Bomberman/GUI.cpp
PratikMandlecha/Bomberman
e62d99880f9856aab2aea393099e3386cedcb3ee
[ "MIT" ]
26
2016-05-18T09:39:22.000Z
2022-03-25T10:21:26.000Z
Bomberman/GUI.cpp
PratikMandlecha/Bomberman
e62d99880f9856aab2aea393099e3386cedcb3ee
[ "MIT" ]
4
2016-05-22T11:55:22.000Z
2016-06-09T08:22:36.000Z
Bomberman/GUI.cpp
PratikMandlecha/Bomberman
e62d99880f9856aab2aea393099e3386cedcb3ee
[ "MIT" ]
21
2016-07-20T16:13:01.000Z
2021-11-28T11:08:24.000Z
#include "GUI.h" void GUI::draw(sf::RenderTarget & target, sf::RenderStates states) const { rect->setFillColor(sf::Color(255, 255, 255, 155)); rect->setSize(sf::Vector2f(m_screenWidth, m_screenHeight)); if (m_endOfGameMenuView) { target.draw(*m_frame, states); target.draw(*rect, states); target.draw(*m_re...
29.983516
222
0.708814
PratikMandlecha