hexsha stringlengths 40 40 | size int64 19 11.4M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 3 270 | max_stars_repo_name stringlengths 5 110 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count float64 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 3 270 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 78 | max_issues_repo_licenses listlengths 1 9 | max_issues_count float64 1 67k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 3 270 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 78 | max_forks_repo_licenses listlengths 1 9 | max_forks_count float64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 19 11.4M | avg_line_length float64 1.93 229k | max_line_length int64 12 688k | alphanum_fraction float64 0.07 0.99 | matches listlengths 1 10 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6644e5f3b6c49b0976c495bab7be771a88ab79eb | 2,224 | cpp | C++ | aws-cpp-sdk-apigatewayv2/source/ApiGatewayV2Errors.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-apigatewayv2/source/ApiGatewayV2Errors.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-apigatewayv2/source/ApiGatewayV2Errors.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2022-03-23T15:17:18.000Z | 2022-03-23T15:17:18.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/core/client/AWSError.h>
#include <aws/core/utils/HashingUtils.h>
#include <aws/apigatewayv2/ApiGatewayV2Errors.h>
#include <aws/apigatewayv2/model/NotFoundException.h>
#include <aws/apig... | 32.705882 | 102 | 0.782824 | [
"model"
] |
664534b4d14604e9d126ec83a44f768697539475 | 1,499 | hpp | C++ | src/ArduinoJson/Operators/VariantSubscripts.hpp | iamdev/ESP8266-SmartRelay | 297453d4c05aec8f93012b6cb0a24ecf493ca2bf | [
"MIT"
] | 2 | 2020-01-14T08:38:42.000Z | 2020-10-06T15:22:23.000Z | src/ArduinoJson/Operators/VariantSubscripts.hpp | iamdev/ESP8266-SmartRelay | 297453d4c05aec8f93012b6cb0a24ecf493ca2bf | [
"MIT"
] | 1 | 2019-06-03T00:22:00.000Z | 2019-06-03T00:22:00.000Z | src/ArduinoJson/Operators/VariantSubscripts.hpp | iamdev/ESP8266-SmartRelay | 297453d4c05aec8f93012b6cb0a24ecf493ca2bf | [
"MIT"
] | null | null | null | // ArduinoJson - arduinojson.org
// Copyright Benoit Blanchon 2014-2018
// MIT License
#pragma once
#include "../Polyfills/attributes.hpp"
#include "../Polyfills/type_traits.hpp"
#include "../Strings/StringWrappers.hpp"
#include "../Variant/VariantAs.hpp"
namespace ARDUINOJSON_NAMESPACE {
class ArrayRef;
class Objec... | 28.826923 | 74 | 0.701801 | [
"object"
] |
6646646655c5e5cf87d6fce6959c0359e46bfbda | 17,833 | cpp | C++ | tests/ami_test/derived/client.cpp | ClausKlein/taox11 | 669cfd2d0be258722c7ee32b23f2e5cb83e4520f | [
"MIT"
] | 20 | 2019-11-13T12:31:20.000Z | 2022-02-27T12:30:39.000Z | tests/ami_test/derived/client.cpp | ClausKlein/taox11 | 669cfd2d0be258722c7ee32b23f2e5cb83e4520f | [
"MIT"
] | 46 | 2019-11-15T20:40:18.000Z | 2022-03-31T19:04:36.000Z | tests/ami_test/derived/client.cpp | ClausKlein/taox11 | 669cfd2d0be258722c7ee32b23f2e5cb83e4520f | [
"MIT"
] | 5 | 2019-11-12T15:00:50.000Z | 2022-01-17T17:33:05.000Z | /**
* @file client.cpp
* @author Marijke Hengstmengel
*
* @brief CORBA C++11 client ami test
*
* @copyright Copyright (c) Remedy IT Expertise BV
*/
#include "ace/Get_Opt.h"
#include "ace/Task.h"
#include "ami_testAmiC.h"
#include <thread>
#include "testlib/taox11_testlog.h"
const ACE_TCHAR *ior = ACE_TE... | 31.674956 | 130 | 0.600965 | [
"object"
] |
664e9184f67a3a2e797342a4fb56495eba719ce9 | 2,032 | cpp | C++ | MyImage/Source/PluginEditor.cpp | DASTUDIO/Juce_Audio_Tutorial | e9cdb3fc68c54c24d05b8f38b8384e947f269949 | [
"MIT"
] | 9 | 2020-06-18T16:00:26.000Z | 2021-07-05T07:15:22.000Z | MyImage/Source/PluginEditor.cpp | DASTUDIO/Juce_Audio_Tutorial | e9cdb3fc68c54c24d05b8f38b8384e947f269949 | [
"MIT"
] | null | null | null | MyImage/Source/PluginEditor.cpp | DASTUDIO/Juce_Audio_Tutorial | e9cdb3fc68c54c24d05b8f38b8384e947f269949 | [
"MIT"
] | 1 | 2021-06-06T03:02:36.000Z | 2021-06-06T03:02:36.000Z | /*
==============================================================================
This file was auto-generated!
It contains the basic framework code for a JUCE plugin editor.
==============================================================================
*/
#include "PluginProcessor.h"
#includ... | 34.440678 | 118 | 0.596457 | [
"solid"
] |
5941bdf106f9e53fb1e92d2f8964cee4da417c30 | 4,228 | hpp | C++ | vector.hpp | DoubleEspresso/math-lib | 68ce2be021d28e7321385956cca951e2c3115388 | [
"MIT"
] | null | null | null | vector.hpp | DoubleEspresso/math-lib | 68ce2be021d28e7321385956cca951e2c3115388 | [
"MIT"
] | null | null | null | vector.hpp | DoubleEspresso/math-lib | 68ce2be021d28e7321385956cca951e2c3115388 | [
"MIT"
] | null | null | null | #include "vector.cuh"
namespace Math
{
namespace Vector {
template<typename T>
void dot_cpu(const T * a, const T * b, T * c, const int dim) {
#ifdef _WIN32
LARGE_INTEGER frequency;
LARGE_INTEGER t1, t2;
double elapsedTime;
QueryPerformanceFrequency(&frequency);
QueryPerform... | 28.186667 | 115 | 0.517975 | [
"vector"
] |
5942ba9d4c534f97360e1a5a26c6f2ad1b3c9bad | 13,831 | cpp | C++ | source/windows/brwindowsxinput.cpp | Olde-Skuul/burgerlib | 80848a4dfa17c5c05095ecea14a9bd87f86dfb9d | [
"Zlib"
] | 115 | 2015-01-18T17:29:30.000Z | 2022-01-30T04:31:48.000Z | source/windows/brwindowsxinput.cpp | Olde-Skuul/burgerlib | 80848a4dfa17c5c05095ecea14a9bd87f86dfb9d | [
"Zlib"
] | 9 | 2015-01-22T04:53:38.000Z | 2015-01-31T13:52:40.000Z | source/windows/brwindowsxinput.cpp | Olde-Skuul/burgerlib | 80848a4dfa17c5c05095ecea14a9bd87f86dfb9d | [
"Zlib"
] | 9 | 2015-01-23T20:06:46.000Z | 2020-05-20T16:06:00.000Z | /***************************************
Shims for xinput1_4.dll or xinput1_3.dll
Copyright (c) 1995-2021 by Rebecca Ann Heineman <becky@burgerbecky.com>
It is released under an MIT Open Source license. Please see LICENSE for
license details. Yes, you can use it in a commercial title without paying
... | 37.997253 | 138 | 0.717952 | [
"render"
] |
594eca48d024efe604b08eadd96d1c602b576a50 | 4,385 | cc | C++ | tgt-dfg/src/dot_graph.cc | timothytrippel/bomberman | 517114a062e3b3160858af86b06334891a7e4554 | [
"BSD-2-Clause"
] | 1 | 2022-01-18T06:50:54.000Z | 2022-01-18T06:50:54.000Z | tgt-dfg/src/dot_graph.cc | timothytrippel/bomberman | 517114a062e3b3160858af86b06334891a7e4554 | [
"BSD-2-Clause"
] | 3 | 2021-03-26T20:45:07.000Z | 2022-01-13T03:30:40.000Z | tgt-dfg/src/dot_graph.cc | timothytrippel/bomberman | 517114a062e3b3160858af86b06334891a7e4554 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright © 2019, Massachusetts Institute of Technology
*
* All rights reserved.
*
* 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,... | 35.942623 | 79 | 0.651539 | [
"shape"
] |
595380724849861fd186be8e39e0ee0bb1c8fb2e | 2,016 | cpp | C++ | 00138_copy-list-with-random-pointer/200211-1.cpp | yanlinlin82/leetcode | ddcc0b9606d951cff9c08d1f7dfbc202067c8d65 | [
"MIT"
] | 6 | 2019-10-23T01:07:29.000Z | 2021-12-05T01:51:16.000Z | 00138_copy-list-with-random-pointer/200211-1.cpp | yanlinlin82/leetcode | ddcc0b9606d951cff9c08d1f7dfbc202067c8d65 | [
"MIT"
] | null | null | null | 00138_copy-list-with-random-pointer/200211-1.cpp | yanlinlin82/leetcode | ddcc0b9606d951cff9c08d1f7dfbc202067c8d65 | [
"MIT"
] | 1 | 2021-12-03T06:54:57.000Z | 2021-12-03T06:54:57.000Z | // https://leetcode-cn.com/problems/copy-list-with-random-pointer/
#include <cstdio>
#include <vector>
#include <unordered_map>
using namespace std;
class Node {
public:
int val;
Node* next;
Node* random;
Node(int _val) {
val = _val;
next = NULL;
random = NULL;
}
};
class Solution {
public:
Node* copyRan... | 18.327273 | 70 | 0.549107 | [
"vector"
] |
5959c197680461986560538dad29f4c670ffc754 | 22,368 | cpp | C++ | DeviceCode/Targets/OS/Toppers/fmp/cfg/toppers/oil/factory.cpp | Sirokujira/MicroFrameworkPK_v4_3 | a0d80b4fd8eeda6dbdb58f6f7beb4f07f7ef563e | [
"Apache-2.0"
] | null | null | null | DeviceCode/Targets/OS/Toppers/fmp/cfg/toppers/oil/factory.cpp | Sirokujira/MicroFrameworkPK_v4_3 | a0d80b4fd8eeda6dbdb58f6f7beb4f07f7ef563e | [
"Apache-2.0"
] | null | null | null | DeviceCode/Targets/OS/Toppers/fmp/cfg/toppers/oil/factory.cpp | Sirokujira/MicroFrameworkPK_v4_3 | a0d80b4fd8eeda6dbdb58f6f7beb4f07f7ef563e | [
"Apache-2.0"
] | 1 | 2019-12-05T18:59:01.000Z | 2019-12-05T18:59:01.000Z | /*
* TOPPERS Software
* Toyohashi Open Platform for Embedded Real-Time Systems
*
* Copyright (C) 2007-2012 by TAKAGI Nobuhisa
* Copyright (C) 2010 by Meika Sugimoto
*
* 上記著作権者は,以下の(1)〜(4)の条件を満たす場合に限り,本ソフトウェ
* ア(本ソフトウェアを改変したものを含む.以下同じ)を使用・複製・改
* 変・再配布(以下,利用と呼ぶ)することを無償で許諾する.
* (1) 本ソフトウェアをソースコードの形で... | 33.737557 | 156 | 0.511221 | [
"vector"
] |
595a6733a67a99b589b1d1c08f000442fab2897d | 5,569 | cc | C++ | diagnostics/cros_healthd/fetchers/storage/device_manager_test.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | diagnostics/cros_healthd/fetchers/storage/device_manager_test.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | diagnostics/cros_healthd/fetchers/storage/device_manager_test.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2020 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "diagnostics/cros_healthd/fetchers/storage/device_manager.h"
#include <cstdint>
#include <memory>
#include <string>
#include <utility>
#inclu... | 38.406897 | 80 | 0.73155 | [
"vector"
] |
5967bcfd25742bad4a231299608e256ec9245ef1 | 7,328 | cpp | C++ | project7/osm.cpp | JSneak/UIC-Pathfinder | 68d492ec7bef87a604027f1497534333fa68421b | [
"MIT"
] | null | null | null | project7/osm.cpp | JSneak/UIC-Pathfinder | 68d492ec7bef87a604027f1497534333fa68421b | [
"MIT"
] | null | null | null | project7/osm.cpp | JSneak/UIC-Pathfinder | 68d492ec7bef87a604027f1497534333fa68421b | [
"MIT"
] | null | null | null | /*osm.cpp*/
//
// Prof. Joe Hummel
// U. of Illinois, Chicago
// CS 251: Spring 2020
// Project #07: open street maps, graphs, and Dijkstra's alg
//
// References:
// TinyXML: https://github.com/leethomason/tinyxml2
// OpenStreetMap: https://www.openstreetmap.org
// OpenStreetMap docs:
// https://wiki.openstreetm... | 22.341463 | 87 | 0.595524 | [
"object",
"vector"
] |
5977b74e39da4984a648d51dafc26a0b41b64e1d | 2,875 | hpp | C++ | Libraries/Utility/GEK/Utility/Context.hpp | xycsoscyx/gekengine | cb9c933c6646169c0af9c7e49be444ff6f97835d | [
"MIT"
] | 1 | 2019-04-22T00:10:49.000Z | 2019-04-22T00:10:49.000Z | Libraries/Utility/GEK/Utility/Context.hpp | xycsoscyx/gekengine | cb9c933c6646169c0af9c7e49be444ff6f97835d | [
"MIT"
] | null | null | null | Libraries/Utility/GEK/Utility/Context.hpp | xycsoscyx/gekengine | cb9c933c6646169c0af9c7e49be444ff6f97835d | [
"MIT"
] | 2 | 2017-10-16T15:40:55.000Z | 2019-04-22T00:10:50.000Z | /// @file
/// @author Todd Zupan <toddzupan@gmail.com>
/// @version $Revision$
/// @section LICENSE
/// https://en.wikipedia.org/wiki/MIT_License
/// @section DESCRIPTION
/// Last Changed: $Date$
#pragma once
#include "GEK/Utility/String.hpp"
#include "GEK/Utility/FileSystem.hpp"
#include "GEK/Utility/Profiler.hpp"
#i... | 38.851351 | 162 | 0.668174 | [
"vector"
] |
597e0eef8ffe5e415a7bded8e37c9296d8e9532d | 4,540 | cpp | C++ | src/Libs/CodecUtils/FastMotionVectorVlcDecoderImpl1.cpp | miseri/rtp_plus_plus | 244ddd86f40f15247dd39ae7f9283114c2ef03a2 | [
"BSD-3-Clause"
] | 1 | 2021-07-14T08:15:05.000Z | 2021-07-14T08:15:05.000Z | src/Libs/CodecUtils/FastMotionVectorVlcDecoderImpl1.cpp | 7956968/rtp_plus_plus | 244ddd86f40f15247dd39ae7f9283114c2ef03a2 | [
"BSD-3-Clause"
] | null | null | null | src/Libs/CodecUtils/FastMotionVectorVlcDecoderImpl1.cpp | 7956968/rtp_plus_plus | 244ddd86f40f15247dd39ae7f9283114c2ef03a2 | [
"BSD-3-Clause"
] | 2 | 2021-07-14T08:15:02.000Z | 2021-07-14T08:56:10.000Z | /** @file
MODULE : FastMotionVectorVlcDecoderImpl1
TAG : FMVVDI1
FILE NAME : FastMotionVectorVlcDecoderImpl1.cpp
DESCRIPTION : A fast motion vector Vlc decoder implementation with an
IVlcDecoder Interface and derived from MotionVlcDecoder.
REVISION HISTORY :
:
... | 21.722488 | 94 | 0.577313 | [
"vector"
] |
598de6140cf54684b79aa0231c54e2a131280ff5 | 1,205 | cc | C++ | experiment.cc | mesorangerxx/Randomization-Sorting | b4dcdf83601a4022618a7692a2cf222d1538635b | [
"MIT"
] | null | null | null | experiment.cc | mesorangerxx/Randomization-Sorting | b4dcdf83601a4022618a7692a2cf222d1538635b | [
"MIT"
] | null | null | null | experiment.cc | mesorangerxx/Randomization-Sorting | b4dcdf83601a4022618a7692a2cf222d1538635b | [
"MIT"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////
// experiment.cc
//
// Example code showing how to run an algorithm once and measure its elapsed
// time precisely. You should modify this program to gather all of your
// experimental data.
//
//////////////////////////////////////////////... | 21.140351 | 79 | 0.554357 | [
"vector"
] |
599b1ce63faabad7b8f8f100e5c31f7d0153f728 | 813 | cpp | C++ | CodeWars/Fundamentals/BuildTower/BuildTower.cpp | CajetanP/programming-exercises | aee01ff3208ab14e7d0e0a7077798342123bc3e6 | [
"MIT"
] | 1 | 2017-06-23T16:39:17.000Z | 2017-06-23T16:39:17.000Z | CodeWars/Fundamentals/BuildTower/BuildTower.cpp | CajetanP/coding-exercises | aee01ff3208ab14e7d0e0a7077798342123bc3e6 | [
"MIT"
] | 10 | 2021-05-09T00:06:22.000Z | 2021-09-02T12:07:41.000Z | CodeWars/Fundamentals/BuildTower/BuildTower.cpp | mrkajetanp/programming-exercises | aee01ff3208ab14e7d0e0a7077798342123bc3e6 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <cassert>
class Kata {
public:
static std::vector<std::string> towerBuilder (int nFloors);
};
std::vector<std::string> Kata::towerBuilder (int nFloors) {
std::vector<std::string> res;
for (int i = 0 ; i < nFloors ; ++i)
res.push_back (std::string (nF... | 21.972973 | 63 | 0.522755 | [
"vector"
] |
59a27b8bf61afad7be492b777d44016fe768c564 | 2,135 | cc | C++ | dune/stuff/test/common_ranges.cc | ftalbrecht/dune-stuff-simplified | fc1f80dedaa78fae6e6d67e8f5424a6b3ec86b5d | [
"BSD-2-Clause"
] | null | null | null | dune/stuff/test/common_ranges.cc | ftalbrecht/dune-stuff-simplified | fc1f80dedaa78fae6e6d67e8f5424a6b3ec86b5d | [
"BSD-2-Clause"
] | null | null | null | dune/stuff/test/common_ranges.cc | ftalbrecht/dune-stuff-simplified | fc1f80dedaa78fae6e6d67e8f5424a6b3ec86b5d | [
"BSD-2-Clause"
] | null | null | null |
// This file is part of the dune-stuff project:
// https://github.com/wwu-numerik/dune-stuff
// Copyright holders: Rene Milk, Felix Schindler
// License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
#include "main.hxx"
#if HAVE_DUNE_GRID
#include <dune/grid/yaspgrid.hh>
#include <dune/stuff... | 29.652778 | 83 | 0.659953 | [
"geometry"
] |
59a410936145f18fc3025ae1bbcb48b4e6ee3b6e | 5,003 | hpp | C++ | src/instance/resource.hpp | kit-algo/TCPSPSuite | 01499b4fb0f28bda72115a699cd762c70d7fff63 | [
"MIT"
] | 3 | 2018-05-02T11:45:57.000Z | 2020-09-14T08:35:43.000Z | src/instance/resource.hpp | kit-algo/TCPSPSuite | 01499b4fb0f28bda72115a699cd762c70d7fff63 | [
"MIT"
] | null | null | null | src/instance/resource.hpp | kit-algo/TCPSPSuite | 01499b4fb0f28bda72115a699cd762c70d7fff63 | [
"MIT"
] | null | null | null | #ifndef RESOURCE_HPP
#define RESOURCE_HPP
#include "generated_config.hpp"
#include <boost/container/small_vector.hpp>
#include <type_traits>
#include <utility> // for pair
#include <vector> // for allocator, vector
// one term: coefficient, exponent
typedef std::pair<double, double> poly_term;
// list of terms
// ... | 28.265537 | 79 | 0.740955 | [
"vector"
] |
59ae501d5bf5ff457d1719a528dc4537653c2baf | 1,622 | cpp | C++ | SMOL/main.cpp | all500234765/SMOL | d6f1e9401105cd1bf2209f30311dc90bcc78e43b | [
"MIT"
] | null | null | null | SMOL/main.cpp | all500234765/SMOL | d6f1e9401105cd1bf2209f30311dc90bcc78e43b | [
"MIT"
] | null | null | null | SMOL/main.cpp | all500234765/SMOL | d6f1e9401105cd1bf2209f30311dc90bcc78e43b | [
"MIT"
] | null | null | null | #include "pc.h"
#include "Engine.h"
#include "Platform/Pipeline.h"
#include <pspdebug.h>
PSP_MODULE_INFO("smol_test", PSP_MODULE_USER, 1, 0);
class MyGame final: public Game {
private:
Data data;
VertexBuffer vb;
Mesh mesh;
public:
virtual void GameStart() override {
/*pspDebugScreenInit();... | 20.794872 | 73 | 0.53021 | [
"mesh"
] |
59b2c9ccb6220809b55bba82c95d1c342451a27d | 10,870 | cpp | C++ | lumino/Graphics/src/Rendering/RenderView.cpp | lriki/Lumino | 1a80430f4a83dbdfbe965b3d5b16064991b3edb0 | [
"MIT"
] | 30 | 2016-01-24T05:35:45.000Z | 2020-03-03T09:54:27.000Z | lumino/Graphics/src/Rendering/RenderView.cpp | lriki/Lumino | 1a80430f4a83dbdfbe965b3d5b16064991b3edb0 | [
"MIT"
] | 35 | 2016-04-18T06:14:08.000Z | 2020-02-09T15:51:58.000Z | lumino/Graphics/src/Rendering/RenderView.cpp | lriki/Lumino | 1a80430f4a83dbdfbe965b3d5b16064991b3edb0 | [
"MIT"
] | 5 | 2016-04-03T02:52:05.000Z | 2018-01-02T16:53:06.000Z | /*
[2022/5/8] 描画先は RenderTatget で指定るるべきか? RenderPass で指定するべきか?
----------
外部 OpenGL のバックバッファへの直接描画を行うときは、RenderPass を使わざるを得ない。
そういった時は中間の RenderTarget を1枚用意してくれ、という仕様にするのもアリだが、VRAM がすごく無駄になるのが気になる。
RenderPass を受け取るということは、内部での beginRenderPass 呼び出し時にクリア処理が走る可能性を考慮する必要がある、ということ。
-> これに関しては今もそんなに変わらなくて、SceneRender... | 38.409894 | 150 | 0.711408 | [
"geometry",
"render",
"object"
] |
59b5171eeb15611a48ffdf245a8f6b0f62e58129 | 770 | hpp | C++ | src/math/vec3.hpp | simonfxr/gl | 11705f718d27657fc76243d59a251f49c0a41486 | [
"MIT"
] | null | null | null | src/math/vec3.hpp | simonfxr/gl | 11705f718d27657fc76243d59a251f49c0a41486 | [
"MIT"
] | null | null | null | src/math/vec3.hpp | simonfxr/gl | 11705f718d27657fc76243d59a251f49c0a41486 | [
"MIT"
] | null | null | null | #ifndef MATH_VEC3_HPP
#define MATH_VEC3_HPP
#include "math/genvec.hpp"
namespace math {
using vec3_t = genvec<real, 3>;
inline constexpr vec3_t
vec3(real x, real y, real z)
{
return vec3_t::make(x, y, z);
}
template<typename T>
inline constexpr vec3_t
vec3(const genvec<T, 3> &v)
{
return vec3_t::convert(v)... | 15.098039 | 73 | 0.694805 | [
"vector"
] |
59bc5ed52f53922e3009d383567aa111a1950280 | 7,251 | cpp | C++ | src/Samples/src/samples/meshes/super_ellipsoid_scene.cpp | sacceus/BabylonCpp | 94669cf7cbe3214ec6e905cbf249fa0c9daf6222 | [
"Apache-2.0"
] | 277 | 2017-05-18T08:27:10.000Z | 2022-03-26T01:31:37.000Z | src/Samples/src/samples/meshes/super_ellipsoid_scene.cpp | sacceus/BabylonCpp | 94669cf7cbe3214ec6e905cbf249fa0c9daf6222 | [
"Apache-2.0"
] | 77 | 2017-09-03T15:35:02.000Z | 2022-03-28T18:47:20.000Z | src/Samples/src/samples/meshes/super_ellipsoid_scene.cpp | sacceus/BabylonCpp | 94669cf7cbe3214ec6e905cbf249fa0c9daf6222 | [
"Apache-2.0"
] | 37 | 2017-03-30T03:36:24.000Z | 2022-01-28T08:28:36.000Z | #include <babylon/babylon_stl_util.h>
#include <babylon/cameras/arc_rotate_camera.h>
#include <babylon/interfaces/irenderable_scene.h>
#include <babylon/lights/hemispheric_light.h>
#include <babylon/materials/standard_material.h>
#include <babylon/maths/color3.h>
#include <babylon/maths/scalar.h>
#include <babylon/mesh... | 42.403509 | 100 | 0.633292 | [
"mesh",
"vector"
] |
59bce6421d87a065f4ca818203f12c5ec42bcb39 | 4,477 | cpp | C++ | MCM/MCMEncoder.cpp | StephanBusch/7-Zip | 35c215fbc3efc16951182f6127885d22d11a018e | [
"Apache-2.0"
] | 14 | 2016-08-17T09:45:30.000Z | 2021-12-01T23:06:20.000Z | MCM/MCMEncoder.cpp | StephanBusch/7-Zip | 35c215fbc3efc16951182f6127885d22d11a018e | [
"Apache-2.0"
] | 2 | 2018-06-03T07:17:39.000Z | 2021-12-14T22:30:10.000Z | MCM/MCMEncoder.cpp | StephanBusch/7-Zip | 35c215fbc3efc16951182f6127885d22d11a018e | [
"Apache-2.0"
] | 5 | 2016-07-21T05:08:55.000Z | 2021-11-16T02:18:45.000Z | // MCMEncoder.cpp
#define NOMINMAX
#include "CPP/7zip/Compress/StdAfx.h"
#include "C/Alloc.h"
#include "CPP/7zip/Common/CWrappers.h"
#include "CPP/7zip/Common/StreamUtils.h"
#include "MCMEncoder.h"
#include "PackjpgCoder.h"
namespace NCompress {
namespace NMCM {
using namespace NCompress::NPackjpg;
CEncoder::CE... | 28.157233 | 96 | 0.684164 | [
"vector"
] |
59de9dbd320bdae9b9a890880694b86a0ebff1a4 | 741 | cpp | C++ | src/line-fill-format.cpp | dashboardvision/aspose-php | e2931773cbb1f47ae4086d632faa3012bd952b99 | [
"MIT"
] | null | null | null | src/line-fill-format.cpp | dashboardvision/aspose-php | e2931773cbb1f47ae4086d632faa3012bd952b99 | [
"MIT"
] | null | null | null | src/line-fill-format.cpp | dashboardvision/aspose-php | e2931773cbb1f47ae4086d632faa3012bd952b99 | [
"MIT"
] | 1 | 2021-06-23T08:02:03.000Z | 2021-06-23T08:02:03.000Z | #include "../include/aspose.h"
#include "../include/line-fill-format.h"
#include "../include/color-format.h"
#include <phpcpp.h>
using namespace Aspose::Slides;
using namespace std;
namespace AsposePhp {
void LineFillFormat::set_FillType(Php::Parameters ¶ms)
{
FillType type = (FillType)params[0... | 21.794118 | 151 | 0.651822 | [
"object"
] |
59e7a8bf070de25629acd3e2272758fa8b624401 | 1,558 | cpp | C++ | src/TwoSum.cpp | evagle/leetcode | 8309c6b89ed377f5882d7453691a6b3842cf9586 | [
"Apache-2.0"
] | null | null | null | src/TwoSum.cpp | evagle/leetcode | 8309c6b89ed377f5882d7453691a6b3842cf9586 | [
"Apache-2.0"
] | null | null | null | src/TwoSum.cpp | evagle/leetcode | 8309c6b89ed377f5882d7453691a6b3842cf9586 | [
"Apache-2.0"
] | null | null | null | /**
* Brian
* 2014.9.11
*/
#include <iostream>
#include <vector>
#include <map>
using namespace std;
class Solution {
public:
vector<int> twoSum(vector<int> &numbers, int target) {
std::map<int, vector<int>> smap ;
vector<int> result;
for (int i = 0; i < numbers.size(); i++) {
... | 23.969231 | 63 | 0.422336 | [
"vector"
] |
59efb32b4c5f457faf780b44ccf9d1fd918ff398 | 2,751 | cpp | C++ | Game/grid.cpp | maxPrakken/Intake | 42f861292887a14bd1bb8c5aa8b5fdd5deee8e9e | [
"MIT"
] | null | null | null | Game/grid.cpp | maxPrakken/Intake | 42f861292887a14bd1bb8c5aa8b5fdd5deee8e9e | [
"MIT"
] | null | null | null | Game/grid.cpp | maxPrakken/Intake | 42f861292887a14bd1bb8c5aa8b5fdd5deee8e9e | [
"MIT"
] | null | null | null | #include "Grid.h"
Grid::Grid() : Entity()
{
grid = Vector2(2, 2);
spawnPos = Vector2(0, 0);
startX = spawnPos.x;
size = Vector2(0, 0);
firstTile = true;
tileTexture = "assets/INA.png";
buildgrid();
}
Grid::Grid(Vector2 gridSize, std::string tiletexture)
{
grid = gridSize;
spawnPos = Vector2(0, 0);
pos =... | 18.463087 | 105 | 0.652126 | [
"vector"
] |
59f38c5d683efd01c93c6445776f4808aae8ec21 | 11,405 | cc | C++ | iioservice/daemon/sensor_device_impl_test.cc | strassek/chromiumos-platform2 | 12c953f41f48b8a6b0bd1c181d09bdb1de38325c | [
"BSD-3-Clause"
] | null | null | null | iioservice/daemon/sensor_device_impl_test.cc | strassek/chromiumos-platform2 | 12c953f41f48b8a6b0bd1c181d09bdb1de38325c | [
"BSD-3-Clause"
] | null | null | null | iioservice/daemon/sensor_device_impl_test.cc | strassek/chromiumos-platform2 | 12c953f41f48b8a6b0bd1c181d09bdb1de38325c | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2020 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <gtest/gtest.h>
#include <set>
#include <utility>
#include <base/run_loop.h>
#include <base/task/single_thread_task_executor.h>
#include <ba... | 34.456193 | 80 | 0.671811 | [
"vector"
] |
59f6f83b431cabc54e350c8416a2b60df9038a7b | 47,271 | cpp | C++ | Source/Gadgets/Statistics/Histogram/Histogram.cpp | spxuw/RFIM | 32b78fbb90c7008b1106b0cff4f8023ae83c9b6d | [
"MIT"
] | null | null | null | Source/Gadgets/Statistics/Histogram/Histogram.cpp | spxuw/RFIM | 32b78fbb90c7008b1106b0cff4f8023ae83c9b6d | [
"MIT"
] | null | null | null | Source/Gadgets/Statistics/Histogram/Histogram.cpp | spxuw/RFIM | 32b78fbb90c7008b1106b0cff4f8023ae83c9b6d | [
"MIT"
] | null | null | null | #include "Histogram.h"
// P(k) = C(N-1,k) p^k (1-p)^(N-1-k)
double Binomial(int N, double p, int k)
{
double Pk = 1;
for (int i=1; i<=k ; i++)
Pk *= (N-i)*p/(double)i;
for (int i=1; i<=N-1-k; i++)
Pk *= (1-p);
return Pk;
}
///////////////////////////////////////////////////////////////////////////
... | 26.797619 | 240 | 0.478116 | [
"vector",
"model",
"solid"
] |
9404ca33bcb04ee99c410ffa957cdd1639ad4ad8 | 2,718 | cpp | C++ | Crossy_Roads/CubeMesh.cpp | Daryan7/Crossy_Roads | af816aa73ba29241fb1db4722940e42be8a76102 | [
"MIT"
] | 1 | 2018-04-18T12:54:33.000Z | 2018-04-18T12:54:33.000Z | Crossy_Roads/CubeMesh.cpp | Daryan7/Crossy_Roads | af816aa73ba29241fb1db4722940e42be8a76102 | [
"MIT"
] | null | null | null | Crossy_Roads/CubeMesh.cpp | Daryan7/Crossy_Roads | af816aa73ba29241fb1db4722940e42be8a76102 | [
"MIT"
] | null | null | null | #include "CubeMesh.h"
using namespace glm;
#include "Scene.h"
void CubeMesh::render() const {
Scene::sceneTriangles += totalTriangles;
Scene::sceneDrawCalls += 1;
glDrawElements(renderMode, nVertices, GL_UNSIGNED_INT, (void*)0);
}
void CubeMesh::init() {
static const float vertices[] = {
-1.0f, -1.0f, -1.f,
... | 15.1 | 81 | 0.562914 | [
"render"
] |
9406df0c9d38030f9064a118f9cb11408c902584 | 574 | hpp | C++ | core/include/utility/Cubic_Hermite_Spline.hpp | ddkn/spirit | 8e51bcdd78ee05d433d000c7e389fe1e6c3716bc | [
"MIT"
] | 92 | 2016-10-02T16:17:27.000Z | 2022-02-22T11:23:49.000Z | core/include/utility/Cubic_Hermite_Spline.hpp | ddkn/spirit | 8e51bcdd78ee05d433d000c7e389fe1e6c3716bc | [
"MIT"
] | 590 | 2016-09-24T12:46:36.000Z | 2022-03-24T18:27:18.000Z | core/include/utility/Cubic_Hermite_Spline.hpp | ddkn/spirit | 8e51bcdd78ee05d433d000c7e389fe1e6c3716bc | [
"MIT"
] | 46 | 2016-09-26T07:20:17.000Z | 2022-02-17T19:55:17.000Z | #pragma once
#ifndef UTILITY_CUBIC_HERMITE_SPLINE_H
#define UTILITY_CUBIC_HERMITE_SPLINE_H
#include "Spirit_Defines.h"
#include <vector>
namespace Utility
{
namespace Cubic_Hermite_Spline
{
// Interplation by cubic Hermite spline, see http://de.wikipedia.org/wiki/Kubisch_Hermitescher_Spli... | 30.210526 | 169 | 0.729965 | [
"vector"
] |
940bcc9c4207b7b5ae1b8e350f237e3c5803b781 | 1,321 | cpp | C++ | code/indexed_sort-now.cpp | ldionne/cppnow-2015-hana | 2f9e86996b61b11e19486741f59ef217ea9125a7 | [
"MIT"
] | 2 | 2021-07-02T22:23:54.000Z | 2022-01-22T19:44:15.000Z | code/indexed_sort-now.cpp | ldionne/cppnow-2015-hana | 2f9e86996b61b11e19486741f59ef217ea9125a7 | [
"MIT"
] | null | null | null | code/indexed_sort-now.cpp | ldionne/cppnow-2015-hana | 2f9e86996b61b11e19486741f59ef217ea9125a7 | [
"MIT"
] | null | null | null | // Copyright Louis Dionne 2015
// Distributed under the Boost Software License, Version 1.0.
#include <boost/hana.hpp>
#include <cstddef>
using namespace boost::hana;
using namespace boost::hana::literals;
// sample(indexed_sort-now-impl)
auto indexed_sort = [](auto list, auto predicate) {
auto indices = to<Tuple... | 25.901961 | 72 | 0.679788 | [
"transform"
] |
940c607d0a7d52bc4becf2ac97842e746a00c607 | 6,288 | hpp | C++ | src/libv/ui/property_access_context.hpp | cpplibv/libv | 293e382f459f0acbc540de8ef6283782b38d2e63 | [
"Zlib"
] | 2 | 2018-04-11T03:07:03.000Z | 2019-03-29T15:24:12.000Z | src/libv/ui/property_access_context.hpp | cpplibv/libv | 293e382f459f0acbc540de8ef6283782b38d2e63 | [
"Zlib"
] | null | null | null | src/libv/ui/property_access_context.hpp | cpplibv/libv | 293e382f459f0acbc540de8ef6283782b38d2e63 | [
"Zlib"
] | 1 | 2021-06-13T06:39:06.000Z | 2021-06-13T06:39:06.000Z | // Project: libv.ui, File: src/libv/ui/property_access_context.hpp, Author: Császár Mátyás [Vader]
#pragma once
// libv
#include <libv/utility/observer_ptr.hpp>
// std
#include <string_view>
#include <type_traits>
// pro
//#include <libv/ui/core_component.hpp>
#include <libv/ui/style.hpp>
namespace libv {
namespace... | 29.660377 | 158 | 0.672551 | [
"object",
"vector"
] |
940d46baf73f2d600cff6edc37c29a3a36bf5d90 | 5,302 | cpp | C++ | paddle/legacy/gserver/tests/test_Upsample.cpp | jerrywgz/Paddle | 85c4912755b783dd7554a9d6b9dae4a7e40371bc | [
"Apache-2.0"
] | 9 | 2017-12-04T02:58:01.000Z | 2020-12-03T14:46:30.000Z | paddle/legacy/gserver/tests/test_Upsample.cpp | jerrywgz/Paddle | 85c4912755b783dd7554a9d6b9dae4a7e40371bc | [
"Apache-2.0"
] | 7 | 2017-12-05T20:29:08.000Z | 2018-10-15T08:57:40.000Z | paddle/legacy/gserver/tests/test_Upsample.cpp | jerrywgz/Paddle | 85c4912755b783dd7554a9d6b9dae4a7e40371bc | [
"Apache-2.0"
] | 6 | 2018-03-19T22:38:46.000Z | 2019-11-01T22:28:27.000Z | /* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
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 ... | 34.428571 | 80 | 0.693512 | [
"vector"
] |
9411f141d31799962711d4456b0f0dc851aca04d | 778 | cpp | C++ | multiprecision/MPEncArray.cpp | fionser/MDLHElib | 3c686ab35d7b26a893213a6e9d4249cd46c2969d | [
"MIT"
] | 5 | 2017-01-16T06:20:07.000Z | 2018-05-17T12:36:34.000Z | multiprecision/MPEncArray.cpp | fionser/MDLHElib | 3c686ab35d7b26a893213a6e9d4249cd46c2969d | [
"MIT"
] | null | null | null | multiprecision/MPEncArray.cpp | fionser/MDLHElib | 3c686ab35d7b26a893213a6e9d4249cd46c2969d | [
"MIT"
] | 2 | 2017-08-26T13:16:35.000Z | 2019-03-15T02:08:20.000Z | #include "MPEncArray.hpp"
#include "MPContext.hpp"
MPEncArray::MPEncArray(const MPContext &context)
: m_r(context.getR()),
m_plainSpace(context.plainSpace()),
m_primes(context.primes())
{
auto parts = context.partsNum();
arrays.reserve(parts);
for (long i = 0; i < parts; i++) {
auto ... | 26.827586 | 70 | 0.595116 | [
"vector"
] |
9413e90694f5f94c3d1b85e58cd10d4c2440ed5f | 15,011 | cpp | C++ | libmesh/plugins/nvtt/TextureAtlasFilter.cpp | pathorn/sirikata | 5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa | [
"BSD-3-Clause"
] | 1 | 2016-05-09T03:34:51.000Z | 2016-05-09T03:34:51.000Z | libmesh/plugins/nvtt/TextureAtlasFilter.cpp | pathorn/sirikata | 5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa | [
"BSD-3-Clause"
] | null | null | null | libmesh/plugins/nvtt/TextureAtlasFilter.cpp | pathorn/sirikata | 5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa | [
"BSD-3-Clause"
] | null | null | null | /* Sirikata
* TextureAtlasFilter.cpp
*
* Copyright (c) 2011, Ewen Cheslack-Postava
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of source code must retain... | 40.352151 | 173 | 0.628206 | [
"mesh",
"geometry",
"vector",
"transform"
] |
94176fafa12997c7936e66f52ecba499b165c1bf | 1,614 | cpp | C++ | project1/sectE/cart_coord.cpp | wood-b/CompBook | 5a0d5764d1d9ed97b54b7ce91048471b70dadb7d | [
"BSD-3-Clause"
] | 2 | 2015-07-13T21:55:22.000Z | 2015-07-20T17:04:40.000Z | project1/sectD/cart_coord.cpp | wood-b/CompBook | 5a0d5764d1d9ed97b54b7ce91048471b70dadb7d | [
"BSD-3-Clause"
] | 1 | 2015-07-13T22:06:43.000Z | 2015-07-16T16:54:43.000Z | project1/sectE/cart_coord.cpp | wood-b/CompBook | 5a0d5764d1d9ed97b54b7ce91048471b70dadb7d | [
"BSD-3-Clause"
] | null | null | null | #include "cart_coord.h"
#include <iostream>
cart_coord::cart_coord() {}
std::vector<double>& cart_coord::atom(int n) {
return m_coord[n];
}
void cart_coord::setAtom_xyz(double x, double y, double z) {
std::vector<double> xyz = {x, y, z};
m_coord.push_back(xyz);
}
double& cart_coord::atom_x(int n) {
... | 25.619048 | 88 | 0.621437 | [
"vector"
] |
941dc2a7dd8fe979bd1da18920e06c1cb056a10b | 1,629 | cpp | C++ | src/wiztk/system/threading/thread/private.cpp | wiztk/framework | 179baf8a24406b19d3f4ea28e8405358b21f8446 | [
"Apache-2.0"
] | 37 | 2017-11-22T14:15:33.000Z | 2021-11-25T20:39:39.000Z | src/wiztk/system/threading/thread/private.cpp | wiztk/framework | 179baf8a24406b19d3f4ea28e8405358b21f8446 | [
"Apache-2.0"
] | 3 | 2018-03-01T12:44:22.000Z | 2021-01-04T23:14:41.000Z | src/wiztk/system/threading/thread/private.cpp | wiztk/framework | 179baf8a24406b19d3f4ea28e8405358b21f8446 | [
"Apache-2.0"
] | 10 | 2017-11-25T19:09:11.000Z | 2020-12-02T02:05:47.000Z | /*
* Copyright 2017 - 2018 The WizTK Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 25.857143 | 83 | 0.717004 | [
"object"
] |
9425e3ea3fd3b25f212ce261f2aabd1bb13a9a88 | 3,134 | cpp | C++ | aws-cpp-sdk-ssm-incidents/source/model/IncidentRecordSummary.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-12T08:09:30.000Z | 2022-02-12T08:09:30.000Z | aws-cpp-sdk-ssm-incidents/source/model/IncidentRecordSummary.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2021-10-14T16:57:00.000Z | 2021-10-18T10:47:24.000Z | aws-cpp-sdk-ssm-incidents/source/model/IncidentRecordSummary.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/ssm-incidents/model/IncidentRecordSummary.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace... | 20.754967 | 105 | 0.731015 | [
"model"
] |
942fefe3efe25338f5032f999a93a2751638baa0 | 525 | cpp | C++ | source/A-small-0.cpp | amirasaad/codejam-commandline | f49eccee781358a0af61ad85862147cf065ded63 | [
"Apache-2.0"
] | 4 | 2016-04-11T08:53:54.000Z | 2017-04-08T21:22:02.000Z | source/A-small-0.cpp | amirasaad/codejam-commandline | f49eccee781358a0af61ad85862147cf065ded63 | [
"Apache-2.0"
] | 1 | 2018-01-12T09:51:07.000Z | 2018-01-14T17:13:02.000Z | source/A-small-0.cpp | amirasaad/codejam-commandline | f49eccee781358a0af61ad85862147cf065ded63 | [
"Apache-2.0"
] | 13 | 2017-01-12T11:13:40.000Z | 2019-04-19T10:02:34.000Z | #include "cmath"
#include "cstdio"
#include "algorithm"
#include "map"
#include "numeric"
#include "queue"
#include "set"
#include "string"
#include "utility"
#include "vector"
using namespace std;
typedef long long i64;
int main() {
int T; scanf("%d", &T);
for (int Ti = 1; Ti <= T; ++Ti) {
fprintf(stderr, "Ca... | 21.875 | 68 | 0.554286 | [
"vector"
] |
9431a9fa640700bf1d2a63cd529ab97da8e2b470 | 1,707 | cpp | C++ | Tools/Toolsets.cpp | lpuls/UnU | 0d8b4b5200cff68795dd8e961e56f12ea7c7ea7f | [
"MIT"
] | 2 | 2016-05-02T08:59:45.000Z | 2021-10-10T09:28:51.000Z | Tools/Toolsets.cpp | lpuls/UnU | 0d8b4b5200cff68795dd8e961e56f12ea7c7ea7f | [
"MIT"
] | null | null | null | Tools/Toolsets.cpp | lpuls/UnU | 0d8b4b5200cff68795dd8e961e56f12ea7c7ea7f | [
"MIT"
] | null | null | null | #include "Toolsets.hpp"
#include "TypeConversion/TypeConversion.hpp"
using namespace XpLib;
Toolsets* Toolsets::__instance = nullptr;
XpLib::Toolsets::Toolsets()
{
// ʵ������־��
this->__log = new ToolLog();
}
XpLib::Toolsets::~Toolsets()
{
if (nullptr != this->__log)
delete(this->__log);
this->__log = nullptr... | 19.848837 | 73 | 0.729936 | [
"vector"
] |
94352d480655467491477c5cd8311a81db110493 | 2,736 | cc | C++ | commands/ir.cc | finiteloop/compiler | 700f5d2956d2024764f4677fc733e9e7bef70167 | [
"Apache-2.0"
] | 35 | 2020-08-24T23:24:09.000Z | 2021-12-17T17:22:21.000Z | commands/ir.cc | finiteloop/compiler | 700f5d2956d2024764f4677fc733e9e7bef70167 | [
"Apache-2.0"
] | 1 | 2020-12-26T09:59:57.000Z | 2020-12-31T20:00:42.000Z | commands/ir.cc | finiteloop/compiler | 700f5d2956d2024764f4677fc733e9e7bef70167 | [
"Apache-2.0"
] | 2 | 2020-12-29T06:21:09.000Z | 2021-11-19T12:43:04.000Z | // Copyright 2020 Bret Taylor
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 30.4 | 79 | 0.647295 | [
"vector"
] |
9453214cc0c987a1ad78daa163750fdcd06a7159 | 2,473 | cc | C++ | Codeforces/291 Division 2/Problem C/C.cc | VastoLorde95/Competitive-Programming | 6c990656178fb0cd33354cbe5508164207012f24 | [
"MIT"
] | 170 | 2017-07-25T14:47:29.000Z | 2022-01-26T19:16:31.000Z | Codeforces/291 Division 2/Problem C/C.cc | navodit15/Competitive-Programming | 6c990656178fb0cd33354cbe5508164207012f24 | [
"MIT"
] | null | null | null | Codeforces/291 Division 2/Problem C/C.cc | navodit15/Competitive-Programming | 6c990656178fb0cd33354cbe5508164207012f24 | [
"MIT"
] | 55 | 2017-07-28T06:17:33.000Z | 2021-10-31T03:06:22.000Z | #include<stdio.h>
#include<iostream>
#include<cmath>
#include<algorithm>
#include<cstring>
#include<map>
#include<unordered_set>
#include<vector>
#include<utility>
#include<math.h>
#define sd(x) scanf("%d",&x);
#define sd2(x,y) scanf("%d%d",&x,&y);
#define sd3(x,y,z) scanf("%d%d%d",&x,&y,&z);
using namespace std;
in... | 24.245098 | 73 | 0.294784 | [
"vector"
] |
9453adaf688e2e9d674ef21356b8487685d78a08 | 1,363 | cc | C++ | node_modules/face-recognition/cc/FrontalFaceDetector.cc | osman-demirci/digital-guard-app-ipcamera | 397a105d34194e2ce1ab7a31f34d03631a316b44 | [
"Apache-2.0"
] | 1 | 2020-12-01T10:15:31.000Z | 2020-12-01T10:15:31.000Z | node_modules/face-recognition/cc/FrontalFaceDetector.cc | osman-demirci/digital-guard-app-ipcamera | 397a105d34194e2ce1ab7a31f34d03631a316b44 | [
"Apache-2.0"
] | null | null | null | node_modules/face-recognition/cc/FrontalFaceDetector.cc | osman-demirci/digital-guard-app-ipcamera | 397a105d34194e2ce1ab7a31f34d03631a316b44 | [
"Apache-2.0"
] | null | null | null | #include "FrontalFaceDetector.h"
#include "ImageRGB.h"
#include "Rect.h"
Nan::Persistent<v8::FunctionTemplate> FrontalFaceDetector::constructor;
NAN_MODULE_INIT(FrontalFaceDetector::Init) {
v8::Local<v8::FunctionTemplate> ctor = Nan::New<v8::FunctionTemplate>(FrontalFaceDetector::New);
constructor.Reset(c... | 34.075 | 99 | 0.735143 | [
"vector"
] |
9456e27b77526e03d2f9e42e1fb638b430345e63 | 7,534 | cpp | C++ | Samples/XNA_XNB_Format/Example XNB Parser/ParseXnb/TypeReaderManager.cpp | SimonDarksideJ/XNAGameStudio | 5b79efb0b110140419056b0146ba066f2104f985 | [
"MIT"
] | 422 | 2018-03-20T07:46:35.000Z | 2022-03-31T19:37:43.000Z | Samples/XNA_XNB_Format/Example XNB Parser/ParseXnb/TypeReaderManager.cpp | SimonDarksideJ/XNAGameStudio | 5b79efb0b110140419056b0146ba066f2104f985 | [
"MIT"
] | 11 | 2018-09-10T01:05:45.000Z | 2022-03-10T17:27:02.000Z | Samples/XNA_XNB_Format/Example XNB Parser/ParseXnb/TypeReaderManager.cpp | SimonDarksideJ/XNAGameStudio | 5b79efb0b110140419056b0146ba066f2104f985 | [
"MIT"
] | 72 | 2018-09-08T09:51:55.000Z | 2022-03-04T17:38:53.000Z | #include "stdafx.h"
#include "TypeReaderManager.h"
#include "PrimitiveTypeReaders.h"
#include "SystemTypeReaders.h"
#include "MathTypeReaders.h"
#include "GraphicsTypeReaders.h"
#include "MediaTypeReaders.h"
TypeReaderManager::~TypeReaderManager()
{
for each (TypeReader* reader in typeReaders)
{
delet... | 29.088803 | 126 | 0.638174 | [
"vector"
] |
946dff36ed4f0b87e626fdacf48e385a3d3a6020 | 1,943 | cpp | C++ | leetcode/30_days_challenge/2020_6_June/day19.cpp | bvbasavaraju/competitive_programming | a82ffc1b639588a84f4273b44285d57cdc2f4b11 | [
"Apache-2.0"
] | 1 | 2020-05-05T13:06:51.000Z | 2020-05-05T13:06:51.000Z | leetcode/30_days_challenge/2020_6_June/day19.cpp | bvbasavaraju/competitive_programming | a82ffc1b639588a84f4273b44285d57cdc2f4b11 | [
"Apache-2.0"
] | null | null | null | leetcode/30_days_challenge/2020_6_June/day19.cpp | bvbasavaraju/competitive_programming | a82ffc1b639588a84f4273b44285d57cdc2f4b11 | [
"Apache-2.0"
] | null | null | null | /****************************************************
Date: June 19th
link: https://leetcode.com/explore/challenge/card/june-leetcoding-challenge/541/week-3-june-15th-june-21st/3365/
****************************************************/
#include <iostream>
#include <vector>
#include <list>
#include <algorithm>
#inclu... | 22.593023 | 142 | 0.564591 | [
"vector"
] |
20e3dd6f1d55793e41c1d8160f50f0ada1c5ee3b | 2,628 | cpp | C++ | leetcode/30_days_challenge/2020_10_October/1.cpp | bvbasavaraju/competitive_programming | a82ffc1b639588a84f4273b44285d57cdc2f4b11 | [
"Apache-2.0"
] | 1 | 2020-05-05T13:06:51.000Z | 2020-05-05T13:06:51.000Z | leetcode/30_days_challenge/2020_10_October/1.cpp | bvbasavaraju/competitive_programming | a82ffc1b639588a84f4273b44285d57cdc2f4b11 | [
"Apache-2.0"
] | null | null | null | leetcode/30_days_challenge/2020_10_October/1.cpp | bvbasavaraju/competitive_programming | a82ffc1b639588a84f4273b44285d57cdc2f4b11 | [
"Apache-2.0"
] | null | null | null | /****************************************************
Date: Oct 1st
link: https://leetcode.com/explore/challenge/card/september-leetcoding-challenge/554/week-1-september-1st-september-7th/3448/
****************************************************/
#include <iostream>
#include <vector>
#include <list>
#include <algori... | 29.2 | 125 | 0.596271 | [
"object",
"vector"
] |
20e59fb5869c0e33fe695cd01e15db6313d8bab0 | 41,472 | cpp | C++ | groups/bdl/bdlat/bdlat_arrayfunctions.t.cpp | cmaggu/bde | 016dff5d5d2fbbed9570f4c1011af7b1a4c55a0d | [
"Apache-2.0"
] | 1 | 2021-11-10T16:53:42.000Z | 2021-11-10T16:53:42.000Z | groups/bdl/bdlat/bdlat_arrayfunctions.t.cpp | cmaggu/bde | 016dff5d5d2fbbed9570f4c1011af7b1a4c55a0d | [
"Apache-2.0"
] | null | null | null | groups/bdl/bdlat/bdlat_arrayfunctions.t.cpp | cmaggu/bde | 016dff5d5d2fbbed9570f4c1011af7b1a4c55a0d | [
"Apache-2.0"
] | null | null | null | // bdlat_arrayfunctions.t.cpp -*-C++-*-
// ----------------------------------------------------------------------------
// NOTICE
//
// This component is not up to date with current BDE coding standards, and
// should not be used as an example f... | 32.198758 | 79 | 0.516517 | [
"object",
"vector"
] |
20ec8623093bdd2585c4818f05c679043c247ea3 | 1,020 | cpp | C++ | daily_challenge/August_LeetCoding_Challenge_2021/paintFence.cpp | archit-1997/LeetCode | 7c0f74da0836d3b0855f09bae8960f81a384f3f3 | [
"MIT"
] | 1 | 2021-01-27T16:37:36.000Z | 2021-01-27T16:37:36.000Z | daily_challenge/August_LeetCoding_Challenge_2021/paintFence.cpp | archit-1997/LeetCode | 7c0f74da0836d3b0855f09bae8960f81a384f3f3 | [
"MIT"
] | null | null | null | daily_challenge/August_LeetCoding_Challenge_2021/paintFence.cpp | archit-1997/LeetCode | 7c0f74da0836d3b0855f09bae8960f81a384f3f3 | [
"MIT"
] | null | null | null | /**
* @author : archit
* @GitHub : archit-1997
* @Email : architsingh456@gmail.com
* @file : paintFence.cpp
* @created : Saturday Aug 14, 2021 10:11:15 IST
*/
#include <bits/stdc++.h>
using namespace std;
class Solution {
public:
int numWays(int n, int k) {
if(n==1)
... | 28.333333 | 117 | 0.466667 | [
"vector"
] |
20f1accc3801f369b11f415ac61ee8ac54f1ffca | 8,587 | cpp | C++ | optionFileSet.cpp | easyeagel/ezsh | 5fb627978cf38ec1c375eb51b60954b0dfa86031 | [
"MIT"
] | null | null | null | optionFileSet.cpp | easyeagel/ezsh | 5fb627978cf38ec1c375eb51b60954b0dfa86031 | [
"MIT"
] | null | null | null | optionFileSet.cpp | easyeagel/ezsh | 5fb627978cf38ec1c375eb51b60954b0dfa86031 | [
"MIT"
] | 1 | 2019-06-07T10:03:20.000Z | 2019-06-07T10:03:20.000Z | // Copyright [2014] <lgb (LiuGuangBao)>
//=====================================================================================
//
// Filename: fileset.cpp
//
// Description: 文件集合操作
//
// Version: 1.0
// Created: 2014年12月29日 16时00分33秒
// Revision: none
// Compiler: gcc
//
// ... | 25.181818 | 111 | 0.533364 | [
"vector"
] |
20f518f411efb627f41165815671c59eefc80566 | 4,943 | cpp | C++ | Source/core/rendering/RenderTextFragment.cpp | Fusion-Rom/android_external_chromium_org_third_party_WebKit | 8865f83aaf400ef5f7c234a70da404d3fc5e1272 | [
"BSD-3-Clause"
] | 2 | 2016-05-19T10:37:25.000Z | 2019-09-18T04:37:14.000Z | Source/core/rendering/RenderTextFragment.cpp | Fusion-Rom/android_external_chromium_org_third_party_WebKit | 8865f83aaf400ef5f7c234a70da404d3fc5e1272 | [
"BSD-3-Clause"
] | null | null | null | Source/core/rendering/RenderTextFragment.cpp | Fusion-Rom/android_external_chromium_org_third_party_WebKit | 8865f83aaf400ef5f7c234a70da404d3fc5e1272 | [
"BSD-3-Clause"
] | 7 | 2015-09-23T09:56:29.000Z | 2022-01-20T10:36:06.000Z | /*
* (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 2000 Dirk Mueller (mueller@kde.org)
* Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved.
*
* 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 F... | 30.512346 | 111 | 0.68683 | [
"render"
] |
20f938b3ee20dcbbd026cd0e745832c702ea830f | 924 | cpp | C++ | src/FolderHandler.cpp | adbailey4/embed_fast5 | 4416fab3927a4f3deae2f4637ff6c7344b4098c9 | [
"MIT"
] | null | null | null | src/FolderHandler.cpp | adbailey4/embed_fast5 | 4416fab3927a4f3deae2f4637ff6c7344b4098c9 | [
"MIT"
] | 1 | 2021-12-14T13:31:42.000Z | 2022-03-12T17:41:30.000Z | src/FolderHandler.cpp | adbailey4/embed_fast5 | 4416fab3927a4f3deae2f4637ff6c7344b4098c9 | [
"MIT"
] | null | null | null | //
// Created by Andrew Bailey on 2019-07-26.
//
// Embed
#include "FolderHandler.hpp"
#include "EmbedUtils.hpp"
// Boost libraries.
#include <boost/filesystem.hpp>
// Standard library.
#include <string>
using namespace boost::filesystem;
using namespace boost::coroutines2;
using namespace std;
using namespace emb... | 21 | 82 | 0.681818 | [
"vector"
] |
20f9f8b4b9234c82c2c822eb3efbde0403f5a306 | 987 | hpp | C++ | Headers/Object_Methods.hpp | 777moneymaker/classProject | 8eac5cd5366a6a6c986eedb9553778e8e94ff4e8 | [
"MIT"
] | null | null | null | Headers/Object_Methods.hpp | 777moneymaker/classProject | 8eac5cd5366a6a6c986eedb9553778e8e94ff4e8 | [
"MIT"
] | null | null | null | Headers/Object_Methods.hpp | 777moneymaker/classProject | 8eac5cd5366a6a6c986eedb9553778e8e94ff4e8 | [
"MIT"
] | null | null | null | //
// Created by Miłosz Chodkowski on 2019-03-17.
//
#ifndef PROJEKT_PPO_OBJECTFUNCTIONS_H
#define PROJEKT_PPO_OBJECTFUNCTIONS_H
#include <iostream>
#include <fstream>
#include "Headers/Class_Base.hpp"
#include "Headers/Menu_Methods.hpp"
#include "Headers/Global_Variables.hpp"
namespace List{
void insertNode(st... | 37.961538 | 113 | 0.683891 | [
"object"
] |
20fb56adb948f1b869577bede4526aeb04997c87 | 15,341 | cxx | C++ | private/inet/wininet/auth/test/httpauth.cxx | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | 11 | 2017-09-02T11:27:08.000Z | 2022-01-02T15:25:24.000Z | private/inet/wininet/auth/test/httpauth.cxx | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | null | null | null | private/inet/wininet/auth/test/httpauth.cxx | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | 14 | 2019-01-16T01:01:23.000Z | 2022-02-20T15:54:27.000Z | // ===========================================================================
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// ... | 29.276718 | 121 | 0.467505 | [
"object"
] |
20fbc960ec69e877a9e2aa268f69bbc75a76fb5b | 927 | cpp | C++ | src/editors/xrWeatherEditor/property_boolean_reference.cpp | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 2 | 2015-02-23T10:43:02.000Z | 2015-06-11T14:45:08.000Z | src/editors/xrWeatherEditor/property_boolean_reference.cpp | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 17 | 2022-01-25T08:58:23.000Z | 2022-03-28T17:18:28.000Z | src/editors/xrWeatherEditor/property_boolean_reference.cpp | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 1 | 2015-06-05T20:04:00.000Z | 2015-06-05T20:04:00.000Z | ////////////////////////////////////////////////////////////////////////////
// Module : property_boolean_reference.cpp
// Created : 13.12.2007
// Modified : 13.12.2007
// Author : Dmitriy Iassenev
// Description : boolean property reference implementation class
///////////////////////////////////////////////////... | 44.142857 | 115 | 0.639698 | [
"object"
] |
20fc40bf69c3ed0c86561c4e4c8edee6c36ebc8e | 20,757 | cpp | C++ | src/CQChartsCreateAnnotationDlg.cpp | Qt-Widgets/CQCharts | 0ee923c5a2794b9e3845d0d88fa519fcdea7694a | [
"MIT"
] | null | null | null | src/CQChartsCreateAnnotationDlg.cpp | Qt-Widgets/CQCharts | 0ee923c5a2794b9e3845d0d88fa519fcdea7694a | [
"MIT"
] | null | null | null | src/CQChartsCreateAnnotationDlg.cpp | Qt-Widgets/CQCharts | 0ee923c5a2794b9e3845d0d88fa519fcdea7694a | [
"MIT"
] | null | null | null | #include <CQChartsCreateAnnotationDlg.h>
#include <CQChartsAnnotation.h>
#include <CQChartsArrow.h>
#include <CQChartsView.h>
#include <CQChartsPlot.h>
#include <CQChartsPositionEdit.h>
#include <CQChartsRectEdit.h>
#include <CQChartsLengthEdit.h>
#include <CQChartsSymbolDataEdit.h>
#include <CQChartsTextDataEdit.h>
#i... | 23.886076 | 99 | 0.729296 | [
"shape"
] |
1f04b61d7bc92c3071084aeee821c509278c4b6a | 1,634 | hpp | C++ | application.hpp | lyrahgames/fractal-render | 4e64270462a58b8701a12a317ca40c5946cfcdfd | [
"MIT"
] | null | null | null | application.hpp | lyrahgames/fractal-render | 4e64270462a58b8701a12a317ca40c5946cfcdfd | [
"MIT"
] | null | null | null | application.hpp | lyrahgames/fractal-render | 4e64270462a58b8701a12a317ca40c5946cfcdfd | [
"MIT"
] | null | null | null | #pragma once
#include <SFML/Graphics.hpp>
#include <array>
#include <chrono>
#include <cmath>
#include <complex>
#include <iostream>
#include <vector>
#include <julia_set.hpp>
class application {
using color = std::array<float, 4>;
public:
// Default constructor and destructor explicitly generated by the comp... | 25.138462 | 77 | 0.668911 | [
"vector"
] |
1f058d4ad8227282653a65312285f0b0e9c934c5 | 3,879 | cpp | C++ | C++Server/Tools/src/messages/GetSatelliteMessage.cpp | IncompleteWorlds/01_gs4cubesat | 4386a3a8b984e96cab364bab83fc2fb49aa5cc3d | [
"RSA-MD"
] | null | null | null | C++Server/Tools/src/messages/GetSatelliteMessage.cpp | IncompleteWorlds/01_gs4cubesat | 4386a3a8b984e96cab364bab83fc2fb49aa5cc3d | [
"RSA-MD"
] | null | null | null | C++Server/Tools/src/messages/GetSatelliteMessage.cpp | IncompleteWorlds/01_gs4cubesat | 4386a3a8b984e96cab364bab83fc2fb49aa5cc3d | [
"RSA-MD"
] | null | null | null | /**
* CubeGS
* An online Ground Segment for Cubesats and Small Sats
* (c) 2017 Incomplete Worlds
*
*/
#include "ToolsDatabase.h"
#include "LogManager.h"
#include "GSException.h"
#include "MessageUtils.h"
#include "messages/GetSatelliteMessage.h"
GetSatelliteMessage::GetSatelliteMessage()
{
}
GetSatelliteMe... | 36.59434 | 131 | 0.542923 | [
"vector"
] |
1f108417f6b7a382ebcced5abc8f2ffbf2baa775 | 5,488 | cc | C++ | cpp/secretcode/VolatilityTracker.cc | CodeApprenticeRai/newt | 0e07a87aa6b8d4b238c1a9fd3fef363133866c57 | [
"Apache-2.0"
] | 1 | 2021-06-21T12:23:55.000Z | 2021-06-21T12:23:55.000Z | cpp/secretcode/VolatilityTracker.cc | CodeApprenticeRai/newt | 0e07a87aa6b8d4b238c1a9fd3fef363133866c57 | [
"Apache-2.0"
] | null | null | null | cpp/secretcode/VolatilityTracker.cc | CodeApprenticeRai/newt | 0e07a87aa6b8d4b238c1a9fd3fef363133866c57 | [
"Apache-2.0"
] | 6 | 2019-10-17T21:16:21.000Z | 2020-10-19T08:27:01.000Z | #include "VolatilityTracker.h"
#include "OpenTracker.h"
#include "DataManager.h"
#include "HFUtils.h"
#include "AlphaSignal.h"
const string RELEVANT_LOG_FILE = "misc";
VolatilityTracker::VolatilityTracker(int sampleMilliSeconds, int numSamplePoints,
int minSamplePoints, AlphaSignal *fvSignal)
:
_sample... | 30.488889 | 120 | 0.675109 | [
"vector"
] |
1f1be706b10e6ee25cdf03aa4e3b25f586bae213 | 3,923 | hpp | C++ | src/core/runtime/src/level_zero_runtime.hpp | intel/cassian | 8e9594f053f9b9464066c8002297346580e4aa2a | [
"MIT"
] | 1 | 2021-10-05T14:15:34.000Z | 2021-10-05T14:15:34.000Z | src/core/runtime/src/level_zero_runtime.hpp | intel/cassian | 8e9594f053f9b9464066c8002297346580e4aa2a | [
"MIT"
] | null | null | null | src/core/runtime/src/level_zero_runtime.hpp | intel/cassian | 8e9594f053f9b9464066c8002297346580e4aa2a | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#ifndef CASSIAN_RUNTIME_LEVEL_ZERO_RUNTIME_HPP
#define CASSIAN_RUNTIME_LEVEL_ZERO_RUNTIME_HPP
#include <array>
#include <cassian/runtime/access_qualifier.hpp>
#include <cassian/runtime/device_properties.hpp>
#include <cassian/runtime... | 38.087379 | 80 | 0.725465 | [
"vector"
] |
1f1cf31877c6c411b5b26facc348588a7294a4d3 | 3,235 | cc | C++ | test/test_argument_parser.cc | abhishekpratapa/Compiler | 487176c61fa2efe6694d8f9257747e0f68023016 | [
"MIT"
] | null | null | null | test/test_argument_parser.cc | abhishekpratapa/Compiler | 487176c61fa2efe6694d8f9257747e0f68023016 | [
"MIT"
] | 2 | 2019-07-23T08:02:01.000Z | 2019-07-23T08:35:15.000Z | test/test_argument_parser.cc | abhishekpratapa/Compiler | 487176c61fa2efe6694d8f9257747e0f68023016 | [
"MIT"
] | null | null | null | #ifdef INDEPENDENT_TESTS
#include "test_main.h"
#define BOOST_TEST_MODULE main
#endif
#include <boost/test/unit_test.hpp>
#include <utils/argument_parser.h>
using namespace acc::utils;
BOOST_AUTO_TEST_SUITE(argument_parser)
BOOST_AUTO_TEST_CASE(default_output_file) {
// MOCK `argc` and `argv`
int argc = 2;
ch... | 25.472441 | 79 | 0.681607 | [
"vector"
] |
1f2364b97f30efd3c178a1508b2fd5e0ca208e48 | 898 | cpp | C++ | Demo/CommandDemo.cpp | Photorithm/Events | 3d57db33905555003643b9b4dd6b22e8e6342ebe | [
"MIT"
] | null | null | null | Demo/CommandDemo.cpp | Photorithm/Events | 3d57db33905555003643b9b4dd6b22e8e6342ebe | [
"MIT"
] | null | null | null | Demo/CommandDemo.cpp | Photorithm/Events | 3d57db33905555003643b9b4dd6b22e8e6342ebe | [
"MIT"
] | 1 | 2022-01-14T20:25:36.000Z | 2022-01-14T20:25:36.000Z | /**
* Created by TekuConcept on June 12, 2017
*/
#include <iostream>
#include <EventCommand.h>
#define DMSG(x) std::cout << x << std::endl
class CustomArgs : public EventArgs {
public:
CustomArgs() : X(0) {}
CustomArgs(int val) : X(val) {}
int X;
};
template <class Args>
class Dummy... | 20.883721 | 62 | 0.565702 | [
"object"
] |
1f255e77d432edb21f3ef19a0d1336ba0517c007 | 6,582 | cpp | C++ | src/errors.cpp | dmlys/extlib | faf725464164d30aa197d53eba8d2c870faf2767 | [
"BSL-1.0"
] | 1 | 2018-05-14T13:36:09.000Z | 2018-05-14T13:36:09.000Z | src/errors.cpp | dmlys/extlib | faf725464164d30aa197d53eba8d2c870faf2767 | [
"BSL-1.0"
] | null | null | null | src/errors.cpp | dmlys/extlib | faf725464164d30aa197d53eba8d2c870faf2767 | [
"BSL-1.0"
] | null | null | null | #include <ext/errors.hpp>
#include <ext/itoa.hpp>
namespace ext
{
namespace
{
template <class ErrCode>
static std::string format_error_impl(const ErrCode & err)
{
static_assert(std::is_same<decltype(err.value()), int>::value, "error code should be int");
std::string msg;
int errc = err.value();
au... | 28.248927 | 109 | 0.669401 | [
"vector"
] |
1f258f06fe450fc4416db95b8f28e033b2dbf2dd | 5,951 | cpp | C++ | tcss/src/v20201101/model/RiskSyscallWhiteListInfo.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | null | null | null | tcss/src/v20201101/model/RiskSyscallWhiteListInfo.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | null | null | null | tcss/src/v20201101/model/RiskSyscallWhiteListInfo.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | 30.055556 | 154 | 0.684087 | [
"vector",
"model"
] |
1f270cd81f4fb6d56bfb57aaef1f1a89dd1c9bb6 | 31,189 | cc | C++ | xic/src/sced/sced_run.cc | bernardventer/xictools | 4ea72c118679caed700dab3d49a8d36445acaec3 | [
"Apache-2.0"
] | 3 | 2020-01-26T14:18:52.000Z | 2020-12-09T20:07:22.000Z | xic/src/sced/sced_run.cc | chris-ayala/xictools | 4ea72c118679caed700dab3d49a8d36445acaec3 | [
"Apache-2.0"
] | null | null | null | xic/src/sced/sced_run.cc | chris-ayala/xictools | 4ea72c118679caed700dab3d49a8d36445acaec3 | [
"Apache-2.0"
] | 2 | 2020-01-26T14:19:02.000Z | 2021-08-14T16:33:28.000Z | /*========================================================================*
* *
* Distributed by Whiteley Research Inc., Sunnyvale, California, USA *
* http://wrcad.com *
* Copyright (C... | 33.392934 | 213 | 0.492257 | [
"vector"
] |
1f28decf63a8a9d63e2e29c182ac6daffb78b2de | 1,217 | cpp | C++ | src/XML.cpp | JesseMaurais/SGe | f73bd03d30074a54642847b05f82151128481371 | [
"MIT"
] | 1 | 2017-04-20T06:27:36.000Z | 2017-04-20T06:27:36.000Z | src/XML.cpp | JesseMaurais/SGe | f73bd03d30074a54642847b05f82151128481371 | [
"MIT"
] | null | null | null | src/XML.cpp | JesseMaurais/SGe | f73bd03d30074a54642847b05f82151128481371 | [
"MIT"
] | null | null | null | #include "XML.hpp"
#include "SDL.hpp"
#include "Error.hpp"
#include <stdexcept>
XML::XML(char const *encoding)
{
auto start = [](void *user, char const *name, char const **attributes)
{
union {
void *address;
XML *object;
};
address = user;
object->Start(name, attributes);
};
auto end = [](void *use... | 20.283333 | 71 | 0.665571 | [
"object"
] |
1f2c0fe80f5dc70f2986bafc2aa5b2e523004bf8 | 14,168 | cpp | C++ | component/oai-amf/src/ngap/ngapMsgs/PduSessionResourceModifyResponse.cpp | kukkalli/oai-cn5g-fed | 15634fac935ac8671b61654bdf75bf8af07d3c3a | [
"Apache-2.0"
] | null | null | null | component/oai-amf/src/ngap/ngapMsgs/PduSessionResourceModifyResponse.cpp | kukkalli/oai-cn5g-fed | 15634fac935ac8671b61654bdf75bf8af07d3c3a | [
"Apache-2.0"
] | null | null | null | component/oai-amf/src/ngap/ngapMsgs/PduSessionResourceModifyResponse.cpp | kukkalli/oai-cn5g-fed | 15634fac935ac8671b61654bdf75bf8af07d3c3a | [
"Apache-2.0"
] | null | null | null | /*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Publi... | 39.686275 | 105 | 0.651892 | [
"vector"
] |
1f310d088d0c7c54e88dcce5d569584e73eae489 | 5,373 | cpp | C++ | Code/Source/Tools/Browse3D/Mesh.cpp | christinazavou/Thea | f68293c4a4f5ddc3abda18e2e0b679bcf5163e93 | [
"BSD-3-Clause"
] | 77 | 2016-11-06T17:25:54.000Z | 2022-03-29T16:30:34.000Z | Code/Source/Tools/Browse3D/Mesh.cpp | christinazavou/Thea | f68293c4a4f5ddc3abda18e2e0b679bcf5163e93 | [
"BSD-3-Clause"
] | 1 | 2017-04-22T16:47:04.000Z | 2017-04-22T16:47:04.000Z | Code/Source/Tools/Browse3D/Mesh.cpp | christinazavou/Thea | f68293c4a4f5ddc3abda18e2e0b679bcf5163e93 | [
"BSD-3-Clause"
] | 20 | 2015-10-17T20:38:50.000Z | 2022-02-18T09:56:27.000Z | //============================================================================
//
// This file is part of the Thea toolkit.
//
// This software is distributed under the BSD license, as detailed in the
// accompanying LICENSE.txt file. Portions are derived from other works:
// their respective licenses and copyright inf... | 24.646789 | 124 | 0.641727 | [
"mesh",
"vector"
] |
1f34abd90344959daf924f5565cc2121fd4af0d9 | 8,206 | cc | C++ | src/lib/tcp.cc | GeniusDai/cppev | 20c186f4572b2fb1cbfa3c81d0a8be346957f19d | [
"BSD-3-Clause"
] | 7 | 2022-01-19T11:17:53.000Z | 2022-02-28T14:14:55.000Z | src/lib/tcp.cc | GeniusDai/cppev | 20c186f4572b2fb1cbfa3c81d0a8be346957f19d | [
"BSD-3-Clause"
] | null | null | null | src/lib/tcp.cc | GeniusDai/cppev | 20c186f4572b2fb1cbfa3c81d0a8be346957f19d | [
"BSD-3-Clause"
] | 1 | 2022-01-27T02:40:18.000Z | 2022-01-27T02:40:18.000Z | #include "cppev/tcp.h"
namespace cppev
{
namespace tcp
{
// Idle function for callback
tcp_event_cb idle_handler = [](std::shared_ptr<nsocktcp>) -> void {};
tp_shared_data::tp_shared_data()
:
on_accept(idle_handler),
on_connect(idle_handler),
on_read_complete(idle_handler),
on_write_complete(idle_ha... | 28.792982 | 88 | 0.611382 | [
"vector"
] |
1f37c3b5cbfec2b1978fe0320b11291a37f0a9f3 | 2,340 | cpp | C++ | test/test_1.cpp | active911/fastcache | a845449b54bee4555ed957ccfe373c34333389cb | [
"Apache-2.0"
] | 9 | 2016-03-16T06:18:02.000Z | 2021-02-07T20:59:19.000Z | test/test_1.cpp | iamrameshkumar/fastcache | a845449b54bee4555ed957ccfe373c34333389cb | [
"Apache-2.0"
] | null | null | null | test/test_1.cpp | iamrameshkumar/fastcache | a845449b54bee4555ed957ccfe373c34333389cb | [
"Apache-2.0"
] | 6 | 2016-08-29T23:55:09.000Z | 2020-10-11T18:43:03.000Z |
// Test1
// Prove that the mutexes are working by causing the cache to block while reading.
// Read from the cache using 2 threads and observe the delay as they wait for each other.
// Slow down the cache
#define FASTCACHE_SLOW
// Run with 3 threads
#define THREAD_COUNT 3
// Clock source
#define CLOCKSRC CLOCK_MONO... | 20 | 89 | 0.673932 | [
"object",
"vector"
] |
1f3950b2a17c6d963d6dbf79b9875d8282f44af0 | 1,383 | hpp | C++ | source/core/application.hpp | GanbaraKnight/light-field-renderer | 5b161a32ded80078f564d9177e12d19c44c6003b | [
"MIT"
] | null | null | null | source/core/application.hpp | GanbaraKnight/light-field-renderer | 5b161a32ded80078f564d9177e12d19c44c6003b | [
"MIT"
] | null | null | null | source/core/application.hpp | GanbaraKnight/light-field-renderer | 5b161a32ded80078f564d9177e12d19c44c6003b | [
"MIT"
] | null | null | null | #include <nanogui/nanogui.h>
#include "config.hpp"
class LightFieldRenderer;
class Application : public nanogui::Screen
{
public:
Application();
virtual bool keyboard_event(int key, int scancode, int action, int modifiers);
virtual void draw(NVGcontext *ctx);
private:
LightFieldRenderer *light_fi... | 27.117647 | 102 | 0.639913 | [
"vector"
] |
1f40b370271c61cb3c9d21be3960f5c0d4d84b50 | 1,197 | cpp | C++ | N1790-Check-if-One-String-Swap-Can-Make-Strings-Equal/solution1.cpp | loyio/leetcode | 366393c29a434a621592ef6674a45795a3086184 | [
"CC0-1.0"
] | null | null | null | N1790-Check-if-One-String-Swap-Can-Make-Strings-Equal/solution1.cpp | loyio/leetcode | 366393c29a434a621592ef6674a45795a3086184 | [
"CC0-1.0"
] | null | null | null | N1790-Check-if-One-String-Swap-Can-Make-Strings-Equal/solution1.cpp | loyio/leetcode | 366393c29a434a621592ef6674a45795a3086184 | [
"CC0-1.0"
] | 2 | 2022-01-25T05:31:31.000Z | 2022-02-26T07:22:23.000Z | //
// main.cpp
// LeetCode-Solution
//
// Created by Loyio Hex on 3/11/22.
//
#include <iostream>
#include <chrono>
#include <vector>
using namespace std;
using namespace std::chrono;
class Solution {
public:
bool areAlmostEqual(string s1, string s2) {
if (s1.size() != s2.size()){
return f... | 22.166667 | 74 | 0.487886 | [
"vector"
] |
1f4f1e12bc29f827cb8b19d9668d432032df40e2 | 1,599 | cpp | C++ | aws-cpp-sdk-config/source/model/AggregateConformancePackComplianceSummary.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-12T08:09:30.000Z | 2022-02-12T08:09:30.000Z | aws-cpp-sdk-config/source/model/AggregateConformancePackComplianceSummary.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-config/source/model/AggregateConformancePackComplianceSummary.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-12-30T04:25:33.000Z | 2021-12-30T04:25:33.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/config/model/AggregateConformancePackComplianceSummary.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Util... | 21.32 | 116 | 0.771732 | [
"model"
] |
1f5ae327f22db7f036224a27e6feb35e98fd4b1b | 52,069 | cpp | C++ | src/search_engine/relja_retrival/external/KMCode_relja/homography/homography.cpp | alexanderwilkinson/visenew | 8e494355b0f88466c0abb4b8f3bfecc150b91111 | [
"ImageMagick",
"BSD-2-Clause"
] | 43 | 2017-07-06T23:44:39.000Z | 2022-03-25T06:53:29.000Z | src/search_engine/relja_retrival/external/KMCode_relja/homography/homography.cpp | alexanderwilkinson/visenew | 8e494355b0f88466c0abb4b8f3bfecc150b91111 | [
"ImageMagick",
"BSD-2-Clause"
] | 2 | 2018-11-09T03:52:14.000Z | 2020-03-25T14:08:33.000Z | src/search_engine/relja_retrival/external/KMCode_relja/homography/homography.cpp | alexanderwilkinson/visenew | 8e494355b0f88466c0abb4b8f3bfecc150b91111 | [
"ImageMagick",
"BSD-2-Clause"
] | 9 | 2017-07-27T10:55:55.000Z | 2020-12-15T13:42:43.000Z | #include "homography.h"
void convertEllips(float a, float b, float c, float &scale, float &m11, float &m12, float &m21, float &m22){
Matrix U(2,2),Vi,V,D;
U(1,1)=a;
U(2,1)=b;U(1,2)=b;
U(2,2)=c;
U.svd(Vi,D,V);
D(1,1)=(1.0/sqrt(D(1,1)));
D(2,2)=(1.0/sqrt(D(2,2)));
scale=sqrt(D(2,2)*D(1,1));
D.... | 31.518765 | 146 | 0.574853 | [
"vector",
"model"
] |
1f5b26a96a260b2cdc96db76930e57e1036562c4 | 3,904 | cc | C++ | ExtinctionMonitorFNAL/Analyses/src/MARSGenParticleHist_module.cc | resnegfk/Offline | 4ba81dad54486188fa83fea8c085438d104afbbc | [
"Apache-2.0"
] | 9 | 2020-03-28T00:21:41.000Z | 2021-12-09T20:53:26.000Z | ExtinctionMonitorFNAL/Analyses/src/MARSGenParticleHist_module.cc | resnegfk/Offline | 4ba81dad54486188fa83fea8c085438d104afbbc | [
"Apache-2.0"
] | 684 | 2019-08-28T23:37:43.000Z | 2022-03-31T22:47:45.000Z | ExtinctionMonitorFNAL/Analyses/src/MARSGenParticleHist_module.cc | resnegfk/Offline | 4ba81dad54486188fa83fea8c085438d104afbbc | [
"Apache-2.0"
] | 61 | 2019-08-16T23:28:08.000Z | 2021-12-20T08:29:48.000Z | // Andrei Gaponenko, 2012
#include <string>
#include <vector>
#include <cmath>
#include <map>
#include <set>
#include <algorithm>
#include <iterator>
#include "cetlib_except/exception.h"
#include "CLHEP/Vector/ThreeVector.h"
#include "CLHEP/Units/SystemOfUnits.h"
#include "messagefacility/MessageLogger/MessageLogge... | 32.806723 | 94 | 0.59708 | [
"geometry",
"vector"
] |
1f5db275550d373d4d8b74448225b89a9121debf | 718 | cpp | C++ | 262/B/main.cpp | tamimcsedu19/codeforces | 8e61025b99bc0a5b32cb03f736123b39dcc23f61 | [
"Apache-2.0"
] | null | null | null | 262/B/main.cpp | tamimcsedu19/codeforces | 8e61025b99bc0a5b32cb03f736123b39dcc23f61 | [
"Apache-2.0"
] | null | null | null | 262/B/main.cpp | tamimcsedu19/codeforces | 8e61025b99bc0a5b32cb03f736123b39dcc23f61 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <bits/stdc++.h>
#define maxn 100005
using namespace std;
int a,b,c;
int sumDigit(int x)
{
int sum = 0;
while(x)
{
sum+=(x%10);
x/=10;
}
return sum;
}
long long int p(int x)
{
long long res = 1;
for(int i=1;i<=a;++i)
res*=x;
return res... | 15.276596 | 48 | 0.455432 | [
"vector"
] |
48f23834d171c9bf631d94b0dee49b5ffef6f8b6 | 14,709 | hpp | C++ | include/Core/Castor3D/Binary/BinaryParser.hpp | Mu-L/Castor3D | 7b9c6e7be6f7373ad60c0811d136c0004e50e76b | [
"MIT"
] | 245 | 2015-10-29T14:31:45.000Z | 2022-03-31T13:04:45.000Z | include/Core/Castor3D/Binary/BinaryParser.hpp | Mu-L/Castor3D | 7b9c6e7be6f7373ad60c0811d136c0004e50e76b | [
"MIT"
] | 64 | 2016-03-11T19:45:05.000Z | 2022-03-31T23:58:33.000Z | include/Core/Castor3D/Binary/BinaryParser.hpp | Mu-L/Castor3D | 7b9c6e7be6f7373ad60c0811d136c0004e50e76b | [
"MIT"
] | 11 | 2018-05-24T09:07:43.000Z | 2022-03-21T21:05:20.000Z | /*
See LICENSE file in root folder
*/
#ifndef ___C3D_BinaryParser_H___
#define ___C3D_BinaryParser_H___
#pragma GCC diagnostic ignored "-Wundefined-var-template"
#include "Castor3D/Binary/ChunkParser.hpp"
#include "Castor3D/Miscellaneous/Logger.hpp"
#include "Castor3D/Miscellaneous/Version.hpp"
namespace castor3d
{
... | 24.762626 | 74 | 0.627167 | [
"object",
"vector"
] |
48f2dd912c60abe7365dd8e231b50eb95256e39a | 545 | cpp | C++ | cpp/medium/xor_queries_of_a_subarray.cpp | adamlm/leetcode-solutions | 1461058ea26a6a1debaec978e86b1b25f6cba9ea | [
"MIT"
] | null | null | null | cpp/medium/xor_queries_of_a_subarray.cpp | adamlm/leetcode-solutions | 1461058ea26a6a1debaec978e86b1b25f6cba9ea | [
"MIT"
] | null | null | null | cpp/medium/xor_queries_of_a_subarray.cpp | adamlm/leetcode-solutions | 1461058ea26a6a1debaec978e86b1b25f6cba9ea | [
"MIT"
] | null | null | null | class Solution {
public:
vector<int> xorQueries(vector<int>& arr, vector<vector<int>>& queries) {
vector<int> ret;
vector<int> deltas;
auto xor_sum{0};
for (const auto& a: arr) {
xor_sum ^= a;
deltas.push_back(xor_sum);
}
... | 23.695652 | 84 | 0.451376 | [
"vector"
] |
48f3916328874d296f06324c4b79f49632cf93fd | 2,161 | hpp | C++ | Mem.hpp | Galenika/csgo-offsets-finder | 5fd13006bb5fe58bed4f0a35a99142fe5a279c72 | [
"MIT"
] | 2 | 2021-02-26T08:03:30.000Z | 2021-07-14T23:28:41.000Z | Mem.hpp | RequestFX/csgo-offsets-finder | 5fd13006bb5fe58bed4f0a35a99142fe5a279c72 | [
"MIT"
] | null | null | null | Mem.hpp | RequestFX/csgo-offsets-finder | 5fd13006bb5fe58bed4f0a35a99142fe5a279c72 | [
"MIT"
] | 4 | 2021-02-03T20:08:55.000Z | 2021-07-06T17:13:14.000Z | // Made by RequestFX#1541
#pragma once
#include <Windows.h>
#include <TlHelp32.h>
#include <vector>
struct module {
uintptr_t dwBase, dwSize;
};
class Mem {
private:
inline static HANDLE handle;
public:
inline static uintptr_t procID;
~Mem() {
CloseHandle(handle);
}
uintptr_t getProc... | 25.72619 | 100 | 0.677001 | [
"vector"
] |
48ffc2516f859696703ba511a903c3e7d9f5b570 | 787 | hpp | C++ | include/NVMeSensor.hpp | serve-bh-bmc/dbus-sensors | f69fbf998745bf006748c3b6ba6558443b560d21 | [
"Apache-2.0"
] | 15 | 2019-02-26T03:44:55.000Z | 2021-11-04T23:58:51.000Z | include/NVMeSensor.hpp | serve-bh-bmc/dbus-sensors | f69fbf998745bf006748c3b6ba6558443b560d21 | [
"Apache-2.0"
] | 17 | 2019-01-23T19:47:44.000Z | 2022-03-31T23:03:43.000Z | include/NVMeSensor.hpp | serve-bh-bmc/dbus-sensors | f69fbf998745bf006748c3b6ba6558443b560d21 | [
"Apache-2.0"
] | 21 | 2019-08-07T03:32:20.000Z | 2022-01-27T09:40:22.000Z | #pragma once
#include <boost/asio/io_service.hpp>
#include <sensor.hpp>
class NVMeSensor : public Sensor
{
public:
static constexpr const char* CONFIG_TYPE =
"xyz.openbmc_project.Configuration.NVME1000";
NVMeSensor(sdbusplus::asio::object_server& objectServer,
boost::asio::io_service... | 27.137931 | 76 | 0.664549 | [
"vector"
] |
5b04c9626e5416e3e0d0a6ceaf65a6db35edd5c2 | 927 | hpp | C++ | Spades Game/Game/Net/NetEventDecoder.hpp | jmasterx/StemwaterSpades | 05e5d7c6d380d2f5986bd91269887f16c3e71962 | [
"Unlicense"
] | 6 | 2017-01-04T22:40:50.000Z | 2019-11-24T15:37:46.000Z | Spades Game/Game/Net/NetEventDecoder.hpp | jmasterx/StemwaterSpades | 05e5d7c6d380d2f5986bd91269887f16c3e71962 | [
"Unlicense"
] | 1 | 2016-09-18T19:10:01.000Z | 2017-08-04T23:53:38.000Z | Spades Game/Game/Net/NetEventDecoder.hpp | jmasterx/StemwaterSpades | 05e5d7c6d380d2f5986bd91269887f16c3e71962 | [
"Unlicense"
] | 2 | 2015-11-21T16:42:18.000Z | 2019-04-21T20:41:39.000Z | #ifndef CGE_NET_EVENT_DECODER_HPP
#define CGE_NET_EVENT_DECODER_HPP
#include "Game/Net/NetEventListener.hpp"
#include "Game/Net/NetMessageParser.hpp"
#include "Game/Net/SharedPlayer.hpp"
#include "Game/Net/ServerPeer.hpp"
#include <stdlib.h>
#include <vector>
namespace cge
{
class NetEventDecoder
{
std::vector<NetE... | 28.090909 | 94 | 0.783172 | [
"vector"
] |
5b0560e6a62fd00bcaf90be0142878c1c9bfadf5 | 3,508 | hpp | C++ | Plugins/Redis/cpp_redis/tacopie/includes/tacopie/network/tcp_socket.hpp | summonFox/unified | 47ab7d051fe52c26e2928b569e9fe7aec5aa8705 | [
"MIT"
] | 111 | 2018-01-16T18:49:19.000Z | 2022-03-13T12:33:54.000Z | Plugins/Redis/cpp_redis/tacopie/includes/tacopie/network/tcp_socket.hpp | summonFox/unified | 47ab7d051fe52c26e2928b569e9fe7aec5aa8705 | [
"MIT"
] | 636 | 2018-01-17T10:05:31.000Z | 2022-03-28T20:06:03.000Z | Plugins/Redis/cpp_redis/tacopie/includes/tacopie/network/tcp_socket.hpp | summonFox/unified | 47ab7d051fe52c26e2928b569e9fe7aec5aa8705 | [
"MIT"
] | 110 | 2018-01-16T19:05:54.000Z | 2022-03-28T03:44:16.000Z | // MIT License
//
// Copyright (c) 2016-2017 Simon Ninon <simon.ninon@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 ri... | 30.504348 | 104 | 0.726055 | [
"vector"
] |
5b08e42c8ed2eadd87ca4b7d01082c00a359e475 | 1,685 | cpp | C++ | Codeforces/1029/d.cpp | eyangch/competitive-programming | 59839efcec72cb792e61b7d316f83ad54f16a166 | [
"MIT"
] | 14 | 2019-08-14T00:43:10.000Z | 2021-12-16T05:43:31.000Z | Codeforces/1029/d.cpp | eyangch/competitive-programming | 59839efcec72cb792e61b7d316f83ad54f16a166 | [
"MIT"
] | null | null | null | Codeforces/1029/d.cpp | eyangch/competitive-programming | 59839efcec72cb792e61b7d316f83ad54f16a166 | [
"MIT"
] | 6 | 2020-12-30T03:30:17.000Z | 2022-03-11T03:40:02.000Z | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<ll> vi;
typedef pair<ll, ll> pii;
template <typename T1, typename T2>
ostream &operator <<(ostream &os, pair<T1, T2> p){os << p.first << " " << p.second; return os;}
template <typename T>
ostream &operator <<(ostream &os, vector<T> &v)... | 28.083333 | 101 | 0.478338 | [
"vector"
] |
5b19c64c746d20235bbe9a5df56c4f7a8ba974fb | 4,720 | cpp | C++ | AdvancedGraphics/gameobject.cpp | Trodek/Advanced-Graphics-Subject | 5e89fa33a3bc5c4e0910cfae907a22f879be035a | [
"MIT"
] | null | null | null | AdvancedGraphics/gameobject.cpp | Trodek/Advanced-Graphics-Subject | 5e89fa33a3bc5c4e0910cfae907a22f879be035a | [
"MIT"
] | null | null | null | AdvancedGraphics/gameobject.cpp | Trodek/Advanced-Graphics-Subject | 5e89fa33a3bc5c4e0910cfae907a22f879be035a | [
"MIT"
] | null | null | null | #include "gameobject.h"
#include "transform.h"
#include "scene.h"
#include <QJsonObject>
#include <QJsonArray>
#include "appmanager.h"
#include "modelrender.h"
#include "light.h"
// All GameObjects start with a transform
GameObject::GameObject()
{
AddComponent(Component::Type::Transform);
}
GameObject::~GameObjec... | 20.611354 | 99 | 0.54428 | [
"vector",
"transform"
] |
5b1a285046f251656788c88d6f010c3f0cadf2a3 | 32,422 | cpp | C++ | cradle/src/alia/ui/utilities/styling.cpp | dotdecimal/open-cradle | f8b06f8d40b0f17ac8d2bf845a32fcd57bf5ce1d | [
"MIT"
] | null | null | null | cradle/src/alia/ui/utilities/styling.cpp | dotdecimal/open-cradle | f8b06f8d40b0f17ac8d2bf845a32fcd57bf5ce1d | [
"MIT"
] | null | null | null | cradle/src/alia/ui/utilities/styling.cpp | dotdecimal/open-cradle | f8b06f8d40b0f17ac8d2bf845a32fcd57bf5ce1d | [
"MIT"
] | 4 | 2018-09-28T17:12:54.000Z | 2022-03-20T14:22:29.000Z | #include <alia/ui/utilities/styling.hpp>
#include <alia/ui/utilities.hpp>
#include <sstream>
#include <cctype>
#include <utf8.h>
namespace alia {
// STYLE TREE MANIPULATION
static style_tree*
get_style_tree_child(style_tree& tree, string const& child_name,
bool create_if_missing)
{
if (create_if_missing)
... | 27.108696 | 79 | 0.581272 | [
"vector"
] |
5b1b9d6e8e9d00e919b9e82cbb1128ea4078d9f0 | 489 | cpp | C++ | OOP/Lab4/line_shape.cpp | samurai-of-honor/my-labs-1 | 111a9302093b1ad6a358560bd926544aa2479d80 | [
"MIT"
] | 1 | 2022-01-30T11:26:23.000Z | 2022-01-30T11:26:23.000Z | OOP/Lab4/line_shape.cpp | samurai-of-honor/my-labs-1 | 111a9302093b1ad6a358560bd926544aa2479d80 | [
"MIT"
] | 6 | 2022-01-20T16:59:03.000Z | 2022-02-12T22:30:55.000Z | OOP/Lab4/line_shape.cpp | samurai-of-honor/my-labs-1 | 111a9302093b1ad6a358560bd926544aa2479d80 | [
"MIT"
] | null | null | null | #include "framework.h"
#include "line_shape.h"
void LineShape::Show(HDC hdc, bool isDash) {
HPEN hPen, hPenOld;
if (isDash) {
hPen = CreatePen(PS_DOT, 1, RGB(255, 0, 0));
hPenOld = (HPEN)SelectObject(hdc, hPen);
}
else {
hPen = CreatePen(PS_SOLID, 1, RGB(0, 255, 0));
hPenOld = (HPEN)SelectObject(hdc, hPen)... | 20.375 | 48 | 0.660532 | [
"shape"
] |
5b1c777c2bab26d55959ae56161bab8444001f51 | 920 | cpp | C++ | src/Scene.cpp | jenningsm42/mini-mmo-client | 464d062814f17a2fff8938dc99c4061553c5b7a8 | [
"MIT"
] | 2 | 2020-04-03T05:41:59.000Z | 2022-03-13T20:26:42.000Z | src/Scene.cpp | jenningsm42/mini-mmo-client | 464d062814f17a2fff8938dc99c4061553c5b7a8 | [
"MIT"
] | null | null | null | src/Scene.cpp | jenningsm42/mini-mmo-client | 464d062814f17a2fff8938dc99c4061553c5b7a8 | [
"MIT"
] | 1 | 2020-04-03T05:42:00.000Z | 2020-04-03T05:42:00.000Z | #include "Scene.hpp"
bool Scene::handleMessage(Game& game, const Message& message) {
if (m_handlers.find(message.getType()) == m_handlers.end()) {
return false;
}
auto handler = m_handlers[message.getType()];
handler(game, m_objects, message);
return true;
}
void Scene::update(Game& game... | 23.589744 | 84 | 0.671739 | [
"object"
] |
5b1e228059bfa8ab1576daa22ee1068ec2d938f4 | 3,375 | cpp | C++ | tools/polygonal/kpToolPolyline.cpp | mikefncu/ikPaint | ee787809c5df0a1b78995962ced4ec3870cc139c | [
"BSD-2-Clause"
] | null | null | null | tools/polygonal/kpToolPolyline.cpp | mikefncu/ikPaint | ee787809c5df0a1b78995962ced4ec3870cc139c | [
"BSD-2-Clause"
] | null | null | null | tools/polygonal/kpToolPolyline.cpp | mikefncu/ikPaint | ee787809c5df0a1b78995962ced4ec3870cc139c | [
"BSD-2-Clause"
] | null | null | null |
/*
Copyright (c) 2003-2007 Clarence Dang <dang@kde.org>
Modified by Maikel Diaz <ariguanabosoft@gmail.com>
Copyright (c) 2015-2018
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
... | 29.094828 | 83 | 0.689481 | [
"shape"
] |
5b1f60f3bfddfb724d763a9123e835a81d8614d9 | 36,047 | cxx | C++ | Utilities/ImMapAttic/Fl_VTK_Window.cxx | NIRALUser/AtlasWerks | a074ca208ab41a6ed89c1f0b70004998f7397681 | [
"BSD-3-Clause"
] | 3 | 2016-04-26T05:06:06.000Z | 2020-08-01T09:46:54.000Z | Utilities/ImMapAttic/Fl_VTK_Window.cxx | scalphunters/AtlasWerks | 9d224bf8db628805368fcb7973ac578937b6b595 | [
"BSD-3-Clause"
] | 1 | 2018-11-27T21:53:48.000Z | 2019-05-13T15:21:31.000Z | Utilities/ImMapAttic/Fl_VTK_Window.cxx | scalphunters/AtlasWerks | 9d224bf8db628805368fcb7973ac578937b6b595 | [
"BSD-3-Clause"
] | 2 | 2019-01-24T02:07:17.000Z | 2019-12-11T17:27:42.000Z | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* $Id: Fl_VTK_Window.cxx,v 1.46 2005/07/29 22:37:58 xpxqx Exp $
*
* Copyright (c) 2002 - 2005 Sean McInerney
* All rights reserved.
*
* See Copyright.txt or http://vtkfltk.sourceforge.net/Copyright.html
* for details.
*
* This s... | 32.242397 | 80 | 0.580548 | [
"render",
"object"
] |
5b23372492e1138fb6e6ab4591c6181a4859736f | 7,879 | hpp | C++ | include/opentxs/api/client/Activity.hpp | pjz/opentxs | 04cb17a7d1870c4c3b264e4307b9e9f248f24c87 | [
"MIT"
] | null | null | null | include/opentxs/api/client/Activity.hpp | pjz/opentxs | 04cb17a7d1870c4c3b264e4307b9e9f248f24c87 | [
"MIT"
] | null | null | null | include/opentxs/api/client/Activity.hpp | pjz/opentxs | 04cb17a7d1870c4c3b264e4307b9e9f248f24c87 | [
"MIT"
] | null | null | null | // Copyright (c) 2018 The Open-Transactions developers
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#ifndef OPENTXS_API_CLIENT_ACTIVITY_HPP
#define OPENTXS_API_CL... | 38.062802 | 80 | 0.644879 | [
"object"
] |
5b252330f28b24c8c22f1ec5408f3172810fce50 | 8,973 | cpp | C++ | tests_simple/lmartin/test_vector.cpp | ggjulio/ft_containers | 77e221965e9c0813a4e20673d82eaa84814fe369 | [
"MIT"
] | null | null | null | tests_simple/lmartin/test_vector.cpp | ggjulio/ft_containers | 77e221965e9c0813a4e20673d82eaa84814fe369 | [
"MIT"
] | null | null | null | tests_simple/lmartin/test_vector.cpp | ggjulio/ft_containers | 77e221965e9c0813a4e20673d82eaa84814fe369 | [
"MIT"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* test_vector.cpp :+: :+: :+: ... | 38.182979 | 138 | 0.510309 | [
"vector"
] |
5b2cd0cbe2db645d8899c04f43ffd8f32fb85bf7 | 9,426 | cc | C++ | modules/video_coding/main/source/timing.cc | aleonliao/webrtc-3.31 | a282cc166883aea82a8149d64e82ca29aa9f27f1 | [
"DOC",
"BSD-3-Clause"
] | null | null | null | modules/video_coding/main/source/timing.cc | aleonliao/webrtc-3.31 | a282cc166883aea82a8149d64e82ca29aa9f27f1 | [
"DOC",
"BSD-3-Clause"
] | null | null | null | modules/video_coding/main/source/timing.cc | aleonliao/webrtc-3.31 | a282cc166883aea82a8149d64e82ca29aa9f27f1 | [
"DOC",
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 29.641509 | 98 | 0.664333 | [
"render"
] |
5b2f1d025158666549cb2dab6aaac549723bcace | 17,363 | cpp | C++ | opencv_contrib/src/+cv/private/DisparityWLSFilter_.cpp | 1123852253/mexopencv | 17db690133299f561924a45e9092673a4df66c5b | [
"BSD-3-Clause"
] | 571 | 2015-01-04T06:23:19.000Z | 2022-03-31T07:37:19.000Z | opencv_contrib/src/+cv/private/DisparityWLSFilter_.cpp | 1123852253/mexopencv | 17db690133299f561924a45e9092673a4df66c5b | [
"BSD-3-Clause"
] | 362 | 2015-01-06T14:20:46.000Z | 2022-01-20T08:10:46.000Z | opencv_contrib/src/+cv/private/DisparityWLSFilter_.cpp | 1123852253/mexopencv | 17db690133299f561924a45e9092673a4df66c5b | [
"BSD-3-Clause"
] | 300 | 2015-01-20T03:21:27.000Z | 2022-03-31T07:36:37.000Z | /**
* @file DisparityWLSFilter_.cpp
* @brief mex interface for cv::ximgproc::DisparityWLSFilter
* @ingroup ximgproc
* @author Amro
* @date 2016
*/
#include "mexopencv.hpp"
#include "opencv2/ximgproc.hpp"
#include <typeinfo>
using namespace std;
using namespace cv;
using namespace cv::ximgproc;
// Persistent obje... | 36.553684 | 87 | 0.558256 | [
"object",
"vector"
] |
5b2f5601b8030e6934a0eb870facdd31d68a18bd | 295 | hpp | C++ | Sandbox/src/SandBox.hpp | ajp-9/nimble-engine | c81a650249231978b5c971956ec2881727869dff | [
"MIT"
] | 1 | 2021-03-07T22:50:28.000Z | 2021-03-07T22:50:28.000Z | Sandbox/src/SandBox.hpp | ajp-9/nimble-engine | c81a650249231978b5c971956ec2881727869dff | [
"MIT"
] | null | null | null | Sandbox/src/SandBox.hpp | ajp-9/nimble-engine | c81a650249231978b5c971956ec2881727869dff | [
"MIT"
] | null | null | null | #pragma once
#include <dex/Dexlite.hpp>
#include <memory>
class SandBox : public dex::Program
{
public:
virtual void Init() override;
virtual void Shutdown() override;
virtual void update() override;
virtual void render() override;
private:
};
DEXLITE_DEFINE_MAIN(SandBox);
| 16.388889 | 38 | 0.711864 | [
"render"
] |
5b3266de0dda452d0eae93331d313484f7932dbb | 132,333 | cpp | C++ | big_homework/mainwindow.cpp | caozhangjie/Graph-Visualization-System | 1b66ac9ea7662eddd33542039f66b75f480d2d0a | [
"MIT"
] | null | null | null | big_homework/mainwindow.cpp | caozhangjie/Graph-Visualization-System | 1b66ac9ea7662eddd33542039f66b75f480d2d0a | [
"MIT"
] | null | null | null | big_homework/mainwindow.cpp | caozhangjie/Graph-Visualization-System | 1b66ac9ea7662eddd33542039f66b75f480d2d0a | [
"MIT"
] | null | null | null | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include "pointcolor.h"
#include "filterdialog.h"
#include "filtertopicdialog.h"
#include <QPainter>
#include <QTimer>
#include <QTime>
#include <QColor>
#include<QKeyEvent>
#include<Qt>
#include<QPoint>
#include<QSize>
#include <QMessageBox>
#include <QF... | 34.815312 | 236 | 0.489689 | [
"vector"
] |
5b3974f2fe537349cedf0f5c61d44edc5e520b88 | 12,657 | hpp | C++ | include/ufmt/text.hpp | ortfero/fb2md | 5764a79b672e311f9604c3e8e614c9c998cd9a06 | [
"MIT"
] | null | null | null | include/ufmt/text.hpp | ortfero/fb2md | 5764a79b672e311f9604c3e8e614c9c998cd9a06 | [
"MIT"
] | null | null | null | include/ufmt/text.hpp | ortfero/fb2md | 5764a79b672e311f9604c3e8e614c9c998cd9a06 | [
"MIT"
] | null | null | null | /* This file is part of ufmt library
* Copyright 2020-2022 Andrei Ilin <ortfero@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 limita... | 30.207637 | 84 | 0.515367 | [
"vector"
] |
5b48167e269126e0e043b3c70cb014a4f24945a6 | 2,286 | cpp | C++ | my04-Maze-Solver迷宫解密/maze.cpp | makelove/OpenCV-Python-Tutorial | e428d648f7aa50d6a0fb4f4d0fb1bd1a600fef41 | [
"MIT"
] | 2,875 | 2016-10-21T01:33:22.000Z | 2022-03-30T12:15:28.000Z | my04-Maze-Solver迷宫解密/maze.cpp | makelove/OpenCV-Python-Tutorial | e428d648f7aa50d6a0fb4f4d0fb1bd1a600fef41 | [
"MIT"
] | 12 | 2017-07-18T14:24:27.000Z | 2021-07-04T10:32:25.000Z | my04-Maze-Solver迷宫解密/maze.cpp | makelove/OpenCV-Python-Tutorial | e428d648f7aa50d6a0fb4f4d0fb1bd1a600fef41 | [
"MIT"
] | 1,066 | 2017-03-11T01:43:28.000Z | 2022-03-29T14:52:41.000Z | #include<iostream>
#include<cstdlib>
#include<opencv2/core/core.hpp>
#include<opencv2/highgui/highgui.hpp>
#include<opencv2/imgproc/imgproc.hpp>
using namespace std;
using namespace cv;
Mat kernel = Mat::ones(15, 15, CV_8UC1);
class Morph{
private:
int dilationElem,erodeElem;
int dilationSize,erodeSize;
public:
M... | 27.878049 | 120 | 0.755906 | [
"vector"
] |
5b48ac3af4571a9a43b9f0e0d9747093d3e3b740 | 14,215 | cc | C++ | log/test/integration/query.cc | srmainwaring/ign-transport | f3c8f8b043c4cf2203ad0dd621181b882cae5667 | [
"ECL-2.0",
"Apache-2.0"
] | 21 | 2020-04-15T16:58:42.000Z | 2022-03-07T00:27:15.000Z | log/test/integration/query.cc | srmainwaring/ign-transport | f3c8f8b043c4cf2203ad0dd621181b882cae5667 | [
"ECL-2.0",
"Apache-2.0"
] | 164 | 2020-04-29T23:29:49.000Z | 2022-03-25T22:30:10.000Z | log/test/integration/query.cc | srmainwaring/ign-transport | f3c8f8b043c4cf2203ad0dd621181b882cae5667 | [
"ECL-2.0",
"Apache-2.0"
] | 23 | 2020-05-15T18:34:59.000Z | 2022-02-01T16:46:52.000Z | /*
* Copyright (C) 2017 Open Source Robotics Foundation
*
* 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 appl... | 28.486974 | 78 | 0.628772 | [
"vector"
] |
5b5ba60bd4960d1ff3332f93a4dc53d739773052 | 970 | cpp | C++ | contest/AtCoder/abc123/D.cpp | not522/Competitive-Programming | be4a7d25caf5acbb70783b12899474a56c34dedb | [
"Unlicense"
] | 7 | 2018-04-14T14:55:51.000Z | 2022-01-31T10:49:49.000Z | contest/AtCoder/abc123/D.cpp | not522/Competitive-Programming | be4a7d25caf5acbb70783b12899474a56c34dedb | [
"Unlicense"
] | 5 | 2018-04-14T14:28:49.000Z | 2019-05-11T02:22:10.000Z | contest/AtCoder/abc123/D.cpp | not522/Competitive-Programming | be4a7d25caf5acbb70783b12899474a56c34dedb | [
"Unlicense"
] | null | null | null | #include "priority_queue.hpp"
#include "set.hpp"
#include "vector.hpp"
int main() {
int x(in), y(in), z(in), k(in);
Vector<int64_t> a(x, in), b(y, in), c(z, in);
a.rsort();
b.rsort();
c.rsort();
PriorityQueue<Tuple<int64_t, int, int, int>> que;
Set<Tuple<int, int, int>> s;
que.emplace(a[0] + b[0] + c[0... | 30.3125 | 74 | 0.482474 | [
"vector"
] |
5b67e3c466288a1084552382555d1a3e7d50cf59 | 861 | cpp | C++ | algorithms/cpp/393.cpp | viing937/leetcode | e21ca52c98bddf59e43522c0aace5e8cf84350eb | [
"MIT"
] | 3 | 2016-10-01T10:15:09.000Z | 2017-07-09T02:53:36.000Z | algorithms/cpp/393.cpp | viing937/leetcode | e21ca52c98bddf59e43522c0aace5e8cf84350eb | [
"MIT"
] | null | null | null | algorithms/cpp/393.cpp | viing937/leetcode | e21ca52c98bddf59e43522c0aace5e8cf84350eb | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
using namespace std;
class Solution {
public:
bool validUtf8(vector<int> &data) {
int n = data.size();
for (int i = 0; i < n; i++) {
int idx = -1;
for (int j = 0; j < 8; j++) {
if ((data[i] & (0x80>>j)) == 0x00) {
... | 19.568182 | 52 | 0.372822 | [
"vector"
] |
5b68a90b6d07b8d26a2249b3fdb4bd2321de3741 | 2,464 | hpp | C++ | MCTS.hpp | Roout/minimax | d4f20fbe9d6f19f8fb078874e2af8b45c92603e8 | [
"MIT"
] | null | null | null | MCTS.hpp | Roout/minimax | d4f20fbe9d6f19f8fb078874e2af8b45c92603e8 | [
"MIT"
] | 7 | 2020-10-26T22:58:07.000Z | 2021-04-06T11:48:18.000Z | MCTS.hpp | Roout/tic-tac-toe-solver | d4f20fbe9d6f19f8fb078874e2af8b45c92603e8 | [
"MIT"
] | null | null | null | #ifndef MCTS_HPP
#define MCTS_HPP
#include "Board.hpp"
#include "ElementPool.hpp"
#include "Solver.hpp"
#include <cstdint>
#include <random>
namespace solution {
// TODO: remove parent from the node
// TODO: get rid of the fucking std::vector
struct Node final {
Solver::State_t m_state {};
std::vector<Node*... | 27.076923 | 108 | 0.645698 | [
"vector"
] |
5b699b2d1bc6081f6d861c946d5ae237fbfed03b | 13,114 | cpp | C++ | mech/mechanics_driver.cpp | paulkefer/cardioid | 59c07b714d8b066b4f84eb50487c36f6eadf634c | [
"MIT-0",
"MIT"
] | 33 | 2018-12-12T20:05:06.000Z | 2021-09-26T13:30:16.000Z | mech/mechanics_driver.cpp | paulkefer/cardioid | 59c07b714d8b066b4f84eb50487c36f6eadf634c | [
"MIT-0",
"MIT"
] | 5 | 2019-04-25T11:34:43.000Z | 2021-11-14T04:35:37.000Z | mech/mechanics_driver.cpp | paulkefer/cardioid | 59c07b714d8b066b4f84eb50487c36f6eadf634c | [
"MIT-0",
"MIT"
] | 15 | 2018-12-21T22:44:59.000Z | 2021-08-29T10:30:25.000Z | #include "mfem.hpp"
#include "cardiac_physics.hpp"
#include "cardiac_integrators.hpp"
#include "mechanics_driver.hpp"
#include "ConstantTension.hpp"
#include "Lumens2009.hpp"
#include <memory>
#include <iostream>
#include <fstream>
#include <sys/stat.h>
#include <cerrno>
int main(int argc, char *argv[])
{
// Initia... | 31.22381 | 111 | 0.610569 | [
"mesh",
"vector",
"model"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.