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
419a8e68c2a5a7c4ef636ba72fa658a8313af763
1,754
hpp
C++
GuildHallMainScreen.hpp
CmptAdam/ProjectIO
a280d909a170835c49c195537637da68f445a5b2
[ "Libpng" ]
null
null
null
GuildHallMainScreen.hpp
CmptAdam/ProjectIO
a280d909a170835c49c195537637da68f445a5b2
[ "Libpng" ]
null
null
null
GuildHallMainScreen.hpp
CmptAdam/ProjectIO
a280d909a170835c49c195537637da68f445a5b2
[ "Libpng" ]
null
null
null
/* * Copyright 2013 Cepheid * * 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...
27.40625
76
0.664766
CmptAdam
419c56330eab5c75d7b268c6f7a3d73e50063459
940
hpp
C++
include/kmeans/compute_centroids.hpp
LTLA/CppKmeans
924ea37c55edbfbd2aacd3c55954d167f15a7922
[ "MIT" ]
2
2021-07-22T03:01:49.000Z
2021-11-11T11:07:30.000Z
include/kmeans/compute_centroids.hpp
LTLA/CppKmeans
924ea37c55edbfbd2aacd3c55954d167f15a7922
[ "MIT" ]
3
2021-07-21T07:37:16.000Z
2022-02-15T06:55:38.000Z
vendor/kmeans/compute_centroids.hpp
kojix2/umap
92404e3afe312393fb849227e0d6e91ad4355d8d
[ "MIT" ]
1
2021-11-12T22:02:46.000Z
2021-11-12T22:02:46.000Z
#ifndef KMEANS_COMPUTE_CENTROIDS_HPP #define KMEANS_COMPUTE_CENTROIDS_HPP #include <algorithm> namespace kmeans { template<typename DATA_t = double, typename INDEX_t = int, typename CLUSTER_t = int, class V> void compute_centroids(int ndim, INDEX_t nobs, const DATA_t* data, CLUSTER_t ncenters, DATA_t* centers, const...
28.484848
148
0.584043
LTLA
41a08393a9828abc86b1b78877fda9fd828080b9
5,131
cpp
C++
appservice/MainPage.cpp
wravery/gqlmapi-winrt
b0e26739248a7a55a2e3275e39ffcf7cb5f55a82
[ "MIT" ]
null
null
null
appservice/MainPage.cpp
wravery/gqlmapi-winrt
b0e26739248a7a55a2e3275e39ffcf7cb5f55a82
[ "MIT" ]
null
null
null
appservice/MainPage.cpp
wravery/gqlmapi-winrt
b0e26739248a7a55a2e3275e39ffcf7cb5f55a82
[ "MIT" ]
null
null
null
#include "pch.h" #include "MainPage.h" #include "MainPage.g.cpp" #include <sstream> using namespace winrt; using namespace clientlib; using namespace Windows::ApplicationModel; using namespace Windows::ApplicationModel::AppService; using namespace Windows::Data::Json; using namespace Windows::Foundation; using names...
23.322727
91
0.735529
wravery
41a271dafa385bc8e7328af7a7056ebfc83c7f46
12,805
cpp
C++
export/release/macos/obj/src/Replay.cpp
BushsHaxs/DOKIDOKI-MAC
22729124a0b7b637d56ff3b18acb555ec05934f1
[ "Apache-2.0" ]
null
null
null
export/release/macos/obj/src/Replay.cpp
BushsHaxs/DOKIDOKI-MAC
22729124a0b7b637d56ff3b18acb555ec05934f1
[ "Apache-2.0" ]
null
null
null
export/release/macos/obj/src/Replay.cpp
BushsHaxs/DOKIDOKI-MAC
22729124a0b7b637d56ff3b18acb555ec05934f1
[ "Apache-2.0" ]
1
2021-12-11T09:19:29.000Z
2021-12-11T09:19:29.000Z
#include <hxcpp.h> #ifndef INCLUDED_Date #include <Date.h> #endif #ifndef INCLUDED_MusicBeatState #include <MusicBeatState.h> #endif #ifndef INCLUDED_PlayState #include <PlayState.h> #endif #ifndef INCLUDED_Replay #include <Replay.h> #endif #ifndef INCLUDED_Sys #include <Sys.h> #endif #ifndef INCLUDED_flixel_FlxBasic ...
37.997033
540
0.689809
BushsHaxs
41a3ee9ce79ccf99ae30ddb29e5412f335d3bfea
342
cpp
C++
DX11Starter/DX11Starter/FinishLine.cpp
mray2014/CosmicEngine
e2255251041b1466d9ba1465926369baa5a91c9a
[ "MIT" ]
null
null
null
DX11Starter/DX11Starter/FinishLine.cpp
mray2014/CosmicEngine
e2255251041b1466d9ba1465926369baa5a91c9a
[ "MIT" ]
null
null
null
DX11Starter/DX11Starter/FinishLine.cpp
mray2014/CosmicEngine
e2255251041b1466d9ba1465926369baa5a91c9a
[ "MIT" ]
null
null
null
#include "FinishLine.h" FinishLine::FinishLine() { } FinishLine::FinishLine(GameEntity * obj, float spd) { finishLine = obj; speed = spd; finishLine->SetActive(false); } FinishLine::~FinishLine() { } void FinishLine::Update(float dt) { if(finishLine->isActive) { finishLine->transform.Translate(0.0f, 0.0...
11.4
59
0.678363
mray2014
41a937619bc2e531d1c05a71fb416c00f902a945
651
hpp
C++
include/metrics/Gauge.hpp
Rechip/mqtt-exporter
ebb7e44d066242b874cc3a602e3b32e97685fa95
[ "MIT" ]
null
null
null
include/metrics/Gauge.hpp
Rechip/mqtt-exporter
ebb7e44d066242b874cc3a602e3b32e97685fa95
[ "MIT" ]
null
null
null
include/metrics/Gauge.hpp
Rechip/mqtt-exporter
ebb7e44d066242b874cc3a602e3b32e97685fa95
[ "MIT" ]
null
null
null
#ifndef ME_METRICS_GAUGE_HPP_ #define ME_METRICS_GAUGE_HPP_ #include "IMetric.hpp" #include "IMetricFamily.hpp" class Gauge : public IMetric { public: Gauge(IMetricFamily* family, LabelSet labelset); ~Gauge() override = default; struct Point : public IPoint { using IPoint::IPoint; virtual ~Point() = default; ...
19.147059
74
0.734255
Rechip
41aa5e763e87df6247fecd728f7d9aa9adf1d2b6
2,037
hpp
C++
Project/DX11-Framework/Include/PipelineStates.hpp
ryandugie/DX11-Framework
9086cfbc7c4beae78638d7c783bf839cd7d006b1
[ "Apache-2.0" ]
null
null
null
Project/DX11-Framework/Include/PipelineStates.hpp
ryandugie/DX11-Framework
9086cfbc7c4beae78638d7c783bf839cd7d006b1
[ "Apache-2.0" ]
null
null
null
Project/DX11-Framework/Include/PipelineStates.hpp
ryandugie/DX11-Framework
9086cfbc7c4beae78638d7c783bf839cd7d006b1
[ "Apache-2.0" ]
1
2022-03-18T13:39:58.000Z
2022-03-18T13:39:58.000Z
/****************************************************************************/ /*! \file PipelineStates.hpp \Author Ryan Dugie \brief Copyright (c) Ryan Dugie. All rights reserved. Licensed under the Licensed under the Apache License 2.0. Wrappers around ID3D11RasterizerState, ID3D11DepthStencilState...
29.1
107
0.59352
ryandugie
41b1fe26bd5892e7074963557a67ef43983208d1
3,355
cpp
C++
src/ListParser.cpp
Nynergy/cascade
887efc264907ce7ca7f1500ab315c2d7ba41fa5b
[ "MIT" ]
null
null
null
src/ListParser.cpp
Nynergy/cascade
887efc264907ce7ca7f1500ab315c2d7ba41fa5b
[ "MIT" ]
null
null
null
src/ListParser.cpp
Nynergy/cascade
887efc264907ce7ca7f1500ab315c2d7ba41fa5b
[ "MIT" ]
null
null
null
#include "ListParser.hpp" ListParser::ListParser(std::string listPath) { try { fproc = new FileProcessor(listPath); } catch(InvalidFileException& e) { throw InvalidFileException(e.what()); } } ListParser::~ListParser() { delete fproc; } std::vector<Section> ListParser::parseList() { ...
27.958333
103
0.625037
Nynergy
41b240f2f21e212b4871c32fa8a1882fd251ce08
1,778
cpp
C++
lib/Analyzer/PolygonAnalyzer.cpp
digirea/HIVE
8896b0cc858c1ad0683888b925f71c0f0d71bf9d
[ "MIT" ]
null
null
null
lib/Analyzer/PolygonAnalyzer.cpp
digirea/HIVE
8896b0cc858c1ad0683888b925f71c0f0d71bf9d
[ "MIT" ]
null
null
null
lib/Analyzer/PolygonAnalyzer.cpp
digirea/HIVE
8896b0cc858c1ad0683888b925f71c0f0d71bf9d
[ "MIT" ]
null
null
null
/** * @file PolygonAnalyzer.cpp * ポリゴンデータ解析モジュール */ #include <string> #include "PolygonAnalyzer.h" #include "Analyzer.h" #include "../Buffer/BufferMeshData.h" #include "Buffer.h" /// コンストラクタ PolygonAnalyzer::PolygonAnalyzer() { Clear(); } /// デストラクタ PolygonAnalyzer::~PolygonAnalyzer() { } /// メンバクリア void Pol...
16.773585
83
0.636108
digirea
41b589d7f3e7a22fc266cc27b6847568f317ac2e
6,827
cpp
C++
src/tkvsdatabase.cpp
DRFrederik/treefrog-framework
df625f3f0aee98e04c5676d5878853826693bbdb
[ "BSD-3-Clause" ]
null
null
null
src/tkvsdatabase.cpp
DRFrederik/treefrog-framework
df625f3f0aee98e04c5676d5878853826693bbdb
[ "BSD-3-Clause" ]
1
2021-09-27T23:44:17.000Z
2021-09-27T23:44:17.000Z
src/tkvsdatabase.cpp
DRFrederik/treefrog-framework
df625f3f0aee98e04c5676d5878853826693bbdb
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2012-2019, AOYAMA Kazuharu * All rights reserved. * * This software may be used and distributed according to the terms of * the New BSD License, which is incorporated herein by reference. */ #include <TKvsDatabase> #include <TKvsDriver> #include <TSystemGlobal> #include "tmongodriver.h" #include ...
21.60443
143
0.674528
DRFrederik
41bc3ed4691612a581b85efc5711bcf3e0bffc0f
728
hpp
C++
legacy/RX63T/peripheral.hpp
hirakuni45/RX
3fb91bfc8d5282cde7aa00b8bd37f4aad32582d0
[ "BSD-3-Clause" ]
56
2015-06-04T14:15:38.000Z
2022-03-01T22:58:49.000Z
RX63T/peripheral.hpp
duybang140494/RX
7fed06a9d8295f4504e8a08fa589d4a52792095f
[ "BSD-3-Clause" ]
30
2019-07-27T11:03:14.000Z
2021-12-14T09:59:57.000Z
RX63T/peripheral.hpp
duybang140494/RX
7fed06a9d8295f4504e8a08fa589d4a52792095f
[ "BSD-3-Clause" ]
15
2017-06-24T11:33:39.000Z
2021-12-07T07:26:58.000Z
#pragma once //=====================================================================// /*! @file @brief RX63T グループ・ペリフェラル @author 平松邦仁 (hira@rvf-rc45.net) @copyright Copyright (C) 2013, 2017 Kunihito Hiramatsu @n Released under the MIT license @n https://github.com/hirakuni45/RX/blob/master/LICENSE...
22.75
74
0.365385
hirakuni45
41be9d3e58e1452e9f8c1fbaeb7088b10e07d0d7
622
cpp
C++
7_Math/2_CombinatorialMathematics/2_full_permutation.cpp
JasongLee/Way-to-Algorithm-1
249a320845a960d942ae742cb5bd273e814a9e85
[ "MIT" ]
1
2017-04-16T15:23:29.000Z
2017-04-16T15:23:29.000Z
7_Math/2_CombinatorialMathematics/2_full_permutation.cpp
JasongLee/Way-to-Algorithm-1
249a320845a960d942ae742cb5bd273e814a9e85
[ "MIT" ]
null
null
null
7_Math/2_CombinatorialMathematics/2_full_permutation.cpp
JasongLee/Way-to-Algorithm-1
249a320845a960d942ae742cb5bd273e814a9e85
[ "MIT" ]
1
2018-07-19T00:52:39.000Z
2018-07-19T00:52:39.000Z
//全排列 //full_permutaion.cpp //求序列s的所有成员的组合 //当序列s有三个元素,s = {1, 2, 3}时,它的所有组合方式是 //{1, 2, 3} {1, 3, 2} {2, 1, 3} {2, 3, 1} {3, 1, 2} {3, 2, 1} //全排列的方法非常像深度优先搜索,同样通过递归技术实现 #include "general_head.h" #include "com_local.h" //brute_force.cpp extern void print_status(int *s, int beg, int end); void full_pe...
21.448276
62
0.581994
JasongLee
41c1203d151483c3ee7623f7b22a2c3d5faa3afc
7,783
cc
C++
src/NodeList/FluidNodeList.cc
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
22
2018-07-31T21:38:22.000Z
2020-06-29T08:58:33.000Z
src/NodeList/FluidNodeList.cc
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
41
2020-09-28T23:14:27.000Z
2022-03-28T17:01:33.000Z
src/NodeList/FluidNodeList.cc
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
7
2019-12-01T07:00:06.000Z
2020-09-15T21:12:39.000Z
//---------------------------------Spheral++----------------------------------// // FluidNodeList -- An abstract base class for the NodeLists to represent // fluids. // // Created by JMO, Sat Sep 18 10:50:42 PDT 1999 //----------------------------------------------------------------------------// #incl...
39.308081
98
0.540794
jmikeowen
41ca2f0b190cd0ef83813ade52467539822ca7a7
4,936
hpp
C++
hpx/runtime/serialization/array.hpp
bremerm31/hpx
a9d22b8eb2e443d2e95991da9b1a621f94d4ebaa
[ "BSL-1.0" ]
1
2019-07-04T10:18:01.000Z
2019-07-04T10:18:01.000Z
hpx/runtime/serialization/array.hpp
bremerm31/hpx
a9d22b8eb2e443d2e95991da9b1a621f94d4ebaa
[ "BSL-1.0" ]
1
2017-07-24T07:16:26.000Z
2017-07-24T08:03:33.000Z
hpx/runtime/serialization/array.hpp
biddisco/hpx
2d244e1e27c6e014189a6cd59c474643b31fad4b
[ "BSL-1.0" ]
null
null
null
// (C) Copyright 2005 Matthias Troyer and Dave Abrahams // Copyright (c) 2015 Anton Bikineev // Copyright (c) 2015 Andreas Schaefer // // 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) #ifndef HPX_SERIALIZATION_...
28.045455
87
0.605146
bremerm31
41cbc4d01ee24c4b6979bbe1440e4140301a462e
2,645
cpp
C++
test/test_ExpIndexedList.cpp
hleclerc/Evel
c607adda555f417dfc9fb4de310c07c48ea3642f
[ "Apache-2.0" ]
null
null
null
test/test_ExpIndexedList.cpp
hleclerc/Evel
c607adda555f417dfc9fb4de310c07c48ea3642f
[ "Apache-2.0" ]
null
null
null
test/test_ExpIndexedList.cpp
hleclerc/Evel
c607adda555f417dfc9fb4de310c07c48ea3642f
[ "Apache-2.0" ]
null
null
null
#include "../src/Evel/ExpIndexedList.h" #include <gtest/gtest.h> #include <map> using namespace Evel; struct Foo { void write_to_stream( std::ostream &os ) const { os << exp_indexed_item_data.offset; } ExpIndexedItemData<Foo,GetExpIndexedItemData> exp_indexed_item_data; }; TEST( ExpIndexedList, b...
28.44086
123
0.484688
hleclerc
41ce3a91a5ac61bf75cec38fc3dc6a58324c04fe
1,039
cpp
C++
samples/snippets/cpp/VS_Snippets_CLR_System/system.Buffer.BlockCopy/CPP/overlap1.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
421
2018-04-01T01:57:50.000Z
2022-03-28T15:24:42.000Z
samples/snippets/cpp/VS_Snippets_CLR_System/system.Buffer.BlockCopy/CPP/overlap1.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
5,797
2018-04-02T21:12:23.000Z
2022-03-31T23:54:38.000Z
samples/snippets/cpp/VS_Snippets_CLR_System/system.Buffer.BlockCopy/CPP/overlap1.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
1,482
2018-03-31T11:26:20.000Z
2022-03-30T22:36:45.000Z
// Buffer.BlockCopy.cpp : main project file. using namespace System; void CopyExample1() { // <Snippet3> const int INT_SIZE = 4; array<Int32>^ arr = gcnew array<Int32> { 2, 4, 6, 8, 10, 12, 14, 16, 18, 20 }; Buffer::BlockCopy(arr, 0 * INT_SIZE, arr, 3 * INT_SIZE, 4 * INT_SIZE); for each (int ...
27.342105
82
0.556304
hamarb123
41ce8c6bfeb1f69d559cc61d943cfc332ee5f831
1,426
cpp
C++
src/_5GS/ie/QoS_rule.cpp
OPENAIRINTERFACE/oai-libnascodec-cpp
c87005933fa6d748909f7fd8f1e0b1412abd0458
[ "Apache-2.0" ]
3
2019-12-06T14:17:41.000Z
2020-09-30T17:26:17.000Z
src/_5GS/ie/QoS_rule.cpp
OPENAIRINTERFACE/oai-libnascodec-cpp
c87005933fa6d748909f7fd8f1e0b1412abd0458
[ "Apache-2.0" ]
null
null
null
src/_5GS/ie/QoS_rule.cpp
OPENAIRINTERFACE/oai-libnascodec-cpp
c87005933fa6d748909f7fd8f1e0b1412abd0458
[ "Apache-2.0" ]
4
2019-12-06T14:22:37.000Z
2021-03-20T01:44:55.000Z
#include <_5GS/ie/QoS_rule.h> #include <buffers.h> namespace _5GS { namespace IE { // class QoS_rule QoS_rule::QoS_rule(const DQR_bit dqr, const Rule_operation_code operation) : m_dqr_bit(dqr), m_operation(operation) { m_present = true; } void QoS...
20.970588
92
0.641655
OPENAIRINTERFACE
41d1a9095837ab44c3d7c4f825d8f9fb33994499
4,144
cpp
C++
DynacoeSrc/srcs/Dynacoe/Backends/Renderer/ShaderGL/RenderBuffer_Tex.cpp
jcorks/Dynacoe
2d606620e8072d8ae76aa2ecdc31512ac90362d9
[ "Apache-2.0", "MIT", "Libpng", "FTL", "BSD-3-Clause" ]
1
2015-11-06T18:10:11.000Z
2015-11-06T18:10:11.000Z
DynacoeSrc/srcs/Dynacoe/Backends/Renderer/ShaderGL/RenderBuffer_Tex.cpp
jcorks/Dynacoe
2d606620e8072d8ae76aa2ecdc31512ac90362d9
[ "Apache-2.0", "MIT", "Libpng", "FTL", "BSD-3-Clause" ]
8
2018-01-25T03:54:32.000Z
2018-09-17T01:55:35.000Z
DynacoeSrc/srcs/Dynacoe/Backends/Renderer/ShaderGL/RenderBuffer_Tex.cpp
jcorks/Dynacoe
2d606620e8072d8ae76aa2ecdc31512ac90362d9
[ "Apache-2.0", "MIT", "Libpng", "FTL", "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2018, Johnathan Corkery. (jcorkery@umich.edu) All rights reserved. This file is part of the Dynacoe project (https://github.com/jcorks/Dynacoe) Dynacoe was released under the MIT License, as detailed below. Permission is hereby granted, free of charge, to any person obtaining a copy of this softw...
29.183099
98
0.701979
jcorks
41d36bc7f7ce70a8e8f6672e489a05f344608ec1
1,199
cpp
C++
AudioDevice.cpp
kovdan01/libtgvoip
6fec40ea1acd40fddba927b049f78962507d4922
[ "Unlicense" ]
null
null
null
AudioDevice.cpp
kovdan01/libtgvoip
6fec40ea1acd40fddba927b049f78962507d4922
[ "Unlicense" ]
null
null
null
AudioDevice.cpp
kovdan01/libtgvoip
6fec40ea1acd40fddba927b049f78962507d4922
[ "Unlicense" ]
null
null
null
#include "logging.h" #include "AudioDevice.h" using namespace tgvoip; AudioInputTester::AudioInputTester(std::string deviceID) : m_deviceID(std::move(deviceID)) { m_io = audio::AudioIO::Create(m_deviceID, "default"); if (m_io->Failed()) { LOGE("Audio IO failed"); return; } m_in...
23.057692
106
0.621351
kovdan01
41d3a1e3400a41070beb24077c7be313855dd4d6
4,678
cpp
C++
src/shader.cpp
tenglvjun/geometry
b6615adaeb8c600cd1b75a604e6793e6a98e2fb3
[ "MIT" ]
null
null
null
src/shader.cpp
tenglvjun/geometry
b6615adaeb8c600cd1b75a604e6793e6a98e2fb3
[ "MIT" ]
null
null
null
src/shader.cpp
tenglvjun/geometry
b6615adaeb8c600cd1b75a604e6793e6a98e2fb3
[ "MIT" ]
null
null
null
#include "shader.h" #include "log.h" #include <iostream> #include <assert.h> #include "setting.h" static unsigned int g_bindingPoint = 0; Shader::Shader() : m_programID(0) { } Shader::~Shader() { DeleteProgram(); } void Shader::Init(const std::string &vertexCodes, const std::string &fragmentCodes) { m_f...
21.962441
115
0.660325
tenglvjun
41d6497081711e5c091d45c16429d964dced049a
14,144
hpp
C++
include/E/Networking/E_Host.hpp
Quasar0311/KENSv3
ca5c34ad9aac2feeecd49a7ba99c46e46d81eb18
[ "MIT" ]
null
null
null
include/E/Networking/E_Host.hpp
Quasar0311/KENSv3
ca5c34ad9aac2feeecd49a7ba99c46e46d81eb18
[ "MIT" ]
null
null
null
include/E/Networking/E_Host.hpp
Quasar0311/KENSv3
ca5c34ad9aac2feeecd49a7ba99c46e46d81eb18
[ "MIT" ]
null
null
null
/** * @file E_Host.hpp * @Author leeopop (dlrmsghd@gmail.com) * @date November, 2014 * @brief Header for E::Host and other interfaces. * E::HostModule, E::SystemCallInterface, E::SystemCallApplication */ #ifndef E_HOST_HPP_ #define E_HOST_HPP_ #include <E/E_Common.hpp> #include <E/E_Module.hpp> #include <E...
30.882096
80
0.681278
Quasar0311
41d6db1daa45d33e257cd64b60e2c4962dbc0661
52,339
cpp
C++
src/abcd.cpp
quantlibnode/quantlibnode
b50348131af77a2b6c295f44ef3245daf05c4afc
[ "MIT" ]
27
2016-11-19T16:51:21.000Z
2021-09-08T16:44:15.000Z
src/abcd.cpp
quantlibnode/quantlibnode
b50348131af77a2b6c295f44ef3245daf05c4afc
[ "MIT" ]
1
2016-12-28T16:38:38.000Z
2017-02-17T05:32:13.000Z
src/abcd.cpp
quantlibnode/quantlibnode
b50348131af77a2b6c295f44ef3245daf05c4afc
[ "MIT" ]
10
2016-12-28T02:31:38.000Z
2021-06-15T09:02:07.000Z
/* Copyright (C) 2016 -2017 Jerry Jin */ #include <nan.h> #include <string.h> #include "abcd.hpp" #include <qlo/qladdindefines.hpp> #include <qlo/abcd.hpp> #include <qlo/optimization.hpp> #include <ql/termstructures/volatility/abcd.hpp> #include <ql/termstructures/volatility/abcdcalibration.hpp> #include <qlo/loo...
23.910005
108
0.654846
quantlibnode
41dbf8f70f2640768d4f608dda9512b3977458bf
649
cpp
C++
cop3014-foundations/bullard/_old/COP3014L_2016R_Lab8/COP3014L_2016R_Lab8/DynamicArraysExp2.cpp
chrisbcarl/FAU-Computer-Science
98e247bda17bad97a285c01bf2b36af07d9f4239
[ "MIT" ]
null
null
null
cop3014-foundations/bullard/_old/COP3014L_2016R_Lab8/COP3014L_2016R_Lab8/DynamicArraysExp2.cpp
chrisbcarl/FAU-Computer-Science
98e247bda17bad97a285c01bf2b36af07d9f4239
[ "MIT" ]
null
null
null
cop3014-foundations/bullard/_old/COP3014L_2016R_Lab8/COP3014L_2016R_Lab8/DynamicArraysExp2.cpp
chrisbcarl/FAU-Computer-Science
98e247bda17bad97a285c01bf2b36af07d9f4239
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int DynamicArraysExp2() { int static_Array[5]; int *dynamic_Array; dynamic_Array = new int[5]; int i; for (i = 0; i<5; i++) { static_Array[i] = i; dynamic_Array[i] = 5; } for (i = 0; i<5; i++) { cout << "static_Array[" << i << "] = " << static_Array[i] << e...
16.641026
70
0.53775
chrisbcarl
41dccb99a8fe4c0ae9f802006ef9743b2e1640ab
3,002
cpp
C++
src/lstable.cpp
quotekio/quotek-ig
df27a3a5c7295f8652482b54d20c2f7462cbdad8
[ "BSD-3-Clause" ]
1
2019-04-27T08:20:15.000Z
2019-04-27T08:20:15.000Z
src/lstable.cpp
quotekio/quotek-ig
df27a3a5c7295f8652482b54d20c2f7462cbdad8
[ "BSD-3-Clause" ]
null
null
null
src/lstable.cpp
quotekio/quotek-ig
df27a3a5c7295f8652482b54d20c2f7462cbdad8
[ "BSD-3-Clause" ]
null
null
null
/* This is a Quick'n'Dirty C++ implementation of LightStreamer Client Copyright(c) 2015 Clément Gamé. 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 ...
26.333333
81
0.715523
quotekio
41dd8671690a2e393e8f860c45508bcb776a365c
2,667
cpp
C++
openstudiocore/src/bimserver/ReverseTranslator.cpp
zhouchong90/OpenStudio
f8570cb8297547b5e9cc80fde539240d8f7b9c24
[ "BSL-1.0", "blessing" ]
null
null
null
openstudiocore/src/bimserver/ReverseTranslator.cpp
zhouchong90/OpenStudio
f8570cb8297547b5e9cc80fde539240d8f7b9c24
[ "BSL-1.0", "blessing" ]
null
null
null
openstudiocore/src/bimserver/ReverseTranslator.cpp
zhouchong90/OpenStudio
f8570cb8297547b5e9cc80fde539240d8f7b9c24
[ "BSL-1.0", "blessing" ]
null
null
null
/********************************************************************** * Copyright (c) 2008-2014, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by t...
28.98913
127
0.67829
zhouchong90
41e02fe0f779d321bedcfb810ce1b8210f83c8a6
2,016
cxx
C++
Rendering/Parallel/vtkImageRenderManager.cxx
DmitrySemikin/vtk-mirror
7e70ac8c84797c7603686bd9bf8030c2ad8f101f
[ "BSD-3-Clause" ]
1
2021-07-21T07:15:44.000Z
2021-07-21T07:15:44.000Z
Rendering/Parallel/vtkImageRenderManager.cxx
DmitrySemikin/vtk-mirror
7e70ac8c84797c7603686bd9bf8030c2ad8f101f
[ "BSD-3-Clause" ]
null
null
null
Rendering/Parallel/vtkImageRenderManager.cxx
DmitrySemikin/vtk-mirror
7e70ac8c84797c7603686bd9bf8030c2ad8f101f
[ "BSD-3-Clause" ]
2
2020-03-24T14:09:05.000Z
2021-09-17T09:30:26.000Z
/*========================================================================= Program: Visualization Toolkit Module: vtkImageRenderManager.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This sof...
31.015385
78
0.547123
DmitrySemikin
41e58bde91c19094608900aef964731602feb4d5
2,841
hh
C++
src/Kernel/SincKernelInline.hh
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
22
2018-07-31T21:38:22.000Z
2020-06-29T08:58:33.000Z
src/Kernel/SincKernelInline.hh
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
41
2020-09-28T23:14:27.000Z
2022-03-28T17:01:33.000Z
src/Kernel/SincKernelInline.hh
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
7
2019-12-01T07:00:06.000Z
2020-09-15T21:12:39.000Z
#include "Geometry/Dimension.hh" #include "VolumeIntegrationFunctions.hh" #include "Utilities/DBC.hh" #include <math.h> namespace Spheral { //------------------------------------------------------------------------------ // Construct with the given extent in eta. //---------------------------------------------------...
36.896104
125
0.526223
jmikeowen
41e9077097e7b44b306f80bce4464211c305e304
640
cpp
C++
src/all/frm/core/File.cpp
john-chapman/GfxSampleFramework
6c19d1c7fdf28d8a74884876aa8839b4b982d65a
[ "MIT" ]
19
2017-02-22T21:02:44.000Z
2021-05-19T16:41:30.000Z
src/all/frm/core/File.cpp
john-chapman/GfxSampleFramework
6c19d1c7fdf28d8a74884876aa8839b4b982d65a
[ "MIT" ]
68
2016-11-14T17:48:54.000Z
2021-11-08T13:41:06.000Z
src/all/frm/core/File.cpp
john-chapman/GfxSampleFramework
6c19d1c7fdf28d8a74884876aa8839b4b982d65a
[ "MIT" ]
7
2017-05-05T17:49:02.000Z
2020-12-31T06:51:13.000Z
#include "File.h" #include <frm/core/memory.h> namespace frm { // PUBLIC void File::setData(const char* _data, uint _size) { m_data.reserve(_size); if (_data) { m_data.assign(_data, _data + _size); } else { m_data.assign(_size, '\0'); } } void File::appendData(const char* _data, uint _size) { uint curr...
15.238095
68
0.665625
john-chapman
41ec7732900cf6736527f0dd4da3d507de03dfcc
16,078
cpp
C++
tests/traits.test.cpp
uyha/fn
f22feef943a72a3d2feb2fde4c0875d6d3bc2338
[ "BSL-1.0" ]
7
2020-10-06T02:43:39.000Z
2022-03-20T07:51:38.000Z
tests/traits.test.cpp
uyha/fn
f22feef943a72a3d2feb2fde4c0875d6d3bc2338
[ "BSL-1.0" ]
null
null
null
tests/traits.test.cpp
uyha/fn
f22feef943a72a3d2feb2fde4c0875d6d3bc2338
[ "BSL-1.0" ]
null
null
null
// // Created by uyha on 26.09.2020. // #include "common.hpp" #include <catch2/catch.hpp> #include <river/fn.hpp> using namespace river; template <typename...> struct print_type; TEST_CASE("fn_trait should return a type that contains the correct information about the (member) " "function type") { CHECK(...
54.13468
116
0.801343
uyha
41edfd02afd0bdff454e421147ce0a98f347c7af
7,200
cpp
C++
general/filehistory/exe/fhsetup.cpp
ixjf/Windows-driver-samples
38985ba91feb685095754775e101389ad90c2aa6
[ "MS-PL" ]
3,084
2015-03-18T04:40:32.000Z
2019-05-06T17:14:33.000Z
general/filehistory/exe/fhsetup.cpp
ixjf/Windows-driver-samples
38985ba91feb685095754775e101389ad90c2aa6
[ "MS-PL" ]
275
2015-03-19T18:44:41.000Z
2019-05-06T14:13:26.000Z
general/filehistory/exe/fhsetup.cpp
ixjf/Windows-driver-samples
38985ba91feb685095754775e101389ad90c2aa6
[ "MS-PL" ]
3,091
2015-03-19T00:08:54.000Z
2019-05-06T16:42:01.000Z
// // File History Sample Setup Tool // Copyright (c) Microsoft Corporation. All Rights Reserved. // #include <fhsetup.h> HRESULT ScheduleBackups() /*++ Routine Description: This function starts the File History service if it is stopped and schedules regular backups. Arguments: None ...
26.470588
92
0.6125
ixjf
41ee7be2c27f4df8a53cff2a873f7f857759a679
2,177
hpp
C++
order/include/order/random_generator.hpp
DEIS-Tools/model-utilities
a1a38f7f8adcedc0b175fa7d3d06e4551688903a
[ "MIT" ]
null
null
null
order/include/order/random_generator.hpp
DEIS-Tools/model-utilities
a1a38f7f8adcedc0b175fa7d3d06e4551688903a
[ "MIT" ]
6
2019-11-14T13:49:39.000Z
2019-12-04T09:36:21.000Z
order/include/order/random_generator.hpp
DEIS-Tools/model-utilities
a1a38f7f8adcedc0b175fa7d3d06e4551688903a
[ "MIT" ]
2
2019-11-20T18:01:34.000Z
2020-05-05T07:18:37.000Z
/*Copyright 2019 Anders Madsen, Emil Jørgensen Njor, Emil Stenderup Bækdahl, Frederik Baymler *Mathiesen, Nikolaj Jensen Ulrik, Simon Mejlby Virenfeldt * *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 th...
43.54
100
0.756086
DEIS-Tools
41f89367f99ae847b5912da2cbbdb3f8a0977b4a
1,908
cpp
C++
Engine/Classes/Private/Game/Character.cpp
minimpoun/MARSLite
48652d6e7332acc846dcbd77722e2d974490c24b
[ "Apache-2.0" ]
1
2019-03-21T19:47:48.000Z
2019-03-21T19:47:48.000Z
Engine/Classes/Private/Game/Character.cpp
minimpoun/MARSLite
48652d6e7332acc846dcbd77722e2d974490c24b
[ "Apache-2.0" ]
null
null
null
Engine/Classes/Private/Game/Character.cpp
minimpoun/MARSLite
48652d6e7332acc846dcbd77722e2d974490c24b
[ "Apache-2.0" ]
null
null
null
#include <Classes/Public/Game/Character.h> #include <Classes/Public/Core/EngineStatics.hpp> #include "Classes/Public/GUI/MenuState.hpp" #include "Classes/Public/GUI/Canvas.hpp" void Character::Tick(const float& DeltaTime) { Actor::Tick(DeltaTime); } void Character::Draw(sf::RenderTarget* InTarget) { InTarget->draw(...
24.779221
94
0.716457
minimpoun
41f98dd4ef7475189b5aaaf8f4116a91cc6ba65b
9,673
cc
C++
src/mc/units/worker.cc
tic-toc/caesar.sdd
fa152df96bde9d7babbdffbd5b082d53b3f25e0c
[ "BSD-2-Clause" ]
1
2020-04-21T20:49:11.000Z
2020-04-21T20:49:11.000Z
src/mc/units/worker.cc
tic-toc/caesar.sdd
fa152df96bde9d7babbdffbd5b082d53b3f25e0c
[ "BSD-2-Clause" ]
4
2017-11-14T10:10:44.000Z
2019-08-09T22:01:22.000Z
src/mc/units/worker.cc
tic-toc/caesar.sdd
fa152df96bde9d7babbdffbd5b082d53b3f25e0c
[ "BSD-2-Clause" ]
1
2019-08-09T20:14:33.000Z
2019-08-09T20:14:33.000Z
#include <cassert> #include <chrono> #include <deque> #include <iostream> #include <set> #include <unordered_set> #include <utility> // pair #include <boost/dynamic_bitset.hpp> #include <sdd/order/strategies/force.hh> #include "mc/units/concurrent_units.hh" #include "mc/units/nopost_live.hh" #include "mc/units/post.h...
31.003205
100
0.5627
tic-toc
5101385a4899287a9bc72c360dc35df9995e8ae0
2,701
cpp
C++
src/phone_dialer.cpp
jcjramos/QuodDB
20da3727818c8c2f8f7da5cb1506d64cc6300f24
[ "Apache-2.0" ]
null
null
null
src/phone_dialer.cpp
jcjramos/QuodDB
20da3727818c8c2f8f7da5cb1506d64cc6300f24
[ "Apache-2.0" ]
null
null
null
src/phone_dialer.cpp
jcjramos/QuodDB
20da3727818c8c2f8f7da5cb1506d64cc6300f24
[ "Apache-2.0" ]
null
null
null
/*------------------------------------------------------------------------------ Symbian OS Phone Dialer JCR 6.2004 ------------------------------------------------------------------------------*/ #include "phone_dialer.h" #include <barsread.h> #include <etel.h> #include <eikenv.h> _LIT (...
27.282828
90
0.636431
jcjramos
5101a5eb2902d3525d52eb9c70bad0059c318cfd
2,581
cpp
C++
src/inventorymodel.cpp
tsukidan/team-blank-CS1C
85655605a5307d4b7c83eb5542a35fd5d349a1d6
[ "Unlicense" ]
null
null
null
src/inventorymodel.cpp
tsukidan/team-blank-CS1C
85655605a5307d4b7c83eb5542a35fd5d349a1d6
[ "Unlicense" ]
null
null
null
src/inventorymodel.cpp
tsukidan/team-blank-CS1C
85655605a5307d4b7c83eb5542a35fd5d349a1d6
[ "Unlicense" ]
null
null
null
#include "inventorymodel.h" InventoryModel::InventoryModel(QObject *parent) : QSqlTableModel(parent) { selectExtra(); setTable("items"); select(); setHeaderData(0, Qt::Horizontal, tr("ID")); setHeaderData(1, Qt::Horizontal, tr("Name")); setHeaderData(2, Qt::Horizontal, tr("Price")); setHeaderData(3, Qt:...
27.457447
79
0.61914
tsukidan
eedfadfedca0ce5c8d334bcaea1682e93d7151f1
12,766
cpp
C++
src/QirRuntime/test/QIR-static/qir-driver.cpp
mirounga/qsharp-runtime
2aab3353991fcd3b803da6313b476dd1a9578b85
[ "MIT" ]
null
null
null
src/QirRuntime/test/QIR-static/qir-driver.cpp
mirounga/qsharp-runtime
2aab3353991fcd3b803da6313b476dd1a9578b85
[ "MIT" ]
null
null
null
src/QirRuntime/test/QIR-static/qir-driver.cpp
mirounga/qsharp-runtime
2aab3353991fcd3b803da6313b476dd1a9578b85
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include <assert.h> #include <bitset> #include <iostream> #include <memory> #include <string> #include <unordered_set> #include "CoreTypes.hpp" #include "QuantumApi_I.hpp" #include "SimulatorStub.hpp" #include...
33.772487
120
0.642253
mirounga
eedfef27a75b327c9da68a2657b8f45e6655cb2c
41,775
hpp
C++
src/neumannInnerSurface_StochasticPolyconvexHGO.hpp
bstaber/Trilinos
12ada5a678338a1da962113a4fad708f93b19e03
[ "MIT" ]
null
null
null
src/neumannInnerSurface_StochasticPolyconvexHGO.hpp
bstaber/Trilinos
12ada5a678338a1da962113a4fad708f93b19e03
[ "MIT" ]
null
null
null
src/neumannInnerSurface_StochasticPolyconvexHGO.hpp
bstaber/Trilinos
12ada5a678338a1da962113a4fad708f93b19e03
[ "MIT" ]
null
null
null
/* Brian Staber (brian.staber@gmail.com) */ #ifndef NEUMANNINNERSURFACE_STOCHASTICPOLYCONVEXHGO_HPP #define NEUMANNINNERSURFACE_STOCHASTICPOLYCONVEXHGO_HPP #include "tensor_calculus.hpp" #include "nearlyIncompressibleHyperelasticity.hpp" #include "laplacepp.hpp" #include <boost/random/mersenne_twister.hpp> #include ...
44.871106
482
0.561484
bstaber
eee1e02578ea709be072ae8541c1f1784f26b9e3
3,119
cpp
C++
Framework/PVRApi/Vulkan/CommandPoolVk.cpp
kusharami/PowerVR_Native_SDK
41557a911316126417ce4c92f1b89396f24f39d6
[ "MIT" ]
13
2017-07-24T05:12:53.000Z
2021-06-12T15:35:40.000Z
Framework/PVRApi/Vulkan/CommandPoolVk.cpp
kusharami/PowerVR_Native_SDK
41557a911316126417ce4c92f1b89396f24f39d6
[ "MIT" ]
null
null
null
Framework/PVRApi/Vulkan/CommandPoolVk.cpp
kusharami/PowerVR_Native_SDK
41557a911316126417ce4c92f1b89396f24f39d6
[ "MIT" ]
5
2017-11-03T19:23:02.000Z
2021-12-24T04:12:34.000Z
/*! \brief Vulkan Implementation details CommandPool class. \file PVRApi/Vulkan/CommandPoolVk.cpp \author PowerVR by Imagination, Developer Technology Team \copyright Copyright (c) Imagination Technologies Limited. */ #include "PVRApi/Vulkan/CommandPoolVk.h" #include "PVRApi/Vulkan/CommandBufferVk.h" #include "PVRApi/V...
31.826531
126
0.777172
kusharami
eee9fd30e87fbe2e17e7a98f20e54b10035717a4
5,110
cpp
C++
Algorithms/All Pattern Printing.cpp
mdshahansha/HacktoberFest-20
89733ea20271ad8270ecc68f5b2a45029a4a2c08
[ "MIT" ]
9
2020-10-07T17:43:26.000Z
2020-10-26T13:24:22.000Z
Algorithms/All Pattern Printing.cpp
mdshahansha/HacktoberFest-20
89733ea20271ad8270ecc68f5b2a45029a4a2c08
[ "MIT" ]
4
2020-10-14T10:36:56.000Z
2020-10-25T06:37:46.000Z
Algorithms/All Pattern Printing.cpp
mdshahansha/HacktoberFest-20
89733ea20271ad8270ecc68f5b2a45029a4a2c08
[ "MIT" ]
31
2020-10-03T18:36:23.000Z
2021-10-09T19:37:14.000Z
// Program to print half pyramid using * // * // * * // * * * // * * * * // * * * * * #include <iostream> using namespace std; int main() { int rows; cout << "Enter number of rows: "; cin >> rows; for(int i = 1; i <= rows; ++i) { for(int j = 1; j <= i; ++j) { cout <<...
15.820433
80
0.389628
mdshahansha
eeebd1a8d2e97a3ec9c0bfef762977c28adbf454
4,265
hpp
C++
graphics/source/geometry/vertex.hpp
HrvojeFER/irg-lab
53f27430d39fa099dd605cfd632e38b55a392699
[ "MIT" ]
null
null
null
graphics/source/geometry/vertex.hpp
HrvojeFER/irg-lab
53f27430d39fa099dd605cfd632e38b55a392699
[ "MIT" ]
null
null
null
graphics/source/geometry/vertex.hpp
HrvojeFER/irg-lab
53f27430d39fa099dd605cfd632e38b55a392699
[ "MIT" ]
null
null
null
#ifndef IRGLAB_VERTEX_HPP #define IRGLAB_VERTEX_HPP #include "external/external.hpp" #include "primitive/primitive.hpp" // TODO: Integrate with other geometry types namespace il { // Type traits enum class [[maybe_unused]] vertex_access_type : small_natural_number { owned [[m...
35.840336
112
0.710434
HrvojeFER
eeef1b24f3a18c9474720b11ca6bc78d572ebc1a
851
cpp
C++
kernel/Network/LinkLayer/EthernetNetworkAdapter.cpp
AymenSekhri/CyanOS
1e42772911299a40aab0e7aac50181b180941800
[ "MIT" ]
63
2020-06-18T11:04:07.000Z
2022-02-24T09:01:44.000Z
kernel/Network/LinkLayer/EthernetNetworkAdapter.cpp
AymenSekhri/CyanOS
1e42772911299a40aab0e7aac50181b180941800
[ "MIT" ]
4
2020-08-31T23:07:37.000Z
2021-06-08T21:54:02.000Z
kernel/Network/LinkLayer/EthernetNetworkAdapter.cpp
AymenSekhri/CyanOS
1e42772911299a40aab0e7aac50181b180941800
[ "MIT" ]
9
2020-08-03T13:48:50.000Z
2022-03-31T11:50:59.000Z
#include "EthernetNetworkAdapter.h" #include <Clib.h> #include <NetworkAlgorithms.h> void EthernetNetworkAdapter::send_frame(ProtocolType type, MACAddress destination, const BufferView& data) { Buffer ethernet_frame_raw(data, ETHERNET_HEADER_SIZE); EthernetFrame& ethernet_frame = ethernet_frame_raw.convert_to<Ethern...
35.458333
106
0.80611
AymenSekhri
eef0ab5d5d81859d69feeb377fa7685f9d1f785b
3,826
cc
C++
MyMuduo/Lib/FileUtil.cc
Fragrant-Yang/git-test-copy
cc026d7dedacf8d5c798d9e80a658d6fd599812d
[ "Apache-2.0" ]
2
2021-02-03T07:25:32.000Z
2022-02-06T10:36:49.000Z
MyMuduo/Lib/FileUtil.cc
Fragrant-Yang/git-test-copy
cc026d7dedacf8d5c798d9e80a658d6fd599812d
[ "Apache-2.0" ]
null
null
null
MyMuduo/Lib/FileUtil.cc
Fragrant-Yang/git-test-copy
cc026d7dedacf8d5c798d9e80a658d6fd599812d
[ "Apache-2.0" ]
1
2021-04-17T13:48:36.000Z
2021-04-17T13:48:36.000Z
#include "FileUtil.h" #include "Logging.h" // 造成模板类的实例化? template int readFile( StringArg filename, int maxSize, string* content, int64_t*, int64_t*, int64_t*); template int ReadSmallFile::readToString( int maxSize, string* content, int64_t*, int64_t*, int64_t*); ReadSm...
16.14346
58
0.490852
Fragrant-Yang
eef515b2e303acf1ac5f4d3d1e951e3c0b842612
13,084
hpp
C++
modules/videoio/src/cap_interface.hpp
xipingyan/opencv
39c3334147ec02761b117f180c9c4518be18d1fa
[ "Apache-2.0" ]
56,632
2016-07-04T16:36:08.000Z
2022-03-31T18:38:14.000Z
modules/videoio/src/cap_interface.hpp
yusufm423/opencv
6a2077cbd8a8a0d8cbd3e0e8c3ca239f17e6c067
[ "Apache-2.0" ]
13,593
2016-07-04T13:59:03.000Z
2022-03-31T21:04:51.000Z
modules/videoio/src/cap_interface.hpp
yusufm423/opencv
6a2077cbd8a8a0d8cbd3e0e8c3ca239f17e6c067
[ "Apache-2.0" ]
54,986
2016-07-04T14:24:38.000Z
2022-03-31T22:51:18.000Z
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. #ifndef CAP_INTERFACE_HPP #define CAP_INTERFACE_HPP #include "opencv2/core.hpp" #include "opencv2/core/core_c.h" #include "o...
29.940503
125
0.610593
xipingyan
eef6752ba3288ede962242d39b1de25ada27bdc8
16,276
cpp
C++
src/nnfusion/core/kernels/kernel_emitter.cpp
Cjkkkk/nnfusion
7ee61dfdd66fbf67eb178fcc5cfa1cddb99b3c13
[ "MIT" ]
1
2021-07-06T02:02:42.000Z
2021-07-06T02:02:42.000Z
src/nnfusion/core/kernels/kernel_emitter.cpp
QPC-database/nnfusion
99ada47c50f355ca278001f11bc752d1c7abcee2
[ "MIT" ]
null
null
null
src/nnfusion/core/kernels/kernel_emitter.cpp
QPC-database/nnfusion
99ada47c50f355ca278001f11bc752d1c7abcee2
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #include "kernel_emitter.hpp" #include "nnfusion/engine/async_manager.hpp" #include <string> using namespace nnfusion; using namespace nnfusion::kernels; DECLARE_bool(fextern_result_memory); KernelContext::KernelContext(shared_ptr<graph::GN...
32.682731
100
0.573482
Cjkkkk
eef69f6acb86fde2fd5270d2aa392d4cb7d26d6a
11,378
cpp
C++
src/rendering/renderpass/voxel_cone_tracing_pass.cpp
Entalpi/MeineKraft
62b037e05270cf19df5f11c8dacaa55a7414015f
[ "Unlicense", "MIT" ]
31
2016-07-01T21:25:11.000Z
2022-03-26T03:19:42.000Z
src/rendering/renderpass/voxel_cone_tracing_pass.cpp
Entalpi/MeineKraft
62b037e05270cf19df5f11c8dacaa55a7414015f
[ "Unlicense", "MIT" ]
1
2017-04-23T08:15:31.000Z
2017-04-23T08:15:31.000Z
src/rendering/renderpass/voxel_cone_tracing_pass.cpp
Entalpi/MeineKraft
62b037e05270cf19df5f11c8dacaa55a7414015f
[ "Unlicense", "MIT" ]
4
2017-01-26T18:13:11.000Z
2020-01-28T22:42:52.000Z
#include "voxel_cone_tracing_pass.hpp" #include "../graphicsbatch.hpp" #include "../renderer.hpp" #include "../shader.hpp" #include "../../math/vector.hpp" #include "../../rendering/primitives.hpp" #include "../../util/filesystem.hpp" #include "../../nodes/model.hpp" #include "gbuffer_pass.hpp" #include <vector> #if...
47.606695
129
0.765161
Entalpi
eef704320e7823330084c0bd71639826b9410fde
2,279
cpp
C++
aoc/src/2017/day-10.cpp
DrPizza/advent-of-code-2017
bcba170e3ffececb9c5b29f3b0fa0193fa59dcf9
[ "Zlib" ]
2
2017-12-09T06:13:08.000Z
2017-12-18T12:15:08.000Z
aoc/src/2017/day-10.cpp
DrPizza/advent-of-code-2017
bcba170e3ffececb9c5b29f3b0fa0193fa59dcf9
[ "Zlib" ]
1
2018-01-03T17:46:56.000Z
2018-01-03T17:46:56.000Z
aoc/src/2017/day-10.cpp
DrPizza/advent-of-code
bcba170e3ffececb9c5b29f3b0fa0193fa59dcf9
[ "Zlib" ]
null
null
null
#include "stdafx.h" #include "problem.hpp" #include "utility.hpp" #include <fstream> #include <sstream> #include <iomanip> #include <array> #include <functional> #include <vector> #include <type_traits> #include <boost/algorithm/string.hpp> struct advent_2017_10 : problem { advent_2017_10() noexcept : problem(2017,...
28.848101
108
0.663888
DrPizza
eef9073de80a21bbf002b7df6a8a58007b06d167
717
cpp
C++
push_button_set_icon/buttonhoverwathcer.cpp
564398053/QtPractice
25ce2a11c593d4ff7814512fe9490c76ce039980
[ "Apache-2.0" ]
null
null
null
push_button_set_icon/buttonhoverwathcer.cpp
564398053/QtPractice
25ce2a11c593d4ff7814512fe9490c76ce039980
[ "Apache-2.0" ]
null
null
null
push_button_set_icon/buttonhoverwathcer.cpp
564398053/QtPractice
25ce2a11c593d4ff7814512fe9490c76ce039980
[ "Apache-2.0" ]
null
null
null
#include "buttonhoverwathcer.h" #include <QPushButton> #include <QEvent> ButtonHoverWathcer::ButtonHoverWathcer(QObject *parent) : QObject(parent) { } bool ButtonHoverWathcer::eventFilter(QObject * watched, QEvent * event) { QPushButton * button = qobject_cast<QPushButton*>(watched); if (!button) { retu...
22.40625
73
0.655509
564398053
eef949c00de41bf0dc51a1d30711e42ffbd3de1c
409
cpp
C++
src/apps/sequencer/ui/pages/IntroPage.cpp
ukyzky/performer
451bc853cb0f06a8d8f32f37851dd7c5f2a2f4d0
[ "MIT" ]
181
2018-10-12T07:21:08.000Z
2022-03-21T06:02:15.000Z
src/apps/sequencer/ui/pages/IntroPage.cpp
ukyzky/performer
451bc853cb0f06a8d8f32f37851dd7c5f2a2f4d0
[ "MIT" ]
340
2019-03-06T07:24:40.000Z
2022-03-21T03:31:31.000Z
src/apps/sequencer/ui/pages/IntroPage.cpp
ukyzky/performer
451bc853cb0f06a8d8f32f37851dd7c5f2a2f4d0
[ "MIT" ]
60
2018-10-12T18:43:04.000Z
2022-03-31T18:03:17.000Z
#include "IntroPage.h" #include "os/os.h" IntroPage::IntroPage(PageManager &manager, PageContext &context) : BasePage(manager, context) { _lastTicks = os::ticks(); } void IntroPage::draw(Canvas &canvas) { uint32_t currentTicks = os::ticks(); float dt = float(currentTicks - _lastTicks) / os::time::ms(...
21.526316
69
0.674817
ukyzky
eefb7a2842bd34ca33429328bc1efb4679cc10ea
745
cpp
C++
flyingcarobjectoriented/main.cpp
zlb323/Portfolio
f8c86790b274968c6971756b50db4454df48b079
[ "Apache-2.0" ]
null
null
null
flyingcarobjectoriented/main.cpp
zlb323/Portfolio
f8c86790b274968c6971756b50db4454df48b079
[ "Apache-2.0" ]
null
null
null
flyingcarobjectoriented/main.cpp
zlb323/Portfolio
f8c86790b274968c6971756b50db4454df48b079
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <string> #include "Transportation.h" #include "car.h" #include "Airplane.h" #include "FlyingCar.h" int main(int argc, char ** argv) { { trans::transportation *herbie; herbie = new trans::car("all-terrain", 4, "dan"); std::cout << herbie->getDriver() << std::endl; delete herbie; ...
23.28125
89
0.633557
zlb323
eefd247208072a6d4818a6fc6f7cce703f142a10
4,295
cpp
C++
Examples/SDKLibrary/interface/server/platform_specific/server_class/c_api/localizable_text_translate_for_c_api_t.cpp
beeond/robot-examples
afc6b8b10809988b03663d703203625927e66e8f
[ "MIT" ]
1
2018-03-29T21:03:31.000Z
2018-03-29T21:03:31.000Z
Examples/SDKLibrary/interface/server/platform_specific/server_class/c_api/localizable_text_translate_for_c_api_t.cpp
JayeshThamke/robot-examples
afc6b8b10809988b03663d703203625927e66e8f
[ "MIT" ]
null
null
null
Examples/SDKLibrary/interface/server/platform_specific/server_class/c_api/localizable_text_translate_for_c_api_t.cpp
JayeshThamke/robot-examples
afc6b8b10809988b03663d703203625927e66e8f
[ "MIT" ]
4
2018-04-05T21:16:55.000Z
2019-10-15T19:01:46.000Z
/* ---------------------------------------------------------------------------------------- COPYRIGHT (c) 2009 - 2017 HONEYWELL INC., ALL RIGHTS RESERVED This software is a copyrighted w...
28.256579
159
0.645867
beeond
e104d170173e847ec06251e36baf56faa6fb4e62
15,328
cpp
C++
RayAccelerator/Scene.cpp
JayFoxRox/rayaccel
1b26c0bc59e78d471e72349f1e77f5f76ccb6388
[ "MIT" ]
50
2017-03-23T09:17:52.000Z
2021-05-07T18:56:57.000Z
RayAccelerator/Scene.cpp
stoeckley/rayaccel
1b26c0bc59e78d471e72349f1e77f5f76ccb6388
[ "MIT" ]
1
2017-02-18T05:32:11.000Z
2017-02-18T05:32:11.000Z
RayAccelerator/Scene.cpp
stoeckley/rayaccel
1b26c0bc59e78d471e72349f1e77f5f76ccb6388
[ "MIT" ]
6
2017-03-23T14:45:24.000Z
2019-12-23T07:17:56.000Z
// // Scene.cpp // RayAccelerator // // Created by Rasmus Barringer on 2014-02-27. // Copyright (c) 2014 Rasmus Barringer and Tomas Akenine-Möller. All rights reserved. // #include "Scene.h" #include "Bvh2.h" #include "Context.h" #include "Environment.h" #include <embree2/rtcore_ray.h> #include <assert.h> #include...
31.604124
204
0.682346
JayFoxRox
e106bd249af0c80cb3585e5cc2233c09afb12a0e
30
cpp
C++
controller/lib/hal/hal.cpp
sienna0127/VentilatorSoftware
73e65d8b00c29617b64430cff921afa597096bf8
[ "Apache-2.0" ]
null
null
null
controller/lib/hal/hal.cpp
sienna0127/VentilatorSoftware
73e65d8b00c29617b64430cff921afa597096bf8
[ "Apache-2.0" ]
null
null
null
controller/lib/hal/hal.cpp
sienna0127/VentilatorSoftware
73e65d8b00c29617b64430cff921afa597096bf8
[ "Apache-2.0" ]
null
null
null
#include "hal.h" HalApi Hal;
7.5
16
0.666667
sienna0127
e10b302aec43b8b29a9f325296e2580b5d237eff
2,837
cc
C++
CodeChef/LONG/FEB15/CHEFGRPH/grph.cc
VastoLorde95/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
170
2017-07-25T14:47:29.000Z
2022-01-26T19:16:31.000Z
CodeChef/LONG/FEB15/CHEFGRPH/grph.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
null
null
null
CodeChef/LONG/FEB15/CHEFGRPH/grph.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<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; long long n,...
24.042373
106
0.542827
VastoLorde95
e10e022129bef35fb5b6c8c3118295c820c3594a
5,532
cpp
C++
jam/src/Dir.cpp
gzito/jamengine
451ab1e1d74231a3239a56aed4c40dc445fa6db8
[ "MIT" ]
null
null
null
jam/src/Dir.cpp
gzito/jamengine
451ab1e1d74231a3239a56aed4c40dc445fa6db8
[ "MIT" ]
null
null
null
jam/src/Dir.cpp
gzito/jamengine
451ab1e1d74231a3239a56aed4c40dc445fa6db8
[ "MIT" ]
null
null
null
/********************************************************************************** * * Dir.cpp * * This file is part of Jam * * Copyright (c) 2014-2019 Giovanni Zito. * Copyright (c) 2014-2019 Jam contributors (cf. AUTHORS.md) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of th...
21.865613
115
0.607737
gzito
e112b73848cc1e74d7de3277a3ab677b6af71139
2,488
cc
C++
src/phy/FDChannelModulator.cc
drexelwireless/dragonradio
885abd68d56af709e7a53737352641908005c45b
[ "MIT" ]
8
2020-12-05T20:30:54.000Z
2022-01-22T13:32:14.000Z
src/phy/FDChannelModulator.cc
drexelwireless/dragonradio
885abd68d56af709e7a53737352641908005c45b
[ "MIT" ]
3
2020-10-28T22:15:27.000Z
2021-01-27T14:43:41.000Z
src/phy/FDChannelModulator.cc
drexelwireless/dragonradio
885abd68d56af709e7a53737352641908005c45b
[ "MIT" ]
null
null
null
// Copyright 2018-2020 Drexel University // Author: Geoffrey Mainland <mainland@drexel.edu> #include "phy/FDChannelModulator.hh" void FDChannelModulator::modulate(std::shared_ptr<NetPacket> pkt, float g, ModPacket &mpkt) { const auto Nrot = u...
35.542857
81
0.549035
drexelwireless
e1163648311803a575794503ca5cefe2bdc2ed78
457
cpp
C++
src/modules/bb/filesystem.windows/dir.cpp
blitz3d-ng/blitz3d-ng
adc829fb76e2c63612b50c725c0944b2b6b0ddaf
[ "Zlib" ]
53
2017-08-10T10:52:34.000Z
2021-12-09T18:03:30.000Z
src/modules/bb/filesystem.windows/dir.cpp
kfprimm/blitz3d
adc829fb76e2c63612b50c725c0944b2b6b0ddaf
[ "Zlib" ]
21
2017-05-03T20:28:28.000Z
2022-03-25T12:11:00.000Z
src/modules/bb/filesystem.windows/dir.cpp
kfprimm/blitz3d
adc829fb76e2c63612b50c725c0944b2b6b0ddaf
[ "Zlib" ]
8
2017-04-23T02:09:24.000Z
2022-02-01T21:17:27.000Z
#include <windows.h> #include "dir.h" using namespace std; WindowsDir::WindowsDir( HANDLE h,const WIN32_FIND_DATA &f ):handle(h),findData(f){ } WindowsDir::~WindowsDir(){ if( handle!=INVALID_HANDLE_VALUE ) FindClose( handle ); } string WindowsDir::getNextFile(){ if( handle==INVALID_HANDLE_VALUE ) return ""; stri...
20.772727
82
0.724289
blitz3d-ng
e11725db1503d2dbfb64d6221b7aa27e72f919c1
6,420
cxx
C++
ivp/ivp_compact_builder/ivp_surbuild_polygon_convex.cxx
DannyParker0001/Kisak-Strike
99ed85927336fe3aff2efd9b9382b2b32eb1d05d
[ "Unlicense" ]
252
2020-12-16T15:34:43.000Z
2022-03-31T23:21:37.000Z
ivp/ivp_compact_builder/ivp_surbuild_polygon_convex.cxx
DannyParker0001/Kisak-Strike
99ed85927336fe3aff2efd9b9382b2b32eb1d05d
[ "Unlicense" ]
23
2020-12-20T18:02:54.000Z
2022-03-28T16:58:32.000Z
ivp/ivp_compact_builder/ivp_surbuild_polygon_convex.cxx
DannyParker0001/Kisak-Strike
99ed85927336fe3aff2efd9b9382b2b32eb1d05d
[ "Unlicense" ]
42
2020-12-19T04:32:33.000Z
2022-03-30T06:00:28.000Z
// Copyright (C) Ipion Software GmbH 1999-2000. All rights reserved. #include <ivp_physics.hxx> #include <ivp_object_polygon_tetra.hxx> #include <ivu_hash.hxx> #ifndef WIN32 # pragma implementation "ivp_surbuild_polygon_convex.hxx" #endif //#include <ivp_surman_polygon.hxx> #include <ivp_surbuild_polygon_co...
28.660714
138
0.687227
DannyParker0001
e1192255af62cf88a6527318dd95b15282cd62cc
1,425
hpp
C++
include/RadonFramework/Diagnostics/Test/UnitTest/TestSuite.hpp
tak2004/RF_Test
f3964ba6b041e8c2fa1ee8bd4e8df4f8d2c1cd68
[ "Apache-2.0" ]
null
null
null
include/RadonFramework/Diagnostics/Test/UnitTest/TestSuite.hpp
tak2004/RF_Test
f3964ba6b041e8c2fa1ee8bd4e8df4f8d2c1cd68
[ "Apache-2.0" ]
null
null
null
include/RadonFramework/Diagnostics/Test/UnitTest/TestSuite.hpp
tak2004/RF_Test
f3964ba6b041e8c2fa1ee8bd4e8df4f8d2c1cd68
[ "Apache-2.0" ]
null
null
null
#pragma once #include <RadonFramework/Collections/List.hpp> #include <RadonFramework/Core/Pattern/Delegate.hpp> #include <RadonFramework/Core/Types/String.hpp> #include <RadonFramework/Memory/AutoPointer.hpp> namespace RadonFramework::Diagnostics::Test { class TestResult; } namespace RadonFramework::Diagnostics::Tes...
27.941176
72
0.745263
tak2004
e11a47f55b521bb1e8e2a57a7bdf97f8019459b0
178
cpp
C++
app/src/main/cpp/brain/config.cpp
Hexik/Gomoku_GUI
36940e0d5390cc8ca91370535993ee278ec6a288
[ "MIT" ]
3
2021-05-21T05:17:23.000Z
2021-12-27T13:53:44.000Z
app/src/main/cpp/brain/config.cpp
Hexik/Gomoku_GUI
36940e0d5390cc8ca91370535993ee278ec6a288
[ "MIT" ]
null
null
null
app/src/main/cpp/brain/config.cpp
Hexik/Gomoku_GUI
36940e0d5390cc8ca91370535993ee278ec6a288
[ "MIT" ]
1
2022-03-01T07:52:41.000Z
2022-03-01T07:52:41.000Z
/** * @file config.cpp * @brief Configuration info */ #include "config.h" #include <cassert> Config::Config() { assert( SetTimeoutTurn( 0U ).GetTimeoutTurn() == 0U ); }
14.833333
58
0.634831
Hexik
e11f152d8bd9e56bf09ee0bdfd379fd10b6b4a89
3,357
hpp
C++
source/NanairoCore/Material/SurfaceModel/Surface/fresnel-inl.hpp
byzin/Nanairo
23fb6deeec73509c538a9c21009e12be63e8d0e4
[ "MIT" ]
30
2015-09-06T03:14:29.000Z
2021-06-18T11:00:19.000Z
source/NanairoCore/Material/SurfaceModel/Surface/fresnel-inl.hpp
byzin/Nanairo
23fb6deeec73509c538a9c21009e12be63e8d0e4
[ "MIT" ]
31
2016-01-14T14:50:34.000Z
2018-06-25T13:21:48.000Z
source/NanairoCore/Material/SurfaceModel/Surface/fresnel-inl.hpp
byzin/Nanairo
23fb6deeec73509c538a9c21009e12be63e8d0e4
[ "MIT" ]
6
2017-04-09T13:07:47.000Z
2021-05-29T21:17:34.000Z
/*! \file fresnel-inl.hpp \author Sho Ikeda Copyright (c) 2015-2018 Sho Ikeda This software is released under the MIT License. http://opensource.org/licenses/mit-license.php */ #ifndef NANAIRO_FRESNEL_INL_HPP #define NANAIRO_FRESNEL_INL_HPP #include "fresnel.hpp" // Standard C++ library #include <tuple> ...
27.072581
82
0.627644
byzin
e11fd8537834adf8254a3f2b5e93d87ca244bab5
7,834
cpp
C++
src/app/app.cpp
AlexCasual/rvisioncase
ebe8d933dcb842fcd5276f27197152187f2c4a6b
[ "MIT" ]
null
null
null
src/app/app.cpp
AlexCasual/rvisioncase
ebe8d933dcb842fcd5276f27197152187f2c4a6b
[ "MIT" ]
null
null
null
src/app/app.cpp
AlexCasual/rvisioncase
ebe8d933dcb842fcd5276f27197152187f2c4a6b
[ "MIT" ]
null
null
null
#include "app.hpp" namespace detail { static const std::string _logger_name("rvision"); static const std::string _logger_file("rvision.log"); static const std::string _rpc_server_property("grpc_server"); static const std::string _http_server_property("http_server"); static const std::string _lines_server_host_pr...
31.211155
175
0.712025
AlexCasual
e12393b48d93d372605f30c627b72a4e7d388084
1,724
cpp
C++
Data Structures and Coding Algorithm/07. Heap/min_cost_to_join_ropes.cpp
lakhan098/Technocrats-HacktoberFest
33968cf36747ec2342d53b8c38c2a48fc71be017
[ "MIT" ]
11
2021-10-01T15:39:40.000Z
2021-10-12T16:33:03.000Z
Data Structures and Coding Algorithm/07. Heap/min_cost_to_join_ropes.cpp
lakhan098/Technocrats-HacktoberFest
33968cf36747ec2342d53b8c38c2a48fc71be017
[ "MIT" ]
62
2021-10-01T14:40:32.000Z
2021-10-31T14:47:21.000Z
Data Structures and Coding Algorithm/07. Heap/min_cost_to_join_ropes.cpp
lakhan098/Technocrats-HacktoberFest
33968cf36747ec2342d53b8c38c2a48fc71be017
[ "MIT" ]
71
2021-10-01T14:42:03.000Z
2021-10-21T15:51:24.000Z
/* Minimum Cost for Joining Ropes */ /* Given a rope that has been broken into N parts, The task is to join the rope into 1 rope back. Given condition Cost of joining two part = sum of length of both parts Requirement: Minimum Cost to join the ropes Examples: pieces = [2,3,1,4,5] ans...
24.985507
85
0.585267
lakhan098
e129b6031d6015597fc12be9629e413f269024a1
5,164
cpp
C++
modules/infobot/infobot.cpp
braindigitalis/botnix-discord-cpp
f5526ef6e5cdc84ece4014d68ccbd7d6dbdf26fe
[ "Apache-2.0" ]
9
2019-10-25T18:08:41.000Z
2020-01-13T15:02:10.000Z
modules/infobot/infobot.cpp
braindigitalis/botnix-discord-cpp
f5526ef6e5cdc84ece4014d68ccbd7d6dbdf26fe
[ "Apache-2.0" ]
null
null
null
modules/infobot/infobot.cpp
braindigitalis/botnix-discord-cpp
f5526ef6e5cdc84ece4014d68ccbd7d6dbdf26fe
[ "Apache-2.0" ]
2
2019-12-11T09:47:52.000Z
2019-12-14T17:54:00.000Z
/************************************************************************************ * * Sporks, the learning, scriptable Discord bot! * * Copyright 2019 Craig Edwards <support@sporks.gg> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with t...
28.849162
181
0.662471
braindigitalis
e12af07f504c669b2f82417a1920172e6098a88e
875
cpp
C++
leetcode/strings/sde-sheet/28.(KMP)implement-str-str.cpp
saurabhraj042/dsaPrep
0973a03bc565a2850003c7e48d99b97ff83b1d01
[ "MIT" ]
23
2021-10-30T04:11:52.000Z
2021-11-27T09:16:18.000Z
leetcode/strings/sde-sheet/28.(KMP)implement-str-str.cpp
Pawanupadhyay10/placement-prep
0449fa7cbc56e7933e6b090936ab7c15ca5f290f
[ "MIT" ]
null
null
null
leetcode/strings/sde-sheet/28.(KMP)implement-str-str.cpp
Pawanupadhyay10/placement-prep
0449fa7cbc56e7933e6b090936ab7c15ca5f290f
[ "MIT" ]
4
2021-10-30T03:26:05.000Z
2021-11-14T12:15:04.000Z
// @author: Saurabh Raj // @user: saurabhraj042 // https://leetcode.com/problems/implement-strstr/description/ class Solution { // KMP algorithm public: int strStr(string haystack, string needle) { string temp = needle+'&'+haystack; vector<int> pi = prefix_fn(temp); int ind=-1;...
20.833333
62
0.456
saurabhraj042
e12ccc43772b56d6d96cc056c0492c7d2965a713
13,868
cpp
C++
layout/hack_audio_FlexBox.cpp
kcoul/hack_audio_gui
6efc77b3ea85e02ae69be1b8021dbc593cf6b8e0
[ "MIT" ]
null
null
null
layout/hack_audio_FlexBox.cpp
kcoul/hack_audio_gui
6efc77b3ea85e02ae69be1b8021dbc593cf6b8e0
[ "MIT" ]
null
null
null
layout/hack_audio_FlexBox.cpp
kcoul/hack_audio_gui
6efc77b3ea85e02ae69be1b8021dbc593cf6b8e0
[ "MIT" ]
null
null
null
/* Copyright (C) 2017 by Antonio Lassandro, HackAudio LLC * * hack_audio_gui is provided under the terms of The MIT License (MIT): * * 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 with...
23.113333
142
0.68056
kcoul
e12d885da72328133c2e3551cbb089957812958d
3,029
cpp
C++
plugins/robots/interpreters/trikKitInterpreterCommon/src/trikEmulation/trikkeysinterfacestub.cpp
RexTremendaeMajestatis/QREAL
94786d40e84c18a4407069570588f7d2c4c63aea
[ "Apache-2.0" ]
39
2015-01-26T16:18:43.000Z
2021-12-20T23:36:41.000Z
plugins/robots/interpreters/trikKitInterpreterCommon/src/trikEmulation/trikkeysinterfacestub.cpp
RexTremendaeMajestatis/QREAL
94786d40e84c18a4407069570588f7d2c4c63aea
[ "Apache-2.0" ]
156
2015-02-06T16:48:19.000Z
2019-03-04T23:09:27.000Z
plugins/robots/interpreters/trikKitInterpreterCommon/src/trikEmulation/trikkeysinterfacestub.cpp
RexTremendaeMajestatis/QREAL
94786d40e84c18a4407069570588f7d2c4c63aea
[ "Apache-2.0" ]
58
2015-03-03T12:57:28.000Z
2020-05-09T15:54:42.000Z
/* Copyright 2016-2017 CyberTech Labs Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
27.044643
112
0.724331
RexTremendaeMajestatis
e131b70b1b22b11cba89d4c1d557139c31438153
2,511
cpp
C++
src/ParetoDist.cpp
markjolah/PriorHessianLib
dc38e88b36752990145962305566c86c4457efe8
[ "Apache-2.0" ]
1
2019-03-20T07:40:29.000Z
2019-03-20T07:40:29.000Z
src/ParetoDist.cpp
markjolah/PriorHessianLib
dc38e88b36752990145962305566c86c4457efe8
[ "Apache-2.0" ]
null
null
null
src/ParetoDist.cpp
markjolah/PriorHessianLib
dc38e88b36752990145962305566c86c4457efe8
[ "Apache-2.0" ]
null
null
null
/** @file ParetoDist.cpp * @author Mark J. Olah (mjo\@cs.unm DOT edu) * @date 2017-2019 * @brief ParetoDist class definition * */ #include "PriorHessian/ParetoDist.h" #include "PriorHessian/PriorHessianError.h" #include <cmath> #include <sstream> #include <limits> namespace prior_hessian { const StringVecT Par...
24.617647
119
0.684986
markjolah
e131c38008f1d8fd7ea9f08fa03c88a0389539ed
292
cc
C++
src/Client/main.cc
KerouichaReda/boost_asio_synchronous
eda8f1f8dec62ba0f902a0d2a207fd37eec34050
[ "MIT" ]
null
null
null
src/Client/main.cc
KerouichaReda/boost_asio_synchronous
eda8f1f8dec62ba0f902a0d2a207fd37eec34050
[ "MIT" ]
null
null
null
src/Client/main.cc
KerouichaReda/boost_asio_synchronous
eda8f1f8dec62ba0f902a0d2a207fd37eec34050
[ "MIT" ]
null
null
null
#include<iostream> #include<vector> #include<string> #include<boost/asio.hpp> #include "header_files/talk_to_server.h" int main(int argc, char* argv[]) { boost::asio::io_context ioc; TalkToServer client(ioc,"reda","127.0.0.1",8001); client.run(); return EXIT_SUCCESS; }
17.176471
53
0.684932
KerouichaReda
e135e169636da872be9c6fc20e0da0951bd3fdf8
9,563
cpp
C++
src/erhe/ui/color_picker.cpp
tksuoran/erhe
07d1ea014e1675f6b09bff0d9d4f3568f187e0d8
[ "Apache-2.0" ]
36
2021-05-03T10:47:49.000Z
2022-03-19T12:54:03.000Z
src/erhe/ui/color_picker.cpp
tksuoran/erhe
07d1ea014e1675f6b09bff0d9d4f3568f187e0d8
[ "Apache-2.0" ]
29
2020-05-17T08:26:31.000Z
2022-03-27T08:52:47.000Z
src/erhe/ui/color_picker.cpp
tksuoran/erhe
07d1ea014e1675f6b09bff0d9d4f3568f187e0d8
[ "Apache-2.0" ]
2
2022-01-24T09:24:37.000Z
2022-01-31T20:45:36.000Z
#include "erhe/ui/color_picker.hpp" #include "erhe/geometry/shapes/disc.hpp" #include "erhe/geometry/shapes/triangle.hpp" #include "erhe/graphics/vertex_format.hpp" #include "erhe/primitive/geometry_mesh.hpp" #include "erhe/toolkit/math_util.hpp" #include "erhe/ui/gui_renderer.hpp" #include "erhe/ui/ninepatch_style.hpp...
31.770764
174
0.51647
tksuoran
e13675e216322978a51df5778a4bd903ef1b4420
8,812
hpp
C++
clients/include/testing_axpy_batched.hpp
zjunweihit/rocBLAS
c8bda2d15a7772d810810492ebed616eec0959a5
[ "MIT" ]
null
null
null
clients/include/testing_axpy_batched.hpp
zjunweihit/rocBLAS
c8bda2d15a7772d810810492ebed616eec0959a5
[ "MIT" ]
null
null
null
clients/include/testing_axpy_batched.hpp
zjunweihit/rocBLAS
c8bda2d15a7772d810810492ebed616eec0959a5
[ "MIT" ]
null
null
null
/* ************************************************************************ * Copyright 2018-2019 Advanced Micro Devices, Inc. * ************************************************************************ */ #include "cblas_interface.hpp" #include "flops.hpp" #include "norm.hpp" #include "rocblas.hpp" #include "rocblas...
33.003745
100
0.518157
zjunweihit
e1477c3bafd357137af99870aacd89f7fe30fc6d
1,482
hpp
C++
Source/AliveLibAE/Sound/SDLSoundBuffer.hpp
Leonard2/alive_reversing
c6d85f435e275db1d41e2ec8b4e52454aa932e05
[ "MIT" ]
208
2018-06-06T13:14:03.000Z
2022-03-30T02:21:27.000Z
Source/AliveLibAE/Sound/SDLSoundBuffer.hpp
Leonard2/alive_reversing
c6d85f435e275db1d41e2ec8b4e52454aa932e05
[ "MIT" ]
537
2018-06-06T16:50:45.000Z
2022-03-31T16:41:15.000Z
Source/AliveLibAE/Sound/SDLSoundBuffer.hpp
Leonard2/alive_reversing
c6d85f435e275db1d41e2ec8b4e52454aa932e05
[ "MIT" ]
42
2018-06-06T00:40:08.000Z
2022-03-23T08:38:55.000Z
#pragma once #include "Sound.hpp" #include "SoundSDL.hpp" #include <mutex> #define MAX_VOICE_COUNT 1024 extern std::atomic<SDLSoundBuffer*> sAE_ActiveVoices[MAX_VOICE_COUNT]; enum SDLSoundBufferStatus { Stopped = 0, Paused = 1, Playing = 2, }; class SDLSoundBuffer final { public: SDLSoundBuffer(con...
20.583333
70
0.667341
Leonard2
e14a3321cea763b409594026635f498637453d6f
6,407
cpp
C++
src/Magnum/Shaders/MeshVisualizer.cpp
costashatz/magnum
8f87ca92334b326a54d27789f370fd8556d557de
[ "MIT" ]
null
null
null
src/Magnum/Shaders/MeshVisualizer.cpp
costashatz/magnum
8f87ca92334b326a54d27789f370fd8556d557de
[ "MIT" ]
null
null
null
src/Magnum/Shaders/MeshVisualizer.cpp
costashatz/magnum
8f87ca92334b326a54d27789f370fd8556d557de
[ "MIT" ]
null
null
null
/* This file is part of Magnum. Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 Vladimír Vondruš <mosra@centrum.cz> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to d...
41.603896
130
0.700796
costashatz
e14ae34a504c8352316227cd7a59c5c556c584ae
742
cpp
C++
src/OutputConnector.cpp
dturn003/rshell
1608916bcbabf40347aac77a35def56306cdbc13
[ "BSD-3-Clause" ]
null
null
null
src/OutputConnector.cpp
dturn003/rshell
1608916bcbabf40347aac77a35def56306cdbc13
[ "BSD-3-Clause" ]
null
null
null
src/OutputConnector.cpp
dturn003/rshell
1608916bcbabf40347aac77a35def56306cdbc13
[ "BSD-3-Clause" ]
null
null
null
#include "OutputConnector.h" #include <unistd.h> #include <fcntl.h> #include <sys/wait.h> OutputConnector::OutputConnector(BaseAction* command, string file) : Redirector(command, file) { } int OutputConnector::execute() { int fd = open(file, O_CREAT | O_WRONLY | O_TRUNC, S_IRUSR | S_IWUSR); if(fd < 0) { ...
23.1875
98
0.571429
dturn003
e14e14a9095093d3d0d3fa2ae9541464a0cfbedb
2,660
hpp
C++
src/container/molecule.hpp
myrabiedermann/rsmd
97ccc65dbb3d9d16e5e6a88f256d97a36c511740
[ "Apache-2.0" ]
2
2021-01-30T00:30:32.000Z
2021-04-20T11:54:53.000Z
src/container/molecule.hpp
myrabiedermann/rsmd
97ccc65dbb3d9d16e5e6a88f256d97a36c511740
[ "Apache-2.0" ]
null
null
null
src/container/molecule.hpp
myrabiedermann/rsmd
97ccc65dbb3d9d16e5e6a88f256d97a36c511740
[ "Apache-2.0" ]
null
null
null
/************************************************ * * * rs@md * * (reactive steps @ molecular dynamics ) * * * ************************************************/ /* Copyright 2020...
29.230769
133
0.554887
myrabiedermann
e1532cd59390ca51f1864e486304929ada13ab95
503
cpp
C++
source/CommandEvent.cpp
iSLC/vaca
c9bc3284c2a1325f7056f455fd5ff1e47e7673bc
[ "MIT" ]
null
null
null
source/CommandEvent.cpp
iSLC/vaca
c9bc3284c2a1325f7056f455fd5ff1e47e7673bc
[ "MIT" ]
null
null
null
source/CommandEvent.cpp
iSLC/vaca
c9bc3284c2a1325f7056f455fd5ff1e47e7673bc
[ "MIT" ]
null
null
null
// Vaca - Visual Application Components Abstraction // Copyright (c) 2005-2010 David Capello // // This file is distributed under the terms of the MIT license, // please read LICENSE.txt for more information. #include "Wg/CommandEvent.hpp" using namespace Wg; CommandEvent::CommandEvent(Component* source, CommandId c...
20.958333
66
0.761431
iSLC
e153afecb2ac26ee18e7cd24738bc0ccf3cb269c
511
cpp
C++
cpp/1001-10000/1021-1030/Longest Arithmetic Sequence.cpp
KaiyuWei/leetcode
fd61f5df60cfc7086f7e85774704bacacb4aaa5c
[ "MIT" ]
150
2015-04-04T06:53:49.000Z
2022-03-21T13:32:08.000Z
cpp/1001-10000/1021-1030/Longest Arithmetic Sequence.cpp
yizhu1012/leetcode
d6fa443a8517956f1fcc149c8c4f42c0ad93a4a7
[ "MIT" ]
1
2015-04-13T15:15:40.000Z
2015-04-21T20:23:16.000Z
cpp/1001-10000/1021-1030/Longest Arithmetic Sequence.cpp
yizhu1012/leetcode
d6fa443a8517956f1fcc149c8c4f42c0ad93a4a7
[ "MIT" ]
64
2015-06-30T08:00:07.000Z
2022-01-01T16:44:14.000Z
class Solution { public: int longestArithSeqLength(vector<int>& A) { unordered_map<int, int> dp; int ans = 0; for (int i = 0; i < A.size(); i++) { for (int j = 0; j < i; j++) { int d = A[i] - A[j]; int key1 = i * 20001 + d; ...
25.55
55
0.37182
KaiyuWei
e1549b408ed1e7f9a38c49fadbbc03576a6470fe
4,466
cpp
C++
code/Motor2D/SecondScene.cpp
BarcinoLechiguino/Camera-Transitions-Research
9b314849301d30cda8741cf979bacf74347eb479
[ "MIT" ]
null
null
null
code/Motor2D/SecondScene.cpp
BarcinoLechiguino/Camera-Transitions-Research
9b314849301d30cda8741cf979bacf74347eb479
[ "MIT" ]
null
null
null
code/Motor2D/SecondScene.cpp
BarcinoLechiguino/Camera-Transitions-Research
9b314849301d30cda8741cf979bacf74347eb479
[ "MIT" ]
2
2020-04-17T07:50:59.000Z
2020-10-30T01:56:18.000Z
#include "SecondScene.h" #include "Render.h" #include "Textures.h" #include "Input.h" #include "Map.h" #include "SceneManager.h" #include "TransitionManager.h" SecondScene::SecondScene() : Scene(SCENES::SECOND_SCENE) { } SecondScene::~SecondScene() { } bool SecondScene::Awake(pugi::xml_node& config) { LOG("Loadin...
22.108911
175
0.701523
BarcinoLechiguino
e15d2ea5ee39784d6292cb021aec2ca16cc93d1e
402
cpp
C++
ArkFoundation/src/AFDebug.cpp
gamedevboy/ArkEngine
1fb1fb153ac73fcbfa75f8e02eb5a26e8993ff01
[ "MIT" ]
null
null
null
ArkFoundation/src/AFDebug.cpp
gamedevboy/ArkEngine
1fb1fb153ac73fcbfa75f8e02eb5a26e8993ff01
[ "MIT" ]
null
null
null
ArkFoundation/src/AFDebug.cpp
gamedevboy/ArkEngine
1fb1fb153ac73fcbfa75f8e02eb5a26e8993ff01
[ "MIT" ]
null
null
null
#include <ArkFoundation/AFDebug.h> #include <cstdarg> #include <iostream> #if _WINDOWS_DESKTOP #include <windows.h> #endif void ArkFoundation::AFLog(std::wstring text, ...) { wchar_t buffer[1024]; std::va_list args; va_start(args, text); _vsnwprintf_s(buffer, sizeof(buffer), text.c_str(), args); std::cout << ...
18.272727
59
0.718905
gamedevboy
ff15c271ddb2f17993b80bf2ea97bf508c201c7c
30,730
cpp
C++
src/Renderers/Vulkan/VulkanAmbientOcclusionBaker.cpp
FelixBrendel/LineVis
428cf82328ba3d3ac9435f3df765330149d4a921
[ "Apache-2.0" ]
null
null
null
src/Renderers/Vulkan/VulkanAmbientOcclusionBaker.cpp
FelixBrendel/LineVis
428cf82328ba3d3ac9435f3df765330149d4a921
[ "Apache-2.0" ]
null
null
null
src/Renderers/Vulkan/VulkanAmbientOcclusionBaker.cpp
FelixBrendel/LineVis
428cf82328ba3d3ac9435f3df765330149d4a921
[ "Apache-2.0" ]
null
null
null
/* * BSD 2-Clause License * * Copyright (c) 2021, Christoph Neuhauser * 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 the above copyright ...
42.680556
118
0.709112
FelixBrendel
ff15c630329238c5d8f807301f5f0f8962f40dda
6,135
cc
C++
source/gpu_perf_api_dx12/dx12_utils.cc
AdamJMiles/gpu_performance_api
7bd0c8b484b2a658610581e2e48b615606130fdc
[ "MIT" ]
61
2020-03-17T12:30:11.000Z
2022-03-01T18:59:11.000Z
source/gpu_perf_api_dx12/dx12_utils.cc
AdamJMiles/gpu_performance_api
7bd0c8b484b2a658610581e2e48b615606130fdc
[ "MIT" ]
12
2020-03-24T15:46:54.000Z
2022-01-08T02:03:31.000Z
source/gpu_perf_api_dx12/dx12_utils.cc
AdamJMiles/gpu_performance_api
7bd0c8b484b2a658610581e2e48b615606130fdc
[ "MIT" ]
19
2020-03-16T17:32:09.000Z
2022-03-29T23:35:31.000Z
//============================================================================== // Copyright (c) 2015-2021 Advanced Micro Devices, Inc. All rights reserved. /// @author AMD Developer Tools Team /// @file /// @brief DX12 utility function implementations //===============================================================...
32.983871
146
0.613366
AdamJMiles
ff1854af87e8f833936958851af6e7be0679ecbd
361
cpp
C++
SorterThreads/test/test_Task.cpp
robinrowe/multiprocessing
a2c1977544a9fa727baee730c9785f9dabc737e8
[ "MIT" ]
10
2019-05-21T16:10:37.000Z
2022-02-10T13:47:54.000Z
SorterThreads/test/test_Task.cpp
robinrowe/multiprocessing
a2c1977544a9fa727baee730c9785f9dabc737e8
[ "MIT" ]
null
null
null
SorterThreads/test/test_Task.cpp
robinrowe/multiprocessing
a2c1977544a9fa727baee730c9785f9dabc737e8
[ "MIT" ]
9
2018-12-14T14:17:42.000Z
2021-06-30T10:22:15.000Z
// test_Task.cpp // Created by Robin Rowe 2019-01-27 // License MIT MIT open source #include <iostream> #include "../Task.h" using namespace std; int main(int argc,char* argv[]) { cout << "Testing Task" << endl; Task task; if(!task) { cout << "Task failed, operator! == true" << endl; return 1; } cout << task ...
19
52
0.620499
robinrowe
ff1deacff2c024afc55ae91f0bf245a09224dd53
433
hpp
C++
include/Window.hpp
LuisHsu/Assignment_4
1735738d3d523d9c3a007d9fb471f121071e75fe
[ "BSD-3-Clause" ]
null
null
null
include/Window.hpp
LuisHsu/Assignment_4
1735738d3d523d9c3a007d9fb471f121071e75fe
[ "BSD-3-Clause" ]
null
null
null
include/Window.hpp
LuisHsu/Assignment_4
1735738d3d523d9c3a007d9fb471f121071e75fe
[ "BSD-3-Clause" ]
null
null
null
#ifndef WINDOW_DEF #define WINDOW_DEF #include <vulkan/vulkan.hpp> extern "C"{ #include <xcb/xcb.h> } class Window{ public: Window(VkInstance& instance); ~Window(); VkSurfaceKHR surface; bool checkPresentationSupported(VkPhysicalDevice& physicalDevice, uint32_t queueFamilyIndex); private: V...
18.041667
97
0.732102
LuisHsu
ff2210846e929fcce6429035bd1ac7c02a8c9aa7
4,523
hpp
C++
BoostSharp/include/boost/algorithm/cxx14/is_permutation.hpp
Icenium/BoostSharp
1dd31065fcd65ae6304b182c558bac7c7a738ad5
[ "Apache-2.0" ]
3
2017-05-11T05:30:19.000Z
2019-04-24T05:41:33.000Z
src/third_party/boost/boost/algorithm/cxx14/is_permutation.hpp
wugh7125/installwizard
42f8aeb78026ff81838528968b1503e73f6c2864
[ "Apache-2.0" ]
null
null
null
src/third_party/boost/boost/algorithm/cxx14/is_permutation.hpp
wugh7125/installwizard
42f8aeb78026ff81838528968b1503e73f6c2864
[ "Apache-2.0" ]
1
2022-03-26T17:00:08.000Z
2022-03-26T17:00:08.000Z
/* Copyright (c) Marshall Clow 2013 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ /// \file equal.hpp /// \brief Determines if one /// \author Marshall Clow #ifndef BOOST_ALGORITHM_IS_PERMUT...
34.526718
92
0.696883
Icenium
ff2461dc1dbd0ed28f4b766c6da0d3420a21ce4e
593
cpp
C++
poj/poj1163.cpp
SashiRin/protrode
c03d0a6e9a5ac87d0f3d3af5d39b05a10f58527c
[ "MIT" ]
1
2019-08-03T13:42:16.000Z
2019-08-03T13:42:16.000Z
poj/poj1163.cpp
SashiRin/protrode
c03d0a6e9a5ac87d0f3d3af5d39b05a10f58527c
[ "MIT" ]
null
null
null
poj/poj1163.cpp
SashiRin/protrode
c03d0a6e9a5ac87d0f3d3af5d39b05a10f58527c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long ll; const int MOD = 1e9 + 7; typedef vector<ll> vll; typedef vector<int> vi; const int maxn = 100 + 10; int main() { int n; cin >> n; vector<vector<int>> nums(maxn, vector<int>(maxn)); for (int i = 1; i <= n; ++i) { for (int j = 1...
21.962963
66
0.451939
SashiRin
ff29e8e8345e4adfb359f514973dbc9b75d5e7f4
458
cpp
C++
src/core/animation.cpp
cevherkarakoc/golge-engine
02f317cdff02fa2f4aee626adc31dbdb63b046bb
[ "MIT" ]
null
null
null
src/core/animation.cpp
cevherkarakoc/golge-engine
02f317cdff02fa2f4aee626adc31dbdb63b046bb
[ "MIT" ]
null
null
null
src/core/animation.cpp
cevherkarakoc/golge-engine
02f317cdff02fa2f4aee626adc31dbdb63b046bb
[ "MIT" ]
null
null
null
#include <golge/core/animation.h> using namespace golge; Animation::SharedPtr Animation::create(float start, float end) { SharedPtr animation(new Animation(start, end)); return animation; } Animation::Animation(float start, float end) { m_start = start; m_end = end; m_frame = start; } float Animation::fra...
15.266667
62
0.69214
cevherkarakoc
ff2a5617d89a5695aa741f1d1c2d6f666d186ff2
32,603
cc
C++
wrappers/8.1.1/vtkChartWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
6
2016-02-03T12:48:36.000Z
2020-09-16T15:07:51.000Z
wrappers/8.1.1/vtkChartWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
4
2016-02-13T01:30:43.000Z
2020-03-30T16:59:32.000Z
wrappers/8.1.1/vtkChartWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
null
null
null
/* this file has been autogenerated by vtkNodeJsWrap */ /* editing this might proof futile */ #define VTK_WRAPPING_CXX #define VTK_STREAMS_FWD_ONLY #include <nan.h> #include "vtkContextItemWrap.h" #include "vtkChartWrap.h" #include "vtkObjectBaseWrap.h" #include "vtkPlotWrap.h" #include "vtkAxisWrap.h" #include "vtkA...
28.130285
110
0.685121
axkibe
ff2b8bde63032b938b44c4f5b1ab24cd837dd262
1,759
cpp
C++
NT 1/CardGame.cpp
mhimanshu712/CppPad
7b3fdbd32573da11b4544d2c2bb8b1adbc145b76
[ "MIT" ]
3
2020-07-05T06:43:59.000Z
2020-10-25T06:51:11.000Z
NT 1/CardGame.cpp
mhimanshu712/CppPad
7b3fdbd32573da11b4544d2c2bb8b1adbc145b76
[ "MIT" ]
null
null
null
NT 1/CardGame.cpp
mhimanshu712/CppPad
7b3fdbd32573da11b4544d2c2bb8b1adbc145b76
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long llong; map<llong,llong> getPrimeFactors(llong n){ map<llong,llong> res; llong k = 0; while(n%2 == 0){ k++; n /= 2; } if(k>0) res[2] = k; for(llong i=3;i*i<=n;i+=2){ llong k = 0; while(n%i == 0){ ...
21.45122
60
0.392268
mhimanshu712
ff2e53890cbd0304df2585e02a3a91545816890b
112
cpp
C++
src/examples/01_module/01_output/output.cpp
acc-cosc-1337-spring-2020-hl/acc-cosc-1337-spring-2020-dmurtiono
e958ae6624391b57fca500f2bac54c362bfd5206
[ "MIT" ]
null
null
null
src/examples/01_module/01_output/output.cpp
acc-cosc-1337-spring-2020-hl/acc-cosc-1337-spring-2020-dmurtiono
e958ae6624391b57fca500f2bac54c362bfd5206
[ "MIT" ]
null
null
null
src/examples/01_module/01_output/output.cpp
acc-cosc-1337-spring-2020-hl/acc-cosc-1337-spring-2020-dmurtiono
e958ae6624391b57fca500f2bac54c362bfd5206
[ "MIT" ]
null
null
null
#include "output.h" #include <iostream> using std::cout; void say_hello() { cout << "Hello " << "World!"; }
10.181818
30
0.607143
acc-cosc-1337-spring-2020-hl
ff32e211fa818c85636f6b762fb66585d519cea7
876
cpp
C++
src/tablestore/util/network.cpp
TimeExceed/aliyun-tablestore-cpp-sdk
f8d2fdf500badf70073dff4e21a5d2d7aa7d3853
[ "BSD-3-Clause" ]
2
2020-02-24T06:51:55.000Z
2020-04-24T14:40:10.000Z
src/tablestore/util/network.cpp
TimeExceed/aliyun-tablestore-cpp-sdk
f8d2fdf500badf70073dff4e21a5d2d7aa7d3853
[ "BSD-3-Clause" ]
null
null
null
src/tablestore/util/network.cpp
TimeExceed/aliyun-tablestore-cpp-sdk
f8d2fdf500badf70073dff4e21a5d2d7aa7d3853
[ "BSD-3-Clause" ]
1
2020-02-24T06:51:57.000Z
2020-02-24T06:51:57.000Z
#include "network.hpp" #include "tablestore/util/assert.hpp" #include <cstring> #if defined(_MSC_VER) #include <winsock.h> #else #include <cerrno> extern "C" { #include <unistd.h> } #endif using namespace std; namespace aliyun { namespace tablestore { namespace util { string getHostName() { string res; // Wi...
19.466667
69
0.628995
TimeExceed
ff33624bd83f7e700c1a0a64634ea634d2d2ca41
4,154
cc
C++
TrkHitReco/src/PeakFitRoot.cc
resnegfk/Offline
4ba81dad54486188fa83fea8c085438d104afbbc
[ "Apache-2.0" ]
9
2020-03-28T00:21:41.000Z
2021-12-09T20:53:26.000Z
TrkHitReco/src/PeakFitRoot.cc
resnegfk/Offline
4ba81dad54486188fa83fea8c085438d104afbbc
[ "Apache-2.0" ]
684
2019-08-28T23:37:43.000Z
2022-03-31T22:47:45.000Z
TrkHitReco/src/PeakFitRoot.cc
resnegfk/Offline
4ba81dad54486188fa83fea8c085438d104afbbc
[ "Apache-2.0" ]
61
2019-08-16T23:28:08.000Z
2021-12-20T08:29:48.000Z
// fit waveform using root TF1 #include "Offline/TrkHitReco/inc/PeakFitRoot.hh" #include "TF1.h" #include "TGraphErrors.h" #include "TFitResult.h" #include <iostream> namespace mu2e { namespace TrkHitReco { PeakFitRoot::PeakFitRoot(const StrawResponse& srep, const fhicl::ParameterSet& pset) : PeakFi...
37.763636
129
0.627347
resnegfk
ff341f25878d4bf05834271df7f60eae5c637c44
536
cpp
C++
leetcode/Hashmap/202.cpp
codehuanglei/-
933a55b5c5a49163f12e0c39b4edfa9c4f01678f
[ "MIT" ]
null
null
null
leetcode/Hashmap/202.cpp
codehuanglei/-
933a55b5c5a49163f12e0c39b4edfa9c4f01678f
[ "MIT" ]
null
null
null
leetcode/Hashmap/202.cpp
codehuanglei/-
933a55b5c5a49163f12e0c39b4edfa9c4f01678f
[ "MIT" ]
null
null
null
class Solution { public: int getSum(int n){ int sum = 0; while(n){ sum += (n%10)*(n%10); n = n/10; } return sum; } bool isHappy(int n) { unordered_map<int,bool> mp; while(1){ int sum = getSum(n); if...
21.44
36
0.345149
codehuanglei
ff34b643ccdbfd62514d56fe391b5e050f8a0156
149
cpp
C++
src/utils/ToolBase/ToolBase.cpp
kehey/bedtools2
b93a68ca4625d66ebcb87d97bbb6296ff2a6e5ef
[ "MIT" ]
656
2015-01-06T19:54:36.000Z
2022-03-19T17:43:07.000Z
src/utils/ToolBase/ToolBase.cpp
kehey/bedtools2
b93a68ca4625d66ebcb87d97bbb6296ff2a6e5ef
[ "MIT" ]
774
2015-01-02T17:05:06.000Z
2022-03-31T12:54:03.000Z
src/utils/ToolBase/ToolBase.cpp
kehey/bedtools2
b93a68ca4625d66ebcb87d97bbb6296ff2a6e5ef
[ "MIT" ]
297
2015-01-02T09:25:35.000Z
2022-02-17T09:29:17.000Z
#include "ToolBase.h" // All methods are currently purely abstract, so this file is only a placeholder for any future // methods that may be added.
29.8
95
0.758389
kehey
ff39f32b0040be4f07b3dafd009a6443f46ec24c
36
cpp
C++
exercise/src/example/ProjectedTexture/ProjectedTextureFsParam.cpp
softwarekid/crayon
72fe08eab4b4282ad729ee2719e75df2f02f1def
[ "MIT" ]
null
null
null
exercise/src/example/ProjectedTexture/ProjectedTextureFsParam.cpp
softwarekid/crayon
72fe08eab4b4282ad729ee2719e75df2f02f1def
[ "MIT" ]
null
null
null
exercise/src/example/ProjectedTexture/ProjectedTextureFsParam.cpp
softwarekid/crayon
72fe08eab4b4282ad729ee2719e75df2f02f1def
[ "MIT" ]
null
null
null
#include "ProjectedTextureFsParam.h"
36
36
0.861111
softwarekid
ff3a8d06e42459cea19eb417d5c75fc63eb09d43
44,622
cpp
C++
src/e_editor_zfs.cpp
mweiss001/purple_martians
4454769ef149417799c4a07e4e519263626dfb23
[ "Zlib" ]
2
2021-02-24T06:36:50.000Z
2022-03-09T01:26:26.000Z
src/e_editor_zfs.cpp
mweiss001/purple_martians
4454769ef149417799c4a07e4e519263626dfb23
[ "Zlib" ]
null
null
null
src/e_editor_zfs.cpp
mweiss001/purple_martians
4454769ef149417799c4a07e4e519263626dfb23
[ "Zlib" ]
1
2018-05-19T01:46:16.000Z
2018-05-19T01:46:16.000Z
// e_editor_zfs.cpp #include "pm.h" void pointer_text(int x, int y, int ty) { if ((x<99) && (y < 99)) { al_draw_text( font, palette_color[15], txc, ty-39, ALLEGRO_ALIGN_CENTER, "Pointer"); al_draw_textf(font, palette_color[15], txc, ty-31, ALLEGRO_ALIGN_CENTER, " x:%d y:%d ", x, y); } int...
31.62438
131
0.427256
mweiss001
ff42419c44aa3a116581eeadf4b84ec5c3c49b19
1,001
ipp
C++
implement/oglplus/enums/ext/nv_path_font_style_names.ipp
matus-chochlik/oglplus
76dd964e590967ff13ddff8945e9dcf355e0c952
[ "BSL-1.0" ]
364
2015-01-01T09:38:23.000Z
2022-03-22T05:32:00.000Z
implement/oglplus/enums/ext/nv_path_font_style_names.ipp
matus-chochlik/oglplus
76dd964e590967ff13ddff8945e9dcf355e0c952
[ "BSL-1.0" ]
55
2015-01-06T16:42:55.000Z
2020-07-09T04:21:41.000Z
implement/oglplus/enums/ext/nv_path_font_style_names.ipp
matus-chochlik/oglplus
76dd964e590967ff13ddff8945e9dcf355e0c952
[ "BSL-1.0" ]
57
2015-01-07T18:35:49.000Z
2022-03-22T05:32:04.000Z
// File implement/oglplus/enums/ext/nv_path_font_style_names.ipp // // Automatically generated file, DO NOT modify manually. // Edit the source 'source/enums/oglplus/ext/nv_path_font_style.txt' // or the 'source/enums/make_enum.py' script instead. // // Copyright 2010-2019 Matus Chochlik. // Distributed under the...
25.666667
73
0.774226
matus-chochlik
ff4fdb253d023e243f4ee42c67c82bde6757d0b0
312
cpp
C++
cudaml/src/inner_functions.cpp
JSharp4273/PHD_opencv_cpp_my_modules
9d61b3e5a77310832ab2f261a6df38d62ace3e51
[ "BSD-4-Clause" ]
null
null
null
cudaml/src/inner_functions.cpp
JSharp4273/PHD_opencv_cpp_my_modules
9d61b3e5a77310832ab2f261a6df38d62ace3e51
[ "BSD-4-Clause" ]
null
null
null
cudaml/src/inner_functions.cpp
JSharp4273/PHD_opencv_cpp_my_modules
9d61b3e5a77310832ab2f261a6df38d62ace3e51
[ "BSD-4-Clause" ]
null
null
null
#include "opencv2/cudaml.hpp" namespace cv { namespace cuda { bool StatModelAsync::empty() const{ return !this->isTrained(); } bool StatModelAsync::train( InputArray , int , InputArray , Stream& ) { CV_Error(Error::StsNotImplemented,"This functionality has been implemented yet."); } } // cuda } // cv
16.421053
86
0.705128
JSharp4273
ff51e6d9a2e9d711cc0b6614784f0448e63f84f2
2,268
cpp
C++
WorldMaterials.cpp
gk0/citygen
322a31b6960ccfaa771b89f2762d1d834fe982bd
[ "MIT" ]
null
null
null
WorldMaterials.cpp
gk0/citygen
322a31b6960ccfaa771b89f2762d1d834fe982bd
[ "MIT" ]
null
null
null
WorldMaterials.cpp
gk0/citygen
322a31b6960ccfaa771b89f2762d1d834fe982bd
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "WorldMaterials.h" #include <OgreMaterialManager.h> #include <OgreTechnique.h> using namespace std; using namespace Ogre; WorldMaterials::WorldMaterials() { // set up categories _materials.insert(make_pair("road", std::vector<Material*>())); _materials.insert(make_pai...
31.943662
100
0.634039
gk0
ff55be6013c98ba13e7b51858fcfe439e54d2a52
5,299
cpp
C++
ext/hmsAAssetReader.cpp
bg-sniffer/hermes
e9d2be3d0600926cd99190cebd65dd1d077164aa
[ "Zlib" ]
null
null
null
ext/hmsAAssetReader.cpp
bg-sniffer/hermes
e9d2be3d0600926cd99190cebd65dd1d077164aa
[ "Zlib" ]
null
null
null
ext/hmsAAssetReader.cpp
bg-sniffer/hermes
e9d2be3d0600926cd99190cebd65dd1d077164aa
[ "Zlib" ]
null
null
null
// Copyright (C) 2017-2020 Grupa Pracuj Sp. z o.o. // This file is part of the "Hermes" library. // For conditions of distribution and use, see copyright notice in license.txt. #include "hmsAAssetReader.hpp" namespace hms { namespace ext { namespace jni { /* AAssetStorageReader */ AAssetStorageReader::AAsse...
29.937853
161
0.598037
bg-sniffer
ff55cc0edb390c0bbc3265ae40f58415f81b4dee
8,655
cpp
C++
elenasrc2/gui/winapi32/winredirect.cpp
drkameleon/elena-lang
8585e93a3bc0b19f8d60029ffbe01311d0b711a3
[ "MIT" ]
193
2015-07-03T22:23:27.000Z
2022-03-15T18:56:02.000Z
elenasrc2/gui/winapi32/winredirect.cpp
drkameleon/elena-lang
8585e93a3bc0b19f8d60029ffbe01311d0b711a3
[ "MIT" ]
531
2015-05-07T09:39:42.000Z
2021-09-27T07:51:38.000Z
elenasrc2/gui/winapi32/winredirect.cpp
drkameleon/elena-lang
8585e93a3bc0b19f8d60029ffbe01311d0b711a3
[ "MIT" ]
31
2015-09-30T13:07:36.000Z
2021-10-15T13:08:04.000Z
//--------------------------------------------------------------------------- // E L E N A P r o j e c t: ELENA IDE // WinAPI Redirect Class // (C)2005-2017, by Alexei Rakov // (C)2001, by Jeff Lee //------...
26.069277
108
0.602426
drkameleon
ff58e466ae487849191da5babf014bb873a42f0a
14,939
cpp
C++
src/sip_client.cpp
hackner-security/swd
52376221afbe1968cf269ab5d08d18ffad41fba1
[ "MIT" ]
4
2020-09-26T12:35:28.000Z
2021-06-13T12:22:03.000Z
src/sip_client.cpp
hackner-security/swd
52376221afbe1968cf269ab5d08d18ffad41fba1
[ "MIT" ]
null
null
null
src/sip_client.cpp
hackner-security/swd
52376221afbe1968cf269ab5d08d18ffad41fba1
[ "MIT" ]
1
2020-10-27T12:11:46.000Z
2020-10-27T12:11:46.000Z
// Copyright 2020 Barger M., Knoll M., Kofler L. #include "sip_client.hpp" SIPClient::SIPClient(std::string username, std::string password, std::string uri, int port, int threadid) { this->context = nullptr; this->last_event = nullptr; this->reg_msg = nullptr; this->threadid = threadid; // Initialize conte...
37.820253
116
0.694022
hackner-security