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
84b04b2e4bade7acf7233e7f301da9efa80c5675
2,698
hpp
C++
archive/stan/src/stan/model/prob_grad.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
1
2019-09-06T15:53:17.000Z
2019-09-06T15:53:17.000Z
archive/stan/src/stan/model/prob_grad.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
8
2019-01-17T18:51:16.000Z
2019-01-17T18:51:39.000Z
archive/stan/src/stan/model/prob_grad.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
null
null
null
#ifndef STAN_MODEL_PROB_GRAD_HPP #define STAN_MODEL_PROB_GRAD_HPP #include <cstddef> #include <sstream> #include <stdexcept> #include <string> #include <utility> #include <vector> namespace stan { namespace model { /** * Base class for models, holding the basic parameter sizes and ...
27.814433
73
0.58636
alashworth
84b98f4c790d2dc73a44010c470c0065f47311cb
6,477
hpp
C++
AirLib/include/controllers/ros_flight/firmware/mode.hpp
1514louluo/AirSim
ea8bc4337a9a9bccb54243db3523ea5d67e538ea
[ "MIT" ]
1
2021-07-07T06:32:44.000Z
2021-07-07T06:32:44.000Z
AirLib/include/controllers/ros_flight/firmware/mode.hpp
1514louluo/AirSim
ea8bc4337a9a9bccb54243db3523ea5d67e538ea
[ "MIT" ]
null
null
null
AirLib/include/controllers/ros_flight/firmware/mode.hpp
1514louluo/AirSim
ea8bc4337a9a9bccb54243db3523ea5d67e538ea
[ "MIT" ]
null
null
null
#pragma once #include <cstdint> #include "sensors.hpp" #include "rc.hpp" #include "commonstate.hpp" #include "param.hpp" namespace ros_flight { class Mode { public: typedef enum { INVALID_CONTROL_MODE, INVALID_ARMED_STATE, } error_state_t; void init(Board* _board, CommLink* _comm_li...
30.842857
195
0.582214
1514louluo
84ba02e88dd96fc0873f67e9a194f0db8b680d87
1,025
cpp
C++
src/hobbits-plugins/displays/DotPlot/dotplotform.cpp
SabheeR/hobbits
8bfb997940c73467af2ceb0275c470b763d2c1bf
[ "MIT" ]
304
2020-02-07T21:05:22.000Z
2022-03-24T05:30:37.000Z
src/hobbits-plugins/displays/DotPlot/dotplotform.cpp
SabheeR/hobbits
8bfb997940c73467af2ceb0275c470b763d2c1bf
[ "MIT" ]
135
2020-02-11T22:52:47.000Z
2022-03-17T11:42:17.000Z
src/hobbits-plugins/displays/DotPlot/dotplotform.cpp
SabheeR/hobbits
8bfb997940c73467af2ceb0275c470b763d2c1bf
[ "MIT" ]
30
2020-03-11T14:36:43.000Z
2022-03-07T04:45:17.000Z
#include "dotplotform.h" #include "ui_dotplotform.h" DotPlotForm::DotPlotForm(QSharedPointer<ParameterDelegate> delegate): ui(new Ui::DotPlotForm()), m_paramHelper(new ParameterHelper(delegate)) { ui->setupUi(this); connect(ui->sb_wordSize, SIGNAL(valueChanged(int)), this, SIGNAL(changed())); conn...
26.973684
83
0.738537
SabheeR
84bba774620d5c99a65288f95797b49f4a1f9e6d
5,883
cpp
C++
SWFFile.cpp
brucewangkorea/swfreplacer
24f01045fd7686ff8c9f97bf89199afd8d3cc0d6
[ "Apache-2.0" ]
null
null
null
SWFFile.cpp
brucewangkorea/swfreplacer
24f01045fd7686ff8c9f97bf89199afd8d3cc0d6
[ "Apache-2.0" ]
null
null
null
SWFFile.cpp
brucewangkorea/swfreplacer
24f01045fd7686ff8c9f97bf89199afd8d3cc0d6
[ "Apache-2.0" ]
null
null
null
/* * File: SWFFile.cpp * Author: brucewang * * Created on October 24, 2009, 9:27 PM */ #include "SWFFile.h" #include <stdlib.h> #include <stdio.h> #include <memory.h> #include "DefineEditText.h" #include "DefineJPEG2.h" #include "Exports.h" #include "DefineSprite.h" /// Destructor SWFFile::~SWFFile() { ...
25.467532
98
0.552269
brucewangkorea
84c4d663b7c10b65b7da5939687cb2759984f9ae
1,596
hpp
C++
osrf_testing_tools_cpp/src/test_runner/get_environment_variable.hpp
RoverRobotics-forks/osrf_testing_tools_cpp
fde512a1c9ff059cd151e366116baad05435e01f
[ "Apache-2.0" ]
24
2018-05-16T09:36:23.000Z
2021-05-24T11:18:22.000Z
osrf_testing_tools_cpp/src/test_runner/get_environment_variable.hpp
RoverRobotics-forks/osrf_testing_tools_cpp
fde512a1c9ff059cd151e366116baad05435e01f
[ "Apache-2.0" ]
59
2018-05-23T20:56:09.000Z
2022-02-06T11:03:59.000Z
osrf_testing_tools_cpp/src/test_runner/get_environment_variable.hpp
RoverRobotics-forks/osrf_testing_tools_cpp
fde512a1c9ff059cd151e366116baad05435e01f
[ "Apache-2.0" ]
22
2018-06-12T16:10:26.000Z
2022-02-06T10:54:38.000Z
// Copyright 2018 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...
29.555556
84
0.748747
RoverRobotics-forks
84c900f63a0a150d4dc999465ce50bed7aafd72b
4,923
cpp
C++
XDKSamples/IntroGraphics/SimpleTriangleCppWinRT/Main.cpp
ComputeWorks/Xbox-ATG-Samples
6b88d6a03cf1efae7007a928713896863ec04ca5
[ "MIT" ]
1
2019-10-13T06:23:52.000Z
2019-10-13T06:23:52.000Z
XDKSamples/IntroGraphics/SimpleTriangleCppWinRT/Main.cpp
ComputeWorks/Xbox-ATG-Samples
6b88d6a03cf1efae7007a928713896863ec04ca5
[ "MIT" ]
null
null
null
XDKSamples/IntroGraphics/SimpleTriangleCppWinRT/Main.cpp
ComputeWorks/Xbox-ATG-Samples
6b88d6a03cf1efae7007a928713896863ec04ca5
[ "MIT" ]
null
null
null
//-------------------------------------------------------------------------------------- // Main.cpp // // Entry point for Xbox One exclusive title. // // Advanced Technology Group (ATG) // Copyright (C) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------...
28.293103
120
0.582978
ComputeWorks
84ca67fe04c14bf2609d81ba78a4a500681aa4dc
4,515
cc
C++
Engine/Source/ThirdParty/CEF3/pristine/cef_source/tests/ceftests/command_line_unittest.cc
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
3
2018-07-17T16:57:42.000Z
2020-08-11T14:06:02.000Z
tests/ceftests/command_line_unittest.cc
ghl0323/cef_project
fe68aee82ce9e3c0d41421530899506c54e7ed3b
[ "BSD-3-Clause" ]
null
null
null
tests/ceftests/command_line_unittest.cc
ghl0323/cef_project
fe68aee82ce9e3c0d41421530899506c54e7ed3b
[ "BSD-3-Clause" ]
3
2018-04-20T17:45:39.000Z
2021-10-20T19:48:00.000Z
// Copyright (c) 2011 The Chromium Embedded Framework 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 "include/cef_command_line.h" #include "tests/gtest/include/gtest/gtest.h" namespace { void VerifyCommandLine(CefRefPtr<C...
32.021277
80
0.692359
windystrife
84cb0a8ac4c72c1be55d657761a485bb591cbbb2
793
cpp
C++
examples/qwerty/main.cpp
sandsmark/qt1
e62eef42291be80065a7f824530aa42b79917a8d
[ "Xnet", "X11" ]
18
2018-02-16T16:57:26.000Z
2022-02-10T21:23:47.000Z
examples/qwerty/main.cpp
sandsmark/qt1
e62eef42291be80065a7f824530aa42b79917a8d
[ "Xnet", "X11" ]
2
2018-08-12T12:46:38.000Z
2020-06-19T16:30:06.000Z
examples/qwerty/main.cpp
sandsmark/qt1
e62eef42291be80065a7f824530aa42b79917a8d
[ "Xnet", "X11" ]
7
2018-06-22T01:17:58.000Z
2021-09-02T21:05:28.000Z
/**************************************************************************** ** $Id: main.cpp,v 1.6 1998/06/16 11:39:34 warwick Exp $ ** ** Copyright (C) 1992-1998 Troll Tech AS. All rights reserved. ** ** This file is part of an example program for Qt. This example ** program may be used, distributed and modified w...
26.433333
78
0.481715
sandsmark
84cb0f5e39663683ceab48c50756def1aa58c77f
1,028
cpp
C++
LeetCode/SumOfAllOddLengthSubarrays.cpp
SelvorWhim/competitive
b9daaf21920d6f7669dc0c525e903949f4e33b62
[ "Unlicense" ]
null
null
null
LeetCode/SumOfAllOddLengthSubarrays.cpp
SelvorWhim/competitive
b9daaf21920d6f7669dc0c525e903949f4e33b62
[ "Unlicense" ]
null
null
null
LeetCode/SumOfAllOddLengthSubarrays.cpp
SelvorWhim/competitive
b9daaf21920d6f7669dc0c525e903949f4e33b62
[ "Unlicense" ]
null
null
null
// each array member has to be added to the sum according to the number of odd-length subarrays it appears in // each appears in 1 1-length, and 3 3-length unless it's near the edge, and 5 5-length with the same exception etc. // until the biggest odd that fits in the array length // if you're kth from the nearest edge...
42.833333
116
0.555447
SelvorWhim
84cbaecbdc19cd7bc59964f4f0c92020bf094c7d
2,664
cpp
C++
NEBeauty/Mac/beauty_prj/source/src/room_button.cpp
Viva5649/Advanced-Video
6b21ae22c2217906d6a0d1640894ac7156988a0e
[ "MIT" ]
18
2020-10-08T03:07:58.000Z
2022-01-17T07:20:35.000Z
NEBeauty/Mac/beauty_prj/source/src/room_button.cpp
Viva5649/Advanced-Video
6b21ae22c2217906d6a0d1640894ac7156988a0e
[ "MIT" ]
4
2020-10-30T06:26:18.000Z
2020-12-02T06:14:58.000Z
NEBeauty/Mac/beauty_prj/source/src/room_button.cpp
Viva5649/Advanced-Video
6b21ae22c2217906d6a0d1640894ac7156988a0e
[ "MIT" ]
33
2020-09-01T09:01:39.000Z
2022-03-03T14:20:59.000Z
#include <QFrame> #include <QPushButton> #include <QHBoxLayout> #include <QVBoxLayout> #include <QDebug> #include "room_button.h" RoomButton::RoomButton(QWidget* parent /*= nullptr*/) :QWidget(parent) { this->setWindowFlags(Qt::FramelessWindowHint | Qt::Tool); this->setAttribute(Qt::WA_TranslucentBackground);...
36.493151
110
0.675676
Viva5649
84cf8365b0ff468ce1918cc947f4f2e74ad18dc4
8,465
cc
C++
src/components/connection_handler/test/heart_beat_monitor_test.cc
914802951/sdl_core_v4.0_winceport
1cdc30551eb58b0e1e3b4de8c0a0c66f975cf534
[ "BSD-3-Clause" ]
3
2016-09-21T12:36:21.000Z
2021-02-13T11:56:40.000Z
src/components/connection_handler/test/heart_beat_monitor_test.cc
914802951/sdl_core_v4.0_winceport
1cdc30551eb58b0e1e3b4de8c0a0c66f975cf534
[ "BSD-3-Clause" ]
5
2016-09-23T08:55:20.000Z
2016-11-29T06:27:10.000Z
src/components/connection_handler/test/heart_beat_monitor_test.cc
914802951/sdl_core_v4.0_winceport
1cdc30551eb58b0e1e3b4de8c0a0c66f975cf534
[ "BSD-3-Clause" ]
9
2016-09-21T07:02:59.000Z
2020-06-19T06:46:42.000Z
/* * Copyright (c) 2013-2014, 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 c...
40.309524
119
0.78606
914802951
84d03ca96cf0b464878f5667a6009dae43af8697
1,369
cpp
C++
assembler/src/symbol_table.cpp
floyza/nand2tetris-exercises
01f1e9414b6b340353f0e8478ea5d5937db1198d
[ "MIT" ]
null
null
null
assembler/src/symbol_table.cpp
floyza/nand2tetris-exercises
01f1e9414b6b340353f0e8478ea5d5937db1198d
[ "MIT" ]
null
null
null
assembler/src/symbol_table.cpp
floyza/nand2tetris-exercises
01f1e9414b6b340353f0e8478ea5d5937db1198d
[ "MIT" ]
null
null
null
#include "symbol_table.hpp" #include <iostream> #include <cassert> Symbol_table::Symbol_table() { symbol_defs["SP"] = 0; symbol_defs["LCL"] = 1; symbol_defs["ARG"] = 2; symbol_defs["THIS"] = 3; symbol_defs["THAT"] = 4; symbol_defs["SCREEN"] = 16384; symbol_defs["KBD"] = 24576; symbol_defs["R0"] = 0; symbol_de...
23.20339
85
0.661066
floyza
84d328f67b81428fbb49ac27f68235ae26554039
13,186
cpp
C++
src/OpenLoco/Entities/EntityManager.cpp
CyberSys/OpenLoco
e2c33334d2833aa82c30d73bdd730b2a624c56b0
[ "MIT" ]
null
null
null
src/OpenLoco/Entities/EntityManager.cpp
CyberSys/OpenLoco
e2c33334d2833aa82c30d73bdd730b2a624c56b0
[ "MIT" ]
null
null
null
src/OpenLoco/Entities/EntityManager.cpp
CyberSys/OpenLoco
e2c33334d2833aa82c30d73bdd730b2a624c56b0
[ "MIT" ]
null
null
null
#include "EntityManager.h" #include "../Console.h" #include "../Core/LocoFixedVector.hpp" #include "../Entities/Misc.h" #include "../Game.h" #include "../GameCommands/GameCommands.h" #include "../GameState.h" #include "../Interop/Interop.hpp" #include "../Localisation/StringIds.h" #include "../Map/Tile.h" #include "../...
30.665116
101
0.57781
CyberSys
84d43161872ab0cf38259fad45953b744efb9a1d
2,550
cpp
C++
src/util/LayoutView.cpp
korli/Album
cf7144d63f4a54a8a84c0b499cadb7da72cf5642
[ "MIT" ]
null
null
null
src/util/LayoutView.cpp
korli/Album
cf7144d63f4a54a8a84c0b499cadb7da72cf5642
[ "MIT" ]
14
2015-05-18T12:46:13.000Z
2021-09-01T11:50:06.000Z
src/util/LayoutView.cpp
korli/Album
cf7144d63f4a54a8a84c0b499cadb7da72cf5642
[ "MIT" ]
9
2015-04-26T19:01:07.000Z
2021-06-25T06:36:59.000Z
/** Copyright (c) 2006-2008 by Matjaz Kovac Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, di...
24.056604
103
0.725098
korli
84d91d85aafb6c32a5bd6ab9083a9244aa9737c5
8,889
cc
C++
chrome/browser/extensions/api/image_writer_private/operation_unittest.cc
7kbird/chrome
f56688375530f1003e34c34f441321977c5af3c3
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2019-01-16T03:57:39.000Z
2019-01-16T03:57:39.000Z
chrome/browser/extensions/api/image_writer_private/operation_unittest.cc
7kbird/chrome
f56688375530f1003e34c34f441321977c5af3c3
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2018-02-10T21:00:08.000Z
2018-03-20T05:09:50.000Z
chrome/browser/extensions/api/image_writer_private/operation_unittest.cc
aranajhonny/chromium
caf5bcb822f79b8997720e589334266551a50a13
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-11-04T07:23:37.000Z
2020-11-04T07:23:37.000Z
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/file_util.h" #include "base/files/scoped_temp_dir.h" #include "base/message_loop/message_loop.h" #include "base/run_loop.h" #include "chrom...
32.922222
81
0.701766
7kbird
84e025ddd5bba61131693ac773b610fbeed19d26
21,043
cpp
C++
tests/future/future_sequence_with_failures_test.cpp
opensoft/asynqro
e7d534f67a00eb47cb3e227e896c7fa3976d89a3
[ "BSD-3-Clause" ]
4
2019-03-10T14:08:03.000Z
2020-01-14T15:41:29.000Z
tests/future/future_sequence_with_failures_test.cpp
opensoft/asynqro
e7d534f67a00eb47cb3e227e896c7fa3976d89a3
[ "BSD-3-Clause" ]
null
null
null
tests/future/future_sequence_with_failures_test.cpp
opensoft/asynqro
e7d534f67a00eb47cb3e227e896c7fa3976d89a3
[ "BSD-3-Clause" ]
null
null
null
#include "copycountcontainers.h" #include "futurebasetest.h" #ifdef ASYNQRO_QT_SUPPORT # include <QLinkedList> # include <QList> # include <QVector> #endif #include <list> #include <vector> using namespace std::chrono_literals; template <typename, typename> struct InnerTypeChanger; template <template <type...
39.554511
118
0.676757
opensoft
84e08c0e96253bb5bc5846fda80a7e37d673ff52
1,500
cpp
C++
LPA-TPS/KnightsInFEN.cpp
OttoWBitt/LPA
706596b64b38cff690dcc624998a70bd0929ea27
[ "MIT" ]
1
2018-08-23T17:31:23.000Z
2018-08-23T17:31:23.000Z
LPA-TPS/KnightsInFEN.cpp
OttoWBitt/LPA
706596b64b38cff690dcc624998a70bd0929ea27
[ "MIT" ]
null
null
null
LPA-TPS/KnightsInFEN.cpp
OttoWBitt/LPA
706596b64b38cff690dcc624998a70bd0929ea27
[ "MIT" ]
null
null
null
/* Nome: Otto Bittencourt Matricula: 504654 LPA */ #include<iostream> #include<cstdio> #include<cstring> using namespace std; int loop = 0; char board[5][5]; char target[5][5] = { '1', '1', '1', '1', '1', '0', '1', '1', '1', '1', '0', '0', ' ', '1', '1', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', }...
15.625
51
0.486
OttoWBitt
84e0bb08d41b721206af82aade2a49e8c08200b3
9,365
cpp
C++
modules/task_3/olenin_method_conjugate_gradient/gradient.cpp
Oskg/pp_2021_autumn
c05d35f4d4b324cc13e58188b4a0c0174f891976
[ "BSD-3-Clause" ]
1
2021-12-09T17:20:25.000Z
2021-12-09T17:20:25.000Z
modules/task_3/olenin_method_conjugate_gradient/gradient.cpp
Oskg/pp_2021_autumn
c05d35f4d4b324cc13e58188b4a0c0174f891976
[ "BSD-3-Clause" ]
null
null
null
modules/task_3/olenin_method_conjugate_gradient/gradient.cpp
Oskg/pp_2021_autumn
c05d35f4d4b324cc13e58188b4a0c0174f891976
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2021 Olenin Sergey #include <mpi.h> #include <ctime> #include <random> #include <vector> #include "../../../modules/task_3/olenin_method_conjugate_gradient/gradient.h" std::vector<double> rand_matrix(int size) { if (0 >= size) throw "wrong matrix size"; std::default_random_engine gene; gene.seed(st...
28.207831
80
0.593914
Oskg
84e1d56ff8faac504ce60f40a4db29830ca9f906
32,087
cpp
C++
distributions/univariate/continuous/StableRand.cpp
aWeinzierl/RandLib
7af0237d1902aadbf2451b7dfab02c52cf98ae87
[ "MIT" ]
null
null
null
distributions/univariate/continuous/StableRand.cpp
aWeinzierl/RandLib
7af0237d1902aadbf2451b7dfab02c52cf98ae87
[ "MIT" ]
null
null
null
distributions/univariate/continuous/StableRand.cpp
aWeinzierl/RandLib
7af0237d1902aadbf2451b7dfab02c52cf98ae87
[ "MIT" ]
null
null
null
#include "StableRand.h" #include "LevyRand.h" #include "CauchyRand.h" #include "NormalRand.h" #include "UniformRand.h" #include "ExponentialRand.h" #include <functional> StableDistribution::StableDistribution(double exponent, double skewness, double scale, double location) { SetParameters(exponent, skewness, scale...
30.942141
151
0.607099
aWeinzierl
84e31e6297924e0688457a0740f037a21f3183c7
1,609
cc
C++
tensorflow/core/kernels/hexagon/hexagon_remote_fused_graph_executor_build_test.cc
abhaikollara/tensorflow
4f96df3659696990cb34d0ad07dc67843c4225a9
[ "Apache-2.0" ]
850
2018-01-18T05:56:02.000Z
2022-03-31T08:17:34.000Z
tensorflow/core/kernels/hexagon/hexagon_remote_fused_graph_executor_build_test.cc
shrikunjsarda/tensorflow
7e8927e7af0c51ac20a63bd4eab6ff83df1a39ae
[ "Apache-2.0" ]
656
2019-12-03T00:48:46.000Z
2022-03-31T18:41:54.000Z
tensorflow/core/kernels/hexagon/hexagon_remote_fused_graph_executor_build_test.cc
shrikunjsarda/tensorflow
7e8927e7af0c51ac20a63bd4eab6ff83df1a39ae
[ "Apache-2.0" ]
506
2019-12-03T00:46:26.000Z
2022-03-30T10:34:56.000Z
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
37.418605
80
0.759478
abhaikollara
84e358c80f6bf140121735659d6c042ecb82cb30
2,325
cpp
C++
src/mog_train.cpp
palikar/skin_detector
2b8e776fe140136299579fbcd2e95efe716395f7
[ "MIT" ]
null
null
null
src/mog_train.cpp
palikar/skin_detector
2b8e776fe140136299579fbcd2e95efe716395f7
[ "MIT" ]
null
null
null
src/mog_train.cpp
palikar/skin_detector
2b8e776fe140136299579fbcd2e95efe716395f7
[ "MIT" ]
null
null
null
#include <mog.h> void MOG::train( std::vector<cv::Mat>& training_images, std::vector<cv::Mat>& masks ){ cv::Mat pos_samples, neg_samples; std::cout << "Organizing the data" << std::endl; // organize all the samples organizeSamples(training_images, masks, pos_samples, neg_samples); std::cout << ...
31.849315
86
0.529462
palikar
84e47bd1256f7360f5d878622043a3854d6971c0
699
cpp
C++
src/NoughtGraphic.cpp
That-Cool-Coder/sfml-tictactoe
af43fd32b70acd8e73b54a2feb074df93c36bc6d
[ "MIT" ]
null
null
null
src/NoughtGraphic.cpp
That-Cool-Coder/sfml-tictactoe
af43fd32b70acd8e73b54a2feb074df93c36bc6d
[ "MIT" ]
null
null
null
src/NoughtGraphic.cpp
That-Cool-Coder/sfml-tictactoe
af43fd32b70acd8e73b54a2feb074df93c36bc6d
[ "MIT" ]
null
null
null
#include "NoughtGraphic.hpp" NoughtGraphic::NoughtGraphic() {} NoughtGraphic::NoughtGraphic(int i_radius) { radius = i_radius; } void NoughtGraphic::draw(int xPos, int yPos, sf::RenderWindow &window, sf::Color backgroundColor) { // xPos and yPos should be pos of center m_outerShape.setFillColor(m_col...
27.96
70
0.728183
That-Cool-Coder
84e52caf5bf2e0397bacf14b940faf1faa98f580
1,259
hpp
C++
include/cpp/vkt/Crop.hpp
Kniggi/volkit
ca9f6eca143bb1306d743ba64d9e55057822d2e4
[ "MIT" ]
11
2020-02-11T20:25:48.000Z
2022-03-23T14:50:36.000Z
include/cpp/vkt/Crop.hpp
Kniggi/volkit
ca9f6eca143bb1306d743ba64d9e55057822d2e4
[ "MIT" ]
null
null
null
include/cpp/vkt/Crop.hpp
Kniggi/volkit
ca9f6eca143bb1306d743ba64d9e55057822d2e4
[ "MIT" ]
4
2020-02-11T20:25:57.000Z
2021-12-13T14:47:38.000Z
// This file is distributed under the MIT license. // See the LICENSE file for details. #pragma once #include <cstdint> #include "common.hpp" #include "forward.hpp" #include "linalg.hpp" namespace vkt { VKTAPI Error CropResize(HierarchicalVolume& dst, HierarchicalVolume& src, ...
29.97619
52
0.462272
Kniggi
84e8e7b53145f7af8ed027e2f6c6d359fdac4871
1,228
cpp
C++
Ass_4/C files/billu.cpp
pratik8696/Assignment
6fa02f4f7ec135b13dbebea9920eeb2a57bd1489
[ "MIT" ]
null
null
null
Ass_4/C files/billu.cpp
pratik8696/Assignment
6fa02f4f7ec135b13dbebea9920eeb2a57bd1489
[ "MIT" ]
null
null
null
Ass_4/C files/billu.cpp
pratik8696/Assignment
6fa02f4f7ec135b13dbebea9920eeb2a57bd1489
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <vector> using namespace std; int main() { vector<int> billu; //initialization/declaration //input billu.push_back(4); //billu[0] billu.push_back(7); //billu[1] billu.push_back(18); //billu[2] billu.push_back(45); //billu[3] billu.push_back...
19.492063
51
0.488599
pratik8696
84ec95c44cc910110f3ba23ac3f3ad8e20017554
25,603
cpp
C++
src/Component/Component.cpp
TheReincarnator/glaziery
f688943163b73cea7034e929539fff8aa39d63e5
[ "MIT" ]
null
null
null
src/Component/Component.cpp
TheReincarnator/glaziery
f688943163b73cea7034e929539fff8aa39d63e5
[ "MIT" ]
null
null
null
src/Component/Component.cpp
TheReincarnator/glaziery
f688943163b73cea7034e929539fff8aa39d63e5
[ "MIT" ]
null
null
null
/* * This file is part of the Glaziery. * Copyright Thomas Jacob. * * READ README.TXT BEFORE USE!! */ // Main header file #include <Glaziery/src/Headers.h> Component::Component() { ASSERTION_COBJECT(this); disposed = false; maximumSize = Vector(4096, 4096); minimumSize = Vector(0, 0); parent = NULL; size...
21.389307
113
0.732883
TheReincarnator
84eecad9d8db36e8099376e696f0e1c538abaecf
1,724
cpp
C++
lib/AnnotateInstructions.cpp
compor/loop-meta-annotator
2ecc6633960c1372e1f88c493fe7831f0df0ee7d
[ "MIT" ]
null
null
null
lib/AnnotateInstructions.cpp
compor/loop-meta-annotator
2ecc6633960c1372e1f88c493fe7831f0df0ee7d
[ "MIT" ]
null
null
null
lib/AnnotateInstructions.cpp
compor/loop-meta-annotator
2ecc6633960c1372e1f88c493fe7831f0df0ee7d
[ "MIT" ]
1
2020-06-16T10:21:20.000Z
2020-06-16T10:21:20.000Z
// // // #include "AnnotateValues/AnnotateInstructions.hpp" #include "llvm/IR/Module.h" // using llvm::Module #include "llvm/IR/Type.h" // using llvm::IntType #include "llvm/IR/Constants.h" // using llvm::ConstantInt #include "llvm/IR/Metadata.h" // using llvm::Metadata // using llvm::MDNode // using llvm::Constan...
23.616438
77
0.723898
compor
84efda42e10bc5a89ecf957576cddb0c81dd3c5d
519
hpp
C++
Game.hpp
CLA-TC1030/s1t1.sye
c210a4956fe0fbb978b1d541d2fdf6079f804585
[ "MIT" ]
null
null
null
Game.hpp
CLA-TC1030/s1t1.sye
c210a4956fe0fbb978b1d541d2fdf6079f804585
[ "MIT" ]
null
null
null
Game.hpp
CLA-TC1030/s1t1.sye
c210a4956fe0fbb978b1d541d2fdf6079f804585
[ "MIT" ]
null
null
null
#pragma once #include "Ctesconf.hpp" #include "Tablero.hpp" #include "Jugador.hpp" #include "CDado.hpp" #include <fstream> #include <ostream> class Game { private: Tablero t; Jugador j[MAX_JUGADORES]; CDado d; bool swio; // Archivos de entrada/salida para el caso de configuracion de IO por archivos -...
19.961538
88
0.649326
CLA-TC1030
84f4004ce83c63e784a536adba6b4f4724bafc27
2,696
cpp
C++
src/fuselage/CCPACSFuselages.cpp
Mk-arc/tigl
45ace0b17008e2beab3286babe310a817fcd6578
[ "Apache-2.0" ]
171
2015-04-13T11:24:34.000Z
2022-03-26T00:56:38.000Z
src/fuselage/CCPACSFuselages.cpp
Mk-arc/tigl
45ace0b17008e2beab3286babe310a817fcd6578
[ "Apache-2.0" ]
620
2015-01-20T08:34:36.000Z
2022-03-30T11:05:33.000Z
src/fuselage/CCPACSFuselages.cpp
Mk-arc/tigl
45ace0b17008e2beab3286babe310a817fcd6578
[ "Apache-2.0" ]
56
2015-02-09T13:33:56.000Z
2022-03-19T04:52:51.000Z
/* * Copyright (C) 2007-2013 German Aerospace Center (DLR/SC) * * Created: 2010-08-13 Markus Litz <Markus.Litz@dlr.de> * 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...
31.348837
102
0.736647
Mk-arc
84f8acb67141d9256497274918609d9aa1529ad4
7,462
cpp
C++
2019/20.cpp
wgevaert/AOC
aaa9c06f9817e338cca01bbf37b6ba81256dd5ba
[ "WTFPL" ]
2
2020-08-06T22:14:51.000Z
2020-08-10T19:42:36.000Z
2019/20.cpp
wgevaert/AOC
aaa9c06f9817e338cca01bbf37b6ba81256dd5ba
[ "WTFPL" ]
null
null
null
2019/20.cpp
wgevaert/AOC
aaa9c06f9817e338cca01bbf37b6ba81256dd5ba
[ "WTFPL" ]
null
null
null
#include <iostream> #include <vector> #define NORTH 1 #define SOUTH 2 #define WEST 3 #define EAST 4 void get_direction(int command, int& dx, int & dy) { switch(command) { case NORTH: dx=0;dy=1;break; case SOUTH: dx=0;dy=-1;break; case WEST: dx=-1;dy=0;break; case EAST: dx=1;dy=0;br...
38.266667
243
0.552935
wgevaert
84fa61c5233c5531a96f34bc8ca5316b913690c2
13,923
cpp
C++
liblwScript/Ast.cpp
lwScript/lwScript
86f3e991bda2725abe90e13468f58185d8b77483
[ "Apache-2.0" ]
1
2021-11-22T05:28:13.000Z
2021-11-22T05:28:13.000Z
liblwScript/Ast.cpp
lwScript/lwScript
86f3e991bda2725abe90e13468f58185d8b77483
[ "Apache-2.0" ]
null
null
null
liblwScript/Ast.cpp
lwScript/lwScript
86f3e991bda2725abe90e13468f58185d8b77483
[ "Apache-2.0" ]
null
null
null
#include "Ast.h" namespace lws { //----------------------Expressions----------------------------- IntNumExpr::IntNumExpr() : value(0) { } IntNumExpr::IntNumExpr(int64_t value) : value(value) { } IntNumExpr::~IntNumExpr() { } std::wstring IntNumExpr::Stringify() { return std::to_wstring(value); } ...
17.579545
108
0.635352
lwScript
84fb0470375bc6017671736d95673dd7afbf2a31
1,068
cpp
C++
POJ/POJ1723.cpp
dong628/OhMyCodes
238e3045a98505a4880e85ad71d43d64a20f9452
[ "MIT" ]
2
2020-07-18T01:19:04.000Z
2020-11-03T17:34:22.000Z
POJ/POJ1723.cpp
dong628/OhMyCodes
238e3045a98505a4880e85ad71d43d64a20f9452
[ "MIT" ]
null
null
null
POJ/POJ1723.cpp
dong628/OhMyCodes
238e3045a98505a4880e85ad71d43d64a20f9452
[ "MIT" ]
1
2021-09-09T12:52:58.000Z
2021-09-09T12:52:58.000Z
#include <cstdio> #include <iostream> #include <algorithm> const int Max=105; int col[3*Max], zws, n, ans; struct Node { int x, y; } p[Max]; bool cmp0(Node x, Node y) { return x.y < y.y; } bool cmp1(Node x, Node y) { return x.x < y.x; } inline int abs(int x) { return x>0?x:-x; } int main(){ freopen("data.in", "r", s...
18.413793
47
0.484082
dong628
84fb60accb966f98e6b594f740d0e36096a0b0ba
1,145
cc
C++
components/sync_driver/generic_change_processor_factory.cc
Wzzzx/chromium-crosswalk
768dde8efa71169f1c1113ca6ef322f1e8c9e7de
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2019-01-28T08:09:58.000Z
2021-11-15T15:32:10.000Z
components/sync_driver/generic_change_processor_factory.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
components/sync_driver/generic_change_processor_factory.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
6
2020-09-23T08:56:12.000Z
2021-11-18T03:40:49.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. #include "components/sync_driver/generic_change_processor_factory.h" #include "base/memory/ptr_util.h" #include "components/sync_driver/generic_change_pr...
34.69697
80
0.793886
Wzzzx
ebcc816ccfca1e227e3c1745a7c02ddd4ef27ca9
7,718
cpp
C++
extra_src/json2array_jacek.cpp
anujaprojects1/shinglejs
fd2052afcd6f3b0e83df6634aa8dcf997aee4e6b
[ "ECL-2.0", "Apache-2.0" ]
30
2017-07-19T12:35:41.000Z
2020-04-19T07:55:20.000Z
extra_src/json2array_jacek.cpp
anujaprojects1/shinglejs
fd2052afcd6f3b0e83df6634aa8dcf997aee4e6b
[ "ECL-2.0", "Apache-2.0" ]
3
2018-08-12T09:01:47.000Z
2018-08-15T13:48:31.000Z
extra_src/json2array_jacek.cpp
anujaprojects1/shinglejs
fd2052afcd6f3b0e83df6634aa8dcf997aee4e6b
[ "ECL-2.0", "Apache-2.0" ]
2
2018-08-11T16:06:33.000Z
2020-01-12T15:25:34.000Z
#include <ctype.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include "graph.h" #include "MFRUtils.h" #include "jsontokenizer.h" #include <set> #include <map> #include <string> /************************************************ Started 2016 Ayal Pinkus Read in json arrays and dump as binary files fo...
20.310526
87
0.575667
anujaprojects1
ebcd8a501d771dbce115085187301729a59bdb60
659
cpp
C++
cf/1096/b.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
2
2021-06-09T12:27:07.000Z
2021-06-11T12:02:03.000Z
cf/1096/b.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
1
2021-09-08T12:00:05.000Z
2021-09-08T14:52:30.000Z
cf/1096/b.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; const int N = 2e5 + 10, mod = 998244353; int n; char s[N]; int cnt[26], num, l, r; int main() { scanf("%d%s", &n, s); for(int i = 0; i < n; ++i) { cnt[s[i] - 'a']++; } for(int i = 0; i < 26; ++i) num += (cnt[i] != 0); if(num == 1) { printf("%lld\n", (1LL * n * (...
17.810811
56
0.426404
tusikalanse
ebcdd79ecfcdaf4a82b7fa9d326a793522aa886d
4,853
cpp
C++
tests/SurfaceMeshIOTest.cpp
choyfung/pmp-library
4a72c918494dac92f5e77545b71c7a327dafe71e
[ "BSD-3-Clause" ]
1
2020-05-21T04:15:44.000Z
2020-05-21T04:15:44.000Z
tests/SurfaceMeshIOTest.cpp
choyfung/pmp-library
4a72c918494dac92f5e77545b71c7a327dafe71e
[ "BSD-3-Clause" ]
null
null
null
tests/SurfaceMeshIOTest.cpp
choyfung/pmp-library
4a72c918494dac92f5e77545b71c7a327dafe71e
[ "BSD-3-Clause" ]
1
2020-05-21T04:15:52.000Z
2020-05-21T04:15:52.000Z
//============================================================================= // Copyright (C) 2011-2018 The pmp-library developers // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Re...
33.239726
85
0.673604
choyfung
ebcfcaa6d627031057b9fc02bde0cc4c8d021fe1
4,338
cc
C++
xrtl/ui/control.cc
google/xrtl
8cf0e7cd67371297149bda8e62d03b8c1e2e2dfe
[ "Apache-2.0" ]
132
2017-03-30T03:26:57.000Z
2021-11-18T09:18:04.000Z
xrtl/ui/control.cc
google/xrtl
8cf0e7cd67371297149bda8e62d03b8c1e2e2dfe
[ "Apache-2.0" ]
36
2017-04-02T22:57:53.000Z
2018-06-27T04:20:30.000Z
xrtl/ui/control.cc
google/xrtl
8cf0e7cd67371297149bda8e62d03b8c1e2e2dfe
[ "Apache-2.0" ]
24
2017-04-09T12:48:13.000Z
2021-10-20T02:20:07.000Z
// Copyright 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
28.92
80
0.696404
google
ebd12e6bfde8423db98e1d9f919e6de5983bcb8a
1,838
cc
C++
elasticsearch/src/model/RecommendTemplatesResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
elasticsearch/src/model/RecommendTemplatesResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
elasticsearch/src/model/RecommendTemplatesResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
30.633333
96
0.772035
aliyun
ebd3cb4b469c4b5d7736d9336083f25d368351e9
1,113
cc
C++
cc/py.cc
acorg/acmacs-py
e0bf6ff7ecfe7332980d15b50f9b6dd6f6f78de1
[ "MIT" ]
null
null
null
cc/py.cc
acorg/acmacs-py
e0bf6ff7ecfe7332980d15b50f9b6dd6f6f78de1
[ "MIT" ]
null
null
null
cc/py.cc
acorg/acmacs-py
e0bf6ff7ecfe7332980d15b50f9b6dd6f6f78de1
[ "MIT" ]
null
null
null
#include "acmacs-base/log.hh" #include "acmacs-py/py.hh" // ====================================================================== PYBIND11_MODULE(acmacs, mdl) { using namespace pybind11::literals; mdl.doc() = "Acmacs backend"; acmacs_py::chart(mdl); acmacs_py::chart_util(mdl); acmacs_py::avidity...
30.081081
88
0.4708
acorg
ebd7c9f5749615605bb85f9e6c95a39787740773
1,258
cpp
C++
main.cpp
jleben/protobuf-spec-comparator
9599c32d0b6d5a92c30fd9251c77aad9d6472a07
[ "MIT" ]
null
null
null
main.cpp
jleben/protobuf-spec-comparator
9599c32d0b6d5a92c30fd9251c77aad9d6472a07
[ "MIT" ]
null
null
null
main.cpp
jleben/protobuf-spec-comparator
9599c32d0b6d5a92c30fd9251c77aad9d6472a07
[ "MIT" ]
1
2021-09-17T07:22:26.000Z
2021-09-17T07:22:26.000Z
#include "comparison.h" #include <iostream> using namespace std; int main(int argc, char * argv[]) { if (argc < 6) { cerr << "Expected arguments: root-dir1 file1 root-dir2 file2 type [--binary]" << endl; cerr << "Use '.' for <type> to compare all messages and enums in given files." << endl; ...
21.322034
95
0.486486
jleben
ebd7d759c1ea2c2cc32f0d535d027c43f0b252ac
630
cc
C++
05_String/Json/Main.cc
pataya235/UdemyCpp_Template-main
46583e2d252005eaba3a8a6f04b112454722e315
[ "MIT" ]
null
null
null
05_String/Json/Main.cc
pataya235/UdemyCpp_Template-main
46583e2d252005eaba3a8a6f04b112454722e315
[ "MIT" ]
null
null
null
05_String/Json/Main.cc
pataya235/UdemyCpp_Template-main
46583e2d252005eaba3a8a6f04b112454722e315
[ "MIT" ]
null
null
null
#include "json.hpp" #include <fstream> #include <iostream> int main() { std::ifstream ifs("c_cpp_properties.json"); //input filestream to read nlohmann::json data; //json object ifs >> data; //.json file into data object std::cout << data["configur...
31.5
83
0.592063
pataya235
ebd9a3b7091aa3ace2bd61248ee9f62f11a64e17
511
cpp
C++
test/testIo/testByteArrayReader/main.cpp
wangsun1983/Obotcha
2464e53599305703f5150df72bf73579a39d8ef4
[ "MIT" ]
27
2019-04-27T00:51:22.000Z
2022-03-30T04:05:44.000Z
test/testIo/testByteArrayReader/main.cpp
wangsun1983/Obotcha
2464e53599305703f5150df72bf73579a39d8ef4
[ "MIT" ]
9
2020-05-03T12:17:50.000Z
2021-10-15T02:18:47.000Z
test/testIo/testByteArrayReader/main.cpp
wangsun1983/Obotcha
2464e53599305703f5150df72bf73579a39d8ef4
[ "MIT" ]
1
2019-04-16T01:45:36.000Z
2019-04-16T01:45:36.000Z
#include <stdio.h> #include <unistd.h> #include <sys/time.h> #include "Thread.hpp" #include "Object.hpp" #include "System.hpp" #include "Barrier.hpp" #include "ByteArrayReader.hpp" using namespace obotcha; extern void testReadline(); extern void basetest(); extern void testByteArrayLittleEndian(); extern void testBy...
19.653846
40
0.731898
wangsun1983
ebdcd9a0c15ccfd734063547817eab73805518ba
556
cpp
C++
async_error_handling.cpp
pgulotta/FunctionalCpp
e8a1a1af87c17050e49e129b08b68ce22ecf39ae
[ "MIT" ]
1
2020-04-28T17:40:27.000Z
2020-04-28T17:40:27.000Z
async_error_handling.cpp
pgulotta/FunctionalCpp
e8a1a1af87c17050e49e129b08b68ce22ecf39ae
[ "MIT" ]
null
null
null
async_error_handling.cpp
pgulotta/FunctionalCpp
e8a1a1af87c17050e49e129b08b68ce22ecf39ae
[ "MIT" ]
null
null
null
#include <iostream> #include <future> #include <exception> #include <stdexcept> using namespace std; int calculate() { throw runtime_error("Exception thrown from calculate()."); } int main() { // Use the launch::async policy to force asynchronous execution. auto myFuture = async(launch::async, calc...
18.533333
66
0.629496
pgulotta
ebdd6396f7658fccd5956c7a1219d5aa05f22d93
848
cpp
C++
src/ecs/Complex.cpp
murataka/two
f6f9835de844a38687e11f649ff97c3fb4146bbe
[ "Zlib" ]
578
2019-05-04T09:09:42.000Z
2022-03-27T23:02:21.000Z
src/ecs/Complex.cpp
murataka/two
f6f9835de844a38687e11f649ff97c3fb4146bbe
[ "Zlib" ]
14
2019-05-11T14:34:56.000Z
2021-02-02T07:06:46.000Z
src/ecs/Complex.cpp
murataka/two
f6f9835de844a38687e11f649ff97c3fb4146bbe
[ "Zlib" ]
42
2019-05-11T16:04:19.000Z
2022-01-24T02:21:43.000Z
// Copyright (c) 2019 Hugo Amiard hugo.amiard@laposte.net // This software is provided 'as-is' under the zlib License, see the LICENSE.txt file. // This notice and the license may not be removed or altered from any source distribution. #ifdef TWO_MODULES module; #include <infra/Cpp20.h> module TWO(ecs); #else #incl...
20.682927
91
0.688679
murataka
ebdda3f79a83aeca6739c5a05e0d93e71a216f05
1,035
cpp
C++
Dimensionality_Reduction/AE1d/src/loss.cpp
o8r/pytorch_cpp
70ba1e64270da6d870847c074ce33afb154f1ef8
[ "MIT" ]
181
2020-03-26T12:33:25.000Z
2022-03-28T04:04:25.000Z
Dimensionality_Reduction/AE1d/src/loss.cpp
o8r/pytorch_cpp
70ba1e64270da6d870847c074ce33afb154f1ef8
[ "MIT" ]
11
2020-07-26T13:18:50.000Z
2022-01-09T10:04:10.000Z
Dimensionality_Reduction/AE1d/src/loss.cpp
o8r/pytorch_cpp
70ba1e64270da6d870847c074ce33afb154f1ef8
[ "MIT" ]
38
2020-05-04T05:06:55.000Z
2022-03-29T19:10:51.000Z
#include <iostream> #include <string> // For External Library #include <torch/torch.h> // For Original Header #include "loss.hpp" #include "losses.hpp" // ----------------------------------- // class{Loss} -> constructor // ----------------------------------- Loss::Loss(const std::string loss){ if (loss == "l1"){...
27.236842
102
0.520773
o8r
ebdfe31f9d93f6792305dd8137a3dd82eb496e68
1,721
cpp
C++
Vic2ToHoI4/Source/HOI4World/Ideas/Ideas.cpp
kingofmen/Vic2ToHoI4
04e3b872f84cf8aa56e44a63021fe66db1cfe233
[ "MIT" ]
1
2020-12-19T07:55:43.000Z
2020-12-19T07:55:43.000Z
Vic2ToHoI4/Source/HOI4World/Ideas/Ideas.cpp
kingofmen/Vic2ToHoI4
04e3b872f84cf8aa56e44a63021fe66db1cfe233
[ "MIT" ]
null
null
null
Vic2ToHoI4/Source/HOI4World/Ideas/Ideas.cpp
kingofmen/Vic2ToHoI4
04e3b872f84cf8aa56e44a63021fe66db1cfe233
[ "MIT" ]
null
null
null
#include "Ideas.h" #include "IdeaGroup.h" #include "IdeaUpdaters.h" #include "Log.h" #include "ParserHelpers.h" #include <fstream> HoI4::Ideas::Ideas() noexcept { importIdeologicalIdeas(); importGeneralIdeas(); } void HoI4::Ideas::importIdeologicalIdeas() { registerRegex(commonItems::catchallRegex, [this](const...
27.758065
110
0.731551
kingofmen
ebe015235a16cf280a5637d376a4b61dd4894212
5,495
cpp
C++
src/Parser.cpp
FelixKlauke/princept
835c18031efac598c2d77d0787a45d248a918c58
[ "MIT" ]
null
null
null
src/Parser.cpp
FelixKlauke/princept
835c18031efac598c2d77d0787a45d248a918c58
[ "MIT" ]
null
null
null
src/Parser.cpp
FelixKlauke/princept
835c18031efac598c2d77d0787a45d248a918c58
[ "MIT" ]
null
null
null
// // Created by Felix Klauke on 29.03.18. // #include <RootNode.h> #include <ClassNode.h> #include <iostream> #include <StatementNode.h> #include <VarDeclarationNode.h> #include <VarAssignNode.h> #include <IntegerNode.h> #include <FunctionCallNode.h> #include <VarDeclarationAndInitializationNode.h> #include "Parser.h...
31.045198
117
0.66697
FelixKlauke
ebe3e93682ad299f8ed7386b049f861e2e313e7d
436
cpp
C++
solved/c-e/clockhands/clock.cpp
abuasifkhan/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
13
2015-09-30T19:18:04.000Z
2021-06-26T21:11:30.000Z
solved/c-e/clockhands/clock.cpp
sbmaruf/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
null
null
null
solved/c-e/clockhands/clock.cpp
sbmaruf/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
13
2015-01-04T09:49:54.000Z
2021-06-03T13:18:44.000Z
#include <algorithm> #include <cstdio> using namespace std; int H, M; double a, b; // angles for the two hands int main() { while (true) { scanf("%d:%d", &H, &M); if (H == 0 && M == 0) break; a = H*30 + 1.0*M/2.0; b = M*6; double x = a - b; double y = b - a; ...
16.148148
41
0.419725
abuasifkhan
ebe3ea59960afffa21becef88968acac9b4ca82d
922
cc
C++
chromecast/browser/cast_content_window.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
chromecast/browser/cast_content_window.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
chromecast/browser/cast_content_window.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
// Copyright 2018 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 "chromecast/browser/cast_content_window.h" namespace chromecast { CastContentWindow::CastContentWindow(const CreateParams& params) : delega...
28.8125
74
0.786334
sarang-apps
ebe57cecc324b43eec1fdab43ab14ec9347ea301
5,050
cpp
C++
libs/dev/PCSTree/PA1/PCSTree.cpp
Norseman055/immaterial-engine
6aca0fad64f5b2b9fe6eb351528a79a39dc94625
[ "MIT" ]
null
null
null
libs/dev/PCSTree/PA1/PCSTree.cpp
Norseman055/immaterial-engine
6aca0fad64f5b2b9fe6eb351528a79a39dc94625
[ "MIT" ]
null
null
null
libs/dev/PCSTree/PA1/PCSTree.cpp
Norseman055/immaterial-engine
6aca0fad64f5b2b9fe6eb351528a79a39dc94625
[ "MIT" ]
null
null
null
#include <stdio.h> #include <assert.h> #include <string.h> #include "PCSTree.h" #include "PCSNode.h" // constructor PCSTree::PCSTree() { info.maxLevelCount = 0; info.maxNodeCount = 0; info.numLevels = 0; info.numNodes = 0; root = NULL; }; // destructor PCSTree::~PCSTree() { // printf("PCSTree: destructor()\n...
26.302083
121
0.671683
Norseman055
ebe7b4999a1de061dfec998206e07727d0ea13c1
282
hpp
C++
src_ordenacao_imperador_algoritmo2/include/Bubble.hpp
victormagalhaess/TP2-ED-2020
78d020c6da1c036fd6643d6ed066f3440a45a981
[ "MIT" ]
null
null
null
src_ordenacao_imperador_algoritmo2/include/Bubble.hpp
victormagalhaess/TP2-ED-2020
78d020c6da1c036fd6643d6ed066f3440a45a981
[ "MIT" ]
null
null
null
src_ordenacao_imperador_algoritmo2/include/Bubble.hpp
victormagalhaess/TP2-ED-2020
78d020c6da1c036fd6643d6ed066f3440a45a981
[ "MIT" ]
null
null
null
#include <stdio.h> #include <iostream> #include "./Civilization.hpp" #ifndef BUBBLE #define BUBBLE namespace Emperor2 { class Bubble { public: Civilization *BubbleSort(Civilization *civilizations, int numberOfCivilizations); }; } // namespace Emperor2 #endif
20.142857
89
0.712766
victormagalhaess
ebea36374ee8bf322642b91d60d644b4f780b60f
2,255
hpp
C++
src/sosofo.hpp
hvellyr/sairy
3b7b797c71384222d58b67bded24ee5b5cc6aa2a
[ "BSD-3-Clause" ]
null
null
null
src/sosofo.hpp
hvellyr/sairy
3b7b797c71384222d58b67bded24ee5b5cc6aa2a
[ "BSD-3-Clause" ]
null
null
null
src/sosofo.hpp
hvellyr/sairy
3b7b797c71384222d58b67bded24ee5b5cc6aa2a
[ "BSD-3-Clause" ]
1
2018-01-29T10:57:09.000Z
2018-01-29T10:57:09.000Z
// Copyright (c) 2015 Gregor Klinke // All rights reserved. #pragma once #include "fo.hpp" #include <iterator> #include <memory> #include <string> #include <vector> namespace eyestep { class SosofoIterator; class Sosofo { public: /*! Creates an empty sosofo */ Sosofo(); Sosofo(const Sosofo& one, const Soso...
19.273504
74
0.647007
hvellyr
ebeed60cd61c7c5dd636502acb36f1b78ccd8dc7
7,542
cpp
C++
android/filament-android/src/main/cpp/IndirectLight.cpp
Alan-love/filament
87ee5783b7f72bb5b045d9334d719ea2de9f5247
[ "Apache-2.0" ]
1
2020-04-04T17:14:40.000Z
2020-04-04T17:14:40.000Z
android/filament-android/src/main/cpp/IndirectLight.cpp
Alan-love/filament
87ee5783b7f72bb5b045d9334d719ea2de9f5247
[ "Apache-2.0" ]
null
null
null
android/filament-android/src/main/cpp/IndirectLight.cpp
Alan-love/filament
87ee5783b7f72bb5b045d9334d719ea2de9f5247
[ "Apache-2.0" ]
1
2020-03-06T06:27:49.000Z
2020-03-06T06:27:49.000Z
/* * Copyright (C) 2017 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...
45.433735
128
0.764121
Alan-love
ebefb9f00c972446b26434541bac080107dde993
7,796
cpp
C++
source/games/sw/src/mclip.cpp
alexey-lysiuk/Raze
690994ea1e6b105d4fc55d6b81ffda5e26e68c36
[ "RSA-MD" ]
null
null
null
source/games/sw/src/mclip.cpp
alexey-lysiuk/Raze
690994ea1e6b105d4fc55d6b81ffda5e26e68c36
[ "RSA-MD" ]
null
null
null
source/games/sw/src/mclip.cpp
alexey-lysiuk/Raze
690994ea1e6b105d4fc55d6b81ffda5e26e68c36
[ "RSA-MD" ]
null
null
null
//------------------------------------------------------------------------- /* Copyright (C) 1997, 2005 - 3D Realms Entertainment This file is part of Shadow Warrior version 1.2 Shadow Warrior is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by ...
25.394137
137
0.506542
alexey-lysiuk
ebf103c146e5be8b574ba6777f15b84687b8e067
1,133
cpp
C++
oreore/oreore/cocos2d/actions/ShakeFadeOut.cpp
Giemsa/oreore
18c2f07bca7df9599aa68cf79d627e239b17461c
[ "Zlib" ]
4
2015-01-26T17:46:26.000Z
2018-12-28T09:09:19.000Z
oreore/oreore/cocos2d/actions/ShakeFadeOut.cpp
Giemsa/oreore
18c2f07bca7df9599aa68cf79d627e239b17461c
[ "Zlib" ]
null
null
null
oreore/oreore/cocos2d/actions/ShakeFadeOut.cpp
Giemsa/oreore
18c2f07bca7df9599aa68cf79d627e239b17461c
[ "Zlib" ]
null
null
null
#include "ShakeFadeOut.h" #include "../../Utils.h" namespace oreore { using namespace cocos2d; ShakeFadeOut *ShakeFadeOut::create(const float duration, const float strength) { return create(duration, strength, strength); } ShakeFadeOut *ShakeFadeOut::create(const float duration, const flo...
25.75
102
0.616064
Giemsa
ebf67bcb4413e9c999e91f98f9eff5627331c191
12,727
cpp
C++
roxe.cdt/roxe_llvm/tools/llvm-mca/Scheduler.cpp
APFDev/actc
be5c1c0539d30a3745a725b0027767448ef8e1f6
[ "MIT" ]
5
2021-01-13T03:34:00.000Z
2021-09-09T05:42:18.000Z
roxe.cdt/roxe_llvm/tools/llvm-mca/Scheduler.cpp
APFDev/actc
be5c1c0539d30a3745a725b0027767448ef8e1f6
[ "MIT" ]
1
2020-05-16T06:30:28.000Z
2020-05-16T06:37:55.000Z
roxe.cdt/roxe_llvm/tools/llvm-mca/Scheduler.cpp
APFDev/actc
be5c1c0539d30a3745a725b0027767448ef8e1f6
[ "MIT" ]
6
2020-01-06T11:18:54.000Z
2020-01-07T09:32:18.000Z
//===--------------------- Scheduler.cpp ------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
32.886305
80
0.656085
APFDev
ebf6f7382807ed1f1b6d9b7c3f094ef1253c0120
225,178
cpp
C++
bench/ml2cpp-demo/BaggingClassifier/FourClass_100/ml2cpp-demo_BaggingClassifier_FourClass_100.cpp
antoinecarme/ml2cpp
2b241d44de00eafda620c2b605690276faf5f8fb
[ "BSD-3-Clause" ]
null
null
null
bench/ml2cpp-demo/BaggingClassifier/FourClass_100/ml2cpp-demo_BaggingClassifier_FourClass_100.cpp
antoinecarme/ml2cpp
2b241d44de00eafda620c2b605690276faf5f8fb
[ "BSD-3-Clause" ]
33
2020-09-13T09:55:01.000Z
2022-01-06T11:53:55.000Z
bench/ml2cpp-demo/BaggingClassifier/FourClass_100/ml2cpp-demo_BaggingClassifier_FourClass_100.cpp
antoinecarme/ml2cpp
2b241d44de00eafda620c2b605690276faf5f8fb
[ "BSD-3-Clause" ]
1
2021-01-26T14:41:58.000Z
2021-01-26T14:41:58.000Z
// ******************************************************** // This C++ code was automatically generated by ml2cpp (development version). // Copyright 2020 // https://github.com/antoinecarme/ml2cpp // Model : BaggingClassifier // Dataset : FourClass_100 // This CPP code can be compiled using any C++-17 compiler. //...
146.695765
2,839
0.70979
antoinecarme
ebf8fca698458856c4deef95982dd656690d4c50
1,682
cc
C++
gcc-gcc-7_3_0-release/libstdc++-v3/testsuite/20_util/any/cons/nontrivial.cc
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/libstdc++-v3/testsuite/20_util/any/cons/nontrivial.cc
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/libstdc++-v3/testsuite/20_util/any/cons/nontrivial.cc
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
// Copyright (C) 2015-2017 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Public License as published by the // Free Software Foundation; either version 3, or (at your op...
22.131579
76
0.684304
best08618
ebfc3837e61270fc86a6705696fee9076f62daf0
4,722
cpp
C++
libs/vgc/widgets/font.cpp
wookay/vgc
21ec9f207219f43ed89c43f37b623d60a2bbb8cc
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
libs/vgc/widgets/font.cpp
wookay/vgc
21ec9f207219f43ed89c43f37b623d60a2bbb8cc
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
libs/vgc/widgets/font.cpp
wookay/vgc
21ec9f207219f43ed89c43f37b623d60a2bbb8cc
[ "ECL-2.0", "Apache-2.0" ]
1
2021-02-22T01:16:38.000Z
2021-02-22T01:16:38.000Z
// Copyright 2020 The VGC Developers // See the COPYRIGHT file at the top-level directory of this distribution // and at https://github.com/vgc/vgc/blob/master/COPYRIGHT // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may o...
37.47619
112
0.548708
wookay
ebfd9f52b69f35ceb865206a613f9465517e9389
1,166
cpp
C++
AeSys/EoSelectCmd.cpp
terry-texas-us/Eo
5652b68468c0bacd8e8da732befa2374360a4bbd
[ "MIT" ]
1
2020-09-07T07:06:19.000Z
2020-09-07T07:06:19.000Z
AeSys/EoSelectCmd.cpp
terry-texas-us/Eo
5652b68468c0bacd8e8da732befa2374360a4bbd
[ "MIT" ]
null
null
null
AeSys/EoSelectCmd.cpp
terry-texas-us/Eo
5652b68468c0bacd8e8da732befa2374360a4bbd
[ "MIT" ]
2
2019-10-24T00:36:58.000Z
2020-09-30T16:45:56.000Z
#include "stdafx.h" #include "EoSelectCmd.h" #include "AeSysDoc.h" #include "AeSysView.h" #include <DbCommandContext.h> const OdString CommandSelect::groupName() const { return L"AeSys"; } const OdString CommandSelect::Name() { return L"SELECT"; } const OdString CommandSelect::globalName() const { return Name(); ...
28.439024
119
0.756432
terry-texas-us
ebff4a602701e56f0b58baaa1bb4b01018aa66f6
2,177
cpp
C++
dali-toolkit/public-api/controls/buttons/button.cpp
dalihub/dali-toolk
980728a7e35b8ddd28f70c090243e8076e21536e
[ "Apache-2.0", "BSD-3-Clause" ]
7
2016-11-18T10:26:51.000Z
2021-01-28T13:51:59.000Z
dali-toolkit/public-api/controls/buttons/button.cpp
dalihub/dali-toolk
980728a7e35b8ddd28f70c090243e8076e21536e
[ "Apache-2.0", "BSD-3-Clause" ]
13
2020-07-15T11:33:03.000Z
2021-04-09T21:29:23.000Z
dali-toolkit/public-api/controls/buttons/button.cpp
dalihub/dali-toolk
980728a7e35b8ddd28f70c090243e8076e21536e
[ "Apache-2.0", "BSD-3-Clause" ]
10
2019-05-17T07:15:09.000Z
2021-05-24T07:28:08.000Z
/* * Copyright (c) 2020 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...
24.460674
75
0.748277
dalihub
23035442399b2d186798f79ffc59cc97b8bd9617
2,473
cpp
C++
src/lib/spirent_pga/scalar/checksum.cpp
ronanjs/openperf
55b759e399254547f8a6590b2e19cb47232265b7
[ "Apache-2.0" ]
null
null
null
src/lib/spirent_pga/scalar/checksum.cpp
ronanjs/openperf
55b759e399254547f8a6590b2e19cb47232265b7
[ "Apache-2.0" ]
null
null
null
src/lib/spirent_pga/scalar/checksum.cpp
ronanjs/openperf
55b759e399254547f8a6590b2e19cb47232265b7
[ "Apache-2.0" ]
null
null
null
#include <algorithm> #include <cstdint> #include <numeric> #include <arpa/inet.h> #include "spirent_pga/common/headers.h" namespace scalar { inline uint32_t fold64(uint64_t sum) { sum = (sum >> 32) + (sum & 0xffffffff); sum += sum >> 32; return (static_cast<uint32_t>(sum)); } inline uint16_t fold32(uin...
29.094118
76
0.506672
ronanjs
2303f9330df23968e2db707dd88c75be3e688228
209
cpp
C++
FaceApi/Messages/CommandMessage.cpp
bkornel/face-api
ce818f2d1e3615797079c9a098d7d45ffd525291
[ "MIT" ]
6
2018-09-21T02:49:17.000Z
2022-03-02T17:47:04.000Z
FaceApi/Messages/CommandMessage.cpp
bkornel/face-api
ce818f2d1e3615797079c9a098d7d45ffd525291
[ "MIT" ]
1
2019-09-18T12:51:33.000Z
2019-09-18T12:51:33.000Z
FaceApi/Messages/CommandMessage.cpp
bkornel/face-api
ce818f2d1e3615797079c9a098d7d45ffd525291
[ "MIT" ]
null
null
null
#include "Messages/CommandMessage.h" namespace face { CommandMessage::CommandMessage(Type iType, unsigned iFrameId, long long iTimestamp) : fw::Message(iFrameId, iTimestamp), mType(iType) { } }
19
87
0.722488
bkornel
2305ba8edddb4ea3943bcb13d322990903877ab9
1,981
cpp
C++
java/com/intel/daal/algorithms/quality_metric_set/qualitymetricset_batch.cpp
cmsxbc/oneDAL
eeb8523285907dc359c84ca4894579d5d1d9f57e
[ "Apache-2.0" ]
169
2020-03-30T09:13:05.000Z
2022-03-15T11:12:36.000Z
java/com/intel/daal/algorithms/quality_metric_set/qualitymetricset_batch.cpp
cmsxbc/oneDAL
eeb8523285907dc359c84ca4894579d5d1d9f57e
[ "Apache-2.0" ]
1,198
2020-03-24T17:26:18.000Z
2022-03-31T08:06:15.000Z
java/com/intel/daal/algorithms/quality_metric_set/qualitymetricset_batch.cpp
cmsxbc/oneDAL
eeb8523285907dc359c84ca4894579d5d1d9f57e
[ "Apache-2.0" ]
75
2020-03-30T11:39:58.000Z
2022-03-26T05:16:20.000Z
/* file: qualitymetricset_batch.cpp */ /******************************************************************************* * Copyright 2014-2021 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 o...
42.148936
150
0.655225
cmsxbc
2309266fc602812e006f7a648963a6e9df1d4005
637
hpp
C++
test/include/cjdb/test/functional/rangecmp/is_equivalence.hpp
cjdb/clang-concepts-ranges
7019754e97c8f3863035db74de62004ae3814954
[ "Apache-2.0" ]
4
2019-03-02T01:09:07.000Z
2019-10-16T15:46:21.000Z
test/include/cjdb/test/functional/rangecmp/is_equivalence.hpp
cjdb/clang-concepts-ranges
7019754e97c8f3863035db74de62004ae3814954
[ "Apache-2.0" ]
5
2018-12-16T13:47:32.000Z
2019-10-13T01:27:11.000Z
test/include/cjdb/test/functional/rangecmp/is_equivalence.hpp
cjdb/clang-concepts-ranges
7019754e97c8f3863035db74de62004ae3814954
[ "Apache-2.0" ]
3
2020-06-08T18:27:28.000Z
2021-03-27T17:49:46.000Z
// Copyright (c) Christopher Di Bella. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // #ifndef CJDB_TEST_FUNCTIONAL_RANGECMP_IS_EQUIVALENCE_HPP #define CJDB_TEST_FUNCTIONAL_RANGECMP_IS_EQUIVALENCE_HPP #include "cjdb/test/constexpr_check.hpp" #include "cjdb/test/functional/rangecmp/is_partial_equivalence....
35.388889
67
0.715856
cjdb
230a0b7c9d8bde4d8d0586c8a1610b8e9de5b569
8,913
cpp
C++
ros/src/computing/perception/detection/lidar_detector/packages/lidar_apollo_cnn_seg_detect/nodes/cnn_segmentation.cpp
baharkhabbazan/autoware
4285b539199af172faadba92bed887fdbb225472
[ "Apache-2.0" ]
20
2019-05-21T06:14:17.000Z
2021-11-03T04:36:09.000Z
ros/src/computing/perception/detection/lidar_detector/packages/lidar_apollo_cnn_seg_detect/nodes/cnn_segmentation.cpp
anhnv3991/autoware
d5b2ed9dc309193c8a2a7c77a2b6c88104c28328
[ "Apache-2.0" ]
18
2019-04-08T16:09:37.000Z
2019-06-05T15:24:40.000Z
ros/src/computing/perception/detection/lidar_detector/packages/lidar_apollo_cnn_seg_detect/nodes/cnn_segmentation.cpp
anhnv3991/autoware
d5b2ed9dc309193c8a2a7c77a2b6c88104c28328
[ "Apache-2.0" ]
8
2019-04-28T13:15:18.000Z
2021-06-03T07:05:16.000Z
/* * Copyright 2018-2019 Autoware Foundation. 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 requi...
34.546512
107
0.693481
baharkhabbazan
230aed13e0c171ee888ec6eccfeede61d4d547c2
780
cpp
C++
questions/46367568/main.cpp
sesu089/stackoverflow
6fae69be6fa74fba9d554e6b5f387e5d3c1aad73
[ "MIT" ]
302
2017-03-04T00:05:23.000Z
2022-03-28T22:51:29.000Z
questions/46367568/main.cpp
sesu089/stackoverflow
6fae69be6fa74fba9d554e6b5f387e5d3c1aad73
[ "MIT" ]
30
2017-12-02T19:26:43.000Z
2022-03-28T07:40:36.000Z
questions/46367568/main.cpp
sesu089/stackoverflow
6fae69be6fa74fba9d554e6b5f387e5d3c1aad73
[ "MIT" ]
388
2017-07-04T16:53:12.000Z
2022-03-18T22:20:19.000Z
#include <QGuiApplication> #include <QQmlApplicationEngine> #include <QQmlContext> #include <QStringListModel> class StringListModel : public QStringListModel { Q_OBJECT public: Q_INVOKABLE bool removeRows(int row, int count, const QModelIndex &parent = QModelIndex()) { return QSt...
26
74
0.692308
sesu089
230bed5b01f64f1cb1089f71ac503d8567d45205
13,004
cpp
C++
src/reactive/http/request.cpp
ReactiveFramework/ReactiveFramework
c986f67cca10789e7a85e5a226c0cf7abb642698
[ "MIT" ]
null
null
null
src/reactive/http/request.cpp
ReactiveFramework/ReactiveFramework
c986f67cca10789e7a85e5a226c0cf7abb642698
[ "MIT" ]
null
null
null
src/reactive/http/request.cpp
ReactiveFramework/ReactiveFramework
c986f67cca10789e7a85e5a226c0cf7abb642698
[ "MIT" ]
1
2021-09-07T11:08:28.000Z
2021-09-07T11:08:28.000Z
/** * Reactive * * (c) 2015-2016 Axel Etcheverry * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ #include <string> #include <reactive/http/request.hpp> namespace reactive { namespace http { int request::on_message_begin(http...
28.208243
117
0.556521
ReactiveFramework
230d73f8f945d97a3783cedc26ae2c87222cc557
1,548
hpp
C++
include/boost/simd/constant/definition/thousand.hpp
nickporubsky/boost-simd-clone
b81dfcd9d6524a131ea714f1eebb5bb75adddcc7
[ "BSL-1.0" ]
5
2018-02-20T11:21:12.000Z
2019-11-12T13:45:09.000Z
include/boost/simd/constant/definition/thousand.hpp
nickporubsky/boost-simd-clone
b81dfcd9d6524a131ea714f1eebb5bb75adddcc7
[ "BSL-1.0" ]
null
null
null
include/boost/simd/constant/definition/thousand.hpp
nickporubsky/boost-simd-clone
b81dfcd9d6524a131ea714f1eebb5bb75adddcc7
[ "BSL-1.0" ]
2
2017-11-17T15:30:36.000Z
2018-03-01T02:06:25.000Z
//================================================================================================== /*! @file @copyright 2016 NumScale SAS Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ //===========================...
30.352941
100
0.663437
nickporubsky
231844adbf30c001bf10c931c6edabf567b8d2d1
5,669
cpp
C++
Code/BBearEditor/Engine/Utils/BBUtils.cpp
lishangdian/BBearEditor-2.0
1f4b463ef756ed36cc15d10abae822efc400c4d7
[ "MIT" ]
1
2021-09-01T08:19:34.000Z
2021-09-01T08:19:34.000Z
Code/BBearEditor/Engine/Utils/BBUtils.cpp
lishangdian/BBearEditor-2.0
1f4b463ef756ed36cc15d10abae822efc400c4d7
[ "MIT" ]
null
null
null
Code/BBearEditor/Engine/Utils/BBUtils.cpp
lishangdian/BBearEditor-2.0
1f4b463ef756ed36cc15d10abae822efc400c4d7
[ "MIT" ]
null
null
null
#include "BBUtils.h" #include <QDir> #include <QProcess> #include "FileSystem/BBFileListWidget.h" #include <GL/gl.h> QString BBConstant::BB_NAME_PROJECT = ""; QString BBConstant::BB_PATH_PROJECT = ""; // there is no / at the end QString BBConstant::BB_PATH_PROJECT_ENGINE = ""; QString BBConstant::BB_PATH_PROJECT_USE...
30.978142
95
0.652672
lishangdian
231b0b7c02947ac2cd973c765a2e2d2c1a1a05fd
648
cc
C++
src/virtualization/lib/guest_interaction/client/guest_discovery_service_main.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
5
2022-01-10T20:22:17.000Z
2022-01-21T20:14:17.000Z
src/virtualization/lib/guest_interaction/client/guest_discovery_service_main.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
1
2022-03-01T01:12:04.000Z
2022-03-01T01:17:26.000Z
src/virtualization/lib/guest_interaction/client/guest_discovery_service_main.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2019 The Fuchsia 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 <lib/async-loop/cpp/loop.h> #include <lib/async-loop/default.h> #include "src/virtualization/lib/guest_interaction/client/guest_discovery_service...
34.105263
99
0.774691
allansrc
231bebc432243dd3f9569ff093363b854aa9edd8
8,492
cpp
C++
Sources/Display/Font/font.cpp
ValtoFrameworks/ClanLib
2d6b59386ce275742653b354a1daab42cab7cb3e
[ "Linux-OpenIB" ]
null
null
null
Sources/Display/Font/font.cpp
ValtoFrameworks/ClanLib
2d6b59386ce275742653b354a1daab42cab7cb3e
[ "Linux-OpenIB" ]
null
null
null
Sources/Display/Font/font.cpp
ValtoFrameworks/ClanLib
2d6b59386ce275742653b354a1daab42cab7cb3e
[ "Linux-OpenIB" ]
null
null
null
/* ** ClanLib SDK ** Copyright (c) 1997-2016 The ClanLib Team ** ** This software is provided 'as-is', without any express or implied ** warranty. In no event will the authors be held liable for any damages ** arising from the use of this software. ** ** Permission is granted to anyone to use this software for a...
26.788644
168
0.693005
ValtoFrameworks
231d4237aba480c8729ffe1c79a8b6aa08faaf08
2,128
cpp
C++
moses/moses/ChartTrellisPath.cpp
anshsarkar/TailBench
25845756aee9a892229c25b681051591c94daafd
[ "MIT" ]
3
2018-01-25T00:51:56.000Z
2022-01-07T15:09:38.000Z
moses/moses/ChartTrellisPath.cpp
anshsarkar/TailBench
25845756aee9a892229c25b681051591c94daafd
[ "MIT" ]
1
2020-06-23T08:29:09.000Z
2020-06-24T12:11:47.000Z
moses/moses/ChartTrellisPath.cpp
anshsarkar/TailBench
25845756aee9a892229c25b681051591c94daafd
[ "MIT" ]
3
2018-06-08T08:36:27.000Z
2021-12-26T20:36:16.000Z
// $Id$ // vim:tabstop=2 /*********************************************************************** Moses - factored phrase-based language decoder Copyright (C) 2010 Hieu Hoang This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as publish...
32.738462
91
0.726034
anshsarkar
2322c13f90bef22a89b54712c0a482e5fa3f524d
736
hpp
C++
include/Player.hpp
esweet431/Cnake
faaaea177d26070fd6c1cd664222d4041ecc7bec
[ "MIT" ]
3
2019-10-15T04:16:29.000Z
2019-10-19T03:55:39.000Z
include/Player.hpp
esweet431/Cnake
faaaea177d26070fd6c1cd664222d4041ecc7bec
[ "MIT" ]
5
2019-05-16T06:59:48.000Z
2019-10-13T06:09:59.000Z
include/Player.hpp
esweet431/Cnake
faaaea177d26070fd6c1cd664222d4041ecc7bec
[ "MIT" ]
2
2020-02-14T18:27:35.000Z
2021-07-08T20:41:21.000Z
#pragma once #include <SFML/Graphics.hpp> #include <SFML/Audio.hpp> #include <vector> #include <mutex> enum Direction { Up, Right, Down, Left }; class Player : public sf::Drawable { public: // Constructor Player(const std::map<std::string, sf::Texture>&, std::mutex*); // Destructor ~Player(); // Setters voi...
19.368421
76
0.702446
esweet431
2323218e955ff7679ccea944280d0866e90fd87d
21,503
cpp
C++
src/assembler/RhsAssembler.cpp
ldXiao/polyfem
d4103af16979ff67d461a9ebe46a14bbc4dc8c7c
[ "MIT" ]
null
null
null
src/assembler/RhsAssembler.cpp
ldXiao/polyfem
d4103af16979ff67d461a9ebe46a14bbc4dc8c7c
[ "MIT" ]
null
null
null
src/assembler/RhsAssembler.cpp
ldXiao/polyfem
d4103af16979ff67d461a9ebe46a14bbc4dc8c7c
[ "MIT" ]
null
null
null
#include <polyfem/RhsAssembler.hpp> #include <polyfem/BoundarySampler.hpp> #include <polyfem/LinearSolver.hpp> // #include <polyfem/UIState.hpp> #include <polyfem/Logger.hpp> #include <Eigen/Sparse> #ifdef USE_TBB #include <tbb/parallel_for.h> #include <tbb/task_scheduler_init.h> #include <tbb/enumerable_thread_...
34.794498
290
0.668837
ldXiao
2325a5a23508c0d5cb259beb42feeaea35917197
5,274
cpp
C++
src/FrenetOptimalTrajectory/fot_wrapper.cpp
erdos-project/frenet-optimal-trajectory-planner
ba0cb5662a0e2ea668b1c2b2951c0f6b84f44f5b
[ "Apache-2.0" ]
null
null
null
src/FrenetOptimalTrajectory/fot_wrapper.cpp
erdos-project/frenet-optimal-trajectory-planner
ba0cb5662a0e2ea668b1c2b2951c0f6b84f44f5b
[ "Apache-2.0" ]
null
null
null
src/FrenetOptimalTrajectory/fot_wrapper.cpp
erdos-project/frenet-optimal-trajectory-planner
ba0cb5662a0e2ea668b1c2b2951c0f6b84f44f5b
[ "Apache-2.0" ]
1
2020-03-07T01:49:50.000Z
2020-03-07T01:49:50.000Z
#include "FrenetOptimalTrajectory.h" #include "FrenetPath.h" #include "py_cpp_struct.h" #include "CubicSpline2D.h" #include "utils.h" #include <stddef.h> #include <vector> using namespace std; // C++ wrapper to expose the FrenetOptimalTrajectory class to python extern "C" { // Compute the frenet optimal trajecto...
42.532258
88
0.595184
erdos-project
23266ff1a1d3228c045af3d71ae0a5d5c7e6476d
2,938
cpp
C++
src/xercesc/xinclude/XIncludeDOMDocumentProcessor.cpp
rajesh-ibm-power/xerces-c
bee41e87651b935130ed76015fe4c38507f6b32f
[ "Apache-2.0" ]
115
2015-03-17T16:22:59.000Z
2022-03-09T12:06:59.000Z
src/xercesc/xinclude/XIncludeDOMDocumentProcessor.cpp
rajesh-ibm-power/xerces-c
bee41e87651b935130ed76015fe4c38507f6b32f
[ "Apache-2.0" ]
25
2018-11-19T14:10:23.000Z
2022-03-12T17:18:24.000Z
src/xercesc/xinclude/XIncludeDOMDocumentProcessor.cpp
rajesh-ibm-power/xerces-c
bee41e87651b935130ed76015fe4c38507f6b32f
[ "Apache-2.0" ]
122
2015-03-16T11:44:23.000Z
2022-03-15T12:33:22.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
36.271605
161
0.65725
rajesh-ibm-power
23288f4a73b963314c78ee1f635d01b952a59ca0
151
cpp
C++
archive/1/cukierki.cpp
Aleshkev/algoritmika
fc95b0c0f318d9eb4ef1fef4cc3c6e85d2417189
[ "MIT" ]
2
2019-05-04T09:37:09.000Z
2019-05-22T18:07:28.000Z
archive/1/cukierki.cpp
Aleshkev/algoritmika
fc95b0c0f318d9eb4ef1fef4cc3c6e85d2417189
[ "MIT" ]
null
null
null
archive/1/cukierki.cpp
Aleshkev/algoritmika
fc95b0c0f318d9eb4ef1fef4cc3c6e85d2417189
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef int I; int main() { string s; cin >> s; cout << s << s << '\n'; return 0; }
9.4375
27
0.503311
Aleshkev
23298054ce30a578a9d7d5169992e6122c39b610
1,916
cpp
C++
Sources/Particles/Particle.cpp
CarysT/Acid
ab81fd13ab288ceaa152e0f64f6d97daf032fc19
[ "MIT" ]
977
2019-05-23T01:53:42.000Z
2022-03-30T04:22:41.000Z
Sources/Particles/Particle.cpp
CarysT/Acid
ab81fd13ab288ceaa152e0f64f6d97daf032fc19
[ "MIT" ]
44
2019-06-02T17:30:32.000Z
2022-03-27T14:22:40.000Z
Sources/Particles/Particle.cpp
CarysT/Acid
ab81fd13ab288ceaa152e0f64f6d97daf032fc19
[ "MIT" ]
121
2019-05-23T05:18:01.000Z
2022-03-27T21:59:23.000Z
#include "Particle.hpp" #include "Scenes/Scenes.hpp" namespace acid { static constexpr float FADE_TIME = 1.0f; Particle::Particle(std::shared_ptr<ParticleType> particleType, const Vector3f &position, const Vector3f &velocity, float lifeLength, float stageCycles, float rotation, float scale, float gravityEffect) : ...
29.9375
151
0.745825
CarysT
2329d0e1a90927cda11ef0b45fe8cad1d7823b46
13,179
cc
C++
manager/calibrateProcesses.cc
yahoo/Pluton
82bbab17c0013d87063b398ec777d5977f353d0a
[ "MIT" ]
8
2015-05-22T21:27:17.000Z
2017-03-19T06:07:41.000Z
manager/calibrateProcesses.cc
YahooArchive/Pluton
82bbab17c0013d87063b398ec777d5977f353d0a
[ "MIT" ]
null
null
null
manager/calibrateProcesses.cc
YahooArchive/Pluton
82bbab17c0013d87063b398ec777d5977f353d0a
[ "MIT" ]
6
2015-10-16T08:40:00.000Z
2016-11-14T06:48:09.000Z
/* Copyright (c) 2010, Yahoo! Inc. All rights reserved. Redistribution and use of this software 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 conditions and ...
34.409922
93
0.595189
yahoo
232c1992a0b985e0771a9358e9884746096939f4
1,617
cc
C++
lib/lf/geometry/point.cc
Pascal-So/lehrfempp
e2716e914169eec7ee59e822ea3ab303143eacd1
[ "MIT" ]
null
null
null
lib/lf/geometry/point.cc
Pascal-So/lehrfempp
e2716e914169eec7ee59e822ea3ab303143eacd1
[ "MIT" ]
null
null
null
lib/lf/geometry/point.cc
Pascal-So/lehrfempp
e2716e914169eec7ee59e822ea3ab303143eacd1
[ "MIT" ]
null
null
null
#include "point.h" namespace lf::geometry { Eigen::MatrixXd Point::Global(const Eigen::MatrixXd& local) const { LF_ASSERT_MSG(local.rows() == 0, "local.rows() != 0"); return coord_.replicate(1, local.cols()); } // NOLINTNEXTLINE(misc-unused-parameters) Eigen::MatrixXd Point::Jacobian(const Eigen::MatrixXd& local)...
36.75
79
0.700062
Pascal-So
232ccb1bb40892f5b0a04510fd9b37b06e65cc55
27,849
cpp
C++
FlexEngine/src/Window/GLFWWindowWrapper.cpp
ajweeks/Rendering-Engine
fe0f2cdb44a067fec875110572b3b91f5f4c659c
[ "MIT" ]
762
2017-11-07T23:40:58.000Z
2022-03-31T16:03:22.000Z
FlexEngine/src/Window/GLFWWindowWrapper.cpp
ajweeks/Rendering-Engine
fe0f2cdb44a067fec875110572b3b91f5f4c659c
[ "MIT" ]
5
2018-03-13T14:41:06.000Z
2020-11-01T12:02:29.000Z
FlexEngine/src/Window/GLFWWindowWrapper.cpp
ajweeks/Rendering-Engine
fe0f2cdb44a067fec875110572b3b91f5f4c659c
[ "MIT" ]
43
2017-11-17T11:22:37.000Z
2022-03-14T01:51:19.000Z
#include "stdafx.hpp" #include "Window/GLFWWindowWrapper.hpp" #include "FlexEngine.hpp" #include "Editor.hpp" #if COMPILE_OPEN_GL #include "Graphics/GL/GLHelpers.hpp" #endif #include "Graphics/Renderer.hpp" #include "Helpers.hpp" #include "InputManager.hpp" #include "Platform/Platform.hpp" #include "Window/Monitor.hp...
32.6483
154
0.738016
ajweeks
2331e0219ab4482e80e287d213ad0093d02a0677
505
hpp
C++
libraries/chain/include/graphene/chain/protocol/cyva.hpp
cyvasia/cyva
e98b26abfe8e96d0e1470626b0a525d44f9372a9
[ "MIT" ]
null
null
null
libraries/chain/include/graphene/chain/protocol/cyva.hpp
cyvasia/cyva
e98b26abfe8e96d0e1470626b0a525d44f9372a9
[ "MIT" ]
null
null
null
libraries/chain/include/graphene/chain/protocol/cyva.hpp
cyvasia/cyva
e98b26abfe8e96d0e1470626b0a525d44f9372a9
[ "MIT" ]
null
null
null
/* (c) 2018 CYVA. For details refer to LICENSE */ #pragma once #include <graphene/chain/protocol/base.hpp> #include <graphene/chain/protocol/types.hpp> #include <graphene/chain/protocol/asset.hpp> #include <boost/preprocessor/seq/seq.hpp> #include <fc/reflect/reflect.hpp> #include <fc/crypto/ripemd160.hpp> #include <...
18.703704
49
0.732673
cyvasia
23329fe028bb17c96abe4e83ff364e332119b8e4
5,297
cpp
C++
src/systemcmds/tests/test_List.cpp
a093050472/PX4-Auotopilot
177da1f92324dcb98b23643b73cfe5cb342ba32f
[ "BSD-3-Clause" ]
8
2017-12-02T15:00:44.000Z
2022-03-29T15:09:12.000Z
src/systemcmds/tests/test_List.cpp
a093050472/PX4-Auotopilot
177da1f92324dcb98b23643b73cfe5cb342ba32f
[ "BSD-3-Clause" ]
4
2020-11-07T12:08:43.000Z
2021-06-18T15:16:17.000Z
src/systemcmds/tests/test_List.cpp
a093050472/PX4-Auotopilot
177da1f92324dcb98b23643b73cfe5cb342ba32f
[ "BSD-3-Clause" ]
20
2020-07-09T03:11:03.000Z
2021-12-21T13:01:18.000Z
/**************************************************************************** * * Copyright (C) 2019 PX4 Development Team. 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. Redistrib...
23.86036
78
0.664338
a093050472
2332e54db470fdefbe24528bec8fe715e3872c60
2,301
cpp
C++
remill/Arch/X86/Semantics/UNCOND_BR.cpp
mewbak/remill
6ea2e7ee011260996b83bf865e0c186af2c1208a
[ "Apache-2.0" ]
null
null
null
remill/Arch/X86/Semantics/UNCOND_BR.cpp
mewbak/remill
6ea2e7ee011260996b83bf865e0c186af2c1208a
[ "Apache-2.0" ]
null
null
null
remill/Arch/X86/Semantics/UNCOND_BR.cpp
mewbak/remill
6ea2e7ee011260996b83bf865e0c186af2c1208a
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017 Trail of Bits, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
27.722892
85
0.72186
mewbak
233764cf02f1b169af3957995c73a1e2e68fe63e
2,524
cpp
C++
YorozuyaGSLib/source/CChatStealSystem.cpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
YorozuyaGSLib/source/CChatStealSystem.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
YorozuyaGSLib/source/CChatStealSystem.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
#include <CChatStealSystem.hpp> START_ATF_NAMESPACE CChatStealSystem::CChatStealSystem() { using org_ptr = void (WINAPIV*)(struct CChatStealSystem*); (org_ptr(0x1403f86a0L))(this); }; void CChatStealSystem::ctor_CChatStealSystem() { using org_ptr = void (WINAPIV*)(struct CC...
41.377049
164
0.679477
lemkova
2338686a01673886d8ca2fc65adcb35c5ecd9190
1,889
hpp
C++
modules/boost/simd/bitwise/include/boost/simd/toolbox/bitwise/functions/ctz.hpp
timblechmann/nt2
6c71f7063ca4e5975c9c019877e6b2fe07c9e4ce
[ "BSL-1.0" ]
2
2016-09-14T00:23:53.000Z
2018-01-14T12:51:18.000Z
modules/boost/simd/bitwise/include/boost/simd/toolbox/bitwise/functions/ctz.hpp
timblechmann/nt2
6c71f7063ca4e5975c9c019877e6b2fe07c9e4ce
[ "BSL-1.0" ]
null
null
null
modules/boost/simd/bitwise/include/boost/simd/toolbox/bitwise/functions/ctz.hpp
timblechmann/nt2
6c71f7063ca4e5975c9c019877e6b2fe07c9e4ce
[ "BSL-1.0" ]
null
null
null
//============================================================================== // Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
27.376812
86
0.611964
timblechmann
2339012f9340b23c94e09b688a3a0df9cd2b7d85
3,145
cpp
C++
src/io/nanopolish_fast5_processor.cpp
Yufeng98/nanopolish
1c6ce4d041d461b6a95baff8099cc7e11bb5a8a2
[ "MIT" ]
439
2015-03-11T15:23:41.000Z
2022-03-31T14:24:20.000Z
src/io/nanopolish_fast5_processor.cpp
Yufeng98/nanopolish
1c6ce4d041d461b6a95baff8099cc7e11bb5a8a2
[ "MIT" ]
917
2015-03-11T18:28:58.000Z
2022-03-30T23:11:15.000Z
src/io/nanopolish_fast5_processor.cpp
Yufeng98/nanopolish
1c6ce4d041d461b6a95baff8099cc7e11bb5a8a2
[ "MIT" ]
177
2015-04-22T23:50:53.000Z
2022-03-25T06:41:35.000Z
//--------------------------------------------------------- // Copyright 2016 Ontario Institute for Cancer Research // Written by Jared Simpson (jared.simpson@oicr.on.ca) //--------------------------------------------------------- // // nanopolish_fast5_processor -- framework for iterating // over a collection of fast5...
33.105263
85
0.575199
Yufeng98
233b9832a92c5b20230f771ad0ada6e425ffa32f
1,305
cpp
C++
leetcode/problems/medium/784-letter-case-permutation.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
18
2020-08-27T05:27:50.000Z
2022-03-08T02:56:48.000Z
leetcode/problems/medium/784-letter-case-permutation.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
null
null
null
leetcode/problems/medium/784-letter-case-permutation.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
1
2020-10-13T05:23:58.000Z
2020-10-13T05:23:58.000Z
/* Letter Case Permutation https://leetcode.com/problems/letter-case-permutation/ Given a string S, we can transform every letter individually to be lowercase or uppercase to create another string. Return a list of all possible strings we could create. You can return the output in any order. Example 1: Input: S =...
21.75
115
0.544828
wingkwong
233dbdcd6e0bdebc9558c82e25aff45d1cf28385
18,563
hpp
C++
viennacl/linalg/direct_solve.hpp
bollig/viennacl
6dac70e558ed42abe63d8c5bfd08465aafeda859
[ "MIT" ]
1
2020-09-21T08:33:10.000Z
2020-09-21T08:33:10.000Z
viennacl/linalg/direct_solve.hpp
bollig/viennacl
6dac70e558ed42abe63d8c5bfd08465aafeda859
[ "MIT" ]
null
null
null
viennacl/linalg/direct_solve.hpp
bollig/viennacl
6dac70e558ed42abe63d8c5bfd08465aafeda859
[ "MIT" ]
null
null
null
#ifndef VIENNACL_LINALG_DIRECT_SOLVE_HPP_ #define VIENNACL_LINALG_DIRECT_SOLVE_HPP_ /* ========================================================================= Copyright (c) 2010-2012, Institute for Microelectronics, Institute for Analysis and Scientific Computing, ...
39.495745
164
0.575661
bollig
2342b0b19f851d7dda2cc6af31c32e3b1163ec82
15,043
cpp
C++
src/content_loader.cpp
adct-the-experimenter/DTL-Dungeon-Editor
6e97f56effbec3923b85bf5753b408aec10f863f
[ "BSD-3-Clause" ]
null
null
null
src/content_loader.cpp
adct-the-experimenter/DTL-Dungeon-Editor
6e97f56effbec3923b85bf5753b408aec10f863f
[ "BSD-3-Clause" ]
null
null
null
src/content_loader.cpp
adct-the-experimenter/DTL-Dungeon-Editor
6e97f56effbec3923b85bf5753b408aec10f863f
[ "BSD-3-Clause" ]
null
null
null
#include "content_loader.h" #include "pugixml.hpp" #include <iostream> #include <string> #include "globalvariables.h" #include "sprite.h" enemy_content_map enemyContentMap; void SetEnemyContentFromEnemyDirXMLFile(std::string xml_enemy_scripts_file_dir, std::string xml_enemy_scripts_file_path) { // Creat...
42.85755
109
0.62082
adct-the-experimenter
2346bec40cbcc0e227680ce6aab5c0413125682e
712
cpp
C++
answers/lintcode/Candy.cpp
FeiZhan/Algo-Collection
708c4a38112e0b381864809788b9e44ac5ae4d05
[ "MIT" ]
3
2015-09-04T21:32:31.000Z
2020-12-06T00:37:32.000Z
answers/lintcode/Candy.cpp
FeiZhan/Algo-Collection
708c4a38112e0b381864809788b9e44ac5ae4d05
[ "MIT" ]
null
null
null
answers/lintcode/Candy.cpp
FeiZhan/Algo-Collection
708c4a38112e0b381864809788b9e44ac5ae4d05
[ "MIT" ]
null
null
null
class Solution { public: /** * @param ratings Children's ratings * @return the minimum candies you must give */ int candy(vector<int>& ratings) { // Write your code here vector<int> candy_list(ratings.size(), 0); for (size_t i = 0; i < ratings.size(); ++ i) { c...
37.473684
134
0.523876
FeiZhan
2347f795da7678007632158d192f842b7f34764e
31,446
cpp
C++
dbmanager.cpp
svasighi/UMIS
4d930bbc6749e92ce1b8889bf8556ec3c68f50e0
[ "MIT" ]
1
2020-01-08T19:57:08.000Z
2020-01-08T19:57:08.000Z
dbmanager.cpp
svasighi/UMIS
4d930bbc6749e92ce1b8889bf8556ec3c68f50e0
[ "MIT" ]
null
null
null
dbmanager.cpp
svasighi/UMIS
4d930bbc6749e92ce1b8889bf8556ec3c68f50e0
[ "MIT" ]
null
null
null
#include "dbmanager.h" #include <QDir> #include <QFile> #include <QMessageBox> #include <math.h> DbManager::DbManager() { m_db = QSqlDatabase::addDatabase("QSQLITE", "Connection"); QString db_path = QDir::currentPath(); db_path = db_path + QString("/university.db"); m_db.setDatabaseName(db_path); if...
43.614424
319
0.645074
svasighi
234811d7f869c989805feacef1a6b93f1a4fcc77
3,235
cpp
C++
src/statisticsmenu.cpp
aobolensk/fishing-time
a56970eb026e8e86d16e9a7444ef892996d74546
[ "MIT" ]
1
2019-07-08T09:47:06.000Z
2019-07-08T09:47:06.000Z
src/statisticsmenu.cpp
gooddoog/fishing-time
a56970eb026e8e86d16e9a7444ef892996d74546
[ "MIT" ]
278
2019-07-01T19:11:13.000Z
2020-01-12T08:42:53.000Z
src/statisticsmenu.cpp
aobolensk/fishing-time
a56970eb026e8e86d16e9a7444ef892996d74546
[ "MIT" ]
null
null
null
#include "statisticsmenu.h" #include "game.h" StatisticsMenu::StatisticsMenu(Game *game, QGridLayout *grid) : Menu(game, grid) { grid->addWidget(&statisticsLabel, 0, 1); statisticsLabel.setVisible(false); statisticsLabel.setAlignment(Qt::AlignHCenter | Qt::AlignVCenter); grid->addWidget(&stati...
26.516393
86
0.664297
aobolensk
23482a99736a6b10aed2567f92350be1b59d41fe
349
hpp
C++
NativePlugin/CaptainAsteroid/src/physics/components/Identity.hpp
axoloto/CaptainAsteroid
fcdcb6bc6987ecf53226daa7027116e40d74401a
[ "Apache-2.0" ]
null
null
null
NativePlugin/CaptainAsteroid/src/physics/components/Identity.hpp
axoloto/CaptainAsteroid
fcdcb6bc6987ecf53226daa7027116e40d74401a
[ "Apache-2.0" ]
null
null
null
NativePlugin/CaptainAsteroid/src/physics/components/Identity.hpp
axoloto/CaptainAsteroid
fcdcb6bc6987ecf53226daa7027116e40d74401a
[ "Apache-2.0" ]
null
null
null
#pragma once #include "entityx/Entity.h" namespace CaptainAsteroidCPP { namespace Comp { enum class Id { Unknown, Asteroid, SpaceShip, LaserShot }; struct Identity : public entityx::Component<Identity> { Identity(Id _id = Id::Unknown) : id(_id){}; Id id; }; }// namespace Comp }//...
14.541667
55
0.659026
axoloto
234a2463845aca23371c81de23b68c50737f283d
1,002
cpp
C++
MonoNative.Tests/mscorlib/System/Threading/mscorlib_System_Threading_LockCookie_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
7
2015-03-10T03:36:16.000Z
2021-11-05T01:16:58.000Z
MonoNative.Tests/mscorlib/System/Threading/mscorlib_System_Threading_LockCookie_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
1
2020-06-23T10:02:33.000Z
2020-06-24T02:05:47.000Z
MonoNative.Tests/mscorlib/System/Threading/mscorlib_System_Threading_LockCookie_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
null
null
null
// Mono Native Fixture // Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // Namespace: System.Threading // Name: LockCookie // C++ Typed Name: mscorlib::System::Threading::LockCookie #include <gtest/gtest.h> #include <mscorlib/System/Threading/mscorlib_System_Threading_LockCooki...
19.269231
88
0.719561
brunolauze
234a614db5848cb39b632e5010b32656ed3dd194
10,096
cpp
C++
WebKit/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp
JavaScriptTesting/LJS
9818dbdb421036569fff93124ac2385d45d01c3a
[ "Apache-2.0" ]
1
2019-06-18T06:52:54.000Z
2019-06-18T06:52:54.000Z
WebKit/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp
JavaScriptTesting/LJS
9818dbdb421036569fff93124ac2385d45d01c3a
[ "Apache-2.0" ]
null
null
null
WebKit/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp
JavaScriptTesting/LJS
9818dbdb421036569fff93124ac2385d45d01c3a
[ "Apache-2.0" ]
null
null
null
/* This file is part of the WebKit open source project. This file has been generated by generate-bindings.pl. DO NOT MODIFY! This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation...
46.100457
215
0.793483
JavaScriptTesting
234bfccab3251929a3269a0a312310297d174a52
10,710
hpp
C++
AabbIndex.hpp
stefanos-86/GeoIndex
3c421ccdc8d18e771d03f6e52e03616b28ae4707
[ "MIT" ]
2
2017-06-25T09:21:42.000Z
2020-05-20T12:57:51.000Z
AabbIndex.hpp
stefanos-86/GeoIndex
3c421ccdc8d18e771d03f6e52e03616b28ae4707
[ "MIT" ]
null
null
null
AabbIndex.hpp
stefanos-86/GeoIndex
3c421ccdc8d18e771d03f6e52e03616b28ae4707
[ "MIT" ]
null
null
null
#ifndef GEOINDEX_AABB_INDEX #define GEOINDEX_AABB_INDEX #include <vector> #include <algorithm> // Or #include <parallel/algorithm>. #include <iterator> #include "Common.hpp" namespace geoIndex { /** This index uses the "Axis Aligned Bounding Box" (AABB) trick to quickly find points close to the * given...
46.768559
132
0.597479
stefanos-86
054b8ff3f294f45f74688bdadd81c04fc2cbde9d
2,162
cpp
C++
2D Graphics/Histograms/Sapostavyashta Vertikalna Histograma/main.cpp
BorisLechev/-University
c6a29bc7438733adb9f5818a9674f546187db555
[ "MIT" ]
null
null
null
2D Graphics/Histograms/Sapostavyashta Vertikalna Histograma/main.cpp
BorisLechev/-University
c6a29bc7438733adb9f5818a9674f546187db555
[ "MIT" ]
1
2022-03-02T09:56:43.000Z
2022-03-02T09:56:43.000Z
2D Graphics/Histograms/Sapostavyashta Vertikalna Histograma/main.cpp
BorisLechev/University
c6a29bc7438733adb9f5818a9674f546187db555
[ "MIT" ]
null
null
null
#include <iostream> #include <graphics.h> using namespace std; int main() { initwindow(800, 800); double startPointX = 100; double startPointY = 600; double windowSizeX = 600; double windowSizeY = 500; double columnWidth = 70; double distanceBetweenColumns = 70; double D = 60; double bi[] = {5, 2...
24.850575
81
0.567068
BorisLechev
054c821ee05d62550d458af50a06efa16b64be7e
977
cpp
C++
Software/GUI.cpp
seanziegler/TennisBallTracker
b4ad4c2f4a0394dc2e111769f58b8e8f9d77a853
[ "MIT" ]
1
2020-10-29T08:44:54.000Z
2020-10-29T08:44:54.000Z
Software/GUI.cpp
seanziegler/TennisBallTracker
b4ad4c2f4a0394dc2e111769f58b8e8f9d77a853
[ "MIT" ]
2
2019-07-25T15:23:54.000Z
2019-07-25T15:25:19.000Z
Software/GUI.cpp
seanziegler/TennisBallTracker
b4ad4c2f4a0394dc2e111769f58b8e8f9d77a853
[ "MIT" ]
null
null
null
#include "openCV.h" using namespace cv; class GUI { int lowH, lowS, lowV = 90; int highH = 180; int highS = 255, highV = 255; void lowHChange(int pos, void*) { int lowH = pos; } void lowSChange(int pos, void*) { int lowS = pos; } void lowVChange(int pos, void*) { int lowV = pos; } void highHChang...
19.54
67
0.669396
seanziegler
054d0de95f0452e026174ae515310216e4164f53
7,808
hpp
C++
src/ParallelAlgorithms/LinearSolver/Gmres/Gmres.hpp
fmahebert/spectre
936e2dff0434f169b9f5b03679cd27794003700a
[ "MIT" ]
117
2017-04-08T22:52:48.000Z
2022-03-25T07:23:36.000Z
src/ParallelAlgorithms/LinearSolver/Gmres/Gmres.hpp
GitHimanshuc/spectre
4de4033ba36547113293fe4dbdd77591485a4aee
[ "MIT" ]
3,177
2017-04-07T21:10:18.000Z
2022-03-31T23:55:59.000Z
src/ParallelAlgorithms/LinearSolver/Gmres/Gmres.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 "DataStructures/DataBox/PrefixHelpers.hpp" #include "DataStructures/DataBox/Prefixes.hpp" #include "IO/Observer/Helpers.hpp" #include "ParallelAlgorithms/LinearSolver/Gmres/ElementActions.hpp" #include "ParallelAlgorithms/Line...
51.368421
80
0.740779
fmahebert