hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
float64
1
191k
⌀
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
⌀
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
⌀
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
float64
1
77k
⌀
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
⌀
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
⌀
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
float64
1
105k
⌀
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
⌀
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
⌀
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
653k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
1
443c8776f2e1c50afd1b5db3494cc0b27f391644
3,381
cpp
C++
src/pos_normalizer.cpp
andre-nguyen/an_ros_tools
ddfd99405821065cc811c8698c3bfb84880a8c78
[ "MIT" ]
null
null
null
src/pos_normalizer.cpp
andre-nguyen/an_ros_tools
ddfd99405821065cc811c8698c3bfb84880a8c78
[ "MIT" ]
null
null
null
src/pos_normalizer.cpp
andre-nguyen/an_ros_tools
ddfd99405821065cc811c8698c3bfb84880a8c78
[ "MIT" ]
null
null
null
#include <ros/ros.h> #include <message_filters/subscriber.h> #include <message_filters/synchronizer.h> #include <message_filters/sync_policies/approximate_time.h> #include <dji_sdk/GlobalPosition.h> #include <dji_sdk/LocalPosition.h> #include <nav_msgs/Odometry.h> #include <eigen3/Eigen/Dense> #include "transform.h" ...
40.25
79
0.699201
443d71fbc939af001e7c7c70bdc863a830b41e26
8,085
cpp
C++
src/common/network_manager.cpp
blackccpie/neurocl
cfbb1978ba92d5085796330846d997944f604c93
[ "MIT" ]
2
2016-01-01T22:19:04.000Z
2018-12-12T19:06:24.000Z
src/common/network_manager.cpp
blackccpie/neurocl
cfbb1978ba92d5085796330846d997944f604c93
[ "MIT" ]
null
null
null
src/common/network_manager.cpp
blackccpie/neurocl
cfbb1978ba92d5085796330846d997944f604c93
[ "MIT" ]
1
2020-10-19T08:17:54.000Z
2020-10-19T08:17:54.000Z
/* The MIT License Copyright (c) 2015-2017 Albert Murienne 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...
27.688356
137
0.660977
443df983b7b87d5189021884753eae575099751f
1,080
cpp
C++
src/timereference.cpp
hrxcodes/cbftp
bf2784007dcc4cc42775a2d40157c51b80383f81
[ "MIT" ]
8
2019-04-30T00:37:00.000Z
2022-02-03T13:35:31.000Z
src/timereference.cpp
Xtravaganz/cbftp
31a3465e2cd539f6cf35a5d9a0bb9c5c2f639cd5
[ "MIT" ]
2
2019-11-19T12:46:13.000Z
2019-12-20T22:13:57.000Z
src/timereference.cpp
Xtravaganz/cbftp
31a3465e2cd539f6cf35a5d9a0bb9c5c2f639cd5
[ "MIT" ]
9
2020-01-15T02:38:36.000Z
2022-02-15T20:05:20.000Z
#include "timereference.h" #include <ctime> #include "core/tickpoke.h" #include "globalcontext.h" #define INTERVAL 50 static int currentyear = 0; static int currentmonth = 0; static int currentday = 0; TimeReference::TimeReference() { global->getTickPoke()->startPoke(this, "TimeReference", INTERVAL, 0); } void ...
20
87
0.730556
443e0803e8359c4d4a766b9033599397bebf7154
155
cpp
C++
regression/esbmc-cpp/try_catch/try-catch_pointer_01/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
143
2015-06-22T12:30:01.000Z
2022-03-21T08:41:17.000Z
regression/esbmc-cpp/try_catch/try-catch_pointer_01/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
542
2017-06-02T13:46:26.000Z
2022-03-31T16:35:17.000Z
regression/esbmc-cpp/try_catch/try-catch_pointer_01/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
81
2015-10-21T22:21:59.000Z
2022-03-24T14:07:55.000Z
#include<cassert> int main() { try { int x = 5; int *py = &x; throw py; } catch(int*) { } catch(void*) { assert(0); } return 0; }
10.333333
29
0.470968
4441450f2bde5590471e665b70f77992f4e9d033
2,192
cpp
C++
Linux/Ubuntu/64bit/AVAPI/AvapiExamples/MIDPOINT_Example.cpp
AvapiDotNet/AvapiCpp
2157ccbe750cac077098a6f1aa401d80fc943ff5
[ "MIT" ]
15
2018-01-31T16:58:36.000Z
2021-08-19T21:37:08.000Z
Linux/Ubuntu/64bit/AVAPI/AvapiExamples/MIDPOINT_Example.cpp
AvapiDotNet/AvapiCpp
2157ccbe750cac077098a6f1aa401d80fc943ff5
[ "MIT" ]
null
null
null
Linux/Ubuntu/64bit/AVAPI/AvapiExamples/MIDPOINT_Example.cpp
AvapiDotNet/AvapiCpp
2157ccbe750cac077098a6f1aa401d80fc943ff5
[ "MIT" ]
4
2018-01-31T17:06:26.000Z
2020-05-03T20:59:27.000Z
#include <string> #include <iostream> #include <sstream> #include "Avapi/AvapiConnection.hpp" #include "Avapi/TECHNICAL_INDICATOR/MIDPOINT.hpp" using namespace std; using namespace Avapi; int main() { string lastHttpRequest = ""; AvapiConnection* avapi_connection; try { avapi_connection =...
31.768116
80
0.542883
44420bebdb449f361fb5c6a31d16e35145661e35
227
hpp
C++
tests/zcc/decl.C99/Error_class_forward_def_const_volatile9.hpp
zaimoni/Z.C-
7ca97ec0af14d092c87a25e07d7ed486c7912266
[ "BSL-1.0" ]
null
null
null
tests/zcc/decl.C99/Error_class_forward_def_const_volatile9.hpp
zaimoni/Z.C-
7ca97ec0af14d092c87a25e07d7ed486c7912266
[ "BSL-1.0" ]
4
2019-12-07T08:08:29.000Z
2021-01-22T00:19:10.000Z
tests/zcc/decl.C99/Error_class_forward_def_const_volatile9.hpp
zaimoni/Z.C-
7ca97ec0af14d092c87a25e07d7ed486c7912266
[ "BSL-1.0" ]
null
null
null
// decl.C99\Error_class_forward_def_const_volatile9.hpp // using singly defined class // (C)2010 Kenneth Boyd, license: MIT.txt class good_test; const class good_test volatile; class good_test { int x_factor; };
18.916667
56
0.735683
4442b1f6b5e4f7b158a81f02dc74691e453564e2
4,138
cpp
C++
android/library/maply/src/main/cpp/MapboxVectorTileParser_jni.cpp
freebird-airlines/WhirlyGlobe
3e1dd7cf27654558caeb1c5a2c8616bc1a3dbbb4
[ "Apache-2.0" ]
2
2019-05-16T18:52:21.000Z
2020-10-10T14:08:53.000Z
android/library/maply/src/main/cpp/MapboxVectorTileParser_jni.cpp
freebird-airlines/WhirlyGlobe
3e1dd7cf27654558caeb1c5a2c8616bc1a3dbbb4
[ "Apache-2.0" ]
null
null
null
android/library/maply/src/main/cpp/MapboxVectorTileParser_jni.cpp
freebird-airlines/WhirlyGlobe
3e1dd7cf27654558caeb1c5a2c8616bc1a3dbbb4
[ "Apache-2.0" ]
1
2020-10-22T12:09:24.000Z
2020-10-22T12:09:24.000Z
/* * MapboxVectorTileParser_jni.cpp * WhirlyGlobeLib * * Created by Steve Gifford on 5/25/16. * Copyright 2011-2016 mousebird consulting * * 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 L...
33.104
112
0.666989
4444314756842c9712972696314dc2510a2f8c1c
1,050
cpp
C++
src/test/ex.cpp
jar-ben/z3
7baa4f88b0cb4458461596d147e1f71853d77126
[ "MIT" ]
7,746
2015-03-26T18:59:33.000Z
2022-03-31T15:34:48.000Z
src/test/ex.cpp
jar-ben/z3
7baa4f88b0cb4458461596d147e1f71853d77126
[ "MIT" ]
5,162
2015-03-27T01:12:48.000Z
2022-03-31T14:56:16.000Z
src/test/ex.cpp
jar-ben/z3
7baa4f88b0cb4458461596d147e1f71853d77126
[ "MIT" ]
1,529
2015-03-26T18:45:30.000Z
2022-03-31T15:35:16.000Z
/*++ Copyright (c) 2006 Microsoft Corporation Module Name: ex.cpp Abstract: <abstract> Author: Leonardo de Moura (leonardo) 2011-04-28 Revision History: --*/ #include<iostream> #include "util/z3_exception.h" class ex { public: virtual ~ex() {} virtual char const * msg() const = 0; }; class...
15.441176
88
0.561905
4444a57baf0d204dd179fa6c987b85c9d5c67f9a
1,038
cpp
C++
CodeForces/879/C - Short Program.cpp
QAQrz/ACM-Code
7f7b6fd315e7d84ed606dd48d666da07fc4d0ae7
[ "Unlicense" ]
2
2018-02-24T06:45:56.000Z
2018-05-29T04:47:39.000Z
CodeForces/879/C - Short Program.cpp
QAQrz/ACM-Code
7f7b6fd315e7d84ed606dd48d666da07fc4d0ae7
[ "Unlicense" ]
null
null
null
CodeForces/879/C - Short Program.cpp
QAQrz/ACM-Code
7f7b6fd315e7d84ed606dd48d666da07fc4d0ae7
[ "Unlicense" ]
2
2018-06-28T09:53:27.000Z
2022-03-23T13:29:57.000Z
#include <bits/stdc++.h> using namespace std; #pragma comment(linker,"/stack:1024000000,1024000000") #define db(x) cout<<(x)<<endl #define pf(x) push_front(x) #define pb(x) push_back(x) #define mp(x,y) make_pair(x,y) #define ms(x,y) memset(x,y,sizeof x) typedef long long LL; const double pi=acos(-1),eps=1e-9; const LL ...
22.085106
54
0.528902
44456312ddfb23804aa0335935d2e5c606a39d3d
4,183
hpp
C++
include/RAJA/policy/loop/sort.hpp
stu314159/RAJA
773be9829a92062db989a6e976ed6d95e4d4bb22
[ "BSD-3-Clause" ]
null
null
null
include/RAJA/policy/loop/sort.hpp
stu314159/RAJA
773be9829a92062db989a6e976ed6d95e4d4bb22
[ "BSD-3-Clause" ]
null
null
null
include/RAJA/policy/loop/sort.hpp
stu314159/RAJA
773be9829a92062db989a6e976ed6d95e4d4bb22
[ "BSD-3-Clause" ]
null
null
null
/*! ****************************************************************************** * * \file * * \brief Header file providing RAJA sort declarations. * ****************************************************************************** */ //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~// // ...
25.506098
84
0.648339
4445f4fe81631651dbad0e6e04930d0403ac9f9a
4,061
cpp
C++
LibFFmpeg/demo/FFplayer2/player.cpp
sim9108/SDKS
2823124fa0a22f8a77d131e7a2fb7f4aba59129c
[ "MIT" ]
2
2015-03-23T01:08:49.000Z
2015-03-23T02:28:17.000Z
LibFFmpeg/demo/FFplayer2/player.cpp
sim9108/SDKS
2823124fa0a22f8a77d131e7a2fb7f4aba59129c
[ "MIT" ]
null
null
null
LibFFmpeg/demo/FFplayer2/player.cpp
sim9108/SDKS
2823124fa0a22f8a77d131e7a2fb7f4aba59129c
[ "MIT" ]
null
null
null
#include "player.h" #include <chrono> #include <iostream> #include <algorithm> extern "C" { #include <libavutil/time.h> } using std::string; using std::unique_ptr; using std::function; using std::thread; using std::chrono::milliseconds; using std::this_thread::sleep_for; using std::exception; using std::cerr; usi...
22.814607
75
0.642206
4446ef31fa0e31a790a26a26e115c2a9c225ef3c
2,730
cpp
C++
World/PolygonBackground.cpp
jess22664/x3ogre
9de430859d877407ae0308908390c9fa004b0e84
[ "MIT" ]
1
2021-09-18T12:50:35.000Z
2021-09-18T12:50:35.000Z
World/PolygonBackground.cpp
jess22664/x3ogre
9de430859d877407ae0308908390c9fa004b0e84
[ "MIT" ]
null
null
null
World/PolygonBackground.cpp
jess22664/x3ogre
9de430859d877407ae0308908390c9fa004b0e84
[ "MIT" ]
null
null
null
/* * ImageBackground.cpp * * Created on: 08.09.2014 * Author: baudenri */ #include "PolygonBackground.h" #include <World/Scene.h> #include <OgreMaterialManager.h> #include <OgrePass.h> #include <OgreRenderQueue.h> #include <OgreAxisAlignedBox.h> #include <OgreSceneNode.h> #include <OgreTechnique.h> #includ...
28.14433
127
0.734432
444787f8524a6cd27193bf0c6eff4521bd785e45
4,453
cpp
C++
openstudiocore/src/utilities/units/test/BTUUnit_GTest.cpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
openstudiocore/src/utilities/units/test/BTUUnit_GTest.cpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
openstudiocore/src/utilities/units/test/BTUUnit_GTest.cpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
/********************************************************************** * Copyright (c) 2008-2014, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published ...
30.710345
82
0.665619
44483bc7c56dcad829971fef6fc2e2e9028614aa
209
cpp
C++
id1068_Sum/main.cpp
adogadaev/timus
eeadeb3ac60b7259988fe579422d386b95c4ca9d
[ "Apache-2.0" ]
null
null
null
id1068_Sum/main.cpp
adogadaev/timus
eeadeb3ac60b7259988fe579422d386b95c4ca9d
[ "Apache-2.0" ]
null
null
null
id1068_Sum/main.cpp
adogadaev/timus
eeadeb3ac60b7259988fe579422d386b95c4ca9d
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <cmath> using namespace std; int main() { int nNum; int nSize; cin >> nNum; nSize = (nNum <= 0) ? (abs(nNum) + 2) : nNum; cout << nSize*(1+nNum)/2 << endl; return 0; }
12.294118
46
0.578947
4448d909d1fc488f10a97031e0c10101927d739d
940
cc
C++
quiche/spdy/core/spdy_pinnable_buffer_piece.cc
ktprime/quiche-1
abf85ce22e1409a870b1bf470cb5a68cbdb28e50
[ "BSD-3-Clause" ]
null
null
null
quiche/spdy/core/spdy_pinnable_buffer_piece.cc
ktprime/quiche-1
abf85ce22e1409a870b1bf470cb5a68cbdb28e50
[ "BSD-3-Clause" ]
null
null
null
quiche/spdy/core/spdy_pinnable_buffer_piece.cc
ktprime/quiche-1
abf85ce22e1409a870b1bf470cb5a68cbdb28e50
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2014 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 "quiche/spdy/core/spdy_pinnable_buffer_piece.h" #include <new> namespace spdy { SpdyPinnableBufferPiece::SpdyPinnableBufferPiece() : buffe...
25.405405
73
0.718085
444d04dea76bdfbaccccc24835f7a78694f004b3
158
hpp
C++
include/mockitopp/mockitopp.hpp
tpounds/mockitopp
775b151fa746c81c8762faea2de3429d6f3f46af
[ "MIT" ]
82
2015-03-19T06:28:00.000Z
2021-08-20T17:40:11.000Z
include/mockitopp/mockitopp.hpp
tpounds/mockitopp
775b151fa746c81c8762faea2de3429d6f3f46af
[ "MIT" ]
6
2015-03-19T08:46:46.000Z
2019-06-04T14:24:52.000Z
include/mockitopp/mockitopp.hpp
tpounds/mockitopp
775b151fa746c81c8762faea2de3429d6f3f46af
[ "MIT" ]
12
2015-03-19T08:15:32.000Z
2021-02-04T11:53:16.000Z
#ifndef __MOCKITOPP_HPP__ #define __MOCKITOPP_HPP__ #include "exceptions.hpp" #include "matchers.hpp" #include "mock_object.hpp" #endif //__MOCKITOPP_HPP__
17.555556
26
0.803797
444e6554949ac26cb677efaea689b392b5c1b935
446
cpp
C++
src/system/system_details_to_json_converter.cpp
connected-digital-energy-meter/connected-digital-energy-meter
e3ce164a10a261efc1d34486abeb0e047f11f31b
[ "MIT" ]
1
2021-06-06T21:25:31.000Z
2021-06-06T21:25:31.000Z
src/system/system_details_to_json_converter.cpp
connected-digital-energy-meter/connected-digital-energy-meter
e3ce164a10a261efc1d34486abeb0e047f11f31b
[ "MIT" ]
10
2021-06-04T07:56:41.000Z
2021-12-20T18:12:06.000Z
src/system/system_details_to_json_converter.cpp
connected-digital-energy-meter/connected-digital-energy-meter
e3ce164a10a261efc1d34486abeb0e047f11f31b
[ "MIT" ]
null
null
null
#include "system_details_to_json_converter.h" #include <ArduinoJson.h> namespace CDEM { String SystemDetailsToJsonConverter::to_json_string(String ip, String mac, String libVersion, String pcbVersion) { StaticJsonDocument<128> json; json["ip"] = ip; json["mac"] = mac; json["lib-version"] = libVersio...
23.473684
116
0.688341
44505eaf01b941f116f412cecad8c862c80ebec4
20,448
cpp
C++
routing/routing_tests/index_graph_test.cpp
romanblanco/omim
62321c2c51b6cbb677278a6a68d15c73ae3f086e
[ "Apache-2.0" ]
null
null
null
routing/routing_tests/index_graph_test.cpp
romanblanco/omim
62321c2c51b6cbb677278a6a68d15c73ae3f086e
[ "Apache-2.0" ]
null
null
null
routing/routing_tests/index_graph_test.cpp
romanblanco/omim
62321c2c51b6cbb677278a6a68d15c73ae3f086e
[ "Apache-2.0" ]
null
null
null
#include "testing/testing.hpp" #include "routing/base/astar_algorithm.hpp" #include "routing/edge_estimator.hpp" #include "routing/index_graph.hpp" #include "routing/index_graph_serialization.hpp" #include "routing/index_graph_starter.hpp" #include "routing/vehicle_mask.hpp" #include "routing/routing_tests/index_grap...
36.319716
100
0.574237
44534609931fd2e6c6add7f200def448e3a19f8b
11,564
cpp
C++
projects/game-invader/gamestate/gameState.cpp
A-Ribeiro/OpenGLStarter
0552513f24ce3820b4957b1e453e615a9b77c8ff
[ "MIT" ]
15
2019-01-13T16:07:27.000Z
2021-09-27T15:18:58.000Z
projects/game-invader/gamestate/gameState.cpp
A-Ribeiro/OpenGLStarter
0552513f24ce3820b4957b1e453e615a9b77c8ff
[ "MIT" ]
1
2019-03-14T00:36:35.000Z
2020-12-29T11:48:09.000Z
projects/game-invader/gamestate/gameState.cpp
A-Ribeiro/OpenGLStarter
0552513f24ce3820b4957b1e453e615a9b77c8ff
[ "MIT" ]
3
2020-03-02T21:28:56.000Z
2021-09-27T15:18:50.000Z
#include "gameState.h" #include <stdio.h> /* o gameState de cada fase possui um cen�rio, um conjunto de alienigenas(inimigos), um conjunto de objetos (stuff) que podem ser lan�ados pelos inimigos ou pela nave principal a nave principal ** ao passar a token init_cg ...
31.856749
98
0.473971
44537f53f1daf89001b5c70fa6f6854aeef40f10
1,479
hpp
C++
include/lexy/input/range_input.hpp
IohannRabeson/lexy
881beb56f030e8f4761514e70cb50d809ac4ad17
[ "BSL-1.0" ]
null
null
null
include/lexy/input/range_input.hpp
IohannRabeson/lexy
881beb56f030e8f4761514e70cb50d809ac4ad17
[ "BSL-1.0" ]
null
null
null
include/lexy/input/range_input.hpp
IohannRabeson/lexy
881beb56f030e8f4761514e70cb50d809ac4ad17
[ "BSL-1.0" ]
null
null
null
// Copyright (C) 2020-2021 Jonathan Müller <jonathanmueller.dev@gmail.com> // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. #ifndef LEXY_INPUT_RANGE_INPUT_HPP_INCLUDED #define LEXY_INPUT_RANGE_INPUT_HPP_INCLUDED #include <lexy/error.hpp> #inclu...
25.947368
94
0.698445
4453e435c0123f74a599736a86a840844104da98
10,278
hpp
C++
libuavcan/include/uavcan/util/templates.hpp
hsteinhaus/uavcan
e2e358bb069be4d52442e590fb14a6ceb1b9d65f
[ "MIT" ]
null
null
null
libuavcan/include/uavcan/util/templates.hpp
hsteinhaus/uavcan
e2e358bb069be4d52442e590fb14a6ceb1b9d65f
[ "MIT" ]
null
null
null
libuavcan/include/uavcan/util/templates.hpp
hsteinhaus/uavcan
e2e358bb069be4d52442e590fb14a6ceb1b9d65f
[ "MIT" ]
null
null
null
/* * Copyright (C) 2014 Pavel Kirienko <pavel.kirienko@gmail.com> */ #pragma once #include <climits> #include <cstddef> #include <cmath> #include <uavcan/build_config.hpp> #ifndef UAVCAN_CPP_VERSION # error UAVCAN_CPP_VERSION #endif #if UAVCAN_CPP_VERSION < UAVCAN_CPP11 # include <float.h> // cfloat may not b...
24.413302
117
0.659759
445537ca757d1ff5e980bf6addabe0fe56aa9cfe
531
hpp
C++
include/RED4ext/Scripting/Natives/Generated/ink/anim/TextReplaceInterpolator.hpp
WSSDude420/RED4ext.SDK
eaca8bdf7b92c48422b18431ed8cd0876f53bdb3
[ "MIT" ]
null
null
null
include/RED4ext/Scripting/Natives/Generated/ink/anim/TextReplaceInterpolator.hpp
WSSDude420/RED4ext.SDK
eaca8bdf7b92c48422b18431ed8cd0876f53bdb3
[ "MIT" ]
null
null
null
include/RED4ext/Scripting/Natives/Generated/ink/anim/TextReplaceInterpolator.hpp
WSSDude420/RED4ext.SDK
eaca8bdf7b92c48422b18431ed8cd0876f53bdb3
[ "MIT" ]
null
null
null
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/Scripting/Natives/Generated/ink/anim/TextInterpolator.hpp> namespace RED4ext { namespace ink::anim { struct TextReplaceInterpolator : ink::anim::TextInterpolator { static con...
25.285714
76
0.772128
4456531ac161c56394b87b25ee4fb50db2206350
500
cpp
C++
C++/Win32/SingletonProcess2.cpp
mzlogin/snippets
5302142d1b6591a513b7cbcd0400f0d3caeac0d1
[ "MIT" ]
4
2016-06-22T05:58:18.000Z
2021-05-23T23:11:18.000Z
C++/Win32/SingletonProcess2.cpp
mzlogin/snippets
5302142d1b6591a513b7cbcd0400f0d3caeac0d1
[ "MIT" ]
1
2017-11-30T02:01:36.000Z
2017-11-30T02:01:36.000Z
C++/Win32/SingletonProcess2.cpp
mzlogin/snippets
5302142d1b6591a513b7cbcd0400f0d3caeac0d1
[ "MIT" ]
null
null
null
#include <Windows.h> int main(int argc, char *argv[]) { HANDLE hMutex = NULL; do { hMutex = CreateMutex(NULL, FALSE, "Global\\73E21C80-1960-472F-BF0B-3EE7CC7AF17E"); DWORD dwError = GetLastError(); if (ERROR_ALREADY_EXISTS == dwError || ERROR_ACCESS_DENIED == dwError) { ...
16.666667
90
0.528
445733050f0f57c71a36e3c270da4a923d6d527a
470
cpp
C++
src/tests/util/trace.cpp
silky/lean
df8b88dca2f8da1a422cb618cd476ef5be730546
[ "Apache-2.0" ]
1
2019-06-27T11:33:01.000Z
2019-06-27T11:33:01.000Z
src/tests/util/trace.cpp
silky/lean
df8b88dca2f8da1a422cb618cd476ef5be730546
[ "Apache-2.0" ]
null
null
null
src/tests/util/trace.cpp
silky/lean
df8b88dca2f8da1a422cb618cd476ef5be730546
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2013 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura */ #include "util/test.h" #include "util/trace.h" using namespace lean; int main() { lean_assert(!is_trace_enabled("name")); enable_trace("name"); ...
24.736842
67
0.708511
4457cfae8f4457d78b023463a8041c603db490b8
5,671
hpp
C++
modules/gapi/include/opencv2/gapi/gcomputation.hpp
satnamsingh8912/opencv
9c23f2f1a682faa9f0b2c2223a857c7d93ba65a6
[ "BSD-3-Clause" ]
9
2018-11-30T08:06:41.000Z
2020-09-10T09:03:07.000Z
modules/gapi/include/opencv2/gapi/gcomputation.hpp
satnamsingh8912/opencv
9c23f2f1a682faa9f0b2c2223a857c7d93ba65a6
[ "BSD-3-Clause" ]
3
2020-07-08T01:07:18.000Z
2020-07-08T02:11:11.000Z
modules/gapi/include/opencv2/gapi/gcomputation.hpp
satnamsingh8912/opencv
9c23f2f1a682faa9f0b2c2223a857c7d93ba65a6
[ "BSD-3-Clause" ]
3
2018-11-30T08:17:58.000Z
2019-02-23T11:13:48.000Z
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. // // Copyright (C) 2018 Intel Corporation #ifndef OPENCV_GAPI_GCOMPUTATION_HPP #define OPENCV_GAPI_GCOMPUTATION_HPP #inclu...
40.507143
116
0.623347
44594ccebfa308ad020a264d2c2dbdef58ca7d68
2,219
cpp
C++
SymbolExtractorAndRenamer/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionVariable.cpp
Polidea/SiriusObfuscator
b0e590d8130e97856afe578869b83a209e2b19be
[ "Apache-2.0" ]
427
2018-05-29T14:21:02.000Z
2022-03-16T03:17:54.000Z
SymbolExtractorAndRenamer/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionVariable.cpp
PolideaPlayground/SiriusObfuscator
b0e590d8130e97856afe578869b83a209e2b19be
[ "Apache-2.0" ]
25
2018-07-23T08:34:15.000Z
2021-11-05T07:13:36.000Z
SymbolExtractorAndRenamer/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionVariable.cpp
PolideaPlayground/SiriusObfuscator
b0e590d8130e97856afe578869b83a209e2b19be
[ "Apache-2.0" ]
52
2018-07-19T19:57:32.000Z
2022-03-11T16:05:38.000Z
//===-- ClangExpressionVariable.cpp -----------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
32.632353
80
0.714736
4459e1160f69ac012c8cbca47d18980c16f92971
948
cpp
C++
answers/leetcode/Insert Interval/Insert Interval.cpp
FeiZhan/Algo-Collection
708c4a38112e0b381864809788b9e44ac5ae4d05
[ "MIT" ]
3
2015-09-04T21:32:31.000Z
2020-12-06T00:37:32.000Z
answers/leetcode/Insert Interval/Insert Interval.cpp
FeiZhan/Algo-Collection
708c4a38112e0b381864809788b9e44ac5ae4d05
[ "MIT" ]
null
null
null
answers/leetcode/Insert Interval/Insert Interval.cpp
FeiZhan/Algo-Collection
708c4a38112e0b381864809788b9e44ac5ae4d05
[ "MIT" ]
null
null
null
//@result 151 / 151 test cases passed. Status: Accepted Runtime: 580 ms Submitted: 1 minute ago You are here! Your runtime beats 65.83% of cpp submissions. /** * Definition for an interval. * struct Interval { * int start; * int end; * Interval() : start(0), end(0) {} * Interval(int s, int e) : start(s...
30.580645
155
0.642405
445a56ad79f0bd72ae5e851c60f116459daa68ec
2,664
cpp
C++
deps/spidermonkey/xpconnect/tests/components/xpctest_const.cpp
havocp/hwf
a99e9a0461983226717b278513cfd9f1e53ba0f1
[ "MIT" ]
1
2015-04-19T10:49:48.000Z
2015-04-19T10:49:48.000Z
deps/spidermonkey/xpconnect/tests/components/xpctest_const.cpp
havocp/hwf
a99e9a0461983226717b278513cfd9f1e53ba0f1
[ "MIT" ]
null
null
null
deps/spidermonkey/xpconnect/tests/components/xpctest_const.cpp
havocp/hwf
a99e9a0461983226717b278513cfd9f1e53ba0f1
[ "MIT" ]
null
null
null
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the Licen...
34.597403
82
0.712462
445c1d637e995b4dc455720fc9c006232d0307db
312,429
cpp
C++
test/tailoring_rule_test_zh_big5han_012.cpp
jan-moeller/text
c61e51c82dfb0ae6e74200c01ce040fa6db730c4
[ "BSL-1.0" ]
null
null
null
test/tailoring_rule_test_zh_big5han_012.cpp
jan-moeller/text
c61e51c82dfb0ae6e74200c01ce040fa6db730c4
[ "BSL-1.0" ]
1
2021-03-05T12:56:59.000Z
2021-03-05T13:11:53.000Z
test/tailoring_rule_test_zh_big5han_012.cpp
jan-moeller/text
c61e51c82dfb0ae6e74200c01ce040fa6db730c4
[ "BSL-1.0" ]
3
2019-10-30T18:38:15.000Z
2021-03-05T12:10:13.000Z
// Warning! This file is autogenerated. #include <boost/text/collation_table.hpp> #include <boost/text/collate.hpp> #include <boost/text/data/all.hpp> #ifndef LIMIT_TESTING_FOR_CI #include <boost/text/save_load_table.hpp> #include <boost/filesystem.hpp> #endif #include <gtest/gtest.h> using namespace boost::text; ...
32.312442
77
0.564141
445c5b28cf5f020ce8ce8385241892b1c2887c11
13,925
cpp
C++
gen/blink/bindings/core/v8/V8SVGPreserveAspectRatio.cpp
wenfeifei/miniblink49
2ed562ff70130485148d94b0e5f4c343da0c2ba4
[ "Apache-2.0" ]
5,964
2016-09-27T03:46:29.000Z
2022-03-31T16:25:27.000Z
gen/blink/bindings/core/v8/V8SVGPreserveAspectRatio.cpp
w4454962/miniblink49
b294b6eacb3333659bf7b94d670d96edeeba14c0
[ "Apache-2.0" ]
459
2016-09-29T00:51:38.000Z
2022-03-07T14:37:46.000Z
gen/blink/bindings/core/v8/V8SVGPreserveAspectRatio.cpp
w4454962/miniblink49
b294b6eacb3333659bf7b94d670d96edeeba14c0
[ "Apache-2.0" ]
1,006
2016-09-27T05:17:27.000Z
2022-03-30T02:46:51.000Z
// Copyright 2014 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. // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! #include "config.h" #include "V8SVGPreserveAspectRatio.h" #include...
64.467593
625
0.792316
445d9f9e02c6b310eb9827706576d492dff6345a
62,881
cc
C++
src/breakpad/src/third_party/glog/src/logging.cc
ant0ine/phantomjs
8114d44a28134b765ab26b7e13ce31594fa81253
[ "BSD-3-Clause" ]
46
2015-01-08T14:32:34.000Z
2022-02-05T16:48:26.000Z
src/breakpad/src/third_party/glog/src/logging.cc
ant0ine/phantomjs
8114d44a28134b765ab26b7e13ce31594fa81253
[ "BSD-3-Clause" ]
72
2015-02-05T11:42:13.000Z
2015-12-09T22:18:41.000Z
src/breakpad/src/third_party/glog/src/logging.cc
ant0ine/phantomjs
8114d44a28134b765ab26b7e13ce31594fa81253
[ "BSD-3-Clause" ]
22
2015-01-04T10:37:36.000Z
2021-08-16T11:46:32.000Z
// Copyright (c) 1999, Google Inc. // 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 // notice, this list of conditi...
34.760088
85
0.653965
44610cf127b3f8fa4ef5ac32e46ded27ec671314
3,371
hpp
C++
rocprim/include/rocprim/device/device_merge_sort_config.hpp
arsenm/rocPRIM
02d6006a7951c53ecfd245200d58809d3eee0b48
[ "MIT" ]
null
null
null
rocprim/include/rocprim/device/device_merge_sort_config.hpp
arsenm/rocPRIM
02d6006a7951c53ecfd245200d58809d3eee0b48
[ "MIT" ]
null
null
null
rocprim/include/rocprim/device/device_merge_sort_config.hpp
arsenm/rocPRIM
02d6006a7951c53ecfd245200d58809d3eee0b48
[ "MIT" ]
null
null
null
// Copyright (c) 2018 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // t...
33.71
80
0.750816
446236206dc9c12d0027e3f086606c1adfcaa482
934
cpp
C++
POJ/1321/12854802_AC_63ms_708kB.cpp
BakaErii/ACM_Collection
d368b15c7f1c84472424d5e61e5ebc667f589025
[ "WTFPL" ]
null
null
null
POJ/1321/12854802_AC_63ms_708kB.cpp
BakaErii/ACM_Collection
d368b15c7f1c84472424d5e61e5ebc667f589025
[ "WTFPL" ]
null
null
null
POJ/1321/12854802_AC_63ms_708kB.cpp
BakaErii/ACM_Collection
d368b15c7f1c84472424d5e61e5ebc667f589025
[ "WTFPL" ]
null
null
null
/** * @author Moe_Sakiya sakiya@tun.moe * @date 2018-03-01 00:07:15 * */ #include <iostream> #include <string> #include <algorithm> #include <set> #include <map> #include <vector> #include <stack> #include <queue> #include <cstdio> #include <cstring> #include <cstdlib> #include <cmath> using namespace st...
15.566667
49
0.543897
446367cf332cb23534c2744c4dd66744d121ef60
6,354
cpp
C++
Surface_mesh_topology/benchmark/Surface_mesh_topology/path_homotopy_with_schema.cpp
ffteja/cgal
c1c7f4ad9a4cd669e33ca07a299062a461581812
[ "CC0-1.0" ]
3,227
2015-03-05T00:19:18.000Z
2022-03-31T08:20:35.000Z
Surface_mesh_topology/benchmark/Surface_mesh_topology/path_homotopy_with_schema.cpp
ffteja/cgal
c1c7f4ad9a4cd669e33ca07a299062a461581812
[ "CC0-1.0" ]
5,574
2015-03-05T00:01:56.000Z
2022-03-31T15:08:11.000Z
Surface_mesh_topology/benchmark/Surface_mesh_topology/path_homotopy_with_schema.cpp
ffteja/cgal
c1c7f4ad9a4cd669e33ca07a299062a461581812
[ "CC0-1.0" ]
1,274
2015-03-05T00:01:12.000Z
2022-03-31T14:47:56.000Z
#include <CGAL/Curves_on_surface_topology.h> #include <CGAL/Path_on_surface.h> #include <CGAL/Polygonal_schema.h> /////////////////////////////////////////////////////////////////////////////// [[ noreturn ]] void usage(int /*argc*/, char** argv) { std::cout<<"usage: "<<argv[0]<<" scheme [-nbdefo D] [-nbedges E] " ...
37.597633
143
0.543122
44636aa91a85af89ce75f4d27aa12f8fe3040e19
1,274
cpp
C++
oi/Contest/2017-6/2017-6-27/gf-brute.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
3
2018-08-30T09:43:20.000Z
2019-12-03T04:53:43.000Z
oi/Contest/2017-6/2017-6-27/gf-brute.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
null
null
null
oi/Contest/2017-6/2017-6-27/gf-brute.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
null
null
null
#define USE_FILE_IO #include <cstdio> #include <cstring> #include <climits> #include <algorithm> using namespace std; typedef long long i64; #define NMAX 200000 #define MOD 998244353 static int n; static int A[NMAX + 10], B[NMAX + 10]; static i64 fac[NMAX + 10]; static i64 inv[NMAX + 10]; inline i64 qpow(i64 a, ...
18.463768
74
0.437206
44639c0bf345059cb6f2fe1868bb02c818ac2759
2,425
cpp
C++
gpmp2/obstacle/tests/testPlanarSDF.cpp
Cryptum169/gpmp2
f361baac4917b9a4d1220411e9c69dc9f96f4277
[ "BSD-3-Clause" ]
null
null
null
gpmp2/obstacle/tests/testPlanarSDF.cpp
Cryptum169/gpmp2
f361baac4917b9a4d1220411e9c69dc9f96f4277
[ "BSD-3-Clause" ]
null
null
null
gpmp2/obstacle/tests/testPlanarSDF.cpp
Cryptum169/gpmp2
f361baac4917b9a4d1220411e9c69dc9f96f4277
[ "BSD-3-Clause" ]
null
null
null
/** * @file testPlanarSDFutils.cpp * @author Jing Dong * @date May 8 2016 **/ #include <CppUnitLite/TestHarness.h> #include <gtsam/base/numericalDerivative.h> #include <gtsam/base/Matrix.h> #include <gpmp2/obstacle/PlanarSDF.h> #include <iostream> using namespace std; using namespace gtsam; using namespace gpmp...
28.529412
85
0.635876
4464cb0f0394ff009d632a6a195a4c0851dc8e3d
1,168
cpp
C++
src/rectangle.cpp
yudhik11/OpenGL-PacmanKiller
2d7ac47c1560223cdaa7221753f8b41af9856113
[ "MIT" ]
null
null
null
src/rectangle.cpp
yudhik11/OpenGL-PacmanKiller
2d7ac47c1560223cdaa7221753f8b41af9856113
[ "MIT" ]
null
null
null
src/rectangle.cpp
yudhik11/OpenGL-PacmanKiller
2d7ac47c1560223cdaa7221753f8b41af9856113
[ "MIT" ]
null
null
null
#include "rectangle.h" #include "main.h" Rectangle::Rectangle(float x, float y,float x1, float y1,float length, float width, color_t color) { this->position = glm::vec3(x, y, 0); const GLfloat vertex_buffer_data[] = { x1, y1, 0, // vertex 1 x1, y1+width, 0, // vertex 2 x1+length, y1+wid...
35.393939
100
0.603596
44695e046a9f88c516e457a8f7684087f889ddb6
12,464
hpp
C++
include/behemoth/enumerator.hpp
gian21391/behemoth
923bf18a686603022bbab7ce8674dec4c59cdcde
[ "MIT" ]
null
null
null
include/behemoth/enumerator.hpp
gian21391/behemoth
923bf18a686603022bbab7ce8674dec4c59cdcde
[ "MIT" ]
null
null
null
include/behemoth/enumerator.hpp
gian21391/behemoth
923bf18a686603022bbab7ce8674dec4c59cdcde
[ "MIT" ]
null
null
null
/* behemoth: A syntax-guided synthesis library * Copyright (C) 2018 EPFL * * 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 right...
24.391389
137
0.638639
446ba9ba528732bbf9937cb572cec46831c742a7
18,187
cpp
C++
DBow/HVocabulary.cpp
jjzhang166/DBow
275d4504c8a008100f9a038abfe745a0c067e913
[ "BSD-3-Clause" ]
33
2015-08-26T06:35:20.000Z
2021-08-04T05:23:10.000Z
DBow/HVocabulary.cpp
jjzhang166/DBow
275d4504c8a008100f9a038abfe745a0c067e913
[ "BSD-3-Clause" ]
null
null
null
DBow/HVocabulary.cpp
jjzhang166/DBow
275d4504c8a008100f9a038abfe745a0c067e913
[ "BSD-3-Clause" ]
13
2016-03-10T13:19:25.000Z
2021-04-14T10:00:26.000Z
/** * File: HVocabulary.cpp * Date: April 2010 * Author: Dorian Galvez * Description: hierarchical vocabulary implementing (Nister, 2006) */ #include "HVocabulary.h" #include "HVocParams.h" #include "DUtils.h" #include <cassert> #include <algorithm> #include <numeric> #include <vector> #include ...
25.400838
90
0.625392
446d7d7cecaa283e60f7725f15bfbfea6e57a0af
5,096
cpp
C++
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qttools/src/assistant/qhelpconverter/qhpwriter.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qttools/src/assistant/qhelpconverter/qhpwriter.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qttools/src/assistant/qhelpconverter/qhpwriter.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt Assistant of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ ** Commercial License Usage ** Licensees holding valid co...
29.627907
87
0.660911
446fe89cefa2483f6898bf6ff5c1d9a4eeecfa20
4,379
cpp
C++
rviz_default_plugins/src/rviz_default_plugins/tools/focus/focus_tool.cpp
romi2002/rviz
8b2fcc1838e079d0e365894abd7cfd7b255b8d8b
[ "BSD-3-Clause-Clear" ]
null
null
null
rviz_default_plugins/src/rviz_default_plugins/tools/focus/focus_tool.cpp
romi2002/rviz
8b2fcc1838e079d0e365894abd7cfd7b255b8d8b
[ "BSD-3-Clause-Clear" ]
null
null
null
rviz_default_plugins/src/rviz_default_plugins/tools/focus/focus_tool.cpp
romi2002/rviz
8b2fcc1838e079d0e365894abd7cfd7b255b8d8b
[ "BSD-3-Clause-Clear" ]
1
2020-04-29T07:08:07.000Z
2020-04-29T07:08:07.000Z
/* * Copyright (c) 2013, Willow Garage, Inc. * 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 * notice, this l...
31.278571
96
0.738982
4471948114cf73b9e901df5d96ea11fae039b912
1,899
cxx
C++
Remoting/Core/vtkPVOptionsXMLParser.cxx
xj361685640/ParaView
0a27eef5abc5a0c0472ab0bc806c4db881156e64
[ "Apache-2.0", "BSD-3-Clause" ]
815
2015-01-03T02:14:04.000Z
2022-03-26T07:48:07.000Z
Remoting/Core/vtkPVOptionsXMLParser.cxx
xj361685640/ParaView
0a27eef5abc5a0c0472ab0bc806c4db881156e64
[ "Apache-2.0", "BSD-3-Clause" ]
9
2015-04-28T20:10:37.000Z
2021-08-20T18:19:01.000Z
Remoting/Core/vtkPVOptionsXMLParser.cxx
xj361685640/ParaView
0a27eef5abc5a0c0472ab0bc806c4db881156e64
[ "Apache-2.0", "BSD-3-Clause" ]
328
2015-01-22T23:11:46.000Z
2022-03-14T06:07:52.000Z
/*========================================================================= Module: vtkPVOptionsXMLParser.cxx Copyright (c) Kitware, Inc. All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is distributed WITHOUT ANY WARRANTY; without even th...
27.521739
78
0.557662
4472ac1711ff3cc4ab2f07de2143fcfab8d06bb9
11,047
cpp
C++
src/energyplus/Test/GeneratorMicroTurbine_GTest.cpp
mehrdad-shokri/OpenStudio
1773b54ce1cb660818ac0114dd7eefae6639ca36
[ "blessing" ]
null
null
null
src/energyplus/Test/GeneratorMicroTurbine_GTest.cpp
mehrdad-shokri/OpenStudio
1773b54ce1cb660818ac0114dd7eefae6639ca36
[ "blessing" ]
null
null
null
src/energyplus/Test/GeneratorMicroTurbine_GTest.cpp
mehrdad-shokri/OpenStudio
1773b54ce1cb660818ac0114dd7eefae6639ca36
[ "blessing" ]
null
null
null
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without m...
46.029167
146
0.76437
447336c8bdeda9ca261722539acddb9480c4cf48
9,889
cc
C++
init/file_attrs_cleaner_test.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
4
2020-07-24T06:54:16.000Z
2021-06-16T17:13:53.000Z
init/file_attrs_cleaner_test.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
1
2021-04-02T17:35:07.000Z
2021-04-02T17:35:07.000Z
init/file_attrs_cleaner_test.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
1
2020-11-04T22:31:45.000Z
2020-11-04T22:31:45.000Z
// Copyright 2018 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 "init/file_attrs_cleaner.h" #include <errno.h> #include <fcntl.h> #include <sys/ioctl.h> #include <sys/types.h> #include <sys/xattr.h> #incl...
31.294304
80
0.707857
4475715a4c17dea905da48f2ef8f4c8919066a38
5,129
cpp
C++
lib/src/textures.cpp
konstructs/client
2616d2c37dd97b6e799e933fe0b932fd2e7c27d4
[ "MIT" ]
48
2015-05-15T19:51:40.000Z
2021-06-08T14:55:48.000Z
lib/src/textures.cpp
konstructs/client
2616d2c37dd97b6e799e933fe0b932fd2e7c27d4
[ "MIT" ]
180
2015-05-09T16:28:28.000Z
2020-12-20T19:53:54.000Z
lib/src/textures.cpp
konstructs/client
2616d2c37dd97b6e799e933fe0b932fd2e7c27d4
[ "MIT" ]
14
2015-07-17T20:32:13.000Z
2021-03-12T07:52:33.000Z
#include <fstream> #include <streambuf> #include <gl_includes.h> #include <iostream> #include <cstdlib> #include "textures.h" #include "util.h" #define KONSTRUCTS_PATH_SIZE 256 namespace konstructs { void shtxt_path(const char *name, const char *type, char *path, size_t max_len) { snprintf(path, max_len, "...
36.899281
92
0.666797
4476251d4084b04d1d79b25f1d4cb70694b07750
14,334
ipp
C++
boost/test/impl/framework.ipp
jonstewart/boost-svn
7f6dc0c0cb807b28072c7bdd3d77bb01ab290c59
[ "BSL-1.0" ]
1
2017-04-08T10:44:28.000Z
2017-04-08T10:44:28.000Z
boost/test/impl/framework.ipp
jonstewart/boost-svn
7f6dc0c0cb807b28072c7bdd3d77bb01ab290c59
[ "BSL-1.0" ]
null
null
null
boost/test/impl/framework.ipp
jonstewart/boost-svn
7f6dc0c0cb807b28072c7bdd3d77bb01ab290c59
[ "BSL-1.0" ]
null
null
null
// (C) Copyright Gennadiy Rozental 2005-2008. // 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) // See http://www.boost.org/libs/test for the library home page. // // File : $RCSfile$ // // Version ...
28.440476
132
0.66876
447794b296f1ca47c7dc73cb484dced1c00fa0e4
1,043
cpp
C++
editor/src/editorcommands/addspatialentitycommand.cpp
gameraccoon/HideAndSeek
bc1e9c8dd725968ad4bc204877d8ddca2132ace7
[ "MIT" ]
null
null
null
editor/src/editorcommands/addspatialentitycommand.cpp
gameraccoon/HideAndSeek
bc1e9c8dd725968ad4bc204877d8ddca2132ace7
[ "MIT" ]
null
null
null
editor/src/editorcommands/addspatialentitycommand.cpp
gameraccoon/HideAndSeek
bc1e9c8dd725968ad4bc204877d8ddca2132ace7
[ "MIT" ]
null
null
null
#include "addspatialentitycommand.h" #include <QtWidgets/qcombobox.h> #include "GameData/Components/TransformComponent.generated.h" #include "GameData/World.h" AddSpatialEntityCommand::AddSpatialEntityCommand(const SpatialEntity& entity, const Vector2D& location) : EditorCommand(EffectBitset(EffectType::Entities)) ...
32.59375
112
0.802493
4477bee1e72e9cab5d423d1d989799ea66e26d96
5,195
cpp
C++
code/szen/src/System/Window.cpp
Sonaza/scyori
a894a9c7bd45a68ea1b6ff14877cdbe47ddd39cf
[ "BSD-3-Clause" ]
null
null
null
code/szen/src/System/Window.cpp
Sonaza/scyori
a894a9c7bd45a68ea1b6ff14877cdbe47ddd39cf
[ "BSD-3-Clause" ]
null
null
null
code/szen/src/System/Window.cpp
Sonaza/scyori
a894a9c7bd45a68ea1b6ff14877cdbe47ddd39cf
[ "BSD-3-Clause" ]
null
null
null
#include <szen/System/Window.hpp> #include <szen/Game/Camera.hpp> #include <sstream> #ifdef SFML_SYSTEM_WINDOWS #include <Windows.h> #endif using namespace sz; namespace { sf::RenderWindow* m_window = NULL; float m_aspectRatio; sf::Uint32 m_virtualWidth = 1920; sf::View m_view; std::string m_title; sf:...
23.506787
86
0.596535
4478f21af676c7a08c1b77f5ec68f64e89aed5b3
1,814
cpp
C++
src/lib/CatenaBase_NetSave.cpp
dhineshkumarmcci/Catena-Arduino-Platform
478ad23318a7646f2e03170e9294b0ea69885da4
[ "MIT" ]
1
2021-11-27T22:56:25.000Z
2021-11-27T22:56:25.000Z
src/lib/CatenaBase_NetSave.cpp
dhineshkumarmcci/Catena-Arduino-Platform
478ad23318a7646f2e03170e9294b0ea69885da4
[ "MIT" ]
null
null
null
src/lib/CatenaBase_NetSave.cpp
dhineshkumarmcci/Catena-Arduino-Platform
478ad23318a7646f2e03170e9294b0ea69885da4
[ "MIT" ]
1
2021-04-03T09:56:13.000Z
2021-04-03T09:56:13.000Z
/* CatenaBase_NetSave.cpp Mon Dec 03 2018 13:21:28 chwon */ /* Module: CatenaBase_NetSave.cpp Function: Interface from LoRaWAN to FRAM. Version: V0.12.0 Mon Dec 03 2018 13:21:28 chwon Edit level 1 Copyright notice: This file copyright (C) 2018 by MCCI Corporation 3520 Krums Corners Road Ithaca, NY 1485...
19.717391
66
0.723264
447aa6c8ff6b0ec4345b7687a3fc26f3c5f4d156
42,601
cc
C++
src/components/transport_manager/src/transport_adapter/transport_adapter_impl.cc
Sohei-Suzuki-Nexty/sdl_core
68f082169e0a40fccd9eb0db3c83911c28870f07
[ "BSD-3-Clause" ]
249
2015-01-15T16:50:53.000Z
2022-03-24T13:23:34.000Z
src/components/transport_manager/src/transport_adapter/transport_adapter_impl.cc
Sohei-Suzuki-Nexty/sdl_core
68f082169e0a40fccd9eb0db3c83911c28870f07
[ "BSD-3-Clause" ]
2,917
2015-01-12T16:17:49.000Z
2022-03-31T11:57:47.000Z
src/components/transport_manager/src/transport_adapter/transport_adapter_impl.cc
Sohei-Suzuki-Nexty/sdl_core
68f082169e0a40fccd9eb0db3c83911c28870f07
[ "BSD-3-Clause" ]
306
2015-01-12T09:23:20.000Z
2022-01-28T18:06:30.000Z
/* * Copyright (c) 2017, Ford Motor Company * 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 notice, this * list of condit...
33.517703
80
0.682284
447c19bf23455320cec4b0192584ed77e70ebf73
2,593
cpp
C++
AnnService/src/Core/Common/InstructionUtils.cpp
tornado12345/SPTAG
067e5d267e73eb26cb6e4195db4f2b174284fd6b
[ "MIT" ]
4,351
2019-05-07T06:04:41.000Z
2022-03-30T12:46:19.000Z
AnnService/src/Core/Common/InstructionUtils.cpp
tornado12345/SPTAG
067e5d267e73eb26cb6e4195db4f2b174284fd6b
[ "MIT" ]
140
2019-05-13T08:55:27.000Z
2022-03-29T16:56:16.000Z
AnnService/src/Core/Common/InstructionUtils.cpp
tornado12345/SPTAG
067e5d267e73eb26cb6e4195db4f2b174284fd6b
[ "MIT" ]
552
2019-05-15T16:27:52.000Z
2022-03-18T15:12:44.000Z
#include "inc/Core/Common/InstructionUtils.h" #include "inc/Core/Common.h" #ifndef _MSC_VER void cpuid(int info[4], int InfoType) { __cpuid_count(InfoType, 0, info[0], info[1], info[2], info[3]); } #endif namespace SPTAG { namespace COMMON { const InstructionSet::InstructionSet_Internal InstructionSet...
38.132353
79
0.538758
4484654fc9ccf6f86d73476a16d233513532cfec
2,099
cc
C++
leet_code/Multiply_Strings/solve.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
1
2020-04-11T22:04:23.000Z
2020-04-11T22:04:23.000Z
leet_code/Multiply_Strings/solve.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
null
null
null
leet_code/Multiply_Strings/solve.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
null
null
null
class Solution { public: string multiply(string num1, string num2) { vector<string> partial_result; string digit = ""; for_each(num2.rbegin(), num2.rend(), [&num1, &digit, &partial_result](const auto ch2) { const auto op2 = ch2 - '0'; auto carry = 0; stri...
31.80303
95
0.370176
4486109a504e520bbc6c9c4b99cb015568d3c5c5
6,771
cpp
C++
src/p3d/legacy/internal/NL_GameManager.cpp
AlexandrSachkov/Prototype3D
1cf705973a8d9137014935686b7fcb034ab95123
[ "MIT" ]
7
2018-09-10T04:57:48.000Z
2020-12-16T12:29:52.000Z
src/p3d/legacy/internal/NL_GameManager.cpp
AlexandrSachkov/Prototype3D
1cf705973a8d9137014935686b7fcb034ab95123
[ "MIT" ]
null
null
null
src/p3d/legacy/internal/NL_GameManager.cpp
AlexandrSachkov/Prototype3D
1cf705973a8d9137014935686b7fcb034ab95123
[ "MIT" ]
4
2015-11-25T07:41:10.000Z
2019-06-12T22:30:54.000Z
#include "NL_GameManager.h" #include "NL_RenderingEngine.h" #include "NL_ScriptingEngine.h" #include "NL_ThreadLocal.h" #include "NL_GameObject.h" #include "NL_EngineServices.h" #include "NL_SharedData.h" #include "NL_IWindowManager.h" #include <fstream> namespace NLE { namespace GAME { GameManager::GameManager(...
27.084
113
0.678925
4487e6e1d63b56eea3df6c0d8310d4397d6f3f37
7,445
cpp
C++
Map/MapDriver.cpp
rmanaem/risk-warzone
2d9929543dec0787dbb7d82717e970ead8c2cdb6
[ "MIT" ]
null
null
null
Map/MapDriver.cpp
rmanaem/risk-warzone
2d9929543dec0787dbb7d82717e970ead8c2cdb6
[ "MIT" ]
null
null
null
Map/MapDriver.cpp
rmanaem/risk-warzone
2d9929543dec0787dbb7d82717e970ead8c2cdb6
[ "MIT" ]
null
null
null
#include <iostream> #include "Map.h" #include <vector> #include <stack> using namespace std; /* Quick instruction: If you want to see the third illustation being validated, the second one should be fixed. To do so, just remove the comment from line 88 (i.e. establish the brazil --> north africa connection). */ int ma...
53.561151
131
0.658831
44880f86d0d5604e40a1f2a807b1b29becbc23f0
5,080
hpp
C++
src/multimap.hpp
nfagan/categorical
4a309a07debd654d4e69cb80b58fd9c31cf888cc
[ "MIT" ]
null
null
null
src/multimap.hpp
nfagan/categorical
4a309a07debd654d4e69cb80b58fd9c31cf888cc
[ "MIT" ]
null
null
null
src/multimap.hpp
nfagan/categorical
4a309a07debd654d4e69cb80b58fd9c31cf888cc
[ "MIT" ]
null
null
null
// // multimap.hpp // bit_array-test // // Created by Nick Fagan on 3/12/18. // #pragma once #include <unordered_map> #include <stdexcept> #include <vector> #include <cstdint> namespace util { template<typename K, typename V> class multimap; } template<typename K, typename V> class util::multimap { publi...
18.608059
90
0.58878
44893b29c83a6e917f4d6f2b35baf0c92b912a41
6,472
cpp
C++
external/rapidcheck/test/state/IntegrationTests.cpp
XzoRit/cpp_rapidcheck
292c9943569e52e29fbd11abd31a965efc699a8e
[ "BSL-1.0" ]
876
2015-01-29T00:48:46.000Z
2022-03-23T00:24:34.000Z
test/state/IntegrationTests.cpp
wuerges/rapidcheck
d2e0481b28b77fcd0c7ead9af1e8227ee9982739
[ "BSD-2-Clause" ]
199
2015-05-18T07:04:40.000Z
2022-03-23T02:37:15.000Z
test/state/IntegrationTests.cpp
wuerges/rapidcheck
d2e0481b28b77fcd0c7ead9af1e8227ee9982739
[ "BSD-2-Clause" ]
162
2015-03-12T20:19:31.000Z
2022-03-14T08:42:52.000Z
#include <catch2/catch.hpp> #include <rapidcheck/catch.h> #include <rapidcheck/state.h> #include "util/GenUtils.h" using namespace rc; using namespace rc::test; namespace { struct Bag { std::vector<int> items; bool open = false; }; using BagCommand = state::Command<Bag, Bag>; struct Open : public BagCommand {...
29.285068
79
0.599197
448974faa03164e424ded9451b92a2d0f1423ab7
10,608
hpp
C++
source/Leaderboard.hpp
acodcha/catan-stratification
12c45cbf0f97727cc1c8d8c243ce5d0f2468843b
[ "MIT" ]
1
2020-10-07T01:03:32.000Z
2020-10-07T01:03:32.000Z
source/Leaderboard.hpp
acodcha/catan-stratification
12c45cbf0f97727cc1c8d8c243ce5d0f2468843b
[ "MIT" ]
null
null
null
source/Leaderboard.hpp
acodcha/catan-stratification
12c45cbf0f97727cc1c8d8c243ce5d0f2468843b
[ "MIT" ]
1
2021-09-22T03:02:41.000Z
2021-09-22T03:02:41.000Z
#pragma once #include "DataFileWriter.hpp" #include "GlobalAveragePointsGnuplotFileWriter.hpp" #include "GlobalEloRatingGnuplotFileWriter.hpp" #include "GlobalPlacePercentageGnuplotFileWriter.hpp" #include "IndividualAveragePointsGnuplotFileWriter.hpp" #include "IndividualEloRatingGnuplotFileWriter.hpp" #include "Indi...
51.495146
321
0.737651
44899f636f113100199f92c07fd982e9ff82d266
2,160
cpp
C++
src/energy/soft_volume_constraint.cpp
Conrekatsu/repulsive-surfaces
74d6a16e6ca55c8296fa5a49757c2318bea62a84
[ "MIT" ]
35
2021-12-13T09:58:08.000Z
2022-03-30T11:03:01.000Z
src/energy/soft_volume_constraint.cpp
Conrekatsu/repulsive-surfaces
74d6a16e6ca55c8296fa5a49757c2318bea62a84
[ "MIT" ]
null
null
null
src/energy/soft_volume_constraint.cpp
Conrekatsu/repulsive-surfaces
74d6a16e6ca55c8296fa5a49757c2318bea62a84
[ "MIT" ]
3
2022-02-25T06:46:34.000Z
2022-03-16T05:46:53.000Z
#include "energy/soft_volume_constraint.h" #include "matrix_utils.h" #include "surface_derivatives.h" namespace rsurfaces { SoftVolumeConstraint::SoftVolumeConstraint(MeshPtr mesh_, GeomPtr geom_, double weight_) { mesh = mesh_; geom = geom_; weight = weight_; initialVolume = to...
32.238806
92
0.647222
448bc7db01bcfd3c2d5c1a5c6fcb052917d460a5
5,934
cpp
C++
src/planner/Query.cpp
yixinglu/nebula-graph
faf9cd44d818b953da98b5c922999560c89867bd
[ "Apache-2.0" ]
1
2021-08-23T05:55:55.000Z
2021-08-23T05:55:55.000Z
src/planner/Query.cpp
yixinglu/nebula-graph
faf9cd44d818b953da98b5c922999560c89867bd
[ "Apache-2.0" ]
null
null
null
src/planner/Query.cpp
yixinglu/nebula-graph
faf9cd44d818b953da98b5c922999560c89867bd
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2020 vesoft inc. All rights reserved. * * This source code is licensed under Apache 2.0 License, * attached with Common Clause Condition 1.0, found in the LICENSES directory. */ #include "planner/Query.h" #include <folly/String.h> #include "common/interface/gen-cpp2/graph_types.h" #include "util...
39.825503
99
0.663128
448f176819f901ec6ed652d795b5faf80dd21c2f
1,312
cpp
C++
MMOCoreORB/src/server/zone/objects/creature/ai/variables/CreatureTemplateReference.cpp
V-Fib/FlurryClone
40e0ca7245ec31b3815eb6459329fd9e70f88936
[ "Zlib", "OpenSSL" ]
18
2017-02-09T15:36:05.000Z
2021-12-21T04:22:15.000Z
MMOCoreORB/src/server/zone/objects/creature/ai/variables/CreatureTemplateReference.cpp
V-Fib/FlurryClone
40e0ca7245ec31b3815eb6459329fd9e70f88936
[ "Zlib", "OpenSSL" ]
61
2016-12-30T21:51:10.000Z
2021-12-10T20:25:56.000Z
MMOCoreORB/src/server/zone/objects/creature/ai/variables/CreatureTemplateReference.cpp
V-Fib/FlurryClone
40e0ca7245ec31b3815eb6459329fd9e70f88936
[ "Zlib", "OpenSSL" ]
71
2017-01-01T05:34:38.000Z
2022-03-29T01:04:00.000Z
/* * CreatureTemplateReference.cpp * * Created on: 29/04/2012 * Author: victor */ #include "CreatureTemplateReference.h" #include "server/zone/managers/creature/CreatureTemplateManager.h" bool CreatureTemplateReference::toBinaryStream(ObjectOutputStream* stream) { #ifdef ODB_SERIALIZATION templateString.t...
19.58209
88
0.749238
4494ba2054004393acc4da4168c1d9dbaa900028
8,034
cpp
C++
test/test_split.cpp
ShotaAk/rcutils
308663f1582c4e3a9b170d9ed413f76f368ed1c1
[ "Apache-2.0" ]
null
null
null
test/test_split.cpp
ShotaAk/rcutils
308663f1582c4e3a9b170d9ed413f76f368ed1c1
[ "Apache-2.0" ]
2
2020-04-08T08:42:06.000Z
2020-04-08T09:36:52.000Z
test/test_split.cpp
ShotaAk/rcutils
308663f1582c4e3a9b170d9ed413f76f368ed1c1
[ "Apache-2.0" ]
null
null
null
// Copyright 2017 Open Source Robotics Foundation, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appli...
37.023041
95
0.726413
449594da108811f393c3c76f017cb3d93176f619
4,594
cpp
C++
isis/src/kaguya/objs/KaguyaMiCamera/KaguyaMiCamera.cpp
ihumphrey-usgs/ISIS3_old
284cc442b773f8369d44379ee29a9b46961d8108
[ "Unlicense" ]
1
2019-10-13T15:31:33.000Z
2019-10-13T15:31:33.000Z
isis/src/kaguya/objs/KaguyaMiCamera/KaguyaMiCamera.cpp
ihumphrey-usgs/ISIS3_old
284cc442b773f8369d44379ee29a9b46961d8108
[ "Unlicense" ]
null
null
null
isis/src/kaguya/objs/KaguyaMiCamera/KaguyaMiCamera.cpp
ihumphrey-usgs/ISIS3_old
284cc442b773f8369d44379ee29a9b46961d8108
[ "Unlicense" ]
1
2021-07-12T06:05:03.000Z
2021-07-12T06:05:03.000Z
/** * @file * * Unless noted otherwise, the portions of Isis written by the USGS are public * domain. See individual third-party library and package descriptions for * intellectual property information,user agreements, and related information. * * Although Isis has been used by the USGS, no warranty, ex...
32.58156
100
0.702003
4496bfac111c43a836b8eff2037fcb70f625be3a
2,743
cpp
C++
thread/appl_thread_descriptor.cpp
fboucher9/appl
bb90398cf9985d4cc0a2a079c4d49d891108e6d1
[ "MIT" ]
null
null
null
thread/appl_thread_descriptor.cpp
fboucher9/appl
bb90398cf9985d4cc0a2a079c4d49d891108e6d1
[ "MIT" ]
null
null
null
thread/appl_thread_descriptor.cpp
fboucher9/appl
bb90398cf9985d4cc0a2a079c4d49d891108e6d1
[ "MIT" ]
null
null
null
/* See LICENSE for license details */ /* */ #include <appl_status.h> #include <appl_types.h> #include <thread/appl_thread_descriptor.h> #include <object/appl_object.h> #include <buf/appl_buf.h> #include <thread/appl_thread_descriptor_impl.h> #include <heap/appl_heap_handle.h> // // // enum appl_status app...
17.471338
51
0.61502
44970b07e76cabf703195cc926a81dceb9e636af
806
hpp
C++
higan/gba/cartridge/cartridge.hpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
10
2019-12-19T01:19:41.000Z
2021-02-18T16:30:29.000Z
higan/gba/cartridge/cartridge.hpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
null
null
null
higan/gba/cartridge/cartridge.hpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
null
null
null
struct Cartridge { #include "memory.hpp" auto pathID() const -> uint { return information.pathID; } auto hash() const -> string { return information.sha256; } auto manifest() const -> string { return information.manifest; } auto title() const -> string { return information.title; } struct Information { ...
22.388889
66
0.66005
449a467a172e2e329612297dd5855788d6efc379
7,518
cc
C++
third_party/webrtc/src/webrtc/modules/audio_coding/main/acm2/codec_owner.cc
bopopescu/webrtc-streaming-node
727a441204344ff596401b0253caac372b714d91
[ "MIT" ]
8
2016-02-08T11:59:31.000Z
2020-05-31T15:19:54.000Z
third_party/webrtc/src/webrtc/modules/audio_coding/main/acm2/codec_owner.cc
bopopescu/webrtc-streaming-node
727a441204344ff596401b0253caac372b714d91
[ "MIT" ]
1
2021-05-05T11:11:31.000Z
2021-05-05T11:11:31.000Z
third_party/webrtc/src/webrtc/modules/audio_coding/main/acm2/codec_owner.cc
bopopescu/webrtc-streaming-node
727a441204344ff596401b0253caac372b714d91
[ "MIT" ]
7
2016-02-09T09:28:14.000Z
2020-07-25T19:03:36.000Z
/* * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
35.130841
88
0.727188
449a6d2d1ed94330435edd5a25ba9ac3845b028c
2,019
cc
C++
l95/src/lorenz95/ObservationL95.cc
andreapiacentini/oops
48c923c210a75773e2457eea8b1a8eee29837bb5
[ "Apache-2.0" ]
null
null
null
l95/src/lorenz95/ObservationL95.cc
andreapiacentini/oops
48c923c210a75773e2457eea8b1a8eee29837bb5
[ "Apache-2.0" ]
null
null
null
l95/src/lorenz95/ObservationL95.cc
andreapiacentini/oops
48c923c210a75773e2457eea8b1a8eee29837bb5
[ "Apache-2.0" ]
null
null
null
/* * (C) Copyright 2009-2016 ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an...
33.098361
83
0.505201
449b75bc73a0098cc1f0cccc849e41486eabfcba
853
cpp
C++
sdk/test_hls_polling.cpp
zhiyb/SVM_hls
e1223c8528eccd8d48e52c4614c8596db4c253da
[ "MIT" ]
3
2020-11-11T13:04:52.000Z
2021-03-03T06:30:18.000Z
sdk/test_hls_polling.cpp
zhiyb/SVM_hls
e1223c8528eccd8d48e52c4614c8596db4c253da
[ "MIT" ]
null
null
null
sdk/test_hls_polling.cpp
zhiyb/SVM_hls
e1223c8528eccd8d48e52c4614c8596db4c253da
[ "MIT" ]
1
2019-04-11T03:05:59.000Z
2019-04-11T03:05:59.000Z
#include <stdio.h> #include <xtime_l.h> #include "test.h" void test_cls_hls_polling_pre() { // Disable interrupt interrupt_enable(false); } unsigned int test_cls_hls_polling() { XTime tick[4], perf[3] = {0, 0, 0}; unsigned int err = 0; int *label = &testDataLabel[0]; int16_t *x = &testDataI[0][0]; for (size_t ...
25.088235
80
0.635404
449f666b5b16c1fada3e41d1c53a0f3eb1ef7706
19,125
cpp
C++
Memory vs Gender Analysis Game.cpp
lisa005/Memory-vs-Gender-Analysis-Game
814e2fc53921252a5655167c6dae72ff4fa59fc0
[ "MIT" ]
null
null
null
Memory vs Gender Analysis Game.cpp
lisa005/Memory-vs-Gender-Analysis-Game
814e2fc53921252a5655167c6dae72ff4fa59fc0
[ "MIT" ]
6
2022-01-25T15:03:16.000Z
2022-02-21T02:54:44.000Z
Memory vs Gender Analysis Game.cpp
lisa005/Memory-vs-Gender-Analysis-Game
814e2fc53921252a5655167c6dae72ff4fa59fc0
[ "MIT" ]
2
2022-01-25T16:02:38.000Z
2022-02-21T02:51:57.000Z
/* Name: Rehannah Baptiste Program Title: Memory vs Gender Analysis Game Program description: This program visualises statistics to determine which gender has better memory (recall) and allows users to play a memory game which adds to the data. Version 1.0: December 5th 2020 Current version: 1.5 (...
28.673163
145
0.574013
44a4de86e7ff78b545ac8453af5ad0882b5fb51a
61,160
cpp
C++
src/sksl/SkSLLexer.cpp
wan-nyan-wan/skia
bf2a6ff1b570821a906f11a2046215789b51d41a
[ "BSD-3-Clause" ]
null
null
null
src/sksl/SkSLLexer.cpp
wan-nyan-wan/skia
bf2a6ff1b570821a906f11a2046215789b51d41a
[ "BSD-3-Clause" ]
null
null
null
src/sksl/SkSLLexer.cpp
wan-nyan-wan/skia
bf2a6ff1b570821a906f11a2046215789b51d41a
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2017 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ /***************************************************************************************** ******************** This file was generated by sksllex. Do not edit. **************...
29.617433
99
0.303123
44a5d961d22e97232f26109ab917d3badb1fa340
885
hpp
C++
externals/boost/boost/beast/http/file_body.hpp
YuukiTsuchida/v8_embeded
c6e18f4e91fcc50607f8e3edc745a3afa30b2871
[ "MIT" ]
32
2019-02-27T06:57:07.000Z
2021-08-29T10:56:19.000Z
jeff/common/include/boost/beast/http/file_body.hpp
jeffphi/advent-of-code-2018
8e54bd23ebfe42fcbede315f0ab85db903551532
[ "MIT" ]
1
2018-04-18T16:33:00.000Z
2018-04-18T16:33:00.000Z
jeff/common/include/boost/beast/http/file_body.hpp
jeffphi/advent-of-code-2018
8e54bd23ebfe42fcbede315f0ab85db903551532
[ "MIT" ]
5
2019-08-20T13:45:04.000Z
2022-03-01T18:23:49.000Z
// // Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot 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) // // Official repository: https://github.com/boostorg/beast // #ifndef BOO...
24.583333
80
0.723164
44a67743169ec9c8eb4adb03d18cd5374f2ac3e9
2,797
cpp
C++
llvm/lib/DebugInfo/CodeView/CVSymbolVisitor.cpp
NoamDev/TON-Compiler
f76aa2084c7f09a228afef4a6e073c37b350c8f3
[ "Apache-2.0" ]
171
2018-09-17T13:15:12.000Z
2022-03-18T03:47:04.000Z
llvm/lib/DebugInfo/CodeView/CVSymbolVisitor.cpp
NoamDev/TON-Compiler
f76aa2084c7f09a228afef4a6e073c37b350c8f3
[ "Apache-2.0" ]
51
2019-10-23T11:55:08.000Z
2021-12-21T06:32:11.000Z
llvm/lib/DebugInfo/CodeView/CVSymbolVisitor.cpp
NoamDev/TON-Compiler
f76aa2084c7f09a228afef4a6e073c37b350c8f3
[ "Apache-2.0" ]
55
2018-02-01T07:11:49.000Z
2022-03-04T01:20:23.000Z
//===- CVSymbolVisitor.cpp --------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
33.297619
80
0.602789
44a7e0dfb470e479320807c8e67c9895122e1cf4
1,198
cpp
C++
libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/dtor.pass.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
2,338
2018-06-19T17:34:51.000Z
2022-03-31T11:00:37.000Z
libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/dtor.pass.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/dtor.pass.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
500
2019-01-23T07:49:22.000Z
2022-03-30T02:59:37.000Z
//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
27.860465
80
0.583472
44a924d90f8efaa1a45f8184676a3ef0cf65cd88
5,538
cpp
C++
Samples/SpatialSound/cpp/Scenario2_CardioidSound.xaml.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
2,504
2019-05-07T06:56:42.000Z
2022-03-31T19:37:59.000Z
Samples/SpatialSound/cpp/Scenario2_CardioidSound.xaml.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
314
2019-05-08T16:56:30.000Z
2022-03-21T07:13:45.000Z
Samples/SpatialSound/cpp/Scenario2_CardioidSound.xaml.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
2,219
2019-05-07T00:47:26.000Z
2022-03-30T21:12:31.000Z
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PA...
35.5
198
0.693933
44a97b9b35f7fe7e27b06f96d1ec813a685a9b18
14,906
cpp
C++
deps/src/boost_1_65_1/libs/utility/test/call_traits_test.cpp
shreyasvj25/turicreate
32e84ca16aef8d04aff3d49ae9984bd49326bffd
[ "BSD-3-Clause" ]
11,356
2017-12-08T19:42:32.000Z
2022-03-31T16:55:25.000Z
deps/src/boost_1_65_1/libs/utility/test/call_traits_test.cpp
shreyasvj25/turicreate
32e84ca16aef8d04aff3d49ae9984bd49326bffd
[ "BSD-3-Clause" ]
2,402
2017-12-08T22:31:01.000Z
2022-03-28T19:25:52.000Z
deps/src/boost_1_65_1/libs/utility/test/call_traits_test.cpp
shreyasvj25/turicreate
32e84ca16aef8d04aff3d49ae9984bd49326bffd
[ "BSD-3-Clause" ]
1,343
2017-12-08T19:47:19.000Z
2022-03-26T11:31:36.000Z
// boost::compressed_pair test program // (C) Copyright John Maddock 2000. // Use, modification and distribution are subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt). // standalone test program for <boost/call_trait...
35.660287
135
0.69254
44aa3fbd0c080d40d8dbf27fabe522e18fa6f5f3
4,499
cpp
C++
tools/map_maker/test_helper/src/StringTestHelper.cpp
seowwj/map
2afacd50e1b732395c64b1884ccfaeeca0040ee7
[ "MIT" ]
61
2019-12-19T20:57:24.000Z
2022-03-29T15:20:51.000Z
tools/map_maker/test_helper/src/StringTestHelper.cpp
seowwj/map
2afacd50e1b732395c64b1884ccfaeeca0040ee7
[ "MIT" ]
54
2020-04-05T05:32:47.000Z
2022-03-15T18:42:33.000Z
tools/map_maker/test_helper/src/StringTestHelper.cpp
seowwj/map
2afacd50e1b732395c64b1884ccfaeeca0040ee7
[ "MIT" ]
31
2019-12-20T07:37:39.000Z
2022-03-16T13:06:16.000Z
// ----------------- BEGIN LICENSE BLOCK --------------------------------- // // Copyright (C) 2017-2020 Intel Corporation // // SPDX-License-Identifier: MIT // // ----------------- END LICENSE BLOCK ----------------------------------- #include "ad/map/maker/test_helper/StringTestHelper.hpp" #include <stdio.h> namesp...
22.053922
107
0.58613
44aa9cf1340691f42635075713e82bcfdb942e00
1,003
hpp
C++
Engine/Graphics/FontHandler.hpp
artur-kink/nhns
bc1ccef4e4a9cba9047051d73202ee2b1482066f
[ "Apache-2.0" ]
null
null
null
Engine/Graphics/FontHandler.hpp
artur-kink/nhns
bc1ccef4e4a9cba9047051d73202ee2b1482066f
[ "Apache-2.0" ]
null
null
null
Engine/Graphics/FontHandler.hpp
artur-kink/nhns
bc1ccef4e4a9cba9047051d73202ee2b1482066f
[ "Apache-2.0" ]
null
null
null
#ifndef _FONTHANDLER_ #define _FONTHANDLER_ #include <cstring> #include "Types.hpp" #include "Color.hpp" #include "BaseRenderTarget.hpp" #include "Utilities/FileHandler.hpp" #ifdef _PC_ #include <SFML/Graphics.hpp> #endif /** * Class used to draw fonts. * The FontHandler is designed to use only one font, * if mo...
18.924528
79
0.678963
44abe8475e4c8d559d523c804b99c6ee6915397d
11,041
cpp
C++
RFBridge2/SSDP.cpp
Monarch73/RFBridge2
a3e86d0e99e1275b999b6d3fe0c2feb15950cb67
[ "MIT" ]
8
2018-01-13T12:03:37.000Z
2020-02-19T18:07:43.000Z
RFBridge2/SSDP.cpp
Monarch73/RFBridge2
a3e86d0e99e1275b999b6d3fe0c2feb15950cb67
[ "MIT" ]
2
2018-01-13T20:19:02.000Z
2018-11-22T11:13:15.000Z
RFBridge2/SSDP.cpp
Monarch73/RFBridge2
a3e86d0e99e1275b999b6d3fe0c2feb15950cb67
[ "MIT" ]
null
null
null
/* ESP8266 Simple Service Discovery Copyright (c) 2015 Hristo Gochkov Original (Arduino) version by Filippo Sallemi, July 23, 2014. Can be found at: https://github.com/nomadnt/uSSDP License (MIT license): Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated docu...
22.764948
112
0.686985
44acd47345e3c0fcd1f0962e1567c4722b181391
2,945
cpp
C++
NumberConversions/bin2dec.cpp
typedeph/Academic-Tools
a23b767bce32113525b64d4215bb71d7485fb366
[ "MIT" ]
1
2015-11-30T17:52:59.000Z
2015-11-30T17:52:59.000Z
NumberConversions/bin2dec.cpp
typedeph/Academic-Tools
a23b767bce32113525b64d4215bb71d7485fb366
[ "MIT" ]
1
2015-11-30T17:55:44.000Z
2015-11-30T17:55:44.000Z
NumberConversions/bin2dec.cpp
typedeph/Academic-Tools
a23b767bce32113525b64d4215bb71d7485fb366
[ "MIT" ]
null
null
null
#include <exception> #include <iostream> #include <iomanip> #include <vector> #include <algorithm> #include <cmath> using std::cout; inline void cout_rep_sym(char c, int n) { for (int i = 0; i < n; ++i) cout << c; } inline std::string str_bin_comp(std::string& s) { std::string ret; ret.resize(s.size()); ...
24.338843
78
0.545671
44ad1bf3102a5861df1af96ac4881741c9f3b3ea
1,753
hpp
C++
src/optimization/models/NNLS/ADMM.hpp
justusc/Elemental
145ccb28411f3f0c65ca30ecea776df33297e4ff
[ "BSD-3-Clause" ]
null
null
null
src/optimization/models/NNLS/ADMM.hpp
justusc/Elemental
145ccb28411f3f0c65ca30ecea776df33297e4ff
[ "BSD-3-Clause" ]
null
null
null
src/optimization/models/NNLS/ADMM.hpp
justusc/Elemental
145ccb28411f3f0c65ca30ecea776df33297e4ff
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2009-2015, Jack Poulson All rights reserved. This file is part of Elemental and is under the BSD 2-Clause License, which can be found in the LICENSE file in the root directory, or at http://opensource.org/licenses/BSD-2-Clause */ #include "El.hpp" namespace El { namespace nnls { // ...
26.164179
75
0.617228
44ade3c2f3c34f4e78555be6d489cf5c3df1bf46
866
hpp
C++
libs/boost_1_72_0/boost/type_erasure/config.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/type_erasure/config.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/type_erasure/config.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
// Boost.TypeErasure library // // Copyright 2011 Steven Watanabe // // 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) // // $Id$ #ifndef BOOST_TYPE_ERASURE_CONFIG_HPP_INCLUDED #define BOOST_TYPE_ERASURE_CONFIG_HPP...
28.866667
80
0.794457
44ae27d2b61165557a78299577983cafe1c8bf5b
2,339
cpp
C++
server/src/session.cpp
silverthreadk/Mafia2
275f7e9fb63a98bcb5781c4d388a63da16a63213
[ "BSL-1.0" ]
null
null
null
server/src/session.cpp
silverthreadk/Mafia2
275f7e9fb63a98bcb5781c4d388a63da16a63213
[ "BSL-1.0" ]
null
null
null
server/src/session.cpp
silverthreadk/Mafia2
275f7e9fb63a98bcb5781c4d388a63da16a63213
[ "BSL-1.0" ]
null
null
null
#include "session.h" #include <memory> #include <boost/lexical_cast.hpp> #include "room.h" #include "player.h" #include "request_handler.h" Session::Session(boost::asio::ip::tcp::socket socket, const Room& room) : socket_(std::move(socket)), room_(const_cast<Room&>(room)), player_(std::make_shared<Player...
28.52439
114
0.567336
44af582b4fe1df8f558f26ca56c19b8527c8a82f
9,382
cpp
C++
fourr_kazerounian_controller/src/fourr_kazerounian_controller.cpp
unisa-acg/moveit_dp_redundancy_resolution
37f2f7bd3d786bc7d5ce0dde9d69772cd65b041e
[ "BSD-3-Clause" ]
3
2020-12-31T02:46:15.000Z
2021-05-31T12:05:58.000Z
fourr_kazerounian_controller/src/fourr_kazerounian_controller.cpp
unisa-acg/moveit_dp_redundancy_resolution
37f2f7bd3d786bc7d5ce0dde9d69772cd65b041e
[ "BSD-3-Clause" ]
null
null
null
fourr_kazerounian_controller/src/fourr_kazerounian_controller.cpp
unisa-acg/moveit_dp_redundancy_resolution
37f2f7bd3d786bc7d5ce0dde9d69772cd65b041e
[ "BSD-3-Clause" ]
2
2020-11-14T11:33:13.000Z
2021-08-12T05:36:53.000Z
/********************************************************************************* * Copyright (c) 2018, Università degli Studi di Salerno, ALTEC S.p.A. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions...
42.071749
155
0.734492
44b1e1418cbd084a974188fe6e79ef46286dee77
5,639
cpp
C++
src/wrapper/store/storehelper.cpp
microshine/trusted-crypto
22a6496bd390ebe2ed516a15636d911fae4c6407
[ "Apache-2.0" ]
null
null
null
src/wrapper/store/storehelper.cpp
microshine/trusted-crypto
22a6496bd390ebe2ed516a15636d911fae4c6407
[ "Apache-2.0" ]
null
null
null
src/wrapper/store/storehelper.cpp
microshine/trusted-crypto
22a6496bd390ebe2ed516a15636d911fae4c6407
[ "Apache-2.0" ]
1
2020-07-01T16:32:57.000Z
2020-07-01T16:32:57.000Z
#include "../stdafx.h" #include "storehelper.h" Handle<PkiItemCollection> Provider::getProviderItemCollection(){ LOGGER_FN(); return this->providerItemCollection; } ProviderCollection::ProviderCollection(){ LOGGER_FN(); _items = std::vector<Handle<Provider> >(); } ProviderCollection::~ProviderCollection(){ L...
19.311644
78
0.720695
44b3354599055ce7c9ea0b5e90a4a44deaa259cc
187
hpp
C++
cegui/src/ScriptModules/Python/bindings/output/CEGUI/Image.pypp.hpp
OpenTechEngine-Libraries/CEGUI
6f00952d31f318f9482766d1ad2206cb540a78b9
[ "MIT" ]
257
2020-01-03T10:13:29.000Z
2022-03-26T14:55:12.000Z
cegui/src/ScriptModules/Python/bindings/output/CEGUI/Image.pypp.hpp
OpenTechEngine-Libraries/CEGUI
6f00952d31f318f9482766d1ad2206cb540a78b9
[ "MIT" ]
116
2020-01-09T18:13:13.000Z
2022-03-15T18:32:02.000Z
cegui/src/ScriptModules/Python/bindings/output/CEGUI/Image.pypp.hpp
OpenTechEngine-Libraries/CEGUI
6f00952d31f318f9482766d1ad2206cb540a78b9
[ "MIT" ]
58
2020-01-09T03:07:02.000Z
2022-03-22T17:21:36.000Z
// This file has been generated by Py++. #ifndef Image_hpp__pyplusplus_wrapper #define Image_hpp__pyplusplus_wrapper void register_Image_class(); #endif//Image_hpp__pyplusplus_wrapper
20.777778
40
0.834225
44b4580632d37867ab5ba5420a10c8d9e90df25b
851
cpp
C++
src/main.cpp
niko-niko-ni/eme
5c3718731464f67a3a03efe7d6012375701c4538
[ "MIT" ]
3
2020-08-11T01:27:29.000Z
2021-02-10T04:31:13.000Z
src/main.cpp
niko-niko-ni/eme
5c3718731464f67a3a03efe7d6012375701c4538
[ "MIT" ]
null
null
null
src/main.cpp
niko-niko-ni/eme
5c3718731464f67a3a03efe7d6012375701c4538
[ "MIT" ]
null
null
null
#include <vector> #include <iostream> #include "types.h" #include "symbol.h" #include "token.h" #include "lexer.h" #include "statement_parser.h" #include "ast.h" #include "ast_parser.h" int main() { try { printf("main block started. moving on to lexing...\n"); Token_Linked_List tokens = lex_file((char*)"./ex...
27.451613
81
0.692127
44b5dc9f4394158bd5620d96ac75b751757d0878
16,107
cpp
C++
src/interaction/navigationhandler.cpp
PhysicsTeacher13/OpenSpace
dd007461be4248b71fc465eaede4808a6c905df5
[ "MIT" ]
null
null
null
src/interaction/navigationhandler.cpp
PhysicsTeacher13/OpenSpace
dd007461be4248b71fc465eaede4808a6c905df5
[ "MIT" ]
null
null
null
src/interaction/navigationhandler.cpp
PhysicsTeacher13/OpenSpace
dd007461be4248b71fc465eaede4808a6c905df5
[ "MIT" ]
null
null
null
/***************************************************************************************** * * * OpenSpace * * ...
36.773973
90
0.592351
44b659fdfcf335ad97f6a58480929bfab09662e5
1,802
cpp
C++
Data Structure/BinarySearchTree/lowest common ancestor.cpp
ShreyaDayma-cse/Contribute-to-HacktoberFest2021
6847aeb1c14c67f78b79f926af45e9ea1bdfda35
[ "MIT" ]
2
2021-10-06T10:00:26.000Z
2021-10-06T10:00:30.000Z
Data Structure/BinarySearchTree/lowest common ancestor.cpp
ShreyaDayma-cse/Contribute-to-HacktoberFest2021
6847aeb1c14c67f78b79f926af45e9ea1bdfda35
[ "MIT" ]
null
null
null
Data Structure/BinarySearchTree/lowest common ancestor.cpp
ShreyaDayma-cse/Contribute-to-HacktoberFest2021
6847aeb1c14c67f78b79f926af45e9ea1bdfda35
[ "MIT" ]
null
null
null
// A recursive CPP program to find // LCA of two nodes n1 and n2. #include <bits/stdc++.h> using namespace std; class node { public: int data; node* left, *right; }; /* Function to find LCA of n1 and n2. The function assumes that both n1 and n2 are present in BST */ struct node *lca...
25.027778
76
0.506104
44b8d9bba31dbe8f2adaf3072186237fb7d61f51
5,433
cpp
C++
includes/lib_encrypt-me/sources/Controller.cpp
Marsevil/encrypt-me
94bd9aa7b8fcb61192f21b9a99f593d9ff01ee01
[ "MIT" ]
3
2020-11-21T23:20:01.000Z
2021-12-25T22:26:51.000Z
includes/lib_encrypt-me/sources/Controller.cpp
Marsevil/encrypt-me
94bd9aa7b8fcb61192f21b9a99f593d9ff01ee01
[ "MIT" ]
6
2020-11-22T01:25:40.000Z
2021-05-11T13:04:21.000Z
includes/lib_encrypt-me/sources/Controller.cpp
Marsevil/encrypt-me
94bd9aa7b8fcb61192f21b9a99f593d9ff01ee01
[ "MIT" ]
1
2021-05-16T15:19:42.000Z
2021-05-16T15:19:42.000Z
// // Created by marsevil on 10/01/2021. // #include "Controller.hpp" Controller::Controller(View* _view, sf::path const& _source, sf::path const& _destination, std::string const& _password) : view(_view), source(_source), destination(_destination), password(_password) { // Nothing to do here. } Controller::~Con...
36.709459
143
0.638874
44ba5c3704b1f06ffe7f86a14c0b9b0231eb7ae2
4,690
cc
C++
dacbench/envs/rl-plan/fast-downward/src/search/merge_and_shrink/merge_scoring_function_dfp.cc
ndangtt/LeadingOnesDAC
953747d8702f179851d7973c65779a1f830e03a1
[ "Apache-2.0" ]
1
2022-02-23T15:26:11.000Z
2022-02-23T15:26:11.000Z
dacbench/envs/rl-plan/fast-downward/src/search/merge_and_shrink/merge_scoring_function_dfp.cc
ndangtt/LeadingOnesDAC
953747d8702f179851d7973c65779a1f830e03a1
[ "Apache-2.0" ]
null
null
null
dacbench/envs/rl-plan/fast-downward/src/search/merge_and_shrink/merge_scoring_function_dfp.cc
ndangtt/LeadingOnesDAC
953747d8702f179851d7973c65779a1f830e03a1
[ "Apache-2.0" ]
null
null
null
#include "merge_scoring_function_dfp.h" #include "distances.h" #include "factored_transition_system.h" #include "label_equivalence_relation.h" #include "labels.h" #include "transition_system.h" #include "../options/option_parser.h" #include "../options/plugin.h" #include "../utils/markup.h" #include <cassert> usin...
36.076923
82
0.632196
44bafafe79871d1e0479f4063007537e36544ed8
3,732
cpp
C++
drake/systems/plants/constraint/testMultipleTimeLinearPostureConstraintmex.cpp
ericmanzi/double_pendulum_lqr
76bba3091295abb7d412c4a3156258918f280c96
[ "BSD-3-Clause" ]
4
2018-04-16T09:54:52.000Z
2021-03-29T21:59:27.000Z
drake/systems/plants/constraint/testMultipleTimeLinearPostureConstraintmex.cpp
ericmanzi/double_pendulum_lqr
76bba3091295abb7d412c4a3156258918f280c96
[ "BSD-3-Clause" ]
null
null
null
drake/systems/plants/constraint/testMultipleTimeLinearPostureConstraintmex.cpp
ericmanzi/double_pendulum_lqr
76bba3091295abb7d412c4a3156258918f280c96
[ "BSD-3-Clause" ]
1
2017-08-24T20:32:03.000Z
2017-08-24T20:32:03.000Z
#include "mex.h" #include "RigidBodyConstraint.h" #include "drakeMexUtil.h" #include "../RigidBodyManipulator.h" #include <cstring> /* * [num_constraint,constraint_val,iAfun,jAvar,A ,constraint_name,lower_bound,upper_bound] = testMultipleTimeLinearPostureConstraintmex(kinCnst_ptr,q,t) * @param kinCnst_ptr ...
46.65
201
0.716506
44bd081ae118bde5c09ba8998956997d39e06cdd
544
cpp
C++
archives/problemset/codeforces.com/137C.cpp
BoleynSu/CP-CompetitiveProgramming
cc256bf402360fe0f689fdcdc4e898473a9594dd
[ "MIT" ]
6
2019-03-23T21:06:25.000Z
2021-06-27T05:22:41.000Z
archives/problemset/codeforces.com/137C.cpp
BoleynSu/CP-CompetitiveProgramming
cc256bf402360fe0f689fdcdc4e898473a9594dd
[ "MIT" ]
1
2020-10-11T08:14:00.000Z
2020-10-11T08:14:00.000Z
archives/problemset/codeforces.com/137C.cpp
BoleynSu/CP-CompetitiveProgramming
cc256bf402360fe0f689fdcdc4e898473a9594dd
[ "MIT" ]
3
2019-03-23T21:06:31.000Z
2021-10-24T01:44:01.000Z
#include <string> #include <iostream> #include <vector> #include <utility> #include <algorithm> using namespace std; typedef pair<int,int> PII; typedef vector<PII> VPII; #define a second #define b first int main() { int n; cin>>n; VPII v(n); for (int i=0;i<n;i++) cin>>v[i]....
17
42
0.516544
44bdf92af8f76917c2ef37bba53a3803c61dddf6
22,099
cc
C++
src/lib/process/tests/d_cfg_mgr_unittests.cc
gumingpo/kea-latest
ca64954cd71dd544e7c92a0aa366dfc0f79d4ce1
[ "Apache-2.0" ]
1
2017-08-24T19:55:21.000Z
2017-08-24T19:55:21.000Z
src/lib/process/tests/d_cfg_mgr_unittests.cc
Acidburn0zzz/kea
3036e88d4ff730919cd7d2fb50a961a5d33bf390
[ "Apache-2.0" ]
null
null
null
src/lib/process/tests/d_cfg_mgr_unittests.cc
Acidburn0zzz/kea
3036e88d4ff730919cd7d2fb50a961a5d33bf390
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2013-2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #include <config.h> #include <cc/command_int...
37.90566
79
0.675234
44c01e02d26812b47858cb315b1b9d92fcbc95a6
6,254
cpp
C++
opencv-2.4.11/modules/imgproc/src/matchcontours.cpp
durai-chellamuthu/node-opencv
a9c18c77b2fe0f62f2f8376854bdf33de71f5dc3
[ "MIT" ]
264
2015-01-04T10:58:41.000Z
2022-03-30T21:26:07.000Z
opencv-2.4.11/modules/imgproc/src/matchcontours.cpp
durai-chellamuthu/node-opencv
a9c18c77b2fe0f62f2f8376854bdf33de71f5dc3
[ "MIT" ]
30
2015-02-16T21:06:34.000Z
2019-07-18T10:22:57.000Z
opencv-2.4.11/modules/imgproc/src/matchcontours.cpp
durai-chellamuthu/node-opencv
a9c18c77b2fe0f62f2f8376854bdf33de71f5dc3
[ "MIT" ]
57
2015-02-20T16:38:48.000Z
2020-12-27T08:57:10.000Z
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
31.427136
90
0.48369
44c036da3c5ac682a871fce79885115f340c6b1b
1,816
cpp
C++
src/BejeweledIO.cpp
AlexBarnes86/Jewels
0a4ec5ced01309e3a8a77f7377d84a12306b1688
[ "MIT" ]
null
null
null
src/BejeweledIO.cpp
AlexBarnes86/Jewels
0a4ec5ced01309e3a8a77f7377d84a12306b1688
[ "MIT" ]
null
null
null
src/BejeweledIO.cpp
AlexBarnes86/Jewels
0a4ec5ced01309e3a8a77f7377d84a12306b1688
[ "MIT" ]
null
null
null
#include "BejeweledIO.h" #include <stdlib.h> ScoreIO::ScoreIO() : scoreFile("HighScores.txt") { readScores(); } vector<PlayerScore> ScoreIO::readScores() { string HighScores = "HighScores.txt"; ifstream ist(HighScores.c_str()); if(!ist) cout << "High Score File Not Found!" << endl; string t...
22.146341
117
0.585903
44c1f507a48534a5fa1674dce8129005d09e86b4
11,528
cpp
C++
llc/gpk_encoding.cpp
asm128/gpk
cbd81e2de8024176eb6401746bbbfcd0b69c3e9f
[ "Apache-2.0" ]
null
null
null
llc/gpk_encoding.cpp
asm128/gpk
cbd81e2de8024176eb6401746bbbfcd0b69c3e9f
[ "Apache-2.0" ]
1
2018-06-22T00:58:58.000Z
2018-06-22T00:58:58.000Z
llc/gpk_encoding.cpp
asm128/gpk
cbd81e2de8024176eb6401746bbbfcd0b69c3e9f
[ "Apache-2.0" ]
1
2018-07-16T20:18:03.000Z
2018-07-16T20:18:03.000Z
#include "gpk_encoding.h" #include "gpk_view_bit.h" #include "gpk_noise.h" #include "gpk_chrono.h" #include "gpk_parse.h" #include <ctime> #include <random> ::gpk::error_t gpk::saltDataSalt (const ::gpk::view_const_byte& binary, ::gpk::array_pod<byte_t> & salted) { gpk_necall(salted.resize(bi...
45.385827
201
0.523942
44c27f857b84d3171d72122c13641b9b0f5aeba5
1,400
cpp
C++
amr-wind/equation_systems/icns/source_terms/BodyForce.cpp
gdeskos/amr-wind
002a2bbb1538a25a06126504d507245b623413f6
[ "BSD-3-Clause" ]
2
2022-02-16T18:00:27.000Z
2022-03-21T18:57:14.000Z
amr-wind/equation_systems/icns/source_terms/BodyForce.cpp
gdeskos/amr-wind
002a2bbb1538a25a06126504d507245b623413f6
[ "BSD-3-Clause" ]
1
2022-02-16T21:09:49.000Z
2022-02-16T21:09:49.000Z
amr-wind/equation_systems/icns/source_terms/BodyForce.cpp
gdeskos/amr-wind
002a2bbb1538a25a06126504d507245b623413f6
[ "BSD-3-Clause" ]
1
2022-01-04T18:15:30.000Z
2022-01-04T18:15:30.000Z
#include "amr-wind/equation_systems/icns/source_terms/BodyForce.H" #include "amr-wind/CFDSim.H" #include "amr-wind/utilities/trig_ops.H" #include "AMReX_ParmParse.H" #include "AMReX_Gpu.H" namespace amr_wind { namespace pde { namespace icns { /** Body Force */ BodyForce::BodyForce(const CFDSim& sim) : m_time(sim.ti...
26.923077
79
0.649286
44c360e7a8e3f52a0b6390f8f47612c47ed43f14
339
cpp
C++
src/StringId.cpp
microsoft/gqlmapi
953f8c0a1c4d069c34716dfe97ede4d3ff1ddcaa
[ "MIT" ]
3
2021-02-11T15:38:51.000Z
2021-12-29T15:00:13.000Z
src/StringId.cpp
microsoft/gqlmapi
953f8c0a1c4d069c34716dfe97ede4d3ff1ddcaa
[ "MIT" ]
null
null
null
src/StringId.cpp
microsoft/gqlmapi
953f8c0a1c4d069c34716dfe97ede4d3ff1ddcaa
[ "MIT" ]
3
2021-02-14T13:50:36.000Z
2021-02-14T13:50:49.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "Types.h" #include "Unicode.h" namespace graphql::mapi { StringId::StringId(PCWSTR name) : m_name { convert::utf8::to_utf8(name) } { } const std::string& StringId::getName() const { return m_name; } } // name...
17.842105
60
0.710914
44c4101369212356265ec2af1c92d6847e37499b
24,967
cc
C++
art/compiler/optimizing/graph_checker.cc
lihuibng/marshmallow
950cf8de3b4d63af9fc9699374e4ec45ad09b3a7
[ "Apache-2.0" ]
5
2022-02-27T08:38:13.000Z
2022-03-21T03:03:49.000Z
art/compiler/optimizing/graph_checker.cc
lihuibng/marshmallow
950cf8de3b4d63af9fc9699374e4ec45ad09b3a7
[ "Apache-2.0" ]
1
2022-03-08T08:20:47.000Z
2022-03-08T08:20:47.000Z
art/compiler/optimizing/graph_checker.cc
lihuibng/marshmallow
950cf8de3b4d63af9fc9699374e4ec45ad09b3a7
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
40.269355
96
0.597669
44c476f120a0f728f5d117f3ae8b0b0a1bc487dd
21,386
cpp
C++
BonDriver_Proxy.cpp
epgdatacapbon/BonDriverProxy_Linux
3d778b07354820a8f60b50b07fffbc334cec15a0
[ "MIT" ]
30
2015-01-27T15:34:50.000Z
2021-01-24T12:50:04.000Z
BonDriver_Proxy.cpp
epgdatacapbon/BonDriverProxy_Linux
3d778b07354820a8f60b50b07fffbc334cec15a0
[ "MIT" ]
1
2017-01-31T06:52:10.000Z
2017-01-31T06:52:10.000Z
BonDriver_Proxy.cpp
epgdatacapbon/BonDriverProxy_Linux
3d778b07354820a8f60b50b07fffbc334cec15a0
[ "MIT" ]
16
2015-04-11T02:06:11.000Z
2022-01-28T04:02:31.000Z
#include "BonDriver_Proxy.h" namespace BonDriver_Proxy { static BOOL IsTagMatch(const char *line, const char *tag, char **value) { const int taglen = ::strlen(tag); const char *p; if (::strncmp(line, tag, taglen) != 0) return FALSE; p = line + taglen; while (*p == ' ' || *p == '\t') p++; if (value == NULL ...
20.742968
136
0.634901
44c560a2a5700361e8de3ae5bb21827a9af88b54
999
cc
C++
tests/test0009.cc
michaeljclark/glyb
5b302ded6061eea2098bc8e963adb09e5f1dab4e
[ "MIT" ]
7
2021-07-28T19:03:08.000Z
2022-02-02T23:17:11.000Z
tests/test0009.cc
michaeljclark/glyb
5b302ded6061eea2098bc8e963adb09e5f1dab4e
[ "MIT" ]
2
2021-06-15T22:34:44.000Z
2021-11-10T04:27:21.000Z
tests/test0009.cc
michaeljclark/glyb
5b302ded6061eea2098bc8e963adb09e5f1dab4e
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstdlib> #include <cerrno> #include <cstring> #define FLOAT32 "%.9g" struct atlas_ent { int bin_id, font_id, glyph; short x, y, ox, oy, w, h; }; int main(int argc, char **argv) { FILE *in = nullptr; if (argc != 2) { fprintf(stderr, "usage: %s <filename>\n", argv[0...
22.704545
76
0.491491