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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
386571a198228468494086ae7f1b41225322b7ce | 164,218 | cpp | C++ | code_reading/oceanbase-master/src/sql/session/ob_basic_session_info.cpp | wangcy6/weekly_read | 3a8837ee9cd957787ee1785e4066dd623e02e13a | [
"Apache-2.0"
] | null | null | null | code_reading/oceanbase-master/src/sql/session/ob_basic_session_info.cpp | wangcy6/weekly_read | 3a8837ee9cd957787ee1785e4066dd623e02e13a | [
"Apache-2.0"
] | null | null | null | code_reading/oceanbase-master/src/sql/session/ob_basic_session_info.cpp | wangcy6/weekly_read | 3a8837ee9cd957787ee1785e4066dd623e02e13a | [
"Apache-2.0"
] | 1 | 2020-10-18T12:59:31.000Z | 2020-10-18T12:59:31.000Z | /**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BAS... | 35.792938 | 120 | 0.698023 | wangcy6 |
386658bfe8227e7876d887bdf5eec76f45a745ca | 742 | cc | C++ | src/lingx/core/path.cc | chrisxjzhu/lingx | 703d3b1b71b96ee87a8db0fdb37c786da0e299dd | [
"MIT"
] | null | null | null | src/lingx/core/path.cc | chrisxjzhu/lingx | 703d3b1b71b96ee87a8db0fdb37c786da0e299dd | [
"MIT"
] | null | null | null | src/lingx/core/path.cc | chrisxjzhu/lingx | 703d3b1b71b96ee87a8db0fdb37c786da0e299dd | [
"MIT"
] | 1 | 2021-05-21T10:04:07.000Z | 2021-05-21T10:04:07.000Z | #include <lingx/core/path.h>
namespace lnx {
Path Path::parent_path() const
{
std::string path = path_;
size_t pos = path_.rfind(Separator);
if (pos == std::string::npos)
return Path("");
while (pos != 0 && path_[pos] == Separator)
--pos;
return Path(path_.substr(0, pos + 1));
}... | 19.025641 | 58 | 0.576819 | chrisxjzhu |
38685c15ac073f376d10a12e9c1ded8f7eaf85dd | 1,395 | cpp | C++ | backtracking/knight_tour.cpp | kashyap99saksham/Code | 96658d0920eb79c007701d2a3cc9dbf453d78f96 | [
"MIT"
] | 16 | 2020-06-02T19:22:45.000Z | 2022-02-05T10:35:28.000Z | backtracking/knight_tour.cpp | codezoned/Code | de91ffc7ef06812a31464fb40358e2436734574c | [
"MIT"
] | null | null | null | backtracking/knight_tour.cpp | codezoned/Code | de91ffc7ef06812a31464fb40358e2436734574c | [
"MIT"
] | 2 | 2020-08-27T17:40:06.000Z | 2022-02-05T10:33:52.000Z | #include <bits/stdc++.h>
using namespace std;
#define N 8
int isSafe(int x, int y, int sol[N][N]){
return (x >= 0 && x < N && y >= 0 && y < N && sol[x][y] == -1);
}
void printSolution(int sol[N][N]){
for(int x = 0; x < N; x++){
for (int y = 0; y < N; y++)
cout<<sol[x][y]<<" ";
cout<< endl;
}
}
int sol... | 22.5 | 95 | 0.566308 | kashyap99saksham |
386e5c3806e7291df6367a1e3b47f4353e6aa0e2 | 408 | cpp | C++ | cpp/src/dp/util/error.cpp | robotalks/think | a734a6496b796e4e4435cc9214e6ede9847dc3c3 | [
"MIT"
] | null | null | null | cpp/src/dp/util/error.cpp | robotalks/think | a734a6496b796e4e4435cc9214e6ede9847dc3c3 | [
"MIT"
] | null | null | null | cpp/src/dp/util/error.cpp | robotalks/think | a734a6496b796e4e4435cc9214e6ede9847dc3c3 | [
"MIT"
] | null | null | null | #include <unistd.h>
#include <errno.h>
#include <cstring>
#include "dp/util/error.h"
namespace dp {
using namespace std;
string _error_msg_at(const char* fn, int line, const string& prefix) {
char loc[32], buf[32];
sprintf(loc, ":%d: ", line);
sprintf(buf, ": (%d) ", errno);
re... | 25.5 | 89 | 0.598039 | robotalks |
386f282e2d117fda6f6fa0f7193db7d3459fe6c8 | 13,700 | cpp | C++ | Source/Core/GL/GLExtensions.cpp | nathanlink169/3D-Shaders-Test | 2493fb71664d75100fbb4a80ac70f657a189593d | [
"MIT"
] | null | null | null | Source/Core/GL/GLExtensions.cpp | nathanlink169/3D-Shaders-Test | 2493fb71664d75100fbb4a80ac70f657a189593d | [
"MIT"
] | null | null | null | Source/Core/GL/GLExtensions.cpp | nathanlink169/3D-Shaders-Test | 2493fb71664d75100fbb4a80ac70f657a189593d | [
"MIT"
] | null | null | null | #include "CommonHeader.h"
#pragma warning(push)
#pragma warning(disable:4191) // unsafe conversion from 'type of expression' to 'type required'
PFNGLUNIFORM1FPROC glUniform1f = 0;
PFNGLUNIFORM2FPROC glUniform2f = 0;
PFNGLUNIFORM3FPROC glUniform3f = 0;
PFNGLUNIFORM4FP... | 69.543147 | 128 | 0.641752 | nathanlink169 |
386fbb5ebfeb5c64fc380fef5c0fd62cf9cc7afe | 2,520 | cc | C++ | DomainSymbolicPlanner/smartsoft/src-gen/DomainSymbolicPlanner/CommSymbolicPlannerRequestACE.cc | canonical-robots/DomainModelsRepositories | 68b9286d84837e5feb7b200833b158ab9c2922a4 | [
"BSD-3-Clause"
] | null | null | null | DomainSymbolicPlanner/smartsoft/src-gen/DomainSymbolicPlanner/CommSymbolicPlannerRequestACE.cc | canonical-robots/DomainModelsRepositories | 68b9286d84837e5feb7b200833b158ab9c2922a4 | [
"BSD-3-Clause"
] | 2 | 2020-08-20T14:49:47.000Z | 2020-10-07T16:10:07.000Z | DomainSymbolicPlanner/smartsoft/src-gen/DomainSymbolicPlanner/CommSymbolicPlannerRequestACE.cc | canonical-robots/DomainModelsRepositories | 68b9286d84837e5feb7b200833b158ab9c2922a4 | [
"BSD-3-Clause"
] | 8 | 2018-06-25T08:41:28.000Z | 2020-08-13T10:39:30.000Z | //--------------------------------------------------------------------------
// Code generated by the SmartSoft MDSD Toolchain
// The SmartSoft Toolchain has been developed by:
//
// Service Robotics Research Center
// University of Applied Sciences Ulm
// Prittwitzstr. 10
// 89075 Ulm (Germany)
//
// Information abo... | 39.375 | 113 | 0.746429 | canonical-robots |
3873f9366bb3c16c9822e7719cbbe25903449864 | 14,817 | cpp | C++ | OpenCLExample/DeviceQuery.cpp | zwakrim/mastethesis | c687e2389dbb81f50066aef881076161aa3079b9 | [
"MIT"
] | null | null | null | OpenCLExample/DeviceQuery.cpp | zwakrim/mastethesis | c687e2389dbb81f50066aef881076161aa3079b9 | [
"MIT"
] | null | null | null | OpenCLExample/DeviceQuery.cpp | zwakrim/mastethesis | c687e2389dbb81f50066aef881076161aa3079b9 | [
"MIT"
] | null | null | null | #include <exception>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#define __CL_ENABLE_EXCEPTIONS
#include <CL/cl.hpp>
const bool DEBUG = false;
using namespace std;
const char *readableStatus(cl_int status);
void showPlatformAndDeviceInfo(const cl::Platform& platform, int... | 40.373297 | 137 | 0.694878 | zwakrim |
3874d625e2a08fbb3cf47c2c74870600372192f4 | 537 | cpp | C++ | UVa 10918 tri tiling/sample/sol.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | 1 | 2020-11-24T03:17:21.000Z | 2020-11-24T03:17:21.000Z | UVa 10918 tri tiling/sample/sol.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | null | null | null | UVa 10918 tri tiling/sample/sol.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | 1 | 2021-04-11T16:22:31.000Z | 2021-04-11T16:22:31.000Z | #include <stdio.h>
int dp[32];
int solve(int n)
{
if (dp[n] != -1)
return dp[n];
else
{
int i;
int res = 3 * solve(n - 2);
for (i = 4; i <= n; i += 2)
res += 2 * solve(n - i);
return dp[n] = res;
}
}
int main()
{
int i;
for (i = 0; i < 32; i +=... | 17.322581 | 36 | 0.346369 | tadvi |
38754964ae7b296390a58f638cfbae82335574bf | 957 | cc | C++ | modificacion/src/complejos.cc | ULL-ESIT-IB-2020-2021/ib-practica12-oop-gtests-exercism-Saul-Sosa-Diaz | f1b8daf92fc55061d8bf73858653d3b336420b03 | [
"MIT"
] | null | null | null | modificacion/src/complejos.cc | ULL-ESIT-IB-2020-2021/ib-practica12-oop-gtests-exercism-Saul-Sosa-Diaz | f1b8daf92fc55061d8bf73858653d3b336420b03 | [
"MIT"
] | null | null | null | modificacion/src/complejos.cc | ULL-ESIT-IB-2020-2021/ib-practica12-oop-gtests-exercism-Saul-Sosa-Diaz | f1b8daf92fc55061d8bf73858653d3b336420b03 | [
"MIT"
] | null | null | null | /**
* Universidad de La Laguna
* Escuela Superior de Ingeniería y Tecnología
* Grado en Ingeniería Informática
* Informática Básica
*
* @author Saúl Sosa
* @date 3.enero.2021
* @brief Calculadora elemental de números complejos
*/
#include "complejo.h"
int main(int argc, char* argv[]){
Usage(argc, argv);... | 29 | 94 | 0.615465 | ULL-ESIT-IB-2020-2021 |
387680f34e028b41512d881e1b37e82dcfc3c12e | 1,543 | cpp | C++ | hardware_layer/hardware_camera/src/gazebo_image_pub.cpp | shubhamkorde/AnahitaPlus | 0fc99ad774640c8dc8572ffb58d10fa18bb1a4b1 | [
"BSD-3-Clause"
] | 5 | 2018-10-22T20:04:24.000Z | 2022-01-04T09:24:46.000Z | hardware_layer/hardware_camera/src/gazebo_image_pub.cpp | shubhamkorde/AnahitaPlus | 0fc99ad774640c8dc8572ffb58d10fa18bb1a4b1 | [
"BSD-3-Clause"
] | 19 | 2018-10-03T12:14:35.000Z | 2019-07-07T09:33:14.000Z | hardware_layer/hardware_camera/src/gazebo_image_pub.cpp | shubhamkorde/AnahitaPlus | 0fc99ad774640c8dc8572ffb58d10fa18bb1a4b1 | [
"BSD-3-Clause"
] | 15 | 2018-09-09T12:35:15.000Z | 2020-01-03T09:28:19.000Z | #include <ros/ros.h>
#include <iostream>
#include <cv_bridge/cv_bridge.h>
#include <image_transport/image_transport.h>
#include <sensor_msgs/image_encodings.h>
#include "sensor_msgs/Image.h"
sensor_msgs::Image front_image;
sensor_msgs::Image bottom_image;
void bottomCB (const sensor_msgs::Image::ConstPtr &msg) {
try... | 24.109375 | 101 | 0.679196 | shubhamkorde |
3876b4ce2d04a36444d5a0d33c88120f9f0b064f | 297 | cpp | C++ | sandbox/t_GVectorsGen1.cpp | f-fathurrahman/ffr-pspw-dft-c | 5e673e33385eb467d99fcd992b350614c2709740 | [
"MIT"
] | 1 | 2018-05-17T09:01:12.000Z | 2018-05-17T09:01:12.000Z | sandbox/t_GVectorsGen1.cpp | f-fathurrahman/ffr-pspw-dft-c | 5e673e33385eb467d99fcd992b350614c2709740 | [
"MIT"
] | null | null | null | sandbox/t_GVectorsGen1.cpp | f-fathurrahman/ffr-pspw-dft-c | 5e673e33385eb467d99fcd992b350614c2709740 | [
"MIT"
] | null | null | null | #include "../common_pspw_cuda.h"
void GVectorsGen1();
int main(int argc, char **argv)
{
NR1 = 20; NR2 = 20; NR3 = 20;
GCUT = 88.855355;
B1[0] = 1.0; B1[1] = 0.0; B1[2] = 0.0;
B2[0] = 0.0; B2[1] = 1.0; B2[2] = 0.0;
B3[0] = 0.0; B3[1] = 0.0; B3[2] = 1.0;
GVectorsGen1();
return 0;
}
| 16.5 | 39 | 0.515152 | f-fathurrahman |
38784e4add198bd0ed27fbb555149b3d2778c4e0 | 1,798 | cpp | C++ | src/backtrace/current_stack_frame.cpp | vinzenz/fcppt | 3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a | [
"BSL-1.0"
] | null | null | null | src/backtrace/current_stack_frame.cpp | vinzenz/fcppt | 3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a | [
"BSL-1.0"
] | null | null | null | src/backtrace/current_stack_frame.cpp | vinzenz/fcppt | 3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a | [
"BSL-1.0"
] | null | null | null | // Copyright Carl Philipp Reh 2009 - 2016.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <fcppt/backtrace/current_stack_frame.hpp>
#include <fcppt/backtrace/stack_frame.hpp>
#inc... | 18.729167 | 61 | 0.69188 | vinzenz |
387945736d836e3946120fc725e046a12030f210 | 3,072 | cpp | C++ | OpenCV_C++/Programs/Chapter-5~Perspective_Transform_and_Warp_version-II.cpp | Balaji-Ganesh/Furnishing-OpenCV-Basics | 54cd8fa09cc6f1298861b12ffb190432f412bd1f | [
"MIT"
] | null | null | null | OpenCV_C++/Programs/Chapter-5~Perspective_Transform_and_Warp_version-II.cpp | Balaji-Ganesh/Furnishing-OpenCV-Basics | 54cd8fa09cc6f1298861b12ffb190432f412bd1f | [
"MIT"
] | null | null | null | OpenCV_C++/Programs/Chapter-5~Perspective_Transform_and_Warp_version-II.cpp | Balaji-Ganesh/Furnishing-OpenCV-Basics | 54cd8fa09cc6f1298861b12ffb190432f412bd1f | [
"MIT"
] | null | null | null | /*
* This version is a bit improvement to the previous one. In that version, the co-ordinates of the card are
hard-coded.
* This version solves that issue of taking the co-ordinates as "HARD-CODED".
* In this version, a cards image is displayed to the user (Should once look the console for directions)..... | 42.666667 | 294 | 0.678711 | Balaji-Ganesh |
38795cb08411dd8cba123633fe41d9210f15ea4a | 7,783 | cpp | C++ | libs/opengl/src/CGeneralizedEllipsoidTemplate.cpp | feroze/mrpt-shivang | 95bf524c5e10ed2e622bd199f1b0597951b45370 | [
"BSD-3-Clause"
] | 2 | 2017-03-25T18:09:17.000Z | 2017-05-22T08:14:48.000Z | libs/opengl/src/CGeneralizedEllipsoidTemplate.cpp | feroze/mrpt-shivang | 95bf524c5e10ed2e622bd199f1b0597951b45370 | [
"BSD-3-Clause"
] | null | null | null | libs/opengl/src/CGeneralizedEllipsoidTemplate.cpp | feroze/mrpt-shivang | 95bf524c5e10ed2e622bd199f1b0597951b45370 | [
"BSD-3-Clause"
] | 1 | 2018-07-29T09:40:46.000Z | 2018-07-29T09:40:46.000Z | /* +---------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| http://www.mrpt.org/ |
| ... | 30.884921 | 108 | 0.602724 | feroze |
387a4cac9693d42172ca2c7f43343f335500188c | 3,342 | cpp | C++ | Code/Lib/golSerialSharedGame.cpp | carlosparaciari/ParallelGameOfLife | 98b0251446adca123b7f2469073c5322c81b3824 | [
"BSD-3-Clause"
] | 1 | 2021-02-01T13:10:08.000Z | 2021-02-01T13:10:08.000Z | Code/Lib/golSerialSharedGame.cpp | carlosparaciari/ParallelGameOfLife | 98b0251446adca123b7f2469073c5322c81b3824 | [
"BSD-3-Clause"
] | null | null | null | Code/Lib/golSerialSharedGame.cpp | carlosparaciari/ParallelGameOfLife | 98b0251446adca123b7f2469073c5322c81b3824 | [
"BSD-3-Clause"
] | null | null | null | /*=============================================================================
GameOfLife: Let us mix together the Game of Life and parallel programming.
Copyright (c) University College London (UCL). All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied war... | 30.66055 | 119 | 0.61939 | carlosparaciari |
387a9903da14d6a0119ccaf26e2d63c2435d054b | 405 | cc | C++ | src/runner.cc | dkozinski/uvgRTP | c74d6a75a7c226cec919ab2639d13f6a770d069c | [
"BSD-2-Clause"
] | null | null | null | src/runner.cc | dkozinski/uvgRTP | c74d6a75a7c226cec919ab2639d13f6a770d069c | [
"BSD-2-Clause"
] | null | null | null | src/runner.cc | dkozinski/uvgRTP | c74d6a75a7c226cec919ab2639d13f6a770d069c | [
"BSD-2-Clause"
] | null | null | null | #include "runner.hh"
uvg_rtp::runner::runner():
active_(false), runner_(nullptr)
{
}
uvg_rtp::runner::~runner()
{
active_ = false;
if (runner_)
delete runner_;
}
rtp_error_t uvg_rtp::runner::start()
{
active_ = true;
return RTP_OK;
}
rtp_error_t uvg_rtp::runner::stop()
{
active_ = ... | 11.911765 | 36 | 0.624691 | dkozinski |
387abae9c3f8e233b5629d4945a89830d4880884 | 1,388 | cpp | C++ | shadows-of-the-knight/main_codingame.cpp | dubzzz/property-based-testing-cpp | 418c0e952cdb50633bd43e73faa545e52cc1af63 | [
"MIT"
] | 11 | 2018-03-14T17:12:10.000Z | 2021-12-12T04:15:53.000Z | shadows-of-the-knight/main_codingame.cpp | dubzzz/property-based-testing-cpp | 418c0e952cdb50633bd43e73faa545e52cc1af63 | [
"MIT"
] | null | null | null | shadows-of-the-knight/main_codingame.cpp | dubzzz/property-based-testing-cpp | 418c0e952cdb50633bd43e73faa545e52cc1af63 | [
"MIT"
] | 3 | 2019-06-19T16:45:19.000Z | 2021-07-13T10:22:16.000Z | #include <cstddef>
#include <iostream>
#include <string>
class Space
{
const std::size_t m_dim_x, m_dim_y;
std::size_t m_current_x, m_current_y;
std::string m_hint;
public:
Space(
std::size_t dim_x, std::size_t dim_y,
std::size_t current_x, std::size_t current_y)
: m_dim_x(dim_x)
, m_dim... | 20.115942 | 56 | 0.561239 | dubzzz |
387b842d71f1e9ad201cbe78cc367cbd79d90234 | 9,579 | cpp | C++ | silkrpc/core/storage_walker.cpp | torquem-ch/silkrpc | 38441b1852345aae846071e36fc1a4745968caeb | [
"Apache-2.0"
] | 9 | 2021-03-08T13:26:46.000Z | 2022-02-25T23:23:16.000Z | silkrpc/core/storage_walker.cpp | torquem-ch/silkrpc | 38441b1852345aae846071e36fc1a4745968caeb | [
"Apache-2.0"
] | 151 | 2020-11-22T15:42:58.000Z | 2022-03-31T20:12:18.000Z | silkrpc/core/storage_walker.cpp | torquem-ch/silkrpc | 38441b1852345aae846071e36fc1a4745968caeb | [
"Apache-2.0"
] | 5 | 2021-03-15T11:01:34.000Z | 2022-03-12T15:45:00.000Z | /*
Copyright 2020 The Silkrpc Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | 40.935897 | 112 | 0.573233 | torquem-ch |
387f24f11bd3321cba759133bb1cf5b63ed1d26b | 1,945 | cpp | C++ | Heap/06 HeapifyFunctionFasterMethodtoCreateHeap.cpp | GajuuKool/DSA_CPP | c63b64783238680fcb97f908298c7378f9109063 | [
"MIT"
] | 9 | 2020-09-30T17:57:18.000Z | 2021-11-14T18:27:49.000Z | Heap/06 HeapifyFunctionFasterMethodtoCreateHeap.cpp | GajuuKool/DSA_CPP | c63b64783238680fcb97f908298c7378f9109063 | [
"MIT"
] | 1 | 2020-10-06T11:15:20.000Z | 2021-01-02T11:35:57.000Z | Heap/06 HeapifyFunctionFasterMethodtoCreateHeap.cpp | GajuuKool/DSA_CPP | c63b64783238680fcb97f908298c7378f9109063 | [
"MIT"
] | 13 | 2020-09-30T17:56:50.000Z | 2022-03-15T11:07:08.000Z | #include <iostream>
using namespace std;
void swap(int A[], int i, int j){
int temp = A[i];
A[i] = A[j];
A[j] = temp;
}
int Delete(int A[], int n){
int x = A[0]; // Max element
A[0] = A[n-1];
int i = 0;
int j = 2 * i + 1;
while (j < n-1){
// Compare lef... | 22.102273 | 82 | 0.382519 | GajuuKool |
38814d3e6fa1fed332afb5b4d0a555dca6af6b20 | 520 | cpp | C++ | sem1/hw6/hw6.1/hw6.1/main.cpp | Daria-Donina/Homework | 8853fb65c7a0ad62556a49d12908098af9caf7ed | [
"Apache-2.0"
] | 1 | 2018-11-29T11:12:51.000Z | 2018-11-29T11:12:51.000Z | sem1/hw6/hw6.1/hw6.1/main.cpp | Daria-Donina/Homework | 8853fb65c7a0ad62556a49d12908098af9caf7ed | [
"Apache-2.0"
] | null | null | null | sem1/hw6/hw6.1/hw6.1/main.cpp | Daria-Donina/Homework | 8853fb65c7a0ad62556a49d12908098af9caf7ed | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <string>
#include "stack.h"
#include "resultCounting.h"
#include "test.h"
using namespace std;
int main()
{
if (test())
{
cout << "Tests passed" << endl;
}
else
{
cout << "Tests failed" << endl;
}
Stack *stack = createStack();
cout << "Enter postfix expression: ";
string expr... | 17.931034 | 73 | 0.659615 | Daria-Donina |
3883bcbfa2445ea9d30f38ef1a737f5ddfa2bd9b | 14,137 | cpp | C++ | drlvm/vm/vmcore/src/exception/exceptions_impl.cpp | sirinath/Harmony | 724deb045a85b722c961d8b5a83ac7a697319441 | [
"Apache-2.0"
] | 8 | 2015-11-04T06:06:35.000Z | 2021-07-04T13:47:36.000Z | drlvm/vm/vmcore/src/exception/exceptions_impl.cpp | sirinath/Harmony | 724deb045a85b722c961d8b5a83ac7a697319441 | [
"Apache-2.0"
] | 1 | 2021-10-17T13:07:28.000Z | 2021-10-17T13:07:28.000Z | drlvm/vm/vmcore/src/exception/exceptions_impl.cpp | sirinath/Harmony | 724deb045a85b722c961d8b5a83ac7a697319441 | [
"Apache-2.0"
] | 13 | 2015-11-27T03:14:50.000Z | 2022-02-26T15:12:20.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... | 29.887949 | 103 | 0.699795 | sirinath |
3885337c7a198cf05f1321f6c5c9e94031e80a53 | 422 | cpp | C++ | src/lib/parser/ParserParamInstr.cpp | WasmVM/wass | e35962e1637a1445ab8ad97e5a06ee4d59b49fd7 | [
"BSD-3-Clause"
] | null | null | null | src/lib/parser/ParserParamInstr.cpp | WasmVM/wass | e35962e1637a1445ab8ad97e5a06ee4d59b49fd7 | [
"BSD-3-Clause"
] | null | null | null | src/lib/parser/ParserParamInstr.cpp | WasmVM/wass | e35962e1637a1445ab8ad97e5a06ee4d59b49fd7 | [
"BSD-3-Clause"
] | null | null | null | #include <parser/ParserParamInstr.hpp>
#include <Util.hpp>
#include <structure/BaseInstr.hpp>
ParserParamInstr::ParserParamInstr(ParserContext& context){
if(Util::matchString(context.cursor, context.end, "select")){
context.cursor += 6;
emplace<SelectInstr>(SelectInstr());
}else if(Util::matchString(conte... | 28.133333 | 67 | 0.71564 | WasmVM |
38896a42093b9decd3392576e02e5e9134eff018 | 3,145 | cc | C++ | lib/spot-2.8.1/spot/misc/formater.cc | AlessandroCaste/SynkrisisJupyter | a9c2b21ec1ae7ac0c05ef5deebc63a369274650f | [
"Unlicense"
] | 1 | 2018-03-02T14:29:57.000Z | 2018-03-02T14:29:57.000Z | lib/spot-2.8.1/spot/misc/formater.cc | AlessandroCaste/SynkrisisJupyter | a9c2b21ec1ae7ac0c05ef5deebc63a369274650f | [
"Unlicense"
] | null | null | null | lib/spot-2.8.1/spot/misc/formater.cc | AlessandroCaste/SynkrisisJupyter | a9c2b21ec1ae7ac0c05ef5deebc63a369274650f | [
"Unlicense"
] | 1 | 2015-06-05T12:42:07.000Z | 2015-06-05T12:42:07.000Z | // -*- coding: utf-8 -*-
// Copyright (C) 2012, 2013, 2016 Laboratoire de Recherche et
// Développement de l'Epita (LRDE).
//
// This file is part of Spot, a model checking library.
//
// Spot is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by... | 26.652542 | 72 | 0.47186 | AlessandroCaste |
388b7b699bba660dd4b5b1eb9027048e978008b5 | 3,764 | cpp | C++ | Extensions/GlyphKinect2/Kinect2SkeletonActor.cpp | zgpxgame/hieroglyph3 | bb1c59d82a69062bb76431b691fbcb381930768a | [
"MIT"
] | 25 | 2017-08-05T07:29:00.000Z | 2022-02-02T06:28:27.000Z | Extensions/GlyphKinect2/Kinect2SkeletonActor.cpp | zgpxgame/hieroglyph3 | bb1c59d82a69062bb76431b691fbcb381930768a | [
"MIT"
] | null | null | null | Extensions/GlyphKinect2/Kinect2SkeletonActor.cpp | zgpxgame/hieroglyph3 | bb1c59d82a69062bb76431b691fbcb381930768a | [
"MIT"
] | 9 | 2018-07-14T08:40:29.000Z | 2021-03-19T08:51:30.000Z | //--------------------------------------------------------------------------------
// This file is a portion of the Hieroglyph 3 Rendering Engine. It is distributed
// under the MIT License, available in the root of this distribution and
// at the following URL:
//
// http://www.opensource.org/licenses/mit-license.ph... | 47.64557 | 112 | 0.623804 | zgpxgame |
388c6d66c74c568fb14315b1f8a71f347fa27056 | 2,645 | hh | C++ | include/ignition/sensors/BrownDistortionModel.hh | david-alejo/ign-sensors | 13308478b6f88c99a3685181439ab51ed7ed63f6 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | include/ignition/sensors/BrownDistortionModel.hh | david-alejo/ign-sensors | 13308478b6f88c99a3685181439ab51ed7ed63f6 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | include/ignition/sensors/BrownDistortionModel.hh | david-alejo/ign-sensors | 13308478b6f88c99a3685181439ab51ed7ed63f6 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2022 Open Source Robotics Foundation
*
* 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 appl... | 30.056818 | 75 | 0.697921 | david-alejo |
388e5ec5e64e14d2b3d64e9982892b58c140e8fd | 2,590 | cpp | C++ | src/minerfund.cpp | danhper/bitcoin-abc | d2b4bfc4d42d054cfebb5d951d23bbe96115f262 | [
"MIT"
] | 2 | 2020-07-17T17:09:58.000Z | 2020-07-17T17:10:09.000Z | src/minerfund.cpp | danhper/bitcoin-abc | d2b4bfc4d42d054cfebb5d951d23bbe96115f262 | [
"MIT"
] | null | null | null | src/minerfund.cpp | danhper/bitcoin-abc | d2b4bfc4d42d054cfebb5d951d23bbe96115f262 | [
"MIT"
] | 1 | 2020-05-17T23:32:17.000Z | 2020-05-17T23:32:17.000Z | // Copyright (c) 2020 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <minerfund.h>
#include <chainparams.h>
#include <consensus/activation.h>
#include <key_io.h> // For DecodeDestination
#includ... | 33.636364 | 78 | 0.700772 | danhper |
388e8620647ac8baecffe6a25f64b80296a6dc33 | 1,604 | cpp | C++ | assignments/a5/main.cpp | elipwns/Data-Structures | 6c9d6da1254aefd31dfed5edad5987a70c4423a9 | [
"MIT"
] | null | null | null | assignments/a5/main.cpp | elipwns/Data-Structures | 6c9d6da1254aefd31dfed5edad5987a70c4423a9 | [
"MIT"
] | null | null | null | assignments/a5/main.cpp | elipwns/Data-Structures | 6c9d6da1254aefd31dfed5edad5987a70c4423a9 | [
"MIT"
] | null | null | null | /***********************************************************
* Author: eli kloft
* Lab Number: a5
* Filename: a5.cpp
* Date Created: 4/23/13
* Modifications:
*
* Overview:
* a wrapper around the double linked list class in the form of
* an iterator.
*
* Input:
*
*
* Output:
* tests the various funcitons
**********... | 22.277778 | 73 | 0.604115 | elipwns |
389193fd20eeddfa2f8d9e99338ae3d1b6913402 | 3,463 | cpp | C++ | DNP3Test/TestVtoLoopbackIntegration.cpp | rajive/dnp3 | f5d8dbcec2085eaeb980e66d07df19b7bb9c20aa | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | DNP3Test/TestVtoLoopbackIntegration.cpp | rajive/dnp3 | f5d8dbcec2085eaeb980e66d07df19b7bb9c20aa | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | DNP3Test/TestVtoLoopbackIntegration.cpp | rajive/dnp3 | f5d8dbcec2085eaeb980e66d07df19b7bb9c20aa | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2019-03-31T15:27:05.000Z | 2019-09-17T16:12:53.000Z | /*
* Licensed to Green Energy Corp (www.greenenergycorp.com) under one or more
* contributor license agreements. See the NOTICE file distributed with this
* work for additional information regarding copyright ownership. Green Enery
* Corp licenses this file to you under the Apache License, Version 2.0 (the
* "Lic... | 32.980952 | 120 | 0.775628 | rajive |
3891c70b3509b33d381a105e642c254e13a2be8b | 11,071 | cc | C++ | voice_server/src/worker.cc | houbin/alarm | 3c0c150ac85a0f1092d26de55ee3af6beac4fc15 | [
"Apache-2.0"
] | null | null | null | voice_server/src/worker.cc | houbin/alarm | 3c0c150ac85a0f1092d26de55ee3af6beac4fc15 | [
"Apache-2.0"
] | null | null | null | voice_server/src/worker.cc | houbin/alarm | 3c0c150ac85a0f1092d26de55ee3af6beac4fc15 | [
"Apache-2.0"
] | null | null | null | #include <unistd.h>
#include <errno.h>
#include "../util/common.h"
#include "worker.h"
#include <event2/event.h>
#include <event2/bufferevent.h>
#include <event2/buffer.h>
#include "connection.h"
#include "global.h"
#include "../util/slice.h"
#include "../include/utils.h"
#include "tlv_define.h"
#include "master.h"
#in... | 27.816583 | 133 | 0.561738 | houbin |
38969d2c8f0912baf0a68da35c0fea8c0764cd68 | 2,384 | cpp | C++ | native/Sparky-core/src/sp/debug/DebugMenu.cpp | Itay2805/Sparky4j-core-3D | 0ac75c217c4d74c2fb8a9c226992ac6c4662718d | [
"Apache-2.0"
] | null | null | null | native/Sparky-core/src/sp/debug/DebugMenu.cpp | Itay2805/Sparky4j-core-3D | 0ac75c217c4d74c2fb8a9c226992ac6c4662718d | [
"Apache-2.0"
] | null | null | null | native/Sparky-core/src/sp/debug/DebugMenu.cpp | Itay2805/Sparky4j-core-3D | 0ac75c217c4d74c2fb8a9c226992ac6c4662718d | [
"Apache-2.0"
] | null | null | null | #include "sp/sp.h"
#include "DebugMenu.h"
#include "sp/app/Window.h"
#include "sp/graphics/ui/Button.h"
namespace sp { namespace debug {
using namespace maths;
using namespace graphics::ui;
DebugMenu* DebugMenu::s_Instance = nullptr;
DebugMenu::DebugMenu()
: m_Visible(false), m_Slider(nullptr)
{
s_Instanc... | 20.033613 | 142 | 0.687081 | Itay2805 |
38981dcd5cb04af23ffb8d5c92af511fbee7fb06 | 3,628 | cpp | C++ | tests/tests.cpp | FelixVi/PurpleMesa | a2db126be7c9cd7a5ecf53aaa3a5042cf754a23b | [
"MIT"
] | 7 | 2019-06-24T09:08:28.000Z | 2021-03-16T08:57:15.000Z | tests/tests.cpp | FelixVi/PurpleMesa | a2db126be7c9cd7a5ecf53aaa3a5042cf754a23b | [
"MIT"
] | null | null | null | tests/tests.cpp | FelixVi/PurpleMesa | a2db126be7c9cd7a5ecf53aaa3a5042cf754a23b | [
"MIT"
] | null | null | null | #include <NodeFactory.h>
#include <Visitors/AstPrintVisitor.h>
#include <Traversals/PreOrder.h>
#include "vhdl_parser/vhdl_parser_driver.h"
#include "gtest/gtest.h"
#include "Visitors/RTIL/RTILVisitor.h"
#include "Passes/BindArchPass.h"
#include "PurpleMesa.h"
#include "AstNode.h"
TEST(VisitorTests, simple) {
PreO... | 24.849315 | 73 | 0.60226 | FelixVi |
3898a81e317b195c4634e9ccd30ba4faf4928c02 | 2,429 | hpp | C++ | windows/include/boost/spirit/home/karma/nonterminal/meta_grammar.hpp | jaredhoberock/gotham | e3551cc355646530574d086d7cc2b82e41e8f798 | [
"Apache-2.0"
] | 6 | 2015-12-29T07:21:01.000Z | 2020-05-29T10:47:38.000Z | windows/include/boost/spirit/home/karma/nonterminal/meta_grammar.hpp | jaredhoberock/gotham | e3551cc355646530574d086d7cc2b82e41e8f798 | [
"Apache-2.0"
] | null | null | null | windows/include/boost/spirit/home/karma/nonterminal/meta_grammar.hpp | jaredhoberock/gotham | e3551cc355646530574d086d7cc2b82e41e8f798 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2001-2008 Hartmut Kaiser
// Copyright (c) 2001-2007 Joel de Guzman
//
// 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)
#if !defined(BOOST_SPIRIT_KARMA_META_GRAMMAR_MAR_05_2007_0436PM)
#... | 33.273973 | 82 | 0.517085 | jaredhoberock |
389a74479864bfee444a9274f3cc97b58e356e29 | 1,575 | cpp | C++ | dependencies/libics/support/cpp_interface/test_ics2a.cpp | slokhorst/diplib | 6e0f420243fd4e84888b5a5c25f805570fafd36d | [
"Apache-2.0"
] | 1 | 2021-07-07T01:02:57.000Z | 2021-07-07T01:02:57.000Z | dependencies/libics/support/cpp_interface/test_ics2a.cpp | slokhorst/diplib | 6e0f420243fd4e84888b5a5c25f805570fafd36d | [
"Apache-2.0"
] | null | null | null | dependencies/libics/support/cpp_interface/test_ics2a.cpp | slokhorst/diplib | 6e0f420243fd4e84888b5a5c25f805570fafd36d | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <memory>
#include <cstdint>
#include <cstring>
#include "libics.hpp"
int main(int argc, const char* argv[]) {
if (argc != 3) {
std::cerr << "Two file names required: in out\n";
exit(-1);
}
try {
// Read image
ics::ICS ip(argv[1], "r");
auto layout =... | 28.125 | 76 | 0.553016 | slokhorst |
389b36b01b3e3100324facfdc6b4d4319dfe51b6 | 2,137 | cpp | C++ | platform/shared/common/Tokenizer.cpp | mensfeld/rhodes | 2962610a314ed563a0b7c83fcae6136913a1b033 | [
"MIT"
] | 173 | 2015-01-02T11:14:08.000Z | 2022-03-05T09:54:54.000Z | platform/shared/common/Tokenizer.cpp | sdwood/rhodes | 8228aa40708dcbcc1d3967a479d1d84364022255 | [
"MIT"
] | 263 | 2015-01-05T04:35:22.000Z | 2021-09-07T06:00:02.000Z | platform/shared/common/Tokenizer.cpp | sdwood/rhodes | 8228aa40708dcbcc1d3967a479d1d84364022255 | [
"MIT"
] | 77 | 2015-01-12T20:57:18.000Z | 2022-02-17T15:15:14.000Z | /*------------------------------------------------------------------------
* (The MIT License)
*
* Copyright (c) 2008-2011 Rhomobile, Inc.
*
* 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 ... | 28.493333 | 86 | 0.671502 | mensfeld |
389b7e00dfb963010c182ec18768483d9d48943e | 1,440 | cpp | C++ | src/gui/component-interface/states.cpp | nkrim/cloth-sim | 1bec7313663bafa25250158f575d694486453af2 | [
"MIT"
] | null | null | null | src/gui/component-interface/states.cpp | nkrim/cloth-sim | 1bec7313663bafa25250158f575d694486453af2 | [
"MIT"
] | null | null | null | src/gui/component-interface/states.cpp | nkrim/cloth-sim | 1bec7313663bafa25250158f575d694486453af2 | [
"MIT"
] | null | null | null | /* **************************************************************************** *
* AUTHOR: Noah Krim
* ASSIGNMENT: GUI Cloth Sim
* CLASS: CS_08
* ---------------------------------------------------------------------------- *
* File: states.cpp
* Definition file for States class
* ******************... | 24.827586 | 82 | 0.5625 | nkrim |
389edfecf3adce37290f756b3fde829598f7c082 | 1,222 | cpp | C++ | src/Cancel.11/OutpThrd.cpp | jimbeveridge/multithreading | b092dde13968f91dfb9b86e3d7e760a50f799a96 | [
"MIT"
] | 2 | 2021-11-23T10:43:45.000Z | 2022-01-03T14:51:32.000Z | src/Cancel.11/OutpThrd.cpp | jimbeveridge/multithreading | b092dde13968f91dfb9b86e3d7e760a50f799a96 | [
"MIT"
] | null | null | null | src/Cancel.11/OutpThrd.cpp | jimbeveridge/multithreading | b092dde13968f91dfb9b86e3d7e760a50f799a96 | [
"MIT"
] | 1 | 2020-10-28T15:11:55.000Z | 2020-10-28T15:11:55.000Z | /*
* OutpThrd.cpp
*
* Sample code for "Multithreading Applications in Win32"
* This is from Chapter 11. This sample is discussed in
* the text, but there is no associated listing.
*
* Launch a dialog in another thread using both
* MFC and Win32. Demonstrate the related problems.
*/
#include "stdafx.h"
#includ... | 22.218182 | 77 | 0.667758 | jimbeveridge |
389f714370be975472e2f654a71ef11cd3a31abf | 399 | hpp | C++ | library/ATF/$2E938192DD5FA5274C06DCBFB060397F.hpp | lemkova/Yorozuya | f445d800078d9aba5de28f122cedfa03f26a38e4 | [
"MIT"
] | 29 | 2017-07-01T23:08:31.000Z | 2022-02-19T10:22:45.000Z | library/ATF/$2E938192DD5FA5274C06DCBFB060397F.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 90 | 2017-10-18T21:24:51.000Z | 2019-06-06T02:30:33.000Z | library/ATF/$2E938192DD5FA5274C06DCBFB060397F.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 44 | 2017-12-19T08:02:59.000Z | 2022-02-24T23:15:01.000Z | // This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
#include <__GENERIC_BINDING_INFO.hpp>
START_ATF_NAMESPACE
union $2E938192DD5FA5274C06DCBFB060397F
{
void **pAutoHandle;
void **pPrimitiveHandle;... | 24.9375 | 108 | 0.741855 | lemkova |
38a14db8c58a9b74ebff7e08eb548894d3ea62aa | 655 | hpp | C++ | headers/Helpers.hpp | DetlevCM/chemical-kinetics-solver | 7010fd6c72c29a0d912ad0c353ff13a5b643cc04 | [
"MIT"
] | 3 | 2015-07-03T20:14:00.000Z | 2021-02-02T13:45:31.000Z | headers/Helpers.hpp | DetlevCM/chemical-kinetics-solver | 7010fd6c72c29a0d912ad0c353ff13a5b643cc04 | [
"MIT"
] | null | null | null | headers/Helpers.hpp | DetlevCM/chemical-kinetics-solver | 7010fd6c72c29a0d912ad0c353ff13a5b643cc04 | [
"MIT"
] | 4 | 2017-11-09T19:49:18.000Z | 2020-08-04T18:29:28.000Z | /*
* Helpers.h
*
* Created on: 14 May 2016
* Author: DetlevCM
*/
#ifndef HEADERS_HELPERS_HPP_
#define HEADERS_HELPERS_HPP_
string Strip_Single_Line_Comments(
string input ,
vector<string> tokens
);
vector< string > Tokenise_String_To_String(
string input,
string tokens
);
void Tokenise_String... | 15.595238 | 43 | 0.729771 | DetlevCM |
38a285d19ef0c0e179945b07f012cdf4a1191bc9 | 3,603 | cpp | C++ | object-oriented-programming/Matrix/matrix.cpp | stoimenoff/OOP-Cpp | 5bd60f2ad1bd8c433c786bb9716853946b37b875 | [
"MIT"
] | 3 | 2017-01-07T23:37:14.000Z | 2017-02-23T06:00:56.000Z | object-oriented-programming/Matrix/matrix.cpp | stoimenoff/OOP-Cpp | 5bd60f2ad1bd8c433c786bb9716853946b37b875 | [
"MIT"
] | null | null | null | object-oriented-programming/Matrix/matrix.cpp | stoimenoff/OOP-Cpp | 5bd60f2ad1bd8c433c786bb9716853946b37b875 | [
"MIT"
] | null | null | null | #include "matrix.h"
#include <iostream>
void Matrix::initArray(int rows, int columns)
{
rows = (rows <= 0) ? 1 : rows;
columns = (columns <= 0) ? 1 : columns;
this->rows = rows;
this->columns = columns;
matrix = new int*[rows];
for (int i = 0; i < rows; ++i)
{
matrix[i] = new int[columns];
}
}
void Matrix::... | 18.28934 | 70 | 0.56897 | stoimenoff |
38a4d815f10abe02d871cd6aa75742802053f007 | 613 | cpp | C++ | Baekjoon/4435.cpp | Twinparadox/AlgorithmProblem | 0190d17555306600cfd439ad5d02a77e663c9a4e | [
"MIT"
] | null | null | null | Baekjoon/4435.cpp | Twinparadox/AlgorithmProblem | 0190d17555306600cfd439ad5d02a77e663c9a4e | [
"MIT"
] | null | null | null | Baekjoon/4435.cpp | Twinparadox/AlgorithmProblem | 0190d17555306600cfd439ad5d02a77e663c9a4e | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main(void)
{
int t, g, s, gan[6] = { 1,2,3,3,4,10 }, sa[7] = { 1,2, 2,2,3,5,10 }, ganScore, saScore;
cin >> t;
for (int i = 1; i <= t; i++)
{
ganScore = saScore = 0;
for (int i = 0; i < 6; i++)
{
cin >> g;
ganScore += gan[i] * g;
}
for (int i = 0; i < 7; ... | 20.433333 | 88 | 0.508972 | Twinparadox |
38a6599e013cdf5890b169e101bd8f6f56c09f89 | 263,058 | cpp | C++ | scipy/integrate/vode.cpp | jasonmccampbell/scipy-refactor | 52708e04bca51e7043248d56383780b1e51e0d8f | [
"BSD-3-Clause"
] | 8 | 2015-10-07T00:37:32.000Z | 2022-01-21T17:02:33.000Z | scipy/integrate/vode.cpp | enthought/scipy-refactor | 52708e04bca51e7043248d56383780b1e51e0d8f | [
"BSD-3-Clause"
] | null | null | null | scipy/integrate/vode.cpp | enthought/scipy-refactor | 52708e04bca51e7043248d56383780b1e51e0d8f | [
"BSD-3-Clause"
] | 8 | 2015-05-09T14:23:57.000Z | 2018-11-15T05:56:00.000Z | /* Cython code section 'h_code' */
#define PY_LONG_LONG long long
using namespace System::Collections;
using namespace System::Numerics;
using namespace System::Reflection;
using namespace System::Runtime::CompilerServices;
using namespace System::Runtime;
using namespace System::Security::Permissions;
using namespa... | 49.16972 | 609 | 0.682804 | jasonmccampbell |
38a853c44610e67fd150d156764179bd78e6e502 | 5,874 | cpp | C++ | UMLEditor/UMLLabelPropertyDialog.cpp | pmachapman/Tulip | 54f7bc3e8d5bb452ed8de6e6622e23d5e9be650a | [
"Unlicense"
] | null | null | null | UMLEditor/UMLLabelPropertyDialog.cpp | pmachapman/Tulip | 54f7bc3e8d5bb452ed8de6e6622e23d5e9be650a | [
"Unlicense"
] | 33 | 2018-09-14T21:58:20.000Z | 2022-01-12T21:39:22.000Z | UMLEditor/UMLLabelPropertyDialog.cpp | pmachapman/Tulip | 54f7bc3e8d5bb452ed8de6e6622e23d5e9be650a | [
"Unlicense"
] | null | null | null | /* ==========================================================================
Class : CUMLLabelPropertyDialog
Author : Johan Rosengren, Abstrakt Mekanik AB
Date : 2004-04-29
Purpose : "CUMLLabelPropertyDialog" is a dialog box wrapper derived
from "CDiagramPropertyDlg", used by "CUMLEntity"-
deriv... | 25.876652 | 77 | 0.575928 | pmachapman |
38a8ad7e461ed75b069b6376bc81bb481bf24999 | 7,774 | cpp | C++ | ros/niryo_one_ros/niryo_one_driver/src/hw_driver/xl320_driver.cpp | paubrunet97/astrocytes | c21bbd2473adf68ef076356bcf578fb2ae14031f | [
"MIT"
] | 5 | 2020-11-06T18:35:57.000Z | 2021-04-30T07:16:42.000Z | ros/niryo_one_ros/niryo_one_driver/src/hw_driver/xl320_driver.cpp | paubrunet97/astrocytes | c21bbd2473adf68ef076356bcf578fb2ae14031f | [
"MIT"
] | 5 | 2020-11-05T13:39:28.000Z | 2021-12-09T04:37:30.000Z | ros/niryo_one_ros/niryo_one_driver/src/hw_driver/xl320_driver.cpp | paubrunet97/astrocytes | c21bbd2473adf68ef076356bcf578fb2ae14031f | [
"MIT"
] | 8 | 2020-09-25T10:07:15.000Z | 2022-03-11T06:26:30.000Z | /*
xl320_driver.cpp
Copyright (C) 2018 Niryo
All rights reserved.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any ... | 32.391667 | 118 | 0.753666 | paubrunet97 |
38ac73dd3ed36c09dc156a9ec41b9e4f5dfbbe91 | 1,220 | hpp | C++ | quick-shuffle-gpu/include/partial_hat.hpp | slaymaker1907/quick-shuffle | c26697c5899b225b2a94f9987fe3ce1a5b731f8e | [
"MIT"
] | null | null | null | quick-shuffle-gpu/include/partial_hat.hpp | slaymaker1907/quick-shuffle | c26697c5899b225b2a94f9987fe3ce1a5b731f8e | [
"MIT"
] | 1 | 2019-05-07T02:11:23.000Z | 2019-05-07T02:11:23.000Z | quick-shuffle-gpu/include/partial_hat.hpp | slaymaker1907/quick-shuffle | c26697c5899b225b2a94f9987fe3ce1a5b731f8e | [
"MIT"
] | null | null | null | #ifndef PARTIAL_HAT
#define PARTIAL_HAT
// TODO: finish this thing.
#include <cmath>
#include <assert.h>
namespace cuda_permute
{
// This class is an array of arrays which is initially statically allocated.
// The advantage is that it can be deallocated as you iterate through it with a max overhead of sqrt(size).
/... | 28.372093 | 107 | 0.663115 | slaymaker1907 |
38ae74da347f11b80271ea334f54fc7154389660 | 8,679 | cpp | C++ | swallow/src/semantics/OperatorResolver.cpp | healerkx/swallow | c2a0c0355462d856008af04d941f9390ae220f20 | [
"BSD-3-Clause"
] | null | null | null | swallow/src/semantics/OperatorResolver.cpp | healerkx/swallow | c2a0c0355462d856008af04d941f9390ae220f20 | [
"BSD-3-Clause"
] | null | null | null | swallow/src/semantics/OperatorResolver.cpp | healerkx/swallow | c2a0c0355462d856008af04d941f9390ae220f20 | [
"BSD-3-Clause"
] | null | null | null | /* OperatorResolver.cpp --
*
* Copyright (c) 2014, Lex Chou <lex at chou dot it>
* 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 abov... | 32.144444 | 151 | 0.694089 | healerkx |
38b15af35e0065b54f6aff46387b3f8517738848 | 3,317 | cpp | C++ | lib/src/sai_redis_port.cpp | qiluo-msft/sonic-sairedis | 2059e4580d04dab68b5e15241c366fac9b3eaf30 | [
"Apache-2.0"
] | null | null | null | lib/src/sai_redis_port.cpp | qiluo-msft/sonic-sairedis | 2059e4580d04dab68b5e15241c366fac9b3eaf30 | [
"Apache-2.0"
] | null | null | null | lib/src/sai_redis_port.cpp | qiluo-msft/sonic-sairedis | 2059e4580d04dab68b5e15241c366fac9b3eaf30 | [
"Apache-2.0"
] | null | null | null | #include "sai_redis.h"
/**
* Routine Description:
* @brief Set port attribute value.
*
* Arguments:
* @param[in] port_id - port id
* @param[in] attr - attribute
*
* Return Values:
* @return SAI_STATUS_SUCCESS on success
* Failure status code on error
*/
sai_status_t redis_set_port_attr... | 24.211679 | 69 | 0.669279 | qiluo-msft |
38b2d9be5f12e42bd1ad20e6df8165438fe6068b | 1,308 | hpp | C++ | Source/Gui/DictionaryPanel.hpp | alvinahmadov/Dixter | 6f98f1e84192e1e43eee409bdee6b3dac75d6443 | [
"MIT"
] | 4 | 2018-12-06T01:20:50.000Z | 2019-08-04T10:19:23.000Z | Source/Gui/DictionaryPanel.hpp | alvinahmadov/Dixter | 6f98f1e84192e1e43eee409bdee6b3dac75d6443 | [
"MIT"
] | null | null | null | Source/Gui/DictionaryPanel.hpp | alvinahmadov/Dixter | 6f98f1e84192e1e43eee409bdee6b3dac75d6443 | [
"MIT"
] | null | null | null | /**
* Copyright (C) 2015-2019
* Author Alvin Ahmadov <alvin.dev.ahmadov@gmail.com>
*
* This file is part of Dixter Project
* License-Identifier: MIT License
* See README.md for more information.
*/
#pragma once
#include "Gui/Panel.hpp"
#include "Gui/OptionBox.hpp"
class QMutex;
namespace Dixter
{
enum ... | 17.917808 | 78 | 0.66208 | alvinahmadov |
38b3726773f8ecbccf841798e0925e4d1a1dc220 | 519 | hpp | C++ | include/Micron/Prim.hpp | khuldraeseth/micron | e3f55c69a5546c4bba2b306775b8271880677640 | [
"Unlicense"
] | null | null | null | include/Micron/Prim.hpp | khuldraeseth/micron | e3f55c69a5546c4bba2b306775b8271880677640 | [
"Unlicense"
] | null | null | null | include/Micron/Prim.hpp | khuldraeseth/micron | e3f55c69a5546c4bba2b306775b8271880677640 | [
"Unlicense"
] | null | null | null | #pragma once
#include <functional>
#include <utility>
#include <Data/Either.hpp>
#include <Data/String.hpp>
#include <Micron/Error.hpp>
template <typename A>
struct Micron {
using Fn = std::function<std::pair<String,Either<Error,A>>(String)>;
Fn fn {};
};
auto const runMicron = [](auto ma, auto s) {
... | 19.961538 | 72 | 0.680154 | khuldraeseth |
38b50436d583b77eeeb9a231a88dfe198eee4330 | 960 | cpp | C++ | console/src/boost_1_78_0/libs/integer/test/integer_include_test.cpp | vany152/FilesHash | 39f282807b7f1abc56dac389e8259ee3bb557a8d | [
"MIT"
] | 106 | 2015-08-07T04:23:50.000Z | 2020-12-27T18:25:15.000Z | console/src/boost_1_78_0/libs/integer/test/integer_include_test.cpp | vany152/FilesHash | 39f282807b7f1abc56dac389e8259ee3bb557a8d | [
"MIT"
] | 130 | 2016-06-22T22:11:25.000Z | 2020-11-29T20:24:09.000Z | Libs/boost_1_76_0/libs/integer/test/integer_include_test.cpp | Antd23rus/S2DE | 47cc7151c2934cd8f0399a9856c1e54894571553 | [
"MIT"
] | 41 | 2015-07-08T19:18:35.000Z | 2021-01-14T16:39:56.000Z | // Copyright John Maddock 2009.
// Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
#include <boost/integer.hpp> // must be the only #include!
int main()
{
boost::int_fast_t<char>::fast f = 0;
(void)f;... | 25.945946 | 69 | 0.617708 | vany152 |
38b682f70b633abba3eba5436fe16bb46d62e197 | 2,473 | cpp | C++ | buildinfo.cpp | FrostDragon/JenkinsPlugin | a3179a188ef4b5d4bd57adec5a765d485faa7ac4 | [
"MIT"
] | 2 | 2020-06-25T21:58:45.000Z | 2021-01-07T11:20:37.000Z | buildinfo.cpp | FrostDragon/JenkinsPlugin | a3179a188ef4b5d4bd57adec5a765d485faa7ac4 | [
"MIT"
] | 4 | 2016-05-25T09:35:47.000Z | 2016-06-20T00:20:32.000Z | buildinfo.cpp | FrostDragon/JenkinsPlugin | a3179a188ef4b5d4bd57adec5a765d485faa7ac4 | [
"MIT"
] | 1 | 2020-06-25T20:49:38.000Z | 2020-06-25T20:49:38.000Z | #include "buildinfo.h"
#include "jenkinspluginconstants.h"
using namespace JenkinsCI::Internal;
QString BuildInfo::url() const { return _url; }
void BuildInfo::setUrl(const QString &url) { _url = url; }
int BuildInfo::number() const { return _number; }
void BuildInfo::setNumber(int number) { _number = number; }
Q... | 30.9125 | 90 | 0.708856 | FrostDragon |
38b9048b9d15c7584d4a2209bada86d74b7c2e22 | 1,834 | cpp | C++ | src/checker.cpp | ammarfaizi2/ProxyScraper | 3a303f70d283833c96b3dd6c9b52c322865b946f | [
"MIT"
] | 3 | 2018-10-14T17:27:49.000Z | 2018-10-19T22:39:54.000Z | src/checker.cpp | cppid/ProxyScraper | 3a303f70d283833c96b3dd6c9b52c322865b946f | [
"MIT"
] | null | null | null | src/checker.cpp | cppid/ProxyScraper | 3a303f70d283833c96b3dd6c9b52c322865b946f | [
"MIT"
] | 1 | 2018-10-15T07:15:52.000Z | 2018-10-15T07:15:52.000Z |
#include <sys/file.h>
#include <sys/wait.h>
#include <unistd.h>
#include "lib/TeaCurl.h"
#include "lib/TeaPCRE.h"
int check(int argc, char *argv[]) {
int worker_limit = 5;
for (int i = 0; i < 2; ++i)
{
int pid = fork();
if (pid == 0) {
char *filename = (char*)malloc(64);
sprintf(argv[0], "checkerd_run ... | 21.833333 | 93 | 0.502181 | ammarfaizi2 |
38ba50287c2408a1e00f6095ad3194f217dd4ac7 | 1,054 | cpp | C++ | Project/ModuleRNG.cpp | albertllopart/GTi-Engine-Reborn | 87d3137866488075f534e50a9480180d1f6354c0 | [
"MIT"
] | 1 | 2020-03-19T18:07:32.000Z | 2020-03-19T18:07:32.000Z | Project/ModuleRNG.cpp | albertllopart/GTi-Engine-Reborn | 87d3137866488075f534e50a9480180d1f6354c0 | [
"MIT"
] | null | null | null | Project/ModuleRNG.cpp | albertllopart/GTi-Engine-Reborn | 87d3137866488075f534e50a9480180d1f6354c0 | [
"MIT"
] | null | null | null | #include "Globals.h"
#include "Application.h"
#include "ModuleRNG.h"
#include "parson/parson.h"
#include "Glew/include/glew.h"
#include <list>
ModuleRNG::ModuleRNG(Application* app, bool start_enabled) : Module(app, start_enabled)
{
name = "Rng";
}
// Destructor
ModuleRNG::~ModuleRNG()
{}
// Called before render is... | 15.969697 | 87 | 0.712524 | albertllopart |
38bb918fa0cb938621c85eec58f382526a362e95 | 5,794 | cc | C++ | chrome/browser/push_messaging/push_messaging_permission_context.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 | chrome/browser/push_messaging/push_messaging_permission_context.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | null | null | null | chrome/browser/push_messaging/push_messaging_permission_context.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 "chrome/browser/push_messaging/push_messaging_permission_context.h"
#include "chrome/browser/content_settings/host_content_settings_map_factory.... | 42.602941 | 80 | 0.749223 | Wzzzx |
38bbab352f6e8387485c5f0c5ce286419199909b | 4,460 | cpp | C++ | source/game/GLSLProgram.cpp | WarzesProject/2dgame | 7c398505bd02f9c519f2968bceb3ba87ac26a6a5 | [
"MIT"
] | null | null | null | source/game/GLSLProgram.cpp | WarzesProject/2dgame | 7c398505bd02f9c519f2968bceb3ba87ac26a6a5 | [
"MIT"
] | null | null | null | source/game/GLSLProgram.cpp | WarzesProject/2dgame | 7c398505bd02f9c519f2968bceb3ba87ac26a6a5 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "GLSLProgram.h"
#include "IOManager.h"
//-----------------------------------------------------------------------------
void GLSLProgram::CompileShadersFromFile(std::string_view vertexShaderFilePath, std::string_view fragmentShaderFilePath)
{
std::string vertexSource;
std::string fragSour... | 34.573643 | 120 | 0.62287 | WarzesProject |
38bbc9c37252aee9a3cf06244c691dac181b6fcd | 53,444 | cpp | C++ | source/DSES/ExecutionControl.cpp | jiajlin/TrickHLA | ae704b97049579e997593ae6d8dd016010b8fa1e | [
"NASA-1.3"
] | null | null | null | source/DSES/ExecutionControl.cpp | jiajlin/TrickHLA | ae704b97049579e997593ae6d8dd016010b8fa1e | [
"NASA-1.3"
] | null | null | null | source/DSES/ExecutionControl.cpp | jiajlin/TrickHLA | ae704b97049579e997593ae6d8dd016010b8fa1e | [
"NASA-1.3"
] | null | null | null | /*!
@file DSES/ExecutionControl.cpp
@ingroup DSES
@brief This class provides and abstract base class as the base implementation
for managing mode transitions.
@copyright Copyright 2019 United States Government as represented by the
Administrator of the National Aeronautics and Space Administration.
No copyright is cla... | 37.930447 | 193 | 0.648978 | jiajlin |
38be358d6928ad7412aa0b3f2fcfa99543558716 | 3,388 | cpp | C++ | solutions/hackerrank/hour_rank/hr26/q3/ProblemC.cpp | bluedawnstar/algorithm_library | 4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6 | [
"Unlicense"
] | 40 | 2017-11-26T05:29:18.000Z | 2020-11-13T00:29:26.000Z | solutions/hackerrank/hour_rank/hr26/q3/ProblemC.cpp | bluedawnstar/algorithm_library | 4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6 | [
"Unlicense"
] | 101 | 2019-02-09T06:06:09.000Z | 2021-12-25T16:55:37.000Z | solutions/hackerrank/hour_rank/hr26/q3/ProblemC.cpp | bluedawnstar/algorithm_library | 4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6 | [
"Unlicense"
] | 6 | 2017-01-03T14:17:58.000Z | 2021-01-22T10:37:04.000Z | #include <memory.h>
#include <ctime>
#include <cstdio>
#include <cstdlib>
#include <climits>
#include <cctype>
#include <cstring>
#include <climits>
#include <cmath>
#include <vector>
#include <string>
#include <memory>
#include <numeric>
#include <limits>
#include <functional>
#include <tuple>
#include <set>
#include ... | 21.443038 | 92 | 0.50059 | bluedawnstar |
38bf463491986681aa355362927a8775170e4052 | 8,211 | cc | C++ | third_party/parallel-inet/src/linklayer/ieee80211/mgmt/Ieee80211MgmtBase.cc | eniac/MimicNet | c0790679f8c220c75c33ace67e2735816aac6815 | [
"MIT"
] | 15 | 2021-08-20T08:10:01.000Z | 2022-03-24T21:24:50.000Z | third_party/parallel-inet/src/linklayer/ieee80211/mgmt/Ieee80211MgmtBase.cc | eniac/MimicNet | c0790679f8c220c75c33ace67e2735816aac6815 | [
"MIT"
] | 1 | 2022-03-30T09:03:39.000Z | 2022-03-30T09:03:39.000Z | third_party/parallel-inet/src/linklayer/ieee80211/mgmt/Ieee80211MgmtBase.cc | eniac/MimicNet | c0790679f8c220c75c33ace67e2735816aac6815 | [
"MIT"
] | 3 | 2021-08-20T08:10:34.000Z | 2021-12-02T06:15:02.000Z | //
// Copyright (C) 2006 Andras Varga
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program i... | 29.325 | 124 | 0.659603 | eniac |
38c8bc38965a627cc6e62aa970ee44cfe1233a13 | 1,554 | cpp | C++ | atcoder/abc/abc112/c.cpp | yu3mars/proconVSCodeGcc | fcf36165bb14fb6f555664355e05dd08d12e426b | [
"MIT"
] | null | null | null | atcoder/abc/abc112/c.cpp | yu3mars/proconVSCodeGcc | fcf36165bb14fb6f555664355e05dd08d12e426b | [
"MIT"
] | null | null | null | atcoder/abc/abc112/c.cpp | yu3mars/proconVSCodeGcc | fcf36165bb14fb6f555664355e05dd08d12e426b | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using pii = pair<int, int>;
#define REP(i,n) for(int i=0, i##_len=(n); i<i##_len; ++i)
#define all(x) (x).begin(),(x).end()
#define m0(x) memset(x,0,sizeof(x))
int dx4[4] = {1,0,-1,0}, dy4[4] = {0,1,0,-1};
int main()
{
i... | 22.2 | 62 | 0.348777 | yu3mars |
38cb167cbc035c414f1a569d9f42e3397ae5f0f3 | 1,824 | cpp | C++ | trick_source/sim_services/Executive/Executive_add_depends_on_job.cpp | gilbertguoze/trick | f0537efb0fa3cb5c0c84e36b60f055c1d1c60d21 | [
"NASA-1.3"
] | 647 | 2015-05-07T16:08:16.000Z | 2022-03-30T02:33:21.000Z | trick_source/sim_services/Executive/Executive_add_depends_on_job.cpp | gilbertguoze/trick | f0537efb0fa3cb5c0c84e36b60f055c1d1c60d21 | [
"NASA-1.3"
] | 995 | 2015-04-30T19:44:31.000Z | 2022-03-31T20:14:44.000Z | trick_source/sim_services/Executive/Executive_add_depends_on_job.cpp | gilbertguoze/trick | f0537efb0fa3cb5c0c84e36b60f055c1d1c60d21 | [
"NASA-1.3"
] | 251 | 2015-05-15T09:24:34.000Z | 2022-03-22T20:39:05.000Z |
#include <iostream>
#include <sstream>
#include "trick/Executive.hh"
#include "trick/message_proto.h"
#include "trick/message_type.h"
/**
@details
-# Find target job. Return error if target job not found.
-# Find depends job. Return error if depends job not found.
-# Return an error if both jobs are on the same th... | 35.764706 | 108 | 0.666667 | gilbertguoze |
38ccda3f9728c41d4a8831bf3404a7f05bc3d9f1 | 628 | cpp | C++ | USACO Bronze/US Open 2016 Contest/diamond.cpp | Alecs-Li/Competitive-Programming | 39941ff8e2c8994abbae8c96a1ed0a04b10058b8 | [
"MIT"
] | 1 | 2021-07-06T02:14:03.000Z | 2021-07-06T02:14:03.000Z | USACO Bronze/US Open 2016 Contest/diamond.cpp | Alex01890-creator/competitive-programming | 39941ff8e2c8994abbae8c96a1ed0a04b10058b8 | [
"MIT"
] | null | null | null | USACO Bronze/US Open 2016 Contest/diamond.cpp | Alex01890-creator/competitive-programming | 39941ff8e2c8994abbae8c96a1ed0a04b10058b8 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
freopen("diamond.in", "r", stdin);
freopen("diamond.out", "w", stdout);
int n, k; cin >> n >> k;
int arr[n], ans = 0, count = 0;
for(int a=0; a<n; a++){
cin >> arr[a];
}
for(int a=0; a<n; a++){
for(int b=0; b<n; b++)... | 19.625 | 52 | 0.43949 | Alecs-Li |
38d051669de19e256aee72ad6f50ffa9246219ac | 13,780 | hpp | C++ | include/GMM.hpp | tim-krebs/GMM | f51872c7867d56f5cd161689ac760a31eb8bb11f | [
"MIT"
] | null | null | null | include/GMM.hpp | tim-krebs/GMM | f51872c7867d56f5cd161689ac760a31eb8bb11f | [
"MIT"
] | null | null | null | include/GMM.hpp | tim-krebs/GMM | f51872c7867d56f5cd161689ac760a31eb8bb11f | [
"MIT"
] | null | null | null | #pragma once
#include<string>
#include<vector>
#include<map>
#include <algorithm>
#include <iomanip>
#include <fstream>
#include <math.h>
#include "Kmeans.hpp"
struct Model
{
std::vector<double> weight;
std::vector<std::vector<double> > mean;
std::vector<std::vector<double> > covariance;
std::vector<... | 23.717728 | 184 | 0.567489 | tim-krebs |
38d16510073f892d9569760d3ca9fdf47c14f3ce | 9,123 | cpp | C++ | programs/core/abc_cli.cpp | eletesta/cirkit | 6d0939798ea25cecf92306ce796be154139b94f5 | [
"MIT"
] | null | null | null | programs/core/abc_cli.cpp | eletesta/cirkit | 6d0939798ea25cecf92306ce796be154139b94f5 | [
"MIT"
] | null | null | null | programs/core/abc_cli.cpp | eletesta/cirkit | 6d0939798ea25cecf92306ce796be154139b94f5 | [
"MIT"
] | null | null | null | /* CirKit: A circuit toolkit
* Copyright (C) 2009-2015 University of Bremen
* Copyright (C) 2015-2017 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, in... | 33.29562 | 145 | 0.591034 | eletesta |
38d33995e5eae06285c45bde3e171a2edf327d09 | 1,196 | cpp | C++ | LeetCodeCPP/304. Range Sum Query 2D - Immutable/main.cpp | 18600130137/leetcode | fd2dc72c0b85da50269732f0fcf91326c4787d3a | [
"Apache-2.0"
] | 1 | 2019-03-29T03:33:56.000Z | 2019-03-29T03:33:56.000Z | LeetCodeCPP/304. Range Sum Query 2D - Immutable/main.cpp | 18600130137/leetcode | fd2dc72c0b85da50269732f0fcf91326c4787d3a | [
"Apache-2.0"
] | null | null | null | LeetCodeCPP/304. Range Sum Query 2D - Immutable/main.cpp | 18600130137/leetcode | fd2dc72c0b85da50269732f0fcf91326c4787d3a | [
"Apache-2.0"
] | null | null | null | //
// main.cpp
// 304. Range Sum Query 2D - Immutable
//
// Created by admin on 2019/7/12.
// Copyright © 2019年 liu. All rights reserved.
//
#include <iostream>
#include <vector>
using namespace std;
class NumMatrix {
private:
vector<vector<int>> mc; //matrixCumulative
int m=0,n=0;
int a(int i,int j... | 22.566038 | 92 | 0.485786 | 18600130137 |
38d9b46b19f37afdf68b7db37be568fff6db41b1 | 685 | cpp | C++ | chapter21/Combat.cpp | UncleCShark/CppIn24HoursWithCmake | 7d1f30906fed2c7d144e5495ad42a3a9a59d2dce | [
"MIT"
] | null | null | null | chapter21/Combat.cpp | UncleCShark/CppIn24HoursWithCmake | 7d1f30906fed2c7d144e5495ad42a3a9a59d2dce | [
"MIT"
] | null | null | null | chapter21/Combat.cpp | UncleCShark/CppIn24HoursWithCmake | 7d1f30906fed2c7d144e5495ad42a3a9a59d2dce | [
"MIT"
] | null | null | null | #include <iostream>
int main()
{
// define character values
int strength;
double accuracy;
int dexterity;
// define constants
const double maximum = 50;
// get user input
std::cout << "\nEnter strength (1-100): ";
std::cin >> strength;
std::cout << "\nEnter accuracy (1-50): "... | 22.096774 | 55 | 0.579562 | UncleCShark |
38d9c8ddee49603d3cc4d513aaf65cdd972a171c | 3,039 | cpp | C++ | luogu/1442.cpp | swwind/code | 25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0 | [
"WTFPL"
] | 3 | 2017-09-17T09:12:50.000Z | 2018-04-06T01:18:17.000Z | luogu/1442.cpp | swwind/code | 25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0 | [
"WTFPL"
] | null | null | null | luogu/1442.cpp | swwind/code | 25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0 | [
"WTFPL"
] | null | null | null | #include <bits/stdc++.h>
#define N 100020
#define ll long long
using namespace std;
inline int read(){
int x=0,f=1;char ch=getchar();
while(ch>'9'||ch<'0')ch=='-'&&(f=0)||(ch=getchar());
while(ch<='9'&&ch>='0')x=(x<<3)+(x<<1)+ch-'0',ch=getchar();
return f?x:-x;
}
struct node {
int h, l, r;
friend bool opera... | 29.504854 | 90 | 0.431392 | swwind |
38df8c5175f801ae13eb0808fe6cee826ae15fdc | 4,556 | cpp | C++ | GLManager.cpp | GuMiner/Octocad | 2858d777e5db177e1fbddf7653ba052a4fa31855 | [
"MIT"
] | null | null | null | GLManager.cpp | GuMiner/Octocad | 2858d777e5db177e1fbddf7653ba052a4fa31855 | [
"MIT"
] | null | null | null | GLManager.cpp | GuMiner/Octocad | 2858d777e5db177e1fbddf7653ba052a4fa31855 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "GLManager.h"
#include "StringUtility.h"
GLManager *GLManager::m_pManager;
float GLManager::FOV_Y;
float GLManager::NEAR_PLANE;
float GLManager::FAR_PLANE;
// Compiles a combination vertex and fragment shader into a single shader program.
GLuint GLManager::CompileShaderProgram(const char ... | 32.776978 | 160 | 0.643327 | GuMiner |
38e16598309aa0325c8cdf2db1cd194f252f1ace | 1,230 | cpp | C++ | Source/SocketModule/joystick.cpp | simondlevy/SackflightHim | efcbd6b21f5f9826b00df656eb29240924a98a94 | [
"MIT"
] | 77 | 2019-01-27T05:00:40.000Z | 2022-01-30T03:28:35.000Z | Source/SocketModule/joystick.cpp | simondlevy/SackflightHim | efcbd6b21f5f9826b00df656eb29240924a98a94 | [
"MIT"
] | 124 | 2019-02-17T16:05:51.000Z | 2021-07-24T02:53:05.000Z | Source/SocketModule/joystick.cpp | simondlevy/SackflightHim | efcbd6b21f5f9826b00df656eb29240924a98a94 | [
"MIT"
] | 38 | 2019-01-31T17:25:47.000Z | 2021-12-27T23:07:30.000Z | /*
* Windows support for joysticks and other game controllers
*
* Copyright (C) 2021 Simon D. Levy
*
* MIT License
*/
#include "../MainModule/Joystick.h"
#undef TEXT
#include <shlwapi.h>
#include "joystickapi.h"
bool IJoystick::isValidJoystick(int joystick_id, uint16_t & product_id)
{
JOY... | 21.964286 | 81 | 0.604878 | simondlevy |
38e369e3dc42cc79436006a020488be7cc410d16 | 386 | cpp | C++ | Source/FSD/Private/TerminatorEnemy.cpp | trumank/DRG-Mods | 2febc879f2ffe83498ac913c114d0e933427e93e | [
"MIT"
] | null | null | null | Source/FSD/Private/TerminatorEnemy.cpp | trumank/DRG-Mods | 2febc879f2ffe83498ac913c114d0e933427e93e | [
"MIT"
] | null | null | null | Source/FSD/Private/TerminatorEnemy.cpp | trumank/DRG-Mods | 2febc879f2ffe83498ac913c114d0e933427e93e | [
"MIT"
] | null | null | null | #include "TerminatorEnemy.h"
#include "HitReactionComponent.h"
void ATerminatorEnemy::All_PlayFlairAnimation_Implementation() {
}
ATerminatorEnemy::ATerminatorEnemy() {
this->FlairAnimation = NULL;
this->MinFlairAnimCooldown = 1.00f;
this->MaxFlairAnimationCooldown = 2.00f;
this->HitReactions = Create... | 27.571429 | 93 | 0.772021 | trumank |
38e388a25247776082543f1004409f1775132f11 | 32,398 | cpp | C++ | Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32756G_EVAL/Demonstrations/TouchGFX/Gui/generated/images/src/Graphs/half_circle_toggle_button_inactive.cpp | ramkumarkoppu/NUCLEO-F767ZI-ESW | 85e129d71ee8eccbd0b94b5e07e75b6b91679ee8 | [
"MIT"
] | null | null | null | Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32756G_EVAL/Demonstrations/TouchGFX/Gui/generated/images/src/Graphs/half_circle_toggle_button_inactive.cpp | ramkumarkoppu/NUCLEO-F767ZI-ESW | 85e129d71ee8eccbd0b94b5e07e75b6b91679ee8 | [
"MIT"
] | null | null | null | Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32756G_EVAL/Demonstrations/TouchGFX/Gui/generated/images/src/Graphs/half_circle_toggle_button_inactive.cpp | ramkumarkoppu/NUCLEO-F767ZI-ESW | 85e129d71ee8eccbd0b94b5e07e75b6b91679ee8 | [
"MIT"
] | null | null | null | // Generated by imageconverter. Please, do not edit!
#include <touchgfx/hal/Config.hpp>
LOCATION_EXTFLASH_PRAGMA
KEEP extern const unsigned char _half_circle_toggle_button_inactive[] LOCATION_EXTFLASH_ATTRIBUTE = { // 55x58 RGB565 pixels.
0x9a,0xce,0x35,0xa5,0x56,0xad,0x76,0xad,0x76,0xad,0x76,0xad,0x76,0xad,0x76,0xad... | 123.186312 | 160 | 0.793784 | ramkumarkoppu |
38e50fec5d804c5f4a47ca0a69557151fd881378 | 68 | hpp | C++ | include/containers/span.hpp | SakuraEngine/Sakura.Runtime | 5a397fb2b1285326c4216f522fe10e347bd566f7 | [
"MIT"
] | 29 | 2021-11-19T11:28:22.000Z | 2022-03-29T00:26:51.000Z | include/containers/span.hpp | SakuraEngine/Sakura.Runtime | 5a397fb2b1285326c4216f522fe10e347bd566f7 | [
"MIT"
] | null | null | null | include/containers/span.hpp | SakuraEngine/Sakura.Runtime | 5a397fb2b1285326c4216f522fe10e347bd566f7 | [
"MIT"
] | 1 | 2022-03-05T08:14:40.000Z | 2022-03-05T08:14:40.000Z | #pragma once
#include <gsl/span>
namespace skr
{
using gsl::span;
} | 9.714286 | 19 | 0.705882 | SakuraEngine |
38e5b5850623304281363d81c433db97cc398052 | 2,224 | cpp | C++ | test/openpower-pels/pel_rules_test.cpp | Alpana07/phosphor-logging | 1be39849bd974c2f7df7fa932edcd7f71a2c6d59 | [
"Apache-2.0"
] | 14 | 2021-11-04T07:47:37.000Z | 2022-03-21T10:10:30.000Z | test/openpower-pels/pel_rules_test.cpp | Alpana07/phosphor-logging | 1be39849bd974c2f7df7fa932edcd7f71a2c6d59 | [
"Apache-2.0"
] | 26 | 2017-02-02T08:20:10.000Z | 2021-11-16T18:28:44.000Z | test/openpower-pels/pel_rules_test.cpp | Alpana07/phosphor-logging | 1be39849bd974c2f7df7fa932edcd7f71a2c6d59 | [
"Apache-2.0"
] | 28 | 2016-07-20T16:46:54.000Z | 2022-03-16T11:20:03.000Z | #include "extensions/openpower-pels/pel_rules.hpp"
#include <gtest/gtest.h>
using namespace openpower::pels;
struct CheckParams
{
// pel_rules::check() inputs
uint16_t actionFlags;
uint8_t eventType;
uint8_t severity;
// pel_rules::check() expected outputs
uint16_t expectedActionFlags;
u... | 30.465753 | 64 | 0.674011 | Alpana07 |
38e7aed3d3d330732e07aaf5c614bca861a61139 | 6,000 | hpp | C++ | sparta/python/sparta_support/PythonInterpreter.hpp | knute-sifive/map | fb25626830a56ad68ab896bcd01929023ff31c48 | [
"MIT"
] | null | null | null | sparta/python/sparta_support/PythonInterpreter.hpp | knute-sifive/map | fb25626830a56ad68ab896bcd01929023ff31c48 | [
"MIT"
] | null | null | null | sparta/python/sparta_support/PythonInterpreter.hpp | knute-sifive/map | fb25626830a56ad68ab896bcd01929023ff31c48 | [
"MIT"
] | null | null | null | // <PythonInterpreter.h> -*- C++ -*-
/*!
* \file PythonInterpreter.h
* \brief Instantiates python interpreter instance
*/
#ifndef __SPARTA_PYTHONINTERPRETER_H__
#define __SPARTA_PYTHONINTERPRETER_H__
#include "sparta/sparta.hpp" // For macro definitions
#include "simdb_fwd.hpp"
#ifndef _GNU_SOURCE
#define _GNU_... | 28.169014 | 116 | 0.625333 | knute-sifive |
38e7c9a39b18084efa26053ed9d8f55acf0fb4d2 | 4,123 | cc | C++ | src/invadermanager.cc | CS126SP20/space-invaders | 42b3021f04b41821c6fc203c6de74352f9c2afa5 | [
"MIT"
] | null | null | null | src/invadermanager.cc | CS126SP20/space-invaders | 42b3021f04b41821c6fc203c6de74352f9c2afa5 | [
"MIT"
] | null | null | null | src/invadermanager.cc | CS126SP20/space-invaders | 42b3021f04b41821c6fc203c6de74352f9c2afa5 | [
"MIT"
] | 1 | 2021-01-09T23:47:18.000Z | 2021-01-09T23:47:18.000Z | // Copyright (c) 2020 Saurav Raghavendra. All rights reserved.
#include "spaceinvaders/invadermanager.h"
namespace spaceinvaders {
using cinder::app::getWindowHeight;
using cinder::app::getWindowWidth;
namespace {
const int kMaxInvaders = 55;
}
InvaderManager::InvaderManager()
: step_gap_(std::chrono::seconds(... | 26.6 | 77 | 0.616299 | CS126SP20 |
38ecb3f332576dd010df4bf77e050051f0e4ed92 | 225 | cpp | C++ | seeded_lda/libc/utils/Node.cpp | qinliuliuqin/Arbitrage-Strategy-Analysis | d735481a2480174366e3f90025a1f935d5ad1f8b | [
"MIT"
] | null | null | null | seeded_lda/libc/utils/Node.cpp | qinliuliuqin/Arbitrage-Strategy-Analysis | d735481a2480174366e3f90025a1f935d5ad1f8b | [
"MIT"
] | null | null | null | seeded_lda/libc/utils/Node.cpp | qinliuliuqin/Arbitrage-Strategy-Analysis | d735481a2480174366e3f90025a1f935d5ad1f8b | [
"MIT"
] | null | null | null | #include <iostream>
#ifndef NODE_H_
#define NODE_H_
template <typename T> class Node{
public:
T First;
Node<T> *Next;
public:
Node(T aFirst){
First = aFirst;
Next = NULL;
}
Node() { Next = NULL;};
};
#endif
| 10.714286 | 33 | 0.626667 | qinliuliuqin |
38f66d481e09853a71bacb11618578718dce8692 | 4,046 | cpp | C++ | example/flappy_world.cpp | linussjo/linussjo_engine | 6a5db383633ffb99a2e83666e74fe7159d7b0c53 | [
"MIT"
] | null | null | null | example/flappy_world.cpp | linussjo/linussjo_engine | 6a5db383633ffb99a2e83666e74fe7159d7b0c53 | [
"MIT"
] | 4 | 2020-02-20T20:16:21.000Z | 2020-07-06T16:36:26.000Z | example/flappy_world.cpp | linussjo/linussjo_engine | 6a5db383633ffb99a2e83666e74fe7159d7b0c53 | [
"MIT"
] | null | null | null | //
// flappy_world.cpp
// linussjo_engine
//
// Created by Linus Sjöström on 2019-09-30.
// Copyright © 2019 Linus Sjöström. All rights reserved.
//
#include "flappy_world.hpp"
flappy_world::flappy_world(const std::shared_ptr<engine::graphic::graphic_engine> &ge, unsigned int w, unsigned int h) : world(ge, w, h){... | 34 | 150 | 0.642116 | linussjo |
38f78352a606e9a9500733f7a5dee45abd5f97c7 | 5,958 | cpp | C++ | modules/tracktion_engine/playback/graph/tracktion_ModifierNode.cpp | jbloit/tracktion_engine | b3fa7d6a3a404f64ae419abdf9c801d672cffb16 | [
"MIT",
"Unlicense"
] | 734 | 2018-11-16T09:39:40.000Z | 2022-03-30T16:56:14.000Z | modules/tracktion_engine/playback/graph/tracktion_ModifierNode.cpp | jbloit/tracktion_engine | b3fa7d6a3a404f64ae419abdf9c801d672cffb16 | [
"MIT",
"Unlicense"
] | 100 | 2018-11-16T18:04:08.000Z | 2022-03-31T17:47:53.000Z | modules/tracktion_engine/playback/graph/tracktion_ModifierNode.cpp | jbloit/tracktion_engine | b3fa7d6a3a404f64ae419abdf9c801d672cffb16 | [
"MIT",
"Unlicense"
] | 123 | 2018-11-16T15:51:50.000Z | 2022-03-29T12:21:27.000Z | /*
,--. ,--. ,--. ,--.
,-' '-.,--.--.,--,--.,---.| |,-.,-' '-.`--' ,---. ,--,--, Copyright 2018
'-. .-'| .--' ,-. | .--'| /'-. .-',--.| .-. || \ Tracktion Software
| | | | \ '-' \ `--.| \ \ | | | |' '-' '| || | Corporation
`---' `--' `... | 37.949045 | 161 | 0.631252 | jbloit |
38fabda2e73e66e49bb6f3093e22e2076bf78337 | 7,556 | cpp | C++ | src/UdpUserSocketImpl.cpp | geraldselvino/GNSNet | 8d3b022186a1a3163a6466169f092b22390e8cae | [
"MIT"
] | null | null | null | src/UdpUserSocketImpl.cpp | geraldselvino/GNSNet | 8d3b022186a1a3163a6466169f092b22390e8cae | [
"MIT"
] | null | null | null | src/UdpUserSocketImpl.cpp | geraldselvino/GNSNet | 8d3b022186a1a3163a6466169f092b22390e8cae | [
"MIT"
] | null | null | null | #include "UdpUserSocket.h"
#include "UdpUserSocketImpl.h"
#include "ScopeLock.h"
/**
* Definition of the Handle class(UdpUserSocket)
*/
GNSNet::UdpUserSocket::UdpUserSocket()
: pImplUdpUserSocket(gcnew UdpUserSocketImpl())
{
}
GNSNet::UdpUserSocket::~UdpUserSocket()
{
delete pImplUdpUserSocket;
}
bool GNSNet:... | 22.158358 | 98 | 0.606935 | geraldselvino |
38fbf7654002c87ba777bd68cc15190b32a4b815 | 1,183 | cpp | C++ | core/main.cpp | 7-6-6/niggahack | 1f4f42a9fd1c89126c7d865f70eaa336ab1f6135 | [
"MIT"
] | null | null | null | core/main.cpp | 7-6-6/niggahack | 1f4f42a9fd1c89126c7d865f70eaa336ab1f6135 | [
"MIT"
] | null | null | null | core/main.cpp | 7-6-6/niggahack | 1f4f42a9fd1c89126c7d865f70eaa336ab1f6135 | [
"MIT"
] | null | null | null | #include "../dependencies/common_includes.hpp"
#include "features/misc/misc.hpp"
#include "menu/config/config.hpp"
#include "features/misc/events.hpp"
#include "features/skinchanger/parser.hpp"
unsigned long __stdcall initial_thread(void* reserved) {
while (!GetModuleHandleA("serverbrowser.dll"))
Sleep(200);
... | 24.142857 | 86 | 0.734573 | 7-6-6 |
38fe64d1ed97a725dc66e6dfa2a0eb14135e0b1e | 4,070 | cpp | C++ | source/util/compression/int/compressedset/LazyAndSet.cpp | izenecloud/izenelib | 9d5958100e2ce763fc75f27217adf982d7c9d902 | [
"Apache-2.0"
] | 31 | 2015-03-03T19:13:42.000Z | 2020-09-03T08:11:56.000Z | source/util/compression/int/compressedset/LazyAndSet.cpp | izenecloud/izenelib | 9d5958100e2ce763fc75f27217adf982d7c9d902 | [
"Apache-2.0"
] | 1 | 2016-12-24T00:12:11.000Z | 2016-12-24T00:12:11.000Z | source/util/compression/int/compressedset/LazyAndSet.cpp | izenecloud/izenelib | 9d5958100e2ce763fc75f27217adf982d7c9d902 | [
"Apache-2.0"
] | 8 | 2015-09-06T01:55:21.000Z | 2021-12-20T02:16:13.000Z | #include <vector>
#include <util/compression/int/compressedset/Set.h>
#include <util/compression/int/compressedset/LazyAndSet.h>
namespace izenelib
{
namespace util
{
namespace compression
{
LazyAndSet::LazyAndSet()
{
sets_ = vector<boost::shared_ptr<Set> >();
nonNullSize = 0;
setSize = 0;
init = fals... | 22.865169 | 107 | 0.523587 | izenecloud |
38ff7b8dc0ecf519a013dfe3ee8a0e2b2f4b6383 | 3,521 | cpp | C++ | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcParameterizedProfileDef.cpp | AlexVlk/ifcplusplus | 2f8cd5457312282b8d90b261dbf8fb66e1c84057 | [
"MIT"
] | 426 | 2015-04-12T10:00:46.000Z | 2022-03-29T11:03:02.000Z | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcParameterizedProfileDef.cpp | AlexVlk/ifcplusplus | 2f8cd5457312282b8d90b261dbf8fb66e1c84057 | [
"MIT"
] | 124 | 2015-05-15T05:51:00.000Z | 2022-02-09T15:25:12.000Z | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcParameterizedProfileDef.cpp | AlexVlk/ifcplusplus | 2f8cd5457312282b8d90b261dbf8fb66e1c84057 | [
"MIT"
] | 214 | 2015-05-06T07:30:37.000Z | 2022-03-26T16:14:04.000Z | /* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */
#include <sstream>
#include <limits>
#include "ifcpp/model/AttributeObject.h"
#include "ifcpp/model/BuildingException.h"
#include "ifcpp/model/BuildingGuid.h"
#include "ifcpp/reader/ReaderUtil.h"
#include "ifcpp/writer/WriterUtil.h"
#include... | 55.015625 | 244 | 0.755183 | AlexVlk |
ac014641e10e2c843aa70fa79171b5705b8df544 | 5,366 | cc | C++ | physics/neutron/models/src/NeutronNudyFissionModel.cc | Geant-RnD/geant | ffff95e23547531f3254ada2857c062a31f33e8f | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2016-10-16T14:37:42.000Z | 2018-04-05T15:49:09.000Z | physics/neutron/models/src/NeutronNudyFissionModel.cc | Geant-RnD/geant | ffff95e23547531f3254ada2857c062a31f33e8f | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | physics/neutron/models/src/NeutronNudyFissionModel.cc | Geant-RnD/geant | ffff95e23547531f3254ada2857c062a31f33e8f | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | //
#include "Geant/NeutronNudyFissionModel.h"
#include "Geant/PhysicalConstants.h"
// for Vector_t
#include "Geant/Types.h"
#include "Geant/PhysicsData.h"
#include "Geant/Isotope.h"
#include "Geant/LightTrack.h"
#include "Geant/PhysicsData.h"
#include <iostream>
#include "Geant/math_wrappers.h"
// this should be r... | 33.962025 | 109 | 0.647782 | Geant-RnD |
ac03eb4a9a1a7a7d0847a8788296833f6c931ce3 | 58 | hpp | C++ | src/boost_fusion_include_adapt_assoc_adt_named.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 10 | 2018-03-17T00:58:42.000Z | 2021-07-06T02:48:49.000Z | src/boost_fusion_include_adapt_assoc_adt_named.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 2 | 2021-03-26T15:17:35.000Z | 2021-05-20T23:55:08.000Z | src/boost_fusion_include_adapt_assoc_adt_named.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 4 | 2019-05-28T21:06:37.000Z | 2021-07-06T03:06:52.000Z | #include <boost/fusion/include/adapt_assoc_adt_named.hpp>
| 29 | 57 | 0.844828 | miathedev |
ac046d9f70569cbabb677330f09d074f1b1f2913 | 2,766 | cpp | C++ | test.cpp | hunter-packages/alltheflops-threads | f205f3f1299482cb9f55ccbecb3993eb0ffb6a38 | [
"BSD-3-Clause"
] | null | null | null | test.cpp | hunter-packages/alltheflops-threads | f205f3f1299482cb9f55ccbecb3993eb0ffb6a38 | [
"BSD-3-Clause"
] | null | null | null | test.cpp | hunter-packages/alltheflops-threads | f205f3f1299482cb9f55ccbecb3993eb0ffb6a38 | [
"BSD-3-Clause"
] | 2 | 2020-10-01T04:01:08.000Z | 2021-07-01T07:43:01.000Z |
#include "async_queue.hpp"
#include "parallel.hpp"
#include <chrono>
using namespace std::chrono;
using namespace std;
void blah(int &c, int a, int b) {
std::cout << "starting b" << std::endl;
for(int i = 0; i < b; i++)
c += a;// + b;
std::cout << "ending b" << std::endl;
}
void other(float& ou... | 34.575 | 148 | 0.522054 | hunter-packages |
f19bd8ffaa302bbcfb87123bcb193e816495ceb4 | 5,765 | hpp | C++ | transmission_interface_extensions/include/transmission_interface_extensions/posveleff_joint_interface_provider.hpp | smilerobotics/ros_control_extensions | 1eee21217708dcee80aa3d91b2c6415c1f4feffa | [
"MIT"
] | null | null | null | transmission_interface_extensions/include/transmission_interface_extensions/posveleff_joint_interface_provider.hpp | smilerobotics/ros_control_extensions | 1eee21217708dcee80aa3d91b2c6415c1f4feffa | [
"MIT"
] | null | null | null | transmission_interface_extensions/include/transmission_interface_extensions/posveleff_joint_interface_provider.hpp | smilerobotics/ros_control_extensions | 1eee21217708dcee80aa3d91b2c6415c1f4feffa | [
"MIT"
] | 1 | 2021-10-14T06:37:36.000Z | 2021-10-14T06:37:36.000Z | #ifndef TRANSMISSION_INTERFACE_EXTENSIONS_POSVELEFF_JOINT_INTERFACE_PROVIDER_HPP
#define TRANSMISSION_INTERFACE_EXTENSIONS_POSVELEFF_JOINT_INTERFACE_PROVIDER_HPP
#include <string>
#include <vector>
#include <hardware_interface/robot_hw.h>
#include <hardware_interface_extensions/posveleff_command_interface.hpp>
#inclu... | 39.486301 | 100 | 0.69072 | smilerobotics |
f19d7bd952a77946ee379e6cf579f6702f5f291a | 2,304 | cc | C++ | code/Modules/LocalFS/UnitTests/FSWrapperTest.cc | FrogAC/oryol | 7254c59411e97bbb6f2363aa685718def9f13827 | [
"MIT"
] | 1,707 | 2015-01-01T14:56:08.000Z | 2022-03-28T06:44:09.000Z | code/Modules/LocalFS/UnitTests/FSWrapperTest.cc | FrogAC/oryol | 7254c59411e97bbb6f2363aa685718def9f13827 | [
"MIT"
] | 256 | 2015-01-03T14:55:53.000Z | 2020-09-09T10:43:46.000Z | code/Modules/LocalFS/UnitTests/FSWrapperTest.cc | FrogAC/oryol | 7254c59411e97bbb6f2363aa685718def9f13827 | [
"MIT"
] | 222 | 2015-01-05T00:20:54.000Z | 2022-02-06T01:41:37.000Z | //------------------------------------------------------------------------------
// FSWrapperTest.cc
//------------------------------------------------------------------------------
#include "Pre.h"
#include "UnitTest++/src/UnitTest++.h"
#include "LocalFS/private/fsWrapper.h"
#include "Core/String/StringBuilder.h"
#in... | 34.909091 | 80 | 0.594618 | FrogAC |
f1a019cae192e5df2838a6e5a19b46e41e5efa40 | 1,347 | hpp | C++ | src/pitts_tensor2_random.hpp | melven/pitts | 491f503a99a7d1161a27672955ae53ca6b5d3412 | [
"BSD-3-Clause"
] | 2 | 2021-12-31T08:28:17.000Z | 2022-01-12T14:48:49.000Z | src/pitts_tensor2_random.hpp | melven/pitts | 491f503a99a7d1161a27672955ae53ca6b5d3412 | [
"BSD-3-Clause"
] | null | null | null | src/pitts_tensor2_random.hpp | melven/pitts | 491f503a99a7d1161a27672955ae53ca6b5d3412 | [
"BSD-3-Clause"
] | null | null | null | /*! @file pitts_tensor2_random.hpp
* @brief fill simple rank-2 tensor with random values
* @author Melven Roehrig-Zoellner <Melven.Roehrig-Zoellner@DLR.de>
* @date 2019-10-10
* @copyright Deutsches Zentrum fuer Luft- und Raumfahrt e. V. (DLR), German Aerospace Center
*
**/
// include guard
#ifndef PITTS_TENSOR2_RANDOM... | 26.94 | 92 | 0.657758 | melven |
f1a35ce4be1e7e4db135a547cd5eb3a0377ec814 | 4,694 | cpp | C++ | SRC/wfc_read_xml_from_file.cpp | SammyB428/WFC | 64aee7c7953e38c8a418ba9530339e8f4faac046 | [
"BSD-2-Clause"
] | 1 | 2021-03-29T06:09:19.000Z | 2021-03-29T06:09:19.000Z | SRC/wfc_read_xml_from_file.cpp | SammyB428/WFC | 64aee7c7953e38c8a418ba9530339e8f4faac046 | [
"BSD-2-Clause"
] | null | null | null | SRC/wfc_read_xml_from_file.cpp | SammyB428/WFC | 64aee7c7953e38c8a418ba9530339e8f4faac046 | [
"BSD-2-Clause"
] | null | null | null | /*
** Author: Samuel R. Blackburn
** Internet: wfc@pobox.com
**
** Copyright, 1995-2019, Samuel R. Blackburn
**
** "You can get credit for something or get it done, but not both."
** Dr. Richard Garwin
**
** BSD License follows.
**
** Redistribution and use in source and binary forms, with or without
** modification, a... | 30.480519 | 162 | 0.703877 | SammyB428 |
f1a8648e0f938f927e67e3c346ced40c424d252f | 1,309 | cpp | C++ | src/GUI/TexturedTabButton.cpp | tizian/Cendric2 | 5b0438c73a751bcc0d63c3af839af04ab0fb21a3 | [
"MIT"
] | 279 | 2015-05-06T19:04:07.000Z | 2022-03-21T21:33:38.000Z | src/GUI/TexturedTabButton.cpp | tizian/Cendric2 | 5b0438c73a751bcc0d63c3af839af04ab0fb21a3 | [
"MIT"
] | 222 | 2016-10-26T15:56:25.000Z | 2021-10-03T15:30:18.000Z | src/GUI/TexturedTabButton.cpp | tizian/Cendric2 | 5b0438c73a751bcc0d63c3af839af04ab0fb21a3 | [
"MIT"
] | 49 | 2015-10-01T21:23:03.000Z | 2022-03-19T20:11:31.000Z | #include "GUI/TexturedTabButton.h"
TexturedTabButton::TexturedTabButton(const sf::FloatRect& box) : TabButton(box) {}
void TexturedTabButton::render(sf::RenderTarget& renderTarget) {
renderTarget.draw(m_background);
renderTarget.draw(m_texturedLayer);
renderTarget.draw(m_border);
renderTarget.draw(m_text);
}
voi... | 35.378378 | 99 | 0.766234 | tizian |
f1a8c29ed3e3496e7c8af51a2aeb3269f7dcadba | 3,653 | cpp | C++ | Code/View/VTK/MergedSeriesSliceViewer.cpp | npettiaux/orthanc-viewer | 44fcde8bcf5e589b8f229272de68f0ef98af2f02 | [
"MIT"
] | 2 | 2017-06-11T02:39:37.000Z | 2019-04-25T11:50:07.000Z | Code/View/VTK/MergedSeriesSliceViewer.cpp | icryrainix/orthanc-viewer | 44fcde8bcf5e589b8f229272de68f0ef98af2f02 | [
"MIT"
] | null | null | null | Code/View/VTK/MergedSeriesSliceViewer.cpp | icryrainix/orthanc-viewer | 44fcde8bcf5e589b8f229272de68f0ef98af2f02 | [
"MIT"
] | 5 | 2015-05-11T09:22:14.000Z | 2019-11-13T07:56:40.000Z | /**
* Copyright (c) 2013-2014 Quentin Smetz <qsmetz@gmail.com>, Sebastien
* Jodogne <s.jodogne@gmail.com>
*
* 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, inclu... | 32.616071 | 105 | 0.665207 | npettiaux |
f1a9e8a3c404cf290fda6598f3e53f74db2f1d39 | 1,559 | cpp | C++ | EntityComponentSystem/Core/Core/ShaderPreprocessor.cpp | Spheya/Slamanander-Engine | d0708399eacab26b243045b33b51ff30d614b7bd | [
"MIT"
] | null | null | null | EntityComponentSystem/Core/Core/ShaderPreprocessor.cpp | Spheya/Slamanander-Engine | d0708399eacab26b243045b33b51ff30d614b7bd | [
"MIT"
] | null | null | null | EntityComponentSystem/Core/Core/ShaderPreprocessor.cpp | Spheya/Slamanander-Engine | d0708399eacab26b243045b33b51ff30d614b7bd | [
"MIT"
] | null | null | null | #include "ShaderPreprocessor.hpp"
#include <unordered_map>
#include <filesystem>
#include <fstream>
#include <sstream>
#include <iostream>
namespace {
std::string processFile(std::string shaderFile, std::unordered_map<std::string, bool>& includedFiles) {
// Get the absolute path to this file
std::filesystem::pat... | 25.983333 | 104 | 0.681206 | Spheya |
f1ae10ec908a7170b8ce3c96f0c0fdd2e234bb84 | 285 | cpp | C++ | scgi_server.cpp | fraxer/scgi-server | 9f26eea5bb4e27c500bffddae5e91aec0f18ab52 | [
"MIT"
] | null | null | null | scgi_server.cpp | fraxer/scgi-server | 9f26eea5bb4e27c500bffddae5e91aec0f18ab52 | [
"MIT"
] | null | null | null | scgi_server.cpp | fraxer/scgi-server | 9f26eea5bb4e27c500bffddae5e91aec0f18ab52 | [
"MIT"
] | null | null | null | #include "lib/scgi.hpp"
using namespace std;
int main(int argc, char **argv) {
locale system("");
locale::global(system);
//If You started server as daemon You must to use demonize() method
if (demonize() < 1) {
return 0;
}
init((char*)"127.0.0.1", 8080);
return 0;
} | 16.764706 | 69 | 0.635088 | fraxer |
f1aef0c46f120798cd3c4429980f3dcbda7c9cab | 9,076 | cpp | C++ | Sources/Elastos/Frameworks/Droid/WebView/Chromium/src/elastos/droid/webview/chromium/native/content/common/CleanupReference.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/Elastos/Frameworks/Droid/WebView/Chromium/src/elastos/droid/webview/chromium/native/content/common/CleanupReference.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/Frameworks/Droid/WebView/Chromium/src/elastos/droid/webview/chromium/native/content/common/CleanupReference.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 9 | 2017-07-13T12:33:20.000Z | 2021-06-19T02:46:48.000Z | //=========================================================================
// Copyright (C) 2012 The Elastos Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | 31.082192 | 113 | 0.613927 | jingcao80 |
f1af6b2a4e3259748702d39b2097fccbf3800cd0 | 2,149 | cpp | C++ | Chapter_2_Data_Structures/Non-Linear_DS_with_Built-in_Libraries/kattis_stockprices.cpp | BrandonTang89/CP4_Code | 5114471f439978dd11f6f2cbf6af20ca654593da | [
"MIT"
] | 2 | 2021-12-29T04:12:59.000Z | 2022-03-30T09:32:19.000Z | Chapter_2_Data_Structures/Non-Linear_DS_with_Built-in_Libraries/kattis_stockprices.cpp | BrandonTang89/CP4_Code | 5114471f439978dd11f6f2cbf6af20ca654593da | [
"MIT"
] | null | null | null | Chapter_2_Data_Structures/Non-Linear_DS_with_Built-in_Libraries/kattis_stockprices.cpp | BrandonTang89/CP4_Code | 5114471f439978dd11f6f2cbf6af20ca654593da | [
"MIT"
] | 1 | 2022-03-01T06:12:46.000Z | 2022-03-01T06:12:46.000Z | #pragma GCC optimize("Ofast")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,avx2,fma")
#pragma GCC optimize("unroll-loops")
#include <bits/stdc++.h>
using namespace std;
#define fast_cin() ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
priority_queue<pair<int,int> > bids; // pric... | 32.074627 | 112 | 0.469521 | BrandonTang89 |
f1b38b52f39e2d93e5ace79c8efce1eab7d2f5f7 | 3,298 | cpp | C++ | menoh/mkldnn/operator/add.cpp | yuhonghong66/menoh | cdb33dfc8ba4c8dbb4c2bc70aae4f52433116402 | [
"MIT"
] | 284 | 2018-06-21T02:00:08.000Z | 2021-11-22T07:50:22.000Z | menoh/mkldnn/operator/add.cpp | yuhonghong66/menoh | cdb33dfc8ba4c8dbb4c2bc70aae4f52433116402 | [
"MIT"
] | 174 | 2018-06-21T06:01:57.000Z | 2020-12-28T06:26:55.000Z | menoh/mkldnn/operator/add.cpp | yuhonghong66/menoh | cdb33dfc8ba4c8dbb4c2bc70aae4f52433116402 | [
"MIT"
] | 33 | 2018-06-21T04:19:17.000Z | 2020-05-08T12:51:55.000Z | #include <menoh/mkldnn/operator/add.hpp>
#include <tuple>
#include <mkldnn.hpp>
#include <menoh/utility.hpp>
#include <menoh/model_core.hpp>
#include <menoh/mkldnn/operator/common.hpp>
#include <menoh/mkldnn/utility.hpp>
namespace menoh_impl {
namespace mkldnn_backend {
primitive_factory_return_type m... | 41.225 | 92 | 0.60279 | yuhonghong66 |
f1b439a17a536e0ebfdb639369e72dc7cd36d1e0 | 3,713 | hpp | C++ | include/HoudiniEngineUnity/HEU_PreAssetEventData.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/HoudiniEngineUnity/HEU_PreAssetEventData.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/HoudiniEngineUnity/HEU_PreAssetEventData.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: HoudiniEngineUnity.HEU_AssetEventTy... | 45.839506 | 158 | 0.765957 | RedBrumbler |
f1b572ef0777fade1578ef69787ee0aafe30dd0d | 1,657 | cpp | C++ | src/SDK/Prov_SDK.cpp | Telecominfraproject/wlan-cloud-ufs | e34874f68bdb7bdefb9f94a861719b7876c1c39a | [
"BSD-3-Clause"
] | 1 | 2021-08-04T02:31:29.000Z | 2021-08-04T02:31:29.000Z | src/SDK/Prov_SDK.cpp | Telecominfraproject/wlan-cloud-ufs | e34874f68bdb7bdefb9f94a861719b7876c1c39a | [
"BSD-3-Clause"
] | 1 | 2021-08-23T14:39:20.000Z | 2021-08-23T14:39:20.000Z | src/SDK/Prov_SDK.cpp | Telecominfraproject/wlan-cloud-ufs | e34874f68bdb7bdefb9f94a861719b7876c1c39a | [
"BSD-3-Clause"
] | 1 | 2022-01-03T16:17:18.000Z | 2022-01-03T16:17:18.000Z | //
// Created by stephane bourque on 2021-10-04.
//
#include "framework/MicroService.h"
namespace OpenWifi::SDK::Prov {
bool GetFirmwareOptions( const std::string & serialNumber, std::string &firmwareUpgrade,
bool &firmwareRCOnly) {
Types::StringPairVec QueryData;
... | 39.452381 | 97 | 0.548582 | Telecominfraproject |
f1baad929509c64ebb97e07d6b7589e2b13b39da | 3,000 | cpp | C++ | main/main.cpp | mrdunk/m5stack_homeautomation | 49e414039c666a595f81b66c73e2b4e7e72f3e16 | [
"MIT"
] | null | null | null | main/main.cpp | mrdunk/m5stack_homeautomation | 49e414039c666a595f81b66c73e2b4e7e72f3e16 | [
"MIT"
] | null | null | null | main/main.cpp | mrdunk/m5stack_homeautomation | 49e414039c666a595f81b66c73e2b4e7e72f3e16 | [
"MIT"
] | 1 | 2020-04-02T13:49:45.000Z | 2020-04-02T13:49:45.000Z | #include <M5Stack.h>
#include "nvs_flash.h"
#include "esp_wifi.h"
#include "esp_event_loop.h"
#include "freertos/event_groups.h"
#include "menu.h"
#include "occupancy.h"
#include "mqtt.h"
#include "temparature.h"
#include "outlet.h"
#include "googleSheet.h"
#include "config.h"
#include "getUrl.h"
#if CONFIG_FREERTOS... | 25.210084 | 82 | 0.684 | mrdunk |
f1bde8db188380ef2fb7b8a91dbaf194e1872e84 | 6,405 | cpp | C++ | eeprom_config.cpp | nnaumenko/room_monitor_esp8266 | 41aa2f5b8803a546a8426390147090582b4ae7be | [
"MIT"
] | 2 | 2017-11-17T07:17:17.000Z | 2021-03-15T12:38:55.000Z | eeprom_config.cpp | nnaumenko/iot_ambit | 41aa2f5b8803a546a8426390147090582b4ae7be | [
"MIT"
] | 11 | 2016-08-07T16:04:34.000Z | 2017-12-30T00:57:16.000Z | eeprom_config.cpp | nnaumenko/room_monitor_esp8266 | 41aa2f5b8803a546a8426390147090582b4ae7be | [
"MIT"
] | 1 | 2017-09-29T17:44:19.000Z | 2017-09-29T17:44:19.000Z | /*
* Copyright (C) 2016-2017 Nick Naumenko (https://github.com/nnaumenko)
* All rights reserved
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
#include "diag.h"
#include "version.h"
#include "eeprom_config.h"
#include "util_data... | 51.653226 | 181 | 0.707884 | nnaumenko |
f1bf39d84489f5ce333093288394a4c08749dafa | 431 | cc | C++ | editor/win.cc | hankhank/exys | a515784ab3c673dceb34e8b286963e48d471c48d | [
"MIT"
] | null | null | null | editor/win.cc | hankhank/exys | a515784ab3c673dceb34e8b286963e48d471c48d | [
"MIT"
] | null | null | null | editor/win.cc | hankhank/exys | a515784ab3c673dceb34e8b286963e48d471c48d | [
"MIT"
] | null | null | null | #include "gvplugin.h"
extern gvplugin_library_t gvplugin_dot_layout_LTX_library;
extern gvplugin_library_t gvplugin_neato_layout_LTX_library;
extern gvplugin_library_t gvplugin_core_LTX_library;
extern gvplugin_library_t gvplugin_quartz_LTX_library;
extern gvplugin_library_t gvplugin_visio_LTX_library;
lt_symlist_t l... | 30.785714 | 72 | 0.867749 | hankhank |
f1c290db97fd84b31c4c7824da401711a52cbeab | 555 | hpp | C++ | lib/RayTracer/Rendering/Lighting/Light.hpp | ei06125/ray-tracer-challenge | 54475def8c6f82c3559871f7fce00248128bb5ba | [
"MIT"
] | null | null | null | lib/RayTracer/Rendering/Lighting/Light.hpp | ei06125/ray-tracer-challenge | 54475def8c6f82c3559871f7fce00248128bb5ba | [
"MIT"
] | null | null | null | lib/RayTracer/Rendering/Lighting/Light.hpp | ei06125/ray-tracer-challenge | 54475def8c6f82c3559871f7fce00248128bb5ba | [
"MIT"
] | null | null | null | #pragma once
#include "RayTracerPCH.hpp"
// Project Library
#include "RayTracer/Math/Tuple.hpp"
#include "RayTracer/Rendering/Color.hpp"
namespace RayTracer {
namespace Rendering {
namespace Lighting {
using namespace RayTracer::Math;
using namespace RayTracer::Rendering::Colors;
struct PointLight
{
Tuple positio... | 19.821429 | 69 | 0.756757 | ei06125 |