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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d016f0b1044b6e6dca3486f07fb52fd71862cea4 | 4,463 | hpp | C++ | Genesis/include/Genesis/LegacyBackend/LegacyBackend.hpp | JoshuaMasci/Genesis | 761060626a92e3df7b860a97209fca341cdda240 | [
"MIT"
] | 2 | 2020-01-22T05:57:12.000Z | 2020-04-06T01:15:30.000Z | Genesis/include/Genesis/LegacyBackend/LegacyBackend.hpp | JoshuaMasci/Genesis | 761060626a92e3df7b860a97209fca341cdda240 | [
"MIT"
] | null | null | null | Genesis/include/Genesis/LegacyBackend/LegacyBackend.hpp | JoshuaMasci/Genesis | 761060626a92e3df7b860a97209fca341cdda240 | [
"MIT"
] | null | null | null | #pragma once
#include "Genesis/RenderingBackend/VertexInputDescription.hpp"
#include "Genesis/RenderingBackend/RenderingTypes.hpp"
#include "Genesis/RenderingBackend/PipelineSettings.hpp"
namespace Genesis
{
enum class DepthFormat
{
depth_16,
depth_24,
depth_32,
depth_32f,
};
enum class TextureWrapMode
... | 30.568493 | 138 | 0.766077 | JoshuaMasci |
d01efa51e1883ccdcd82c4418fbaf02af8fea6f1 | 861 | cpp | C++ | TouchBarConfig.cpp | RPBCACUEAIIBH/HexaLib-Arduino | 0f61cb0c1fd560df5a6395749376e1123ba0a8f5 | [
"BSD-3-Clause"
] | 3 | 2020-09-10T18:36:25.000Z | 2020-12-18T03:34:08.000Z | TouchBarConfig.cpp | RPBCACUEAIIBH/TouchBar | 96378d143a57e1a0e5e32b2577d94ee717c5c6cf | [
"BSD-3-Clause"
] | null | null | null | TouchBarConfig.cpp | RPBCACUEAIIBH/TouchBar | 96378d143a57e1a0e5e32b2577d94ee717c5c6cf | [
"BSD-3-Clause"
] | null | null | null | #include "TouchBar.h"
/* Configure Private */
void TouchBarConfig::SetFlags (boolean SpringBackFlag, boolean SnapFlag, boolean RampFlag, boolean FlipFlag)
{
Flags = 0;
bitWrite(Flags, 6, SpringBackFlag);
bitWrite(Flags, 5, SnapFlag);
bitWrite(Flags, 4, RampFlag);
bitWrite(Flags, 3, FlipFlag);
}
void Touch... | 17.571429 | 108 | 0.711963 | RPBCACUEAIIBH |
d02248a925b2e191b000ae89b231c53d74468938 | 17,691 | cc | C++ | protocal/guardian/guardian.pb.cc | racestart/g2r | d115ebaab13829d716750eab2ebdcc51d79ff32e | [
"Apache-2.0"
] | 1 | 2020-03-05T12:49:21.000Z | 2020-03-05T12:49:21.000Z | protocal/guardian/guardian.pb.cc | gA4ss/g2r | a6e2ee5758ab59fd95704e3c3090dd234fbfb2c9 | [
"Apache-2.0"
] | null | null | null | protocal/guardian/guardian.pb.cc | gA4ss/g2r | a6e2ee5758ab59fd95704e3c3090dd234fbfb2c9 | [
"Apache-2.0"
] | 1 | 2020-03-25T15:06:39.000Z | 2020-03-25T15:06:39.000Z | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: guardian/guardian.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "guardian/guardian.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/port.h>
#include <google/protobuf/stubs/... | 35.170974 | 125 | 0.738907 | racestart |
d02270a485173a1eff99d741d0d39f556f84faa4 | 1,046 | cpp | C++ | code/cpp/NumberOfSymbolsCommonInaSetOfStrings.cpp | analgorithmaday/analgorithmaday.github.io | d43f98803bc673f61334bff54eed381426ee902e | [
"MIT"
] | null | null | null | code/cpp/NumberOfSymbolsCommonInaSetOfStrings.cpp | analgorithmaday/analgorithmaday.github.io | d43f98803bc673f61334bff54eed381426ee902e | [
"MIT"
] | null | null | null | code/cpp/NumberOfSymbolsCommonInaSetOfStrings.cpp | analgorithmaday/analgorithmaday.github.io | d43f98803bc673f61334bff54eed381426ee902e | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <map>
#include <vector>
using namespace std;
void remove_dup(string& gems) {
map<char, bool> visited;
int len = gems.length();
int i = 0;
while(i < len) {
if(visited[gems[i]]) {
gems.erase(i, 1);
len--;
continue... | 20.509804 | 92 | 0.5 | analgorithmaday |
d022d9f43f19a76814e537c7f00d33fcfa32a76e | 12,745 | cpp | C++ | test/err/id/System.main.cpp | AnantaYudica/basic | dcbf8c9eebb42a4e6a66b3c56ebc3a7e30626950 | [
"MIT"
] | null | null | null | test/err/id/System.main.cpp | AnantaYudica/basic | dcbf8c9eebb42a4e6a66b3c56ebc3a7e30626950 | [
"MIT"
] | 178 | 2018-08-08T04:04:27.000Z | 2019-12-15T01:47:58.000Z | test/err/id/System.main.cpp | AnantaYudica/basic | dcbf8c9eebb42a4e6a66b3c56ebc3a7e30626950 | [
"MIT"
] | null | null | null | #include "Test.h"
#include "test/Message.h"
#include "test/Variable.h"
#include "test/Case.h"
#include "test/var/At.h"
#include "err/id/System.h"
#include "err/id/rec/ToBytes.h"
#include <type_traits>
#include <utility>
BASIC_TEST_CONSTRUCT;
#define BUFFER_FORMAT_CSTRING 256
basic::test::CString<char>
Identificat... | 40.332278 | 79 | 0.691487 | AnantaYudica |
d0247ebaf87e6150cd5095f285103e5820f9b090 | 1,686 | hpp | C++ | plansys2_problem_expert/include/plansys2_problem_expert/ProblemExpertInterface.hpp | mjcarroll/ros2_planning_system | 676d0d3a9629446cdc0797df8daa808e75728cf3 | [
"Apache-2.0"
] | null | null | null | plansys2_problem_expert/include/plansys2_problem_expert/ProblemExpertInterface.hpp | mjcarroll/ros2_planning_system | 676d0d3a9629446cdc0797df8daa808e75728cf3 | [
"Apache-2.0"
] | null | null | null | plansys2_problem_expert/include/plansys2_problem_expert/ProblemExpertInterface.hpp | mjcarroll/ros2_planning_system | 676d0d3a9629446cdc0797df8daa808e75728cf3 | [
"Apache-2.0"
] | null | null | null | // Copyright 2019 Intelligent Robotics Lab
//
// 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 ... | 32.423077 | 78 | 0.759786 | mjcarroll |
d02544ddd1be1a6bf3b41d3a07d7085e57b7c2f1 | 739 | cpp | C++ | UVa Online Judge (UVa)/Volume 102/10226 - Hardwood Species.cpp | sreejonK19/online-judge-solutions | da65d635cc488c8f305e48b49727ad62649f5671 | [
"MIT"
] | null | null | null | UVa Online Judge (UVa)/Volume 102/10226 - Hardwood Species.cpp | sreejonK19/online-judge-solutions | da65d635cc488c8f305e48b49727ad62649f5671 | [
"MIT"
] | null | null | null | UVa Online Judge (UVa)/Volume 102/10226 - Hardwood Species.cpp | sreejonK19/online-judge-solutions | da65d635cc488c8f305e48b49727ad62649f5671 | [
"MIT"
] | 2 | 2018-11-06T19:37:56.000Z | 2018-11-09T19:05:46.000Z | #include <bits/stdc++.h>
using namespace std;
string name;
map <string, int> msi;
map <string, int> :: iterator mit;
int main( int argc, char ** argv ) {
// freopen( "in.txt", "r", stdin );
int tc;
scanf( "%d ", &tc );
for( int nCase = 1 ; nCase <= tc ; ++nCase ) {
msi.clear();
int t... | 24.633333 | 86 | 0.460081 | sreejonK19 |
d0283ea2630da8f55c697dd4ced02391d4f5681d | 4,951 | cpp | C++ | tasks/FrameFilter.cpp | PhischDotOrg/stm32f4-common | 4b6b9c436018c89d3668c6ee107e97abb930bae2 | [
"MIT"
] | 1 | 2022-01-31T01:59:52.000Z | 2022-01-31T01:59:52.000Z | tasks/FrameFilter.cpp | PhischDotOrg/stm32-common | 4b6b9c436018c89d3668c6ee107e97abb930bae2 | [
"MIT"
] | 5 | 2020-04-13T21:55:12.000Z | 2020-06-27T17:44:44.000Z | tasks/FrameFilter.cpp | PhischDotOrg/stm32f4-common | 4b6b9c436018c89d3668c6ee107e97abb930bae2 | [
"MIT"
] | null | null | null | /*-
* $Copyright$
-*/
#include "tasks/FrameSampler.hpp"
#ifndef _FRAME_FILTER_CPP_4085c3de_7e34_4002_a351_d24c2cd81aff
#define _FRAME_FILTER_CPP_4085c3de_7e34_4002_a351_d24c2cd81aff
#if defined(__cplusplus)
extern "C" {
#endif /* defined(__cplusplus) */
#include "FreeRTOS/FreeRTOS.h"
#include "FreeRTOS/task.h"
#incl... | 40.252033 | 146 | 0.565946 | PhischDotOrg |
d02d99d2d8fdc4ae9ca2b31e5ac7d74a8c51bd3e | 3,321 | cpp | C++ | src/menustate.cpp | jumpmanmv/pixeltetris | 4a40543e5919b3ca3b35c2310da258a6cf5d224f | [
"MIT"
] | 2 | 2021-05-07T15:05:56.000Z | 2021-11-16T17:33:46.000Z | src/menustate.cpp | jumpmanmv/pixeltetris | 4a40543e5919b3ca3b35c2310da258a6cf5d224f | [
"MIT"
] | null | null | null | src/menustate.cpp | jumpmanmv/pixeltetris | 4a40543e5919b3ca3b35c2310da258a6cf5d224f | [
"MIT"
] | null | null | null | #include "menustate.hpp"
#include <iostream> //debug
#include <vector>
#include <SDL2/SDL.h>
#include "config.hpp"
#include "inputmanager.hpp"
#include "renderer.hpp"
#include "state.hpp"
/*
* ====================================
* Public methods start here
* ====================================
*/
MenuState::... | 28.878261 | 139 | 0.586871 | jumpmanmv |
d02e2fef6086d606dee2b2a510ff67a73450e2b3 | 175 | cpp | C++ | applications/sandbox/systems/gui_test.cpp | Rythe-Interactive/Rythe-Engine.rythe-legacy | c119c494524b069a73100b12dc3d8b898347830d | [
"MIT"
] | 2 | 2022-03-08T09:46:17.000Z | 2022-03-28T08:07:05.000Z | applications/sandbox/systems/gui_test.cpp | Rythe-Interactive/Rythe-Engine.rythe-legacy | c119c494524b069a73100b12dc3d8b898347830d | [
"MIT"
] | 3 | 2022-03-02T13:49:10.000Z | 2022-03-22T11:54:06.000Z | applications/sandbox/systems/gui_test.cpp | Rythe-Interactive/Rythe-Engine.rythe-legacy | c119c494524b069a73100b12dc3d8b898347830d | [
"MIT"
] | null | null | null | #include "gui_test.hpp"
bool legion::GuiTestSystem::captured = false;
bool legion::GuiTestSystem::isEditingText = false;
legion::ecs::entity legion::GuiTestSystem::selected;
| 29.166667 | 52 | 0.782857 | Rythe-Interactive |
d0317bfdeb24757d771b5c209eff14e2866e5de9 | 736 | cpp | C++ | source.cpp | IshaySela/lightningPlusPlus | bdd81921c6f112b7ed51bb3297ffc213d256e178 | [
"MIT"
] | 1 | 2022-01-20T15:51:04.000Z | 2022-01-20T15:51:04.000Z | source.cpp | IshaySela/lightningPlusPlus | bdd81921c6f112b7ed51bb3297ffc213d256e178 | [
"MIT"
] | 1 | 2022-01-30T10:15:29.000Z | 2022-01-30T10:15:29.000Z | source.cpp | IshaySela/lightningPlusPlus | bdd81921c6f112b7ed51bb3297ffc213d256e178 | [
"MIT"
] | null | null | null | #include <iostream>
#include <lightning/httpServer/ServerBuilder.hpp>
constexpr const char *PublicKeyPath = "/home/ishaysela/projects/lightningPlusPlus/tests/localhost.cert";
constexpr const char *PrivateKeyPath = "/home/ishaysela/projects/lightningPlusPlus/tests/localhost.key";
auto main() -> int
{
auto server =... | 29.44 | 104 | 0.641304 | IshaySela |
d036ee1170c75bf67a68afdc072618208fbac472 | 867 | cpp | C++ | src/tuw_geometry/polar2d.cpp | baluke/tuw_geometry | eaa03386d91f38f70a11dac242ff92eca24906e5 | [
"BSD-2-Clause"
] | null | null | null | src/tuw_geometry/polar2d.cpp | baluke/tuw_geometry | eaa03386d91f38f70a11dac242ff92eca24906e5 | [
"BSD-2-Clause"
] | null | null | null | src/tuw_geometry/polar2d.cpp | baluke/tuw_geometry | eaa03386d91f38f70a11dac242ff92eca24906e5 | [
"BSD-2-Clause"
] | null | null | null | #include <memory>
#include <tuw_geometry/polar2d.h>
using namespace tuw;
Polar2D::Polar2D () : Point2D ( 0,0 ) {};
Polar2D::Polar2D ( const Point2D &p ) : Point2D ( atan2( p.y(), p.x()), sqrt( p.x() * p.x() + p.y()* p.y() ), 1 ) {};
Polar2D::Polar2D ( double alpha, double rho ) : Point2D ( alpha,rho ) {};
Polar2D::Po... | 21.146341 | 117 | 0.579008 | baluke |
d038351d3a364558234f3d429eb9cc35c15e8c5b | 1,606 | hpp | C++ | Header Files/Game.hpp | zhihanLin/text-based-RPG | 1d4919a3d9569739ea924a5aa4699a3995dab043 | [
"FSFAP"
] | null | null | null | Header Files/Game.hpp | zhihanLin/text-based-RPG | 1d4919a3d9569739ea924a5aa4699a3995dab043 | [
"FSFAP"
] | null | null | null | Header Files/Game.hpp | zhihanLin/text-based-RPG | 1d4919a3d9569739ea924a5aa4699a3995dab043 | [
"FSFAP"
] | null | null | null | //
// Game.hpp
// idleRPG
//
// Created by ZHIHAN LIN on 4/17/20.
// Copyright © 2020 ZHIHAN LIN. All rights reserved.
//
#ifndef Game_hpp
#define Game_hpp
#include <stdio.h>
#include <iterator>
#include <algorithm>
#include <ctime>
#include <string>
#include <vector>
#include <deque>
#include <fstream>
#include ... | 21.131579 | 78 | 0.640722 | zhihanLin |
d03d4d9b0eac61733880aa3f0b3d4c7062f0312f | 692 | cpp | C++ | Codeforces/1005C - Summarize to the Power of Two.cpp | naimulcsx/online-judge-solutions | 0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f | [
"MIT"
] | null | null | null | Codeforces/1005C - Summarize to the Power of Two.cpp | naimulcsx/online-judge-solutions | 0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f | [
"MIT"
] | null | null | null | Codeforces/1005C - Summarize to the Power of Two.cpp | naimulcsx/online-judge-solutions | 0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
vector<int> val;
int n, arr[120100];
unordered_map<int, int> freq;
int main() {
cin >> n;
for (int i = 1; i <= 30; ++i) val.push_back(pow(2, i));
for (int i = 0; i < n; ++i) cin >> arr[i], freq[arr[i]]++;
int cnt = 0;
for (int i = 0; i < n; ++i) {
... | 20.352941 | 62 | 0.413295 | naimulcsx |
d041fe83c7009ef6a47479db78296e97b3170338 | 887 | hpp | C++ | src/network/server.hpp | leezhenghui/Mushroom | 8aed2bdd80453d856145925d067bef5ed9d10ee0 | [
"BSD-3-Clause"
] | 351 | 2016-10-12T14:06:09.000Z | 2022-03-24T14:53:54.000Z | src/network/server.hpp | leezhenghui/Mushroom | 8aed2bdd80453d856145925d067bef5ed9d10ee0 | [
"BSD-3-Clause"
] | 7 | 2017-03-07T01:49:16.000Z | 2018-07-27T08:51:54.000Z | src/network/server.hpp | UncP/Mushroom | 8aed2bdd80453d856145925d067bef5ed9d10ee0 | [
"BSD-3-Clause"
] | 62 | 2016-10-31T12:46:45.000Z | 2021-12-28T11:25:26.000Z | /**
* > Author: UncP
* > Github: www.github.com/UncP/Mushroom
* > License: BSD-3
* > Time: 2017-04-23 10:50:39
**/
#ifndef _SERVER_HPP_
#define _SERVER_HPP_
#include <vector>
#include "../include/utility.hpp"
#include "callback.hpp"
#include "socket.hpp"
namespace Mushroom {
class Cha... | 16.425926 | 51 | 0.662909 | leezhenghui |
d0467369531d2e1f3dd01fea8c395f1a8a034d25 | 6,751 | cpp | C++ | source/ashes/renderer/D3D11Renderer/Miscellaneous/D3D11QueryPool.cpp | DragonJoker/Ashes | a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e | [
"MIT"
] | 227 | 2018-09-17T16:03:35.000Z | 2022-03-19T02:02:45.000Z | source/ashes/renderer/D3D11Renderer/Miscellaneous/D3D11QueryPool.cpp | DragonJoker/RendererLib | 0f8ad8edec1b0929ebd10247d3dd0a9ee8f8c91a | [
"MIT"
] | 39 | 2018-02-06T22:22:24.000Z | 2018-08-29T07:11:06.000Z | source/ashes/renderer/D3D11Renderer/Miscellaneous/D3D11QueryPool.cpp | DragonJoker/Ashes | a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e | [
"MIT"
] | 8 | 2019-05-04T10:33:32.000Z | 2021-04-05T13:19:27.000Z | #include "Miscellaneous/D3D11QueryPool.hpp"
#include "Core/D3D11Device.hpp"
#include "ashesd3d11_api.hpp"
namespace ashes::d3d11
{
namespace
{
D3D11_QUERY convert( VkQueryType type )
{
switch ( type )
{
case VK_QUERY_TYPE_OCCLUSION:
return D3D11_QUERY_OCCLUSION;
case VK_QUERY_TYPE_PIPELINE_STA... | 22.654362 | 125 | 0.642423 | DragonJoker |
d0539e7bca2dd480d666f8f4e02fbec4a66ea861 | 27,036 | hpp | C++ | include/ResourceState.hpp | procedural/d3d12_translation_layer | fc07d09db68e304b1210a7c4d7793c944dd8151f | [
"MIT"
] | 1 | 2020-04-08T03:12:17.000Z | 2020-04-08T03:12:17.000Z | include/ResourceState.hpp | procedural/d3d12_translation_layer | fc07d09db68e304b1210a7c4d7793c944dd8151f | [
"MIT"
] | null | null | null | include/ResourceState.hpp | procedural/d3d12_translation_layer | fc07d09db68e304b1210a7c4d7793c944dd8151f | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
namespace D3D12TranslationLayer
{
class CommandListManager;
// These are defined in the private d3d12 header
#define UNKNOWN_RESOURCE_STATE (D3D12_RESOURCE_STATES)0x8000u
#define RESOURCE_STATE_VALID_BITS 0x2f3fff
#... | 57.892934 | 160 | 0.593579 | procedural |
d05c0e47dfcfbf4580a6c245ee181ec570c96dd5 | 811 | cpp | C++ | test/MeLikeyCode-QtGameEngine-2a3d47c/qge/RangedWeapon.cpp | JamesMBallard/qmake-unity | cf5006a83e7fb1bbd173a9506771693a673d387f | [
"MIT"
] | 16 | 2019-05-23T08:10:39.000Z | 2021-12-21T11:20:37.000Z | test/MeLikeyCode-QtGameEngine-2a3d47c/qge/RangedWeapon.cpp | JamesMBallard/qmake-unity | cf5006a83e7fb1bbd173a9506771693a673d387f | [
"MIT"
] | null | null | null | test/MeLikeyCode-QtGameEngine-2a3d47c/qge/RangedWeapon.cpp | JamesMBallard/qmake-unity | cf5006a83e7fb1bbd173a9506771693a673d387f | [
"MIT"
] | 2 | 2019-05-23T18:37:43.000Z | 2021-08-24T21:29:40.000Z | #include "RangedWeapon.h"
#include "Sprite.h"
#include "EntitySprite.h"
using namespace qge;
/// Returns the point at which projectiles will be spawn.
/// This point is in local coordinates (relative to the RangedWeapon itself).
QPointF RangedWeapon::projectileSpawnPoint()
{
return this->projectileSpawnPoint_;
}... | 26.16129 | 92 | 0.747226 | JamesMBallard |
d05e3e0d3573e3c438f91f523f2f6aea7cd28bd5 | 231 | hpp | C++ | chaine/src/mesh/mesh/create_triangle.hpp | the-last-willy/id3d | dc0d22e7247ac39fbc1fd8433acae378b7610109 | [
"MIT"
] | null | null | null | chaine/src/mesh/mesh/create_triangle.hpp | the-last-willy/id3d | dc0d22e7247ac39fbc1fd8433acae378b7610109 | [
"MIT"
] | null | null | null | chaine/src/mesh/mesh/create_triangle.hpp | the-last-willy/id3d | dc0d22e7247ac39fbc1fd8433acae378b7610109 | [
"MIT"
] | null | null | null | #pragma once
#include "mesh.hpp"
#include "topology.hpp"
#include "mesh/triangle/proxy.hpp"
namespace face_vertex {
inline
TriangleProxy create_triangle(Mesh& m) {
return proxy(m, index(create_triangle(topology(m))));
}
}
| 14.4375 | 57 | 0.731602 | the-last-willy |
d05fd6b7b0023145cccda237ec0572e8b738aa7b | 1,550 | hpp | C++ | ufora/FORA/TypedFora/ABI/ArbitraryNativeConstantForCSTValue.hpp | ufora/ufora | 04db96ab049b8499d6d6526445f4f9857f1b6c7e | [
"Apache-2.0",
"CC0-1.0",
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | 571 | 2015-11-05T20:07:07.000Z | 2022-01-24T22:31:09.000Z | ufora/FORA/TypedFora/ABI/ArbitraryNativeConstantForCSTValue.hpp | timgates42/ufora | 04db96ab049b8499d6d6526445f4f9857f1b6c7e | [
"Apache-2.0",
"CC0-1.0",
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | 218 | 2015-11-05T20:37:55.000Z | 2021-05-30T03:53:50.000Z | ufora/FORA/TypedFora/ABI/ArbitraryNativeConstantForCSTValue.hpp | timgates42/ufora | 04db96ab049b8499d6d6526445f4f9857f1b6c7e | [
"Apache-2.0",
"CC0-1.0",
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | 40 | 2015-11-07T21:42:19.000Z | 2021-05-23T03:48:19.000Z | /***************************************************************************
Copyright 2015 Ufora 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/licen... | 26.271186 | 77 | 0.696129 | ufora |
d0620f145594274dab3e17380e893ce23bf4a984 | 2,440 | cpp | C++ | src/ui/contacts/VKUContactsPanel.cpp | igorglotov/tizen-vk-client | de213ede7185818285f78abad36592bc864f76cc | [
"Unlicense"
] | null | null | null | src/ui/contacts/VKUContactsPanel.cpp | igorglotov/tizen-vk-client | de213ede7185818285f78abad36592bc864f76cc | [
"Unlicense"
] | null | null | null | src/ui/contacts/VKUContactsPanel.cpp | igorglotov/tizen-vk-client | de213ede7185818285f78abad36592bc864f76cc | [
"Unlicense"
] | null | null | null | #include "AppResourceId.h"
#include "VKUContactsPanel.h"
#include "VKUApi.h"
#include "UsersPanel.h"
#include "SceneRegister.h"
#include "ObjectCounter.h"
using namespace Tizen::Base;
using namespace Tizen::Ui;
using namespace Tizen::Ui::Controls;
using namespace Tizen::Ui::Scenes;
using namespace Tizen::Base::Collect... | 27.727273 | 141 | 0.766803 | igorglotov |
d0622848b7eb8afef2a3a200338bcddad81d9cca | 19,655 | cpp | C++ | pwiz/analysis/spectrum_processing/SpectrumList_FilterTest.cpp | shze/pwizard-deb | 4822829196e915525029a808470f02d24b8b8043 | [
"Apache-2.0"
] | 2 | 2019-12-28T21:24:36.000Z | 2020-04-18T03:52:05.000Z | pwiz/analysis/spectrum_processing/SpectrumList_FilterTest.cpp | shze/pwizard-deb | 4822829196e915525029a808470f02d24b8b8043 | [
"Apache-2.0"
] | null | null | null | pwiz/analysis/spectrum_processing/SpectrumList_FilterTest.cpp | shze/pwizard-deb | 4822829196e915525029a808470f02d24b8b8043 | [
"Apache-2.0"
] | null | null | null | //
// $Id: SpectrumList_FilterTest.cpp 10462 2017-02-10 17:52:32Z chambm $
//
//
// Original author: Darren Kessner <darren@proteowizard.org>
//
// Copyright 2008 Spielberg Family Center for Applied Proteomics
// Cedars-Sinai Medical Center, Los Angeles, California 90048
//
// Licensed under the Apache License, Vers... | 29.379671 | 154 | 0.654846 | shze |
d06472c7490413f30aa3bc094faa073afb2a4f1d | 14,820 | cpp | C++ | src/mruntime/GlobalEventReceiver.cpp | 0of/WebOS-Magna | a0fe2c9708fd4dd07928c11fcb03fb29fdd2d511 | [
"Apache-2.0"
] | 1 | 2016-03-26T13:25:08.000Z | 2016-03-26T13:25:08.000Z | src/mruntime/GlobalEventReceiver.cpp | 0of/WebOS-Magna | a0fe2c9708fd4dd07928c11fcb03fb29fdd2d511 | [
"Apache-2.0"
] | null | null | null | src/mruntime/GlobalEventReceiver.cpp | 0of/WebOS-Magna | a0fe2c9708fd4dd07928c11fcb03fb29fdd2d511 | [
"Apache-2.0"
] | null | null | null | #include "GlobalEventReceiver.h"
#include "OSRenderBehaviourNotifier.h"
#include "OSAttachControllersBehaviourNotifier.h"
#include "OSDetachControllersBehaviourNotifier.h"
#include "OSScriptRunBehaviourNotifier.h"
#include "OSWindowCloseBehaviourNotifier.h"
#include "OSStartWindowBehaviourNotifier.h"
#include ... | 38.493506 | 167 | 0.631242 | 0of |
d0671748b70bb83cf7a659a55423e7f4ff7865ef | 1,399 | cpp | C++ | src/Matrix4.cpp | ianmurfinxyz/software_renderer | 1feef4754509d99013dc4bbe51006d858bc27561 | [
"Unlicense"
] | null | null | null | src/Matrix4.cpp | ianmurfinxyz/software_renderer | 1feef4754509d99013dc4bbe51006d858bc27561 | [
"Unlicense"
] | null | null | null | src/Matrix4.cpp | ianmurfinxyz/software_renderer | 1feef4754509d99013dc4bbe51006d858bc27561 | [
"Unlicense"
] | null | null | null | #include "Matrix4.h"
using namespace gr;
Matrix4::Matrix4(){
this->e[0][0] = 0.f;
this->e[0][1] = 0.f;
this->e[0][2] = 0.f;
this->e[0][3] = 0.f;
this->e[1][0] = 0.f;
this->e[1][1] = 0.f;
this->e[1][2] = 0.f;
this->e[1][3] = 0.f;
this->e[2][0] = 0.f;
this->e[2][1] = 0.f;
t... | 22.564516 | 61 | 0.425304 | ianmurfinxyz |
d0695eaf6fa81759dadae3c3475dd9bcf0ed247b | 35,813 | cpp | C++ | Underlight/Interface.cpp | christyganger/ULClient | bc008ab3042ff9b74d47cdda47ce2318311a51db | [
"BSD-3-Clause"
] | 5 | 2018-08-17T17:17:01.000Z | 2020-11-14T05:41:31.000Z | Underlight/Interface.cpp | christyganger/ULClient | bc008ab3042ff9b74d47cdda47ce2318311a51db | [
"BSD-3-Clause"
] | 16 | 2018-08-16T15:37:04.000Z | 2019-12-24T19:09:19.000Z | Underlight/Interface.cpp | christyganger/ULClient | bc008ab3042ff9b74d47cdda47ce2318311a51db | [
"BSD-3-Clause"
] | 5 | 2018-08-16T15:34:41.000Z | 2019-03-04T04:06:11.000Z | // Interface: utility functions for making the interface pretty
// Copyright Lyra LLC, 1997. All rights reserved.
#define STRICT
#define OEMRESOURCE // to get defines for windows cursor id's
#include "Central.h"
#include <windows.h>
#include <windowsx.h>
#include "Utils.h"
#include "Resource.h"
#include "cGameServer... | 27.172231 | 147 | 0.699578 | christyganger |
d06af26600b503a2b881f5ff5f8e9a08460cf32d | 1,452 | cpp | C++ | examples/multistep/main.cpp | Pan-Maciek/iga-ads | 4744829c98cba4e9505c5c996070119e73ba18fa | [
"MIT"
] | 7 | 2018-01-19T00:19:19.000Z | 2021-06-22T00:53:00.000Z | examples/multistep/main.cpp | Pan-Maciek/iga-ads | 4744829c98cba4e9505c5c996070119e73ba18fa | [
"MIT"
] | 66 | 2021-06-22T22:44:21.000Z | 2022-03-16T15:18:00.000Z | examples/multistep/main.cpp | Pan-Maciek/iga-ads | 4744829c98cba4e9505c5c996070119e73ba18fa | [
"MIT"
] | 6 | 2017-04-13T19:42:27.000Z | 2022-03-26T18:46:24.000Z | // SPDX-FileCopyrightText: 2015 - 2021 Marcin Łoś <marcin.los.91@gmail.com>
// SPDX-License-Identifier: MIT
#include <cstdlib>
#include <exception>
#include <iostream>
#include "multistep2d.hpp"
#include "multistep3d.hpp"
#include "scheme.hpp"
int main(int argc, char* argv[]) {
if (argc < 8) {
std::cerr ... | 30.25 | 99 | 0.53168 | Pan-Maciek |
d06b3400af1c40f7f62a8edba47d77dba695b222 | 7,281 | cpp | C++ | Source/DreamPlace/DreamPlaceCharacter.cpp | YuanweiZHANG/DreamPlace | b005c22e2353e674a0596c078083b82efe9ae733 | [
"MIT"
] | null | null | null | Source/DreamPlace/DreamPlaceCharacter.cpp | YuanweiZHANG/DreamPlace | b005c22e2353e674a0596c078083b82efe9ae733 | [
"MIT"
] | null | null | null | Source/DreamPlace/DreamPlaceCharacter.cpp | YuanweiZHANG/DreamPlace | b005c22e2353e674a0596c078083b82efe9ae733 | [
"MIT"
] | null | null | null | // Copyright Epic Games, Inc. All Rights Reserved.
#include "DreamPlaceCharacter.h"
#include "HeadMountedDisplayFunctionLibrary.h"
#include "Camera/CameraComponent.h"
#include "Components/CapsuleComponent.h"
#include "Components/InputComponent.h"
#include "GameFramework/CharacterMovementComponent.h"
#include "GameFram... | 35.691176 | 180 | 0.757039 | YuanweiZHANG |
d072835d11b23cf20363c92f5d5a2a057f3a7b3c | 4,631 | cpp | C++ | LeapMotion/src/leap/LeapListener.cpp | kondrak/oculusvr_samples | 553c2f6f6c1dcf5071aa3c423436d92449eb2038 | [
"MIT"
] | 64 | 2015-06-16T18:39:34.000Z | 2022-03-22T14:13:23.000Z | LeapMotion/src/leap/LeapListener.cpp | kondrak/oculusvr_samples | 553c2f6f6c1dcf5071aa3c423436d92449eb2038 | [
"MIT"
] | null | null | null | LeapMotion/src/leap/LeapListener.cpp | kondrak/oculusvr_samples | 553c2f6f6c1dcf5071aa3c423436d92449eb2038 | [
"MIT"
] | 13 | 2015-07-01T09:20:37.000Z | 2020-11-06T17:12:36.000Z | #include "leap/LeapListener.hpp"
#include "leap/LeapLogger.hpp"
#ifdef _DEBUG
#define LEAP_DEBUG_ENABLED
#endif
void LeapListener::onInit(const Leap::Controller& controller)
{
LOG_MESSAGE("[LeapMotion] Initialized");
}
void LeapListener::onConnect(const Leap::Controller& controller)
{
LOG_MESSAGE("[LeapMot... | 26.3125 | 141 | 0.635932 | kondrak |
d072ddb0cb8f3cc8a41af4c90db3edac8f827734 | 549 | cpp | C++ | test/src/gl/GLDemo.cpp | tjakway/pyramid-scheme-simulator | 4de02ac120b39185342f433999c2d360a7ccbf7e | [
"MIT"
] | null | null | null | test/src/gl/GLDemo.cpp | tjakway/pyramid-scheme-simulator | 4de02ac120b39185342f433999c2d360a7ccbf7e | [
"MIT"
] | null | null | null | test/src/gl/GLDemo.cpp | tjakway/pyramid-scheme-simulator | 4de02ac120b39185342f433999c2d360a7ccbf7e | [
"MIT"
] | null | null | null | #include "gl/GLBackend.hpp"
#include "PopulationGraph.hpp"
#include "TestConfig.hpp"
#include "BasicGraphSetup.hpp"
namespace pyramid_scheme_simulator {
TEST_F(BasicGraphSetup, gldemo)
{
gl::GLBackend backend(
Config::Defaults::defaultGraphLayoutOptions,
Config::Defaults::defaultWindowOpt... | 22.875 | 69 | 0.672131 | tjakway |
d07a4198198787828a7b5b9c0a702f82fb336dbf | 8,746 | cpp | C++ | src/Network/msgitem.cpp | COPS-Projects/COPS-v7-Emulator | ccf377023b0399dc55675577c713ca7440000a80 | [
"BSD-2-Clause"
] | 2 | 2019-02-09T20:55:32.000Z | 2021-08-12T12:15:03.000Z | src/Network/msgitem.cpp | COPS-Projects/COPS-v7-Emulator | ccf377023b0399dc55675577c713ca7440000a80 | [
"BSD-2-Clause"
] | null | null | null | src/Network/msgitem.cpp | COPS-Projects/COPS-v7-Emulator | ccf377023b0399dc55675577c713ca7440000a80 | [
"BSD-2-Clause"
] | 5 | 2016-06-27T04:17:38.000Z | 2021-08-12T12:15:04.000Z | /**
* ****** COPS v7 Emulator - Open Source ******
* Copyright (C) 2012 - 2014 Jean-Philippe Boivin
*
* Please read the WARNING, DISCLAIMER and PATENTS
* sections in the LICENSE file.
*/
#include "msgitem.h"
#include "client.h"
#include "entity.h"
#include "player.h"
#include "npc.h"
#include "item.h"
#include "... | 30.58042 | 101 | 0.424194 | COPS-Projects |
4edc6303ac53d563e269047ebedbb45641bebf87 | 4,704 | cpp | C++ | Examples/Basics/Particles/Combined/ParticlesCombined.cpp | SuperflyJon/VulkanPlayground | 891b88227b66fc1e933ff77c1603e5d685d89047 | [
"MIT"
] | 2 | 2021-01-25T16:59:56.000Z | 2021-02-14T21:11:05.000Z | Examples/Basics/Particles/Combined/ParticlesCombined.cpp | SuperflyJon/VulkanPlayground | 891b88227b66fc1e933ff77c1603e5d685d89047 | [
"MIT"
] | null | null | null | Examples/Basics/Particles/Combined/ParticlesCombined.cpp | SuperflyJon/VulkanPlayground | 891b88227b66fc1e933ff77c1603e5d685d89047 | [
"MIT"
] | 1 | 2021-04-23T10:20:53.000Z | 2021-04-23T10:20:53.000Z | #include <VulkanPlayground\Includes.h>
#include <random>
#include "..\ParticleSystem.h"
class ParticlesCombinedApp : public VulkanApplication3DLight
{
struct VertInfo
{
glm::vec3 lightPos;
float pad1;
glm::vec3 viewPos;
};
public:
ParticlesCombinedApp()
{
TidyObjectOnExit(particles);
}
void ResetScen... | 35.636364 | 152 | 0.764456 | SuperflyJon |
4edc78cd9acce413332ebc186c7039492aaece2a | 1,038 | cc | C++ | src/congestion/util.cc | codefan-byte/supersim | 38bd445dcd21fdb78fd28819e0d4dfaa6d1fd651 | [
"Apache-2.0"
] | 17 | 2017-05-09T07:08:41.000Z | 2021-08-03T01:22:09.000Z | src/congestion/util.cc | codefan-byte/supersim | 38bd445dcd21fdb78fd28819e0d4dfaa6d1fd651 | [
"Apache-2.0"
] | 32 | 2020-02-26T00:02:29.000Z | 2022-01-20T23:23:55.000Z | src/congestion/util.cc | codefan-byte/supersim | 38bd445dcd21fdb78fd28819e0d4dfaa6d1fd651 | [
"Apache-2.0"
] | 13 | 2016-12-02T22:01:04.000Z | 2020-03-23T16:44:04.000Z | /*
* Licensed under the Apache License, Version 2.0 (the 'License');
* you may not use this file except in compliance with the License.
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership. You may obtain a copy of the License at
*
* http://www.apache.org/li... | 34.6 | 76 | 0.753372 | codefan-byte |
4ede4bf6a196bc6187236dd980b7e27d12b5a8a3 | 329 | hpp | C++ | src/Game.hpp | rainstormstudio/Rainstorm-Engine | f27ead834d93343aff22d8fc304cc8e91b19ac6e | [
"MIT"
] | 1 | 2020-05-03T16:26:32.000Z | 2020-05-03T16:26:32.000Z | src/Game.hpp | rainstormstudio/Rainstorm-Engine | f27ead834d93343aff22d8fc304cc8e91b19ac6e | [
"MIT"
] | null | null | null | src/Game.hpp | rainstormstudio/Rainstorm-Engine | f27ead834d93343aff22d8fc304cc8e91b19ac6e | [
"MIT"
] | null | null | null | #pragma once
#include "Timer.hpp"
#include "WindowManager.hpp"
class Game {
private:
bool mIsRunning;
Timer *timer;
WindowManager mainWindow;
public:
Game();
bool isRunning();
void initialize(int initWidth, int initHeight);
void processEvent();
void update();
void render();
void destroy();
~Ga... | 14.304348 | 49 | 0.680851 | rainstormstudio |
4ee2e694d6fd1e5aacae17acd46f3528def3fd0e | 587 | hpp | C++ | src/net/Serialize.hpp | kochol/ari2 | ca185191531acc1954cd4acfec2137e32fdb5c2d | [
"MIT"
] | 81 | 2018-12-11T20:48:41.000Z | 2022-03-18T22:24:11.000Z | src/net/Serialize.hpp | kochol/ari2 | ca185191531acc1954cd4acfec2137e32fdb5c2d | [
"MIT"
] | 7 | 2020-04-19T11:50:39.000Z | 2021-11-12T16:08:53.000Z | src/net/Serialize.hpp | kochol/ari2 | ca185191531acc1954cd4acfec2137e32fdb5c2d | [
"MIT"
] | 4 | 2019-04-24T11:51:29.000Z | 2021-03-10T05:26:33.000Z | #pragma once
#include <Meta.h>
namespace ari::net
{
template<typename Class,
typename Stream,
typename = std::enable_if_t <meta::isRegistered<Class>()>>
bool Serialize(Stream & stream, Class & obj, const int& member_index = -1);
template <typename Class,
typename Stream,
typename = std::enable_if_t <!meta:... | 25.521739 | 76 | 0.715503 | kochol |
4ee3a6be0ead88efed4827d7f6c00783b1e9a1f0 | 3,171 | hpp | C++ | Core/History/HistoryTreeView.hpp | Feldrise/SieloNavigateurBeta | faa5fc785271b49d26237a5e9985d6fa22565076 | [
"MIT"
] | 89 | 2018-04-26T14:28:13.000Z | 2019-07-03T03:58:17.000Z | Core/History/HistoryTreeView.hpp | inviu/webBrowser | 37b24eded2e168e43b3f9c9ccc0487ee59410332 | [
"MIT"
] | 51 | 2018-04-26T12:43:00.000Z | 2019-04-24T20:39:59.000Z | Core/History/HistoryTreeView.hpp | inviu/webBrowser | 37b24eded2e168e43b3f9c9ccc0487ee59410332 | [
"MIT"
] | 34 | 2018-05-11T07:09:36.000Z | 2019-04-19T08:12:40.000Z | /***********************************************************************************
** MIT License **
** **
** Copyright (c) 2018 Victor DENIS (victordenis01@gmail.com) ... | 40.139241 | 102 | 0.580259 | Feldrise |
4eec2ad0bc960df37cf3eb7f215f5205e6109939 | 1,846 | cpp | C++ | ParticlePlay/IMS/Format/EmptyFormat.cpp | spywhere/Legacy-ParticlePlay | 0c1ec6e4706f72b64e0408cc79cdeffce535b484 | [
"BSD-3-Clause"
] | null | null | null | ParticlePlay/IMS/Format/EmptyFormat.cpp | spywhere/Legacy-ParticlePlay | 0c1ec6e4706f72b64e0408cc79cdeffce535b484 | [
"BSD-3-Clause"
] | null | null | null | ParticlePlay/IMS/Format/EmptyFormat.cpp | spywhere/Legacy-ParticlePlay | 0c1ec6e4706f72b64e0408cc79cdeffce535b484 | [
"BSD-3-Clause"
] | null | null | null | #include "EmptyFormat.hpp"
ppEmptyFormat::ppEmptyFormat(ppIMS* ims, Sint64 length, ppFormat* audioFormat) : ppFormat(ims){
this->length = length;
this->sourceAudioFormat = audioFormat;
}
int ppEmptyFormat::Init(const char *filename, bool stereo){
int status = ppFormat::Init(filename, stereo);
if(status>0){
retu... | 28.84375 | 95 | 0.762189 | spywhere |
4efd58df76a0570e6c33bcf2ae94ba2bb45c1684 | 1,183 | hpp | C++ | include/gbVk/config.hpp | ComicSansMS/GhulbusVulkan | b24ffb892a7573c957aed443a3fbd7ec281556e7 | [
"MIT"
] | null | null | null | include/gbVk/config.hpp | ComicSansMS/GhulbusVulkan | b24ffb892a7573c957aed443a3fbd7ec281556e7 | [
"MIT"
] | null | null | null | include/gbVk/config.hpp | ComicSansMS/GhulbusVulkan | b24ffb892a7573c957aed443a3fbd7ec281556e7 | [
"MIT"
] | null | null | null | #ifndef GHULBUS_LIBRARY_INCLUDE_GUARD_VULKAN_GBVK_CONFIG_HPP
#define GHULBUS_LIBRARY_INCLUDE_GUARD_VULKAN_GBVK_CONFIG_HPP
/** @file
*
* @brief General configuration for Vulkan.
* @author Andreas Weis (der_ghulbus@ghulbus-inc.de)
*/
#include <gbVk/gbVk_Export.hpp>
/** Specifies the API for a function declaration.... | 30.333333 | 111 | 0.800507 | ComicSansMS |
f60127fab3d565dccf2af1994d07743f9b972a1e | 6,346 | cpp | C++ | ramp_14890.cpp | goongg/SamSung | d07f8ca06fa21c2c26f63f89978b79a204373262 | [
"CECILL-B"
] | null | null | null | ramp_14890.cpp | goongg/SamSung | d07f8ca06fa21c2c26f63f89978b79a204373262 | [
"CECILL-B"
] | null | null | null | ramp_14890.cpp | goongg/SamSung | d07f8ca06fa21c2c26f63f89978b79a204373262 | [
"CECILL-B"
] | null | null | null | // 7시 32분
#include <iostream>
#include <vector>
#include <queue>
using namespace std;
#define debug 0
class ramp
{
int n, l;
vector<int> t;
vector<bool> poss_r;// 가능 행 조사
vector<bool> poss_c;// 가능 열 조사
vector<bool> v;
public:
void input()
{
cin>>n >>l;
... | 29.793427 | 73 | 0.180586 | goongg |
f601c002dc84eb5f812cf6abd865d61c25b26fd4 | 4,725 | hpp | C++ | src/lib/include/black/internal/formula/alphabet.hpp | black-sat/black | 80902240987312fb0e6f00227a06e9f9c9728a67 | [
"MIT"
] | 4 | 2020-09-30T15:16:22.000Z | 2021-09-20T15:02:39.000Z | src/lib/include/black/internal/formula/alphabet.hpp | teodorov/black | 4de280ded5e99cc515141b4acc35137ba32c2469 | [
"MIT"
] | 42 | 2020-07-15T13:46:11.000Z | 2022-03-10T09:42:43.000Z | src/lib/include/black/internal/formula/alphabet.hpp | teodorov/black | 4de280ded5e99cc515141b4acc35137ba32c2469 | [
"MIT"
] | 3 | 2020-03-30T14:39:17.000Z | 2022-03-18T14:05:33.000Z | //
// BLACK - Bounded Ltl sAtisfiability ChecKer
//
// (C) 2019 Nicola Gigante
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the righ... | 32.363014 | 80 | 0.685714 | black-sat |
f6051e9c65fa8d7bd0a127758e0a25fb0e44b0f4 | 15,312 | cc | C++ | src/core/analysis/rnn_scorer_gbeam.cc | 5003/jumanpp | 9f50ee3d62591936a079ade18c6e1d1e8a6d3463 | [
"Apache-2.0"
] | 1 | 2018-03-18T15:53:27.000Z | 2018-03-18T15:53:27.000Z | src/core/analysis/rnn_scorer_gbeam.cc | 5003/jumanpp | 9f50ee3d62591936a079ade18c6e1d1e8a6d3463 | [
"Apache-2.0"
] | null | null | null | src/core/analysis/rnn_scorer_gbeam.cc | 5003/jumanpp | 9f50ee3d62591936a079ade18c6e1d1e8a6d3463 | [
"Apache-2.0"
] | null | null | null | //
// Created by Arseny Tolmachev on 2017/11/20.
//
#include "rnn_scorer_gbeam.h"
#include "rnn/mikolov_rnn.h"
#include "rnn_id_resolver.h"
#include "util/stl_util.h"
namespace jumanpp {
namespace core {
namespace analysis {
struct GbeamRnnFactoryState {
rnn::RnnIdResolver resolver;
jumanpp::rnn::mikolov::Mikolo... | 32.929032 | 80 | 0.655499 | 5003 |
f60bc96391cc2c3004599c52dec37ec03c42b482 | 11,188 | hpp | C++ | mjolnir/forcefield/external/RectangularBoxInteraction.hpp | yutakasi634/Mjolnir | ab7a29a47f994111e8b889311c44487463f02116 | [
"MIT"
] | 12 | 2017-02-01T08:28:38.000Z | 2018-08-25T15:47:51.000Z | mjolnir/forcefield/external/RectangularBoxInteraction.hpp | Mjolnir-MD/Mjolnir | 043df4080720837042c6b67a5495ecae198bc2b3 | [
"MIT"
] | 60 | 2019-01-14T08:11:33.000Z | 2021-07-29T08:26:36.000Z | mjolnir/forcefield/external/RectangularBoxInteraction.hpp | yutakasi634/Mjolnir | ab7a29a47f994111e8b889311c44487463f02116 | [
"MIT"
] | 8 | 2019-01-13T11:03:31.000Z | 2021-08-01T11:38:00.000Z | #ifndef MJOLNIR_INTERACTION_EXTERNAL_RECTANGULAR_BOX_INTERACTION_HPP
#define MJOLNIR_INTERACTION_EXTERNAL_RECTANGULAR_BOX_INTERACTION_HPP
#include <mjolnir/core/ExternalForceInteractionBase.hpp>
#include <mjolnir/core/BoundaryCondition.hpp>
#include <mjolnir/core/SimulatorTraits.hpp>
#include <mjolnir/math/math.hpp>
#i... | 41.437037 | 136 | 0.642653 | yutakasi634 |
f60d8f801c3ac8ed0863421791d74c5702f9b223 | 1,836 | hpp | C++ | src/bwt.hpp | SebWouters/aiss4 | f46ea04e573b77abec74459f018d32bd0bdc8865 | [
"BSD-3-Clause"
] | null | null | null | src/bwt.hpp | SebWouters/aiss4 | f46ea04e573b77abec74459f018d32bd0bdc8865 | [
"BSD-3-Clause"
] | null | null | null | src/bwt.hpp | SebWouters/aiss4 | f46ea04e573b77abec74459f018d32bd0bdc8865 | [
"BSD-3-Clause"
] | null | null | null | /*
aiss4: suffix array via induced sorting
Copyright (c) 2020, Sebastian Wouters
All rights reserved.
This file is part of aiss4, licensed under the BSD 3-Clause License.
A copy of the License can be found in the file LICENSE in the root
folder of this project.
*/
#pragma once
#include <stdi... | 23.844156 | 99 | 0.562092 | SebWouters |
f610e7915dfa37bc2766ed278f867b9770dbb6dd | 8,779 | inl | C++ | include/hfsm/detail/machine_composite_methods.inl | kgreenek/HFSM | 4a6f5bf6fb868c05ea797f1b8d33073eee461a0b | [
"MIT"
] | 74 | 2017-04-11T20:54:20.000Z | 2021-09-01T06:31:01.000Z | include/hfsm/detail/machine_composite_methods.inl | kgreenek/HFSM | 4a6f5bf6fb868c05ea797f1b8d33073eee461a0b | [
"MIT"
] | 14 | 2018-01-04T03:54:00.000Z | 2018-07-02T22:34:12.000Z | include/hfsm/detail/machine_composite_methods.inl | kgreenek/HFSM | 4a6f5bf6fb868c05ea797f1b8d33073eee461a0b | [
"MIT"
] | 33 | 2017-04-12T13:11:37.000Z | 2022-01-06T02:06:07.000Z | namespace hfsm {
////////////////////////////////////////////////////////////////////////////////
template <typename TC, unsigned TMS>
template <typename TH, typename... TS>
M<TC, TMS>::_C<TH, TS...>::_C(StateRegistry& stateRegistry,
const Parent parent,
Parents& stateParents,
Parents& fork... | 30.065068 | 90 | 0.598929 | kgreenek |
f61211199fcc49d95fc860f04c824dacf4dbf7e4 | 1,033 | cpp | C++ | src/system/boot/platform/next_m68k/devices.cpp | Yn0ga/haiku | 74e271b2a286c239e60f0ec261f4f197f4727eee | [
"MIT"
] | 1,338 | 2015-01-03T20:06:56.000Z | 2022-03-26T13:49:54.000Z | src/system/boot/platform/next_m68k/devices.cpp | Yn0ga/haiku | 74e271b2a286c239e60f0ec261f4f197f4727eee | [
"MIT"
] | 15 | 2015-01-17T22:19:32.000Z | 2021-12-20T12:35:00.000Z | src/system/boot/platform/next_m68k/devices.cpp | Yn0ga/haiku | 74e271b2a286c239e60f0ec261f4f197f4727eee | [
"MIT"
] | 350 | 2015-01-08T14:15:27.000Z | 2022-03-21T18:14:35.000Z | /*
* Copyright 2008-2010, François Revol, revol@free.fr. All rights reserved.
* Copyright 2003-2006, Axel Dörfler, axeld@pinc-software.de.
* Distributed under the terms of the MIT License.
*/
#include <KernelExport.h>
#include <boot/platform.h>
#include <boot/partitions.h>
#include <boot/stdio.h>
#include <boot/s... | 15.892308 | 75 | 0.760891 | Yn0ga |
f61a2e86ccbfdb9510471373060b43b0ef035805 | 1,778 | cpp | C++ | modules/fsio/tests/src/disk_device.cpp | hfarrow/Fissura | 0ccc319b55f8dc99af712c95580342430444bc29 | [
"MIT"
] | null | null | null | modules/fsio/tests/src/disk_device.cpp | hfarrow/Fissura | 0ccc319b55f8dc99af712c95580342430444bc29 | [
"MIT"
] | null | null | null | modules/fsio/tests/src/disk_device.cpp | hfarrow/Fissura | 0ccc319b55f8dc99af712c95580342430444bc29 | [
"MIT"
] | null | null | null | #include <cstdio>
#include <boost/test/unit_test.hpp>
#include "global_fixture.h"
#include "fstest.h"
#include "fscore.h"
#include "fsmem.h"
#include "fsio.h"
using namespace fs;
using FileArena = MemoryArena<Allocator<HeapAllocator, AllocationHeaderU32>,
MultiThread<MutexPrimitive>,
... | 22.794872 | 120 | 0.652981 | hfarrow |
f61d2dfd00d13a3a9778cff498e45fc067422dad | 20,005 | hpp | C++ | modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp | liuhuanjim013/opencv | ac5e5adb6fbefa16bb48257cf534f1d55811603e | [
"BSD-3-Clause"
] | 1 | 2020-11-12T03:37:51.000Z | 2020-11-12T03:37:51.000Z | modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp | liuhuanjim013/opencv | ac5e5adb6fbefa16bb48257cf534f1d55811603e | [
"BSD-3-Clause"
] | null | null | null | modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp | liuhuanjim013/opencv | ac5e5adb6fbefa16bb48257cf534f1d55811603e | [
"BSD-3-Clause"
] | null | null | null | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | 44.654018 | 140 | 0.713322 | liuhuanjim013 |
f61f0fb6f3804c88c2d74049dd4488714d94af28 | 547 | cpp | C++ | 0119 Pascals Triangle II/solution.cpp | Aden-Tao/LeetCode | c34019520b5808c4251cb76f69ca2befa820401d | [
"MIT"
] | 1 | 2019-12-19T04:13:15.000Z | 2019-12-19T04:13:15.000Z | 0119 Pascals Triangle II/solution.cpp | Aden-Tao/LeetCode | c34019520b5808c4251cb76f69ca2befa820401d | [
"MIT"
] | null | null | null | 0119 Pascals Triangle II/solution.cpp | Aden-Tao/LeetCode | c34019520b5808c4251cb76f69ca2befa820401d | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
class Solution {
public:
vector<int> getRow(int rowIndex) {
//The basic idea is to iteratively update the array from the end to the beginning.
vector<int> res(rowIndex+1, 0);
res[0] = 1;
for(int i = 1; i<=rowIndex; i++){
for(... | 22.791667 | 90 | 0.493601 | Aden-Tao |
f61f4fac644e64b9beeecde0907d014d6c7cb7ae | 1,174 | cpp | C++ | IntroductionToCpp/Arrays/main.cpp | Trey0303/IntroToCpp | 6aea72df60a1dfa80dbeb0d4f90a37fdaf3721b7 | [
"MIT"
] | null | null | null | IntroductionToCpp/Arrays/main.cpp | Trey0303/IntroToCpp | 6aea72df60a1dfa80dbeb0d4f90a37fdaf3721b7 | [
"MIT"
] | null | null | null | IntroductionToCpp/Arrays/main.cpp | Trey0303/IntroToCpp | 6aea72df60a1dfa80dbeb0d4f90a37fdaf3721b7 | [
"MIT"
] | null | null | null | #include <cstdlib>
#include <iostream>
#include "arrayh.h"
int main()
{
//create array
//index 0 ,1,2 ,3,4 ,5, 6,7,8,9
//array size: 1 ,2,3 ,4,5 ,6, 7,8,9,10
int array[10]{10,1,25,4,33,4,26,7,6,9};
//get size of array
int size = 0;
for (int i : array)
{
size++;
}
//add first 5 numbers in array
... | 22.150943 | 79 | 0.623509 | Trey0303 |
f621ad6f82b11b939ba955b08fe55e539277e5dd | 7,326 | cpp | C++ | packages/geometry/legacy/src/Geometry_SurfaceInputValidatorHelpers.cpp | lkersting/SCR-2123 | 06ae3d92998664a520dc6a271809a5aeffe18f72 | [
"BSD-3-Clause"
] | null | null | null | packages/geometry/legacy/src/Geometry_SurfaceInputValidatorHelpers.cpp | lkersting/SCR-2123 | 06ae3d92998664a520dc6a271809a5aeffe18f72 | [
"BSD-3-Clause"
] | null | null | null | packages/geometry/legacy/src/Geometry_SurfaceInputValidatorHelpers.cpp | lkersting/SCR-2123 | 06ae3d92998664a520dc6a271809a5aeffe18f72 | [
"BSD-3-Clause"
] | null | null | null | //---------------------------------------------------------------------------//
//!
//! \file Geometry_SurfaceInputValidatorHelpers.cpp
//! \author Alex Robinson
//! \brief Surface input validator helper function definitions.
//!
//---------------------------------------------------------------------------//
// Std... | 31.307692 | 79 | 0.627355 | lkersting |
f62686765a2bf341306311cfa01096943efba6ad | 6,362 | cpp | C++ | Meitner/Application/Example/Testbench/ProcessorTest/main.cpp | testdrive-profiling-master/profiles | 6e3854874366530f4e7ae130000000812eda5ff7 | [
"BSD-3-Clause"
] | null | null | null | Meitner/Application/Example/Testbench/ProcessorTest/main.cpp | testdrive-profiling-master/profiles | 6e3854874366530f4e7ae130000000812eda5ff7 | [
"BSD-3-Clause"
] | null | null | null | Meitner/Application/Example/Testbench/ProcessorTest/main.cpp | testdrive-profiling-master/profiles | 6e3854874366530f4e7ae130000000812eda5ff7 | [
"BSD-3-Clause"
] | null | null | null | //================================================================================
// Copyright (c) 2013 ~ 2021. HyungKi Jeong(clonextop@gmail.com)
// Freely available under the terms of the 3-Clause BSD License
// (https://opensource.org/licenses/BSD-3-Clause)
//
// Redistribution and use in source and binary forms,
... | 36.774566 | 139 | 0.602012 | testdrive-profiling-master |
f626edbdcefd3f42a5ebe6d3b779ad4cc955d7da | 19,938 | hpp | C++ | src/core/tb2clause.hpp | nrousse/toulbar2 | ae79b8b05d7a57d7563ed6d497107b2e77cdd49c | [
"MIT"
] | 33 | 2018-08-16T18:14:35.000Z | 2022-03-14T10:26:18.000Z | src/core/tb2clause.hpp | nrousse/toulbar2 | ae79b8b05d7a57d7563ed6d497107b2e77cdd49c | [
"MIT"
] | 13 | 2018-08-09T06:53:08.000Z | 2022-03-28T10:26:24.000Z | src/core/tb2clause.hpp | nrousse/toulbar2 | ae79b8b05d7a57d7563ed6d497107b2e77cdd49c | [
"MIT"
] | 12 | 2018-06-06T15:19:46.000Z | 2022-02-11T17:09:27.000Z | #ifndef TB2WCLAUSE_HPP_
#define TB2WCLAUSE_HPP_
#include "tb2abstractconstr.hpp"
#include "tb2ternaryconstr.hpp"
#include "tb2enumvar.hpp"
#include "tb2wcsp.hpp"
#include <numeric>
//TODO: avoid enumeration on all variables if they are already assigned and removed (using backtrackable domain data structure).
//in ord... | 34.023891 | 231 | 0.440716 | nrousse |
f628fb8cbac669d14b03e8cca499eb4e042514e0 | 1,870 | cpp | C++ | src/light_effects.cpp | ljmerza/mqtt-msgeq7-led-strip | cd7574efbb1c4a2ba465cba51abe6fbeef5ac875 | [
"MIT"
] | 1 | 2019-05-16T01:49:14.000Z | 2019-05-16T01:49:14.000Z | src/light_effects.cpp | ljmerza/mqtt-msgeq7-led-strip | cd7574efbb1c4a2ba465cba51abe6fbeef5ac875 | [
"MIT"
] | 1 | 2019-01-24T02:04:06.000Z | 2019-01-28T17:51:22.000Z | src/light_effects.cpp | ljmerza/mqtt-msgeq7-led-strip | cd7574efbb1c4a2ba465cba51abe6fbeef5ac875 | [
"MIT"
] | null | null | null | #include "common.h"
#include "config.h"
void fill_led_colors(CRGBPalette16 current_palette){
for(int i=0; i<NUM_LEDS; i++) {
leds[i] = ColorFromPalette(current_palette, 0, brightness, LINEARBLEND);
}
}
CRGBPalette16 lamp_light(uint8_t red, uint8_t green, uint8_t blue){
CRGB rgb = CRGB(red, green... | 24.605263 | 80 | 0.728877 | ljmerza |
f62b9446cb6a8084b843648adfd65d222d4df16f | 5,861 | cpp | C++ | IP.cpp | keewon/winter-source-beta-3 | 6fb5d1f524119344785b3587ecb71dff74120b91 | [
"FSFAP"
] | null | null | null | IP.cpp | keewon/winter-source-beta-3 | 6fb5d1f524119344785b3587ecb71dff74120b91 | [
"FSFAP"
] | null | null | null | IP.cpp | keewon/winter-source-beta-3 | 6fb5d1f524119344785b3587ecb71dff74120b91 | [
"FSFAP"
] | null | null | null | #include "IP.h"
#include <set>
#define LOG_ERR 3
unsigned int IP::counter(0);
SOCKET
IP::
UDP(int (*const function)(const SOCKET), const u_short port)
{
struct sockaddr_in address;
size_t length(sizeof(struct sockaddr));
SOCKET socketID(socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP));
if (s... | 25.819383 | 108 | 0.615765 | keewon |
f62d44c9ae61529633378a66943811cb0edbad84 | 1,239 | cpp | C++ | Sources/common/erm/rendering/data_structs/RenderConfigs.cpp | JALB91/ERM | 5d2c56db6330efc7d662c24796fdc49e43d26e40 | [
"MIT"
] | 5 | 2019-02-26T18:46:52.000Z | 2022-01-27T23:48:26.000Z | Sources/common/erm/rendering/data_structs/RenderConfigs.cpp | JALB91/ERM | 5d2c56db6330efc7d662c24796fdc49e43d26e40 | [
"MIT"
] | 1 | 2020-06-07T23:44:29.000Z | 2021-04-03T18:49:54.000Z | Sources/common/erm/rendering/data_structs/RenderConfigs.cpp | JALB91/ERM | 5d2c56db6330efc7d662c24796fdc49e43d26e40 | [
"MIT"
] | null | null | null | #include "erm/rendering/data_structs/RenderConfigs.h"
namespace erm {
const RenderConfigs RenderConfigs::DEFAULT_RENDER_CONFIGS {
SubpassData {
AttachmentData(
AttachmentLoadOp::CLEAR,
AttachmentStoreOp::STORE,
ImageLayout::UNDEFINED,
#ifdef ERM_RAY_TRACING_ENABLED
ImageLayout::GENERAL
#else
ImageLa... | 21.736842 | 81 | 0.786118 | JALB91 |
f62dbe57b051d83e747c9fba74632255747eb9a1 | 1,045 | cpp | C++ | Bit Manipulation/AND Product.cpp | StavrosChryselis/hackerrank | 42a3e393231e237a99a9e54522ce3ec954bf614f | [
"MIT"
] | null | null | null | Bit Manipulation/AND Product.cpp | StavrosChryselis/hackerrank | 42a3e393231e237a99a9e54522ce3ec954bf614f | [
"MIT"
] | null | null | null | Bit Manipulation/AND Product.cpp | StavrosChryselis/hackerrank | 42a3e393231e237a99a9e54522ce3ec954bf614f | [
"MIT"
] | null | null | null | /*
****************************************************************
****************************************************************
-> Coded by Stavros Chryselis
-> Visit my github for more solved problems over multiple sites
-> https://github.com/StavrosChryselis
-> Feel free to email me at stavrikios@gm... | 20.490196 | 64 | 0.378947 | StavrosChryselis |
f6301d5a4bed812c45991e5f220e2e92de000a7d | 1,663 | cpp | C++ | modules/params-triangle/test/test_params_triangle.cpp | gurylev-nikita/devtools-course-practice | bab6ba4e39f04940e27c9ac148505eb152c05d17 | [
"CC-BY-4.0"
] | null | null | null | modules/params-triangle/test/test_params_triangle.cpp | gurylev-nikita/devtools-course-practice | bab6ba4e39f04940e27c9ac148505eb152c05d17 | [
"CC-BY-4.0"
] | 3 | 2021-04-22T17:12:19.000Z | 2021-05-14T12:16:25.000Z | modules/params-triangle/test/test_params_triangle.cpp | taktaev-artyom/devtools-course-practice | 7cf19defe061c07cfb3ebb71579456e807430a5d | [
"CC-BY-4.0"
] | null | null | null | // Copyright 2021 Paranicheva Alyona
#include <gtest/gtest.h>
#include <cmath>
#include <iostream>
#include <utility>
#include "include/triangle.h"
TEST(Params_Triangle, Create_Triangle) {
std::pair<double, double> a(2.5, 0);
std::pair<double, double> b(0, 4.5);
std::pair<double, double> c(-1.5, 0);... | 26.396825 | 44 | 0.622971 | gurylev-nikita |
f63098e2ca87affc55081c3ae5b7011a1cf55a89 | 4,490 | cpp | C++ | HN_Path/HN_File.cpp | Jusdetalent/JT_Utility | 2dec8ff0e8a0263a589f0829d63cf01dcae46d79 | [
"MIT"
] | null | null | null | HN_Path/HN_File.cpp | Jusdetalent/JT_Utility | 2dec8ff0e8a0263a589f0829d63cf01dcae46d79 | [
"MIT"
] | null | null | null | HN_Path/HN_File.cpp | Jusdetalent/JT_Utility | 2dec8ff0e8a0263a589f0829d63cf01dcae46d79 | [
"MIT"
] | null | null | null | /*
* File source file
* By Henock @ Comedac
* 07/ 12/ 2016 :: 13:03
*/
#include "HN_File.hpp"
#include <cstring>
#include <cstdio>
#include <sys/stat.h>
using namespace hnapi::path;
// Static methods
bool hnapi::path::isFileExist(std::string &dirname)
{
// Obtain file statistics
st... | 20.883721 | 64 | 0.493318 | Jusdetalent |
f6341801ae9d29d0e6d9cc0f105e1878ad239e9f | 9,079 | cpp | C++ | oaz/neural_network/nn_evaluator.cpp | ameroueh/oaz | 7cf192b02adaa373b7b93bedae3ef67886ea53af | [
"MIT"
] | 8 | 2021-03-18T16:06:42.000Z | 2022-03-09T10:42:44.000Z | oaz/neural_network/nn_evaluator.cpp | ameroueh/oaz | 7cf192b02adaa373b7b93bedae3ef67886ea53af | [
"MIT"
] | null | null | null | oaz/neural_network/nn_evaluator.cpp | ameroueh/oaz | 7cf192b02adaa373b7b93bedae3ef67886ea53af | [
"MIT"
] | null | null | null | #include "oaz/neural_network/nn_evaluator.hpp"
#include <stdint.h>
#include <functional>
#include <future>
#include <iostream>
#include <memory>
#include <queue>
#include <string>
#include <thread>
#include <utility>
#include "boost/multi_array.hpp"
#include "oaz/utils/time.hpp"
#include "tensorflow/core/framework/t... | 30.672297 | 79 | 0.677498 | ameroueh |
f635d45278e501fdec73c98f216e76c01eda55b0 | 564 | cc | C++ | code/foundation/math/xnamath/xna_plane.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 67 | 2015-03-30T19:56:16.000Z | 2022-03-11T13:52:17.000Z | code/foundation/math/xnamath/xna_plane.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 5 | 2015-04-15T17:17:33.000Z | 2016-02-11T00:40:17.000Z | code/foundation/math/xnamath/xna_plane.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 34 | 2015-03-30T15:08:00.000Z | 2021-09-23T05:55:10.000Z | //------------------------------------------------------------------------------
// plane.cc
// (C) 2007 Radon Labs GmbH
// (C) 2013-2014 Individual contributors, see AUTHORS file
//------------------------------------------------------------------------------
#include "stdneb.h"
#include "math/plane.h"
#include "ma... | 25.636364 | 80 | 0.390071 | gscept |
f6360a9405234cc744e6a1e93bd3f75e5f6d1266 | 1,743 | cc | C++ | src/document_fragment.cc | knocknote/libhtml5 | 46e18a9122097b4d681c91f0747aa78a20611cab | [
"MIT"
] | 7 | 2019-08-29T05:22:05.000Z | 2020-07-07T15:35:50.000Z | src/document_fragment.cc | blastrain/libhtml5 | 46e18a9122097b4d681c91f0747aa78a20611cab | [
"MIT"
] | 3 | 2019-07-12T09:43:31.000Z | 2019-09-10T03:36:45.000Z | src/document_fragment.cc | blastrain/libhtml5 | 46e18a9122097b4d681c91f0747aa78a20611cab | [
"MIT"
] | 3 | 2019-10-25T05:35:30.000Z | 2020-07-21T21:40:52.000Z | #include "element.h"
#include "node_list.h"
#include "html_collection.h"
#include "document_fragment.h"
USING_NAMESPACE_HTML5;
DocumentFragment::DocumentFragment(emscripten::val v) :
Node(v)
{
}
DocumentFragment::~DocumentFragment()
{
}
DocumentFragment *DocumentFragment::create(emscripten::val v)
{
auto ... | 25.26087 | 85 | 0.751004 | knocknote |
f63653480e4f570d7a3274c77308b46d5f20756a | 66 | cpp | C++ | Src/AppsDev/Logger/logger.cpp | zc110747/embed_manage_system | f7ec87277405ac380d5d5cb3e20240afcd505740 | [
"MIT"
] | null | null | null | Src/AppsDev/Logger/logger.cpp | zc110747/embed_manage_system | f7ec87277405ac380d5d5cb3e20240afcd505740 | [
"MIT"
] | null | null | null | Src/AppsDev/Logger/logger.cpp | zc110747/embed_manage_system | f7ec87277405ac380d5d5cb3e20240afcd505740 | [
"MIT"
] | null | null | null | /*
* logger.cpp
*
* Created on: 2021 Dec 11 15:08:05
*/
| 11 | 37 | 0.5 | zc110747 |
f636a43d1f6a3a83f344ac571b6f2310aa1df6b2 | 1,336 | cpp | C++ | test/containers/sequences/list/list.cons/size_type.pass.cpp | caiohamamura/libcxx | 27c836ff3a9c505deb9fd1616012924de8ff9279 | [
"MIT"
] | 187 | 2015-02-28T11:50:45.000Z | 2022-02-20T12:51:00.000Z | test/containers/sequences/list/list.cons/size_type.pass.cpp | caiohamamura/libcxx | 27c836ff3a9c505deb9fd1616012924de8ff9279 | [
"MIT"
] | 2 | 2019-06-24T20:44:59.000Z | 2020-06-17T18:41:35.000Z | test/containers/sequences/list/list.cons/size_type.pass.cpp | caiohamamura/libcxx | 27c836ff3a9c505deb9fd1616012924de8ff9279 | [
"MIT"
] | 80 | 2015-01-02T12:44:41.000Z | 2022-01-20T15:37:54.000Z | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | 26.196078 | 80 | 0.44985 | caiohamamura |
f639c0e1f43704acdb6e3a958d76153e65bb75f1 | 9,350 | cpp | C++ | src/clientcommands.cpp | burnedram/csgo-plugin-color-say | 64adc99eefa5edfd44c0716e3b0c0d5983a99ee8 | [
"MIT"
] | 5 | 2017-10-17T03:26:24.000Z | 2021-07-08T23:24:05.000Z | src/clientcommands.cpp | burnedram/csgo-plugin-color-say | 64adc99eefa5edfd44c0716e3b0c0d5983a99ee8 | [
"MIT"
] | 1 | 2016-10-29T12:59:12.000Z | 2017-04-23T18:45:07.000Z | src/clientcommands.cpp | burnedram/csgo-plugin-color-say | 64adc99eefa5edfd44c0716e3b0c0d5983a99ee8 | [
"MIT"
] | 5 | 2016-09-15T10:11:55.000Z | 2022-02-15T16:58:25.000Z | #include "clientcommands.h"
#include "globals.h"
#include "constants.h"
#include "chatcolor.h"
#include "chat.h"
#include "console.h"
#include <unordered_map>
#include <sstream>
#include <algorithm>
using namespace std;
namespace colorsay {
namespace clientcommands {
static unordered_map<string, ColorCo... | 34.249084 | 122 | 0.529198 | burnedram |
f63e7a16af6aac1e453b3f06341326570eee555b | 400 | cpp | C++ | Source/NetPhysSync/Private/NPSPrediction/FBufferInfo.cpp | i3oi3o/NetPhysSync | 267d1858d2f960933a699e725c14d8a4b4713f96 | [
"BSD-3-Clause"
] | 1 | 2018-09-22T20:35:49.000Z | 2018-09-22T20:35:49.000Z | Source/NetPhysSync/Private/NPSPrediction/FBufferInfo.cpp | i3oi3o/NetPhysSync | 267d1858d2f960933a699e725c14d8a4b4713f96 | [
"BSD-3-Clause"
] | null | null | null | Source/NetPhysSync/Private/NPSPrediction/FBufferInfo.cpp | i3oi3o/NetPhysSync | 267d1858d2f960933a699e725c14d8a4b4713f96 | [
"BSD-3-Clause"
] | 1 | 2019-04-17T05:37:51.000Z | 2019-04-17T05:37:51.000Z | // This is licensed under the BSD License 2.0 found in the LICENSE file in project's root directory.
#include "FBufferInfo.h"
FBufferInfo::FBufferInfo(uint32 BufferStartTickIndexParam, int32 BufferNumParam)
: BufferStartTickIndex(BufferStartTickIndexParam)
, BufferNum(BufferNumParam)
, BufferLastTickIndex(Buffer... | 22.222222 | 100 | 0.795 | i3oi3o |
f641c1cbefc7cb47cc8fb566c0540e14efaffc07 | 6,495 | hh | C++ | src/cxx/include/data/FileReader.hh | sbooeshaghi/bcl2fastq | 3f39a24cd743fa71fba9b7dcf62e5d33cea8272d | [
"BSD-3-Clause"
] | 5 | 2021-06-07T12:36:11.000Z | 2022-02-08T09:49:02.000Z | src/cxx/include/data/FileReader.hh | sbooeshaghi/bcl2fastq | 3f39a24cd743fa71fba9b7dcf62e5d33cea8272d | [
"BSD-3-Clause"
] | 1 | 2022-03-01T23:55:57.000Z | 2022-03-01T23:57:15.000Z | src/cxx/include/data/FileReader.hh | sbooeshaghi/bcl2fastq | 3f39a24cd743fa71fba9b7dcf62e5d33cea8272d | [
"BSD-3-Clause"
] | null | null | null | /**
* BCL to FASTQ file converter
* Copyright (c) 2007-2017 Illumina, Inc.
*
* This software is covered by the accompanying EULA
* and certain third party copyright/licenses, and any user of this
* source file is bound by the terms therein.
*
* \file FileReader.hh
*
* \brief Declaration of FileReader file.
*... | 33.828125 | 98 | 0.668668 | sbooeshaghi |
f6432f00dd84fdc63c993624b4fb8ae89272e701 | 3,274 | hpp | C++ | Firmware/Drivers/STM32/stm32_timer.hpp | deafloo/ODrive | bae459bb71b39c0169f4b8a322b7371eada58112 | [
"MIT"
] | 1,068 | 2016-05-31T22:39:08.000Z | 2020-12-20T22:13:01.000Z | Firmware/Drivers/STM32/stm32_timer.hpp | deafloo/ODrive | bae459bb71b39c0169f4b8a322b7371eada58112 | [
"MIT"
] | 389 | 2017-10-16T09:44:20.000Z | 2020-12-21T14:19:38.000Z | Firmware/Drivers/STM32/stm32_timer.hpp | deafloo/ODrive | bae459bb71b39c0169f4b8a322b7371eada58112 | [
"MIT"
] | 681 | 2016-06-12T01:41:00.000Z | 2020-12-21T12:49:32.000Z | #ifndef __STM32_TIMER_HPP
#define __STM32_TIMER_HPP
#include "stm32_system.h"
#include <tim.h>
#include <array>
class Stm32Timer {
public:
/**
* @brief Starts multiple timers deterministically and synchronously from the
* specified offset.
*
* All timers are atomically (*) put into the follow... | 39.445783 | 144 | 0.635919 | deafloo |
f64495f89a4b93117e666c31a395d42bcfa79438 | 490 | hpp | C++ | addons/#disabled/TBMod_liveMonitor/configs/CfgFunctions.hpp | Braincrushy/TBMod | 785f11cd9cd0defb0d01a6d2861beb6c207eb8a3 | [
"MIT"
] | null | null | null | addons/#disabled/TBMod_liveMonitor/configs/CfgFunctions.hpp | Braincrushy/TBMod | 785f11cd9cd0defb0d01a6d2861beb6c207eb8a3 | [
"MIT"
] | 4 | 2018-12-21T06:57:25.000Z | 2020-07-09T09:06:38.000Z | addons/#disabled/TBMod_liveMonitor/configs/CfgFunctions.hpp | Braincrushy/TBMod | 785f11cd9cd0defb0d01a6d2861beb6c207eb8a3 | [
"MIT"
] | null | null | null | /*
Part of the TBMod ( https://github.com/TacticalBaconDevs/TBMod )
Developed by http://tacticalbacon.de
Author: Chris 'Taranis'
*/
class CfgFunctions
{
class TBMod_liveMonitor
{
tag = "TB_liveMonitor";
class functions
{
file = "\TBMod_liveMonitor\functions";
... | 19.6 | 68 | 0.526531 | Braincrushy |
f646c7099880bfe83fc9cae96c511f414d38634a | 15,397 | hpp | C++ | p1788/flavor/infsup/setbased/mpfr_bin_ieee754_flavor_class_impl.hpp | nehmeier/libieeep1788 | 1f10b896ff532e95818856614ab3073189e81199 | [
"Apache-2.0"
] | 41 | 2015-01-23T07:52:27.000Z | 2022-02-28T03:15:21.000Z | p1788/flavor/infsup/setbased/mpfr_bin_ieee754_flavor_class_impl.hpp | nehmeier/libieeep1788 | 1f10b896ff532e95818856614ab3073189e81199 | [
"Apache-2.0"
] | 25 | 2015-01-25T16:13:35.000Z | 2022-02-14T12:05:08.000Z | p1788/flavor/infsup/setbased/mpfr_bin_ieee754_flavor_class_impl.hpp | nehmeier/libieeep1788 | 1f10b896ff532e95818856614ab3073189e81199 | [
"Apache-2.0"
] | 8 | 2015-02-22T11:06:19.000Z | 2021-05-23T09:57:32.000Z | //
// libieeep1788
//
// An implementation of the preliminary IEEE P1788 standard for
// interval arithmetic
//
//
// Copyright 2013 - 2015
//
// Marco Nehmeier (nehmeier@informatik.uni-wuerzburg.de)
// Department of Computer Science,
// University of Wuerzburg, Germany
//
// ... | 29.216319 | 123 | 0.644541 | nehmeier |
f646dce818a2567323190f6ea2bc22130e46745a | 1,725 | cc | C++ | elements/standard/checkpaint.cc | MacWR/Click-changed-for-ParaGraph | 18285e5da578fbb7285d10380836146e738dee6e | [
"Apache-2.0"
] | 129 | 2015-10-08T14:38:35.000Z | 2022-03-06T14:54:44.000Z | elements/standard/checkpaint.cc | MacWR/Click-changed-for-ParaGraph | 18285e5da578fbb7285d10380836146e738dee6e | [
"Apache-2.0"
] | 241 | 2016-02-17T16:17:58.000Z | 2022-03-15T09:08:33.000Z | elements/standard/checkpaint.cc | MacWR/Click-changed-for-ParaGraph | 18285e5da578fbb7285d10380836146e738dee6e | [
"Apache-2.0"
] | 61 | 2015-12-17T01:46:58.000Z | 2022-02-07T22:25:19.000Z | /*
* checkpaint.{cc,hh} -- element checks paint annotation
* Eddie Kohler, Robert Morris
*
* Copyright (c) 1999-2000 Massachusetts Institute of Technology
* Copyright (c) 2008 Meraki, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated document... | 24.295775 | 78 | 0.708986 | MacWR |
f648900f3836270aafc74e829eed9d3565b0677d | 860 | cpp | C++ | Ch 05/5.14.cpp | Felon03/CppPrimer | 7dc2daf59f0ae7ec5670def15cb5fab174fe9780 | [
"Apache-2.0"
] | null | null | null | Ch 05/5.14.cpp | Felon03/CppPrimer | 7dc2daf59f0ae7ec5670def15cb5fab174fe9780 | [
"Apache-2.0"
] | null | null | null | Ch 05/5.14.cpp | Felon03/CppPrimer | 7dc2daf59f0ae7ec5670def15cb5fab174fe9780 | [
"Apache-2.0"
] | null | null | null | /*编写一段程序,从标准输入中读取若干string对象并查找连续重复出现的单词。*/
#include<iostream>
#include<string>
#include<vector>
using namespace std;
int main()
{
vector<string> st;
string st1, prestr;
unsigned int wordCnt = 1;
bool flag = false;
while (cin >> st1)
{
st.push_back(st1);
}
auto beg = st.begin();
while (beg != st.end())
{
... | 16.538462 | 64 | 0.552326 | Felon03 |
f64a4a21f24b00080d2680d2251d39a4c4e14d67 | 598 | cpp | C++ | Classes/Log/AceLog.cpp | DahamChoi/cocos_mygui_debugSystem | f716d99b1babdc8dfe84535033505b936a84a055 | [
"MIT"
] | null | null | null | Classes/Log/AceLog.cpp | DahamChoi/cocos_mygui_debugSystem | f716d99b1babdc8dfe84535033505b936a84a055 | [
"MIT"
] | null | null | null | Classes/Log/AceLog.cpp | DahamChoi/cocos_mygui_debugSystem | f716d99b1babdc8dfe84535033505b936a84a055 | [
"MIT"
] | null | null | null | #include "AceLog.h"
#include "LogData.h"
#include <ctime>
USING_NS_ACE;
void AceLog::log(const std::string& msg, Type type)
{
AceLogPtr pAceLog = std::make_shared<AceLog>();
pAceLog->msg = msg;
pAceLog->type = type;
time_t curTime = std::time(NULL);
tm* pLocal = std::localtime(&curTime);
... | 23.92 | 131 | 0.632107 | DahamChoi |
f64da81defb3c247ef8d238ae61e13665484af93 | 1,607 | cc | C++ | FTPD_cmd.cc | shuLhan/libvos | 831491b197fa8f267fd94966d406596896e6f25c | [
"BSD-3-Clause"
] | 1 | 2017-09-14T13:31:16.000Z | 2017-09-14T13:31:16.000Z | FTPD_cmd.cc | shuLhan/libvos | 831491b197fa8f267fd94966d406596896e6f25c | [
"BSD-3-Clause"
] | null | null | null | FTPD_cmd.cc | shuLhan/libvos | 831491b197fa8f267fd94966d406596896e6f25c | [
"BSD-3-Clause"
] | 5 | 2015-04-11T02:59:06.000Z | 2021-03-03T19:45:39.000Z | //
// Copyright 2009-2016 M. Shulhan (ms@kilabit.info). All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
#include "FTPD_cmd.hh"
namespace vos {
const char* FTPD_cmd::__cname = "FTPD_cmd";
FTPD_cmd::FTPD_cmd() :
_code(0)
, _name()
, _par... | 18.686047 | 73 | 0.6285 | shuLhan |
f651e7c2b998d73d94d9609835fcc40c7299cf37 | 1,556 | cpp | C++ | 6. Heaps/HeapSort.cpp | suraj0803/DSA | 6ea21e452d7662e2351ee2a7b0415722e1bbf094 | [
"MIT"
] | null | null | null | 6. Heaps/HeapSort.cpp | suraj0803/DSA | 6ea21e452d7662e2351ee2a7b0415722e1bbf094 | [
"MIT"
] | null | null | null | 6. Heaps/HeapSort.cpp | suraj0803/DSA | 6ea21e452d7662e2351ee2a7b0415722e1bbf094 | [
"MIT"
] | null | null | null | #include<iostream>
#include<vector>
using namespace std;
void print(vector<int> v){
for(int x:v){
cout<<x<<" ";
}
cout<<endl;
}
bool minHeap = false;
bool compare(int a, int b){
if(minHeap){
return a<b;
}
else{
return a>b;
}
}
void h... | 18.093023 | 88 | 0.503856 | suraj0803 |
f654cefc5761d245701e3300ccf8a6ba5973615f | 3,990 | cpp | C++ | Source/ArgsPasserModule/Private/Views/SLauncherWidget.cpp | lpestl/ArgsPasser | e7dc26ccfccd160ca8ed2eee10633a89d88c066a | [
"MIT"
] | null | null | null | Source/ArgsPasserModule/Private/Views/SLauncherWidget.cpp | lpestl/ArgsPasser | e7dc26ccfccd160ca8ed2eee10633a89d88c066a | [
"MIT"
] | null | null | null | Source/ArgsPasserModule/Private/Views/SLauncherWidget.cpp | lpestl/ArgsPasser | e7dc26ccfccd160ca8ed2eee10633a89d88c066a | [
"MIT"
] | null | null | null | #include "SLauncherWidget.h"
#include "DesktopPlatform/Public/DesktopPlatformModule.h"
#include "DesktopPlatform/Public/IDesktopPlatform.h"
#include "Editor/MainFrame/Public/Interfaces/IMainFrameModule.h"
#define LOCTEXT_NAMESPACE "LauncherWidget"
void SLauncherWidget::Construct(const FArguments& InArgs)
{
ChildSl... | 27.328767 | 115 | 0.717043 | lpestl |
2cf1c405f8068029edc7f14e62ebb7f99aab97b3 | 2,712 | cpp | C++ | pausedialog.cpp | williamwu88/Flying-Stickman | d11c05e87bde481200ed1f3aaf5a0f4e4982d9ae | [
"MIT"
] | null | null | null | pausedialog.cpp | williamwu88/Flying-Stickman | d11c05e87bde481200ed1f3aaf5a0f4e4982d9ae | [
"MIT"
] | null | null | null | pausedialog.cpp | williamwu88/Flying-Stickman | d11c05e87bde481200ed1f3aaf5a0f4e4982d9ae | [
"MIT"
] | null | null | null | #include "pausedialog.h"
#include "ui_pausedialog.h"
PauseDialog::PauseDialog(bool *paused, QWidget *parent) :
QDialog(parent),
ui(new Ui::PauseDialog),
paused(paused) {
ui->setupUi(this);
//this->setStyleSheet("background-color: #FFFFFF;"); //White
this->setFixedSize(this->width(), this->heig... | 27.673469 | 83 | 0.65118 | williamwu88 |
2cf4381bb3482283e4c2c84af071694678e219a1 | 203 | cpp | C++ | Fellz/RaknetGlobals.cpp | digitalhoax/fellz | cacf5cd57f00121bcb2a795021aed24c4164c418 | [
"Zlib",
"libtiff",
"BSD-2-Clause",
"Apache-2.0",
"MIT",
"Libpng",
"curl",
"BSD-3-Clause"
] | 1 | 2017-09-25T09:32:22.000Z | 2017-09-25T09:32:22.000Z | Fellz/RaknetGlobals.cpp | digitalhoax/fellz | cacf5cd57f00121bcb2a795021aed24c4164c418 | [
"Zlib",
"libtiff",
"BSD-2-Clause",
"Apache-2.0",
"MIT",
"Libpng",
"curl",
"BSD-3-Clause"
] | null | null | null | Fellz/RaknetGlobals.cpp | digitalhoax/fellz | cacf5cd57f00121bcb2a795021aed24c4164c418 | [
"Zlib",
"libtiff",
"BSD-2-Clause",
"Apache-2.0",
"MIT",
"Libpng",
"curl",
"BSD-3-Clause"
] | null | null | null | #include "RaknetGlobals.h"
// for documentation, see RaknetGlobals.h
RakNet::RakPeerInterface* player2;
RakNet::SystemAddress player2Adress;
bool isServer;
bool isConnected;
bool otherGameOver; | 22.555556 | 42 | 0.783251 | digitalhoax |
2cf898eb30b312384af57b0be63943dfc1e3cacc | 45 | hpp | C++ | src/boost_mpl_aux__config_has_xxx.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 10 | 2018-03-17T00:58:42.000Z | 2021-07-06T02:48:49.000Z | src/boost_mpl_aux__config_has_xxx.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 2 | 2021-03-26T15:17:35.000Z | 2021-05-20T23:55:08.000Z | src/boost_mpl_aux__config_has_xxx.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 4 | 2019-05-28T21:06:37.000Z | 2021-07-06T03:06:52.000Z | #include <boost/mpl/aux_/config/has_xxx.hpp>
| 22.5 | 44 | 0.777778 | miathedev |
2cf89ab55f7193b92900ab50122c466e126f0a5e | 9,234 | cpp | C++ | src/Daggy/CConsoleDaggy.cpp | milovidov/dataagregator | 1150f66fc2ef2bbcf62c0174ef147109185cad98 | [
"MIT"
] | 135 | 2019-06-23T20:32:33.000Z | 2022-02-06T15:41:41.000Z | src/Daggy/CConsoleDaggy.cpp | milovidov/dataagregator | 1150f66fc2ef2bbcf62c0174ef147109185cad98 | [
"MIT"
] | 2 | 2020-10-16T17:31:44.000Z | 2022-01-02T22:02:04.000Z | src/Daggy/CConsoleDaggy.cpp | milovidov/dataagregator | 1150f66fc2ef2bbcf62c0174ef147109185cad98 | [
"MIT"
] | 11 | 2019-12-26T14:36:44.000Z | 2022-02-23T02:14:41.000Z | /*
MIT License
Copyright (c) 2020 Mikhail Milovidov
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, publi... | 33.33574 | 127 | 0.668075 | milovidov |
2cf95fa4d1af26fa57d13569b320577a31d79785 | 453 | cpp | C++ | src/armnn/Exceptions.cpp | KevinRodrigues05/armnn_caffe2_parser | c577f2c6a3b4ddb6ba87a882723c53a248afbeba | [
"MIT"
] | 1 | 2019-03-19T08:44:28.000Z | 2019-03-19T08:44:28.000Z | src/armnn/Exceptions.cpp | KevinRodrigues05/armnn_caffe2_parser | c577f2c6a3b4ddb6ba87a882723c53a248afbeba | [
"MIT"
] | null | null | null | src/armnn/Exceptions.cpp | KevinRodrigues05/armnn_caffe2_parser | c577f2c6a3b4ddb6ba87a882723c53a248afbeba | [
"MIT"
] | 1 | 2019-10-11T05:58:56.000Z | 2019-10-11T05:58:56.000Z | //
// Copyright © 2017 Arm Ltd. All rights reserved.
// See LICENSE file in the project root for full license information.
//
#include "armnn/Exceptions.hpp"
#include <string>
namespace armnn
{
Exception::Exception(const std::string& message)
: m_Message(message)
{
}
const char* Exception::what() const noexcept
{
... | 16.178571 | 69 | 0.730684 | KevinRodrigues05 |
2cfea314db777fdd1478eddb86659a125232716f | 2,083 | cpp | C++ | tests/nostdlib/llvm_passes/SimplifyCFG/MergeConditionalStores/mergecondstores.cpp | jmorse/dexter | 79cefa890d041dfc927aea2a84737aa704ddd35c | [
"MIT"
] | null | null | null | tests/nostdlib/llvm_passes/SimplifyCFG/MergeConditionalStores/mergecondstores.cpp | jmorse/dexter | 79cefa890d041dfc927aea2a84737aa704ddd35c | [
"MIT"
] | null | null | null | tests/nostdlib/llvm_passes/SimplifyCFG/MergeConditionalStores/mergecondstores.cpp | jmorse/dexter | 79cefa890d041dfc927aea2a84737aa704ddd35c | [
"MIT"
] | null | null | null | // RUN: %dexter
int global = 0;
int
foo(int bar) // DexWatch('bar', 'global')
{
int lolret = 0; // DexWatch('bar', 'global', 'lolret')
if (bar & 1) { // DexWatch('bar', 'global', 'lolret')
bar += 1; // DexUnreachable()
lolret += 1; // DexUnreachable()
} else { // DexWatch('bar', '... | 38.574074 | 75 | 0.606337 | jmorse |
2cffd33eed22de0c010509c4afebb3fbd1612541 | 303 | hpp | C++ | development/CppDB/libCppDb/include/CppDb/ManagerFwd.hpp | AntonPoturaev/CppDB | 034d7feafc438fc585441742472bf4b5ef637eb2 | [
"Unlicense"
] | null | null | null | development/CppDB/libCppDb/include/CppDb/ManagerFwd.hpp | AntonPoturaev/CppDB | 034d7feafc438fc585441742472bf4b5ef637eb2 | [
"Unlicense"
] | null | null | null | development/CppDB/libCppDb/include/CppDb/ManagerFwd.hpp | AntonPoturaev/CppDB | 034d7feafc438fc585441742472bf4b5ef637eb2 | [
"Unlicense"
] | null | null | null | #if !defined(__CPP_ABSTRACT_DATA_BASE_MANAGER_FORWARD_DECLARATION_HPP__)
# define __CPP_ABSTRACT_DATA_BASE_MANAGER_FORWARD_DECLARATION_HPP__
namespace CppAbstractDataBase {
class Manager;
} /// end namespace CppAbstractDataBase
#endif /// !__CPP_ABSTRACT_DATA_BASE_MANAGER_FORWARD_DECLARATION_HPP__
| 33.666667 | 72 | 0.874587 | AntonPoturaev |
fa07338eccfe31262314f8cc36876a4f175df8c7 | 1,498 | cpp | C++ | code-forces/657 Div 2/C2.cpp | ErickJoestar/competitive-programming | 76afb766dbc18e16315559c863fbff19a955a569 | [
"MIT"
] | 1 | 2020-04-23T00:35:38.000Z | 2020-04-23T00:35:38.000Z | code-forces/657 Div 2/C2.cpp | ErickJoestar/competitive-programming | 76afb766dbc18e16315559c863fbff19a955a569 | [
"MIT"
] | null | null | null | code-forces/657 Div 2/C2.cpp | ErickJoestar/competitive-programming | 76afb766dbc18e16315559c863fbff19a955a569 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define ENDL '\n'
#define deb(u) cout << #u " : " << (u) << ENDL;
#define deba(alias, u) cout << alias << ": " << (u) << ENDL;
#define debp(u, v) cout << u << " : " << v << ENDL;
#define pb push_back
#define F first
#define S second
#define lli long long
#define pii pair<int, int>
#define pll p... | 20.520548 | 60 | 0.417223 | ErickJoestar |
fa0a00bc000fb4492fa205ca3e76cf85f6117e00 | 1,499 | cpp | C++ | dynamic programming/70. Climbing Stairs.cpp | Constantine-L01/leetcode | 1f1e3a8226fcec036370e75c1d69e823d1323392 | [
"MIT"
] | 1 | 2021-04-08T10:33:48.000Z | 2021-04-08T10:33:48.000Z | dynamic programming/70. Climbing Stairs.cpp | Constantine-L01/leetcode | 1f1e3a8226fcec036370e75c1d69e823d1323392 | [
"MIT"
] | null | null | null | dynamic programming/70. Climbing Stairs.cpp | Constantine-L01/leetcode | 1f1e3a8226fcec036370e75c1d69e823d1323392 | [
"MIT"
] | 1 | 2021-02-23T05:58:58.000Z | 2021-02-23T05:58:58.000Z | You are climbing a staircase. It takes n steps to reach the top.
Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top?
Example 1:
Input: n = 2
Output: 2
Explanation: There are two ways to climb to the top.
1. 1 step + 1 step
2. 2 steps
//better solution with less space use... | 28.826923 | 181 | 0.596398 | Constantine-L01 |
fa0fc5014c590e38f905d7af0ab48bb4b7535324 | 4,083 | hpp | C++ | src/utils/timed_events.hpp | norayr/biboumi | 805671032d25ee6ce09ed75e8a385c04e9563cdd | [
"Zlib"
] | 68 | 2015-01-29T21:07:37.000Z | 2022-03-20T14:48:07.000Z | src/utils/timed_events.hpp | norayr/biboumi | 805671032d25ee6ce09ed75e8a385c04e9563cdd | [
"Zlib"
] | 5 | 2016-10-24T18:34:30.000Z | 2021-08-31T13:30:37.000Z | src/utils/timed_events.hpp | norayr/biboumi | 805671032d25ee6ce09ed75e8a385c04e9563cdd | [
"Zlib"
] | 13 | 2015-12-11T15:19:05.000Z | 2021-08-31T13:24:35.000Z | #pragma once
#include <functional>
#include <string>
#include <chrono>
#include <vector>
using namespace std::literals::chrono_literals;
namespace utils {
static constexpr std::chrono::milliseconds no_timeout = std::chrono::milliseconds(-1);
}
class TimedEventsManager;
/**
* A callback with an associated date.
*... | 29.586957 | 86 | 0.690914 | norayr |
fa14c0cd63a0c25a089f5434f3573441a843f9f6 | 362 | cpp | C++ | A/1031.cpp | chenjiajia9411/PATest | 061c961f5d7bf7b23c3a1b70d3d443cb57263700 | [
"Apache-2.0"
] | 1 | 2017-11-24T15:06:29.000Z | 2017-11-24T15:06:29.000Z | A/1031.cpp | chenjiajia9411/PAT | 061c961f5d7bf7b23c3a1b70d3d443cb57263700 | [
"Apache-2.0"
] | null | null | null | A/1031.cpp | chenjiajia9411/PAT | 061c961f5d7bf7b23c3a1b70d3d443cb57263700 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
using namespace std;
int main()
{
string input;
cin>>input;
int is = input.size();
int n = (is + 2)/3;
for(int i = 0;i < n - 1;i++)
{
cout<<input.front();
input.erase(0,1);
for(int j = 0;j < (is - 2*n);j++) cout<<" ";
cout<<input.back()<<"\n";
input.p... | 19.052632 | 52 | 0.486188 | chenjiajia9411 |
fa17a23c3ce2ce020cd09e3414631fa3e31da150 | 4,213 | cpp | C++ | utilities/msmonitor/gui/QMSMFormHeatmapAbstract.cpp | akiml/ampehre | 383a863442574ea2e6a6ac853a9b99e153daeccf | [
"BSD-2-Clause"
] | 3 | 2016-01-20T13:41:52.000Z | 2018-04-10T17:50:49.000Z | utilities/msmonitor/gui/QMSMFormHeatmapAbstract.cpp | akiml/ampehre | 383a863442574ea2e6a6ac853a9b99e153daeccf | [
"BSD-2-Clause"
] | null | null | null | utilities/msmonitor/gui/QMSMFormHeatmapAbstract.cpp | akiml/ampehre | 383a863442574ea2e6a6ac853a9b99e153daeccf | [
"BSD-2-Clause"
] | null | null | null | /*
* QMSMFormHeatmapAbstract.cpp
*
* Copyright (C) 2015, Achim Lösch <achim.loesch@upb.de>, Christoph Knorr <cknorr@mail.uni-paderborn.de>
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD license. See the LICENSE file for details.
*
* encoding: UTF-8
* t... | 27.357143 | 127 | 0.711844 | akiml |
fa18a3ae82592268a345f287ee0a23fec1355601 | 670 | hpp | C++ | source/Utilities/Point2D.hpp | hadryansalles/ray-tracing-from-the-ground-up | 4ca02fca2cdd458767b4ab3df15b6cd20cb1f413 | [
"MIT"
] | 5 | 2021-09-24T12:22:08.000Z | 2022-03-23T06:54:02.000Z | source/Utilities/Point2D.hpp | hadryans/ray-tracing-from-the-ground-up | 4ca02fca2cdd458767b4ab3df15b6cd20cb1f413 | [
"MIT"
] | null | null | null | source/Utilities/Point2D.hpp | hadryans/ray-tracing-from-the-ground-up | 4ca02fca2cdd458767b4ab3df15b6cd20cb1f413 | [
"MIT"
] | 5 | 2021-08-14T22:26:11.000Z | 2022-03-04T09:13:39.000Z | #pragma once
#include "Matrix.hpp"
#include <math.h>
class Point2D {
public:
double x, y;
Point2D();
Point2D(const double a);
Point2D(const double a, const double b);
Point2D(const Point2D &p);
~Point2D();
Point2D& operator= (const Point2D& p); // assignment operator
Point2D oper... | 27.916667 | 89 | 0.671642 | hadryansalles |
fa1e92d86a4cfe6bcc31d1ffa3b36128579a55c9 | 1,401 | cpp | C++ | Stack & Heap/316. Remove Duplicate Letters/main.cpp | Minecodecraft/LeetCode-Minecode | 185fd6efe88d8ffcad94e581915c41502a0361a0 | [
"MIT"
] | 1 | 2021-11-19T19:58:33.000Z | 2021-11-19T19:58:33.000Z | Stack & Heap/316. Remove Duplicate Letters/main.cpp | Minecodecraft/LeetCode-Minecode | 185fd6efe88d8ffcad94e581915c41502a0361a0 | [
"MIT"
] | null | null | null | Stack & Heap/316. Remove Duplicate Letters/main.cpp | Minecodecraft/LeetCode-Minecode | 185fd6efe88d8ffcad94e581915c41502a0361a0 | [
"MIT"
] | 2 | 2021-11-26T12:47:27.000Z | 2022-01-13T16:14:46.000Z | //
// main.cpp
// 316. Remove Duplicate Letters
//
// Created by 边俊林 on 2019/10/3.
// Copyright © 2019 Minecode.Link. All rights reserved.
//
/* ------------------------------------------------------ *\
https://leetcode.com/problems/remove-duplicate-letters/
\* ----------------------------------------------------... | 23.35 | 85 | 0.522484 | Minecodecraft |
fa2380682598c79bfaf0c3f3da04682a49f4ac03 | 10,020 | cpp | C++ | Modular Server/modulserv/my_parser.cpp | jancura/modular-server | ef97e7147edb33614d986a514c236f3dd020b513 | [
"MIT"
] | 1 | 2018-12-30T11:17:22.000Z | 2018-12-30T11:17:22.000Z | Modular Server/modulserv/my_parser.cpp | jancura/modular-server | ef97e7147edb33614d986a514c236f3dd020b513 | [
"MIT"
] | null | null | null | Modular Server/modulserv/my_parser.cpp | jancura/modular-server | ef97e7147edb33614d986a514c236f3dd020b513 | [
"MIT"
] | null | null | null | //20.05.2005 - implementacia my_parser.cpp
/*Pali Jancura - to jest ja :)
* 26.05.2005
* - ping prerobeny do dll
* - dalsie zmeny, pridany ping, este predtym bol pridany broadcast
* 20.05.2005
* add: bool my_parser()
*/
#include "stdafx.h"
#include "my_parser.h"
#include "server_thread.h"
#include "broadcast_t... | 31.809524 | 110 | 0.646607 | jancura |
fa267557bc33f4869f70e21dfcbf5301c9d0d38c | 186 | hpp | C++ | util.hpp | Mnkai/libzku_unitconv | 04951b54c255001bceeb484e5ff5754828dfda38 | [
"Apache-2.0"
] | null | null | null | util.hpp | Mnkai/libzku_unitconv | 04951b54c255001bceeb484e5ff5754828dfda38 | [
"Apache-2.0"
] | 2 | 2017-05-29T13:57:39.000Z | 2017-06-05T02:21:42.000Z | util.hpp | Mnkai/libzku_unitconv | 04951b54c255001bceeb484e5ff5754828dfda38 | [
"Apache-2.0"
] | null | null | null | #include <algorithm>
#include <functional>
#include <cctype>
#include <locale>
std::string <rim(std::string &s);
std::string &rtrim(std::string &s);
std::string &trim(std::string &s); | 23.25 | 35 | 0.698925 | Mnkai |
fa28b20e7e464a27ea215c13f2f5b4e81cac8680 | 4,319 | hpp | C++ | esp/platform/espsecurecontext.hpp | miguelvazq/HPCC-Platform | 22ad8e5fcb59626abfd8febecbdfccb1e9fb0aa5 | [
"Apache-2.0"
] | 286 | 2015-01-03T12:45:17.000Z | 2022-03-25T18:12:57.000Z | esp/platform/espsecurecontext.hpp | miguelvazq/HPCC-Platform | 22ad8e5fcb59626abfd8febecbdfccb1e9fb0aa5 | [
"Apache-2.0"
] | 9,034 | 2015-01-02T08:49:19.000Z | 2022-03-31T20:34:44.000Z | esp/platform/espsecurecontext.hpp | cloLN/HPCC-Platform | 42ffb763a1cdcf611d3900831973d0a68e722bbe | [
"Apache-2.0"
] | 208 | 2015-01-02T03:27:28.000Z | 2022-02-11T05:54:52.000Z | /*##############################################################################
HPCC SYSTEMS software Copyright (C) 2016 HPCC Systems®.
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... | 41.133333 | 194 | 0.694837 | miguelvazq |
fa2b1cd9c0e3ad13ff409683d37c865b8020b188 | 1,609 | cpp | C++ | breath/cryptography/test/digest_ordering_test.cpp | erez-o/breath | adf197b4e959beffce11e090c5e806d2ff4df38a | [
"BSD-3-Clause"
] | null | null | null | breath/cryptography/test/digest_ordering_test.cpp | erez-o/breath | adf197b4e959beffce11e090c5e806d2ff4df38a | [
"BSD-3-Clause"
] | null | null | null | breath/cryptography/test/digest_ordering_test.cpp | erez-o/breath | adf197b4e959beffce11e090c5e806d2ff4df38a | [
"BSD-3-Clause"
] | null | null | null | // ===========================================================================
// This is an open source non-commercial project.
// Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++, C#, and Java:
// http://www.viva64.c... | 28.732143 | 78 | 0.527657 | erez-o |
fa2b32d34a9ddae71b3b037a4c48e590b07ed49a | 525 | cpp | C++ | chef/aug2020/linchess.cpp | skmorningstar/Competitive-Programming | 05ba602d0fe1492d5c36267237980a9ac2f124d6 | [
"Apache-2.0"
] | null | null | null | chef/aug2020/linchess.cpp | skmorningstar/Competitive-Programming | 05ba602d0fe1492d5c36267237980a9ac2f124d6 | [
"Apache-2.0"
] | null | null | null | chef/aug2020/linchess.cpp | skmorningstar/Competitive-Programming | 05ba602d0fe1492d5c36267237980a9ac2f124d6 | [
"Apache-2.0"
] | null | null | null | #include <bits/stdc++.h>
#define ll long long int
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
ll t;
cin>>t;
while(t--)
{
ll n,k;
cin>>n>>k;
bool found=false;
vector<ll> arr(n);
for(ll i{0};i<n;i++)
cin>>arr[i];
ll min=INT_MAX;
ll mini=0;
for(ll i{0};i<n... | 12.804878 | 34 | 0.52 | skmorningstar |
fa3148e6c41374aa0763f0c4ca79a69d027d60ab | 4,245 | hpp | C++ | include/gem/dimensions_tuple.hpp | RomainBrault/Gem | 0eff3cb034a0faaca894316b72f4b005e72e0f5d | [
"MIT"
] | null | null | null | include/gem/dimensions_tuple.hpp | RomainBrault/Gem | 0eff3cb034a0faaca894316b72f4b005e72e0f5d | [
"MIT"
] | null | null | null | include/gem/dimensions_tuple.hpp | RomainBrault/Gem | 0eff3cb034a0faaca894316b72f4b005e72e0f5d | [
"MIT"
] | null | null | null | #ifndef GEM_DIMENSIONS_TUPLE_HPP_INCLUDED
#define GEM_DIMENSIONS_TUPLE_HPP_INCLUDED
#define BOOST_HANA_CONFIG_ENABLE_STRING_UDL
#include <type_traits>
#include <boost/hana/assert.hpp>
#include <boost/hana/integral_constant.hpp>
#include <boost/hana/minus.hpp>
#include <boost/hana/tuple.hpp>
#include <boost/hana/tran... | 29.479167 | 115 | 0.582332 | RomainBrault |
fa3a35933500e9a4c0035de671ededdfc82f1a41 | 15,054 | inl | C++ | include/Utopia/Asset/details/Serializer.inl | Justin-sky/Utopia | 71912290155a469ad578234a1f5e1695804e04a3 | [
"MIT"
] | null | null | null | include/Utopia/Asset/details/Serializer.inl | Justin-sky/Utopia | 71912290155a469ad578234a1f5e1695804e04a3 | [
"MIT"
] | null | null | null | include/Utopia/Asset/details/Serializer.inl | Justin-sky/Utopia | 71912290155a469ad578234a1f5e1695804e04a3 | [
"MIT"
] | 1 | 2021-04-24T23:26:09.000Z | 2021-04-24T23:26:09.000Z | #pragma once
#include "../../Core/Traits.h"
#include "../AssetMngr.h"
#include "../../Core/Object.h"
#include <variant>
namespace Ubpa::Utopia::detail {
template<typename Value>
void WriteVar(const Value& var, Serializer::SerializeContext& ctx);
template<typename UserType>
void WriteUserType(const UserType* obj... | 33.905405 | 138 | 0.692906 | Justin-sky |
fa3dc17feac4ff12716e3254a9915d340fb8893f | 6,913 | cxx | C++ | test/core/communication/BeaconSendingCaptureOffStateTest.cxx | stefaneberl/openkit-native | 1dc042141f4990508742a89aacafda9b2a29aaaf | [
"Apache-2.0"
] | null | null | null | test/core/communication/BeaconSendingCaptureOffStateTest.cxx | stefaneberl/openkit-native | 1dc042141f4990508742a89aacafda9b2a29aaaf | [
"Apache-2.0"
] | null | null | null | test/core/communication/BeaconSendingCaptureOffStateTest.cxx | stefaneberl/openkit-native | 1dc042141f4990508742a89aacafda9b2a29aaaf | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2018-2020 Dynatrace LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | 30.861607 | 128 | 0.789093 | stefaneberl |
fa3e29946fa64171c7ebbacb839e3ad604f64dcb | 394 | hpp | C++ | src/random/circle2d.hpp | degarashi/beat | 456cc4469067509f0746fbe4eca0d3a0879cb894 | [
"MIT"
] | null | null | null | src/random/circle2d.hpp | degarashi/beat | 456cc4469067509f0746fbe4eca0d3a0879cb894 | [
"MIT"
] | null | null | null | src/random/circle2d.hpp | degarashi/beat | 456cc4469067509f0746fbe4eca0d3a0879cb894 | [
"MIT"
] | null | null | null | #pragma once
#include "../circle2d.hpp"
#include "frea/src/random/vector.hpp"
namespace beat {
namespace g2 {
namespace random {
template <class RDP, class RDR>
Circle GenCircle(RDP&& rdp, RDR&& rdr) {
return {
frea::random::GenVec<Vec2>(rdp),
std::abs(rdr())
};
}
template <class RD>
... | 17.909091 | 43 | 0.604061 | degarashi |
fa46c8fff2cb0b267e223c7e0da5de4bb2d10b5b | 5,356 | cpp | C++ | xCode/OpenGL/MD2 animation/Classes/QR_Engine/QR_3D/QR_Renderer/QR_Renderer_OpenGL.cpp | Jeanmilost/Demos | 2b71f6edc85948540660d290183530fd846262ad | [
"MIT"
] | 1 | 2022-03-22T14:41:15.000Z | 2022-03-22T14:41:15.000Z | xCode/OpenGL/MD2 animation/Classes/QR_Engine/QR_3D/QR_Renderer/QR_Renderer_OpenGL.cpp | Jeanmilost/Demos | 2b71f6edc85948540660d290183530fd846262ad | [
"MIT"
] | null | null | null | xCode/OpenGL/MD2 animation/Classes/QR_Engine/QR_3D/QR_Renderer/QR_Renderer_OpenGL.cpp | Jeanmilost/Demos | 2b71f6edc85948540660d290183530fd846262ad | [
"MIT"
] | null | null | null | /******************************************************************************
* ==> QR_Renderer_OpenGL ----------------------------------------------------*
******************************************************************************
* Description : Specialized OpenGL renderer *
... | 33.475 | 182 | 0.504294 | Jeanmilost |
fa489af4f8db0e9a17c8f717b03531ecba92e495 | 5,549 | cxx | C++ | Plugins/VR/vtkVRActiveObjectManipulationStyle.cxx | XiaoboFu/ParaViewGeo | 0089927885fd67a3d70a22a28977a291bed3fcdd | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 17 | 2015-02-17T00:30:26.000Z | 2022-03-17T06:13:02.000Z | Plugins/VR/vtkVRActiveObjectManipulationStyle.cxx | ObjectivitySRC/ParaViewGeo | 0089927885fd67a3d70a22a28977a291bed3fcdd | [
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | Plugins/VR/vtkVRActiveObjectManipulationStyle.cxx | ObjectivitySRC/ParaViewGeo | 0089927885fd67a3d70a22a28977a291bed3fcdd | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 10 | 2015-08-31T18:20:17.000Z | 2022-02-02T15:16:21.000Z | #include "vtkVRActiveObjectManipulationStyle.h"
#include "pqActiveObjects.h"
#include "pqDataRepresentation.h"
#include "pqView.h"
#include "vtkCamera.h"
#include "vtkMath.h"
#include "vtkRenderer.h"
#include "vtkRenderWindow.h"
#include "vtkSMDoubleVectorProperty.h"
#include "vtkSMPropertyHelper.h"
#include "vtkSMRen... | 25.809302 | 97 | 0.575419 | XiaoboFu |
fa4d36c4a7e221fbcc362d618b503c54efa5f56d | 14,096 | hpp | C++ | include/GlobalNamespace/StandardScoreSyncStateDeltaNetSerializable.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/StandardScoreSyncStateDeltaNetSerializable.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/StandardScoreSyncStateDeltaNetSerializable.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: LiteNetLib.Utils.INetSeriali... | 60.239316 | 270 | 0.769154 | RedBrumbler |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.