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
a0053149a3070cad1f01717cc980f436d7abb8e0
1,043
cpp
C++
SWUST OJ/0983.cpp
windcry1/My-ACM-ICPC
b85b1c83b72c6b51731dae946a0df57c31d3e7a1
[ "MIT" ]
null
null
null
SWUST OJ/0983.cpp
windcry1/My-ACM-ICPC
b85b1c83b72c6b51731dae946a0df57c31d3e7a1
[ "MIT" ]
null
null
null
SWUST OJ/0983.cpp
windcry1/My-ACM-ICPC
b85b1c83b72c6b51731dae946a0df57c31d3e7a1
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <string> #include <string> using namespace std; struct TreeNode { struct TreeNode* left; struct TreeNode* right; char elem; }; TreeNode* BinaryTreeFromOrderings(string inorder, string aftorder, int length) { if(length == 0) { return NULL; ...
25.439024
116
0.642378
windcry1
a00568d228b315f5b91afcaa5af5c285916d3ff1
4,306
hpp
C++
Common/include/common/expected.hpp
foxostro/FlapjackOS
34bd2cc9b0983b917a089efe2055ca8f78d56d9a
[ "BSD-2-Clause" ]
null
null
null
Common/include/common/expected.hpp
foxostro/FlapjackOS
34bd2cc9b0983b917a089efe2055ca8f78d56d9a
[ "BSD-2-Clause" ]
null
null
null
Common/include/common/expected.hpp
foxostro/FlapjackOS
34bd2cc9b0983b917a089efe2055ca8f78d56d9a
[ "BSD-2-Clause" ]
null
null
null
#ifndef FLAPJACKOS_COMMON_INCLUDE_COMMON_EXPECTED_HPP #define FLAPJACKOS_COMMON_INCLUDE_COMMON_EXPECTED_HPP #include <cassert> #include "either.hpp" #include "error.hpp" template<typename T> class Expected { public: using Value = T; template<typename U> using Next = Expected<U>; Expected(const Value& val...
32.621212
79
0.640269
foxostro
a0074f0850ba3a6c2c79ce2eb5f072110cd06f99
1,231
cpp
C++
Playground/Noise/src/Noise.cpp
fountainment/cherry-soda
3dd0eb7d0b5503ba572ff2104990856ef7a87495
[ "MIT" ]
27
2020-01-16T08:20:54.000Z
2022-03-29T20:40:15.000Z
Playground/Noise/src/Noise.cpp
fountainment/cherry-soda
3dd0eb7d0b5503ba572ff2104990856ef7a87495
[ "MIT" ]
10
2022-01-07T14:07:27.000Z
2022-03-19T18:13:44.000Z
Playground/Noise/src/Noise.cpp
fountainment/cherry-soda
3dd0eb7d0b5503ba572ff2104990856ef7a87495
[ "MIT" ]
6
2019-12-27T10:04:07.000Z
2021-12-15T17:29:24.000Z
#include "Noise.h" #include <CherrySoda/CherrySoda.h> using noise::Noise; using namespace cherrysoda; static STL::Action<> s_updateAction; Noise::Noise() : base() { SetTitle("Noise"); SetClearColor(Color::Black); } void Noise::Update() { base::Update(); if (s_updateAction) { s_updateAction(); } } void N...
19.234375
82
0.649878
fountainment
a007ce907249b0cfa3b9d4e362fb7247fe6fc8b8
709
cpp
C++
src/serialize19.lib/serialize19/serialize.std_vector.test.cpp
Fettpet/co-cpp19
928a835c4f66032aa88ce01df7899da86d37df22
[ "MIT" ]
null
null
null
src/serialize19.lib/serialize19/serialize.std_vector.test.cpp
Fettpet/co-cpp19
928a835c4f66032aa88ce01df7899da86d37df22
[ "MIT" ]
null
null
null
src/serialize19.lib/serialize19/serialize.std_vector.test.cpp
Fettpet/co-cpp19
928a835c4f66032aa88ce01df7899da86d37df22
[ "MIT" ]
null
null
null
#include "ReadArchive.h" #include "dynamicWrite.h" #include "serialize.std_vector.h" #include <gtest/gtest.h> using namespace serialize19; TEST(serialize, std_vector) { using T = std::vector<int>; auto input = T{7, 13, 23}; auto buffer = dynamicWrite(input); auto reader = ReadArchive{...
20.852941
47
0.626234
Fettpet
a0085db3a07d7eeb0d58e2eca0d26e5d07723e42
2,173
hpp
C++
multiview/multiview_cpp/src/perceive/calibration/find-homography.hpp
prcvlabs/multiview
1a03e14855292967ffb0c0ec7fff855c5abbc9d2
[ "Apache-2.0" ]
5
2021-09-03T23:12:08.000Z
2022-03-04T21:43:32.000Z
multiview/multiview_cpp/src/perceive/calibration/find-homography.hpp
prcvlabs/multiview
1a03e14855292967ffb0c0ec7fff855c5abbc9d2
[ "Apache-2.0" ]
3
2021-09-08T02:57:46.000Z
2022-02-26T05:33:02.000Z
multiview/multiview_cpp/src/perceive/calibration/find-homography.hpp
prcvlabs/multiview
1a03e14855292967ffb0c0ec7fff855c5abbc9d2
[ "Apache-2.0" ]
2
2021-09-26T03:14:40.000Z
2022-01-26T06:42:52.000Z
#pragma once #include "perceive/foundation.hpp" #include "perceive/geometry.hpp" namespace perceive::calibration { /// /// Class for efficiently evaluating a 'find-homography' cost function /// // What not use a closure, like good c++11?? Because this object // is meant to work with python bindings! class FindHomog...
31.042857
80
0.664059
prcvlabs
a00e03ef5e335ba68f5a721360f741c90cbf7c77
4,055
hpp
C++
include/lbann/objective_functions/weight_regularization/l2.hpp
oyamay/lbann
57116ecc030c0d17bc941f81131c1a335bc2c4ad
[ "Apache-2.0" ]
null
null
null
include/lbann/objective_functions/weight_regularization/l2.hpp
oyamay/lbann
57116ecc030c0d17bc941f81131c1a335bc2c4ad
[ "Apache-2.0" ]
null
null
null
include/lbann/objective_functions/weight_regularization/l2.hpp
oyamay/lbann
57116ecc030c0d17bc941f81131c1a335bc2c4ad
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2014-2019, Lawrence Livermore National Security, LLC. // Produced at the Lawrence Livermore National Laboratory. // Written by the LBANN Research Team (B. Van Essen, et al.) listed in // the CONTRIBUTORS file. <lbann-dev@l...
34.956897
97
0.687546
oyamay
a00e4b3f6bc46d7db803a7a07903956875a56519
1,985
cc
C++
proto_builder/oss/unified_diff_test.cc
google/cpp-proto-builder
b23afd1b55e2c6c20a3d82e3285f794b1acb3faa
[ "Apache-2.0" ]
1
2021-08-18T23:41:31.000Z
2021-08-18T23:41:31.000Z
proto_builder/oss/unified_diff_test.cc
google/cpp-proto-builder
b23afd1b55e2c6c20a3d82e3285f794b1acb3faa
[ "Apache-2.0" ]
null
null
null
proto_builder/oss/unified_diff_test.cc
google/cpp-proto-builder
b23afd1b55e2c6c20a3d82e3285f794b1acb3faa
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 The CPP Proto Builder Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable l...
31.507937
80
0.627708
google
a00f9f1f620bea25cab77ae6a5c084de702031d3
443
cpp
C++
codechef/FEB20/SNUG_FIT.cpp
udayan14/Competitive_Coding
79e23fdeb909b4161a193d88697a4fe5f4fbbdce
[ "MIT" ]
null
null
null
codechef/FEB20/SNUG_FIT.cpp
udayan14/Competitive_Coding
79e23fdeb909b4161a193d88697a4fe5f4fbbdce
[ "MIT" ]
null
null
null
codechef/FEB20/SNUG_FIT.cpp
udayan14/Competitive_Coding
79e23fdeb909b4161a193d88697a4fe5f4fbbdce
[ "MIT" ]
null
null
null
#include<iostream> #include<algorithm> using namespace std; int main(){ ios_base::sync_with_stdio(false); cin.tie(NULL); int t; cin >> t; while(t--){ int n; cin >> n; unsigned a[n]; unsigned b[n]; for(int i=0 ; i<n ; i++) cin >> a[i]; for(int i=0 ; i<n ; i++) cin >> b[i]; sort(a,a+n); sort(...
15.821429
34
0.525959
udayan14
a00fbe00148d2fc12ea641bd37d2192d403d6f1a
3,483
cpp
C++
src/peanoclaw/native/scenarios/CalmOcean.cpp
unterweg/peanoclaw
2d8b45727e3b26d824f8afc6a8772736176083af
[ "BSD-3-Clause" ]
1
2015-07-14T10:05:52.000Z
2015-07-14T10:05:52.000Z
src/peanoclaw/native/scenarios/CalmOcean.cpp
unterweg/peanoclaw
2d8b45727e3b26d824f8afc6a8772736176083af
[ "BSD-3-Clause" ]
null
null
null
src/peanoclaw/native/scenarios/CalmOcean.cpp
unterweg/peanoclaw
2d8b45727e3b26d824f8afc6a8772736176083af
[ "BSD-3-Clause" ]
1
2019-12-03T15:58:53.000Z
2019-12-03T15:58:53.000Z
/* * CalmOcean.cpp * * Created on: Jun 10, 2014 * Author: kristof */ #include "peanoclaw/native/scenarios/CalmOcean.h" #include "peanoclaw/Patch.h" peanoclaw::native::scenarios::CalmOcean::CalmOcean( std::vector<std::string> arguments ) : _domainSize(1.0) { if(arguments.size() != 4) { std::cerr << ...
35.540816
150
0.718346
unterweg
a01030feb34187f4615a90a325940c27664d6e15
7,569
cc
C++
contrib/endpoints/src/grpc/transcoding/request_weaver.cc
mandarjog/proxy
33d357e35a95c92f46012bb16396f949c240fd47
[ "Apache-2.0" ]
1
2020-10-27T12:17:07.000Z
2020-10-27T12:17:07.000Z
contrib/endpoints/src/grpc/transcoding/request_weaver.cc
mandarjog/proxy
33d357e35a95c92f46012bb16396f949c240fd47
[ "Apache-2.0" ]
null
null
null
contrib/endpoints/src/grpc/transcoding/request_weaver.cc
mandarjog/proxy
33d357e35a95c92f46012bb16396f949c240fd47
[ "Apache-2.0" ]
null
null
null
// Copyright 2016 Google Inc. 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 ...
29.566406
80
0.652134
mandarjog
a0115c88d2d2f11ac8d1c76a32b7b5421b478576
493
cpp
C++
OpenGL3D Game/Floor.cpp
TheSandstorm/Tank-Busters
06aec0b25a92e8c9c8959c5173cbef605bb6543d
[ "MIT" ]
null
null
null
OpenGL3D Game/Floor.cpp
TheSandstorm/Tank-Busters
06aec0b25a92e8c9c8959c5173cbef605bb6543d
[ "MIT" ]
null
null
null
OpenGL3D Game/Floor.cpp
TheSandstorm/Tank-Busters
06aec0b25a92e8c9c8959c5173cbef605bb6543d
[ "MIT" ]
null
null
null
#include "Floor.h" CFloor::CFloor(glm::vec3 _Pos) { Scale = glm::vec3(8.0f, 8.0f, 0.2f); Rotation = glm::vec3(0.0f, 0.0f, 0.0f); Pos = _Pos; VAO = CObjectManager::GetMesh(FLOOR_ENTITY)->VAO; IndicesCount = CObjectManager::GetMesh(FLOOR_ENTITY)->IndicesCount; Texture = CObjectManager::GetMesh(FLOOR_ENTITY)->Textu...
24.65
68
0.716024
TheSandstorm
a01550a82f0c5a1c5cf1d4b3faa388c32cf1f027
2,223
cpp
C++
Source/Editor/src/Panels/PanelResources.cpp
bar0net/BlueFir-Engine
24526a07b60c09c04fdab6b12a5e3312b68ab400
[ "MIT" ]
null
null
null
Source/Editor/src/Panels/PanelResources.cpp
bar0net/BlueFir-Engine
24526a07b60c09c04fdab6b12a5e3312b68ab400
[ "MIT" ]
null
null
null
Source/Editor/src/Panels/PanelResources.cpp
bar0net/BlueFir-Engine
24526a07b60c09c04fdab6b12a5e3312b68ab400
[ "MIT" ]
null
null
null
#include "PanelResources.h" #include "../../Vendor/imgui-docking/imgui.h" #include "AssetsObserver.h" #include "ModuleResources.h" #include "Resource.h" #include "../ModuleEditor.h" #include "PanelResourcePreview.h" #include <string> #include <vector> #include <stack> void bluefir::editor::PanelResources::Init() {...
24.7
175
0.664867
bar0net
a0155cc74392ea229d7545d5f346aa85df0eaf36
569
hpp
C++
mys/lib/mys/errors/not_implemented.hpp
eerimoq/sython
90937bf44b798b9c1ae0d18e31e11e95967b46c6
[ "MIT" ]
83
2020-08-18T18:48:46.000Z
2021-01-01T17:00:45.000Z
mys/lib/mys/errors/not_implemented.hpp
eerimoq/sython
90937bf44b798b9c1ae0d18e31e11e95967b46c6
[ "MIT" ]
31
2021-01-05T00:32:36.000Z
2022-02-23T13:34:33.000Z
mys/lib/mys/errors/not_implemented.hpp
eerimoq/sython
90937bf44b798b9c1ae0d18e31e11e95967b46c6
[ "MIT" ]
7
2021-01-03T11:53:03.000Z
2022-02-22T17:49:42.000Z
#pragma once #include "base.hpp" namespace mys { class NotImplementedError : public Error { public: String m_message; NotImplementedError() { } NotImplementedError(const String& message) : m_message(message) { } virtual ~NotImplementedError() { } [[ noreturn ]] void __thro...
17.78125
76
0.660808
eerimoq
a0159e63ea13c1863ef3f2bda895cc10b32aea32
3,340
cpp
C++
dataAQ.cpp
kevinyxlu/cs32lab03
582c42181d8e7891a6f34a3ef5f524c915e963a1
[ "MIT" ]
null
null
null
dataAQ.cpp
kevinyxlu/cs32lab03
582c42181d8e7891a6f34a3ef5f524c915e963a1
[ "MIT" ]
null
null
null
dataAQ.cpp
kevinyxlu/cs32lab03
582c42181d8e7891a6f34a3ef5f524c915e963a1
[ "MIT" ]
null
null
null
/* aggregate data */ #include "dataAQ.h" #include "demogData.h" #include <iostream> #include <algorithm> dataAQ::dataAQ() {} /* necessary function to aggregate the data - this CAN and SHOULD vary per student - depends on how they map, etc. */ void dataAQ::createStateData(std::vector<shared_ptr<demogData>> theData)...
29.557522
112
0.648802
kevinyxlu
a018bdf1a7bf6325df518c8134d16e5575c93d20
3,329
cpp
C++
automated-tests/src/dali/utc-Dali-Semaphore.cpp
dalihub/dali-core
f9b1a5a637bbc91de4aaf9e0be9f79cba0bbb195
[ "Apache-2.0", "BSD-3-Clause" ]
21
2016-11-18T10:26:40.000Z
2021-11-02T09:46:15.000Z
automated-tests/src/dali/utc-Dali-Semaphore.cpp
dalihub/dali-core
f9b1a5a637bbc91de4aaf9e0be9f79cba0bbb195
[ "Apache-2.0", "BSD-3-Clause" ]
7
2016-10-18T17:39:12.000Z
2020-12-01T11:45:36.000Z
automated-tests/src/dali/utc-Dali-Semaphore.cpp
dalihub/dali-core
f9b1a5a637bbc91de4aaf9e0be9f79cba0bbb195
[ "Apache-2.0", "BSD-3-Clause" ]
16
2017-03-08T15:50:32.000Z
2021-05-24T06:58:10.000Z
/* * Copyright (c) 2021 Samsung Electronics Co., 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...
32.637255
107
0.73836
dalihub
a01cc72ac877cdd9a5bc51643b519b3a5edb6914
278
cpp
C++
osal/linux/InternalErrorCodes.cpp
bl4ckic3/fsfw
c76fc8c703e19d917c45a25710b4642e5923c68a
[ "Apache-2.0" ]
null
null
null
osal/linux/InternalErrorCodes.cpp
bl4ckic3/fsfw
c76fc8c703e19d917c45a25710b4642e5923c68a
[ "Apache-2.0" ]
null
null
null
osal/linux/InternalErrorCodes.cpp
bl4ckic3/fsfw
c76fc8c703e19d917c45a25710b4642e5923c68a
[ "Apache-2.0" ]
null
null
null
#include "../../osal/InternalErrorCodes.h" ReturnValue_t InternalErrorCodes::translate(uint8_t code) { //TODO This class can be removed return HasReturnvaluesIF::RETURN_FAILED; } InternalErrorCodes::InternalErrorCodes() { } InternalErrorCodes::~InternalErrorCodes() { }
18.533333
59
0.769784
bl4ckic3
a022d0a4a0cfeef4a021d4159ed2cdccfc0136df
3,508
cpp
C++
libs/GFX/Events.cpp
KillianG/R-Type
e3fd801ae58fcea49ac75c400ec0a2837cb0da2e
[ "MIT" ]
1
2019-08-14T12:31:50.000Z
2019-08-14T12:31:50.000Z
libs/GFX/Events.cpp
KillianG/R-Type
e3fd801ae58fcea49ac75c400ec0a2837cb0da2e
[ "MIT" ]
null
null
null
libs/GFX/Events.cpp
KillianG/R-Type
e3fd801ae58fcea49ac75c400ec0a2837cb0da2e
[ "MIT" ]
null
null
null
// // Created by killian on 13/11/18. // Epitech 3 years remaining // See http://github.com/KillianG // #include <SFML/Window/Event.hpp> #include "Events.hpp" #include <iostream> /** * simple constructor * @param mgr eventmanager */ gfx::Event::Event(EventManager &mgr) : _mgr(mgr){ } /** * get all events using s...
29.233333
118
0.608609
KillianG
a025b6636c624c0382da02eca001cd939cf62860
1,526
cpp
C++
src/RE/NiSystem.cpp
powerof3/CommonLibVR
c84cd2c63ccba0cc88a212fe9cf86b5470b10a4f
[ "MIT" ]
6
2020-04-05T04:37:42.000Z
2022-03-19T17:42:24.000Z
src/RE/NiSystem.cpp
kassent/CommonLibSSE
394231b44ba01925fef9d01ea2b0b29c2fff601c
[ "MIT" ]
3
2021-11-08T09:31:20.000Z
2022-03-02T19:22:42.000Z
src/RE/NiSystem.cpp
kassent/CommonLibSSE
394231b44ba01925fef9d01ea2b0b29c2fff601c
[ "MIT" ]
6
2020-04-10T18:11:46.000Z
2022-01-18T22:31:25.000Z
#include "RE/NiSystem.h" #include <cassert> #include <cstdarg> namespace RE { int NiMemcpy(void* a_dest, std::size_t a_destSize, const void* a_src, std::size_t a_count) { auto result = memcpy_s(a_dest, a_destSize, a_src, a_count); assert(result == 0); return result; } int NiSprintf(char* a_dest, std::siz...
20.90411
118
0.690039
powerof3
a0260a48557c2be356124c61a0598f764425b6e0
1,899
cpp
C++
docs/trainings/random-trainings/18th-SHU-CPC/solutions/i.cpp
Dup4/TI1050
4534909ef9a3b925d556d341ea5e2629357f68e6
[ "MIT" ]
null
null
null
docs/trainings/random-trainings/18th-SHU-CPC/solutions/i.cpp
Dup4/TI1050
4534909ef9a3b925d556d341ea5e2629357f68e6
[ "MIT" ]
null
null
null
docs/trainings/random-trainings/18th-SHU-CPC/solutions/i.cpp
Dup4/TI1050
4534909ef9a3b925d556d341ea5e2629357f68e6
[ "MIT" ]
1
2022-03-03T13:33:48.000Z
2022-03-03T13:33:48.000Z
#include <bits/stdc++.h> using namespace std; using ll = long long; #define SZ(x) (int(x.size())) const int N = 1e3 + 10, mod = 1e9 + 7; int n, m, v[N], fac[N], inv[N], bit[N], fbit[N]; ll f[N][N]; char s[N]; ll qpow(ll base, ll n) { ll res = 1; while (n) { if (n & 1) res = res * base % mod...
27.521739
84
0.360716
Dup4
a02670913b490831814bb5582910b07f68be6442
525
cc
C++
part-1/week-2/strassen_algorithm/benchmark.cc
mohitsakhuja/algorithms-course
bb9ca82279ee9d1ff9881d00d693a33084db214b
[ "MIT" ]
13
2019-07-07T17:25:57.000Z
2020-11-25T10:26:59.000Z
part-1/week-2/strassen_algorithm/benchmark.cc
mohitsakhuja/algorithms-course
bb9ca82279ee9d1ff9881d00d693a33084db214b
[ "MIT" ]
null
null
null
part-1/week-2/strassen_algorithm/benchmark.cc
mohitsakhuja/algorithms-course
bb9ca82279ee9d1ff9881d00d693a33084db214b
[ "MIT" ]
9
2019-08-30T19:11:45.000Z
2020-12-23T18:47:30.000Z
#include "benchmark.hh" #include <iostream> // Returns number of seconds between b and a double calculate(const struct rusage *b, const struct rusage *a) { if (b == NULL || a == NULL) return 0.0; return ((((a->ru_utime.tv_sec * 1000000 + a->ru_utime.tv_usec) - (b->ru_utime.tv_sec * 10...
32.8125
78
0.579048
mohitsakhuja
a0273da26637dd4a31357d5be0471e5dcc855a2b
10,981
cc
C++
aimsalgo/src/aimsalgo/optimization/levmrq.cc
brainvisa/aims-free
5852c1164292cadefc97cecace022d14ab362dc4
[ "CECILL-B" ]
4
2019-07-09T05:34:10.000Z
2020-10-16T00:03:15.000Z
aimsalgo/src/aimsalgo/optimization/levmrq.cc
brainvisa/aims-free
5852c1164292cadefc97cecace022d14ab362dc4
[ "CECILL-B" ]
72
2018-10-31T14:52:50.000Z
2022-03-04T11:22:51.000Z
aimsalgo/src/aimsalgo/optimization/levmrq.cc
brainvisa/aims-free
5852c1164292cadefc97cecace022d14ab362dc4
[ "CECILL-B" ]
null
null
null
/* This software and supporting documentation are distributed by * Institut Federatif de Recherche 49 * CEA/NeuroSpin, Batiment 145, * 91191 Gif-sur-Yvette cedex * France * * This software is governed by the CeCILL-B license under * French law and abiding by the rules of distribution of free soft...
29.127321
89
0.471451
brainvisa
a027e3d0dc7341bdef7386e61bfbf614e158c25f
553
cpp
C++
src/task_simple.cpp
dvetutnev/Ecwid-Console-downloader
35994baae9d4ab518d465aeafbdc0020c5482532
[ "MIT" ]
1
2017-07-04T07:20:24.000Z
2017-07-04T07:20:24.000Z
src/task_simple.cpp
dvetutnev/Ecwid-Console-downloader
35994baae9d4ab518d465aeafbdc0020c5482532
[ "MIT" ]
null
null
null
src/task_simple.cpp
dvetutnev/Ecwid-Console-downloader
35994baae9d4ab518d465aeafbdc0020c5482532
[ "MIT" ]
null
null
null
#include "task_simple.h" #include <sstream> std::unique_ptr<Task> TaskListSimple::get() { using namespace std; unique_ptr<Task> ret; while( !stream.eof() ) { string buf; getline(stream, buf); if ( buf.empty() ) continue; istringstream sbuf{ move(buf) }; ...
19.068966
59
0.520796
dvetutnev
a0299759b45b07ad5685d744d2c8a237742b8213
9,030
cpp
C++
cli/tests/DistributedCommandExecutorTestRunner.cpp
yuanchenl/quickstep
cc20fed6e56b0e583ae15a0219c070c8bacf14ba
[ "Apache-2.0" ]
1
2021-08-22T19:16:59.000Z
2021-08-22T19:16:59.000Z
cli/tests/DistributedCommandExecutorTestRunner.cpp
udippant/incubator-quickstep
8169306c2923d68235ba3c0c8df4c53f5eee9a68
[ "Apache-2.0" ]
null
null
null
cli/tests/DistributedCommandExecutorTestRunner.cpp
udippant/incubator-quickstep
8169306c2923d68235ba3c0c8df4c53f5eee9a68
[ "Apache-2.0" ]
1
2021-11-30T13:50:59.000Z
2021-11-30T13:50:59.000Z
/** * 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...
37.782427
116
0.716058
yuanchenl
a03043f317c61138818e4ae9d2c0ee66ca4487e6
28,037
cpp
C++
source/slang/slang-check-constraint.cpp
JKot-Coder/slang
1a1b2a0de67dccc1102449b8620830131d569cde
[ "MIT" ]
895
2017-06-10T13:38:39.000Z
2022-03-31T02:29:15.000Z
source/slang/slang-check-constraint.cpp
JKot-Coder/slang
1a1b2a0de67dccc1102449b8620830131d569cde
[ "MIT" ]
708
2017-06-15T16:03:12.000Z
2022-03-28T19:01:37.000Z
source/slang/slang-check-constraint.cpp
JKot-Coder/slang
1a1b2a0de67dccc1102449b8620830131d569cde
[ "MIT" ]
80
2017-06-12T15:36:58.000Z
2022-03-23T12:04:24.000Z
// slang-check-constraint.cpp #include "slang-check-impl.h" // This file provides the core services for creating // and solving constraint systems during semantic checking. // // We currently use constraint systems primarily to solve // for the implied values to use for generic parameters when a // generic declaration...
36.223514
121
0.545458
JKot-Coder
a0314f02d8d423dc32c2861e5a3ad1225429589b
4,366
cc
C++
src/decoderbin/nbest-to-ctm.cc
zh794390558/eesen
890c1394abc4beba06baf79eb8203a5c65d30eb8
[ "Apache-2.0" ]
798
2015-08-19T21:15:28.000Z
2022-03-31T06:11:02.000Z
src/decoderbin/nbest-to-ctm.cc
xiachen1993/eesen
4d4920ca6a2f7166cf603d81c0fd40c5c26e65a0
[ "Apache-2.0" ]
173
2015-10-19T16:24:48.000Z
2021-08-23T11:39:54.000Z
src/decoderbin/nbest-to-ctm.cc
xiachen1993/eesen
4d4920ca6a2f7166cf603d81c0fd40c5c26e65a0
[ "Apache-2.0" ]
293
2015-09-09T19:31:42.000Z
2022-03-31T06:11:04.000Z
// decoderbin/nbest-to-ctm.cc // Copyright 2012 Johns Hopkins University (Author: Daniel Povey) // See ../../COPYING for clarification regarding multiple authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain...
40.425926
107
0.631241
zh794390558
a0325cfe4eb57f4de08e777c7de20c764a033b86
6,676
cpp
C++
src/generated/lsd_savepicture.cpp
akien-mga/liblcf
37c16d8dc0a1656f9a17d0374d6dfe14e2ded262
[ "MIT" ]
null
null
null
src/generated/lsd_savepicture.cpp
akien-mga/liblcf
37c16d8dc0a1656f9a17d0374d6dfe14e2ded262
[ "MIT" ]
null
null
null
src/generated/lsd_savepicture.cpp
akien-mga/liblcf
37c16d8dc0a1656f9a17d0374d6dfe14e2ded262
[ "MIT" ]
null
null
null
/* !!!! GENERATED FILE - DO NOT EDIT !!!! * -------------------------------------- * * This file is part of liblcf. Copyright (c) 2019 liblcf authors. * https://github.com/EasyRPG/liblcf - https://easyrpg.org * * liblcf is Free/Libre Open Source Software, released under the MIT License. * For the full copyright ...
22.707483
77
0.712403
akien-mga
a0357e9cd0f19dcca39eb366a2724bd340c371bb
1,611
cpp
C++
src/Object2D.cpp
Ryozuki/GForce
a36ab77587773057e1b6fc84cb6efe9987dc4473
[ "MIT" ]
null
null
null
src/Object2D.cpp
Ryozuki/GForce
a36ab77587773057e1b6fc84cb6efe9987dc4473
[ "MIT" ]
null
null
null
src/Object2D.cpp
Ryozuki/GForce
a36ab77587773057e1b6fc84cb6efe9987dc4473
[ "MIT" ]
null
null
null
/* * (c) Ryozuki See LICENSE.txt in the root of the distribution for more information. * If you are missing that file, acquire a complete release at https://github.com/Ryozuki/GForce */ #include <GForce/Object2D.hpp> #include <GForce/Constants.hpp> namespace gf { Object2D::Object2D(double mass) { setMass(mass)...
17.703297
96
0.688392
Ryozuki
a03b320fe75a6e87efa21af0902a15eebcda16f5
598
cpp
C++
C++/01_Backtracking/MEDIUM_PERMUTATIONS.cpp
animeshramesh/interview-prep
882e8bc8b4653a713754ab31a3b08e05505be2bc
[ "Apache-2.0" ]
null
null
null
C++/01_Backtracking/MEDIUM_PERMUTATIONS.cpp
animeshramesh/interview-prep
882e8bc8b4653a713754ab31a3b08e05505be2bc
[ "Apache-2.0" ]
null
null
null
C++/01_Backtracking/MEDIUM_PERMUTATIONS.cpp
animeshramesh/interview-prep
882e8bc8b4653a713754ab31a3b08e05505be2bc
[ "Apache-2.0" ]
null
null
null
vector<vector<int> > permute(vector<int> &num) { vector<vector<int> > result; permuteRecursive(result, 0, num); return result; } // permute num[begin..end] // invariant: num[0..begin-1] have been fixed/permuted void permuteRecursive(vector<vector<int> > &result, int begin, vector<int> &num) { if ...
22.148148
81
0.603679
animeshramesh
a041ed9f8cac4a98baa2a5af904a417a3bbca844
3,729
hpp
C++
zug/state_traits.hpp
CJBussey/zug
4c9aff02c5f870f2ba518ba7f93ceb6a00e5fda8
[ "BSL-1.0" ]
null
null
null
zug/state_traits.hpp
CJBussey/zug
4c9aff02c5f870f2ba518ba7f93ceb6a00e5fda8
[ "BSL-1.0" ]
null
null
null
zug/state_traits.hpp
CJBussey/zug
4c9aff02c5f870f2ba518ba7f93ceb6a00e5fda8
[ "BSL-1.0" ]
null
null
null
// // zug: transducers for C++ // Copyright (C) 2019 Juan Pedro Bolivar Puente // // This software is distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt // #pragma once #include <type_traits> #include <utility> namespace zug { /*! ...
24.372549
78
0.659426
CJBussey
a044127b3ec32060224277df4d8acda13c9b1c1a
58,225
cpp
C++
engine/audio/private/snd_op_sys/sos_op_math.cpp
DannyParker0001/Kisak-Strike
99ed85927336fe3aff2efd9b9382b2b32eb1d05d
[ "Unlicense" ]
252
2020-12-16T15:34:43.000Z
2022-03-31T23:21:37.000Z
cstrike15_src/engine/audio/private/snd_op_sys/sos_op_math.cpp
bahadiraraz/Counter-Strike-Global-Offensive
9a0534100cb98ffa1cf0c32e138f0e7971e910d3
[ "MIT" ]
23
2020-12-20T18:02:54.000Z
2022-03-28T16:58:32.000Z
cstrike15_src/engine/audio/private/snd_op_sys/sos_op_math.cpp
bahadiraraz/Counter-Strike-Global-Offensive
9a0534100cb98ffa1cf0c32e138f0e7971e910d3
[ "MIT" ]
42
2020-12-19T04:32:33.000Z
2022-03-30T06:00:28.000Z
//============ Copyright (c) Valve Corporation, All rights reserved. ============ // // //=============================================================================== #include "audio_pch.h" #include "tier2/interval.h" #include "math.h" #include "sos_op.h" #include "sos_op_math.h" #include "snd_dma.h" #include ".....
30.357143
176
0.688055
DannyParker0001
a0458cebda3e2326dbc153532319f242f3b2e592
7,340
cpp
C++
core/Transaction/Transfer.cpp
mm-s/symbol-sdk-cpp
2151503ff69d582de47acde1dffae02ed21e78ab
[ "MIT" ]
null
null
null
core/Transaction/Transfer.cpp
mm-s/symbol-sdk-cpp
2151503ff69d582de47acde1dffae02ed21e78ab
[ "MIT" ]
null
null
null
core/Transaction/Transfer.cpp
mm-s/symbol-sdk-cpp
2151503ff69d582de47acde1dffae02ed21e78ab
[ "MIT" ]
null
null
null
/** *** Copyright (c) 2016-2019, Jaguar0625, gimre, BloodyRookie, Tech Bureau, Corp. *** Copyright (c) 2020-present, Jaguar0625, gimre, BloodyRookie. *** All rights reserved. *** *** This file is part of Catapult. *** *** Catapult is free software: you can redistribute it and/or modify *** it under the terms of the GNU...
33.063063
254
0.68624
mm-s
a0464fb8daa61b27648ec975dad2c94ef549f21e
2,153
cpp
C++
Week 3/id_425/LeetCode_127_425.cpp
larryRishi/algorithm004-05
e60d0b1176acd32a9184b215e36d4122ba0b6263
[ "Apache-2.0" ]
1
2019-10-12T06:48:45.000Z
2019-10-12T06:48:45.000Z
Week 3/id_425/LeetCode_127_425.cpp
larryRishi/algorithm004-05
e60d0b1176acd32a9184b215e36d4122ba0b6263
[ "Apache-2.0" ]
1
2019-12-01T10:02:03.000Z
2019-12-01T10:02:03.000Z
Week 3/id_425/LeetCode_127_425.cpp
larryRishi/algorithm004-05
e60d0b1176acd32a9184b215e36d4122ba0b6263
[ "Apache-2.0" ]
null
null
null
/* * @lc app=leetcode.cn id=127 lang=cpp * * [127] 单词接龙 * * https://leetcode-cn.com/problems/word-ladder/description/ * * algorithms * Medium (37.12%) * Likes: 151 * Dislikes: 0 * Total Accepted: 13.1K * Total Submissions: 34.9K * Testcase Example: '"hit"\n"cog"\n["hot","dot","dog","lot...
22.904255
95
0.444961
larryRishi
a047ebe9dbb9beb28e8de88ae894ce1316a25205
4,310
cpp
C++
src/InputHandler.cpp
kaprikawn/target
36a38e789b7be5faad03ff1b48a45200eab7fa93
[ "MIT" ]
null
null
null
src/InputHandler.cpp
kaprikawn/target
36a38e789b7be5faad03ff1b48a45200eab7fa93
[ "MIT" ]
2
2017-05-31T11:48:08.000Z
2017-05-31T11:49:26.000Z
src/InputHandler.cpp
kaprikawn/target
36a38e789b7be5faad03ff1b48a45200eab7fa93
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include "InputHandler.hpp" #include "Game.hpp" InputHandler* InputHandler::s_pInstance = 0; void InputHandler::initialiseJoysticks() { if( SDL_WasInit( SDL_INIT_JOYSTICK ) == 0 ) { SDL_InitSubSystem( SDL_INIT_JOYSTICK ); } if( SDL_NumJoysticks() > 0 ) { for( int...
27.278481
149
0.588399
kaprikawn
a04bd9a30c84737eb29e298b575e5e6269570e87
336
cpp
C++
Source/remote_main.cpp
farkmarnum/imogen
f5a726e060315ea71de98f6b9eb06ba58bf2527d
[ "MIT" ]
null
null
null
Source/remote_main.cpp
farkmarnum/imogen
f5a726e060315ea71de98f6b9eb06ba58bf2527d
[ "MIT" ]
null
null
null
Source/remote_main.cpp
farkmarnum/imogen
f5a726e060315ea71de98f6b9eb06ba58bf2527d
[ "MIT" ]
null
null
null
#include <imogen_gui/imogen_gui.h> #include <lemons_app_utils/lemons_app_utils.h> namespace Imogen { struct RemoteApp : lemons::GuiApp<Remote> { RemoteApp() : lemons::GuiApp<Imogen::Remote> (String ("Imogen ") + TRANS ("Remote"), "0.0.1", { 1060, 640 }) { } }; } // namespace Imogen START_JUCE_APPLICATION (Imo...
18.666667
98
0.696429
farkmarnum
a04cdd61bd41801c12aacb89c7090ceabebe79d9
1,517
cpp
C++
Linked_List/InsertDLL.cpp
krcpr007/DSA-Abdul_Bari_codesAndPdfs-
06d19a936009502d39fb5e401e9d90bf6d7911c9
[ "MIT" ]
1
2021-12-06T13:49:47.000Z
2021-12-06T13:49:47.000Z
Linked_List/InsertDLL.cpp
krcpr007/DSA-Abdul_Bari_codesAndPdfs-
06d19a936009502d39fb5e401e9d90bf6d7911c9
[ "MIT" ]
null
null
null
Linked_List/InsertDLL.cpp
krcpr007/DSA-Abdul_Bari_codesAndPdfs-
06d19a936009502d39fb5e401e9d90bf6d7911c9
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; struct Node { struct Node *next; struct Node *prev; int data; } *first = NULL; void Create(int A[], int n) { struct Node *t, *last; first = new Node; first->data = A[0]; first->prev = first->next = NULL; last = first; for (int i = 1; i < n; ...
16.138298
48
0.418589
krcpr007
a04d63c6ca2609b6ceb7488948b20ebbe116d4e4
730
hpp
C++
include/DataSeries/ByteField.hpp
sbu-fsl/DataSeries
8436462519eb22fc653387885b5f0339fb419061
[ "BSD-2-Clause" ]
6
2015-02-27T19:15:11.000Z
2018-10-25T14:22:31.000Z
include/DataSeries/ByteField.hpp
yoursunny/DataSeries
b5b9db8e40a79a3e546a59cd72a80be89412d7b2
[ "BSD-2-Clause" ]
7
2015-08-17T15:18:50.000Z
2017-08-16T00:16:19.000Z
include/DataSeries/ByteField.hpp
sbu-fsl/DataSeries
8436462519eb22fc653387885b5f0339fb419061
[ "BSD-2-Clause" ]
8
2015-07-13T23:02:28.000Z
2020-09-28T19:06:26.000Z
// -*-C++-*- /* (c) Copyright 2003-2009, Hewlett-Packard Development Company, LP See the file named COPYING for license details */ /** @file byte field class */ #ifndef DATASERIES_BYTEFIELD_HPP #define DATASERIES_BYTEFIELD_HPP /** \brief Accessor for byte fields */ class ByteField : public dataseries::deta...
22.8125
100
0.658904
sbu-fsl
a050b35eeea30520be28878ed3a557363b030e82
502
cpp
C++
src/PeerNotificationOfMintService.cpp
izzy-developer/core
32b83537a255aeef50a64252ea001c99c7e69a01
[ "MIT" ]
null
null
null
src/PeerNotificationOfMintService.cpp
izzy-developer/core
32b83537a255aeef50a64252ea001c99c7e69a01
[ "MIT" ]
null
null
null
src/PeerNotificationOfMintService.cpp
izzy-developer/core
32b83537a255aeef50a64252ea001c99c7e69a01
[ "MIT" ]
1
2022-03-15T23:32:26.000Z
2022-03-15T23:32:26.000Z
#include <PeerNotificationOfMintService.h> #include <uint256.h> #include <net.h> #include <protocol.h> PeerNotificationOfMintService::PeerNotificationOfMintService( std::vector<CNode*>& peers ): peers_(peers) { } bool PeerNotificationOfMintService::havePeersToNotify() const { return !peers_.empty(); } vo...
21.826087
79
0.729084
izzy-developer
a052e433a1e4d331bd91972d8582fe3336ab0752
5,927
cc
C++
kernel/source/System.cc
brunexgeek/machina
e65c275cf57031b2e859802eff19eb40284299db
[ "Apache-2.0" ]
8
2016-09-24T14:17:57.000Z
2021-09-21T17:15:49.000Z
kernel/source/System.cc
brunexgeek/machina
e65c275cf57031b2e859802eff19eb40284299db
[ "Apache-2.0" ]
null
null
null
kernel/source/System.cc
brunexgeek/machina
e65c275cf57031b2e859802eff19eb40284299db
[ "Apache-2.0" ]
null
null
null
#include <sys/system.h> #include <sys/sysio.h> #include <sys/errors.h> #include <sys/bcm2837.h> #include <sys/types.h> #include <sys/sync.h> #include <sys/timer.hh> #include <sys/heap.h> #include <sys/pmm.hh> #include <machina/VMM.hh> #include <sys/Display.hh> #include <sys/Screen.hh> #include <sys/mailbox.h> #include ...
19.69103
87
0.66138
brunexgeek
a057288f6491ef93600ed75057f53cbabdb3215c
2,356
hpp
C++
source/xyo/xyo-networking-socket.hpp
g-stefan/xyo
e203cb699d6bba46eae6c8157f27ea29ab7506f1
[ "MIT", "Unlicense" ]
null
null
null
source/xyo/xyo-networking-socket.hpp
g-stefan/xyo
e203cb699d6bba46eae6c8157f27ea29ab7506f1
[ "MIT", "Unlicense" ]
null
null
null
source/xyo/xyo-networking-socket.hpp
g-stefan/xyo
e203cb699d6bba46eae6c8157f27ea29ab7506f1
[ "MIT", "Unlicense" ]
null
null
null
// // XYO // // Copyright (c) 2020-2021 Grigore Stefan <g_stefan@yahoo.com> // Created by Grigore Stefan <g_stefan@yahoo.com> // // MIT License (MIT) <http://opensource.org/licenses/MIT> // #ifndef XYO_NETWORKING_SOCKET_HPP #define XYO_NETWORKING_SOCKET_HPP #ifndef XYO_NETWORKING_NETWORK_HPP #include "xy...
24.541667
63
0.716469
g-stefan
a05a50765d3b069636de3e0c7a272c57d16bf3b4
7,247
hpp
C++
test/functional/forall/reduce-multiple-segment/tests/test-forall-segment-multiple-ReduceSum.hpp
ggeorgakoudis/RAJA
05f4a5e473a4160ddfdb5e829b4fdc9e0384ae26
[ "BSD-3-Clause" ]
1
2020-11-19T04:55:20.000Z
2020-11-19T04:55:20.000Z
test/functional/forall/reduce-multiple-segment/tests/test-forall-segment-multiple-ReduceSum.hpp
ggeorgakoudis/RAJA
05f4a5e473a4160ddfdb5e829b4fdc9e0384ae26
[ "BSD-3-Clause" ]
null
null
null
test/functional/forall/reduce-multiple-segment/tests/test-forall-segment-multiple-ReduceSum.hpp
ggeorgakoudis/RAJA
05f4a5e473a4160ddfdb5e829b4fdc9e0384ae26
[ "BSD-3-Clause" ]
null
null
null
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~// // Copyright (c) 2016-20, Lawrence Livermore National Security, LLC // and RAJA project contributors. See the RAJA/COPYRIGHT file for details. // // SPDX-License-Identifier: (BSD-3-Clause) //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
37.35567
81
0.62688
ggeorgakoudis
a05b14db1fcc5898b89124aebc5ac61e1f8f80a1
4,520
cpp
C++
include/hydro/engine/core.cpp
hydraate/hydro
42037a8278dcfdca68fb5cceaf6988da861f0eff
[ "Apache-2.0" ]
null
null
null
include/hydro/engine/core.cpp
hydraate/hydro
42037a8278dcfdca68fb5cceaf6988da861f0eff
[ "Apache-2.0" ]
null
null
null
include/hydro/engine/core.cpp
hydraate/hydro
42037a8278dcfdca68fb5cceaf6988da861f0eff
[ "Apache-2.0" ]
null
null
null
// // __ __ __ // / / / /__ __ ____/ /_____ ____ // / /_/ // / / // __ // ___// __ \ // / __ // /_/ // /_/ // / / /_/ / // /_/ /_/ \__, / \__,_//_/ \____/ // /____/ // // ...
10.917874
75
0.520796
hydraate
a05c4dbe94e5b34750c26ec518ccecec4a60bd21
3,977
cpp
C++
raspberry/particle_slam.cpp
stheophil/MappingRover2
25d968a4f27016a3eb61b70e48d3f137887d440c
[ "MIT" ]
11
2015-11-12T11:12:50.000Z
2021-07-27T02:15:23.000Z
raspberry/particle_slam.cpp
stheophil/MappingRover2
25d968a4f27016a3eb61b70e48d3f137887d440c
[ "MIT" ]
null
null
null
raspberry/particle_slam.cpp
stheophil/MappingRover2
25d968a4f27016a3eb61b70e48d3f137887d440c
[ "MIT" ]
5
2015-11-12T03:10:28.000Z
2018-12-02T21:38:21.000Z
#include "particle_slam.h" #include "robot_configuration.h" #include "error_handling.h" #include "occupancy_grid.inl" #include <boost/range/algorithm/max_element.hpp> #include <boost/range/adaptor/transformed.hpp> #include <opencv2/imgproc.hpp> #include <iostream> #include <random> #include <future> ////////////////...
33.141667
102
0.629117
stheophil
a05daf912350cae6cd5ca8e8354d387667c75fe6
678
cpp
C++
src/cpp_language_linkage.cpp
Silveryard/cppast
6bb3f330cb0aec63e5631e175c24428581a34b0b
[ "MIT" ]
null
null
null
src/cpp_language_linkage.cpp
Silveryard/cppast
6bb3f330cb0aec63e5631e175c24428581a34b0b
[ "MIT" ]
null
null
null
src/cpp_language_linkage.cpp
Silveryard/cppast
6bb3f330cb0aec63e5631e175c24428581a34b0b
[ "MIT" ]
null
null
null
// Copyright (C) 2017-2022 Jonathan Müller and cppast contributors // SPDX-License-Identifier: MIT #include <cppast/cpp_language_linkage.hpp> #include <cppast/cpp_entity_kind.hpp> using namespace cppast; cpp_entity_kind cpp_language_linkage::kind() noexcept { return cpp_entity_kind::language_linkage_t; } bool ...
23.37931
74
0.707965
Silveryard
a05ec922b76dbf54bfacf45ade3eabbe8eb470d5
8,304
cpp
C++
src/main.cpp
Sensenzhl/RCNN-NVDLA
e6b8a7ef2af061676d406d2f51dcd1ab809b5a1d
[ "Vim" ]
5
2019-06-26T07:50:43.000Z
2021-12-17T08:52:39.000Z
src/main.cpp
Sensenzhl/RCNN-NVDLA
e6b8a7ef2af061676d406d2f51dcd1ab809b5a1d
[ "Vim" ]
1
2019-11-28T06:57:49.000Z
2019-11-28T06:57:49.000Z
src/main.cpp
Sensenzhl/RCNN-NVDLA
e6b8a7ef2af061676d406d2f51dcd1ab809b5a1d
[ "Vim" ]
1
2020-05-27T06:11:17.000Z
2020-05-27T06:11:17.000Z
#include "defines.hpp" #include "main.hpp" int main(int argc, char *argv[]) { double score; IplImage *img; CvMat temp; Mat image_draw; Mat image_temp; float *ptr; float *ptr_temp; float *ptr_thresholded; float *ptr_scored; float *ptr_removed_duplicate; int flag_box_exist=0; //getFile...
29.136842
130
0.572977
Sensenzhl
a0633cc1c051b9b53e05f788bd694fdac2b37e70
2,328
cpp
C++
experimental/brunsc/python_console/convert_simtk_vec3.cpp
lens-biophotonics/v3d_external
44ff3b60a297a96eaa77ca092e0de9af5c990ed3
[ "MIT" ]
39
2015-05-10T23:23:03.000Z
2022-01-26T01:31:30.000Z
experimental/brunsc/python_console/convert_simtk_vec3.cpp
lens-biophotonics/v3d_external
44ff3b60a297a96eaa77ca092e0de9af5c990ed3
[ "MIT" ]
13
2016-03-04T05:29:23.000Z
2021-02-07T01:11:10.000Z
experimental/brunsc/python_console/convert_simtk_vec3.cpp
lens-biophotonics/v3d_external
44ff3b60a297a96eaa77ca092e0de9af5c990ed3
[ "MIT" ]
44
2015-11-11T07:30:59.000Z
2021-12-26T16:41:21.000Z
#include "convert_simtk_vec3.hpp" #include "SimTKcommon/SmallMatrix.h" #include <boost/python.hpp> namespace bp = boost::python; namespace stk = SimTK; struct vec3_to_python_tuple { static PyObject* convert(SimTK::Vec3 const& v) { std::vector<SimTK::Real> values(&v[0], &v[0] + 3); return bp::i...
28.048193
84
0.579897
lens-biophotonics
a06647cc4ed4e5721156752b70feed5e2e399295
565
cpp
C++
LeetCode/Problems/Algorithms/#645_SetMismatch_sol4_visited_vector_O(N)_time_O(N)_extra_space_24ms_21.4MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
1
2022-01-26T14:50:07.000Z
2022-01-26T14:50:07.000Z
LeetCode/Problems/Algorithms/#645_SetMismatch_sol4_visited_vector_O(N)_time_O(N)_extra_space_24ms_21.4MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
LeetCode/Problems/Algorithms/#645_SetMismatch_sol4_visited_vector_O(N)_time_O(N)_extra_space_24ms_21.4MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
class Solution { public: vector<int> findErrorNums(vector<int>& nums) { const int N = nums.size(); int duplicate = -1; int missing = -1; vector<bool> vis(N + 1, false); for(int num: nums){ if(vis[num]){ duplicate = num; ...
23.541667
51
0.380531
Tudor67
a067312eeebb22ba175f1c44fa0cd58ecb1122b1
4,220
cc
C++
exegesis/x86/operand_translator_test.cc
mrexodia/EXEgesis
91af85cfdd5d5b2e8d5d2a04aaa5d5175685acc7
[ "Apache-2.0" ]
null
null
null
exegesis/x86/operand_translator_test.cc
mrexodia/EXEgesis
91af85cfdd5d5b2e8d5d2a04aaa5d5175685acc7
[ "Apache-2.0" ]
null
null
null
exegesis/x86/operand_translator_test.cc
mrexodia/EXEgesis
91af85cfdd5d5b2e8d5d2a04aaa5d5175685acc7
[ "Apache-2.0" ]
null
null
null
// Copyright 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
28.133333
78
0.645261
mrexodia
a0681f9df9d7c68c7c3c98257c34a33e4a055fb3
569
cpp
C++
level_zero/tools/source/sysman/linux/pmt/pmt_helper.cpp
lukaszgotszaldintel/compute-runtime
9b12dc43904806db07616ffb8b1c4495aa7d610f
[ "MIT" ]
null
null
null
level_zero/tools/source/sysman/linux/pmt/pmt_helper.cpp
lukaszgotszaldintel/compute-runtime
9b12dc43904806db07616ffb8b1c4495aa7d610f
[ "MIT" ]
null
null
null
level_zero/tools/source/sysman/linux/pmt/pmt_helper.cpp
lukaszgotszaldintel/compute-runtime
9b12dc43904806db07616ffb8b1c4495aa7d610f
[ "MIT" ]
null
null
null
/* * Copyright (C) 2020-2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "level_zero/tools/source/sysman/linux/pmt/pmt.h" namespace L0 { const std::map<std::string, uint64_t> deviceKeyOffsetMap = { {"PACKAGE_ENERGY", 0x400}, {"COMPUTE_TEMPERATURES", 0x68}, {"SOC_TEMPERATURES", 0...
24.73913
118
0.711775
lukaszgotszaldintel
a06975d84bbf1316389188c2b68832431f32791a
3,072
cc
C++
src/core/vulkan/debug_msg.cc
5aitama/Bismuth
00fbd13a08ac08b77413d4a6797b1daa84a892cf
[ "MIT" ]
null
null
null
src/core/vulkan/debug_msg.cc
5aitama/Bismuth
00fbd13a08ac08b77413d4a6797b1daa84a892cf
[ "MIT" ]
null
null
null
src/core/vulkan/debug_msg.cc
5aitama/Bismuth
00fbd13a08ac08b77413d4a6797b1daa84a892cf
[ "MIT" ]
null
null
null
#include "debug_msg.h" using namespace std; DebugMessenger::DebugMessenger( const VkInstance& instance, const VkDebugUtilsMessengerCreateInfoEXT* createInfoExt ) : instance(instance) { #ifndef NDEBUG if(CreateDebugUtilsMessengerEXT(instance, createInfoExt, nullptr, &callback) != VK_SUCCESS) ...
33.758242
156
0.73763
5aitama
a06e3d6cf6537e682482b2355ea46c0e81da58a1
5,411
cpp
C++
snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties/CPP/controlproperties.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
834
2017-06-24T10:40:36.000Z
2022-03-31T19:48:51.000Z
snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties/CPP/controlproperties.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
7,042
2017-06-23T22:34:47.000Z
2022-03-31T23:05:23.000Z
snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties/CPP/controlproperties.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
1,640
2017-06-23T22:31:39.000Z
2022-03-31T02:45:37.000Z
#using <System.Data.dll> #using <System.Windows.Forms.dll> #using <System.dll> #using <System.Drawing.dll> using namespace System; using namespace System::Drawing; using namespace System::Collections; using namespace System::ComponentModel; using namespace System::Windows::Forms; using namespace System::Data; names...
31.643275
150
0.598226
BohdanMosiyuk
a06e51350b082ceec2d9139791eca4120c74d8e5
1,623
hh
C++
CommManipulatorObjects/smartsoft/src-gen/CommManipulatorObjects/CommVacuumGripperEventStateACE.hh
canonical-robots/DomainModelsRepositories
68b9286d84837e5feb7b200833b158ab9c2922a4
[ "BSD-3-Clause" ]
null
null
null
CommManipulatorObjects/smartsoft/src-gen/CommManipulatorObjects/CommVacuumGripperEventStateACE.hh
canonical-robots/DomainModelsRepositories
68b9286d84837e5feb7b200833b158ab9c2922a4
[ "BSD-3-Clause" ]
2
2020-08-20T14:49:47.000Z
2020-10-07T16:10:07.000Z
CommManipulatorObjects/smartsoft/src-gen/CommManipulatorObjects/CommVacuumGripperEventStateACE.hh
canonical-robots/DomainModelsRepositories
68b9286d84837e5feb7b200833b158ab9c2922a4
[ "BSD-3-Clause" ]
8
2018-06-25T08:41:28.000Z
2020-08-13T10:39:30.000Z
//-------------------------------------------------------------------------- // Code generated by the SmartSoft MDSD Toolchain // The SmartSoft Toolchain has been developed by: // // Service Robotics Research Center // University of Applied Sciences Ulm // Prittwitzstr. 10 // 89075 Ulm (Germany) // // Information abo...
45.083333
116
0.754775
canonical-robots
a06f522b40afbef674cf7b485b0815554f5f343a
1,712
hh
C++
GeneralUtilities/inc/RSNTIO.hh
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
9
2020-03-28T00:21:41.000Z
2021-12-09T20:53:26.000Z
GeneralUtilities/inc/RSNTIO.hh
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
684
2019-08-28T23:37:43.000Z
2022-03-31T22:47:45.000Z
GeneralUtilities/inc/RSNTIO.hh
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
61
2019-08-16T23:28:08.000Z
2021-12-20T08:29:48.000Z
// Data structures used to dump info and then re-sample particles from // a ROOT tree in some multi-stage job configurations. // // Andrei Gaponenko, 2015 #ifndef GeneralUtilities_inc_RSNTIO_hh #define GeneralUtilities_inc_RSNTIO_hh namespace mu2e { namespace IO { //============================================...
24.112676
79
0.488318
bonventre
a0703053140cfab9dea50462c88f3a2ee5740f6e
5,497
cpp
C++
src/rivercrossing/rivercrossing.cpp
WatchJolley/rivercrossing
694c4245a8a5ae000e8d6338695a24dcedbb13a8
[ "MIT" ]
null
null
null
src/rivercrossing/rivercrossing.cpp
WatchJolley/rivercrossing
694c4245a8a5ae000e8d6338695a24dcedbb13a8
[ "MIT" ]
null
null
null
src/rivercrossing/rivercrossing.cpp
WatchJolley/rivercrossing
694c4245a8a5ae000e8d6338695a24dcedbb13a8
[ "MIT" ]
null
null
null
#include "rivercrossing/rivercrossing.h" #include "rivercrossing/movement_network.h" bool RiverCrossing::optimisationCheck(int x, int y) { double startA = SM.getActivity(x, y); double bestA = startA; int newX = x; int newY = y; for (int x2 = f(x, -2, RIVER::x); x2 <= f(x, 2, RIVER::x); x2++) { for (int ...
25.215596
91
0.538294
WatchJolley
a0704c167849356e9549e02fa6180431189c41a8
805
cpp
C++
cpp/cpp/14. Longest Common Prefix.cpp
longwangjhu/LeetCode
a5c33e8d67e67aedcd439953d96ac7f443e2817b
[ "MIT" ]
3
2021-08-07T07:01:34.000Z
2021-08-07T07:03:02.000Z
cpp/cpp/14. Longest Common Prefix.cpp
longwangjhu/LeetCode
a5c33e8d67e67aedcd439953d96ac7f443e2817b
[ "MIT" ]
null
null
null
cpp/cpp/14. Longest Common Prefix.cpp
longwangjhu/LeetCode
a5c33e8d67e67aedcd439953d96ac7f443e2817b
[ "MIT" ]
null
null
null
// https://leetcode.com/problems/longest-common-prefix/ // Write a function to find the longest common prefix string amongst an array of // strings. // If there is no common prefix, return an empty string "". //////////////////////////////////////////////////////////////////////////////// class Solution { public: ...
28.75
80
0.445963
longwangjhu
a0718acb0d7fca7e6d429a78a6e93d1b26d22975
5,228
cxx
C++
main/sal/osl/all/debugbase.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/sal/osl/all/debugbase.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/sal/osl/all/debugbase.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * 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 y...
32.880503
79
0.646136
Grosskopf
a071db0dee153f6c9c571993f502d3c81640ccfc
7,876
cpp
C++
src/tests/add-ons/kernel/file_systems/udf/r5/UdfString.cpp
axeld/haiku
e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4
[ "MIT" ]
4
2017-06-17T22:03:56.000Z
2019-01-25T10:51:55.000Z
src/tests/add-ons/kernel/file_systems/udf/r5/UdfString.cpp
axeld/haiku
e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4
[ "MIT" ]
null
null
null
src/tests/add-ons/kernel/file_systems/udf/r5/UdfString.cpp
axeld/haiku
e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4
[ "MIT" ]
3
2018-12-17T13:07:38.000Z
2021-09-08T13:07:31.000Z
#include "UdfString.h" #include "ByteOrder.h" /*! \brief Converts the given unicode character to utf8. \param c The unicode character. \param out Pointer to a C-string of at least 4 characters long into which the output utf8 characters will be written. The string that is pointed to will ...
25.162939
88
0.621508
axeld
a07229e840ea6f28a1c50a25def309b496814818
3,448
cpp
C++
src/sdk/utils/base32.cpp
proximax-storage/cpp-xpx-chain-sdk
ff562e8a089849eb0b7f8edc83ad61c7a2728f34
[ "Apache-2.0" ]
1
2019-12-06T06:55:37.000Z
2019-12-06T06:55:37.000Z
src/sdk/utils/base32.cpp
proximax-storage/cpp-xpx-chain-sdk
ff562e8a089849eb0b7f8edc83ad61c7a2728f34
[ "Apache-2.0" ]
null
null
null
src/sdk/utils/base32.cpp
proximax-storage/cpp-xpx-chain-sdk
ff562e8a089849eb0b7f8edc83ad61c7a2728f34
[ "Apache-2.0" ]
null
null
null
/** *** Copyright 2019 ProximaX Limited. All rights reserved. *** Use of this source code is governed by the Apache 2.0 *** license that can be found in the LICENSE file. **/ #include <xpxchaincpp/utils/base32.h> #include <cctype> namespace xpx_chain_sdk { namespace { const char* Base32_Alphabet = "ABCDEFGHIJKLM...
26.121212
103
0.652552
proximax-storage
a07330bb7caaefec44d44cac204c32877e003639
11,614
cpp
C++
deps/libgeos/geos/src/geomgraph/EdgeEndStar.cpp
khrushjing/node-gdal-async
6546b0c8690f2db677d5385b40b407523503b314
[ "Apache-2.0" ]
42
2021-03-26T17:34:52.000Z
2022-03-18T14:15:31.000Z
deps/libgeos/geos/src/geomgraph/EdgeEndStar.cpp
khrushjing/node-gdal-async
6546b0c8690f2db677d5385b40b407523503b314
[ "Apache-2.0" ]
29
2021-06-03T14:24:01.000Z
2022-03-23T15:43:58.000Z
deps/libgeos/geos/src/geomgraph/EdgeEndStar.cpp
khrushjing/node-gdal-async
6546b0c8690f2db677d5385b40b407523503b314
[ "Apache-2.0" ]
8
2021-05-14T19:26:37.000Z
2022-03-21T13:44:42.000Z
/********************************************************************** * * GEOS - Geometry Engine Open Source * http://geos.osgeo.org * * Copyright (C) 2011 Sandro Santilli <strk@kbt.io> * Copyright (C) 2005-2006 Refractions Research Inc. * Copyright (C) 2001-2002 Vivid Solutions Inc. * * This is free softwar...
31.304582
92
0.5855
khrushjing
a0760b5ff624b06be1f243f7da1f7df0e1b2bbdd
3,464
cpp
C++
dstore/network/socket.cpp
Charles0429/dstore
a825e6c4cc30d853f10b7a56f5a9286c2e57cc75
[ "MIT" ]
78
2016-09-24T16:56:00.000Z
2022-03-05T01:05:40.000Z
dstore/network/socket.cpp
Charles0429/dstore
a825e6c4cc30d853f10b7a56f5a9286c2e57cc75
[ "MIT" ]
null
null
null
dstore/network/socket.cpp
Charles0429/dstore
a825e6c4cc30d853f10b7a56f5a9286c2e57cc75
[ "MIT" ]
9
2016-09-30T07:45:35.000Z
2022-03-18T02:43:53.000Z
#include "socket.h" #include <errno.h> #include "errno_define.h" #include "socket_operator.h" #include "log.h" using namespace dstore::network; ListenSocket::ListenSocket(void) : listen_fd_(-1) { } ListenSocket::ListenSocket(int listen_fd) : listen_fd_(listen_fd) { } ListenSocket::~ListenSocket(void) { } void ...
19.460674
106
0.670035
Charles0429
a079f25c5f518f88abc920c6bdce081a1096dec5
8,001
cpp
C++
gen/windows/kin/eigen/src/p_VectorNav_to_LeftToeBottom.cpp
UMich-BipedLab/Cassie_StateEstimation
d410ddce0ab342651f5ec0540c2867faf959a3a9
[ "BSD-3-Clause" ]
26
2018-07-20T15:20:19.000Z
2022-03-14T07:12:12.000Z
gen/windows/kin/eigen/src/p_VectorNav_to_LeftToeBottom.cpp
UMich-BipedLab/Cassie_StateEstimation
d410ddce0ab342651f5ec0540c2867faf959a3a9
[ "BSD-3-Clause" ]
2
2019-04-19T22:57:00.000Z
2022-01-11T12:46:20.000Z
gen/windows/kin/eigen/src/p_VectorNav_to_LeftToeBottom.cpp
UMich-BipedLab/Cassie_StateEstimation
d410ddce0ab342651f5ec0540c2867faf959a3a9
[ "BSD-3-Clause" ]
10
2018-07-29T08:05:14.000Z
2022-02-03T08:48:11.000Z
/* * Automatically Generated from Mathematica. * Thu 23 May 2019 13:11:48 GMT-04:00 */ #include <stdio.h> #include <stdlib.h> #include <math.h> #include "p_VectorNav_to_LeftToeBottom.h" #ifdef _MSC_VER #define INLINE __forceinline /* use __forceinline (VC++ specific) */ #else #define INLINE static...
24.46789
302
0.648919
UMich-BipedLab
a07a80b46816c1985521c15c05f81b3e980c341c
48,255
cc
C++
CryoMEM/cacti/old_src/uca.cc
SNU-HPCS/CryoModel
07a3fbe3f3d44c7960b5aed562a90e204014eea0
[ "MIT" ]
2
2021-05-26T12:32:46.000Z
2021-12-15T13:10:37.000Z
CryoMEM/cacti/old_src/uca.cc
SNU-HPCS/CryoModel
07a3fbe3f3d44c7960b5aed562a90e204014eea0
[ "MIT" ]
1
2022-03-02T01:49:20.000Z
2022-03-18T10:37:59.000Z
CryoMEM/cacti/old_src/uca.cc
SNU-HPCS/CryoModel
07a3fbe3f3d44c7960b5aed562a90e204014eea0
[ "MIT" ]
null
null
null
/***************************************************************************** * CACTI 7.0 * SOFTWARE LICENSE AGREEMENT * Copyright 2015 Hewlett-Packard Development Company, L.P. * All Rights Reserved * * Redistribution and us...
56.904481
160
0.589763
SNU-HPCS
a07b0749198d5d3300b136c0be01d0c2f1d362e4
11,583
hpp
C++
applications/ExternalSolversApplication/external_includes/for_parallel_superlu/superlu.hpp
jiaqiwang969/Kratos-test
ed082abc163e7b627f110a1ae1da465f52f48348
[ "BSD-4-Clause" ]
null
null
null
applications/ExternalSolversApplication/external_includes/for_parallel_superlu/superlu.hpp
jiaqiwang969/Kratos-test
ed082abc163e7b627f110a1ae1da465f52f48348
[ "BSD-4-Clause" ]
null
null
null
applications/ExternalSolversApplication/external_includes/for_parallel_superlu/superlu.hpp
jiaqiwang969/Kratos-test
ed082abc163e7b627f110a1ae1da465f52f48348
[ "BSD-4-Clause" ]
null
null
null
/* * * Copyright (c) Kresimir Fresl 2003 * Copyright (c) Georg Baum 2004 * * Permission to copy, modify, use and distribute this software * for any non-commercial or commercial purpose is granted provided * that this license appear on all copies of the software source code. * * Author assumes no responsibility...
36.084112
109
0.538203
jiaqiwang969
a07d4c9a55b588b6021614471fddb06506f576a0
2,702
cpp
C++
tests/generators.deactivated/lesson_21_auto_generate_0.cpp
fish2000/halogen
6962e9babc49bcb845deb72b0e5ed5033a2444a6
[ "MIT" ]
6
2016-08-24T14:28:29.000Z
2019-07-26T22:23:06.000Z
tests/generators.deactivated/lesson_21_auto_generate_0.cpp
fish2000/halogen
6962e9babc49bcb845deb72b0e5ed5033a2444a6
[ "MIT" ]
2
2018-08-11T22:47:00.000Z
2020-11-19T13:49:26.000Z
tests/generators.deactivated/lesson_21_auto_generate_0.cpp
fish2000/halogen
6962e9babc49bcb845deb72b0e5ed5033a2444a6
[ "MIT" ]
null
null
null
#include "Halide.h" using namespace Halide; class AutoScheduled : public Halide::Generator<AutoScheduled> { public: Input<Buffer<float>> input{ "input", 3 }; Input<float> factor{ "factor" }; Output<Buffer<float>> output1{ "output1", 2 }; Output<Buffer<...
39.735294
98
0.417469
fish2000
a07e8c8d24dfd8d68f888109c8de0731638a7a6c
4,619
cxx
C++
Common/DataModel/vtkLagrangeHexahedron.cxx
LongerVisionUSA/VTK
1170774b6611c71b95c28bb821d51c2c18ff091f
[ "BSD-3-Clause" ]
1,755
2015-01-03T06:55:00.000Z
2022-03-29T05:23:26.000Z
Common/DataModel/vtkLagrangeHexahedron.cxx
LongerVisionUSA/VTK
1170774b6611c71b95c28bb821d51c2c18ff091f
[ "BSD-3-Clause" ]
29
2015-04-23T20:58:30.000Z
2022-03-02T16:16:42.000Z
Common/DataModel/vtkLagrangeHexahedron.cxx
LongerVisionUSA/VTK
1170774b6611c71b95c28bb821d51c2c18ff091f
[ "BSD-3-Clause" ]
1,044
2015-01-05T22:48:27.000Z
2022-03-31T02:38:26.000Z
/*========================================================================= Program: Visualization Toolkit Module: vtkLagrangeHexahedron.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...
33.230216
98
0.708162
LongerVisionUSA
a080683290668721aeabc1263f06df97365f2c05
23,109
cpp
C++
src/threed_beam_fea.cpp
latture/threed-beam-fea
a3443cfe66c852d09f3f7349fbb7a32dfd3582ac
[ "BSD-2-Clause" ]
8
2018-06-11T09:00:34.000Z
2021-01-08T16:21:56.000Z
src/threed_beam_fea.cpp
latture/threed-beam-fea
a3443cfe66c852d09f3f7349fbb7a32dfd3582ac
[ "BSD-2-Clause" ]
null
null
null
src/threed_beam_fea.cpp
latture/threed-beam-fea
a3443cfe66c852d09f3f7349fbb7a32dfd3582ac
[ "BSD-2-Clause" ]
4
2019-11-17T13:26:57.000Z
2020-03-05T15:05:42.000Z
// Copyright 2015. 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 conditions and the following di...
39.706186
132
0.537583
latture
a0823f182da9173595efdef70b3b69e83659b7a6
3,780
cpp
C++
libnhttp/nhttp/server/internals/contents/http_raw_request_content.cpp
jay94ks/libnhttp
a244eb2d04c339454ef4831b43d1ab270ee7d13d
[ "MIT" ]
4
2021-04-11T22:46:13.000Z
2021-05-27T06:01:37.000Z
libnhttp/nhttp/server/internals/contents/http_raw_request_content.cpp
jay94ks/libnhttp
a244eb2d04c339454ef4831b43d1ab270ee7d13d
[ "MIT" ]
3
2021-05-26T04:16:56.000Z
2021-05-27T04:34:14.000Z
libnhttp/nhttp/server/internals/contents/http_raw_request_content.cpp
jay94ks/libnhttp
a244eb2d04c339454ef4831b43d1ab270ee7d13d
[ "MIT" ]
1
2021-04-11T22:46:15.000Z
2021-04-11T22:46:15.000Z
#include "http_raw_request_content.hpp" #include "../http_chunked_buffer.hpp" namespace nhttp { namespace server { http_raw_request_content::http_raw_request_content(std::shared_ptr<http_chunked_buffer> buffer, ssize_t total_bytes) : waiter(false, true), buffer(buffer), total_bytes(total_bytes), read_requested(fal...
22.235294
117
0.678836
jay94ks
a08265b23ba33f1469b0f44856788185cc86b9ab
1,144
cpp
C++
EjerciciosJuez/EjerciciosJuez/dyv4.cpp
Kadaiser/UCM.FDI.EDA
97ab05c06054b90015c27fd4177ed0c3a02b6fbe
[ "Unlicense" ]
null
null
null
EjerciciosJuez/EjerciciosJuez/dyv4.cpp
Kadaiser/UCM.FDI.EDA
97ab05c06054b90015c27fd4177ed0c3a02b6fbe
[ "Unlicense" ]
null
null
null
EjerciciosJuez/EjerciciosJuez/dyv4.cpp
Kadaiser/UCM.FDI.EDA
97ab05c06054b90015c27fd4177ed0c3a02b6fbe
[ "Unlicense" ]
null
null
null
#include<iostream> using namespace std; const int N = 100000; typedef struct { int menor; int mayor; }par; par divide(int *v, int ini, int fin) { par p; if ((ini + 1) == fin) //vector de dos elementos { if (v[ini] <= v[fin])//decidir mayor/menor { p.menor = v[ini]; p.mayor = v[fin]; } else { ...
16.112676
71
0.548951
Kadaiser
a084e4bea63910d8e7bec1b30b26238694bbb5a2
16,607
cpp
C++
Wexport/release/windows/obj/src/openfl/display3D/_internal/_AGALConverter/SourceRegister.cpp
BushsHaxs/FNF-coding-tutorial
596c6a938eb687440cbcddda9a4005db67bc68bb
[ "Apache-2.0" ]
1
2021-07-19T05:10:43.000Z
2021-07-19T05:10:43.000Z
Wexport/release/windows/obj/src/openfl/display3D/_internal/_AGALConverter/SourceRegister.cpp
BushsHaxs/FNF-coding-tutorial
596c6a938eb687440cbcddda9a4005db67bc68bb
[ "Apache-2.0" ]
null
null
null
Wexport/release/windows/obj/src/openfl/display3D/_internal/_AGALConverter/SourceRegister.cpp
BushsHaxs/FNF-coding-tutorial
596c6a938eb687440cbcddda9a4005db67bc68bb
[ "Apache-2.0" ]
1
2021-12-11T09:19:29.000Z
2021-12-11T09:19:29.000Z
#include <hxcpp.h> #ifndef INCLUDED_38344beec7696400 #define INCLUDED_38344beec7696400 #include "cpp/Int64.h" #endif #ifndef INCLUDED_openfl_display3D__internal_AGALConverter #include <openfl/display3D/_internal/AGALConverter.h> #endif #ifndef INCLUDED_openfl_display3D__internal__AGALConverter_ProgramType #include <op...
39.729665
263
0.637924
BushsHaxs
a0854cdc46be26319f323a521cc75876e4b9e912
377
cpp
C++
codelib/dynamic_programming/knapsack2.cpp
TissueRoll/admu-progvar-notebook
efd1c48872d40aeabe2b03af7b986bb831c062b1
[ "MIT" ]
null
null
null
codelib/dynamic_programming/knapsack2.cpp
TissueRoll/admu-progvar-notebook
efd1c48872d40aeabe2b03af7b986bb831c062b1
[ "MIT" ]
null
null
null
codelib/dynamic_programming/knapsack2.cpp
TissueRoll/admu-progvar-notebook
efd1c48872d40aeabe2b03af7b986bb831c062b1
[ "MIT" ]
null
null
null
#include <iostream> #include <cstring> int main() { int N, C; std::cin >> N >> C; int W[N], V[N]; for (int i = 0; i < N; ++i) std::cin >> W[i] >> V[i]; int dp[C + 1]; memset(dp, 0, sizeof dp); for (int w = 0; w <= C; ++w) for (int i = 0; i < N; ++i) dp[w] = (w < W[i]) ? dp[w] : dp[w - W[i...
17.952381
55
0.416446
TissueRoll
a0875bc7620f11832ee4b123d023c6d15c691c98
591
cc
C++
algo/dp/palindrome.cc
liuheng/recipes
6f3759ab4e4fa64d9fd83a60ee6b6846510d910b
[ "MIT" ]
null
null
null
algo/dp/palindrome.cc
liuheng/recipes
6f3759ab4e4fa64d9fd83a60ee6b6846510d910b
[ "MIT" ]
null
null
null
algo/dp/palindrome.cc
liuheng/recipes
6f3759ab4e4fa64d9fd83a60ee6b6846510d910b
[ "MIT" ]
null
null
null
#include <cstdio> #include <algorithm> #include <string> using namespace std; int minCut(const string &s) { int N = s.length(); bool p[N][N]; int f[N+1]; for (int j=0; j<=N; ++j) { f[j] = j-1; p[j][j] = true; for (int i=0; i<j; ++i) { if (s.at(i) == s.at(j-1) && (j ...
19.7
69
0.382403
liuheng
a087ce3c898567dc12a5de7b6fa9cb3c1796b19e
420
cpp
C++
_learning/cpp/karan.cpp
kerbless/uncoding
4da2d3c497a1ab57ac28e2668d09ba4edf7a42e3
[ "MIT" ]
null
null
null
_learning/cpp/karan.cpp
kerbless/uncoding
4da2d3c497a1ab57ac28e2668d09ba4edf7a42e3
[ "MIT" ]
null
null
null
_learning/cpp/karan.cpp
kerbless/uncoding
4da2d3c497a1ab57ac28e2668d09ba4edf7a42e3
[ "MIT" ]
null
null
null
#include <iostream> #include <cstring> unsing namespace std; struct karan_list { char* name; int price; karan_list* pointer_to_itself; } banana; class karan_class { karan_list*; public: } //karan_list banana; //same thing as line 9 "banana" int main(int argc, char *argv[]) { //karan_list ban...
19.090909
75
0.661905
kerbless
a0881f28bc370a9ebdef061cf2c9d6948b6822e0
39,119
cpp
C++
tests/get_kv_table_nodeos_tests.cpp
forfreeday/eos
11d35f0f934402321853119d36caeb7022813743
[ "Apache-2.0", "MIT" ]
13,162
2017-05-29T22:08:27.000Z
2022-03-29T19:25:05.000Z
tests/get_kv_table_nodeos_tests.cpp
forfreeday/eos
11d35f0f934402321853119d36caeb7022813743
[ "Apache-2.0", "MIT" ]
6,450
2017-05-30T14:41:50.000Z
2022-03-30T11:30:04.000Z
tests/get_kv_table_nodeos_tests.cpp
forfreeday/eos
11d35f0f934402321853119d36caeb7022813743
[ "Apache-2.0", "MIT" ]
4,491
2017-05-29T22:08:32.000Z
2022-03-29T07:09:52.000Z
#include <boost/test/unit_test.hpp> #include <boost/algorithm/string/predicate.hpp> #include <eosio/testing/tester.hpp> #include <eosio/chain/abi_serializer.hpp> #include <eosio/chain/wasm_eosio_constraints.hpp> #include <eosio/chain/resource_limits.hpp> #include <eosio/chain/exceptions.hpp> #include <eosio/chain/wast...
29.568405
113
0.657839
forfreeday
a0885664a8581abe9dee5a5222aa1b2ec1f917fa
853
cpp
C++
CodeForces/Complete/300-399/367A-SerejaAndAlgorithm.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
CodeForces/Complete/300-399/367A-SerejaAndAlgorithm.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
CodeForces/Complete/300-399/367A-SerejaAndAlgorithm.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
#include <cstdio> #include <iostream> #include <string> #include <vector> #include <algorithm> int main(){ std::string input; getline(std::cin, input); std::vector<std::vector<long> > counts(1 + input.size(), std::vector<long>(3,0)); for(long p = 1; p <= input.size(); p++){ for(long q = 0; q < 3;...
30.464286
97
0.502931
Ashwanigupta9125
a08a2380c9836f91a03bd0327e1d35993eb3e767
3,370
cpp
C++
kernel/arch/x86_64/device/acpi.cpp
fengjixuchui/WingOS
5ab44c9748888bba677c08e8332b6c84bc2374f6
[ "BSD-2-Clause" ]
null
null
null
kernel/arch/x86_64/device/acpi.cpp
fengjixuchui/WingOS
5ab44c9748888bba677c08e8332b6c84bc2374f6
[ "BSD-2-Clause" ]
null
null
null
kernel/arch/x86_64/device/acpi.cpp
fengjixuchui/WingOS
5ab44c9748888bba677c08e8332b6c84bc2374f6
[ "BSD-2-Clause" ]
null
null
null
#include <com.h> #include <device/acpi.h> #include <device/apic.h> #include <logging.h> #include <utility.h> #include <virtual.h> acpi main_acpi; void *get_rsdp(void) { for (uintptr_t i = get_mem_addr(0x80000); i < get_mem_addr(0x100000); i += 16) { if (i == get_mem_addr(0xa0000)) { ...
22.466667
123
0.557567
fengjixuchui
a08dcd49634673392fcca1df1e110bcc82239866
12,147
cpp
C++
psx/_dump_/_dump_merge_c_src_/diabpsx/psxsrc/glue.cpp
maoa3/scalpel
2e7381b516cded28996d290438acc618d00b2aa7
[ "Unlicense" ]
null
null
null
psx/_dump_/_dump_merge_c_src_/diabpsx/psxsrc/glue.cpp
maoa3/scalpel
2e7381b516cded28996d290438acc618d00b2aa7
[ "Unlicense" ]
null
null
null
psx/_dump_/_dump_merge_c_src_/diabpsx/psxsrc/glue.cpp
maoa3/scalpel
2e7381b516cded28996d290438acc618d00b2aa7
[ "Unlicense" ]
null
null
null
// C:\diabpsx\PSXSRC\GLUE.CPP #include "types.h" // address: 0x8009250C // line start: 417 // line end: 569 void BgTask__FP4TASK(struct TASK *T) { // register: 2 // size: 0x10 register struct DEF_ARGS *Args; // register: 19 register bool IsTown; // register: 16 register int TextId; // register: 17 register...
20.380872
148
0.718614
maoa3
a08dfa504231b7ecc0ddbf1965dd6b74532c4bab
968
cpp
C++
src/mbgl/style/layers/raster_layer_properties.cpp
roblabs/maplibre-gl-native
d62ff400c6f75750d71b563344b1ca1e07b9b576
[ "BSD-2-Clause", "BSD-3-Clause" ]
4,234
2015-01-09T08:10:16.000Z
2022-03-30T14:13:55.000Z
src/mbgl/style/layers/raster_layer_properties.cpp
roblabs/maplibre-gl-native
d62ff400c6f75750d71b563344b1ca1e07b9b576
[ "BSD-2-Clause", "BSD-3-Clause" ]
12,771
2015-01-01T20:27:42.000Z
2022-03-24T18:14:44.000Z
src/mbgl/style/layers/raster_layer_properties.cpp
roblabs/maplibre-gl-native
d62ff400c6f75750d71b563344b1ca1e07b9b576
[ "BSD-2-Clause", "BSD-3-Clause" ]
1,571
2015-01-08T08:24:53.000Z
2022-03-28T06:30:53.000Z
// clang-format off // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #include <mbgl/style/layers/raster_layer_properties.hpp> #include <mbgl/style/layers/raster_layer_impl.hpp> namespace mbgl { namespace style { RasterLayerProperties::RasterLayerProperties( Immutable<...
26.888889
91
0.762397
roblabs
a08ed3ac88c6ac54150aab794124e7716ce128f7
811
cpp
C++
answers/ArghyaDas21112001/Day 6/Question 1.cpp
arc03/30-DaysOfCode-March-2021
6d6e11bf70280a578113f163352fa4fa8408baf6
[ "MIT" ]
22
2021-03-16T14:07:47.000Z
2021-08-13T08:52:50.000Z
answers/ArghyaDas21112001/Day 6/Question 1.cpp
arc03/30-DaysOfCode-March-2021
6d6e11bf70280a578113f163352fa4fa8408baf6
[ "MIT" ]
174
2021-03-16T21:16:40.000Z
2021-06-12T05:19:51.000Z
answers/ArghyaDas21112001/Day 6/Question 1.cpp
arc03/30-DaysOfCode-March-2021
6d6e11bf70280a578113f163352fa4fa8408baf6
[ "MIT" ]
135
2021-03-16T16:47:12.000Z
2021-06-27T14:22:38.000Z
#include <iostream> using namespace std; int main() { int size; cout<<"enter the size: "; cin>>size; int max=0; int candies[size]; cout<<"Enter the candies: "; for(int i=0;i<size;i++) { cin>>candies[i]; } int extraCandies; cout<<"Enter the extraCandies: "; cin>>...
16.22
42
0.409371
arc03
a090aa811b06cf2c0bb33ae37df066622432cd64
4,016
cpp
C++
tests/src/deviceLib/hip_threadfence_system.cpp
JosephGeoBenjamin/HIP-forOpenCV
c48a8df33d59d84ef2180fb17a539b404f04429f
[ "MIT" ]
2
2019-09-10T15:50:53.000Z
2019-09-11T01:14:49.000Z
tests/src/deviceLib/hip_threadfence_system.cpp
JosephGeoBenjamin/HIP-forOpenCV
c48a8df33d59d84ef2180fb17a539b404f04429f
[ "MIT" ]
null
null
null
tests/src/deviceLib/hip_threadfence_system.cpp
JosephGeoBenjamin/HIP-forOpenCV
c48a8df33d59d84ef2180fb17a539b404f04429f
[ "MIT" ]
1
2019-07-04T00:48:48.000Z
2019-07-04T00:48:48.000Z
/* Copyright (c) 2015-2016 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, co...
31.375
94
0.669323
JosephGeoBenjamin
a0910c0f585c1ea6bf139e7e0484462e4f2e68e2
534
hpp
C++
graphics_app/include/Graphics/InputEvents/MouseMoveEvent.hpp
timow-gh/FilApp
02ec78bf617fb78d872b2adceeb8a8351aa8f408
[ "Apache-2.0" ]
null
null
null
graphics_app/include/Graphics/InputEvents/MouseMoveEvent.hpp
timow-gh/FilApp
02ec78bf617fb78d872b2adceeb8a8351aa8f408
[ "Apache-2.0" ]
null
null
null
graphics_app/include/Graphics/InputEvents/MouseMoveEvent.hpp
timow-gh/FilApp
02ec78bf617fb78d872b2adceeb8a8351aa8f408
[ "Apache-2.0" ]
null
null
null
#ifndef GRAPHICS_MOUSEMOVEEVENT_HPP #define GRAPHICS_MOUSEMOVEEVENT_HPP #include <cmath> namespace Graphics { struct MouseMoveEvent { std::uint32_t timestamp; // in milliseconds std::uint32_t windowId; std::uint32_t x; std::uint32_t y; double_t deltaT; MouseMoveEvent(uint32_t timestamp, uint...
20.538462
98
0.719101
timow-gh
a09204d5388a32269578b741fb9a8e0b67122ac6
798
cc
C++
chrome/browser/chromeos/power/screen_dimming_observer.cc
leiferikb/bitpop-private
4c967307d228e86f07f2576068a169e846c833ca
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
7
2015-05-20T22:41:35.000Z
2021-11-18T19:07:59.000Z
chrome/browser/chromeos/power/screen_dimming_observer.cc
quisquous/chromium
b25660e05cddc9d0c3053b3514f07037acc69a10
[ "BSD-3-Clause" ]
1
2015-02-02T06:55:08.000Z
2016-01-20T06:11:59.000Z
chrome/browser/chromeos/power/screen_dimming_observer.cc
jianglong0156/chromium.src
d496dfeebb0f282468827654c2b3769b3378c087
[ "BSD-3-Clause" ]
6
2016-11-14T10:13:35.000Z
2021-01-23T15:29:53.000Z
// Copyright (c) 2012 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 "chrome/browser/chromeos/power/screen_dimming_observer.h" #include "ash/shell.h" #include "chromeos/dbus/dbus_thread_manager.h" namespace c...
30.692308
78
0.776942
leiferikb
90b4272536e9ccf3c123c3ea8462926c22f31e82
797
cpp
C++
53.cpp
DouglasSherk/project-euler
f3b188b199ff31671c6d7683b15675be7484c5b8
[ "MIT" ]
null
null
null
53.cpp
DouglasSherk/project-euler
f3b188b199ff31671c6d7683b15675be7484c5b8
[ "MIT" ]
null
null
null
53.cpp
DouglasSherk/project-euler
f3b188b199ff31671c6d7683b15675be7484c5b8
[ "MIT" ]
null
null
null
#include <iostream> #include <set> #include <vector> #include "headers/euler.hpp" const int MIN_N = 1; const int MAX_N = 100; const int MAX_VALUE = 1000000; int main(int argc, char** argv) { int numAboveMax = 0; for (int n = MIN_N; n <= MAX_N; n++) { for (int r = 1; r <= n / 2; r++) { if (euler::choo...
23.441176
96
0.483061
DouglasSherk
90b6ba974333ae36e701d87d96da5dc7dc3eba27
5,100
cpp
C++
src/Kernel/Champs/instancie_src_Kernel_Champs.cpp
cea-trust-platform/trust-code
c4f42d8f8602a8cc5e0ead0e29dbf0be8ac52f72
[ "BSD-3-Clause" ]
12
2021-06-30T18:50:38.000Z
2022-03-23T09:03:16.000Z
src/Kernel/Champs/instancie_src_Kernel_Champs.cpp
pledac/trust-code
46ab5c5da3f674185f53423090f526a38ecdbad1
[ "BSD-3-Clause" ]
null
null
null
src/Kernel/Champs/instancie_src_Kernel_Champs.cpp
pledac/trust-code
46ab5c5da3f674185f53423090f526a38ecdbad1
[ "BSD-3-Clause" ]
2
2021-10-04T09:19:39.000Z
2021-12-15T14:21:04.000Z
// // Warning : DO NOT EDIT ! // To update this file, run: make depend // #include <verifie_pere.h> #include <Boundary_field_inward.h> #include <Ch_front_Vortex.h> #include <Ch_front_input.h> #include <Ch_front_input_uniforme.h> #include <Ch_input_uniforme.h> #include <Champ_Don_Fonc_txyz.h> #include <Champ_Don_Fonc_xy...
41.463415
65
0.855098
cea-trust-platform
90bb1845c1eaa509f2436edbc110851d5a14a788
2,458
cpp
C++
generated-sources/cpp-qt5-qhttpengine-server/mojang-authentication/server/src/models/com.github.asyncmc.mojang.authentication.cpp.qt5.qhttpengine.server.model/OAIUsernamePassword.cpp
AsyncMC/Mojang-API-Libs
b01bbd2bce44bfa2b9ed705a128cf4ecda077916
[ "Apache-2.0" ]
null
null
null
generated-sources/cpp-qt5-qhttpengine-server/mojang-authentication/server/src/models/com.github.asyncmc.mojang.authentication.cpp.qt5.qhttpengine.server.model/OAIUsernamePassword.cpp
AsyncMC/Mojang-API-Libs
b01bbd2bce44bfa2b9ed705a128cf4ecda077916
[ "Apache-2.0" ]
null
null
null
generated-sources/cpp-qt5-qhttpengine-server/mojang-authentication/server/src/models/com.github.asyncmc.mojang.authentication.cpp.qt5.qhttpengine.server.model/OAIUsernamePassword.cpp
AsyncMC/Mojang-API-Libs
b01bbd2bce44bfa2b9ed705a128cf4ecda077916
[ "Apache-2.0" ]
null
null
null
/** * Mojang Authentication API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * OpenAPI spec version: 2020-06-05 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * D...
21.752212
109
0.713588
AsyncMC
90be2cbd32d08ba9edfe3eedfb6e94729a67beb8
1,075
cpp
C++
src/luogu/P1118/26915047_ac_100_100ms_932k_noO2.cpp
lnkkerst/oj-codes
d778489182d644370b2a690aa92c3df6542cc306
[ "MIT" ]
null
null
null
src/luogu/P1118/26915047_ac_100_100ms_932k_noO2.cpp
lnkkerst/oj-codes
d778489182d644370b2a690aa92c3df6542cc306
[ "MIT" ]
null
null
null
src/luogu/P1118/26915047_ac_100_100ms_932k_noO2.cpp
lnkkerst/oj-codes
d778489182d644370b2a690aa92c3df6542cc306
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdio> #include <cctype> int n, sum; bool vis[36]; int ans[36]; int f[36]; int read() { int ret, f = 1; char ch; while(!isdigit(ch = getchar())) (ch == '-') && (f = -1); for(ret = ch - '0'; isdigit(ch = getchar()); ret *= 10, ret += ch - '0'); return ret * f; } void print(int x) { i...
20.673077
74
0.417674
lnkkerst
90be2ed575fc2d6ebccfc9a0aac7c9c4ad77f4e7
27,408
cpp
C++
ethsw_hal_stub/src/ethsw_stub_hal.cpp
rdkcmf/rdkb-tools-tdkb
9f9c3600cd701d5fc90ac86a6394ebd28d49267e
[ "Apache-2.0" ]
null
null
null
ethsw_hal_stub/src/ethsw_stub_hal.cpp
rdkcmf/rdkb-tools-tdkb
9f9c3600cd701d5fc90ac86a6394ebd28d49267e
[ "Apache-2.0" ]
null
null
null
ethsw_hal_stub/src/ethsw_stub_hal.cpp
rdkcmf/rdkb-tools-tdkb
9f9c3600cd701d5fc90ac86a6394ebd28d49267e
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2016-2017 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
39.042735
587
0.587237
rdkcmf
90c107c048ee2e7cdfce59ea890da3f0030241ec
733
hpp
C++
include/anisthesia/media.hpp
swiftcitrus/anisthesia
981c821d51b1115311eee9fba01dc93210dd757b
[ "MIT" ]
33
2017-02-07T00:03:31.000Z
2022-02-09T12:06:52.000Z
include/anisthesia/media.hpp
swiftcitrus/anisthesia
981c821d51b1115311eee9fba01dc93210dd757b
[ "MIT" ]
7
2017-07-26T22:40:22.000Z
2022-01-30T08:05:51.000Z
include/anisthesia/media.hpp
swiftcitrus/anisthesia
981c821d51b1115311eee9fba01dc93210dd757b
[ "MIT" ]
9
2017-08-05T10:33:05.000Z
2021-10-03T00:23:21.000Z
#pragma once #include <chrono> #include <functional> #include <string> #include <vector> namespace anisthesia { using media_time_t = std::chrono::milliseconds; enum class MediaInfoType { Unknown, File, Tab, Title, Url, }; enum class MediaState { Unknown, Playing, Paused, Stopped, }; struct Media...
17.452381
62
0.683492
swiftcitrus
90c2f126eefd11fac5ab2a9b0f9e0bb149c698b3
41,450
cc
C++
Geometry/HcalCommonData/src/HcalDDDSimConstants.cc
bisnupriyasahu/cmssw
6cf37ca459246525be0e8a6f5172c6123637d259
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
Geometry/HcalCommonData/src/HcalDDDSimConstants.cc
bisnupriyasahu/cmssw
6cf37ca459246525be0e8a6f5172c6123637d259
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
Geometry/HcalCommonData/src/HcalDDDSimConstants.cc
bisnupriyasahu/cmssw
6cf37ca459246525be0e8a6f5172c6123637d259
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
#include "Geometry/HcalCommonData/interface/HcalDDDSimConstants.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "FWCore/Utilities/interface/Exception.h" #include "CLHEP/Units/GlobalPhysicalConstants.h" #include "CLHEP/Units/GlobalSystemOfUnits.h" #include <cmath> //#define EDM_ML_DEBUG HcalDDD...
32.975338
127
0.565018
bisnupriyasahu
90c3c946ac93b3010bb64efc5456a848f4525c6e
3,826
cpp
C++
src/gazebo_tvc_controller_plugin.cpp
helkebir/LEAPFROG-Simulation
51f64143b8bd6e46b9db4ad42c1e3b42c4e22470
[ "BSD-3-Clause" ]
1
2021-05-23T02:52:14.000Z
2021-05-23T02:52:14.000Z
src/gazebo_tvc_controller_plugin.cpp
helkebir/LEAPFROG-Simulation
51f64143b8bd6e46b9db4ad42c1e3b42c4e22470
[ "BSD-3-Clause" ]
1
2021-06-15T18:52:15.000Z
2021-06-15T18:52:15.000Z
src/gazebo_tvc_controller_plugin.cpp
helkebir/LEAPFROG-Simulation
51f64143b8bd6e46b9db4ad42c1e3b42c4e22470
[ "BSD-3-Clause" ]
1
2021-06-15T03:25:12.000Z
2021-06-15T03:25:12.000Z
/* * Copyright (C) 2012-2015 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
34.160714
75
0.763722
helkebir
90c3fdde22b9dd8b82dbf387daee4d2d0605c073
1,063
cpp
C++
test/doc_snippets/generator_impl.cpp
421408/tudocomp
9634742393995acdde148b0412f083bfdd0fbe9f
[ "ECL-2.0", "Apache-2.0" ]
1
2020-09-22T11:29:02.000Z
2020-09-22T11:29:02.000Z
test/doc_snippets/generator_impl.cpp
421408/tudocomp
9634742393995acdde148b0412f083bfdd0fbe9f
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
test/doc_snippets/generator_impl.cpp
421408/tudocomp
9634742393995acdde148b0412f083bfdd0fbe9f
[ "ECL-2.0", "Apache-2.0" ]
1
2020-09-29T08:57:13.000Z
2020-09-29T08:57:13.000Z
/** * * This file contains code snippets from the documentation as a reference. * * Please do not change this file unless you change the corresponding snippets * in the documentation as well! * **/ #include <glog/logging.h> #include <gtest/gtest.h> #include <tudocomp/Generator.hpp> using namespace tdc; class ...
24.159091
79
0.64064
421408
90c51dcb4556c69ee42cec1e1aed73b797c57d05
6,394
cc
C++
foomatic_shell/verifier.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
foomatic_shell/verifier.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
foomatic_shell/verifier.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2020 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "foomatic_shell/verifier.h" #include <set> #include <base/check.h> #include <base/logging.h> #include <base/no_destructor.h> namespace foom...
30.303318
80
0.614326
Toromino
90c95d4e903ce6c6c8f7cf6a77ddc622197b6464
2,891
cc
C++
src/gui.cc
daeyun/Scry
f4952ce39c6960266b022600445583f0a12858c3
[ "BSD-2-Clause" ]
2
2015-02-02T20:35:13.000Z
2017-10-12T08:04:09.000Z
src/gui.cc
daeyun/Scry
f4952ce39c6960266b022600445583f0a12858c3
[ "BSD-2-Clause" ]
null
null
null
src/gui.cc
daeyun/Scry
f4952ce39c6960266b022600445583f0a12858c3
[ "BSD-2-Clause" ]
null
null
null
/** * @file gui.cc * @author Daeyun Shin <daeyun@dshin.org> * @version 0.1 * @date 2015-01-02 * @copyright librender is free software released under the BSD 2-Clause * license. */ #include "gui.h" #define GLM_FORCE_RADIANS #include <thread> #include <condition_variable> #include <glm/gtx/string_cast.hpp> #incl...
26.281818
75
0.655828
daeyun
90c960f5cbd3f304875008e54a910ee3694808a3
4,061
cpp
C++
src/entities/Alien.cpp
Nyarlana/Tactical-RPG
9b55e35cce5dbeba481d3db7113c15e572b320e1
[ "MIT" ]
null
null
null
src/entities/Alien.cpp
Nyarlana/Tactical-RPG
9b55e35cce5dbeba481d3db7113c15e572b320e1
[ "MIT" ]
null
null
null
src/entities/Alien.cpp
Nyarlana/Tactical-RPG
9b55e35cce5dbeba481d3db7113c15e572b320e1
[ "MIT" ]
null
null
null
#include "entities.h" #include <SFML/Graphics.hpp> #include <memory> #include <vector> #include <iostream> using namespace std; Alien::Alien(int max_LP, int xPos, int yPos, int speed, int group_number, int targetCheckArea, int threatfulTargetCheckArea) : Fighter(max_LP, xPos, yPos, speed, targetCheckArea, threatful...
20.004926
285
0.539276
Nyarlana
90c9af5478fa0de2005b9fd8e3485d687465eebd
3,017
hpp
C++
include/MEL/Math/Filter.hpp
mahilab/MEL
b877b2ed9cd265b1ee3c1cc623a339ec1dc73185
[ "Zlib" ]
6
2018-09-14T05:07:03.000Z
2021-09-30T17:15:11.000Z
include/MEL/Math/Filter.hpp
mahilab/MEL
b877b2ed9cd265b1ee3c1cc623a339ec1dc73185
[ "Zlib" ]
null
null
null
include/MEL/Math/Filter.hpp
mahilab/MEL
b877b2ed9cd265b1ee3c1cc623a339ec1dc73185
[ "Zlib" ]
3
2018-09-20T00:58:31.000Z
2022-02-09T06:02:56.000Z
// MIT License // // MEL - Mechatronics Engine & Library // Copyright (c) 2019 Mechatronics and Haptic Interfaces Lab - Rice University // // 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 w...
35.916667
105
0.649321
mahilab
90cd0bfec0988fa652ac00f573ce55d68f758b16
1,396
cc
C++
src/gfx.cc
JesseMaurais/SDL2_lua
cb8dba41c4030267dd88f4d376123d2a71d5735f
[ "Zlib" ]
null
null
null
src/gfx.cc
JesseMaurais/SDL2_lua
cb8dba41c4030267dd88f4d376123d2a71d5735f
[ "Zlib" ]
null
null
null
src/gfx.cc
JesseMaurais/SDL2_lua
cb8dba41c4030267dd88f4d376123d2a71d5735f
[ "Zlib" ]
null
null
null
#include <lux/lux.hpp> #include <SDL2/SDL.h> #include <SDL2/SDL2_gfxPrimitives.h> #include "Common.h" extern "C" int luaopen_SDL2_gfx(lua_State *state) { if (!luaL_getmetatable(state, SDL_METATABLE)) { return luaL_error(state, SDL_REQUIRED); } luaL_Reg regs [] = { {"Pixel", lux_cast(pixelRGBA)}, {"HLine", lux...
29.702128
54
0.714183
JesseMaurais
90cd969c3bccb788fb88f494b57862ba35d7b3e9
413
cpp
C++
src/forthy2/ops/stack.cpp
codr7/forthy2
36464f548cf092bc03f580df87f66f1e71cf4dee
[ "MIT" ]
53
2019-10-20T00:56:59.000Z
2021-02-18T20:30:16.000Z
src/forthy2/ops/stack.cpp
codr7/forthy2
36464f548cf092bc03f580df87f66f1e71cf4dee
[ "MIT" ]
2
2019-10-28T11:02:10.000Z
2020-06-28T20:10:22.000Z
src/forthy2/ops/stack.cpp
codr7/forthy2
36464f548cf092bc03f580df87f66f1e71cf4dee
[ "MIT" ]
6
2019-10-28T10:55:59.000Z
2021-02-18T20:30:18.000Z
#include "forthy2/cx.hpp" #include "forthy2/ops/stack.hpp" #include "forthy2/form.hpp" #include "forthy2/val.hpp" namespace forthy2 { StackOp::StackOp(Form &form, Node<Op> &prev): Op(form, prev), end_pc(nullptr) {} void StackOp::dealloc(Cx &cx) { Op::dealloc(cx); cx.stack_op.put(*this); } void Stac...
22.944444
82
0.64891
codr7
90ce6c2d79ea7eaf5e85de11ba343ca76d493be0
974
cpp
C++
codeforces/B - Polycarp Training/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/B - Polycarp Training/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/B - Polycarp Training/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: * kzvd4729 created: May/14/2019 20:45 * solution_verdict: Accepted language: GNU C++14 * run...
32.466667
111
0.38501
kzvd4729
90d2faa0bb2d7e3ff2ed3d9a521a04e8f571950d
2,793
hpp
C++
src/reir/exec/compiler.hpp
large-scale-oltp-team/reir
427db5f24e15f22cd2a4f4a716caf9392dae1d9b
[ "Apache-2.0" ]
1
2020-03-04T10:57:14.000Z
2020-03-04T10:57:14.000Z
src/reir/exec/compiler.hpp
large-scale-oltp-team/reir
427db5f24e15f22cd2a4f4a716caf9392dae1d9b
[ "Apache-2.0" ]
3
2018-11-02T07:47:26.000Z
2018-11-05T09:06:54.000Z
src/reir/exec/compiler.hpp
large-scale-oltp-team/reir
427db5f24e15f22cd2a4f4a716caf9392dae1d9b
[ "Apache-2.0" ]
null
null
null
#ifndef REIR_COMPILER_HPP_ #define REIR_COMPILER_HPP_ #include <cassert> #include <unordered_map> #include <iostream> #include <llvm/ADT/STLExtras.h> #include <llvm/ExecutionEngine/ExecutionEngine.h> #include <llvm/ExecutionEngine/JITSymbol.h> #include <llvm/ExecutionEngine/RTDyldMemoryManager.h> #include <llvm/Exec...
30.358696
95
0.775152
large-scale-oltp-team
90d3e1f4e601605322446d84dd7cec2e743544d2
4,706
cpp
C++
src/ch8/frame_buffer.test.cpp
notskm/chip8
9e70088acd079fc6f2ed2545fb13ee6160dd12aa
[ "MIT" ]
null
null
null
src/ch8/frame_buffer.test.cpp
notskm/chip8
9e70088acd079fc6f2ed2545fb13ee6160dd12aa
[ "MIT" ]
null
null
null
src/ch8/frame_buffer.test.cpp
notskm/chip8
9e70088acd079fc6f2ed2545fb13ee6160dd12aa
[ "MIT" ]
null
null
null
#include "ch8/frame_buffer.hpp" #include <array> #include <catch2/catch.hpp> #include <type_traits> #include <utility> TEST_CASE("frame_buffer constructor initializes each pixel to 0, 0, 0, 0") { const auto buffer = ch8::frame_buffer<64, 32>{}; REQUIRE(buffer.data() == std::array<std::uint8_t, 64 * 32 * 4>{});...
29.4125
83
0.60476
notskm
90d3eff83f7fdf30e395fa8d07742a090409c167
9,346
cpp
C++
Siv3D/src/Siv3D/Monitor/SivMonitor.cpp
Fuyutsubaki/OpenSiv3D
4370f6ebe28addd39bfdd75915c5a18e3e5e9273
[ "MIT" ]
null
null
null
Siv3D/src/Siv3D/Monitor/SivMonitor.cpp
Fuyutsubaki/OpenSiv3D
4370f6ebe28addd39bfdd75915c5a18e3e5e9273
[ "MIT" ]
null
null
null
Siv3D/src/Siv3D/Monitor/SivMonitor.cpp
Fuyutsubaki/OpenSiv3D
4370f6ebe28addd39bfdd75915c5a18e3e5e9273
[ "MIT" ]
null
null
null
//----------------------------------------------- // // 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. // //----------------------------------------------- # include <Siv3D/Monitor.hpp> # if defined(SIV...
27.168605
125
0.656645
Fuyutsubaki
90daddb9d6e0c63b59a9202895e5b6f94dd48e7c
2,101
hpp
C++
cpp/visualmesh/network_structure.hpp
wongjoel/VisualMesh
98b973c6cd371aab51f2b631f75c9ac820d3b744
[ "MIT" ]
14
2018-06-22T19:46:34.000Z
2022-02-02T15:22:39.000Z
cpp/visualmesh/network_structure.hpp
wongjoel/VisualMesh
98b973c6cd371aab51f2b631f75c9ac820d3b744
[ "MIT" ]
2
2020-12-12T04:51:51.000Z
2021-06-28T01:14:42.000Z
cpp/visualmesh/network_structure.hpp
wongjoel/VisualMesh
98b973c6cd371aab51f2b631f75c9ac820d3b744
[ "MIT" ]
8
2018-06-11T14:54:45.000Z
2022-02-02T15:22:50.000Z
/* * Copyright (C) 2017-2020 Trent Houliston <trent@houliston.me> * * 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...
36.859649
120
0.763922
wongjoel