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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a948bd94ab06a58af8897df7319c40a0a7d97467 | 4,230 | hpp | C++ | mapproxy/src/mapproxy/support/metatile.hpp | maka-io/vts-mapproxy | 13c70b1bd2013d76b387900fae839e3948e741c3 | [
"BSD-2-Clause"
] | null | null | null | mapproxy/src/mapproxy/support/metatile.hpp | maka-io/vts-mapproxy | 13c70b1bd2013d76b387900fae839e3948e741c3 | [
"BSD-2-Clause"
] | null | null | null | mapproxy/src/mapproxy/support/metatile.hpp | maka-io/vts-mapproxy | 13c70b1bd2013d76b387900fae839e3948e741c3 | [
"BSD-2-Clause"
] | null | null | null | /**
* 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... | 35.546218 | 78 | 0.668085 | maka-io |
a94b05d89d40490fc932e6788c489c61c42e2e48 | 2,005 | hpp | C++ | altona_config.hpp | kebby/Werkkzeug4 | f2ff557020d62c348b54d88e137999175b5c18a3 | [
"BSD-2-Clause"
] | 10 | 2020-11-26T09:45:15.000Z | 2022-03-18T00:18:27.000Z | altona_config.hpp | kebby/Werkkzeug4 | f2ff557020d62c348b54d88e137999175b5c18a3 | [
"BSD-2-Clause"
] | null | null | null | altona_config.hpp | kebby/Werkkzeug4 | f2ff557020d62c348b54d88e137999175b5c18a3 | [
"BSD-2-Clause"
] | 3 | 2020-01-02T19:11:44.000Z | 2022-03-18T00:21:45.000Z | /****************************************************************************/
/*** ***/
/*** Altona main configuration file. ***/
/*** ***/
/***... | 44.555556 | 112 | 0.373067 | kebby |
a94bb8233adf874ddb31cd7d38d1488096bcf311 | 1,440 | hpp | C++ | examples/sill/vr-puzzle/frame.hpp | Breush/lava | 1b1b1f0785300b93b4a9f35fca4490502fea6552 | [
"MIT"
] | 15 | 2018-02-26T08:20:03.000Z | 2022-03-06T03:25:46.000Z | examples/sill/vr-puzzle/frame.hpp | Breush/lava | 1b1b1f0785300b93b4a9f35fca4490502fea6552 | [
"MIT"
] | 32 | 2018-02-26T08:26:38.000Z | 2020-09-12T17:09:38.000Z | examples/sill/vr-puzzle/frame.hpp | Breush/lava | 1b1b1f0785300b93b4a9f35fca4490502fea6552 | [
"MIT"
] | null | null | null | #pragma once
#include <lava/sill.hpp>
#include <nlohmann/json.hpp>
struct GameState;
class Frame {
public:
Frame(GameState& gameState);
Frame(const Frame&) = delete;
Frame& operator=(const Frame&) = delete;
/// Create a frame.
static Frame& make(GameState& gameState);
/// Prepare the frame ... | 33.488372 | 120 | 0.709028 | Breush |
a94d08e7f1f4872b68209b77babad5630b68215f | 6,338 | cpp | C++ | data/52.cpp | TianyiChen/rdcpp-data | 75c6868c876511e3ce143fdc3c08ddd74c7aa4ea | [
"MIT"
] | null | null | null | data/52.cpp | TianyiChen/rdcpp-data | 75c6868c876511e3ce143fdc3c08ddd74c7aa4ea | [
"MIT"
] | null | null | null | data/52.cpp | TianyiChen/rdcpp-data | 75c6868c876511e3ce143fdc3c08ddd74c7aa4ea | [
"MIT"
] | null | null | null | int Jn, ZjHQ/*Y*//*dEky*/
,H , lAIw,
Mb4p ,
Rfpqw,s ,e6k,zuS,sSjf
/*T*//**/
,IBH
, dg4 ,Vhk, iLTc
,X5YU, F4, hL /*2jtUXBP*/,
oHs ,
JC,MHO, joPQ
, zOHJ ;
void
f_f0
() {;//0uh
{ {
int VTT;
volatile int N
,/*kec*/ n , Q,O
;
{
for(int i=1 ;
i<
1 ;++i//zYj
){} {
for
(int i=1;i<2
;++i//X
)
//... | 10.373159 | 69 | 0.456453 | TianyiChen |
a9502feb3e45152639b936352d0e4a4acc27db05 | 626 | cpp | C++ | Source/TTreeNodeStack.cpp | poissonconsulting/RadCon | acbbb974ececbabddd3da91768744bf31982bf93 | [
"MIT"
] | 1 | 2021-12-26T13:32:52.000Z | 2021-12-26T13:32:52.000Z | Source/TTreeNodeStack.cpp | joethorley/RadCon | acbbb974ececbabddd3da91768744bf31982bf93 | [
"MIT"
] | 1 | 2015-02-02T19:28:20.000Z | 2015-02-02T19:28:20.000Z | Source/TTreeNodeStack.cpp | poissonconsulting/RadCon | acbbb974ececbabddd3da91768744bf31982bf93 | [
"MIT"
] | null | null | null | #include "TTreeNodeStack.h"
TTreeNodeStack& TTreeNodeStack::operator = (const TTreeNodeStack& treeNodeStack)
{
fStack = treeNodeStack.fStack;
return (*this);
}
void TTreeNodeStack::Pop (TTreeNode*& item)
{
TObject* obj = NULL;
fStack.Pop (obj);
item = (TTreeNode*)obj;
}
void TTreeNodeStack::Top (const TTreeNod... | 626 | 626 | 0.714058 | poissonconsulting |
a951e001cfe5b4ebabed0c9303b5a0121317ef1a | 427 | cpp | C++ | src/main.cpp | scotto3394/go-bot | b4f45fc796160c7f1e1c8bb593fc1a6c48bc9365 | [
"MIT"
] | null | null | null | src/main.cpp | scotto3394/go-bot | b4f45fc796160c7f1e1c8bb593fc1a6c48bc9365 | [
"MIT"
] | null | null | null | src/main.cpp | scotto3394/go-bot | b4f45fc796160c7f1e1c8bb593fc1a6c48bc9365 | [
"MIT"
] | null | null | null | #include <iostream>
#include "include/rules.hpp"
#include "include/helper.hpp"
int main(int argc, char **argv)
{
std::ios::sync_with_stdio(false);
Game game(BoardSize::SMALL, atoi(argv[1]));
while (true)
{
size_t c, r;
game.render();
input_play(game, game.get_turn());
i... | 20.333333 | 47 | 0.548009 | scotto3394 |
a95951225ff22873115c9c2b150972321e27f66a | 2,711 | hh | C++ | src/project.hh | LeszekSwirski/ccls | a10d53071ce678a28d9444a6325605d6e22f589f | [
"Apache-2.0"
] | null | null | null | src/project.hh | LeszekSwirski/ccls | a10d53071ce678a28d9444a6325605d6e22f589f | [
"Apache-2.0"
] | null | null | null | src/project.hh | LeszekSwirski/ccls | a10d53071ce678a28d9444a6325605d6e22f589f | [
"Apache-2.0"
] | null | null | null | /* Copyright 2017-2018 ccls Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software... | 33.469136 | 80 | 0.704168 | LeszekSwirski |
a95c4a434df29fdba686b0aa8111a8bf6d41ee6c | 338 | hpp | C++ | falcon/helper/use_difference_type.hpp | jonathanpoelen/falcon | 5b60a39787eedf15b801d83384193a05efd41a89 | [
"MIT"
] | 2 | 2018-02-02T14:19:59.000Z | 2018-05-13T02:48:24.000Z | falcon/helper/use_difference_type.hpp | jonathanpoelen/falcon | 5b60a39787eedf15b801d83384193a05efd41a89 | [
"MIT"
] | null | null | null | falcon/helper/use_difference_type.hpp | jonathanpoelen/falcon | 5b60a39787eedf15b801d83384193a05efd41a89 | [
"MIT"
] | null | null | null | #ifndef FALCON_HELPER_USE_DIFFERENCE_TYPE_HPP
#define FALCON_HELPER_USE_DIFFERENCE_TYPE_HPP
#include <falcon/type_traits/use_def.hpp>
namespace falcon {
namespace _aux {
FALCON_USE_XXX_TRAIT_NAMED_DEF(difference_type, use_difference_type);
}
template <class T>
struct use_difference_type
: _aux::use_difference_type<... | 16.9 | 69 | 0.828402 | jonathanpoelen |
a96d3f67fa71635807792fd2038e9c3b8deb3d28 | 355 | cc | C++ | 01_Basics/Variables3.cc | SEEM87/UdemyCpp | b1fe398c7134c74760341c9620eabca6c64043a9 | [
"MIT"
] | 14 | 2020-12-18T20:00:49.000Z | 2022-02-23T12:44:26.000Z | 01_Basics/Variables3.cc | SEEM87/UdemyCpp | b1fe398c7134c74760341c9620eabca6c64043a9 | [
"MIT"
] | null | null | null | 01_Basics/Variables3.cc | SEEM87/UdemyCpp | b1fe398c7134c74760341c9620eabca6c64043a9 | [
"MIT"
] | 56 | 2020-11-07T20:14:22.000Z | 2022-03-31T12:36:09.000Z | #include <iostream>
int main()
{
// 1 Byte = 8bit
bool my_value0 = true; // false
// 1 Byte = 8bit
char my_value1 = 10;
// 2 Byte = 16bit
short my_value2 = 42;
// 4 Byte = 32bit
int my_value3 = 22;
// 4 Byte = 32bit
float my_value4 = 12.0f;
// 8 Byte = 64bit
double ... | 14.2 | 35 | 0.535211 | SEEM87 |
a96d9b4f9ac6218ac8509ce53b7741a842560504 | 899 | cpp | C++ | DSAA2/TestFastDisjSets.cpp | crosslife/DSAA | 03472db6e61582187192073b6ea4649b6195222b | [
"MIT"
] | 5 | 2017-03-30T23:23:08.000Z | 2020-11-08T00:34:46.000Z | DSAA2/TestFastDisjSets.cpp | crosslife/DSAA | 03472db6e61582187192073b6ea4649b6195222b | [
"MIT"
] | null | null | null | DSAA2/TestFastDisjSets.cpp | crosslife/DSAA | 03472db6e61582187192073b6ea4649b6195222b | [
"MIT"
] | 1 | 2019-04-12T13:17:31.000Z | 2019-04-12T13:17:31.000Z | #include <iostream.h>
#include "DisjSets.h"
// Test main; all finds on same output line should be identical
int main( )
{
int numElements = 128;
int numInSameSet = 16;
DisjSets ds( numElements );
int set1, set2;
for( ... | 27.242424 | 71 | 0.362625 | crosslife |
a96f83fa944ce9f5991efb911079510f47668262 | 6,810 | cpp | C++ | hamlet/utilities.cpp | delta4k/infinitelemurs | f0e09dcfdcf3b3e562775a7f6c8b979fed222038 | [
"Apache-2.0"
] | null | null | null | hamlet/utilities.cpp | delta4k/infinitelemurs | f0e09dcfdcf3b3e562775a7f6c8b979fed222038 | [
"Apache-2.0"
] | null | null | null | hamlet/utilities.cpp | delta4k/infinitelemurs | f0e09dcfdcf3b3e562775a7f6c8b979fed222038 | [
"Apache-2.0"
] | null | null | null |
/*****************************************************************************\
Copyright (c) 2011-2017
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.apach... | 30 | 100 | 0.483847 | delta4k |
a972820ceae78b393e924d578b031d5218c3d373 | 19,771 | cpp | C++ | test/test_style.cpp | fargies/rapidyaml | 6fd373c860b1eef3b190a521acabebc2fd2dcb04 | [
"MIT"
] | null | null | null | test/test_style.cpp | fargies/rapidyaml | 6fd373c860b1eef3b190a521acabebc2fd2dcb04 | [
"MIT"
] | null | null | null | test/test_style.cpp | fargies/rapidyaml | 6fd373c860b1eef3b190a521acabebc2fd2dcb04 | [
"MIT"
] | null | null | null | #ifndef RYML_SINGLE_HEADER
#include "c4/yml/std/std.hpp"
#include "c4/yml/parse.hpp"
#include "c4/yml/emit.hpp"
#include <c4/format.hpp>
#include <c4/yml/detail/checks.hpp>
#include <c4/yml/detail/print.hpp>
#endif
#include "./test_case.hpp"
#include <gtest/gtest.h>
namespace c4 {
namespace yml {
std::string emit2s... | 32.04376 | 91 | 0.530019 | fargies |
a973eeb8b5a9e4755937fe237f6a9d598744d314 | 26,091 | cc | C++ | src/storage/fshost/block-watcher-test.cc | oshunter/fuchsia | 2196fc8c176d01969466b97bba3f31ec55f7767b | [
"BSD-3-Clause"
] | 2 | 2020-08-16T15:32:35.000Z | 2021-11-07T20:09:46.000Z | src/storage/fshost/block-watcher-test.cc | oshunter/fuchsia | 2196fc8c176d01969466b97bba3f31ec55f7767b | [
"BSD-3-Clause"
] | null | null | null | src/storage/fshost/block-watcher-test.cc | oshunter/fuchsia | 2196fc8c176d01969466b97bba3f31ec55f7767b | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <fuchsia/device/llcpp/fidl.h>
#include <fuchsia/fshost/llcpp/fidl.h>
#include <lib/devmgr-integration-test/fixture.h>
#include <lib/driver-integra... | 33.928479 | 99 | 0.722126 | oshunter |
a974357023fc1fe8281e98082fb732e715eb2cab | 700 | cpp | C++ | source/flow/audio-source-impl.cpp | Breush/lava | 1b1b1f0785300b93b4a9f35fca4490502fea6552 | [
"MIT"
] | 15 | 2018-02-26T08:20:03.000Z | 2022-03-06T03:25:46.000Z | source/flow/audio-source-impl.cpp | Breush/lava | 1b1b1f0785300b93b4a9f35fca4490502fea6552 | [
"MIT"
] | 32 | 2018-02-26T08:26:38.000Z | 2020-09-12T17:09:38.000Z | source/flow/audio-source-impl.cpp | Breush/lava | 1b1b1f0785300b93b4a9f35fca4490502fea6552 | [
"MIT"
] | null | null | null | #include "./audio-source-impl.hpp"
#include "./audio-engine-impl.hpp"
using namespace lava::flow;
AudioSource::Impl::Impl(AudioEngine::Impl& engine)
: m_engine(engine)
{
}
void AudioSource::Impl::playing(bool playing)
{
m_playing = playing;
playing ? restart() : finish();
}
void AudioSource::Impl::loop... | 16.666667 | 59 | 0.648571 | Breush |
a9747aa1bf77b04a7d6c15d9fb3132517e1e0429 | 3,699 | cpp | C++ | trunk/knewcode/kc_web_plugins/kc_web_page_data_expr/expr_item_if.cpp | zogyzen/knewcode | bd414a52330cde040ceaf91d1b380c402b2814b4 | [
"Apache-2.0"
] | null | null | null | trunk/knewcode/kc_web_plugins/kc_web_page_data_expr/expr_item_if.cpp | zogyzen/knewcode | bd414a52330cde040ceaf91d1b380c402b2814b4 | [
"Apache-2.0"
] | null | null | null | trunk/knewcode/kc_web_plugins/kc_web_page_data_expr/expr_item_if.cpp | zogyzen/knewcode | bd414a52330cde040ceaf91d1b380c402b2814b4 | [
"Apache-2.0"
] | null | null | null | #include "std.h"
#include "expr_item_if.h"
////////////////////////////////////////////////////////////////////////////////
// TOperandNode类
KC::TOperandNode::TOperandNode(IExprTreeWork& wk, IWebPageData& pd, const TKcSynBaseClass& syn)
: m_work(wk), m_pd(pd), m_pBeginPtr(syn.GetBeginPtr()), m_pEndPtr(syn.GetEndP... | 34.570093 | 185 | 0.575561 | zogyzen |
a975fe3f4c047f3bb873ee5edd28042c6395a2e2 | 1,826 | cpp | C++ | libHCore/src/common/time.cpp | adeliktas/Hayha3 | a505b6e79e6cabd8ef8d899eeb9f7e39251b58b5 | [
"MIT"
] | 15 | 2021-11-22T07:31:22.000Z | 2022-02-22T22:53:51.000Z | libHCore/src/common/time.cpp | adeliktas/Hayha3 | a505b6e79e6cabd8ef8d899eeb9f7e39251b58b5 | [
"MIT"
] | 1 | 2021-11-26T19:27:40.000Z | 2021-11-26T19:27:40.000Z | libHCore/src/common/time.cpp | adeliktas/Hayha3 | a505b6e79e6cabd8ef8d899eeb9f7e39251b58b5 | [
"MIT"
] | 5 | 2021-11-20T18:21:24.000Z | 2021-12-26T12:32:47.000Z |
#include "time.hpp"
timeStamp programStart;
timeStamp getCurrentTimeMicro(){
return time_point_cast<microseconds>(steady_clock::now());
}
timeStamp getTimeInFuture(uint64_t usec){
return time_point_cast<microseconds>(steady_clock::now()) + std::chrono::microseconds(usec);
}
int64_t getTimeDifference(timeS... | 22 | 112 | 0.740416 | adeliktas |
a97e495e4da2e1d5c7884705e9d5bc03376111b1 | 2,444 | cpp | C++ | Source/Engine/Render/VertexArray.cpp | kukiric/SomeGame | 8c058d82a93bc3f276bbb3ec57a3978ae57de82c | [
"MIT"
] | null | null | null | Source/Engine/Render/VertexArray.cpp | kukiric/SomeGame | 8c058d82a93bc3f276bbb3ec57a3978ae57de82c | [
"MIT"
] | null | null | null | Source/Engine/Render/VertexArray.cpp | kukiric/SomeGame | 8c058d82a93bc3f276bbb3ec57a3978ae57de82c | [
"MIT"
] | null | null | null | #include "VertexArray.h"
#include <Engine/Render/API.h>
using namespace Render;
VertexArray::VertexArray()
: indexArraySize(0)
{
glGenVertexArrays(1, &handle);
glGenBuffers(1, &indexArrayID);
}
VertexArray::~VertexArray()
{
for(auto vbo : buffers) {
deleteBuffer(vbo.id);
}
... | 27.772727 | 107 | 0.661211 | kukiric |
a97edea22c6dbbc4626abc58a3cc4a41ff792ad1 | 7,562 | cpp | C++ | Chapter_20/program.cpp | 9ndres/Ray-Tracing-Gems-II | 5fef3b49375c823431ef06f8c67d1b44b432304a | [
"MIT"
] | 603 | 2021-08-04T11:46:33.000Z | 2022-03-28T12:12:31.000Z | Chapter_20/program.cpp | 9ndres/Ray-Tracing-Gems-II | 5fef3b49375c823431ef06f8c67d1b44b432304a | [
"MIT"
] | null | null | null | Chapter_20/program.cpp | 9ndres/Ray-Tracing-Gems-II | 5fef3b49375c823431ef06f8c67d1b44b432304a | [
"MIT"
] | 45 | 2021-08-04T18:57:37.000Z | 2022-03-11T11:33:49.000Z | #include "program_defs.h"
#define STB_IMAGE_WRITE_IMPLEMENTATION
#include "stb_image_write.h"
#include <stdint.h>
#include <vector>
#include <random>
#ifdef WIN32
#define PCG_LITTLE_ENDIAN 1
#endif
#include "pcg_random.hpp"
// NOTE: Include order is a bit brittle due to some of these appearing exactly as they are in... | 35.336449 | 182 | 0.663052 | 9ndres |
a97f33d7b6158b151be24b213ddd9c1df1dde485 | 11,646 | cpp | C++ | examples/albumcalc/albumcalc.cpp | crf8472/libarcstk | b2c29006c7dda6476bf3e7098f51ee30675439fb | [
"MIT"
] | null | null | null | examples/albumcalc/albumcalc.cpp | crf8472/libarcstk | b2c29006c7dda6476bf3e7098f51ee30675439fb | [
"MIT"
] | null | null | null | examples/albumcalc/albumcalc.cpp | crf8472/libarcstk | b2c29006c7dda6476bf3e7098f51ee30675439fb | [
"MIT"
] | null | null | null | //
// Example for calculating AccurateRip checksums from each track of an album,
// represented by a CUESheet and a single losslessly encoded audio file.
//
#include <cstdint> // for uint32_t etc.
#include <cstdio> // for fopen, fclose, FILE
#include <iomanip> // for setw, setfill, hex
#include <iostream> // f... | 37.446945 | 80 | 0.688477 | crf8472 |
a97f7953fca960a16e8196db33b75180168d1990 | 853 | cpp | C++ | c++/nim_game.cpp | SongZhao/leetcode | 4a2b4f554e91f6a2167b336f8a69b80fa9f3f920 | [
"Apache-2.0"
] | null | null | null | c++/nim_game.cpp | SongZhao/leetcode | 4a2b4f554e91f6a2167b336f8a69b80fa9f3f920 | [
"Apache-2.0"
] | null | null | null | c++/nim_game.cpp | SongZhao/leetcode | 4a2b4f554e91f6a2167b336f8a69b80fa9f3f920 | [
"Apache-2.0"
] | null | null | null | /*
You are playing the following Nim Game with your friend: There is a heap of stones on the table,
each time one of you take turns to remove 1 to 3 stones. The one who removes the last stone will be the winner.
You will take the first turn to remove the stones.
Both of you are very clever and have optimal strategie... | 25.848485 | 121 | 0.696366 | SongZhao |
a9848c97452e16123eb2c272fe3c0c09d409d170 | 1,522 | hpp | C++ | codegen.hpp | zsr2531/bfc | 5f6917c1d8e084dd2ba4507c7bca8f73bbc4504e | [
"MIT"
] | 5 | 2020-09-06T10:42:41.000Z | 2021-12-22T09:37:44.000Z | codegen.hpp | zsr2531/bfc | 5f6917c1d8e084dd2ba4507c7bca8f73bbc4504e | [
"MIT"
] | null | null | null | codegen.hpp | zsr2531/bfc | 5f6917c1d8e084dd2ba4507c7bca8f73bbc4504e | [
"MIT"
] | 1 | 2021-08-13T09:40:04.000Z | 2021-08-13T09:40:04.000Z | #include <sstream>
#include <unordered_map>
#include "ast.hpp"
class CodeGen : public Listener {
public:
explicit inline CodeGen() {
builder = {};
indentLevel = 1;
builder << "// Generated by bfc\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\nint main() {\n";
buil... | 40.052632 | 140 | 0.690539 | zsr2531 |
a98bfbfbfd51a0805a97ea88749cfd7a97199d47 | 452 | cpp | C++ | book/cpp_templates/tmplbook/traits/hasmember.cpp | houruixiang/day_day_learning | 208f70a4f0a85dd99191087835903d279452fd54 | [
"MIT"
] | null | null | null | book/cpp_templates/tmplbook/traits/hasmember.cpp | houruixiang/day_day_learning | 208f70a4f0a85dd99191087835903d279452fd54 | [
"MIT"
] | null | null | null | book/cpp_templates/tmplbook/traits/hasmember.cpp | houruixiang/day_day_learning | 208f70a4f0a85dd99191087835903d279452fd54 | [
"MIT"
] | null | null | null | #include "hasmember.hpp"
#include <iostream>
#include <vector>
#include <utility>
DEFINE_HAS_MEMBER(size);
DEFINE_HAS_MEMBER(first);
int main()
{
std::cout << "int::size: "
<< HasMemberT_size<int>::value << '\n';
std::cout << "std::vector<int>::size: "
<< HasMemberT_size<std::vector<int>>... | 23.789474 | 67 | 0.586283 | houruixiang |
a98c9c9038aebe5a7eb8f50ccd34c321abdee0cd | 5,650 | cc | C++ | src/base/file_reader.test.cc | dspeterson/dory | 7261fb5481283fdd69b382c3cddbc9b9bd24366d | [
"Apache-2.0"
] | 82 | 2016-06-11T23:12:40.000Z | 2022-02-21T21:01:36.000Z | src/base/file_reader.test.cc | dspeterson/dory | 7261fb5481283fdd69b382c3cddbc9b9bd24366d | [
"Apache-2.0"
] | 18 | 2016-06-16T22:55:12.000Z | 2020-07-02T10:32:53.000Z | src/base/file_reader.test.cc | dspeterson/dory | 7261fb5481283fdd69b382c3cddbc9b9bd24366d | [
"Apache-2.0"
] | 14 | 2016-06-15T18:34:08.000Z | 2021-09-06T23:16:28.000Z | /* <base/file_reader.test.cc>
----------------------------------------------------------------------------
Copyright 2017 Dave Peterson <dave@dspeterson.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain ... | 26.157407 | 79 | 0.629735 | dspeterson |
a98cd8343f943b0ee828d6eaae7e866c24bf41ce | 6,583 | cpp | C++ | SpatialGDK/Source/SpatialGDKTests/SpatialGDKServices/LocalDeploymentManager/LocalDeploymentManagerTest.cpp | eddyrainy/UnrealGDK | eb86c58d23d55e74b584b91c2d35702ba08448be | [
"MIT"
] | null | null | null | SpatialGDK/Source/SpatialGDKTests/SpatialGDKServices/LocalDeploymentManager/LocalDeploymentManagerTest.cpp | eddyrainy/UnrealGDK | eb86c58d23d55e74b584b91c2d35702ba08448be | [
"MIT"
] | null | null | null | SpatialGDK/Source/SpatialGDKTests/SpatialGDKServices/LocalDeploymentManager/LocalDeploymentManagerTest.cpp | eddyrainy/UnrealGDK | eb86c58d23d55e74b584b91c2d35702ba08448be | [
"MIT"
] | null | null | null | // Copyright (c) Improbable Worlds Ltd, All Rights Reserved
#include "TestDefinitions.h"
#include "LocalDeploymentManager.h"
#include "SpatialCommandUtils.h"
#include "SpatialGDKDefaultLaunchConfigGenerator.h"
#include "SpatialGDKDefaultWorkerJsonGenerator.h"
#include "SpatialGDKEditorSettings.h"
#include "CoreMinim... | 33.586735 | 173 | 0.809965 | eddyrainy |
a98cf28d3d49efba7b7a290d7fd9ff9ec3c64556 | 1,003 | hpp | C++ | buildSystemTests/multi_targets_project/code/StaticTarget3/public/StaticTarget3/StaticTarget3.hpp | iblis-ms/python_cmake_build_system | 9f52f004241c6e8efc4a036d5c58f67a6d40e7ec | [
"MIT"
] | null | null | null | buildSystemTests/multi_targets_project/code/StaticTarget3/public/StaticTarget3/StaticTarget3.hpp | iblis-ms/python_cmake_build_system | 9f52f004241c6e8efc4a036d5c58f67a6d40e7ec | [
"MIT"
] | 6 | 2020-10-11T21:03:24.000Z | 2020-10-12T20:32:13.000Z | buildSystemTests/multi_targets_project/code/StaticTarget3/public/StaticTarget3/StaticTarget3.hpp | iblis-ms/python_cmake_build_system | 9f52f004241c6e8efc4a036d5c58f67a6d40e7ec | [
"MIT"
] | null | null | null | #ifndef STATIC_TARGET_3_HPP_
#define STATIC_TARGET_3_HPP_
#include <iostream>
#include <InterfaceTarget3/InterfaceTarget3.hpp>
#include <InterfaceTarget2/InterfaceTarget2.hpp>
#include <InterfaceTarget4/InterfaceTarget4.hpp>
#include <StaticTarget1/StaticTarget1.hpp>
#include <StaticTarget2/StaticTarget2.hpp>
/**
* ... | 18.924528 | 60 | 0.716849 | iblis-ms |
a98d481499dd8267ddbe4ac416d3996e23c3e622 | 651 | hpp | C++ | homeworks/HW4Source/HW4/header/MountainCar.hpp | anshuman1811/cs687-reinforcementlearning | cf30cc0ab2b0e515cd4b643fc55c60cc5f38a481 | [
"MIT"
] | null | null | null | homeworks/HW4Source/HW4/header/MountainCar.hpp | anshuman1811/cs687-reinforcementlearning | cf30cc0ab2b0e515cd4b643fc55c60cc5f38a481 | [
"MIT"
] | null | null | null | homeworks/HW4Source/HW4/header/MountainCar.hpp | anshuman1811/cs687-reinforcementlearning | cf30cc0ab2b0e515cd4b643fc55c60cc5f38a481 | [
"MIT"
] | null | null | null | #pragma once
#include "stdafx.h"
// MountainCar MDP - see Gridworld.hpp for comments regarding the general structure of these environment/MDP objects
class MountainCar {
public:
MountainCar();
int getStateDim() const;
int getNumActions() const;
double update(const int & action, std::mt19937_64 & genera... | 28.304348 | 117 | 0.703533 | anshuman1811 |
817da77491a5d3f35b804d3b71400ef3724f42a3 | 3,957 | cpp | C++ | src/core/features/flappybird.cpp | Metaphysical1/gamesneeze | 59d31ee232bbcc80d29329e0f64ebdde599c37df | [
"MIT"
] | 1,056 | 2020-11-17T11:49:12.000Z | 2022-03-23T12:32:42.000Z | src/core/features/flappybird.cpp | dweee/gamesneeze | 99f574db2617263470280125ec78afa813f27099 | [
"MIT"
] | 102 | 2021-01-15T12:05:18.000Z | 2022-02-26T00:19:58.000Z | src/core/features/flappybird.cpp | dweee/gamesneeze | 99f574db2617263470280125ec78afa813f27099 | [
"MIT"
] | 121 | 2020-11-18T12:08:21.000Z | 2022-03-31T07:14:32.000Z | #include "features.hpp"
#include <SDL2/SDL_scancode.h>
#include <vector>
int score;
ImVec2 cursorPos;
float deltaTime;
bool alive = true;
bool paused = false;
float birdHeight;
class Bird {
public:
void draw(ImDrawList* drawList) {
drawList->AddRectFilled(ImVec2{cursorPos.x+60, cursorPos.y+(400-height)}, ... | 31.91129 | 164 | 0.52464 | Metaphysical1 |
817dcad1853d2128a15890b29ec54d9067fdba99 | 2,392 | cpp | C++ | LinearList/LinkedList.cpp | FrostyBonny/DS | 63f951a09a3e67ef89ffc2db4e4780decea2bcef | [
"MIT"
] | 2 | 2019-07-16T08:23:47.000Z | 2021-06-26T13:43:10.000Z | LinearList/LinkedList.cpp | FrostyBonny/DS | 63f951a09a3e67ef89ffc2db4e4780decea2bcef | [
"MIT"
] | null | null | null | LinearList/LinkedList.cpp | FrostyBonny/DS | 63f951a09a3e67ef89ffc2db4e4780decea2bcef | [
"MIT"
] | null | null | null | #include<iostream>
#include<stdlib.h>
using namespace std;
// 单链表的操作
typedef struct LinkNode{
int data;
struct LinkNode *next;
}LinkNode;
// headermake
void creat(LinkNode *L){
LinkNode *node;
for(int i = 0;i < 10;i++){
node = (LinkNode *)malloc(sizeof(LinkNode));
node->data = rand()%13... | 18.4 | 52 | 0.460284 | FrostyBonny |
8180eaa3530bf717aa9c2fc830ff699b322527d2 | 9,594 | cpp | C++ | Day23/main.cpp | baldwinmatt/AoC-2021 | 4a7f18f6364715f6e61127aba175db6fec6e6b13 | [
"Apache-2.0"
] | 4 | 2021-12-06T17:14:00.000Z | 2021-12-10T06:29:35.000Z | Day23/main.cpp | baldwinmatt/AoC-2021 | 4a7f18f6364715f6e61127aba175db6fec6e6b13 | [
"Apache-2.0"
] | null | null | null | Day23/main.cpp | baldwinmatt/AoC-2021 | 4a7f18f6364715f6e61127aba175db6fec6e6b13 | [
"Apache-2.0"
] | null | null | null | #include "aoc21/helpers.h"
#include <array>
#include <algorithm>
#include <list>
#include <map>
#include <set>
#include <vector>
namespace {
constexpr int RoomCount = 4;
constexpr int RoomDepth = 2;
constexpr int HallwaySize = 4 + (RoomCount * 2) - 1;
using Hallway = std::array<char, HallwaySize>;
using Roo... | 23.747525 | 86 | 0.512508 | baldwinmatt |
81812d2db6128c0a250e57b5bbb7d8b3b2d7f689 | 7,181 | cpp | C++ | source/models/bundle.cpp | wilsonfonseca/iota.lib.cpp | c49791b8e4f1499dc652fb84dedb016e5f42cdf4 | [
"MIT"
] | null | null | null | source/models/bundle.cpp | wilsonfonseca/iota.lib.cpp | c49791b8e4f1499dc652fb84dedb016e5f42cdf4 | [
"MIT"
] | null | null | null | source/models/bundle.cpp | wilsonfonseca/iota.lib.cpp | c49791b8e4f1499dc652fb84dedb016e5f42cdf4 | [
"MIT"
] | null | null | null | //
// MIT License
//
// Copyright (c) 2017-2018 Thibault Martinez and Simon Ninon
//
// 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 r... | 29.430328 | 100 | 0.662164 | wilsonfonseca |
81833316b0516dda700810c584acdd92c655d8e3 | 1,180 | cpp | C++ | DeviceCode/Targets/Native/BF537/DeviceCode/various.cpp | valoni/STM32F103 | 75f0cb8be593ca287a08f5992d1f5d3c3bb12bfc | [
"Apache-2.0"
] | 1 | 2020-06-09T02:16:43.000Z | 2020-06-09T02:16:43.000Z | DeviceCode/Targets/Native/BF537/DeviceCode/various.cpp | valoni/STM32F103 | 75f0cb8be593ca287a08f5992d1f5d3c3bb12bfc | [
"Apache-2.0"
] | null | null | null | DeviceCode/Targets/Native/BF537/DeviceCode/various.cpp | valoni/STM32F103 | 75f0cb8be593ca287a08f5992d1f5d3c3bb12bfc | [
"Apache-2.0"
] | 1 | 2015-02-08T20:51:53.000Z | 2015-02-08T20:51:53.000Z | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) Microsoft Corporation. All rights reserved.
///////////////////////////////////////////////////////... | 36.875 | 221 | 0.339831 | valoni |
8183bdec4e950b8fd338c7b1916d50cd42e108c2 | 771 | cpp | C++ | JPZsumofdigits/JPZsumofdigits.cpp | jpaz26/intro-to-c-programming | 2fbabfd4f2b53135eca67f781b4a925623dac330 | [
"MIT"
] | null | null | null | JPZsumofdigits/JPZsumofdigits.cpp | jpaz26/intro-to-c-programming | 2fbabfd4f2b53135eca67f781b4a925623dac330 | [
"MIT"
] | null | null | null | JPZsumofdigits/JPZsumofdigits.cpp | jpaz26/intro-to-c-programming | 2fbabfd4f2b53135eca67f781b4a925623dac330 | [
"MIT"
] | null | null | null | // JPZsumofdigits.cpp : Defines the entry point for the console application.
// Joshua Paz; a program that takes a whole integer and adds the digits for a sum
#include "stdafx.h"
#include <iostream>
using namespace std;
int main()
{
//variables
int userint = 0;
int intholder = 0;
int sum = 0;
//pr... | 20.837838 | 82 | 0.618677 | jpaz26 |
81873b4fff537b1b5e4b408d3766b4019bc9717f | 1,290 | hpp | C++ | src/kernel_preprocessor.hpp | vbkaisetsu/CLBlast | 441373c8fd1442cc4c024e59e7778b4811eb210c | [
"Apache-2.0"
] | null | null | null | src/kernel_preprocessor.hpp | vbkaisetsu/CLBlast | 441373c8fd1442cc4c024e59e7778b4811eb210c | [
"Apache-2.0"
] | null | null | null | src/kernel_preprocessor.hpp | vbkaisetsu/CLBlast | 441373c8fd1442cc4c024e59e7778b4811eb210c | [
"Apache-2.0"
] | 1 | 2020-09-09T21:04:21.000Z | 2020-09-09T21:04:21.000Z |
// =================================================================================================
// This file is part of the CLBlast project. The project is licensed under Apache Version 2.0. This
// project loosely follows the Google C++ styleguide and uses a tab-size of two spaces and a max-
// width of 100 char... | 39.090909 | 100 | 0.532558 | vbkaisetsu |
8187da5558734bf61db893fdf3be6507a32b506f | 297 | hh | C++ | src/ChatCommands.hh | clint-david/newserv | 40aa08bd4f391d8d3f6d41d3b539de5bc4c5c679 | [
"MIT"
] | null | null | null | src/ChatCommands.hh | clint-david/newserv | 40aa08bd4f391d8d3f6d41d3b539de5bc4c5c679 | [
"MIT"
] | null | null | null | src/ChatCommands.hh | clint-david/newserv | 40aa08bd4f391d8d3f6d41d3b539de5bc4c5c679 | [
"MIT"
] | null | null | null | #pragma once
#include <stdint.h>
#include <memory>
#include <string>
#include "ServerState.hh"
#include "Lobby.hh"
#include "Client.hh"
void process_chat_command(std::shared_ptr<ServerState> s, std::shared_ptr<Lobby> l,
std::shared_ptr<Client> c, const std::u16string& text);
| 21.214286 | 84 | 0.700337 | clint-david |
8188d665c50246023d35ae91b9c7818a3e4a88af | 29,325 | cpp | C++ | src/appleseed/renderer/kernel/rendering/progressive/progressiveframerenderer.cpp | Aakash1312/appleseed | 0c81cacba6e513ca30a68a038afd67244f0c6b91 | [
"MIT"
] | null | null | null | src/appleseed/renderer/kernel/rendering/progressive/progressiveframerenderer.cpp | Aakash1312/appleseed | 0c81cacba6e513ca30a68a038afd67244f0c6b91 | [
"MIT"
] | null | null | null | src/appleseed/renderer/kernel/rendering/progressive/progressiveframerenderer.cpp | Aakash1312/appleseed | 0c81cacba6e513ca30a68a038afd67244f0c6b91 | [
"MIT"
] | 1 | 2020-10-01T14:42:39.000Z | 2020-10-01T14:42:39.000Z |
//
// This source file is part of appleseed.
// Visit http://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited
// Copyright (c) 2014-2017 Francois Beaune, The appleseedhq Organization
//
... | 36.840452 | 120 | 0.541176 | Aakash1312 |
8188e3941d6519d466adae0e0c84c853f659ccfa | 2,591 | cpp | C++ | pwiz/analysis/eharmony/Matrix.cpp | edyp-lab/pwiz-mzdb | d13ce17f4061596c7e3daf9cf5671167b5996831 | [
"Apache-2.0"
] | 11 | 2015-01-08T08:33:44.000Z | 2019-07-12T06:14:54.000Z | pwiz/analysis/eharmony/Matrix.cpp | shze/pwizard-deb | 4822829196e915525029a808470f02d24b8b8043 | [
"Apache-2.0"
] | 61 | 2015-05-27T11:20:11.000Z | 2019-12-20T15:06:21.000Z | pwiz/analysis/eharmony/Matrix.cpp | shze/pwizard-deb | 4822829196e915525029a808470f02d24b8b8043 | [
"Apache-2.0"
] | 4 | 2016-02-03T09:41:16.000Z | 2021-08-01T18:42:36.000Z | //
// $Id: Matrix.cpp 1539 2009-11-19 20:12:28Z khoff $
//
//
// Original author: Kate Hoff <katherine.hoff@proteowizard.org>
//
// Copyright 2009 Center for Applied Molecular Medicine
// University of Southern California, Los Angeles, CA
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you ma... | 29.443182 | 138 | 0.655345 | edyp-lab |
818900af12ffe2d35a6f05743c05d9d999fc5da8 | 3,816 | cc | C++ | towr/src/base_motion_constraint.cc | eeoozz/towr | 189fd39b156d1ed80894c3d9086da1b8f7426de3 | [
"BSD-3-Clause"
] | 592 | 2018-01-30T10:36:47.000Z | 2022-03-28T16:40:16.000Z | towr/src/base_motion_constraint.cc | eeoozz/towr | 189fd39b156d1ed80894c3d9086da1b8f7426de3 | [
"BSD-3-Clause"
] | 68 | 2018-02-08T06:00:16.000Z | 2022-03-31T08:46:05.000Z | towr/src/base_motion_constraint.cc | eeoozz/towr | 189fd39b156d1ed80894c3d9086da1b8f7426de3 | [
"BSD-3-Clause"
] | 185 | 2018-02-11T03:22:30.000Z | 2022-03-28T12:56:21.000Z | /******************************************************************************
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... | 40.595745 | 94 | 0.697065 | eeoozz |
818b46118366b6beea8b61c9c2605af1b5647166 | 402 | cpp | C++ | Menu Interno Console/Main.cpp | FuckLaw/Menu-Interno-Console | 8fb2fcd63d280b7443a09daba1c9fbcae57b6a22 | [
"MIT"
] | 1 | 2020-04-09T22:11:47.000Z | 2020-04-09T22:11:47.000Z | Menu Interno Console/Main.cpp | FuckLaw/Menu-Interno-Console | 8fb2fcd63d280b7443a09daba1c9fbcae57b6a22 | [
"MIT"
] | null | null | null | Menu Interno Console/Main.cpp | FuckLaw/Menu-Interno-Console | 8fb2fcd63d280b7443a09daba1c9fbcae57b6a22 | [
"MIT"
] | null | null | null | #include <Windows.h>
#include "Includes.h"
#include "Menu.h"
#include "Keyboard.h"
#include "Items.h"
#include "Colors.h"
#include "EnableDebug.h"
#include "Hacks.h"
#include "DrawMenu.h"
BOOL APIENTRY DllMain(HMODULE hmodule, DWORD ui_reason_for_call, LPVOID lpReserved)
{
EnableDebugPrivilege();
if (... | 20.1 | 84 | 0.701493 | FuckLaw |
818e8bc200fae67e4e4aa14fb7e82805adc23ebc | 548 | hpp | C++ | src/reporter/resources/rp_different_type_report_resources.hpp | lpea/cppinclude | dc126c6057d2fe30569e6e86f66d2c8eebb50212 | [
"MIT"
] | 177 | 2020-08-24T19:20:35.000Z | 2022-03-27T01:58:04.000Z | src/reporter/resources/rp_different_type_report_resources.hpp | lpea/cppinclude | dc126c6057d2fe30569e6e86f66d2c8eebb50212 | [
"MIT"
] | 15 | 2020-08-30T17:59:42.000Z | 2022-01-12T11:14:10.000Z | src/reporter/resources/rp_different_type_report_resources.hpp | lpea/cppinclude | dc126c6057d2fe30569e6e86f66d2c8eebb50212 | [
"MIT"
] | 11 | 2020-09-17T23:31:10.000Z | 2022-03-04T13:15:21.000Z | #pragma once
//------------------------------------------------------------------------------
namespace reporter::resources::different_type_report
{
//------------------------------------------------------------------------------
extern const char * const Name;
extern const char * const Header;
extern const char * ... | 26.095238 | 80 | 0.432482 | lpea |
818f5d7c3c20565e970518af1ea7f57a32ec325a | 947 | hpp | C++ | robot2019-ros/initial_pose/include/initialpose_node.hpp | junhuizhou/ROS_Learning | bb3a0c867ba2bd147bbd59176cf1224c09a63914 | [
"MIT"
] | null | null | null | robot2019-ros/initial_pose/include/initialpose_node.hpp | junhuizhou/ROS_Learning | bb3a0c867ba2bd147bbd59176cf1224c09a63914 | [
"MIT"
] | 1 | 2021-05-07T07:30:11.000Z | 2021-05-07T07:30:11.000Z | robot2019-ros/initial_pose/include/initialpose_node.hpp | junhuizhou/ROS_Learning | bb3a0c867ba2bd147bbd59176cf1224c09a63914 | [
"MIT"
] | null | null | null | #ifndef INITIALPOSE_NODE_H
#define INITIALPOSE_NODE_H
#include <initialpose_include.hpp>
#include <initialpose_config.hpp>
#include <initialpose_estimation.hpp>
class initialpose_node {
public:
initialpose_node(std::string node_name);
bool setTransform(std::string laser_topic_name);
bool GetStaticMap();
void ... | 21.522727 | 66 | 0.80359 | junhuizhou |
819474638dc5b1cca9837569cd09459ab6c47db7 | 2,199 | cpp | C++ | src/cpp/wkbreader.cpp | sanak/node-geos-c | 7cd965a72627e6a9034c3e2bdb9f9acc5057f868 | [
"MIT"
] | 19 | 2015-01-25T16:50:48.000Z | 2021-08-17T11:34:34.000Z | src/cpp/wkbreader.cpp | sanak/node-geos-c | 7cd965a72627e6a9034c3e2bdb9f9acc5057f868 | [
"MIT"
] | 8 | 2016-03-23T18:29:47.000Z | 2022-01-04T07:18:26.000Z | src/cpp/wkbreader.cpp | sanak/node-geos | 7cd965a72627e6a9034c3e2bdb9f9acc5057f868 | [
"MIT"
] | 9 | 2015-02-04T03:52:40.000Z | 2020-10-11T07:11:02.000Z | #include "wkbreader.hpp"
#include <sstream>
WKBReader::WKBReader() {
_reader = new geos::io::WKBReader();
}
WKBReader::WKBReader(const geos::geom::GeometryFactory *gf) {
_reader = new geos::io::WKBReader(*gf);
}
WKBReader::~WKBReader() {}
Persistent<Function> WKBReader::constructor;
void WKBReader::Initial... | 31.414286 | 112 | 0.678035 | sanak |
8196c292c22d7abf127a7afbe219296c7696d64f | 18,247 | cpp | C++ | SpatialGDK/Source/SpatialGDK/Private/Utils/SpatialDebugger.cpp | Bowbee/GDKPrebuilt | 420b3fa19fdc36755a43e655c057b5624264407a | [
"MIT"
] | 363 | 2018-07-30T12:57:42.000Z | 2022-03-25T14:30:28.000Z | SpatialGDK/Source/SpatialGDK/Private/Utils/SpatialDebugger.cpp | Bowbee/GDKPrebuilt | 420b3fa19fdc36755a43e655c057b5624264407a | [
"MIT"
] | 1,634 | 2018-07-30T14:30:25.000Z | 2022-03-03T01:55:15.000Z | SpatialGDK/Source/SpatialGDK/Private/Utils/SpatialDebugger.cpp | Bowbee/GDKPrebuilt | 420b3fa19fdc36755a43e655c057b5624264407a | [
"MIT"
] | 153 | 2018-07-31T13:45:02.000Z | 2022-03-03T05:20:24.000Z | // Copyright (c) Improbable Worlds Ltd, All Rights Reserved
#include "Utils/SpatialDebugger.h"
#include "EngineClasses/SpatialNetDriver.h"
#include "Interop/SpatialReceiver.h"
#include "Interop/SpatialSender.h"
#include "Interop/SpatialStaticComponentView.h"
#include "LoadBalancing/GridBasedLBStrategy.h"
#include "Lo... | 34.690114 | 181 | 0.775744 | Bowbee |
8198abf50adc2d6525c9e1e7d0e6dc61507d28e8 | 1,490 | cc | C++ | examples/UniformObjectPoolExample/main.cc | PerttuP/PPUtils | 97971d6e2b662bab9a4966b4c39ac59509c01359 | [
"MIT"
] | null | null | null | examples/UniformObjectPoolExample/main.cc | PerttuP/PPUtils | 97971d6e2b662bab9a4966b4c39ac59509c01359 | [
"MIT"
] | null | null | null | examples/UniformObjectPoolExample/main.cc | PerttuP/PPUtils | 97971d6e2b662bab9a4966b4c39ac59509c01359 | [
"MIT"
] | null | null | null | /*
* This is a simple example program to demonstrate the usage of the
* PPUtils::UniformObjectPool class template.
*
* Author: Perttu Paarlahti perttu.paarlahti@gmail.com
* Created: 29-June-2015
*/
#include <iostream>
#include <functional>
#include "../../source/PPUtils/uniformobjectpool.hh"
class VeryCo... | 22.575758 | 77 | 0.610738 | PerttuP |
819d2321ac2018d65bf373e8e9e768e8b162ca37 | 530 | cxx | C++ | rutil/ParseException.cxx | dulton/reSipServer | ac4241df81c1e3eef2e678271ffef4dda1fc6747 | [
"Apache-2.0"
] | 1 | 2019-04-15T14:10:58.000Z | 2019-04-15T14:10:58.000Z | rutil/ParseException.cxx | dulton/reSipServer | ac4241df81c1e3eef2e678271ffef4dda1fc6747 | [
"Apache-2.0"
] | null | null | null | rutil/ParseException.cxx | dulton/reSipServer | ac4241df81c1e3eef2e678271ffef4dda1fc6747 | [
"Apache-2.0"
] | 2 | 2019-10-31T09:11:09.000Z | 2021-09-17T01:00:49.000Z | #include "rutil/ParseException.hxx"
namespace resip
{
ParseException::ParseException(const Data& msg,
const Data& context,
const Data& file,
const int line)
: resip::BaseException(msg, file, line),
mContext(con... | 17.666667 | 54 | 0.575472 | dulton |
819e1cbc99fc76163756220c8033c8e8415940c7 | 2,183 | hpp | C++ | miopengemm/include/miopengemm/tinytwo.hpp | pruthvistony/MIOpenGEMM | 8f844e134d54244a6138504a4190486d8702e8fd | [
"MIT"
] | 52 | 2017-06-30T06:45:19.000Z | 2021-11-04T01:53:48.000Z | miopengemm/include/miopengemm/tinytwo.hpp | pruthvistony/MIOpenGEMM | 8f844e134d54244a6138504a4190486d8702e8fd | [
"MIT"
] | 31 | 2017-08-01T03:17:25.000Z | 2022-03-22T18:19:41.000Z | miopengemm/include/miopengemm/tinytwo.hpp | pruthvistony/MIOpenGEMM | 8f844e134d54244a6138504a4190486d8702e8fd | [
"MIT"
] | 23 | 2017-07-17T02:09:17.000Z | 2021-11-10T00:38:19.000Z | /*******************************************************************************
* Copyright (C) 2017 Advanced Micro Devices, Inc. All rights reserved.
*******************************************************************************/
#ifndef GUARD_MIOPENGEMM_DEGEMMAPIQQ_HPP
#define GUARD_MIOPENGEMM_DEGEMMAPIQQ_HPP
#i... | 25.682353 | 92 | 0.637655 | pruthvistony |
81a0a0d1f022e000527c7301b1d4c1c2d42b9bd9 | 6,346 | cpp | C++ | src/Programs/Terminal/Terminal.cpp | Kaj9296/Electric_OS | 31e1d9318943e50e2bc095dc2ba32d4ce26e7e8b | [
"MIT"
] | 7 | 2022-02-20T16:34:48.000Z | 2022-02-26T06:14:51.000Z | src/Programs/Terminal/Terminal.cpp | Kaj9296/Electric_OS | 31e1d9318943e50e2bc095dc2ba32d4ce26e7e8b | [
"MIT"
] | null | null | null | src/Programs/Terminal/Terminal.cpp | Kaj9296/Electric_OS | 31e1d9318943e50e2bc095dc2ba32d4ce26e7e8b | [
"MIT"
] | 4 | 2022-02-20T16:25:44.000Z | 2022-03-20T07:49:25.000Z | #include "Terminal.h"
#include "STL/Graphics/Framebuffer.h"
#include "STL/String/String.h"
#include "STL/String/cstr.h"
#include "STL/System/System.h"
#include "Version.h"
#define NEWLINE_OFFSET RAISED_WIDTH * 3
namespace Terminal
{
uint64_t PrevTick = 0;
char Command[64];
STL::String Text;
STL::Po... | 31.73 | 173 | 0.443744 | Kaj9296 |
81a158690d1e2643f6cc70d65bfeeea9bd7f520c | 2,223 | hpp | C++ | src/3rd party/components/ElPack/Code/Source/ElTreeDTPickEdit.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 8 | 2016-01-25T20:18:51.000Z | 2019-03-06T07:00:04.000Z | src/3rd party/components/ElPack/Code/Source/ElTreeDTPickEdit.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | null | null | null | src/3rd party/components/ElPack/Code/Source/ElTreeDTPickEdit.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 3 | 2016-02-14T01:20:43.000Z | 2021-02-03T11:19:11.000Z | // Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'ElTreeDTPickEdit.pas' rev: 6.00
#ifndef ElTreeDTPickEditHPP
#define ElTreeDTPickEditHPP
#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#inc... | 33.681818 | 94 | 0.695906 | OLR-xray |
81a3842fb532d19187fa8cdb45c554b79470b22d | 8,541 | hpp | C++ | master/core/third/boost/geometry/algorithms/disjoint.hpp | importlib/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 198 | 2015-01-13T05:47:18.000Z | 2022-03-09T04:46:46.000Z | master/core/third/boost/geometry/algorithms/disjoint.hpp | isuhao/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 197 | 2017-07-06T16:53:59.000Z | 2019-05-31T17:57:51.000Z | master/core/third/boost/geometry/algorithms/disjoint.hpp | isuhao/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 139 | 2015-01-15T20:09:31.000Z | 2022-01-31T15:21:16.000Z | // Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
// Copyright (c) 2008-2012 Bruno Lalande, Paris, France.
// Copyright (c) 2009-2012 Mateusz Loskot, London, UK.
// Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
... | 28.281457 | 89 | 0.65449 | importlib |
81a46bb917d47aca2ad6d58fe1943d5095915be2 | 12,782 | cpp | C++ | src/test/simple_kv/checker.cpp | imzhenyu/rDSN.dist.service | 741cdfcaabd7312e64d10f3f194de7790b578d01 | [
"MIT"
] | 2 | 2016-12-08T05:56:22.000Z | 2021-12-08T18:41:47.000Z | src/test/simple_kv/checker.cpp | imzhenyu/rDSN.dist.service | 741cdfcaabd7312e64d10f3f194de7790b578d01 | [
"MIT"
] | 15 | 2016-08-09T23:37:11.000Z | 2018-09-21T09:45:28.000Z | src/test/simple_kv/checker.cpp | imzhenyu/rDSN.dist.service | 741cdfcaabd7312e64d10f3f194de7790b578d01 | [
"MIT"
] | 4 | 2016-11-18T08:25:33.000Z | 2021-12-08T18:41:49.000Z | /*
* The MIT License (MIT)
*
* Copyright (c) 2015 Microsoft Corporation
*
* -=- Robust Distributed System Nucleus (rDSN) -=-
*
* 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 witho... | 31.955 | 125 | 0.622751 | imzhenyu |
81a957f1b1737e8ad6faa7205757a2dab551470d | 2,109 | cpp | C++ | test/src/fetch_request_test.cpp | perchits/libkafka-asio | cbdced006d49a4498955a222915c6514b4ac57a7 | [
"MIT"
] | 77 | 2015-04-07T08:14:14.000Z | 2022-02-14T01:07:05.000Z | test/src/fetch_request_test.cpp | perchits/libkafka-asio | cbdced006d49a4498955a222915c6514b4ac57a7 | [
"MIT"
] | 28 | 2015-04-07T08:57:41.000Z | 2020-04-19T21:25:22.000Z | test/src/fetch_request_test.cpp | perchits/libkafka-asio | cbdced006d49a4498955a222915c6514b4ac57a7 | [
"MIT"
] | 48 | 2015-04-15T05:34:51.000Z | 2022-03-17T11:50:20.000Z | //
// fetch_request_test.cpp
// ----------------------
//
// Copyright (c) 2015 Daniel Joos
//
// Distributed under MIT license. (See file LICENSE)
//
#include <gtest/gtest.h>
#include <libkafka_asio/libkafka_asio.h>
class FetchRequestTest :
public ::testing::Test
{
protected:
virtual void SetUp()
{
ASSERT_... | 30.565217 | 66 | 0.700806 | perchits |
81ac79b2f71f976e02888fc20fceb936a204eb47 | 6,368 | cpp | C++ | src/graphics/Color.cpp | bigplayszn/nCine | 43f5fe8e82e9daa21e4d1feea9ca41ed4cce7454 | [
"MIT"
] | 675 | 2019-05-28T19:00:55.000Z | 2022-03-31T16:44:28.000Z | src/graphics/Color.cpp | bigplayszn/nCine | 43f5fe8e82e9daa21e4d1feea9ca41ed4cce7454 | [
"MIT"
] | 13 | 2020-03-29T06:46:32.000Z | 2022-01-29T03:19:30.000Z | src/graphics/Color.cpp | bigplayszn/nCine | 43f5fe8e82e9daa21e4d1feea9ca41ed4cce7454 | [
"MIT"
] | 53 | 2019-06-02T03:04:10.000Z | 2022-03-11T06:17:50.000Z | #include "Color.h"
#include "Colorf.h"
#include <nctl/algorithms.h>
namespace ncine {
///////////////////////////////////////////////////////////
// STATIC DEFINITIONS
///////////////////////////////////////////////////////////
const Color Color::Black(0, 0, 0, 255);
const Color Color::White(255, 255, 255, 255);
con... | 26.205761 | 92 | 0.642588 | bigplayszn |
81ba9781070eba3e35c32695ddcc6d305e99e3a4 | 2,402 | hpp | C++ | include/UnityEngine/Animations/AnimationHumanStream.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | include/UnityEngine/Animations/AnimationHumanStream.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | include/UnityEngine/Animations/AnimationHumanStream.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: System.ValueType
#include "System/ValueType.hpp"
// Including type: System.IntPtr
#in... | 41.413793 | 135 | 0.722315 | RedBrumbler |
81bad7f3ace1ba946ccf02caa28e9a3f7265a159 | 4,709 | cpp | C++ | inference_backend/image_inference/async_with_va_api/va_api_wrapper/vaapi_context.cpp | MisterArslan/dlstreamer_gst | ff6d0bc138f372bb988baf368af4a3693b808e16 | [
"MIT"
] | 125 | 2020-09-18T10:50:27.000Z | 2022-02-10T06:20:59.000Z | inference_backend/image_inference/async_with_va_api/va_api_wrapper/vaapi_context.cpp | MisterArslan/dlstreamer_gst | ff6d0bc138f372bb988baf368af4a3693b808e16 | [
"MIT"
] | 155 | 2020-09-10T23:32:29.000Z | 2022-02-05T07:10:26.000Z | inference_backend/image_inference/async_with_va_api/va_api_wrapper/vaapi_context.cpp | MisterArslan/dlstreamer_gst | ff6d0bc138f372bb988baf368af4a3693b808e16 | [
"MIT"
] | 41 | 2020-09-15T08:49:17.000Z | 2022-01-24T10:39:36.000Z | /*******************************************************************************
* Copyright (C) 2019-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
******************************************************************************/
#include "vaapi_context.h"
#include "inference_backend/logger.h"
#include "u... | 33.635714 | 119 | 0.712678 | MisterArslan |
81baf3ae028b0ebf7d0bc882ffb7ba903141ed6e | 2,594 | cpp | C++ | src/lib/tide/api/environment_binding.cpp | dubcanada/TideSDKLite | f2f3959e8d464c1096bd5e0963149a3589d54a25 | [
"Apache-2.0"
] | 2 | 2015-11-05T01:53:44.000Z | 2015-12-17T06:52:12.000Z | src/lib/tide/api/environment_binding.cpp | aykutb/TideSDK | 267e1cb86dc2dc7bef136a78a6f2177233bad233 | [
"Apache-2.0"
] | null | null | null | src/lib/tide/api/environment_binding.cpp | aykutb/TideSDK | 267e1cb86dc2dc7bef136a78a6f2177233bad233 | [
"Apache-2.0"
] | 1 | 2015-07-12T19:35:36.000Z | 2015-07-12T19:35:36.000Z | /**
* This file has been modified from its orginal sources.
*
* Copyright (c) 2012 Software in the Public Interest Inc (SPI)
* Copyright (c) 2012 David Pratt
*
* 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... | 32.835443 | 84 | 0.660756 | dubcanada |
81bc6385d9522fc960507eb8b4db75542d010bfd | 3,361 | cpp | C++ | build/linux-build/Sources/src/kha/kore/graphics4/ConstantLocation.cpp | 5Mixer/GGJ20 | a12a14d596ab150e8d96dda5a21defcd176f251f | [
"MIT"
] | null | null | null | build/linux-build/Sources/src/kha/kore/graphics4/ConstantLocation.cpp | 5Mixer/GGJ20 | a12a14d596ab150e8d96dda5a21defcd176f251f | [
"MIT"
] | null | null | null | build/linux-build/Sources/src/kha/kore/graphics4/ConstantLocation.cpp | 5Mixer/GGJ20 | a12a14d596ab150e8d96dda5a21defcd176f251f | [
"MIT"
] | null | null | null | // Generated by Haxe 4.0.5
#include <hxcpp.h>
#ifndef INCLUDED_kha_graphics4_ConstantLocation
#include <hxinc/kha/graphics4/ConstantLocation.h>
#endif
#ifndef INCLUDED_kha_kore_graphics4_ConstantLocation
#include <hxinc/kha/kore/graphics4/ConstantLocation.h>
#endif
HX_DEFINE_STACK_FRAME(_hx_pos_8a98049bf91d5975_10_ne... | 33.61 | 206 | 0.793216 | 5Mixer |
81c094b450ad01b902cec3b24adeddf2af841f88 | 6,046 | cpp | C++ | VC2012Samples/Windows 8 samples/C++/Windows 8 app samples/Hilo C++ sample (Windows 8)/C++/Hilo/ThumbnailGenerator.cpp | alonmm/VCSamples | 6aff0b4902f5027164d593540fcaa6601a0407c3 | [
"MIT"
] | 300 | 2019-05-09T05:32:33.000Z | 2022-03-31T20:23:24.000Z | VC2012Samples/Windows 8 samples/C++/Windows 8 app samples/Hilo C++ sample (Windows 8)/C++/Hilo/ThumbnailGenerator.cpp | JaydenChou/VCSamples | 9e1d4475555b76a17a3568369867f1d7b6cc6126 | [
"MIT"
] | 9 | 2016-09-19T18:44:26.000Z | 2018-10-26T10:20:05.000Z | VC2012Samples/Windows 8 samples/C++/Windows 8 app samples/Hilo C++ sample (Windows 8)/C++/Hilo/ThumbnailGenerator.cpp | JaydenChou/VCSamples | 9e1d4475555b76a17a3568369867f1d7b6cc6126 | [
"MIT"
] | 633 | 2019-05-08T07:34:12.000Z | 2022-03-30T04:38:28.000Z | // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved
#include "pch.h"
#include "T... | 32.331551 | 107 | 0.676811 | alonmm |
81c1c41f2a88147dab9a2a82d236621e7cddeb25 | 817 | cpp | C++ | src/Stopwatch.cpp | matheuscscp/metallicar | 6508735a7f3ce526637622834fdb95f6d6297687 | [
"MIT"
] | null | null | null | src/Stopwatch.cpp | matheuscscp/metallicar | 6508735a7f3ce526637622834fdb95f6d6297687 | [
"MIT"
] | null | null | null | src/Stopwatch.cpp | matheuscscp/metallicar | 6508735a7f3ce526637622834fdb95f6d6297687 | [
"MIT"
] | null | null | null | /*
* Stopwatch.cpp
*
* Created on: Jul 14, 2014
* Author: Pimenta
*/
// this
#include "metallicar_time.hpp"
namespace metallicar {
Stopwatch::Stopwatch() :
started(false), paused(false), initialTime(0), pauseTime(0)
{
}
void Stopwatch::start() {
started = true;
paused = false;
... | 15.711538 | 60 | 0.578947 | matheuscscp |
81c2485a415b77dc4cc7cbaf97f96adba66a3f36 | 330 | cpp | C++ | src/ResourceFormatter/ResourceFormatterText.cpp | farlepet/coapserver | 5709add6cc4c1d61db1b719196d6941bdde96878 | [
"MIT"
] | 1 | 2021-07-04T21:52:23.000Z | 2021-07-04T21:52:23.000Z | src/ResourceFormatter/ResourceFormatterText.cpp | farlepet/coapserver | 5709add6cc4c1d61db1b719196d6941bdde96878 | [
"MIT"
] | 12 | 2022-02-26T16:27:58.000Z | 2022-03-26T17:32:22.000Z | src/ResourceFormatter/ResourceFormatterText.cpp | farlepet/coapserver | 5709add6cc4c1d61db1b719196d6941bdde96878 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include "ResourceFormatter/ResourceFormatterText.hpp"
ResourceFormatterText::ResourceFormatterText() {
}
int ResourceFormatterText::decode(const std::vector<uint8_t> &data, std::ostream &out) {
for(size_t i = 0; i < data.size(); i++) {
out << static_cast<char>(data[i]);
}
re... | 20.625 | 88 | 0.672727 | farlepet |
81c5225c29991d1c912b627488024fe772733b79 | 145,529 | cpp | C++ | src/crypto/digest.cpp | nextcashtech/nextcash | f16e9938d55dd42ce9a6d6fcfbf948d0ee6165e7 | [
"MIT"
] | 1 | 2017-11-23T03:00:39.000Z | 2017-11-23T03:00:39.000Z | src/crypto/digest.cpp | arcmist/arcmist | f16e9938d55dd42ce9a6d6fcfbf948d0ee6165e7 | [
"MIT"
] | null | null | null | src/crypto/digest.cpp | arcmist/arcmist | f16e9938d55dd42ce9a6d6fcfbf948d0ee6165e7 | [
"MIT"
] | null | null | null | /**************************************************************************
* Copyright 2017-2018 NextCash, LLC *
* Contributors : *
* Curtis Ellis <curtis@nextcash.tech> *
* Distributed u... | 42.182319 | 331 | 0.508833 | nextcashtech |
81c81d437ad7da06a3aa7bd15d319b9d8f9ebdde | 1,356 | cc | C++ | tests/models/pmx/lstm_test.cc | kuroro-tian/ppl.nn | 7b33cd1fd0660540aec483f299b20094425e7138 | [
"Apache-2.0"
] | 1 | 2022-03-27T07:55:37.000Z | 2022-03-27T07:55:37.000Z | tests/models/pmx/lstm_test.cc | kuroro-tian/ppl.nn | 7b33cd1fd0660540aec483f299b20094425e7138 | [
"Apache-2.0"
] | null | null | null | tests/models/pmx/lstm_test.cc | kuroro-tian/ppl.nn | 7b33cd1fd0660540aec483f299b20094425e7138 | [
"Apache-2.0"
] | null | null | null | #include "pmx_utils.h"
#include "ppl/nn/models/pmx/oputils/onnx/lstm.h"
using namespace std;
using namespace ppl::nn::onnx;
using namespace ppl::nn::pmx::onnx;
TEST_F(PmxTest, test_lstm) {
DEFINE_ARG(LSTMParam, lstm);
lstm_param1.activation_alpha = {0.23f};
lstm_param1.activation_beta = {0.33f};
lstm_... | 41.090909 | 94 | 0.730088 | kuroro-tian |
81d59017badc7a971abc038128261e7291e7ae71 | 1,234 | cpp | C++ | src/testing/experiment/test_loop_functions.cpp | freedomcondor/argos3-harry | 10cc040af3d5339538cfd801f0317fa8269429a5 | [
"MIT"
] | 1 | 2021-01-15T21:58:34.000Z | 2021-01-15T21:58:34.000Z | src/testing/experiment/test_loop_functions.cpp | freedomcondor/argos3-harry | 10cc040af3d5339538cfd801f0317fa8269429a5 | [
"MIT"
] | 1 | 2021-02-28T23:45:32.000Z | 2021-02-28T23:45:32.000Z | src/testing/experiment/test_loop_functions.cpp | freedomcondor/argos3-harry | 10cc040af3d5339538cfd801f0317fa8269429a5 | [
"MIT"
] | 7 | 2021-02-26T16:41:06.000Z | 2022-01-19T21:36:31.000Z |
/**
* @file <argos3/testing/experiment/test_loop_functions.cpp>
*
* @author Carlo Pinciroli <ilpincy@gmail.com>
*/
#include "test_loop_functions.h"
#include <argos3/plugins/robots/foot-bot/simulator/footbot_entity.h>
#include <argos3/plugins/simulator/entities/led_entity.h>
/**************************************... | 33.351351 | 82 | 0.634522 | freedomcondor |
81d5db984932e341f16deda1effa122be9e22a15 | 2,381 | hpp | C++ | src/lib/rendering/synchronization/Fence.hpp | Lut99/Rasterizer | 453864506db749a93fb82fb17cc5ee88cc4ada01 | [
"MIT"
] | 1 | 2021-08-15T19:20:14.000Z | 2021-08-15T19:20:14.000Z | src/lib/rendering/synchronization/Fence.hpp | Lut99/Rasterizer | 453864506db749a93fb82fb17cc5ee88cc4ada01 | [
"MIT"
] | 17 | 2021-06-05T12:37:04.000Z | 2021-10-01T10:20:09.000Z | src/lib/rendering/synchronization/Fence.hpp | Lut99/Rasterizer | 453864506db749a93fb82fb17cc5ee88cc4ada01 | [
"MIT"
] | null | null | null | /* FENCE.hpp
* by Lut99
*
* Created:
* 28/06/2021, 16:57:12
* Last edited:
* 28/06/2021, 16:57:12
* Auto updated?
* Yes
*
* Description:
* Contains a class that wraps a VkFence object.
**/
#ifndef RENDERING_FENCE_HPP
#define RENDERING_FENCE_HPP
#include <vulkan/vulkan.h>
#include "../gpu/GPU.hpp... | 33.069444 | 152 | 0.622848 | Lut99 |
81d99cbe8d4a731f81c7b6a84f788f537ab9d98f | 1,120 | cc | C++ | cpp/solutions/006/solution.cc | StephanBischoff-Digle/dcp | 5e0914386ceee5c1aa94a1b2deb8264c7c8bcc3e | [
"Unlicense"
] | null | null | null | cpp/solutions/006/solution.cc | StephanBischoff-Digle/dcp | 5e0914386ceee5c1aa94a1b2deb8264c7c8bcc3e | [
"Unlicense"
] | null | null | null | cpp/solutions/006/solution.cc | StephanBischoff-Digle/dcp | 5e0914386ceee5c1aa94a1b2deb8264c7c8bcc3e | [
"Unlicense"
] | null | null | null | #include "solution.h"
xor_linked_list::xor_linked_list() : memory_(3), size_{0} {}
void xor_linked_list::add(std::int32_t value) {
if (size_ == 0) {
memory_[0] = {0, value};
size_++;
return;
}
// resize internam memory if necessary
if (size_ == memory_.size() - 1) {
me... | 20.740741 | 70 | 0.507143 | StephanBischoff-Digle |
81d9ba16900de52ad218827748fd86f2150626a6 | 639 | cpp | C++ | src/Expression.cpp | bmarchon/LG_H4311 | 8a52272a19c13726b8a72b84147d7be27784deb3 | [
"Apache-2.0"
] | null | null | null | src/Expression.cpp | bmarchon/LG_H4311 | 8a52272a19c13726b8a72b84147d7be27784deb3 | [
"Apache-2.0"
] | null | null | null | src/Expression.cpp | bmarchon/LG_H4311 | 8a52272a19c13726b8a72b84147d7be27784deb3 | [
"Apache-2.0"
] | null | null | null | #include "Expression.h"
Expression::Expression(Expressions typeExp, Symboles type):Symbole(type)
{
this->typeExp=typeExp;
expression = NULL;
}
Expression::Expression():Symbole(type)
{
expression = NULL;
}
Expressions Expression::getExprType()
{
return this->typeExp;
}
Expression::~Expression()
{
//dtor
}
void... | 14.860465 | 72 | 0.716745 | bmarchon |
81dc1a3053519a1289dd6bd3195f14443e2fbc58 | 9,754 | cpp | C++ | NOLF/ClientShellDLL/BodyFX.cpp | haekb/nolf1-modernizer | 25bac3d43c40a83b8e90201a70a14ef63b4240e7 | [
"Unlicense"
] | 38 | 2019-09-16T14:46:42.000Z | 2022-03-10T20:28:10.000Z | NOLF/ClientShellDLL/BodyFX.cpp | haekb/nolf1-modernizer | 25bac3d43c40a83b8e90201a70a14ef63b4240e7 | [
"Unlicense"
] | 39 | 2019-08-12T01:35:33.000Z | 2022-02-28T16:48:16.000Z | NOLF/ClientShellDLL/BodyFX.cpp | haekb/nolf1-modernizer | 25bac3d43c40a83b8e90201a70a14ef63b4240e7 | [
"Unlicense"
] | 6 | 2019-09-17T12:49:18.000Z | 2022-03-10T20:28:12.000Z | // ----------------------------------------------------------------------- //
//
// MODULE : BodyFX.cpp
//
// PURPOSE : Body special FX - Implementation
//
// CREATED : 8/24/98
//
// (c) 1998-1999 Monolith Productions, Inc. All Rights Reserved
//
// --------------------------------------------------------------------... | 24.693671 | 128 | 0.574841 | haekb |
81dc81bbfec0415572e5d7334486fcc66220c540 | 1,584 | cpp | C++ | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcPositiveRatioMeasure.cpp | shelltdf/ifcplusplus | 120ef686c4002c1cc77e3808fe00b8653cfcabd7 | [
"MIT"
] | null | null | null | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcPositiveRatioMeasure.cpp | shelltdf/ifcplusplus | 120ef686c4002c1cc77e3808fe00b8653cfcabd7 | [
"MIT"
] | null | null | null | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcPositiveRatioMeasure.cpp | shelltdf/ifcplusplus | 120ef686c4002c1cc77e3808fe00b8653cfcabd7 | [
"MIT"
] | 1 | 2021-04-26T14:56:09.000Z | 2021-04-26T14:56:09.000Z | /* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */
#include <sstream>
#include <limits>
#include <map>
#include "ifcpp/reader/ReaderUtil.h"
#include "ifcpp/writer/WriterUtil.h"
#include "ifcpp/model/BasicTypes.h"
#include "ifcpp/model/BuildingException.h"
#include "ifcpp/IFC4/include/IfcMeas... | 38.634146 | 163 | 0.748106 | shelltdf |
81dd0fc1dac78844220e9e9d309f26e5fb3b6c78 | 6,750 | cpp | C++ | Source/AllProjects/Tests2/TestEvents/TestEvents_Scheduled.cpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | 51 | 2020-12-26T18:17:16.000Z | 2022-03-15T04:29:35.000Z | Source/AllProjects/Tests2/TestEvents/TestEvents_Scheduled.cpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | null | null | null | Source/AllProjects/Tests2/TestEvents/TestEvents_Scheduled.cpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | 4 | 2020-12-28T07:24:39.000Z | 2021-12-29T12:09:37.000Z | //
// FILE NAME: TestEvents_Scheduled.cpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 09/21/2009
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2020
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://op... | 29.220779 | 100 | 0.491259 | MarkStega |
81de8f9990a206bc30adfd35bddc9388d5ec7fdf | 601 | hpp | C++ | include/extractor/guidance/turn_lane_augmentation.hpp | peterkist-tinker/osrm-backend-appveyor-test | 1891d7379c1d524ea6dc5a8d95e93f4023481a07 | [
"BSD-2-Clause"
] | null | null | null | include/extractor/guidance/turn_lane_augmentation.hpp | peterkist-tinker/osrm-backend-appveyor-test | 1891d7379c1d524ea6dc5a8d95e93f4023481a07 | [
"BSD-2-Clause"
] | null | null | null | include/extractor/guidance/turn_lane_augmentation.hpp | peterkist-tinker/osrm-backend-appveyor-test | 1891d7379c1d524ea6dc5a8d95e93f4023481a07 | [
"BSD-2-Clause"
] | null | null | null | #ifndef OSRM_EXTRACTOR_GUIDANCE_TURN_LANE_AUGMENTATION_HPP_
#define OSRM_EXTRACTOR_GUIDANCE_TURN_LANE_AUGMENTATION_HPP_
#include "extractor/guidance/intersection.hpp"
#include "extractor/guidance/turn_lane_data.hpp"
namespace osrm
{
namespace extractor
{
namespace guidance
{
namespace lanes
{
LaneDataVector handleNo... | 24.04 | 77 | 0.777038 | peterkist-tinker |
81defce025f673146fb076b3c67dd6f24fc5d927 | 1,529 | cpp | C++ | atcoder/agc006/D.cpp | swwind/code | 25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0 | [
"WTFPL"
] | 3 | 2017-09-17T09:12:50.000Z | 2018-04-06T01:18:17.000Z | atcoder/agc006/D.cpp | swwind/code | 25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0 | [
"WTFPL"
] | null | null | null | atcoder/agc006/D.cpp | swwind/code | 25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0 | [
"WTFPL"
] | null | null | null | #include <bits/stdc++.h>
#define N 200020
#define ll long long
using namespace std;
inline int read(){
int x=0,f=1;char ch=getchar();
while(ch>'9'||ch<'0')ch=='-'&&(f=0)||(ch=getchar());
while(ch<='9'&&ch>='0')x=(x<<3)+(x<<1)+ch-'0',ch=getchar();
return f?x:-x;
}
int a[N];
bool b[N];
int n, sz;
bool check(int x... | 15.927083 | 61 | 0.456508 | swwind |
81dfaff9617ef04a799d6168fb671e82f45bae41 | 363 | cpp | C++ | RandomNumbersLibrary/RandomNumbers/RandomGeneratorBase.cpp | PiotrGardocki/RandomNumbersLibrary | 4657ea288109381538a041ad765d02104414cd3c | [
"Unlicense"
] | null | null | null | RandomNumbersLibrary/RandomNumbers/RandomGeneratorBase.cpp | PiotrGardocki/RandomNumbersLibrary | 4657ea288109381538a041ad765d02104414cd3c | [
"Unlicense"
] | null | null | null | RandomNumbersLibrary/RandomNumbers/RandomGeneratorBase.cpp | PiotrGardocki/RandomNumbersLibrary | 4657ea288109381538a041ad765d02104414cd3c | [
"Unlicense"
] | null | null | null | #include <chrono>
#include "RandomGeneratorBase.hpp"
namespace
{
long long createSeed()
{
auto seed = std::chrono::system_clock::now().time_since_epoch().count();
return seed;
}
}
thread_local std::mt19937 RandomGeneratorBase::mEngine(static_cast<unsigned int>(createSeed()) );
std::mt19937 & RandomGeneratorBa... | 19.105263 | 97 | 0.738292 | PiotrGardocki |
81e6a655366f5b01affb9add00a1bf2d59ed9c1d | 873 | cpp | C++ | connected_components.cpp | GautamSachdeva/Number_of_connected_components | d2f7cefaf956660f027e05836a075653390f66c3 | [
"MIT"
] | null | null | null | connected_components.cpp | GautamSachdeva/Number_of_connected_components | d2f7cefaf956660f027e05836a075653390f66c3 | [
"MIT"
] | null | null | null | connected_components.cpp | GautamSachdeva/Number_of_connected_components | d2f7cefaf956660f027e05836a075653390f66c3 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
using namespace std;
using std::vector;
using std::pair;
void depth(vector<vector<int> > &adj ,vector<bool> &visited , int curr_node){
visited[curr_node] = true;
for(int i = 0; i < adj[curr_node].size() ; i++){
int v = adj[curr_node][i];
if(!visited[v])
depth(adj,visite... | 20.302326 | 77 | 0.578465 | GautamSachdeva |
81e7e0b37b80a1a8a6534fd7a1f96e58c27d798d | 16,712 | cc | C++ | src/ufo/filters/obsfunctions/CLWRetMW.cc | fmahebert/ufo | 2af9b91433553ca473c72fcd131400a01c3aabdb | [
"Apache-2.0"
] | 4 | 2020-12-04T08:26:06.000Z | 2021-11-20T01:18:47.000Z | src/ufo/filters/obsfunctions/CLWRetMW.cc | fmahebert/ufo | 2af9b91433553ca473c72fcd131400a01c3aabdb | [
"Apache-2.0"
] | 21 | 2020-10-30T08:57:16.000Z | 2021-05-17T15:11:20.000Z | src/ufo/filters/obsfunctions/CLWRetMW.cc | fmahebert/ufo | 2af9b91433553ca473c72fcd131400a01c3aabdb | [
"Apache-2.0"
] | 31 | 2021-06-24T18:07:53.000Z | 2021-10-08T15:40:39.000Z | /*
* (C) Copyright 2019 UCAR
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
*/
#include "ufo/filters/obsfunctions/CLWRetMW.h"
#include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#inclu... | 45.045822 | 99 | 0.57366 | fmahebert |
81e8caa080f0e05f4896cf588c709a8e75e495f4 | 76 | hpp | C++ | examples/example2/user1.hpp | ldrozdz93/cpp-visitor-pattern | 542dd041178be665c94b9364a3595ff7cb60e40a | [
"MIT"
] | 1 | 2022-01-13T07:04:41.000Z | 2022-01-13T07:04:41.000Z | examples/example2/user1.hpp | ldrozdz93/cpp-visitor-pattern | 542dd041178be665c94b9364a3595ff7cb60e40a | [
"MIT"
] | null | null | null | examples/example2/user1.hpp | ldrozdz93/cpp-visitor-pattern | 542dd041178be665c94b9364a3595ff7cb60e40a | [
"MIT"
] | null | null | null | #pragma once
#include "base.hpp"
int user1_value_by_visitation(Base& base); | 19 | 42 | 0.789474 | ldrozdz93 |
81ec746e39c96792fecb45725eb7a543a1cd2e87 | 2,765 | hpp | C++ | lite/fpga/KD/layout.hpp | banbishan/Paddle-Lite | 02517c12c31609f413a1c47a83e25d3fbff07074 | [
"Apache-2.0"
] | 1 | 2019-08-21T05:54:42.000Z | 2019-08-21T05:54:42.000Z | lite/fpga/KD/layout.hpp | banbishan/Paddle-Lite | 02517c12c31609f413a1c47a83e25d3fbff07074 | [
"Apache-2.0"
] | null | null | null | lite/fpga/KD/layout.hpp | banbishan/Paddle-Lite | 02517c12c31609f413a1c47a83e25d3fbff07074 | [
"Apache-2.0"
] | 1 | 2019-10-11T09:34:49.000Z | 2019-10-11T09:34:49.000Z | /* Copyright (c) 2019 PaddlePaddle Authors. 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 applicable law or... | 27.65 | 76 | 0.666908 | banbishan |
81f03799cb719d11f4c00ae5c5f60e01313a0903 | 854 | cpp | C++ | August_2020_challange/Day 7.cpp | jv640/LeetCode | af07ebf2f4cc5f28a61f78d952febe10782b0e93 | [
"MIT"
] | null | null | null | August_2020_challange/Day 7.cpp | jv640/LeetCode | af07ebf2f4cc5f28a61f78d952febe10782b0e93 | [
"MIT"
] | null | null | null | August_2020_challange/Day 7.cpp | jv640/LeetCode | af07ebf2f4cc5f28a61f78d952febe10782b0e93 | [
"MIT"
] | null | null | null | /*
Problem : Vertical Order Traversal of a Binary Tree
*/
// Approach make variable x and y and attach them with every node x for horizontal distance and y for vertical distance
// Code
map<int,set<pair<int,int>>> ans;
void pre( TreeNode *root, int horizontal_Level, int vertical_Level ){
if(!root)
... | 32.846154 | 121 | 0.59719 | jv640 |
81f1b89a3bced4fa9428e1eab4d8b19028256f04 | 268 | cpp | C++ | 1.cpp | baicaihenxiao/LeetCode-Myself | f88fa5b5e76a913d6d9395d75571c8d7c46d37f5 | [
"MIT"
] | null | null | null | 1.cpp | baicaihenxiao/LeetCode-Myself | f88fa5b5e76a913d6d9395d75571c8d7c46d37f5 | [
"MIT"
] | 6 | 2021-03-31T02:43:24.000Z | 2022-01-04T16:40:26.000Z | 1.cpp | baicaihenxiao/LeetCode-Myself | f88fa5b5e76a913d6d9395d75571c8d7c46d37f5 | [
"MIT"
] | null | null | null | #include <iostream>
#include <stdio.h>
#include <string>
#include <fstream>
#include <vector>
#include <unordered_map>
#include <stack>
#include <deque>
#include <algorithm>
using namespace std;
int main()
{
cout << "Hello World!" << endl;
return 0;
}
| 13.4 | 35 | 0.660448 | baicaihenxiao |
81f22282779ab4d0066af37af146da671c028333 | 312 | hpp | C++ | rmvmath/types/quaternion_double_type.hpp | vitali-kurlovich/RMMath | a982b89e5db08e9cd16cb08e92839a315b6198dc | [
"MIT"
] | null | null | null | rmvmath/types/quaternion_double_type.hpp | vitali-kurlovich/RMMath | a982b89e5db08e9cd16cb08e92839a315b6198dc | [
"MIT"
] | null | null | null | rmvmath/types/quaternion_double_type.hpp | vitali-kurlovich/RMMath | a982b89e5db08e9cd16cb08e92839a315b6198dc | [
"MIT"
] | null | null | null | //
// Created by Vitali Kurlovich on 4/13/16.
//
#ifndef RMVECTORMATH_QUATERNION_DOUBLE_TYPE_HPP
#define RMVECTORMATH_QUATERNION_DOUBLE_TYPE_HPP
#include "../quaternion/TQuaternion.hpp"
namespace rmmath {
typedef quaternion::TQuaternion<double> dquat;
}
#endif //RMVECTORMATH_QUATERNION_DOUBLE_TYPE_HPP
| 19.5 | 50 | 0.801282 | vitali-kurlovich |
81f2a8043fea1e31ec5aca13a1808b6898969c0e | 382 | cpp | C++ | sledge/test/analyze/FN_ptr_arith_bad.cpp | sujin0529/infer | f08a09d6896ac2a22081ead4830eb86c64af8813 | [
"MIT"
] | 2 | 2021-12-17T13:38:34.000Z | 2021-12-17T14:06:53.000Z | sledge/test/analyze/FN_ptr_arith_bad.cpp | sujin0529/infer | f08a09d6896ac2a22081ead4830eb86c64af8813 | [
"MIT"
] | 7 | 2017-12-03T16:09:45.000Z | 2018-01-08T15:15:34.000Z | sledge/test/analyze/FN_ptr_arith_bad.cpp | sujin0529/infer | f08a09d6896ac2a22081ead4830eb86c64af8813 | [
"MIT"
] | 2 | 2020-06-23T00:43:10.000Z | 2022-03-24T06:24:50.000Z | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
int
main()
{
auto x = new int[8];
auto y = new int[8];
y[0] = 42;
auto x_ptr = x + 8; // one past the end
if (x_ptr == &... | 20.105263 | 66 | 0.586387 | sujin0529 |
81f84de16b7ddce4b6c0ae26e79c0b2ed543fa4b | 907 | hh | C++ | src/pks/flow/FracturePermModel_Linear.hh | fmyuan/amanzi | edb7b815ae6c22956c8519acb9d87b92a9915ed4 | [
"RSA-MD"
] | 37 | 2017-04-26T16:27:07.000Z | 2022-03-01T07:38:57.000Z | src/pks/flow/FracturePermModel_Linear.hh | fmyuan/amanzi | edb7b815ae6c22956c8519acb9d87b92a9915ed4 | [
"RSA-MD"
] | 494 | 2016-09-14T02:31:13.000Z | 2022-03-13T18:57:05.000Z | src/pks/flow/FracturePermModel_Linear.hh | fmyuan/amanzi | edb7b815ae6c22956c8519acb9d87b92a9915ed4 | [
"RSA-MD"
] | 43 | 2016-09-26T17:58:40.000Z | 2022-03-25T02:29:59.000Z | /*
Flow PK
Copyright 2010-201x held jointly by LANS/LANL, LBNL, and PNNL.
Amanzi is released under the three-clause BSD License.
The terms of use and "as is" disclaimer for this license are
provided in the top-level COPYRIGHT file.
Author: Konstantin Lipnikov (lipnikov@lanl.gov)
Linear model for ef... | 24.513514 | 71 | 0.76516 | fmyuan |
3b51973e261c9f2e13c3e999c9cdfd2146978689 | 8,986 | cc | C++ | snapshot/test/test_cpu_context.cc | venge-vimeo/crashpad | 7c30a508eb1c5fba3533a1e5570e79b9b2ad37d5 | [
"Apache-2.0"
] | null | null | null | snapshot/test/test_cpu_context.cc | venge-vimeo/crashpad | 7c30a508eb1c5fba3533a1e5570e79b9b2ad37d5 | [
"Apache-2.0"
] | null | null | null | snapshot/test/test_cpu_context.cc | venge-vimeo/crashpad | 7c30a508eb1c5fba3533a1e5570e79b9b2ad37d5 | [
"Apache-2.0"
] | null | null | null | // Copyright 2014 The Crashpad Authors. 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 ... | 29.953333 | 79 | 0.649232 | venge-vimeo |
3b536e10d490f9a00b5ca1787c108c2a3f088e25 | 1,191 | cpp | C++ | competitive_programming/programming_contests/uri/motoboy.cpp | LeandroTk/Algorithms | 569ed68eba3eeff902f8078992099c28ce4d7cd6 | [
"MIT"
] | 205 | 2018-12-01T17:49:49.000Z | 2021-12-22T07:02:27.000Z | competitive_programming/programming_contests/uri/motoboy.cpp | LeandroTk/Algorithms | 569ed68eba3eeff902f8078992099c28ce4d7cd6 | [
"MIT"
] | 2 | 2020-01-01T16:34:29.000Z | 2020-04-26T19:11:13.000Z | competitive_programming/programming_contests/uri/motoboy.cpp | LeandroTk/Algorithms | 569ed68eba3eeff902f8078992099c28ce4d7cd6 | [
"MIT"
] | 50 | 2018-11-28T20:51:36.000Z | 2021-11-29T04:08:25.000Z | // https://www.urionlinejudge.com.br/judge/pt/problems/view/1286
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int max(int a, int b) {
return a > b? a : b;
}
struct Obj {
int time, pizza;
};
bool sortByPizza(Obj obj1, Obj obj2) {
if (obj1.pizza < obj2.pizza) return true;
e... | 20.186441 | 115 | 0.525609 | LeandroTk |
3b5925b76ac1fcfbc1cf4036da4a15deda5565f1 | 3,196 | hpp | C++ | modules/scene_manager/include/urdf/visibility_control.hpp | Omnirobotic/godot | d50b5d047bbf6c68fc458c1ad097321ca627185d | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | null | null | null | modules/scene_manager/include/urdf/visibility_control.hpp | Omnirobotic/godot | d50b5d047bbf6c68fc458c1ad097321ca627185d | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 3 | 2019-11-14T12:20:06.000Z | 2020-08-07T13:51:10.000Z | modules/scene_manager/include/urdf/visibility_control.hpp | Omnirobotic/godot | d50b5d047bbf6c68fc458c1ad097321ca627185d | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | null | null | null | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2017, Open Source Robotics Foundation, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that th... | 41.506494 | 79 | 0.727472 | Omnirobotic |
3b5966ae0e3db24afa6799df4c5b4dc80b53692c | 240 | cpp | C++ | list1010.cpp | zhangqiangoffice/Explain-C | d804978556ea3000f1718126765606e43223925e | [
"Apache-2.0"
] | null | null | null | list1010.cpp | zhangqiangoffice/Explain-C | d804978556ea3000f1718126765606e43223925e | [
"Apache-2.0"
] | null | null | null | list1010.cpp | zhangqiangoffice/Explain-C | d804978556ea3000f1718126765606e43223925e | [
"Apache-2.0"
] | null | null | null | #include <stdio.h>
int main(void) {
int i;
int vc[5] = {10, 20, 30, 40, 50};
int *ptr = &vc[0];
for (i = 0; i < 5; i++)
printf("vc[%d] = %d ptr[%d] = %d *(ptr + %d) = %d\n",
i, vc[i], i, ptr[i], i, *(ptr + i));
return (0);
} | 20 | 57 | 0.429167 | zhangqiangoffice |
3b5dfce7bba25ebda8010d0f04f5f660e7627608 | 892 | cpp | C++ | qprogressbar_hook_c.cpp | mariuszmaximus/qt5pas-aarch64-linux-gnu | c60bbcfa5b0d7c4fe18bb21e5f2f424a5b658c1b | [
"Apache-2.0"
] | null | null | null | qprogressbar_hook_c.cpp | mariuszmaximus/qt5pas-aarch64-linux-gnu | c60bbcfa5b0d7c4fe18bb21e5f2f424a5b658c1b | [
"Apache-2.0"
] | null | null | null | qprogressbar_hook_c.cpp | mariuszmaximus/qt5pas-aarch64-linux-gnu | c60bbcfa5b0d7c4fe18bb21e5f2f424a5b658c1b | [
"Apache-2.0"
] | null | null | null | //******************************************************************************
// Copyright (c) 2005-2013 by Jan Van hijfte
//
// See the included file COPYING.TXT for details about the copyright.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the i... | 30.758621 | 80 | 0.643498 | mariuszmaximus |
3b5e19002f51f8095c627fcfb44c89a83d29aae5 | 15,875 | cpp | C++ | Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/gui/src/common/LoginWidget.cpp | ramkumarkoppu/NUCLEO-F767ZI-ESW | 85e129d71ee8eccbd0b94b5e07e75b6b91679ee8 | [
"MIT"
] | null | null | null | Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/gui/src/common/LoginWidget.cpp | ramkumarkoppu/NUCLEO-F767ZI-ESW | 85e129d71ee8eccbd0b94b5e07e75b6b91679ee8 | [
"MIT"
] | null | null | null | Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/gui/src/common/LoginWidget.cpp | ramkumarkoppu/NUCLEO-F767ZI-ESW | 85e129d71ee8eccbd0b94b5e07e75b6b91679ee8 | [
"MIT"
] | null | null | null | /**
******************************************************************************
* This file is part of the TouchGFX 4.10.0 distribution.
*
* @attention
*
* Copyright (c) 2018 STMicroelectronics.
* All rights reserved.
*
* This software is licensed under terms that can be found in the LICENSE file
... | 31.560636 | 207 | 0.553701 | ramkumarkoppu |
3b61ee22750667eb92981b7e8e0a85b42ad9f45d | 6,668 | cpp | C++ | lab8/src/2/src/kernel/memory.cpp | YatSenOS/YatSenOS-Tutorial-Volume-1 | dc69d576b2cdcece58744eeab4798bd6f1260bb5 | [
"MulanPSL-1.0"
] | 400 | 2021-05-30T04:07:44.000Z | 2022-03-16T04:47:52.000Z | lab8/src/2/src/kernel/memory.cpp | YatSenOS/YatSenOS-Tutorial-Volume-1 | dc69d576b2cdcece58744eeab4798bd6f1260bb5 | [
"MulanPSL-1.0"
] | 2 | 2021-10-10T23:55:02.000Z | 2021-10-11T06:09:36.000Z | lab8/src/2/src/kernel/memory.cpp | YatSenOS/YatSenOS-Tutorial-Volume-1 | dc69d576b2cdcece58744eeab4798bd6f1260bb5 | [
"MulanPSL-1.0"
] | 38 | 2021-05-30T04:22:44.000Z | 2022-03-14T04:41:52.000Z | #include "memory.h"
#include "os_constant.h"
#include "stdlib.h"
#include "asm_utils.h"
#include "stdio.h"
#include "program.h"
#include "os_modules.h"
MemoryManager::MemoryManager()
{
initialize();
}
void MemoryManager::initialize()
{
this->totalMemory = 0;
this->totalMemory = getTotalMemory();
// 预... | 26.046875 | 110 | 0.613077 | YatSenOS |
3b6251aa2907606b779fd4115b9f2f0d38a22ac3 | 288 | hpp | C++ | pythran/pythonic/__builtin__/UserWarning.hpp | xmar/pythran | dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592 | [
"BSD-3-Clause"
] | null | null | null | pythran/pythonic/__builtin__/UserWarning.hpp | xmar/pythran | dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592 | [
"BSD-3-Clause"
] | null | null | null | pythran/pythonic/__builtin__/UserWarning.hpp | xmar/pythran | dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592 | [
"BSD-3-Clause"
] | null | null | null | #ifndef PYTHONIC_BUILTIN_USERWARNING_HPP
#define PYTHONIC_BUILTIN_USERWARNING_HPP
#include "pythonic/include/__builtin__/UserWarning.hpp"
#include "pythonic/types/exceptions.hpp"
namespace pythonic
{
namespace __builtin__
{
PYTHONIC_EXCEPTION_IMPL(UserWarning)
}
}
#endif
| 15.157895 | 55 | 0.805556 | xmar |
3b678a0addf2b3959f949dc84cf3f76fbea1ae2f | 8,651 | cpp | C++ | YorozuyaGSLib/source/VoterDetail.cpp | lemkova/Yorozuya | f445d800078d9aba5de28f122cedfa03f26a38e4 | [
"MIT"
] | 29 | 2017-07-01T23:08:31.000Z | 2022-02-19T10:22:45.000Z | YorozuyaGSLib/source/VoterDetail.cpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 90 | 2017-10-18T21:24:51.000Z | 2019-06-06T02:30:33.000Z | YorozuyaGSLib/source/VoterDetail.cpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 44 | 2017-12-19T08:02:59.000Z | 2022-02-24T23:15:01.000Z | #include <VoterDetail.hpp>
#include <common/ATFCore.hpp>
START_ATF_NAMESPACE
namespace Detail
{
Info::VoterDoit2_ptr VoterDoit2_next(nullptr);
Info::VoterDoit2_clbk VoterDoit2_user(nullptr);
Info::VoterInitialize4_ptr VoterInitialize4_next(nullptr);
Info::VoterInitiali... | 46.510753 | 112 | 0.635765 | lemkova |
3b6908b7dbf5f6f66cac9172cca25d52bab9a4d7 | 2,784 | hpp | C++ | Siv3D/include/Siv3D/BinaryWriter.hpp | tas9n/OpenSiv3D | c561cba1d88eb9cd9606ba983fcc1120192d5615 | [
"MIT"
] | 2 | 2021-11-22T00:52:48.000Z | 2021-12-24T09:33:55.000Z | Siv3D/include/Siv3D/BinaryWriter.hpp | tas9n/OpenSiv3D | c561cba1d88eb9cd9606ba983fcc1120192d5615 | [
"MIT"
] | 32 | 2021-10-09T10:04:11.000Z | 2022-02-25T06:10:13.000Z | Siv3D/include/Siv3D/BinaryWriter.hpp | tas9n/OpenSiv3D | c561cba1d88eb9cd9606ba983fcc1120192d5615 | [
"MIT"
] | 1 | 2021-12-31T05:08:00.000Z | 2021-12-31T05:08:00.000Z | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2022 Ryo Suzuki
// Copyright (c) 2016-2022 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# pragma once
# include <memory>
# include "Co... | 24.637168 | 80 | 0.681394 | tas9n |
3b71cd7c8f4d104658fa98bf693f6a494dc504af | 24,957 | cc | C++ | src/transform/vertex_pulling_transform_test.cc | dorba/tint | f81c1081ea7d27ea55f373c0bfaf651e491da7e6 | [
"Apache-2.0"
] | null | null | null | src/transform/vertex_pulling_transform_test.cc | dorba/tint | f81c1081ea7d27ea55f373c0bfaf651e491da7e6 | [
"Apache-2.0"
] | null | null | null | src/transform/vertex_pulling_transform_test.cc | dorba/tint | f81c1081ea7d27ea55f373c0bfaf651e491da7e6 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 The Tint Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 24.18314 | 80 | 0.555075 | dorba |
3b72dffedf31ab9716ad1fbeccc9a2fc976f1b7a | 9,363 | cpp | C++ | src/xml.cpp | Lieutenant-Debaser/rom-checksum | 45104adc2280dac448b9f37e7b637909e69f760c | [
"MIT"
] | null | null | null | src/xml.cpp | Lieutenant-Debaser/rom-checksum | 45104adc2280dac448b9f37e7b637909e69f760c | [
"MIT"
] | null | null | null | src/xml.cpp | Lieutenant-Debaser/rom-checksum | 45104adc2280dac448b9f37e7b637909e69f760c | [
"MIT"
] | null | null | null | /* File: xml.cpp
* Author: Lieutenant Debaser
* Last Update (yyyy-mm-dd_hhMM): 2022-01-27_1441
*
* File contains definitions for the Xml class functions, along with constructor definitions. Functions for handling
* searching within strings and XML data are also defined here.
*
* See xml.h for Xml class definit... | 27.866071 | 126 | 0.579729 | Lieutenant-Debaser |
3b76373f85b176cc4fed368925a435e3857faf74 | 1,938 | cpp | C++ | Libraries/RobsJuceModules/rosic/analysis/rosic_PitchDetector.cpp | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 34 | 2017-04-19T18:26:02.000Z | 2022-02-15T17:47:26.000Z | Libraries/RobsJuceModules/rosic/analysis/rosic_PitchDetector.cpp | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 307 | 2017-05-04T21:45:01.000Z | 2022-02-03T00:59:01.000Z | Libraries/RobsJuceModules/rosic/analysis/rosic_PitchDetector.cpp | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 4 | 2017-09-05T17:04:31.000Z | 2021-12-15T21:24:28.000Z | //#include "rosic_PitchDetector.h"
//using namespace rosic;
// Construction/Destruction:
PitchDetector::PitchDetector() : formantRemover(30)
{
// initialize parameters:
sampleRate = 44100.0;
sampleRateRec = 1.0/sampleRate;
minFundamental = 20.0;
maxFundamental = 10000.0;
minPeriod ... | 25.168831 | 63 | 0.701754 | RobinSchmidt |
3b78e97df9a17ef8b3dbc3a2fbd3277645971109 | 769 | cpp | C++ | examples/indent_align_string/false_01.unc.cpp | beardog-ukr/uncrustify-config-examples | 23308192b377107cf287bdb073ae7eccbbf06383 | [
"Unlicense"
] | 1 | 2021-06-23T00:12:23.000Z | 2021-06-23T00:12:23.000Z | examples/indent_align_string/false_01.unc.cpp | beardog-ukr/uncrustify-config-examples | 23308192b377107cf287bdb073ae7eccbbf06383 | [
"Unlicense"
] | null | null | null | examples/indent_align_string/false_01.unc.cpp | beardog-ukr/uncrustify-config-examples | 23308192b377107cf287bdb073ae7eccbbf06383 | [
"Unlicense"
] | null | null | null | #include <iostream>
#include <string>
std::string zz = "Lorem ipsum dolor sit amet, \
consectetur adipiscing elit. \
Cras fermentum id diam sit amet consequat.";
std::string z2 = "Lorem ipsum dolor sit amet,"
"consectetur adipiscing elit."
"Cras fermentum id diam sit amet consequat."... | 26.517241 | 64 | 0.598179 | beardog-ukr |
3b7a9132f2eb951e62f7961b8d82e92d7baa00fa | 2,127 | cc | C++ | desktop_drag_drop_client_egl.cc | zenoalbisser/ozone-egl | 764fa502f28eab052c2f6e9eb992042190c544c4 | [
"BSD-3-Clause"
] | null | null | null | desktop_drag_drop_client_egl.cc | zenoalbisser/ozone-egl | 764fa502f28eab052c2f6e9eb992042190c544c4 | [
"BSD-3-Clause"
] | null | null | null | desktop_drag_drop_client_egl.cc | zenoalbisser/ozone-egl | 764fa502f28eab052c2f6e9eb992042190c544c4 | [
"BSD-3-Clause"
] | null | null | null | /*
* ---------------------------------------------------------------------------------
* Copyright (C) 2015 STMicroelectronics - All Rights Reserved
*
* May be copied or modified under the terms of the LGPL v2.1.
*
* ST makes no warranty express or implied including but not limited to,
* any warranty of
*
* ... | 31.279412 | 84 | 0.64598 | zenoalbisser |
3b7bd09b13852fcf3685def0a40a79b41223cefa | 350 | cpp | C++ | src/decoderms3bits.cpp | leroythelegend/rough_idea_pcars | 07ead73fa04402c860b21039d5aa8c22a33a7d93 | [
"MIT"
] | 4 | 2018-08-09T00:44:01.000Z | 2021-07-03T08:26:39.000Z | src/decoderms3bits.cpp | ejmhub/rough_idea_project_cars | d7cd062cbff2a1df82b5a623205d9c1920c41b1c | [
"MIT"
] | 1 | 2018-02-02T10:44:43.000Z | 2018-02-02T10:44:43.000Z | src/decoderms3bits.cpp | ejmhub/rough_idea_project_cars | d7cd062cbff2a1df82b5a623205d9c1920c41b1c | [
"MIT"
] | 1 | 2018-11-24T09:12:51.000Z | 2018-11-24T09:12:51.000Z | #include "decoderms3bits.h"
#include "exception.h"
namespace pcars {
Decoder_MS3bits::Decoder_MS3bits()
: num_(0) {
}
Decoder_MS3bits::~Decoder_MS3bits() {
}
void Decoder_MS3bits::decode(const PCars_Data & data, Position & position) {
num_ = (data.at(position) >> 4) & 7;
}
unsigned int Decoder_MS3bits::ms3bits(... | 14.583333 | 76 | 0.702857 | leroythelegend |
3b7c4cc83c8dfa32e9e58d8596ccd7e8ca91ca99 | 1,212 | cpp | C++ | lib/IDEDiagnostics.cpp | clagah/mull | 9b5a7824b4f3ecdeff64e3b77ee63db2b40b3f99 | [
"Apache-2.0"
] | null | null | null | lib/IDEDiagnostics.cpp | clagah/mull | 9b5a7824b4f3ecdeff64e3b77ee63db2b40b3f99 | [
"Apache-2.0"
] | null | null | null | lib/IDEDiagnostics.cpp | clagah/mull | 9b5a7824b4f3ecdeff64e3b77ee63db2b40b3f99 | [
"Apache-2.0"
] | 1 | 2019-06-10T02:43:04.000Z | 2019-06-10T02:43:04.000Z | #include "mull/IDEDiagnostics.h"
#include "mull/MutationPoint.h"
#include <llvm/IR/DebugInfoMetadata.h>
#include <llvm/IR/Instruction.h>
#include <llvm/Support/raw_ostream.h>
using namespace mull;
using namespace llvm;
void NormalIDEDiagnostics::report(mull::MutationPoint *mutationPoint,
... | 25.787234 | 75 | 0.65099 | clagah |
3b7ca17731a5b04fe48163b077b1b540d96b64e7 | 1,108 | cpp | C++ | structure/develop/vertex-set-path-sum.cpp | neal2018/library | a19f3b29f3355e32f7e5f6768a7943db48fcdff7 | [
"Unlicense"
] | 127 | 2019-07-22T03:52:01.000Z | 2022-03-11T07:20:21.000Z | structure/develop/vertex-set-path-sum.cpp | neal2018/library | a19f3b29f3355e32f7e5f6768a7943db48fcdff7 | [
"Unlicense"
] | 39 | 2019-09-16T12:04:53.000Z | 2022-03-29T15:43:35.000Z | structure/develop/vertex-set-path-sum.cpp | neal2018/library | a19f3b29f3355e32f7e5f6768a7943db48fcdff7 | [
"Unlicense"
] | 29 | 2019-08-10T11:27:06.000Z | 2022-03-11T07:02:43.000Z | #include "super-link-cut-tree.cpp"
/**
* @brief Vertex Set Path Sum
*/
using T = int64_t;
// 遅延伝搬をするための作用素
struct Lazy {
// 単位元
Lazy() {}
// 初期化
Lazy(T v) {}
// 遅延伝搬
void propagate(const Lazy &p) {}
};
// Light-edge の情報
template< typename Lazy >
struct LInfo {
// 単位元(キーの値はアクセスしないので未初期化でもよい
LInf... | 15.605634 | 61 | 0.610108 | neal2018 |
3b85c60b7bb76ea7e59aa9a287054ad60c3046e2 | 15,328 | cpp | C++ | modules/diagnostics/diagnostics.cpp | Clyde-Beep/sporks-test | c760d68c23a12dcc5c1a48ee0fc5e26c344f5c07 | [
"Apache-2.0"
] | null | null | null | modules/diagnostics/diagnostics.cpp | Clyde-Beep/sporks-test | c760d68c23a12dcc5c1a48ee0fc5e26c344f5c07 | [
"Apache-2.0"
] | null | null | null | modules/diagnostics/diagnostics.cpp | Clyde-Beep/sporks-test | c760d68c23a12dcc5c1a48ee0fc5e26c344f5c07 | [
"Apache-2.0"
] | null | null | null | /************************************************************************************
*
* Sporks, the learning, scriptable Discord bot!
*
* Copyright 2019 Craig Edwards <support@sporks.gg>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with t... | 38.41604 | 254 | 0.545472 | Clyde-Beep |
3b872581b6730fc593c5e0c4436e78be88e664f4 | 5,604 | hpp | C++ | src/Utilities/FakeVirtual.hpp | marissawalker/spectre | afc8205e2f697de5e8e4f05e881499e05c9fd8a0 | [
"MIT"
] | null | null | null | src/Utilities/FakeVirtual.hpp | marissawalker/spectre | afc8205e2f697de5e8e4f05e881499e05c9fd8a0 | [
"MIT"
] | null | null | null | src/Utilities/FakeVirtual.hpp | marissawalker/spectre | afc8205e2f697de5e8e4f05e881499e05c9fd8a0 | [
"MIT"
] | null | null | null | // Distributed under the MIT License.
// See LICENSE.txt for details.
#pragma once
#include <type_traits>
#include <typeinfo>
#include "ErrorHandling/Error.hpp"
#include "Utilities/PrettyType.hpp"
#include "Utilities/Requires.hpp"
#include "Utilities/TMPL.hpp"
#include "Utilities/TypeTraits.hpp"
/// \ingroup Utilit... | 48.310345 | 80 | 0.563169 | marissawalker |
3b87ec6a310a6a48f6766cd44c12d4082e622cd7 | 238 | cpp | C++ | 2017_05_29_GameStateManager/IGameState_old.cpp | DarthDementous/2017_05_29_GameStateManagement | 207d3bbd2d5184a32a1437d4417343b696f60e60 | [
"MIT"
] | null | null | null | 2017_05_29_GameStateManager/IGameState_old.cpp | DarthDementous/2017_05_29_GameStateManagement | 207d3bbd2d5184a32a1437d4417343b696f60e60 | [
"MIT"
] | null | null | null | 2017_05_29_GameStateManager/IGameState_old.cpp | DarthDementous/2017_05_29_GameStateManagement | 207d3bbd2d5184a32a1437d4417343b696f60e60 | [
"MIT"
] | null | null | null | #include "IGameState.h"
#include "_2017_05_29_GameStateManagerApp.h"
#include <Application.h>
#pragma region Constructors
IGameState::IGameState(aie::Application* a_app) : m_app(a_app) {}
IGameState::~IGameState()
{
}
#pragma endregion
| 19.833333 | 65 | 0.773109 | DarthDementous |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.