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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a64cee53e93156b719b0934fe6adc5f7f61d44e3 | 560 | cpp | C++ | src/libs/base/hal/hal.cpp | redox-mobile/bare-metal-bbb | 02313e7ee661e2c04ecddb6c9a4cbc6e2256d8c4 | [
"MIT"
] | null | null | null | src/libs/base/hal/hal.cpp | redox-mobile/bare-metal-bbb | 02313e7ee661e2c04ecddb6c9a4cbc6e2256d8c4 | [
"MIT"
] | null | null | null | src/libs/base/hal/hal.cpp | redox-mobile/bare-metal-bbb | 02313e7ee661e2c04ecddb6c9a4cbc6e2256d8c4 | [
"MIT"
] | null | null | null | #include "hal.h"
// StarterWare includes
#include <beaglebone.h>
#include <cache.h>
#include <cp15.h>
#include <interrupt.h>
#include <soc_AM335x.h>
#include <watchdog.h>
namespace HAL {
void init() {
// Invalidate all cache
CacheInstInvalidateAll();
CacheDataCleanInvalidateAll();
// Disable MMU
... | 18.064516 | 41 | 0.701786 | redox-mobile |
a64da91d60ec5419c7f28ad707c7f672662a7497 | 3,425 | cc | C++ | examples/http/http-context.cc | yaomer/angel | 48455b9b6645bc19833794174502cbf4d28364f5 | [
"BSD-2-Clause"
] | null | null | null | examples/http/http-context.cc | yaomer/angel | 48455b9b6645bc19833794174502cbf4d28364f5 | [
"BSD-2-Clause"
] | null | null | null | examples/http/http-context.cc | yaomer/angel | 48455b9b6645bc19833794174502cbf4d28364f5 | [
"BSD-2-Clause"
] | 1 | 2021-05-17T08:53:20.000Z | 2021-05-17T08:53:20.000Z | #include <iostream>
#include <unistd.h>
#include <fcntl.h>
#include "http-context.h"
// [method url version\r\n]
void http_context::parse_line(const char *p, const char *ep)
{
const char *next = std::find(p, ep, ' ');
request.method.assign(p, next);
p = next + 1;
next = std::find(p, ep, '?');
if (... | 26.145038 | 71 | 0.541314 | yaomer |
a64e4e58e3c4aea7b624cc23c44afa60a31e640f | 27,016 | cpp | C++ | 3rdParty/ArNetworking/src/ArServerMode.cpp | bellonemauro/myARIAtestApp | 8223b5833ccf37cf9f503337858a46544d36a19c | [
"Linux-OpenIB"
] | null | null | null | 3rdParty/ArNetworking/src/ArServerMode.cpp | bellonemauro/myARIAtestApp | 8223b5833ccf37cf9f503337858a46544d36a19c | [
"Linux-OpenIB"
] | null | null | null | 3rdParty/ArNetworking/src/ArServerMode.cpp | bellonemauro/myARIAtestApp | 8223b5833ccf37cf9f503337858a46544d36a19c | [
"Linux-OpenIB"
] | null | null | null | /*
Adept MobileRobots Robotics Interface for Applications (ARIA)
Copyright (C) 2004-2005 ActivMedia Robotics LLC
Copyright (C) 2006-2010 MobileRobots Inc.
Copyright (C) 2011-2015 Adept Technology, Inc.
Copyright (C) 2016 Omron Adept Technologies, Inc.
This program is free software; you can redistribute it and/or ... | 33.60199 | 215 | 0.703509 | bellonemauro |
a64f3d94c757dc0a9196f3d470da91b9245cf32a | 1,930 | cpp | C++ | src/fdsf/src/TrapzJm2Half.cpp | semenak94/OpenFFD | 60ceedc803acb56f63b7da166233e1d0c64037ac | [
"MIT"
] | null | null | null | src/fdsf/src/TrapzJm2Half.cpp | semenak94/OpenFFD | 60ceedc803acb56f63b7da166233e1d0c64037ac | [
"MIT"
] | 23 | 2017-10-24T22:12:01.000Z | 2018-01-24T00:11:34.000Z | src/fdsf/src/TrapzJm2Half.cpp | semenak94/OpenFFD | 60ceedc803acb56f63b7da166233e1d0c64037ac | [
"MIT"
] | null | null | null | #include "TrapzJm2Half.h"
#include "Logger.h"
TrapzJm2Half::TrapzJm2Half(fdsf::SubIntegralFunc func)
: Trapz(func) {}
/* Прямая реализация метода трапеций (формула (?) в препринте 2)*/
double TrapzJm2Half::firstGrid(BmpReal initialGrid, const fdsf::Params& params) {
// Верхняя граница, пока непонятно, какая... | 31.129032 | 110 | 0.543523 | semenak94 |
a65064ba2af2dfad7a999f0b668e62c988838081 | 1,007 | cpp | C++ | 24LexPerm/Main.cpp | rohit-vighne/ProjectEuler | 53dc985cc60a30f92fa1b1402fe0f5b99dc0b51b | [
"MIT"
] | null | null | null | 24LexPerm/Main.cpp | rohit-vighne/ProjectEuler | 53dc985cc60a30f92fa1b1402fe0f5b99dc0b51b | [
"MIT"
] | null | null | null | 24LexPerm/Main.cpp | rohit-vighne/ProjectEuler | 53dc985cc60a30f92fa1b1402fe0f5b99dc0b51b | [
"MIT"
] | null | null | null | #include <iostream>
#include <utility>
// Changes seq in-place to be the next lexicographical permutation
// Returns true if there may be more (higher) permutations, and false otherwise
template <typename T>
bool nextPermutation(T* seq, int size)
{
// Find pivot point
int i;
for (i = size - 2; i >= 0; --i)
if (se... | 19.745098 | 79 | 0.600794 | rohit-vighne |
a6519b4c11da5d901a6180668d61ef0233160a31 | 3,901 | cpp | C++ | Brew.js/Source/bjs/node/fs/FileSystem.cpp | BrewJS/HAC.js | 998f82cbfe5ed245825b0ad8252f09691788dc6c | [
"MIT"
] | 103 | 2018-07-10T10:51:36.000Z | 2022-03-24T15:55:35.000Z | Brew.js/Source/bjs/node/fs/FileSystem.cpp | BrewJS/HAC.js | 998f82cbfe5ed245825b0ad8252f09691788dc6c | [
"MIT"
] | 5 | 2018-07-10T10:55:24.000Z | 2019-04-12T13:04:46.000Z | Brew.js/Source/bjs/node/fs/FileSystem.cpp | BrewJS/HAC.js | 998f82cbfe5ed245825b0ad8252f09691788dc6c | [
"MIT"
] | 15 | 2018-07-10T10:16:25.000Z | 2022-03-31T12:50:12.000Z | #include <bjs/node/fs/FileSystem.hpp>
#include <fstream>
#include <sys/stat.h>
#include <cstdio>
#include <dirent.h>
#include <unistd.h>
#include <cstdlib>
namespace bjs::node::fs
{
js::Function readFile(js::NativeContext Context)
{
js::FunctionHandler handler(Context);
std::string data;
... | 28.896296 | 104 | 0.516791 | BrewJS |
a65796499737cd01c0538008a6238cb83b1065c6 | 4,405 | cpp | C++ | examples/consumer.cpp | gmrvvis/ManCo | a1f834981fc4d5e5ec7bf74f96d7c8b8cc1b69a7 | [
"MIT"
] | null | null | null | examples/consumer.cpp | gmrvvis/ManCo | a1f834981fc4d5e5ec7bf74f96d7c8b8cc1b69a7 | [
"MIT"
] | null | null | null | examples/consumer.cpp | gmrvvis/ManCo | a1f834981fc4d5e5ec7bf74f96d7c8b8cc1b69a7 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2017-2019 GMRV/URJC.
*
* Authors: Cristian Rodriguez Bernal <cristian.rodriguez@urjc.es>
* Gonzalo Bayo Martinez <gonzalo.bayo@urjc.es>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of his software and associated documentation files (the "Softwar... | 32.873134 | 80 | 0.655392 | gmrvvis |
a65cc30b9efce5d94fee0a162d582dfe33f06b92 | 1,210 | cpp | C++ | Before Summer 2017/SummerTrain Archieve/Source.cpp | mohamedGamalAbuGalala/Practice | 2a5fa3bdaf995d0c304f04231e1a69e6960f72c8 | [
"MIT"
] | 1 | 2019-12-19T06:51:20.000Z | 2019-12-19T06:51:20.000Z | Before Summer 2017/SummerTrain Archieve/Source.cpp | mohamedGamalAbuGalala/Practice | 2a5fa3bdaf995d0c304f04231e1a69e6960f72c8 | [
"MIT"
] | null | null | null | Before Summer 2017/SummerTrain Archieve/Source.cpp | mohamedGamalAbuGalala/Practice | 2a5fa3bdaf995d0c304f04231e1a69e6960f72c8 | [
"MIT"
] | null | null | null |
#include "stdafx.h"
//// 6.Sort Sort And Sort.cpp : Defines the entry point for the console application.
////
//
//#include "stdafx.h"
//#include <iostream>
//#include <algorithm>
//
//using namespace std;
//
//struct input {
// int num;
// int mod;
//} a [10001];
//
//int n;
//int m;
//
//bool odd (int x)
//{
// if (... | 17.042254 | 84 | 0.44876 | mohamedGamalAbuGalala |
a663f4e13a3cc6c430c91dbe85d2011196d0ff87 | 11,270 | cpp | C++ | irohad/consensus/yac/impl/yac.cpp | steephengeorge/iroha | 9e0e19035308c6ebaf706f709c5b7b3ac46e708b | [
"Apache-2.0"
] | null | null | null | irohad/consensus/yac/impl/yac.cpp | steephengeorge/iroha | 9e0e19035308c6ebaf706f709c5b7b3ac46e708b | [
"Apache-2.0"
] | null | null | null | irohad/consensus/yac/impl/yac.cpp | steephengeorge/iroha | 9e0e19035308c6ebaf706f709c5b7b3ac46e708b | [
"Apache-2.0"
] | null | null | null | /**
* Copyright Soramitsu Co., Ltd. 2017 All Rights Reserved.
* http://soramitsu.co.jp
*
* 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/LICENS... | 37.317881 | 80 | 0.531233 | steephengeorge |
a668ea96f39530aeec17bebc982934cc26f10553 | 2,142 | cpp | C++ | MonoNative.Tests/mscorlib/System/Security/Policy/mscorlib_System_Security_Policy_Zone_Fixture.cpp | brunolauze/MonoNative | 959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66 | [
"BSD-2-Clause"
] | 7 | 2015-03-10T03:36:16.000Z | 2021-11-05T01:16:58.000Z | MonoNative.Tests/mscorlib/System/Security/Policy/mscorlib_System_Security_Policy_Zone_Fixture.cpp | brunolauze/MonoNative | 959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66 | [
"BSD-2-Clause"
] | 1 | 2020-06-23T10:02:33.000Z | 2020-06-24T02:05:47.000Z | MonoNative.Tests/mscorlib/System/Security/Policy/mscorlib_System_Security_Policy_Zone_Fixture.cpp | brunolauze/MonoNative | 959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66 | [
"BSD-2-Clause"
] | null | null | null | // Mono Native Fixture
// Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// Namespace: System.Security.Policy
// Name: Zone
// C++ Typed Name: mscorlib::System::Security::Policy::Zone
#include <gtest/gtest.h>
#include <mscorlib/System/Security/Policy/mscorlib_System_Security_Pol... | 20.796117 | 88 | 0.684407 | brunolauze |
a66db1f3396b2fa95f0328e3e004407e493c6659 | 1,151 | hpp | C++ | include/Kigen/world/physics/shape/Polygon.hpp | MrFiskerton/Kigen | fa39b651e098c827279531c2b78252cadedab77e | [
"MIT"
] | 1 | 2020-06-19T13:41:41.000Z | 2020-06-19T13:41:41.000Z | include/Kigen/world/physics/shape/Polygon.hpp | MrFiskerton/Kigen | fa39b651e098c827279531c2b78252cadedab77e | [
"MIT"
] | null | null | null | include/Kigen/world/physics/shape/Polygon.hpp | MrFiskerton/Kigen | fa39b651e098c827279531c2b78252cadedab77e | [
"MIT"
] | null | null | null | //
// Created by Roman Fiskov (roman.fiskov@gmail.com) [Mr.Fiskerton] on 06.06.2020.
//
#ifndef YOSAI_POLYGON_HPP
#define YOSAI_POLYGON_HPP
#include <Kigen/world/physics/shape/ConvexHull.hpp>
#include <SFML/Graphics/VertexArray.hpp>
#include <utility>
#include "Shape.hpp"
namespace kigen {
class Manifold;
cl... | 29.512821 | 84 | 0.67854 | MrFiskerton |
a66e547887a4c93827c7adcc1b9c7bcd2abfee07 | 1,871 | hpp | C++ | pubsub/include/marlin/pubsub/PubSubTransportSet.hpp | WhiteWalker608/ActionsTest | 41e3c3cf6d5a2094d90fd4c004ad0cd3856d42cd | [
"MIT"
] | 60 | 2020-07-01T17:37:34.000Z | 2022-02-16T03:56:55.000Z | pubsub/include/marlin/pubsub/PubSubTransportSet.hpp | marlinpro/openweaver | 0aca30fbda3121a8e507f48a52b718b5664a5bbc | [
"MIT"
] | 5 | 2020-10-12T05:17:49.000Z | 2021-05-25T15:47:01.000Z | pubsub/include/marlin/pubsub/PubSubTransportSet.hpp | marlinpro/openweaver | 0aca30fbda3121a8e507f48a52b718b5664a5bbc | [
"MIT"
] | 18 | 2020-07-01T17:43:18.000Z | 2022-01-09T14:29:08.000Z | #ifndef MARLIN_PUBSUB_PUBSUBTRANSPORTSET_HPP
#define MARLIN_PUBSUB_PUBSUBTRANSPORTSET_HPP
namespace marlin {
namespace pubsub {
template<typename BaseTransport>
class PubSubTransportSet : public std::unordered_set<BaseTransport*> {
public:
BaseTransport* find_random_rtt_transport();
BaseTransport* find_min_rtt_tran... | 23.987179 | 81 | 0.755746 | WhiteWalker608 |
a671b16bae5f53a9e07e5abb4619697d7b8a49a3 | 29,003 | cpp | C++ | src/SBWindow.cpp | Perelandra0x309/simplebackup | 7f2ad13724ffce3aac3c97c58bb892343a5200a2 | [
"BSD-3-Clause"
] | null | null | null | src/SBWindow.cpp | Perelandra0x309/simplebackup | 7f2ad13724ffce3aac3c97c58bb892343a5200a2 | [
"BSD-3-Clause"
] | null | null | null | src/SBWindow.cpp | Perelandra0x309/simplebackup | 7f2ad13724ffce3aac3c97c58bb892343a5200a2 | [
"BSD-3-Clause"
] | null | null | null | #include "SBWindow.h"
uchar tuBits[] = { 0x1b, 0x1b, 0x1b, 0x1b, 0x12, 0x12, 0x12, 0x3f, 0x1b, 0x1b, 0x1b, 0x1b,
0x1b, 0x1b, 0xb, 0xb, 0xb, 0xb, 0xb, 0xb, 0xb, 0xb, 0x1b, 0x1b,
0x1b, 0xb, 0x3f, 0x1e, 0x1e, 0x1e, 0x1e, 0x1e, 0x1e, 0x1e, 0xb, 0x1b,
0x1b, 0xb, 0x1e, 0x1b, 0x1b, 0x1b, 0x1b, 0x1b, 0x1b, 0x1... | 40.059392 | 136 | 0.680826 | Perelandra0x309 |
a676afc9e6d6f81f4a19cd380e24046bfe8b306a | 4,576 | hpp | C++ | src/wireformat.hpp | sischkg/huge_axfr | b7fccdf0034a6a0d33367f0a756633066c79d06c | [
"MIT"
] | 5 | 2020-05-22T10:01:51.000Z | 2022-01-01T04:45:14.000Z | src/wireformat.hpp | sischkg/huge_axfr | b7fccdf0034a6a0d33367f0a756633066c79d06c | [
"MIT"
] | 1 | 2020-06-07T14:09:44.000Z | 2020-06-07T14:09:44.000Z | src/wireformat.hpp | sischkg/huge_axfr | b7fccdf0034a6a0d33367f0a756633066c79d06c | [
"MIT"
] | 2 | 2020-03-10T03:06:20.000Z | 2021-07-25T15:07:45.000Z | #ifndef WIREFORMAT_HPP
#define WIREFORMAT_HPP
#include <arpa/inet.h>
#include <boost/cstdint.hpp>
#include <iostream>
#include <stdexcept>
#include <vector>
#ifndef _BSD_SOURCE
#define _BSD_SOURCE
#endif
#include "utils.hpp"
#include <endian.h>
#include <sys/socket.h>
#include <sys/types.h>
class WireFormat
{
private... | 24.869565 | 94 | 0.545673 | sischkg |
a680d26b872a315664aa399e91cd43cbf35cb783 | 675 | cpp | C++ | obj-x86_64-linux-gnu/src/server/implementation/generated-cpp/Module.cpp | ProvMichaelcao/pulsemodule | 9a543ccab6af0e620b5d1d0bc060f375581fcb02 | [
"Apache-2.0"
] | null | null | null | obj-x86_64-linux-gnu/src/server/implementation/generated-cpp/Module.cpp | ProvMichaelcao/pulsemodule | 9a543ccab6af0e620b5d1d0bc060f375581fcb02 | [
"Apache-2.0"
] | null | null | null | obj-x86_64-linux-gnu/src/server/implementation/generated-cpp/Module.cpp | ProvMichaelcao/pulsemodule | 9a543ccab6af0e620b5d1d0bc060f375581fcb02 | [
"Apache-2.0"
] | null | null | null | /* Autogenerated with kurento-module-creator */
#include "FactoryRegistrar.hpp"
#include <OpencvPluginSampleImplFactory.hpp>
#include <OpencvPluginSample.hpp>
extern "C" {
const kurento::FactoryRegistrar *getFactoryRegistrar ();
}
const kurento::FactoryRegistrar *
getFactoryRegistrar ()
{
static bool loaded =... | 23.275862 | 149 | 0.743704 | ProvMichaelcao |
a681a922070fce323d98ec221b4d6a1dc0a1a188 | 7,173 | cpp | C++ | TextureRepackCli/src/LuaWrapper/LHelperBindings.cpp | Ohjurot/TextureRepack | b5cc527f4c5d4145bbadc3d9aefcf797981d67dd | [
"MIT"
] | 2 | 2021-06-16T21:53:13.000Z | 2021-11-11T16:41:05.000Z | TextureRepackCli/src/LuaWrapper/LHelperBindings.cpp | Ohjurot/TextureRepack | b5cc527f4c5d4145bbadc3d9aefcf797981d67dd | [
"MIT"
] | null | null | null | TextureRepackCli/src/LuaWrapper/LHelperBindings.cpp | Ohjurot/TextureRepack | b5cc527f4c5d4145bbadc3d9aefcf797981d67dd | [
"MIT"
] | null | null | null | #include "LHelperBindings.h"
// Static instance
int TexRPCli::Lua::HelperBindings::luaReturnCode = 0;
TexRPCli::CommandLineArgs* TexRPCli::Lua::HelperBindings::ptrCmdArgs = nullptr;
void TexRPCli::Lua::HelperBindings::bind(lua_State* ptrState, CommandLineArgs* ptrCmdLineArgs, const char* libVersion, const char* cliVe... | 29.8875 | 144 | 0.738882 | Ohjurot |
a68453a3af7abb02c2e74ef1d2c56d2f96a1e2ba | 11,715 | cpp | C++ | renderobjects/GlEsUmbralEffect.cpp | Zackmon/SeventhUmbral | 25580111b361d2fdc2c15fd2cd150e4c763ca774 | [
"BSD-2-Clause"
] | 92 | 2015-01-30T01:57:18.000Z | 2022-02-14T00:05:30.000Z | renderobjects/GlEsUmbralEffect.cpp | Zackmon/SeventhUmbral | 25580111b361d2fdc2c15fd2cd150e4c763ca774 | [
"BSD-2-Clause"
] | 6 | 2015-08-18T19:57:17.000Z | 2022-01-31T14:48:33.000Z | renderobjects/GlEsUmbralEffect.cpp | Zackmon/SeventhUmbral | 25580111b361d2fdc2c15fd2cd150e4c763ca774 | [
"BSD-2-Clause"
] | 44 | 2015-01-03T13:01:21.000Z | 2022-01-31T14:24:40.000Z | #include "GlEsUmbralEffect.h"
#include "GlEsUmbralEffectGenerator.h"
#include "UmbralEffect.h"
CGlEsUmbralEffect::CGlEsUmbralEffect(const CD3DShader& vertexShader, const CD3DShader& pixelShader)
: m_vertexShader(vertexShader)
, m_pixelShader(pixelShader)
{
auto vertexShaderText = CGlEsUmbralEffectGenerator::GenerateV... | 39.577703 | 150 | 0.761758 | Zackmon |
a68b565b507afbb54e14945f1b97f897d9681443 | 600 | cpp | C++ | yabr6_tool/Tool.cpp | Draradech/yabr6 | 7364f759dc964661c3ed688aba59c0e05670f823 | [
"MIT"
] | 4 | 2019-05-31T18:21:59.000Z | 2021-07-27T20:17:25.000Z | strandbeest_tool/Tool.cpp | Draradech/strandbeest | 1a4556d7e5e689efcf81ba244e99b490d8114e37 | [
"MIT"
] | null | null | null | strandbeest_tool/Tool.cpp | Draradech/strandbeest | 1a4556d7e5e689efcf81ba244e99b490d8114e37 | [
"MIT"
] | 1 | 2021-07-27T20:17:26.000Z | 2021-07-27T20:17:26.000Z | #include "Tool.h"
#include "Canvas.h"
#include "Ui.h"
#include "ChannelHandler.h"
CTool::CTool(char* ip)
{
m_pCanvas = new CCanvas(this);
m_pUi = new CUi(this, ip);
m_pChannelHandler = new CChannelHandler(this);
m_iRemoteTime = 0;
}
CTool::~CTool(void)
{
delete m_pChannelHandler;
delete m_pUi;
delete m_pCanv... | 13.043478 | 47 | 0.71 | Draradech |
a690ad28797b85e1fcec446b5ffea99f1a3f51f7 | 5,161 | cxx | C++ | 3rdparty.old/libcvd/cvd_src/colourspace_convert.cxx | BeLioN-github/PTAM | 436ebc2d78ace26644f296cd2d3ddd185bb0370e | [
"Intel",
"X11"
] | 14 | 2015-01-19T15:36:37.000Z | 2016-09-17T15:19:05.000Z | 3rdparty.old/libcvd/cvd_src/colourspace_convert.cxx | Pandinosaurus/PTAM-opencv | 1281564b9737dcc29ccacfbf7dc88a85916f7cc6 | [
"Intel",
"X11"
] | 2 | 2015-03-20T01:04:53.000Z | 2015-07-27T07:01:38.000Z | 3rdparty.old/libcvd/cvd_src/colourspace_convert.cxx | Pandinosaurus/PTAM-opencv | 1281564b9737dcc29ccacfbf7dc88a85916f7cc6 | [
"Intel",
"X11"
] | 14 | 2015-04-29T19:27:49.000Z | 2016-12-07T06:10:20.000Z | /*
This file is part of the CVD Library.
Copyright (C) 2005 The Authors
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 the Free Software Foundation; either
version 2.1 of th... | 40.007752 | 141 | 0.69657 | BeLioN-github |
a692645db0ada8f9dfa9f6074cf8e1e7ec39180d | 572 | cpp | C++ | src/Components/Render.cpp | MHSHM/2D-Platformer | 51c43569ca1fb19bf84957aa742adb1f501127ee | [
"MIT"
] | 1 | 2022-03-21T19:39:35.000Z | 2022-03-21T19:39:35.000Z | src/Components/Render.cpp | MHSHM/2D-Platformer | 51c43569ca1fb19bf84957aa742adb1f501127ee | [
"MIT"
] | null | null | null | src/Components/Render.cpp | MHSHM/2D-Platformer | 51c43569ca1fb19bf84957aa742adb1f501127ee | [
"MIT"
] | null | null | null | #include <Render.h>
#include <iostream>
#include <Texture.h>
#include <Game.h>
#include <Scene.h>
Render::Render(Actor* _owner) :
Component(_owner),
texture(nullptr)
{
quad.Init();
}
void Render::Update(float deltatime)
{
}
void Render::Clear()
{
Animation* animation = owner->Get_Component<Animation>();
// if ... | 17.333333 | 83 | 0.695804 | MHSHM |
a692cdc0d1ba2edb598cda5a873dbdca919a93dd | 962 | cpp | C++ | Atomic/AtQuoteStr.cpp | denisbider/Atomic | 8e8e979a6ef24d217a77f17fa81a4129f3506952 | [
"MIT"
] | 4 | 2019-11-10T21:56:40.000Z | 2021-12-11T20:10:55.000Z | Atomic/AtQuoteStr.cpp | denisbider/Atomic | 8e8e979a6ef24d217a77f17fa81a4129f3506952 | [
"MIT"
] | null | null | null | Atomic/AtQuoteStr.cpp | denisbider/Atomic | 8e8e979a6ef24d217a77f17fa81a4129f3506952 | [
"MIT"
] | 1 | 2019-11-11T08:38:59.000Z | 2019-11-11T08:38:59.000Z | #include "AtIncludes.h"
#include "AtQuoteStr.h"
namespace At
{
Str QuoteStr(Seq s)
{
Str r;
r.Ch('"');
while (true)
{
Seq chunk = s.ReadToFirstByteOf("\\\"\r\n");
r.Add(chunk);
uint c { s.ReadByte() };
if (c == UINT_MAX)
break;
r.Ch('\\');
switch (c)
{
... | 14.358209 | 48 | 0.443867 | denisbider |
a695d91167c36fd2102975935410d5f3098b5fe4 | 2,423 | cpp | C++ | d912pxy/d912pxy_instance.cpp | MTVirux/d912pxy | 27e6b398a80b1638e7574547feb89d182c5f1f1c | [
"MIT"
] | null | null | null | d912pxy/d912pxy_instance.cpp | MTVirux/d912pxy | 27e6b398a80b1638e7574547feb89d182c5f1f1c | [
"MIT"
] | null | null | null | d912pxy/d912pxy_instance.cpp | MTVirux/d912pxy | 27e6b398a80b1638e7574547feb89d182c5f1f1c | [
"MIT"
] | null | null | null | /*
MIT License
Copyright(c) 2018-2019 megai2
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files(the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | 29.54878 | 99 | 0.775072 | MTVirux |
a698128c83b49a6c37760ef37b06f5d9a5c392a4 | 1,242 | hpp | C++ | src/layers/parameter_layer.hpp | ktts16/mini-caffe | 58a5007d7921c69c9c3105b20b92b2136af26a4e | [
"BSD-3-Clause"
] | 413 | 2015-07-09T09:33:07.000Z | 2022-03-10T02:26:27.000Z | src/layers/parameter_layer.hpp | ktts16/mini-caffe | 58a5007d7921c69c9c3105b20b92b2136af26a4e | [
"BSD-3-Clause"
] | 65 | 2015-07-10T01:38:10.000Z | 2020-08-06T07:27:42.000Z | src/layers/parameter_layer.hpp | ktts16/mini-caffe | 58a5007d7921c69c9c3105b20b92b2136af26a4e | [
"BSD-3-Clause"
] | 196 | 2015-08-18T07:59:33.000Z | 2021-07-27T02:44:21.000Z | #ifndef CAFFE_PARAMETER_LAYER_HPP_
#define CAFFE_PARAMETER_LAYER_HPP_
#include <vector>
#include "../layer.hpp"
namespace caffe {
class ParameterLayer : public Layer {
public:
explicit ParameterLayer(const LayerParameter& param)
: Layer(param) {}
virtual void LayerSetUp(const vector<Blob*>& bottom,
... | 30.292683 | 77 | 0.63124 | ktts16 |
a69aea1737fab5ab7434f2ba82fb92bd37efff8f | 7,560 | cpp | C++ | applications/mne_matching_pursuit/release/moc_settingwindow.cpp | ChunmingGu/mne-cpp-master | 36f21b3ab0c65a133027da83fa8e2a652acd1485 | [
"BSD-3-Clause"
] | null | null | null | applications/mne_matching_pursuit/release/moc_settingwindow.cpp | ChunmingGu/mne-cpp-master | 36f21b3ab0c65a133027da83fa8e2a652acd1485 | [
"BSD-3-Clause"
] | null | null | null | applications/mne_matching_pursuit/release/moc_settingwindow.cpp | ChunmingGu/mne-cpp-master | 36f21b3ab0c65a133027da83fa8e2a652acd1485 | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
** Meta object code from reading C++ file 'settingwindow.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.10.0)
**
** WARNING! All changes made in this file will be lost!
******************************************************... | 36.878049 | 150 | 0.636243 | ChunmingGu |
a69f613e32545750fb45c47a6ba5a9c886b0aaff | 8,463 | cpp | C++ | src/aquarius2/proxy/ProxyDOMNode.cpp | kirino17/ecef | b9214aec0462db26718fca1cdcc9add200fabfb8 | [
"BSD-3-Clause"
] | 60 | 2018-09-29T05:08:07.000Z | 2022-03-05T19:44:20.000Z | src/aquarius2/proxy/ProxyDOMNode.cpp | c3358/ecef | b9214aec0462db26718fca1cdcc9add200fabfb8 | [
"BSD-3-Clause"
] | 4 | 2018-11-19T07:47:56.000Z | 2020-12-30T05:06:21.000Z | src/aquarius2/proxy/ProxyDOMNode.cpp | c3358/ecef | b9214aec0462db26718fca1cdcc9add200fabfb8 | [
"BSD-3-Clause"
] | 27 | 2018-10-29T17:30:53.000Z | 2022-03-29T01:48:24.000Z | #include "ProxyDOMNode.h"
#include "../client/InternalDOMDocument.h"
#include "ProxyDOMDocument.h"
#include <atlconv.h>
AQUA_PROXY_AUTO_CONSTRUCTOR(ProxyDOMNode, InternalDOMNode);
// is valid
bool ProxyDOMNode::IsValid() {
return _rawptr != nullptr && FORWARD(InternalDOMNode)->IsValid();
}
///
// Returns the type f... | 21.425316 | 103 | 0.694316 | kirino17 |
a69fe64f1b5bdf48772f1dd421120d7cb9b814b3 | 892 | cpp | C++ | dometer/dns/event/parse_message_event.cpp | maxenglander/dometer | baf9ed81f9d1e8bb67750ac278af5a9e0c4b89b9 | [
"MIT"
] | null | null | null | dometer/dns/event/parse_message_event.cpp | maxenglander/dometer | baf9ed81f9d1e8bb67750ac278af5a9e0c4b89b9 | [
"MIT"
] | null | null | null | dometer/dns/event/parse_message_event.cpp | maxenglander/dometer | baf9ed81f9d1e8bb67750ac278af5a9e0c4b89b9 | [
"MIT"
] | null | null | null | #include "dometer/dns/event/parse_message_event.hpp"
#include "dometer/dns/message/message.hpp"
#include "dometer/util/error.hpp"
#include "std/x/expected.hpp"
namespace util = dometer::util;
namespace dometer::dns::event {
parse_message_event::parse_message_event(const uint64_t session_id,
const std:... | 34.307692 | 115 | 0.7287 | maxenglander |
a6a154e6bcb3cbae765e0499d9502c29efea56c1 | 1,500 | cpp | C++ | osg/osg_Learn/code/osg3cookBook/ch10/delaunay.cpp | longlongwaytogo/Learning.test | ded9a25ba789c153d69b2d216599eda962ef83e9 | [
"MIT"
] | null | null | null | osg/osg_Learn/code/osg3cookBook/ch10/delaunay.cpp | longlongwaytogo/Learning.test | ded9a25ba789c153d69b2d216599eda962ef83e9 | [
"MIT"
] | null | null | null | osg/osg_Learn/code/osg3cookBook/ch10/delaunay.cpp | longlongwaytogo/Learning.test | ded9a25ba789c153d69b2d216599eda962ef83e9 | [
"MIT"
] | null | null | null | #include <osg/Geometry>
#include <osg/Geode>
#include <osg/Group>
#include <osgDB/ReadFile>
#include <osgUtil/DelaunayTriangulator>
#include <osgViewer/Viewer>
#include <osgUtil/DelaunayTriangulator>
#include <osgGA/StateSetManipulator>
int main( int argc, char** argv)
{
osg::ref_ptr<osg::Group> root = new osg::Gro... | 29.411765 | 95 | 0.664 | longlongwaytogo |
a6a39b67927215151cebb794dad796a6943a1cc4 | 16,235 | cpp | C++ | src/beanmachine/graph/distribution/tests/half_normal_test.cpp | rodrigodesalvobraz/beanmachine-1 | 1c0d5ffeb505167f581e518809ea1320861bdf18 | [
"MIT"
] | 1 | 2021-12-22T13:19:14.000Z | 2021-12-22T13:19:14.000Z | src/beanmachine/graph/distribution/tests/half_normal_test.cpp | rodrigodesalvobraz/beanmachine-1 | 1c0d5ffeb505167f581e518809ea1320861bdf18 | [
"MIT"
] | null | null | null | src/beanmachine/graph/distribution/tests/half_normal_test.cpp | rodrigodesalvobraz/beanmachine-1 | 1c0d5ffeb505167f581e518809ea1320861bdf18 | [
"MIT"
] | null | null | null | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include "beanmachine/graph/graph.h"
// TODO[Walid]: Is it essential that we test distributions using ... | 40.5875 | 80 | 0.606714 | rodrigodesalvobraz |
a6a3d0e9a5c1ffc98fbfa8057b35d90bbe2ad666 | 2,244 | hpp | C++ | third_party/boost/simd/arch/common/scalar/function/nearbyint.hpp | xmar/pythran | dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592 | [
"BSD-3-Clause"
] | 5 | 2018-02-20T11:21:12.000Z | 2019-11-12T13:45:09.000Z | third_party/boost/simd/arch/common/scalar/function/nearbyint.hpp | xmar/pythran | dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592 | [
"BSD-3-Clause"
] | null | null | null | third_party/boost/simd/arch/common/scalar/function/nearbyint.hpp | xmar/pythran | dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592 | [
"BSD-3-Clause"
] | 3 | 2018-02-16T09:58:18.000Z | 2020-02-10T14:22:43.000Z | //==================================================================================================
/*!
@file
@copyright 2016 NumScale SAS
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
//===========================... | 29.526316 | 100 | 0.521836 | xmar |
a6a4411e695b547348839bdd05a7961f4c43740b | 5,017 | cpp | C++ | tests/test_circularBuffer.cpp | shehabattia96/SFND_2D_Feature_Tracking | 009e2954d18faddf73443198b7419ac4e5b94bd6 | [
"MIT"
] | null | null | null | tests/test_circularBuffer.cpp | shehabattia96/SFND_2D_Feature_Tracking | 009e2954d18faddf73443198b7419ac4e5b94bd6 | [
"MIT"
] | null | null | null | tests/test_circularBuffer.cpp | shehabattia96/SFND_2D_Feature_Tracking | 009e2954d18faddf73443198b7419ac4e5b94bd6 | [
"MIT"
] | null | null | null | // test for DataFrameCircularBuffer class
#include <assert.h>
#include <iostream>
#include "../src/dataStructures.h"
// Should throw error "DataFrameCircularBuffer: buffer is empty, nothing to read."
void test_readFromAnEmptyBuffer() {
DataFrameCircularBuffer circularBuffer(2);
try {
DataFrame dataFram... | 48.708738 | 371 | 0.707794 | shehabattia96 |
a6a45455dc2dc1ae0b1c31a5c68efe097f5f2086 | 1,189 | cpp | C++ | src/hobbits-widgets/widgetssettings.cpp | nblsyed/hobbits | 3264da716743487f2ddff286122d6347b18770e2 | [
"MIT"
] | null | null | null | src/hobbits-widgets/widgetssettings.cpp | nblsyed/hobbits | 3264da716743487f2ddff286122d6347b18770e2 | [
"MIT"
] | null | null | null | src/hobbits-widgets/widgetssettings.cpp | nblsyed/hobbits | 3264da716743487f2ddff286122d6347b18770e2 | [
"MIT"
] | null | null | null | #include "widgetssettings.h"
#include "settingsmanager.h"
#include <QColor>
static WidgetsSettings _instance;
WidgetsSettings::WidgetsSettings()
{
SettingsManager::instance().m_data.setUiSetting(SettingsManager::ONE_COLOR_KEY, QColor(Qt::black));
SettingsManager::instance().m_data.setUiSetting(SettingsManager... | 62.578947 | 119 | 0.781329 | nblsyed |
a6a7335f47ca62d18c66528b36ddae28bb9bc245 | 3,160 | cpp | C++ | Engine/source/component/test/moreAdvancedComponentTest.cpp | John3/crabmusket_Torque3D | d84bd0fce2837ffac69d9fc9aadcdf5ee2c98b5c | [
"Unlicense"
] | 46 | 2015-01-05T17:34:43.000Z | 2022-01-04T04:03:09.000Z | Engine/source/component/test/moreAdvancedComponentTest.cpp | John3/crabmusket_Torque3D | d84bd0fce2837ffac69d9fc9aadcdf5ee2c98b5c | [
"Unlicense"
] | 10 | 2015-01-20T23:14:46.000Z | 2019-04-05T22:04:15.000Z | Engine/source/component/test/moreAdvancedComponentTest.cpp | John3/crabmusket_Torque3D | d84bd0fce2837ffac69d9fc9aadcdf5ee2c98b5c | [
"Unlicense"
] | 11 | 2015-03-21T09:16:59.000Z | 2020-03-25T10:53:12.000Z | //-----------------------------------------------------------------------------
// Copyright (c) 2014 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... | 46.470588 | 100 | 0.719937 | John3 |
16f8bcafc4de6a1945cb49c5486deaa8ffb151f5 | 2,892 | cpp | C++ | 478.cpp | felikjunvianto/kfile-uvaoj-submissions | 5bd8b3b413ca8523abe412b0a0545f766f70ce63 | [
"MIT"
] | null | null | null | 478.cpp | felikjunvianto/kfile-uvaoj-submissions | 5bd8b3b413ca8523abe412b0a0545f766f70ce63 | [
"MIT"
] | null | null | null | 478.cpp | felikjunvianto/kfile-uvaoj-submissions | 5bd8b3b413ca8523abe412b0a0545f766f70ce63 | [
"MIT"
] | null | null | null | #include <cstdio>
#include <cmath>
#include <iostream>
#include <string>
#include <cstring>
#include <algorithm>
#include <vector>
#include <utility>
#include <stack>
#include <queue>
#define fi first
#define se second
#define pb push_back
#define mp make_pair
#define pi 2*acos(0.0)
#define eps 1e-9
#... | 25.368421 | 139 | 0.539073 | felikjunvianto |
16fbdd7b679a25d3581a223acc5ac23bb74c2d25 | 2,841 | cpp | C++ | cli/fossilize_list.cpp | kakra/Fossilize | ae589f3bde14498489ef7bcc339a16803dfbfc3a | [
"MIT"
] | null | null | null | cli/fossilize_list.cpp | kakra/Fossilize | ae589f3bde14498489ef7bcc339a16803dfbfc3a | [
"MIT"
] | null | null | null | cli/fossilize_list.cpp | kakra/Fossilize | ae589f3bde14498489ef7bcc339a16803dfbfc3a | [
"MIT"
] | null | null | null | /* Copyright (c) 2019 Hans-Kristian Arntzen
*
* 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, ... | 29.59375 | 110 | 0.709961 | kakra |
16fef5b81f92bb2ebb37ed624f56d4f6eac38dca | 1,709 | hpp | C++ | src/typing/symboltable.hpp | Wassasin/splicpp | b88bf8ec18985bc6ee5a8ccb952f413f23d74c5a | [
"Beerware"
] | 2 | 2019-04-09T01:04:36.000Z | 2019-05-12T06:17:03.000Z | src/typing/symboltable.hpp | Wassasin/splicpp | b88bf8ec18985bc6ee5a8ccb952f413f23d74c5a | [
"Beerware"
] | null | null | null | src/typing/symboltable.hpp | Wassasin/splicpp | b88bf8ec18985bc6ee5a8ccb952f413f23d74c5a | [
"Beerware"
] | null | null | null | #ifndef SYMBOLTABLE_H
#define SYMBOLTABLE_H
#include <memory>
#include <vector>
#include <ostream>
#include "../common/typedefs.hpp"
#include "../ast/ast_fun_decl.hpp"
#include "../ast/ast_construct.hpp"
#include "../ast/ast_var_decl.hpp"
#include "../ast/ast_f_arg.hpp"
#include "../ast/ast_type.hpp"
namespace spli... | 19.420455 | 70 | 0.67876 | Wassasin |
e501b5c74693de8388f729896c3068c67de321c2 | 570 | cc | C++ | utils/ding_talk/src/ding_talk.cc | geesugar/front_server | b9c503e452dd4b3301f360c211a55f71bb363fbe | [
"MIT"
] | null | null | null | utils/ding_talk/src/ding_talk.cc | geesugar/front_server | b9c503e452dd4b3301f360c211a55f71bb363fbe | [
"MIT"
] | null | null | null | utils/ding_talk/src/ding_talk.cc | geesugar/front_server | b9c503e452dd4b3301f360c211a55f71bb363fbe | [
"MIT"
] | null | null | null | /*
* Copyright [2013-2017] <geesugar>
* file: ding_talk.cc
* author: longtao@geesugar.com
* date: 2017-12-26
*/
#include "utils/ding_talk/ding_talk.h"
namespace utils {
DingTalk::DingTalk(const std::string& ding_talk_token) : std::ostream(NULL) {
m_buff = new char[DING_TALK_BUFF_LENGTH];
m_buff_len = DING_TALK... | 21.923077 | 77 | 0.7 | geesugar |
e507adf1e4bc3bab407f80f1917c9b6d106442f7 | 12,517 | cpp | C++ | src/executor/delete_executor.cpp | star013/peloton | 0e1c5f32fde00529f19f7ff5f5e7d5b4979f06ef | [
"Apache-2.0"
] | null | null | null | src/executor/delete_executor.cpp | star013/peloton | 0e1c5f32fde00529f19f7ff5f5e7d5b4979f06ef | [
"Apache-2.0"
] | null | null | null | src/executor/delete_executor.cpp | star013/peloton | 0e1c5f32fde00529f19f7ff5f5e7d5b4979f06ef | [
"Apache-2.0"
] | null | null | null | //===----------------------------------------------------------------------===//
//
// Peloton
//
// delete_executor.cpp
//
// Identification: src/executor/delete_executor.cpp
//
// Copyright (c) 2015-17, Carnegie Mellon University Database Group
//
//===-----------------------------------------... | 40.11859 | 105 | 0.645602 | star013 |
e50aa9a4312c533b836624bcf341bed4ca8aa16f | 2,191 | cpp | C++ | examples/message_passing/fixed_stack.cpp | jsiwek/actor-framework | 06cd2836f4671725cb7eaa22b3cc115687520fc1 | [
"BSL-1.0",
"BSD-3-Clause"
] | 4 | 2019-05-03T05:38:15.000Z | 2020-08-25T15:23:19.000Z | examples/message_passing/fixed_stack.cpp | jsiwek/actor-framework | 06cd2836f4671725cb7eaa22b3cc115687520fc1 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | examples/message_passing/fixed_stack.cpp | jsiwek/actor-framework | 06cd2836f4671725cb7eaa22b3cc115687520fc1 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | #include "caf/all.hpp"
#include <cassert>
#include <cstdint>
#include <iostream>
enum class fixed_stack_errc : uint8_t {
push_to_full = 1,
pop_from_empty,
};
CAF_BEGIN_TYPE_ID_BLOCK(fixed_stack, first_custom_type_id)
CAF_ADD_TYPE_ID(fixed_stack, (fixed_stack_errc))
CAF_ADD_ATOM(fixed_stack, pop_atom)
CAF_... | 24.344444 | 78 | 0.621634 | jsiwek |
e50d4509a6824d9121419d7492354ce5d8ca9c35 | 3,287 | cpp | C++ | src/skyguard/LinuxDetours/tests/sdk_demo.cpp | yx-ren/LinuxDetours | daa721e2cc7d044b2ccca657b6d0491a914751ab | [
"MIT"
] | null | null | null | src/skyguard/LinuxDetours/tests/sdk_demo.cpp | yx-ren/LinuxDetours | daa721e2cc7d044b2ccca657b6d0491a914751ab | [
"MIT"
] | null | null | null | src/skyguard/LinuxDetours/tests/sdk_demo.cpp | yx-ren/LinuxDetours | daa721e2cc7d044b2ccca657b6d0491a914751ab | [
"MIT"
] | 1 | 2020-11-21T13:08:08.000Z | 2020-11-21T13:08:08.000Z | #include <unistd.h>
#include <thread>
#include <iostream>
#include <functional>
#include <skyguard/LinuxDetours/detours/sdk/SGDetour.h>
#if 0
#include <skyguard/LinuxDetours/logger/Logger.h>
#include <skyguard/LinuxDetours/logger/LoggerManager.h>
#endif
using namespace SGLD_NAMESPACE;
unsigned int sleep_detour(unsign... | 32.544554 | 137 | 0.58564 | yx-ren |
e5169b13c5f64992bb7f91f7a77072ddd1062e44 | 689 | cpp | C++ | TwitchXX-Tests/Video.t.cpp | burannah/TwitchXX | d1845c615d106bfb223e20cdab0c88923f2588ad | [
"BSD-3-Clause"
] | 8 | 2016-10-22T11:36:48.000Z | 2021-02-03T07:09:54.000Z | TwitchXX-Tests/Video.t.cpp | burannah/TwitchXX | d1845c615d106bfb223e20cdab0c88923f2588ad | [
"BSD-3-Clause"
] | 3 | 2018-10-01T20:48:03.000Z | 2018-10-25T12:11:25.000Z | TwitchXX-Tests/Video.t.cpp | burannah/TwitchXX | d1845c615d106bfb223e20cdab0c88923f2588ad | [
"BSD-3-Clause"
] | 3 | 2017-12-09T11:29:31.000Z | 2020-11-09T15:19:25.000Z | //
// Created by buran on 17/03/18.
//
#include <gtest/gtest.h>
#include <Api.h>
#include <Video.h>
#include <TestConstants.h>
#include "TestUtils.h"
class VideoTest : public ::testing::Test
{
protected:
TwitchXX::Api _api{TestUtils::initOptionsFromConfig()};
};
TEST_F(VideoTest, byUserId)
{
auto [result, c... | 19.685714 | 70 | 0.651669 | burannah |
e51735c4821ef0f3cfc17c032ac4a4615103ebdc | 1,188 | cpp | C++ | roomfeatures/roomfeatures_add.cpp | jpandaconnor/Jotel | 6443ed53e81f1da23d793d9db669cf82bb1b3c3e | [
"Apache-2.0"
] | null | null | null | roomfeatures/roomfeatures_add.cpp | jpandaconnor/Jotel | 6443ed53e81f1da23d793d9db669cf82bb1b3c3e | [
"Apache-2.0"
] | null | null | null | roomfeatures/roomfeatures_add.cpp | jpandaconnor/Jotel | 6443ed53e81f1da23d793d9db669cf82bb1b3c3e | [
"Apache-2.0"
] | null | null | null | #include "roomfeatures_add.h"
#include "ui_roomfeatures_add.h"
#include <QMessageBox>
#include <QString>
#include <QSqlDatabase>
#include <QCloseEvent>
#include <QSqlQuery>
#include <QDebug>
RoomFeatures_Add::RoomFeatures_Add(QWidget *parent) :
QDialog(parent),
ui(new Ui::RoomFeatures_Add)
{
ui->setupUi(t... | 23.76 | 133 | 0.670875 | jpandaconnor |
e517f2d711dcbe6455f01a9f154c34e117d7a809 | 7,885 | cpp | C++ | srcs/Server/Cluster/Cluster.cpp | vvaucoul/42-Webserv | efca89c23493d5a1d9b34cf2116817e00d4e0e14 | [
"MIT"
] | null | null | null | srcs/Server/Cluster/Cluster.cpp | vvaucoul/42-Webserv | efca89c23493d5a1d9b34cf2116817e00d4e0e14 | [
"MIT"
] | null | null | null | srcs/Server/Cluster/Cluster.cpp | vvaucoul/42-Webserv | efca89c23493d5a1d9b34cf2116817e00d4e0e14 | [
"MIT"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Cluster.cpp :+: :+: :+: ... | 30.562016 | 126 | 0.512873 | vvaucoul |
e51a06704683b9811832b00fc9c7ace91bac0204 | 726 | cpp | C++ | LeetCode/Problems/Algorithms/#451_SortCharactersByFrequency_sol3_stl_sort_O(N+AlogA)_time_O(A)_extra_space_3ms_8.5MB.cpp | Tudor67/Competitive-Programming | ae4dc6ed8bf76451775bf4f740c16394913f3ff1 | [
"MIT"
] | 1 | 2022-01-26T14:50:07.000Z | 2022-01-26T14:50:07.000Z | LeetCode/Problems/Algorithms/#451_SortCharactersByFrequency_sol3_stl_sort_O(N+AlogA)_time_O(A)_extra_space_3ms_8.5MB.cpp | Tudor67/Competitive-Programming | ae4dc6ed8bf76451775bf4f740c16394913f3ff1 | [
"MIT"
] | null | null | null | LeetCode/Problems/Algorithms/#451_SortCharactersByFrequency_sol3_stl_sort_O(N+AlogA)_time_O(A)_extra_space_3ms_8.5MB.cpp | Tudor67/Competitive-Programming | ae4dc6ed8bf76451775bf4f740c16394913f3ff1 | [
"MIT"
] | null | null | null | class Solution {
public:
string frequencySort(string s) {
const int N = s.length();
const int A = 126;
vector<int> charCount(A, 0);
for(char c: s){
charCount[c] += 1;
}
vector<pair<int, char>> fc;
for(char c = 0; c < A... | 24.2 | 49 | 0.396694 | Tudor67 |
e52463e6cdcca383691317a3e6ca6ed8653fb2db | 11,261 | ipp | C++ | implement/oglplus/shapes/twisted_torus.ipp | matus-chochlik/oglplus | 76dd964e590967ff13ddff8945e9dcf355e0c952 | [
"BSL-1.0"
] | 364 | 2015-01-01T09:38:23.000Z | 2022-03-22T05:32:00.000Z | implement/oglplus/shapes/twisted_torus.ipp | matus-chochlik/oglplus | 76dd964e590967ff13ddff8945e9dcf355e0c952 | [
"BSL-1.0"
] | 55 | 2015-01-06T16:42:55.000Z | 2020-07-09T04:21:41.000Z | implement/oglplus/shapes/twisted_torus.ipp | matus-chochlik/oglplus | 76dd964e590967ff13ddff8945e9dcf355e0c952 | [
"BSL-1.0"
] | 57 | 2015-01-07T18:35:49.000Z | 2022-03-22T05:32:04.000Z | /**
* @file oglplus/shapes/twisted_torus.ipp
* @brief Implementation of shapes::TwistedTorus
*
* @author Matus Chochlik
*
* Copyright 2010-2019 Matus Chochlik. 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.... | 33.715569 | 77 | 0.443833 | matus-chochlik |
e527f1717bfba1d0a1c677c1c6d891eb04b6a39b | 9,846 | cpp | C++ | src/entity/Player.cpp | GreenDjango/bomberman | 2152557ba9462d7bfbc78012cad0bf12906bf7c4 | [
"MIT"
] | null | null | null | src/entity/Player.cpp | GreenDjango/bomberman | 2152557ba9462d7bfbc78012cad0bf12906bf7c4 | [
"MIT"
] | null | null | null | src/entity/Player.cpp | GreenDjango/bomberman | 2152557ba9462d7bfbc78012cad0bf12906bf7c4 | [
"MIT"
] | 2 | 2021-01-08T12:39:18.000Z | 2021-06-03T11:52:24.000Z | /*
** EPITECH PROJECT, 2020
** OOP_indie_studio_2019
** File description:
** Player
*/
#include "entity/Item.hpp"
#include "entity/Player.hpp"
#include "entity/Bomb.hpp"
#include "Game.hpp"
using namespace irr;
using namespace core;
Player::Player(const io::path& filename, scene::ISceneManager* smgr, int model)
... | 34.791519 | 128 | 0.577087 | GreenDjango |
e52ba5b24bce8a5f1961b48a533cf7ede0b80471 | 1,704 | hpp | C++ | include/openpose/hand/handDetector.hpp | gormonn/openpose | 9827ab75d6ee813376da1cb2a3d960c7081e9fa2 | [
"DOC"
] | 12 | 2019-05-10T09:56:39.000Z | 2021-08-09T03:42:28.000Z | include/openpose/hand/handDetector.hpp | ChronousZhang/openpose | 6d3ff8b3361cb5c098294b486a25c9921ad864c2 | [
"DOC"
] | 1 | 2021-01-21T14:03:25.000Z | 2021-01-21T14:03:25.000Z | include/openpose/hand/handDetector.hpp | ChronousZhang/openpose | 6d3ff8b3361cb5c098294b486a25c9921ad864c2 | [
"DOC"
] | 7 | 2019-06-14T03:38:09.000Z | 2021-08-09T03:43:27.000Z | #ifndef OPENPOSE_HAND_HAND_DETECTOR_HPP
#define OPENPOSE_HAND_HAND_DETECTOR_HPP
#include <mutex>
#include <openpose/core/common.hpp>
#include <openpose/pose/enumClasses.hpp>
namespace op
{
// Note: This class is thread-safe, so several GPUs can be running hands and using `updateTracker`, and updateTracker will ke... | 32.769231 | 148 | 0.636737 | gormonn |
e52ef3648dc60502149917baca0821f68d724d0a | 3,023 | cpp | C++ | solutions/909. Snakes and Ladders.cpp | xkunwu/leetcode-collection | 7c5dab83c1cf00aa8ce5e3d2b24de3d2cf0f9869 | [
"MIT"
] | null | null | null | solutions/909. Snakes and Ladders.cpp | xkunwu/leetcode-collection | 7c5dab83c1cf00aa8ce5e3d2b24de3d2cf0f9869 | [
"MIT"
] | null | null | null | solutions/909. Snakes and Ladders.cpp | xkunwu/leetcode-collection | 7c5dab83c1cf00aa8ce5e3d2b24de3d2cf0f9869 | [
"MIT"
] | null | null | null | /** 909. Snakes and Ladders
https://leetcode.com/problems/snakes-and-ladders/
On an N x N board, the numbers from 1 to N*N are written boustrophedonically starting from the bottom left of the board, and alternating direction each row. For example, for a 6 x 6 board, the numbers are written as follows:
You st... | 47.234375 | 363 | 0.570294 | xkunwu |
e5306c6519102d92483dcee0ee0b37e4bb17f6b7 | 580 | cpp | C++ | Embedded/src/FWAPDB.cpp | farktronix/FWAP | 06e23ca7caf4ff76c04b16ed544037a395a2d056 | [
"Apache-2.0"
] | 1 | 2020-09-10T19:10:25.000Z | 2020-09-10T19:10:25.000Z | Embedded/src/FWAPDB.cpp | farktronix/FWAP | 06e23ca7caf4ff76c04b16ed544037a395a2d056 | [
"Apache-2.0"
] | null | null | null | Embedded/src/FWAPDB.cpp | farktronix/FWAP | 06e23ca7caf4ff76c04b16ed544037a395a2d056 | [
"Apache-2.0"
] | null | null | null | #include <ESP8266HTTPClient.h>
#include "FWAPDB.h"
#include "FWAP.h"
FWAPDB::FWAPDB(String host, String dbName) {
// Hardcoded for now. TODO: Add accessors for all of this
_db = new Influxdb(host);
_db->setDb(dbName);
}
void FWAPDB::prepare(InfluxData data) {
data.addTag("host", HOSTNAME);
data.addTag... | 22.307692 | 59 | 0.677586 | farktronix |
e53255e15b9306459cccd3b7eb8eae9d13e00c82 | 290 | cpp | C++ | GeekforGeeks/Count Squares/Sol.cpp | shouryagupta21/Fork_CPP | 8f5baed045ef430cca19d871c8854abc3b6ad44f | [
"MIT"
] | 8 | 2021-02-14T13:13:27.000Z | 2022-01-08T23:58:32.000Z | GeekforGeeks/Count Squares/Sol.cpp | shouryagupta21/Fork_CPP | 8f5baed045ef430cca19d871c8854abc3b6ad44f | [
"MIT"
] | 17 | 2021-02-28T17:03:50.000Z | 2021-10-19T13:02:03.000Z | GeekforGeeks/Count Squares/Sol.cpp | shouryagupta21/Fork_CPP | 8f5baed045ef430cca19d871c8854abc3b6ad44f | [
"MIT"
] | 15 | 2021-03-01T03:54:29.000Z | 2021-10-19T18:29:00.000Z | #include<iostream>
using namespace std;
int main()
{
int i , n ;
cin>>n;
int A[n];
for(i=1 ; i<=n ; i++)
{
for(int j=1 ; j<=i ; j++)
{
if((j*j)==i)
{
A[i]=j;
}
}
}
for(i=1 ; i<=n ; i++)
{
cout<<A[i];
}
return 0;
}
| 10 | 29 | 0.348276 | shouryagupta21 |
e53b79c24129ea2db5d8daa8a278f1fe3e571ea4 | 3,082 | cxx | C++ | c_cpp/src/sort/sort.cxx | maywzh/data-structure | 300a2dd0d6f5035feaeb27c577331ba73b6c8f9d | [
"MIT"
] | null | null | null | c_cpp/src/sort/sort.cxx | maywzh/data-structure | 300a2dd0d6f5035feaeb27c577331ba73b6c8f9d | [
"MIT"
] | null | null | null | c_cpp/src/sort/sort.cxx | maywzh/data-structure | 300a2dd0d6f5035feaeb27c577331ba73b6c8f9d | [
"MIT"
] | null | null | null | #include "sort.h"
#include <stdlib.h>
void InsertSort(int R[], int n)
{
int i, j;
int temp;
for (i = 0; i < n; i++)
{
temp = R[i]; //待排关键字R[i]
j = i - 1;
while (j >= 0 && temp < R[j])
{
R[j + 1] = R[j];
--j;
}
R[j + 1] = temp;
}... | 20.012987 | 59 | 0.335496 | maywzh |
e53bbe69cf08594286ae793c42ed84806b459206 | 572 | cpp | C++ | Coding/Unorganized/hackerank1.cpp | dhvanilp/Data-Structures-and-Algorithms | d9c04e424ef2d2a73dc8afda7ace4cc294c05420 | [
"MIT"
] | null | null | null | Coding/Unorganized/hackerank1.cpp | dhvanilp/Data-Structures-and-Algorithms | d9c04e424ef2d2a73dc8afda7ace4cc294c05420 | [
"MIT"
] | null | null | null | Coding/Unorganized/hackerank1.cpp | dhvanilp/Data-Structures-and-Algorithms | d9c04e424ef2d2a73dc8afda7ace4cc294c05420 | [
"MIT"
] | null | null | null | // https: //www.hackerrank.com/contests/nitk-cp-league-contest1/challenges/game-of-arrays-3
#include <bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin >> t;
while (t--)
{
int n;
cin >> n;
int a[n], b[n];
for (int i = 0; i < n; i++)
cin >> a[i];
... | 22 | 91 | 0.386364 | dhvanilp |
e53e5a3f90bcb525664ed5da503884e0cb6f0a19 | 10,424 | cpp | C++ | src/Keyboard.cpp | sahandKashani/OpenGL-cloth-simulator | 9888b9ec08df8969278a33f1be3fbd908132d0d2 | [
"Unlicense"
] | 1 | 2021-03-22T03:04:05.000Z | 2021-03-22T03:04:05.000Z | src/Keyboard.cpp | sahandKashani/OpenGL-cloth-simulator | 9888b9ec08df8969278a33f1be3fbd908132d0d2 | [
"Unlicense"
] | null | null | null | src/Keyboard.cpp | sahandKashani/OpenGL-cloth-simulator | 9888b9ec08df8969278a33f1be3fbd908132d0d2 | [
"Unlicense"
] | 1 | 2017-04-24T01:59:49.000Z | 2017-04-24T01:59:49.000Z | #include "Keyboard.h"
#include "Camera.h"
#include "ClothSimulator.h"
#include "DrawingSettings.h"
// OpenGL imports
#include <GL/glut.h>
#include <GL/gl.h>
#include <GL/glu.h>
Keyboard* Keyboard::instance = 0;
Keyboard* Keyboard::getInstance()
{
if(instance == 0)
{
instance = new Keyboard();
}
... | 34.979866 | 133 | 0.529739 | sahandKashani |
e53e5a47543c9c1ed5fd3c78e54d38342e401a10 | 3,622 | hpp | C++ | lib/step/step_wang_tile.hpp | albin-johansson/wanderer | 74c1e788e37d6555def23fb6f49d2342baf2a6fe | [
"MIT"
] | 11 | 2021-05-09T09:19:35.000Z | 2022-03-22T10:11:16.000Z | include/step_wang_tile.hpp | albin-johansson/step | f3e71ebd2d54ebbb7fcfa40002b1e4fde3779aab | [
"MIT"
] | 8 | 2020-05-23T09:35:03.000Z | 2020-06-20T22:15:02.000Z | include/step_wang_tile.hpp | albin-johansson/step | f3e71ebd2d54ebbb7fcfa40002b1e4fde3779aab | [
"MIT"
] | null | null | null | /**
* MIT License
*
* Copyright (c) 2020 Albin Johansson
*
* 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,... | 28.976 | 80 | 0.68995 | albin-johansson |
e53eba956655c0b772693cde3e7b3eab209644d7 | 340 | hpp | C++ | pythran/pythonic/include/__builtin__/chr.hpp | SylvainCorlay/pythran | 908ec070d837baf77d828d01c3e35e2f4bfa2bfa | [
"BSD-3-Clause"
] | 1 | 2018-03-24T00:33:03.000Z | 2018-03-24T00:33:03.000Z | pythran/pythonic/include/__builtin__/chr.hpp | SylvainCorlay/pythran | 908ec070d837baf77d828d01c3e35e2f4bfa2bfa | [
"BSD-3-Clause"
] | null | null | null | pythran/pythonic/include/__builtin__/chr.hpp | SylvainCorlay/pythran | 908ec070d837baf77d828d01c3e35e2f4bfa2bfa | [
"BSD-3-Clause"
] | null | null | null | #ifndef PYTHONIC_INCLUDE_BUILTIN_CHR_HPP
#define PYTHONIC_INCLUDE_BUILTIN_CHR_HPP
#include "pythonic/include/utils/functor.hpp"
#include "pythonic/include/types/str.hpp"
PYTHONIC_NS_BEGIN
namespace __builtin__
{
template <class T>
types::str chr(T const &v);
DECLARE_FUNCTOR(pythonic::__builtin__, chr);
}
PYTH... | 17.894737 | 46 | 0.8 | SylvainCorlay |
e541a6e18ab70e7a721e76294de538c177e73976 | 33 | cpp | C++ | test/type_compile_test.cpp | snewell/checkerboard | 2023b37ae68b82f7af997596de25a2b8ffc7bf5b | [
"BSD-2-Clause"
] | null | null | null | test/type_compile_test.cpp | snewell/checkerboard | 2023b37ae68b82f7af997596de25a2b8ffc7bf5b | [
"BSD-2-Clause"
] | null | null | null | test/type_compile_test.cpp | snewell/checkerboard | 2023b37ae68b82f7af997596de25a2b8ffc7bf5b | [
"BSD-2-Clause"
] | null | null | null | #include <checkerboard/type.hpp>
| 16.5 | 32 | 0.787879 | snewell |
e544a1c1b80bb7023a192397f638320fc3abda66 | 6,927 | cpp | C++ | test/store-test/Classes/TestHomeController.cpp | kevinwu1024/SpeedCC | 7b32e3444236d8aebf8198ebc3fede8faf201dee | [
"MIT"
] | 7 | 2018-03-10T02:01:49.000Z | 2021-09-14T15:42:10.000Z | test/store-test/Classes/TestHomeController.cpp | kevinwu1024/SpeedCC | 7b32e3444236d8aebf8198ebc3fede8faf201dee | [
"MIT"
] | null | null | null | test/store-test/Classes/TestHomeController.cpp | kevinwu1024/SpeedCC | 7b32e3444236d8aebf8198ebc3fede8faf201dee | [
"MIT"
] | 1 | 2018-03-10T02:01:58.000Z | 2018-03-10T02:01:58.000Z | /****************************************************************************
Copyright (c) 2017-2018 Kevin Wu (Wu Feng)
github: http://github.com/kevinwu1024
Licensed under the MIT License (the "License"); you may not use this file except
in compliance with the License. You may obtain a copy of the License a... | 37.241935 | 113 | 0.607189 | kevinwu1024 |
e5499c5d0e8665e394104d3fd353aa4b5c29cd70 | 527 | cpp | C++ | C++/练习/老九学堂/P63.cpp | 1050669722/LeetCode-Answers | c8f4d1ccaac09cda63b60d75144335347b06dc81 | [
"MIT"
] | null | null | null | C++/练习/老九学堂/P63.cpp | 1050669722/LeetCode-Answers | c8f4d1ccaac09cda63b60d75144335347b06dc81 | [
"MIT"
] | null | null | null | C++/练习/老九学堂/P63.cpp | 1050669722/LeetCode-Answers | c8f4d1ccaac09cda63b60d75144335347b06dc81 | [
"MIT"
] | null | null | null | #include <iostream>
#include <iomanip>
#include <vector>
#include <map>
#include <set>
#include <algorithm>
#include <cmath>
#include <ctime>
#include <cstdlib>
#include <windows.h>
using namespace std;
int main()
{
// //两种方式声明数组
// int num[5];
// int* nums = new int[5]; //在堆内存中分配了5个整型空间
// cout << si... | 17.566667 | 59 | 0.567362 | 1050669722 |
e54c596cd945c332dabb0a22b28705e6379f4864 | 1,118 | hpp | C++ | Event/GameEvent.hpp | tgaurnier/Qame2D | 6f87c318e59f42724e4f6464045bed93c1e6c699 | [
"MIT"
] | null | null | null | Event/GameEvent.hpp | tgaurnier/Qame2D | 6f87c318e59f42724e4f6464045bed93c1e6c699 | [
"MIT"
] | null | null | null | Event/GameEvent.hpp | tgaurnier/Qame2D | 6f87c318e59f42724e4f6464045bed93c1e6c699 | [
"MIT"
] | null | null | null | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* GameEvent.hpp *
* *
* Copyright (c) 2015 Tory Gaurnier ... | 27.95 | 81 | 0.420394 | tgaurnier |
e54ccbb5d87dd31aa14f3ac630682305d0ce3e32 | 4,644 | cpp | C++ | files/soko1/qutim_0.1.1/src/idle/idle_mac.cpp | truebsdorg/truebsdorg.github.io | 8663d8f6fae3b1bb1e2fb29614677f2863521951 | [
"BSD-4-Clause-UC"
] | null | null | null | files/soko1/qutim_0.1.1/src/idle/idle_mac.cpp | truebsdorg/truebsdorg.github.io | 8663d8f6fae3b1bb1e2fb29614677f2863521951 | [
"BSD-4-Clause-UC"
] | null | null | null | files/soko1/qutim_0.1.1/src/idle/idle_mac.cpp | truebsdorg/truebsdorg.github.io | 8663d8f6fae3b1bb1e2fb29614677f2863521951 | [
"BSD-4-Clause-UC"
] | null | null | null | /*
* idle_mac.cpp - detect desktop idle time
* Copyright (C) 2003 Tarkvara Design Inc.
*
* 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 the Free Software Foundation; either
* version 2.1 of the License, or (a... | 28.84472 | 174 | 0.72093 | truebsdorg |
e54ee8ef9317fe17bab06155563aa4d4809357c4 | 1,201 | cpp | C++ | Physics/Depracted/PhisicalLinkCreator_Default.cpp | ArvydasSlekaitis/ReginaGameEngine | 4b6af9b5fbf9aad4025b0387260c31019fd8f8c8 | [
"MIT"
] | 1 | 2020-09-02T06:00:14.000Z | 2020-09-02T06:00:14.000Z | Physics/Depracted/PhisicalLinkCreator_Default.cpp | ArvydasSlekaitis/ReginaGameEngine | 4b6af9b5fbf9aad4025b0387260c31019fd8f8c8 | [
"MIT"
] | null | null | null | Physics/Depracted/PhisicalLinkCreator_Default.cpp | ArvydasSlekaitis/ReginaGameEngine | 4b6af9b5fbf9aad4025b0387260c31019fd8f8c8 | [
"MIT"
] | null | null | null | ///////////////////////////////////////////////////////////
// PhisicalLinkCreator_Default.cpp
// Created on: 26-03-2009
// Last modified: 26-03-2009
// Original author: Arvydas Slekaitis (C)
///////////////////////////////////////////////////////////
#include <PhisicalLinkCreator_Default.h>
using namespace... | 21.070175 | 85 | 0.561199 | ArvydasSlekaitis |
e5541920bd658ddd336c618c43d61889f37603f6 | 1,840 | cpp | C++ | bark/world/map/road_corridor.cpp | RdecKa/bark | 4aa4c901417e3a2c97050894ec61fcb57cc94e6e | [
"MIT"
] | 174 | 2019-04-03T11:37:37.000Z | 2022-03-27T09:14:38.000Z | bark/world/map/road_corridor.cpp | RdecKa/bark | 4aa4c901417e3a2c97050894ec61fcb57cc94e6e | [
"MIT"
] | 192 | 2019-04-05T09:41:40.000Z | 2022-03-03T14:14:28.000Z | bark/world/map/road_corridor.cpp | RdecKa/bark | 4aa4c901417e3a2c97050894ec61fcb57cc94e6e | [
"MIT"
] | 55 | 2019-04-05T13:22:46.000Z | 2022-01-21T07:03:41.000Z | // Copyright (c) 2020 fortiss GmbH
//
// Authors: Julian Bernhard, Klemens Esterle, Patrick Hart and
// Tobias Kessler
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include "bark/world/map/road_corridor.hpp"
#include <memory>
#include <utilit... | 32.280702 | 79 | 0.717391 | RdecKa |
e559bb3df5a71b160ec95299e2f236d0b932c7c5 | 1,959 | cpp | C++ | facedetector.cpp | guilhermota/Projeto_Robotica | 9a7e30332dd161b50e5b352f10c7319865ac5f7e | [
"MIT"
] | null | null | null | facedetector.cpp | guilhermota/Projeto_Robotica | 9a7e30332dd161b50e5b352f10c7319865ac5f7e | [
"MIT"
] | null | null | null | facedetector.cpp | guilhermota/Projeto_Robotica | 9a7e30332dd161b50e5b352f10c7319865ac5f7e | [
"MIT"
] | null | null | null | #include <vector>
#include <iostream>
#include "opencv2/highgui/highgui.hpp"
#include "FaceDetector.h"
/**
* @brief FaceDetector::FaceDetector
* Inicializa obeto carregando os cascacades necessários para realizar o reconhecimento
*/
FaceDetector::FaceDetector(const std::string &cascadePathFaces, const std::string ... | 36.277778 | 139 | 0.674834 | guilhermota |
e55fc3e0b2770a1cd9682c5d8b321af128afd094 | 17,711 | hpp | C++ | src/transmission/reliable/impl/engine_server_impl.hpp | rnascunha/coap-te | eaff16162b1a524ad06e18dbdc79ca4c8658b3a8 | [
"MIT"
] | null | null | null | src/transmission/reliable/impl/engine_server_impl.hpp | rnascunha/coap-te | eaff16162b1a524ad06e18dbdc79ca4c8658b3a8 | [
"MIT"
] | null | null | null | src/transmission/reliable/impl/engine_server_impl.hpp | rnascunha/coap-te | eaff16162b1a524ad06e18dbdc79ca4c8658b3a8 | [
"MIT"
] | null | null | null | #ifndef COAP_TE_TRANSMISSION_RELIABLE_ENGINE_SERVER_IMPL_HPP__
#define COAP_TE_TRANSMISSION_RELIABLE_ENGINE_SERVER_IMPL_HPP__
#include <functional>
#include "log.hpp"
#include "message/reliable/parser.hpp"
#include "message/options/options.hpp"
#include "message/options/functions2.hpp"
#include "../engine_client.hpp"... | 26.553223 | 125 | 0.751397 | rnascunha |
e5614b0f113cfac80f84fdeebbb18bfdffbb499c | 2,422 | cpp | C++ | Algorithm/SamsungSWEA/Kruskal/main.cpp | BritzSTM/experiment | 81097adf3d8d0c4d18161c667fed4b15e0dc6d6e | [
"MIT"
] | null | null | null | Algorithm/SamsungSWEA/Kruskal/main.cpp | BritzSTM/experiment | 81097adf3d8d0c4d18161c667fed4b15e0dc6d6e | [
"MIT"
] | null | null | null | Algorithm/SamsungSWEA/Kruskal/main.cpp | BritzSTM/experiment | 81097adf3d8d0c4d18161c667fed4b15e0dc6d6e | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <queue>
#include <algorithm>
#include <iterator>
#include <numeric>
using namespace std;
struct SEdge
{
int v;
int u;
int weight;
};
using EdgeGraph = vector<SEdge>;
class UnionFinder final
{
public:
UnionFinder(const int n)
: m_elems(n, -1)
... | 18.48855 | 74 | 0.46986 | BritzSTM |
e565141758bf52797da4f92798366beaa9cda083 | 3,367 | cpp | C++ | Love Babber OnGoing Placement/Heaps/Kth Smallest Element.cpp | work-mohit/Placement-Practice | 396e61f7980991b2d6392589f26f917981c135ab | [
"MIT"
] | null | null | null | Love Babber OnGoing Placement/Heaps/Kth Smallest Element.cpp | work-mohit/Placement-Practice | 396e61f7980991b2d6392589f26f917981c135ab | [
"MIT"
] | null | null | null | Love Babber OnGoing Placement/Heaps/Kth Smallest Element.cpp | work-mohit/Placement-Practice | 396e61f7980991b2d6392589f26f917981c135ab | [
"MIT"
] | null | null | null | class Solution{
public:
// arr : given array
// l : starting index of the array i.e 0
// r : ending index of the array i.e size-1
// k : find kth smallest element and return using this function
int kthSmallest(int arr[], int l, int r, int k) {
priority_queue<int> pq;
for... | 27.598361 | 81 | 0.50698 | work-mohit |
e566cb12f85102c2f5898762ca7ac873895f797d | 1,745 | hpp | C++ | controller_parameter_server/include/controller_parameter_server/yaml_parser.hpp | piraka9011/ros2_control | 57f04ee707641cf2f9384b739e1f3b64f356b0f0 | [
"Apache-2.0"
] | 3 | 2020-03-04T07:55:15.000Z | 2021-01-01T22:02:36.000Z | controller_parameter_server/include/controller_parameter_server/yaml_parser.hpp | piraka9011/ros2_control | 57f04ee707641cf2f9384b739e1f3b64f356b0f0 | [
"Apache-2.0"
] | null | null | null | controller_parameter_server/include/controller_parameter_server/yaml_parser.hpp | piraka9011/ros2_control | 57f04ee707641cf2f9384b739e1f3b64f356b0f0 | [
"Apache-2.0"
] | null | null | null | // Copyright 2017 Open Source Robotics Foundation, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appli... | 26.846154 | 90 | 0.783954 | piraka9011 |
e5676a227d979dd9a9ba0d872e60f41ae3720fab | 3,334 | cpp | C++ | WaveSabreStandAlonePlayer/main.cpp | LeStahL/WaveSabre | 2a603ac1b3e9c30390a977f5bfb71766552e9c62 | [
"MIT"
] | 228 | 2019-02-18T19:13:31.000Z | 2022-03-30T00:52:55.000Z | WaveSabreStandAlonePlayer/main.cpp | LeStahL/WaveSabre | 2a603ac1b3e9c30390a977f5bfb71766552e9c62 | [
"MIT"
] | 64 | 2019-02-20T17:38:47.000Z | 2022-01-25T20:21:00.000Z | WaveSabreStandAlonePlayer/main.cpp | LeStahL/WaveSabre | 2a603ac1b3e9c30390a977f5bfb71766552e9c62 | [
"MIT"
] | 31 | 2019-02-20T14:16:40.000Z | 2022-01-05T11:25:52.000Z | #include <WaveSabreCore.h>
#include <WaveSabrePlayerLib.h>
using namespace WaveSabrePlayerLib;
#include <string.h>
WaveSabreCore::Device *SongFactory(SongRenderer::DeviceId id)
{
switch (id)
{
case SongRenderer::DeviceId::Falcon: return new WaveSabreCore::Falcon();
case SongRenderer::DeviceId::Slaughter: return n... | 27.553719 | 84 | 0.689862 | LeStahL |
e56d11c46f2fb01e2da8b6adde4a1ecf0db668ed | 674 | hpp | C++ | master/core/third/boost/multi_index/key_extractors.hpp | importlib/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 460 | 2016-01-13T12:49:34.000Z | 2022-02-20T04:10:40.000Z | master/core/third/boost/multi_index/key_extractors.hpp | isuhao/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 197 | 2017-07-06T16:53:59.000Z | 2019-05-31T17:57:51.000Z | master/core/third/boost/multi_index/key_extractors.hpp | isuhao/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 148 | 2016-01-17T03:16:43.000Z | 2022-03-17T12:20:36.000Z | /* Copyright 2003-2008 Joaquin M Lopez Munoz.
* 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)
*
* See http://www.boost.org/libs/multi_index for library home page.
*/
#ifndef BOOST_MULTI_INDEX_KEY_EXTR... | 29.304348 | 68 | 0.75816 | importlib |
e56e739000697f26aaa388cec33081a9b2460c0b | 566 | hpp | C++ | Hurrican/src/enemies/Gegner_MittelSpinne.hpp | s1eve-mcdichae1/Hurrican | 3ed6ff9ee94d2ea2b79e451466d28f06d58acf19 | [
"MIT"
] | 21 | 2018-04-13T10:45:45.000Z | 2022-03-29T14:53:43.000Z | Hurrican/src/enemies/Gegner_MittelSpinne.hpp | s1eve-mcdichae1/Hurrican | 3ed6ff9ee94d2ea2b79e451466d28f06d58acf19 | [
"MIT"
] | 10 | 2021-06-30T14:29:36.000Z | 2022-01-06T17:03:48.000Z | Hurrican/src/enemies/Gegner_MittelSpinne.hpp | s1eve-mcdichae1/Hurrican | 3ed6ff9ee94d2ea2b79e451466d28f06d58acf19 | [
"MIT"
] | 3 | 2021-10-08T12:35:05.000Z | 2022-03-03T06:03:49.000Z | #ifndef _GEGNER_MITTELSPINNE_HPP_
#define _GEGNER_MITTELSPINNE_HPP_
#include "GegnerClass.hpp"
#include "enemies/Gegner_Stuff.hpp"
class GegnerMittelSpinne : public GegnerClass {
private:
float rot;
float WalkDelay;
float shotdelay;
float yStart;
public:
GegnerMittelSpinne(int Wert1, int Wert... | 25.727273 | 95 | 0.720848 | s1eve-mcdichae1 |
e56ec976b0a479af3b522542a9a6e4a91446641a | 9,077 | h++ | C++ | test/include/fizz-buzz++/buzz.class.test-case.h++ | cato-c3d2/fizz-buzzxx | daf1eb62e15faa7ae8ae5512b7a76d6bb0211d15 | [
"BSL-1.0"
] | 2 | 2022-02-15T05:43:28.000Z | 2022-02-15T15:34:15.000Z | test/include/fizz-buzz++/buzz.class.test-case.h++ | cato-c3d2/fizz-buzzxx | daf1eb62e15faa7ae8ae5512b7a76d6bb0211d15 | [
"BSL-1.0"
] | null | null | null | test/include/fizz-buzz++/buzz.class.test-case.h++ | cato-c3d2/fizz-buzzxx | daf1eb62e15faa7ae8ae5512b7a76d6bb0211d15 | [
"BSL-1.0"
] | null | null | null | /*!
* @file buzz.class.test-case.h++
*/
#ifndef TEST__INCLUDE__FIZZ_BUZZXX__BUZZ_CLASS_TEST_CASE_HXX
#define TEST__INCLUDE__FIZZ_BUZZXX__BUZZ_CLASS_TEST_CASE_HXX
#include <fizz-buzz++/buzz.class.h++>
BOOST_AUTO_TEST_SUITE(namespace__fizz_buzzxx)
using namespace fizz_buzzxx;
BOOST_AUTO_TEST_SUITE(class__Buzz)
/*... | 29.186495 | 65 | 0.626088 | cato-c3d2 |
e571b08a764c6f8907adc3720663d30c29e52bc4 | 4,035 | cpp | C++ | Official Windows Platform Sample/Windows 8.1 Store app samples/[C++]-Windows 8.1 Store app samples/File and folder thumbnail sample/C++/Constants.cpp | zzgchina888/msdn-code-gallery-microsoft | 21cb9b6bc0da3b234c5854ecac449cb3bd261f29 | [
"MIT"
] | 2 | 2022-01-21T01:40:58.000Z | 2022-01-21T01:41:10.000Z | Official Windows Platform Sample/Windows 8.1 Store app samples/[C++]-Windows 8.1 Store app samples/File and folder thumbnail sample/C++/Constants.cpp | zzgchina888/msdn-code-gallery-microsoft | 21cb9b6bc0da3b234c5854ecac449cb3bd261f29 | [
"MIT"
] | 1 | 2022-03-15T04:21:41.000Z | 2022-03-15T04:21:41.000Z | Official Windows Platform Sample/Windows 8.1 Store app samples/[C++]-Windows 8.1 Store app samples/File and folder thumbnail sample/C++/Constants.cpp | zzgchina888/msdn-code-gallery-microsoft | 21cb9b6bc0da3b234c5854ecac449cb3bd261f29 | [
"MIT"
] | null | null | null | //*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
... | 36.026786 | 171 | 0.658984 | zzgchina888 |
ec80f03d2fabd93d0ae37d7fbede1a273dbbe113 | 1,323 | cpp | C++ | backend/src/ServerPokerAlgorithmDelegate.cpp | caiqingfeng/libpoker | a2c60884fc5c8e31455fb39e432c49e0df55956b | [
"Apache-2.0"
] | 1 | 2021-04-20T06:22:30.000Z | 2021-04-20T06:22:30.000Z | backend/src/ServerPokerAlgorithmDelegate.cpp | caiqingfeng/libpoker | a2c60884fc5c8e31455fb39e432c49e0df55956b | [
"Apache-2.0"
] | null | null | null | backend/src/ServerPokerAlgorithmDelegate.cpp | caiqingfeng/libpoker | a2c60884fc5c8e31455fb39e432c49e0df55956b | [
"Apache-2.0"
] | 2 | 2020-10-29T08:21:22.000Z | 2020-12-02T06:40:18.000Z | /*
* ServerPokerAlgorithmDelegate.cpp
*
* Created on: 2013-7-31
* Author: caiqingfeng
*/
#include <boost/random.hpp>
#include <boost/generator_iterator.hpp>
#include <boost/regex.hpp>
#include "ServerPokerAlgorithmDelegate.h"
#include "holdem/src/LYHandStrength.h"
typedef boost::mt19937 LYRng; //random num... | 28.148936 | 85 | 0.770219 | caiqingfeng |
ec81b82d5d510b6e50c44aee4a73563eb1b50911 | 621 | cpp | C++ | Qt/1/40_qlistview/mainwindow.cpp | alientek-openedv/Embedded-Qt-Tutorial | 3c75142235b4d39c22e1ad56a5bd92d08c1a0d42 | [
"MIT"
] | 1 | 2022-02-21T03:19:36.000Z | 2022-02-21T03:19:36.000Z | Qt/1/40_qlistview/mainwindow.cpp | alientek-openedv/Embedded-Qt-Tutorial | 3c75142235b4d39c22e1ad56a5bd92d08c1a0d42 | [
"MIT"
] | null | null | null | Qt/1/40_qlistview/mainwindow.cpp | alientek-openedv/Embedded-Qt-Tutorial | 3c75142235b4d39c22e1ad56a5bd92d08c1a0d42 | [
"MIT"
] | 1 | 2021-10-19T04:03:56.000Z | 2021-10-19T04:03:56.000Z | #include "mainwindow.h"
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
{
/* 设置主窗口位置与大小 */
this->setGeometry(0, 0, 800, 480);
/* 实例化 */
listView = new QListView(this);
/* 将listView居中 */
setCentralWidget(listView);
QStringList strList;
strList<<"高三(1)班"<<"高三(2)班"<<"高三... | 19.40625 | 52 | 0.626409 | alientek-openedv |
ec82220d439387f1446be36c96834a23fa6e7926 | 4,840 | cpp | C++ | libs/ml/tests/ml/ops/activations/logsoftmax.cpp | n-hutton/ledger-1 | 909a81c415a73c38fb3d7f486dfcf93d7f87adaf | [
"Apache-2.0"
] | null | null | null | libs/ml/tests/ml/ops/activations/logsoftmax.cpp | n-hutton/ledger-1 | 909a81c415a73c38fb3d7f486dfcf93d7f87adaf | [
"Apache-2.0"
] | null | null | null | libs/ml/tests/ml/ops/activations/logsoftmax.cpp | n-hutton/ledger-1 | 909a81c415a73c38fb3d7f486dfcf93d7f87adaf | [
"Apache-2.0"
] | null | null | null | //------------------------------------------------------------------------------
//
// Copyright 2018-2019 Fetch.AI Limited
//
// 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
//
// ... | 38.110236 | 96 | 0.612603 | n-hutton |
ec85322ddfbe238902cc0ec3ed8c1a5fabe4d762 | 1,469 | cpp | C++ | mod/protect/main.cpp | mdenver9/bdlauncher-lts | 879656cf769b20300affa1fdf2dc232ce990e8b5 | [
"MIT"
] | null | null | null | mod/protect/main.cpp | mdenver9/bdlauncher-lts | 879656cf769b20300affa1fdf2dc232ce990e8b5 | [
"MIT"
] | null | null | null | mod/protect/main.cpp | mdenver9/bdlauncher-lts | 879656cf769b20300affa1fdf2dc232ce990e8b5 | [
"MIT"
] | null | null | null | #include <Loader.h>
#include "cmdhelper.h"
#include "base.h"
#include <fstream>
#include "seral.hpp"
#include <minecraft/json.h>
const char meta[] __attribute__((used, section("meta"))) =
"name:wprotect\n"
"version:20200121\n"
"author:sysca11\n"
"depend:base@20200121";
extern "C" {
BDL_EXPORT void mod... | 28.803922 | 112 | 0.689585 | mdenver9 |
ec88e657cc69754c27454dacacc8ae502fadde14 | 13,921 | cxx | C++ | ITS/ITSbase/AliITSDDLModuleMapSDD.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 52 | 2016-12-11T13:04:01.000Z | 2022-03-11T11:49:35.000Z | ITS/ITSbase/AliITSDDLModuleMapSDD.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 1,388 | 2016-11-01T10:27:36.000Z | 2022-03-30T15:26:09.000Z | ITS/ITSbase/AliITSDDLModuleMapSDD.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 275 | 2016-06-21T20:24:05.000Z | 2022-03-31T13:06:19.000Z | /**************************************************************************
* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... | 43.232919 | 93 | 0.577688 | AllaMaevskaya |
ec8be4649230e96ea5340f9cc32ab9e79579ca97 | 14,207 | inl | C++ | src/fonts/stb_font_arial_11_usascii.inl | stetre/moonfonts | 5c8010c02ea62edcf42902e09478b0cd14af56ea | [
"MIT"
] | 3 | 2018-03-13T12:51:57.000Z | 2021-10-11T11:32:17.000Z | src/fonts/stb_font_arial_11_usascii.inl | stetre/moonfonts | 5c8010c02ea62edcf42902e09478b0cd14af56ea | [
"MIT"
] | null | null | null | src/fonts/stb_font_arial_11_usascii.inl | stetre/moonfonts | 5c8010c02ea62edcf42902e09478b0cd14af56ea | [
"MIT"
] | null | null | null | // Font generated by stb_font_inl_generator.c (4/1 bpp)
//
// Following instructions show how to use the only included font, whatever it is, in
// a generic way so you can replace it with any other font by changing the include.
// To use multiple fonts, replace STB_SOMEFONT_* below with STB_FONT_arial_11_usascii_*,... | 54.43295 | 117 | 0.705427 | stetre |
ec8d82c7b2ecaf912126ff21d0f4285d77ec9f93 | 2,450 | cpp | C++ | test/phoenix/impl/ref_impl/threadspool.cpp | isj/sigmod | 8ffd3c50ac288aa12c05218d52b1f05eeb23a085 | [
"BSD-2-Clause"
] | 1 | 2015-11-27T05:56:25.000Z | 2015-11-27T05:56:25.000Z | test/phoenix/impl/ref_impl/threadspool.cpp | isj/sigmod | 8ffd3c50ac288aa12c05218d52b1f05eeb23a085 | [
"BSD-2-Clause"
] | null | null | null | test/phoenix/impl/ref_impl/threadspool.cpp | isj/sigmod | 8ffd3c50ac288aa12c05218d52b1f05eeb23a085 | [
"BSD-2-Clause"
] | null | null | null |
#include "threadspool.h"
#include <stdio.h>
#include <pthread.h>
#include <semaphore.h>
#include <deque>
using namespace std;
Threadspool thpool;
pthread_mutex_t mut_jobqueue;
pthread_mutex_t mut_count;
pthread_mutex_t mut_active;
sem_t * sem_finish;
int active;
void* FunctionThreads(void* message)
{
Threadspoo... | 18.014706 | 70 | 0.68449 | isj |
ec91f6e814fdbeb78d405ba952a02e6c209b2b36 | 10,718 | cpp | C++ | s12-machine-learning-pt2/01-markov-model-synthesis/src/main.cpp | pkmital/MTIID-MTEC-616-01-2017 | c5f7f24c531cda3a48dbd974f46c08fa504dd06d | [
"Apache-2.0"
] | 13 | 2017-01-16T07:16:51.000Z | 2019-07-19T04:11:36.000Z | s12-machine-learning-pt2/01-markov-model-synthesis/src/main.cpp | pkmital/MTIID-MTEC-616-01-2017 | c5f7f24c531cda3a48dbd974f46c08fa504dd06d | [
"Apache-2.0"
] | null | null | null | s12-machine-learning-pt2/01-markov-model-synthesis/src/main.cpp | pkmital/MTIID-MTEC-616-01-2017 | c5f7f24c531cda3a48dbd974f46c08fa504dd06d | [
"Apache-2.0"
] | 4 | 2017-05-29T15:43:45.000Z | 2019-07-19T04:11:42.000Z | /*
Markov Chain Concatenative Synthesis
1. recording:
- load a corpus of sound
- perform onset detection
- store as new audio segment
- window segment
2. analysis:
- find mean MFCCs of each segment
- "cluster" audio features
- describe each audio segment by its cluster, e.g. segment 120... | 31.247813 | 102 | 0.538533 | pkmital |
ec9314a5aeb3388e43ff408553a51b912e3b0c2a | 2,012 | cpp | C++ | merge_th.cpp | NashL/SortingAlgorithms | 9e84b1c887afbabb454a39ebcad796d69c5d5b69 | [
"Unlicense"
] | null | null | null | merge_th.cpp | NashL/SortingAlgorithms | 9e84b1c887afbabb454a39ebcad796d69c5d5b69 | [
"Unlicense"
] | null | null | null | merge_th.cpp | NashL/SortingAlgorithms | 9e84b1c887afbabb454a39ebcad796d69c5d5b69 | [
"Unlicense"
] | null | null | null | #include <iostream>
#include <stdlib.h>
#include <vector>
#include <algorithm>
#include <thread>
#include <iterator>
using namespace std;
int NN = 10000000;
void merge_m (int* array_n, int n_tam, int m_edio) {
int i, j, k;
int *aux = new int [n_tam];
for (i = 0, j = m_edio, k = 0; k < n_tam; k++... | 22.10989 | 55 | 0.554175 | NashL |
ec954cef9f62a35189e8446c66ee1afe3a74ea14 | 1,887 | cpp | C++ | src/cppLinqUnitTest/repeatTest.cpp | paolosev/cpplinq | 9d631e852ebb8f3a0f134524fb82abccd799a361 | [
"Apache-2.0"
] | null | null | null | src/cppLinqUnitTest/repeatTest.cpp | paolosev/cpplinq | 9d631e852ebb8f3a0f134524fb82abccd799a361 | [
"Apache-2.0"
] | null | null | null | src/cppLinqUnitTest/repeatTest.cpp | paolosev/cpplinq | 9d631e852ebb8f3a0f134524fb82abccd799a361 | [
"Apache-2.0"
] | null | null | null | // Copyright 2012 Paolo Severini
//
// 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... | 30.435484 | 85 | 0.590885 | paolosev |
ec9bd1f7532e3cb10aefdf12f170873b094cb106 | 715 | hpp | C++ | FIRMWARE/Core/Inc/CanHeaders/PM08-CANBUS-TELEMETRY.hpp | PUT-Motorsport/-PUTM_EV_BMS_LV_2022 | 03151dfe0462b5bddb7d4c4ec2cb2f28435096c1 | [
"Apache-2.0"
] | null | null | null | FIRMWARE/Core/Inc/CanHeaders/PM08-CANBUS-TELEMETRY.hpp | PUT-Motorsport/-PUTM_EV_BMS_LV_2022 | 03151dfe0462b5bddb7d4c4ec2cb2f28435096c1 | [
"Apache-2.0"
] | null | null | null | FIRMWARE/Core/Inc/CanHeaders/PM08-CANBUS-TELEMETRY.hpp | PUT-Motorsport/-PUTM_EV_BMS_LV_2022 | 03151dfe0462b5bddb7d4c4ec2cb2f28435096c1 | [
"Apache-2.0"
] | null | null | null | //Generated on Tue May 24 17:28:32 2022
#ifndef TELEMETRY
#define TELEMETRY
#include <cstdint>
namespace PUTM_CAN {
enum struct Telemetry_states: uint8_t {
Power_up,
Gathering_Data,
Transmitting,
};
struct __attribute__ ((packed)) Telemetry_Main{
uint8_t Hour; // Timestamp
uint8_t Minutes; // Timestamp
uint... | 21.029412 | 89 | 0.788811 | PUT-Motorsport |
ec9c045dfa5e7df18743b45b2db545b79871ac54 | 1,583 | hpp | C++ | simcore/simulation/library/output_manager.hpp | lamsoa729/simcore | daf7056cb0c17563ed0f6bdee343fa1f6cd59729 | [
"MIT"
] | null | null | null | simcore/simulation/library/output_manager.hpp | lamsoa729/simcore | daf7056cb0c17563ed0f6bdee343fa1f6cd59729 | [
"MIT"
] | null | null | null | simcore/simulation/library/output_manager.hpp | lamsoa729/simcore | daf7056cb0c17563ed0f6bdee343fa1f6cd59729 | [
"MIT"
] | null | null | null | #ifndef _SIMCORE_OUTPUT_MANAGER_H_
#define _SIMCORE_OUTPUT_MANAGER_H_
#include "auxiliary.hpp"
#include "object.hpp"
#include "species.hpp"
class OutputManager {
private:
bool posit_flag_ = false, spec_flag_ = false, checkpoint_flag_ = false,
thermo_flag_ = false, posits_only_ = false, reduce_flag_ = false,... | 30.442308 | 76 | 0.707517 | lamsoa729 |
eca0059ba51281e4a74db90c2ab9705c96253a9d | 10,704 | cc | C++ | test/unit_tests/data_structures/set_test.cc | mminutoli/SHAD | 21c0a77933a29deca61fffea3f9caba44319086f | [
"Apache-2.0"
] | 93 | 2017-11-10T23:13:47.000Z | 2022-03-17T20:00:43.000Z | test/unit_tests/data_structures/set_test.cc | mminutoli/SHAD | 21c0a77933a29deca61fffea3f9caba44319086f | [
"Apache-2.0"
] | 159 | 2017-11-11T00:45:18.000Z | 2022-03-06T00:12:09.000Z | test/unit_tests/data_structures/set_test.cc | mminutoli/SHAD | 21c0a77933a29deca61fffea3f9caba44319086f | [
"Apache-2.0"
] | 24 | 2017-11-11T00:49:30.000Z | 2022-01-21T05:55:24.000Z | //===------------------------------------------------------------*- C++ -*-===//
//
// SHAD
//
// The Scalable High-performance Algorithms and Data Structure Library
//
//===----------------------------------------------------------------------===//
//
// Copyright 2018 Battelle... | 32.436364 | 80 | 0.610519 | mminutoli |
eca0f4e77ade4c700cfa2c91dc270601775b151f | 9,553 | hpp | C++ | include/boost/tree/inorder_algorithms.hpp | grafikrobot/tree | d0789baccaebbf95dc0106e5112f2209a74df880 | [
"BSL-1.0"
] | 3 | 2019-11-20T15:38:26.000Z | 2021-02-09T01:36:01.000Z | include/boost/tree/inorder_algorithms.hpp | grafikrobot/tree | d0789baccaebbf95dc0106e5112f2209a74df880 | [
"BSL-1.0"
] | null | null | null | include/boost/tree/inorder_algorithms.hpp | grafikrobot/tree | d0789baccaebbf95dc0106e5112f2209a74df880 | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2006-2009, Bernhard Reiter
//
// 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)
/**
* @file inorder_algorithms.hpp
* Subtree intorder traversal and search algorithms
*/
#ifndef BOOST_TREE_... | 25.542781 | 81 | 0.632367 | grafikrobot |
eca2e4a9785c7cf8fe3bc3cbf434d19c29572eba | 4,051 | cpp | C++ | dev/test/so_5/coop/parent_child_4/main.cpp | eao197/so-5-5 | fa0c31c84d2637dce04e13a155040150d505fbbd | [
"BSL-1.0"
] | 76 | 2016-03-25T15:22:03.000Z | 2022-02-03T15:11:43.000Z | test/so_5/coop/parent_child_4/main.cpp | sigman78/sobjectizer | d81c20a1264582e427a9a35d212361425fc34277 | [
"BSD-3-Clause"
] | 19 | 2017-03-09T19:21:53.000Z | 2021-02-24T13:02:18.000Z | test/so_5/coop/parent_child_4/main.cpp | sigman78/sobjectizer | d81c20a1264582e427a9a35d212361425fc34277 | [
"BSD-3-Clause"
] | 21 | 2016-09-23T10:01:09.000Z | 2020-08-31T12:01:10.000Z | /*
* A test for inability to deregister parent cooperation during
* child cooperation registration.
*/
#include <iostream>
#include <sstream>
#include <so_5/all.hpp>
#include "test/so_5/svc/a_time_sentinel.hpp"
struct msg_parent_started : public so_5::signal_t {};
struct msg_initiate_dereg : public so_5::signal... | 19.665049 | 66 | 0.655641 | eao197 |
eca56b876c0d678e49f711cf5c535198da66c7a1 | 6,490 | cpp | C++ | src/nonlinear_elastic_energy.cpp | liuwei792966953/stitch | 108e3dbd3410331c741c7cb166f93bbffa11b369 | [
"Zlib"
] | 1 | 2021-01-23T05:20:09.000Z | 2021-01-23T05:20:09.000Z | src/nonlinear_elastic_energy.cpp | liuwei792966953/stitch | 108e3dbd3410331c741c7cb166f93bbffa11b369 | [
"Zlib"
] | null | null | null | src/nonlinear_elastic_energy.cpp | liuwei792966953/stitch | 108e3dbd3410331c741c7cb166f93bbffa11b369 | [
"Zlib"
] | null | null | null |
#include "nonlinear_elastic_energy.hpp"
#include <Eigen/Dense>
using namespace std;
using namespace Eigen;
void NonlinearElasticEnergy::precompute(const TriMesh& mesh)
{
elements_.resize(mesh.f.rows());
Mat3x2d selector;
selector << 0.0, 0.0,
1.0, 0.0,
0.0, 1.0;
fo... | 38.630952 | 109 | 0.473344 | liuwei792966953 |
eca660f3f14a40dabb3f61271fe0a1d1c7402fae | 367 | hpp | C++ | Hyades/src/EntryPoint.hpp | nbrockett/hyades | 18d2218501d1352a88df187efec282174c46d3e0 | [
"MIT"
] | null | null | null | Hyades/src/EntryPoint.hpp | nbrockett/hyades | 18d2218501d1352a88df187efec282174c46d3e0 | [
"MIT"
] | null | null | null | Hyades/src/EntryPoint.hpp | nbrockett/hyades | 18d2218501d1352a88df187efec282174c46d3e0 | [
"MIT"
] | null | null | null | #pragma once
#include "Logger.hpp"
extern Hyades::Application* Hyades::createApplication();
int main()
{
Hyades::Logger::init();
Hyades::Logger::s_logger->info("starting app");
// create a Hyades instance
Hyades::Application* app = Hyades::createApplication();
// run the main loop
app ->... | 19.315789 | 59 | 0.643052 | nbrockett |
eca8208d0576f752675b587e508a6e944580f038 | 1,623 | cpp | C++ | Server/relatko-ba-graph-52fc092b557e/test/graphs/test_trees.cpp | RadoslavSmarzik/graph-editor | 7441f4768269131e5e9636819f1bf27ae9d6013d | [
"MIT"
] | null | null | null | Server/relatko-ba-graph-52fc092b557e/test/graphs/test_trees.cpp | RadoslavSmarzik/graph-editor | 7441f4768269131e5e9636819f1bf27ae9d6013d | [
"MIT"
] | null | null | null | Server/relatko-ba-graph-52fc092b557e/test/graphs/test_trees.cpp | RadoslavSmarzik/graph-editor | 7441f4768269131e5e9636819f1bf27ae9d6013d | [
"MIT"
] | null | null | null | #include "implementation.h"
#include <graphs/trees.hpp>
#include <invariants/girth.hpp>
#include <invariants/distance.hpp>
#include <cassert>
#include <set>
using namespace ba_graph;
int main()
{
Factory f;
Graph G1 = tree(1, 0, f);
assert(G1.order() == 1);
assert(G1.size() == 0);
assert(girth(... | 24.590909 | 49 | 0.521873 | RadoslavSmarzik |
eca974eeca45c1c01479e604c54de0f37e020e03 | 635 | cpp | C++ | libraries/libwidget/Label.cpp | AptRock327/skift | 1c8192ab2d3b3f2688128bf7a85b46dbcdcb7cb3 | [
"MIT"
] | null | null | null | libraries/libwidget/Label.cpp | AptRock327/skift | 1c8192ab2d3b3f2688128bf7a85b46dbcdcb7cb3 | [
"MIT"
] | null | null | null | libraries/libwidget/Label.cpp | AptRock327/skift | 1c8192ab2d3b3f2688128bf7a85b46dbcdcb7cb3 | [
"MIT"
] | null | null | null | #include <libgraphic/Painter.h>
#include <libsystem/core/CString.h>
#include <libwidget/Label.h>
#include <libwidget/Window.h>
Label::Label(Widget *parent, String text)
: Label(parent, text, Anchor::LEFT)
{
}
Label::Label(Widget *parent, String text, Anchor anchor)
: Widget(parent)
{
_text = text;
_an... | 19.84375 | 72 | 0.650394 | AptRock327 |
ecaf67bcf338ea8bf5784a21e306aa267637cd18 | 1,420 | hpp | C++ | ros/catkin_ws/src/ecl/ecl_core/ecl_devices/include/ecl/devices/socket_connection_status.hpp | Kanaderu/spiking-ddpg-mapless-navigation | 2b5e7e67385dee4428b8036bc4ffe95e812b34e0 | [
"MIT"
] | null | null | null | ros/catkin_ws/src/ecl/ecl_core/ecl_devices/include/ecl/devices/socket_connection_status.hpp | Kanaderu/spiking-ddpg-mapless-navigation | 2b5e7e67385dee4428b8036bc4ffe95e812b34e0 | [
"MIT"
] | null | null | null | ros/catkin_ws/src/ecl/ecl_core/ecl_devices/include/ecl/devices/socket_connection_status.hpp | Kanaderu/spiking-ddpg-mapless-navigation | 2b5e7e67385dee4428b8036bc4ffe95e812b34e0 | [
"MIT"
] | null | null | null | /**
* @file /include/ecl/devices/socket_connection_status.hpp
*
* @brief Various connection status flags.
*
* @date January 2010
**/
/*****************************************************************************
** Ifdefs
*****************************************************************************/
#ifndef ECL_... | 34.634146 | 140 | 0.399296 | Kanaderu |
ecaf78f09b59dd624cd7225ea053c0e9ae6e7e01 | 565 | cpp | C++ | external/OpenGP/examples/surface_mesh_c++11.cpp | MessCoder/CSC-305 | 71d64472dcac1eac6402a2650ec37e15b5643312 | [
"MIT"
] | null | null | null | external/OpenGP/examples/surface_mesh_c++11.cpp | MessCoder/CSC-305 | 71d64472dcac1eac6402a2650ec37e15b5643312 | [
"MIT"
] | null | null | null | external/OpenGP/examples/surface_mesh_c++11.cpp | MessCoder/CSC-305 | 71d64472dcac1eac6402a2650ec37e15b5643312 | [
"MIT"
] | null | null | null | /// Barycenter example re-written with C++11 syntax
#include <OpenGP/MLogger.h>
#include <OpenGP/SurfaceMesh/SurfaceMesh.h>
using namespace OpenGP;
using namespace std;
int main(int argc, char** argv) {
std::string file = (argc>1) ? argv[1] : "bunny.obj";
SurfaceMesh mesh;
bool success = mesh.read(file);
... | 25.681818 | 60 | 0.635398 | MessCoder |
ecb1d9d3d2719d30bc97b7ee28c5596bdae71f59 | 845 | hpp | C++ | JXCoreTests/VM_Impl.hpp | agrippa1994/Multiple-JXCore-VMs | bf258c1d00f89bbcdb742b21da1149a04bed6f37 | [
"MIT"
] | 1 | 2016-04-18T11:44:39.000Z | 2016-04-18T11:44:39.000Z | JXCoreTests/VM_Impl.hpp | agrippa1994/Multiple-JXCore-VMs | bf258c1d00f89bbcdb742b21da1149a04bed6f37 | [
"MIT"
] | null | null | null | JXCoreTests/VM_Impl.hpp | agrippa1994/Multiple-JXCore-VMs | bf258c1d00f89bbcdb742b21da1149a04bed6f37 | [
"MIT"
] | null | null | null | #pragma once
template<typename ...T>
std::shared_ptr<VM> VM::createVM(T&&... args) {
auto vm = std::shared_ptr<VM>(new VM(args...));
virtualMachines_[vm->id_] = vm;
return vm;
}
template<class RetType, class T, class, class ...P>
RetType VM::executeWithReturn(T fnc, P&&... args) {
RetType val;
queue_.dispatch_sy... | 24.142857 | 83 | 0.623669 | agrippa1994 |
ecb84dae67f7f6c9b20d36eb0d117c6265ec87c9 | 22,868 | inl | C++ | external/gli/gli/core/gl.inl | dawnarc/VulkanSponza | 6bf382b616ddcab68fd8754252e4bca42471bf85 | [
"MIT"
] | 153 | 2016-07-05T02:07:22.000Z | 2022-03-12T14:51:57.000Z | external/gli/gli/core/gl.inl | dawnarc/VulkanSponza | 6bf382b616ddcab68fd8754252e4bca42471bf85 | [
"MIT"
] | 7 | 2018-02-12T12:16:08.000Z | 2020-10-22T03:26:59.000Z | external/gli/gli/core/gl.inl | dawnarc/VulkanSponza | 6bf382b616ddcab68fd8754252e4bca42471bf85 | [
"MIT"
] | 38 | 2016-05-21T10:07:43.000Z | 2022-01-28T12:19:25.000Z | ///////////////////////////////////////////////////////////////////////////////////
/// OpenGL Image (gli.g-truc.net)
///
/// Copyright (c) 2008 - 2015 G-Truc Creation (www.g-truc.net)
/// Permission is hereby granted, free of charge, to any person obtaining a copy
/// of this software and associated documentation... | 88.635659 | 169 | 0.762244 | dawnarc |
ecc120e722f756f10660662ebff4d73d42d5d99f | 331 | cpp | C++ | binary search/findPivot.cpp | 19hkm/algorithms | 6b4494ca9165e77b9c2672d88e8a89838e8eef8f | [
"MIT"
] | null | null | null | binary search/findPivot.cpp | 19hkm/algorithms | 6b4494ca9165e77b9c2672d88e8a89838e8eef8f | [
"MIT"
] | null | null | null | binary search/findPivot.cpp | 19hkm/algorithms | 6b4494ca9165e77b9c2672d88e8a89838e8eef8f | [
"MIT"
] | null | null | null | public int findPivot(int[] arr) {
int n=arr.length, b=1, e=n-1, mid=0;
if(n==1 || arr[0]<arr[e]) return arr[0];
while(b<=e) {
mid = b + (e-b)/2;
if(arr[mid-1]>arr[mid]) break;
else if(arr[mid]>arr[0]) b=mid+1;
else e=mid-1;
}
return... | 30.090909 | 48 | 0.425982 | 19hkm |
ecc795335fd1ae696af07c8ddfce85db93d79b0c | 5,045 | cpp | C++ | src/jnc_ct/jnc_ct_TypeMgr/jnc_ct_FunctionPtrType.cpp | vovkos/jancy | df693ef8072aeb4280d771a7d146041978ffce1f | [
"MIT"
] | 48 | 2017-04-21T15:55:22.000Z | 2021-11-19T16:40:25.000Z | src/jnc_ct/jnc_ct_TypeMgr/jnc_ct_FunctionPtrType.cpp | vovkos/jancy | df693ef8072aeb4280d771a7d146041978ffce1f | [
"MIT"
] | 5 | 2018-09-18T07:43:46.000Z | 2021-07-31T15:41:09.000Z | src/jnc_ct/jnc_ct_TypeMgr/jnc_ct_FunctionPtrType.cpp | vovkos/jancy | df693ef8072aeb4280d771a7d146041978ffce1f | [
"MIT"
] | 11 | 2018-10-06T11:33:43.000Z | 2022-03-04T10:16:23.000Z | //..............................................................................
//
// This file is part of the Jancy toolkit.
//
// Jancy is distributed under the MIT license.
// For details see accompanying license.txt file,
// the public copy of which is also available at:
// http://tibbo.com/downloads/archive/... | 28.184358 | 103 | 0.695937 | vovkos |
ecc821d00202e59135bdc5a142440cf538721eb1 | 36,038 | cpp | C++ | Source/Decoda/libs/wxWidgets/src/common/dcbase.cpp | KoSukeWork/BabeLua | 0904f8ba15174fcfe88d75e37349c4f4f15403ef | [
"MIT"
] | null | null | null | Source/Decoda/libs/wxWidgets/src/common/dcbase.cpp | KoSukeWork/BabeLua | 0904f8ba15174fcfe88d75e37349c4f4f15403ef | [
"MIT"
] | null | null | null | Source/Decoda/libs/wxWidgets/src/common/dcbase.cpp | KoSukeWork/BabeLua | 0904f8ba15174fcfe88d75e37349c4f4f15403ef | [
"MIT"
] | 1 | 2020-12-07T13:47:47.000Z | 2020-12-07T13:47:47.000Z | /////////////////////////////////////////////////////////////////////////////
// Name: src/common/dcbase.cpp
// Purpose: generic methods of the wxDC Class
// Author: Vadim Zeitlin
// Modified by:
// Created: 05/25/99
// RCS-ID: $Id: dcbase.cpp 56135 2008-10-06 21:04:02Z VZ $
// Copyright: (c)... | 30.670638 | 110 | 0.504079 | KoSukeWork |
eccd6c85d680159ecc6bb0c0493500b464414bd3 | 2,232 | hpp | C++ | protean/binary_reader.hpp | llawall/protean | 31496f177704dc31b24cda5863e5ca921f5f0945 | [
"BSL-1.0"
] | null | null | null | protean/binary_reader.hpp | llawall/protean | 31496f177704dc31b24cda5863e5ca921f5f0945 | [
"BSL-1.0"
] | null | null | null | protean/binary_reader.hpp | llawall/protean | 31496f177704dc31b24cda5863e5ca921f5f0945 | [
"BSL-1.0"
] | null | null | null | // (C) Copyright Johan Ditmar, Karel Hruda, Paul O'Neill & Luke Stedman 2009.
// 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).
#ifndef PROTEAN_BINARY_READER_HPP
#define PROTEA... | 29.76 | 89 | 0.607527 | llawall |
eccfd075584fc34c795b518b9ca81cbce7b8bdd0 | 1,051 | cpp | C++ | C++ProgrammingBasic/00 namespace(4)/00 namespace(4).cpp | chowon986/Study | f92f026e412e61c0a75c0127420aa8fedcf0b621 | [
"MIT"
] | null | null | null | C++ProgrammingBasic/00 namespace(4)/00 namespace(4).cpp | chowon986/Study | f92f026e412e61c0a75c0127420aa8fedcf0b621 | [
"MIT"
] | null | null | null | C++ProgrammingBasic/00 namespace(4)/00 namespace(4).cpp | chowon986/Study | f92f026e412e61c0a75c0127420aa8fedcf0b621 | [
"MIT"
] | null | null | null | #include <iostream>
namespace Video
{
void init()
{
}
namespace Render
{
void start()
{
}
}
}
int main()
{
Video::init();
Video::Render::start();
//using namespace Video;
// init();
// Render::start;
}
/* namespace는 중첩(nested)이 가능하다.
C++ 표준 names... | 18.12069 | 87 | 0.566127 | chowon986 |
ecd8164f1bbb61839f53603dc8f8f65093eeb4ca | 77,136 | cpp | C++ | moveit_cartesian_plan_plugin/src/add_way_point.cpp | peanut-robotics/fermi | 93812b14d1d9572170855e798aefb6783354db61 | [
"Apache-2.0"
] | null | null | null | moveit_cartesian_plan_plugin/src/add_way_point.cpp | peanut-robotics/fermi | 93812b14d1d9572170855e798aefb6783354db61 | [
"Apache-2.0"
] | null | null | null | moveit_cartesian_plan_plugin/src/add_way_point.cpp | peanut-robotics/fermi | 93812b14d1d9572170855e798aefb6783354db61 | [
"Apache-2.0"
] | null | null | null |
#include <moveit_cartesian_plan_plugin/add_way_point.hpp>
namespace moveit_cartesian_plan_plugin
{
AddWayPoint::AddWayPoint(QWidget *parent) : rviz::Panel(parent) //, tf_()
{
/*! The constructor sets the Object name, resets the Interactive Marker server.
It initialize the subscriber to the mouse click to... | 38.054267 | 269 | 0.690534 | peanut-robotics |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.