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 109 | 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 48.5k ⌀ | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
28d00ab541c9c9ffe496f1e6151e3c24e736d6dd | 2,885 | cpp | C++ | tests/unit_tests/procedural_objects/procedural_object.cpp | diegoarjz/selector | 976abd0d9e721639e6314e2599ef7e6f3dafdc4f | [
"MIT"
] | 12 | 2019-04-16T17:35:53.000Z | 2020-04-12T14:37:27.000Z | tests/unit_tests/procedural_objects/procedural_object.cpp | diegoarjz/selector | 976abd0d9e721639e6314e2599ef7e6f3dafdc4f | [
"MIT"
] | 47 | 2019-05-27T15:24:43.000Z | 2020-04-27T17:54:54.000Z | tests/unit_tests/procedural_objects/procedural_object.cpp | diegoarjz/selector | 976abd0d9e721639e6314e2599ef7e6f3dafdc4f | [
"MIT"
] | null | null | null | #include <procedural_objects/geometry_system.h>
#include <procedural_objects/geometry_component.h>
#include <procedural_objects/hierarchical_component.h>
#include <procedural_objects/hierarchical_system.h>
#include <procedural_objects/procedural_object.h>
#include <procedural_objects/procedural_object_system.h>
#incl... | 33.941176 | 120 | 0.810745 | diegoarjz |
28d0aacefa1caa1d8fa34baaae6a6b74fe1cd62f | 129 | hpp | C++ | apal_cxx/include/init_numpy.hpp | davidkleiven/APAL | f3d549498d312b98f55aad5db7c4ad061785ecbf | [
"MIT"
] | null | null | null | apal_cxx/include/init_numpy.hpp | davidkleiven/APAL | f3d549498d312b98f55aad5db7c4ad061785ecbf | [
"MIT"
] | 15 | 2019-05-23T07:18:19.000Z | 2019-12-17T08:01:10.000Z | apal_cxx/include/init_numpy.hpp | davidkleiven/APAL | f3d549498d312b98f55aad5db7c4ad061785ecbf | [
"MIT"
] | null | null | null | #ifndef INIT_NUMPY_H
#define INIT_NUMPY_H
#define PY_ARRAY_UNIQUE_SYMBOL APAL_CXX_ARRAY_API
#include "numpy/arrayobject.h"
#endif | 25.8 | 49 | 0.860465 | davidkleiven |
28d0c716a4d6e56f6013df08ada6fe6e773f01d0 | 5,312 | cpp | C++ | MeshGeoToolsLib/BoundaryElementsAlongPolyline.cpp | mjamoein/ogs | 52e4d1bcf3bc21a44ee7710fc9900d8729334ad4 | [
"BSD-4-Clause"
] | null | null | null | MeshGeoToolsLib/BoundaryElementsAlongPolyline.cpp | mjamoein/ogs | 52e4d1bcf3bc21a44ee7710fc9900d8729334ad4 | [
"BSD-4-Clause"
] | null | null | null | MeshGeoToolsLib/BoundaryElementsAlongPolyline.cpp | mjamoein/ogs | 52e4d1bcf3bc21a44ee7710fc9900d8729334ad4 | [
"BSD-4-Clause"
] | null | null | null | /**
* @copyright
* Copyright (c) 2012-2019, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/LICENSE.txt
*/
#include "BoundaryElementsAlongPolyline.h"
#include <alg... | 37.942857 | 187 | 0.627636 | mjamoein |
28d1f5a8eaf4fa8ff7e4d6f527724e6d208c212d | 14,575 | cpp | C++ | lldb/source/Host/common/XML.cpp | AlexisPerry/kitsune-1 | 29c278e74f167613b8413b3c23277cdc13a656d7 | [
"MIT"
] | 27 | 2020-02-18T20:48:54.000Z | 2022-02-14T01:30:00.000Z | lldb/source/Host/common/XML.cpp | AlexisPerry/kitsune-1 | 29c278e74f167613b8413b3c23277cdc13a656d7 | [
"MIT"
] | 3 | 2020-02-14T10:43:01.000Z | 2022-02-05T22:55:07.000Z | llvm-project/lldb/source/Host/common/XML.cpp | ananthdurbha/llvm-mlir | a5e0b8903b83c777fa40a0fa538fbdb8176fd5ac | [
"MIT"
] | 7 | 2020-04-14T09:12:18.000Z | 2021-09-20T10:31:12.000Z | //===-- XML.cpp -------------------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 26.841621 | 80 | 0.637118 | AlexisPerry |
28d3950e8641b6503ac9bc91010e1b0cf648ed45 | 2,997 | cpp | C++ | ModeChoice/Share_Details.cpp | kravitz/transims4 | ea0848bf3dc71440d54724bb3ecba3947b982215 | [
"NASA-1.3"
] | 2 | 2018-04-27T11:07:02.000Z | 2020-04-24T06:53:21.000Z | ModeChoice/Share_Details.cpp | idkravitz/transims4 | ea0848bf3dc71440d54724bb3ecba3947b982215 | [
"NASA-1.3"
] | null | null | null | ModeChoice/Share_Details.cpp | idkravitz/transims4 | ea0848bf3dc71440d54724bb3ecba3947b982215 | [
"NASA-1.3"
] | null | null | null | //*********************************************************
// Share_Details.cpp - process a trip record
//*********************************************************
#include "ModeChoice.hpp"
//---------------------------------------------------------
// Share_Details_Report
//-----------------------------------------... | 32.934066 | 161 | 0.483483 | kravitz |
28d71f97c8502020715ec074242852f6c1081866 | 111,228 | cpp | C++ | remodet_repository_wdh_part/src/caffe/mask/bbox_func.cpp | UrwLee/Remo_experience | a59d5b9d6d009524672e415c77d056bc9dd88c72 | [
"MIT"
] | null | null | null | remodet_repository_wdh_part/src/caffe/mask/bbox_func.cpp | UrwLee/Remo_experience | a59d5b9d6d009524672e415c77d056bc9dd88c72 | [
"MIT"
] | null | null | null | remodet_repository_wdh_part/src/caffe/mask/bbox_func.cpp | UrwLee/Remo_experience | a59d5b9d6d009524672e415c77d056bc9dd88c72 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <csignal>
#include <ctime>
#include <map>
#include <string>
#include <utility>
#include <vector>
#include <iostream>
#include "boost/iterator/counting_iterator.hpp"
#include "caffe/mask/bbox_func.hpp"
namespace caffe {
template <typename Dtype>
bool BBoxAscend(const LabeledBBox<Dtype> ... | 39.738478 | 137 | 0.561873 | UrwLee |
28d7450dfbb1e50fb3a421b348ff39ec4fbfe187 | 529 | cpp | C++ | CodeForces/479A - Expression.cpp | w181496/OJ | 67d1d32770376865eba8a9dd1767e97dae68989a | [
"MIT"
] | 9 | 2017-10-08T16:22:03.000Z | 2021-08-20T09:32:17.000Z | CodeForces/479A - Expression.cpp | w181496/OJ | 67d1d32770376865eba8a9dd1767e97dae68989a | [
"MIT"
] | null | null | null | CodeForces/479A - Expression.cpp | w181496/OJ | 67d1d32770376865eba8a9dd1767e97dae68989a | [
"MIT"
] | 2 | 2018-01-15T16:35:44.000Z | 2019-03-21T18:30:04.000Z | #include <iostream>
#include <string>
#include <algorithm>
#include <iomanip>
#include <sstream>
#include <cmath>
#include <cstring>
#include <vector>
#include <map>
#include <cstdio>
#include <cstdlib>
#include <queue>
#include <stack>
using namespace std;
typedef long long LL;
int main()
{
int a, b, c, ans;
w... | 20.346154 | 109 | 0.557656 | w181496 |
28d783afe56cec54a39e52abf5aedb6054633e0d | 11,372 | cpp | C++ | lib/Target/TargetMachine.cpp | URSec/Silhouette-Compiler-Legacy | 28b37f3617c5543a87537decc074b168f4803d87 | [
"Apache-2.0"
] | 39 | 2020-03-17T03:10:47.000Z | 2022-03-15T10:36:45.000Z | lib/Target/TargetMachine.cpp | URSec/Silhouette-Compiler-Legacy | 28b37f3617c5543a87537decc074b168f4803d87 | [
"Apache-2.0"
] | 9 | 2015-01-02T06:20:32.000Z | 2017-10-19T13:21:02.000Z | lib/Target/TargetMachine.cpp | URSec/Silhouette-Compiler-Legacy | 28b37f3617c5543a87537decc074b168f4803d87 | [
"Apache-2.0"
] | 45 | 2018-06-16T08:51:03.000Z | 2022-02-11T09:52:02.000Z | //===-- TargetMachine.cpp - General Target Information ---------------------==//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 39.901754 | 80 | 0.674024 | URSec |
28dabe8c7c736314cd0296bc9752599418cbf66c | 1,986 | cpp | C++ | libs/lexical_cast/example/generic_stringize.cpp | lijgame/boost | ec2214a19cdddd1048058321a8105dd0231dac47 | [
"BSL-1.0"
] | null | null | null | libs/lexical_cast/example/generic_stringize.cpp | lijgame/boost | ec2214a19cdddd1048058321a8105dd0231dac47 | [
"BSL-1.0"
] | null | null | null | libs/lexical_cast/example/generic_stringize.cpp | lijgame/boost | ec2214a19cdddd1048058321a8105dd0231dac47 | [
"BSL-1.0"
] | null | null | null | // Copyright 2013 Antony Polukhin
// Distributed under the Boost Software License, Version 1.0.
// (See the accompanying file LICENSE_1_0.txt
// or a copy at <http://www.boost.org/LICENSE_1_0.txt>.)
#ifdef BOOST_MSVC
# pragma warning(disable: 4512) // generic_stringize.cpp(37) : warning C4512: 'stringize_funct... | 30.553846 | 169 | 0.691843 | lijgame |
28debe23e7db680cdaa4eb00d98d077617d13e9b | 5,705 | cpp | C++ | InfiniteRecharge/src/main/cpp/utilities/AutoCommandScheduler.cpp | NorthernForce/InfiniteRecharge | a6eb8129aee4aa959a12b3db9fba229ffbaaec7c | [
"MIT"
] | 1 | 2020-01-30T02:22:38.000Z | 2020-01-30T02:22:38.000Z | InfiniteRecharge/src/main/cpp/utilities/AutoCommandScheduler.cpp | NorthernForce/InfiniteRecharge | a6eb8129aee4aa959a12b3db9fba229ffbaaec7c | [
"MIT"
] | 5 | 2020-01-21T00:58:40.000Z | 2021-12-11T17:34:00.000Z | InfiniteRecharge/src/main/cpp/utilities/AutoCommandScheduler.cpp | NorthernForce/InfiniteRecharge | a6eb8129aee4aa959a12b3db9fba229ffbaaec7c | [
"MIT"
] | null | null | null | /*----------------------------------------------------------------------------*/
/* Copyright (c) 2018 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... | 32.414773 | 126 | 0.621911 | NorthernForce |
28e206b17cbe270b6de3a8ccaf289e286e78f8a7 | 1,190 | cpp | C++ | 3D Engine/AK/WwiseAuthoringAPI/cpp/SampleClient/AkAutobahn/Logger.cpp | botttos/PalmGine | 5335b00e8100a14c86280a9d6fdbef9728480bf0 | [
"Apache-2.0"
] | null | null | null | 3D Engine/AK/WwiseAuthoringAPI/cpp/SampleClient/AkAutobahn/Logger.cpp | botttos/PalmGine | 5335b00e8100a14c86280a9d6fdbef9728480bf0 | [
"Apache-2.0"
] | null | null | null | 3D Engine/AK/WwiseAuthoringAPI/cpp/SampleClient/AkAutobahn/Logger.cpp | botttos/PalmGine | 5335b00e8100a14c86280a9d6fdbef9728480bf0 | [
"Apache-2.0"
] | 3 | 2019-10-26T12:51:27.000Z | 2021-01-10T22:01:38.000Z | /*******************************************************************************
The content of this file includes portions of the AUDIOKINETIC Wwise Technology
released in source code form as part of the SDK installer package.
Commercial License Usage
Licensees holding valid commercial licenses to the AUDIOKINETIC W... | 29.02439 | 80 | 0.657983 | botttos |
28e3d0503a37e1f0d76d78159b40ceb9ecea9bb8 | 13,629 | cpp | C++ | ace/XtReactor/XtReactor.cpp | xiafuyang2004/ACEFileService | 51a330cdf2515919abe102bac5fec995fbe89cca | [
"MIT"
] | null | null | null | ace/XtReactor/XtReactor.cpp | xiafuyang2004/ACEFileService | 51a330cdf2515919abe102bac5fec995fbe89cca | [
"MIT"
] | null | null | null | ace/XtReactor/XtReactor.cpp | xiafuyang2004/ACEFileService | 51a330cdf2515919abe102bac5fec995fbe89cca | [
"MIT"
] | 1 | 2020-02-22T08:42:22.000Z | 2020-02-22T08:42:22.000Z | // $Id: XtReactor.cpp 82723 2008-09-16 09:35:44Z johnnyw $
#include "ace/XtReactor/XtReactor.h"
#include "ace/SOCK_Acceptor.h"
#include "ace/SOCK_Connector.h"
ACE_RCSID(ace, XtReactor, "$Id: XtReactor.cpp 82723 2008-09-16 09:35:44Z johnnyw $")
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_ALLOC_HOOK_DEFINE (ACE_XtReactor... | 30.219512 | 84 | 0.596595 | xiafuyang2004 |
28e3ea13262cca6aa5d257b4b8e6ab4eaf61cfbf | 704 | cpp | C++ | test/general/header_inclusion_order_numeric_0.pass.cpp | nadiasvertex/oneDPL | b6a14ebcf08747b4a106130f738714253edb31e4 | [
"Apache-2.0"
] | 540 | 2017-09-22T19:19:09.000Z | 2020-05-12T08:27:36.000Z | test/general/header_inclusion_order_numeric_0.pass.cpp | nadiasvertex/oneDPL | b6a14ebcf08747b4a106130f738714253edb31e4 | [
"Apache-2.0"
] | 198 | 2020-07-10T17:53:09.000Z | 2022-03-31T09:57:30.000Z | test/general/header_inclusion_order_numeric_0.pass.cpp | nadiasvertex/oneDPL | b6a14ebcf08747b4a106130f738714253edb31e4 | [
"Apache-2.0"
] | 57 | 2017-09-29T18:14:25.000Z | 2020-03-31T01:58:06.000Z | // -*- C++ -*-
//===-- header_inclusion_order_numeric_0.pass.cpp -------------------------===//
//
// Copyright (C) Intel Corporation
//
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
// This file incorporates work covered by the following copyright and permission
// notice:
//
// Part of the LLVM Projec... | 24.275862 | 80 | 0.609375 | nadiasvertex |
28e735f58a47b5b20335e3b08d3b5ea4baa335ab | 5,167 | cpp | C++ | features/src/narf_descriptor.cpp | zhangxaochen/CuFusion | e8bab7a366b1f2c85a80b95093d195d9f0774c11 | [
"MIT"
] | 52 | 2017-09-05T13:31:44.000Z | 2022-03-14T08:48:29.000Z | features/src/narf_descriptor.cpp | GucciPrada/CuFusion | 522920bcf316d1ddf9732fc71fa457174168d2fb | [
"MIT"
] | 4 | 2018-05-17T22:45:35.000Z | 2020-02-01T21:46:42.000Z | features/src/narf_descriptor.cpp | GucciPrada/CuFusion | 522920bcf316d1ddf9732fc71fa457174168d2fb | [
"MIT"
] | 21 | 2015-07-27T13:00:36.000Z | 2022-01-17T08:18:41.000Z | /*
* Software License Agreement (BSD License)
*
* Point Cloud Library (PCL) - www.pointclouds.org
* Copyright (c) 2010-2012, Willow Garage, Inc.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the followin... | 37.442029 | 141 | 0.593188 | zhangxaochen |
28e92a9a91e0c81315e1ca6adca26f0a3f8ee767 | 1,782 | cpp | C++ | src/component_draw.cpp | liamst19/asteroids-study | 809e6573eb45800ba06ec8e03e7103815188a70b | [
"MIT"
] | null | null | null | src/component_draw.cpp | liamst19/asteroids-study | 809e6573eb45800ba06ec8e03e7103815188a70b | [
"MIT"
] | null | null | null | src/component_draw.cpp | liamst19/asteroids-study | 809e6573eb45800ba06ec8e03e7103815188a70b | [
"MIT"
] | null | null | null | /** component_draw.cpp
*
*
*/
#include <vector>
#include "math.h"
#include "component_draw.h"
#include "gameobject.h"
/** Constructor
*
*/
DrawComponent::DrawComponent(GameObject* owner, int update_order):
Component(owner, update_order){
}
/** function update()
*
*/
void DrawCompone... | 24.081081 | 123 | 0.62514 | liamst19 |
28ec25b9daf87ef93831ba4ff5e33919be73737b | 1,255 | cpp | C++ | src/s2mTau.cpp | CamWilhelm/biorbd | 67d36e77d90cc09aa748c3acf2c2bdff5065d3c9 | [
"MIT"
] | null | null | null | src/s2mTau.cpp | CamWilhelm/biorbd | 67d36e77d90cc09aa748c3acf2c2bdff5065d3c9 | [
"MIT"
] | null | null | null | src/s2mTau.cpp | CamWilhelm/biorbd | 67d36e77d90cc09aa748c3acf2c2bdff5065d3c9 | [
"MIT"
] | null | null | null | #define BIORBD_API_EXPORTS
#include "../include/s2mTau.h"
s2mTau::s2mTau(const s2mJoints &j) :
s2mVector(j.nbTau()){
}
s2mTau s2mTau::timeDerivativeActivation(const s2mTau &act){
// Implémentation de la fonction da/dt = (u-a)/tau(u,a)
// ou tau(u,a) = t_act(0.5+1.5*a) is u>a et tau(u,a)=t_deact(0.5+1.5*a... | 33.026316 | 81 | 0.488446 | CamWilhelm |
28f140c8f8140f9d57c68a0d32a39d1368685ac2 | 5,400 | cc | C++ | src/cable_file_converter_app.cc | OverheadTransmissionLineSoftware/CableFileConverter | 41ddf582799bef215a6849aa870faeb7662e0a16 | [
"Unlicense"
] | 1 | 2017-12-26T04:50:23.000Z | 2017-12-26T04:50:23.000Z | src/cable_file_converter_app.cc | OverheadTransmissionLineSoftware/CableFileConverter | 41ddf582799bef215a6849aa870faeb7662e0a16 | [
"Unlicense"
] | null | null | null | src/cable_file_converter_app.cc | OverheadTransmissionLineSoftware/CableFileConverter | 41ddf582799bef215a6849aa870faeb7662e0a16 | [
"Unlicense"
] | null | null | null | // This is free and unencumbered software released into the public domain.
// For more information, please refer to <http://unlicense.org/>
#include "cable_file_converter_app.h"
#include "appcommon/units/cable_unit_converter.h"
#include "wx/filename.h"
#include "wx/stdpaths.h"
#include "wx/xml/xml.h"
#include "cable... | 30.681818 | 78 | 0.705926 | OverheadTransmissionLineSoftware |
28f2aa5b3b3e96383732d42cae7cac6b9556d057 | 251 | hpp | C++ | include/state/Pause.hpp | jhtr/LamakQuest | 381cbd6a6095528cdf55e5afa6b85348004a0298 | [
"MIT"
] | 2 | 2017-12-13T14:04:26.000Z | 2017-12-13T15:23:39.000Z | include/state/Pause.hpp | jhtr/LamakQuest | 381cbd6a6095528cdf55e5afa6b85348004a0298 | [
"MIT"
] | null | null | null | include/state/Pause.hpp | jhtr/LamakQuest | 381cbd6a6095528cdf55e5afa6b85348004a0298 | [
"MIT"
] | null | null | null | #ifndef PAUSE_HPP
#define PAUSE_HPP
#include "state/LevelMenu.hpp"
class Pause : public LevelMenu
{
public:
Pause(Stack& stack, const Assets& assets, const State& pausedState);
virtual void buttonClicked(int button);
};
#endif
| 16.733333 | 76 | 0.701195 | jhtr |
28f698a300b2917095d5020e3a300de1ff4dbace | 193 | hpp | C++ | include/pure/support/immer_compat.hpp | gabrielheinrich/pure-cpp | c774b135745bbb8b47a5bdfd728063e4ea0268fb | [
"BSL-1.0"
] | 8 | 2019-06-27T02:28:03.000Z | 2021-12-16T17:57:22.000Z | include/pure/support/immer_compat.hpp | gabrielheinrich/pure-cpp | c774b135745bbb8b47a5bdfd728063e4ea0268fb | [
"BSL-1.0"
] | null | null | null | include/pure/support/immer_compat.hpp | gabrielheinrich/pure-cpp | c774b135745bbb8b47a5bdfd728063e4ea0268fb | [
"BSL-1.0"
] | null | null | null | #pragma once
#include <pure/support/misc.hpp>
#if defined (PURE_COMPILER_MSVC)
#if defined (PURE_32BIT)
#define __popcnt64(x) (int16_t)(x)
#endif
#pragma warning (disable : 4996 4521)
#endif
| 17.545455 | 37 | 0.746114 | gabrielheinrich |
28faf292b05a5b96f854d25542209f53557aa47d | 2,040 | cc | C++ | unibo_qos/package/getssrc.cc | kohler/click-packages | cec70da7cf460548ef08f1ddad6924db29d5c0c5 | [
"MIT"
] | 13 | 2015-02-26T23:12:09.000Z | 2021-04-18T04:37:12.000Z | unibo_qos/package/getssrc.cc | kohoumas/click-packages | 6bb5c4ba286e5dbc74efd1708921d530425691f6 | [
"MIT"
] | null | null | null | unibo_qos/package/getssrc.cc | kohoumas/click-packages | 6bb5c4ba286e5dbc74efd1708921d530425691f6 | [
"MIT"
] | 7 | 2015-08-25T09:29:41.000Z | 2021-04-18T04:37:13.000Z | /*
* GetSSRC.{cc,hh} -- element copies 4 bytes inside the Click packet annotation.
* (when offset = 50 and packets pertain to an RTP flow, the SSRC field used
* inside the RTP protocol header is so extracted). The SSRC
* field identifies each single RTP flow - see RFC 3550.
*
* Example of usage in Click Configura... | 26.842105 | 80 | 0.681373 | kohler |
28fb7ce21a097fd554430678a09af5d75e9c5823 | 8,902 | cc | C++ | orly/csv_to_bin/write_cc.cc | orlyatomics/orly | d413f999f51a8e553832dab4e3baa7ca68928840 | [
"Apache-2.0"
] | 69 | 2015-01-06T05:12:57.000Z | 2021-11-06T20:34:10.000Z | orly/csv_to_bin/write_cc.cc | mpark/orly | 9d5033bb6034e97ebf944ab25398c6879709cc32 | [
"Apache-2.0"
] | 5 | 2015-07-09T02:21:50.000Z | 2021-08-13T11:10:26.000Z | orly/csv_to_bin/write_cc.cc | mpark/orly | 9d5033bb6034e97ebf944ab25398c6879709cc32 | [
"Apache-2.0"
] | 15 | 2015-01-23T13:34:05.000Z | 2020-06-15T16:46:50.000Z | /* <orly/csv_to_bin/write_cc.cc>
Implements <orly/csv_to_bin/write_cc.h>.
Copyright 2010-2014 OrlyAtomics, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apac... | 32.727941 | 194 | 0.557178 | orlyatomics |
28fd566baf8a69226b96ae72dceacf0d89225de6 | 2,055 | cpp | C++ | flyweight_pattern2/main.cpp | foxid-gamedev/cpp-design-patterns | 649c787b2fee1ddfb244ba93eca0186237e71aad | [
"MIT"
] | null | null | null | flyweight_pattern2/main.cpp | foxid-gamedev/cpp-design-patterns | 649c787b2fee1ddfb244ba93eca0186237e71aad | [
"MIT"
] | null | null | null | flyweight_pattern2/main.cpp | foxid-gamedev/cpp-design-patterns | 649c787b2fee1ddfb244ba93eca0186237e71aad | [
"MIT"
] | null | null | null | // not really a flyweight pattern
// got improved in flyweight_pattern3
#include <iostream>
#include <array>
#include <cstdlib>
#include <ctime>
#include <algorithm>
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>//
enum class Terrain
{
grass = 0,
hill,
river,
ma... | 20.969388 | 99 | 0.534307 | foxid-gamedev |
28fe157ecca7e171928275e49a32cd94acb56353 | 4,503 | cpp | C++ | Tank_Wars/EndGameState.cpp | ashishlamsal/Tank_Wars | b3705486792ab89db968892055e48e25d3e25ea4 | [
"MIT"
] | null | null | null | Tank_Wars/EndGameState.cpp | ashishlamsal/Tank_Wars | b3705486792ab89db968892055e48e25d3e25ea4 | [
"MIT"
] | null | null | null | Tank_Wars/EndGameState.cpp | ashishlamsal/Tank_Wars | b3705486792ab89db968892055e48e25d3e25ea4 | [
"MIT"
] | null | null | null | #include "EndGameState.h"
EndGameState::EndGameState(sf::RenderWindow& window,fontManager& fonts, soundbufferManager& sounds) : State(window,sounds),
m_mouseX(0), m_mouseY(0), m_restartGame(false), m_quitGame(false)
{
m_font = fonts.get(fontIdentifier::game_font);
m_title = new sf::Text("Game Over", m_font, END_GAM... | 27.126506 | 213 | 0.678659 | ashishlamsal |
28fea65a4e2ccd21b32237ebf563b4f0cf53b1b6 | 2,804 | hpp | C++ | include/Object.hpp | cyhap/pac-man | 79531bd02fcdba290737efceeb6c0fe278942907 | [
"BSD-3-Clause"
] | null | null | null | include/Object.hpp | cyhap/pac-man | 79531bd02fcdba290737efceeb6c0fe278942907 | [
"BSD-3-Clause"
] | 2 | 2019-12-02T17:38:42.000Z | 2019-12-09T17:50:11.000Z | include/Object.hpp | cyhap/pac-man | 79531bd02fcdba290737efceeb6c0fe278942907 | [
"BSD-3-Clause"
] | 1 | 2019-12-09T19:04:08.000Z | 2019-12-09T19:04:08.000Z | /*
* Copyright (c) 2019, Ari Kupferberg, Ethan Quist, Corbyn Yhap
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* ... | 34.195122 | 82 | 0.698645 | cyhap |
28ff7e35e1e41b4d82e687b53a61d85d2df9738d | 4,361 | cpp | C++ | Engine/source/gfx/D3D9/gfxD3D9CardProfiler.cpp | fr1tz/alux3d | 249a3b51751ce3184d52879b481f83eabe89e7e3 | [
"MIT"
] | null | null | null | Engine/source/gfx/D3D9/gfxD3D9CardProfiler.cpp | fr1tz/alux3d | 249a3b51751ce3184d52879b481f83eabe89e7e3 | [
"MIT"
] | null | null | null | Engine/source/gfx/D3D9/gfxD3D9CardProfiler.cpp | fr1tz/alux3d | 249a3b51751ce3184d52879b481f83eabe89e7e3 | [
"MIT"
] | 1 | 2018-10-26T03:18:22.000Z | 2018-10-26T03:18:22.000Z | // Copyright information can be found in the file named COPYING
// located in the root directory of this distribution.
#include "gfx/D3D9/gfxD3D9Device.h"
#include "console/console.h"
#include "gfx/primBuilder.h"
#include "gfx/D3D9/gfxD3D9CardProfiler.h"
#include "gfx/D3D9/gfxD3D9EnumTranslate.h"
#ifdef TORQUE_OS_WIN3... | 30.711268 | 119 | 0.714056 | fr1tz |
e90007cddd61488f1e5e82bee03ee00e2f0e14be | 5,982 | cxx | C++ | app/src/main/cpp/emu/emucore/TrackBall.cxx | kiakhoshvaght/Droid2600 | 997557ec0f0d89bc827aef2b09aeda0319f080cf | [
"Apache-2.0"
] | 3 | 2018-11-21T08:48:53.000Z | 2019-08-14T03:59:11.000Z | app/src/main/cpp/emu/emucore/TrackBall.cxx | kiakhoshvaght/Droid2600 | 997557ec0f0d89bc827aef2b09aeda0319f080cf | [
"Apache-2.0"
] | null | null | null | app/src/main/cpp/emu/emucore/TrackBall.cxx | kiakhoshvaght/Droid2600 | 997557ec0f0d89bc827aef2b09aeda0319f080cf | [
"Apache-2.0"
] | 2 | 2019-03-20T07:00:29.000Z | 2019-07-13T07:04:16.000Z | //============================================================================
//
// SSSS tt lll lll
// SS SS tt ll ll
// SS tttttt eeee ll ll aaaa
// SSSS tt ee ee ll ll aa
// SS tt eeeeee ll ll aaaaa -- "An Atari 2600 VCS Emula... | 33.418994 | 79 | 0.518054 | kiakhoshvaght |
e902ab45626f79fa23e98ff860c6325b72073423 | 5,571 | hpp | C++ | src/DeregnetStartHeuristic.hpp | KohlbacherLab/deregnet | b0a384d512b9e4b108fe8e0051d95f8600eb6244 | [
"BSD-3-Clause"
] | null | null | null | src/DeregnetStartHeuristic.hpp | KohlbacherLab/deregnet | b0a384d512b9e4b108fe8e0051d95f8600eb6244 | [
"BSD-3-Clause"
] | null | null | null | src/DeregnetStartHeuristic.hpp | KohlbacherLab/deregnet | b0a384d512b9e4b108fe8e0051d95f8600eb6244 | [
"BSD-3-Clause"
] | null | null | null | // --------------------------------------------------------------------------
// deregnet -- find deregulated pathways
// --------------------------------------------------------------------------
// Copyright Sebastian Winkler --- Eberhard Karls University Tuebingen, 2020
//
// This software is relea... | 38.42069 | 117 | 0.621432 | KohlbacherLab |
e9039092e2afb197956a8f661131a9c07b9ef248 | 1,931 | hpp | C++ | Application/include/ui/overlay/ComboPicker.hpp | RoutineFree/TriPlayer | 4e5ee19c992eba033b57444b7f4b312acf339163 | [
"MIT"
] | null | null | null | Application/include/ui/overlay/ComboPicker.hpp | RoutineFree/TriPlayer | 4e5ee19c992eba033b57444b7f4b312acf339163 | [
"MIT"
] | null | null | null | Application/include/ui/overlay/ComboPicker.hpp | RoutineFree/TriPlayer | 4e5ee19c992eba033b57444b7f4b312acf339163 | [
"MIT"
] | null | null | null | #ifndef OVERLAY_COMBOPICKER_HPP
#define OVERLAY_COMBOPICKER_HPP
#include "ui/element/ButtonPicker.hpp"
#include "ui/overlay/Overlay.hpp"
namespace CustomOvl {
class ComboPicker : public Overlay {
private:
// Callback to invoke when combo confirmed
std::function<void(std::vector<Aet... | 32.728814 | 87 | 0.574832 | RoutineFree |
e904cfd608fbc9db0aff8ea7cbe3624cf1f606fb | 459 | cpp | C++ | node_modules/lzz-gyp/lzz-source/smtc_NsEntity.cpp | SuperDizor/dizornator | 9f57dbb3f6af80283b4d977612c95190a3d47900 | [
"ISC"
] | 3 | 2019-09-18T16:44:33.000Z | 2021-03-29T13:45:27.000Z | node_modules/lzz-gyp/lzz-source/smtc_NsEntity.cpp | SuperDizor/dizornator | 9f57dbb3f6af80283b4d977612c95190a3d47900 | [
"ISC"
] | null | null | null | node_modules/lzz-gyp/lzz-source/smtc_NsEntity.cpp | SuperDizor/dizornator | 9f57dbb3f6af80283b4d977612c95190a3d47900 | [
"ISC"
] | 2 | 2019-03-29T01:06:38.000Z | 2019-09-18T16:44:34.000Z | // smtc_NsEntity.cpp
//
#include "smtc_NsEntity.h"
#ifndef LZZ_ENABLE_INLINE
#include "smtc_NsEntity.inl"
#endif
// semantic
#include "smtc_EntityVisitor.h"
#define LZZ_INLINE inline
namespace smtc
{
NsEntity::NsEntity (NsPtr const & ns)
: m_ns (ns)
{}
}
namespace smtc
{
NsEntity::~ NsEntity ()
{}
}
na... | 15.3 | 61 | 0.679739 | SuperDizor |
e904f892c39e32b9b5fa03e85ab8a0ee7948e922 | 104 | cpp | C++ | test/incrementalTest/tasks/generated/generatedtask_40.cpp | JamesMBallard/qmake-unity | cf5006a83e7fb1bbd173a9506771693a673d387f | [
"MIT"
] | 16 | 2019-05-23T08:10:39.000Z | 2021-12-21T11:20:37.000Z | test/incrementalTest/tasks/generated/generatedtask_40.cpp | JamesMBallard/qmake-unity | cf5006a83e7fb1bbd173a9506771693a673d387f | [
"MIT"
] | null | null | null | test/incrementalTest/tasks/generated/generatedtask_40.cpp | JamesMBallard/qmake-unity | cf5006a83e7fb1bbd173a9506771693a673d387f | [
"MIT"
] | 2 | 2019-05-23T18:37:43.000Z | 2021-08-24T21:29:40.000Z | #include "generatedtask_40.h"
#include "factory.h"
#include <QDebug>
REGISTER_CLASS(GeneratedTask40)
| 13 | 31 | 0.778846 | JamesMBallard |
e90c370beb5f6afb407fcac171ae0bc7547c5f1c | 550,755 | cpp | C++ | hphp/parser/hphp.tab.cpp | tmotyl/hiphop-php | 049793858aa930a0b8fc35ad3570f2d491f433eb | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/parser/hphp.tab.cpp | tmotyl/hiphop-php | 049793858aa930a0b8fc35ad3570f2d491f433eb | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/parser/hphp.tab.cpp | tmotyl/hiphop-php | 049793858aa930a0b8fc35ad3570f2d491f433eb | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | // @generated
/* A Bison parser, made by GNU Bison 2.4.1. */
/* Skeleton implementation for Bison's Yacc-like parsers in C
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
... | 40.031618 | 174 | 0.375728 | tmotyl |
e90f98c8387244f26a3b5f6aa9442720a5beb4ba | 3,108 | cpp | C++ | Externals/sockets/StreamSocket.cpp | fan3750060/OpenWow | 28925ebed1b3503d88014f6a3a7bd8adc777fdcc | [
"Apache-2.0"
] | null | null | null | Externals/sockets/StreamSocket.cpp | fan3750060/OpenWow | 28925ebed1b3503d88014f6a3a7bd8adc777fdcc | [
"Apache-2.0"
] | null | null | null | Externals/sockets/StreamSocket.cpp | fan3750060/OpenWow | 28925ebed1b3503d88014f6a3a7bd8adc777fdcc | [
"Apache-2.0"
] | 1 | 2020-03-30T03:22:38.000Z | 2020-03-30T03:22:38.000Z | /**
** \file StreamSocket.cpp
** \date 2008-12-20
** \author grymse@alhem.net
**/
/*
Copyright (C) 2008-2011 Anders Hedstrom
This library is made available under the terms of the GNU GPL, with
the additional exemption that compiling, linking, and/or using OpenSSL
is allowed.
If you would like to use this library... | 17.862069 | 76 | 0.719755 | fan3750060 |
e911430e127e0c7b7fe89a0a49627734574c81fe | 59,245 | cpp | C++ | src/coreclr/src/jit/smdata.cpp | abock/runtime | b3346807be96f6089fc1538946b3611f607389e2 | [
"MIT"
] | 6 | 2016-07-25T08:33:10.000Z | 2022-02-10T10:10:51.000Z | src/coreclr/src/jit/smdata.cpp | abock/runtime | b3346807be96f6089fc1538946b3611f607389e2 | [
"MIT"
] | 15 | 2017-01-27T20:18:50.000Z | 2019-11-14T00:52:58.000Z | src/coreclr/src/jit/smdata.cpp | abock/runtime | b3346807be96f6089fc1538946b3611f607389e2 | [
"MIT"
] | 3 | 2021-02-10T16:20:05.000Z | 2021-03-12T07:55:36.000Z | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
//
// Automatically generated code. DO NOT MODIFY!
/... | 83.916431 | 169 | 0.400878 | abock |
e913d1f480303ab2f5a4a438a7e687bb1cba355b | 2,447 | cc | C++ | src/key.cc | mattxlee/cyptocoin | 3a30c2efc946e6c2aa945d0fabc5eb0984a1071c | [
"MIT"
] | null | null | null | src/key.cc | mattxlee/cyptocoin | 3a30c2efc946e6c2aa945d0fabc5eb0984a1071c | [
"MIT"
] | null | null | null | src/key.cc | mattxlee/cyptocoin | 3a30c2efc946e6c2aa945d0fabc5eb0984a1071c | [
"MIT"
] | null | null | null | #include "key.h"
#include <cassert>
#include "rnd_man.h"
#include "rnd_openssl.h"
#include "rnd_os.h"
namespace ecdsa {
const unsigned int PRIVATE_KEY_STORE_SIZE = 32;
const unsigned int PRIVATE_KEY_SIZE = 279;
const unsigned int PUBLIC_KEY_SIZE = 65;
const unsigned int SIGNATURE_SIZE = 72;
Key::Key() {
// Creat... | 27.188889 | 80 | 0.702084 | mattxlee |
e91489c56c3f91fcf39a5180d6d2a0fd52503cf9 | 4,540 | cpp | C++ | 32blit-sdl/Main.cpp | Gadgetoid/32blit-beta | ff77149e904e314f756f3c7df59ef45a6676fc02 | [
"MIT"
] | null | null | null | 32blit-sdl/Main.cpp | Gadgetoid/32blit-beta | ff77149e904e314f756f3c7df59ef45a6676fc02 | [
"MIT"
] | null | null | null | 32blit-sdl/Main.cpp | Gadgetoid/32blit-beta | ff77149e904e314f756f3c7df59ef45a6676fc02 | [
"MIT"
] | null | null | null | #if defined(_WIN32) && !defined(WIN32)
#define WIN32
#endif
#ifdef __EMSCRIPTEN__
#include <emscripten/emscripten.h>
#endif
#include "SDL.h"
#include <iostream>
#include "Input.hpp"
#include "System.hpp"
#include "Renderer.hpp"
#ifdef VIDEO_CAPTURE
#include "VideoCapture.hpp"
#endif
#ifndef WINDOW_TITLE
#define WI... | 23.523316 | 120 | 0.711894 | Gadgetoid |
e918345bc88f9d36b0e0c92301b87beb7c8d53b8 | 2,505 | cpp | C++ | CXX/src/euler008.cpp | troberson/exercises-euler | 03ffafb1016d252ca297f2ab6f02552df1377496 | [
"BSD-3-Clause"
] | 1 | 2020-02-12T20:40:39.000Z | 2020-02-12T20:40:39.000Z | CXX/src/euler008.cpp | troberson/exercises-euler | 03ffafb1016d252ca297f2ab6f02552df1377496 | [
"BSD-3-Clause"
] | null | null | null | CXX/src/euler008.cpp | troberson/exercises-euler | 03ffafb1016d252ca297f2ab6f02552df1377496 | [
"BSD-3-Clause"
] | null | null | null | /*
* Project Euler - 008 - Largest product in a series
* Tamara Roberson <tamara.roberson@gmail.com>
* Copyright (c) 2019 Tamara Roberson
*
* The four adjacent digits in the 1000-digit number that have the greatest
* product are 9 × 9 × 8 × 9 = 5832.
*
* ...
*
* Find the thirteen adjacent digits in the 1000-d... | 31.708861 | 83 | 0.743313 | troberson |
e9190d5b8cdad91b0c01ac6713298ea1e4818780 | 885 | cpp | C++ | numeric/numeric_mod.cpp | LuisMBaezCo/cpp-algorithm-snippets | 9736f97437cf52b3c8cdf6bfe00de919448d2e50 | [
"MIT"
] | 7 | 2020-12-11T00:24:42.000Z | 2022-03-14T05:59:35.000Z | numeric/numeric_mod.cpp | LuisMBaezCo/cpp-algorithm-snippets | 9736f97437cf52b3c8cdf6bfe00de919448d2e50 | [
"MIT"
] | 15 | 2021-02-04T23:12:46.000Z | 2022-03-17T01:07:12.000Z | numeric/numeric_mod.cpp | LuisMBaezCo/cpp-algorithm-snippets | 9736f97437cf52b3c8cdf6bfe00de919448d2e50 | [
"MIT"
] | null | null | null | const int MOD = int(1e9+7);
template<typename T>
T sub(T a, T b) {
return ((a-b)%MOD + MOD) % MOD;
}
template<typename T>
T add(T a, T b) {
return ((a%MOD) + (b%MOD)) % MOD;
}
template<typename T>
T mul(T a, T b) {
return ((a%MOD) * (b%MOD)) % MOD;
}
template<typename T, typename U>
T fastpow(T a, U b) ... | 17.7 | 37 | 0.456497 | LuisMBaezCo |
e91abc9f5d2977d49c70fa1a39ca0817e6223db1 | 55,047 | cpp | C++ | Source/WebCore/Modules/indexeddb/IDBTransaction.cpp | ijsf/DeniseEmbeddableWebKit | 57dfc6783d60f8f59b7129874e60f84d8c8556c9 | [
"BSD-3-Clause"
] | null | null | null | Source/WebCore/Modules/indexeddb/IDBTransaction.cpp | ijsf/DeniseEmbeddableWebKit | 57dfc6783d60f8f59b7129874e60f84d8c8556c9 | [
"BSD-3-Clause"
] | 9 | 2020-04-18T18:47:18.000Z | 2020-04-18T18:52:41.000Z | Source/WebCore/Modules/indexeddb/IDBTransaction.cpp | ijsf/DeniseEmbeddableWebKit | 57dfc6783d60f8f59b7129874e60f84d8c8556c9 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2015, 2016 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condit... | 39.207265 | 247 | 0.743492 | ijsf |
e91abea69c897cd1204be30c29b0f1e9d9a205f0 | 733 | cpp | C++ | 15.cpp | zfang399/LeetCode-Problems | 4cb25718a3d1361569f5ee6fde7b4a9a4fde2186 | [
"MIT"
] | 8 | 2018-10-31T11:00:19.000Z | 2020-07-31T05:25:06.000Z | 15.cpp | zfang399/LeetCode-Problems | 4cb25718a3d1361569f5ee6fde7b4a9a4fde2186 | [
"MIT"
] | null | null | null | 15.cpp | zfang399/LeetCode-Problems | 4cb25718a3d1361569f5ee6fde7b4a9a4fde2186 | [
"MIT"
] | 2 | 2018-05-31T11:29:22.000Z | 2019-09-11T06:34:40.000Z | class Solution {
public:
vector<vector<int>> threeSum(vector<int>& nums) {
vector<vector<int>> ans;
if(nums.size()<3) return ans;
sort(nums.begin(),nums.end());
for(int i=0;i<nums.size()-2;){
int f=i+1,r=nums.size()-1;
while(f<r){
if(nums[i]+nu... | 29.32 | 88 | 0.387449 | zfang399 |
e91ce99a74130587eda773a193bdb5679ecf6921 | 3,968 | cpp | C++ | src/string_view.cpp | paxakor/cache_server | 5d8b93559fd3cec2ef0769bad8c92753586ebb7b | [
"MIT"
] | null | null | null | src/string_view.cpp | paxakor/cache_server | 5d8b93559fd3cec2ef0769bad8c92753586ebb7b | [
"MIT"
] | null | null | null | src/string_view.cpp | paxakor/cache_server | 5d8b93559fd3cec2ef0769bad8c92753586ebb7b | [
"MIT"
] | null | null | null | // Copyright 2016-2017, Pavel Korozevtsev.
#include <cstring>
#include <algorithm>
#include <utility>
#include "include/string_view.hpp"
namespace pkr {
string_view::string_view(const std::string& s)
: ptr(s.data())
, len(s.size()) {
}
string_view::string_view(const_pointer p, string_view::size_type l)
... | 22.292135 | 80 | 0.604839 | paxakor |
11e96ecc1ceddc378116ca9d96f9c655df09bca6 | 372 | cpp | C++ | storage_quota.cpp | mexicowilly/Espadin | f33580d2c77c5efe92c05de0816ec194e87906f0 | [
"Apache-2.0"
] | null | null | null | storage_quota.cpp | mexicowilly/Espadin | f33580d2c77c5efe92c05de0816ec194e87906f0 | [
"Apache-2.0"
] | null | null | null | storage_quota.cpp | mexicowilly/Espadin | f33580d2c77c5efe92c05de0816ec194e87906f0 | [
"Apache-2.0"
] | null | null | null | #include <espadin/storage_quota.hpp>
#include "cjson_util.hpp"
namespace espadin
{
storage_quota::storage_quota(const cJSON& json)
{
cjson::util ju(const_cast<cJSON&>(json));
ju.set_number("limit", limit_);
ju.set_number("usage", usage_);
ju.set_number("usageInDrive", usage_in_drive_);
ju.set_numb... | 23.25 | 62 | 0.728495 | mexicowilly |
11eb2066ca1486f5dbcbf4e031f9e2627b10aa64 | 5,001 | cpp | C++ | thirdparty/MPC/filters/parser/BaseSplitter/MultiFiles.cpp | slavanap/ssifSource | 739f42b62cffe4072c3a9ec602e5c595c8af7be8 | [
"MIT"
] | 15 | 2016-06-23T03:01:56.000Z | 2022-02-15T23:19:17.000Z | thirdparty/MPC/filters/parser/BaseSplitter/MultiFiles.cpp | slavanap/ssifSource | 739f42b62cffe4072c3a9ec602e5c595c8af7be8 | [
"MIT"
] | null | null | null | thirdparty/MPC/filters/parser/BaseSplitter/MultiFiles.cpp | slavanap/ssifSource | 739f42b62cffe4072c3a9ec602e5c595c8af7be8 | [
"MIT"
] | 3 | 2018-09-27T07:04:41.000Z | 2020-07-15T05:50:22.000Z | /*
* (C) 2009-2013 see Authors.txt
*
* This file is part of MPC-HC.
*
* MPC-HC 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 later version.
... | 24.514706 | 101 | 0.595881 | slavanap |
11ed07e13fecb15de9ca5884c711671797b94731 | 520 | cpp | C++ | C++ Language/Beecrowd/URI 1183 Acima_da_Diagonal_Principal.cpp | dathannobrega/Ensino-Ufu-SI | f276c0854d13ace8b1e53618c6e5f05847fe5a54 | [
"MIT"
] | 1 | 2022-02-14T13:17:22.000Z | 2022-02-14T13:17:22.000Z | C++ Language/Beecrowd/URI 1183 Acima_da_Diagonal_Principal.cpp | dathannobrega/Ensino-Ufu-SI | f276c0854d13ace8b1e53618c6e5f05847fe5a54 | [
"MIT"
] | null | null | null | C++ Language/Beecrowd/URI 1183 Acima_da_Diagonal_Principal.cpp | dathannobrega/Ensino-Ufu-SI | f276c0854d13ace8b1e53618c6e5f05847fe5a54 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main()
{
double M[12][12], soma = 0;
char op;
int i, j;
cin >> op;
cout.precision(1);
cout.setf(ios::fixed);
for (i = 0; i <12; i++)
{
for (j = 0; j < 12; j++)
{
cin >> M[i][j];
if (j >0 + i)
... | 15.757576 | 34 | 0.344231 | dathannobrega |
11ed28b4f9516b621cb25f5275da752f56d82f28 | 9,025 | cpp | C++ | unit_tests/core/math/optimization/bfgs/src/unit_bfgs.cpp | ricortiz/OpenTissue | f8c8ebc5137325b77ba90bed897f6be2795bd6fb | [
"Zlib"
] | 76 | 2018-02-20T11:30:52.000Z | 2022-03-31T12:45:06.000Z | unit_tests/core/math/optimization/bfgs/src/unit_bfgs.cpp | ricortiz/OpenTissue | f8c8ebc5137325b77ba90bed897f6be2795bd6fb | [
"Zlib"
] | 27 | 2018-11-20T14:32:49.000Z | 2021-11-24T15:26:45.000Z | unit_tests/core/math/optimization/bfgs/src/unit_bfgs.cpp | ricortiz/OpenTissue | f8c8ebc5137325b77ba90bed897f6be2795bd6fb | [
"Zlib"
] | 24 | 2018-02-21T01:45:26.000Z | 2022-03-07T07:06:49.000Z | //
// OpenTissue, A toolbox for physical based simulation and animation.
// Copyright (C) 2007 Department of Computer Science, University of Copenhagen
//
#include <OpenTissue/configuration.h>
#include <OpenTissue/core/math/big/big_types.h>
#include <OpenTissue/core/math/optimization/optimization_bfgs.h>
#include <Ope... | 24.862259 | 143 | 0.615402 | ricortiz |
11f147eec2d3ab52210936e0b0e6b120362c5f36 | 6,467 | cpp | C++ | src/engine/menu/classes/parsers/MyScriptParser.cpp | arthurchaloin/indie | 84fa7f0864c54e4b35620235ca4e852d7b85fffd | [
"MIT"
] | null | null | null | src/engine/menu/classes/parsers/MyScriptParser.cpp | arthurchaloin/indie | 84fa7f0864c54e4b35620235ca4e852d7b85fffd | [
"MIT"
] | null | null | null | src/engine/menu/classes/parsers/MyScriptParser.cpp | arthurchaloin/indie | 84fa7f0864c54e4b35620235ca4e852d7b85fffd | [
"MIT"
] | null | null | null | /*
** EPITECH PROJECT, 2018
** Indie
** File description:
** My Script Parser Cpp
*/
#include "MyScriptParser.hpp"
engine::Menu::MyScriptParser::MyScriptParser(std::string path, engine::Scene *scene, engine::Game *game)
{
_path = path;
_elementHandled.insert(std::pair<std::string, std::function<void(void)>>("button... | 30.361502 | 121 | 0.638163 | arthurchaloin |
11f56bbfa120aa0492057ae600870ae3ec2027f1 | 993 | cpp | C++ | test/unit/helpers/GeneralHelper.cpp | jlt3fw/oralreportpractice | fb6ae5366cf5b45bc1d5c08f00f97bee38909fcc | [
"MIT"
] | null | null | null | test/unit/helpers/GeneralHelper.cpp | jlt3fw/oralreportpractice | fb6ae5366cf5b45bc1d5c08f00f97bee38909fcc | [
"MIT"
] | null | null | null | test/unit/helpers/GeneralHelper.cpp | jlt3fw/oralreportpractice | fb6ae5366cf5b45bc1d5c08f00f97bee38909fcc | [
"MIT"
] | null | null | null | #include "GeneralHelper.h"
#include <cstddef>
std::vector<std::string> GeneralHelper::tokenize(std::string str, char delim) {
std::vector<std::string> tokens;
int startIndex = 0;
int endIndex = 0;
while ((endIndex = str.find(delim, startIndex)) != std::string::npos) {
tokens.push_back(str.substr(startInde... | 32.032258 | 79 | 0.672709 | jlt3fw |
11f6a92eaa0b2f02a30a6e474c5ec639910f9a45 | 4,567 | cpp | C++ | src/main.cpp | torikizi/zakuro | 4340fa837d8aff75e9afe83e4b9f170a103dd7d4 | [
"Apache-2.0"
] | null | null | null | src/main.cpp | torikizi/zakuro | 4340fa837d8aff75e9afe83e4b9f170a103dd7d4 | [
"Apache-2.0"
] | null | null | null | src/main.cpp | torikizi/zakuro | 4340fa837d8aff75e9afe83e4b9f170a103dd7d4 | [
"Apache-2.0"
] | null | null | null | #include <atomic>
#include <condition_variable>
#include <csignal>
#include <iostream>
#include <string>
#include <thread>
#include <vector>
// Linux
#include <sys/resource.h>
// WebRTC
#include <rtc_base/log_sinks.h>
#include <rtc_base/string_utils.h>
#include <blend2d.h>
#include <yaml-cpp/yaml.h>
#if defined(__A... | 26.552326 | 79 | 0.614846 | torikizi |
11f9a985b12c5c6407b57f0e762dd24b29e3bd50 | 26,299 | cpp | C++ | cvs/objects/functions/source/sgm_input.cpp | cmcormack/gcam-core | ccbe826dbfeb9ed85472977aac6d36dbbf763a23 | [
"ECL-2.0"
] | 1 | 2021-04-28T04:10:11.000Z | 2021-04-28T04:10:11.000Z | cvs/objects/functions/source/sgm_input.cpp | cmcormack/gcam-core | ccbe826dbfeb9ed85472977aac6d36dbbf763a23 | [
"ECL-2.0"
] | 2 | 2019-05-30T21:13:21.000Z | 2019-08-14T13:21:13.000Z | cvs/objects/functions/source/sgm_input.cpp | cmcormack/gcam-core | ccbe826dbfeb9ed85472977aac6d36dbbf763a23 | [
"ECL-2.0"
] | 1 | 2022-03-09T07:50:42.000Z | 2022-03-09T07:50:42.000Z | /*
* LEGAL NOTICE
* This computer software was prepared by Battelle Memorial Institute,
* hereinafter the Contractor, under Contract No. DE-AC05-76RL0 1830
* with the Department of Energy (DOE). NEITHER THE GOVERNMENT NOR THE
* CONTRACTOR MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR ASSUMES ANY
* LIABILITY FOR THE USE OF... | 39.310912 | 131 | 0.67398 | cmcormack |
11fa59098daf9aba821ea3eabc235bf90915816b | 2,007 | cpp | C++ | test/training_data/plag_original_codes/04_033_plag.cpp | xryuseix/SA-Plag | 167f7a2b2fa81ff00fd5263772a74c2c5c61941d | [
"MIT"
] | 13 | 2021-01-20T19:53:16.000Z | 2021-11-14T16:30:32.000Z | test/training_data/plag_original_codes/04_033_plag.cpp | xryuseix/SA-Plag | 167f7a2b2fa81ff00fd5263772a74c2c5c61941d | [
"MIT"
] | null | null | null | test/training_data/plag_original_codes/04_033_plag.cpp | xryuseix/SA-Plag | 167f7a2b2fa81ff00fd5263772a74c2c5c61941d | [
"MIT"
] | null | null | null | // 引用元 : https://atcoder.jp/contests/abc137/submissions/6827284
// 得点 : 400
// コード長 : 1246
// 実行時間 : 55
#include <bits/stdc++.h>
#define ll long long
#define all(aaaaaaaaaaaa) (aaaaaaaaaaaa).begin(), (aaaaaaaaaaaa).end()
#pragma GCC optimize("O3")
#pragma GCC optimize("Ofast")
#pragma GCC target("sse,sse2,... | 34.016949 | 207 | 0.717489 | xryuseix |
11fb5a3f488f4189b3e4a0f2ff7efdeccbd98ca6 | 3,343 | cpp | C++ | src/test/csf/Scheduler_test.cpp | BRTNetwork/brtd | 5bda54d04a669bfbe4cfd4bb5399d56caeaf5a1a | [
"BSL-1.0"
] | null | null | null | src/test/csf/Scheduler_test.cpp | BRTNetwork/brtd | 5bda54d04a669bfbe4cfd4bb5399d56caeaf5a1a | [
"BSL-1.0"
] | null | null | null | src/test/csf/Scheduler_test.cpp | BRTNetwork/brtd | 5bda54d04a669bfbe4cfd4bb5399d56caeaf5a1a | [
"BSL-1.0"
] | null | null | null | //------------------------------------------------------------------------------
/*
This file is part of brtd: https://github.com/BRTNetwork/brtd
Copyright (c) 2017 Ripple Labs Inc.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted,... | 37.144444 | 80 | 0.597667 | BRTNetwork |
f5012d8d8fb4bb2845a24fededd74634a4524451 | 1,003 | cpp | C++ | src/Gfx/VertexArray.cpp | ennis/autograph-pipelines | afc66ef60bf99fca26d200bd7739528e1bf3ed8c | [
"MIT"
] | 1 | 2021-04-24T12:29:42.000Z | 2021-04-24T12:29:42.000Z | src/Gfx/VertexArray.cpp | ennis/autograph-pipelines | afc66ef60bf99fca26d200bd7739528e1bf3ed8c | [
"MIT"
] | null | null | null | src/Gfx/VertexArray.cpp | ennis/autograph-pipelines | afc66ef60bf99fca26d200bd7739528e1bf3ed8c | [
"MIT"
] | null | null | null | #include <autograph/Gfx/GfxContext.h>
#include <autograph/Gfx/VertexArray.h>
#include <cassert>
namespace ag {
VertexArray::VertexArray(ag::span<VertexAttribute> attribs) {
initialize(attribs);
}
void VertexArray::initialize(ag::span<VertexAttribute> attribs) {
constexpr auto max_attribs = 16;
auto num_attribs... | 31.34375 | 90 | 0.717846 | ennis |
f50352fade80ddd09fea61e86845fba457fbafed | 3,492 | cpp | C++ | src/simpleServer/query_parser.cpp | ondra-novak/simpleServer | 54b46ff9d7ed091422e725edbf9f027b2a4a7c7d | [
"MIT"
] | 5 | 2019-06-21T06:00:54.000Z | 2022-03-09T17:25:32.000Z | src/simpleServer/query_parser.cpp | ondra-novak/simpleServer | 54b46ff9d7ed091422e725edbf9f027b2a4a7c7d | [
"MIT"
] | null | null | null | src/simpleServer/query_parser.cpp | ondra-novak/simpleServer | 54b46ff9d7ed091422e725edbf9f027b2a4a7c7d | [
"MIT"
] | null | null | null | #include "query_parser.h"
#include "urlencode.h"
namespace simpleServer {
QueryParser::QueryParser(StrViewA vpath) {
parse(vpath, false);
}
QueryParser::ParamMap::const_iterator QueryParser::begin() const {
return pmap.begin();
}
QueryParser::ParamMap::const_iterator QueryParser::end() const {
return pmap.end... | 19.840909 | 74 | 0.626861 | ondra-novak |
f5101bb6a858d6fd825cbd471611c180e6e9ae74 | 7,444 | cpp | C++ | adaptors/common/events/pinch-gesture-detector.cpp | pwisbey/dali-adaptor | 21d5e77316e53285fa1e210a93b13cf9889e3b54 | [
"Apache-2.0"
] | null | null | null | adaptors/common/events/pinch-gesture-detector.cpp | pwisbey/dali-adaptor | 21d5e77316e53285fa1e210a93b13cf9889e3b54 | [
"Apache-2.0"
] | null | null | null | adaptors/common/events/pinch-gesture-detector.cpp | pwisbey/dali-adaptor | 21d5e77316e53285fa1e210a93b13cf9889e3b54 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2014 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 28.964981 | 130 | 0.659726 | pwisbey |
f5136e3e9e4785301b8c54667cf2362426df1440 | 6,306 | cpp | C++ | hip/preconditioner/jacobi_kernels.hip.cpp | tamiko/ginkgo | 4df4dea1fbf142ddd3ee8aae9ff3f43c2a0829e1 | [
"BSD-3-Clause"
] | null | null | null | hip/preconditioner/jacobi_kernels.hip.cpp | tamiko/ginkgo | 4df4dea1fbf142ddd3ee8aae9ff3f43c2a0829e1 | [
"BSD-3-Clause"
] | null | null | null | hip/preconditioner/jacobi_kernels.hip.cpp | tamiko/ginkgo | 4df4dea1fbf142ddd3ee8aae9ff3f43c2a0829e1 | [
"BSD-3-Clause"
] | null | null | null | /*******************************<GINKGO LICENSE>******************************
Copyright (c) 2017-2020, the Ginkgo authors
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source co... | 37.313609 | 80 | 0.708849 | tamiko |
f5174854b71c3ce885d1288fba7c7e81babceb92 | 2,103 | cpp | C++ | wallet-bot/HttpClient.cpp | Avm07/wallet-bot | 02e4b42c527fd082710d639f1cdac5124439c866 | [
"MIT"
] | null | null | null | wallet-bot/HttpClient.cpp | Avm07/wallet-bot | 02e4b42c527fd082710d639f1cdac5124439c866 | [
"MIT"
] | null | null | null | wallet-bot/HttpClient.cpp | Avm07/wallet-bot | 02e4b42c527fd082710d639f1cdac5124439c866 | [
"MIT"
] | null | null | null | #include "HttpClient.hpp"
using namespace tlg_bot;
void HttpClient::send_request_http(const std::string &host, const http::verb &method, const std::string &target)
{
tcp::resolver resolver(m_io_context);
beast::tcp_stream stream(m_io_context);
auto const results = resolver.resolve(host, "80");
stream... | 30.042857 | 113 | 0.69282 | Avm07 |
f51b914871ad95728dcd5422707c73167667eeec | 2,783 | cpp | C++ | uut/video/uutVideoBuffer.cpp | kolyden/engine | cab1881a8493b591a136a5ce3d502e704fdea7bf | [
"Unlicense"
] | null | null | null | uut/video/uutVideoBuffer.cpp | kolyden/engine | cab1881a8493b591a136a5ce3d502e704fdea7bf | [
"Unlicense"
] | null | null | null | uut/video/uutVideoBuffer.cpp | kolyden/engine | cab1881a8493b591a136a5ce3d502e704fdea7bf | [
"Unlicense"
] | null | null | null | #include "uutVideoBuffer.h"
#include "core/uutContext.h"
#include "uutVideo.h"
namespace uut
{
VideoBuffer::VideoBuffer(Context* context)
: Object(context)
, VideoObject(_context->GetModule<Video>())
, _dataType(BUFFER_VERTEX)
, _flags()
, _size(0)
, _buf... | 23.386555 | 102 | 0.524254 | kolyden |
f51bb413c318284b218a3b5a39de2459d601cf6d | 5,275 | hpp | C++ | inc/lift/executor.hpp | jbaldwin/libcfh | 722310a56f74e7b33b8f0998702ca3ca12b69fdb | [
"Apache-2.0"
] | 35 | 2019-04-01T19:53:55.000Z | 2022-02-24T08:47:28.000Z | inc/lift/executor.hpp | jbaldwin/libcfh | 722310a56f74e7b33b8f0998702ca3ca12b69fdb | [
"Apache-2.0"
] | 52 | 2017-10-01T16:35:59.000Z | 2021-06-18T16:03:27.000Z | inc/lift/executor.hpp | jbaldwin/libcfh | 722310a56f74e7b33b8f0998702ca3ca12b69fdb | [
"Apache-2.0"
] | 13 | 2018-01-29T04:17:05.000Z | 2022-02-28T05:42:57.000Z | #pragma once
#include "lift/request.hpp"
#include "lift/response.hpp"
#include <curl/curl.h>
#include <map>
namespace lift
{
class request;
class client;
/**
* This class's design is to encapsulate executing either a synchronous
* or asynchronous request while also maintaining ownership boundaries
* between the... | 33.814103 | 114 | 0.696303 | jbaldwin |
f52039ddd8c8e4cf8e327b123d1ab37ade87f6dc | 4,729 | cpp | C++ | src/webm/input/context.cpp | kounoike/hisui | 7dca5cf4fedfdcf9320a1299ed61f16ee6a3a3ce | [
"Apache-2.0"
] | null | null | null | src/webm/input/context.cpp | kounoike/hisui | 7dca5cf4fedfdcf9320a1299ed61f16ee6a3a3ce | [
"Apache-2.0"
] | null | null | null | src/webm/input/context.cpp | kounoike/hisui | 7dca5cf4fedfdcf9320a1299ed61f16ee6a3a3ce | [
"Apache-2.0"
] | null | null | null | #include "webm/input/context.hpp"
#include <fmt/core.h>
#include <mkvparser/mkvparser.h>
#include <mkvparser/mkvreader.h>
#include <stdexcept>
namespace hisui::webm::input {
void Context::reset() {
if (m_reader != nullptr) {
delete m_reader;
}
if (m_segment != nullptr) {
delete m_segment;
}
if (m_... | 26.127072 | 80 | 0.65701 | kounoike |
f5225fb8a2f8d2bb0a6d7bc3c2e1c4ada22dcd42 | 4,006 | cpp | C++ | src/Loaders/NFS2/TRK/ExtraObjectBlock.cpp | AmrikSadhra/FCE-To-Obj | a3c928077add2bd5d5f3463daee6008f150a0a54 | [
"MIT"
] | 212 | 2019-08-10T16:57:57.000Z | 2022-03-30T02:21:05.000Z | src/Loaders/NFS2/TRK/ExtraObjectBlock.cpp | AmrikSadhra/FCE-To-Obj | a3c928077add2bd5d5f3463daee6008f150a0a54 | [
"MIT"
] | 11 | 2018-07-10T18:01:09.000Z | 2019-06-26T13:41:24.000Z | src/Loaders/NFS2/TRK/ExtraObjectBlock.cpp | AmrikSadhra/FCE-to-OBJ | a3c928077add2bd5d5f3463daee6008f150a0a54 | [
"MIT"
] | 20 | 2020-02-09T02:38:35.000Z | 2022-03-23T20:26:28.000Z | #include "ExtraObjectBlock.h"
using namespace LibOpenNFS::NFS2;
template <typename Platform>
ExtraObjectBlock<Platform>::ExtraObjectBlock(std::ifstream &trk, NFSVer version)
{
this->version = version;
ASSERT(this->_SerializeIn(trk), "Failed to serialize ExtraObjectBlock from file stream");
}
template <typena... | 35.451327 | 121 | 0.623315 | AmrikSadhra |
f527204ae82ec2d37182ca8176c1145d6699209a | 482 | cpp | C++ | C++/Remove Duplicates from Sorted List/Remove Duplicates from Sorted List.cpp | MikuGhoul/LeetCode | 0c75f929107e5b9f338d79dd50a14415d713db85 | [
"MIT"
] | null | null | null | C++/Remove Duplicates from Sorted List/Remove Duplicates from Sorted List.cpp | MikuGhoul/LeetCode | 0c75f929107e5b9f338d79dd50a14415d713db85 | [
"MIT"
] | null | null | null | C++/Remove Duplicates from Sorted List/Remove Duplicates from Sorted List.cpp | MikuGhoul/LeetCode | 0c75f929107e5b9f338d79dd50a14415d713db85 | [
"MIT"
] | null | null | null | // Runtime: 13 ms
class Solution {
public:
ListNode* deleteDuplicates(ListNode* head) {
// if (!head || !head->next)
// return head;
ListNode* fast = head, * slow = head;
while (fast && slow) {
fast = fast->next;
while (fast && (fast->val == slow->val)) {
... | 26.777778 | 54 | 0.431535 | MikuGhoul |
f5288e1deed5ddb7af5578e0d26beffd567563dd | 5,338 | cpp | C++ | wrapper/DrawList.cpp | eliasdaler/imgui-go | 4e541d6eede1c11f1c3698c28433dac05a242b5c | [
"BSD-3-Clause"
] | null | null | null | wrapper/DrawList.cpp | eliasdaler/imgui-go | 4e541d6eede1c11f1c3698c28433dac05a242b5c | [
"BSD-3-Clause"
] | null | null | null | wrapper/DrawList.cpp | eliasdaler/imgui-go | 4e541d6eede1c11f1c3698c28433dac05a242b5c | [
"BSD-3-Clause"
] | null | null | null | #include "ConfiguredImGui.h"
#include "DrawList.h"
#include "WrapperConverter.h"
int iggDrawListGetCommandCount(IggDrawList handle)
{
ImDrawList *list = reinterpret_cast<ImDrawList *>(handle);
return list->CmdBuffer.Size;
}
IggDrawCmd iggDrawListGetCommand(IggDrawList handle, int index)
{
ImDrawList *list =... | 34 | 219 | 0.755526 | eliasdaler |
f52caa3e0a1eae9c53d80b8de5ae926d230e72a9 | 4,889 | hpp | C++ | libraries/blockchain/include/bts/blockchain/asset_record.hpp | dacsunlimited/dacplay | 91e354c951cf137617f2593c895e009866923bed | [
"Unlicense"
] | 20 | 2015-03-30T23:41:06.000Z | 2017-03-30T02:20:14.000Z | libraries/blockchain/include/bts/blockchain/asset_record.hpp | dacsunlimited/dacplay | 91e354c951cf137617f2593c895e009866923bed | [
"Unlicense"
] | 112 | 2015-01-01T13:45:59.000Z | 2015-08-05T09:16:10.000Z | libraries/blockchain/include/bts/blockchain/asset_record.hpp | dacsunlimited/dacplay | 91e354c951cf137617f2593c895e009866923bed | [
"Unlicense"
] | 5 | 2015-06-06T08:09:50.000Z | 2017-12-13T07:34:15.000Z | #pragma once
#include <bts/blockchain/transaction.hpp>
#include <bts/blockchain/types.hpp>
#include <bts/blockchain/withdraw_types.hpp>
namespace bts { namespace blockchain {
struct asset_record;
typedef fc::optional<asset_record> oasset_record;
class chain_interface;
struct asset_record
{
enum
{
... | 34.188811 | 134 | 0.646963 | dacsunlimited |
f52f826db3e038f6040f7f6187f1d785ef4d5450 | 1,589 | hpp | C++ | inc/kos/instructions/cpuid.hpp | EmilGedda/kOS | 86d9e3ae377b6d7f003feb1c6ce584e427ed0563 | [
"MIT"
] | 5 | 2018-07-24T02:57:20.000Z | 2020-06-02T04:23:09.000Z | inc/kos/instructions/cpuid.hpp | EmilGedda/kOS | 86d9e3ae377b6d7f003feb1c6ce584e427ed0563 | [
"MIT"
] | null | null | null | inc/kos/instructions/cpuid.hpp | EmilGedda/kOS | 86d9e3ae377b6d7f003feb1c6ce584e427ed0563 | [
"MIT"
] | 1 | 2018-08-27T15:47:21.000Z | 2018-08-27T15:47:21.000Z | #pragma once
#include <array>
#include <kos/types.hpp>
namespace kos::cpuid {
namespace {
enum cpuid_requests {
vendor_string,
features,
tlb,
serial,
highest_extended_implemented=0x80000000,
extended_features,
brand_string_start,
brand_string_more,
brand_st... | 24.828125 | 118 | 0.581498 | EmilGedda |
f53448687747108d1b3c8a045bcc160a737384c3 | 12,287 | cpp | C++ | libradiohat/codec.cpp | sfabris/radiohat | c5abb316b901dec06733dbe8e458e86d1c227496 | [
"MIT"
] | 1 | 2022-02-23T23:04:52.000Z | 2022-02-23T23:04:52.000Z | libradiohat/codec.cpp | sfabris/radiohat | c5abb316b901dec06733dbe8e458e86d1c227496 | [
"MIT"
] | null | null | null | libradiohat/codec.cpp | sfabris/radiohat | c5abb316b901dec06733dbe8e458e86d1c227496 | [
"MIT"
] | 2 | 2022-02-24T13:17:11.000Z | 2022-02-24T19:15:57.000Z | /************************************* February 23, 2022 at 11:43:19 AM CST
*****************************************************************************
* SGTL5000 Sound card initialization and control support.
* Initializes sound card and controls TX-RX mixer switching
*
* started by Mario Vano AE0GL, February 2022
... | 30.564677 | 83 | 0.643444 | sfabris |
f5379a5f05578aed6f7529671fd7accef5dc4c5c | 951 | cpp | C++ | LiteralStringInBSS/main.cpp | haxpor/cpp_st | 43d1492266c6e01e6e243c834fba26eedf1ab9f3 | [
"MIT"
] | 2 | 2021-06-10T22:05:01.000Z | 2021-09-17T08:21:20.000Z | LiteralStringInBSS/main.cpp | haxpor/cpp_st | 43d1492266c6e01e6e243c834fba26eedf1ab9f3 | [
"MIT"
] | null | null | null | LiteralStringInBSS/main.cpp | haxpor/cpp_st | 43d1492266c6e01e6e243c834fba26eedf1ab9f3 | [
"MIT"
] | 1 | 2020-02-25T04:26:52.000Z | 2020-02-25T04:26:52.000Z | /**
* When compile with default or non-optimization level with GCC (9.3) and MSVC (2019),
* it will include all the literal string we've used in the source code.
* But if compiled with higher optimization level, it will include only what
* used in the program.
*
* But it will include what's only used in the sourc... | 25.702703 | 87 | 0.704522 | haxpor |
f53efdef976618302c6778abc8f6bf0154ba6fa7 | 5,655 | cpp | C++ | ogsr_engine/xrGame/ui/UITrackBar.cpp | ReBornEroZone/OGSR-Engine | f9b32ce4b8cf0237e3aa6c972ae3306c40096cee | [
"Apache-2.0"
] | null | null | null | ogsr_engine/xrGame/ui/UITrackBar.cpp | ReBornEroZone/OGSR-Engine | f9b32ce4b8cf0237e3aa6c972ae3306c40096cee | [
"Apache-2.0"
] | null | null | null | ogsr_engine/xrGame/ui/UITrackBar.cpp | ReBornEroZone/OGSR-Engine | f9b32ce4b8cf0237e3aa6c972ae3306c40096cee | [
"Apache-2.0"
] | null | null | null | #include "StdAfx.h"
#include "UITrackBar.h"
//.#include "UITrackButton.h"
#include "UIFrameLineWnd.h"
#include "UI3tButton.h"
#include "UITextureMaster.h"
#include "..\..\xr_3da\xr_input.h"
#define DEF_CONTROL_HEIGHT 21
#define FRAME_LINE_TEXTURE "ui_slider_e"
#define FRAME_LINE_TEXTURE_D "ui_slider_d"
#define SLID... | 21.501901 | 118 | 0.694253 | ReBornEroZone |
f54224daa5f633516c4241264a4527f893024606 | 12,022 | cpp | C++ | plugins/community/repos/LindenbergResearch/src/dsp/LambertW.cpp | x42/VeeSeeVSTRack | 0f5576f92e026ac1480e1477e55084911eca4052 | [
"Zlib",
"BSD-3-Clause"
] | null | null | null | plugins/community/repos/LindenbergResearch/src/dsp/LambertW.cpp | x42/VeeSeeVSTRack | 0f5576f92e026ac1480e1477e55084911eca4052 | [
"Zlib",
"BSD-3-Clause"
] | null | null | null | plugins/community/repos/LindenbergResearch/src/dsp/LambertW.cpp | x42/VeeSeeVSTRack | 0f5576f92e026ac1480e1477e55084911eca4052 | [
"Zlib",
"BSD-3-Clause"
] | null | null | null | /*
Implementation of the Lambert W function
Copyright (C) 2011 Darko Veberic, darko.veberic@ijs.si
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 y... | 35.886567 | 135 | 0.636167 | x42 |
f542c1b58abe26679f0b5257ea4c6f8ee9d6a92a | 2,457 | cpp | C++ | labyrinth/source/system/uniform_color.cpp | kruesemann/plight | 85cd0895ec60d5e82f494b0ae3472012eec335c5 | [
"MIT"
] | null | null | null | labyrinth/source/system/uniform_color.cpp | kruesemann/plight | 85cd0895ec60d5e82f494b0ae3472012eec335c5 | [
"MIT"
] | 11 | 2020-02-16T18:42:46.000Z | 2020-06-23T18:59:44.000Z | labyrinth/source/system/uniform_color.cpp | kruesemann/plight | 85cd0895ec60d5e82f494b0ae3472012eec335c5 | [
"MIT"
] | null | null | null | #include "labyrinth/include/system/uniform_color.h"
#include "labyrinth/include/component/position.h"
#include "labyrinth/include/component/uniform_color.h"
#include "plight/include/common/vector.h"
#include "plight/include/graphics/update_uniform.h"
#include "entt/src/entt/entt.hpp"
namespace Labyrinth::System::U... | 54.6 | 135 | 0.358567 | kruesemann |
f5443504b4be7444c3dcf45fb2ac3d372bea619c | 1,035 | cpp | C++ | csgo-studio-common/ffmpeg/audio_stream_decoder.cpp | SweetId/csgo-studio | 627dac811573d8f8bba1bb9a9f69db9061134e31 | [
"MIT"
] | null | null | null | csgo-studio-common/ffmpeg/audio_stream_decoder.cpp | SweetId/csgo-studio | 627dac811573d8f8bba1bb9a9f69db9061134e31 | [
"MIT"
] | null | null | null | csgo-studio-common/ffmpeg/audio_stream_decoder.cpp | SweetId/csgo-studio | 627dac811573d8f8bba1bb9a9f69db9061134e31 | [
"MIT"
] | null | null | null | #include "audio_stream_decoder.h"
#include "private/ffmpeg.h"
#include <QByteArray>
AudioStreamDecoder::AudioStreamDecoder(const AudioSampleDescriptor& descriptor)
: m_descriptor(descriptor)
{
Initialize();
}
int32_t AudioStreamDecoder::GetFrameSize() const
{
return av_get_bytes_per_sample(m_descriptor.GetDecodi... | 21.122449 | 81 | 0.687923 | SweetId |
f5454dea836e065643ed3a797973e4a9160dc47a | 2,185 | hpp | C++ | modules/3d/include/opencv2/3d/odometry_frame.hpp | Gabrielreisribeiro/opencv | 39df6d2f035ca6822494fe4234e163895828b23b | [
"Apache-2.0"
] | null | null | null | modules/3d/include/opencv2/3d/odometry_frame.hpp | Gabrielreisribeiro/opencv | 39df6d2f035ca6822494fe4234e163895828b23b | [
"Apache-2.0"
] | null | null | null | modules/3d/include/opencv2/3d/odometry_frame.hpp | Gabrielreisribeiro/opencv | 39df6d2f035ca6822494fe4234e163895828b23b | [
"Apache-2.0"
] | null | null | null | // This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html
#ifndef OPENCV_3D_ODOMETRY_FRAME_HPP
#define OPENCV_3D_ODOMETRY_FRAME_HPP
#include <opencv2/core.hpp>
namespace cv
{
/** Ind... | 30.347222 | 93 | 0.744165 | Gabrielreisribeiro |
f54918d79612a1bfafb90c489ae54ecbc023428b | 1,500 | cpp | C++ | src/test/activation_tests.cpp | JustFragger/lotusd | 7b0eaa73aff8fff9c79637d93c217692a097fe23 | [
"MIT"
] | 3 | 2019-06-17T03:48:07.000Z | 2021-03-07T05:47:18.000Z | src/test/activation_tests.cpp | JustFragger/lotusd | 7b0eaa73aff8fff9c79637d93c217692a097fe23 | [
"MIT"
] | 68 | 2019-06-17T01:54:12.000Z | 2021-04-10T17:59:15.000Z | src/test/activation_tests.cpp | JustFragger/lotusd | 7b0eaa73aff8fff9c79637d93c217692a097fe23 | [
"MIT"
] | 1 | 2021-02-21T23:51:33.000Z | 2021-02-21T23:51:33.000Z | // Copyright (c) 2019 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <chain.h>
#include <chainparams.h>
#include <consensus/activation.h>
#include <util/system.h>
#include <test/util/setup_commo... | 29.411765 | 75 | 0.694 | JustFragger |
f54b6c557d05891ff96bee155093bd7d83aaa2a4 | 23,949 | cpp | C++ | src/test/operators/join_full_test.cpp | ekrebs5/hyrise | 73d2eb7b7d5afe2dba631b4900ffae2f20494410 | [
"MIT"
] | null | null | null | src/test/operators/join_full_test.cpp | ekrebs5/hyrise | 73d2eb7b7d5afe2dba631b4900ffae2f20494410 | [
"MIT"
] | 17 | 2018-11-28T10:31:31.000Z | 2019-03-06T10:28:12.000Z | src/test/operators/join_full_test.cpp | ekrebs5/hyrise | 73d2eb7b7d5afe2dba631b4900ffae2f20494410 | [
"MIT"
] | null | null | null | #include <iostream>
#include <map>
#include <memory>
#include <set>
#include <string>
#include <utility>
#include "base_test.hpp"
#include "gtest/gtest.h"
#include "join_test.hpp"
#include "operators/get_table.hpp"
#include "operators/join_index.hpp"
#include "operators/join_nested_loop.hpp"
#include "operators/join_... | 52.404814 | 120 | 0.676604 | ekrebs5 |
f54cf3a5438a9e77c9688a2ebc2ab4f8d91263fd | 1,130 | hpp | C++ | C64/src/Emulator/Logic/PC64File.hpp | vividos/OldStuff | dbfcce086d1101b576d99d25ef051efbd8dd117c | [
"BSD-2-Clause"
] | 1 | 2015-03-26T02:35:13.000Z | 2015-03-26T02:35:13.000Z | C64/src/Emulator/Logic/PC64File.hpp | vividos/OldStuff | dbfcce086d1101b576d99d25ef051efbd8dd117c | [
"BSD-2-Clause"
] | null | null | null | C64/src/Emulator/Logic/PC64File.hpp | vividos/OldStuff | dbfcce086d1101b576d99d25ef051efbd8dd117c | [
"BSD-2-Clause"
] | null | null | null | //
// Emulator - Simple C64 emulator
// Copyright (C) 2003-2016 Michael Fink
//
/// \file PC64File.hpp PC64 file loader
//
#pragma once
// includes
#include <vector>
namespace C64
{
/// file type of PC64 file
enum FileType
{
fileTypePrg=0, ///< program
fileTypeSeq, ///< sequential file
fileTypeUsr, ///<... | 22.156863 | 64 | 0.653097 | vividos |
f54d0f7256721526c5231883a3095b5f0a7c0323 | 4,191 | cpp | C++ | source/MaterialXTest/MaterialXGenOgsXml/GenOgsXml.cpp | sdunkel/MaterialX | e76a27d01be379929b9adb3cad6d89aa570511ab | [
"BSD-3-Clause"
] | 1 | 2021-11-20T20:56:27.000Z | 2021-11-20T20:56:27.000Z | source/MaterialXTest/MaterialXGenOgsXml/GenOgsXml.cpp | testpassword/MaterialX | 7c69782196b11fa43c67aee0707801983bb81e6c | [
"BSD-3-Clause"
] | null | null | null | source/MaterialXTest/MaterialXGenOgsXml/GenOgsXml.cpp | testpassword/MaterialX | 7c69782196b11fa43c67aee0707801983bb81e6c | [
"BSD-3-Clause"
] | null | null | null | //
// TM & (c) 2017 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd.
// All rights reserved. See LICENSE.txt for license.
//
#include <MaterialXTest/Catch/catch.hpp>
#include <MaterialXTest/MaterialXGenGlsl/GenGlsl.h>
#include <MaterialXCore/Document.h>
#include <MaterialXFormat/File.h>
#include <MaterialXGe... | 32.742188 | 133 | 0.671677 | sdunkel |
f54f42357feda1f3f9fda77bc5be007de1420936 | 1,286 | cpp | C++ | reverse-dpct/main.cpp | jchlanda/oneAPI-DirectProgramming | 82a1be635f89b4b2a83e36965a60b19fd71e46b2 | [
"BSD-3-Clause"
] | null | null | null | reverse-dpct/main.cpp | jchlanda/oneAPI-DirectProgramming | 82a1be635f89b4b2a83e36965a60b19fd71e46b2 | [
"BSD-3-Clause"
] | null | null | null | reverse-dpct/main.cpp | jchlanda/oneAPI-DirectProgramming | 82a1be635f89b4b2a83e36965a60b19fd71e46b2 | [
"BSD-3-Clause"
] | null | null | null | #include <CL/sycl.hpp>
#include <dpct/dpct.hpp>
#include <assert.h>
void reverse (int* d, const int len, sycl::nd_item<3> item_ct1, int *s)
{
int t = item_ct1.get_local_id(2);
int tr = len-t-1;
s[t] = d[t];
item_ct1.barrier();
d[t] = s[tr];
}
int main() {
dpct::device_ext &dev_ct1 = dpct::get_current_dev... | 29.227273 | 77 | 0.53577 | jchlanda |
f550fa0cde1d811b316f9912794317a0a4a88def | 21,313 | cpp | C++ | src/3drender/geometry/slicevolume.cpp | aalele/MRCEditor | 016f77e6f986a5134e3fd27680208c12a574129b | [
"MIT"
] | null | null | null | src/3drender/geometry/slicevolume.cpp | aalele/MRCEditor | 016f77e6f986a5134e3fd27680208c12a574129b | [
"MIT"
] | null | null | null | src/3drender/geometry/slicevolume.cpp | aalele/MRCEditor | 016f77e6f986a5134e3fd27680208c12a574129b | [
"MIT"
] | null | null | null | #include <QOpenGLFramebufferObject>
#include <QDebug>
#include "slicevolume.h"
#include "abstract/abstractslicedatamodel.h"
#include "qmath.h"
const static int faceIndex[] = { 1, 3, 7, 5, 0, 4, 6, 2, 2, 6, 7, 3, 0, 1, 5, 4, 4, 5, 7, 6, 0, 2, 3, 1 };
static const float xCoord = 1.0, yCoord = 1.0, zCoord = 1.0;
const f... | 30.799133 | 169 | 0.712945 | aalele |
f551dab0fde05b24bf9fef84f23621c24e78cf02 | 7,866 | cc | C++ | src/ds++/test/tstSoft_Equiv.cc | rspavel/Draco | b279b1afbfbb39f2d521579697172394c5efd81d | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | src/ds++/test/tstSoft_Equiv.cc | rspavel/Draco | b279b1afbfbb39f2d521579697172394c5efd81d | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | src/ds++/test/tstSoft_Equiv.cc | rspavel/Draco | b279b1afbfbb39f2d521579697172394c5efd81d | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | //----------------------------------*-C++-*-----------------------------------//
/*!
* \file ds++/test/tstSoft_Equiv.cc
* \author Thomas M. Evans
* \date Wed Nov 7 15:55:54 2001
* \brief Soft_Equiv header testing utilities.
* \note Copyright (C) 2016-2019 Triad National Security, LLC.
* All rights... | 29.683019 | 80 | 0.542461 | rspavel |
f5533a8d5a3dd221e8fb130dd0a92c8189675eb0 | 5,957 | hpp | C++ | src/SDDK/mpi_grid.hpp | lzhang714/SIRIUS-develop | c07eefe995c417fb4247e8ddaf138784189523be | [
"BSD-2-Clause"
] | 1 | 2021-01-22T20:02:42.000Z | 2021-01-22T20:02:42.000Z | src/SDDK/mpi_grid.hpp | oschuett/SIRIUS | 8725bb9bc56d7655df9e02b2a511cb63def29d85 | [
"BSD-2-Clause"
] | null | null | null | src/SDDK/mpi_grid.hpp | oschuett/SIRIUS | 8725bb9bc56d7655df9e02b2a511cb63def29d85 | [
"BSD-2-Clause"
] | null | null | null | // Copyright (c) 2013-2016 Anton Kozhevnikov, Thomas Schulthess
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are permitted provided that
// the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice, ... | 39.450331 | 118 | 0.65956 | lzhang714 |
f553cfb0c630ec20325b34ef61a56f802b58b83e | 23,094 | cpp | C++ | Engine/source/T3D/aiPlayer.cpp | TechnicAardvark/Torque3D | d08db6cc54cb687583d61b775ad55cab89e65aa0 | [
"Unlicense"
] | null | null | null | Engine/source/T3D/aiPlayer.cpp | TechnicAardvark/Torque3D | d08db6cc54cb687583d61b775ad55cab89e65aa0 | [
"Unlicense"
] | null | null | null | Engine/source/T3D/aiPlayer.cpp | TechnicAardvark/Torque3D | d08db6cc54cb687583d61b775ad55cab89e65aa0 | [
"Unlicense"
] | null | null | null | //-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, LLC
//
// 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 restrictio... | 32.344538 | 146 | 0.635143 | TechnicAardvark |
f554e08d95759fd9d9511995fdc73bae04a2f1ea | 3,904 | hpp | C++ | gil_2/boost/gil/extension/opencv/text.hpp | boost-gil/gil-contributions | 22c32e6221d0c52a4c4bd46d1395b00fdefbd061 | [
"BSL-1.0"
] | 1 | 2019-01-19T00:50:12.000Z | 2019-01-19T00:50:12.000Z | gil_2/boost/gil/extension/opencv/text.hpp | boost-gil/gil-contributions-archive | 22c32e6221d0c52a4c4bd46d1395b00fdefbd061 | [
"BSL-1.0"
] | null | null | null | gil_2/boost/gil/extension/opencv/text.hpp | boost-gil/gil-contributions-archive | 22c32e6221d0c52a4c4bd46d1395b00fdefbd061 | [
"BSL-1.0"
] | null | null | null | /*
Copyright 2008 Christian Henning
Use, modification and distribution are subject to the Boost Software License,
Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt).
*/
/***********************************************************************************... | 29.801527 | 99 | 0.508965 | boost-gil |
f5568945c6064b6cf7b0be07e0dd9d38f84ef395 | 11,338 | cpp | C++ | webkit/WebCore/platform/wx/ScrollViewWx.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | 15 | 2016-01-05T12:43:41.000Z | 2022-03-15T10:34:47.000Z | webkit/WebCore/platform/wx/ScrollViewWx.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | null | null | null | webkit/WebCore/platform/wx/ScrollViewWx.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | 2 | 2020-11-30T18:36:01.000Z | 2021-02-05T23:20:24.000Z | /*
* Copyright (C) 2007 Kevin Ollivier <kevino@theolliviers.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of con... | 31.23416 | 126 | 0.667843 | s1rcheese |
f556f713416cbd73d03bf638d2c1880536e9706a | 1,425 | cc | C++ | src/ast/uint_literal.cc | sunnyps/tint | 22daca166bbc412345fc60d4f60646d6d2f3ada0 | [
"Apache-2.0"
] | null | null | null | src/ast/uint_literal.cc | sunnyps/tint | 22daca166bbc412345fc60d4f60646d6d2f3ada0 | [
"Apache-2.0"
] | null | null | null | src/ast/uint_literal.cc | sunnyps/tint | 22daca166bbc412345fc60d4f60646d6d2f3ada0 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 The Tint 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 ... | 30.319149 | 76 | 0.70386 | sunnyps |
f55868cdde5f901c0ae81c962f75295b138eaa6c | 2,628 | cpp | C++ | src/processor/TaskProcessor.cpp | LiamPilot/LightSaber | 1215097428d9e2122c0b263cd2a9a7224dac5f13 | [
"Apache-2.0"
] | 43 | 2020-03-17T14:32:26.000Z | 2022-02-08T20:00:09.000Z | src/processor/TaskProcessor.cpp | LiamPilot/LightSaber | 1215097428d9e2122c0b263cd2a9a7224dac5f13 | [
"Apache-2.0"
] | null | null | null | src/processor/TaskProcessor.cpp | LiamPilot/LightSaber | 1215097428d9e2122c0b263cd2a9a7224dac5f13 | [
"Apache-2.0"
] | 9 | 2020-04-01T09:14:56.000Z | 2022-03-04T23:44:33.000Z | #include "processor/TaskProcessor.h"
#include "tasks/Task.h"
#include "tasks/TaskFactory.h"
#include "utils/Utils.h"
#include "utils/SystemConf.h"
TaskProcessor::TaskProcessor(int pid, std::shared_ptr<TaskQueue> queue) :
m_queue(queue),
m_pid(pid) {}
#pragma clang diagnostic push
#pragma clang diagnostic igno... | 27.375 | 121 | 0.606164 | LiamPilot |
f55891b56b06c57d0a7856ff01af907c5c0cb898 | 13,622 | cpp | C++ | thrift/test/AdapterTest.cpp | amrshennawi/fbthrift | 4ed239bf55e57ed71f50c8ec9b694f8c46cfe463 | [
"Apache-2.0"
] | null | null | null | thrift/test/AdapterTest.cpp | amrshennawi/fbthrift | 4ed239bf55e57ed71f50c8ec9b694f8c46cfe463 | [
"Apache-2.0"
] | null | null | null | thrift/test/AdapterTest.cpp | amrshennawi/fbthrift | 4ed239bf55e57ed71f50c8ec9b694f8c46cfe463 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... | 33.801489 | 79 | 0.730216 | amrshennawi |
f558e745c51435460512d36fa242893e870bc86b | 3,537 | cpp | C++ | src/datatable.cpp | snaiffer/sqt | 3cfb80070d34351b5b71835dee9d9efe3aa791d7 | [
"MIT"
] | null | null | null | src/datatable.cpp | snaiffer/sqt | 3cfb80070d34351b5b71835dee9d9efe3aa791d7 | [
"MIT"
] | null | null | null | src/datatable.cpp | snaiffer/sqt | 3cfb80070d34351b5b71835dee9d9efe3aa791d7 | [
"MIT"
] | null | null | null | #include "datatable.h"
#include <QApplication>
DataTable::DataTable(const DataTable &table) : QObject()
{
for(const DataColumn *c: table._columns)
_columns.append(new DataColumn(*c));
for(const DataRow *r: table._rows)
{
_rows.append(new DataRow(*r));
_rows.last()->_table = this;
... | 21.567073 | 209 | 0.672321 | snaiffer |
f563c1eac900771b92565ad54f005d6bda32ddc1 | 335 | hxx | C++ | src/engine/Rendering/Light.hxx | broken-bytes/Cyanite | 0392e3114c946e41b7352afd4b8eceb6f03939da | [
"MIT"
] | 1 | 2021-11-11T02:56:56.000Z | 2021-11-11T02:56:56.000Z | src/engine/Rendering/Light.hxx | broken-bytes/Cyanite | 0392e3114c946e41b7352afd4b8eceb6f03939da | [
"MIT"
] | null | null | null | src/engine/Rendering/Light.hxx | broken-bytes/Cyanite | 0392e3114c946e41b7352afd4b8eceb6f03939da | [
"MIT"
] | null | null | null | #pragma once
#include <Matrix4x4.hxx>
#include "Color.hxx"
namespace BrokenBytes::Cyanite::Engine::Rendering {
#pragma pack(push, 1)
struct Light {
World::Matrix4X4 position;
World::Matrix4X4 rotation;
ColorRGBA color;
World::Matrix4X4 fallof;
World::Matrix4X4 view;
World::Matrix4X4 projection;
};
#prag... | 18.611111 | 51 | 0.731343 | broken-bytes |
f5643a3d43daf8cf36b21d9558ea69b1bb29a7fc | 656 | cpp | C++ | tests/unit/appc/schema/test_ac_kind.cpp | cdaylward/libappc | 4f7316b584d92a110198a3f1573c170e5492194c | [
"Apache-2.0"
] | 63 | 2015-01-20T18:35:27.000Z | 2021-11-16T10:53:40.000Z | tests/unit/appc/schema/test_ac_kind.cpp | Manu343726/libappc | 8d181ef4ee80c8f1bcbf6ca04cf66e04e5e5bc8a | [
"Apache-2.0"
] | 5 | 2015-01-20T17:28:54.000Z | 2015-02-09T17:36:54.000Z | tests/unit/appc/schema/test_ac_kind.cpp | cdaylward/libappc | 4f7316b584d92a110198a3f1573c170e5492194c | [
"Apache-2.0"
] | 12 | 2015-01-26T04:37:08.000Z | 2020-11-14T02:19:13.000Z | #include "gtest/gtest.h"
#include "appc/schema/ac_kind.h"
using namespace appc::schema;
TEST(AcKind, empty) {
ASSERT_FALSE(AcKind::from_json("")->validate());
}
TEST(AcKind, ImageManifest) {
Json json = "ImageManifest";
std::shared_ptr<AcKind> result = AcKind::from_json(json);
ASSERT_TRUE(result->validate... | 21.866667 | 59 | 0.71189 | cdaylward |
f56617771e8acaa1169e6dc8921e132505c1fa1e | 2,102 | hpp | C++ | include/caffe/layers/reduction_layer.hpp | BT123/caffe-test | c5610fc35974a0c91c8bf7a39807e12c9c81fbba | [
"Intel",
"BSD-2-Clause"
] | 22 | 2017-08-02T07:47:40.000Z | 2021-02-16T13:26:03.000Z | include/caffe/layers/reduction_layer.hpp | BT123/caffe-test | c5610fc35974a0c91c8bf7a39807e12c9c81fbba | [
"Intel",
"BSD-2-Clause"
] | 3 | 2017-07-10T17:50:59.000Z | 2018-04-24T13:59:55.000Z | include/caffe/layers/reduction_layer.hpp | BT123/caffe-test | c5610fc35974a0c91c8bf7a39807e12c9c81fbba | [
"Intel",
"BSD-2-Clause"
] | 14 | 2017-04-19T08:24:09.000Z | 2022-02-16T08:17:53.000Z | #ifndef CAFFE_REDUCTION_LAYER_HPP_
#define CAFFE_REDUCTION_LAYER_HPP_
#include <vector>
#include "caffe/blob.hpp"
#include "caffe/layer.hpp"
#include "caffe/proto/caffe.pb.h"
namespace caffe {
/**
* @brief Compute "reductions" -- operations that return a scalar output Blob
* for an input Blob ... | 35.033333 | 79 | 0.693625 | BT123 |
f5677f9610a260e5c52ae3d00e2ee34ba633e725 | 2,783 | cc | C++ | src/Core/Util/ProgressiveWarning.cc | damu1000/Uintah | 0c768664c1fe0a80eff2bbbd9b837e27f281f0a5 | [
"MIT"
] | 2 | 2021-12-17T05:50:44.000Z | 2021-12-22T21:37:32.000Z | src/Core/Util/ProgressiveWarning.cc | damu1000/Uintah | 0c768664c1fe0a80eff2bbbd9b837e27f281f0a5 | [
"MIT"
] | null | null | null | src/Core/Util/ProgressiveWarning.cc | damu1000/Uintah | 0c768664c1fe0a80eff2bbbd9b837e27f281f0a5 | [
"MIT"
] | 1 | 2020-11-30T04:46:05.000Z | 2020-11-30T04:46:05.000Z | /*
* The MIT License
*
* Copyright (c) 1997-2020 The University of Utah
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* right... | 29.606383 | 119 | 0.668703 | damu1000 |
f56a41738ad8ec18ec22509b9b5a04046a796d33 | 8,445 | cpp | C++ | caffe/src/caffe/test/test_image_data_layer.cpp | BlancRay/SeqFace | 72bdeb1d5f463df9c8c164466f3a7125421b975c | [
"MIT"
] | 136 | 2018-03-20T01:26:36.000Z | 2022-02-07T12:05:43.000Z | caffe/src/caffe/test/test_image_data_layer.cpp | BlancRay/SeqFace | 72bdeb1d5f463df9c8c164466f3a7125421b975c | [
"MIT"
] | 18 | 2018-03-20T08:06:53.000Z | 2021-02-22T11:59:47.000Z | caffe/src/caffe/test/test_image_data_layer.cpp | BlancRay/SeqFace | 72bdeb1d5f463df9c8c164466f3a7125421b975c | [
"MIT"
] | 33 | 2018-03-20T02:13:33.000Z | 2022-02-07T12:05:44.000Z | #ifdef USE_OPENCV
#include <map>
#include <string>
#include <vector>
#include "gtest/gtest.h"
#include "caffe/blob.hpp"
#include "caffe/common.hpp"
#include "caffe/filler.hpp"
#include "caffe/layers/image_data_layer.hpp"
#include "caffe/proto/caffe.pb.h"
#include "caffe/util/io.hpp"
#include "caffe/test/test_caffe_m... | 38.386364 | 78 | 0.718769 | BlancRay |
f56bca6d264c74bc45904dab392c4f1baa54db34 | 267 | cpp | C++ | SpatialGDK/Source/SpatialGDKFunctionalTests/SpatialGDK/PartiallyStablePathTest/PartiallyStablePathGameMode.cpp | cyberbibby/UnrealGDK | 9502a1ba11d21b3cb64978ba7ea178c63371cdd0 | [
"MIT"
] | 1 | 2020-07-15T12:43:02.000Z | 2020-07-15T12:43:02.000Z | SpatialGDK/Source/SpatialGDKFunctionalTests/SpatialGDK/PartiallyStablePathTest/PartiallyStablePathGameMode.cpp | cyberbibby/UnrealGDK | 9502a1ba11d21b3cb64978ba7ea178c63371cdd0 | [
"MIT"
] | null | null | null | SpatialGDK/Source/SpatialGDKFunctionalTests/SpatialGDK/PartiallyStablePathTest/PartiallyStablePathGameMode.cpp | cyberbibby/UnrealGDK | 9502a1ba11d21b3cb64978ba7ea178c63371cdd0 | [
"MIT"
] | null | null | null | // Copyright (c) Improbable Worlds Ltd, All Rights Reserved
#include "PartiallyStablePathGameMode.h"
#include "PartiallyStablePathPawn.h"
APartiallyStablePathGameMode::APartiallyStablePathGameMode()
{
DefaultPawnClass = APartiallyStablePathPawn::StaticClass();
}
| 24.272727 | 60 | 0.820225 | cyberbibby |
f56c89fdbd28a261431ccc48ea6b6d70e12d7318 | 7,857 | cpp | C++ | iai/src/v20180301/model/PersonInfo.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 43 | 2019-08-14T08:14:12.000Z | 2022-03-30T12:35:09.000Z | iai/src/v20180301/model/PersonInfo.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 12 | 2019-07-15T10:44:59.000Z | 2021-11-02T12:35:00.000Z | iai/src/v20180301/model/PersonInfo.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 28 | 2019-07-12T09:06:22.000Z | 2022-03-30T08:04:18.000Z | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | 29.317164 | 146 | 0.681558 | suluner |
f56cd514cf8dc6d0b5966f6ecd8e9e0295013b3a | 5,977 | cpp | C++ | src/nddlgen/utilities/WorkflowControllerConfig.cpp | christiandreher/nddlgen-core | 7abd30de689e363fab271ba730a91598894709c1 | [
"Apache-2.0"
] | null | null | null | src/nddlgen/utilities/WorkflowControllerConfig.cpp | christiandreher/nddlgen-core | 7abd30de689e363fab271ba730a91598894709c1 | [
"Apache-2.0"
] | null | null | null | src/nddlgen/utilities/WorkflowControllerConfig.cpp | christiandreher/nddlgen-core | 7abd30de689e363fab271ba730a91598894709c1 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2015 Christian Dreher (dreher@charlydelta.org)
*
* 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 ... | 25.762931 | 111 | 0.741676 | christiandreher |
f5765fc8843eb8e3b1608cb74a47e9b6f7de45c8 | 4,502 | cpp | C++ | src/blfwk/src/utils.cpp | ko7m/NXP_Kinetis_Bootloader | 664682cc8ff8faca4e1e0532afb4e6c85dfdf18e | [
"BSD-3-Clause"
] | 22 | 2016-10-01T16:22:43.000Z | 2021-07-19T19:03:14.000Z | src/blfwk/src/utils.cpp | ko7m/NXP_Kinetis_Bootloader | 664682cc8ff8faca4e1e0532afb4e6c85dfdf18e | [
"BSD-3-Clause"
] | 12 | 2016-11-20T21:26:48.000Z | 2018-04-30T19:06:15.000Z | src/blfwk/src/utils.cpp | ko7m/NXP_Kinetis_Bootloader | 664682cc8ff8faca4e1e0532afb4e6c85dfdf18e | [
"BSD-3-Clause"
] | 11 | 2016-09-25T22:41:53.000Z | 2021-10-05T11:00:41.000Z | /*
* Copyright (c) 2013-14, Freescale Semiconductor, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* o Redistributions of source code must retain the above copyright notice,... | 29.424837 | 99 | 0.595069 | ko7m |
f57943ec650f93f73eb2f8b74e8af9843c7f2a4b | 3,186 | cpp | C++ | compiler/next/lib/types/BasicClassType.cpp | mstrout/chapel | 487404100a19321a274a6dc12008bffb2807b47f | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2015-02-15T16:50:10.000Z | 2015-02-15T16:50:10.000Z | compiler/next/lib/types/BasicClassType.cpp | mstrout/chapel | 487404100a19321a274a6dc12008bffb2807b47f | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2015-01-28T23:45:34.000Z | 2015-01-28T23:54:53.000Z | compiler/next/lib/types/BasicClassType.cpp | mstrout/chapel | 487404100a19321a274a6dc12008bffb2807b47f | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2018-06-13T22:31:51.000Z | 2018-06-13T22:31:51.000Z | /*
* Copyright 2021 Hewlett Packard Enterprise Development LP
* Other additional copyright holders may be indicated within.
*
* The entirety of this work is 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 c... | 32.181818 | 75 | 0.64344 | mstrout |
f579d8b629fc45b30d92f3d7dc332d3e485ad3d9 | 3,145 | cpp | C++ | src/Functions/reinterpretAsFixedString.cpp | excitoon-favorites/ClickHouse | d1c705d47f907b13cba1d506c53c05329683fc47 | [
"Apache-2.0"
] | 1 | 2020-10-19T06:32:10.000Z | 2020-10-19T06:32:10.000Z | src/Functions/reinterpretAsFixedString.cpp | w517424787/ClickHouse | d1c705d47f907b13cba1d506c53c05329683fc47 | [
"Apache-2.0"
] | null | null | null | src/Functions/reinterpretAsFixedString.cpp | w517424787/ClickHouse | d1c705d47f907b13cba1d506c53c05329683fc47 | [
"Apache-2.0"
] | null | null | null | #include <Functions/FunctionFactory.h>
#include <DataTypes/DataTypeFixedString.h>
#include <Columns/ColumnFixedString.h>
#include <Common/typeid_cast.h>
#include <Common/memcpySmall.h>
namespace DB
{
namespace ErrorCodes
{
extern const int ILLEGAL_TYPE_OF_ARGUMENT;
extern const int ILLEGAL_COLUMN;
}
namespa... | 32.42268 | 176 | 0.682035 | excitoon-favorites |
f579eefccec34dd418c4762e24b18e617098e831 | 394 | hpp | C++ | source/include/BackgroundLayer.hpp | jane8384/seven-monkeys | 119cb7312f25d54e88f212a8710a512b893b046d | [
"MIT"
] | 3 | 2017-11-16T01:54:09.000Z | 2018-05-20T15:33:21.000Z | include/BackgroundLayer.hpp | aitorfernandez/seven-monkeys | 8f2440fd5ae7a9e86bb71dba800efe9424f3792e | [
"MIT"
] | null | null | null | include/BackgroundLayer.hpp | aitorfernandez/seven-monkeys | 8f2440fd5ae7a9e86bb71dba800efe9424f3792e | [
"MIT"
] | 3 | 2017-09-18T11:44:41.000Z | 2019-12-25T11:30:26.000Z | //
// BackgroundLayer.hpp
// SevenMonkeys
//
#ifndef BackgroundLayer_hpp
#define BackgroundLayer_hpp
#include "SevenMonkeys.hpp"
class BackgroundLayer : public cocos2d::Layer
{
public:
BackgroundLayer();
virtual ~BackgroundLayer();
virtual bool init(const std::string& filename);
CREATE_FUNC_1(Ba... | 16.416667 | 56 | 0.725888 | jane8384 |
f57a425325fd6ad0c0c0a068390a8c8f92ef830d | 9,094 | cc | C++ | cast/common/channel/connection_namespace_handler_unittest.cc | gtalis/openscreen | 9b28b9695df98d310c2271eaa65d20cc6d224203 | [
"BSD-3-Clause"
] | 1 | 2020-09-22T05:59:36.000Z | 2020-09-22T05:59:36.000Z | cast/common/channel/connection_namespace_handler_unittest.cc | gtalis/openscreen | 9b28b9695df98d310c2271eaa65d20cc6d224203 | [
"BSD-3-Clause"
] | null | null | null | cast/common/channel/connection_namespace_handler_unittest.cc | gtalis/openscreen | 9b28b9695df98d310c2271eaa65d20cc6d224203 | [
"BSD-3-Clause"
] | 1 | 2022-02-03T11:05:44.000Z | 2022-02-03T11:05:44.000Z | // Copyright 2019 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 "cast/common/channel/connection_namespace_handler.h"
#include "cast/common/channel/message_util.h"
#include "cast/common/channel/testing/fake_ca... | 40.061674 | 80 | 0.722454 | gtalis |
f58096363630673830e42f3fd4b49b8202d71578 | 17,690 | cc | C++ | src/gui/gui.cc | rwiker/c256emu | 4f4172e4bc87c63019f62b3ff0bf21489fcbd032 | [
"MIT"
] | null | null | null | src/gui/gui.cc | rwiker/c256emu | 4f4172e4bc87c63019f62b3ff0bf21489fcbd032 | [
"MIT"
] | null | null | null | src/gui/gui.cc | rwiker/c256emu | 4f4172e4bc87c63019f62b3ff0bf21489fcbd032 | [
"MIT"
] | null | null | null | #include "gui/gui.h"
#include <array>
#include <vector>
#include <imgui.h>
#include <glog/logging.h>
#include <gflags/gflags.h>
#include "bus/vicky.h"
#include "gui/automation_console.h"
#include "gui/imgui_impl_glfw.h"
#include "gui/imgui_impl_opengl2.h"
#include "system.h"
namespace {
std::string Addr(uint32_t a... | 30.343053 | 79 | 0.629678 | rwiker |
f58abd287770c6f27f5944b356e2c57fa07c7601 | 661 | cpp | C++ | doc/rst/getting_started/src/hello_world_rec/main.cpp | JoshFrankfurth/ecal | 5f783815f2709bc83b4c043e8d2906ab6e803226 | [
"Apache-2.0"
] | null | null | null | doc/rst/getting_started/src/hello_world_rec/main.cpp | JoshFrankfurth/ecal | 5f783815f2709bc83b4c043e8d2906ab6e803226 | [
"Apache-2.0"
] | null | null | null | doc/rst/getting_started/src/hello_world_rec/main.cpp | JoshFrankfurth/ecal | 5f783815f2709bc83b4c043e8d2906ab6e803226 | [
"Apache-2.0"
] | null | null | null | #include <ecal/ecal.h>
#include <ecal/msg/string/subscriber.h>
#include <iostream>
#include <thread>
void HelloWorldCallback(const std::string& message)
{
std::cout << "Received Message: " << message << std::endl;
}
int main(int argc, char** argv)
{
eCAL::Initialize(argc, argv, "Hello World Subscriber");
eCAL... | 22.033333 | 87 | 0.689864 | JoshFrankfurth |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.