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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d40960e250f4afb2536688a7804e145f19e73e1c | 9,716 | cpp | C++ | src/CCsharpCounter.cpp | dutchedge/Unified_Code_Count | 8c2d12942595dc11f13f36e2282e3821707b8ffd | [
"DOC"
] | 12 | 2015-06-08T16:19:33.000Z | 2020-02-11T13:40:58.000Z | src/CCsharpCounter.cpp | dutchedge/Unified_Code_Count | 8c2d12942595dc11f13f36e2282e3821707b8ffd | [
"DOC"
] | null | null | null | src/CCsharpCounter.cpp | dutchedge/Unified_Code_Count | 8c2d12942595dc11f13f36e2282e3821707b8ffd | [
"DOC"
] | 6 | 2016-09-09T11:55:19.000Z | 2020-07-08T16:04:04.000Z | //! Code counter class methods for the C# language.
/*!
* \file CCsharpCounter.cpp
*
* This file contains the code counter class methods for the C# language.
*/
#include "CCsharpCounter.h"
/*!
* Constructs a CCsharpCounter object.
*/
CCsharpCounter::CCsharpCounter()
{
classtype = CSHARP;
language_name = "C#";
isV... | 28.576471 | 104 | 0.729621 | dutchedge |
d40af53711c3b295b82c686813acf65244981432 | 2,638 | cpp | C++ | emulator/src/devices/bus/cpc/cpcexp.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | 1 | 2022-01-15T21:38:38.000Z | 2022-01-15T21:38:38.000Z | emulator/src/devices/bus/cpc/cpcexp.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | null | null | null | emulator/src/devices/bus/cpc/cpcexp.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | null | null | null | // license:BSD-3-Clause
// copyright-holders:Barry Rodewald
/*
* cpcexp.c -- Amstrad CPC Expansion port
*
* Created on: 16/07/2011
*
*/
#include "emu.h"
#include "cpcexp.h"
//**************************************************************************
// GLOBAL VARIABLES
//***********************************... | 28.989011 | 133 | 0.584913 | rjw57 |
d40c7c2597e6bd0f2c60fbcb6c61c868c7ab704d | 34,479 | hpp | C++ | externals/source/testdog/pack/inc/testdog/runner.hpp | skarab/coffee-master | 6c3ff71b7f15735e41c9859b6db981b94414c783 | [
"MIT"
] | null | null | null | externals/source/testdog/pack/inc/testdog/runner.hpp | skarab/coffee-master | 6c3ff71b7f15735e41c9859b6db981b94414c783 | [
"MIT"
] | null | null | null | externals/source/testdog/pack/inc/testdog/runner.hpp | skarab/coffee-master | 6c3ff71b7f15735e41c9859b6db981b94414c783 | [
"MIT"
] | null | null | null | //---------------------------------------------------------------------------
// PROJECT : TEST-DOG
// FILENAME : testdog/runner.hpp
// DESCRIPTION : Test runner class.
// COPYRIGHT : Andy Thomas (C) 2010
//---------------------------------------------------------------------------
//--------------... | 40.326316 | 91 | 0.638215 | skarab |
d40e360b49c504fb7af840b42d9928426493f04a | 17,140 | cpp | C++ | src/Magnum/Implementation/FramebufferState.cpp | costashatz/magnum | 8f87ca92334b326a54d27789f370fd8556d557de | [
"MIT"
] | null | null | null | src/Magnum/Implementation/FramebufferState.cpp | costashatz/magnum | 8f87ca92334b326a54d27789f370fd8556d557de | [
"MIT"
] | null | null | null | src/Magnum/Implementation/FramebufferState.cpp | costashatz/magnum | 8f87ca92334b326a54d27789f370fd8556d557de | [
"MIT"
] | null | null | null | /*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018
Vladimír Vondruš <mosra@centrum.cz>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to d... | 49.111748 | 214 | 0.751692 | costashatz |
d410fe2fe8014681408cde2a9711f0967d8b81c2 | 325 | cpp | C++ | 16. Heaps/07 Delete.cpp | VivekYadav105/Data-Structures-and-Algorithms | 7287912da8068c9124e0bb89c93c4d52aa48c51f | [
"MIT"
] | 190 | 2021-02-10T17:01:01.000Z | 2022-03-20T00:21:43.000Z | 16. Heaps/07 Delete.cpp | VivekYadav105/Data-Structures-and-Algorithms | 7287912da8068c9124e0bb89c93c4d52aa48c51f | [
"MIT"
] | null | null | null | 16. Heaps/07 Delete.cpp | VivekYadav105/Data-Structures-and-Algorithms | 7287912da8068c9124e0bb89c93c4d52aa48c51f | [
"MIT"
] | 27 | 2021-03-26T11:35:15.000Z | 2022-03-06T07:34:54.000Z | #include<bits/stdc++.h>
using namespace std;
class MinHeap
{
int arr[];
int size;
int capacity;
public:
MinHeap(int c)
{
arr = new int[c];
size = 0;
capacity = c;
}
int left(int i)
{
return (2 * i + 1);
}
int right(int i)
{
return (2 * i + 2);
}
int parent(int i)
{
return (i - 1) / 2;
}... | 9.285714 | 23 | 0.532308 | VivekYadav105 |
d411603bf325af6c52e9fe2e37fb54d32bcf2d30 | 1,411 | cpp | C++ | examples/container/bitfield.cpp | freundlich/fcppt | 17df1b1ad08bf2435f6902d5465e3bc3fe5e3022 | [
"BSL-1.0"
] | 13 | 2015-02-21T18:35:14.000Z | 2019-12-29T14:08:29.000Z | examples/container/bitfield.cpp | cpreh/fcppt | 17df1b1ad08bf2435f6902d5465e3bc3fe5e3022 | [
"BSL-1.0"
] | 5 | 2016-08-27T07:35:47.000Z | 2019-04-21T10:55:34.000Z | examples/container/bitfield.cpp | freundlich/fcppt | 17df1b1ad08bf2435f6902d5465e3bc3fe5e3022 | [
"BSL-1.0"
] | 8 | 2015-01-10T09:22:37.000Z | 2019-12-01T08:31:12.000Z | // Copyright Carl Philipp Reh 2009 - 2021.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <fcppt/container/bitfield/object.hpp>
#include <fcppt/container/bitfield/operators.hpp>
#i... | 25.654545 | 84 | 0.671155 | freundlich |
d4116138318b85b96e4066df7c006aa82500c72f | 9,355 | cc | C++ | towr/src/quadruped_gait_generator.cc | IoannisDadiotis/towr | cbbe6d30d637b4271558e31bf522536451a9110c | [
"BSD-3-Clause"
] | null | null | null | towr/src/quadruped_gait_generator.cc | IoannisDadiotis/towr | cbbe6d30d637b4271558e31bf522536451a9110c | [
"BSD-3-Clause"
] | null | null | null | towr/src/quadruped_gait_generator.cc | IoannisDadiotis/towr | cbbe6d30d637b4271558e31bf522536451a9110c | [
"BSD-3-Clause"
] | null | null | null | /******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. 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... | 23.743655 | 90 | 0.649813 | IoannisDadiotis |
d4124780e16cb155c4f5f1c306b374d3504951c1 | 29,410 | cpp | C++ | Source/System/Physics/ColliderPrimitive/ConvexHull3D/ColliderPolyhedron.cpp | arian153/Engine-5 | 34f85433bc0a74a7ebe7da350d3f3698de77226e | [
"MIT"
] | 2 | 2020-01-09T07:48:24.000Z | 2020-01-09T07:48:26.000Z | Source/System/Physics/ColliderPrimitive/ConvexHull3D/ColliderPolyhedron.cpp | arian153/Engine-5 | 34f85433bc0a74a7ebe7da350d3f3698de77226e | [
"MIT"
] | null | null | null | Source/System/Physics/ColliderPrimitive/ConvexHull3D/ColliderPolyhedron.cpp | arian153/Engine-5 | 34f85433bc0a74a7ebe7da350d3f3698de77226e | [
"MIT"
] | null | null | null | #include "ColliderPolyhedron.hpp"
#include "../../../Graphics/Utility/PrimitiveRenderer.hpp"
#include "../../BroadPhase/BoundingAABB.hpp"
#include <list>
#include "../../../../Manager/Resource/ResourceType/JsonResource.hpp"
#include "../../../../External/JSONCPP/json/json.h"
namespace Engine5
{
ColliderPolyhedron:... | 38.095855 | 232 | 0.53985 | arian153 |
d41fd04e7f4b9da20b10302fd3eba3089453ff21 | 1,694 | cpp | C++ | c/csc-220/h2.cpp | dindoliboon/archive | a5b54367dbb57260f9230375ac81e86c5fce0d7d | [
"MIT"
] | 4 | 2020-10-02T15:24:20.000Z | 2021-11-02T04:20:38.000Z | c/csc-220/h2.cpp | dindoliboon/archive | a5b54367dbb57260f9230375ac81e86c5fce0d7d | [
"MIT"
] | null | null | null | c/csc-220/h2.cpp | dindoliboon/archive | a5b54367dbb57260f9230375ac81e86c5fce0d7d | [
"MIT"
] | 2 | 2019-10-28T01:20:07.000Z | 2020-10-02T15:25:13.000Z | /* ////////////////////////////////////////////////////////////////////////
NAME: Dindo Liboon
DATE: July 17, 2001
PROJECT: Homework #2, CSC-220-01
PURPOSE: Determine if a positive integer that is 4 to 10 digits in length
can be divisible by a variety of numbers.
COMPILE: cxx h2.cpp
\\\\\\\\\\\\\\\\\\\\\... | 30.8 | 76 | 0.403188 | dindoliboon |
d4215eb81abc80b2d6331fba1e548fca4d4838f4 | 854 | hpp | C++ | Server/levelParsing/ParsingLevel.hpp | KillianG/R-Type | e3fd801ae58fcea49ac75c400ec0a2837cb0da2e | [
"MIT"
] | 1 | 2019-08-14T12:31:50.000Z | 2019-08-14T12:31:50.000Z | Server/levelParsing/ParsingLevel.hpp | KillianG/R-Type | e3fd801ae58fcea49ac75c400ec0a2837cb0da2e | [
"MIT"
] | null | null | null | Server/levelParsing/ParsingLevel.hpp | KillianG/R-Type | e3fd801ae58fcea49ac75c400ec0a2837cb0da2e | [
"MIT"
] | null | null | null | /*
** EPITECH PROJECT, 2018
** Epitech scolarship project (4 years remaining)
** File description:
** Made on 2018/11 by ebernard
*/
#include <map>
#include <chrono>
#include <string>
#include <vector>
#include <fstream>
#include "Server/includes/Utils.hpp"
#include "Server/Monsters/includes/IEnnemy.hpp"
namespa... | 20.829268 | 62 | 0.638173 | KillianG |
d422f00ec915f9ad2cea868b0585ef64ce277d70 | 9,874 | cpp | C++ | alife/alifetests.cpp | DeanoC/hermit | 5529b1ddcbc0cdae0fa5413aa50c0c7722fb8796 | [
"MIT"
] | 1 | 2019-09-13T13:44:29.000Z | 2019-09-13T13:44:29.000Z | alife/alifetests.cpp | DeanoC/hermit | 5529b1ddcbc0cdae0fa5413aa50c0c7722fb8796 | [
"MIT"
] | null | null | null | alife/alifetests.cpp | DeanoC/hermit | 5529b1ddcbc0cdae0fa5413aa50c0c7722fb8796 | [
"MIT"
] | null | null | null | // License Summary: MIT see LICENSE file
#include "al2o3_platform/platform.h"
#include "alifetests.hpp"
#include "al2o3_memory/memory.h"
#include "world2d.hpp"
#include "al2o3_vfile/vfile.hpp"
#include "render_basics/descriptorset.h"
#include "render_basics/buffer.h"
#include "render_basics/pipeline.h"
#include "rende... | 31.851613 | 157 | 0.741847 | DeanoC |
d424b8f937498c573174f50aa1c4de4b42b5554d | 1,033 | cpp | C++ | arm9/source/_lua/lua.gadget.colorpicker.gradient.cpp | DuffsDevice/winds | 35f1b5fd458c527a6c372f94077e784f6fd960b2 | [
"MIT"
] | 2 | 2017-02-07T18:25:07.000Z | 2021-12-13T18:29:03.000Z | arm9/source/_lua/lua.gadget.colorpicker.gradient.cpp | DuffsDevice/winds | 35f1b5fd458c527a6c372f94077e784f6fd960b2 | [
"MIT"
] | null | null | null | arm9/source/_lua/lua.gadget.colorpicker.gradient.cpp | DuffsDevice/winds | 35f1b5fd458c527a6c372f94077e784f6fd960b2 | [
"MIT"
] | null | null | null | #include <_lua/lua.gadget.colorpicker.gradient.h>
#include <_lua/lua.func.h>
#include <_lua/lua.func.wrap.h>
using namespace _luafunc;
/*##################################
## Lua-Colorpicker ##
##################################*/
_lua_gradientcolorpicker::_lua_gradientcolorpicker( lua_State* ... | 44.913043 | 228 | 0.662149 | DuffsDevice |
d424c813cf67b2ffe3bd0e0737498c362f26d942 | 1,550 | cpp | C++ | examples/echo-server.cpp | bjtj/oslayer | 92cc41288a4bae8e63a680fe714806e89421df16 | [
"MIT"
] | 1 | 2020-03-08T14:25:24.000Z | 2020-03-08T14:25:24.000Z | examples/echo-server.cpp | bjtj/oslayer | 92cc41288a4bae8e63a680fe714806e89421df16 | [
"MIT"
] | null | null | null | examples/echo-server.cpp | bjtj/oslayer | 92cc41288a4bae8e63a680fe714806e89421df16 | [
"MIT"
] | null | null | null | #include <liboslayer/os.hpp>
#include <liboslayer/Socket.hpp>
#include <liboslayer/Thread.hpp>
#include <liboslayer/AutoRef.hpp>
#include <liboslayer/Text.hpp>
using namespace std;
using namespace osl;
/**
*
*/
class EchoServer : public Thread {
private:
int _port;
bool _verbose;
public:
EchoServer(in... | 19.871795 | 73 | 0.590323 | bjtj |
d424f265dd71f3f060b972919d0aeaf762458041 | 4,710 | cc | C++ | Fields/QualityScoreCompressor.cc | sfu-compbio/deez | 92cd56befd0c6fbd3355e75ab1747913c11ec716 | [
"BSD-3-Clause"
] | 13 | 2015-04-11T13:30:41.000Z | 2020-06-24T16:58:18.000Z | Fields/QualityScoreCompressor.cc | sfu-compbio/deez | 92cd56befd0c6fbd3355e75ab1747913c11ec716 | [
"BSD-3-Clause"
] | 1 | 2017-09-29T08:56:30.000Z | 2017-09-29T08:56:30.000Z | Fields/QualityScoreCompressor.cc | sfu-compbio/deez | 92cd56befd0c6fbd3355e75ab1747913c11ec716 | [
"BSD-3-Clause"
] | 6 | 2015-07-06T19:30:59.000Z | 2022-03-11T07:22:24.000Z | #include "QualityScore.h"
#include <cmath>
using namespace std;
#include "../Streams/Stream.h"
#include "../Streams/BzipStream.h"
QualityScoreCompressor::QualityScoreCompressor(void):
StringCompressor<QualityCompressionStream>(),
statMode(true),
offset(0)
{
memset(lossy, 0, 128 * sizeof(int));
memset(stat, 0, ... | 23.432836 | 124 | 0.614013 | sfu-compbio |
d42892cc9e81c75a6ef583d1782ae4ed0e76e04e | 268 | cpp | C++ | C++11/language/class/ideone_e3Ar56.cpp | varunnagpaal/cpp | 1b7e1678d05d93227caea49b5629cadd217553de | [
"MIT"
] | 1 | 2016-12-15T12:56:41.000Z | 2016-12-15T12:56:41.000Z | C++11/language/class/ideone_e3Ar56.cpp | varunnagpaal/cpp | 1b7e1678d05d93227caea49b5629cadd217553de | [
"MIT"
] | null | null | null | C++11/language/class/ideone_e3Ar56.cpp | varunnagpaal/cpp | 1b7e1678d05d93227caea49b5629cadd217553de | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
class A
{
private : int i;
public: void funct(){i++; cout<<"i:"<<i<<endl;}
void anFunct(){ cout<<"A "<<endl; }
};
int main()
{
A* ptrA = NULL;
ptrA->anFunct();
ptrA->funct();
return 0;
} | 14.888889 | 51 | 0.514925 | varunnagpaal |
d42ac706b5a8c53c96fa067469d5159dbb64dde7 | 1,068 | cpp | C++ | Stacks-and-Queues/EvaluateExpression.cpp | ssokjin/Interview-Bit | 8714d3d627eb5875f49d205af779b59ca33ab4a3 | [
"MIT"
] | 513 | 2016-08-16T12:52:14.000Z | 2022-03-30T19:32:10.000Z | Stacks-and-Queues/EvaluateExpression.cpp | ssokjin/Interview-Bit | 8714d3d627eb5875f49d205af779b59ca33ab4a3 | [
"MIT"
] | 25 | 2018-02-14T15:25:48.000Z | 2022-03-23T11:52:08.000Z | Stacks-and-Queues/EvaluateExpression.cpp | ssokjin/Interview-Bit | 8714d3d627eb5875f49d205af779b59ca33ab4a3 | [
"MIT"
] | 505 | 2016-09-02T15:04:20.000Z | 2022-03-25T06:36:31.000Z | // https://www.interviewbit.com/problems/evaluate-expression/
int Solution::evalRPN(vector<string> &A) {
// Do not write main() function.
// Do not read input, instead use the arguments to the function.
// Do not print the output, instead return values as specified
// Still have a doubt. Checkout www.i... | 28.105263 | 93 | 0.438202 | ssokjin |
2d72b0993658672e26f10ba381b9c13f6680f985 | 7,758 | cpp | C++ | trunk/win/Source/BT_MenuAction.cpp | dyzmapl/BumpTop | 1329ea41411c7368516b942d19add694af3d602f | [
"Apache-2.0"
] | 460 | 2016-01-13T12:49:34.000Z | 2022-02-20T04:10:40.000Z | trunk/win/Source/BT_MenuAction.cpp | dyzmapl/BumpTop | 1329ea41411c7368516b942d19add694af3d602f | [
"Apache-2.0"
] | 24 | 2016-11-07T04:59:49.000Z | 2022-03-14T06:34:12.000Z | trunk/win/Source/BT_MenuAction.cpp | dyzmapl/BumpTop | 1329ea41411c7368516b942d19add694af3d602f | [
"Apache-2.0"
] | 148 | 2016-01-17T03:16:43.000Z | 2022-03-17T12:20:36.000Z | // Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... | 22.165714 | 91 | 0.705465 | dyzmapl |
2d72c22f457c086fcf9176e0a7caf98191d7c294 | 9,073 | cc | C++ | tests/testapp/testapp_tenant.cc | nawazish-couchbase/kv_engine | 132f1bb04c9212bcac9e401d069aeee5f63ff1cd | [
"MIT",
"BSD-3-Clause"
] | null | null | null | tests/testapp/testapp_tenant.cc | nawazish-couchbase/kv_engine | 132f1bb04c9212bcac9e401d069aeee5f63ff1cd | [
"MIT",
"BSD-3-Clause"
] | null | null | null | tests/testapp/testapp_tenant.cc | nawazish-couchbase/kv_engine | 132f1bb04c9212bcac9e401d069aeee5f63ff1cd | [
"MIT",
"BSD-3-Clause"
] | null | null | null | /*
* Copyright 2021-Present Couchbase, Inc.
*
* Use of this software is governed by the Business Source License included
* in the file licenses/BSL-Couchbase.txt. As of the Change Date specified
* in that file, in accordance with the Business Source License, use of this
* software will be governed by... | 41.619266 | 80 | 0.59385 | nawazish-couchbase |
2d7884c99a246e3606791552dc1a53326ad46bce | 12,169 | cpp | C++ | src/vision/pixel_histograms.cpp | anuranbaka/Vulcan | 56339f77f6cf64b5fda876445a33e72cd15ce028 | [
"MIT"
] | 3 | 2020-03-05T23:56:14.000Z | 2021-02-17T19:06:50.000Z | src/vision/pixel_histograms.cpp | anuranbaka/Vulcan | 56339f77f6cf64b5fda876445a33e72cd15ce028 | [
"MIT"
] | 1 | 2021-03-07T01:23:47.000Z | 2021-03-07T01:23:47.000Z | src/vision/pixel_histograms.cpp | anuranbaka/Vulcan | 56339f77f6cf64b5fda876445a33e72cd15ce028 | [
"MIT"
] | 1 | 2021-03-03T07:54:16.000Z | 2021-03-03T07:54:16.000Z | /* Copyright (C) 2010-2019, The Regents of The University of Michigan.
All rights reserved.
This software was developed as part of the The Vulcan project in the Intelligent Robotics Lab
under the direction of Benjamin Kuipers, kuipers@umich.edu. Use of this code is governed by an
MIT-style License that can be foun... | 31.772846 | 117 | 0.635056 | anuranbaka |
2d801bf2929bf1817171cb0d2ad850387d27862b | 4,033 | hpp | C++ | rcff/include/CXKJ/RCF/Filter.hpp | DayBreakZhang/CXKJ_Code | c7caab736313f029324f1c95714f5a94b2589076 | [
"Apache-2.0"
] | null | null | null | rcff/include/CXKJ/RCF/Filter.hpp | DayBreakZhang/CXKJ_Code | c7caab736313f029324f1c95714f5a94b2589076 | [
"Apache-2.0"
] | null | null | null | rcff/include/CXKJ/RCF/Filter.hpp | DayBreakZhang/CXKJ_Code | c7caab736313f029324f1c95714f5a94b2589076 | [
"Apache-2.0"
] | null | null | null |
//******************************************************************************
// RCF - Remote Call Framework
//
// Copyright (c) 2005 - 2019, Delta V Software. All rights reserved.
// http://www.deltavsoft.com
//
// RCF is distributed under dual licenses - closed source or GPL.
// Consult your particular license fo... | 29.437956 | 80 | 0.617654 | DayBreakZhang |
2d8313665656f9a50b9496664c3cecd033d5f6ec | 6,028 | cpp | C++ | custom_conf/etc/calamares/src/calamares/VariantModel.cpp | ix-os/IXOS | 840abf7e022f46073d898fed5adb667bb5cb7166 | [
"CC0-1.0"
] | null | null | null | custom_conf/etc/calamares/src/calamares/VariantModel.cpp | ix-os/IXOS | 840abf7e022f46073d898fed5adb667bb5cb7166 | [
"CC0-1.0"
] | 13 | 2020-07-30T19:55:36.000Z | 2020-12-07T16:57:23.000Z | custom_conf/etc/calamares/src/calamares/VariantModel.cpp | ix-os/IXOS | 840abf7e022f46073d898fed5adb667bb5cb7166 | [
"CC0-1.0"
] | null | null | null | /* === This file is part of Calamares - <https://github.com/calamares> ===
*
* Copyright 2019, Adriaan de Groot <groot@kde.org>
*
* Calamares 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, eithe... | 21.451957 | 104 | 0.53633 | ix-os |
2d8832ec13c0f3c2d2d0e1ffb37515a27b7042ab | 710 | cpp | C++ | Leetcode Daily Challenge/June-2021/16. Generate Parentheses.cpp | Akshad7829/DataStructures-Algorithms | 439822c6a374672d1734e2389d3fce581a35007d | [
"MIT"
] | 5 | 2021-08-10T18:47:49.000Z | 2021-08-21T15:42:58.000Z | Leetcode Daily Challenge/June-2021/16. Generate Parentheses.cpp | Akshad7829/DataStructures-Algorithms | 439822c6a374672d1734e2389d3fce581a35007d | [
"MIT"
] | 2 | 2022-02-25T13:36:46.000Z | 2022-02-25T14:06:44.000Z | Leetcode Daily Challenge/June-2021/16. Generate Parentheses.cpp | Akshad7829/DataStructures-Algorithms | 439822c6a374672d1734e2389d3fce581a35007d | [
"MIT"
] | 1 | 2021-08-11T06:36:42.000Z | 2021-08-11T06:36:42.000Z | /*
Generate Parentheses
====================
Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.
Example 1:
Input: n = 3
Output: ["((()))","(()())","(())()","()(())","()()()"]
Example 2:
Input: n = 1
Output: ["()"]
Constraints:
1 <= n <= 8
*/
class Solution
{
pub... | 16.511628 | 103 | 0.495775 | Akshad7829 |
2d8a892d31f025bba860efd08d427af16cdeba5f | 7,124 | cpp | C++ | src/qml/qt_native/contractfilterproxy.cpp | user00000001/tesramain | ddd02da923da2f9bc9dfddc1a8b177e1cadfc341 | [
"MIT"
] | 10 | 2018-06-07T13:51:04.000Z | 2020-03-12T18:27:12.000Z | src/qml/qt_native/contractfilterproxy.cpp | user00000001/tesramain | ddd02da923da2f9bc9dfddc1a8b177e1cadfc341 | [
"MIT"
] | null | null | null | src/qml/qt_native/contractfilterproxy.cpp | user00000001/tesramain | ddd02da923da2f9bc9dfddc1a8b177e1cadfc341 | [
"MIT"
] | 6 | 2018-10-23T03:12:28.000Z | 2020-03-14T16:07:54.000Z | #include "contractfilterproxy.h"
#include "contracttablemodel.h"
#include "guiutil.h"
#include "csvmodelwriter.h"
#include "ui_interface.h"
#include <script/standard.h>
#include <base58.h>
#include <wallet.h>
ContractFilterProxy::ContractFilterProxy(QObject *parent) : QSortFilterProxyModel(parent)
{
}
void Contract... | 30.973913 | 142 | 0.654969 | user00000001 |
2d8ca50122c469f7281da9005f2aea00322009e5 | 375 | cc | C++ | source/pkgsrc/devel/gearmand/patches/patch-libgearman-server__log.cc | Scottx86-64/dotfiles-1 | 51004b1e2b032664cce6b553d2052757c286087d | [
"Unlicense"
] | 1 | 2021-11-20T22:46:39.000Z | 2021-11-20T22:46:39.000Z | source/pkgsrc/devel/gearmand/patches/patch-libgearman-server__log.cc | Scottx86-64/dotfiles-1 | 51004b1e2b032664cce6b553d2052757c286087d | [
"Unlicense"
] | null | null | null | source/pkgsrc/devel/gearmand/patches/patch-libgearman-server__log.cc | Scottx86-64/dotfiles-1 | 51004b1e2b032664cce6b553d2052757c286087d | [
"Unlicense"
] | null | null | null | $NetBSD: patch-libgearman-server__log.cc,v 1.1 2013/10/04 07:03:37 fhajny Exp $
alloca.h is a linux-ism
--- libgearman-server/log.cc.orig 2013-05-04 09:34:54.000000000 +0000
+++ libgearman-server/log.cc
@@ -54,7 +54,7 @@
#include <ctime>
#include <pthread.h>
-#ifdef _WIN32
+#if defined(_WIN32) || defined(__NetBSD... | 23.4375 | 79 | 0.690667 | Scottx86-64 |
2d8d8028a0c63d30214faa2ed6d1d8b008e4e55d | 5,953 | hpp | C++ | include/codegen/include/UnityEngine/ProBuilder/Poly2Tri/Polygon.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/UnityEngine/ProBuilder/Poly2Tri/Polygon.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/UnityEngine/ProBuilder/Poly2Tri/Polygon.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:10:22 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: System.Object
#include "System/Object.hpp"
// Including type... | 55.12037 | 157 | 0.77104 | Futuremappermydud |
2d8e8ef8d0b0dd8e2a485f948d26d76631be74e1 | 7,202 | cpp | C++ | ioserver/src/ioserver/serialport/AsyncSerialPort.cpp | kaliatech/r7-ioserver | 23612ef721a7bf7a8049f3c25fcf46b1fd5b5c62 | [
"MIT"
] | 1 | 2018-08-21T12:05:04.000Z | 2018-08-21T12:05:04.000Z | ioserver/src/ioserver/serialport/AsyncSerialPort.cpp | kaliatech/r7-ioserver | 23612ef721a7bf7a8049f3c25fcf46b1fd5b5c62 | [
"MIT"
] | null | null | null | ioserver/src/ioserver/serialport/AsyncSerialPort.cpp | kaliatech/r7-ioserver | 23612ef721a7bf7a8049f3c25fcf46b1fd5b5c62 | [
"MIT"
] | null | null | null | #include "ioserver/serialport/AsyncSerialPort.h"
#include <boost/bind.hpp>
#include <boost/thread.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/thread/mutex.hpp>
#include "ioserver/serialport/AsyncSerialEvent.h"
#include "easyloggingpp/easylogging++.h"
namespace r7 {
AsyncSerialPort::AsyncSeria... | 27.48855 | 155 | 0.586087 | kaliatech |
2d8eefd1422724afdc7eb2df7c0199441ad12609 | 4,815 | hpp | C++ | vts-libs/vts/atlas.hpp | melowntech/vts-libs | ffbf889b6603a8f95d3c12a2602232ff9c5d2236 | [
"BSD-2-Clause"
] | 2 | 2020-04-20T01:44:46.000Z | 2021-01-15T06:54:51.000Z | externals/browser/externals/browser/externals/vts-libs/vts-libs/vts/atlas.hpp | HanochZhu/vts-browser-unity-plugin | 32a22d41e21b95fb015326f95e401d87756d0374 | [
"BSD-2-Clause"
] | 2 | 2020-01-29T16:30:49.000Z | 2020-06-03T15:21:29.000Z | externals/browser/externals/browser/externals/vts-libs/vts-libs/vts/atlas.hpp | HanochZhu/vts-browser-unity-plugin | 32a22d41e21b95fb015326f95e401d87756d0374 | [
"BSD-2-Clause"
] | 1 | 2019-09-25T05:10:07.000Z | 2019-09-25T05:10:07.000Z | /**
* Copyright (c) 2017 Melown Technologies SE
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the f... | 30.283019 | 78 | 0.672274 | melowntech |
2d8ef726149ba88ee9c4c0de10c1d392a78cf441 | 15,598 | cpp | C++ | src/modules/osgAnimation/generated_code/_osgAnimation.main.cpp | JaneliaSciComp/osgpyplusplus | a5ae3f69c7e9101a32d8cc95fe680dab292f75ac | [
"BSD-3-Clause"
] | 17 | 2015-06-01T12:19:46.000Z | 2022-02-12T02:37:48.000Z | src/modules/osgAnimation/generated_code/_osgAnimation.main.cpp | JaneliaSciComp/osgpyplusplus | a5ae3f69c7e9101a32d8cc95fe680dab292f75ac | [
"BSD-3-Clause"
] | 7 | 2015-07-04T14:36:49.000Z | 2015-07-23T18:09:49.000Z | src/modules/osgAnimation/generated_code/_osgAnimation.main.cpp | JaneliaSciComp/osgpyplusplus | a5ae3f69c7e9101a32d8cc95fe680dab292f75ac | [
"BSD-3-Clause"
] | 7 | 2015-11-28T17:00:31.000Z | 2020-01-08T07:00:59.000Z | // This file has been generated by Py++.
#include "boost/python.hpp"
#include "__call_policies.pypp.hpp"
#include "__convenience.pypp.hpp"
#include "indexing_suite/value_traits.hpp"
#include "indexing_suite/container_suite.hpp"
#include "indexing_suite/vector.hpp"
#include "indexing_suite/map.hpp"
#include "wra... | 39.892583 | 225 | 0.834851 | JaneliaSciComp |
2d8f870e71e06486d71d9480bb7ebf2970924670 | 1,137 | cc | C++ | RecoVertex/GhostTrackFitter/src/AnnealingGhostTrackFitter.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | RecoVertex/GhostTrackFitter/src/AnnealingGhostTrackFitter.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | RecoVertex/GhostTrackFitter/src/AnnealingGhostTrackFitter.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | #include <memory>
#include <vector>
#include "RecoVertex/VertexTools/interface/GeometricAnnealing.h"
#include "RecoVertex/GhostTrackFitter/interface/GhostTrackState.h"
#include "RecoVertex/GhostTrackFitter/interface/GhostTrackPrediction.h"
#include "RecoVertex/GhostTrackFitter/interface/AnnealingGhostTrackFitter.h"... | 29.921053 | 103 | 0.689534 | ckamtsikis |
2d8f94a85b21096904d03f0e92bbd28b27a3fd91 | 2,576 | cc | C++ | compiler/optimizing/instruction_simplifier_x86.cc | Paschalis/android-llvm | 317f7fd4b736a0511a2273a2487915c34cf8933e | [
"Apache-2.0"
] | 20 | 2021-06-24T16:38:42.000Z | 2022-01-20T16:15:57.000Z | compiler/optimizing/instruction_simplifier_x86.cc | Paschalis/android-llvm | 317f7fd4b736a0511a2273a2487915c34cf8933e | [
"Apache-2.0"
] | null | null | null | compiler/optimizing/instruction_simplifier_x86.cc | Paschalis/android-llvm | 317f7fd4b736a0511a2273a2487915c34cf8933e | [
"Apache-2.0"
] | 4 | 2021-11-03T06:01:12.000Z | 2022-02-24T02:57:31.000Z | /* Copyright (C) 2018 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 28.94382 | 87 | 0.707298 | Paschalis |
2d903b15ad97b66cf94f5eb39eaa7f7c2c19c569 | 1,617 | cpp | C++ | emulator/src/mame/video/pass.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | 1 | 2022-01-15T21:38:38.000Z | 2022-01-15T21:38:38.000Z | emulator/src/mame/video/pass.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | null | null | null | emulator/src/mame/video/pass.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | null | null | null | // license:BSD-3-Clause
// copyright-holders:David Haywood
/* video/pass.c - see drivers/pass.c for more info */
#include "emu.h"
#include "includes/pass.h"
/* background tilemap stuff */
TILE_GET_INFO_MEMBER(pass_state::get_pass_bg_tile_info)
{
int tileno, fx;
tileno = m_bg_videoram[tile_index] & 0x1fff;
fx = (... | 26.080645 | 165 | 0.755102 | rjw57 |
2d92753c43bc99f68c811906ea302bcf19d43cb6 | 3,631 | cpp | C++ | src/chrono_synchrono/communication/dds/SynDDSListener.cpp | lucasw/chrono | e79d8c761c718ecb4c796725cff37026f357da8c | [
"BSD-3-Clause"
] | 1,383 | 2015-02-04T14:17:40.000Z | 2022-03-30T04:58:16.000Z | src/chrono_synchrono/communication/dds/SynDDSListener.cpp | pchaoWT/chrono | fd68d37d1d4ee75230dc1eea78ceff91cca7ac32 | [
"BSD-3-Clause"
] | 245 | 2015-01-11T15:30:51.000Z | 2022-03-30T21:28:54.000Z | src/chrono_synchrono/communication/dds/SynDDSListener.cpp | pchaoWT/chrono | fd68d37d1d4ee75230dc1eea78ceff91cca7ac32 | [
"BSD-3-Clause"
] | 351 | 2015-02-04T14:17:47.000Z | 2022-03-30T04:42:52.000Z | #include "chrono_synchrono/communication/dds/SynDDSListener.h"
#include <fastdds/dds/subscriber/DataReader.hpp>
#include <fastdds/dds/subscriber/SampleInfo.hpp>
using namespace eprosima::fastdds::dds;
using namespace eprosima::fastrtps::rtps;
namespace chrono {
namespace synchrono {
void SynDDSThreadSafeCounter::Bl... | 35.598039 | 116 | 0.646929 | lucasw |
2d969bc84fc0c320b322039f232200d834728a3c | 25,479 | cpp | C++ | src/otbullet/wrapper.cpp | cameni/bullet3 | 2a05f2d3e56589dafb6849655d30f07e62689573 | [
"Zlib"
] | null | null | null | src/otbullet/wrapper.cpp | cameni/bullet3 | 2a05f2d3e56589dafb6849655d30f07e62689573 | [
"Zlib"
] | null | null | null | src/otbullet/wrapper.cpp | cameni/bullet3 | 2a05f2d3e56589dafb6849655d30f07e62689573 | [
"Zlib"
] | 1 | 2020-09-09T08:53:48.000Z | 2020-09-09T08:53:48.000Z | #include "discrete_dynamics_world.h"
#include "multithread_default_collision_configuration.h"
#include <BulletCollision/CollisionShapes/btCompoundShape.h>
#include <BulletCollision/CollisionShapes/btCollisionShape.h>
#include <BulletCollision/CollisionShapes/btConvexHullShape.h>
#include <BulletCollision/CollisionSha... | 32.211125 | 195 | 0.580792 | cameni |
2d98d34487dcafe8664fe5d56569c858343bcd9a | 1,282 | cpp | C++ | Source/KBFL/Private/BFL/KBFL_Widgets.cpp | Kyri123/KBFL | 85408de8540b7839474ffc02b414e6235e58d133 | [
"MIT"
] | null | null | null | Source/KBFL/Private/BFL/KBFL_Widgets.cpp | Kyri123/KBFL | 85408de8540b7839474ffc02b414e6235e58d133 | [
"MIT"
] | null | null | null | Source/KBFL/Private/BFL/KBFL_Widgets.cpp | Kyri123/KBFL | 85408de8540b7839474ffc02b414e6235e58d133 | [
"MIT"
] | null | null | null | #include "BFL/KBFL_Widgets.h"
#include <string>
#include "Blueprint/UserWidget.h"
#include "Patching/BlueprintHookHelper.h"
#include "Patching/BlueprintHookManager.h"
void UKBFL_Widgets::BindOnWidget(const TSubclassOf<UUserWidget> WidgetClass, FOnWidgetCreated Binding) {
if (!WidgetClass)
return;
UFunction* Con... | 26.163265 | 119 | 0.769111 | Kyri123 |
2d9a13f3d31907a1c5b9fa94b13756818d2f03df | 3,087 | cpp | C++ | src/dslang-dialect.cpp | ryanvbissell/dslang | 65379ca7bbefff0161d11343b742ac58452d37e7 | [
"BSD-2-Clause"
] | null | null | null | src/dslang-dialect.cpp | ryanvbissell/dslang | 65379ca7bbefff0161d11343b742ac58452d37e7 | [
"BSD-2-Clause"
] | null | null | null | src/dslang-dialect.cpp | ryanvbissell/dslang | 65379ca7bbefff0161d11343b742ac58452d37e7 | [
"BSD-2-Clause"
] | null | null | null | // vim: set tabstop=2 softtabstop=2 shiftwidth=2 expandtab :
/*
* Copyright (c) 2014-2017, Ryan V. Bissell
* All rights reserved.
*
* SPDX-License-Identifier: BSD-2-Clause
* See the enclosed "LICENSE" file for exact license terms.
*/
#define CX_TRACE_SECTION "dslang"
#include "dslang-dialect.hpp"
#include "dsl... | 25.725 | 82 | 0.695497 | ryanvbissell |
2d9da9e8ea4881618a1565400df9900f16745d78 | 17,746 | cpp | C++ | lib/graphics/src/Font.cpp | MarkRDavison/zeno | cea002e716e624d28130e836bf56e9f2f1d2e484 | [
"MIT"
] | null | null | null | lib/graphics/src/Font.cpp | MarkRDavison/zeno | cea002e716e624d28130e836bf56e9f2f1d2e484 | [
"MIT"
] | null | null | null | lib/graphics/src/Font.cpp | MarkRDavison/zeno | cea002e716e624d28130e836bf56e9f2f1d2e484 | [
"MIT"
] | null | null | null | #include <zeno/Graphics/Font.hpp>
#include <ft2build.h>
#include FT_FREETYPE_H
#include <zeno/Graphics/Image.hpp>
#include <zeno/Graphics/Colour.hpp>
#include <algorithm>
#include <iostream>
#include <cmath>
#define MARGIN 2
#define DIST_MARGIN 4
#define ATLAS_WIDTH 1024
#define SEED_CHARS "abcdefghijklmnopqrstuvwxy... | 35.850505 | 125 | 0.503268 | MarkRDavison |
2d9de769f273f496b186898192937f660c48b656 | 9,383 | cpp | C++ | Tests/Core/TestHashMap.cpp | EgorOrachyov/Berserk | 0fcd3571b5aa0a1e073a2280035d445b2be94cbf | [
"MIT"
] | 43 | 2018-12-21T15:01:20.000Z | 2022-01-12T04:22:38.000Z | Tests/Core/TestHashMap.cpp | EgorOrachyov/Berserk | 0fcd3571b5aa0a1e073a2280035d445b2be94cbf | [
"MIT"
] | 22 | 2018-10-06T14:10:05.000Z | 2021-12-31T17:58:40.000Z | Tests/Core/TestHashMap.cpp | EgorOrachyov/Berserk | 0fcd3571b5aa0a1e073a2280035d445b2be94cbf | [
"MIT"
] | 4 | 2019-04-14T05:59:33.000Z | 2021-05-21T10:34:57.000Z |
/**********************************************************************************/
/* This file is part of Berserk Engine project */
/* https://github.com/EgorOrachyov/Berserk */
/***************************************************************... | 33.510714 | 144 | 0.553448 | EgorOrachyov |
2d9fc50ce93218efce08ee0e4ed74700e5543f0d | 1,411 | cpp | C++ | lc508_most_frequent_subtree_sum.cpp | hzwr/Basics | cd4d8625636af987efdf36c0bea186928bc9e1a7 | [
"MIT"
] | null | null | null | lc508_most_frequent_subtree_sum.cpp | hzwr/Basics | cd4d8625636af987efdf36c0bea186928bc9e1a7 | [
"MIT"
] | null | null | null | lc508_most_frequent_subtree_sum.cpp | hzwr/Basics | cd4d8625636af987efdf36c0bea186928bc9e1a7 | [
"MIT"
] | null | null | null | /*
Given the root of a binary tree, return the most frequent subtree sum. If there is a tie, return all the values with the highest frequency in any order.
The subtree sum of a node is defined as the sum of all the node values formed by the subtree rooted at that node (including the node itself).
*/
/**
* Definition... | 26.12963 | 152 | 0.564139 | hzwr |
2da246c897b3ca2217934b6209339a722e8c35f6 | 727 | cpp | C++ | code/plugsrc/Bullet/pch.cpp | zaklaus/NEON86 | b1996fb6303cbb72bd0e93298617803f4b017c78 | [
"BSD-3-Clause"
] | 4 | 2021-01-23T15:38:25.000Z | 2021-12-31T15:12:21.000Z | code/plugsrc/Bullet/pch.cpp | zaklaus/NEON86 | b1996fb6303cbb72bd0e93298617803f4b017c78 | [
"BSD-3-Clause"
] | 9 | 2020-05-23T20:49:57.000Z | 2020-10-06T09:01:46.000Z | code/plugsrc/Bullet/pch.cpp | zaklaus/NEON86 | b1996fb6303cbb72bd0e93298617803f4b017c78 | [
"BSD-3-Clause"
] | null | null | null | #include "pch.h"
// When you are using pre-compiled headers, this source file is necessary for compilation to succeed.
#pragma comment(lib, "d3d9/d3dx9.lib")
#ifdef _DEBUG
#pragma comment(lib, "bullet/BulletCollision_Debug.lib")
#pragma comment(lib, "bullet/BulletDynamics_Debug.lib")
#pragma comment(lib, "bullet/Bu... | 34.619048 | 101 | 0.781293 | zaklaus |
2da320f82b21297882073c8090b12588def6b135 | 564 | cpp | C++ | jni/WiEngine_binding/actions/com_wiyun_engine_actions_Follow.cpp | zchajax/WiEngine | ea2fa297f00aa5367bb5b819d6714ac84a8a8e25 | [
"MIT"
] | 39 | 2015-01-23T10:01:31.000Z | 2021-06-10T03:01:18.000Z | jni/WiEngine_binding/actions/com_wiyun_engine_actions_Follow.cpp | luckypen/WiEngine | 7e80641fe15a77a2fc43db90f15dad6aa2c2860a | [
"MIT"
] | 1 | 2015-04-15T08:07:47.000Z | 2015-04-15T08:07:47.000Z | jni/WiEngine_binding/actions/com_wiyun_engine_actions_Follow.cpp | luckypen/WiEngine | 7e80641fe15a77a2fc43db90f15dad6aa2c2860a | [
"MIT"
] | 20 | 2015-01-20T07:36:10.000Z | 2019-09-15T01:02:19.000Z | #include "com_wiyun_engine_actions_Follow.h"
#include "wyFollow.h"
#include "wyNode.h"
extern jfieldID g_fid_BaseObject_mPointer;
JNIEXPORT void JNICALL Java_com_wiyun_engine_actions_Follow_nativeInit
(JNIEnv * env, jobject thiz, jobject node, jint x, jint y, jint width, jint height) {
wyNode* fnode = (wyN... | 35.25 | 88 | 0.741135 | zchajax |
2da7b4ba09b0f21a8261b13e03d8f0dd62c6e8c6 | 2,584 | cpp | C++ | YorozuyaGSLib/source/CCircleZone.cpp | lemkova/Yorozuya | f445d800078d9aba5de28f122cedfa03f26a38e4 | [
"MIT"
] | 29 | 2017-07-01T23:08:31.000Z | 2022-02-19T10:22:45.000Z | YorozuyaGSLib/source/CCircleZone.cpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 90 | 2017-10-18T21:24:51.000Z | 2019-06-06T02:30:33.000Z | YorozuyaGSLib/source/CCircleZone.cpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 44 | 2017-12-19T08:02:59.000Z | 2022-02-24T23:15:01.000Z | #include <CCircleZone.hpp>
START_ATF_NAMESPACE
CCircleZone::CCircleZone()
{
using org_ptr = void (WINAPIV*)(struct CCircleZone*);
(org_ptr(0x14012d660L))(this);
};
void CCircleZone::ctor_CCircleZone()
{
using org_ptr = void (WINAPIV*)(struct CCircleZone*);
(org_ptr(... | 33.558442 | 114 | 0.62887 | lemkova |
2db006346dcb801fd761a89edb537502a81d53dc | 15,827 | cc | C++ | ns-3-dev/src/internet/model/ipv6-extension-header.cc | maxvonhippel/snake | 0805773dc34e1480dffaae40174aa1f82d1c6ce8 | [
"BSD-3-Clause"
] | 11 | 2015-11-24T11:07:28.000Z | 2021-12-23T04:10:29.000Z | ns-3-dev/src/internet/model/ipv6-extension-header.cc | maxvonhippel/snake | 0805773dc34e1480dffaae40174aa1f82d1c6ce8 | [
"BSD-3-Clause"
] | null | null | null | ns-3-dev/src/internet/model/ipv6-extension-header.cc | maxvonhippel/snake | 0805773dc34e1480dffaae40174aa1f82d1c6ce8 | [
"BSD-3-Clause"
] | 6 | 2016-03-01T06:32:21.000Z | 2022-03-24T19:31:41.000Z | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2007-2009 Strasbourg University
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
*
* This p... | 23.138889 | 153 | 0.716371 | maxvonhippel |
2db1522b87c0c2bfcae509a646be0fea971edd2b | 6,954 | cc | C++ | ui/display/util/display_util.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 575 | 2015-06-18T23:58:20.000Z | 2022-03-23T09:32:39.000Z | ui/display/util/display_util.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | ui/display/util/display_util.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 52 | 2015-07-14T10:40:50.000Z | 2022-03-15T01:11:49.000Z | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/display/util/display_util.h"
#include <stddef.h>
#include "base/containers/contains.h"
#include "base/logging.h"
#include "base/metrics/his... | 40.430233 | 80 | 0.701323 | Ron423c |
2db1c8adc9af1a112f9cd8505c8dcf865e6ada29 | 3,457 | cpp | C++ | solutions/LeetCode/C++/450.cpp | timxor/leetcode-journal | 5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a | [
"MIT"
] | 854 | 2018-11-09T08:06:16.000Z | 2022-03-31T06:05:53.000Z | solutions/LeetCode/C++/450.cpp | timxor/leetcode-journal | 5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a | [
"MIT"
] | 29 | 2019-06-02T05:02:25.000Z | 2021-11-15T04:09:37.000Z | solutions/LeetCode/C++/450.cpp | timxor/leetcode-journal | 5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a | [
"MIT"
] | 347 | 2018-12-23T01:57:37.000Z | 2022-03-12T14:51:21.000Z | __________________________________________________________________________________________________
sample 28 ms submission
static int fast_io = []() { std::ios::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr); return 0; }();
class Solution {
public:
TreeNode* deleteNode(TreeNode* root, int key) {
... | 32.009259 | 113 | 0.484813 | timxor |
2db308fb672853899abcbe30eb98a423d0cd0b59 | 821 | hpp | C++ | libs/projectile/include/sge/projectile/triangulation/traits/access_element.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | libs/projectile/include/sge/projectile/triangulation/traits/access_element.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | libs/projectile/include/sge/projectile/triangulation/traits/access_element.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 3 | 2018-05-11T01:11:34.000Z | 2021-04-24T19:47:45.000Z | // Copyright Carl Philipp Reh 2006 - 2019.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef SGE_PROJECTILE_TRIANGULATION_TRAITS_ACCESS_ELEMENT_HPP_INCLUDED
#define SGE_PROJECTILE_TRIA... | 29.321429 | 74 | 0.783191 | cpreh |
2dbb822e03a097c3c3e06fbb7aa3635f62d91418 | 6,156 | cpp | C++ | librbr_tests/src/mdp/test_mdp.cpp | kylewray/librbr | ea3dcef7c37b4f177373ac6fec1f4c4566cf7bd8 | [
"MIT"
] | null | null | null | librbr_tests/src/mdp/test_mdp.cpp | kylewray/librbr | ea3dcef7c37b4f177373ac6fec1f4c4566cf7bd8 | [
"MIT"
] | 11 | 2015-04-02T01:32:47.000Z | 2015-04-02T01:32:47.000Z | librbr_tests/src/mdp/test_mdp.cpp | kylewray/librbr | ea3dcef7c37b4f177373ac6fec1f4c4566cf7bd8 | [
"MIT"
] | null | null | null | /**
* The MIT License (MIT)
*
* Copyright (c) 2014 Kyle Hollins Wray, University of Massachusetts
*
* 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 ... | 32.919786 | 110 | 0.674789 | kylewray |
2dbcc962496b6eb0e8c389e94cc89cc51f887d8f | 2,156 | cpp | C++ | diffusion/math/Local.cpp | lanetszb/dfvm | c6154ba23c4e145fa6889c04f97b69972163f59c | [
"MIT"
] | null | null | null | diffusion/math/Local.cpp | lanetszb/dfvm | c6154ba23c4e145fa6889c04f97b69972163f59c | [
"MIT"
] | null | null | null | diffusion/math/Local.cpp | lanetszb/dfvm | c6154ba23c4e145fa6889c04f97b69972163f59c | [
"MIT"
] | null | null | null | /* MIT License
*
* Copyright (c) 2020 Aleksandr Zhuravlyov and Zakhar Lanets
*
* 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 righ... | 38.5 | 81 | 0.700835 | lanetszb |
2dbcec127f31253160471c3f27a1268d0ba93aa6 | 5,696 | cpp | C++ | src/Level/Enemies/ElysiaFledglingEnemy.cpp | tizian/Cendric2 | 5b0438c73a751bcc0d63c3af839af04ab0fb21a3 | [
"MIT"
] | 279 | 2015-05-06T19:04:07.000Z | 2022-03-21T21:33:38.000Z | src/Level/Enemies/ElysiaFledglingEnemy.cpp | tizian/Cendric2 | 5b0438c73a751bcc0d63c3af839af04ab0fb21a3 | [
"MIT"
] | 222 | 2016-10-26T15:56:25.000Z | 2021-10-03T15:30:18.000Z | src/Level/Enemies/ElysiaFledglingEnemy.cpp | tizian/Cendric2 | 5b0438c73a751bcc0d63c3af839af04ab0fb21a3 | [
"MIT"
] | 49 | 2015-10-01T21:23:03.000Z | 2022-03-19T20:11:31.000Z | #include "Level/Enemies/ElysiaFledglingEnemy.h"
#include "Level/LevelMainCharacter.h"
#include "Level/MOBBehavior/MovingBehaviors/AggressiveFlyingBehavior.h"
#include "Level/MOBBehavior/MovingBehaviors/AllyFlyingBehavior.h"
#include "Level/MOBBehavior/AttackingBehaviors/AggressiveBehavior.h"
#include "Level/MOBBehavior... | 31.644444 | 97 | 0.744206 | tizian |
2dc34cfc58fa45d3a274066306f22561ecf89ca8 | 700 | cc | C++ | cpp/accelerated_c++/chapter10/letter_grade.cc | zhouzhiqi/book_and_code | 3ffadd6cb721af280a00c1e1f97d509ab4b210ab | [
"Apache-2.0"
] | null | null | null | cpp/accelerated_c++/chapter10/letter_grade.cc | zhouzhiqi/book_and_code | 3ffadd6cb721af280a00c1e1f97d509ab4b210ab | [
"Apache-2.0"
] | null | null | null | cpp/accelerated_c++/chapter10/letter_grade.cc | zhouzhiqi/book_and_code | 3ffadd6cb721af280a00c1e1f97d509ab4b210ab | [
"Apache-2.0"
] | null | null | null | #include <cstddef>
#include <string>
using std::string;
string letter_grade(double grade)
{
// range posts for numeric grades
static const double numbers[] = {
97, 94, 90, 87, 84, 80, 77, 74, 70, 60, 0
};
// names for the letter grades
static const char* const letters[] = {
"A+", "A", "A-", "B+", "B", "B-",... | 22.580645 | 70 | 0.62 | zhouzhiqi |
2dc5379c6c43357a0652fbdb3e263471fbfac99d | 624 | cpp | C++ | pds2/vpls/lista_problematica/main.cpp | pganaclara/ufmg | 2325803427a7b4d5d150574bfd80243274cab527 | [
"MIT"
] | null | null | null | pds2/vpls/lista_problematica/main.cpp | pganaclara/ufmg | 2325803427a7b4d5d150574bfd80243274cab527 | [
"MIT"
] | null | null | null | pds2/vpls/lista_problematica/main.cpp | pganaclara/ufmg | 2325803427a7b4d5d150574bfd80243274cab527 | [
"MIT"
] | null | null | null | #include <iostream>
#include "List.hpp"
int main(){
int N, K;
std::cin >> N >> K;
List *L = new List();
for (int i = N; i >= 0; i--){
L->insert(i); //insere um a um os elementos [N, 0]
}
L->print();
std::cout << L->_size << std::endl;
for (int j = 0; j < K; j++){
L->removeFirst(); // re... | 18.352941 | 75 | 0.516026 | pganaclara |
2dc8c4e85c9b4854b8e91180134a453bb3e3cfed | 13,357 | cpp | C++ | src/Driver.cpp | mostynb/tundra | 4feb8c9309f2bdad6d3ef1ad8a522f5726b5f9c1 | [
"MIT"
] | null | null | null | src/Driver.cpp | mostynb/tundra | 4feb8c9309f2bdad6d3ef1ad8a522f5726b5f9c1 | [
"MIT"
] | null | null | null | src/Driver.cpp | mostynb/tundra | 4feb8c9309f2bdad6d3ef1ad8a522f5726b5f9c1 | [
"MIT"
] | null | null | null | #include "Driver.hpp"
#include "BinaryWriter.hpp"
#include "Buffer.hpp"
#include "BuildQueue.hpp"
#include "Common.hpp"
#include "DagData.hpp"
#include "DagGenerator.hpp"
#include "DagDerivedCompiler.hpp"
#include "FileInfo.hpp"
#include "MemAllocLinear.hpp"
#include "MemoryMappedFile.hpp"
#include "RuntimeNode.hpp"
#i... | 31.428235 | 147 | 0.69604 | mostynb |
2dcad7a307eb3c0502ecaf364023a49632193515 | 380 | cpp | C++ | audio.cpp | ervaibhavkumar/QtFrogger | 3f7d6e55bd153edf400bdd8bb9961f34bb32fb4d | [
"CC0-1.0"
] | null | null | null | audio.cpp | ervaibhavkumar/QtFrogger | 3f7d6e55bd153edf400bdd8bb9961f34bb32fb4d | [
"CC0-1.0"
] | null | null | null | audio.cpp | ervaibhavkumar/QtFrogger | 3f7d6e55bd153edf400bdd8bb9961f34bb32fb4d | [
"CC0-1.0"
] | null | null | null | #include "audio.h"
#include <QMediaPlayer>
namespace Audio {
void playSound(QString type) {
QMediaPlayer *media = new QMediaPlayer();
if (type == "die") {
media->setMedia(QUrl("qrc:/audio/die.mp3"));
}
else {
Q_ASSERT(type == "success");
media->setMedia(QUrl("qrc... | 19 | 57 | 0.55 | ervaibhavkumar |
2dcafe851ec47db261d0aa8074237a2c73494f54 | 6,872 | cc | C++ | storage/browser/test/mock_quota_client.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | storage/browser/test/mock_quota_client.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | storage/browser/test/mock_quota_client.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "storage/browser/test/mock_quota_client.h"
#include <memory>
#include <utility>
#include <vector>
#include "base/bind.h"
#include "base/locatio... | 36.168421 | 79 | 0.715367 | zealoussnow |
2dcbb809c0c13f7f2bf3af6a3dcc69f39feed4d1 | 1,387 | cpp | C++ | IPSC2014/C.cpp | CodingYue/acm-icpc | 667596efae998f5480819870714c37e9af0740eb | [
"Unlicense"
] | 1 | 2015-11-03T09:31:07.000Z | 2015-11-03T09:31:07.000Z | IPSC2014/C.cpp | CodingYue/acm-icpc | 667596efae998f5480819870714c37e9af0740eb | [
"Unlicense"
] | null | null | null | IPSC2014/C.cpp | CodingYue/acm-icpc | 667596efae998f5480819870714c37e9af0740eb | [
"Unlicense"
] | null | null | null | // File Name: C.cpp
// Author: YangYue
// Created Time: Sun Jun 15 19:16:28 2014
//headers
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <algorithm>
#include <cstring>
#include <cmath>
#include <ctime>
#include <string>
#include <queue>
#include <set>
#include <map>
#include <iostream>
#include <vec... | 17.782051 | 60 | 0.596972 | CodingYue |
2dcc39ddcbf74c75fc4be9bda0f4b577eee7e6ae | 1,535 | cpp | C++ | UVA/UVA297.cpp | avillega/CompetitiveProgramming | f12c1a07417f8fc154ac5297889ca756b49f0f35 | [
"Apache-2.0"
] | null | null | null | UVA/UVA297.cpp | avillega/CompetitiveProgramming | f12c1a07417f8fc154ac5297889ca756b49f0f35 | [
"Apache-2.0"
] | null | null | null | UVA/UVA297.cpp | avillega/CompetitiveProgramming | f12c1a07417f8fc154ac5297889ca756b49f0f35 | [
"Apache-2.0"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
#define _ ios_base::sync_with_stdio(false);cin.tie(NULL);
#define f(i, s, n) for(int i = s; i < n ; i++)
typedef vector< vector<bool> > picture; //false is e and true is f
void create(string &a, picture &pic, int iniF, int iniC, int finF, int finC, int &index){... | 27.410714 | 90 | 0.448208 | avillega |
2dcdfaabd785c1c93e398ae8d4d63ebf08131cb4 | 1,147 | cpp | C++ | src/ofp/mpexperimenter.cpp | byllyfish/oftr | ac1e4ef09388376ea6fa7b460b6abe2ab3471624 | [
"MIT"
] | 1 | 2019-06-14T13:57:28.000Z | 2019-06-14T13:57:28.000Z | src/ofp/mpexperimenter.cpp | byllyfish/oftr | ac1e4ef09388376ea6fa7b460b6abe2ab3471624 | [
"MIT"
] | 20 | 2017-02-20T04:49:10.000Z | 2019-07-09T05:32:54.000Z | src/ofp/mpexperimenter.cpp | byllyfish/oftr | ac1e4ef09388376ea6fa7b460b6abe2ab3471624 | [
"MIT"
] | 1 | 2019-07-16T00:21:42.000Z | 2019-07-16T00:21:42.000Z | // Copyright (c) 2015-2018 William W. Fisher (at gmail dot com)
// This file is distributed under the MIT License.
#include "ofp/mpexperimenter.h"
#include "ofp/multipartrequest.h"
#include "ofp/writable.h"
using namespace ofp;
const MPExperimenter *MPExperimenter::cast(const MultipartRequest *req) {
return req->b... | 30.184211 | 77 | 0.741064 | byllyfish |
2dd438bd4ac615f2f06e4a3e6d76d8da5f358021 | 14,897 | cpp | C++ | source/lunatic/particle.cpp | Hypexion/HamSandwich | e5adb6b45d822cbef1be1a52d0ce51513dc24bc8 | [
"MIT"
] | 24 | 2019-05-12T12:03:21.000Z | 2022-03-30T01:05:46.000Z | source/lunatic/particle.cpp | Hypexion/HamSandwich | e5adb6b45d822cbef1be1a52d0ce51513dc24bc8 | [
"MIT"
] | 6 | 2019-05-12T11:54:54.000Z | 2022-02-26T11:47:20.000Z | source/lunatic/particle.cpp | Hypexion/HamSandwich | e5adb6b45d822cbef1be1a52d0ce51513dc24bc8 | [
"MIT"
] | 12 | 2019-05-12T13:48:57.000Z | 2022-02-25T15:25:24.000Z | #include "particle.h"
#include "bullet.h"
#include "monster.h"
Particle **particleList;
int maxParticles;
static int snowCount = 0; // explicit int
Particle::Particle(void)
{
this->life = 0;
}
Particle::~Particle(void)
{
}
void Particle::Go(byte type, int x, int y, int z, byte angle, byte force)
{
byte fforce;
... | 21.434532 | 119 | 0.548567 | Hypexion |
2dd5956f1281b44b6251988cafa62733607262c6 | 27,468 | cc | C++ | src/k2htpdtorsvrparser.cc | ggtakec/k2htp_dtor | 0fe184f32bb71fedd91fc8dc910fe143d13287ca | [
"MIT"
] | 10 | 2016-12-09T01:44:50.000Z | 2020-01-29T06:05:45.000Z | src/k2htpdtorsvrparser.cc | ggtakec/k2htp_dtor | 0fe184f32bb71fedd91fc8dc910fe143d13287ca | [
"MIT"
] | 2 | 2018-12-26T23:55:38.000Z | 2018-12-27T09:35:56.000Z | src/k2htpdtorsvrparser.cc | ggtakec/k2htp_dtor | 0fe184f32bb71fedd91fc8dc910fe143d13287ca | [
"MIT"
] | 5 | 2016-12-09T01:48:51.000Z | 2020-12-18T05:11:14.000Z | /*
* k2htpdtor for K2HASH TRANSACTION PLUGIN.
*
* Copyright 2015 Yahoo Japan Corporation.
*
* K2HASH TRANSACTION PLUGIN is programmable I/F for processing
* transaction data from modifying K2HASH data.
*
* For the full copyright and license information, please view
* the license file that was distributed with ... | 33.661765 | 192 | 0.681957 | ggtakec |
2dd75dc1523557f4a9c0a2abf2a52d94d27691a7 | 3,689 | cpp | C++ | hr/medium/minimum_area.cpp | gnom1gnom/cpp-algorithms | e460c0d1720acf0e0548452dfba05651e4868120 | [
"Unlicense"
] | null | null | null | hr/medium/minimum_area.cpp | gnom1gnom/cpp-algorithms | e460c0d1720acf0e0548452dfba05651e4868120 | [
"Unlicense"
] | null | null | null | hr/medium/minimum_area.cpp | gnom1gnom/cpp-algorithms | e460c0d1720acf0e0548452dfba05651e4868120 | [
"Unlicense"
] | null | null | null | /*
* Complete the 'minArea' function below.
*
* The function is expected to return a LONG_INTEGER.
* The function accepts following parameters:
* 1. INTEGER_ARRAY x
* 2. INTEGER_ARRAY y
* 3. INTEGER k
*/
#include <bits/stdc++.h>
using namespace std;
string ltrim(const string &);
string rtrim(const string ... | 24.925676 | 166 | 0.584169 | gnom1gnom |
2dd75efe9f4490c764ffb6e78a35c63f50a350fe | 1,515 | cpp | C++ | android-31/android/telephony/CarrierConfigManager_Apn.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-31/android/telephony/CarrierConfigManager_Apn.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-31/android/telephony/CarrierConfigManager_Apn.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #include "../../JString.hpp"
#include "./CarrierConfigManager_Apn.hpp"
namespace android::telephony
{
// Fields
JString CarrierConfigManager_Apn::KEY_PREFIX()
{
return getStaticObjectField(
"android.telephony.CarrierConfigManager$Apn",
"KEY_PREFIX",
"Ljava/lang/String;"
);
}
JString CarrierConfigMana... | 23.671875 | 85 | 0.753795 | YJBeetle |
2dd88f1b46450ebb119f797ddb4878d5448526cf | 5,334 | cpp | C++ | geometry/geometry_tests/spline_test.cpp | marceldallagnol/omim | 774de15a3b8c369acbf412f15a1db61717358262 | [
"Apache-2.0"
] | 2 | 2019-01-24T15:36:20.000Z | 2019-12-26T10:03:48.000Z | geometry/geometry_tests/spline_test.cpp | marceldallagnol/omim | 774de15a3b8c369acbf412f15a1db61717358262 | [
"Apache-2.0"
] | 1 | 2018-03-07T15:05:23.000Z | 2018-03-07T15:05:23.000Z | geometry/geometry_tests/spline_test.cpp | maksimandrianov/omim | cbc5a80d09d585afbda01e471887f63b9d3ab0c2 | [
"Apache-2.0"
] | 1 | 2019-08-09T21:31:29.000Z | 2019-08-09T21:31:29.000Z | #include "testing/testing.hpp"
#include "geometry/geometry_tests/equality.hpp"
#include "geometry/spline.hpp"
using m2::Spline;
using m2::PointD;
void TestPointDDir(PointD const & dst, PointD const & src)
{
double len1 = dst.Length();
double len2 = src.Length();
TEST_ALMOST_EQUAL_ULPS(dst.x/len1, src.x/len2, ()... | 25.768116 | 58 | 0.666104 | marceldallagnol |
2dd96491a82cbd24336742059e85bb7440310571 | 203 | hpp | C++ | demos/sjtwo/sd_card/project_config.hpp | SJSURoboticsTeam/urc-control_systems-2020 | 35dff34c1bc0beecc94ad6b8f2d4b551969c6854 | [
"Apache-2.0"
] | 6 | 2020-06-20T23:56:42.000Z | 2021-12-18T08:13:54.000Z | demos/sjtwo/sd_card/project_config.hpp | SJSURoboticsTeam/urc-control_systems-2020 | 35dff34c1bc0beecc94ad6b8f2d4b551969c6854 | [
"Apache-2.0"
] | 153 | 2020-06-09T14:49:29.000Z | 2022-01-31T16:39:39.000Z | demos/sjtwo/sd_card/project_config.hpp | SJSURoboticsTeam/urc-control_systems-2020 | 35dff34c1bc0beecc94ad6b8f2d4b551969c6854 | [
"Apache-2.0"
] | 10 | 2020-08-02T00:55:38.000Z | 2022-01-24T23:06:51.000Z | #pragma once
// Change the "#if 0" to "#if 1" below to see debug information for every
// step of the SD card communication
#if 1
#define SJ2_LOG_LEVEL SJ2_LOG_LEVEL_DEBUG
#endif
#include "config.hpp"
| 20.3 | 73 | 0.743842 | SJSURoboticsTeam |
2ddb3df5d95cfe1b477fb6c53a77c1e7b6a867da | 94 | cpp | C++ | modules/engine/src/Render/Palette/Palette.cpp | litty-studios/randar | 95daae57b1ec7d87194cdbcf6e3946b4ed9fc79b | [
"MIT"
] | 1 | 2016-11-12T02:43:29.000Z | 2016-11-12T02:43:29.000Z | modules/engine/src/Render/Palette/Palette.cpp | litty-studios/randar | 95daae57b1ec7d87194cdbcf6e3946b4ed9fc79b | [
"MIT"
] | null | null | null | modules/engine/src/Render/Palette/Palette.cpp | litty-studios/randar | 95daae57b1ec7d87194cdbcf6e3946b4ed9fc79b | [
"MIT"
] | null | null | null | #include <randar/Render/Palette/Palette.hpp>
// Destructor.
randar::Palette::~Palette()
{
}
| 11.75 | 44 | 0.702128 | litty-studios |
2ddba606153d5f8e2d02c84989be9b1f70aede63 | 2,122 | cpp | C++ | tests/messaging/test_call_many.cpp | arntanguy/libqi | 7f3e1394cb26126b26fa7ff54d2de1371a1c9f96 | [
"BSD-3-Clause"
] | 61 | 2015-01-08T08:05:28.000Z | 2022-01-07T16:47:47.000Z | tests/messaging/test_call_many.cpp | arntanguy/libqi | 7f3e1394cb26126b26fa7ff54d2de1371a1c9f96 | [
"BSD-3-Clause"
] | 30 | 2015-04-06T21:41:18.000Z | 2021-08-18T13:24:51.000Z | tests/messaging/test_call_many.cpp | arntanguy/libqi | 7f3e1394cb26126b26fa7ff54d2de1371a1c9f96 | [
"BSD-3-Clause"
] | 64 | 2015-02-23T20:01:11.000Z | 2022-03-14T13:31:20.000Z | /*
** Copyright (C) 2012 Aldebaran Robotics
*/
#include <map>
#include <qi/application.hpp>
#include <qi/anyobject.hpp>
#include <qi/type/dynamicobjectbuilder.hpp>
#include <qi/session.hpp>
#include <testsession/testsessionpair.hpp>
#include <qi/testutils/testutils.hpp>
#include <gtest/gtest.h>
qi::AnyObject oclient1... | 29.887324 | 98 | 0.694628 | arntanguy |
2ddd8a850b2a9319a6f723ad224f57a35e38a7d5 | 10,532 | cpp | C++ | src/check/proof.cpp | arpj-rebola/rupee-old | b00351cbd3173d329ea183e08c3283c6d86d18a1 | [
"MIT"
] | null | null | null | src/check/proof.cpp | arpj-rebola/rupee-old | b00351cbd3173d329ea183e08c3283c6d86d18a1 | [
"MIT"
] | null | null | null | src/check/proof.cpp | arpj-rebola/rupee-old | b00351cbd3173d329ea183e08c3283c6d86d18a1 | [
"MIT"
] | null | null | null | #include <cstdlib>
#include <iostream>
#include "core.hpp"
#include "proof.hpp"
#include "database.hpp"
//************************************************************
// Class ClauseArray
//************************************************************
// Builders
ClauseArray::ClauseArray(std::uint32_t capacity) :
m... | 21.537832 | 100 | 0.612704 | arpj-rebola |
2de31312bac455bb206107872c7c3c2c92cc9ff4 | 1,806 | cpp | C++ | C++/src/biopsy/gapped_pssm/gapped_pssm_test.cpp | JohnReid/biopsy | 1eeb714ba5b53f2ecf776d865d32e2078cbc0338 | [
"MIT"
] | null | null | null | C++/src/biopsy/gapped_pssm/gapped_pssm_test.cpp | JohnReid/biopsy | 1eeb714ba5b53f2ecf776d865d32e2078cbc0338 | [
"MIT"
] | null | null | null | C++/src/biopsy/gapped_pssm/gapped_pssm_test.cpp | JohnReid/biopsy | 1eeb714ba5b53f2ecf776d865d32e2078cbc0338 | [
"MIT"
] | null | null | null |
#include "biopsy/gapped_pssm.h"
#include <boost/test/unit_test.hpp>
#include <boost/test/parameterized_test.hpp>
#include <boost/test/floating_point_comparison.hpp>
#include <boost/assign/list_of.hpp>
using namespace boost;
using namespace boost::assign;
using boost::unit_test::test_suite;
#include <iostream>
using... | 18.06 | 74 | 0.657254 | JohnReid |
2de368037e9cbf6f6a474a1fcac22b112ca8f03a | 597 | cpp | C++ | diagonaldiff.cpp | d3cod3monk78/hackerrank | 8f3174306754d04d07b42d5c7a95ab32abf17fa1 | [
"MIT"
] | null | null | null | diagonaldiff.cpp | d3cod3monk78/hackerrank | 8f3174306754d04d07b42d5c7a95ab32abf17fa1 | [
"MIT"
] | null | null | null | diagonaldiff.cpp | d3cod3monk78/hackerrank | 8f3174306754d04d07b42d5c7a95ab32abf17fa1 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#include <vector>
#include <cstdlib>
using namespace std;
typedef long long int ll;
ll getDiff(vector<vector<int>> arr);
ll getDiff(vector<vector<int>> arr) {
ll sum = 0;
for(ll i = 0; i < (ll)arr.size(); i++) {
sum += arr[i][i] - arr[i][(ll)arr.size() - i - 1];
}
return sum;
}
int ... | 15.710526 | 52 | 0.549414 | d3cod3monk78 |
2de4e2d15a5865802088020fad5bcca7562ea53b | 3,995 | cc | C++ | src/util/LS_trends/rp.cc | mansour2014/ATSP2K_plus | 30842b9f086d1e497aeb778e2a352d1e8e520ec3 | [
"BSD-4-Clause-UC"
] | 1 | 2019-07-21T14:03:39.000Z | 2019-07-21T14:03:39.000Z | src/util/LS_trends/rp.cc | mzmansour/ATSP2K_plus | 30842b9f086d1e497aeb778e2a352d1e8e520ec3 | [
"BSD-4-Clause-UC"
] | null | null | null | src/util/LS_trends/rp.cc | mzmansour/ATSP2K_plus | 30842b9f086d1e497aeb778e2a352d1e8e520ec3 | [
"BSD-4-Clause-UC"
] | null | null | null | #include "rep_lib.hh"
#include "ls.hh"
#include <string>
#include<cmath>
string& ret_str(string& s) {
int a = s.find_first_not_of(" ");
s.erase(0,a);
a = s.find_last_not_of(" ");
s.erase(a+1);
// cout << s.size() << "::" << s << "::" << endl;
return s;
}
string& u_format(string& ss, double dr, double ... | 24.212121 | 64 | 0.463079 | mansour2014 |
2de62dcc70ac4b26a94f7541a6a172636c76ce7c | 6,996 | cc | C++ | src/memory/ReproCartridgeV1.cc | imulilla/openMSX_TSXadv_nofork | 4ee003d87a44633c14c054bd59ec2bfd866e5d9f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | src/memory/ReproCartridgeV1.cc | imulilla/openMSX_TSXadv_nofork | 4ee003d87a44633c14c054bd59ec2bfd866e5d9f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | src/memory/ReproCartridgeV1.cc | imulilla/openMSX_TSXadv_nofork | 4ee003d87a44633c14c054bd59ec2bfd866e5d9f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | #include "ReproCartridgeV1.hh"
#include "DummyAY8910Periphery.hh"
#include "MSXCPUInterface.hh"
#include "serialize.hh"
#include <vector>
/******************************************************************************
* DOCUMENTATION AS PROVIDED BY MANUEL PAZOS, WHO DEVELOPED THE CARTRIDGE *
*******************... | 28.555102 | 79 | 0.665666 | imulilla |
2de70533ced990658f049ae0190745fe7e8b51cb | 5,711 | cpp | C++ | libdsd/src/CDFFFile.cpp | xlm04322/dsd-dop-from-kpidsd | 2fe6916b1a5e3194d65b3d59528b3e053c9a9f50 | [
"MIT"
] | 2 | 2019-03-12T18:14:52.000Z | 2021-12-13T13:08:24.000Z | libdsd/src/CDFFFile.cpp | xlm04322/dsd-dop-from-kpidsd | 2fe6916b1a5e3194d65b3d59528b3e053c9a9f50 | [
"MIT"
] | null | null | null | libdsd/src/CDFFFile.cpp | xlm04322/dsd-dop-from-kpidsd | 2fe6916b1a5e3194d65b3d59528b3e053c9a9f50 | [
"MIT"
] | 4 | 2016-09-21T20:24:16.000Z | 2021-04-10T08:24:55.000Z | #include "stdafx.h"
#include "CDFFFile.h"
CDFFFile::CDFFFile() : CLargeFile()
{
}
CDFFFile::~CDFFFile()
{
}
void CDFFFile::Close()
{
CLargeFile::Close();
}
bool CDFFFile::readChunkHeader(DFFChunkHeader& header, ChunkStep& step)
{
DWORD dwBytesRead = 0;
step.headerOffset = Tell();
if (!Read(&header, sizeof hea... | 23.405738 | 94 | 0.691823 | xlm04322 |
2de745d418d15862c47669ae7d5127ea94dab1f4 | 2,578 | cpp | C++ | ode.cpp | wo3kie/cxxDojo | c63388eb37a62272bfb9ca5c0b207fc5387a29ad | [
"MIT"
] | 2 | 2015-10-26T22:06:11.000Z | 2015-11-25T14:35:00.000Z | ode.cpp | wo3kie/dojo | c63388eb37a62272bfb9ca5c0b207fc5387a29ad | [
"MIT"
] | null | null | null | ode.cpp | wo3kie/dojo | c63388eb37a62272bfb9ca5c0b207fc5387a29ad | [
"MIT"
] | null | null | null | /*
* Website:
* https://github.com/wo3kie/dojo
*
* Author:
* Lukasz Czerwinski
*
* Compilation:
* g++ --std=c++11 ode.euler.cpp -o ode.euler
*
* Usage:
* $ ./ode.euler
*/
#include <cassert>
#include <functional>
#include "./feq.hpp"
double solveOdeImpl(
std::function<double (doubl... | 21.847458 | 64 | 0.544996 | wo3kie |
2de7ccebe28966caf94c5bd7ec391367006e19b2 | 6,219 | hpp | C++ | openstudiocore/src/model/AirLoopHVACOutdoorAirSystem.hpp | jasondegraw/OpenStudio | 2ab13f6e5e48940929041444e40ad9d36f80f552 | [
"blessing"
] | 1 | 2016-12-29T08:45:03.000Z | 2016-12-29T08:45:03.000Z | openstudiocore/src/model/AirLoopHVACOutdoorAirSystem.hpp | jasondegraw/OpenStudio | 2ab13f6e5e48940929041444e40ad9d36f80f552 | [
"blessing"
] | null | null | null | openstudiocore/src/model/AirLoopHVACOutdoorAirSystem.hpp | jasondegraw/OpenStudio | 2ab13f6e5e48940929041444e40ad9d36f80f552 | [
"blessing"
] | null | null | null | /**********************************************************************
* Copyright (c) 2008-2016, Alliance for Sustainable Energy.
* All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by t... | 36.582353 | 100 | 0.735166 | jasondegraw |
2deb4e95e8c74884d97ba274b498690c42019070 | 18,196 | cc | C++ | src/xenia/ui/windowed_app_context_android.cc | amessier/xenia | 6b45cf84472c26436d4a5db61a7b50dab301e398 | [
"BSD-3-Clause"
] | 1 | 2022-03-21T07:35:46.000Z | 2022-03-21T07:35:46.000Z | src/xenia/ui/windowed_app_context_android.cc | amessier/xenia | 6b45cf84472c26436d4a5db61a7b50dab301e398 | [
"BSD-3-Clause"
] | null | null | null | src/xenia/ui/windowed_app_context_android.cc | amessier/xenia | 6b45cf84472c26436d4a5db61a7b50dab301e398 | [
"BSD-3-Clause"
] | null | null | null | /**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2022 Ben Vanik. All rights reserved. ... | 35.469786 | 80 | 0.713673 | amessier |
2dedad29c413841e2cfa8e4592f1c5207d64efa4 | 422 | cpp | C++ | basic_datastructure/binary_heap/heapSort.cpp | weekieACpper/DataStructre-weekie | 9f15d95dd57c02d7d385b151940bbee4f3c2d99b | [
"MIT"
] | null | null | null | basic_datastructure/binary_heap/heapSort.cpp | weekieACpper/DataStructre-weekie | 9f15d95dd57c02d7d385b151940bbee4f3c2d99b | [
"MIT"
] | null | null | null | basic_datastructure/binary_heap/heapSort.cpp | weekieACpper/DataStructre-weekie | 9f15d95dd57c02d7d385b151940bbee4f3c2d99b | [
"MIT"
] | null | null | null | /*
* @Author: weekie
* @Date: 2022-03-04 21:02:16
* @LastEditTime: 2022-03-04 21:05:33
* @LastEditors: Please set LastEditors
* @Description: 实现堆排序
* @FilePath: /datastructure/basic_datastructre/binary_heap/heapSort.cpp
*/
#include<maxHeap.hpp>
//堆排序
void heapSort(int* array, int size)
{
maxHeap heap(array, ... | 23.444444 | 72 | 0.635071 | weekieACpper |
2dee1f0719d195dbbaf955c178593aa2e2fcc941 | 4,262 | cxx | C++ | pandatool/src/eggcharbase/eggJointPointer.cxx | kestred/panda3d | 16bfd3750f726a8831771b81649d18d087917fd5 | [
"PHP-3.01",
"PHP-3.0"
] | 3 | 2018-03-09T12:07:29.000Z | 2021-02-25T06:50:25.000Z | pandatool/src/eggcharbase/eggJointPointer.cxx | Sinkay/panda3d | 16bfd3750f726a8831771b81649d18d087917fd5 | [
"PHP-3.01",
"PHP-3.0"
] | null | null | null | pandatool/src/eggcharbase/eggJointPointer.cxx | Sinkay/panda3d | 16bfd3750f726a8831771b81649d18d087917fd5 | [
"PHP-3.01",
"PHP-3.0"
] | null | null | null | // Filename: eggJointPointer.cxx
// Created by: drose (26Feb01)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) Carnegie Mellon University. All rights reserved.
//
// All use of this software is subject to the terms of the revised BSD
// license. You s... | 38.053571 | 70 | 0.475129 | kestred |
2dee406bec450bd7527cd85e1ffbb731beda210d | 1,738 | cxx | C++ | src/Cxx/Visualization/CornerAnnotation.cxx | ajpmaclean/vtk-examples | 1a55fc8c6af67a3c07791807c7d1ec0ab97607a2 | [
"Apache-2.0"
] | 81 | 2020-08-10T01:44:30.000Z | 2022-03-23T06:46:36.000Z | src/Cxx/Visualization/CornerAnnotation.cxx | ajpmaclean/vtk-examples | 1a55fc8c6af67a3c07791807c7d1ec0ab97607a2 | [
"Apache-2.0"
] | 2 | 2020-09-12T17:33:52.000Z | 2021-04-15T17:33:09.000Z | src/Cxx/Visualization/CornerAnnotation.cxx | ajpmaclean/vtk-examples | 1a55fc8c6af67a3c07791807c7d1ec0ab97607a2 | [
"Apache-2.0"
] | 27 | 2020-08-17T07:09:30.000Z | 2022-02-15T03:44:58.000Z | #include <vtkActor.h>
#include <vtkCornerAnnotation.h>
#include <vtkNamedColors.h>
#include <vtkNew.h>
#include <vtkPolyDataMapper.h>
#include <vtkProperty.h>
#include <vtkRenderWindow.h>
#include <vtkRenderWindowInteractor.h>
#include <vtkRenderer.h>
#include <vtkSphereSource.h>
#include <vtkTextProperty.h>
int main(... | 30.491228 | 76 | 0.76985 | ajpmaclean |
2dee7b31ab8c7e91333b5fb86e1ce4d941b2bb5e | 323 | cpp | C++ | artifact/storm/src/storm/solver/stateelimination/StatePriorityQueue.cpp | glatteis/tacas21-artifact | 30b4f522bd3bdb4bebccbfae93f19851084a3db5 | [
"MIT"
] | null | null | null | artifact/storm/src/storm/solver/stateelimination/StatePriorityQueue.cpp | glatteis/tacas21-artifact | 30b4f522bd3bdb4bebccbfae93f19851084a3db5 | [
"MIT"
] | null | null | null | artifact/storm/src/storm/solver/stateelimination/StatePriorityQueue.cpp | glatteis/tacas21-artifact | 30b4f522bd3bdb4bebccbfae93f19851084a3db5 | [
"MIT"
] | 1 | 2022-02-05T12:39:53.000Z | 2022-02-05T12:39:53.000Z | #include "storm/solver/stateelimination/StatePriorityQueue.h"
namespace storm {
namespace solver {
namespace stateelimination {
void StatePriorityQueue::update(storm::storage::sparse::state_type) {
// Intentionally left empty.
}
}
}... | 23.071429 | 81 | 0.572755 | glatteis |
2def344c3e3fa1c905bc0f8f37b53328c24bae73 | 1,248 | hpp | C++ | Pods/Headers/Private/GeoFeatures/Internal/geofeatures/Geometry.hpp | xarvey/Yuuuuuge | 9f4ec32f81cf813ea630ba2c44eb03970c56dad3 | [
"Apache-2.0"
] | null | null | null | Pods/Headers/Private/GeoFeatures/Internal/geofeatures/Geometry.hpp | xarvey/Yuuuuuge | 9f4ec32f81cf813ea630ba2c44eb03970c56dad3 | [
"Apache-2.0"
] | null | null | null | Pods/Headers/Private/GeoFeatures/Internal/geofeatures/Geometry.hpp | xarvey/Yuuuuuge | 9f4ec32f81cf813ea630ba2c44eb03970c56dad3 | [
"Apache-2.0"
] | null | null | null | /**
* Geometry.hpp
*
* Copyright 2015 The Climate Corporation
* Copyright 2015 Tony Stone
*
* 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/LICE... | 24.96 | 90 | 0.671474 | xarvey |
2defd0758e952e32156596da699a0ad6aafae47e | 6,081 | cpp | C++ | media_driver/media_driver_next/agnostic/gen12/codec/hal/dec/av1/pipeline/decode_filmgrain_presubpipeline_g12.cpp | saosipov/media-driver | e280504bb3ccc429aa43f30aa76e0c990df6ccbf | [
"MIT",
"Intel",
"BSD-3-Clause"
] | null | null | null | media_driver/media_driver_next/agnostic/gen12/codec/hal/dec/av1/pipeline/decode_filmgrain_presubpipeline_g12.cpp | saosipov/media-driver | e280504bb3ccc429aa43f30aa76e0c990df6ccbf | [
"MIT",
"Intel",
"BSD-3-Clause"
] | null | null | null | media_driver/media_driver_next/agnostic/gen12/codec/hal/dec/av1/pipeline/decode_filmgrain_presubpipeline_g12.cpp | saosipov/media-driver | e280504bb3ccc429aa43f30aa76e0c990df6ccbf | [
"MIT",
"Intel",
"BSD-3-Clause"
] | null | null | null | /*
* 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, publis... | 37.537037 | 136 | 0.781286 | saosipov |
2df007d43bd64a839027f78c56d8a469f325895a | 3,828 | tpp | C++ | breeze/encoding/brz/base64_to_binary.tpp | gennaroprota/breeze | 7afe88a30dc8ac8b97a76a192dc9b189d9752e8b | [
"BSD-3-Clause"
] | 1 | 2021-04-03T22:35:52.000Z | 2021-04-03T22:35:52.000Z | breeze/encoding/brz/base64_to_binary.tpp | gennaroprota/breeze | f1dfd7154222ae358f5ece936c2897a3ae110003 | [
"BSD-3-Clause"
] | null | null | null | breeze/encoding/brz/base64_to_binary.tpp | gennaroprota/breeze | f1dfd7154222ae358f5ece936c2897a3ae110003 | [
"BSD-3-Clause"
] | 1 | 2021-10-01T04:26:48.000Z | 2021-10-01T04:26:48.000Z | // ===========================================================================
// Copyright 2016 Gennaro Prota
//
// Licensed under the 3-Clause BSD License.
// (See accompanying file 3_CLAUSE_BSD_LICENSE.txt or
// <https://opensource.org/licenses/BSD-3-C... | 42.065934 | 81 | 0.421369 | gennaroprota |
2df021c5be5a9a6256429e5fd634c66eb398cff0 | 3,066 | cpp | C++ | Tools/Src/SFToolLib/Content/Pipeline/SFMeshComponent.cpp | blue3k/StormForge | 1557e699a673ae9adcc8f987868139f601ec0887 | [
"Apache-2.0"
] | 1 | 2020-06-20T07:35:25.000Z | 2020-06-20T07:35:25.000Z | Tools/Src/SFToolLib/Content/Pipeline/SFMeshComponent.cpp | blue3k/StormForge | 1557e699a673ae9adcc8f987868139f601ec0887 | [
"Apache-2.0"
] | null | null | null | Tools/Src/SFToolLib/Content/Pipeline/SFMeshComponent.cpp | blue3k/StormForge | 1557e699a673ae9adcc8f987868139f601ec0887 | [
"Apache-2.0"
] | null | null | null |
#include "stdafx.h"
#include "UMMeshComponent.h"
#include "UMNodeContent.h"
#include "UMVertexBufferContent.h"
UMMeshComponent::UMMeshComponent( UMNodeContent& owner )
:UMNodeContentComponent(owner)
,m_pVertexBuffer(nullptr)
,m_pRootBone(nullptr)
{
if( m_pVertexBuffer == nullptr )
m_pVertexBuffer = new UMVerte... | 23.40458 | 112 | 0.71559 | blue3k |
2df060e10d97d059caf31b43077c11933f250b12 | 69 | cpp | C++ | src/main/Value.cpp | kkysen/SiliconScratchCpp | 0e3248403c4198fd4ba55ce72a259f5530454577 | [
"MIT"
] | null | null | null | src/main/Value.cpp | kkysen/SiliconScratchCpp | 0e3248403c4198fd4ba55ce72a259f5530454577 | [
"MIT"
] | null | null | null | src/main/Value.cpp | kkysen/SiliconScratchCpp | 0e3248403c4198fd4ba55ce72a259f5530454577 | [
"MIT"
] | null | null | null | //
// Created by Khyber on 8/3/2019.
//
#include "src/main/Value.h"
| 11.5 | 33 | 0.623188 | kkysen |
2df146cf61ed811b382b0b4998192b78caf66ffe | 18,370 | cpp | C++ | cpp/Tests/TestsSmurff.cpp | ExaScience/smurff | 29c3859badca49275833024cd77f8ca7fa6f76be | [
"MIT"
] | 65 | 2017-06-23T14:01:58.000Z | 2022-03-10T16:13:48.000Z | cpp/Tests/TestsSmurff.cpp | ExaScience/smurff | 29c3859badca49275833024cd77f8ca7fa6f76be | [
"MIT"
] | 143 | 2017-08-11T10:43:52.000Z | 2021-09-23T17:07:51.000Z | cpp/Tests/TestsSmurff.cpp | ExaScience/smurff | 29c3859badca49275833024cd77f8ca7fa6f76be | [
"MIT"
] | 14 | 2018-05-17T18:33:28.000Z | 2021-12-23T20:41:32.000Z | #include <cstdio>
#include <fstream>
#include <iomanip>
#include "catch.hpp"
#include <SmurffCpp/Types.h>
#include <SmurffCpp/Configs/Config.h>
#include <SmurffCpp/Sessions/TrainSession.h>
#include <SmurffCpp/Utils/MatrixUtils.h>
#include <SmurffCpp/Utils/StateFile.h>
#include <SmurffCpp/result.h>
#include "Tests.h... | 37.798354 | 126 | 0.728688 | ExaScience |
2df69628b3445d5ba6387fbbd0daa3a06e8d08f5 | 2,340 | cpp | C++ | files/source/objectmask.cpp | Luminyx1/NewerSMBU | 66c719b0afab0c5db5e26b8114d3fc02c15c7300 | [
"MIT"
] | null | null | null | files/source/objectmask.cpp | Luminyx1/NewerSMBU | 66c719b0afab0c5db5e26b8114d3fc02c15c7300 | [
"MIT"
] | null | null | null | files/source/objectmask.cpp | Luminyx1/NewerSMBU | 66c719b0afab0c5db5e26b8114d3fc02c15c7300 | [
"MIT"
] | null | null | null |
#include "game.h"
#include "neweru.h"
#include "groundmask.h"
//Replaces sprite 358
class ObjectMask : public StageActor {
public:
agl::TextureData texdata;
int onCreate();
int onExecute();
int onDraw();
void addMask(Vec3 *pos, float radius);
ObjectMask(ActorBuildInfo *);
static Actor *build(ActorBuildI... | 22.941176 | 93 | 0.676068 | Luminyx1 |
2df6d6a0e322a8ae519325c0b3c30265c4fd5428 | 715 | cpp | C++ | libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/not_less_than.fail.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 2,338 | 2018-06-19T17:34:51.000Z | 2022-03-31T11:00:37.000Z | libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/not_less_than.fail.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 3,740 | 2019-01-23T15:36:48.000Z | 2022-03-31T22:01:13.000Z | libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/not_less_than.fail.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 500 | 2019-01-23T07:49:22.000Z | 2022-03-30T02:59:37.000Z | //===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 24.655172 | 80 | 0.516084 | medismailben |
2dfb034ef23c7ede4e43dcbd4c84cc83f6de0e08 | 570 | cpp | C++ | C++/problem0070.cpp | 1050669722/LeetCode-Answers | c8f4d1ccaac09cda63b60d75144335347b06dc81 | [
"MIT"
] | null | null | null | C++/problem0070.cpp | 1050669722/LeetCode-Answers | c8f4d1ccaac09cda63b60d75144335347b06dc81 | [
"MIT"
] | null | null | null | C++/problem0070.cpp | 1050669722/LeetCode-Answers | c8f4d1ccaac09cda63b60d75144335347b06dc81 | [
"MIT"
] | null | null | null | //代码中使用的 \texttt{pow}pow 函数的时空复杂度与 CPU 支持的指令集相关;
class Solution {
public:
int climbStairs(int n) {
// if (n == 1)
// {
// return 1;
// }
// else if (n == 2)
// {
// return 2;
// }
// return climbStairs(n - 1) + climbStairs(n - 2);
... | 21.923077 | 58 | 0.366667 | 1050669722 |
2dff3f699f37bdea6bc7bc03df35961e1ad4d918 | 2,756 | cpp | C++ | 2A. C++ Advanced (STL)/Attic/doubly.cpp | alemesa1991/School-Projects | ed9170fa4cadfe18c6d9850a17077686ca16d1a1 | [
"MIT"
] | null | null | null | 2A. C++ Advanced (STL)/Attic/doubly.cpp | alemesa1991/School-Projects | ed9170fa4cadfe18c6d9850a17077686ca16d1a1 | [
"MIT"
] | null | null | null | 2A. C++ Advanced (STL)/Attic/doubly.cpp | alemesa1991/School-Projects | ed9170fa4cadfe18c6d9850a17077686ca16d1a1 | [
"MIT"
] | null | null | null | // Algorithms - Doubly Linked List
// doubly.cpp
#include <iostream>
using namespace std;
class Data {
int data;
public:
Data(int d = 0) : data(d) {}
int out() const {
return data;
}
};
struct Node {
Data data;
Node* next;
Node* previous;
Node (const Data& d, ... | 23.159664 | 78 | 0.412917 | alemesa1991 |
9301e5d243cf4f39b13265d1037851ae243d1e95 | 1,199 | hpp | C++ | source/Arguments.hpp | fstudio/Phoenix | 28a7c6a3932fd7d6fea12770d0aa1e20bc70db7d | [
"MIT"
] | 8 | 2015-01-23T05:41:46.000Z | 2019-11-20T05:10:27.000Z | source/Arguments.hpp | fstudio/Phoenix | 28a7c6a3932fd7d6fea12770d0aa1e20bc70db7d | [
"MIT"
] | null | null | null | source/Arguments.hpp | fstudio/Phoenix | 28a7c6a3932fd7d6fea12770d0aa1e20bc70db7d | [
"MIT"
] | 4 | 2015-05-05T05:15:43.000Z | 2020-03-07T11:10:56.000Z | /*********************************************************************************************************
* Arguments.hpp
* Note: Phoenix CommandLine Arguments
* Date: @2015.03
* E-mail:<forcemz@outlook.com>
* Copyright (C) 2015 The ForceStudio All Rights Reserved.
*****************************************************... | 26.644444 | 107 | 0.616347 | fstudio |
9301f55a1847c1cd83daeb4255a176415fd44397 | 738 | hpp | C++ | src/controllers/actions/npc_action_move.hpp | astrellon/simple-space | 20e98d4f562a78b1efeaedb0a0012f3c9306ac7e | [
"MIT"
] | 1 | 2020-09-23T11:17:35.000Z | 2020-09-23T11:17:35.000Z | src/controllers/actions/npc_action_move.hpp | astrellon/simple-space | 20e98d4f562a78b1efeaedb0a0012f3c9306ac7e | [
"MIT"
] | null | null | null | src/controllers/actions/npc_action_move.hpp | astrellon/simple-space | 20e98d4f562a78b1efeaedb0a0012f3c9306ac7e | [
"MIT"
] | null | null | null | #pragma once
#include <SFML/System.hpp>
#include "npc_action.hpp"
namespace space
{
class NpcActionMove : public NpcAction
{
public:
// Fields
// Constructor
NpcActionMove(NpcController *controller, sf::Vector2f destination);
// Methods
st... | 22.363636 | 79 | 0.554201 | astrellon |
9302276d6a893e28e8e5298ea61964b603b553e4 | 6,680 | cc | C++ | xmllite/xmlbuilder_unittest.cc | MIPS/external-chromium_org-third_party-libjingle-source-talk | 06a093c73d10bd918baa95312974108bf37b54b4 | [
"BSL-1.0",
"BSD-3-Clause"
] | 284 | 2015-01-05T08:31:00.000Z | 2022-03-25T06:12:55.000Z | xmllite/xmlbuilder_unittest.cc | MIPS/external-chromium_org-third_party-libjingle-source-talk | 06a093c73d10bd918baa95312974108bf37b54b4 | [
"BSL-1.0",
"BSD-3-Clause"
] | 1 | 2019-11-12T20:07:52.000Z | 2019-11-12T20:07:52.000Z | xmllite/xmlbuilder_unittest.cc | MIPS/external-chromium_org-third_party-libjingle-source-talk | 06a093c73d10bd918baa95312974108bf37b54b4 | [
"BSL-1.0",
"BSD-3-Clause"
] | 171 | 2015-01-06T06:56:02.000Z | 2022-01-24T03:56:37.000Z | /*
* libjingle
* Copyright 2004, Google Inc.
*
* 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 conditions and the f... | 34.25641 | 80 | 0.69012 | MIPS |
930321bc2357c214572a970bb2f9f8a715355734 | 17,090 | cpp | C++ | B2G/gecko/js/src/ion/x64/Trampoline-x64.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-08-31T15:24:31.000Z | 2020-04-24T20:31:29.000Z | B2G/gecko/js/src/ion/x64/Trampoline-x64.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | null | null | null | B2G/gecko/js/src/ion/x64/Trampoline-x64.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-07-29T07:17:15.000Z | 2020-11-04T06:55:37.000Z | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* vim: set ts=4 sw=4 et tw=99:
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#i... | 30.463458 | 91 | 0.625278 | wilebeast |
930822c3bd7b3c5b7d843281c62c2fcfad70ea0e | 5,950 | cpp | C++ | tests/filesource.cpp | therocode/rexource | 0de08b9cce20930b19ddcd6780e7e4a173e9782f | [
"MIT"
] | 5 | 2016-02-07T21:39:50.000Z | 2017-09-16T23:31:30.000Z | tests/filesource.cpp | therocode/rexource | 0de08b9cce20930b19ddcd6780e7e4a173e9782f | [
"MIT"
] | null | null | null | tests/filesource.cpp | therocode/rexource | 0de08b9cce20930b19ddcd6780e7e4a173e9782f | [
"MIT"
] | null | null | null | #include <catch.hpp>
#include "helpers/treefilesource.hpp"
SCENARIO("File sources set to a folder with a regex will find files recursively with the regex as a filter")
{
GIVEN("a file source which is set to read all files in a directory")
{
TreeFileSource treeSource("tests/data/trees", std::regex(".*")... | 35 | 145 | 0.529748 | therocode |
93083a3238bf41db9f725c8a83e96c8256dc68f9 | 2,036 | cpp | C++ | src/WindowManager.cpp | jamiesyme/MoxelEd | b8ad87587057a79ce0324fd5e3c1290a760adc7a | [
"Unlicense"
] | 1 | 2016-03-09T01:32:22.000Z | 2016-03-09T01:32:22.000Z | src/WindowManager.cpp | jamiesyme/MoxelEd | b8ad87587057a79ce0324fd5e3c1290a760adc7a | [
"Unlicense"
] | null | null | null | src/WindowManager.cpp | jamiesyme/MoxelEd | b8ad87587057a79ce0324fd5e3c1290a760adc7a | [
"Unlicense"
] | null | null | null | #include "WindowManager.hpp"
#include "Window.hpp"
#include "GlHelper.hpp"
#include "App.hpp"
#include <iostream>
WindowManager::WindowManager(App* app)
{
m_app = app;
m_mouseX = 0;
m_mouseY = 0;
m_nextWindowY = 0;
}
WindowManager::~WindowManager()
{
while (m_windows.size() != 0)
destroyWindow(m_windows[0]... | 16.826446 | 69 | 0.649312 | jamiesyme |
9308b2575e79755371a4ea80004e21d00a4acdde | 1,421 | cpp | C++ | src/main/cpp/logging/CSVUtil.cpp | frc3512/Robot-2020 | c6811155900ccffba93ea9ba131192dcb9fcb1bd | [
"BSD-3-Clause"
] | 10 | 2020-02-07T04:13:15.000Z | 2022-02-26T00:13:39.000Z | src/main/cpp/logging/CSVUtil.cpp | frc3512/Robot-2020 | c6811155900ccffba93ea9ba131192dcb9fcb1bd | [
"BSD-3-Clause"
] | 82 | 2020-02-12T03:05:15.000Z | 2022-02-18T02:14:38.000Z | src/main/cpp/logging/CSVUtil.cpp | frc3512/Robot-2020 | c6811155900ccffba93ea9ba131192dcb9fcb1bd | [
"BSD-3-Clause"
] | 5 | 2020-02-14T16:24:01.000Z | 2022-03-31T09:10:01.000Z | // Copyright (c) 2020-2021 FRC Team 3512. All Rights Reserved.
#include "logging/CSVUtil.hpp"
#include <algorithm>
#if __has_include(<filesystem>)
#include <filesystem>
#elif __has_include(<experimental/filesystem>)
#include <experimental/filesystem>
namespace std {
namespace filesystem = experimental::filesystem;
}... | 27.326923 | 79 | 0.599578 | frc3512 |
93097b0e546672fa8fa1ee5491a5fd642ca8e8d0 | 2,029 | cpp | C++ | Plain/src/Runtime/Rendering/Backend/VulkanCommandRecording.cpp | Gaukler/PlainRenderer | cf0f41a2300bee9f29a886230c061776cb29ba5e | [
"MIT"
] | 9 | 2021-04-09T14:07:45.000Z | 2022-03-06T07:51:14.000Z | Plain/src/Runtime/Rendering/Backend/VulkanCommandRecording.cpp | Gaukler/PlainRenderer | cf0f41a2300bee9f29a886230c061776cb29ba5e | [
"MIT"
] | 14 | 2021-04-10T11:06:06.000Z | 2021-05-07T14:20:34.000Z | Plain/src/Runtime/Rendering/Backend/VulkanCommandRecording.cpp | Gaukler/PlainRenderer | cf0f41a2300bee9f29a886230c061776cb29ba5e | [
"MIT"
] | null | null | null | #include "pch.h"
#include "VulkanCommandRecording.h"
#include "VulkanContext.h"
void resetCommandBuffer(const VkCommandBuffer buffer) {
auto res = vkResetCommandBuffer(buffer, 0);
checkVulkanResult(res);
}
void beginCommandBuffer(const VkCommandBuffer buffer, const VkCommandBufferUsageFlags usageFlags,
co... | 34.982759 | 100 | 0.765402 | Gaukler |
930ddd595a06b78fcd816253870aa15d61e90d82 | 974 | hpp | C++ | LEDTableApps/include/LEDTableApps/pong.hpp | michaelbarbera/LEDTableEngine | d7f5fd1e3030c0833086269a6c462954c0fe4d18 | [
"Apache-2.0"
] | 53 | 2018-03-12T12:39:53.000Z | 2021-08-21T02:41:10.000Z | LEDTableApps/include/LEDTableApps/pong.hpp | michaelbarbera/LEDTableEngine | d7f5fd1e3030c0833086269a6c462954c0fe4d18 | [
"Apache-2.0"
] | 29 | 2018-01-24T15:46:47.000Z | 2021-05-14T12:04:06.000Z | LEDTableApps/include/LEDTableApps/pong.hpp | michaelbarbera/LEDTableEngine | d7f5fd1e3030c0833086269a6c462954c0fe4d18 | [
"Apache-2.0"
] | 5 | 2018-05-03T20:03:36.000Z | 2020-01-18T02:35:51.000Z | #ifndef _H_PONG_APP_
#define _H_PONG_APP_
#include <LEDTableEngine/core/baseApplication.hpp>
namespace ledApps{
class Pong : public led::BaseApplication {
protected:
std::default_random_engine m_generator;
std::uniform_real_distribution<float> m_randFloat;
led::Pointf m_ballSpeed;
led::Pointf m_ball... | 20.723404 | 64 | 0.687885 | michaelbarbera |
931678f6c087b46d2355d1510252fd43c6bb1929 | 652 | hpp | C++ | src/engine/engine.hpp | MoriokaReimen/randballs | 9566558524407ebce401afc6ef62b54b2057f86a | [
"MIT"
] | 29 | 2018-05-17T14:08:16.000Z | 2021-12-01T08:15:03.000Z | src/engine/engine.hpp | MoriokaReimen/randballs | 9566558524407ebce401afc6ef62b54b2057f86a | [
"MIT"
] | 4 | 2018-09-04T13:46:19.000Z | 2020-05-15T16:05:35.000Z | src/engine/engine.hpp | MoriokaReimen/randballs | 9566558524407ebce401afc6ef62b54b2057f86a | [
"MIT"
] | 2 | 2020-03-30T05:19:37.000Z | 2020-04-24T03:02:25.000Z | #pragma once
#include <SFML/Graphics/RenderWindow.hpp>
#include <SFML/Window/Event.hpp>
#include "graphics/scenemanager.hpp"
#include "graphics/texturemanager.hpp"
#define UPDATES_PER_SEC 60
#define TIMESTEP_N 1000000000 / UPDATES_PER_SEC
#define TIMESTEP_S 1.f / UPDATES_PER_SEC
class Engine
{
bool isRunning = true... | 21.032258 | 66 | 0.760736 | MoriokaReimen |
931917a5ab54b49f9aae674635f95cef057eb835 | 1,493 | hpp | C++ | unlabeled_mapf/include/ten.hpp | Kei18/tswap | 4f1fb59579c88de122d04a3760dbdda8aa82ba34 | [
"MIT"
] | 2 | 2022-02-13T23:31:31.000Z | 2022-02-14T05:34:38.000Z | unlabeled_mapf/include/ten.hpp | AlbaIntelligence/unlabeled-MAPF | db60f8aa4a12dfee1d0736037372a6d3a93813ce | [
"MIT"
] | null | null | null | unlabeled_mapf/include/ten.hpp | AlbaIntelligence/unlabeled-MAPF | db60f8aa4a12dfee1d0736037372a6d3a93813ce | [
"MIT"
] | 1 | 2022-03-18T00:07:47.000Z | 2022-03-18T00:07:47.000Z | /*
* Time Expanded Network, TEN
*/
#pragma once
#include "lib_ten.hpp"
#include "plan.hpp"
#include "problem.hpp"
class TEN
{
protected:
Problem* const P; // original problem
const Nodes V; // all nodes in G
LibTEN::ResidualNetwork network; // main body
bool valid_network; //
Plan sol... | 23.698413 | 73 | 0.679169 | Kei18 |
931abc44c5f2568db7c0429acbc3f5bfed311d12 | 233 | cpp | C++ | C++:C#/POOL/main.cpp | bryarcole/The-Portfolio | 62c2573ce4f007dccf5be1d67daf97286d6b4a5e | [
"MIT"
] | null | null | null | C++:C#/POOL/main.cpp | bryarcole/The-Portfolio | 62c2573ce4f007dccf5be1d67daf97286d6b4a5e | [
"MIT"
] | null | null | null | C++:C#/POOL/main.cpp | bryarcole/The-Portfolio | 62c2573ce4f007dccf5be1d67daf97286d6b4a5e | [
"MIT"
] | null | null | null | #include <iostream>
#include "POOLBALL.h"
using namespace std;
int main() {
POOLBALL ball;
cout << "Testing the poolball class" << endl;
cout << "WE have a new ball radius " << ball.getRadius() << endl;
return 0;
} | 19.416667 | 69 | 0.626609 | bryarcole |
793504b5c55a608afef0a8e37739499df9413acd | 7,450 | cc | C++ | aos/network/sctp_lib.cc | Ewpratten/frc_971_mirror | 3a8a0c4359f284d29547962c2b4c43d290d8065c | [
"BSD-2-Clause"
] | null | null | null | aos/network/sctp_lib.cc | Ewpratten/frc_971_mirror | 3a8a0c4359f284d29547962c2b4c43d290d8065c | [
"BSD-2-Clause"
] | null | null | null | aos/network/sctp_lib.cc | Ewpratten/frc_971_mirror | 3a8a0c4359f284d29547962c2b4c43d290d8065c | [
"BSD-2-Clause"
] | null | null | null | #include "aos/network/sctp_lib.h"
#include <arpa/inet.h>
#include <net/if.h>
#include <netdb.h>
#include <netinet/sctp.h>
#include <string_view>
DEFINE_string(interface, "", "ipv6 interface");
namespace aos {
namespace message_bridge {
namespace {
const char *sac_state_tbl[] = {"COMMUNICATION_UP", "COMMUNICATION_L... | 32.391304 | 80 | 0.637315 | Ewpratten |