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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cb2315574efe3f0111ee39d89c07b096cfdb7e5b | 3,412 | cpp | C++ | hello_triangle/main.cpp | pyth/sgltk_example | 5f2a3a8360077d9d252a1fde862abd779c34625d | [
"Zlib"
] | 8 | 2019-10-27T02:22:25.000Z | 2022-03-07T11:58:41.000Z | hello_triangle/main.cpp | pyth/sgltk_example | 5f2a3a8360077d9d252a1fde862abd779c34625d | [
"Zlib"
] | 1 | 2021-11-26T20:53:50.000Z | 2021-11-27T00:35:00.000Z | hello_triangle/main.cpp | pyth/sgltk_example | 5f2a3a8360077d9d252a1fde862abd779c34625d | [
"Zlib"
] | 2 | 2019-11-12T08:40:42.000Z | 2019-12-22T18:30:27.000Z | #include <sgltk/sgltk.h>
class Win : public sgltk::Window {
sgltk::Mesh mesh;
sgltk::Shader shader1;
sgltk::Shader shader2;
sgltk::P_Camera cam1;
sgltk::P_Camera cam2;
void handle_resize();
void handle_key_press(const std::string& key, bool pressed);
void display();
public:
Win(const std::string& title, int ... | 28.915254 | 86 | 0.674385 | pyth |
cb23c36a58a2b9923519c208d07aa9bd18a1e720 | 5,638 | hpp | C++ | ql/math/interpolations/lagrangeinterpolation.hpp | SoftwareIngenieur/QuantLib | 7a59dd749869f7a679536df322482bf9c6531d38 | [
"BSD-3-Clause"
] | null | null | null | ql/math/interpolations/lagrangeinterpolation.hpp | SoftwareIngenieur/QuantLib | 7a59dd749869f7a679536df322482bf9c6531d38 | [
"BSD-3-Clause"
] | null | null | null | ql/math/interpolations/lagrangeinterpolation.hpp | SoftwareIngenieur/QuantLib | 7a59dd749869f7a679536df322482bf9c6531d38 | [
"BSD-3-Clause"
] | null | null | null | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2016 Klaus Spanderen
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib is free software: you can redistribute it and... | 35.683544 | 94 | 0.506385 | SoftwareIngenieur |
cb2a49c6e1b21966f159c9056b7d9eef27342507 | 568 | cpp | C++ | longest.cpp | diegochui/LeetCode | 162e136d206458703d06e35781fd0b2d840b6f07 | [
"MIT"
] | null | null | null | longest.cpp | diegochui/LeetCode | 162e136d206458703d06e35781fd0b2d840b6f07 | [
"MIT"
] | null | null | null | longest.cpp | diegochui/LeetCode | 162e136d206458703d06e35781fd0b2d840b6f07 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include "math.h"
#include <vector>
#include <string>
using namespace std;
// Function to print all sub strings
void subString(string s, int n)
{
//Start here
int count = n;
for (int i = 0; i <= count; i++){
for (int j = 0; j <= count; i++){
//End here
... | 18.933333 | 41 | 0.56162 | diegochui |
cb2c881cb40c92cee6e4e1ffff24e9d022dcd0c0 | 9,565 | cpp | C++ | src/CLR/CorLib/corlib_native_System_AppDomain.cpp | TIPConsulting/nf-interpreter | d5407872f4705d6177e1ee5a2e966bd02fd476e4 | [
"MIT"
] | null | null | null | src/CLR/CorLib/corlib_native_System_AppDomain.cpp | TIPConsulting/nf-interpreter | d5407872f4705d6177e1ee5a2e966bd02fd476e4 | [
"MIT"
] | 1 | 2021-02-22T07:54:30.000Z | 2021-02-22T07:54:30.000Z | src/CLR/CorLib/corlib_native_System_AppDomain.cpp | TIPConsulting/nf-interpreter | d5407872f4705d6177e1ee5a2e966bd02fd476e4 | [
"MIT"
] | null | null | null | //
// Copyright (c) .NET Foundation and Contributors
// Portions Copyright (c) Microsoft Corporation. All rights reserved.
// See LICENSE file in the project root for full license information.
//
#include "CorLib.h"
#if defined(NANOCLR_APPDOMAINS)
HRESULT Library_corlib_native_System_AppDomain::GetAssemblie... | 28.552239 | 121 | 0.678411 | TIPConsulting |
cb2f148298aa73e42925c258b9f4badde8ef25cc | 40,887 | cpp | C++ | editor/editor.cpp | kitoran/Hyperbolic | a6cdfb1bbfce88798339f71d78180b2c323ec5b2 | [
"WTFPL"
] | 2 | 2017-01-03T21:58:43.000Z | 2021-06-14T03:46:29.000Z | editor/editor.cpp | kitoran/Hyperbolic | a6cdfb1bbfce88798339f71d78180b2c323ec5b2 | [
"WTFPL"
] | 8 | 2018-04-22T21:51:39.000Z | 2018-04-22T22:08:00.000Z | editor/editor.cpp | kitoran/Hyperbolic | a6cdfb1bbfce88798339f71d78180b2c323ec5b2 | [
"WTFPL"
] | null | null | null | #include "boost/variant.hpp"
#include "editor.h"
enum SelectedThingType {Nihil, Mes, Obs};
#include "statedeclarations.h"
#include "SDL2/SDL.h"
//#define GL_GLEXT_PROTOTYPES
#include "GL/gl.h"
#include "float.h"
#include "assert.h"
#include "util/hyperbolic.h"
#include "commongraphics.h"
#include "util/physics.h"
#inc... | 40.805389 | 190 | 0.451317 | kitoran |
cb2f539510afbf4ea1b03d7b422dddf1ab6821c4 | 210 | cpp | C++ | Chapter 8. The IO Library/Codes/8.9 Solution.cpp | Yunxiang-Li/Cpp_Primer | b5c857e3f6be993b2ff8fc03f634141ae24925fc | [
"MIT"
] | null | null | null | Chapter 8. The IO Library/Codes/8.9 Solution.cpp | Yunxiang-Li/Cpp_Primer | b5c857e3f6be993b2ff8fc03f634141ae24925fc | [
"MIT"
] | null | null | null | Chapter 8. The IO Library/Codes/8.9 Solution.cpp | Yunxiang-Li/Cpp_Primer | b5c857e3f6be993b2ff8fc03f634141ae24925fc | [
"MIT"
] | 1 | 2021-09-30T14:08:03.000Z | 2021-09-30T14:08:03.000Z | #include <sstream>
#include <iostream>
std::istream& func(std::istream& istream) {
std::string inputStr;
while (istream >> inputStr) {
std::cout << inputStr;
}
istream.clear();
return istream;
}
| 17.5 | 43 | 0.652381 | Yunxiang-Li |
cb3077ce7ade5772b49b43690e3286864f449989 | 1,930 | cpp | C++ | 17.letter_combinations_of_a_phone_number.cpp | liangwt/leetcode | 8f279343e975666a63ee531228c6836f20f199ca | [
"Apache-2.0"
] | 5 | 2019-09-12T05:23:44.000Z | 2021-11-15T11:19:39.000Z | 17.letter_combinations_of_a_phone_number.cpp | liangwt/leetcode | 8f279343e975666a63ee531228c6836f20f199ca | [
"Apache-2.0"
] | 18 | 2019-09-23T13:11:06.000Z | 2019-11-09T11:20:17.000Z | 17.letter_combinations_of_a_phone_number.cpp | liangwt/leetcode | 8f279343e975666a63ee531228c6836f20f199ca | [
"Apache-2.0"
] | null | null | null | /**
* Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number could represent.
*
* A mapping of digit to letters (just like on the telephone buttons) is given below. Note that 1 does not map to any letters.
*
* Example:
*
* Input: "23"
* Output: ["ad", "ae", ... | 24.43038 | 128 | 0.51658 | liangwt |
cb319a8048a239322f340ecc259cfc28054e3870 | 3,560 | cpp | C++ | opencl/source/sharings/d3d/d3d_sharing.cpp | raiyanla/compute-runtime | 43433244f9d17e9c989116808757705754ddbfee | [
"MIT"
] | 1 | 2020-04-17T05:46:04.000Z | 2020-04-17T05:46:04.000Z | opencl/source/sharings/d3d/d3d_sharing.cpp | dkjiang2018/compute-runtime | 310947e6ddefc4bb9a7a268fc1ee8639155b730c | [
"MIT"
] | null | null | null | opencl/source/sharings/d3d/d3d_sharing.cpp | dkjiang2018/compute-runtime | 310947e6ddefc4bb9a7a268fc1ee8639155b730c | [
"MIT"
] | 1 | 2020-05-25T21:57:51.000Z | 2020-05-25T21:57:51.000Z | /*
* Copyright (C) 2017-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "opencl/source/sharings/d3d/d3d_sharing.h"
#include "shared/source/gmm_helper/gmm.h"
#include "opencl/source/context/context.h"
#include "opencl/source/mem_obj/image.h"
using namespace NEO;
template class D3DSharing<... | 33.904762 | 154 | 0.720506 | raiyanla |
cb331b6d9cdc34eda0b9cad48acc967dced14239 | 112 | cpp | C++ | locks/mcs_futex_lock.cpp | lundgren87/qd_library | f19c412fbe97655601c761f27dd5a16abf7aa7a6 | [
"BSD-2-Clause"
] | 10 | 2016-10-26T13:36:18.000Z | 2020-03-16T02:19:40.000Z | locks/mcs_futex_lock.cpp | lundgren87/qd_library | f19c412fbe97655601c761f27dd5a16abf7aa7a6 | [
"BSD-2-Clause"
] | null | null | null | locks/mcs_futex_lock.cpp | lundgren87/qd_library | f19c412fbe97655601c761f27dd5a16abf7aa7a6 | [
"BSD-2-Clause"
] | 5 | 2016-10-07T12:28:59.000Z | 2022-03-22T14:16:53.000Z | #include "mcs_futex_lock.hpp"
thread_local std::map<mcs_futex_lock*, mcs_node> mcs_futex_lock::mcs_node_store;
| 28 | 80 | 0.821429 | lundgren87 |
cb39dbc9aaa1a6bdea0e9f4be2f644bf597a15db | 22,236 | cpp | C++ | wxfred2/frmFRED2.cpp | trgswe/fs2open.github.com | a159eba0cebca911ad14a118412fddfe5be8e9f8 | [
"Unlicense"
] | 307 | 2015-04-10T13:27:32.000Z | 2022-03-21T03:30:38.000Z | wxfred2/frmFRED2.cpp | trgswe/fs2open.github.com | a159eba0cebca911ad14a118412fddfe5be8e9f8 | [
"Unlicense"
] | 2,231 | 2015-04-27T10:47:35.000Z | 2022-03-31T19:22:37.000Z | wxfred2/frmFRED2.cpp | trgswe/fs2open.github.com | a159eba0cebca911ad14a118412fddfe5be8e9f8 | [
"Unlicense"
] | 282 | 2015-01-05T12:16:57.000Z | 2022-03-28T04:45:11.000Z | /*
* Created by Ian "Goober5000" Warfield and "z64555" for the FreeSpace2 Source
* Code Project.
*
* You may not sell or otherwise commercially exploit the source or things you
* create based on the source.
*/
// Note: wxFormBuilder 3.3beta has a tendancy to use the ADJUST_MINSIZE macro (no longer existing)
// ... | 25.125424 | 183 | 0.761783 | trgswe |
cb3a6d2690fd9ad06586192bd38017cf391682da | 346 | cpp | C++ | easy/richest-customer-wealth/solution.cpp | xandersavvy/Problem-solving | de9fa307467f9823acfc32754b15671c93000bf1 | [
"Unlicense"
] | null | null | null | easy/richest-customer-wealth/solution.cpp | xandersavvy/Problem-solving | de9fa307467f9823acfc32754b15671c93000bf1 | [
"Unlicense"
] | null | null | null | easy/richest-customer-wealth/solution.cpp | xandersavvy/Problem-solving | de9fa307467f9823acfc32754b15671c93000bf1 | [
"Unlicense"
] | null | null | null | class Solution {
public:
int maximumWealth(vector<vector<int>>& accounts) {
int max=0;
int len=accounts.size();
for(int i=0;i<len;i++){
int sum = accumulate(accounts[i].begin(), accounts[i].end(), 0) ;
if(sum>max)
max=sum;
}
return ma... | 23.066667 | 79 | 0.488439 | xandersavvy |
cb3a7384e8e033d7ef0268dbe80ddb1bfaeb15a6 | 449 | cpp | C++ | waterbox/ares64/ares/ares/ares/memory/fixed-allocator.cpp | Fortranm/BizHawk | 8cb0ffb6f8964cc339bbe1784838918fb0aa7e27 | [
"MIT"
] | 153 | 2020-07-25T17:55:29.000Z | 2021-10-01T23:45:01.000Z | waterbox/ares64/ares/ares/ares/memory/fixed-allocator.cpp | Fortranm/BizHawk | 8cb0ffb6f8964cc339bbe1784838918fb0aa7e27 | [
"MIT"
] | 296 | 2021-10-16T18:00:18.000Z | 2022-03-31T12:09:00.000Z | waterbox/ares64/ares/ares/ares/memory/fixed-allocator.cpp | Fortranm/BizHawk | 8cb0ffb6f8964cc339bbe1784838918fb0aa7e27 | [
"MIT"
] | 44 | 2020-07-25T08:51:55.000Z | 2021-09-25T16:09:01.000Z | #include <ares/ares.hpp>
namespace ares::Memory {
#if defined(PLATFORM_MACOS) && defined(ARCHITECTURE_ARM64)
//stub for unsupported platforms
FixedAllocator::FixedAllocator() {
}
#else
alignas(4096) u8 fixedBuffer[128_MiB];
FixedAllocator::FixedAllocator() {
_allocator.resize(sizeof(fixedBuffer), 0, fixedBuffer);
... | 19.521739 | 58 | 0.761693 | Fortranm |
cb3e2394c8c1bb02cb57cfdbc1233da01295a3e1 | 1,449 | cpp | C++ | source/data_model/hdf5/src/attributes.cpp | computationalgeography/lue | 71993169bae67a9863d7bd7646d207405dc6f767 | [
"MIT"
] | 2 | 2021-02-26T22:45:56.000Z | 2021-05-02T10:28:48.000Z | source/data_model/hdf5/src/attributes.cpp | pcraster/lue | e64c18f78a8b6d8a602b7578a2572e9740969202 | [
"MIT"
] | 262 | 2016-08-11T10:12:02.000Z | 2020-10-13T18:09:16.000Z | source/data_model/hdf5/src/attributes.cpp | computationalgeography/lue | 71993169bae67a9863d7bd7646d207405dc6f767 | [
"MIT"
] | 1 | 2020-03-11T09:49:41.000Z | 2020-03-11T09:49:41.000Z | #include "lue/hdf5/attributes.hpp"
namespace lue {
namespace hdf5 {
/*!
@brief Construct collection based on @a id
@param id Id of object containing attributes
*/
Attributes::Attributes(
Identifier const& id):
_id{id}
{
}
/*!
@brief Add a new attribute to the set
@param ... | 19.065789 | 68 | 0.625259 | computationalgeography |
cb40c4452ce8638f6011de039bb1ab5217fecafa | 6,531 | hpp | C++ | libs/http/include/http/status.hpp | AronVanAmmers/ledger | 5cf8b85e5ee42957d9d38fd76b2b3ead0f061954 | [
"Apache-2.0"
] | 1 | 2019-05-15T17:23:08.000Z | 2019-05-15T17:23:08.000Z | libs/http/include/http/status.hpp | AronVanAmmers/ledger | 5cf8b85e5ee42957d9d38fd76b2b3ead0f061954 | [
"Apache-2.0"
] | null | null | null | libs/http/include/http/status.hpp | AronVanAmmers/ledger | 5cf8b85e5ee42957d9d38fd76b2b3ead0f061954 | [
"Apache-2.0"
] | null | null | null | #pragma once
//------------------------------------------------------------------------------
//
// Copyright 2018 Fetch.AI Limited
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at... | 66.642857 | 100 | 0.635125 | AronVanAmmers |
cb454758bab8cf1dabd4973c60a8b9b65ff59818 | 1,823 | cpp | C++ | Code/Tools/Animation/GraphEditor/EditorGraph/Nodes/Animation_EditorGraphNode_AnimationClip.cpp | JuanluMorales/KRG | f3a11de469586a4ef0db835af4bc4589e6b70779 | [
"MIT"
] | 419 | 2022-01-27T19:37:43.000Z | 2022-03-31T06:14:22.000Z | Code/Tools/Animation/GraphEditor/EditorGraph/Nodes/Animation_EditorGraphNode_AnimationClip.cpp | jagt/KRG | ba20cd8798997b0450491b0cc04dc817c4a4bc76 | [
"MIT"
] | 2 | 2022-01-28T20:35:33.000Z | 2022-03-13T17:42:52.000Z | Code/Tools/Animation/GraphEditor/EditorGraph/Nodes/Animation_EditorGraphNode_AnimationClip.cpp | jagt/KRG | ba20cd8798997b0450491b0cc04dc817c4a4bc76 | [
"MIT"
] | 20 | 2022-01-27T20:41:02.000Z | 2022-03-26T16:16:57.000Z | #include "Animation_EditorGraphNode_AnimationClip.h"
#include "Engine/Animation/Graph/Nodes/Animation_RuntimeGraphNode_AnimationClip.h"
#include "Tools/Animation/GraphEditor/EditorGraph/Animation_EditorGraph_Compilation.h"
//-------------------------------------------------------------------------
namespace KRG::Anim... | 40.511111 | 101 | 0.59243 | JuanluMorales |
cb467381bdb2c9d9cdfcd1ef26fd7c3f3e707d6e | 395 | cpp | C++ | Cplus/NumberofLaserBeamsinaBank.cpp | Jum1023/leetcode | d8248aa84452cb1ea768d9b05ecd72a6746c0016 | [
"MIT"
] | 1 | 2018-01-22T12:06:28.000Z | 2018-01-22T12:06:28.000Z | Cplus/NumberofLaserBeamsinaBank.cpp | Jum1023/leetcode | d8248aa84452cb1ea768d9b05ecd72a6746c0016 | [
"MIT"
] | null | null | null | Cplus/NumberofLaserBeamsinaBank.cpp | Jum1023/leetcode | d8248aa84452cb1ea768d9b05ecd72a6746c0016 | [
"MIT"
] | null | null | null | #include <string>
#include <vector>
using namespace std;
class Solution
{
public:
int numberOfBeams(vector<string> &bank)
{
vector<int> count;
for (auto &v : bank)
{
int n = 0;
for (auto c : v)
{
if (c == '1')
++n;
}
count.push_back(n);
}
int pre = 0, res = 0;
for (auto n : count)... | 13.166667 | 40 | 0.511392 | Jum1023 |
cb47332fdb1e1278eaad443b45073319934b208b | 4,409 | cpp | C++ | src/backend/opengl/colormap_impl.cpp | FloopCZ/forge | 98d568eb009eb521bb3d4a8804df81f86c6e9119 | [
"BSD-3-Clause"
] | null | null | null | src/backend/opengl/colormap_impl.cpp | FloopCZ/forge | 98d568eb009eb521bb3d4a8804df81f86c6e9119 | [
"BSD-3-Clause"
] | null | null | null | src/backend/opengl/colormap_impl.cpp | FloopCZ/forge | 98d568eb009eb521bb3d4a8804df81f86c6e9119 | [
"BSD-3-Clause"
] | null | null | null | /*******************************************************
* Copyright (c) 2015-2019, ArrayFire
* All rights reserved.
*
* This file is distributed under 3-clause BSD license.
* The complete license agreement can be obtained at:
* http://arrayfire.com/licenses/BSD-3-Clause
************************************************... | 40.824074 | 76 | 0.711046 | FloopCZ |
cb4c9c47bd89390f83405ea4315af8636443cee5 | 1,675 | cpp | C++ | sdk/core/azure-core/src/environment.cpp | JinmingHu-MSFT/azure-sdk-for-cpp | 933486385a54a5a09a7444dbd823425f145ad75a | [
"MIT"
] | 1 | 2022-01-19T22:54:41.000Z | 2022-01-19T22:54:41.000Z | sdk/core/azure-core/src/environment.cpp | LarryOsterman/azure-sdk-for-cpp | d96216f50909a2bd39b555c9088f685bf0f7d6e6 | [
"MIT"
] | null | null | null | sdk/core/azure-core/src/environment.cpp | LarryOsterman/azure-sdk-for-cpp | d96216f50909a2bd39b555c9088f685bf0f7d6e6 | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// SPDX-License-Identifier: MIT
#include "azure/core/platform.hpp"
#include "azure/core/internal/environment.hpp"
#if defined(AZ_PLATFORM_WINDOWS)
#if !defined(WIN32_LEAN_AND_MEAN)
#define WIN32_LEAN_AND_MEAN
#endif
#if !defined(NOMINMAX)
#define NOMINMAX
... | 22.635135 | 88 | 0.673433 | JinmingHu-MSFT |
cb51edee2adeb9747e1b1602f235e670bcd7bab0 | 11,914 | cpp | C++ | flashsim/ssd_plane.cpp | praneethyerramothu/AOSPROJECT1 | 1792b1c484bc35e334093b9a5c2fb4d20b3f4452 | [
"BSD-4-Clause-UC"
] | 6 | 2015-05-31T15:28:30.000Z | 2022-02-10T04:39:18.000Z | flashsim/ssd_plane.cpp | praneethyerramothu/AOSPROJECT1 | 1792b1c484bc35e334093b9a5c2fb4d20b3f4452 | [
"BSD-4-Clause-UC"
] | null | null | null | flashsim/ssd_plane.cpp | praneethyerramothu/AOSPROJECT1 | 1792b1c484bc35e334093b9a5c2fb4d20b3f4452 | [
"BSD-4-Clause-UC"
] | 6 | 2015-03-23T02:49:28.000Z | 2018-10-30T06:44:40.000Z | /* Copyright 2009, 2010 Brendan Tauras */
/* ssd_plane.cpp is part of FlashSim. */
/* FlashSim is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* any later version. */
... | 29.344828 | 146 | 0.702199 | praneethyerramothu |
cb5208967d50d692b682237494c4d14223b551c8 | 2,570 | cpp | C++ | src/glfw-cxx/VideoMode.cpp | Mischa-Alff/glfw-cxx | bd335a7c5ac959da0ea1ac009a66b75ada21efb6 | [
"MIT"
] | 12 | 2015-07-05T15:07:26.000Z | 2020-07-10T03:15:56.000Z | src/glfw-cxx/VideoMode.cpp | TheRealJoe24/glfw-cxx | bd335a7c5ac959da0ea1ac009a66b75ada21efb6 | [
"MIT"
] | 1 | 2016-08-10T16:49:13.000Z | 2016-08-19T18:23:04.000Z | src/glfw-cxx/VideoMode.cpp | TheRealJoe24/glfw-cxx | bd335a7c5ac959da0ea1ac009a66b75ada21efb6 | [
"MIT"
] | 3 | 2017-04-24T14:33:46.000Z | 2019-06-15T22:15:22.000Z | #include <glfw-cxx/VideoMode.hpp>
namespace glfw
{
int VideoMode::GetWidth() const
{
return m_vidmode.width;
}
void VideoMode::SetWidth(int width)
{
m_vidmode.width = width;
}
int VideoMode::GetHeight() const
{
return m_vidmode.height;
}
void VideoMode::SetHeight(int height)
{
m_vidmode.height = ... | 19.323308 | 103 | 0.720233 | Mischa-Alff |
cb521b52d8308f4ca739637fddf4b4f5f145226f | 1,830 | cpp | C++ | src/wrapper/json2virt.cpp | AeroStun/virthttp | d6ae9d752721aa5ecc74dbc2dbb54de917ba31ad | [
"Apache-2.0"
] | 7 | 2019-08-22T20:48:15.000Z | 2021-12-31T16:08:59.000Z | src/wrapper/json2virt.cpp | AeroStun/virthttp | d6ae9d752721aa5ecc74dbc2dbb54de917ba31ad | [
"Apache-2.0"
] | 10 | 2019-08-22T21:40:43.000Z | 2020-09-03T14:21:21.000Z | src/wrapper/json2virt.cpp | AeroStun/virthttp | d6ae9d752721aa5ecc74dbc2dbb54de917ba31ad | [
"Apache-2.0"
] | 2 | 2019-08-22T21:08:28.000Z | 2019-08-23T21:31:56.000Z | #include "wrapper/json2virt.hpp"
std::optional<virt::TypedParams> json_to_typed_parameters(const rapidjson::Value& obj) {
virt::TypedParams ret{};
if (!obj.IsObject())
return std::nullopt;
for (auto it = obj.MemberBegin(); it != obj.MemberEnd(); ++it) {
const auto& val = *it;
if (va... | 41.590909 | 106 | 0.567213 | AeroStun |
cb572d8030c7f5faa05ac452443dc0218596177d | 2,206 | hpp | C++ | Application/include/ui/screen/Settings.hpp | RoutineFree/TriPlayer | 4e5ee19c992eba033b57444b7f4b312acf339163 | [
"MIT"
] | 106 | 2020-11-01T09:58:37.000Z | 2022-03-26T10:44:26.000Z | Application/include/ui/screen/Settings.hpp | RoutineFree/TriPlayer | 4e5ee19c992eba033b57444b7f4b312acf339163 | [
"MIT"
] | 30 | 2020-11-01T11:21:48.000Z | 2022-02-01T23:09:47.000Z | Application/include/ui/screen/Settings.hpp | RoutineFree/TriPlayer | 4e5ee19c992eba033b57444b7f4b312acf339163 | [
"MIT"
] | 15 | 2020-11-02T12:06:03.000Z | 2021-08-05T14:22:39.000Z | #ifndef SCREEN_SETTINGS_HPP
#define SCREEN_SETTINGS_HPP
#include "ui/element/SideButton.hpp"
#include "ui/screen/Screen.hpp"
namespace Main {
class Application;
};
namespace Frame::Settings {
class Frame;
};
namespace Screen {
// Settings screen contains everything required to alter
// either the ap... | 27.924051 | 60 | 0.580689 | RoutineFree |
cb58d6bb6c429540ace4d7730a816e807254045c | 686 | hpp | C++ | src/shared/helper.hpp | adamhutchings/chirpc | 70d190fa79fa9f968b8de14ca41a8f50bae0019b | [
"MIT"
] | 1 | 2021-06-02T13:24:13.000Z | 2021-06-02T13:24:13.000Z | src/shared/helper.hpp | dekrain/chirpc | 93a6230da746d1e6e16230d79b151dee0d3f4a09 | [
"MIT"
] | null | null | null | src/shared/helper.hpp | dekrain/chirpc | 93a6230da746d1e6e16230d79b151dee0d3f4a09 | [
"MIT"
] | null | null | null | /*
"helper"(couldn't find a better name really), basically this is either a warning or an error
and this represents some place in the with some message linked to it
*/
#pragma once
#include "location.hpp"
#include "../cmd.hpp"
#include <vector>
#include <string>
enum class helper_type
{
global_warning,
globa... | 21.4375 | 92 | 0.701166 | adamhutchings |
cb5cdcbc87e30a9ff3d4cc05fbe6405cf4016282 | 681 | cpp | C++ | 00.Core/02.garbage.cpp | ClaudioDaffra/emjq | c3e6083be1238c23a2e15a63e402659af34b2dfe | [
"MIT"
] | 1 | 2018-03-03T18:07:57.000Z | 2018-03-03T18:07:57.000Z | 00.Core/02.garbage.cpp | ClaudioDaffra/emjq | c3e6083be1238c23a2e15a63e402659af34b2dfe | [
"MIT"
] | null | null | null | 00.Core/02.garbage.cpp | ClaudioDaffra/emjq | c3e6083be1238c23a2e15a63e402659af34b2dfe | [
"MIT"
] | null | null | null |
#include "../lib/emjQuery.hpp"
// emcc -O3 02.garbage.cpp -o main.js -s NO_EXIT_RUNTIME=1 --std=c++11
//********
// Main
//********
int main()
{
type::pointer p0,p1,p2,p3 ;
p0 = $("#hello").address() ;
p1 = $("#world").address() ;
p2 = $.pointerNew ( OBJ(123) ) ;
p3 = $.pointerNe... | 10.809524 | 71 | 0.400881 | ClaudioDaffra |
cb5e2278058dc779d0a7a57e7c6f9c7f51612df5 | 1,583 | cpp | C++ | src/source/math/group_b/inverse_table_b.cpp | mvpwizard/DLA | 5ead2574e61e619ca3a93f1e771e3988fc144928 | [
"MIT"
] | 1 | 2019-03-24T12:07:46.000Z | 2019-03-24T12:07:46.000Z | src/source/math/group_b/inverse_table_b.cpp | nepitdev/DLA | 5ead2574e61e619ca3a93f1e771e3988fc144928 | [
"MIT"
] | 10 | 2019-03-06T20:27:39.000Z | 2019-11-27T08:28:12.000Z | src/source/math/group_b/inverse_table_b.cpp | openepit/DLA | 5ead2574e61e619ca3a93f1e771e3988fc144928 | [
"MIT"
] | null | null | null | #include "inverse_table_b.hpp"
const uint8_t dla::inverse_table_b::L[] =
{
0x00,
0x01,
0x7e,
0x54,
0x3f,
0xc9,
0x2a,
0x24,
0x9d,
0x1c,
0xe2,
0x89,
0x15,
0x3a,
0x12,
0x43,
0xcc,
0xc0,
0x0e,
0xb9,
0x71,
0x0c,
0xc2,
0x83,
0x88,
0xf1,
0x1d,
0x5d,
0x09,
0x1a,
0x9f,
0x51,
0x66,
0xd5,
0x60,
0xd0,
0x07,
0x5f,
0xda,
0x67,
0xb6... | 6.183594 | 41 | 0.669615 | mvpwizard |
cb607f6e18a3d04923f43634328eb6c003e162a0 | 2,165 | cpp | C++ | Breakin/ball.cpp | gemisis/Breakin | ee9b97ef415a26ba98dd00ae173c7260198127ad | [
"MIT"
] | null | null | null | Breakin/ball.cpp | gemisis/Breakin | ee9b97ef415a26ba98dd00ae173c7260198127ad | [
"MIT"
] | null | null | null | Breakin/ball.cpp | gemisis/Breakin | ee9b97ef415a26ba98dd00ae173c7260198127ad | [
"MIT"
] | 1 | 2019-06-29T03:41:26.000Z | 2019-06-29T03:41:26.000Z | #include "ball.h"
#include "enemy.h"
Ball::Ball(Lives* lives, Score* score, float x, float y, float direction)
{
this->active = 1;
this->groupId = 3;
this->Load("ship.png");
this->setScale(0.25f, 0.25f);
this->velocity.x = cos(direction / 180.0f * 3.14f) * 3;
this->velocity.y = sin(direction / 180.0f * 3.14f) * ... | 24.325843 | 112 | 0.630947 | gemisis |
cb632b1363c00b4058caa50659fde4ebb280ce6c | 5,756 | cpp | C++ | engine/src/audio/audiorenderer.cpp | hveld/qlcplus | 1dd61a5a3a2c93d7fe88cd2a90574c4849b64829 | [
"Apache-2.0"
] | 1 | 2015-03-03T17:30:10.000Z | 2015-03-03T17:30:10.000Z | engine/src/audio/audiorenderer.cpp | bjlupo/rcva_qlcplus | d367d33f5446c30d5201625e72946cc27f55ae5d | [
"Apache-2.0"
] | null | null | null | engine/src/audio/audiorenderer.cpp | bjlupo/rcva_qlcplus | d367d33f5446c30d5201625e72946cc27f55ae5d | [
"Apache-2.0"
] | null | null | null | /*
Q Light Controller Plus
audiorenderer.cpp
Copyright (c) Massimo Callegari
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.txt
Unl... | 34.059172 | 119 | 0.533356 | hveld |
cb644a46e2b02cafed93d1a5bb963c97e1017cda | 8,291 | cpp | C++ | icu/source/test/intltest/frcoll.cpp | NanoMichael/cross_compile_icu4c_for_android | 2b5aa1ef725ebcdd6de5c5156125b0dc2aa74bdf | [
"Apache-2.0"
] | 2 | 2019-12-07T11:29:58.000Z | 2021-06-26T12:48:10.000Z | icu/source/test/intltest/frcoll.cpp | NanoMichael/cross_compile_icu4c_for_android | 2b5aa1ef725ebcdd6de5c5156125b0dc2aa74bdf | [
"Apache-2.0"
] | null | null | null | icu/source/test/intltest/frcoll.cpp | NanoMichael/cross_compile_icu4c_for_android | 2b5aa1ef725ebcdd6de5c5156125b0dc2aa74bdf | [
"Apache-2.0"
] | null | null | null | // Copyright (C) 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/********************************************************************
* COPYRIGHT:
* Copyright (c) 1997-2016, International Business Machines Corporation and
* others. All Rights Reserved.
**... | 37.515837 | 103 | 0.555904 | NanoMichael |
cb66979d56c4c98a141de6e65510c6803efe8fe9 | 4,594 | cpp | C++ | 2021/day04/main.cpp | MagicHack/Advant-of-Code-2018 | 767ea922ee69d3b2029dc093f2f5dced24416624 | [
"MIT"
] | null | null | null | 2021/day04/main.cpp | MagicHack/Advant-of-Code-2018 | 767ea922ee69d3b2029dc093f2f5dced24416624 | [
"MIT"
] | null | null | null | 2021/day04/main.cpp | MagicHack/Advant-of-Code-2018 | 767ea922ee69d3b2029dc093f2f5dced24416624 | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include <sstream>
const int BINGO_SIZE = 5;
struct BingoCase {
int number;
bool marked;
};
class BingoBoard {
private:
std::vector<std::vector<BingoCase>> rows_;
int lastMarked_ = -1;
public:
BingoBoard() = default;
... | 24.967391 | 101 | 0.467131 | MagicHack |
cb67815939c27676249f4be04122400d8c3238e5 | 9,389 | hpp | C++ | include/pstore/core/hamt_set.hpp | paulhuggett/pstore | 067be94d87c87fce524c8d76c6f47c347d8f1853 | [
"Apache-2.0"
] | null | null | null | include/pstore/core/hamt_set.hpp | paulhuggett/pstore | 067be94d87c87fce524c8d76c6f47c347d8f1853 | [
"Apache-2.0"
] | 1 | 2021-03-09T21:33:38.000Z | 2021-03-09T21:33:38.000Z | include/pstore/core/hamt_set.hpp | paulhuggett/pstore | 067be94d87c87fce524c8d76c6f47c347d8f1853 | [
"Apache-2.0"
] | null | null | null | //===- include/pstore/core/hamt_set.hpp -------------------*- mode: C++ -*-===//
//* _ _ _ *
//* | |__ __ _ _ __ ___ | |_ ___ ___| |_ *
//* | '_ \ / _` | '_ ` _ \| __| / __|/ _ \ __| *
//* | | | | (_| | | | | | | |_ \__ \ __/ |_ *
//* |_| |_|\__,_|_| |_| |_|\__| |___/\___|\... | 41.544248 | 100 | 0.518799 | paulhuggett |
cb6938d7e76143a173f568a12ac276feda673df0 | 1,592 | cpp | C++ | src/Framework/Tools/DebugSystem.cpp | xcasadio/casaengine | 19e34c0457265435c28667df7f2e5c137d954b98 | [
"MIT"
] | null | null | null | src/Framework/Tools/DebugSystem.cpp | xcasadio/casaengine | 19e34c0457265435c28667df7f2e5c137d954b98 | [
"MIT"
] | null | null | null | src/Framework/Tools/DebugSystem.cpp | xcasadio/casaengine | 19e34c0457265435c28667df7f2e5c137d954b98 | [
"MIT"
] | null | null | null | #include "Tools/DebugSystem.h"
#include "Game/Game.h"
#include "GameTime.h"
#include "Entities/Events/DebugToolEvents.h"
#include "EventHandler/GlobalEventSet.h"
namespace CasaEngine
{
/**
*
*/
DebugSystem::DebugSystem()
{
m_fFPSTime = 0.0f;
m_fFPSLastDelta = 0.0f;
m_iFPSCount = 0;
m_iLastFPSCount = 0... | 20.410256 | 100 | 0.688442 | xcasadio |
cb6bf6b14a835f3b1063b2b8ca38532448885533 | 3,845 | cpp | C++ | 14-Splay-Tree/Source.cpp | InamTaj/data-structures | 7a662a8e635402bab3481d69d8df9164499da6b4 | [
"Apache-2.0"
] | 1 | 2019-06-24T11:34:23.000Z | 2019-06-24T11:34:23.000Z | 14-Splay-Tree/Source.cpp | InamTaj/data-structures | 7a662a8e635402bab3481d69d8df9164499da6b4 | [
"Apache-2.0"
] | null | null | null | 14-Splay-Tree/Source.cpp | InamTaj/data-structures | 7a662a8e635402bab3481d69d8df9164499da6b4 | [
"Apache-2.0"
] | 1 | 2020-11-23T03:28:52.000Z | 2020-11-23T03:28:52.000Z | #include "SplayTreeHeader.h"
#include <iostream>
#include <conio.h>
#include <string>
using namespace std;
void main()
{
int op;
char ext;
SplayTree<int> tree; //created object of tree
cout<<"\t\t\t\t->>SPLAY TREE<<-\n\n";
do
{
cout<<"\n\tWhat to do?\n1 -> Insert new value\n2 -> Search a value\n3 -... | 28.065693 | 349 | 0.419246 | InamTaj |
cb6d7d40edd384e30ae10d19aa6f15f18b381bf3 | 2,883 | cpp | C++ | examples/kwic-greeting/kwic-greeting.ascii.cpp | alf-p-steinbach/cppx-core | 114838a02b092c16825748bfe255ef854f45ac32 | [
"MIT"
] | 5 | 2019-02-19T07:06:38.000Z | 2021-11-21T18:54:41.000Z | examples/kwic-greeting/kwic-greeting.ascii.cpp | alf-p-steinbach/cppx-core | 114838a02b092c16825748bfe255ef854f45ac32 | [
"MIT"
] | null | null | null | examples/kwic-greeting/kwic-greeting.ascii.cpp | alf-p-steinbach/cppx-core | 114838a02b092c16825748bfe255ef854f45ac32 | [
"MIT"
] | null | null | null | // → examples/kwic-greeting/kwic-greeting.ascii.cpp
#include <cppx-core/_all_.hpp>
namespace app
{
$use_cppx( Index, Map_, spaces );
$use_std( cin, cout, end, endl, getline, string, string_view, max_element );
$use_namespace_name_in( cppx, ascii );
auto input() -> string
{
string result;... | 29.721649 | 90 | 0.503642 | alf-p-steinbach |
cb6e0cb573529ae10353982aafac42c9b441e241 | 937 | cpp | C++ | Homework/Homework20220209/Player.cpp | Voidrug/AR40 | 18bb18b6c8ced80a00bfa4bef667e39e062815ef | [
"MIT"
] | null | null | null | Homework/Homework20220209/Player.cpp | Voidrug/AR40 | 18bb18b6c8ced80a00bfa4bef667e39e062815ef | [
"MIT"
] | null | null | null | Homework/Homework20220209/Player.cpp | Voidrug/AR40 | 18bb18b6c8ced80a00bfa4bef667e39e062815ef | [
"MIT"
] | null | null | null | #include "Player.h"
#include <conio.h>
Player::Player(TextScreen* _Screen, const char* _Text)
: Screen_(_Screen)
, Pos_(_Screen->GetSize().GetHalfVector())
, Text_()
{
if (nullptr == _Screen)
{
assert(false);
}
for (int i = 0; i < 3; i++)
{
Text_[i] = _Text[i];
}
// Pos_ = ;
}
Player::~Player()
{
}
... | 11.289157 | 54 | 0.52508 | Voidrug |
cb6ec127d5ca58b9f74cb65f45e1551300561ac7 | 8,247 | cc | C++ | talk/app/webrtc/test/fakeaudiocapturemodule_unittest.cc | duelqiuqiu/libjingle | bd6257712f7d4f4608fec235e447678dcabdfd9d | [
"BSL-1.0",
"BSD-3-Clause"
] | 284 | 2015-01-05T08:31:00.000Z | 2022-03-25T06:12:55.000Z | talk/app/webrtc/test/fakeaudiocapturemodule_unittest.cc | duelqiuqiu/libjingle | bd6257712f7d4f4608fec235e447678dcabdfd9d | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | talk/app/webrtc/test/fakeaudiocapturemodule_unittest.cc | duelqiuqiu/libjingle | bd6257712f7d4f4608fec235e447678dcabdfd9d | [
"BSL-1.0",
"BSD-3-Clause"
] | 171 | 2015-01-06T06:56:02.000Z | 2022-01-24T03:56:37.000Z | /*
* libjingle
* Copyright 2012, Google Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the f... | 38.900943 | 80 | 0.717958 | duelqiuqiu |
cb700010bfca9a4e962c3074fd868408607a099f | 5,250 | hpp | C++ | src/MQIWorkerThread.hpp | cs-software-gmbh/mq-cph | 74210fcc7dd8f0c89a99d769bfa0ef1f12336d02 | [
"Apache-2.0"
] | null | null | null | src/MQIWorkerThread.hpp | cs-software-gmbh/mq-cph | 74210fcc7dd8f0c89a99d769bfa0ef1f12336d02 | [
"Apache-2.0"
] | null | null | null | src/MQIWorkerThread.hpp | cs-software-gmbh/mq-cph | 74210fcc7dd8f0c89a99d769bfa0ef1f12336d02 | [
"Apache-2.0"
] | null | null | null | /*<copyright notice="lm-source" pids="" years="2014,2020">*/
/*******************************************************************************
* Copyright (c) 2014,2020 IBM Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* ... | 30.523256 | 116 | 0.63181 | cs-software-gmbh |
cb743d1cb3365dbae36b15c9b657cb84734167f5 | 8,312 | hpp | C++ | qmath/include/qmath/rect.hpp | jeanleflambeur/silkopter | cdbc67ee2c85f5c95eb4f52e2e0ba24514962dd8 | [
"BSD-3-Clause"
] | 36 | 2015-03-09T16:47:14.000Z | 2021-02-04T08:32:04.000Z | qmath/include/qmath/rect.hpp | jeanlemotan/silkopter | cdbc67ee2c85f5c95eb4f52e2e0ba24514962dd8 | [
"BSD-3-Clause"
] | 42 | 2017-02-11T11:15:51.000Z | 2019-12-28T16:00:44.000Z | qmath/include/qmath/rect.hpp | jeanleflambeur/silkopter | cdbc67ee2c85f5c95eb4f52e2e0ba24514962dd8 | [
"BSD-3-Clause"
] | 5 | 2015-10-15T05:46:48.000Z | 2020-05-11T17:40:36.000Z | namespace math
{
///////////////////////////////////////////////////////////////////////////////
// constructors
///////////////////////////////////////////////////////////////////////////////
template <typename T>
rect<T>::rect() : upperLeftCorner (0, 0) , lowerRightCorner(0, 0)
{
}
template <typename... | 23.414085 | 126 | 0.615135 | jeanleflambeur |
cb77207ad9b6f61451ceeb52a0da00a632a26968 | 902 | hxx | C++ | Gui/models/OutputSettingsModel.hxx | igui/OppositeRenderer | 2442741792b3f0f426025c2015002694fab692eb | [
"MIT"
] | 9 | 2016-06-25T15:52:05.000Z | 2020-01-15T17:31:49.000Z | Gui/models/OutputSettingsModel.hxx | igui/OppositeRenderer | 2442741792b3f0f426025c2015002694fab692eb | [
"MIT"
] | null | null | null | Gui/models/OutputSettingsModel.hxx | igui/OppositeRenderer | 2442741792b3f0f426025c2015002694fab692eb | [
"MIT"
] | 2 | 2018-02-18T12:36:12.000Z | 2021-11-19T01:52:53.000Z | /*
* Copyright (c) 2013 Opposite Renderer
* For the full copyright and license information, please view the LICENSE.txt
* file that was distributed with this source code.
*/
#pragma once
#include <QObject>
#include "gui_export_api.h"
class OutputSettingsModel : public QObject
{
Q_OBJECT;
public:
GUI_EXPO... | 25.055556 | 78 | 0.74612 | igui |
cb7a56c89e2e96f99361496d109a28acdd73a870 | 2,463 | hpp | C++ | boost/boost/geometry/algorithms/detail/overlay/intersection_box_box.hpp | tonystone/geofeatures | 25aca530a9140b3f259e9ee0833c93522e83a697 | [
"BSL-1.0",
"Apache-2.0"
] | 24 | 2015-08-25T05:35:37.000Z | 2020-10-24T14:21:59.000Z | boost/boost/geometry/algorithms/detail/overlay/intersection_box_box.hpp | tonystone/geofeatures | 25aca530a9140b3f259e9ee0833c93522e83a697 | [
"BSL-1.0",
"Apache-2.0"
] | 97 | 2015-08-25T16:11:16.000Z | 2019-03-17T00:54:32.000Z | boost/boost/geometry/algorithms/detail/overlay/intersection_box_box.hpp | tonystone/geofeatures | 25aca530a9140b3f259e9ee0833c93522e83a697 | [
"BSL-1.0",
"Apache-2.0"
] | 9 | 2015-08-26T03:11:38.000Z | 2018-03-21T07:16:29.000Z | // Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2007-2014 Barend Gehrels, Amsterdam, the Netherlands.
// Use, modification and distribution is subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifnd... | 28.976471 | 116 | 0.689403 | tonystone |
cb7beedba9cfce132f7756b420137da730fcd84b | 1,719 | hpp | C++ | Cpp/include/fostgres/fsigma.hpp | amukha/fostgres | d908e80d6ebeafc456bae086dd397c216d59b001 | [
"BSL-1.0"
] | 17 | 2017-02-06T07:54:49.000Z | 2019-07-20T03:55:15.000Z | Cpp/include/fostgres/fsigma.hpp | amukha/fostgres | d908e80d6ebeafc456bae086dd397c216d59b001 | [
"BSL-1.0"
] | 17 | 2017-06-01T08:51:26.000Z | 2019-09-02T13:46:23.000Z | Cpp/include/fostgres/fsigma.hpp | amukha/fostgres | d908e80d6ebeafc456bae086dd397c216d59b001 | [
"BSL-1.0"
] | 6 | 2017-05-03T13:05:19.000Z | 2019-08-06T11:34:41.000Z | /**
Copyright 2016-2019 Red Anchor Trading Co. Ltd.
Distributed under the Boost Software License, Version 1.0.
See <http://www.boost.org/LICENSE_1_0.txt>
*/
#pragma once
#include <fost/core>
namespace fsigma {
/// A stack frame
class frame {
public:
using builtin = std::funct... | 27.285714 | 67 | 0.592205 | amukha |
cb7c2046f092721d6bfcca5404864bb23fe55306 | 1,026 | cpp | C++ | ctci-comparator-sorting/main.cpp | Fortich/HackerRank-Training | dfabf62eee791c12c40be2772f79cfec13e922c7 | [
"MIT"
] | null | null | null | ctci-comparator-sorting/main.cpp | Fortich/HackerRank-Training | dfabf62eee791c12c40be2772f79cfec13e922c7 | [
"MIT"
] | null | null | null | ctci-comparator-sorting/main.cpp | Fortich/HackerRank-Training | dfabf62eee791c12c40be2772f79cfec13e922c7 | [
"MIT"
] | null | null | null | #include<cmath>
#include<cstdio>
#include<vector>
#include<iostream>
#include<algorithm>
using namespace std;
struct Player {
int score;
string name;
};
class Checker{
public:
static int comparator(Player a, Player b) {
if(a.score == b.score){
return b.name.compare(a.name) <= 0 ? -1 :... | 19.730769 | 67 | 0.531189 | Fortich |
cb80094d382fdd1917ae4df63bf4bf0e1e1be308 | 11,925 | cpp | C++ | driver/DriverMapper/CapcomDriverManualMapper.cpp | ALEHACKsp/Warzone-Cheat | ed3796bee212aa3229c33ebc562f05d6d4e6815c | [
"MIT"
] | 6 | 2021-09-08T17:37:10.000Z | 2022-01-04T17:17:08.000Z | driver/DriverMapper/CapcomDriverManualMapper.cpp | xEnething/Warzone-Cheat | ed3796bee212aa3229c33ebc562f05d6d4e6815c | [
"MIT"
] | null | null | null | driver/DriverMapper/CapcomDriverManualMapper.cpp | xEnething/Warzone-Cheat | ed3796bee212aa3229c33ebc562f05d6d4e6815c | [
"MIT"
] | 5 | 2021-09-24T17:10:59.000Z | 2022-01-26T05:20:50.000Z | #include <fstream>
#include <assert.h>
#include "CapcomDriverManualMapper.h"
#include "Capcom/KernelRoutines.h"
#include "Capcom/LockedMemory.h"
#include <dbghelp.h>
#include <string>
#include <intrin.h>
using namespace std;
#pragma comment(lib, "Dbghelp.lib")
#define STATUS_CONFLICTING_ADDRESSES (... | 29.887218 | 159 | 0.728386 | ALEHACKsp |
cb812cf512871955b36b2a5eb031ef2a4eea894c | 59,198 | cpp | C++ | src/game/server/episodic/backup/npc_advisor.cpp | bluedogz162/tf_coop_extended_custom | 0212744ebef4f74c4e0047320d9da7d8571a8ee0 | [
"Unlicense"
] | 4 | 2020-04-24T22:20:34.000Z | 2022-01-10T23:16:53.000Z | src/game/server/episodic/backup/npc_advisor.cpp | bluedogz162/tf_coop_extended_custom | 0212744ebef4f74c4e0047320d9da7d8571a8ee0 | [
"Unlicense"
] | 1 | 2020-05-01T19:13:25.000Z | 2020-05-02T07:01:45.000Z | src/game/server/episodic/backup/npc_advisor.cpp | bluedogz162/tf_coop_extended_custom | 0212744ebef4f74c4e0047320d9da7d8571a8ee0 | [
"Unlicense"
] | 3 | 2020-04-24T22:20:36.000Z | 2022-02-21T21:48:05.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Advisors. Large sluglike aliens with creepy psychic powers!
//
//=============================================================================
#include "cbase.h"
#include "game.h"
#include "ai_basenpc.h"
#include "ai_schedule.h"
#includ... | 28.848928 | 235 | 0.631981 | bluedogz162 |
cb85bf536af2766ce3cc692cfd34593dc26c0d4e | 2,206 | cpp | C++ | src/Core/Utility/BuildingManager.cpp | tgcy210/cyclus | b9402710be94403d33aa5a9b9aa546cdcca1cb86 | [
"Unlicense"
] | 1 | 2018-07-29T16:10:02.000Z | 2018-07-29T16:10:02.000Z | src/Core/Utility/BuildingManager.cpp | tgcy210/cyclus | b9402710be94403d33aa5a9b9aa546cdcca1cb86 | [
"Unlicense"
] | null | null | null | src/Core/Utility/BuildingManager.cpp | tgcy210/cyclus | b9402710be94403d33aa5a9b9aa546cdcca1cb86 | [
"Unlicense"
] | null | null | null | #include "BuildingManager.h"
#include <iostream>
#include <vector>
#include <boost/any.hpp>
#include "SupplyDemandManager.h"
#include "SolverTools.h"
#include "Solver.h"
#include "SolverInterface.h"
#include "CBCSolver.h"
using namespace std;
using boost::any_cast;
using namespace Cyclopts;
// ---------------------... | 28.649351 | 70 | 0.603808 | tgcy210 |
cb89e62f5591ee46fc26f0a0117112c4e5ed7510 | 1,401 | cpp | C++ | Src/GameOverForm.cpp | muffinista/palm-pitch | aa09c857b1ccc14672b3eb038a419bd13abc0925 | [
"MIT"
] | 1 | 2015-11-13T21:40:35.000Z | 2015-11-13T21:40:35.000Z | Src/GameOverForm.cpp | muffinista/palm-pitch | aa09c857b1ccc14672b3eb038a419bd13abc0925 | [
"MIT"
] | null | null | null | Src/GameOverForm.cpp | muffinista/palm-pitch | aa09c857b1ccc14672b3eb038a419bd13abc0925 | [
"MIT"
] | null | null | null | #include "Common.h"
#include "GameOverForm.h"
#include "PitchApp.h"
#include "GameManager.h"
extern GameManager *gManager;
// Form open handler
Boolean CGameOverForm::OnOpen(EventPtr pEvent, Boolean& bHandled) {
gManager->Status(GameOver);
m_winners.Attach(this, GameResultsField);
// figure out ... | 20.602941 | 71 | 0.647395 | muffinista |
cb8cf87e3b533c7733aafa19cf83d9343c36abd6 | 19,677 | cpp | C++ | 3rdparty/glsl-optimizer/src/glsl/opt_dead_builtin_varyings.cpp | christiancoder/bgfx | b96deb1cecbd92b2ca46d7266499839069d6ba6a | [
"BSD-2-Clause"
] | 11,557 | 2015-01-03T22:48:11.000Z | 2022-03-31T18:20:41.000Z | 3rdparty/glsl-optimizer/src/glsl/opt_dead_builtin_varyings.cpp | christiancoder/bgfx | b96deb1cecbd92b2ca46d7266499839069d6ba6a | [
"BSD-2-Clause"
] | 1,731 | 2015-01-02T08:06:00.000Z | 2022-03-31T18:44:01.000Z | 3rdparty/glsl-optimizer/src/glsl/opt_dead_builtin_varyings.cpp | christiancoder/bgfx | b96deb1cecbd92b2ca46d7266499839069d6ba6a | [
"BSD-2-Clause"
] | 2,112 | 2015-01-05T13:03:36.000Z | 2022-03-31T19:18:02.000Z | /*
* Copyright © 2013 Marek Olšák <maraeo@gmail.com>
*
* 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, modif... | 33.521295 | 86 | 0.603242 | christiancoder |
cb8e498b39e3705276fbcdfd0546f99eb57e9af2 | 38,998 | cpp | C++ | Source/Controls/TextEditorPackage/GuiDocumentViewer.cpp | JamesType/GacUI | 4dc91704432b4e5cab76b1f6742dc800a075de39 | [
"RSA-MD"
] | null | null | null | Source/Controls/TextEditorPackage/GuiDocumentViewer.cpp | JamesType/GacUI | 4dc91704432b4e5cab76b1f6742dc800a075de39 | [
"RSA-MD"
] | null | null | null | Source/Controls/TextEditorPackage/GuiDocumentViewer.cpp | JamesType/GacUI | 4dc91704432b4e5cab76b1f6742dc800a075de39 | [
"RSA-MD"
] | null | null | null | #include "GuiDocumentViewer.h"
#include "../../GraphicsHost/GuiGraphicsHost.h"
namespace vl
{
namespace presentation
{
namespace controls
{
using namespace collections;
using namespace elements;
using namespace compositions;
/***********************************************************************
GuiDo... | 29.277778 | 182 | 0.67883 | JamesType |
cb8f9f7cd3b669ea2ed8c6be47999f9fbc1a3bd0 | 4,994 | cpp | C++ | INIReader.cpp | nking1232/INIUtil | abd88265cae610567f786e649dbb4f29d4dc3189 | [
"MIT"
] | null | null | null | INIReader.cpp | nking1232/INIUtil | abd88265cae610567f786e649dbb4f29d4dc3189 | [
"MIT"
] | null | null | null | INIReader.cpp | nking1232/INIUtil | abd88265cae610567f786e649dbb4f29d4dc3189 | [
"MIT"
] | null | null | null | #include "INIReader.hpp"
#include <iostream>
#include <fstream>
#include "INIGroup.hpp"
using namespace std;
//Init.
INIReader::INIReader(const char* file){
#ifdef __DEBUG__
cout << "INIReader::INIReader(const char*(" << file << "))" << endl;
#endif // __DEBUG__
ifstream a(file);... | 26.284211 | 95 | 0.481378 | nking1232 |
cb910cf4c196fab67a5a13e27f33c51abfc84410 | 26,998 | cpp | C++ | src/helics/network/tcp/TcpHelperClasses.cpp | beroset/HELICS | 5e678130123433af159962c2de245083a0354f0c | [
"BSD-3-Clause"
] | null | null | null | src/helics/network/tcp/TcpHelperClasses.cpp | beroset/HELICS | 5e678130123433af159962c2de245083a0354f0c | [
"BSD-3-Clause"
] | null | null | null | src/helics/network/tcp/TcpHelperClasses.cpp | beroset/HELICS | 5e678130123433af159962c2de245083a0354f0c | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2017-2021,
Battelle Memorial Institute; Lawrence Livermore National Security, LLC; Alliance for Sustainable
Energy, LLC. See the top-level NOTICE for additional details. All rights reserved.
SPDX-License-Identifier: BSD-3-Clause
*/
#include "TcpHelperClasses.h"
#include <algorithm>
#include <iostrea... | 35.71164 | 99 | 0.490999 | beroset |
cb94dfa8e85c8e260959d2ee3508b09c32912d80 | 130 | cpp | C++ | example/mutect/main.cpp | sethbrin/cpp-htslib | cc216955c0cac3ac4d57e5d6e86f09037e3cffb6 | [
"MIT"
] | null | null | null | example/mutect/main.cpp | sethbrin/cpp-htslib | cc216955c0cac3ac4d57e5d6e86f09037e3cffb6 | [
"MIT"
] | null | null | null | example/mutect/main.cpp | sethbrin/cpp-htslib | cc216955c0cac3ac4d57e5d6e86f09037e3cffb6 | [
"MIT"
] | null | null | null | #include "mutect.h"
int main(int argc, char** argv) {
ncic::mutect::Mutect mutect(argc, argv);
mutect.Run();
return 0;
}
| 13 | 42 | 0.630769 | sethbrin |
cb9825fcdf7600bd03f153651942993f6f96e721 | 32,167 | cpp | C++ | MSCL/source/mscl/MicroStrain/Inertial/Packets/InertialFieldParser_Sensor.cpp | offworld-projects/MSCL | 8388e97c92165e16c26c554aadf1e204ebcf93cf | [
"BSL-1.0",
"OpenSSL",
"MIT"
] | 53 | 2015-08-28T02:41:41.000Z | 2022-03-03T07:50:53.000Z | MSCL/source/mscl/MicroStrain/Inertial/Packets/InertialFieldParser_Sensor.cpp | offworld-projects/MSCL | 8388e97c92165e16c26c554aadf1e204ebcf93cf | [
"BSL-1.0",
"OpenSSL",
"MIT"
] | 209 | 2015-09-30T19:36:11.000Z | 2022-03-04T21:52:20.000Z | MSCL/source/mscl/MicroStrain/Inertial/Packets/InertialFieldParser_Sensor.cpp | offworld-projects/MSCL | 8388e97c92165e16c26c554aadf1e204ebcf93cf | [
"BSL-1.0",
"OpenSSL",
"MIT"
] | 55 | 2015-09-03T14:40:01.000Z | 2022-02-04T02:02:01.000Z | /*******************************************************************************
Copyright(c) 2015-2021 Parker Hannifin Corp. All rights reserved.
MIT Licensed. See the included LICENSE.txt for a copy of the full MIT License.
*******************************************************************************/
#include "st... | 54.705782 | 156 | 0.553984 | offworld-projects |
cb996a4b72b7da1df60d47bc66f179cd5132eaff | 1,925 | cc | C++ | src/eckit/sql/expression/function/FunctionDOTP.cc | wsmigaj/eckit | 1a44679243fde8907e760f9cc9eaca87efbd651a | [
"Apache-2.0"
] | null | null | null | src/eckit/sql/expression/function/FunctionDOTP.cc | wsmigaj/eckit | 1a44679243fde8907e760f9cc9eaca87efbd651a | [
"Apache-2.0"
] | 14 | 2019-09-30T19:24:29.000Z | 2020-10-15T16:02:11.000Z | src/eckit/sql/expression/function/FunctionDOTP.cc | wsmigaj/eckit | 1a44679243fde8907e760f9cc9eaca87efbd651a | [
"Apache-2.0"
] | 2 | 2019-10-17T13:52:08.000Z | 2019-11-25T14:53:52.000Z | /*
* (C) Copyright 1996-2012 ECMWF.
*
* 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.
* In applying this licence, ECMWF does not waive the privileges and immunities
* granted to it by virtue of its status as an in... | 26.013514 | 90 | 0.704416 | wsmigaj |
ed8198bf172177d1b71938d9c89c547623429aea | 2,071 | cpp | C++ | Engine/Test/Core/Molten/Math/MathTest.cpp | jimmiebergmann/MoltenEngine | d39e1dc8f2e92bcac7936a5e283faa66f65118ab | [
"MIT"
] | 1 | 2020-10-05T05:24:47.000Z | 2020-10-05T05:24:47.000Z | Engine/Test/Core/Molten/Math/MathTest.cpp | jimmiebergmann/MoltenEngine | d39e1dc8f2e92bcac7936a5e283faa66f65118ab | [
"MIT"
] | null | null | null | Engine/Test/Core/Molten/Math/MathTest.cpp | jimmiebergmann/MoltenEngine | d39e1dc8f2e92bcac7936a5e283faa66f65118ab | [
"MIT"
] | null | null | null | /*
* MIT License
*
* Copyright (c) 2019 Jimmie Bergmann
*
* 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, m... | 36.982143 | 110 | 0.690005 | jimmiebergmann |
ed82b87ddea976866750fd0c43ce92489ee982a1 | 8,200 | cpp | C++ | src/base/factory/SolverFactory.cpp | saichikine/GMAT | 80bde040e12946a61dae90d9fc3538f16df34190 | [
"Apache-2.0"
] | null | null | null | src/base/factory/SolverFactory.cpp | saichikine/GMAT | 80bde040e12946a61dae90d9fc3538f16df34190 | [
"Apache-2.0"
] | null | null | null | src/base/factory/SolverFactory.cpp | saichikine/GMAT | 80bde040e12946a61dae90d9fc3538f16df34190 | [
"Apache-2.0"
] | 1 | 2021-12-05T05:40:15.000Z | 2021-12-05T05:40:15.000Z | //$Id$
//------------------------------------------------------------------------------
// SolverFactory
//------------------------------------------------------------------------------
// GMAT: General Mission Analysis Tool
//
// Copyright (c) 2002 - 2018 United States Government as represen... | 34.599156 | 80 | 0.489024 | saichikine |
ed84bae859d4a3eef6f99fb905c1c6012e06da7f | 42,091 | cpp | C++ | 3D Engine/AK/SoundFrame/SFTest/SFTestDlg.cpp | botttos/PalmGine | 5335b00e8100a14c86280a9d6fdbef9728480bf0 | [
"Apache-2.0"
] | null | null | null | 3D Engine/AK/SoundFrame/SFTest/SFTestDlg.cpp | botttos/PalmGine | 5335b00e8100a14c86280a9d6fdbef9728480bf0 | [
"Apache-2.0"
] | null | null | null | 3D Engine/AK/SoundFrame/SFTest/SFTestDlg.cpp | botttos/PalmGine | 5335b00e8100a14c86280a9d6fdbef9728480bf0 | [
"Apache-2.0"
] | 3 | 2019-10-26T12:51:27.000Z | 2021-01-10T22:01:38.000Z | /*******************************************************************************
The content of this file includes portions of the AUDIOKINETIC Wwise Technology
released in source code form as part of the SDK installer package.
Commercial License Usage
Licensees holding valid commercial licenses to the AUDIOKINETIC W... | 27.402995 | 152 | 0.759307 | botttos |
ed89aa19030b4f5e0b5b611e83c855a212246795 | 662 | hpp | C++ | include/daqi/def/boost_def.hpp | hl4/da4qi4 | 9dfb8902427d40b392977b4fd706048ce3ee8828 | [
"Apache-2.0"
] | 166 | 2019-04-15T03:19:31.000Z | 2022-03-26T05:41:12.000Z | include/daqi/def/boost_def.hpp | YangKefan/da4qi4 | 9dfb8902427d40b392977b4fd706048ce3ee8828 | [
"Apache-2.0"
] | 9 | 2019-07-18T06:09:59.000Z | 2021-01-27T04:19:04.000Z | include/daqi/def/boost_def.hpp | YangKefan/da4qi4 | 9dfb8902427d40b392977b4fd706048ce3ee8828 | [
"Apache-2.0"
] | 43 | 2019-07-03T05:41:57.000Z | 2022-02-24T14:16:09.000Z | #ifndef DAQI_BOOST_DEF_HPP
#define DAQI_BOOST_DEF_HPP
#include <string>
#include <boost/optional.hpp>
#include <boost/filesystem.hpp>
#include <boost/uuid/uuid.hpp>
#include <boost/uuid/uuid_io.hpp>
#include <boost/asio/placeholders.hpp>
namespace da4qi4
{
extern boost::none_t NoneObject;
using errorcode = boost::s... | 23.642857 | 67 | 0.779456 | hl4 |
ed8c41511e81ee7405b204cf32dcee897ec437ff | 2,738 | cpp | C++ | Source/CubeWars/Menu/GridSpawner.cpp | e0925357/CubeWars | 12056ef6662e36e66db1992b4449ce3ca4a16e47 | [
"MIT"
] | 36 | 2015-10-01T22:31:59.000Z | 2022-03-31T11:55:16.000Z | Source/CubeWars/Menu/GridSpawner.cpp | e0925357/CubeWars | 12056ef6662e36e66db1992b4449ce3ca4a16e47 | [
"MIT"
] | null | null | null | Source/CubeWars/Menu/GridSpawner.cpp | e0925357/CubeWars | 12056ef6662e36e66db1992b4449ce3ca4a16e47 | [
"MIT"
] | 10 | 2016-03-24T10:17:59.000Z | 2021-10-31T23:34:46.000Z | // This source code file is protected by the MIT License (MIT)
#include "CubeWars.h"
#include "GridSpawner.h"
// Sets default values
AGridSpawner::AGridSpawner()
: NumCubesPerSide(10)
, RespawnTimeMin(9.0f)
, RespawnTimeMax(10.0f)
, GridCubeLifetime(15.0f)
, Dimension(100.0f)
, VerticalDimension(100.0f)
{
// S... | 28.520833 | 183 | 0.733747 | e0925357 |
ed8c82d537fdd915380b9d63f6974f9ffb0f6118 | 2,054 | cpp | C++ | Kernel/Memory/Layout.cpp | vpachkov/MacaronOS | e2572761f0d73a435d5660eb88d4dc96c944a349 | [
"MIT"
] | 21 | 2021-08-22T19:06:54.000Z | 2022-03-31T12:44:30.000Z | Kernel/Memory/Layout.cpp | Plunkerusr/WisteriaOS | 14f853cb8fdd6b958dd94ab24e5f19ac0268a4f6 | [
"MIT"
] | 1 | 2021-09-01T22:55:59.000Z | 2021-09-08T20:52:09.000Z | Kernel/Memory/Layout.cpp | Plunkerusr/WisteriaOS | 14f853cb8fdd6b958dd94ab24e5f19ac0268a4f6 | [
"MIT"
] | null | null | null | #include "Layout.hpp"
namespace Kernel::Memory {
extern "C" uint32_t _kernel_start;
extern "C" uint32_t _kernel_text_start;
extern "C" uint32_t _kernel_text_end;
extern "C" uint32_t _kernel_rodata_start;
extern "C" uint32_t _kernel_rodata_end;
extern "C" uint32_t _kernel_data_start;
extern "C" uint32_t _kernel_data... | 40.27451 | 139 | 0.789192 | vpachkov |
ed8e65ac21776dcd9c91f7269ffa0f5ccca315fe | 601 | hpp | C++ | include/liblinuxpp/subprocess/path_stream.hpp | goodfella/liblinuxpp | d00f4d17bdf3a27c9219d1b6a0b7fa23af66095b | [
"MIT"
] | 1 | 2018-12-10T00:42:04.000Z | 2018-12-10T00:42:04.000Z | include/liblinuxpp/subprocess/path_stream.hpp | goodfella/liblinuxpp | d00f4d17bdf3a27c9219d1b6a0b7fa23af66095b | [
"MIT"
] | 1 | 2019-05-15T03:21:47.000Z | 2019-08-19T04:32:21.000Z | include/liblinuxpp/subprocess/path_stream.hpp | goodfella/liblinuxpp | d00f4d17bdf3a27c9219d1b6a0b7fa23af66095b | [
"MIT"
] | null | null | null | #ifndef LIBLINUXPP_SUBPROCESS_PATH_STREAM_HPP
#define LIBLINUXPP_SUBPROCESS_PATH_STREAM_HPP
#include <string>
#include <liblinuxpp/subprocess/stream.hpp>
namespace linuxpp
{
namespace subprocess
{
/// A process stream that is associated with a path
class path_stream: public linuxpp::subprocess::stream
{
... | 17.676471 | 57 | 0.677205 | goodfella |
ed9b91ddb75a00b7f265456e7d138e7f039fe69f | 33,965 | hpp | C++ | Nacro/SDK/FN_T2_Research_classes.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 11 | 2021-08-08T23:25:10.000Z | 2022-02-19T23:07:22.000Z | Nacro/SDK/FN_T2_Research_classes.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 1 | 2022-01-01T22:51:59.000Z | 2022-01-08T16:14:15.000Z | Nacro/SDK/FN_T2_Research_classes.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 8 | 2021-08-09T13:51:54.000Z | 2022-01-26T20:33:37.000Z | #pragma once
// Fortnite (1.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// WidgetBlueprintGeneratedClass T2_Research.T2_Res... | 369.184783 | 644 | 0.793493 | Milxnor |
eda002cf5420e4e53b33ad1431631b25fb459f86 | 126 | cpp | C++ | http/Listener.cpp | JohnPoison/net | 8140d3df524e94213797bac777f7afc9b9a48fdc | [
"MIT"
] | 1 | 2018-09-22T14:54:52.000Z | 2018-09-22T14:54:52.000Z | http/Listener.cpp | JohnPoison/net | 8140d3df524e94213797bac777f7afc9b9a48fdc | [
"MIT"
] | null | null | null | http/Listener.cpp | JohnPoison/net | 8140d3df524e94213797bac777f7afc9b9a48fdc | [
"MIT"
] | null | null | null | //
// Created by Fateev on 30/08/14.
// Copyright (c) 2014 ___FULLUSERNAME___. All rights reserved.
//
#include "Listener.h"
| 18 | 62 | 0.698413 | JohnPoison |
eda134dc8878bf624be1be6200de58b023cad778 | 246 | cpp | C++ | src/Eigen-3.3/failtest/map_nonconst_ctor_on_const_ptr_1.cpp | shareq2005/CarND-MPC-Project | f4094e8b446d2fac2ca0a4c5054d5058621595b0 | [
"MIT"
] | 3,457 | 2018-06-09T15:36:42.000Z | 2020-06-01T22:09:25.000Z | src/Eigen-3.3/failtest/map_nonconst_ctor_on_const_ptr_1.cpp | shareq2005/CarND-MPC-Project | f4094e8b446d2fac2ca0a4c5054d5058621595b0 | [
"MIT"
] | 851 | 2017-11-27T15:09:56.000Z | 2022-03-31T22:26:38.000Z | src/Eigen-3.3/failtest/map_nonconst_ctor_on_const_ptr_1.cpp | shareq2005/CarND-MPC-Project | f4094e8b446d2fac2ca0a4c5054d5058621595b0 | [
"MIT"
] | 1,380 | 2017-06-12T23:58:23.000Z | 2022-03-31T14:52:48.000Z | #include "../Eigen/Core"
#ifdef EIGEN_SHOULD_FAIL_TO_BUILD
#define CV_QUALIFIER const
#else
#define CV_QUALIFIER
#endif
using namespace Eigen;
void foo(CV_QUALIFIER float *ptr, DenseIndex size){
Map<ArrayXf> m(ptr, size);
}
int main() {}
| 15.375 | 51 | 0.739837 | shareq2005 |
eda5feffa770b7fd6f3cbf8395c2ad84f5a4324e | 67,960 | cpp | C++ | external/vulkancts/modules/vulkan/pipeline/vktPipelineVertexInputTests.cpp | derbyw/deqp-am5728 | 923d047106727ea91e50f71d42e08aa08abb643f | [
"Apache-2.0"
] | null | null | null | external/vulkancts/modules/vulkan/pipeline/vktPipelineVertexInputTests.cpp | derbyw/deqp-am5728 | 923d047106727ea91e50f71d42e08aa08abb643f | [
"Apache-2.0"
] | null | null | null | external/vulkancts/modules/vulkan/pipeline/vktPipelineVertexInputTests.cpp | derbyw/deqp-am5728 | 923d047106727ea91e50f71d42e08aa08abb643f | [
"Apache-2.0"
] | null | null | null | /*------------------------------------------------------------------------
* Vulkan Conformance Tests
* ------------------------
*
* Copyright (c) 2015 The Khronos Group Inc.
* Copyright (c) 2015 Imagination Technologies Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use ... | 39.124928 | 245 | 0.714155 | derbyw |
eda6d1c45523348aa476ecf7da5aebcdadd2363c | 545 | cpp | C++ | Source/HeliumRain/Spacecrafts/FlareOrbitalEngine.cpp | VonHirsch/HeliumRain | 67497bae6e642dd4ac9294460ab1f78f38bc890b | [
"BSD-3-Clause"
] | 6 | 2020-03-29T00:55:50.000Z | 2021-07-05T06:49:10.000Z | Source/HeliumRain/Spacecrafts/FlareOrbitalEngine.cpp | SirWanabe/HeliumRain | 7614c09f068dcaa065a642083c7dc78e8f3b1c97 | [
"BSD-3-Clause"
] | null | null | null | Source/HeliumRain/Spacecrafts/FlareOrbitalEngine.cpp | SirWanabe/HeliumRain | 7614c09f068dcaa065a642083c7dc78e8f3b1c97 | [
"BSD-3-Clause"
] | null | null | null |
#include "FlareOrbitalEngine.h"
#include "../Flare.h"
#include "FlareSpacecraft.h"
/*----------------------------------------------------
Constructor
----------------------------------------------------*/
UFlareOrbitalEngine::UFlareOrbitalEngine(const class FObjectInitializer& PCIP)
: Super(PCIP)
{
LocalHeatEffe... | 20.185185 | 78 | 0.455046 | VonHirsch |
eda711a6b08ac8526889cda8d76ca6af2bde9a50 | 2,293 | cpp | C++ | Examples/CPP/WorkingWithProjects/WorkingWithProjectProperties/ReadProjectInfo.cpp | aspose-tasks/Aspose.Tasks-for-C | acb3e2b75685f65cbe34dd739c7eae0dfc285aa1 | [
"MIT"
] | 1 | 2022-03-16T14:31:36.000Z | 2022-03-16T14:31:36.000Z | Examples/CPP/WorkingWithProjects/WorkingWithProjectProperties/ReadProjectInfo.cpp | aspose-tasks/Aspose.Tasks-for-C | acb3e2b75685f65cbe34dd739c7eae0dfc285aa1 | [
"MIT"
] | null | null | null | Examples/CPP/WorkingWithProjects/WorkingWithProjectProperties/ReadProjectInfo.cpp | aspose-tasks/Aspose.Tasks-for-C | acb3e2b75685f65cbe34dd739c7eae0dfc285aa1 | [
"MIT"
] | 1 | 2020-07-01T01:26:17.000Z | 2020-07-01T01:26:17.000Z | #include "WorkingWithProjects/WorkingWithProjectProperties/ReadProjectInfo.h"
#include <system/type_info.h>
#include <system/string.h>
#include <system/shared_ptr.h>
#include <system/reflection/method_base.h>
#include <system/object.h>
#include <system/date_time.h>
#include <system/console.h>
#include <Project.h>
#inc... | 34.742424 | 164 | 0.735281 | aspose-tasks |
eda91786edc267be7d00c1a262bc078672760cc7 | 4,620 | cpp | C++ | libs/detectors/src/CCascadeClassifierDetection.cpp | skair39/mrpt | 88238f8ac1abdcf15401e14dc3a9faa5c59ba559 | [
"BSD-3-Clause"
] | 2 | 2019-02-20T02:36:05.000Z | 2019-02-20T02:46:51.000Z | libs/detectors/src/CCascadeClassifierDetection.cpp | skair39/mrpt | 88238f8ac1abdcf15401e14dc3a9faa5c59ba559 | [
"BSD-3-Clause"
] | null | null | null | libs/detectors/src/CCascadeClassifierDetection.cpp | skair39/mrpt | 88238f8ac1abdcf15401e14dc3a9faa5c59ba559 | [
"BSD-3-Clause"
] | null | null | null | /* +------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| http://www.mrpt.org/ |
| |
| Cop... | 31.862069 | 80 | 0.618398 | skair39 |
edaad28d61eabf52700ebe4b66df43de7506b848 | 18,912 | hpp | C++ | include/UnityEngine/Bounds.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | include/UnityEngine/Bounds.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | include/UnityEngine/Bounds.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
// Including type: System.ValueTy... | 56.622754 | 198 | 0.727792 | marksteward |
edac778c26781dd213bede675383628ecd87a6af | 656 | cpp | C++ | src/Waves/Signer.cpp | alicedapp/wallet-core | 532034af30cc5a8f677c7f7b0d182e8198cf698d | [
"MIT"
] | null | null | null | src/Waves/Signer.cpp | alicedapp/wallet-core | 532034af30cc5a8f677c7f7b0d182e8198cf698d | [
"MIT"
] | null | null | null | src/Waves/Signer.cpp | alicedapp/wallet-core | 532034af30cc5a8f677c7f7b0d182e8198cf698d | [
"MIT"
] | 2 | 2020-01-08T14:28:22.000Z | 2020-01-21T15:46:52.000Z | // Copyright © 2017-2020 Trust Wallet.
//
// This file is part of Trust. The full Trust copyright notice, including
// terms governing use, modification, and redistribution, is contained in the
// file LICENSE at the root of the source code distribution tree.
#include "Signer.h"
#include "../Hash.h"
using namespace ... | 28.521739 | 84 | 0.699695 | alicedapp |
edb9cce30b2fe500b6264e391c32462f731e618b | 1,011 | cpp | C++ | PML/Renderer/XBObuffer.cpp | NickAOndo/PML | bcb228d012ffc99a4701afed5a05692df85c1ffa | [
"MIT"
] | null | null | null | PML/Renderer/XBObuffer.cpp | NickAOndo/PML | bcb228d012ffc99a4701afed5a05692df85c1ffa | [
"MIT"
] | null | null | null | PML/Renderer/XBObuffer.cpp | NickAOndo/PML | bcb228d012ffc99a4701afed5a05692df85c1ffa | [
"MIT"
] | null | null | null | /*******************************************************************
** Author: Nicholas Ondo
** License: MIT
** Description: XBObuffer class header.
-- N.B. Example instance of a template-arg type for use
with Mesh and MeshXBO templates.
-- Instances include Vertex, Element, & Transfor... | 24.071429 | 83 | 0.591494 | NickAOndo |
edbb2d926f1b187a03d00181105e1373fb181b8a | 4,965 | hpp | C++ | generic_ext/boltzmann_dist.hpp | Tokumasu-Lab/md_fdps | eb9ba6baa8ac2dba86ae74fa6104a38e18d045ff | [
"MIT"
] | null | null | null | generic_ext/boltzmann_dist.hpp | Tokumasu-Lab/md_fdps | eb9ba6baa8ac2dba86ae74fa6104a38e18d045ff | [
"MIT"
] | null | null | null | generic_ext/boltzmann_dist.hpp | Tokumasu-Lab/md_fdps | eb9ba6baa8ac2dba86ae74fa6104a38e18d045ff | [
"MIT"
] | null | null | null | /**************************************************************************************************/
/**
* @file boltzmann_dist.hpp
* @brief normarized boltzmann distribution generator.
* @details ref: http://www.natural-science.or.jp/article/20170403143134.php
*/
/*************************************************... | 32.24026 | 115 | 0.459013 | Tokumasu-Lab |
edbbaa36fe75b20cb1d48c288060a9edf65b9036 | 1,477 | hpp | C++ | nheqminer/3rdparty/boost/hana/fwd/second.hpp | EuroLine/nheqminer | 81c7ef889bb502d16f7d1e7ef020d0592f8af945 | [
"MIT"
] | 886 | 2016-10-20T20:59:59.000Z | 2022-03-12T07:47:52.000Z | ios/Pods/boost-for-react-native/boost/hana/fwd/second.hpp | c7yrus/alyson-v3 | 5ad95a8f782f5f5d2fd543d44ca6a8b093395965 | [
"Apache-2.0"
] | 369 | 2016-10-21T07:42:54.000Z | 2020-11-19T10:49:29.000Z | ios/Pods/boost-for-react-native/boost/hana/fwd/second.hpp | c7yrus/alyson-v3 | 5ad95a8f782f5f5d2fd543d44ca6a8b093395965 | [
"Apache-2.0"
] | 534 | 2016-10-20T21:00:00.000Z | 2022-03-29T10:02:27.000Z | /*!
@file
Forward declares `boost::hana::second`.
@copyright Louis Dionne 2013-2016
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
#ifndef BOOST_HANA_FWD_SECOND_HPP
#define BOOST_HANA_FWD_SECOND_HPP
#include <boost/hana/co... | 30.142857 | 78 | 0.691943 | EuroLine |
edbc6d2169d4aafb89ab42a37792525a15f60718 | 688 | cpp | C++ | 5-List n Forward List/List_intro.cpp | AkashKumarSingh11032001/STL-Coding-Block | 339b5d88e6251d691deaa0a1f29dcbd12c0e23da | [
"MIT"
] | null | null | null | 5-List n Forward List/List_intro.cpp | AkashKumarSingh11032001/STL-Coding-Block | 339b5d88e6251d691deaa0a1f29dcbd12c0e23da | [
"MIT"
] | null | null | null | 5-List n Forward List/List_intro.cpp | AkashKumarSingh11032001/STL-Coding-Block | 339b5d88e6251d691deaa0a1f29dcbd12c0e23da | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int main(){
list<int> l;
//inilizeation
list<int> l2{1,2,3,4};
//diffrent datatype
list<string> l3{"adc","bdcs","cdcs"};
// add element
l3.push_back("ddc");
//sort
l2.sort();
//reverse
l3.reverse();
//remove elemnt
... | 17.2 | 41 | 0.494186 | AkashKumarSingh11032001 |
edbec552fcdaf0564bfc7ad2fba515ebd237adb3 | 127 | hpp | C++ | src/hardware/chips/avr/atmega328.hpp | xenris/nblib | 72bf25b6d086bf6f6f3003d709f92a9975bfddaf | [
"MIT"
] | 3 | 2016-03-31T04:41:32.000Z | 2017-07-17T02:50:38.000Z | src/hardware/chips/avr/atmega328.hpp | xenris/nbavr | 72bf25b6d086bf6f6f3003d709f92a9975bfddaf | [
"MIT"
] | 18 | 2015-08-12T12:13:16.000Z | 2017-05-10T12:55:55.000Z | src/hardware/chips/avr/atmega328.hpp | xenris/nblib | 72bf25b6d086bf6f6f3003d709f92a9975bfddaf | [
"MIT"
] | null | null | null | #ifndef NBLIB_ATMEGA328_HPP
#define NBLIB_ATMEGA328_HPP
#include "atmega328p.hpp"
#undef CHIP
#define CHIP atmega328
#endif
| 12.7 | 27 | 0.811024 | xenris |
edbfaeae39652a9ffe4fc64a2b0b3830006152b2 | 534 | hpp | C++ | falcon/mpl/detail/assoc_insert.hpp | jonathanpoelen/falcon | 5b60a39787eedf15b801d83384193a05efd41a89 | [
"MIT"
] | 2 | 2018-02-02T14:19:59.000Z | 2018-05-13T02:48:24.000Z | falcon/mpl/detail/assoc_insert.hpp | jonathanpoelen/falcon | 5b60a39787eedf15b801d83384193a05efd41a89 | [
"MIT"
] | null | null | null | falcon/mpl/detail/assoc_insert.hpp | jonathanpoelen/falcon | 5b60a39787eedf15b801d83384193a05efd41a89 | [
"MIT"
] | null | null | null | #ifndef FALCON_MPL_DETAIL_ASSOC_INSERT_HPP
#define FALCON_MPL_DETAIL_ASSOC_INSERT_HPP
#include <falcon/functional/arg.hpp>
#include <falcon/mpl/detail/has_key.hpp>
namespace falcon {
namespace mpl {
namespace detail {
template<typename Seq, typename T, bool = has_key_impl<Seq, typename key_type<Seq, T>::type>::value... | 22.25 | 100 | 0.745318 | jonathanpoelen |
edc013f89b02ab2136edbd5b2f13b3ba5a4db41a | 4,425 | hpp | C++ | src/Client/GUI3/Models/StringTableViewModel.hpp | AlexWayfer/RankCheck | cf3005a2ba6f66bd66f27e0e42ca6b0ccb907014 | [
"Unlicense",
"MIT"
] | 10 | 2018-02-12T16:14:07.000Z | 2022-03-19T15:08:29.000Z | src/Client/GUI3/Models/StringTableViewModel.hpp | AlexWayfer/RankCheck | cf3005a2ba6f66bd66f27e0e42ca6b0ccb907014 | [
"Unlicense",
"MIT"
] | 11 | 2018-02-08T16:46:49.000Z | 2022-02-03T20:48:12.000Z | src/Client/GUI3/Models/StringTableViewModel.hpp | AlexWayfer/RankCheck | cf3005a2ba6f66bd66f27e0e42ca6b0ccb907014 | [
"Unlicense",
"MIT"
] | 3 | 2018-02-12T22:08:55.000Z | 2021-06-24T16:29:17.000Z | #ifndef SRC_CLIENT_GUI3_MODELS_STRINGTABLEVIEWMODEL_HPP_
#define SRC_CLIENT_GUI3_MODELS_STRINGTABLEVIEWMODEL_HPP_
#include <Client/GUI3/Container.hpp>
#include <Client/GUI3/Events/Callback.hpp>
#include <Client/GUI3/Events/StateEvent.hpp>
#include <Client/GUI3/Models/StringTableDataModel.hpp>
#include <Client/GUI3/Mod... | 25.726744 | 115 | 0.749379 | AlexWayfer |
edc0e7c300cf90d369101060e25fd0348539a80c | 5,477 | cpp | C++ | src/frontier_search.cpp | peanut-robotics/frontier_exploration | 1645d80fd6265d0986678d2f83d226b56ed72243 | [
"BSD-3-Clause"
] | 13 | 2020-11-11T03:47:15.000Z | 2022-02-10T07:52:00.000Z | src/frontier_search.cpp | peanut-robotics/frontier_exploration | 1645d80fd6265d0986678d2f83d226b56ed72243 | [
"BSD-3-Clause"
] | null | null | null | src/frontier_search.cpp | peanut-robotics/frontier_exploration | 1645d80fd6265d0986678d2f83d226b56ed72243 | [
"BSD-3-Clause"
] | 6 | 2021-02-21T01:23:22.000Z | 2022-02-10T07:52:05.000Z | #include <frontier_exploration/frontier_search.h>
#include <costmap_2d/costmap_2d.h>
#include<costmap_2d/cost_values.h>
#include <geometry_msgs/Point.h>
#include <boost/foreach.hpp>
#include <frontier_exploration/costmap_tools.h>
#include <frontier_exploration/Frontier.h>
namespace frontier_exploration{
using costm... | 33.193939 | 127 | 0.638306 | peanut-robotics |
edc58817a2fb4ccf77d30f37283e027276cf6164 | 1,088 | cpp | C++ | test/cpp/PyInterface_test.cpp | Joe-Doyle/moos-ivp-agent | 164d590808bcac6242dd22d1f25aa4248f7d9c2d | [
"MIT"
] | 1 | 2021-11-22T00:20:18.000Z | 2021-11-22T00:20:18.000Z | test/cpp/PyInterface_test.cpp | Joe-Doyle/moos-ivp-agent | 164d590808bcac6242dd22d1f25aa4248f7d9c2d | [
"MIT"
] | 11 | 2021-11-11T17:12:07.000Z | 2021-12-12T22:44:22.000Z | test/cpp/PyInterface_test.cpp | Joe-Doyle/moos-ivp-agent | 164d590808bcac6242dd22d1f25aa4248f7d9c2d | [
"MIT"
] | 3 | 2021-11-11T18:14:19.000Z | 2021-12-15T10:05:45.000Z | #include "PyInterface.h"
#include <gtest/gtest.h>
#include <string.h>
using namespace std;
#define MODULE_PATH strcat(__FILE__, "/../src/python_module")
string file = __FILE__;
string test_dir = file.substr(0, file.find_last_of('/'));
string src_dir = test_dir.substr(0, test_dir.find_last_of('/'))+"/src";
string mod... | 25.904762 | 88 | 0.709559 | Joe-Doyle |
edc633744290933614afcf255acedb459e4534db | 1,400 | hpp | C++ | include/boost/cgi/detail/common_headers.hpp | Sil3ntStorm/libtelegram | a0c52ba4aac5519a3031dba506ad4a64cd8fca83 | [
"MIT"
] | 118 | 2016-10-02T10:49:02.000Z | 2022-03-23T14:32:05.000Z | include/boost/cgi/detail/common_headers.hpp | Sil3ntStorm/libtelegram | a0c52ba4aac5519a3031dba506ad4a64cd8fca83 | [
"MIT"
] | 21 | 2017-04-21T13:34:36.000Z | 2021-12-08T17:00:40.000Z | include/boost/cgi/detail/common_headers.hpp | Sil3ntStorm/libtelegram | a0c52ba4aac5519a3031dba506ad4a64cd8fca83 | [
"MIT"
] | 35 | 2016-06-08T15:31:03.000Z | 2022-03-23T16:43:28.000Z | // -- common_headers.hpp --
//
// Copyright (c) Darren Garvey 2007.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
////////////////////////////////////////////////////////... | 36.842105 | 68 | 0.728571 | Sil3ntStorm |
edc8a6243d1f0066d012cd270b2f98ed458e72d4 | 310 | hpp | C++ | components/agro_board/net/make.hpp | thmalmeida/agro_mesh | fbce39d2e08d02495ecd3b55b2e826449b9dc3b7 | [
"MIT"
] | 2 | 2021-07-19T12:03:39.000Z | 2021-07-22T18:37:45.000Z | components/agro_board/net/make.hpp | thmalmeida/agro_mesh | fbce39d2e08d02495ecd3b55b2e826449b9dc3b7 | [
"MIT"
] | null | null | null | components/agro_board/net/make.hpp | thmalmeida/agro_mesh | fbce39d2e08d02495ecd3b55b2e826449b9dc3b7 | [
"MIT"
] | 1 | 2021-07-08T09:07:10.000Z | 2021-07-08T09:07:10.000Z | #ifndef AGRO_MESH_NET_MAKE_PACKET_DATA_HPP__
#define AGRO_MESH_NET_MAKE_PACKET_DATA_HPP__
#include <cstddef>
#include <cstdint>
std::size_t make_board_config(void*, std::size_t) noexcept;;
std::size_t make_sensors_data(std::uint8_t*, std::size_t) noexcept;
#endif /* AGRO_MESH_NET_MAKE_PACKET_DATA_HPP__ */
| 28.181818 | 67 | 0.816129 | thmalmeida |
edc960cc002d1bfd071469232ce63828e3f8d146 | 1,662 | cpp | C++ | Simulation/src/SimInterface/CreateComponent.cpp | RubenB-1643541/MarblingSimulation | 7534d7bcc4952a85a2512d354569256f8129c2cd | [
"MIT"
] | null | null | null | Simulation/src/SimInterface/CreateComponent.cpp | RubenB-1643541/MarblingSimulation | 7534d7bcc4952a85a2512d354569256f8129c2cd | [
"MIT"
] | null | null | null | Simulation/src/SimInterface/CreateComponent.cpp | RubenB-1643541/MarblingSimulation | 7534d7bcc4952a85a2512d354569256f8129c2cd | [
"MIT"
] | null | null | null | #include "CreateComponent.h"
#include "../SimulationCore/SimulationApplication.h"
#include "../FileIO/FileDialog.h"
CreateComponent::CreateComponent(SimulationApplication* app, bool open) : _open(open), _app(app)
{
}
void CreateComponent::OnInit()
{
_window_flags |= ImGuiWindowFlags_NoTitleBar;
_window_fla... | 25.569231 | 97 | 0.651625 | RubenB-1643541 |
edcb2381ff982cc178aa8add174d5331ab1af1e7 | 915 | cc | C++ | plugins/meta-protobuf-v8/test/io.cc | TeravoxelTwoPhotonTomography/tilebase | 61f2e6b979d214afab8dd60d6f55afc3e4697e24 | [
"BSD-3-Clause"
] | null | null | null | plugins/meta-protobuf-v8/test/io.cc | TeravoxelTwoPhotonTomography/tilebase | 61f2e6b979d214afab8dd60d6f55afc3e4697e24 | [
"BSD-3-Clause"
] | null | null | null | plugins/meta-protobuf-v8/test/io.cc | TeravoxelTwoPhotonTomography/tilebase | 61f2e6b979d214afab8dd60d6f55afc3e4697e24 | [
"BSD-3-Clause"
] | null | null | null | // solves a std::tuple problem in vs2012
#define GTEST_HAS_TR1_TUPLE 0
#define GTEST_USE_OWN_TR1_TUPLE 1
#include <gtest/gtest.h>
#include "tilebase.h"
#include "plugins/meta-protobuf-v8/config.h"
struct FetchProtobufV5: public testing::Test
{
void SetUp()
{ ndioAddPluginPath(ND_ROOT_DIR"/bin/plugins");
}
... | 24.72973 | 96 | 0.755191 | TeravoxelTwoPhotonTomography |
edcc0a3da994c35ccbe3ed9e5834dd0fcafd6a33 | 747 | hpp | C++ | include/goodies/MakeString.hpp | susu/goodies | 596a68a1705efddd12e358ffb2eb9f7b20e3f5fa | [
"MIT"
] | null | null | null | include/goodies/MakeString.hpp | susu/goodies | 596a68a1705efddd12e358ffb2eb9f7b20e3f5fa | [
"MIT"
] | null | null | null | include/goodies/MakeString.hpp | susu/goodies | 596a68a1705efddd12e358ffb2eb9f7b20e3f5fa | [
"MIT"
] | null | null | null | #ifndef GOODIES_MAKESTRING_HPP_INC
#define GOODIES_MAKESTRING_HPP_INC
#include <sstream>
#include <algorithm>
namespace goodies
{
class MakeString
{
public:
template<typename T>
MakeString& operator<<(const T& value)
{
m_out << value;
... | 19.657895 | 99 | 0.52075 | susu |
edd073c62251f09abedf11d2cf15c682b5da8272 | 4,097 | cpp | C++ | Source/video_codec/video_encoder.cpp | TekuConcept/HI35XX-Simplified | c3515da60e75fd5457750a34721fbc20135aaf3f | [
"MIT"
] | 3 | 2021-05-14T07:36:54.000Z | 2021-12-22T19:09:50.000Z | Source/video_codec/video_encoder.cpp | TekuConcept/HI35XX-Simplified | c3515da60e75fd5457750a34721fbc20135aaf3f | [
"MIT"
] | null | null | null | Source/video_codec/video_encoder.cpp | TekuConcept/HI35XX-Simplified | c3515da60e75fd5457750a34721fbc20135aaf3f | [
"MIT"
] | 1 | 2021-05-14T08:00:53.000Z | 2021-05-14T08:00:53.000Z | /**
* Created by TekuConcept on May 12, 2021
*/
#include "video_codec/video_encoder.h"
#include <cstring>
#include <string>
#include <stdexcept>
#include "mpi_venc.h"
#include "mpp_utils.h"
using namespace hisilicon;
video_encoder::video_encoder(
HI_U32 __width,
HI_U32 __height,
HI_U32 __gop)
: m_cha... | 25.60625 | 87 | 0.662436 | TekuConcept |
edd6084c6441e6d7e8fcb1cf2a9e62b0f4673a84 | 4,529 | hpp | C++ | include/Zenject/BindingId.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/Zenject/BindingId.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/Zenject/BindingId.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
// Including type: System.ValueType
#include "System/ValueType.hpp"
// Including type: System.IEquatable`1
#include "System/IEquatable_1.hpp"
#i... | 43.970874 | 135 | 0.696401 | darknight1050 |
edd6695f5832a042bd6ccc1d83ee8c9379bd4c7b | 1,003 | cpp | C++ | source/exec/instance/project_value.cpp | stryku/cmakesl | e53bffed62ae9ca68c0c2de0de8e2a94bfe4d326 | [
"BSD-3-Clause"
] | 51 | 2019-05-06T01:33:34.000Z | 2021-11-17T11:44:54.000Z | source/exec/instance/project_value.cpp | stryku/cmakesl | e53bffed62ae9ca68c0c2de0de8e2a94bfe4d326 | [
"BSD-3-Clause"
] | 191 | 2019-05-06T18:31:24.000Z | 2020-06-19T06:48:06.000Z | source/exec/instance/project_value.cpp | stryku/cmakesl | e53bffed62ae9ca68c0c2de0de8e2a94bfe4d326 | [
"BSD-3-Clause"
] | 3 | 2019-10-12T21:03:29.000Z | 2020-06-19T06:22:25.000Z | #include "exec/instance/project_value.hpp"
#include "exec/instance/instance.hpp"
#include "exec/instance/list_value_utils.hpp"
#include "cmake_facade.hpp"
namespace cmsl::exec::inst {
project_value::project_value(const std::string& name)
: m_name{ name }
{
}
std::string project_value::name() const
{
return m_nam... | 27.861111 | 70 | 0.661017 | stryku |
edd9cb1b7507b457c0e8469b4f02ff7646706d0f | 4,252 | hpp | C++ | plugins/account_history_plugin/include/betterchain/account_history_plugin/account_history_plugin.hpp | betterchainio/betterchain | 29f82c25ae6812beaf09f8d7069932474bea9f8b | [
"MIT"
] | 3 | 2018-01-18T07:12:34.000Z | 2018-01-22T10:00:29.000Z | plugins/account_history_plugin/include/betterchain/account_history_plugin/account_history_plugin.hpp | betterchainio/betterchain | 29f82c25ae6812beaf09f8d7069932474bea9f8b | [
"MIT"
] | null | null | null | plugins/account_history_plugin/include/betterchain/account_history_plugin/account_history_plugin.hpp | betterchainio/betterchain | 29f82c25ae6812beaf09f8d7069932474bea9f8b | [
"MIT"
] | 2 | 2018-01-30T01:03:10.000Z | 2019-02-28T09:04:06.000Z | /**
* @file
* @copyright defined in BetterChain/LICENSE.txt
*/
#pragma once
#include <appbase/application.hpp>
#include <betterchain/chain_plugin/chain_plugin.hpp>
namespace fc { class variant; }
namespace betterchain {
using chain::transaction_id_type;
using std::shared_ptr;
using namespace appbase;
... | 35.433333 | 135 | 0.780574 | betterchainio |
edda98001639dc486b7d9ffd12b8421a22e2b750 | 6,381 | cc | C++ | tests/parboil/benchmarks/bfs/src/cpu/main.cc | florianjacob/gpuocelot | fa63920ee7c5f9a86e264cd8acd4264657cbd190 | [
"BSD-3-Clause"
] | 221 | 2015-03-29T02:05:49.000Z | 2022-03-25T01:45:36.000Z | tests/parboil/benchmarks/bfs/src/cpu/main.cc | mprevot/gpuocelot | d9277ef05a110e941aef77031382d0260ff115ef | [
"BSD-3-Clause"
] | 106 | 2015-03-29T01:28:42.000Z | 2022-02-15T19:38:23.000Z | tests/parboil/benchmarks/bfs/src/cpu/main.cc | mprevot/gpuocelot | d9277ef05a110e941aef77031382d0260ff115ef | [
"BSD-3-Clause"
] | 83 | 2015-07-10T23:09:57.000Z | 2022-03-25T03:01:00.000Z | /***************************************************************************
*cr
*cr (C) Copyright 2007 The Board of Trustees of the
*cr University of Illinois
*cr All Rights Reserved
*cr
**************************************************************... | 29.817757 | 105 | 0.59254 | florianjacob |
eddb83606e4a613dd29c74b9ab8356e084f1fe3a | 1,732 | cpp | C++ | aws-cpp-sdk-robomaker/source/model/OutputLocation.cpp | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | 2 | 2019-03-11T15:50:55.000Z | 2020-02-27T11:40:27.000Z | aws-cpp-sdk-robomaker/source/model/OutputLocation.cpp | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-robomaker/source/model/OutputLocation.cpp | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | 1 | 2019-01-18T13:03:55.000Z | 2019-01-18T13:03:55.000Z | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | 20.376471 | 78 | 0.729215 | curiousjgeorge |
eddc56563d903f28dd49c1fbac57492e2137e45b | 2,811 | cpp | C++ | examples/shell/main.cpp | mafan-lds/connectedhomeip | c38773d511aef4cb83b2a700f616472013069ae9 | [
"Apache-2.0"
] | null | null | null | examples/shell/main.cpp | mafan-lds/connectedhomeip | c38773d511aef4cb83b2a700f616472013069ae9 | [
"Apache-2.0"
] | null | null | null | examples/shell/main.cpp | mafan-lds/connectedhomeip | c38773d511aef4cb83b2a700f616472013069ae9 | [
"Apache-2.0"
] | null | null | null | /*
*
* Copyright (c) 2020 Project CHIP 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 requir... | 25.098214 | 92 | 0.712914 | mafan-lds |
ede0b0abdeb738d1dfa629e8d7fff11c1996e7df | 2,852 | cpp | C++ | webkit/WebCore/svg/SVGColor.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | 15 | 2016-01-05T12:43:41.000Z | 2022-03-15T10:34:47.000Z | webkit/WebCore/svg/SVGColor.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | null | null | null | webkit/WebCore/svg/SVGColor.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | 2 | 2020-11-30T18:36:01.000Z | 2021-02-05T23:20:24.000Z | /*
Copyright (C) 2004, 2005 Nikolas Zimmermann <wildfox@kde.org>
2004, 2005, 2006, 2007 Rob Buis <buis@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundatio... | 23.966387 | 126 | 0.696353 | s1rcheese |
ede17b5118a9e650fe7e7d4156be3173270d0baf | 304 | cpp | C++ | dep/skse/loader_common/Error.cpp | SilverIce/JContainers | 98ca31304a74e299d1f7f003602c55fb07e866ee | [
"MIT"
] | 39 | 2015-01-16T09:17:05.000Z | 2021-12-15T23:02:00.000Z | dep/skse/loader_common/Error.cpp | Verteiron/JContainers | a5c83198c782458a7c2ae683319558cc88959d25 | [
"MIT"
] | 26 | 2015-01-03T20:26:27.000Z | 2019-12-30T22:46:15.000Z | dep/skse/loader_common/Error.cpp | SilverIce/JContainers | 98ca31304a74e299d1f7f003602c55fb07e866ee | [
"MIT"
] | 14 | 2015-10-23T08:46:01.000Z | 2022-03-24T18:08:24.000Z | #include "Error.h"
void PrintLoaderError(const char * fmt, ...)
{
va_list args;
va_start(args, fmt);
gLog.Log(IDebugLog::kLevel_FatalError, fmt, args);
char buf[4096];
vsprintf_s(buf, sizeof(buf), fmt, args);
MessageBox(NULL, buf, "SKSE Loader", MB_OK | MB_ICONEXCLAMATION);
va_end(args);
}
| 16.888889 | 66 | 0.694079 | SilverIce |
ede5e0b7761cf3242c8dbd4df563d1856a1ac236 | 13,340 | hpp | C++ | contrib/autoboost/autoboost/lambda/if.hpp | CaseyCarter/autowiring | 48e95a71308318c8ffb7ed1348e034fd9110f70c | [
"Apache-2.0"
] | 87 | 2015-01-18T00:43:06.000Z | 2022-02-11T17:40:50.000Z | contrib/autoboost/autoboost/lambda/if.hpp | CaseyCarter/autowiring | 48e95a71308318c8ffb7ed1348e034fd9110f70c | [
"Apache-2.0"
] | 274 | 2015-01-03T04:50:49.000Z | 2021-03-08T09:01:09.000Z | contrib/autoboost/autoboost/lambda/if.hpp | CaseyCarter/autowiring | 48e95a71308318c8ffb7ed1348e034fd9110f70c | [
"Apache-2.0"
] | 15 | 2015-09-30T20:58:43.000Z | 2020-12-19T21:24:56.000Z | // Boost Lambda Library -- if.hpp ------------------------------------------
// Copyright (C) 1999, 2000 Jaakko Jarvi (jaakko.jarvi@cs.utu.fi)
// Copyright (C) 2000 Gary Powell (powellg@amazon.com)
// Copyright (C) 2001-2002 Joel de Guzman
//
// Distributed under the Boost Software License, Version 1.0. (See
// accomp... | 28.812095 | 81 | 0.672864 | CaseyCarter |
ede75f6b1a867ea023036f613365ea7a4f6ee8e6 | 2,300 | hpp | C++ | include/codegen/include/GlobalNamespace/ShowcaseFlowCoordinator_--c__DisplayClass23_0.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/GlobalNamespace/ShowcaseFlowCoordinator_--c__DisplayClass23_0.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/GlobalNamespace/ShowcaseFlowCoordinator_--c__DisplayClass23_0.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: ShowcaseFlowCoordinator
#include "GlobalNamespace/Showc... | 44.230769 | 161 | 0.763043 | Futuremappermydud |
edea1b661b81bbc2f385075996f26cd3a5195238 | 9,014 | cpp | C++ | src/plugins/azoth/plugins/mucommands/presencecommand.cpp | Maledictus/leechcraft | 79ec64824de11780b8e8bdfd5d8a2f3514158b12 | [
"BSL-1.0"
] | 120 | 2015-01-22T14:10:39.000Z | 2021-11-25T12:57:16.000Z | src/plugins/azoth/plugins/mucommands/presencecommand.cpp | Maledictus/leechcraft | 79ec64824de11780b8e8bdfd5d8a2f3514158b12 | [
"BSL-1.0"
] | 8 | 2015-02-07T19:38:19.000Z | 2017-11-30T20:18:28.000Z | src/plugins/azoth/plugins/mucommands/presencecommand.cpp | Maledictus/leechcraft | 79ec64824de11780b8e8bdfd5d8a2f3514158b12 | [
"BSL-1.0"
] | 33 | 2015-02-07T16:59:55.000Z | 2021-10-12T00:36:40.000Z | /**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE... | 28.983923 | 105 | 0.657089 | Maledictus |
edecd3d42712570e68b08b3e0a7bc6fba150d42a | 777 | cpp | C++ | 64. Minimum Path Sum.cpp | corn1ng/LeetCode-Solution | e7b6f77dd407c9a5cc8be43dc9b0e5d9bc185b95 | [
"Apache-2.0"
] | 6 | 2017-11-18T02:16:35.000Z | 2017-12-17T06:30:40.000Z | 64. Minimum Path Sum.cpp | corn1ng/LeetCode-Solution | e7b6f77dd407c9a5cc8be43dc9b0e5d9bc185b95 | [
"Apache-2.0"
] | null | null | null | 64. Minimum Path Sum.cpp | corn1ng/LeetCode-Solution | e7b6f77dd407c9a5cc8be43dc9b0e5d9bc185b95 | [
"Apache-2.0"
] | null | null | null | // 使用动态规划,先对边缘赋值,然后任意处的值等于左边的和加上左边值和上边的值加上上边和的较小值。
class Solution {
public:
int minPathSum(vector<vector<int>>& grid) {
int hang =grid.size();
int lie = grid[0].size();
vector<vector<int>> dp(hang, vector<int>(lie,0));
int sum=0;
for(int i=0;i<lie;i++)
{
d... | 25.9 | 74 | 0.427284 | corn1ng |
edee5c3ff4d1e47280412bf675746114d67747a8 | 95 | hpp | C++ | waterbox/ares64/ares/ares/ares/node/component/component.hpp | Fortranm/BizHawk | 8cb0ffb6f8964cc339bbe1784838918fb0aa7e27 | [
"MIT"
] | 153 | 2020-07-25T17:55:29.000Z | 2021-10-01T23:45:01.000Z | waterbox/ares64/ares/ares/ares/node/component/component.hpp | Fortranm/BizHawk | 8cb0ffb6f8964cc339bbe1784838918fb0aa7e27 | [
"MIT"
] | 296 | 2021-10-16T18:00:18.000Z | 2022-03-31T12:09:00.000Z | waterbox/ares64/ares/ares/ares/node/component/component.hpp | Fortranm/BizHawk | 8cb0ffb6f8964cc339bbe1784838918fb0aa7e27 | [
"MIT"
] | 44 | 2020-07-25T08:51:55.000Z | 2021-09-25T16:09:01.000Z | struct Component : Object {
DeclareClass(Component, "component");
using Object::Object;
};
| 19 | 39 | 0.715789 | Fortranm |
edef07c0bb0ea3660856db96d9eb45aae43e073c | 2,613 | cxx | C++ | src/api/DynatraceOpenKitBuilder.cxx | dlaubi-dt/openkit-native | b3eca5b4a9a769b6a2c0522ade76960f858ff0da | [
"Apache-2.0"
] | 1 | 2019-12-10T10:29:33.000Z | 2019-12-10T10:29:33.000Z | src/api/DynatraceOpenKitBuilder.cxx | dlaubi-dt/openkit-native | b3eca5b4a9a769b6a2c0522ade76960f858ff0da | [
"Apache-2.0"
] | null | null | null | src/api/DynatraceOpenKitBuilder.cxx | dlaubi-dt/openkit-native | b3eca5b4a9a769b6a2c0522ade76960f858ff0da | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2018-2019 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 agreed to i... | 34.84 | 144 | 0.788749 | dlaubi-dt |
edef102f9ce0626058bb6b8f364bc9e01110ce7f | 1,406 | hpp | C++ | src/visum/statements/balancesheet/PositionLineItem.hpp | Mokon/visum | 53f602fcf22eadd60f446d04a26b4a6e7217c052 | [
"RSA-MD"
] | null | null | null | src/visum/statements/balancesheet/PositionLineItem.hpp | Mokon/visum | 53f602fcf22eadd60f446d04a26b4a6e7217c052 | [
"RSA-MD"
] | null | null | null | src/visum/statements/balancesheet/PositionLineItem.hpp | Mokon/visum | 53f602fcf22eadd60f446d04a26b4a6e7217c052 | [
"RSA-MD"
] | null | null | null | /* Copyright (C) 2013-2016 David 'Mokon' Bond, All Rights Reserved */
#pragma once
#include <boost/concept_check.hpp>
#include <cereal/archives/json.hpp>
#include <visum/statements/LineItem.hpp>
namespace visum {
class PositionLineItem
: public LineItem
{
public:
explicit PositionLineItem(const std::str... | 23.830508 | 106 | 0.656472 | Mokon |
edf93fbcd5ac174bd1ca1cd7704b697d565c23e4 | 331 | hpp | C++ | SniperCommander.hpp | NetanelShimoni/WarGame | ab5bf5c73d0dc00289251e51f7bdaee19d380498 | [
"MIT"
] | null | null | null | SniperCommander.hpp | NetanelShimoni/WarGame | ab5bf5c73d0dc00289251e51f7bdaee19d380498 | [
"MIT"
] | null | null | null | SniperCommander.hpp | NetanelShimoni/WarGame | ab5bf5c73d0dc00289251e51f7bdaee19d380498 | [
"MIT"
] | 1 | 2020-06-09T10:24:56.000Z | 2020-06-09T10:24:56.000Z | #pragma once
#include "Sniper.hpp"
using namespace std;
const int MAX_HP_SC = 120;
const int ACTION_SC = 100;
// namespace WarGame {
class SniperCommander : public Sniper {
public:
SniperCommander(uint pNUM): Sniper(pNUM, MAX_HP_SC, ACTION_SC) {}
void Fight(vector<vector<Soldier*>> &board,pair<int,int> dest... | 19.470588 | 69 | 0.70997 | NetanelShimoni |
edf9a655e5874d88b379d1965a2095de19dbd7b9 | 132 | cpp | C++ | SAMPLE-SOLUTION-1/add.cpp | ucsb-gradescope-tools/sample-cpp-tddFuncs-autograder | 00a7902c012f50c11432f816d15d5ab57f465fa3 | [
"MIT"
] | 1 | 2022-02-24T08:47:57.000Z | 2022-02-24T08:47:57.000Z | SAMPLE-SOLUTION-1/add.cpp | ucsb-gradescope-tools/sample-cpp-tddFuncs-autograder | 00a7902c012f50c11432f816d15d5ab57f465fa3 | [
"MIT"
] | null | null | null | SAMPLE-SOLUTION-1/add.cpp | ucsb-gradescope-tools/sample-cpp-tddFuncs-autograder | 00a7902c012f50c11432f816d15d5ab57f465fa3 | [
"MIT"
] | 6 | 2019-01-11T00:37:13.000Z | 2020-07-17T19:29:11.000Z | // add.h
int addEm(int a, int b) {
return a + b;
}
int bigger(int a, int b) {
if (a > b)
return a;
else
return b;
}
| 10.153846 | 26 | 0.507576 | ucsb-gradescope-tools |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.