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
108
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
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
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
70b78dee07b94530f44ae6919c274ff0a90c4629
1,173
hpp
C++
library/ATF/_DCB.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/_DCB.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/_DCB.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> START_ATF_NAMESPACE struct _DCB { unsigned int DCBlength; unsigned int BaudRate; unsigned __int32 fBinary : 1; unsigned __int32 ...
29.325
108
0.635124
lemkova
70b7ce0dc3701c5945dd7e3cc8f7d1b1eb7cc5b6
222
cpp
C++
Pointers/simplearray.cpp
dealbisac/cprograms
89af58a30295099b45406cf192f4c4eb4a06f9fe
[ "Unlicense" ]
4
2019-01-27T01:00:44.000Z
2019-01-29T02:09:55.000Z
Pointers/simplearray.cpp
dealbisac/cprograms
89af58a30295099b45406cf192f4c4eb4a06f9fe
[ "Unlicense" ]
null
null
null
Pointers/simplearray.cpp
dealbisac/cprograms
89af58a30295099b45406cf192f4c4eb4a06f9fe
[ "Unlicense" ]
1
2019-02-04T11:34:40.000Z
2019-02-04T11:34:40.000Z
//Simple Array Pointers Example #include <stdio.h> int main() { int x[4]; int i; for(i = 0; i < 4; ++i) { printf("&x[%d] = %u\n", i, &x[i]); } printf("Address of array x: %u", x); return 0; }
13.058824
40
0.477477
dealbisac
70b814f959a944f1978a91fe88d1eb529eaabd26
211
cpp
C++
src/network/message.cpp
MrPepperoni/Reaping2-1
4ffef3cca1145ddc06ca87d2968c7b0ffd3ba3fd
[ "MIT" ]
3
2015-02-22T20:34:28.000Z
2020-03-04T08:55:25.000Z
src/network/message.cpp
MrPepperoni/Reaping2-1
4ffef3cca1145ddc06ca87d2968c7b0ffd3ba3fd
[ "MIT" ]
22
2015-12-13T16:29:40.000Z
2017-03-04T15:45:44.000Z
src/network/message.cpp
Reaping2/Reaping2
0d4c988c99413e50cc474f6206cf64176eeec95d
[ "MIT" ]
14
2015-11-23T21:25:09.000Z
2020-07-17T17:03:23.000Z
#include "network/message.h" namespace network { Message::Message() : mSenderId( -1 ) { } Message::~Message() { } } // namespace network BOOST_CLASS_EXPORT_GUID( network::DefaultMessage, "default" )
10.55
61
0.677725
MrPepperoni
70b8c9b996274447f48c4121979ecd90a15b74d5
2,054
cpp
C++
Root Folder/Game/Render Engine/basics/DisplayManager.cpp
zhangjianagry/2018-Game
aebc4c3f6c98bb7e909f2ff4d71e32b63ba7fc14
[ "MIT" ]
1
2018-12-25T03:18:42.000Z
2018-12-25T03:18:42.000Z
Root Folder/Game/Render Engine/basics/DisplayManager.cpp
zhangjianagry/2018-Game
aebc4c3f6c98bb7e909f2ff4d71e32b63ba7fc14
[ "MIT" ]
null
null
null
Root Folder/Game/Render Engine/basics/DisplayManager.cpp
zhangjianagry/2018-Game
aebc4c3f6c98bb7e909f2ff4d71e32b63ba7fc14
[ "MIT" ]
null
null
null
#include "DisplayManager.h" #include <iostream> int DisplayManager::SCREEN_WIDTH = 1280; int DisplayManager::SCREEN_HEIGHT = 720; const char * DisplayManager::SCREEN_TITLE = "Game"; float DisplayManager::ASPECTRATIO; int DisplayManager::FPS_CAP = 100; float DisplayManager::MAX_DELTA = 0.2f; float DisplayManager::STAB...
22.822222
64
0.746349
zhangjianagry
70c1a1675562c5ab2d5609136b1ae34adcd636c8
3,595
cpp
C++
src/game/shared/movevars_shared.cpp
vxsd/refraction
bb6def1feb6c2e5c94b2604ad55607ed380a2d7e
[ "MIT" ]
4
2019-08-31T10:48:22.000Z
2019-11-03T19:36:45.000Z
src/game/shared/movevars_shared.cpp
undbsd/refraction
bb6def1feb6c2e5c94b2604ad55607ed380a2d7e
[ "MIT" ]
2
2020-07-18T10:39:32.000Z
2020-09-14T04:37:18.000Z
src/game/shared/movevars_shared.cpp
undbsd/refraction
bb6def1feb6c2e5c94b2604ad55607ed380a2d7e
[ "MIT" ]
1
2019-12-20T20:40:12.000Z
2019-12-20T20:40:12.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // //=============================================================================// #include "cbase.h" #include "movevars_shared.h" // memdbgon must be the last include file in a .cpp file!!! #include "tier0/memdbgon.h" float...
57.063492
160
0.76662
vxsd
70c2432329ee8843f096edfb4ea38dbfc1be2df3
1,553
cc
C++
src/app/exo_browser_main.cc
spolu/exo_browser_save
d1ef13f2735405154b6c2e56db829e81effe6ed1
[ "MIT" ]
7
2015-02-01T05:07:20.000Z
2017-09-12T07:55:40.000Z
src/app/exo_browser_main.cc
spolu/exo_browser_save
d1ef13f2735405154b6c2e56db829e81effe6ed1
[ "MIT" ]
null
null
null
src/app/exo_browser_main.cc
spolu/exo_browser_save
d1ef13f2735405154b6c2e56db829e81effe6ed1
[ "MIT" ]
null
null
null
// Copyright (c) 2014 Stanislas Polu. // Copyright (c) 2012 The Chromium Authors. // See the LICENSE file. #include "content/public/app/content_main.h" #include "v8/include/v8.h" #include "third_party/node/src/node.h" #include "exo_browser/src/app/main_delegate.h" #include <iostream> #if defined(OS_WIN) #include "san...
26.775862
69
0.717965
spolu
70c55a7f6712221b244a64ba1b3d16540f501a67
40,240
cpp
C++
3rdparty/webkit/Source/WebCore/page/CaptionUserPreferencesMediaAF.cpp
mchiasson/PhaserNative
f867454602c395484bf730a7c43b9c586c102ac2
[ "MIT" ]
null
null
null
3rdparty/webkit/Source/WebCore/page/CaptionUserPreferencesMediaAF.cpp
mchiasson/PhaserNative
f867454602c395484bf730a7c43b9c586c102ac2
[ "MIT" ]
null
null
null
3rdparty/webkit/Source/WebCore/page/CaptionUserPreferencesMediaAF.cpp
mchiasson/PhaserNative
f867454602c395484bf730a7c43b9c586c102ac2
[ "MIT" ]
1
2019-01-25T13:55:25.000Z
2019-01-25T13:55:25.000Z
/* * Copyright (C) 2012-2017 Apple Inc. 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, this list of conditi...
41.441813
256
0.725025
mchiasson
70c744f2aeef8c6b36a08503d3577e875cffa673
263
cpp
C++
ctp2_code/ui/aui_common/aui_audiomanager.cpp
xiaolanchong/call_to_power2
39f19d18b363cefb151bbbf050c6b672ee544117
[ "DOC" ]
null
null
null
ctp2_code/ui/aui_common/aui_audiomanager.cpp
xiaolanchong/call_to_power2
39f19d18b363cefb151bbbf050c6b672ee544117
[ "DOC" ]
null
null
null
ctp2_code/ui/aui_common/aui_audiomanager.cpp
xiaolanchong/call_to_power2
39f19d18b363cefb151bbbf050c6b672ee544117
[ "DOC" ]
null
null
null
#include "c3.h" #include "aui_audiomanager.h" aui_AudioManager::aui_AudioManager() { InitCommon(); } AUI_ERRCODE aui_AudioManager::InitCommon( void ) { m_useAudio = TRUE; return AUI_ERRCODE_OK; } aui_AudioManager::~aui_AudioManager() { }
7.108108
48
0.695817
xiaolanchong
70d101baafb33b1c0832b9fd8727f2c5adc83465
1,823
cpp
C++
Leetcode/2001-3000/2157. Groups of Strings/2157.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/2001-3000/2157. Groups of Strings/2157.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/2001-3000/2157. Groups of Strings/2157.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
class UF { public: UF(int n) : count(n), id(n), size(n, 1), rank(n) { iota(begin(id), end(id), 0); } void union_(int u, int v) { const int i = find(u); const int j = find(v); if (i == j) return; if (rank[i] < rank[j]) { id[i] = id[j]; size[j] += size[i]; } else if (rank...
21.702381
52
0.496983
Next-Gen-UI
70d39e4d147f1db11596ff7be458c90ef3cbbd7a
1,073
cpp
C++
src/imu-frontend/ImuFrontEndParams.cpp
tonioteran/Kimera-VIO
fe3ab9554a30fdff760da53d5ad22ee45f91c498
[ "BSD-2-Clause" ]
2
2019-12-18T12:38:24.000Z
2019-12-25T08:18:02.000Z
src/imu-frontend/ImuFrontEndParams.cpp
tonioteran/Kimera-VIO
fe3ab9554a30fdff760da53d5ad22ee45f91c498
[ "BSD-2-Clause" ]
null
null
null
src/imu-frontend/ImuFrontEndParams.cpp
tonioteran/Kimera-VIO
fe3ab9554a30fdff760da53d5ad22ee45f91c498
[ "BSD-2-Clause" ]
1
2020-01-18T09:52:52.000Z
2020-01-18T09:52:52.000Z
/* ---------------------------------------------------------------------------- * Copyright 2017, Massachusetts Institute of Technology, * Cambridge, MA 02139 * All Rights Reserved * Authors: Luca Carlone, et al. (see THANKS for the full author list) * See LICENSE for the license information * -------------------...
33.53125
80
0.521901
tonioteran
70d5536548f830dcd1cc7831e247b4efa560e504
328
hpp
C++
src/Graphics/glHeaders.hpp
ryu-raptor/amf
33a42cf1025ea512f23c4769a5be27d6a0c335bc
[ "MIT" ]
1
2020-05-31T02:25:39.000Z
2020-05-31T02:25:39.000Z
src/Graphics/glHeaders.hpp
ryu-raptor/amf
33a42cf1025ea512f23c4769a5be27d6a0c335bc
[ "MIT" ]
null
null
null
src/Graphics/glHeaders.hpp
ryu-raptor/amf
33a42cf1025ea512f23c4769a5be27d6a0c335bc
[ "MIT" ]
null
null
null
#ifndef glHeaders_hpp_included #define glHeaders_hpp_included #include <GL/glew.h> #include <GLFW/glfw3.h> #define GLM_MESSAGES #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #define GLM_ENABLE_EXPERIMENTAL #include <glm/gtx/transform.hpp> #include <glm/gtx/string_cast.hpp> #endif /* end of include g...
21.866667
39
0.780488
ryu-raptor
70d64b81fcdbbc58739b812150d232add48eb461
475
cpp
C++
source/consolelogger.cpp
JRKalyan/affign
ef5816ecc683d4720595414a4e8355057dbbff78
[ "MIT" ]
21
2018-01-21T19:29:05.000Z
2022-02-23T19:18:58.000Z
source/consolelogger.cpp
JRKalyan/affign
ef5816ecc683d4720595414a4e8355057dbbff78
[ "MIT" ]
null
null
null
source/consolelogger.cpp
JRKalyan/affign
ef5816ecc683d4720595414a4e8355057dbbff78
[ "MIT" ]
null
null
null
#include "consolelogger.h" #include <iostream> void ConsoleLogger::Log(const std::string& msg, MessageType type) { std::string prefix; switch (type) { case MessageType::error: prefix = "[ERROR]"; break; case MessageType::standard: prefix = "[STATUS]"; break; case MessageType::success: p...
19.791667
67
0.614737
JRKalyan
70d862fc96d9a59cc1f162b35b34b9ad1d237757
343
cpp
C++
WinRT/HelloWinRT/Main.cpp
weliwita/CPPWindowsTutorial
0bba092c20e1afad3434b521a21ae09573579cde
[ "Apache-2.0" ]
null
null
null
WinRT/HelloWinRT/Main.cpp
weliwita/CPPWindowsTutorial
0bba092c20e1afad3434b521a21ae09573579cde
[ "Apache-2.0" ]
null
null
null
WinRT/HelloWinRT/Main.cpp
weliwita/CPPWindowsTutorial
0bba092c20e1afad3434b521a21ae09573579cde
[ "Apache-2.0" ]
null
null
null
#include "pch.h" using namespace winrt; using namespace Windows::Foundation; using namespace Windows::Networking; using namespace Windows::Networking::Connectivity; int main() { init_apartment(); for (HostName const & name : NetworkInformation::GetHostNames()) { printf("%ls\n", name.ToStri...
17.15
68
0.676385
weliwita
70d922514e131d20838131448b18e3a57aac0a35
2,672
cpp
C++
src/Values.cpp
errata-c/ez-kvstore
9e68d4cb18e17cb6ba4a7c2a6aaf6cddd9d829cf
[ "MIT" ]
null
null
null
src/Values.cpp
errata-c/ez-kvstore
9e68d4cb18e17cb6ba4a7c2a6aaf6cddd9d829cf
[ "MIT" ]
null
null
null
src/Values.cpp
errata-c/ez-kvstore
9e68d4cb18e17cb6ba4a7c2a6aaf6cddd9d829cf
[ "MIT" ]
null
null
null
#include "KVPrivate.hpp" #include <cassert> #include <iostream> #include <fmt/core.h> namespace ez { std::size_t KVPrivate::numValues() const { if (!db) { return 0; } SQLite::Statement stmt( db.value(), fmt::format( "SELECT COUNT(*) FROM \"{}\";", tableID ) ); bool res = stmt.executeSt...
18.30137
91
0.561377
errata-c
70dc0a195dd7512df582f9290a1d1db249a0727a
842
cpp
C++
cpp/ql/test/library-tests/scopes/scopes/scopes.cpp
vadi2/codeql
a806a4f08696d241ab295a286999251b56a6860c
[ "MIT" ]
4,036
2020-04-29T00:09:57.000Z
2022-03-31T14:16:38.000Z
cpp/ql/test/library-tests/scopes/scopes/scopes.cpp
vadi2/codeql
a806a4f08696d241ab295a286999251b56a6860c
[ "MIT" ]
2,970
2020-04-28T17:24:18.000Z
2022-03-31T22:40:46.000Z
cpp/ql/test/library-tests/scopes/scopes/scopes.cpp
ScriptBox99/github-codeql
2ecf0d3264db8fb4904b2056964da469372a235c
[ "MIT" ]
794
2020-04-29T00:28:25.000Z
2022-03-30T08:21:46.000Z
class A { }; class B { }; class C: A, B { }; class D: C { class E; }; class D::E { class F; class G { }; }; class D::E::F: D::E::G { void doubleNestedFunction() {} }; void f(int a, int b) { bool c = a==b; switch (a) { default: } } void g(); struct S { void af() { } void ag(); }; void...
8.096154
56
0.511876
vadi2
70dc33b8488c49143d5ff4c482003d3272fe8362
687
cpp
C++
src/xyz.cpp
andreaskoepf/torch-pcl
54244b69f9483d84e4f7d1da637c09d1de73acf1
[ "BSD-3-Clause" ]
36
2016-02-11T06:57:33.000Z
2020-05-30T05:08:18.000Z
src/xyz.cpp
andreaskoepf/torch-pcl
54244b69f9483d84e4f7d1da637c09d1de73acf1
[ "BSD-3-Clause" ]
13
2015-10-23T13:00:34.000Z
2017-01-05T16:35:32.000Z
src/xyz.cpp
andreaskoepf/torch-pcl
54244b69f9483d84e4f7d1da637c09d1de73acf1
[ "BSD-3-Clause" ]
8
2016-02-21T01:47:46.000Z
2019-11-01T12:48:57.000Z
#define _PointT pcl::PointXYZ #define _PointNormalT pcl::PointNormal #define TYPE_KEY _XYZ_ #include "utils.h" #include <pcl/keypoints/sift_keypoint.h> // SIFTKeypointFieldSelector specialization to calculate SIFTKeypoint based // on the z component of point clouds without color or intensity information. namespace pc...
23.689655
77
0.756914
andreaskoepf
70dfc11fb13e01d3e7cba2d37aad9aba9dc50dea
493
hpp
C++
tests/headers/typeref_1_0.hpp
dustlang/rust-bindgen
62caa5eeba843b88eb4248d313d1fb90db878dae
[ "BSD-3-Clause" ]
1,848
2018-11-22T06:08:21.000Z
2022-03-31T10:54:10.000Z
tests/headers/typeref_1_0.hpp
dustlang/rust-bindgen
62caa5eeba843b88eb4248d313d1fb90db878dae
[ "BSD-3-Clause" ]
845
2016-06-22T21:55:20.000Z
2018-10-31T15:50:10.000Z
tests/headers/typeref_1_0.hpp
dustlang/rust-bindgen
62caa5eeba843b88eb4248d313d1fb90db878dae
[ "BSD-3-Clause" ]
274
2018-11-23T17:46:29.000Z
2022-03-27T04:52:37.000Z
// bindgen-flags: --rust-target 1.0 --with-derive-hash --with-derive-partialeq --with-derive-eq struct nsFoo; namespace mozilla { struct FragmentOrURL { bool mIsLocalRef; }; struct Position { }; } // namespace mozilla class Bar { nsFoo* mFoo; }; namespace mozilla { template<typename ReferenceBox> struct StyleS...
15.903226
95
0.707911
dustlang
70dffa1383cc22b22a12f4dcd872ed6e226644a0
24,866
cpp
C++
src/Simd/SimdAvx1Convolution.cpp
frankyhit/Simd
05c5d3bfa83e55f33dd669dfef4995332fd5ef61
[ "MIT" ]
1
2018-12-14T06:19:36.000Z
2018-12-14T06:19:36.000Z
src/Simd/SimdAvx1Convolution.cpp
frankyhit/Simd
05c5d3bfa83e55f33dd669dfef4995332fd5ef61
[ "MIT" ]
null
null
null
src/Simd/SimdAvx1Convolution.cpp
frankyhit/Simd
05c5d3bfa83e55f33dd669dfef4995332fd5ef61
[ "MIT" ]
null
null
null
/* * Simd Library (http://ermig1979.github.io/Simd). * * Copyright (c) 2011-2018 Yermalayeu Ihar. * * 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 witho...
47.273764
168
0.466179
frankyhit
70e09544681d966b75f30c3a0b66d0ff81552c5b
207
hpp
C++
src/scenario/scenario_search.hpp
reyreaud-l/CppTrie
8e939aa5ff11aecbb7ea79fa38cb5f53bdb0ca17
[ "MIT" ]
5
2018-07-30T08:50:39.000Z
2018-08-10T15:41:42.000Z
src/scenario/scenario_search.hpp
reyreaud-l/CppTrie
8e939aa5ff11aecbb7ea79fa38cb5f53bdb0ca17
[ "MIT" ]
null
null
null
src/scenario/scenario_search.hpp
reyreaud-l/CppTrie
8e939aa5ff11aecbb7ea79fa38cb5f53bdb0ca17
[ "MIT" ]
null
null
null
#include "scenario.hpp" class ScenarioSearch : public Scenario { public: virtual ~ScenarioSearch(); ScenarioSearch(const std::vector<std::string>& word_list, std::size_t nqueries); };
18.818182
59
0.681159
reyreaud-l
70e0aacda54edf0132ab4c71556094413a587948
3,956
cpp
C++
tools/headergen/HeaderGen.cpp
lifting-bits/rellic
96fc148723be33e1dcdca256d3f28d75dc4339c2
[ "Apache-2.0" ]
187
2019-10-31T19:31:00.000Z
2022-03-31T15:37:05.000Z
tools/headergen/HeaderGen.cpp
lifting-bits/rellic
96fc148723be33e1dcdca256d3f28d75dc4339c2
[ "Apache-2.0" ]
116
2019-10-25T12:12:58.000Z
2022-03-30T20:58:04.000Z
tools/headergen/HeaderGen.cpp
lifting-bits/rellic
96fc148723be33e1dcdca256d3f28d75dc4339c2
[ "Apache-2.0" ]
19
2019-11-11T02:27:12.000Z
2021-11-03T17:12:28.000Z
/* * Copyright (c) 2021-present, Trail of Bits, Inc. * All rights reserved. * * This source code is licensed in accordance with the terms specified in * the LICENSE file found in the root directory of this source tree. */ #include <clang/Tooling/Tooling.h> #include <gflags/gflags.h> #include <glog/logging.h> #in...
31.149606
80
0.654954
lifting-bits
70e0ef13c81f3597048d79c438d890bace388f38
16,473
cc
C++
src/kudu/util/file_cache-test.cc
acelyc111/kudu
55cab441c2d66c92f0c769e98d6a2f079e5563b2
[ "Apache-2.0" ]
null
null
null
src/kudu/util/file_cache-test.cc
acelyc111/kudu
55cab441c2d66c92f0c769e98d6a2f079e5563b2
[ "Apache-2.0" ]
null
null
null
src/kudu/util/file_cache-test.cc
acelyc111/kudu
55cab441c2d66c92f0c769e98d6a2f079e5563b2
[ "Apache-2.0" ]
null
null
null
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
33.413793
94
0.698841
acelyc111
70e1051c3595d3701e7ed5abeb542251d0a322c8
379
hpp
C++
src/feedback_client.hpp
sgalkin/notifications-backend
bf995816ecbfc54818f4d6277d4dbb695252cf75
[ "MIT" ]
2
2017-01-02T02:02:23.000Z
2021-04-15T09:21:27.000Z
src/feedback_client.hpp
sgalkin/notifications-backend
bf995816ecbfc54818f4d6277d4dbb695252cf75
[ "MIT" ]
null
null
null
src/feedback_client.hpp
sgalkin/notifications-backend
bf995816ecbfc54818f4d6277d4dbb695252cf75
[ "MIT" ]
null
null
null
#pragma once #include "client.hpp" #include <wangle/channel/Pipeline.h> #include <chrono> typedef wangle::DefaultPipeline FeedbackClientPipeline; typedef Client<FeedbackClientPipeline> FeedbackClient; std::shared_ptr<wangle::PipelineFactory<FeedbackClientPipeline>> FeedbackClientPipelineFactory(Client<FeedbackClient...
31.583333
109
0.83905
sgalkin
70e14b711c0778015859dcc145e79665d3b0323e
1,701
cpp
C++
aws-cpp-sdk-gamelift/source/model/FleetAction.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-01-05T18:20:03.000Z
2022-01-05T18:20:03.000Z
aws-cpp-sdk-gamelift/source/model/FleetAction.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-gamelift/source/model/FleetAction.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T12:02:58.000Z
2021-11-09T12:02:58.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/gamelift/model/FleetAction.h> #include <aws/core/utils/HashingUtils.h> #include <aws/core/Globals.h> #include <aws/core/utils/EnumParseOverflowContainer.h> using namespace Aws::Utils; ...
26.578125
92
0.620223
Neusoft-Technology-Solutions
70e46ee73ac188f7bc00891d0b95574a46b84414
2,457
hpp
C++
include/atd/stats/ExponentialSmoothing.hpp
galeone/openatd
b60c5fb774d8310e867363503dd4eb40bb2c8481
[ "Apache-2.0" ]
15
2017-11-06T17:20:29.000Z
2021-12-09T19:31:18.000Z
include/atd/stats/ExponentialSmoothing.hpp
galeone/openatd
b60c5fb774d8310e867363503dd4eb40bb2c8481
[ "Apache-2.0" ]
null
null
null
include/atd/stats/ExponentialSmoothing.hpp
galeone/openatd
b60c5fb774d8310e867363503dd4eb40bb2c8481
[ "Apache-2.0" ]
2
2018-07-21T20:37:34.000Z
2021-02-01T19:55:01.000Z
/* Copyright 2017 Paolo Galeone <nessuno@nerdz.eu>. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
37.8
80
0.700041
galeone
70e5328911d010f88f69a176d26d993df81ff387
727
hpp
C++
src/light/pointLight.hpp
mfirmin/audio-demo
767e2fc1b7afb53cd5aafad90ae562661a154373
[ "MIT" ]
1
2021-09-13T20:22:29.000Z
2021-09-13T20:22:29.000Z
src/light/pointLight.hpp
mfirmin/audio-demo
767e2fc1b7afb53cd5aafad90ae562661a154373
[ "MIT" ]
null
null
null
src/light/pointLight.hpp
mfirmin/audio-demo
767e2fc1b7afb53cd5aafad90ae562661a154373
[ "MIT" ]
1
2021-09-13T20:22:31.000Z
2021-09-13T20:22:31.000Z
#pragma once #include "light.hpp" #include <glm/glm.hpp> class PointLight : public Light { public: PointLight( glm::vec3 position, glm::vec3 color, float intensity, float ambientCoefficient, float attenuation ); PointLight(Point...
22.030303
65
0.570839
mfirmin
70e5f00096b4da76b6cb02fbece33d9223fd8d42
2,238
cpp
C++
src/ngraph/frontend/onnx_import/op/eye_like.cpp
pqLee/ngraph
ddfa95b26a052215baf9bf5aa1ca5d1f92aa00f7
[ "Apache-2.0" ]
null
null
null
src/ngraph/frontend/onnx_import/op/eye_like.cpp
pqLee/ngraph
ddfa95b26a052215baf9bf5aa1ca5d1f92aa00f7
[ "Apache-2.0" ]
null
null
null
src/ngraph/frontend/onnx_import/op/eye_like.cpp
pqLee/ngraph
ddfa95b26a052215baf9bf5aa1ca5d1f92aa00f7
[ "Apache-2.0" ]
null
null
null
//***************************************************************************** // Copyright 2017-2020 Intel Corporation // // 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://w...
35.52381
89
0.511618
pqLee
70e87610eb43ab04f26008d1151e0d2b61a20fe3
16,968
cpp
C++
third_party/skia_m79/third_party/externals/angle2/src/libGL/entry_points_gl_4_2_autogen.cpp
kniefliu/WindowsSamples
c841268ef4a0f1c6f89b8e95bf68058ea2548394
[ "MIT" ]
null
null
null
third_party/skia_m79/third_party/externals/angle2/src/libGL/entry_points_gl_4_2_autogen.cpp
kniefliu/WindowsSamples
c841268ef4a0f1c6f89b8e95bf68058ea2548394
[ "MIT" ]
null
null
null
third_party/skia_m79/third_party/externals/angle2/src/libGL/entry_points_gl_4_2_autogen.cpp
kniefliu/WindowsSamples
c841268ef4a0f1c6f89b8e95bf68058ea2548394
[ "MIT" ]
null
null
null
// GENERATED FILE - DO NOT EDIT. // Generated by generate_entry_points.py using data from gl.xml. // // Copyright 2019 The ANGLE 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. // // entry_points_gl_4_2_autogen.cpp: // Defin...
46.743802
100
0.58298
kniefliu
70e8ddbd72598faa72e43aab82a0dd61ea6ee2f8
8,387
cpp
C++
dom/src/1.4/dom/domGlsl_surface_type.cpp
AnalyticalGraphicsInc/collada-dom
74b6b88db5f05aaf065767855e507bd7d91177da
[ "MIT" ]
60
2015-03-17T17:38:24.000Z
2022-02-02T09:20:58.000Z
dom/src/1.4/dom/domGlsl_surface_type.cpp
CesiumGS/collada-dom
74b6b88db5f05aaf065767855e507bd7d91177da
[ "MIT" ]
24
2015-01-18T13:06:58.000Z
2021-12-15T18:33:45.000Z
dom/src/1.4/dom/domGlsl_surface_type.cpp
CesiumGS/collada-dom
74b6b88db5f05aaf065767855e507bd7d91177da
[ "MIT" ]
40
2015-01-16T10:13:50.000Z
2021-11-13T01:04:57.000Z
/* * Copyright 2006 Sony Computer Entertainment Inc. * * Licensed under the MIT Open Source License, for details please see license.txt or the website * http://www.opensource.org/licenses/mit-license.php * */ #include <dae.h> #include <dae/daeDom.h> #include <1.4/dom/domGlsl_surface_type.h> #include <dae/daeMetaCMPol...
31.889734
107
0.733397
AnalyticalGraphicsInc
70eb9f8081aedfde33e3eb67b478c72ca2dee72f
12,995
cc
C++
tensorflow/core/common_runtime/collective_param_resolver_local_test.cc
PaulWang1905/tensorflow
ebf12d22b4801fb8dab5034cc94562bf7cc33fa0
[ "Apache-2.0" ]
36
2016-12-17T15:25:25.000Z
2022-01-29T21:50:53.000Z
tensorflow/core/common_runtime/collective_param_resolver_local_test.cc
PaulWang1905/tensorflow
ebf12d22b4801fb8dab5034cc94562bf7cc33fa0
[ "Apache-2.0" ]
59
2019-06-17T09:37:49.000Z
2022-01-19T01:21:34.000Z
tensorflow/core/common_runtime/collective_param_resolver_local_test.cc
PaulWang1905/tensorflow
ebf12d22b4801fb8dab5034cc94562bf7cc33fa0
[ "Apache-2.0" ]
36
2017-07-27T21:12:40.000Z
2022-02-03T16:45:56.000Z
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
44.810345
80
0.60277
PaulWang1905
70ecdb64cd34cc1d408f806680b8114fe30c674d
7,737
cpp
C++
gauss_tools/src/flight_plan_kml_to_json.cpp
hecperleo/gauss
20ece37af00455ee760dcef1d583300eaa347a1d
[ "MIT" ]
2
2021-06-22T16:53:08.000Z
2021-11-27T05:06:49.000Z
gauss_tools/src/flight_plan_kml_to_json.cpp
hecperleo/gauss
20ece37af00455ee760dcef1d583300eaa347a1d
[ "MIT" ]
1
2021-09-10T10:24:20.000Z
2021-09-10T10:24:20.000Z
gauss_tools/src/flight_plan_kml_to_json.cpp
hecperleo/gauss
20ece37af00455ee760dcef1d583300eaa347a1d
[ "MIT" ]
4
2021-03-25T12:50:23.000Z
2022-03-11T11:14:21.000Z
#include <stdio.h> #include <ros/ros.h> #include <cstring> #include <iostream> #include <fstream> #include <vector> #include <jsoncpp/json/json.h> #include <pugixml.hpp> #include <GeographicLib/Geocentric.hpp> #include <GeographicLib/LocalCartesian.hpp> #define NOMINAL_SPEED 5.0 // meters per second inline double di...
36.323944
220
0.565465
hecperleo
70f0b1da76a4055e015d7f1839f07c68fd56af60
2,116
cpp
C++
src/pola/utils/SharedBuffer.cpp
lij0511/pandora
5988618f29d2f1ba418ef54a02e227903c1e7108
[ "Apache-2.0" ]
null
null
null
src/pola/utils/SharedBuffer.cpp
lij0511/pandora
5988618f29d2f1ba418ef54a02e227903c1e7108
[ "Apache-2.0" ]
null
null
null
src/pola/utils/SharedBuffer.cpp
lij0511/pandora
5988618f29d2f1ba418ef54a02e227903c1e7108
[ "Apache-2.0" ]
null
null
null
#include <stdlib.h> #include <string.h> #include "pola/utils/SharedBuffer.h" // --------------------------------------------------------------------------- namespace pola { namespace utils { SharedBuffer* SharedBuffer::alloc(size_t size) { SharedBuffer* sb = static_cast<SharedBuffer *>(malloc(sizeof(SharedBuff...
21.373737
88
0.560019
lij0511
70f22934eafa1cb0c6af3cad35cea723308a3d9c
3,320
cpp
C++
3rdparty/detours/samples/slept/slept.cpp
wohaaitinciu/zpublic
0e4896b16e774d2f87e1fa80f1b9c5650b85c57e
[ "Unlicense" ]
50
2015-01-07T01:54:54.000Z
2021-01-15T00:41:48.000Z
3rdparty/detours/samples/slept/slept.cpp
lib1256/zpublic
64c2be9ef1abab878288680bb58122dcc25df81d
[ "Unlicense" ]
1
2015-05-26T07:40:19.000Z
2015-05-26T07:40:19.000Z
3rdparty/detours/samples/slept/slept.cpp
lib1256/zpublic
64c2be9ef1abab878288680bb58122dcc25df81d
[ "Unlicense" ]
43
2015-01-21T02:15:46.000Z
2022-01-12T20:44:59.000Z
////////////////////////////////////////////////////////////////////////////// // // Detour Test Program (slept.cpp of slept.dll) // // Microsoft Research Detours Package, Version 3.0. // // Copyright (c) Microsoft Corporation. All rights reserved. // #include <stdio.h> #include <windows.h> #include "detours.h" #in...
25.343511
85
0.564157
wohaaitinciu
70f235caae2847815d64e4cc079efb38d67a2c06
2,315
cpp
C++
trick_source/sim_services/MonteCarlo/MonteCarlo_slave_init.cpp
dexueyang/trick-dup0
2d5d5502fa896d3c42eda40ce0ee45e98ec35463
[ "NASA-1.3" ]
null
null
null
trick_source/sim_services/MonteCarlo/MonteCarlo_slave_init.cpp
dexueyang/trick-dup0
2d5d5502fa896d3c42eda40ce0ee45e98ec35463
[ "NASA-1.3" ]
null
null
null
trick_source/sim_services/MonteCarlo/MonteCarlo_slave_init.cpp
dexueyang/trick-dup0
2d5d5502fa896d3c42eda40ce0ee45e98ec35463
[ "NASA-1.3" ]
3
2021-06-22T11:02:39.000Z
2021-10-21T00:58:00.000Z
#include <sys/stat.h> #include <libgen.h> #include "trick/MonteCarlo.hh" #include "trick/command_line_protos.h" #include "trick/message_proto.h" #include "trick/message_type.h" #include "trick/tc_proto.h" /** @par Detailed Design: */ int Trick::MonteCarlo::slave_init() { /** <ul><li> Construct the run directory....
35.075758
117
0.634989
dexueyang
70f313eee7ccebe402f25975387869dfa297daa5
6,500
cc
C++
sigpr/pda/smooth_pda.cc
Equidamoid/speech_tools
9208f35ac1a8cd32c949b069c3ef073364f18a8b
[ "Unlicense" ]
43
2017-09-13T10:54:00.000Z
2022-03-23T02:11:39.000Z
sigpr/pda/smooth_pda.cc
Equidamoid/speech_tools
9208f35ac1a8cd32c949b069c3ef073364f18a8b
[ "Unlicense" ]
20
2017-09-13T10:53:29.000Z
2022-03-10T20:44:03.000Z
sigpr/pda/smooth_pda.cc
Equidamoid/speech_tools
9208f35ac1a8cd32c949b069c3ef073364f18a8b
[ "Unlicense" ]
19
2017-09-17T23:42:57.000Z
2021-11-28T11:31:20.000Z
/*************************************************************************/ /* */ /* Centre for Speech Technology Research */ /* University of Edinburgh, UK */ /* ...
33.678756
75
0.519538
Equidamoid
70f3f344fbbb68bf35f53a15921d90e7c5623652
5,498
cpp
C++
inetsrv/iis/svcs/smtp/aqueue/cat/ldapstor/icatqueries.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetsrv/iis/svcs/smtp/aqueue/cat/ldapstor/icatqueries.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetsrv/iis/svcs/smtp/aqueue/cat/ldapstor/icatqueries.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+------------------------------------------------------------ // // Copyright (C) 1998, Microsoft Corporation // // File: icatqueries.cpp // // Contents: CICategorizerQueriesIMP implementation // // Classes: // CICategorizerQueriesIMP // // Functions: // // History: // jstamerj 1998/07/15 14:25:18: Cre...
22.719008
81
0.498727
npocmaka
70f4d87835cc261e738ae9f47fe5cf17b7fea228
13,710
cpp
C++
source/tools/finite/opt_mps.cpp
DavidAce/DMRG
e465fd903eade1bf6aa74daacd8e2cf02e9e9332
[ "MIT" ]
9
2017-10-31T22:50:28.000Z
2022-03-10T15:45:27.000Z
source/tools/finite/opt_mps.cpp
DavidAce/DMRG
e465fd903eade1bf6aa74daacd8e2cf02e9e9332
[ "MIT" ]
null
null
null
source/tools/finite/opt_mps.cpp
DavidAce/DMRG
e465fd903eade1bf6aa74daacd8e2cf02e9e9332
[ "MIT" ]
1
2019-07-16T00:27:56.000Z
2019-07-16T00:27:56.000Z
// // Created by david on 2020-05-31. // #include "opt_mps.h" #include <tools/common/fmt.h> #include <config/debug.h> using namespace tools::finite::opt; opt_mps::opt_mps(const std::string &name_, const Eigen::Tensor<cplx, 3> &tensor_, const std::vector<size_t> &sites_, double eigval_, double energy_reduced_, ...
36.56
156
0.671481
DavidAce
70f698ca353208a9e2182bd5e89c1ddb9688de45
972
hpp
C++
Music/OnMei/a_Body.hpp
p-adic/cpp
9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c
[ "MIT" ]
2
2020-09-13T07:31:22.000Z
2022-03-26T08:37:32.000Z
Music/OnMei/a_Body.hpp
p-adic/cpp
9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c
[ "MIT" ]
null
null
null
Music/OnMei/a_Body.hpp
p-adic/cpp
9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c
[ "MIT" ]
null
null
null
// c:/Users/user/Documents/Programming/Music/OnMei/a_Body.hpp #pragma once #include "a.hpp" #include "KanOn/a_Body.hpp" #include "HenKaKiGou/a_Body.hpp" #include "../../Mathematics/Arithmetic/Mod/a_Body.hpp" inline OnMei::OnMei( const KanOn& N ) noexcept : OnMei( N , HenKaKiGou( 0 ) ){} inline OnMei::OnMei...
48.6
139
0.687243
p-adic
70f827d086501bc70f3f7626402119468deac53f
652
cpp
C++
Source/ee/IPU_MacroblockTypeITable.cpp
Croden1999/Play-
986648645a716122ece7178003ff106f047708bb
[ "BSD-2-Clause" ]
1,720
2015-01-03T15:53:43.000Z
2022-03-30T00:38:04.000Z
Source/ee/IPU_MacroblockTypeITable.cpp
Croden1999/Play-
986648645a716122ece7178003ff106f047708bb
[ "BSD-2-Clause" ]
1,112
2015-01-03T08:45:24.000Z
2022-03-31T14:06:08.000Z
Source/ee/IPU_MacroblockTypeITable.cpp
Croden1999/Play-
986648645a716122ece7178003ff106f047708bb
[ "BSD-2-Clause" ]
329
2015-01-27T08:58:06.000Z
2022-03-28T18:45:05.000Z
#include <string.h> #include "IPU_MacroblockTypeITable.h" using namespace IPU; using namespace MPEG2; VLCTABLEENTRY CMacroblockTypeITable::m_pTable[ENTRYCOUNT] = { {0x0001, 1, 0x00010001}, {0x0001, 2, 0x00020011}, }; unsigned int CMacroblockTypeITable::m_pIndexTable[MAXBITS] = { 0, ...
18.628571
61
0.714724
Croden1999
70f835fb933473add54201ba766868762a9f453f
21,669
cc
C++
src/components/security_manager/src/security_manager_impl.cc
shoamano83/sdl_core
ea5960280585d11ee02542b0ab183d4400ed691d
[ "BSD-3-Clause" ]
null
null
null
src/components/security_manager/src/security_manager_impl.cc
shoamano83/sdl_core
ea5960280585d11ee02542b0ab183d4400ed691d
[ "BSD-3-Clause" ]
null
null
null
src/components/security_manager/src/security_manager_impl.cc
shoamano83/sdl_core
ea5960280585d11ee02542b0ab183d4400ed691d
[ "BSD-3-Clause" ]
1
2020-04-22T07:17:49.000Z
2020-04-22T07:17:49.000Z
/* * Copyright (c) 2018, Ford Motor Company * 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 notice, this * list of condit...
36.296482
80
0.698417
shoamano83
70f86df5648300ef8db133d343a28ab064e59d2e
319
cc
C++
lib/AST/InputPort.cc
rawatamit/scheme
2c5e121fa873a2fb7762b69027480e28686bbb87
[ "MIT" ]
null
null
null
lib/AST/InputPort.cc
rawatamit/scheme
2c5e121fa873a2fb7762b69027480e28686bbb87
[ "MIT" ]
null
null
null
lib/AST/InputPort.cc
rawatamit/scheme
2c5e121fa873a2fb7762b69027480e28686bbb87
[ "MIT" ]
null
null
null
#include "AST/InputPort.h" Scheme::InputPort::InputPort(FILE* in) : Scheme::SchemeObject(Scheme::SchemeObject::INPUT_PORT_TY), in_(in) {} Scheme::InputPort::~InputPort() {} FILE* Scheme::InputPort::getInputStream() const { return in_; } int Scheme::InputPort::closeInputStream() { return fclose(in_); }
18.764706
70
0.702194
rawatamit
70f90d0fba9d5b84f55cf5f7eb9e017789c2cffc
434
cpp
C++
main.cpp
tomasruizr/cpp-devcontainer
027db80ca670a72cb8d46a54446fadbb14b80897
[ "MIT" ]
null
null
null
main.cpp
tomasruizr/cpp-devcontainer
027db80ca670a72cb8d46a54446fadbb14b80897
[ "MIT" ]
null
null
null
main.cpp
tomasruizr/cpp-devcontainer
027db80ca670a72cb8d46a54446fadbb14b80897
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include "threadpool/threadpool.h" using namespace std; int multiply(int x, int y) { return x * y; } int main() { thread_pool pool(4); std::vector<std::future<int>> futures; for (const int &x : { 2, 4, 7, 13 }) { futures.push_back(pool.execute(multiply, ...
18.083333
56
0.573733
tomasruizr
70fb1484d7429403d5cbd72605db295d1e6b239e
1,874
hpp
C++
src/Onsang/App.hpp
komiga/Onsang
63169d822c23b61fa2537b8f66bb224d974072e7
[ "MIT" ]
null
null
null
src/Onsang/App.hpp
komiga/Onsang
63169d822c23b61fa2537b8f66bb224d974072e7
[ "MIT" ]
null
null
null
src/Onsang/App.hpp
komiga/Onsang
63169d822c23b61fa2537b8f66bb224d974072e7
[ "MIT" ]
null
null
null
/** @copyright MIT license; see @ref index or the accompanying LICENSE file. @file @brief App class. */ #pragma once #include <Onsang/config.hpp> #include <Onsang/aux.hpp> #include <Onsang/String.hpp> #include <Onsang/ConfigNode.hpp> #include <Onsang/System/Session.hpp> #include <Onsang/System/SessionManager.hpp> #i...
15.616667
72
0.700107
komiga
70ffbfe5a24b5f5a99b17583e3d51486faec8633
360
hpp
C++
cpp/templates/nested.hpp
berquist/eg
4c368b12eaaffcf0af8032f10348cf8bc1c3957a
[ "Unlicense" ]
null
null
null
cpp/templates/nested.hpp
berquist/eg
4c368b12eaaffcf0af8032f10348cf8bc1c3957a
[ "Unlicense" ]
null
null
null
cpp/templates/nested.hpp
berquist/eg
4c368b12eaaffcf0af8032f10348cf8bc1c3957a
[ "Unlicense" ]
null
null
null
#ifndef NESTED_HPP_ #define NESTED_HPP_ #include <iostream> // template<typename DT, typename CT, template<typename, typename> class C> // `void myinnerfunc<double, arma::Cube>(arma::Cube<double> const&)' template<typename DT, template<typename> class CT> void myinnerfunc(const CT<DT> &value) { std::cout << value...
25.714286
75
0.722222
berquist
cb03a98ef643c1ccc5782bbd14ce6831312fb2b0
513
hpp
C++
include/zisa/mpi/parallelization/mpi_all_variables_gatherer.hpp
1uc/ZisaFVM
75fcedb3bece66499e011228a39d8a364b50fd74
[ "MIT" ]
null
null
null
include/zisa/mpi/parallelization/mpi_all_variables_gatherer.hpp
1uc/ZisaFVM
75fcedb3bece66499e011228a39d8a364b50fd74
[ "MIT" ]
null
null
null
include/zisa/mpi/parallelization/mpi_all_variables_gatherer.hpp
1uc/ZisaFVM
75fcedb3bece66499e011228a39d8a364b50fd74
[ "MIT" ]
1
2021-08-24T11:52:51.000Z
2021-08-24T11:52:51.000Z
// SPDX-License-Identifier: MIT // Copyright (c) 2021 ETH Zurich, Luc Grosheintz-Laval #ifndef ZISA_MPI_ALL_VARIABLES_GATHERER_HPP #define ZISA_MPI_ALL_VARIABLES_GATHERER_HPP #include <zisa/memory/array.hpp> #include <zisa/mpi/mpi.hpp> #include <zisa/parallelization/all_variables_gatherer.hpp> namespace zisa { std:...
27
75
0.807018
1uc
cb057c26538b5a964175968812392ea67d1fb1f4
2,198
cpp
C++
BundleChildProcesses/main.cpp
Watch-Later/Eureka
3065e76d5bf8b37d5de4f9ee75b2714a42dd4c35
[ "MIT" ]
20
2016-05-16T11:09:04.000Z
2021-12-08T09:30:33.000Z
BundleChildProcesses/main.cpp
Watch-Later/Eureka
3065e76d5bf8b37d5de4f9ee75b2714a42dd4c35
[ "MIT" ]
1
2018-12-30T09:55:31.000Z
2018-12-30T14:08:30.000Z
BundleChildProcesses/main.cpp
Watch-Later/Eureka
3065e76d5bf8b37d5de4f9ee75b2714a42dd4c35
[ "MIT" ]
11
2016-05-02T09:17:12.000Z
2021-12-08T09:30:35.000Z
#include <conio.h> #include <cassert> #include <iostream> #include <string> #include <Windows.h> bool LaunchAndWait(const std::wstring& cmdline, HANDLE job) { wchar_t buf[255] {0}; wcscpy_s(buf, cmdline.c_str()); STARTUPINFO startup {0}; startup.cb = sizeof(startup); PROCESS_INFORMATION process_...
28.179487
108
0.600091
Watch-Later
cb06df6c590e750b77ab5f6b0f0bf92a1cb31998
2,366
cpp
C++
Samples/Client/DirectxWin32/src/data_channel_handler.cpp
rozele/3dtoolkit
a15fca73be15f96a165dd18e62180de693a5ab86
[ "MIT" ]
null
null
null
Samples/Client/DirectxWin32/src/data_channel_handler.cpp
rozele/3dtoolkit
a15fca73be15f96a165dd18e62180de693a5ab86
[ "MIT" ]
null
null
null
Samples/Client/DirectxWin32/src/data_channel_handler.cpp
rozele/3dtoolkit
a15fca73be15f96a165dd18e62180de693a5ab86
[ "MIT" ]
null
null
null
#include "pch.h" #include "data_channel_handler.h" #include "webrtc/base/json.h" // Data channel message types. const char kStereoRenderingType[] = "stereo-rendering"; const char kCameraTransformLookAtMsgType[] = "camera-transform-lookat"; const char kCameraTransformMsgType[] = "camera-transform"; const char kKe...
28.506024
84
0.756551
rozele
cb0b687b7a0d9262b2fd1fd594d4e3dd67849df3
4,604
cpp
C++
src/OpenGL/GDI_GLES2.cpp
GrimshawA/RenderX
6edbd3be2fcf5ad1b684d87bae0aca898af1a90e
[ "MIT" ]
1
2021-09-14T00:09:43.000Z
2021-09-14T00:09:43.000Z
src/OpenGL/GDI_GLES2.cpp
GrimshawA/RenderX
6edbd3be2fcf5ad1b684d87bae0aca898af1a90e
[ "MIT" ]
null
null
null
src/OpenGL/GDI_GLES2.cpp
GrimshawA/RenderX
6edbd3be2fcf5ad1b684d87bae0aca898af1a90e
[ "MIT" ]
1
2021-09-14T00:09:44.000Z
2021-09-14T00:09:44.000Z
//#include <Nephilim/GDI/GL/GDI_GLES2.h> //#include <Nephilim/GDI/GL/GLHelpers.h> //#include <Nephilim/Foundation/Matrix.h> //#include <Nephilim/Foundation/Logging.h> //#include <Nephilim/Graphics/Window.h> //#include <iostream> //using namespace std; //NEPHILIM_NS_BEGIN //static const char gVertexSource[] = // "att...
29.139241
97
0.705474
GrimshawA
cb0c607ddf07e2062edcc2aef48aa6e36b4ddbac
16,447
cc
C++
c++/examples/lms/lms_config/src/main.cc
AtlasBuggy/sicktoolbox-fork
576f02ade4ec52c12887d6489e5219b90e33e833
[ "BSD-3-Clause" ]
null
null
null
c++/examples/lms/lms_config/src/main.cc
AtlasBuggy/sicktoolbox-fork
576f02ade4ec52c12887d6489e5219b90e33e833
[ "BSD-3-Clause" ]
null
null
null
c++/examples/lms/lms_config/src/main.cc
AtlasBuggy/sicktoolbox-fork
576f02ade4ec52c12887d6489e5219b90e33e833
[ "BSD-3-Clause" ]
null
null
null
/*! * \file main.cc * \brief A simple config utility for Sick LMS 2xx LIDARs. * * Code by Jason C. Derenick and Thomas H. Miller. * Contact derenick(at)lehigh(dot)edu * * The Sick LIDAR Matlab/C++ Toolbox * Copyright (c) 2008, Jason C. Derenick and Thomas H. Miller * All rights reserved. * * This software is...
26.23126
174
0.625768
AtlasBuggy
cb0c96e344357d8abe0eca36dee285c0717fc967
4,015
cpp
C++
BlueBerry/Bundles/org.blueberry.osgi/src/internal/berryConfigurationElement.cpp
danielknorr/MITK
b1b9780b2a6671d8118313c5ef71e9aa128362be
[ "BSD-3-Clause" ]
1
2017-03-05T05:29:32.000Z
2017-03-05T05:29:32.000Z
BlueBerry/Bundles/org.blueberry.osgi/src/internal/berryConfigurationElement.cpp
danielknorr/MITK
b1b9780b2a6671d8118313c5ef71e9aa128362be
[ "BSD-3-Clause" ]
null
null
null
BlueBerry/Bundles/org.blueberry.osgi/src/internal/berryConfigurationElement.cpp
danielknorr/MITK
b1b9780b2a6671d8118313c5ef71e9aa128362be
[ "BSD-3-Clause" ]
2
2020-10-27T06:51:00.000Z
2020-10-27T06:51:01.000Z
/*=================================================================== BlueBerry Platform Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS...
24.631902
156
0.666002
danielknorr
cb0d9a2160fd304759a040c8fbe794f64547b121
5,753
cpp
C++
src/multigrid/mgbval_zerograd.cpp
kahoooo/athena-public
583aee106677cba7fa5ea4e3689e2cfb81796e25
[ "BSD-3-Clause" ]
174
2016-11-30T01:20:14.000Z
2022-02-22T16:23:55.000Z
src/multigrid/mgbval_zerograd.cpp
kahoooo/athena-public
583aee106677cba7fa5ea4e3689e2cfb81796e25
[ "BSD-3-Clause" ]
74
2017-01-30T22:37:33.000Z
2021-05-10T17:20:33.000Z
src/multigrid/mgbval_zerograd.cpp
kahoooo/athena-public
583aee106677cba7fa5ea4e3689e2cfb81796e25
[ "BSD-3-Clause" ]
126
2016-12-08T14:03:22.000Z
2022-03-31T06:01:59.000Z
//======================================================================================== // Athena++ astrophysical MHD code // Copyright(C) 2014 James M. Stone <jmstone@princeton.edu> and other code contributors // Licensed under the 3-clause BSD License, see LICENSE file for details //===============================...
39.951389
90
0.460629
kahoooo
cb0e9a0485144ab64b2c4bce245f72e32c4a8614
5,463
cc
C++
src/ui/scenic/lib/gfx/tests/magnification_pixeltest.cc
opensource-assist/fuschia
66646c55b3d0b36aae90a4b6706b87f1a6261935
[ "BSD-3-Clause" ]
10
2020-12-28T17:04:44.000Z
2022-03-12T03:20:43.000Z
src/ui/scenic/lib/gfx/tests/magnification_pixeltest.cc
opensource-assist/fuschia
66646c55b3d0b36aae90a4b6706b87f1a6261935
[ "BSD-3-Clause" ]
1
2022-01-14T23:38:40.000Z
2022-01-14T23:38:40.000Z
src/ui/scenic/lib/gfx/tests/magnification_pixeltest.cc
opensource-assist/fuschia
66646c55b3d0b36aae90a4b6706b87f1a6261935
[ "BSD-3-Clause" ]
4
2020-12-28T17:04:45.000Z
2022-03-12T03:20:44.000Z
// Copyright 2019 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <fuchsia/accessibility/cpp/fidl.h> #include <lib/fidl/cpp/binding_set.h> #include <zircon/status.h> #include <memory> #include <gtest/gtest.h> ...
39.586957
100
0.681677
opensource-assist
cb10682ef97760c8ecc859f8d796327d03b628e3
16,097
cpp
C++
tests/src/runtimeApi/memory/hipMallocManaged_MultiScenario.cpp
parmance/HIP
96ee9d1397f02ac4b4badd9243994728f6a89fe5
[ "MIT" ]
1,935
2017-05-28T04:52:18.000Z
2022-03-30T23:50:43.000Z
tests/src/runtimeApi/memory/hipMallocManaged_MultiScenario.cpp
parmance/HIP
96ee9d1397f02ac4b4badd9243994728f6a89fe5
[ "MIT" ]
1,310
2017-05-30T22:16:09.000Z
2022-03-31T08:25:58.000Z
tests/src/runtimeApi/memory/hipMallocManaged_MultiScenario.cpp
parmance/HIP
96ee9d1397f02ac4b4badd9243994728f6a89fe5
[ "MIT" ]
495
2017-06-01T01:26:27.000Z
2022-03-28T16:36:51.000Z
/* Copyright (c) 2020 - 2021 Advanced Micro Devices, Inc. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, c...
34.69181
115
0.65478
parmance
cb13ab58639a1ba7d858305a3bd9dd9b84965a03
42,964
cpp
C++
src/strategy/Kidsize_HuroCup/loadparameter.cpp
TKUICLab-humanoid/BB
badb9d2669c4f0dca64c221761c11ea2d56e7412
[ "MIT" ]
null
null
null
src/strategy/Kidsize_HuroCup/loadparameter.cpp
TKUICLab-humanoid/BB
badb9d2669c4f0dca64c221761c11ea2d56e7412
[ "MIT" ]
null
null
null
src/strategy/Kidsize_HuroCup/loadparameter.cpp
TKUICLab-humanoid/BB
badb9d2669c4f0dca64c221761c11ea2d56e7412
[ "MIT" ]
6
2020-09-15T14:13:54.000Z
2021-01-14T06:45:39.000Z
#include "strategy/loadparameter.h" LoadParameter *Load = new LoadParameter(); float LoadParameter::readvalue(fstream &fin, string title, int mode) { char line[100]; char equal; switch(mode) { case 0: while(1) { fin.getline(line,sizeof(line),' '); ...
72.574324
156
0.714156
TKUICLab-humanoid
cb144a20723458bdeb8057ebbe6c45f5c2319c66
2,174
hpp
C++
include/memoria/reactor/process.hpp
victor-smirnov/memoria
c36a957c63532176b042b411b1646c536e71a658
[ "BSL-1.0", "Apache-2.0", "OLDAP-2.8", "BSD-3-Clause" ]
2
2021-07-30T16:54:24.000Z
2021-09-08T15:48:17.000Z
include/memoria/reactor/process.hpp
victor-smirnov/memoria
c36a957c63532176b042b411b1646c536e71a658
[ "BSL-1.0", "Apache-2.0", "OLDAP-2.8", "BSD-3-Clause" ]
null
null
null
include/memoria/reactor/process.hpp
victor-smirnov/memoria
c36a957c63532176b042b411b1646c536e71a658
[ "BSL-1.0", "Apache-2.0", "OLDAP-2.8", "BSD-3-Clause" ]
2
2020-03-14T15:15:25.000Z
2020-06-15T11:26:56.000Z
// Copyright 2018 Victor Smirnov // // 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...
24.155556
75
0.75115
victor-smirnov
cb18190c7c252aeec31ca4594e078e3089c8c4b4
2,328
cpp
C++
fboss/qsfp_service/QsfpServiceSignalHandler.cpp
dgrnbrg-meta/fboss
cde5aa021fbb28e08cc912a7c227e93ed3faefee
[ "BSD-3-Clause" ]
null
null
null
fboss/qsfp_service/QsfpServiceSignalHandler.cpp
dgrnbrg-meta/fboss
cde5aa021fbb28e08cc912a7c227e93ed3faefee
[ "BSD-3-Clause" ]
null
null
null
fboss/qsfp_service/QsfpServiceSignalHandler.cpp
dgrnbrg-meta/fboss
cde5aa021fbb28e08cc912a7c227e93ed3faefee
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2004-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #inc...
36.375
80
0.737973
dgrnbrg-meta
0e13ffc77544965aa1510564ac983d63d862bcd9
944
cpp
C++
framework/pixel.cpp
PeteTheN00b/programmiersprachen-raytracer
a2af1c30d5a7be24232e94f7dea834cd6daa3ca4
[ "MIT" ]
null
null
null
framework/pixel.cpp
PeteTheN00b/programmiersprachen-raytracer
a2af1c30d5a7be24232e94f7dea834cd6daa3ca4
[ "MIT" ]
null
null
null
framework/pixel.cpp
PeteTheN00b/programmiersprachen-raytracer
a2af1c30d5a7be24232e94f7dea834cd6daa3ca4
[ "MIT" ]
null
null
null
// ----------------------------------------------------------------------------- // Copyright : (C) 2014-2017 Andre Schollmeyer and Andreas-C. Bernstein // License : MIT (see the file LICENSE) // Maintainer : Andreas-C. Bernstein <andreas.bernstein@uni-weimar.de> // Stability : experimental // // Pixel // --------...
23.02439
80
0.474576
PeteTheN00b
0e1c5de844dc49926ed705224d04ea4fc7d2f523
22,156
cpp
C++
lib/Dialect/FIRRTL/Transforms/GrandCentral.cpp
mwachs5/circt
bd7edb5c449921cb36939ebb5943e4fe73f72899
[ "Apache-2.0" ]
null
null
null
lib/Dialect/FIRRTL/Transforms/GrandCentral.cpp
mwachs5/circt
bd7edb5c449921cb36939ebb5943e4fe73f72899
[ "Apache-2.0" ]
null
null
null
lib/Dialect/FIRRTL/Transforms/GrandCentral.cpp
mwachs5/circt
bd7edb5c449921cb36939ebb5943e4fe73f72899
[ "Apache-2.0" ]
null
null
null
//===- GrandCentral.cpp - Ingest black box sources --------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception //===------------------------------...
38.734266
80
0.653232
mwachs5
0e1f60c976cdc262e0ff5d5281150931fb5722b8
1,019
hh
C++
include/mithril/handler/message_to_message_decoder.hh
salahsheikh/mithril
020c9c6ad645e0a2767653cd158460ab1c6c13ca
[ "0BSD" ]
1
2021-08-01T16:31:11.000Z
2021-08-01T16:31:11.000Z
include/mithril/handler/message_to_message_decoder.hh
salahsheikh/mithril
020c9c6ad645e0a2767653cd158460ab1c6c13ca
[ "0BSD" ]
null
null
null
include/mithril/handler/message_to_message_decoder.hh
salahsheikh/mithril
020c9c6ad645e0a2767653cd158460ab1c6c13ca
[ "0BSD" ]
null
null
null
// // Created by ssheikh on 2021-03-03. // #ifndef MITHRIL_INCLUDE_MITHRIL_HANDLER_MESSAGE_TO_MESSAGE_DECODER_HH #define MITHRIL_INCLUDE_MITHRIL_HANDLER_MESSAGE_TO_MESSAGE_DECODER_HH #include <mithril/channel/channel_inbound_handler.hh> #include <mithril/message.hh> #include <mithril/buffer/composite_buffer.hh> #inc...
24.853659
97
0.737978
salahsheikh
0e22fb6281a354efcbaf1d036a83bcffeccb0b89
3,447
hpp
C++
include/fogl/program.hpp
glasmachers/foglpp
9a7dee6f1fe6b4d1ea7408f0762c7b32ce891888
[ "MIT" ]
null
null
null
include/fogl/program.hpp
glasmachers/foglpp
9a7dee6f1fe6b4d1ea7408f0762c7b32ce891888
[ "MIT" ]
null
null
null
include/fogl/program.hpp
glasmachers/foglpp
9a7dee6f1fe6b4d1ea7408f0762c7b32ce891888
[ "MIT" ]
null
null
null
#pragma once #include <fogl/shader.hpp> #include <fogl/cref.hpp> #include <fogl/obj.hpp> #include <fogl/flags.hpp> #include <fogl/check.hpp> #include <fogl/error.hpp> #include <fogl/exception.hpp> #include <fogl/gl.hpp> #include <cassert> namespace fogl { /// C++ wrapper of a reference to a constant opengl progra...
27.141732
90
0.608645
glasmachers
0e2318472f455a2c9f40b4b2b12622aa9eca7e68
2,580
cc
C++
chromium/components/browser_watcher/exit_code_watcher_win.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/components/browser_watcher/exit_code_watcher_win.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/components/browser_watcher/exit_code_watcher_win.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
2
2020-04-04T13:34:56.000Z
2020-11-04T07:17:52.000Z
// Copyright (c) 2014 The Chromium 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 "components/browser_watcher/exit_code_watcher_win.h" #include "base/logging.h" #include "base/process/kill.h" #include "base/strings/stringp...
29.318182
78
0.690698
wedataintelligence
0e25671c58a119dc8069868021fbb21b10ccb57d
7,233
hpp
C++
common/unified/base/kernel_launch.hpp
gfcas/ginkgo
b4fc0c7d8c7e667ea93bae4e3a6791fcdad53485
[ "BSD-3-Clause" ]
null
null
null
common/unified/base/kernel_launch.hpp
gfcas/ginkgo
b4fc0c7d8c7e667ea93bae4e3a6791fcdad53485
[ "BSD-3-Clause" ]
14
2020-11-20T09:32:28.000Z
2021-11-28T09:36:34.000Z
common/unified/base/kernel_launch.hpp
gfcas/ginkgo
b4fc0c7d8c7e667ea93bae4e3a6791fcdad53485
[ "BSD-3-Clause" ]
2
2020-11-20T09:28:48.000Z
2020-11-20T13:26:38.000Z
/*******************************<GINKGO LICENSE>****************************** Copyright (c) 2017-2021, the Ginkgo authors 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 co...
25.558304
80
0.726116
gfcas
0e2573f50c66d02838b4ac091bc6334db7904115
19,636
cpp
C++
AQI_Detector/AQI_display.cpp
blinker-iot/Blinker_PRO_AQI_Detector
a5bf358de2be6c6efbe8d6d1e2ce354a7fab38fa
[ "MIT" ]
9
2018-07-15T10:00:09.000Z
2021-02-27T09:45:22.000Z
AQI_Detector/AQI_display.cpp
blinker-iot/Blinker_PRO_AQI_Detector
a5bf358de2be6c6efbe8d6d1e2ce354a7fab38fa
[ "MIT" ]
null
null
null
AQI_Detector/AQI_display.cpp
blinker-iot/Blinker_PRO_AQI_Detector
a5bf358de2be6c6efbe8d6d1e2ce354a7fab38fa
[ "MIT" ]
null
null
null
#include "AQI_display.h" #include "AQI_font.h" // #include <ESP8266WiFi.h> #include <Ticker.h> // U8g2lib, https://github.com/olikraus/U8g2_Arduino // Release version 2.24.3 #include <U8g2lib.h> #ifdef U8X8_HAVE_HW_I2C #include <Wire.h> #endif // U8G2_SSD1306_128X64_NONAME_1_HW_I2C u8g2(U8G2_R0, /*res...
29.751515
127
0.517824
blinker-iot
0e28d86c685dfe9f77d030717f427963da2ddfd7
7,245
cpp
C++
src/PEBBLBranching.cpp
jnnccc/Dakota-orb
96488e723be9c67f0f85be8162b7af52c312b770
[ "MIT" ]
null
null
null
src/PEBBLBranching.cpp
jnnccc/Dakota-orb
96488e723be9c67f0f85be8162b7af52c312b770
[ "MIT" ]
null
null
null
src/PEBBLBranching.cpp
jnnccc/Dakota-orb
96488e723be9c67f0f85be8162b7af52c312b770
[ "MIT" ]
null
null
null
#include "PEBBLBranching.hpp" namespace Dakota { // MAIN PROBLEM CLASS PebbldBranching::PebbldBranching() { // Reset has to be called here. Otherwise, something doesn't get // initialized appropriately in PEBBL and results in a crash. branchingInit(minimization); pebbl::branching::reset(); } PebbldBranching:...
33.387097
182
0.733885
jnnccc
0e2d0c9ef032a322dbc0bdcd0a30b502ad867732
3,917
cpp
C++
src/build/libroot/sem.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
1,338
2015-01-03T20:06:56.000Z
2022-03-26T13:49:54.000Z
src/build/libroot/sem.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
15
2015-01-17T22:19:32.000Z
2021-12-20T12:35:00.000Z
src/build/libroot/sem.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
350
2015-01-08T14:15:27.000Z
2022-03-21T18:14:35.000Z
#include <BeOSBuildCompatibility.h> #include <stdlib.h> #include <string.h> #include <OS.h> #include <SupportDefs.h> // We assume that everything is single-threaded, so we don't need real // semaphores. Simple fakes are sufficient. struct semaphore { char* name; int32 count; bool inUse; }; st...
18.476415
85
0.655348
Kirishikesan
0e30270c70040db2ff49716c7d49ebc654c8cccd
407
cpp
C++
acmicpc/2133.cpp
juseongkr/BOJ
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
7
2020-02-03T10:00:19.000Z
2021-11-16T11:03:57.000Z
acmicpc/2133.cpp
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2021-01-03T06:58:24.000Z
2021-01-03T06:58:24.000Z
acmicpc/2133.cpp
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2020-01-22T14:34:03.000Z
2020-01-22T14:34:03.000Z
#include <iostream> using namespace std; int dp[31]; int dfs(int n) { if (n%2 != 0) return 0; else if (n == 0) return 1; else if (n == 2) return 3; if (dp[n] != -1) return dp[n]; dp[n] = dfs(n-2) * 3; for (int i=0; i<n-3; ++i) dp[n] += dfs(i) * 2; return dp[n]; } int main() { int n; scanf("%d"...
11.305556
26
0.484029
juseongkr
0e3297db0d0c889e85707edfce20f49497c323fa
2,587
hpp
C++
Siv3D/src/Siv3D/Texture/GL/CTexture_GL.hpp
Fuyutsubaki/OpenSiv3D
4370f6ebe28addd39bfdd75915c5a18e3e5e9273
[ "MIT" ]
null
null
null
Siv3D/src/Siv3D/Texture/GL/CTexture_GL.hpp
Fuyutsubaki/OpenSiv3D
4370f6ebe28addd39bfdd75915c5a18e3e5e9273
[ "MIT" ]
null
null
null
Siv3D/src/Siv3D/Texture/GL/CTexture_GL.hpp
Fuyutsubaki/OpenSiv3D
4370f6ebe28addd39bfdd75915c5a18e3e5e9273
[ "MIT" ]
1
2019-10-06T17:09:26.000Z
2019-10-06T17:09:26.000Z
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (c) 2008-2018 Ryo Suzuki // Copyright (c) 2016-2018 OpenSiv3D Project // // Licensed under the MIT License. // //----------------------------------------------- # pragma once # include <Siv3D/Platform.hpp> # ...
22.692982
127
0.689988
Fuyutsubaki
0e35e22872ff269df4618742fcea558d5719ab94
5,491
hpp
C++
source/d3d11/runtime_d3d11.hpp
Bluscream/reshade
37d0f4243750d28fc8b7e2daec41c8db2c75fc23
[ "BSD-3-Clause" ]
2
2018-12-08T07:29:53.000Z
2019-07-16T18:11:25.000Z
source/d3d11/runtime_d3d11.hpp
Bluscream/reshade
37d0f4243750d28fc8b7e2daec41c8db2c75fc23
[ "BSD-3-Clause" ]
null
null
null
source/d3d11/runtime_d3d11.hpp
Bluscream/reshade
37d0f4243750d28fc8b7e2daec41c8db2c75fc23
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright (C) 2014 Patrick Mours. All rights reserved. * License: https://github.com/crosire/reshade#license */ #pragma once #include "runtime.hpp" #include "state_block.hpp" #include "draw_call_tracker.hpp" #include "effect_codegen.hpp" #include "effect_expression.hpp" #include <mutex> namespace reshade::d...
37.353741
103
0.81843
Bluscream
0e365245a32f2614518c3ad19d2db8ced87bc859
2,597
hpp
C++
ChaosGL/tbasis3.hpp
chaosarts/ChaosGL.cpp
7d851a404824609547fb9261790b87cee7699d5c
[ "Apache-2.0" ]
null
null
null
ChaosGL/tbasis3.hpp
chaosarts/ChaosGL.cpp
7d851a404824609547fb9261790b87cee7699d5c
[ "Apache-2.0" ]
null
null
null
ChaosGL/tbasis3.hpp
chaosarts/ChaosGL.cpp
7d851a404824609547fb9261790b87cee7699d5c
[ "Apache-2.0" ]
null
null
null
// // tbn.hpp // ChaosGL // // Created by Fu Lam Diep on 14.04.16. // Copyright © 2016 Fu Lam Diep. All rights reserved. // #ifndef ChaosGL_tbasis3_hpp #define ChaosGL_tbasis3_hpp #include "triangle.hpp" #include <glm/glm.hpp> namespace chaosgl { template<typename T, glm::precision P = glm::defaultp> struct tb...
22.008475
88
0.593762
chaosarts
0e36765e9a2973bb629ab7fd43ea855f23baa8ed
1,037
cpp
C++
LeetCode/ThousandOne/0820-short_encoding_of_words.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandOne/0820-short_encoding_of_words.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandOne/0820-short_encoding_of_words.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
#include "leetcode.hpp" /* 820. 单词的压缩编码 给定一个单词列表,我们将这个列表编码成一个索引字符串 S 与一个索引列表 A。 例如,如果这个列表是 ["time", "me", "bell"],我们就可以将其表示为 S = "time#bell#" 和 indexes = [0, 2, 5]。 对于每一个索引,我们可以通过从字符串 S 中索引的位置开始读取字符串,直到 "#" 结束,来恢复我们之前的单词列表。 那么成功对给定单词列表进行编码的最小字符串长度是多少呢? 示例: 输入: words = ["time", "me", "bell"] 输出: 10 说明: S = "time#...
19.203704
84
0.594021
Ginkgo-Biloba
0e37339f43aa3a3c66cfc14c7c313180cd260948
2,932
cc
C++
ppapi/tests/test_flash_fullscreen_for_browser_ui.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2019-11-28T10:46:52.000Z
2019-11-28T10:46:52.000Z
ppapi/tests/test_flash_fullscreen_for_browser_ui.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ppapi/tests/test_flash_fullscreen_for_browser_ui.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2015-03-27T11:15:39.000Z
2016-08-17T14:19:56.000Z
// Copyright 2014 The Chromium 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 "ppapi/tests/test_flash_fullscreen_for_browser_ui.h" #include "ppapi/cpp/input_event.h" #include "ppapi/cpp/instance.h" #include "ppapi/cpp/rect...
31.869565
78
0.745566
kjthegod
0e38459aee89332e39684bf317e40b2989f11c83
610
hxx
C++
include/nifty/python/graph/undirected_list_graph.hxx
konopczynski/nifty
dc02ac60febaabfaf9b2ee5a854bb61436ebdc97
[ "MIT" ]
38
2016-06-29T07:42:50.000Z
2021-12-09T09:25:25.000Z
include/nifty/python/graph/undirected_list_graph.hxx
tbullmann/nifty
00119fd4753817b931272d6d3120b6ebd334882a
[ "MIT" ]
62
2016-07-27T16:07:53.000Z
2022-03-30T17:24:36.000Z
include/nifty/python/graph/undirected_list_graph.hxx
tbullmann/nifty
00119fd4753817b931272d6d3120b6ebd334882a
[ "MIT" ]
20
2016-01-25T21:21:52.000Z
2021-12-09T09:25:16.000Z
#pragma once #include <string> #include "nifty/python/graph/graph_name.hxx" #include "nifty/graph/undirected_list_graph.hxx" namespace nifty{ namespace graph{ typedef UndirectedGraph<> PyUndirectedGraph; template<> struct GraphName<PyUndirectedGraph>{ static std::string name(){ ret...
19.0625
50
0.590164
konopczynski
0e3a0441e88571b2c2dc779fa604394cb85159c0
3,436
cpp
C++
tree/tree_walk.cpp
jkulhanek/cpp-patterns
f7c95ba2b056393852ebbfc11bb77cfbb999ecf1
[ "MIT" ]
null
null
null
tree/tree_walk.cpp
jkulhanek/cpp-patterns
f7c95ba2b056393852ebbfc11bb77cfbb999ecf1
[ "MIT" ]
null
null
null
tree/tree_walk.cpp
jkulhanek/cpp-patterns
f7c95ba2b056393852ebbfc11bb77cfbb999ecf1
[ "MIT" ]
null
null
null
#include <algorithm> #include <functional> #include <iostream> #include <stack> using namespace std; struct node { public: node(int value) :value(value), right(nullptr), left(nullptr) {}; node(int value, node * left, node * right) :value(value), right(right), left(left) {}; int value; node * left; n...
19.634286
88
0.594005
jkulhanek
0e3adc0b89162b0b7cd4b2dca2b5e43fafedce59
2,732
hh
C++
sdk-remote/include/urbi/urbi-root.hh
jcbaillie/urbi
fb17359b2838cdf8d3c0858abb141e167a9d4bdb
[ "BSD-3-Clause" ]
16
2016-05-10T05:50:58.000Z
2021-10-05T22:16:13.000Z
sdk-remote/include/urbi/urbi-root.hh
jcbaillie/urbi
fb17359b2838cdf8d3c0858abb141e167a9d4bdb
[ "BSD-3-Clause" ]
7
2016-09-05T10:08:33.000Z
2019-02-13T10:51:07.000Z
sdk-remote/include/urbi/urbi-root.hh
jcbaillie/urbi
fb17359b2838cdf8d3c0858abb141e167a9d4bdb
[ "BSD-3-Clause" ]
15
2015-01-28T20:27:02.000Z
2021-09-28T19:26:08.000Z
/* * Copyright (C) 2009-2011, Gostai S.A.S. * * This software is provided "as is" without warranty of any kind, * either expressed or implied, including but not limited to the * implied warranties of fitness for a particular purpose. * * See the LICENSE file for more information. */ #ifndef URBI_ROOT_HH # defi...
25.773585
79
0.665813
jcbaillie
0e3c1c5dc1aa4bcce01eec88bd9962fee85fe46f
11,836
cpp
C++
CWE-399/source_files/CVE-2011-0083/firefox_3.6.17_CVE_2011_0083_content_svg_content_src_nsSVGPathSegList.cpp
CGCL-codes/VulDeePecker
98610f3e116df97a1e819ffc81fbc7f6f138a8f2
[ "Apache-2.0" ]
185
2017-12-14T08:18:15.000Z
2022-03-30T02:58:36.000Z
CWE-399/source_files/CVE-2011-0083/firefox_3.6.17_CVE_2011_0083_content_svg_content_src_nsSVGPathSegList.cpp
CGCL-codes/VulDeePecker
98610f3e116df97a1e819ffc81fbc7f6f138a8f2
[ "Apache-2.0" ]
11
2018-01-30T23:31:20.000Z
2022-01-17T05:03:56.000Z
CWE-399/source_files/CVE-2011-0083/firefox_3.6.17_CVE_2011_0083_content_svg_content_src_nsSVGPathSegList.cpp
CGCL-codes/VulDeePecker
98610f3e116df97a1e819ffc81fbc7f6f138a8f2
[ "Apache-2.0" ]
87
2018-01-10T08:12:32.000Z
2022-02-19T10:29:31.000Z
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the Lic...
29.516209
122
0.68317
CGCL-codes
0e3f68ac444da14f6309082f4ed0a43106df7037
1,568
cpp
C++
generated/nidigitalpattern/nidigitalpattern_service_registrar.cpp
tdunkle/grpc-device
2c784476327595fdeae06d6a3fc7aaf6daac597e
[ "MIT" ]
24
2021-03-25T18:37:59.000Z
2022-03-03T16:33:56.000Z
generated/nidigitalpattern/nidigitalpattern_service_registrar.cpp
tdunkle/grpc-device
2c784476327595fdeae06d6a3fc7aaf6daac597e
[ "MIT" ]
129
2021-04-03T15:16:04.000Z
2022-03-25T21:48:18.000Z
generated/nidigitalpattern/nidigitalpattern_service_registrar.cpp
tdunkle/grpc-device
2c784476327595fdeae06d6a3fc7aaf6daac597e
[ "MIT" ]
24
2021-03-31T12:36:14.000Z
2022-02-25T03:01:25.000Z
//--------------------------------------------------------------------- // This file is automatically generated. All manual edits will be lost. //--------------------------------------------------------------------- // Service registrar implementation for the NI-Digital Pattern Driver Metadata //----------------------...
29.584906
100
0.65625
tdunkle
0e3f86471c1a8307d5019f5723883c0857a915f3
3,523
cpp
C++
Gems/SceneProcessing/Code/Source/SceneBuilder/SceneSerializationHandler.cpp
cypherdotXd/o3de
bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676
[ "Apache-2.0", "MIT" ]
11
2021-07-08T09:58:26.000Z
2022-03-17T17:59:26.000Z
Gems/SceneProcessing/Code/Source/SceneBuilder/SceneSerializationHandler.cpp
RoddieKieley/o3de
e804fd2a4241b039a42d9fa54eaae17dc94a7a92
[ "Apache-2.0", "MIT" ]
29
2021-07-06T19:33:52.000Z
2022-03-22T10:27:49.000Z
Gems/SceneProcessing/Code/Source/SceneBuilder/SceneSerializationHandler.cpp
RoddieKieley/o3de
e804fd2a4241b039a42d9fa54eaae17dc94a7a92
[ "Apache-2.0", "MIT" ]
4
2021-07-06T19:24:43.000Z
2022-03-31T12:42:27.000Z
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <SceneBuilder/SceneSerializationHandler.h> #include <AssetBuilderSDK/AssetBuilderSDK.h> ...
36.697917
146
0.677548
cypherdotXd
0e43537c9bacfd5e8c883c031b65b4de7f13951f
617
cpp
C++
Tests/C_BaseLib/tRan.cpp
ylunalin/amrex
5715b2fc8a77e0db17bfe7907982e29ec44811ca
[ "BSD-3-Clause-LBNL" ]
1
2021-05-20T13:04:05.000Z
2021-05-20T13:04:05.000Z
Tests/C_BaseLib/tRan.cpp
ylunalin/amrex
5715b2fc8a77e0db17bfe7907982e29ec44811ca
[ "BSD-3-Clause-LBNL" ]
null
null
null
Tests/C_BaseLib/tRan.cpp
ylunalin/amrex
5715b2fc8a77e0db17bfe7907982e29ec44811ca
[ "BSD-3-Clause-LBNL" ]
1
2020-01-17T05:00:26.000Z
2020-01-17T05:00:26.000Z
#include <iostream> #include <iomanip> #include <AMReX_Utility.H> using namespace amrex; // this mersenne_ran_main() outputs first 1000 generated numbers // compare against the output of mt19937int.out int main(int argc, char** argv) { amrex::Initialize(argc,argv); amrex::mt19937 rr(4357UL); std::ios::fmtflag...
25.708333
89
0.638574
ylunalin
0e47f8ab2845a1978a682527041ca874f0c4bfc7
3,707
cpp
C++
DriverLoader/ProppageNT.cpp
JokerRound/DriverLoader
df5371ecbada19fa7beef1a0baf86e756af6da07
[ "MIT" ]
1
2020-01-31T00:34:16.000Z
2020-01-31T00:34:16.000Z
DriverLoader/ProppageNT.cpp
c3358/DriverLoader
df5371ecbada19fa7beef1a0baf86e756af6da07
[ "MIT" ]
null
null
null
DriverLoader/ProppageNT.cpp
c3358/DriverLoader
df5371ecbada19fa7beef1a0baf86e756af6da07
[ "MIT" ]
3
2019-02-18T01:55:44.000Z
2022-02-08T09:08:07.000Z
//****************************************************************************** // License: MIT // Author: Hoffman // GitHub: https://github.com/JokerRound // Create Time: 2019-01-24 // Description: // The achieve file of class CProppageNT. // // Modify Log: // 2019-01-26 Hoffman // I...
30.138211
81
0.590504
JokerRound
0e480895b8fc0052e02db66e26882057037c6c45
4,980
cpp
C++
src/plugins/intel_gpu/src/graph/fully_connected.cpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
1
2022-02-26T17:33:44.000Z
2022-02-26T17:33:44.000Z
src/plugins/intel_gpu/src/graph/fully_connected.cpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
18
2022-01-21T08:42:58.000Z
2022-03-28T13:21:31.000Z
src/plugins/intel_gpu/src/graph/fully_connected.cpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
1
2020-12-13T22:16:54.000Z
2020-12-13T22:16:54.000Z
// Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // /////////////////////////////////////////////////////////////////////////////////////////////////// #include "fully_connected_inst.h" #include "primitive_type_base.h" #include "intel_gpu/runtime/error_handler.hpp" #include "json_obj...
34.825175
120
0.636546
ryanloney
0e482650abd34567cc23ab4b8f3368365920a209
7,841
cpp
C++
src/cmn/typeVisitor.cpp
cwood77/shtanky
6e3b7ad5bdc21be8d82b3fcddd882aebbf479fd8
[ "MIT" ]
null
null
null
src/cmn/typeVisitor.cpp
cwood77/shtanky
6e3b7ad5bdc21be8d82b3fcddd882aebbf479fd8
[ "MIT" ]
null
null
null
src/cmn/typeVisitor.cpp
cwood77/shtanky
6e3b7ad5bdc21be8d82b3fcddd882aebbf479fd8
[ "MIT" ]
null
null
null
#include "type.hpp" #include "typeVisitor.hpp" namespace cmn { // here, you are guaranteed to get a stub (userTypeVisitor hasn't run yet) // that allows transforms later to demand a type void builtInTypeVisitor::visit(classNode& n) { m_pBuilder.reset( type::typeBuilder::open( type::gTable->fetch( ...
27.903915
92
0.695702
cwood77
0e487ef56f903a4844d3f6b1b2bd8be37507a91c
16,594
cpp
C++
src/kivm/oop/instanceKlass.cpp
arthur-zhang/KiVM
63471a10243f3e24033ab681ff79a12ee87c75cb
[ "MIT" ]
183
2018-03-01T08:20:29.000Z
2022-03-27T15:04:34.000Z
src/kivm/oop/instanceKlass.cpp
arthur-zhang/KiVM
63471a10243f3e24033ab681ff79a12ee87c75cb
[ "MIT" ]
6
2019-01-10T07:12:59.000Z
2022-03-10T15:20:58.000Z
src/kivm/oop/instanceKlass.cpp
arthur-zhang/KiVM
63471a10243f3e24033ab681ff79a12ee87c75cb
[ "MIT" ]
32
2018-04-16T04:37:32.000Z
2022-03-13T03:45:17.000Z
// // Created by kiva on 2018/2/27. // #include <kivm/oop/instanceKlass.h> #include <kivm/oop/primitiveOop.h> #include <kivm/oop/instanceOop.h> #include <kivm/oop/helper.h> #include <kivm/oop/method.h> #include <kivm/oop/field.h> #include <kivm/native/java_lang_Class.h> #include <sstream> namespace kivm { Instanc...
37.97254
102
0.557069
arthur-zhang
0e4a20a0a312ecfabda2f1d7cf15f0ce94c3f0fe
2,141
hpp
C++
src/kernel/driver/usb/xhci/device.hpp
KCCTdensan/ddOS
f57cce5ba79afdfaafe7bbf36052196d1eebfaa0
[ "0BSD" ]
null
null
null
src/kernel/driver/usb/xhci/device.hpp
KCCTdensan/ddOS
f57cce5ba79afdfaafe7bbf36052196d1eebfaa0
[ "0BSD" ]
null
null
null
src/kernel/driver/usb/xhci/device.hpp
KCCTdensan/ddOS
f57cce5ba79afdfaafe7bbf36052196d1eebfaa0
[ "0BSD" ]
null
null
null
/** * @file usb/xhci/device.hpp * * USB デバイスを表すクラスと関連機能. */ #pragma once #include <cstddef> #include <cstdint> #include "error.hpp" #include "../device.hpp" #include "../arraymap.hpp" #include "context.hpp" #include "trb.hpp" #include "registers.hpp" namespace usb::xhci { class Device : public usb::Device { ...
24.329545
77
0.676319
KCCTdensan
0e4ba32acfbde327ce8af1c810645e6c7241d0c6
14,104
hpp
C++
oss_src/unity/lib/unity_sgraph.hpp
parquette/ParFrame
0522aa6afdf529b3e91505b70e918f1500aae886
[ "BSD-3-Clause" ]
null
null
null
oss_src/unity/lib/unity_sgraph.hpp
parquette/ParFrame
0522aa6afdf529b3e91505b70e918f1500aae886
[ "BSD-3-Clause" ]
null
null
null
oss_src/unity/lib/unity_sgraph.hpp
parquette/ParFrame
0522aa6afdf529b3e91505b70e918f1500aae886
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright (C) 2015 Dato, Inc. * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD license. See the LICENSE file for details. */ #ifndef GRAPHLAB_UNITY_SGRAPH_HPP #define GRAPHLAB_UNITY_SGRAPH_HPP #include <unity/lib/api/unity_graph_interface.hpp> #include <u...
37.510638
124
0.626773
parquette
0e4fb25e27eb14fe86a699628e2ccd893c54b056
5,056
hpp
C++
Lib/Chip/CM0/Nordic/nrf51/ECB.hpp
cjsmeele/Kvasir
c8d2acd8313ae52d78259ee2d409b963925f77d7
[ "Apache-2.0" ]
376
2015-07-17T01:41:20.000Z
2022-03-26T04:02:49.000Z
Lib/Chip/CM0/Nordic/nrf51/ECB.hpp
cjsmeele/Kvasir
c8d2acd8313ae52d78259ee2d409b963925f77d7
[ "Apache-2.0" ]
59
2015-07-03T21:30:13.000Z
2021-03-05T11:30:08.000Z
Lib/Chip/CM0/Nordic/nrf51/ECB.hpp
cjsmeele/Kvasir
c8d2acd8313ae52d78259ee2d409b963925f77d7
[ "Apache-2.0" ]
53
2015-07-14T12:17:06.000Z
2021-06-04T07:28:40.000Z
#pragma once #include <Register/Utility.hpp> namespace Kvasir { //AES ECB Mode Encryption. namespace EcbTasksStartecb{ ///<Start ECB block encrypt. If a crypto operation is running, this will not initiate a new encryption and the ERRORECB event will be triggered. using Addr = Register::Address<0x4000e00...
57.454545
179
0.669304
cjsmeele
0e503b3f3dae6763c28634e020fa074fcc021317
17,269
cpp
C++
utils/mdlviewer/studio_render.cpp
SmileyAG/halflife-unified-sdk
058353d2f86a4a3885b60001cff51bc1f67db0aa
[ "Unlicense" ]
31
2021-12-04T20:42:48.000Z
2022-03-11T14:16:50.000Z
utils/mdlviewer/studio_render.cpp
SmileyAG/halflife-unified-sdk
058353d2f86a4a3885b60001cff51bc1f67db0aa
[ "Unlicense" ]
79
2021-12-11T10:07:30.000Z
2022-03-28T10:09:44.000Z
utils/mdlviewer/studio_render.cpp
SmileyAG/halflife-unified-sdk
058353d2f86a4a3885b60001cff51bc1f67db0aa
[ "Unlicense" ]
8
2021-12-10T18:19:10.000Z
2022-03-16T07:49:20.000Z
/*** * * Copyright (c) 1996-2002, Valve LLC. All rights reserved. * * This product contains software technology licensed from Id * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. * All Rights Reserved. * ****/ // studio_render.cpp: routines for drawing Half-Life 3DStudio models // updates...
23.336486
144
0.633795
SmileyAG
0e5570e1edac6d166e0bea37108587f365c4fd71
1,835
cpp
C++
cpp/863. All Nodes Distance K in Binary Tree.cpp
longwangjhu/LeetCode
a5c33e8d67e67aedcd439953d96ac7f443e2817b
[ "MIT" ]
3
2021-08-07T07:01:34.000Z
2021-08-07T07:03:02.000Z
cpp/863. All Nodes Distance K in Binary Tree.cpp
longwangjhu/LeetCode
a5c33e8d67e67aedcd439953d96ac7f443e2817b
[ "MIT" ]
null
null
null
cpp/863. All Nodes Distance K in Binary Tree.cpp
longwangjhu/LeetCode
a5c33e8d67e67aedcd439953d96ac7f443e2817b
[ "MIT" ]
null
null
null
// https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree/ // We are given a binary tree (with root node root), a target node, and an integer // value k. // Return a list of the values of all nodes that have a distance k from the target // node. The answer can be returned in any order. //////////////////...
32.192982
82
0.514986
longwangjhu
0e55d2dccb20730ca5ee389be6735fcc1ced0059
4,003
cpp
C++
ShapeManipulator.cpp
GuMiner/Octocad
2858d777e5db177e1fbddf7653ba052a4fa31855
[ "MIT" ]
null
null
null
ShapeManipulator.cpp
GuMiner/Octocad
2858d777e5db177e1fbddf7653ba052a4fa31855
[ "MIT" ]
null
null
null
ShapeManipulator.cpp
GuMiner/Octocad
2858d777e5db177e1fbddf7653ba052a4fa31855
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "ShapeManipulator.h" ShapeManipulator::ShapeManipulator() : pShapeOctree(nullptr), currentOperation(), needsGpuUpdate(true) { } // Recreates the interior data structure with the following side length and resolution. void ShapeManipulator::Refresh(double length, double resolution) { if...
30.325758
174
0.615289
GuMiner
0e5615a9858f7786d9f22ab46266a3a7f72ca1da
20,052
cpp
C++
PS4Engine/PS4Engine/api_gnm/stencil-sample/stencil-sample.cpp
Enderderder/SonyEngine
ee8b3726d293c667d2e2a849808b993e954b84c7
[ "MIT" ]
2
2020-02-22T01:27:28.000Z
2021-12-20T08:41:43.000Z
PS4Engine/PS4Engine/api_gnm/stencil-sample/stencil-sample.cpp
Enderderder/SonyEngine
ee8b3726d293c667d2e2a849808b993e954b84c7
[ "MIT" ]
null
null
null
PS4Engine/PS4Engine/api_gnm/stencil-sample/stencil-sample.cpp
Enderderder/SonyEngine
ee8b3726d293c667d2e2a849808b993e954b84c7
[ "MIT" ]
2
2019-09-17T19:54:00.000Z
2020-03-06T15:08:52.000Z
/* SIE CONFIDENTIAL PlayStation(R)4 Programmer Tool Runtime Library Release 05.008.001 * Copyright (C) 2016 Sony Interactive Entertainment Inc. * All Rights Reserved. */ #include "../framework/sample_framework.h" #include "../framework/simple_mesh.h" #include "../framework/gnf_loader.h" #include "../framework/frame.h...
47.181176
296
0.756882
Enderderder
0e5704788d0427481abcff2cea8b3b2df59a87fb
1,869
cpp
C++
modules/DGM/GraphDense.cpp
aliyasineser/DGM
87b9b70ba4eebb3ef8c330e56b15268597880f7d
[ "BSD-3-Clause" ]
null
null
null
modules/DGM/GraphDense.cpp
aliyasineser/DGM
87b9b70ba4eebb3ef8c330e56b15268597880f7d
[ "BSD-3-Clause" ]
null
null
null
modules/DGM/GraphDense.cpp
aliyasineser/DGM
87b9b70ba4eebb3ef8c330e56b15268597880f7d
[ "BSD-3-Clause" ]
null
null
null
#include "GraphDense.h" #include "macroses.h" namespace DirectGraphicalModels { // Add a new node to the graph size_t CGraphDense::addNode(void) { size_t res = getNumNodes(); m_nodePotentials.push_back(Mat(1, getNumStates(), CV_32FC1, Scalar(1.0f / getNumStates()))); return res; } // Add a new node to th...
34.611111
158
0.686998
aliyasineser
0e573113506ec9fde4d1a475838a9315be2bba03
754
hpp
C++
Accolade/src/Screens/RoomSelectorScreen.hpp
Tackwin/BossRoom
ecad5853e591b9edc54e75448547e20e14964f72
[ "MIT" ]
null
null
null
Accolade/src/Screens/RoomSelectorScreen.hpp
Tackwin/BossRoom
ecad5853e591b9edc54e75448547e20e14964f72
[ "MIT" ]
null
null
null
Accolade/src/Screens/RoomSelectorScreen.hpp
Tackwin/BossRoom
ecad5853e591b9edc54e75448547e20e14964f72
[ "MIT" ]
null
null
null
#pragma once #include "Screen.hpp" #include <SFML/Graphics.hpp> #include "./../Common.hpp" #include "./../3rd/json.hpp" class RoomSelectorScreen : public Screen { public: //TODO:Make this private sf::Text _roomNumberText; sf::Text _infoText; sf::Text _triesInfoText; sf::RectangleShape _bossArtworkSprite; s...
20.378378
71
0.737401
Tackwin
0e594ad9d66ed63d91ced7ebaedab58028bf3b67
26,615
cpp
C++
hphp/runtime/vm/jit/tc-internal.cpp
divinity76/hhvm
cfde9bb3d7d49740d0ca0228e2d714637b155a13
[ "PHP-3.01", "Zend-2.0" ]
9,491
2015-01-01T00:30:28.000Z
2022-03-31T20:22:11.000Z
hphp/runtime/vm/jit/tc-internal.cpp
divinity76/hhvm
cfde9bb3d7d49740d0ca0228e2d714637b155a13
[ "PHP-3.01", "Zend-2.0" ]
4,796
2015-01-01T00:26:31.000Z
2022-03-31T01:09:05.000Z
hphp/runtime/vm/jit/tc-internal.cpp
divinity76/hhvm
cfde9bb3d7d49740d0ca0228e2d714637b155a13
[ "PHP-3.01", "Zend-2.0" ]
2,126
2015-01-01T11:13:29.000Z
2022-03-28T19:58:15.000Z
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) | +---------...
33.477987
81
0.646215
divinity76
0e5a9f9bc45f062f0be08f0a18a12e67bb72ddce
266
cpp
C++
tests/ValidPalindromeTest.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
43
2015-10-10T12:59:52.000Z
2018-07-11T18:07:00.000Z
tests/ValidPalindromeTest.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
null
null
null
tests/ValidPalindromeTest.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
11
2015-10-10T14:41:11.000Z
2018-07-28T06:03:16.000Z
#include "catch.hpp" #include "ValidPalindrome.hpp" TEST_CASE("Valid Palindrome") { ValidPalindrome s; SECTION("Sample test") { REQUIRE(s.isPalindrome("A man, a plan, a canal: Panama")); REQUIRE_FALSE(s.isPalindrome("race a car")); } }
22.166667
66
0.646617
yanzhe-chen
0e5de3ab89080e2e0002e12efb65994e65e1d317
1,905
cpp
C++
Data Structures/dynamic segment tree.cpp
hasinfarhan/acm-notebook
b9a4d81a49e0e3c1e9ad130b8dcf08326bcc1673
[ "MIT" ]
1
2020-06-15T15:39:33.000Z
2020-06-15T15:39:33.000Z
Data Structures/dynamic segment tree.cpp
Pervezali98/acm-notebook
b9a4d81a49e0e3c1e9ad130b8dcf08326bcc1673
[ "MIT" ]
null
null
null
Data Structures/dynamic segment tree.cpp
Pervezali98/acm-notebook
b9a4d81a49e0e3c1e9ad130b8dcf08326bcc1673
[ "MIT" ]
1
2020-06-15T15:39:09.000Z
2020-06-15T15:39:09.000Z
/************************************************************************************* Implicit segment tree with addition on the interval and getting the value of some element. Works on the intervals like [1..10^9]. O(logN) on query, O(NlogN) of memory. Author: Bekzhan Kassenov. Based on prob...
28.014706
86
0.418898
hasinfarhan
0e5ee9c1c3d04aa8e1f80653b2fe9954ca90d97d
962
cpp
C++
Source/UnitTests/MetadataTests/OverloadsTests.cpp
NativeScript/windows-runtime
47150b66b5e17a03ce8820588817c124cf4ecb17
[ "Apache-2.0" ]
74
2016-03-17T12:39:44.000Z
2021-08-20T02:52:33.000Z
Source/UnitTests/MetadataTests/OverloadsTests.cpp
NativeScript/windows-runtime
47150b66b5e17a03ce8820588817c124cf4ecb17
[ "Apache-2.0" ]
4
2016-05-13T19:40:53.000Z
2018-01-31T21:32:48.000Z
Source/UnitTests/MetadataTests/OverloadsTests.cpp
NativeScript/windows-runtime
47150b66b5e17a03ce8820588817c124cf4ecb17
[ "Apache-2.0" ]
13
2016-03-17T15:15:24.000Z
2021-08-20T02:54:17.000Z
#include "UnitTests-Prefix.h" namespace NativeScript { namespace UnitTests { TEST_CLASS(OverloadsTests){ public : TEST_METHOD(MethodOverloads){ MetadataReader metadataReader; const wchar_t* name{ L"NativeScript.TestFixtures.OverloadsClass" }; shared_ptr<ClassDeclaratio...
33.172414
119
0.711019
NativeScript
0e5f10d8203116b88b7dd32930174494ebcf9ca5
435
cpp
C++
src/runnables/checkqrcoderunnable.cpp
hdchieh/xmly-downloader-qt5
4c89b866368ba1fd82cf3ada52186751d2d1d85f
[ "MIT" ]
299
2020-05-27T14:04:04.000Z
2022-03-30T15:09:48.000Z
src/runnables/checkqrcoderunnable.cpp
hdchieh/xmly-downloader-qt5
4c89b866368ba1fd82cf3ada52186751d2d1d85f
[ "MIT" ]
9
2020-07-15T06:34:12.000Z
2020-10-10T01:40:53.000Z
src/runnables/checkqrcoderunnable.cpp
hdchieh/xmly-downloader-qt5
4c89b866368ba1fd82cf3ada52186751d2d1d85f
[ "MIT" ]
103
2020-06-23T08:02:46.000Z
2022-03-20T03:24:59.000Z
#include "checkqrcoderunnable.h" #include <QThread> CheckQRCodeRunnable::CheckQRCodeRunnable(const QString& qrID) : qrID_(qrID) {} void CheckQRCodeRunnable::Stop() { stop_ = true; } void CheckQRCodeRunnable::run() { while (!stop_) { char* cookie = CgoCheckQRCode(const_cast<char*>(qrID_.toStdString().c...
21.75
78
0.652874
hdchieh
0e5f7b7d8d00e7aab2599026cfcb427fe4e75e83
8,428
cpp
C++
utils/SamToCmpH5.cpp
mchaisso/mcpbblasr
6c92959ba61adfd234a4f35849490709284105de
[ "BSD-3-Clause-Clear" ]
null
null
null
utils/SamToCmpH5.cpp
mchaisso/mcpbblasr
6c92959ba61adfd234a4f35849490709284105de
[ "BSD-3-Clause-Clear" ]
null
null
null
utils/SamToCmpH5.cpp
mchaisso/mcpbblasr
6c92959ba61adfd234a4f35849490709284105de
[ "BSD-3-Clause-Clear" ]
null
null
null
#include <iostream> #include <datastructures/alignment/AlignmentCandidate.hpp> #include <sam/SAMReader.hpp> #include <format/StickAlignmentPrinter.hpp> #include <HDFCmpFile.hpp> #include <FASTASequence.hpp> #include <FASTAReader.hpp> #include <CommandLineParser.hpp> #include <datastructures/alignmentset/AlignmentSetTo...
40.325359
120
0.657333
mchaisso
0e62f93dab4109f30f98794df0e24309fb221133
16,246
cpp
C++
src/blinkit/blink/renderer/core/events/EventPath.cpp
titilima/blink
2de70073edfe0e1e0aaf2bb22b5d6abd9b776fad
[ "MIT" ]
13
2020-04-21T13:14:00.000Z
2021-11-13T14:55:12.000Z
src/blinkit/blink/renderer/core/events/EventPath.cpp
titilima/blink
2de70073edfe0e1e0aaf2bb22b5d6abd9b776fad
[ "MIT" ]
null
null
null
src/blinkit/blink/renderer/core/events/EventPath.cpp
titilima/blink
2de70073edfe0e1e0aaf2bb22b5d6abd9b776fad
[ "MIT" ]
4
2020-04-21T13:15:43.000Z
2021-11-13T14:55:00.000Z
// ------------------------------------------------- // BlinKit - BlinKit Library // ------------------------------------------------- // File Name: EventPath.cpp // Description: EventPath Class // Author: Ziming Li // Created: 2021-07-23 // ------------------------------------------------- // Copyright (C) ...
38.225882
193
0.688354
titilima
0e639b35d5ce75db778954225bdcd29a1e206112
13,792
cpp
C++
src/nlcglib/adaptor.cpp
haampie/SIRIUS
716c74b9e40f2dc514547b13861ce8c977f50e6c
[ "BSD-2-Clause" ]
null
null
null
src/nlcglib/adaptor.cpp
haampie/SIRIUS
716c74b9e40f2dc514547b13861ce8c977f50e6c
[ "BSD-2-Clause" ]
10
2020-10-05T16:11:47.000Z
2021-03-15T20:31:26.000Z
src/nlcglib/adaptor.cpp
haampie/SIRIUS
716c74b9e40f2dc514547b13861ce8c977f50e6c
[ "BSD-2-Clause" ]
null
null
null
#ifdef SIRIUS_NLCGLIB #include <stdexcept> #include "adaptor.hpp" #include "apply_hamiltonian.hpp" #include "hamiltonian/local_operator.hpp" #include "hamiltonian/hamiltonian.hpp" #include "dft/energy.hpp" #include "SDDK/wf_inner.hpp" using namespace nlcglib; namespace sirius { std::shared_ptr<Matrix> make_vector(c...
36.778667
119
0.555757
haampie
0e6451eb917b212f9f874f509a3d3a83d3479cca
1,742
cpp
C++
ShooterMini/ShooterMini/main.cpp
Floneyyang/ShooterGame
6cc6fdb52ac75a7fce08d0aa1cd997c55e2ac6d3
[ "MIT" ]
null
null
null
ShooterMini/ShooterMini/main.cpp
Floneyyang/ShooterGame
6cc6fdb52ac75a7fce08d0aa1cd997c55e2ac6d3
[ "MIT" ]
null
null
null
ShooterMini/ShooterMini/main.cpp
Floneyyang/ShooterGame
6cc6fdb52ac75a7fce08d0aa1cd997c55e2ac6d3
[ "MIT" ]
null
null
null
// // Disclaimer: // ---------- // // This code will work only if you selected window, graphics and audio. // // Note that the "Run Script" build phase will copy the required frameworks // or dylibs to your application bundle so you can execute it on any OS X // computer. // // Your resource files (images, sounds, fon...
23.863014
96
0.5907
Floneyyang
0e6595477a06ba4f121a822a0d2899cff24cf479
445
cpp
C++
tools/codegen/template/extendedimplol.cpp
tdzl2003/luaqt
7ebebd39037b906e6fa8a485f94e963e345e107a
[ "BSD-3-Clause" ]
20
2015-04-27T06:45:29.000Z
2021-08-21T03:51:39.000Z
tools/codegen/template/extendedimplol.cpp
tdzl2003/luaqt
7ebebd39037b906e6fa8a485f94e963e345e107a
[ "BSD-3-Clause" ]
null
null
null
tools/codegen/template/extendedimplol.cpp
tdzl2003/luaqt
7ebebd39037b906e6fa8a485f94e963e345e107a
[ "BSD-3-Clause" ]
8
2015-03-02T19:51:36.000Z
2021-08-21T03:51:40.000Z
explicit /*%return class.classname%*/_Extended_Impl(const QMetaObject * _mo /*% local ret = {} for i,v in ipairs(func.arguments) do table.insert(ret, ",") table.insert(ret, v.type.rawName) table.insert(ret, "arg"..i) end return table.concat(ret, " ") %*/) : mo(_mo), /*%return class.classname%*/(/*% l...
22.25
77
0.611236
tdzl2003