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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
08977ddae548d0bfbf421be88bd8b7a67d5dfde7 | 1,753 | hpp | C++ | src/MeshEdge.hpp | Loic-Corenthy/miniGL | 47976ea80e253e115eafae5934ec3ebdd2275d16 | [
"MIT"
] | 1 | 2021-08-18T03:54:22.000Z | 2021-08-18T03:54:22.000Z | src/MeshEdge.hpp | Loic-Corenthy/miniGL | 47976ea80e253e115eafae5934ec3ebdd2275d16 | [
"MIT"
] | null | null | null | src/MeshEdge.hpp | Loic-Corenthy/miniGL | 47976ea80e253e115eafae5934ec3ebdd2275d16 | [
"MIT"
] | null | null | null | //===============================================================================================//
/*!
* \file MeshEdge.hpp
* \author Loïc Corenthy
* \version 1.0
*/
//===============================================================================================//
#pragma once
#include <iostream>
... | 26.969231 | 99 | 0.494581 | Loic-Corenthy |
0899ccf06636c1042c59495e100b31d6e944693b | 1,211 | cc | C++ | src/solvers/wg/WGPreconditioner.cc | RLReed/libdetran | 77637c788823e0a14aae7e40e476a291f6f3184b | [
"MIT"
] | 4 | 2015-03-07T16:20:23.000Z | 2020-02-10T13:40:16.000Z | src/solvers/wg/WGPreconditioner.cc | RLReed/libdetran | 77637c788823e0a14aae7e40e476a291f6f3184b | [
"MIT"
] | 3 | 2018-02-27T21:24:22.000Z | 2020-12-16T00:56:44.000Z | src/solvers/wg/WGPreconditioner.cc | RLReed/libdetran | 77637c788823e0a14aae7e40e476a291f6f3184b | [
"MIT"
] | 9 | 2015-03-07T16:20:26.000Z | 2022-01-29T00:14:23.000Z | //----------------------------------*-C++-*----------------------------------//
/**
* @file WGPreconditioner.cc
* @brief WGPreconditioner
* @author Jeremy Roberts
* @date Nov 11, 2012
*/
//---------------------------------------------------------------------------//
#include "WGPreconditioner.hh"
namesp... | 27.522727 | 79 | 0.410405 | RLReed |
089c3d4542c573977e03099c1eab3ab89245371d | 2,040 | hpp | C++ | include/octargs/subparser_argument.hpp | KOLANICH/octargs | e2dfb9715a676c6a7a49b7dac7b2b71bfd9143ef | [
"MIT"
] | 4 | 2020-03-23T16:30:11.000Z | 2021-12-21T10:07:38.000Z | include/octargs/subparser_argument.hpp | KOLANICH/octargs | e2dfb9715a676c6a7a49b7dac7b2b71bfd9143ef | [
"MIT"
] | 32 | 2020-01-28T22:29:59.000Z | 2021-12-21T10:05:36.000Z | include/octargs/subparser_argument.hpp | KOLANICH/octargs | e2dfb9715a676c6a7a49b7dac7b2b71bfd9143ef | [
"MIT"
] | 1 | 2021-07-22T16:50:08.000Z | 2021-07-22T16:50:08.000Z | #ifndef OCTARGS_SUBPARSER_ARGUMENT_HPP_
#define OCTARGS_SUBPARSER_ARGUMENT_HPP_
#include "argument_base.hpp"
#include "internal/subparser_argument_impl.hpp"
namespace oct
{
namespace args
{
template <typename char_T, typename values_storage_T>
class basic_parser;
/// \brief Subparser argument
///
/// Subparser argu... | 31.875 | 119 | 0.734314 | KOLANICH |
089de3af826a5dd0b157e1514fad6dd002c5fec5 | 9,079 | cpp | C++ | src/main/resources/main/c++/World.cpp | yildiz-online/module-physics-bullet | f40d947686a7d9073bdfc213a9fb898924a93e90 | [
"MIT"
] | null | null | null | src/main/resources/main/c++/World.cpp | yildiz-online/module-physics-bullet | f40d947686a7d9073bdfc213a9fb898924a93e90 | [
"MIT"
] | 10 | 2018-11-19T20:36:02.000Z | 2021-12-03T03:03:52.000Z | src/main/resources/main/c++/World.cpp | yildiz-online/module-physics-bullet | f40d947686a7d9073bdfc213a9fb898924a93e90 | [
"MIT"
] | null | null | null | /*
* This file is part of the Yildiz-Engine project, licenced under the MIT License (MIT)
*
* Copyright (c) 2019 Grégory Van den Borre
*
* More infos available: https://engine.yildiz-games.be
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
* docu... | 38.799145 | 119 | 0.660645 | yildiz-online |
08a1dd5ae3585187cbce42bca114816e809d687c | 4,266 | cpp | C++ | Ikasesteka/Classes/Scenes/Win.cpp | irontec/Ikasesteka | e5c33445f7ed4aefae7cebbc4f60b00fc943c6eb | [
"MIT"
] | 2 | 2015-02-28T02:49:32.000Z | 2019-08-31T23:09:48.000Z | Ikasesteka/Classes/Scenes/Win.cpp | irontec/Ikasesteka | e5c33445f7ed4aefae7cebbc4f60b00fc943c6eb | [
"MIT"
] | null | null | null | Ikasesteka/Classes/Scenes/Win.cpp | irontec/Ikasesteka | e5c33445f7ed4aefae7cebbc4f60b00fc943c6eb | [
"MIT"
] | 1 | 2019-12-25T01:42:10.000Z | 2019-12-25T01:42:10.000Z | //
// Win.cpp
// IkasGame
//
// Created by Sergio Garcia on 11/2/15.
//
//
#include "Win.h"
#include "../Singletons/GameSettingsManager.h"
#include "../Singletons/SceneManager.h"
#include "../Singletons/SoundManager.h"
#include "../Singletons/AppManager.h"
#include "../Helpers/LanguageManager.h"
#include "../Helper... | 39.137615 | 219 | 0.7391 | irontec |
08a4f58321af313b9087d71f731a466cc776acf1 | 2,668 | cpp | C++ | third-party/Empirical/demos/utils/data/Histogram.cpp | koellingh/empirical-p53-simulator | aa6232f661e8fc65852ab6d3e809339557af521b | [
"MIT"
] | null | null | null | third-party/Empirical/demos/utils/data/Histogram.cpp | koellingh/empirical-p53-simulator | aa6232f661e8fc65852ab6d3e809339557af521b | [
"MIT"
] | null | null | null | third-party/Empirical/demos/utils/data/Histogram.cpp | koellingh/empirical-p53-simulator | aa6232f661e8fc65852ab6d3e809339557af521b | [
"MIT"
] | null | null | null | #include "../../../include/emp/base/vector.hpp"
#include "../../../include/emp/config/command_line.hpp"
#include "../../../include/emp/config/SettingConfig.hpp"
#include "../../../include/emp/data/DataLog.hpp"
#include "../../../include/emp/io/File.hpp"
#include "../../../include/emp/datastructs/vector_utils.hpp"
#incl... | 29.977528 | 86 | 0.609445 | koellingh |
08a5df737092834f14a7425440bd9084c8edd30c | 646 | cc | C++ | src/utils/toft_storage_sharding_fingerprint_sharding.cc | pengdu/bubblefs | 9b27e191a287b3a1d012adfd3bab6a30629a5f33 | [
"BSD-3-Clause"
] | 1 | 2021-01-11T14:19:51.000Z | 2021-01-11T14:19:51.000Z | src/utils/toft_storage_sharding_fingerprint_sharding.cc | pengdu/bubblefs | 9b27e191a287b3a1d012adfd3bab6a30629a5f33 | [
"BSD-3-Clause"
] | null | null | null | src/utils/toft_storage_sharding_fingerprint_sharding.cc | pengdu/bubblefs | 9b27e191a287b3a1d012adfd3bab6a30629a5f33 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2013, The Toft Authors.
// All rights reserved.
//
// Author: Ye Shunping <yeshunping@gmail.com>
// toft/storage/sharding/fingerprint_sharding.cc
#include "utils/toft_storage_sharding_fingerprint_sharding.h"
#include "utils/toft_hash_fingerprint.h"
namespace bubblefs {
namespace mytoft {
Fingerpri... | 21.533333 | 61 | 0.764706 | pengdu |
08a5fb79be8d1ac00a44dc45b68db71184c74a7f | 672 | cpp | C++ | main.cpp | andrea993/SPR_Denoiser | 9b8f6bca9bb11922b7b6a257996d0b8f217851fd | [
"MIT"
] | null | null | null | main.cpp | andrea993/SPR_Denoiser | 9b8f6bca9bb11922b7b6a257996d0b8f217851fd | [
"MIT"
] | null | null | null | main.cpp | andrea993/SPR_Denoiser | 9b8f6bca9bb11922b7b6a257996d0b8f217851fd | [
"MIT"
] | 1 | 2020-05-19T17:49:14.000Z | 2020-05-19T17:49:14.000Z | #include <iostream>
#include <cstdlib>
#include "denoiser.hpp"
#include <eigen3/Eigen/Dense>
std::istream& operator>>(std::istream& is, Eigen::VectorXd& v) {
int size;
is >> size;
v.resize(size);
for(int i = 0; i < size; ++i) {
is >> v(i);
}
return is;
}
int main() {... | 19.764706 | 68 | 0.5 | andrea993 |
08a9a6b7b66b944152d462945f622cd5f94dd38a | 754 | cpp | C++ | tools/AppInsights/src/core/contracts/StackFrame.cpp | crossmob/WinObjC | 7bec24671c4c18b81aaf85eff2887438f18a697c | [
"MIT"
] | 6,717 | 2015-08-06T18:04:37.000Z | 2019-05-04T12:38:51.000Z | tools/AppInsights/src/core/contracts/StackFrame.cpp | Michael-Young48/WinObjC | 7bec24671c4c18b81aaf85eff2887438f18a697c | [
"MIT"
] | 2,711 | 2015-08-06T18:41:09.000Z | 2019-04-29T12:14:23.000Z | tools/AppInsights/src/core/contracts/StackFrame.cpp | Michael-Young48/WinObjC | 7bec24671c4c18b81aaf85eff2887438f18a697c | [
"MIT"
] | 1,021 | 2015-08-06T18:08:56.000Z | 2019-04-14T06:50:57.000Z | #include "StackFrame.h"
using namespace ApplicationInsights::core;
StackFrame::StackFrame()
{
}
StackFrame::~StackFrame()
{
}
void StackFrame::Serialize(Serializer& serializer) const
{
serializer.WritePropertyName(L"level");
serializer.WriteIntegerValue(m_level);
serializer.WritePropertyName(L"meth... | 20.378378 | 56 | 0.690981 | crossmob |
08aafdc5403a07bfd757199e3374e2bd9c22579c | 2,938 | cpp | C++ | mainwindow.cpp | yeliudev/Navigator-plus-plus | 7f662a9bdc157bf15a172386d5a19185edca661c | [
"MIT"
] | null | null | null | mainwindow.cpp | yeliudev/Navigator-plus-plus | 7f662a9bdc157bf15a172386d5a19185edca661c | [
"MIT"
] | null | null | null | mainwindow.cpp | yeliudev/Navigator-plus-plus | 7f662a9bdc157bf15a172386d5a19185edca661c | [
"MIT"
] | null | null | null | #include <QFileDialog>
#include <QMessageBox>
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "dialog.h"
using namespace std;
/*************************************************
* @brief MainWindow 类的构造函数
*************************************************/
MainWindow::MainWindow() : ui(new Ui::MainWindow... | 26 | 96 | 0.46256 | yeliudev |
08acfa4eba959e743cf71144e147a5a8de7987a9 | 661 | hpp | C++ | p3iv_types/include/p3iv_types/route_option.hpp | fzi-forschungszentrum-informatik/P3IV | 51784e6dc03dcaa0ad58a5078475fa4daec774bd | [
"BSD-3-Clause"
] | 4 | 2021-07-27T06:56:22.000Z | 2022-03-22T11:21:30.000Z | p3iv_types/include/p3iv_types/route_option.hpp | fzi-forschungszentrum-informatik/P3IV | 51784e6dc03dcaa0ad58a5078475fa4daec774bd | [
"BSD-3-Clause"
] | null | null | null | p3iv_types/include/p3iv_types/route_option.hpp | fzi-forschungszentrum-informatik/P3IV | 51784e6dc03dcaa0ad58a5078475fa4daec774bd | [
"BSD-3-Clause"
] | 1 | 2021-10-10T01:56:44.000Z | 2021-10-10T01:56:44.000Z | #pragma once
#include <memory>
#include <vector>
#include "driving_corridor.hpp"
#include "traffic_rules.hpp"
#include "internal/point2d.hpp"
namespace p3iv_types {
struct Crossing {
double begin;
double end;
};
class RouteOption {
public:
RouteOption() = default;
RouteOption(const VectorPoint2d&... | 18.361111 | 100 | 0.741301 | fzi-forschungszentrum-informatik |
08ad07d632934f68a5931ae4d3db330d740dffb1 | 4,849 | cpp | C++ | nanocv/trainers/batch.cpp | 0x0all/nanocv | dc58dea6b4eb7be2089b168d39c2b02aa2730741 | [
"MIT"
] | null | null | null | nanocv/trainers/batch.cpp | 0x0all/nanocv | dc58dea6b4eb7be2089b168d39c2b02aa2730741 | [
"MIT"
] | null | null | null | nanocv/trainers/batch.cpp | 0x0all/nanocv | dc58dea6b4eb7be2089b168d39c2b02aa2730741 | [
"MIT"
] | 1 | 2018-08-02T02:41:37.000Z | 2018-08-02T02:41:37.000Z | #include "batch.h"
#include "nanocv/timer.h"
#include "nanocv/logger.h"
#include "nanocv/sampler.h"
#include "nanocv/minimize.h"
#include "nanocv/accumulator.h"
#include "nanocv/log_search.hpp"
namespace ncv
{
namespace
{
opt_state_t train_batch(
trainer_... | 46.180952 | 128 | 0.43906 | 0x0all |
08adf963915b4c0fccd11bc473d005574ab834b0 | 30,923 | cc | C++ | src/vnsw/agent/uve/mock_generator.cc | kaweue/contrail-controller | 66a8f1d13e2c28ddae6b5a5be6f068a03bea94e3 | [
"Apache-2.0"
] | null | null | null | src/vnsw/agent/uve/mock_generator.cc | kaweue/contrail-controller | 66a8f1d13e2c28ddae6b5a5be6f068a03bea94e3 | [
"Apache-2.0"
] | null | null | null | src/vnsw/agent/uve/mock_generator.cc | kaweue/contrail-controller | 66a8f1d13e2c28ddae6b5a5be6f068a03bea94e3 | [
"Apache-2.0"
] | null | null | null | //
// Copyright (c) 2014 Juniper Networks, Inc. All rights reserved.
//
#include <sys/types.h>
#include <unistd.h>
#include <boost/asio/ip/address.hpp>
#include <boost/asio/ip/host_name.hpp>
#include <boost/program_options.hpp>
#include <boost/assign/list_of.hpp>
#include <boost/uuid/random_generator.hpp>
#include <b... | 47.794436 | 93 | 0.565081 | kaweue |
08af87c6a633f86296bab73254db3fc2f197f8cb | 3,316 | cpp | C++ | iree/compiler/Dialect/Flow/Transforms/TestPartitionableLoopsInterface.cpp | L-Net-1992/iree | a9ce2574f11ce811c07c21b49f679667d66f7798 | [
"Apache-2.0"
] | null | null | null | iree/compiler/Dialect/Flow/Transforms/TestPartitionableLoopsInterface.cpp | L-Net-1992/iree | a9ce2574f11ce811c07c21b49f679667d66f7798 | [
"Apache-2.0"
] | null | null | null | iree/compiler/Dialect/Flow/Transforms/TestPartitionableLoopsInterface.cpp | L-Net-1992/iree | a9ce2574f11ce811c07c21b49f679667d66f7798 | [
"Apache-2.0"
] | null | null | null | // Copyright 2022 The IREE Authors
//
// Licensed under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#include "iree/compiler/Dialect/Flow/IR/PartitionableLoopsInterface.h"
#include "iree/compiler/Di... | 35.655914 | 80 | 0.727081 | L-Net-1992 |
08b1219de4621cd2345956a8c8746dd7848ca4d1 | 1,770 | cpp | C++ | Sandbox/src/Cloud.cpp | conholo/GLU-GLUT-Sandbox | 09b3d9351a56aa8b47bbe20989e99c4c05e62e7f | [
"MIT"
] | null | null | null | Sandbox/src/Cloud.cpp | conholo/GLU-GLUT-Sandbox | 09b3d9351a56aa8b47bbe20989e99c4c05e62e7f | [
"MIT"
] | null | null | null | Sandbox/src/Cloud.cpp | conholo/GLU-GLUT-Sandbox | 09b3d9351a56aa8b47bbe20989e99c4c05e62e7f | [
"MIT"
] | null | null | null | #include "Cloud.h"
#include "glew.h"
#include <GL/gl.h>
#include <GL/glu.h>
#include "glut.h"
#include <iostream>
#include <glm/gtx/compatibility.hpp>
#include "Core/Geometry/Vertex.h"
#include "Core/Random.h"
Cloud::Cloud(const glm::vec3& position, float radius, uint32_t count)
:m_Position(position), m_Radius(rad... | 26.818182 | 97 | 0.720339 | conholo |
08b183b55ccbab39c1415d327cde75f8bd52712c | 641 | cpp | C++ | C++ Programs/smallest-number-left.cpp | Chibi-Shem/Hacktoberfest2020-Expert | 324843464aec039e130e85a16e74b76d310f1497 | [
"MIT"
] | 77 | 2020-10-01T10:06:59.000Z | 2021-11-08T08:57:18.000Z | C++ Programs/smallest-number-left.cpp | Chibi-Shem/Hacktoberfest2020-Expert | 324843464aec039e130e85a16e74b76d310f1497 | [
"MIT"
] | 46 | 2020-09-27T04:55:36.000Z | 2021-05-14T18:49:06.000Z | C++ Programs/smallest-number-left.cpp | Chibi-Shem/Hacktoberfest2020-Expert | 324843464aec039e130e85a16e74b76d310f1497 | [
"MIT"
] | 327 | 2020-09-26T17:06:03.000Z | 2021-10-09T06:04:39.000Z | #include<bits/stdc++.h>
using namespace std;
void smallerleft(int array[], int n){
stack<int> s;
for(int i =0;i<n;i++){
while(!s.empty() && s.top() >= array[i]){
s.pop();
}
if(s.empty()) cout<<"-1"<<" ";
else cout<<s.top()<<" ";
... | 15.634146 | 49 | 0.368175 | Chibi-Shem |
08b22b604ea13976ec6e6d32cf5b2e2813015650 | 574 | hpp | C++ | src/TimeStamp.hpp | vinthewrench/FooServer | 1e00a80df41235d29c6402cb8ae4d1f7bbbe07a6 | [
"MIT"
] | null | null | null | src/TimeStamp.hpp | vinthewrench/FooServer | 1e00a80df41235d29c6402cb8ae4d1f7bbbe07a6 | [
"MIT"
] | null | null | null | src/TimeStamp.hpp | vinthewrench/FooServer | 1e00a80df41235d29c6402cb8ae4d1f7bbbe07a6 | [
"MIT"
] | null | null | null | //
// TimeStamp.hpp
//
// Created by Vincent Moscaritolo on 5/6/21.
//
#ifndef TimeStamp_hpp
#define TimeStamp_hpp
#include <stdlib.h>
#include <time.h>
#include <string>
namespace timestamp {
class TimeStamp{
public:
TimeStamp(bool isGMT = true);
TimeStamp(std::string str);
TimeStamp(time_t time) { _time =... | 14.717949 | 45 | 0.689895 | vinthewrench |
08b4a774e5fda8ddaed3ce0f057b09938d78b021 | 3,193 | cc | C++ | ess/src/model/RecordLifecycleActionHeartbeatRequest.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | ess/src/model/RecordLifecycleActionHeartbeatRequest.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | ess/src/model/RecordLifecycleActionHeartbeatRequest.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... | 29.841121 | 109 | 0.798309 | iamzken |
08b543ad9ce1855d889cc85e9daf88d02bdffeaa | 351 | cpp | C++ | ImperatorToCK3/Source/CK3Outputter/outDynasty.cpp | Idhrendur/ImperatorToCK3 | 49a183919f019bcd54c032d752172ffd2fb77f0b | [
"MIT"
] | 2 | 2021-04-01T14:56:47.000Z | 2021-07-31T18:37:15.000Z | ImperatorToCK3/Source/CK3Outputter/outDynasty.cpp | Idhrendur/ImperatorToCK3 | 49a183919f019bcd54c032d752172ffd2fb77f0b | [
"MIT"
] | null | null | null | ImperatorToCK3/Source/CK3Outputter/outDynasty.cpp | Idhrendur/ImperatorToCK3 | 49a183919f019bcd54c032d752172ffd2fb77f0b | [
"MIT"
] | null | null | null | #include "outDynasty.h"
#include "CK3/Dynasties/Dynasty.h"
std::ostream& CK3::operator<<(std::ostream& output, const Dynasty& dynasty) {
// output ID, name and culture
output << dynasty.ID << " = {\n";
output << "\tname = \"" << dynasty.name << "\"\n";
output << "\tculture = " << dynasty.culture << "\n";
output... | 23.4 | 77 | 0.598291 | Idhrendur |
08b60c3a9be640a736a489285d5108a4b33269ca | 1,116 | cpp | C++ | Algorithms & Data Structures/Sorting Algorithms Implementation/MergeSort.cpp | zementalist/Professional-Experience | 04fc2db56ea3dd2389577ae90e479028009724f5 | [
"Apache-2.0"
] | null | null | null | Algorithms & Data Structures/Sorting Algorithms Implementation/MergeSort.cpp | zementalist/Professional-Experience | 04fc2db56ea3dd2389577ae90e479028009724f5 | [
"Apache-2.0"
] | null | null | null | Algorithms & Data Structures/Sorting Algorithms Implementation/MergeSort.cpp | zementalist/Professional-Experience | 04fc2db56ea3dd2389577ae90e479028009724f5 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <cmath>
using namespace std;
void print(int arr[], int size) {
for (int i = 0; i < size; i++) {
cout << arr[i] << "\t";
}
cout << endl;
}
void merge(int arr[], int l, int r, int mid) {
int leftSize = (int) ceil( (double) ((r - l + 1) / 2));
int rightSize = (r - l + 1) / 2;
int *le... | 18.295082 | 56 | 0.515233 | zementalist |
08b709ddb700803cc34fbaf6c69103642f64a530 | 63,953 | cc | C++ | src/tim/vx/ops/conv2d_test.cc | onepick/TIM-VX | ac2e0585805e0dd65cc93829d68b29ec3d83ac4d | [
"MIT"
] | 118 | 2021-01-12T01:56:25.000Z | 2022-03-30T09:50:58.000Z | src/tim/vx/ops/conv2d_test.cc | onepick/TIM-VX | ac2e0585805e0dd65cc93829d68b29ec3d83ac4d | [
"MIT"
] | 114 | 2021-01-29T08:21:43.000Z | 2022-03-28T11:58:10.000Z | src/tim/vx/ops/conv2d_test.cc | onepick/TIM-VX | ac2e0585805e0dd65cc93829d68b29ec3d83ac4d | [
"MIT"
] | 56 | 2021-01-12T02:42:53.000Z | 2022-03-24T02:15:20.000Z | #include "tim/vx/ops/conv2d.h"
#include "gtest/gtest.h"
#include "test_utils.h"
#include "tim/vx/context.h"
#include "tim/vx/graph.h"
#include "tim/vx/types.h"
TEST(Conv2d, shape_4_2_1_1_float32_PaddingTest) {
auto ctx = tim::vx::Context::Create();
auto graph = ctx->CreateGraph();
tim::vx::ShapeType input_shap... | 38.948234 | 83 | 0.623208 | onepick |
08bb772415dc12db3244ac534cbf01afcff0fb71 | 9,260 | cpp | C++ | src/BlankPanel8HP.cpp | DomiKamu/Ohmer | c1c62e0f8a766c25e4f1848c9e4f5d56253ef34a | [
"BSD-3-Clause"
] | 7 | 2019-07-29T19:07:01.000Z | 2021-10-01T14:21:29.000Z | src/BlankPanel8HP.cpp | DomiKamu/Ohmer | c1c62e0f8a766c25e4f1848c9e4f5d56253ef34a | [
"BSD-3-Clause"
] | 6 | 2019-07-26T20:54:12.000Z | 2021-12-14T01:22:31.000Z | src/BlankPanel8HP.cpp | DomiKamu/Ohmer | c1c62e0f8a766c25e4f1848c9e4f5d56253ef34a | [
"BSD-3-Clause"
] | 3 | 2020-09-20T00:37:47.000Z | 2021-12-14T07:31:18.000Z | ////////////////////////////////////////////////////////////////////////////////////////////////////
////// Blank Panel 8 HP module /////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////
#include "Ohmer.... | 35.891473 | 144 | 0.699784 | DomiKamu |
08bc69b1c7a19d0fbdd8e3181f145677e1ee5b97 | 2,162 | cpp | C++ | Jelly/src/AudioManager.cpp | RikdeRooij/Hazel | 029fd852872be2be66f97f8bb9e4ee525751b18d | [
"Apache-2.0"
] | 1 | 2021-06-17T14:15:45.000Z | 2021-06-17T14:15:45.000Z | Jelly/src/AudioManager.cpp | RikdeRooij/Hazel | 029fd852872be2be66f97f8bb9e4ee525751b18d | [
"Apache-2.0"
] | null | null | null | Jelly/src/AudioManager.cpp | RikdeRooij/Hazel | 029fd852872be2be66f97f8bb9e4ee525751b18d | [
"Apache-2.0"
] | null | null | null |
#include "AudioManager.h"
#include "AudioPlayer.h"
#include "glm/detail/func_geometric.inl"
#include "Player.h"
void AudioManager::AddFile(Sounds::Type sndType, const char* filepath)
{
//filepaths[sndType] = filepath;
//auto ap = AudioPlayerFactory::createFromFile(filepath);
AudioPlayer* ap = new AudioPl... | 27.367089 | 104 | 0.653099 | RikdeRooij |
08bd3a3cdea5f78aae131b1f54c482654d57607d | 2,388 | cpp | C++ | vm/capi/string19.cpp | godfat/rubinius | d6a7a3323af0348800118ccd0b13fdf80adbbcef | [
"BSD-3-Clause"
] | null | null | null | vm/capi/string19.cpp | godfat/rubinius | d6a7a3323af0348800118ccd0b13fdf80adbbcef | [
"BSD-3-Clause"
] | null | null | null | vm/capi/string19.cpp | godfat/rubinius | d6a7a3323af0348800118ccd0b13fdf80adbbcef | [
"BSD-3-Clause"
] | null | null | null | #include "vm/vm.hpp"
#include "capi/19/include/ruby/ruby.h"
#include "capi/19/include/ruby/encoding.h"
#include "builtin/bytearray.hpp"
#include "builtin/encoding.hpp"
#include "builtin/fixnum.hpp"
#include "builtin/integer.hpp"
#include "builtin/nativemethod.hpp"
#include "builtin/object.hpp"
#include "builtin/strin... | 25.956522 | 96 | 0.697236 | godfat |
08bfc6deaab93e37ad4ace6629735eaaad365ed5 | 88,979 | cpp | C++ | UnoTransport.cpp | ashwin-nat/UnoTransport | a26f55fdfda4b1dbb82359800dcf6788b1945906 | [
"MIT"
] | null | null | null | UnoTransport.cpp | ashwin-nat/UnoTransport | a26f55fdfda4b1dbb82359800dcf6788b1945906 | [
"MIT"
] | null | null | null | UnoTransport.cpp | ashwin-nat/UnoTransport | a26f55fdfda4b1dbb82359800dcf6788b1945906 | [
"MIT"
] | null | null | null | /**
* @file UnoTransport.cpp
* @author Ashwin Natarajan
* @brief This file contains the implementation of the protocol and methods specified in UnoTransport.hpp
* @version 0.1
* @date 2020-08-30
*
* @copyright MIT License
Copyright (c) 2020 Ashwin N
Permission is hereby granted, free of charge, to any per... | 39.094464 | 135 | 0.620371 | ashwin-nat |
08bff7998f296020b5eae82d91978a16d01d69da | 1,533 | cpp | C++ | project/OFEC_sc2/instance/algorithm/realworld/DVRP/LKH/ReadPenalties.cpp | BaiChunhui-9803/bch_sc2_OFEC | d50211b27df5a51a953a2475b6c292d00cbfeff6 | [
"MIT"
] | null | null | null | project/OFEC_sc2/instance/algorithm/realworld/DVRP/LKH/ReadPenalties.cpp | BaiChunhui-9803/bch_sc2_OFEC | d50211b27df5a51a953a2475b6c292d00cbfeff6 | [
"MIT"
] | null | null | null | project/OFEC_sc2/instance/algorithm/realworld/DVRP/LKH/ReadPenalties.cpp | BaiChunhui-9803/bch_sc2_OFEC | d50211b27df5a51a953a2475b6c292d00cbfeff6 | [
"MIT"
] | null | null | null | #include "./INCLUDE/LKH.h"
/*
* The ReadPenalties function attempts to read node penalties (Pi-values)
* from file.
*
* The first line of the file contains the number of nodes.
*
* Each of the following lines is of the form
* <integer> <integer>
* where the first integer is a node number, and the second... | 24.333333 | 73 | 0.629485 | BaiChunhui-9803 |
08c2155ebd781021501c4901e5fec5cbdd2518dd | 1,511 | cpp | C++ | launcher/settings/INIFile_test.cpp | Spacc-Inc/MultiMC5-Cracked | 4afe2466fd5639bf8a03bfb866c070e705420d86 | [
"Apache-2.0"
] | 2,777 | 2015-01-02T17:20:34.000Z | 2021-10-20T12:34:27.000Z | launcher/settings/INIFile_test.cpp | Spacc-Inc/MultiMC5-Cracked | 4afe2466fd5639bf8a03bfb866c070e705420d86 | [
"Apache-2.0"
] | 3,537 | 2015-01-01T00:51:03.000Z | 2021-10-20T07:35:33.000Z | launcher/settings/INIFile_test.cpp | Spacc-Inc/MultiMC5-Cracked | 4afe2466fd5639bf8a03bfb866c070e705420d86 | [
"Apache-2.0"
] | 774 | 2015-01-07T19:44:39.000Z | 2021-10-19T18:10:38.000Z | #include <QTest>
#include "TestUtil.h"
#include "settings/INIFile.h"
class IniFileTest : public QObject
{
Q_OBJECT
private
slots:
void initTestCase()
{
}
void cleanupTestCase()
{
}
void test_Escape_data()
{
QTest::addColumn<QString>("through");
QTest::newRow("un... | 23.609375 | 104 | 0.568498 | Spacc-Inc |
08c219c9ee01e0db5940f85eb21f871c5b6d4a68 | 1,376 | hxx | C++ | com/ole32/com/inc/memdebug.hxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | com/ole32/com/inc/memdebug.hxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | com/ole32/com/inc/memdebug.hxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //+--------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992 - 1992
//
// File: memdebug.hxx
//
// Contents: Error code handler routines
//
// History: 19-Mar-92 DrewB Created
//
//-------------------------------------------------... | 24.571429 | 75 | 0.579942 | npocmaka |
08c3d0fa4ab85ad2966db26ba479f8b6eb3dadb8 | 3,393 | cpp | C++ | src/engine/core/rendering/Texture.cpp | maksmaisak/Saxion_Y2Q2_Rendering | 14cf23c4e333599f16d200879301e8d5548e562b | [
"MIT"
] | null | null | null | src/engine/core/rendering/Texture.cpp | maksmaisak/Saxion_Y2Q2_Rendering | 14cf23c4e333599f16d200879301e8d5548e562b | [
"MIT"
] | null | null | null | src/engine/core/rendering/Texture.cpp | maksmaisak/Saxion_Y2Q2_Rendering | 14cf23c4e333599f16d200879301e8d5548e562b | [
"MIT"
] | null | null | null |
#include "Texture.hpp"
#include <algorithm>
#include <utility>
#include <iostream>
#include <string>
#include <cassert>
#include <array>
#include <SFML/Graphics.hpp> // For sf::Image
#include "glm.hpp"
#include "GLHelpers.h"
using namespace en;
namespace {
int getNumMipmaps(Texture::Size size) {... | 27.144 | 153 | 0.625995 | maksmaisak |
c095ac245c998b6c3b6e13d78df775b1a04017ea | 3,032 | hxx | C++ | main/sw/inc/fmturl.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/sw/inc/fmturl.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/sw/inc/fmturl.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 34.067416 | 103 | 0.675132 | Grosskopf |
c09718d963b239802830ca2ce22bfbd41913313c | 13,342 | cpp | C++ | src/cost_functions/src/cost_functions.cpp | codyreading/CarND-Path-Planning-Project | b93f0da2e9ec30416b71497725521955e6c2c315 | [
"MIT"
] | null | null | null | src/cost_functions/src/cost_functions.cpp | codyreading/CarND-Path-Planning-Project | b93f0da2e9ec30416b71497725521955e6c2c315 | [
"MIT"
] | null | null | null | src/cost_functions/src/cost_functions.cpp | codyreading/CarND-Path-Planning-Project | b93f0da2e9ec30416b71497725521955e6c2c315 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <functional>
#include <math.h>
#include "cost_functions.hpp"
#include "vehicle.hpp"
#include "path.hpp"
#include "state_machine.hpp"
#include "collision_detector.hpp"
#include "utils.hpp"
double speedCostFunction(const Vehicle &ego, const std::vector<Vehicle> &others, Pat... | 31.766667 | 150 | 0.625019 | codyreading |
c0976169ad487a34974c52771dc1de412c683277 | 1,043 | hpp | C++ | addons/ares_compositions/Ares Community/Vernei =SO=/Bunkers & Fighting Positions/Tank Fighting Position.hpp | Braincrushy/TBMod | 785f11cd9cd0defb0d01a6d2861beb6c207eb8a3 | [
"MIT"
] | null | null | null | addons/ares_compositions/Ares Community/Vernei =SO=/Bunkers & Fighting Positions/Tank Fighting Position.hpp | Braincrushy/TBMod | 785f11cd9cd0defb0d01a6d2861beb6c207eb8a3 | [
"MIT"
] | 4 | 2018-12-21T06:57:25.000Z | 2020-07-09T09:06:38.000Z | addons/ares_compositions/Ares Community/Vernei =SO=/Bunkers & Fighting Positions/Tank Fighting Position.hpp | Braincrushy/TBMod | 785f11cd9cd0defb0d01a6d2861beb6c207eb8a3 | [
"MIT"
] | null | null | null | class Object0 {side=8;rank="";vehicle="Land_HBarrier_5_F";position[]={-4.32715,1.41943,0};dir=282.158;};
class Object1 {side=8;rank="";vehicle="Land_HBarrier_5_F";position[]={4.41309,1.22168,0};dir=261.111;};
class Object2 {side=8;rank="";vehicle="Land_HBarrier_5_F";position[]={5.28711,-4.24902,0};dir=261.111;};
class ... | 104.3 | 105 | 0.714286 | Braincrushy |
c09a298bffa5ba0bd62b3ee28d231be5328aa06c | 15,266 | cpp | C++ | software/src/texttools.cpp | osharuda/home-lab-easy-k | 30f6e8ae3c5b27711e0da83cc823100b6ac14dfe | [
"Apache-2.0"
] | 5 | 2021-02-09T09:31:39.000Z | 2021-03-18T21:15:02.000Z | software/src/texttools.cpp | osharuda/home-lab-easy-kit | 30f6e8ae3c5b27711e0da83cc823100b6ac14dfe | [
"Apache-2.0"
] | null | null | null | software/src/texttools.cpp | osharuda/home-lab-easy-kit | 30f6e8ae3c5b27711e0da83cc823100b6ac14dfe | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2021 Oleh Sharuda <oleh.sharuda@gmail.com>
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unles... | 30.532 | 135 | 0.581816 | osharuda |
c09a64bc764a0ee7b849dc5b95e85a29fcab89c3 | 2,760 | ipp | C++ | implement/oglplus/enums/memory_barrier_bit_names.ipp | Extrunder/oglplus | c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791 | [
"BSL-1.0"
] | 459 | 2016-03-16T04:11:37.000Z | 2022-03-31T08:05:21.000Z | implement/oglplus/enums/memory_barrier_bit_names.ipp | Extrunder/oglplus | c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791 | [
"BSL-1.0"
] | 2 | 2016-08-08T18:26:27.000Z | 2017-05-08T23:42:22.000Z | implement/oglplus/enums/memory_barrier_bit_names.ipp | Extrunder/oglplus | c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791 | [
"BSL-1.0"
] | 47 | 2016-05-31T15:55:52.000Z | 2022-03-28T14:49:40.000Z | // File implement/oglplus/enums/memory_barrier_bit_names.ipp
//
// Automatically generated file, DO NOT modify manually.
// Edit the source 'source/enums/oglplus/memory_barrier_bit.txt'
// or the 'source/enums/make_enum.py' script instead.
//
// Copyright 2010-2015 Matus Chochlik.
// Distributed under the Boost S... | 35.384615 | 94 | 0.838768 | Extrunder |
c09a93549fe66ee9fc78634d7a6ca089a788c931 | 31 | cpp | C++ | test/test_thrust.cpp | subhashis/MVEDDA | ff8fb64f8cd9d84ec4aa99a21ed146a8d3af7d7d | [
"MIT"
] | 3 | 2016-01-15T20:17:21.000Z | 2021-01-21T02:32:15.000Z | test/test_thrust.cpp | subhashis/MVEDDA | ff8fb64f8cd9d84ec4aa99a21ed146a8d3af7d7d | [
"MIT"
] | 11 | 2016-07-26T01:37:46.000Z | 2018-06-19T16:50:25.000Z | test/test_thrust.cpp | subhashis/MVEDDA | ff8fb64f8cd9d84ec4aa99a21ed146a8d3af7d7d | [
"MIT"
] | 12 | 2016-02-09T04:31:41.000Z | 2021-12-03T01:04:04.000Z | #include "test_thrust_cuda.cu"
| 15.5 | 30 | 0.806452 | subhashis |
c09c24f196f65b99747b025f09ca7f8a7d28d6df | 2,773 | cc | C++ | EventFilter/CSCRawToDigi/src/CSCDMBHeader2013.cc | Purva-Chaudhari/cmssw | 32e5cbfe54c4d809d60022586cf200b7c3020bcf | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | EventFilter/CSCRawToDigi/src/CSCDMBHeader2013.cc | Purva-Chaudhari/cmssw | 32e5cbfe54c4d809d60022586cf200b7c3020bcf | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | EventFilter/CSCRawToDigi/src/CSCDMBHeader2013.cc | Purva-Chaudhari/cmssw | 32e5cbfe54c4d809d60022586cf200b7c3020bcf | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | #include "EventFilter/CSCRawToDigi/interface/CSCDMBHeader2013.h"
#include "DataFormats/CSCDigi/interface/CSCConstants.h"
#include <iostream>
CSCDMBHeader2013::CSCDMBHeader2013() {
bzero(data(), sizeInWords() * 2);
bits.ddu_code_1 = bits.ddu_code_2 = bits.ddu_code_3 = bits.ddu_code_4 = 0xA;
bits.newddu_code_1 = b... | 35.101266 | 113 | 0.734223 | Purva-Chaudhari |
c0a1c7382c4cbfc294ca103c1d33c314c28ca55e | 2,701 | cpp | C++ | src/main/cpp/dedekind-mkl/ComplexFloatArray.cpp | stefan-zobel/dedekind-MKL | 7064ff6fb6f7fc320a519b49da2be215e66dd5b7 | [
"Apache-2.0"
] | 1 | 2021-04-01T01:16:46.000Z | 2021-04-01T01:16:46.000Z | src/main/cpp/dedekind-mkl/ComplexFloatArray.cpp | stefan-zobel/dedekind-MKL | 7064ff6fb6f7fc320a519b49da2be215e66dd5b7 | [
"Apache-2.0"
] | null | null | null | src/main/cpp/dedekind-mkl/ComplexFloatArray.cpp | stefan-zobel/dedekind-MKL | 7064ff6fb6f7fc320a519b49da2be215e66dd5b7 | [
"Apache-2.0"
] | 1 | 2021-04-01T01:16:50.000Z | 2021-04-01T01:16:50.000Z | /*
* Copyright 2020 Stefan Zobel
*
* 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 ... | 31.406977 | 91 | 0.616068 | stefan-zobel |
c0a45801b4089c575176675f343a93584898c772 | 1,046 | hpp | C++ | bunsan/common/include/bunsan/property_tree/info_parser.hpp | bacsorg/bacs | 2b52feb9efc805655cdf7829cf77ee028d567969 | [
"Apache-2.0"
] | null | null | null | bunsan/common/include/bunsan/property_tree/info_parser.hpp | bacsorg/bacs | 2b52feb9efc805655cdf7829cf77ee028d567969 | [
"Apache-2.0"
] | 10 | 2018-02-06T14:46:36.000Z | 2018-03-20T13:37:20.000Z | bunsan/common/include/bunsan/property_tree/info_parser.hpp | bacsorg/bacs | 2b52feb9efc805655cdf7829cf77ee028d567969 | [
"Apache-2.0"
] | 1 | 2021-11-26T10:59:09.000Z | 2021-11-26T10:59:09.000Z | #pragma once
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/path.hpp>
#include <boost/property_tree/info_parser.hpp>
#include <boost/property_tree/ptree.hpp>
#include <boost/scope_exit.hpp>
#include <locale>
#include <string>
namespace bunsan::property_tree {
/*!
* \brief Read info from file... | 28.27027 | 71 | 0.713193 | bacsorg |
c0a55a4e17fe63b7d2278271b068ab7579edf0e1 | 1,095 | hh | C++ | src/ir/Quad.hh | walecome/seal | 204b2dbad9f0bf3ac77f5e32173de39ef1fb81c1 | [
"MIT"
] | 1 | 2020-01-06T09:43:56.000Z | 2020-01-06T09:43:56.000Z | src/ir/Quad.hh | walecome/seal | 204b2dbad9f0bf3ac77f5e32173de39ef1fb81c1 | [
"MIT"
] | null | null | null | src/ir/Quad.hh | walecome/seal | 204b2dbad9f0bf3ac77f5e32173de39ef1fb81c1 | [
"MIT"
] | null | null | null | #pragma once
#include <tuple>
#include <vector>
#include "Constants.hh"
#include "OPCode.hh"
#include "Operand.hh"
#include "Register.hh"
#include "QuadSource.hh"
#include "QuadDest.hh"
class Quad {
public:
Quad(OPCode op_code, QuadDest dest, QuadSource src_a, QuadSource src_b)
: m_op_code { op_code },... | 27.375 | 79 | 0.659361 | walecome |
c0a71e6edb6e374a032b575ecaa6eac3c0865496 | 1,566 | cpp | C++ | ProfilerHost/IpcClient.cpp | varunramc/clr-profiling | 461a9dc834ad2791c0889a7ec843674a2be2b47c | [
"MIT"
] | 8 | 2018-03-27T09:35:23.000Z | 2022-01-31T06:26:04.000Z | ProfilerHost/IpcClient.cpp | varunramc/clr-profiling | 461a9dc834ad2791c0889a7ec843674a2be2b47c | [
"MIT"
] | 1 | 2018-08-07T11:00:26.000Z | 2020-04-04T12:38:23.000Z | ProfilerHost/IpcClient.cpp | varunramc/clr-profiling | 461a9dc834ad2791c0889a7ec843674a2be2b47c | [
"MIT"
] | 4 | 2018-10-11T17:43:49.000Z | 2021-06-23T06:58:58.000Z | #include "stdafx.h"
#include "IpcClient.h"
#include <grpc/grpc.h>
#include <grpc++/channel.h>
#include <grpc++/client_context.h>
#include <grpc++/create_channel.h>
#include <grpc++/security/credentials.h>
#include "ProfilingConfig.h"
#include "StringUtils.h"
namespace ipc = profilerHostIpc;
using grpc::ClientContext;
... | 30.115385 | 87 | 0.743295 | varunramc |
c0acb905a2e128130982b721b209e67dc245db7f | 1,765 | cpp | C++ | samples/03_sdp/2017/00_interpreter/src/ast/loopexpr.cpp | code-hunger/lecture-notes | 0200c57a4c2539b4d8b7cb172c2b6e4f5c689268 | [
"MIT"
] | 32 | 2016-11-24T01:40:21.000Z | 2021-11-01T19:24:22.000Z | samples/03_sdp/2017/00_interpreter/src/ast/loopexpr.cpp | code-hunger/lecture-notes | 0200c57a4c2539b4d8b7cb172c2b6e4f5c689268 | [
"MIT"
] | 6 | 2016-10-15T05:57:00.000Z | 2021-08-13T12:29:24.000Z | samples/03_sdp/2017/00_interpreter/src/ast/loopexpr.cpp | code-hunger/lecture-notes | 0200c57a4c2539b4d8b7cb172c2b6e4f5c689268 | [
"MIT"
] | 49 | 2016-01-26T13:36:02.000Z | 2022-03-16T10:24:41.000Z | #include <iostream>
#include <assert.h>
#include <math.h>
#include "loopexpr.h"
#include "vars.h"
#include "constant.h"
using namespace std;
LoopExpr::LoopExpr (string _cv,
Expression *_frome,
Expression *_toe,
Expression *_stepe,
Expression *_bodye):frome(_frome),toe(_toe),step... | 20.523256 | 99 | 0.645892 | code-hunger |
c0b025deb2081b9de3e54ec411148f31b96d01cf | 1,363 | cpp | C++ | MyConditionalPrior.cpp | eggplantbren/Perceptron | 75845a2c9110a83ec1520249d8addc459aedbe77 | [
"MIT"
] | 1 | 2016-07-25T20:52:47.000Z | 2016-07-25T20:52:47.000Z | MyConditionalPrior.cpp | eggplantbren/Perceptron | 75845a2c9110a83ec1520249d8addc459aedbe77 | [
"MIT"
] | null | null | null | MyConditionalPrior.cpp | eggplantbren/Perceptron | 75845a2c9110a83ec1520249d8addc459aedbe77 | [
"MIT"
] | null | null | null | #include "MyConditionalPrior.h"
#include "DNest4/code/DNest4.h"
#include <cmath>
using namespace DNest4;
namespace Perceptron
{
MyConditionalPrior::MyConditionalPrior()
{
}
void MyConditionalPrior::from_prior(RNG& rng)
{
mu.from_prior(rng);
const Cauchy cauchy(0.0, 5.0);
do
{
sigma = cauch... | 17.701299 | 72 | 0.613353 | eggplantbren |
c0b04b8945cc8e291e4a372e5f92bd84ef54a60f | 4,726 | cpp | C++ | loom/engine/loom2d/l2dQuad.cpp | ellemenno/LoomSDK | c6ff83f99b313f402326948c57661908933dabdd | [
"ECL-2.0",
"Apache-2.0",
"BSD-2-Clause"
] | 109 | 2015-01-04T00:32:38.000Z | 2022-02-06T22:59:30.000Z | loom/engine/loom2d/l2dQuad.cpp | RichardRanft/LoomSDK | 7f12b9d572f2ca409b9070ba92a284a82263ae97 | [
"ECL-2.0",
"Apache-2.0",
"BSD-2-Clause"
] | 237 | 2015-01-10T19:42:56.000Z | 2017-01-02T21:23:32.000Z | loom/engine/loom2d/l2dQuad.cpp | RichardRanft/LoomSDK | 7f12b9d572f2ca409b9070ba92a284a82263ae97 | [
"ECL-2.0",
"Apache-2.0",
"BSD-2-Clause"
] | 34 | 2015-01-01T21:45:01.000Z | 2020-07-19T15:33:25.000Z | /*
* ===========================================================================
* Loom SDK
* Copyright 2011, 2012, 2013
* The Game Engine Company, LLC
*
* 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... | 29.5375 | 186 | 0.580195 | ellemenno |
c0b08d0f8f46353005d205b81e5015b074873991 | 22,889 | cpp | C++ | parser/pe/LdConfigDirWrapper.cpp | yjd/bearparser | 7ec04943a7b7f478d8b924aebe1fc0e831cb27da | [
"BSD-2-Clause"
] | 516 | 2015-01-04T14:04:21.000Z | 2022-03-13T05:07:27.000Z | parser/pe/LdConfigDirWrapper.cpp | yjd/bearparser | 7ec04943a7b7f478d8b924aebe1fc0e831cb27da | [
"BSD-2-Clause"
] | 12 | 2018-08-04T22:37:46.000Z | 2021-02-17T00:37:56.000Z | parser/pe/LdConfigDirWrapper.cpp | yjd/bearparser | 7ec04943a7b7f478d8b924aebe1fc0e831cb27da | [
"BSD-2-Clause"
] | 99 | 2015-04-23T01:59:24.000Z | 2022-03-03T04:38:28.000Z | #include "pe/LdConfigDirWrapper.h"
// offset from the beginning of the structure
#define getStructFieldOffset(STRUCT, FIELD) ((ULONGLONG) &(STRUCT.FIELD) - (ULONGLONG)&STRUCT)
bufsize_t LdConfigDirWrapper::getLdConfigDirSize()
{
bufsize_t dirSize = 0;
if (m_Exe->getBitMode() == Executable::BITS_32) {
... | 41.093357 | 176 | 0.680676 | yjd |
c0b0c585b2bfa025ee88c817acf33c5a4a6e711c | 13,633 | cpp | C++ | DBProCompiler/DBPCompiler/DataTable.cpp | domydev/Dark-Basic-Pro | 237fd8d859782cb27b9d5994f3c34bc5372b6c04 | [
"MIT"
] | 231 | 2018-01-28T00:06:56.000Z | 2022-03-31T21:39:56.000Z | DBProCompiler/DBPCompiler/DataTable.cpp | domydev/Dark-Basic-Pro | 237fd8d859782cb27b9d5994f3c34bc5372b6c04 | [
"MIT"
] | 9 | 2016-02-10T10:46:16.000Z | 2017-12-06T17:27:51.000Z | DBProCompiler/DBPCompiler/DataTable.cpp | domydev/Dark-Basic-Pro | 237fd8d859782cb27b9d5994f3c34bc5372b6c04 | [
"MIT"
] | 66 | 2018-01-28T21:54:52.000Z | 2022-02-16T22:50:57.000Z | // DataTable.cpp: implementation of the CDataTable class.
//
//////////////////////////////////////////////////////////////////////
#include "DataTable.h"
// Includes and external ptr for AssociateDLL scan
#include "DBPCompiler.h"
#include "direct.h"
extern CDBPCompiler* g_pDBPCompiler;
extern bool g_bExternaliseDLLS... | 25.434701 | 119 | 0.672559 | domydev |
c0b4f0c46557b3568a06437544cbfebd5c055175 | 1,631 | hpp | C++ | src/snabl/func.hpp | codr4life/snabl | b1c8a69e351243a3ae73d69754971d540c224733 | [
"MIT"
] | 22 | 2018-08-27T15:28:10.000Z | 2022-02-13T08:18:00.000Z | src/snabl/func.hpp | codr4life/snabl | b1c8a69e351243a3ae73d69754971d540c224733 | [
"MIT"
] | 3 | 2018-08-27T01:44:51.000Z | 2020-06-28T20:07:42.000Z | src/snabl/func.hpp | codr4life/snabl | b1c8a69e351243a3ae73d69754971d540c224733 | [
"MIT"
] | 2 | 2018-08-26T18:55:47.000Z | 2018-09-29T01:04:36.000Z | #ifndef SNABL_FUNC_HPP
#define SNABL_FUNC_HPP
#include "snabl/def.hpp"
#include "snabl/fimp.hpp"
#include "snabl/ptrs.hpp"
#include "snabl/stack.hpp"
#include "snabl/std.hpp"
namespace snabl {
struct Lib;
struct Func: Def {
Lib &lib;
const I64 nargs;
unordered_map<Sym, unique_ptr<Fimp>> fimps;
... | 23.637681 | 86 | 0.551196 | codr4life |
c0b5f5df675f79f3c14e1c71280430164c57e7ef | 1,174 | cpp | C++ | oculus/LibOVR/Src/Kernel/OVR_String_FormatUtil.cpp | mikeadams1/oculus-drone | fb22b6d0f9ec4ab700313f19ffadd0214b76ca32 | [
"MIT"
] | 46 | 2015-02-11T13:56:53.000Z | 2021-03-25T20:46:14.000Z | oculus/LibOVR/Src/Kernel/OVR_String_FormatUtil.cpp | mikeadams1/oculus-drone | fb22b6d0f9ec4ab700313f19ffadd0214b76ca32 | [
"MIT"
] | 2 | 2018-02-23T02:22:51.000Z | 2020-07-17T03:57:09.000Z | oculus/LibOVR/Src/Kernel/OVR_String_FormatUtil.cpp | feross/oculus-drone | fb22b6d0f9ec4ab700313f19ffadd0214b76ca32 | [
"MIT"
] | 20 | 2015-03-03T16:03:07.000Z | 2020-01-23T14:48:49.000Z | /************************************************************************************
Filename : OVR_String_FormatUtil.cpp
Content : String format functions.
Created : February 27, 2013
Notes :
Copyright : Copyright 2013 Oculus VR, Inc. All Rights reserved.
Use of this software is subject... | 1,174 | 1,174 | 0.592845 | mikeadams1 |
c0b776e122dd83a325cd92f2998b8112f48072a6 | 80 | cpp | C++ | tests/files/test_parse_and_generate/group_common_flags_clang_cl/source/a.cpp | alexsharoff/BuildMigrator | 4495907d93ae11b1e88d16dfda3b0b570b8106ed | [
"Apache-2.0"
] | 17 | 2020-09-09T15:16:21.000Z | 2021-12-20T01:21:19.000Z | tests/files/test_parse_and_generate/group_common_flags_clang_cl/source/a.cpp | KasperskyLab/BuildMigrator | 4495907d93ae11b1e88d16dfda3b0b570b8106ed | [
"Apache-2.0"
] | null | null | null | tests/files/test_parse_and_generate/group_common_flags_clang_cl/source/a.cpp | KasperskyLab/BuildMigrator | 4495907d93ae11b1e88d16dfda3b0b570b8106ed | [
"Apache-2.0"
] | null | null | null | #include "file.h"
#ifndef MODE_A
#error MODE_A
#endif
int a() { return s_a; }
| 10 | 23 | 0.6625 | alexsharoff |
c0b9271b98af2c80e040a3e1814ea675cb9da9cb | 12,843 | cpp | C++ | plugin.cpp | CrackerCat/ida-strikeout | 3f10e0964739aae9dd49b694efa5045c7f0f6376 | [
"MIT"
] | null | null | null | plugin.cpp | CrackerCat/ida-strikeout | 3f10e0964739aae9dd49b694efa5045c7f0f6376 | [
"MIT"
] | null | null | null | plugin.cpp | CrackerCat/ida-strikeout | 3f10e0964739aae9dd49b694efa5045c7f0f6376 | [
"MIT"
] | null | null | null | /*
StrikeOut: a plugin that allows you to delete Ctree statements and patch the disassembly code.
When StrikeOut is active, you will see context menu items in the decompiler window.
(c) Elias Bachaalany <elias.bachaalany@gmail.com>
*/
#include "plugin.h"
#include "storage.hpp"
#include "utils.hpp"
stati... | 28.860674 | 144 | 0.494978 | CrackerCat |
c0ba48d1e9f1c6011597c911dfced4c12a18267d | 17,749 | cpp | C++ | test/diff/diff_files/reordered_switch_blocks_autogen.cpp | G-P-S/SPIRV-Tools | 19b156b940d17bf67e93ac2532c6cac840fb46d8 | [
"Apache-2.0"
] | null | null | null | test/diff/diff_files/reordered_switch_blocks_autogen.cpp | G-P-S/SPIRV-Tools | 19b156b940d17bf67e93ac2532c6cac840fb46d8 | [
"Apache-2.0"
] | null | null | null | test/diff/diff_files/reordered_switch_blocks_autogen.cpp | G-P-S/SPIRV-Tools | 19b156b940d17bf67e93ac2532c6cac840fb46d8 | [
"Apache-2.0"
] | null | null | null | // GENERATED FILE - DO NOT EDIT.
// Generated by generate_tests.py
//
// Copyright (c) 2022 Google LLC.
//
// 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/lic... | 30.444254 | 75 | 0.525607 | G-P-S |
c0bce06730b088981acc0b74199f6c44ef32337c | 16,185 | cpp | C++ | discovery_F429/src/lcd_test.cpp | nvitya/nvcmtests | 0f8bfedf16bbe3a5803bf8a9300b1a1a73da805b | [
"Zlib"
] | null | null | null | discovery_F429/src/lcd_test.cpp | nvitya/nvcmtests | 0f8bfedf16bbe3a5803bf8a9300b1a1a73da805b | [
"Zlib"
] | null | null | null | discovery_F429/src/lcd_test.cpp | nvitya/nvcmtests | 0f8bfedf16bbe3a5803bf8a9300b1a1a73da805b | [
"Zlib"
] | null | null | null | // lcd_test.cpp
#include "platform.h"
#include "lcd_test.h"
#include "hwpins.h"
#include "traces.h"
#include "hwlcdctrl.h"
#include "hwsdram.h"
#include "framebuffer16.h"
#include "clockcnt.h"
THwLcdCtrl lcdctrl;
TFrameBuffer16 disp;
#if defined(BOARD_DISCOVERY_F746)
void lcd_init()
{
uint32_t tmp;
uint... | 35.493421 | 88 | 0.658943 | nvitya |
c0bd30ce8ddff04a3834a4f8b85db11c1cdd9bec | 2,541 | cpp | C++ | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/internal/telephony/cdma/sms/CBearerDataHelper.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/internal/telephony/cdma/sms/CBearerDataHelper.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/internal/telephony/cdma/sms/CBearerDataHelper.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
//
// ... | 30.987805 | 113 | 0.669815 | jingcao80 |
c0bf52def1951745aca51f0d6cc56c2bc7c16281 | 330 | hpp | C++ | test_gen.hpp | fleex-x/ssmhasher | e8b7117aaf6ded5adbc9259eff2b4b9251fac14d | [
"WTFPL"
] | null | null | null | test_gen.hpp | fleex-x/ssmhasher | e8b7117aaf6ded5adbc9259eff2b4b9251fac14d | [
"WTFPL"
] | null | null | null | test_gen.hpp | fleex-x/ssmhasher | e8b7117aaf6ded5adbc9259eff2b4b9251fac14d | [
"WTFPL"
] | null | null | null | #pragma once
#include <cstdint>
#include <vector>
namespace ssmhasher {
class TestGen {
private:
uint32_t x;
uint32_t y;
uint32_t z;
uint32_t w;
void mix();
uint32_t randU32();
public:
TestGen();
explicit TestGen(uint32_t seed);
void gen(std::byte *blob, std::size_t size);
};
} // namespace... | 12.692308 | 46 | 0.669697 | fleex-x |
c0c317cd42ea3fe7533a4089872bd120875e3e84 | 1,534 | cpp | C++ | src/pipe.cpp | lu4/node-opencl-ts | 9dc971eafd3647a50aebbcfe85a346e7fbaa13f5 | [
"BSD-3-Clause"
] | 167 | 2015-04-03T20:09:33.000Z | 2022-03-11T08:38:08.000Z | src/pipe.cpp | lu4/node-opencl-ts | 9dc971eafd3647a50aebbcfe85a346e7fbaa13f5 | [
"BSD-3-Clause"
] | 57 | 2015-06-22T23:44:35.000Z | 2020-06-09T07:37:26.000Z | src/pipe.cpp | mikeseven/node-opencl | c059fee1fea1fb417c7e5b30fac78001826efb5e | [
"BSD-3-Clause"
] | 35 | 2015-02-02T23:11:49.000Z | 2021-05-09T19:48:50.000Z | #include "pipe.h"
#include "types.h"
#include "common.h"
#include <node_buffer.h>
using namespace node;
namespace opencl {
#ifdef CL_VERSION_2_0
NAN_METHOD(CreatePipe) {
Nan::HandleScope scope;
REQ_ARGS(5);
// Arg 1
NOCL_UNWRAP(context, NoCLContext, info[0]);
// Arg 2
cl_mem_flags flags = Nan::To<uint... | 17.837209 | 86 | 0.661669 | lu4 |
c0c61d7e15a88f2d8928138c025678ea99eb54d1 | 4,079 | cc | C++ | src/cpp/learn/backprop/fully_connected_test.cc | SanggunLee/edgetpu | d3cf166783265f475c1ddba5883e150ee84f7bfe | [
"Apache-2.0"
] | 320 | 2019-09-19T07:10:48.000Z | 2022-03-12T01:48:56.000Z | src/cpp/learn/backprop/fully_connected_test.cc | Machine-Learning-Practice/edgetpu | 6d699665efdc5d84944b5233223c55fe5d3bd1a6 | [
"Apache-2.0"
] | 563 | 2019-09-27T06:40:40.000Z | 2022-03-31T23:12:15.000Z | src/cpp/learn/backprop/fully_connected_test.cc | Machine-Learning-Practice/edgetpu | 6d699665efdc5d84944b5233223c55fe5d3bd1a6 | [
"Apache-2.0"
] | 119 | 2019-09-25T02:51:10.000Z | 2022-03-03T08:11:12.000Z | #include "src/cpp/learn/backprop/fully_connected.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "src/cpp/learn/backprop/test_utils.h"
namespace coral {
namespace learn {
namespace backprop {
namespace {
using ::Eigen::MatrixXf;
using ::testing::FloatEq;
using ::testing::FloatNear;
using ::testing::Poi... | 33.162602 | 80 | 0.664869 | SanggunLee |
c0ca2ef32f84e6385b70a2ec58b533a91acbc866 | 55,202 | cc | C++ | src/main/util/conversions.cc | jsa-research/aerospike-client-nodejs | f8e5559f3a7146aa7c5ba0dd15bf694904b149d8 | [
"Apache-2.0"
] | null | null | null | src/main/util/conversions.cc | jsa-research/aerospike-client-nodejs | f8e5559f3a7146aa7c5ba0dd15bf694904b149d8 | [
"Apache-2.0"
] | null | null | null | src/main/util/conversions.cc | jsa-research/aerospike-client-nodejs | f8e5559f3a7146aa7c5ba0dd15bf694904b149d8 | [
"Apache-2.0"
] | null | null | null | /*******************************************************************************
* Copyright 2013-2019 Aerospike, 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://ww... | 37.88744 | 162 | 0.591156 | jsa-research |
c0cbe96d938eef7ed67b4be296fed9f40e9c4ac1 | 15,112 | cpp | C++ | cpp/src/objdetect/app.cpp | robotalks/think | a734a6496b796e4e4435cc9214e6ede9847dc3c3 | [
"MIT"
] | null | null | null | cpp/src/objdetect/app.cpp | robotalks/think | a734a6496b796e4e4435cc9214e6ede9847dc3c3 | [
"MIT"
] | null | null | null | cpp/src/objdetect/app.cpp | robotalks/think | a734a6496b796e4e4435cc9214e6ede9847dc3c3 | [
"MIT"
] | null | null | null | #include <unistd.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <exception>
#include <iostream>
#include <thread>
#include <atomic>
#include <vector>
#include <string>
#include <functional>
#include <condition_variable>
#include <mutex>
#include <gflags/gflags.h>
#include <glog/loggin... | 31.287785 | 117 | 0.572128 | robotalks |
c0ccd87a26ac60b3c89e8dd5b45c154ffcf9aa51 | 1,512 | cpp | C++ | engine/src/core/Sprite.cpp | jsandham/PhysicsEngine | 51115ee9a59f3bc6e0895113c67563cfd4a1ef3c | [
"MIT"
] | 2 | 2018-12-19T01:52:39.000Z | 2022-03-29T16:04:15.000Z | engine/src/core/Sprite.cpp | jsandham/PhysicsEngine | 51115ee9a59f3bc6e0895113c67563cfd4a1ef3c | [
"MIT"
] | null | null | null | engine/src/core/Sprite.cpp | jsandham/PhysicsEngine | 51115ee9a59f3bc6e0895113c67563cfd4a1ef3c | [
"MIT"
] | null | null | null | #include "../../include/core/Sprite.h"
#include "../../include/graphics/Graphics.h"
using namespace PhysicsEngine;
Sprite::Sprite(World *world) : Asset(world)
{
mCreated = false;
mChanged = false;
mPixelsPerUnit = 100;
}
Sprite::Sprite(World *world, Guid id) : Asset(world, id)
{
mCreated = false;
... | 14.823529 | 62 | 0.646164 | jsandham |
c0cd865b906fc7bbbbb5eaf3526f4af66d947300 | 1,650 | hpp | C++ | src/3D/Spider.hpp | Reewr/master | 76725548d0b6ff3ac22f5383eb0c773d2fcc2a4b | [
"MIT"
] | 4 | 2017-05-22T04:14:06.000Z | 2022-02-09T19:15:10.000Z | src/3D/Spider.hpp | Reewr/master | 76725548d0b6ff3ac22f5383eb0c773d2fcc2a4b | [
"MIT"
] | null | null | null | src/3D/Spider.hpp | Reewr/master | 76725548d0b6ff3ac22f5383eb0c773d2fcc2a4b | [
"MIT"
] | null | null | null | #pragma once
#include <map>
#include <string>
#include "../Drawable/Drawable3D.hpp"
#include "../Log.hpp"
class PhysicsMesh;
struct PhysicsElements;
class Program;
class btGeneric6DofSpringConstraint;
class btHingeConstraint;
class btTransform;
class Spider : public Drawable3D, public Logging::Log {
public:
stru... | 25.78125 | 78 | 0.640606 | Reewr |
c0ce39bc7242daa28c2ced6a9563a9bf468294d6 | 1,532 | cc | C++ | src/server/Server.cc | kevinpolossat/rtype | 605707c430c4b5e6ebd2a19f8131ee59a1e990c5 | [
"MIT"
] | 5 | 2018-01-23T18:13:08.000Z | 2018-01-28T21:10:38.000Z | src/server/Server.cc | kevinpolossat/rtype | 605707c430c4b5e6ebd2a19f8131ee59a1e990c5 | [
"MIT"
] | 4 | 2018-01-10T15:56:30.000Z | 2018-01-28T16:08:57.000Z | src/server/Server.cc | polosskevin/rtype | 605707c430c4b5e6ebd2a19f8131ee59a1e990c5 | [
"MIT"
] | null | null | null | //
// Created by Kévin POLOSSAT on 14/01/2018.
//
#include <memory>
#include <iostream>
#include "Server.h"
#include "Resolver.h"
#include "Launcher.h"
Server::Server(): reactor_(), acceptor_(reactor_), gameManager_(std::make_unique<rtype::Launcher>()) {
lw_network::Reactor reactor;
lw_network::Resolver re;
... | 25.533333 | 122 | 0.575718 | kevinpolossat |
c0cf653f657e9df21c81ba65e7ba185dd477540b | 2,410 | cpp | C++ | Source/Runtime/Private/Scripting/Math/LuaModule_RectF.cpp | redchew-fork/BlueshiftEngine | fbc374cbc391e1147c744649f405a66a27c35d89 | [
"Apache-2.0"
] | 410 | 2017-03-03T08:56:54.000Z | 2022-03-29T07:18:46.000Z | Source/Runtime/Private/Scripting/Math/LuaModule_RectF.cpp | redchew-fork/BlueshiftEngine | fbc374cbc391e1147c744649f405a66a27c35d89 | [
"Apache-2.0"
] | 31 | 2017-03-05T11:37:44.000Z | 2021-09-15T21:28:34.000Z | Source/Runtime/Private/Scripting/Math/LuaModule_RectF.cpp | redchew-fork/BlueshiftEngine | fbc374cbc391e1147c744649f405a66a27c35d89 | [
"Apache-2.0"
] | 48 | 2017-03-18T05:28:21.000Z | 2022-03-05T12:27:17.000Z | // Copyright(c) 2017 POLYGONTEK
//
// 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 i... | 43.035714 | 101 | 0.655602 | redchew-fork |
c0d50317ce1222cc731771e9bfadf8da7a451eb8 | 22,104 | cpp | C++ | MoravaEngine/src/Platform/DX11/DX11TestLayer.cpp | imgui-works/MoravaEngine_opengl_vulkan_2d_3d_game_engine | b8e6ee3c3c890e9b8cf5de7bcb564b32f6767b6b | [
"Apache-2.0"
] | null | null | null | MoravaEngine/src/Platform/DX11/DX11TestLayer.cpp | imgui-works/MoravaEngine_opengl_vulkan_2d_3d_game_engine | b8e6ee3c3c890e9b8cf5de7bcb564b32f6767b6b | [
"Apache-2.0"
] | null | null | null | MoravaEngine/src/Platform/DX11/DX11TestLayer.cpp | imgui-works/MoravaEngine_opengl_vulkan_2d_3d_game_engine | b8e6ee3c3c890e9b8cf5de7bcb564b32f6767b6b | [
"Apache-2.0"
] | 1 | 2022-01-05T03:51:02.000Z | 2022-01-05T03:51:02.000Z | #include "DX11TestLayer.h"
#include "H2M/Renderer/TextureH2M.h"
#include "H2M/Scene/ComponentsH2M.h"
#include "DX11Context.h"
#include "DX11SwapChain.h"
#include "DX11Renderer.h"
#include "DX11Shader.h"
#include "DX11InputSystem.h"
#include "Core/Application.h"
#include "Core/ResourceManager.h"
#include "Platform/Wi... | 40.043478 | 159 | 0.76122 | imgui-works |
c0d5dd69f42d0f5e86e1c8a9e266325c6d74e0c8 | 1,258 | cpp | C++ | app/rocnnet/src/compounds/icompound.cpp | mingkaic/rocnnet | b0e6b9ef1b80ee3d33d68f48dd051a99c2df39ab | [
"MIT"
] | 3 | 2017-01-18T20:42:56.000Z | 2018-11-07T12:56:15.000Z | app/rocnnet/src/compounds/icompound.cpp | mingkaic/rocnnet | b0e6b9ef1b80ee3d33d68f48dd051a99c2df39ab | [
"MIT"
] | 10 | 2016-12-01T08:15:28.000Z | 2018-09-28T17:16:32.000Z | app/rocnnet/src/compounds/icompound.cpp | mingkaic/rocnnet | b0e6b9ef1b80ee3d33d68f48dd051a99c2df39ab | [
"MIT"
] | null | null | null | //
// icompound.cpp
// cnnet
//
// Created by Mingkai Chen on 2017-07-17.
// Copyright © 2017 Mingkai Chen. All rights reserved.
//
#include "compounds/mlp.hpp"
#ifdef ROCNNET_ICOMPOUND_HPP
namespace rocnnet
{
icompound::icompound (std::string scope) : ilayer(scope) {}
icompound::~icompound (void) {}
icompoun... | 22.070175 | 74 | 0.694754 | mingkaic |
c0d7c7690aa8b27e6ec9de5f6f6350c20312e689 | 862 | cpp | C++ | cpp-leetcode/leetcode621-task-scheduler_hash_count1.cpp | yanglr/LeetCodeOJ | 27dd1e4a2442b707deae7921e0118752248bef5e | [
"MIT"
] | 45 | 2021-07-25T00:45:43.000Z | 2022-03-24T05:10:43.000Z | cpp-leetcode/leetcode621-task-scheduler_hash_count1.cpp | yanglr/LeetCodeOJ | 27dd1e4a2442b707deae7921e0118752248bef5e | [
"MIT"
] | null | null | null | cpp-leetcode/leetcode621-task-scheduler_hash_count1.cpp | yanglr/LeetCodeOJ | 27dd1e4a2442b707deae7921e0118752248bef5e | [
"MIT"
] | 15 | 2021-07-25T00:40:52.000Z | 2021-12-27T06:25:31.000Z | #include<vector>
#include<unordered_map>
#include<algorithm>
#include<iostream>
using namespace std;
class Solution {
public:
int leastInterval(vector<char>& tasks, int n) {
unordered_map<char, int> dict;
int maxFreq = -1;
int maxFreqCount = 0;
for (auto& ch : tasks)
dic... | 22.684211 | 59 | 0.524362 | yanglr |
c0d85df88aee6e9cc6daa7c12f5ff143d26b589c | 7,096 | cpp | C++ | Library/ClothSolvers/FEMClothMesh.cpp | rgoldade/ClothSim | 2c2dbef10296777ccf91c5c9ec54f601edc06fbd | [
"MIT"
] | 2 | 2021-07-20T10:08:02.000Z | 2021-09-21T04:24:42.000Z | Library/ClothSolvers/FEMClothMesh.cpp | rgoldade/ClothSim | 2c2dbef10296777ccf91c5c9ec54f601edc06fbd | [
"MIT"
] | null | null | null | Library/ClothSolvers/FEMClothMesh.cpp | rgoldade/ClothSim | 2c2dbef10296777ccf91c5c9ec54f601edc06fbd | [
"MIT"
] | 2 | 2021-06-08T04:01:14.000Z | 2021-09-18T23:03:14.000Z | #include "FEMClothMesh.h"
#include <autodiff/forward.hpp>
#include <autodiff/forward/eigen.hpp>
#include "tbb/blocked_range.h"
#include "tbb/parallel_for.h"
namespace ClothSim
{
static std::vector<double> buildTriangleAreas(const TriMesh& mesh, const VecVec2d& restUVs)
{
std::vector<double> triangleAreas(mesh.tria... | 27.292308 | 143 | 0.661922 | rgoldade |
c0daa70d55ebb60a9d065a6e0fe9c31f1dc1952b | 7,869 | hpp | C++ | cpp/tanhValues32Bit.hpp | danmcleran/cppnnml | 314fcb34cc7a526e1dc11658a1d758172cd2b7e9 | [
"MIT"
] | 56 | 2020-06-17T17:43:36.000Z | 2022-03-20T22:43:19.000Z | cpp/tanhValues32Bit.hpp | danmcleran/cppnnml | 314fcb34cc7a526e1dc11658a1d758172cd2b7e9 | [
"MIT"
] | 15 | 2020-06-24T16:34:44.000Z | 2021-04-08T22:00:57.000Z | cpp/tanhValues32Bit.hpp | danmcleran/cppnnml | 314fcb34cc7a526e1dc11658a1d758172cd2b7e9 | [
"MIT"
] | 18 | 2020-06-18T13:47:59.000Z | 2022-01-23T21:01:33.000Z | /**
* Copyright (c) 2020 Intel Corporation
*
* 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, ... | 36.6 | 81 | 0.706697 | danmcleran |
c0dbed743787137efa2b5c4a4acfc82c0fefc37f | 3,914 | cpp | C++ | src/coherence/util/filter/InKeySetFilter.cpp | chpatel3/coherence-cpp-extend-client | 4ea5267eae32064dff1e73339aa3fbc9347ef0f6 | [
"UPL-1.0",
"Apache-2.0"
] | 6 | 2020-07-01T21:38:30.000Z | 2021-11-03T01:35:11.000Z | src/coherence/util/filter/InKeySetFilter.cpp | chpatel3/coherence-cpp-extend-client | 4ea5267eae32064dff1e73339aa3fbc9347ef0f6 | [
"UPL-1.0",
"Apache-2.0"
] | 1 | 2020-07-24T17:29:22.000Z | 2020-07-24T18:29:04.000Z | src/coherence/util/filter/InKeySetFilter.cpp | chpatel3/coherence-cpp-extend-client | 4ea5267eae32064dff1e73339aa3fbc9347ef0f6 | [
"UPL-1.0",
"Apache-2.0"
] | 6 | 2020-07-10T18:40:58.000Z | 2022-02-18T01:23:40.000Z | /*
* Copyright (c) 2000, 2020, Oracle and/or its affiliates.
*
* Licensed under the Universal Permissive License v 1.0 as shown at
* http://oss.oracle.com/licenses/upl.
*/
#include "coherence/util/filter/InKeySetFilter.hpp"
#include "coherence/io/pof/SystemPofContext.hpp"
#include "coherence/util/filter/Extractor... | 28.362319 | 100 | 0.579969 | chpatel3 |
c0ded1ea466b2e8c2b64d8984c78eff2192c22d9 | 760 | cpp | C++ | bit/next_combination.cpp | Takumi1122/data-structure-algorithm | 6b9f26e4dbba981f034518a972ecfc698b86d837 | [
"MIT"
] | null | null | null | bit/next_combination.cpp | Takumi1122/data-structure-algorithm | 6b9f26e4dbba981f034518a972ecfc698b86d837 | [
"MIT"
] | null | null | null | bit/next_combination.cpp | Takumi1122/data-structure-algorithm | 6b9f26e4dbba981f034518a972ecfc698b86d837 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
/* next combination */
int next_combination(int sub) {
int x = sub & -sub, y = sub + x;
return (((sub & ~y) / x) >> 1) | y;
}
int main() {
int n = 5; // {0, 1, 2, 3, 4} ... | 21.714286 | 55 | 0.465789 | Takumi1122 |
c0e3aced600bbef60ab4a4bb6635e233b10ffb74 | 1,181 | hpp | C++ | apps/duck_charmer/wrapper_cursor.hpp | jinntechio/RocketJoe | 9b08a21fda1609c57b40ef8b9750897797ac815b | [
"BSD-3-Clause"
] | 7 | 2019-06-02T12:04:22.000Z | 2019-10-15T18:01:21.000Z | apps/duck_charmer/wrapper_cursor.hpp | jinntechio/RocketJoe | 9b08a21fda1609c57b40ef8b9750897797ac815b | [
"BSD-3-Clause"
] | 26 | 2019-10-27T12:58:42.000Z | 2020-05-30T16:43:48.000Z | apps/duck_charmer/wrapper_cursor.hpp | jinntechio/RocketJoe | 9b08a21fda1609c57b40ef8b9750897797ac815b | [
"BSD-3-Clause"
] | 1 | 2019-10-03T13:36:36.000Z | 2019-10-03T13:36:36.000Z | #pragma once
#include <components/cursor/cursor.hpp>
#include <components/session/session.hpp>
#include <boost/smart_ptr/intrusive_ptr.hpp>
#include <boost/smart_ptr/intrusive_ref_counter.hpp>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <pybind11/stl_bind.h>
#include "forward.hpp"
namespace py... | 25.12766 | 100 | 0.718882 | jinntechio |
c0e839a5180c52e9018496e7e95d772cf7b0f848 | 3,942 | cpp | C++ | apps/hexagon_dma/process_raw_linear_ro_basic_interleaved.cpp | mbrukman/Halide | 8a08a705044c2da42581f1255ccae9e34030f703 | [
"MIT"
] | 2 | 2018-12-27T17:46:11.000Z | 2019-04-19T23:01:35.000Z | apps/hexagon_dma/process_raw_linear_ro_basic_interleaved.cpp | mbrukman/Halide | 8a08a705044c2da42581f1255ccae9e34030f703 | [
"MIT"
] | null | null | null | apps/hexagon_dma/process_raw_linear_ro_basic_interleaved.cpp | mbrukman/Halide | 8a08a705044c2da42581f1255ccae9e34030f703 | [
"MIT"
] | 1 | 2021-04-30T05:14:03.000Z | 2021-04-30T05:14:03.000Z | #include <stdio.h>
#include <memory.h>
#include <assert.h>
#include <stdlib.h>
#include "halide_benchmark.h"
#include "pipeline_raw_linear_ro_basic_interleaved.h"
#include "pipeline_raw_linear_ro_fold_interleaved.h"
#include "pipeline_raw_linear_ro_async_interleaved.h"
#include "pipeline_raw_linear_ro_split_interleaved... | 37.188679 | 111 | 0.632166 | mbrukman |
c0eaa3ef1bb304a50b653f2323e067700b06dccd | 3,321 | cpp | C++ | src/backend/gpopt/CGPOptimizer.cpp | Oliver-Luo/incubator-hawq | 195909207313d802a110666c76187cefab96d09c | [
"Apache-2.0"
] | null | null | null | src/backend/gpopt/CGPOptimizer.cpp | Oliver-Luo/incubator-hawq | 195909207313d802a110666c76187cefab96d09c | [
"Apache-2.0"
] | null | null | null | src/backend/gpopt/CGPOptimizer.cpp | Oliver-Luo/incubator-hawq | 195909207313d802a110666c76187cefab96d09c | [
"Apache-2.0"
] | null | null | null | /*
* 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 ... | 24.783582 | 99 | 0.512195 | Oliver-Luo |
c0ecbbe327cccc5da849b1ca21938e8b44f6900f | 974 | cpp | C++ | Tools/VisualStudio/VC10/PixelLightWizard/PixelLightWizard/Templates/1033/Application.cpp | ktotheoz/pixellight | 43a661e762034054b47766d7e38d94baf22d2038 | [
"MIT"
] | 83 | 2015-01-08T15:06:14.000Z | 2021-07-20T17:07:00.000Z | Tools/VisualStudio/VC10/PixelLightWizard/PixelLightWizard/Templates/1033/Application.cpp | PixelLightFoundation/pixellight | 43a661e762034054b47766d7e38d94baf22d2038 | [
"MIT"
] | 27 | 2019-06-18T06:46:07.000Z | 2020-02-02T11:11:28.000Z | Tools/VisualStudio/VC10/PixelLightWizard/PixelLightWizard/Templates/1033/Application.cpp | naetherm/PixelLight | d7666f5b49020334cbb5debbee11030f34cced56 | [
"MIT"
] | 40 | 2015-02-25T18:24:34.000Z | 2021-03-06T09:01:48.000Z | /*********************************************************\
* File: Application.cpp *
\*********************************************************/
//[-------------------------------------------------------]
//[ Includes ]
//[----------------... | 25.631579 | 59 | 0.216632 | ktotheoz |
c0ee1c369e61032ba700744bab4cf75213db36d0 | 9,752 | cpp | C++ | sourceCode/dotNet4.6/vb/language/vbhosted/vbhosted/vbhostedcompiler.cpp | csoap/csoap.github.io | 2a8db44eb63425deff147652b65c5912f065334e | [
"Apache-2.0"
] | 5 | 2017-03-03T02:13:16.000Z | 2021-08-18T09:59:56.000Z | sourceCode/dotNet4.6/vb/language/vbhosted/vbhosted/vbhostedcompiler.cpp | 295007712/295007712.github.io | 25241dbf774427545c3ece6534be6667848a6faf | [
"Apache-2.0"
] | null | null | null | sourceCode/dotNet4.6/vb/language/vbhosted/vbhosted/vbhostedcompiler.cpp | 295007712/295007712.github.io | 25241dbf774427545c3ece6534be6667848a6faf | [
"Apache-2.0"
] | 4 | 2016-11-15T05:20:12.000Z | 2021-11-13T16:32:11.000Z | #include "stdafx.h"
VbHostedCompiler::VbHostedCompiler(gcroot<System::Collections::Generic::IList<System::Reflection::Assembly ^>^> referenceAssemblies)
:
m_fInit(false),
m_referenceAssemblies(gcnew System::Collections::Generic::List<System::Reflection::Assembly ^>(referenceAssemblies)),
m_ErrorTable(... | 35.591241 | 153 | 0.717904 | csoap |
c0ef5d287b39ace47f4b993c1bf516a59d9491e7 | 1,072 | cpp | C++ | test/test_large_messages.cpp | bripage/ygm | 6ef1a47b90474947ee751afe3a60eabfb20d4c0c | [
"MIT-0",
"MIT"
] | 10 | 2020-03-06T17:56:42.000Z | 2022-01-10T01:24:07.000Z | test/test_large_messages.cpp | bripage/ygm | 6ef1a47b90474947ee751afe3a60eabfb20d4c0c | [
"MIT-0",
"MIT"
] | 31 | 2021-04-13T23:08:13.000Z | 2022-03-29T21:40:21.000Z | test/test_large_messages.cpp | bripage/ygm | 6ef1a47b90474947ee751afe3a60eabfb20d4c0c | [
"MIT-0",
"MIT"
] | 10 | 2021-02-02T23:15:11.000Z | 2021-11-10T17:43:47.000Z | // Copyright 2019-2021 Lawrence Livermore National Security, LLC and other YGM
// Project Developers. See the top-level COPYRIGHT file for details.
//
// SPDX-License-Identifier: MIT
#undef NDEBUG
#include <ygm/comm.hpp>
#include <ygm/detail/ygm_ptr.hpp>
int main(int argc, char** argv) {
// Create comm for very sma... | 27.487179 | 78 | 0.600746 | bripage |
c0f144f7483c32df2ae92bd5d203fc3d3e4185ad | 1,218 | cpp | C++ | signal-slot-benchmarks/benchmark/cpp/benchmark_nod.cpp | qubka/signals | 6bd39c662ab2b1e0caafc5a4c4510a74fb9f9e1c | [
"MIT"
] | 181 | 2020-01-17T13:49:59.000Z | 2022-03-17T03:23:12.000Z | signal-slot-benchmarks/benchmark/cpp/benchmark_nod.cpp | qubka/signals | 6bd39c662ab2b1e0caafc5a4c4510a74fb9f9e1c | [
"MIT"
] | 22 | 2020-01-16T23:37:02.000Z | 2021-09-08T23:51:12.000Z | signal-slot-benchmarks/benchmark/cpp/benchmark_nod.cpp | qubka/signals | 6bd39c662ab2b1e0caafc5a4c4510a74fb9f9e1c | [
"MIT"
] | 16 | 2020-01-28T15:40:18.000Z | 2022-02-25T08:32:15.000Z | #include "../hpp/benchmark_nod.hpp"
NOINLINE(void Nod::initialize())
{
// NOOP
}
NOINLINE(void Nod::validate_assert(std::size_t N))
{
return Benchmark<Signal, Nod>::validation_assert(N);
}
NOINLINE(double Nod::construction(std::size_t N, std::size_t limit))
{
return Benchmark<Signal, Nod>::construction... | 28.325581 | 68 | 0.703612 | qubka |
c0f25d2231d5e519dc15331a1450316114c94a6b | 277 | hpp | C++ | app/raytracing/ScreenRayTracer.hpp | Yousazoe/Solar | 349c75f7a61b1727aa0c6d581cf75124b2502a57 | [
"Apache-2.0"
] | 1 | 2021-08-07T13:02:01.000Z | 2021-08-07T13:02:01.000Z | app/raytracing/ScreenRayTracer.hpp | Yousazoe/Solar | 349c75f7a61b1727aa0c6d581cf75124b2502a57 | [
"Apache-2.0"
] | null | null | null | app/raytracing/ScreenRayTracer.hpp | Yousazoe/Solar | 349c75f7a61b1727aa0c6d581cf75124b2502a57 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include<math/Math3d.hpp>
#include<render/Filter.hpp>
#include<render/Viewport.hpp>
namespace tutorial::graphics
{
class ScreenRayTracer
{
private:
ScreenRayTracer() = delete;
public:
static void draw(Viewport& viewport, ShaderVersion shader);
};
}
| 14.578947 | 61 | 0.736462 | Yousazoe |
c0f51aef2cf71e849d8dc831901f45e4818597a3 | 1,523 | cpp | C++ | src/Cluster/Cluster/MIWord.cpp | BBN-E/serif | 1e2662d82fb1c377ec3c79355a5a9b0644606cb4 | [
"Apache-2.0"
] | 1 | 2022-03-24T19:57:00.000Z | 2022-03-24T19:57:00.000Z | src/Cluster/Cluster/MIWord.cpp | BBN-E/serif | 1e2662d82fb1c377ec3c79355a5a9b0644606cb4 | [
"Apache-2.0"
] | null | null | null | src/Cluster/Cluster/MIWord.cpp | BBN-E/serif | 1e2662d82fb1c377ec3c79355a5a9b0644606cb4 | [
"Apache-2.0"
] | null | null | null | // Copyright 2008 by BBN Technologies Corp.
// All Rights Reserved.
#include "MIWord.h"
using namespace std;
const Vocabulary* MIWord::pVoc = 0;
MIWord::MIWord(int index) {
_index = index;
}
MIWord& MIWord::operator=(const MIWord& w) {
MIBaseElement::operator=(w);
_index = w._index;
... | 24.174603 | 79 | 0.598162 | BBN-E |
c0f68569b69b34722569b76c4d3691968324900c | 392 | cpp | C++ | Chapter08/Exercise58/Exercise58.cpp | Archiit19/The-Cpp-Workshop | ae2f8d0c375d6bcdd7fa5ab9e34370ce83d1f501 | [
"MIT"
] | 4 | 2019-08-12T08:59:46.000Z | 2022-03-08T07:49:29.000Z | Chapter08/Exercise58/Exercise58.cpp | Archiit19/The-Cpp-Workshop | ae2f8d0c375d6bcdd7fa5ab9e34370ce83d1f501 | [
"MIT"
] | null | null | null | Chapter08/Exercise58/Exercise58.cpp | Archiit19/The-Cpp-Workshop | ae2f8d0c375d6bcdd7fa5ab9e34370ce83d1f501 | [
"MIT"
] | 5 | 2019-10-09T17:00:56.000Z | 2022-03-08T07:49:41.000Z | #include <iostream>
#include <string>
using namespace std;
class Track
{
public:
float lengthInSeconds;
string trackName;
Track ()
{
lengthInSeconds = 0.0f;
trackName = "not set";
}
};
int main()
{
Track track;
cout << "Track Name = " << track.trackName << endl;
cout... | 15.076923 | 62 | 0.581633 | Archiit19 |
c0fb4254e90722633752903264a64c610e5625e6 | 4,096 | cpp | C++ | src/control_surface_map.cpp | NVIDIA/Korgi | c2dadc1a016f0ff463d559c40f45694734a5d01a | [
"MIT"
] | 14 | 2019-06-06T13:05:33.000Z | 2022-01-24T22:17:09.000Z | src/control_surface_map.cpp | NVIDIA/Korgi | c2dadc1a016f0ff463d559c40f45694734a5d01a | [
"MIT"
] | null | null | null | src/control_surface_map.cpp | NVIDIA/Korgi | c2dadc1a016f0ff463d559c40f45694734a5d01a | [
"MIT"
] | 3 | 2019-06-06T16:10:42.000Z | 2021-04-30T14:38:26.000Z | /*
* Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy... | 35.617391 | 83 | 0.53833 | NVIDIA |
c0fd8bade2faca4c930605577999034ad87f3234 | 4,872 | cpp | C++ | src/mongo/db/matcher/schema/expression_internal_schema_max_length_test.cpp | MartinNeupauer/mongo | 6cc2dfe7edd312b8596355edef454e15988e350e | [
"Apache-2.0"
] | null | null | null | src/mongo/db/matcher/schema/expression_internal_schema_max_length_test.cpp | MartinNeupauer/mongo | 6cc2dfe7edd312b8596355edef454e15988e350e | [
"Apache-2.0"
] | 2 | 2021-03-26T00:01:11.000Z | 2021-03-26T00:02:19.000Z | src/mongo/db/matcher/schema/expression_internal_schema_max_length_test.cpp | MartinNeupauer/mongo | 6cc2dfe7edd312b8596355edef454e15988e350e | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2017 (c) 10gen Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOU... | 40.264463 | 86 | 0.690681 | MartinNeupauer |
c0ffe7630a0e5ac395c0e996175645ec04ba8423 | 459 | cpp | C++ | 2021/day22/main.cpp | alexandru-andronache/adventofcode | ee41d82bae8b705818fda5bd43e9962bb0686fec | [
"Apache-2.0"
] | 3 | 2021-07-01T14:31:06.000Z | 2022-03-29T20:41:21.000Z | 2021/day22/main.cpp | alexandru-andronache/adventofcode | ee41d82bae8b705818fda5bd43e9962bb0686fec | [
"Apache-2.0"
] | null | null | null | 2021/day22/main.cpp | alexandru-andronache/adventofcode | ee41d82bae8b705818fda5bd43e9962bb0686fec | [
"Apache-2.0"
] | null | null | null | #include "file.h"
#include "utilities.h"
#include <iostream>
namespace aoc2021_day22 {
int part_1(std::string_view path) {
return 0;
}
int part_2(std::string_view path) {
return 0;
}
}
#ifndef TESTING
int main() {
std::cout << "Part 1: " << aoc2021_day22::part_1("../2021/day22/inp... | 19.956522 | 92 | 0.59695 | alexandru-andronache |
8d06325146b5e2db60d6dbf217774fd60b04e894 | 1,070 | cpp | C++ | code_practice/10/1018_class/3_shared_ptr8.cpp | armkernel/armkernel.github.io | f74b8ddfc8a69dec8b5eeccb4d92c62dcc6c321a | [
"MIT"
] | 2 | 2019-08-06T13:45:02.000Z | 2019-11-06T01:15:30.000Z | code_practice/10/1018_class/3_shared_ptr8.cpp | armkernel/armkernel.github.io | f74b8ddfc8a69dec8b5eeccb4d92c62dcc6c321a | [
"MIT"
] | null | null | null | code_practice/10/1018_class/3_shared_ptr8.cpp | armkernel/armkernel.github.io | f74b8ddfc8a69dec8b5eeccb4d92c62dcc6c321a | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <memory>
using namespace std;
struct People
{
string name;
People(string n) : name(n) {}
~People() { cout << name << " 파괴" << endl; }
//shared_ptr<People> bestFriend; // 참조 계수 증가한다.
// People* bestFriend; // 참조계수가 증가하지 않는다.
weak_ptr<People> bestFriend; //... | 19.454545 | 56 | 0.536449 | armkernel |
8d0b163efb0d6c5cf58e16cc8eefc494031a3711 | 2,728 | cpp | C++ | src/convolution.cpp | NREL/repra | b2ed04bcf9f17a69efabd5e0e049ca37a4c9d44e | [
"BSD-3-Clause"
] | 6 | 2015-12-14T22:51:05.000Z | 2020-10-22T15:30:59.000Z | src/convolution.cpp | NREL/repra | b2ed04bcf9f17a69efabd5e0e049ca37a4c9d44e | [
"BSD-3-Clause"
] | 7 | 2015-02-02T19:57:47.000Z | 2020-12-18T03:27:05.000Z | src/convolution.cpp | NREL/repra | b2ed04bcf9f17a69efabd5e0e049ca37a4c9d44e | [
"BSD-3-Clause"
] | 6 | 2015-07-29T06:36:44.000Z | 2021-02-22T19:19:11.000Z | #include <Rcpp.h>
using namespace Rcpp;
using namespace std;
// Function to perform convolution. See "?convolution" in R
// [[Rcpp::export]]
DataFrame convolution_table(NumericVector capacity, NumericVector efor, double threshold) {
// Initialize variables
int n = 0;
NumericVector cap(0), prob(0);
for (int... | 28.715789 | 91 | 0.478739 | NREL |
8d0b8688a77ee3880255a9027c53e6c69e5e2619 | 9,815 | cpp | C++ | qmovstack.cpp | deepakm/deepquor | 6e7746ad7e9b359ed5b0567c580a97684a76ad12 | [
"BSD-3-Clause"
] | null | null | null | qmovstack.cpp | deepakm/deepquor | 6e7746ad7e9b359ed5b0567c580a97684a76ad12 | [
"BSD-3-Clause"
] | null | null | null | qmovstack.cpp | deepakm/deepquor | 6e7746ad7e9b359ed5b0567c580a97684a76ad12 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2005-2006
* Brent Miller and Charles Morrey. All rights reserved.
*
* See the COPYRIGHT_NOTICE file for terms.
*/
#include "qmovstack.h"
IDSTR("$Id: qmovstack.cpp,v 1.11 2006/07/31 06:25:50 bmiller Exp $");
/****/
/***********************
* class qWallMoveList *
*********************... | 25.038265 | 85 | 0.668263 | deepakm |
8d0e01232aa2658c99492909bfab42023691b260 | 4,777 | hpp | C++ | include/realm/core/system.hpp | pyrbin/realm.hpp | e34b18ce1f5c39b080a9e70f675adf740490ff83 | [
"MIT"
] | 2 | 2020-03-01T18:15:27.000Z | 2020-03-25T10:21:59.000Z | include/realm/core/system.hpp | pyrbin/realm.hpp | e34b18ce1f5c39b080a9e70f675adf740490ff83 | [
"MIT"
] | null | null | null | include/realm/core/system.hpp | pyrbin/realm.hpp | e34b18ce1f5c39b080a9e70f675adf740490ff83 | [
"MIT"
] | 1 | 2020-03-25T10:22:00.000Z | 2020-03-25T10:22:00.000Z | #pragma once
#include <cstddef>
#include <memory>
#include <stdexcept>
#include <string>
#include <utility>
#include <realm/core/archetype.hpp>
#include <realm/util/tuple_util.hpp>
namespace realm {
/**
* Forward declarations
*/
struct world;
template<typename... Ts>
struct view;
template<typename F>
constexpr ... | 27.297143 | 99 | 0.630731 | pyrbin |
8d0f08d6e0c4ebdcbfb75044839631e954ec1910 | 913 | cpp | C++ | Search Algorithms/C-CPP/LinearSearchSentinelValue.cpp | maulikchavda/Algorithms | 353010c3a88f7a239906d314a8a23f5cb9b21fd6 | [
"MIT"
] | 34 | 2019-10-02T15:27:03.000Z | 2021-07-13T03:48:43.000Z | Search Algorithms/C-CPP/LinearSearchSentinelValue.cpp | maulikchavda/Algorithms | 353010c3a88f7a239906d314a8a23f5cb9b21fd6 | [
"MIT"
] | 79 | 2019-10-02T14:44:25.000Z | 2021-12-17T14:54:42.000Z | Search Algorithms/C-CPP/LinearSearchSentinelValue.cpp | maulikchavda/Algorithms | 353010c3a88f7a239906d314a8a23f5cb9b21fd6 | [
"MIT"
] | 215 | 2019-02-27T09:04:48.000Z | 2021-12-17T10:53:12.000Z | //Linear research with a flag value that interrupts research until the value is found.
#include <iostream>
#define ELEMENTS 10
using namespace std;
bool research(int numSearch, int arr[]);
int main(){
int array[ELEMENTS] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
int i;
int search;
bool found;
cout ... | 20.288889 | 86 | 0.544359 | maulikchavda |
8d113b4d4d99a7d401d40a781f59d327840b49b7 | 3,325 | cpp | C++ | HW2.cpp | banne2266/OS-NCTU-2020 | a579270bc9bcc415fecdad1728a5e74f19a1bfe2 | [
"MIT"
] | null | null | null | HW2.cpp | banne2266/OS-NCTU-2020 | a579270bc9bcc415fecdad1728a5e74f19a1bfe2 | [
"MIT"
] | null | null | null | HW2.cpp | banne2266/OS-NCTU-2020 | a579270bc9bcc415fecdad1728a5e74f19a1bfe2 | [
"MIT"
] | null | null | null | /*
Student No.: 07xx3xx
Student Name: xxxxxxx
Email: b-----------7@nctu.edu.tw
SE tag: xnxcxtxuxoxsx
Statement: I am fully aware that this program is not
supposed to be posted to a public server, such as a
public GitHub repository or a public web page.
*/
#include<bits/stdc++.h>
#include <sys/types.h>
#include <sys/ipc... | 29.954955 | 93 | 0.502256 | banne2266 |
8d114342a7fa4f43cd2dcf2a26c1fc14ad8d9c88 | 844 | cpp | C++ | libmetartc5/src/yangutil/buffer/YangAudioBuffer.cpp | metartc/metaRTC | 7b3125c9244632c82c55aacd628e6f0d7b151488 | [
"MIT"
] | 136 | 2021-12-17T09:17:44.000Z | 2022-03-28T09:51:51.000Z | libmetartc5/src/yangutil/buffer/YangAudioBuffer.cpp | metartc/metaRTC | 7b3125c9244632c82c55aacd628e6f0d7b151488 | [
"MIT"
] | 2 | 2021-12-24T02:00:53.000Z | 2022-03-28T02:40:12.000Z | libmetartc5/src/yangutil/buffer/YangAudioBuffer.cpp | metartc/metaRTC | 7b3125c9244632c82c55aacd628e6f0d7b151488 | [
"MIT"
] | 40 | 2021-12-17T09:17:48.000Z | 2022-03-27T14:40:25.000Z | //
// Copyright (c) 2019-2022 yanggaofeng
//
#include "yangutil/buffer/YangAudioBuffer.h"
#include <stdlib.h>
#include "stdio.h"
YangAudioBuffer::YangAudioBuffer(int32_t pcacheNum)
{
resetIndex();
m_cache_num=pcacheNum;
m_bufLen=0;
}
void YangAudioBuffer::reset(){
resetIndex();
}
YangAudio... | 15.071429 | 57 | 0.632701 | metartc |
8d1258dc0ff0b4a25312f6a3661cefc9e7e25368 | 11,376 | cpp | C++ | yoshicar_base_controller/src/MotorStateMachine.cpp | Badenhoop/yoshicar | c542e75dccf73b006a6483ced357168c15d893fe | [
"MIT"
] | null | null | null | yoshicar_base_controller/src/MotorStateMachine.cpp | Badenhoop/yoshicar | c542e75dccf73b006a6483ced357168c15d893fe | [
"MIT"
] | null | null | null | yoshicar_base_controller/src/MotorStateMachine.cpp | Badenhoop/yoshicar | c542e75dccf73b006a6483ced357168c15d893fe | [
"MIT"
] | 1 | 2020-09-11T17:54:54.000Z | 2020-09-11T17:54:54.000Z | #include "yoshicar_base_controller/MotorStateMachine.h"
namespace yoshicar
{
double varianceDecay(double t, double vStart, double vEnd, double duration)
{
double vDelta = vStart - vEnd;
return vStart - (vDelta / (1 + std::exp(-(12. / duration * t - 6.))));
}
MotorStateMachine::MotorStateMachine()
{
ros::NodeHan... | 27.61165 | 118 | 0.774701 | Badenhoop |
8d12ccf482d8cb7b41e22716dbce49e1f2cff68b | 3,381 | cc | C++ | src/scsi2sd-util6/libzipper-1.0.4/Compressor.cc | fhgwright/SCSI2SD-V6 | 29555b30d3f96257ac12a546e75891490603aee8 | [
"BSD-3-Clause"
] | 2 | 2020-11-29T01:28:03.000Z | 2021-11-07T18:23:11.000Z | src/scsi2sd-util6/libzipper-1.0.4/Compressor.cc | tweakoz/SCSI2SD-V6 | 77db5f86712213e25c9b12fa5c9fa9c54b80cb80 | [
"BSD-3-Clause"
] | null | null | null | src/scsi2sd-util6/libzipper-1.0.4/Compressor.cc | tweakoz/SCSI2SD-V6 | 77db5f86712213e25c9b12fa5c9fa9c54b80cb80 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (C) 2011 Michael McMaster <michael@codesrc.com>
//
// This file is part of libzipper.
//
// libzipper 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 y... | 22.098039 | 71 | 0.722272 | fhgwright |
8d1899c71f93415feb9a58504bd0fe6f2a068d19 | 985 | hpp | C++ | include/commata/buffer_size.hpp | furfurylic/commata | 6afbc218d262d8363e8436fd943b1e13444d9f83 | [
"Unlicense"
] | null | null | null | include/commata/buffer_size.hpp | furfurylic/commata | 6afbc218d262d8363e8436fd943b1e13444d9f83 | [
"Unlicense"
] | null | null | null | include/commata/buffer_size.hpp | furfurylic/commata | 6afbc218d262d8363e8436fd943b1e13444d9f83 | [
"Unlicense"
] | null | null | null | /**
* These codes are licensed under the Unlicense.
* http://unlicense.org
*/
#ifndef COMMATA_GUARD_4E257056_FA43_4ED4_BF21_5638E8C46B14
#define COMMATA_GUARD_4E257056_FA43_4ED4_BF21_5638E8C46B14
#include <algorithm>
#include <cstddef>
#include <memory>
#include <limits>
namespace commata { namespace detail {
te... | 27.361111 | 78 | 0.73198 | furfurylic |
8d18dce8c0d87e8faec199a4ebe1b70ccb7b6f32 | 2,626 | cc | C++ | algo/timsort.cc | anqurvanillapy/cppl | a15231dd0bd68b8857f6596fbf2604b86e5ffd89 | [
"MIT"
] | 1 | 2019-08-24T22:46:16.000Z | 2019-08-24T22:46:16.000Z | algo/timsort.cc | anqurvanillapy/cppl | a15231dd0bd68b8857f6596fbf2604b86e5ffd89 | [
"MIT"
] | 2 | 2018-11-12T12:20:52.000Z | 2019-06-05T06:58:34.000Z | algo/timsort.cc | anqurvanillapy/cppl | a15231dd0bd68b8857f6596fbf2604b86e5ffd89 | [
"MIT"
] | 2 | 2019-04-03T10:01:05.000Z | 2021-05-31T07:39:44.000Z | /**
* timsort
* =======
*
* Very naive implementation of the *glorious* timsort, sarcasm intended.
*
* Note: Compile with -std=c++17.
*/
#include <iostream>
#include <vector>
#include <cmath>
namespace {
template <typename T>
void
debug(const std::vector<T>& v)
{
std::cout << "[";
for (auto&& i : v) std... | 18.892086 | 74 | 0.573496 | anqurvanillapy |
8d1907f99094d3d56c755e085ed46f84e01ba9bc | 1,130 | hh | C++ | src/circuit/pws_circuit.hh | hyraxZK/libpws | cc1b7dfdafb3d01b025cdb72ed83379d205a0147 | [
"Apache-2.0"
] | null | null | null | src/circuit/pws_circuit.hh | hyraxZK/libpws | cc1b7dfdafb3d01b025cdb72ed83379d205a0147 | [
"Apache-2.0"
] | null | null | null | src/circuit/pws_circuit.hh | hyraxZK/libpws | cc1b7dfdafb3d01b025cdb72ed83379d205a0147 | [
"Apache-2.0"
] | 1 | 2020-01-16T07:49:03.000Z | 2020-01-16T07:49:03.000Z | #pragma once
#include <vector>
#include <map>
#include "pws_circuit_parser.hh"
#include "cmt_circuit.hh"
#include "cmt_circuit_builder.hh"
class PWSCircuit : public CMTCircuit
{
private:
PWSCircuitParser& parser;
public:
PWSCircuit(PWSCircuitParser& pp);
Gate getGate(const GatePosition& pos);
CircuitLa... | 25.681818 | 118 | 0.749558 | hyraxZK |
8d1937e31390cb045049750326c9a316f7be292e | 847 | cpp | C++ | cpgf/src/metadata/irrlicht/meta_irrlicht_IParticleSystemSceneNode.cpp | mousepawmedia/libdeps | b004d58d5b395ceaf9fdc993cfb00e91334a5d36 | [
"BSD-3-Clause"
] | 187 | 2015-01-19T06:05:30.000Z | 2022-03-27T14:28:21.000Z | cpgf/src/metadata/irrlicht/meta_irrlicht_IParticleSystemSceneNode.cpp | mousepawmedia/libdeps | b004d58d5b395ceaf9fdc993cfb00e91334a5d36 | [
"BSD-3-Clause"
] | 37 | 2015-01-16T04:15:11.000Z | 2020-03-31T23:42:55.000Z | cpgf/src/metadata/irrlicht/meta_irrlicht_IParticleSystemSceneNode.cpp | mousepawmedia/libdeps | b004d58d5b395ceaf9fdc993cfb00e91334a5d36 | [
"BSD-3-Clause"
] | 50 | 2015-01-13T13:50:10.000Z | 2022-01-25T17:16:51.000Z | // Auto generated file, don't modify.
#include "irrlicht.h"
#include "IParticleSystemSceneNode.h"
#include "cpgf/metadata/irrlicht/meta_irrlicht_IParticleSystemSceneNode.h"
using namespace cpgf;
namespace meta_irrlicht {
GDefineMetaInfo createMetaClass_IParticleSystemSceneNode()
{
GDefineMetaGlobalDangle _d ... | 30.25 | 332 | 0.782763 | mousepawmedia |
8d1b7b5c7e67cb8d38f63cbe0f613a59b08398cb | 1,786 | hpp | C++ | gk++/include/gk/gk++.hpp | rpav/GameKernel | 1f3eb863b58243f5f14aa76283b60a259d881522 | [
"MIT"
] | 11 | 2016-04-28T15:09:19.000Z | 2019-07-15T15:58:59.000Z | gk++/include/gk/gk++.hpp | rpav/GameKernel | 1f3eb863b58243f5f14aa76283b60a259d881522 | [
"MIT"
] | null | null | null | gk++/include/gk/gk++.hpp | rpav/GameKernel | 1f3eb863b58243f5f14aa76283b60a259d881522 | [
"MIT"
] | null | null | null | #pragma once
/*
This uses a slight bit of STL. You can probably replace this with
a slimmer implementation without issues.
This also abuses templates and virtuals a bit to keep code concise.
*/
#include <stdexcept>
#include <vector>
#include <rpav/ptr.hpp>
#include "gk/gk++cmd.hpp"
#include "gk/gk++list.hp... | 20.067416 | 82 | 0.613102 | rpav |
8d1fd7bf29ba66561d978fedc39bfcdc5314ea61 | 5,190 | cpp | C++ | Engine/Source/Editor/UnrealEd/Private/Fbx/FbxAssetImportData.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Source/Editor/UnrealEd/Private/Fbx/FbxAssetImportData.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Engine/Source/Editor/UnrealEd/Private/Fbx/FbxAssetImportData.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "Factories/FbxAssetImportData.h"
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "UObject/UObjectGlobals.h"
#include "UObject/UObjectBaseUtility.h"
#include "UObject/UObjectHash.h"
#include "UObject/Object.h"
#include "UObject/C... | 29.657143 | 157 | 0.672832 | windystrife |
8d203b2bb42da1d3c8d32247b41c2f65a1c6d5f5 | 2,361 | cpp | C++ | src/byte_array.cpp | rnascunha/my_async | 5fbe3a46e87a2d74fc07d16252a3b3cf488b4684 | [
"MIT"
] | null | null | null | src/byte_array.cpp | rnascunha/my_async | 5fbe3a46e87a2d74fc07d16252a3b3cf488b4684 | [
"MIT"
] | null | null | null | src/byte_array.cpp | rnascunha/my_async | 5fbe3a46e87a2d74fc07d16252a3b3cf488b4684 | [
"MIT"
] | null | null | null | #include "my_async/util/byte_array.h"
#include <ostream>
#include <iomanip>
#include <sstream>
std::string Byte_Array::to_hex(bool up_case /* = true */, const char* separator /* = "" */,
unsigned int byte_space /* = 1 */) const
{
std::ostringstream ret;
for (std::string::size_type i = 0; i < size(); ++i){
ret <... | 19.195122 | 91 | 0.591275 | rnascunha |
8d235600a6c1ec2dadba906f4f551f97177d9d55 | 5,374 | cpp | C++ | pnc/atlas_pnc/atlas_controller.cpp | junhyeokahn/PnC | 388440f7db7b2aedf1e397d0130d806090865c35 | [
"MIT"
] | 25 | 2019-01-31T13:51:34.000Z | 2022-02-08T13:19:01.000Z | pnc/atlas_pnc/atlas_controller.cpp | junhyeokahn/PnC | 388440f7db7b2aedf1e397d0130d806090865c35 | [
"MIT"
] | 5 | 2020-06-01T20:48:46.000Z | 2022-02-08T11:42:02.000Z | pnc/atlas_pnc/atlas_controller.cpp | junhyeokahn/PnC | 388440f7db7b2aedf1e397d0130d806090865c35 | [
"MIT"
] | 9 | 2018-11-20T22:37:50.000Z | 2021-09-14T17:17:27.000Z | #include <pnc/atlas_pnc/atlas_control_architecture.hpp>
#include <pnc/atlas_pnc/atlas_controller.hpp>
#include <pnc/whole_body_controllers/ihwbc/ihwbc.hpp>
#include <pnc/whole_body_controllers/ihwbc/joint_integrator.hpp>
AtlasController::AtlasController(AtlasTCIContainer *_tci_container,
... | 37.319444 | 79 | 0.66431 | junhyeokahn |
8d23a8c54a1857e9b08a2bdd9b71bcb4036f6dbf | 831 | cc | C++ | src/connectivity/bluetooth/core/bt-host/sm/valid_packet_reader_parse_sdu_fuzztest.cc | liexusong/fuchsia | 81897680af92a1848a063e3c20ff3a4892ccff07 | [
"BSD-2-Clause"
] | 3 | 2021-09-02T07:21:06.000Z | 2022-03-12T03:20:10.000Z | src/connectivity/bluetooth/core/bt-host/sm/valid_packet_reader_parse_sdu_fuzztest.cc | liexusong/fuchsia | 81897680af92a1848a063e3c20ff3a4892ccff07 | [
"BSD-2-Clause"
] | 56 | 2021-06-03T03:16:25.000Z | 2022-03-20T01:07:44.000Z | src/connectivity/bluetooth/core/bt-host/sm/valid_packet_reader_parse_sdu_fuzztest.cc | liexusong/fuchsia | 81897680af92a1848a063e3c20ff3a4892ccff07 | [
"BSD-2-Clause"
] | 2 | 2022-02-25T12:22:49.000Z | 2022-03-12T03:20:10.000Z | // Copyright 2020 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 <memory>
#include "src/connectivity/bluetooth/core/bt-host/common/byte_buffer.h"
#include "src/connectivity/bluetooth/core/bt-host/sm/packet.h"
... | 29.678571 | 90 | 0.731649 | liexusong |
8d25b14e89d354f8ff34834e576c4b5b9d01da5f | 568 | cpp | C++ | Olympiad Programs/M3/M3 Madrese/Afther M2 Results/Day 1/M3s/22/Day 2/1.cpp | mirtaba/ACMICPC-INOI_Archive | ea06e4e40e984f0807410e4f9b5f7042580da2e3 | [
"MIT"
] | 1 | 2020-12-08T11:21:34.000Z | 2020-12-08T11:21:34.000Z | Olympiad Programs/M3/M3 Madrese/Afther M2 Results/Day 1/M3s/22/Day 2/1.cpp | mirtaba/ACMICPC-INOI_Archive | ea06e4e40e984f0807410e4f9b5f7042580da2e3 | [
"MIT"
] | null | null | null | Olympiad Programs/M3/M3 Madrese/Afther M2 Results/Day 1/M3s/22/Day 2/1.cpp | mirtaba/ACMICPC-INOI_Archive | ea06e4e40e984f0807410e4f9b5f7042580da2e3 | [
"MIT"
] | null | null | null | #include <iostream>
#include <cstdio>
#include <algorithm>
#include <cmath>
#include <vector>
using namespace std;
#define pb push_back
#define mp make_pair
#define pf push_front
#define FOR(i,s,f) for (int i=s;i<f;i++)
typedef long long LL ;
typedef pair <int ,int > PII;
typedef pair <LL , LL > PLL;
const int M... | 16.228571 | 40 | 0.603873 | mirtaba |