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
13d5ebf1966fb98094358874f434b429b88f6306
1,316
cpp
C++
luogu/P1160.cpp
delphi122/knowledge_planet
e86cb8f9aa47ef8918cde0e814984a6535023c21
[ "Apache-2.0" ]
1
2020-07-24T03:07:08.000Z
2020-07-24T03:07:08.000Z
luogu/P1160.cpp
delphi122/knowledge_planet
e86cb8f9aa47ef8918cde0e814984a6535023c21
[ "Apache-2.0" ]
null
null
null
luogu/P1160.cpp
delphi122/knowledge_planet
e86cb8f9aa47ef8918cde0e814984a6535023c21
[ "Apache-2.0" ]
null
null
null
// // Created by yangtao on 20-5-29. // #include <iostream> #include <cstdio> #include <cstring> #include <algorithm> #include <map> using namespace std; struct Node { Node *left, *right; int no; }; map<int, Node*> s; int n,m; Node *h , *p; int main() { cin >> n; h = new Node; Node *t = new Node; ...
18.535211
42
0.395137
delphi122
13dfc95fad116c2c0a698cf25fcdf84da2d814e9
2,902
cpp
C++
src/libcore/src/ccmrt/system/SocketTagger.cpp
sparkoss/ccm
9ed67a7cbdc9c69f4182e72be8e8b6b23d7c3c8d
[ "Apache-2.0" ]
6
2018-05-08T10:08:21.000Z
2021-11-13T13:22:58.000Z
src/libcore/src/ccmrt/system/SocketTagger.cpp
sparkoss/ccm
9ed67a7cbdc9c69f4182e72be8e8b6b23d7c3c8d
[ "Apache-2.0" ]
1
2018-05-08T10:20:17.000Z
2018-07-23T05:19:19.000Z
src/libcore/src/ccmrt/system/SocketTagger.cpp
sparkoss/ccm
9ed67a7cbdc9c69f4182e72be8e8b6b23d7c3c8d
[ "Apache-2.0" ]
4
2018-03-13T06:21:11.000Z
2021-06-19T02:48:07.000Z
//========================================================================= // Copyright (C) 2018 The C++ Component Model(CCM) Open Source Project // // 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 Lic...
25.017241
75
0.599931
sparkoss
13e09d8dc5005b4bf52881df046f474e42469bf2
1,595
cpp
C++
src/tuning/coefficients.cpp
pyxis-roc/sass-math
0d6d4413e89101366c5b49d62c466e0567bef735
[ "MIT" ]
null
null
null
src/tuning/coefficients.cpp
pyxis-roc/sass-math
0d6d4413e89101366c5b49d62c466e0567bef735
[ "MIT" ]
1
2021-09-23T17:46:24.000Z
2021-09-23T17:46:24.000Z
src/tuning/coefficients.cpp
pyxis-roc/sass-math
0d6d4413e89101366c5b49d62c466e0567bef735
[ "MIT" ]
null
null
null
#include "coefficients.hpp" #include "bias.hpp" #include <cstddef> enum direction { DOWN, UP, UNKNOWN }; std::tuple<uint64_t, std::array<uint32_t, 3>, counters> coefficient_search(const eval_t<uint64_t, const std::array<uint32_t, 3> &> &eval, const std::array<bool, 3> &negated, ...
23.115942
81
0.530408
pyxis-roc
13e1b4b357987a32394e5473d995d91316e7bb90
1,197
cpp
C++
Aphelion/Src/Aphelion/Renderer/old/Renderer.cpp
antjowie/AphelionWeb
e616806844bb06914b32395b2e4998ac518b3773
[ "MIT" ]
null
null
null
Aphelion/Src/Aphelion/Renderer/old/Renderer.cpp
antjowie/AphelionWeb
e616806844bb06914b32395b2e4998ac518b3773
[ "MIT" ]
null
null
null
Aphelion/Src/Aphelion/Renderer/old/Renderer.cpp
antjowie/AphelionWeb
e616806844bb06914b32395b2e4998ac518b3773
[ "MIT" ]
null
null
null
#include "Aphelion/Renderer/Renderer.h" #include <glm/gtc/type_ptr.hpp> #include "Aphelion/Renderer/RenderCommand.h" #include "Aphelion/Renderer/Renderer2D.h" namespace ap { struct RendererData { // PerspectiveCamera camera; glm::mat4 view; glm::mat4 projection; }; static RendererData data; void Renderer::In...
25.468085
72
0.687552
antjowie
13e675b8faae7b8ca0101fe15d29d0b5e109a50d
1,937
cpp
C++
Real-Time Corruptor/BizHawk_RTC/waterbox/pcfx/input/mouse.cpp
redscientistlabs/Bizhawk50X-Vanguard
96e0f5f87671a1230784c8faf935fe70baadfe48
[ "MIT" ]
45
2017-07-24T05:31:06.000Z
2019-03-29T12:23:57.000Z
Real-Time Corruptor/BizHawk_RTC/waterbox/pcfx/input/mouse.cpp
redscientistlabs/Bizhawk50X-Vanguard
96e0f5f87671a1230784c8faf935fe70baadfe48
[ "MIT" ]
7
2019-01-14T14:46:46.000Z
2019-01-25T20:57:05.000Z
Real-Time Corruptor/BizHawk_RTC/waterbox/pcfx/input/mouse.cpp
redscientistlabs/Bizhawk50X-Vanguard
96e0f5f87671a1230784c8faf935fe70baadfe48
[ "MIT" ]
10
2017-07-24T02:11:43.000Z
2018-12-27T20:49:37.000Z
/******************************************************************************/ /* Mednafen NEC PC-FX Emulation Module */ /******************************************************************************/ /* mouse.cpp: ** Copyright (C) 2007-2016 Mednafen Team ** ** This program is...
21.764045
80
0.620031
redscientistlabs
13e74812db5607c4ddf8cda57e390643adb2baba
1,646
cpp
C++
XBT/misc/xcc_z.cpp
3evils/pub
3f0f8e39e6297657ca7e088c0e3250f5c52c9e70
[ "WTFPL" ]
null
null
null
XBT/misc/xcc_z.cpp
3evils/pub
3f0f8e39e6297657ca7e088c0e3250f5c52c9e70
[ "WTFPL" ]
null
null
null
XBT/misc/xcc_z.cpp
3evils/pub
3f0f8e39e6297657ca7e088c0e3250f5c52c9e70
[ "WTFPL" ]
null
null
null
#include "xbt/xcc_z.h" #include <cstdio> #include <string.h> #include <zlib.h> #include "stream_int.h" shared_data xcc_z::gunzip(data_ref s) { if (s.size() < 18) return shared_data(); shared_data d(read_int_le(4, s.end() - 4)); z_stream stream; stream.zalloc = NULL; stream.zfree = NULL; stream.opaque = NULL; ...
23.183099
106
0.631835
3evils
13e7a9f37a885b46be168375bc57e9bd92706076
1,724
hxx
C++
opencascade/GeomToStep_MakeAxis2Placement2d.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/GeomToStep_MakeAxis2Placement2d.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/GeomToStep_MakeAxis2Placement2d.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
// Created on: 1994-08-26 // Created by: Frederic MAUPAS // Copyright (c) 1994-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GN...
23.944444
81
0.792343
mgreminger
13e8893ce8fad6e8dc2b712daacb3fd0c77947c7
31,390
cpp
C++
neo/tools/kademlia/kademlia/Indexed.cpp
vic3t3chn0/OpenKrown
201c8fb6895cb0439e39c984d2fbc2c2eaf185b4
[ "MIT" ]
1
2018-11-07T22:44:23.000Z
2018-11-07T22:44:23.000Z
neo/tools/kademlia/kademlia/Indexed.cpp
vic3t3chn0/OpenKrown
201c8fb6895cb0439e39c984d2fbc2c2eaf185b4
[ "MIT" ]
null
null
null
neo/tools/kademlia/kademlia/Indexed.cpp
vic3t3chn0/OpenKrown
201c8fb6895cb0439e39c984d2fbc2c2eaf185b4
[ "MIT" ]
null
null
null
// // This file is part of the aMule Project. // // Copyright (c) 2004-2011 Angel Vidal ( kry@amule.org ) // Copyright (c) 2004-2011 aMule Team ( admin@amule.org / http://www.amule.org ) // Copyright (c) 2003-2011 Barry Dunne (http://www.emule-project.net) // // Any parts of this program derived from the xMule, lMule o...
33.287381
190
0.668079
vic3t3chn0
13ebdf2f3e672f167ff22ecfc1c9a8f60095ad12
6,197
cpp
C++
problems/atcoder/abc223/f---parenthesis-checking/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
7
2020-10-15T22:37:10.000Z
2022-02-26T17:23:49.000Z
problems/atcoder/abc223/f---parenthesis-checking/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
problems/atcoder/abc223/f---parenthesis-checking/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #ifdef LOCAL #include "code/formatting.hpp" #else #define debug(...) (void)0 #endif using namespace std; template <typename Node> struct segtree { vector<Node> node; vector<array<int, 2>> range; vector<int> where; segtree() = default; segtree(int L, int R, Node init) { as...
28.168182
89
0.442472
brunodccarvalho
13ecd5ac0467a2bd894fd528634b6765d069cc69
808
cpp
C++
Algorithms/Bit Manipulation/Integer_is_Palindrome.cpp
Praggya17/HacktoberFestContribute
098cb1012f1f2ed6ca6b3544a7b962b6c49e2643
[ "MIT" ]
98
2018-10-09T15:42:41.000Z
2021-10-04T15:25:44.000Z
Algorithms/Bit Manipulation/Integer_is_Palindrome.cpp
Praggya17/HacktoberFestContribute
098cb1012f1f2ed6ca6b3544a7b962b6c49e2643
[ "MIT" ]
141
2018-10-06T16:55:20.000Z
2021-10-31T18:25:35.000Z
Algorithms/Bit Manipulation/Integer_is_Palindrome.cpp
Praggya17/HacktoberFestContribute
098cb1012f1f2ed6ca6b3544a7b962b6c49e2643
[ "MIT" ]
885
2018-10-06T17:14:44.000Z
2022-01-29T03:16:21.000Z
#include<iostream> #include<cmath> using namespace std; //avoids the space complexity of O(n) by directly extracting the digits from the input. bool IsPalindromeNumber(int x) { if (x <= 0) { return x == 0; } const int num_digits = static_cast<int>(floor(log10(x))) + 1; int msd_mask = static_cast<int>(po...
25.25
87
0.621287
Praggya17
13ece53dcd03ee60dbe799a719c17a4825ba634d
8,407
hpp
C++
svntrunk/src/untabbed/BlueMatter/analysis/include/DataReceiverSnapshotDumper.hpp
Bhaskers-Blu-Org1/BlueMatter
1ab2c41af870c19e2e1b1095edd1d5c85eeb9b5e
[ "BSD-2-Clause" ]
7
2020-02-25T15:46:18.000Z
2022-02-25T07:04:47.000Z
svntrunk/src/untabbed/BlueMatter/analysis/include/DataReceiverSnapshotDumper.hpp
IBM/BlueMatter
5243c0ef119e599fc3e9b7c4213ecfe837de59f3
[ "BSD-2-Clause" ]
null
null
null
svntrunk/src/untabbed/BlueMatter/analysis/include/DataReceiverSnapshotDumper.hpp
IBM/BlueMatter
5243c0ef119e599fc3e9b7c4213ecfe837de59f3
[ "BSD-2-Clause" ]
5
2019-06-06T16:30:21.000Z
2020-11-16T19:43:01.000Z
/* Copyright 2001, 2019 IBM Corporation * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the * following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the * following d...
31.02214
144
0.587725
Bhaskers-Blu-Org1
13eee5b68494bb7e016ac2fb5179230f25e60262
2,032
hpp
C++
lib/lvd/read_bin_sst.hpp
vdods/lvd
864eaa25bdaddfc0dc7e788e693ebae3b42597be
[ "Apache-2.0" ]
null
null
null
lib/lvd/read_bin_sst.hpp
vdods/lvd
864eaa25bdaddfc0dc7e788e693ebae3b42597be
[ "Apache-2.0" ]
null
null
null
lib/lvd/read_bin_sst.hpp
vdods/lvd
864eaa25bdaddfc0dc7e788e693ebae3b42597be
[ "Apache-2.0" ]
null
null
null
// 2021.01.22 - Copyright Victor Dods - Licensed under Apache 2.0 #pragma once #include "lvd/read_bin_type.hpp" #include "lvd/sst/SV_t.hpp" namespace lvd { template <typename S_, typename C_, auto... Params_> struct ReadInPlace_t<sst::SV_t<S_,C_>,BinEncoding_t<Params_...>> { template <typename CharT_, typename ...
42.333333
165
0.676181
vdods
13ef330ec6e6ab4c815925600bf316db4bc65ede
7,254
cpp
C++
Sources/External/node/elastos/external/chromium_org/third_party/WebKit/Source/modules/modules_gyp/bindings/modules/v8/V8RsaKeyAlgorithm.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/External/node/elastos/external/chromium_org/third_party/WebKit/Source/modules/modules_gyp/bindings/modules/v8/V8RsaKeyAlgorithm.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/External/node/elastos/external/chromium_org/third_party/WebKit/Source/modules/modules_gyp/bindings/modules/v8/V8RsaKeyAlgorithm.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.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. // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! #include "config.h" #include "V8RsaKeyAlgorithm.h" #include "bindings/v8/Ex...
44.503067
294
0.76992
jingcao80
13ef68cf771eba81d2e52f13c77016214561199b
289
cpp
C++
test/util/value_unittest.cpp
kilasuelika/FastAD
dd070c608c18f5391f2ac68dca4f9db223a33eca
[ "MIT" ]
50
2019-11-28T22:25:01.000Z
2022-02-20T03:55:19.000Z
test/util/value_unittest.cpp
kilasuelika/FastAD
dd070c608c18f5391f2ac68dca4f9db223a33eca
[ "MIT" ]
25
2019-11-28T20:44:12.000Z
2021-10-30T00:14:39.000Z
test/util/value_unittest.cpp
kilasuelika/FastAD
dd070c608c18f5391f2ac68dca4f9db223a33eca
[ "MIT" ]
2
2021-02-26T11:14:56.000Z
2021-07-07T06:40:18.000Z
#include <gtest/gtest.h> #include <fastad_bits/util/value.hpp> namespace ad { namespace util { struct value_fixture : ::testing::Test { protected: }; TEST_F(value_fixture, ones_scl) { double x = 0.; ones(x); EXPECT_DOUBLE_EQ(x, 1.); } } // namespace util } // namespace ad
13.761905
38
0.66782
kilasuelika
13f881af771c0ff5217d500c55aa2555898004de
1,562
cc
C++
sdk/c/api/create_peerconnection_factory.cc
raghuhit/webrtc-1
5b534b6458ab14cbe62a2bbb642e8a3536dfd5e2
[ "Apache-2.0", "BSD-3-Clause" ]
99
2019-09-30T11:42:30.000Z
2021-12-24T04:41:10.000Z
sdk/c/api/create_peerconnection_factory.cc
raghuhit/webrtc-1
5b534b6458ab14cbe62a2bbb642e8a3536dfd5e2
[ "Apache-2.0", "BSD-3-Clause" ]
23
2020-03-27T00:59:45.000Z
2022-03-28T15:31:09.000Z
sdk/c/api/create_peerconnection_factory.cc
raghuhit/webrtc-1
5b534b6458ab14cbe62a2bbb642e8a3536dfd5e2
[ "Apache-2.0", "BSD-3-Clause" ]
26
2019-11-23T15:36:12.000Z
2022-03-15T15:37:01.000Z
/* * Copyright 2019 pixiv Inc. All Rights Reserved. * * Use of this source code is governed by a license that can be * found in the LICENSE.pixiv file in the root of the source tree. */ #include "api/create_peerconnection_factory.h" #include "api/video_codecs/video_decoder_factory.h" #include "api/video_codecs...
41.105263
76
0.748399
raghuhit
13f8d4395f87c200509cc96244fb15e27b32bda2
65,787
cpp
C++
com/netfx/src/clr/jit/il/emitrisc.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
com/netfx/src/clr/jit/il/emitrisc.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
com/netfx/src/clr/jit/il/emitrisc.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XX ...
28.740498
196
0.449116
npocmaka
13f93bd985dd4c99bafd0fe35e35194fe71313b3
6,453
cpp
C++
src/core/test/test_hpcp.cpp
jmaldon1/Musher
58f4c8bde4c314821f15bce27555896a00935c1c
[ "MIT" ]
4
2019-11-11T22:57:33.000Z
2020-11-30T03:12:44.000Z
src/core/test/test_hpcp.cpp
jmaldon1/Musher
58f4c8bde4c314821f15bce27555896a00935c1c
[ "MIT" ]
null
null
null
src/core/test/test_hpcp.cpp
jmaldon1/Musher
58f4c8bde4c314821f15bce27555896a00935c1c
[ "MIT" ]
1
2019-11-13T16:45:30.000Z
2019-11-13T16:45:30.000Z
#include <cmath> #include "src/core/hpcp.h" #include "src/core/test/gtest_extras.h" using namespace musher::core; /** * @brief Test Zero inputs * */ TEST(HPCP, TestZeros) { std::vector<double> actual_hpcp; std::vector<double> frequencies(10); std::vector<double> magnitudes(10); actual_hpcp = HPCP(frequenc...
30.875598
120
0.6256
jmaldon1
13f970f9e06d8715544b79edbf4236de15b002d6
3,829
cpp
C++
src/Util/FFT.cpp
roman-ellerbrock/QuTree
28c5b4eddf20e41cd015a03d33f31693eff17839
[ "MIT" ]
6
2020-04-24T09:58:23.000Z
2022-02-06T03:40:55.000Z
src/Util/FFT.cpp
roman-ellerbrock/QuTree
28c5b4eddf20e41cd015a03d33f31693eff17839
[ "MIT" ]
1
2020-06-18T11:33:14.000Z
2020-06-18T11:35:23.000Z
src/Util/FFT.cpp
roman-ellerbrock/QuTree
28c5b4eddf20e41cd015a03d33f31693eff17839
[ "MIT" ]
1
2020-12-26T15:23:21.000Z
2020-12-26T15:23:21.000Z
#include "Util/FFT.h" size_t FFT::getGoodSize(size_t size) { //check if size is a power of 2 size_t mod = size % 2; if(mod == 0) return size; //get the next bigger power of 2 size_t potens = 0; while(size > 0) { size = size/2; potens++; } return pow(2,potens); } Tensorcd FFT::reverseOrder(const Tensorc...
19.338384
65
0.610603
roman-ellerbrock
13f9b9c95378bbe1493c2d354ced7beb239f557b
849
cpp
C++
src/html/Extensions.cpp
daotranminh/findscholarships-new
ac7d5e69d9e1c6d971dfbe25658507a0c0fb0081
[ "Apache-1.1" ]
null
null
null
src/html/Extensions.cpp
daotranminh/findscholarships-new
ac7d5e69d9e1c6d971dfbe25658507a0c0fb0081
[ "Apache-1.1" ]
null
null
null
src/html/Extensions.cpp
daotranminh/findscholarships-new
ac7d5e69d9e1c6d971dfbe25658507a0c0fb0081
[ "Apache-1.1" ]
null
null
null
#include <cstring> #include "html/Extensions.h" using namespace std; using namespace htmlcxx; Extensions::Extensions(const string &exts) { const char *begin = exts.c_str(); while (*begin) { while (*begin == ' ') ++begin; if (*begin == 0) break; const char *end = begin + 1;...
19.744186
42
0.532391
daotranminh
13fd6dd53c6d8715ff98c0f9281b50183c984c3f
2,175
cc
C++
Geometry/HGCalGeometry/plugins/HGCalGeometryESProducer.cc
bisnupriyasahu/cmssw
6cf37ca459246525be0e8a6f5172c6123637d259
[ "Apache-2.0" ]
1
2019-08-09T08:42:11.000Z
2019-08-09T08:42:11.000Z
Geometry/HGCalGeometry/plugins/HGCalGeometryESProducer.cc
bisnupriyasahu/cmssw
6cf37ca459246525be0e8a6f5172c6123637d259
[ "Apache-2.0" ]
null
null
null
Geometry/HGCalGeometry/plugins/HGCalGeometryESProducer.cc
bisnupriyasahu/cmssw
6cf37ca459246525be0e8a6f5172c6123637d259
[ "Apache-2.0" ]
1
2019-04-03T19:23:27.000Z
2019-04-03T19:23:27.000Z
// -*- C++ -*- // // Package: HGCalGeometry // Class: HGCalGeometryESProducer // /**\class HGCalGeometryESProducer HGCalGeometryESProducer.h Description: <one line class summary> Implementation: <Notes on implementation> */ // // Original Author: Sunanda Banerjee // // // system include files #inc...
24.715909
84
0.736552
bisnupriyasahu
13fdb6162e5ceee227f032a1121f7d934275675b
3,682
cpp
C++
logdevice/common/StatsCollectionThread.cpp
Ikhbar-Kebaa/LogDevice
d69d706fb81d665eb94ee844aab94ff4951c9731
[ "BSD-3-Clause" ]
1
2019-01-17T18:53:25.000Z
2019-01-17T18:53:25.000Z
logdevice/common/StatsCollectionThread.cpp
abhishekg785/LogDevice
060da71ef84b61f3371115ed352a7ee7b07ba9e2
[ "BSD-3-Clause" ]
null
null
null
logdevice/common/StatsCollectionThread.cpp
abhishekg785/LogDevice
060da71ef84b61f3371115ed352a7ee7b07ba9e2
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright (c) 2017-present, Facebook, Inc. and its affiliates. * 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. */ #include "logdevice/common/StatsCollectionThread.h" #include <folly/Optional.h> #incl...
31.741379
76
0.713199
Ikhbar-Kebaa
cd01666b015f09342ebcbf8785b5fd5dc556b85b
11,892
cpp
C++
lib/Conversion/VectorConversions/VectorToLLVM.cpp
tjingrant/mlir
afc96480af33cca63556dd209dc60bc6c2eec6fd
[ "Apache-2.0" ]
1
2020-04-01T10:28:07.000Z
2020-04-01T10:28:07.000Z
lib/Conversion/VectorConversions/VectorToLLVM.cpp
tjingrant/mlir
afc96480af33cca63556dd209dc60bc6c2eec6fd
[ "Apache-2.0" ]
1
2018-04-02T23:42:30.000Z
2018-05-03T23:12:23.000Z
lib/Conversion/VectorConversions/VectorToLLVM.cpp
tjingrant/mlir
afc96480af33cca63556dd209dc60bc6c2eec6fd
[ "Apache-2.0" ]
null
null
null
//===- VectorToLLVM.cpp - Conversion from Vector to the LLVM dialect ------===// // // Copyright 2019 The MLIR 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....
41.873239
80
0.68113
tjingrant
cd01d8ee25017283708d0f56c5cbef66b5d03e83
430
cpp
C++
Programming Basics with C++ - September 2018/02. Lesson/Birthday/Birthday.cpp
Kazalev/SoftUni-ProgrammingBasics-CPlusPlus
115f2618a370443be533b9958121aecca54f4649
[ "MIT" ]
3
2019-07-17T10:11:31.000Z
2020-01-09T18:04:47.000Z
Programming Basics with C++ - September 2018/02. Lesson/Birthday/Birthday.cpp
Kazalev/SoftUni-ProgrammingBasics-CPlusPlus
115f2618a370443be533b9958121aecca54f4649
[ "MIT" ]
null
null
null
Programming Basics with C++ - September 2018/02. Lesson/Birthday/Birthday.cpp
Kazalev/SoftUni-ProgrammingBasics-CPlusPlus
115f2618a370443be533b9958121aecca54f4649
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> using namespace std; int main() { int length, width, height; double percent; cin >> length >> width >> height >> percent; int volume = length * width * height; double liters = volume * 0.001; percent = percent * 0.01; double realLeaters = liters * (1-p...
19.545455
48
0.611628
Kazalev
cd0309415258a6c4b4b89ac6406766474c5c26e2
2,594
cpp
C++
tests/objects_door.cpp
jd28/libnw
15bcb23cf3ef221296b026ad8ce2909044282f2b
[ "MIT" ]
null
null
null
tests/objects_door.cpp
jd28/libnw
15bcb23cf3ef221296b026ad8ce2909044282f2b
[ "MIT" ]
null
null
null
tests/objects_door.cpp
jd28/libnw
15bcb23cf3ef221296b026ad8ce2909044282f2b
[ "MIT" ]
null
null
null
#include <catch2/catch.hpp> #include <nlohmann/json.hpp> #include <nw/kernel/Kernel.hpp> #include <nw/objects/Door.hpp> #include <nw/serialization/Archives.hpp> #include <filesystem> #include <fstream> namespace fs = std::filesystem; TEST_CASE("door: from_gff", "[objects]") { auto door = nw::kernel::objects().l...
34.586667
105
0.690439
jd28
cd03949f8c99ca25e87497907d0b0cc8ae846853
3,265
hpp
C++
opencamlib/src/algo/batchpushcutter_py.hpp
JohnyEngine/CNC
e4c77250ab2b749d3014022cbb5eb9924e939993
[ "Apache-2.0" ]
null
null
null
opencamlib/src/algo/batchpushcutter_py.hpp
JohnyEngine/CNC
e4c77250ab2b749d3014022cbb5eb9924e939993
[ "Apache-2.0" ]
null
null
null
opencamlib/src/algo/batchpushcutter_py.hpp
JohnyEngine/CNC
e4c77250ab2b749d3014022cbb5eb9924e939993
[ "Apache-2.0" ]
null
null
null
/* $Id$ * * Copyright 2010 Anders Wallin (anders.e.e.wallin "at" gmail.com) * * This file is part of OpenCAMlib. * * OpenCAMlib is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3...
33.316327
79
0.533538
JohnyEngine
cd042792d841272a5d5945ddbbc1e1496d55b8a5
20,479
cpp
C++
services/updater_binary/update_image_block.cpp
openharmony-gitee-mirror/update_updater
72393623a6aa9d08346da98433bb3bdbe5f07120
[ "Apache-2.0" ]
null
null
null
services/updater_binary/update_image_block.cpp
openharmony-gitee-mirror/update_updater
72393623a6aa9d08346da98433bb3bdbe5f07120
[ "Apache-2.0" ]
null
null
null
services/updater_binary/update_image_block.cpp
openharmony-gitee-mirror/update_updater
72393623a6aa9d08346da98433bb3bdbe5f07120
[ "Apache-2.0" ]
1
2021-09-13T12:07:24.000Z
2021-09-13T12:07:24.000Z
/* * Copyright (c) 2021 Huawei Device 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 ...
48.07277
121
0.68558
openharmony-gitee-mirror
cd08ac7c2192da17a509a33caa837d1693ac8926
1,533
hpp
C++
includecpp/network.hpp
willst/libcaer
ff0e741fcfc0b59a41f87679d59620e3cc3b3a7e
[ "BSD-2-Clause" ]
1
2018-12-05T16:42:26.000Z
2018-12-05T16:42:26.000Z
includecpp/network.hpp
willst/libcaer
ff0e741fcfc0b59a41f87679d59620e3cc3b3a7e
[ "BSD-2-Clause" ]
null
null
null
includecpp/network.hpp
willst/libcaer
ff0e741fcfc0b59a41f87679d59620e3cc3b3a7e
[ "BSD-2-Clause" ]
null
null
null
#ifndef LIBCAER_NETWORK_HPP_ #define LIBCAER_NETWORK_HPP_ #include "libcaer.hpp" #include <libcaer/network.h> namespace libcaer { namespace network { class AEDAT3NetworkHeader : private aedat3_network_header { public: AEDAT3NetworkHeader() { magicNumber = AEDAT3_NETWORK_MAGIC_NUMBER; sequenceNumber = 0; ve...
20.716216
66
0.741683
willst
cd08d9dda3d2b4a463ae745a2ec9ff6d3b42c633
18,190
cpp
C++
src/certificate/Certificate.cpp
LabSEC/libcryptosec
e53030ec32b52b6abeaa973a9f0bfba0eb2c2440
[ "BSD-3-Clause" ]
22
2015-08-26T16:40:59.000Z
2022-02-22T19:52:55.000Z
src/certificate/Certificate.cpp
LabSEC/Libcryptosec
e53030ec32b52b6abeaa973a9f0bfba0eb2c2440
[ "BSD-3-Clause" ]
14
2015-09-01T00:39:22.000Z
2018-12-17T16:24:28.000Z
src/certificate/Certificate.cpp
LabSEC/Libcryptosec
e53030ec32b52b6abeaa973a9f0bfba0eb2c2440
[ "BSD-3-Clause" ]
22
2015-08-31T19:17:37.000Z
2021-01-04T13:38:35.000Z
#include <libcryptosec/certificate/Certificate.h> Certificate::Certificate(X509 *cert) { this->cert = cert; } Certificate::Certificate(std::string pemEncoded) throw (EncodeException) { BIO *buffer; buffer = BIO_new(BIO_s_mem()); if (buffer == NULL) { throw EncodeException(EncodeException::BUFFER_CREATING, "C...
26.060172
116
0.682298
LabSEC
cd0a9c8f5c6686ce499698e14c2e430ff23128bb
4,749
cpp
C++
tests/OptionalMemorySafetyTest.cpp
jtojnar/aws-crt-cpp
799b83cf352b173abf11d722633f330596a1f4a4
[ "Apache-2.0" ]
53
2019-01-03T22:10:43.000Z
2022-01-11T17:00:42.000Z
tests/OptionalMemorySafetyTest.cpp
jtojnar/aws-crt-cpp
799b83cf352b173abf11d722633f330596a1f4a4
[ "Apache-2.0" ]
65
2019-03-16T01:09:12.000Z
2022-02-28T19:02:59.000Z
tests/OptionalMemorySafetyTest.cpp
jtojnar/aws-crt-cpp
799b83cf352b173abf11d722633f330596a1f4a4
[ "Apache-2.0" ]
37
2019-04-03T19:15:14.000Z
2022-03-10T03:09:07.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/crt/Api.h> #include <aws/crt/Optional.h> #include <aws/testing/aws_test_harness.h> const char *s_test_str = "This is a string, that should be long enough to avoid small string optimizatio...
35.977273
108
0.71236
jtojnar
cd0b536e305307c3d3c26556015131863c3b4d2f
2,156
cpp
C++
leetcode/problems/medium/918-maximum-sum-circular-subarray.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
18
2020-08-27T05:27:50.000Z
2022-03-08T02:56:48.000Z
leetcode/problems/medium/918-maximum-sum-circular-subarray.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
null
null
null
leetcode/problems/medium/918-maximum-sum-circular-subarray.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
1
2020-10-13T05:23:58.000Z
2020-10-13T05:23:58.000Z
/* Maximum Sum Circular Subarray Given a circular array C of integers represented by A, find the maximum possible sum of a non-empty subarray of C. Here, a circular array means the end of the array connects to the beginning of the array. (Formally, C[i] = A[i] when 0 <= i < A.length, and C[i+A.length] = C[i] when i >...
28.746667
209
0.600186
wingkwong
cd0c3a8cc403b314828878a87f5691eb2244b298
27,488
cpp
C++
src/align.cpp
ezracb/librealsense
c595bc426e1b258c7af1625cabb8e9ccb9335a8b
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
src/align.cpp
ezracb/librealsense
c595bc426e1b258c7af1625cabb8e9ccb9335a8b
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
src/align.cpp
ezracb/librealsense
c595bc426e1b258c7af1625cabb8e9ccb9335a8b
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
// License: Apache 2.0. See LICENSE file in root directory. // Copyright(c) 2015 Intel Corporation. All Rights Reserved. #include "../include/librealsense2/rs.hpp" #include "../include/librealsense2/rsutil.h" #include "core/video.h" #include "align.h" #include "archive.h" #include "context.h" #include "environment.h"...
41.46003
188
0.524993
ezracb
cd0dfb65ec82c65ba4e4af4650cae6ed709900a3
34
cpp
C++
libwx/src/Maps/MapControlBaseTpl.cpp
EnjoMitch/EnjoLib
321167146657cba1497a9d3b4ffd71430f9b24b3
[ "BSD-3-Clause" ]
3
2021-06-14T15:36:46.000Z
2022-02-28T15:16:08.000Z
libwx/src/Maps/MapControlBaseTpl.cpp
EnjoMitch/EnjoLib
321167146657cba1497a9d3b4ffd71430f9b24b3
[ "BSD-3-Clause" ]
1
2021-07-17T07:52:15.000Z
2021-07-17T07:52:15.000Z
libwx/src/Maps/MapControlBaseTpl.cpp
EnjoMitch/EnjoLib
321167146657cba1497a9d3b4ffd71430f9b24b3
[ "BSD-3-Clause" ]
3
2021-07-12T14:52:38.000Z
2021-11-28T17:10:33.000Z
#include "MapControlBaseTpl.hpp"
11.333333
32
0.794118
EnjoMitch
cd110ba1a1a3db65d78b2c090a63cd54c1bd7781
1,158
cpp
C++
BZOJ/1193/std.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
BZOJ/1193/std.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
BZOJ/1193/std.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <cstring> #include <cstdio> #include <cstdlib> #include <queue> using namespace std; int x,y,fx[10][3],dis[105][105]; struct Point { int x,y; }; void bfs() { memset(dis,-1,sizeof(dis)); dis[x][y]=0; fx[1][1]=fx[2][1]=1,fx[3][1]=fx[4][1]=-1,fx[5][1]=fx[6][1]=2,fx[7][...
18.983607
83
0.535406
sjj118
99827a5bc2aa5751e7be0c468986baae5c8f4303
417
cpp
C++
Dataset/Leetcode/train/69/678.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/69/678.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/69/678.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: int XXX(int x) { long long int ans = x; long long int square= 0; while(ans){ long long int temp = ans/2; square= temp*temp; ans = temp; if(square<= x){ break; } } while(square...
18.954545
39
0.386091
kkcookies99
99832a30287b84907193b5279b1fbf5a94ab9c12
3,138
hh
C++
src/c++/include/xml/XmlWriter.hh
Illumina/Isaac4
0924fba8b467868da92e1c48323b15d7cbca17dd
[ "BSD-3-Clause" ]
13
2018-02-09T22:59:39.000Z
2021-11-29T06:33:22.000Z
src/c++/include/xml/XmlWriter.hh
Illumina/Isaac4
0924fba8b467868da92e1c48323b15d7cbca17dd
[ "BSD-3-Clause" ]
17
2018-01-26T11:36:07.000Z
2022-02-03T18:48:43.000Z
src/c++/include/xml/XmlWriter.hh
Illumina/Isaac4
0924fba8b467868da92e1c48323b15d7cbca17dd
[ "BSD-3-Clause" ]
4
2018-10-19T20:00:00.000Z
2020-10-29T14:44:06.000Z
/** ** Isaac Genome Alignment Software ** Copyright (c) 2010-2017 Illumina, Inc. ** All rights reserved. ** ** This software is provided under the terms and conditions of the ** GNU GENERAL PUBLIC LICENSE Version 3 ** ** You should have received a copy of the GNU GENERAL PUBLIC LICENSE Version 3 ** along with ...
29.055556
228
0.689611
Illumina
9983945023649b0aa66452dfe0bf3f3805212be4
1,753
cpp
C++
app/plugins/widgets/PaintField.cpp
adius/FeetJ
aca8ffc72911440eb8341a953ad833f3c7115554
[ "MIT" ]
1
2021-12-20T16:50:25.000Z
2021-12-20T16:50:25.000Z
app/plugins/widgets/PaintField.cpp
adius/FeetJ
aca8ffc72911440eb8341a953ad833f3c7115554
[ "MIT" ]
null
null
null
app/plugins/widgets/PaintField.cpp
adius/FeetJ
aca8ffc72911440eb8341a953ad833f3c7115554
[ "MIT" ]
null
null
null
#include "PaintField.h" #include <QPainter> //We need to register this Type in MTQ MTQ_QML_REGISTER_PLUGIN(PaintField) //Constructor PaintField::PaintField(QQuickItem *) { setHeight(600); setWidth(600); setStrokeHue(0); setBackgroundBrightness(255); } void PaintField::paint(QPainter *painter) { painter->setRen...
22.189873
64
0.716486
adius
9984e749e2f41d874e6787cb43c5058f88b99898
2,747
cc
C++
llvm-gcc-4.2-2.9/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/2.cc
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
1
2016-04-09T02:58:13.000Z
2016-04-09T02:58:13.000Z
llvm-gcc-4.2-2.9/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/2.cc
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
llvm-gcc-4.2-2.9/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/2.cc
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
// Copyright (C) 2004 Free Software Foundation // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Public License as published by the // Free Software Foundation; either version 2, or (at your option) // an...
27.47
79
0.620313
vidkidz
9986cefe6251c6c099a5a6d74636638750c6475b
1,101
cc
C++
EvtGenBase/EvtPropBreitWigner.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
EvtGenBase/EvtPropBreitWigner.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
EvtGenBase/EvtPropBreitWigner.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
#include "Experiment/Experiment.hh" /******************************************************************************* * Project: BaBar detector at the SLAC PEP-II B-factory * Package: EvtGenBase * File: $Id: EvtPropBreitWigner.cc 427 2010-01-14 13:25:53Z stroili $ * Author: Alexei Dvoretskii, dvoretsk@slac.stanf...
26.214286
81
0.630336
brownd1978
9987109a9171472654a7e6be81e326619c361621
439
cpp
C++
src/search-a-2d-matrix.cpp
Liuchang0812/leetcode
d71f87b0035e661d0009f4382b39c4787c355f89
[ "MIT" ]
9
2015-09-09T20:28:31.000Z
2019-05-15T09:13:07.000Z
src/search-a-2d-matrix.cpp
liuchang0812/leetcode
d71f87b0035e661d0009f4382b39c4787c355f89
[ "MIT" ]
1
2015-02-25T13:10:09.000Z
2015-02-25T13:10:09.000Z
src/search-a-2d-matrix.cpp
liuchang0812/leetcode
d71f87b0035e661d0009f4382b39c4787c355f89
[ "MIT" ]
1
2016-08-31T19:14:52.000Z
2016-08-31T19:14:52.000Z
class Solution { public: bool searchMatrix(vector<vector<int> > &matrix, int target) { int posx = 0, posy = 0; int n = matrix.size(); int m = matrix[0].size(); do { if (matrix[posx][posy] == target) return true; if (posx + 1 < n && matrix[posx+1][pos...
27.4375
72
0.473804
Liuchang0812
99872690557531ff5706528de551053c5cf13fd3
32,319
hpp
C++
api/vpl/preview/video_param.hpp
alexelizarov/oneVPL
cdf7444dc971544d148c51e0d93a2df1bb55dda7
[ "MIT" ]
null
null
null
api/vpl/preview/video_param.hpp
alexelizarov/oneVPL
cdf7444dc971544d148c51e0d93a2df1bb55dda7
[ "MIT" ]
null
null
null
api/vpl/preview/video_param.hpp
alexelizarov/oneVPL
cdf7444dc971544d148c51e0d93a2df1bb55dda7
[ "MIT" ]
1
2021-06-17T07:38:18.000Z
2021-06-17T07:38:18.000Z
/*############################################################################ # Copyright Intel Corporation # # SPDX-License-Identifier: MIT ############################################################################*/ #pragma once #include <algorithm> #include <iostream> #include <utility> #include <tuple...
41.328645
102
0.632569
alexelizarov
998cfa7472303ff35f565a6656b07a34a17b5074
1,827
cpp
C++
codejam/2019_1a_a.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
1
2020-04-04T14:56:12.000Z
2020-04-04T14:56:12.000Z
codejam/2019_1a_a.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
codejam/2019_1a_a.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; mt19937 rng(chrono::steady_clock::now().time_since_epoch().count()); int g[20][20]; // once you feel prob is high, random. void solve() { int n,m; cin >> n >> m; const int TRY = 100*(n+m); const int JUMP = 25; for (int _ = 0; _ < TRY; _++) { ...
27.268657
68
0.394636
sogapalag
998da34d0c8cdf16ac0d6f1a9b3374c032658b49
9,678
cpp
C++
bs_mesh/src/mpi_mesh_grdecl.cpp
bs-eagle/bs-eagle
b1017a4f6ac2dcafba2deafec84052ddde792671
[ "BSD-3-Clause" ]
7
2015-07-16T22:30:36.000Z
2020-02-06T10:16:42.000Z
bs_mesh/src/mpi_mesh_grdecl.cpp
bs-eagle/bs-eagle
b1017a4f6ac2dcafba2deafec84052ddde792671
[ "BSD-3-Clause" ]
null
null
null
bs_mesh/src/mpi_mesh_grdecl.cpp
bs-eagle/bs-eagle
b1017a4f6ac2dcafba2deafec84052ddde792671
[ "BSD-3-Clause" ]
3
2017-01-05T20:06:28.000Z
2021-12-20T16:19:10.000Z
/** \file mpi_mesh_grdecl.cpp \brief This file implement class for decompose main mesh among processes \author Iskhakov Ruslan \date 2008-10-14*/ #include "mpi_mesh_grdecl.h" #ifdef _MPI_MY namespace blue_sky { //! default constructor mpi_mesh_grdecl::mpi_mesh_grdecl(bs_type_ctor_param) { } mpi_...
30.920128
285
0.599917
bs-eagle
998e041b4883ee11c6ee796bd4f582a31b7c617e
278
hpp
C++
src/core/game-states/cinematic-state.hpp
guillaume-haerinck/imac-tower-defense
365a32642ea0d3ad8b2b7d63347d585c44d9f670
[ "MIT" ]
44
2019-06-06T21:33:30.000Z
2022-03-26T06:18:23.000Z
src/core/game-states/cinematic-state.hpp
guillaume-haerinck/imac-tower-defense
365a32642ea0d3ad8b2b7d63347d585c44d9f670
[ "MIT" ]
1
2019-09-27T12:04:52.000Z
2019-09-29T13:30:42.000Z
src/core/game-states/cinematic-state.hpp
guillaume-haerinck/imac-tower-defense
365a32642ea0d3ad8b2b7d63347d585c44d9f670
[ "MIT" ]
8
2019-07-26T16:44:26.000Z
2020-11-24T17:56:18.000Z
#pragma once #include "i-game-state.hpp" class Game; // Forward declaration class CinematicState : public IGameState { public: CinematicState(Game& game); virtual ~CinematicState(); void enter() override; void update(float deltatime) override; void exit() override; };
17.375
42
0.741007
guillaume-haerinck
998ef2272096e1f01bcdf770cbf9fbc0511898f0
15,127
cpp
C++
GameEngine/CoreEngine/CoreEngine/src/ShadingOperation.cpp
mettaursp/SuddenlyGames
e2ff1c2771d4ca54824650e4f1a33a527536ca61
[ "Apache-2.0" ]
1
2021-01-17T13:05:20.000Z
2021-01-17T13:05:20.000Z
GameEngine/CoreEngine/CoreEngine/src/ShadingOperation.cpp
suddenly-games/SuddenlyGames
e2ff1c2771d4ca54824650e4f1a33a527536ca61
[ "Apache-2.0" ]
null
null
null
GameEngine/CoreEngine/CoreEngine/src/ShadingOperation.cpp
suddenly-games/SuddenlyGames
e2ff1c2771d4ca54824650e4f1a33a527536ca61
[ "Apache-2.0" ]
null
null
null
#include "ShadingOperation.h" extern "C" { #include <math.h> } #include "Graphics.h" #include "Textures.h" #include "Light.h" #include "FrameBuffer.h" namespace GraphicsEngine { void ShadingOperation::Initialize() { auto shadowCamera = Engine::Create<Camera>(); auto shadowScene = Engine::Create<Scene>(); sh...
36.627119
155
0.728763
mettaursp
998f59d8ff627006e43f0c806056bc361bbe6e56
33,660
hpp
C++
Tests/wrappers.hpp
adam-morrison/Comparing_Filters
8287cae15a64cffd5e5885516dc547f7b01621a7
[ "Apache-2.0" ]
null
null
null
Tests/wrappers.hpp
adam-morrison/Comparing_Filters
8287cae15a64cffd5e5885516dc547f7b01621a7
[ "Apache-2.0" ]
null
null
null
Tests/wrappers.hpp
adam-morrison/Comparing_Filters
8287cae15a64cffd5e5885516dc547f7b01621a7
[ "Apache-2.0" ]
null
null
null
/* Taken from * https://github.com/FastFilter/fastfilter_cpp * */ #ifndef FILTERS_WRAPPERS_HPP #define FILTERS_WRAPPERS_HPP #include <climits> #include <iomanip> #include <iostream> #include <map> #include <random> #include <set> #include <stdexcept> #include <stdio.h> #include <vector> #include "../Bloom_Filter/b...
27.29927
161
0.618865
adam-morrison
99910c69455a3106a0c62249ca7f102d28dbefb7
26,359
cpp
C++
be/test/formats/parquet/parquet_schema_test.cpp
stephen-shelby/starrocks
67932670efddbc8c56e2aaf5d3758724dcb44b0a
[ "Zlib", "PSF-2.0", "BSD-2-Clause", "Apache-2.0", "ECL-2.0", "BSD-3-Clause-Clear" ]
1
2022-03-08T09:13:32.000Z
2022-03-08T09:13:32.000Z
be/test/formats/parquet/parquet_schema_test.cpp
stephen-shelby/starrocks
67932670efddbc8c56e2aaf5d3758724dcb44b0a
[ "Zlib", "PSF-2.0", "BSD-2-Clause", "Apache-2.0", "ECL-2.0", "BSD-3-Clause-Clear" ]
null
null
null
be/test/formats/parquet/parquet_schema_test.cpp
stephen-shelby/starrocks
67932670efddbc8c56e2aaf5d3758724dcb44b0a
[ "Zlib", "PSF-2.0", "BSD-2-Clause", "Apache-2.0", "ECL-2.0", "BSD-3-Clause-Clear" ]
null
null
null
// This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Limited. #include <gtest/gtest.h> #include <iostream> #include <vector> #include "formats/parquet/schema.h" namespace starrocks::parquet { class ParquetSchemaTest : public testing::Test { public: ParquetSchemaTest() {} ...
30.193585
98
0.600668
stephen-shelby
99914571040c060f7a15a05e545a1a5ba8dfd966
6,763
cpp
C++
tests/auto/plugins/WebQueryTest/tst_webquery.cpp
Skycoder42/QtAutoUpdater
5df052961cec1e47acfdb770599ad9669d720f80
[ "BSD-3-Clause" ]
594
2015-12-31T12:39:23.000Z
2022-03-31T16:09:46.000Z
tests/auto/plugins/WebQueryTest/tst_webquery.cpp
Skycoder42/QtAutoUpdater
5df052961cec1e47acfdb770599ad9669d720f80
[ "BSD-3-Clause" ]
35
2016-05-06T22:59:07.000Z
2021-09-23T01:20:20.000Z
tests/auto/plugins/WebQueryTest/tst_webquery.cpp
Skycoder42/QtAutoUpdater
5df052961cec1e47acfdb770599ad9669d720f80
[ "BSD-3-Clause" ]
158
2016-03-27T04:12:46.000Z
2022-03-27T10:58:56.000Z
class WebQueryTest; #define TEST_FRIEND WebQueryTest; #include <plugintest.h> #include <QtGui/QGuiApplication> #include "updaterserver.h" using namespace QtAutoUpdater; class WebQueryTest : public PluginTest { Q_OBJECT protected: bool init() override; bool cleanup() override; QString backend() const override; Q...
26.731225
111
0.672039
Skycoder42
999157079c666c2c112dc53855a6a9e29a8bf841
4,341
cpp
C++
carlsim/monitor/neuron_monitor.cpp
saw368/CARLsim5
ba359f87e52f30341ea8332ed8f3e5af846c2687
[ "MIT" ]
18
2020-07-21T00:30:51.000Z
2022-01-14T20:21:56.000Z
carlsim/monitor/neuron_monitor.cpp
saw368/CARLsim5
ba359f87e52f30341ea8332ed8f3e5af846c2687
[ "MIT" ]
17
2020-08-19T15:27:56.000Z
2022-02-26T12:18:11.000Z
carlsim/monitor/neuron_monitor.cpp
saw368/CARLsim5
ba359f87e52f30341ea8332ed8f3e5af846c2687
[ "MIT" ]
11
2020-07-28T21:17:05.000Z
2022-03-07T20:30:13.000Z
/* * Copyright (c) 2016 Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, ...
35.008065
99
0.728634
saw368
9991b56b62a55e134f4e51bad4c8017ebe807f11
764
hpp
C++
src/debug/TextMesh.hpp
bferan/lucent
b19163df12739ffc513110d927e92f98c0b54321
[ "MIT" ]
1
2021-11-12T08:42:43.000Z
2021-11-12T08:42:43.000Z
src/debug/TextMesh.hpp
bferan/lucent
b19163df12739ffc513110d927e92f98c0b54321
[ "MIT" ]
null
null
null
src/debug/TextMesh.hpp
bferan/lucent
b19163df12739ffc513110d927e92f98c0b54321
[ "MIT" ]
null
null
null
#pragma once #include "device/Device.hpp" #include "debug/Font.hpp" #include "rendering/Mesh.hpp" namespace lucent { class TextMesh { public: TextMesh(Device* device, const Font& font); void SetScreenSize(uint32 width, uint32 height); float Draw(const std::string& str, float x, float y, Color color = C...
17.767442
87
0.67801
bferan
999555c38ab2089f6515280071f0e9c1d48743f1
3,139
cpp
C++
src/test/test_disparities.cpp
ShnitzelKiller/Reverse-Engineering-Carpentry
585b5ff053c7e3bf286b663a584bc83687691bd6
[ "MIT" ]
3
2021-09-08T07:28:13.000Z
2022-03-02T21:12:40.000Z
src/test/test_disparities.cpp
ShnitzelKiller/Reverse-Engineering-Carpentry
585b5ff053c7e3bf286b663a584bc83687691bd6
[ "MIT" ]
1
2021-09-21T14:40:55.000Z
2021-09-26T01:19:38.000Z
src/test/test_disparities.cpp
ShnitzelKiller/Reverse-Engineering-Carpentry
585b5ff053c7e3bf286b663a584bc83687691bd6
[ "MIT" ]
null
null
null
// // Created by James Noeckel on 10/13/20. // #include "reconstruction/ReconstructionData.h" #include <opencv2/opencv.hpp> using namespace Eigen; void saveEpipolarLines(ReconstructionData &reconstruction) { for (auto &pair : reconstruction.images) { Vector3d origin1 = pair.second.origin(); double ...
53.20339
146
0.61389
ShnitzelKiller
9995d7412215e44378c5f1451048c16bd9d684b7
44,406
cpp
C++
external/Angle/Project/samples/Asteroids/Asteroids.cpp
agramonte/corona
3a6892f14eea92fdab5fa6d41920aa1e97bc22b1
[ "MIT" ]
1,968
2018-12-30T21:14:22.000Z
2022-03-31T23:48:16.000Z
external/Angle/Project/samples/Asteroids/Asteroids.cpp
agramonte/corona
3a6892f14eea92fdab5fa6d41920aa1e97bc22b1
[ "MIT" ]
303
2019-01-02T19:36:43.000Z
2022-03-31T23:52:45.000Z
external/Angle/Project/samples/Asteroids/Asteroids.cpp
agramonte/corona
3a6892f14eea92fdab5fa6d41920aa1e97bc22b1
[ "MIT" ]
254
2019-01-02T19:05:52.000Z
2022-03-30T06:32:28.000Z
#include "pch.h" #include "Asteroids.h" #include "BasicTimer.h" #define STRINGIFY(str) #str #define PLAYER_ACCELERATION 100.0f #define TURN_SPEED 200.0f #define MAX_ASTEROIDS 32 #define MAX_FALLOUT_PER_ASTEROID 20 #define FALLOUT_INITIAL_VEL 500.0f #define BULLET_SPEED 300.0f #define DESTROYED_ASTEROID_SPEED 100.0f #...
37.473418
144
0.596744
agramonte
9995e36c1017e036a5b84650d2593e276195d63f
19,392
cpp
C++
src-plugins/v3dView/v3dViewFiberInteractor.cpp
gpasquie/medInria-public
1efa82292698695f6ee69fe00114aabce5431246
[ "BSD-4-Clause" ]
null
null
null
src-plugins/v3dView/v3dViewFiberInteractor.cpp
gpasquie/medInria-public
1efa82292698695f6ee69fe00114aabce5431246
[ "BSD-4-Clause" ]
null
null
null
src-plugins/v3dView/v3dViewFiberInteractor.cpp
gpasquie/medInria-public
1efa82292698695f6ee69fe00114aabce5431246
[ "BSD-4-Clause" ]
null
null
null
/*========================================================================= medInria Copyright (c) INRIA 2013. All rights reserved. See LICENSE.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ====...
29.248869
146
0.569565
gpasquie
9995eeacaf1d87cdb211400fd56c8653626272fd
28,059
cpp
C++
cpp-projects/base/files/assimp_loader.cpp
FlorianLance/toolbox
87882a14ec86852d90527c81475b451b9f6e12cf
[ "MIT" ]
null
null
null
cpp-projects/base/files/assimp_loader.cpp
FlorianLance/toolbox
87882a14ec86852d90527c81475b451b9f6e12cf
[ "MIT" ]
null
null
null
cpp-projects/base/files/assimp_loader.cpp
FlorianLance/toolbox
87882a14ec86852d90527c81475b451b9f6e12cf
[ "MIT" ]
1
2021-07-06T14:47:41.000Z
2021-07-06T14:47:41.000Z
/******************************************************************************* ** Toolbox-base ** ** MIT License ** ** Copyright (c) [2018] [Florian Lance] ...
41.202643
197
0.572544
FlorianLance
999825db590c44fa8bd30f1ba9d1112b526bc9e3
4,292
cpp
C++
tools/ecrecover.cpp
beerriot/concord
b03ccf01963bd072915020bb954a7afdb3074d79
[ "Apache-2.0" ]
null
null
null
tools/ecrecover.cpp
beerriot/concord
b03ccf01963bd072915020bb954a7afdb3074d79
[ "Apache-2.0" ]
null
null
null
tools/ecrecover.cpp
beerriot/concord
b03ccf01963bd072915020bb954a7afdb3074d79
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 #include "utils/concord_eth_hash.hpp" #include "utils/concord_eth_sign.hpp" #include "utils/concord_utils.hpp" #include "utils/rlp.hpp" using namespace std; using concord::utils::dehex; using concord::utils::EthSign; u...
26.012121
72
0.637931
beerriot
99a21be2f932532a41fbb2c1246ed158ffdd676b
2,787
cpp
C++
qtchat/bustx/main.cpp
ericosur/myqt
e96f77f99442c44e51a1dbe1ee93edfa09b3db0f
[ "MIT" ]
null
null
null
qtchat/bustx/main.cpp
ericosur/myqt
e96f77f99442c44e51a1dbe1ee93edfa09b3db0f
[ "MIT" ]
null
null
null
qtchat/bustx/main.cpp
ericosur/myqt
e96f77f99442c44e51a1dbe1ee93edfa09b3db0f
[ "MIT" ]
null
null
null
#include <QtCore> #include <QDebug> #include <QCoreApplication> #include <iostream> #include <unistd.h> #include "dbusutil.h" using namespace std; ENUM_BUS g_session_bus = USE_SYSTEM_BUS; void msgHandler(QtMsgType type, const QMessageLogContext& ctx, const QString& msg) { Q_UNUSED(ctx); const char symbols[] ...
24.883929
82
0.519555
ericosur
99a2e0a90e4dd2ff7f515862951c93847489be92
2,323
hpp
C++
include/expressions/diff_expr.hpp
miceks/gem
08321fd35f8e3338f70bf9364448c8e77735ed2d
[ "MIT" ]
null
null
null
include/expressions/diff_expr.hpp
miceks/gem
08321fd35f8e3338f70bf9364448c8e77735ed2d
[ "MIT" ]
null
null
null
include/expressions/diff_expr.hpp
miceks/gem
08321fd35f8e3338f70bf9364448c8e77735ed2d
[ "MIT" ]
null
null
null
#pragma once namespace gem::expr { // Expression produced by the - operator template <typename LHS, typename RHS> class diff_expr { LHS const& m_lhs_expr; RHS const& m_rhs_expr; public: using result_type = gem::meta::sum<typename LHS::result_type, ...
29.782051
77
0.541972
miceks
99a40a86a403ac0161f90871abbcd7aee58efe86
1,170
cpp
C++
src/Scene/Model/MenuModelManager.cpp
krusagiz/SDL-OpenGL-Game-Framework
f96dc4f2fccf2b9d7fda4b7403be54d025b9b2c7
[ "MIT" ]
null
null
null
src/Scene/Model/MenuModelManager.cpp
krusagiz/SDL-OpenGL-Game-Framework
f96dc4f2fccf2b9d7fda4b7403be54d025b9b2c7
[ "MIT" ]
null
null
null
src/Scene/Model/MenuModelManager.cpp
krusagiz/SDL-OpenGL-Game-Framework
f96dc4f2fccf2b9d7fda4b7403be54d025b9b2c7
[ "MIT" ]
null
null
null
#include "MenuModelManager.hpp" #include <cmath> #include "../../ui/UiManager.hpp" MenuModelManager::MenuModelManager() : ModelManager(64) { // } void MenuModelManager::updateOneTick() { // } void MenuModelManager::draw(UiManager &uiManager) { uiManager.setColorMask({1,1,1}); uiManager.set...
31.621622
105
0.68547
krusagiz
99a4913fa33c824bec8d78bb7283b51536954b6c
5,738
hpp
C++
L7/Common/Headers/GpProtoHeaders.hpp
ITBear/GpNetwork
65b28ee8ed16e47efd8f8991cd8942c8a517c45e
[ "Apache-2.0" ]
null
null
null
L7/Common/Headers/GpProtoHeaders.hpp
ITBear/GpNetwork
65b28ee8ed16e47efd8f8991cd8942c8a517c45e
[ "Apache-2.0" ]
null
null
null
L7/Common/Headers/GpProtoHeaders.hpp
ITBear/GpNetwork
65b28ee8ed16e47efd8f8991cd8942c8a517c45e
[ "Apache-2.0" ]
null
null
null
#pragma once #include "GpProtoHeaderValue.hpp" #include "../Enums/GpEnums.hpp" namespace GPlatform { class GPNETWORK_API GpProtoHeaders: public GpTypeStructBase { public: CLASS_DECLARE_DEFAULTS(GpProtoHeaders) TYPE_STRUCT_DECLARE("88a01e4e-9105-4cd5-9990-4578ebb14b51"_sv) public: explicit ...
40.125874
104
0.467585
ITBear
99a5be3d0bb725a723cd52bc36fbae911f0f21f9
3,991
cpp
C++
Advanced C++ Course/Benjamin Rutan HW 1 Submission/1.5/1.5/Line.cpp
BRutan/Cpp
8acbc6c341f49d6d83168ccd5ba49bd6824214f9
[ "MIT" ]
null
null
null
Advanced C++ Course/Benjamin Rutan HW 1 Submission/1.5/1.5/Line.cpp
BRutan/Cpp
8acbc6c341f49d6d83168ccd5ba49bd6824214f9
[ "MIT" ]
null
null
null
Advanced C++ Course/Benjamin Rutan HW 1 Submission/1.5/1.5/Line.cpp
BRutan/Cpp
8acbc6c341f49d6d83168ccd5ba49bd6824214f9
[ "MIT" ]
null
null
null
/* Line.cpp (exercise 1.5.5) Description: * Declare Line class that represents a line in 2-D Euclidean space. State Variables/Objects: *Point p1, p2: Points in 2-D Euclidean space. Member Functions: *Line(): Default constructor (allocates memory for both state Point objects, sets their states to (0,0)). *Line(const...
34.111111
168
0.604861
BRutan
99a858f595f29c0242f3f3d56ae313bcf004f4e0
4,865
cc
C++
third_party/blink/renderer/core/html/anchor_element_metrics_sender.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
third_party/blink/renderer/core/html/anchor_element_metrics_sender.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
third_party/blink/renderer/core/html/anchor_element_metrics_sender.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
// Copyright 2018 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 "third_party/blink/renderer/core/html/anchor_element_metrics_sender.h" #include "base/metrics/histogram_macros.h" #include "third_party/blink/pu...
32.871622
80
0.764851
mghgroup
99a9fe05108b7f6744f3b903c9983d67caf2f920
157
hpp
C++
BBB_GPIO/utils.hpp
felipegarcia99/beagleboneblack-gpio-cpp-api
e6169957fe8da0dfb87381ee4c1a12941c1f02be
[ "MIT" ]
1
2021-09-09T10:10:43.000Z
2021-09-09T10:10:43.000Z
BBB_GPIO/utils.hpp
felipegarcia99/beagleboneblack-gpio-cpp-api
e6169957fe8da0dfb87381ee4c1a12941c1f02be
[ "MIT" ]
null
null
null
BBB_GPIO/utils.hpp
felipegarcia99/beagleboneblack-gpio-cpp-api
e6169957fe8da0dfb87381ee4c1a12941c1f02be
[ "MIT" ]
null
null
null
#include <signal.h> // our new library extern volatile sig_atomic_t flag; void delay(float time); void defining_sigaction(); void my_handler(int signal);
22.428571
40
0.764331
felipegarcia99
99aa1ef128ad211443b5fa17f3aa39f9036020a7
80,205
cpp
C++
Libs/Mesh/meshFIM.cpp
ajensen1234/ShapeWorks
fb308c8c38ad0e00c7f62aa7221e00e72140d909
[ "MIT" ]
40
2019-07-26T18:02:13.000Z
2022-03-28T07:24:23.000Z
Libs/Mesh/meshFIM.cpp
ajensen1234/ShapeWorks
fb308c8c38ad0e00c7f62aa7221e00e72140d909
[ "MIT" ]
1,359
2019-06-20T17:17:53.000Z
2022-03-31T05:42:29.000Z
Libs/Mesh/meshFIM.cpp
ajensen1234/ShapeWorks
fb308c8c38ad0e00c7f62aa7221e00e72140d909
[ "MIT" ]
13
2019-12-06T01:31:48.000Z
2022-02-24T04:34:23.000Z
#include "meshFIM.h" #include "Vec.h" #include <math.h> #include <sstream> #include <fstream> #include <stdio.h> //#include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> //#include <termios.h> #define NB_ENABLE 0 #define NB_DISABLE 1 #ifndef PI #define PI 3.1415927 #endif #ifndef MIN #d...
31.802141
161
0.54034
ajensen1234
99aadc94c20aa96fec0056556828f140150c470b
294
hpp
C++
jet-sdk-csgo/src/i_client_leaf_system.hpp
bruhmoment21/csgo-imgui-sdk
f299375d4786b029b800800cde9a3404aa66e0e5
[ "MIT" ]
57
2020-07-04T16:32:12.000Z
2022-03-03T20:18:33.000Z
jet-sdk-csgo/src/i_client_leaf_system.hpp
bruhmoment21/csgo-imgui-sdk
f299375d4786b029b800800cde9a3404aa66e0e5
[ "MIT" ]
9
2021-03-15T08:48:17.000Z
2021-12-18T15:34:12.000Z
jet-sdk-csgo/src/i_client_leaf_system.hpp
bruhmoment21/csgo-imgui-sdk
f299375d4786b029b800800cde9a3404aa66e0e5
[ "MIT" ]
21
2020-07-21T15:33:05.000Z
2022-03-04T23:19:11.000Z
#pragma once #include "utilities.hpp" class i_client_leaf_system { public: void create_renderable_handle(void* obj) { return utilities::call_virtual< void, 0, std::uintptr_t, bool, int, int, std::uint32_t >(this, reinterpret_cast<std::uintptr_t>(obj) + 4, false, 0, -1, 0xFFFFFFFF); } };
24.5
166
0.72449
bruhmoment21
99ab0539d47cd5450c5ce19ab5dc1409fc7e40fb
1,597
cpp
C++
source/init_coreload_postparse.cpp
cloudy-astrophysics/cloudy_lfs
aed1d6d78042b93f17ea497a37b35a524f3d3e2e
[ "Zlib" ]
null
null
null
source/init_coreload_postparse.cpp
cloudy-astrophysics/cloudy_lfs
aed1d6d78042b93f17ea497a37b35a524f3d3e2e
[ "Zlib" ]
null
null
null
source/init_coreload_postparse.cpp
cloudy-astrophysics/cloudy_lfs
aed1d6d78042b93f17ea497a37b35a524f3d3e2e
[ "Zlib" ]
null
null
null
/* This file is part of Cloudy and is copyright (C)1978-2019 by Gary J. Ferland and * others. For conditions of distribution and use see copyright notice in license.txt */ /*InitCoreloadPostparse initialization at start, called from cloudy * after parser one time per core load */ #include "cddefines.h" #include "ini...
29.574074
90
0.694427
cloudy-astrophysics
99ac4e1e4f75516d96208cc00d44d6941c66dd08
8,167
cpp
C++
pse/TGUI-0.7.7/tests/Widgets/Label.cpp
ValtoLibraries/PUtils
f30ebf21416654743ad2a05b14974acd27257da8
[ "MIT" ]
null
null
null
pse/TGUI-0.7.7/tests/Widgets/Label.cpp
ValtoLibraries/PUtils
f30ebf21416654743ad2a05b14974acd27257da8
[ "MIT" ]
null
null
null
pse/TGUI-0.7.7/tests/Widgets/Label.cpp
ValtoLibraries/PUtils
f30ebf21416654743ad2a05b14974acd27257da8
[ "MIT" ]
null
null
null
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // TGUI - Texus's Graphical User Interface // Copyright (C) 2012-2017 Bruno Van de Velde (vdv_b@tgui.eu) // // This software is provided 'as-is', without any express or implied warranty. ...
44.873626
129
0.615281
ValtoLibraries
99ad54256be68e91bdc74060961a9ae87330de64
3,302
cpp
C++
benchmarks/linear_algebra/cg/dump_matlab_matrix.cpp
akmaru/tiramisu
8ca4173547b6d12cff10575ef0dc48cf93f7f414
[ "MIT" ]
23
2017-05-03T13:06:34.000Z
2018-06-07T07:12:43.000Z
benchmarks/linear_algebra/cg/dump_matlab_matrix.cpp
akmaru/tiramisu
8ca4173547b6d12cff10575ef0dc48cf93f7f414
[ "MIT" ]
2
2017-04-25T08:59:09.000Z
2017-05-11T16:41:55.000Z
benchmarks/linear_algebra/cg/dump_matlab_matrix.cpp
akmaru/tiramisu
8ca4173547b6d12cff10575ef0dc48cf93f7f414
[ "MIT" ]
13
2017-07-03T15:24:53.000Z
2022-03-05T14:57:10.000Z
//@HEADER // ************************************************************************ // // HPCCG: Simple Conjugate Gradient Benchmark Code // Copyright (2006) Sandia Corporation // // Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive // license for use of this work by...
39.783133
113
0.640218
akmaru
99afaae66e1b76aaee0613a2ad2acbc24b794242
5,005
hxx
C++
opencascade/IFSelect_SelectSignature.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/IFSelect_SelectSignature.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/IFSelect_SelectSignature.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
// Created on: 1994-04-21 // Created by: Christian CAILLET // Copyright (c) 1994-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the ...
37.631579
180
0.783017
mgreminger
99b0a02606783ea16114881450000304af19e5e8
30,975
hpp
C++
public/anton/array.hpp
kociap/atl
a7dc9b35c14453040db82dbbeca3c305bb25c66e
[ "MIT" ]
null
null
null
public/anton/array.hpp
kociap/atl
a7dc9b35c14453040db82dbbeca3c305bb25c66e
[ "MIT" ]
null
null
null
public/anton/array.hpp
kociap/atl
a7dc9b35c14453040db82dbbeca3c305bb25c66e
[ "MIT" ]
null
null
null
#pragma once #include <anton/allocator.hpp> #include <anton/assert.hpp> #include <anton/iterators.hpp> #include <anton/math/math.hpp> #include <anton/memory.hpp> #include <anton/swap.hpp> #include <anton/tags.hpp> #include <anton/type_traits.hpp> #include <anton/utility.hpp> namespace anton { #define ANTON_ARRAY_MIN_...
38.478261
156
0.610944
kociap
99b1a3dab92ede92281a6a4427483a1efb0db7bd
802
cpp
C++
Src/MatchScript/MatchScript_Console/main.cpp
jjuiddong/TemplateMatch-Script
5b43b62851ba73f7aa05e24d6e1dee7d0fbeadfd
[ "MIT" ]
null
null
null
Src/MatchScript/MatchScript_Console/main.cpp
jjuiddong/TemplateMatch-Script
5b43b62851ba73f7aa05e24d6e1dee7d0fbeadfd
[ "MIT" ]
null
null
null
Src/MatchScript/MatchScript_Console/main.cpp
jjuiddong/TemplateMatch-Script
5b43b62851ba73f7aa05e24d6e1dee7d0fbeadfd
[ "MIT" ]
null
null
null
#include "stdafx.h" using namespace std; using namespace cv; using namespace cvproc; using namespace cvproc::imagematch; void main() { cMatchManager mng; mng.Init("match-script.txt", "@test"); cMatchResult *result = mng.m_sharedData.AllocMatchResult(); list<string> exts; exts.push_back("jpg"); exts.push_back...
20.564103
74
0.668329
jjuiddong
99b249080f28590a7fd251531bfd8d976e60881a
129
cpp
C++
boards/px4/io-v2/src/timer_config.cpp
Diksha-agg/Firmware_val
1efc1ba06997d19df3ed9bd927cfb24401b0fe03
[ "BSD-3-Clause" ]
null
null
null
boards/px4/io-v2/src/timer_config.cpp
Diksha-agg/Firmware_val
1efc1ba06997d19df3ed9bd927cfb24401b0fe03
[ "BSD-3-Clause" ]
null
null
null
boards/px4/io-v2/src/timer_config.cpp
Diksha-agg/Firmware_val
1efc1ba06997d19df3ed9bd927cfb24401b0fe03
[ "BSD-3-Clause" ]
null
null
null
version https://git-lfs.github.com/spec/v1 oid sha256:4bee13f1ae0dfeeb63f8afbdabf2f2c704da45573edd3063e914ae9149cba03c size 2868
32.25
75
0.883721
Diksha-agg
99b721b83ca5028f1440627b0d71712eff9ab18b
964
cpp
C++
src/abstraction/Semaphore.cpp
lythaniel/YapiBot
724d763fc675a984c110da396ae2803a4b847100
[ "MIT" ]
2
2018-05-28T16:00:52.000Z
2019-01-21T17:36:29.000Z
src/abstraction/Semaphore.cpp
lythaniel/YapiBot
724d763fc675a984c110da396ae2803a4b847100
[ "MIT" ]
null
null
null
src/abstraction/Semaphore.cpp
lythaniel/YapiBot
724d763fc675a984c110da396ae2803a4b847100
[ "MIT" ]
null
null
null
/* * Semaphore.cpp * * Copyright (C) 2016 Cyrille Potereau * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ #include "Semaphore.h" #include <time.h> CSemaphore::CSemaphore (int32_t maxcount) : m_MaxCnt(maxcount) { sem_init (&m_Sem...
14.606061
64
0.650415
lythaniel
99b8ad046d44d39e3334f4f0ab67279f33c735f0
965
cpp
C++
src/train/Trainer.cpp
yxtj/FAB
f483672e13ea96a3f1da450c9655b1fc239233b1
[ "MIT" ]
null
null
null
src/train/Trainer.cpp
yxtj/FAB
f483672e13ea96a3f1da450c9655b1fc239233b1
[ "MIT" ]
null
null
null
src/train/Trainer.cpp
yxtj/FAB
f483672e13ea96a3f1da450c9655b1fc239233b1
[ "MIT" ]
null
null
null
#include "Trainer.h" using namespace std; void Trainer::bindModel(Model* pm){ this->pm = pm; } void Trainer::bindDataset(const DataHolder* pd){ this->pd = pd; } void Trainer::prepare() { } void Trainer::ready() { } void Trainer::initBasic(const std::vector<std::string>& param) { this->param = param; } std::vec...
17.87037
74
0.682902
yxtj
99ba44ecdc17c0885d37e06cbddc6a3179528b70
1,563
cpp
C++
src/hikogui/widgets/momentary_button_widget.cpp
clayne/ttauri
9820409a7df5028ad39448ddd00830e843a2e6ac
[ "BSL-1.0" ]
null
null
null
src/hikogui/widgets/momentary_button_widget.cpp
clayne/ttauri
9820409a7df5028ad39448ddd00830e843a2e6ac
[ "BSL-1.0" ]
null
null
null
src/hikogui/widgets/momentary_button_widget.cpp
clayne/ttauri
9820409a7df5028ad39448ddd00830e843a2e6ac
[ "BSL-1.0" ]
null
null
null
// Copyright Take Vos 2021. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt) #include "momentary_button_widget.hpp" namespace hi::inline v1 { widget_constraints const &momentary_button_widget::set_constraints() n...
31.26
118
0.699296
clayne
99c1cfd3e2777ed3effb672764fabcd8db517c87
1,513
hpp
C++
test/unit/module/real/core/maxmag/diff/maxmag.hpp
orao/eve
a8bdc6a9cab06d905e8749354cde63776ab76846
[ "MIT" ]
null
null
null
test/unit/module/real/core/maxmag/diff/maxmag.hpp
orao/eve
a8bdc6a9cab06d905e8749354cde63776ab76846
[ "MIT" ]
null
null
null
test/unit/module/real/core/maxmag/diff/maxmag.hpp
orao/eve
a8bdc6a9cab06d905e8749354cde63776ab76846
[ "MIT" ]
null
null
null
//================================================================================================== /** EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT **/ //================================================================================================== #...
34.386364
100
0.519498
orao
99c5226676409519adf175cd79556a8a9436fb1e
3,093
cc
C++
src/mpc/test/mpc_flow_reactive_transport.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
37
2017-04-26T16:27:07.000Z
2022-03-01T07:38:57.000Z
src/mpc/test/mpc_flow_reactive_transport.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
494
2016-09-14T02:31:13.000Z
2022-03-13T18:57:05.000Z
src/mpc/test/mpc_flow_reactive_transport.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
43
2016-09-26T17:58:40.000Z
2022-03-25T02:29:59.000Z
#include <iostream> #include "stdlib.h" #include "math.h" #include "UnitTest++.h" #include <Epetra_MpiComm.h> #include "Epetra_SerialComm.h" #include "Teuchos_ParameterList.hpp" #include "Teuchos_ParameterXMLFileReader.hpp" #include "CycleDriver.hh" #include "eos_registration.hh" #include "Mesh.hh" #include "MeshFa...
29.457143
101
0.692208
fmyuan
99c8eaf7c16791f13dee016aff3c4348574d4d0c
12,975
cpp
C++
test/ReaderTest.cpp
semirpuskarevic/serialization
f911bf5f3c04629f61fe3f3f805eebb3fd5b458a
[ "BSL-1.0" ]
null
null
null
test/ReaderTest.cpp
semirpuskarevic/serialization
f911bf5f3c04629f61fe3f3f805eebb3fd5b458a
[ "BSL-1.0" ]
null
null
null
test/ReaderTest.cpp
semirpuskarevic/serialization
f911bf5f3c04629f61fe3f3f805eebb3fd5b458a
[ "BSL-1.0" ]
null
null
null
#include <date.h> #include <gmock/gmock.h> #include <boost/asio/buffer.hpp> #include <reader.hpp> #include <writer.hpp> #include "SerializationTestTypes.hpp" using namespace testing; using namespace detail; using namespace date; using namespace std::chrono; namespace asio = boost::asio; template <size_t N> class Rea...
29.896313
80
0.734489
semirpuskarevic
99cbbec5ad5e7ce2bd29ba687b8276193507324b
997
cpp
C++
Cplus/PathWithMinimumEffort.cpp
JumHorn/leetcode
1447237ae8fc3920b19f60b30c71a84b088cc200
[ "MIT" ]
1
2018-01-22T12:06:28.000Z
2018-01-22T12:06:28.000Z
Cplus/PathWithMinimumEffort.cpp
JumHorn/leetcode
1447237ae8fc3920b19f60b30c71a84b088cc200
[ "MIT" ]
null
null
null
Cplus/PathWithMinimumEffort.cpp
JumHorn/leetcode
1447237ae8fc3920b19f60b30c71a84b088cc200
[ "MIT" ]
null
null
null
#include <climits> #include <cmath> #include <queue> #include <vector> using namespace std; class Solution { public: int minimumEffortPath(vector<vector<int>> &heights) { int M = heights.size(), N = heights[0].size(); priority_queue<pair<int, int>> q; //{effort,position} vector<vector<int>> seen(M, vector<int>...
23.738095
57
0.535607
JumHorn
99cc05d8f903917c17d9241b307bff4a11c42acc
5,810
cc
C++
sdk/c/api/media_stream_interface.cc
raghuhit/webrtc-1
5b534b6458ab14cbe62a2bbb642e8a3536dfd5e2
[ "Apache-2.0", "BSD-3-Clause" ]
99
2019-09-30T11:42:30.000Z
2021-12-24T04:41:10.000Z
sdk/c/api/media_stream_interface.cc
raghuhit/webrtc-1
5b534b6458ab14cbe62a2bbb642e8a3536dfd5e2
[ "Apache-2.0", "BSD-3-Clause" ]
23
2020-03-27T00:59:45.000Z
2022-03-28T15:31:09.000Z
sdk/c/api/media_stream_interface.cc
raghuhit/webrtc-1
5b534b6458ab14cbe62a2bbb642e8a3536dfd5e2
[ "Apache-2.0", "BSD-3-Clause" ]
26
2019-11-23T15:36:12.000Z
2022-03-15T15:37:01.000Z
/* * Copyright 2019 pixiv Inc. All Rights Reserved. * * Use of this source code is governed by a license that can be * found in the LICENSE.pixiv file in the root of the source tree. */ #include "api/media_stream_interface.h" #include "rtc_base/ref_counted_object.h" #include "sdk/c/api/media_stream_interface.h...
30.904255
80
0.754217
raghuhit
99ce60775ebc950d1219773204d34f11e23551d3
4,252
cpp
C++
src/global/operator_factory.cpp
ViewFaceCore/TenniS
c1d21a71c1cd025ddbbe29924c8b3296b3520fc0
[ "BSD-2-Clause" ]
null
null
null
src/global/operator_factory.cpp
ViewFaceCore/TenniS
c1d21a71c1cd025ddbbe29924c8b3296b3520fc0
[ "BSD-2-Clause" ]
null
null
null
src/global/operator_factory.cpp
ViewFaceCore/TenniS
c1d21a71c1cd025ddbbe29924c8b3296b3520fc0
[ "BSD-2-Clause" ]
null
null
null
// // Created by kier on 2018/6/29. // #include "global/operator_factory.h" #include <map> #include <global/operator_factory.h> #include "global/memory_device.h" namespace ts { using Name = std::pair<DeviceType, std::string>; template<typename K, typename V> using map = std::map<K, V>; static map<...
37.964286
120
0.634995
ViewFaceCore
99ce72cc34e49c642c23bab57fcbedcd0b594c0d
11,612
cc
C++
diplomacy_research/proto/tensorflow_serving/apis/prediction_service.grpc.pb.cc
wwongkamjan/dipnet_press
787263c1b9484698904f525c8d78d0e333e1c0d9
[ "MIT" ]
39
2019-09-06T13:42:24.000Z
2022-03-18T18:38:43.000Z
diplomacy_research/proto/tensorflow_serving/apis/prediction_service.grpc.pb.cc
wwongkamjan/dipnet_press
787263c1b9484698904f525c8d78d0e333e1c0d9
[ "MIT" ]
9
2019-09-19T22:35:32.000Z
2022-02-24T18:04:57.000Z
diplomacy_research/proto/tensorflow_serving/apis/prediction_service.grpc.pb.cc
wwongkamjan/dipnet_press
787263c1b9484698904f525c8d78d0e333e1c0d9
[ "MIT" ]
8
2019-10-16T21:09:14.000Z
2022-02-23T05:20:37.000Z
// Generated by the gRPC C++ plugin. // If you make any local change, they will be lost. // source: tensorflow_serving/apis/prediction_service.proto #include "tensorflow_serving/apis/prediction_service.pb.h" #include "tensorflow_serving/apis/prediction_service.grpc.pb.h" #include <grpcpp/impl/codegen/async_stream.h> ...
67.906433
267
0.775319
wwongkamjan
99cf8f6cd7dd98f2362504cfdddc4dd92cad37df
13,045
cpp
C++
src/IsingMCMC.cpp
liyufan1994/CS205ParallelCipher
121e800dad149c7019d80d8d6fc4e0490b9df803
[ "MIT" ]
null
null
null
src/IsingMCMC.cpp
liyufan1994/CS205ParallelCipher
121e800dad149c7019d80d8d6fc4e0490b9df803
[ "MIT" ]
null
null
null
src/IsingMCMC.cpp
liyufan1994/CS205ParallelCipher
121e800dad149c7019d80d8d6fc4e0490b9df803
[ "MIT" ]
null
null
null
#include <iostream> #include <math.h> #include <random> #include <vector> #include <fstream> #include <map> #include <string> #include <algorithm> #include <mpi.h> #include <omp.h> #include "Randomize.h" #include "Ising.h" #include "ArrayUtilities.h" /* * * This function runs totalS number of parallel chains each on...
26.247485
118
0.448601
liyufan1994
99d1c09b18dc0668ca38708dca14ad70117ef015
15,206
cpp
C++
Carthage/Checkouts/realm-cocoa/Realm/ObjectStore/tests/sync/permission.cpp
adventam10/Pokedex
26975844cd1ef74878064a92161470b1bbc10f84
[ "MIT" ]
null
null
null
Carthage/Checkouts/realm-cocoa/Realm/ObjectStore/tests/sync/permission.cpp
adventam10/Pokedex
26975844cd1ef74878064a92161470b1bbc10f84
[ "MIT" ]
null
null
null
Carthage/Checkouts/realm-cocoa/Realm/ObjectStore/tests/sync/permission.cpp
adventam10/Pokedex
26975844cd1ef74878064a92161470b1bbc10f84
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////// // // Copyright 2017 Realm 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/li...
39.496104
130
0.573721
adventam10
99d35cf25589afde95af64647c8d75a1378f4b5f
907
cpp
C++
LeetCode/897_Increasing_Order_Search_Tree.cpp
sungmen/Acmicpc_Solve
0298a6aec84993a4d8767bd2c00490b7201e06a4
[ "MIT" ]
null
null
null
LeetCode/897_Increasing_Order_Search_Tree.cpp
sungmen/Acmicpc_Solve
0298a6aec84993a4d8767bd2c00490b7201e06a4
[ "MIT" ]
null
null
null
LeetCode/897_Increasing_Order_Search_Tree.cpp
sungmen/Acmicpc_Solve
0298a6aec84993a4d8767bd2c00490b7201e06a4
[ "MIT" ]
null
null
null
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode() : val(0), left(nullptr), right(nullptr) {} * TreeNode(int x) : val(x), left(nullptr), right(nullptr) {} * TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l...
26.676471
93
0.496141
sungmen
99d3be8c9bf582acbefe0fb98fc8bac2a2e749b1
12,451
cpp
C++
5_System_Processes.cpp
yangminglong/FUGU-ARDUINO-MPPT-FIRMWARE
1a378a2248a636569f5e6a19b14b9bd3b34f4106
[ "CC0-1.0" ]
null
null
null
5_System_Processes.cpp
yangminglong/FUGU-ARDUINO-MPPT-FIRMWARE
1a378a2248a636569f5e6a19b14b9bd3b34f4106
[ "CC0-1.0" ]
null
null
null
5_System_Processes.cpp
yangminglong/FUGU-ARDUINO-MPPT-FIRMWARE
1a378a2248a636569f5e6a19b14b9bd3b34f4106
[ "CC0-1.0" ]
null
null
null
#include "5_System_Processes.h" #include "defines.h" #include <EEPROM.h> #include "Preferences.h" #include "nvs.h" #include "nvs_flash.h" #include "esp32-hal-log.h" const char * my_nvs_errors[] = { "OTHER", "NOT_INITIALIZED", "NOT_FOUND", "TYPE_MISMATCH", "READ_ONLY", "NOT_ENOUGH_SPACE", "INVALID_NAME", "INVALID_HAND...
38.076453
239
0.609188
yangminglong
99d5de8c314b656a1a4c73cee84f77e2ea1fc44d
1,103
cpp
C++
src/invoiceutil.cpp
DNotesCoin/DNotes2.0
5dbf99d34ecd2a939fc5306525c3b197243259ba
[ "MIT" ]
4
2018-05-13T07:40:59.000Z
2019-05-27T20:05:19.000Z
src/invoiceutil.cpp
DNotesCoin/DNotes2.0
5dbf99d34ecd2a939fc5306525c3b197243259ba
[ "MIT" ]
3
2018-05-17T20:31:06.000Z
2019-06-04T14:05:29.000Z
src/invoiceutil.cpp
DNotesCoin/DNotes2.0
5dbf99d34ecd2a939fc5306525c3b197243259ba
[ "MIT" ]
5
2018-01-09T17:54:22.000Z
2018-11-02T14:53:52.000Z
#include "util.h" #include "invoiceutil.h" namespace InvoiceUtil { bool validateInvoiceNumber(std::string input) { int size = input.size(); if(size > 32) { return false; } for(int idx=0; idx < size; ++idx) { int ch = input.at(idx); ...
22.510204
112
0.426111
DNotesCoin
99d81f202ad5ab104644196d68071adc5887203f
656
cpp
C++
cpp03/ex01/main.cpp
ndeana-21/cpp
98932eab0c1d57a715b6deb76c7a294c1e86f2fd
[ "MIT" ]
null
null
null
cpp03/ex01/main.cpp
ndeana-21/cpp
98932eab0c1d57a715b6deb76c7a294c1e86f2fd
[ "MIT" ]
null
null
null
cpp03/ex01/main.cpp
ndeana-21/cpp
98932eab0c1d57a715b6deb76c7a294c1e86f2fd
[ "MIT" ]
null
null
null
#include "FragTrap.hpp" #include "ScavTrap.hpp" int main() { FragTrap frag_trap; FragTrap R2D2("R2D2"); FragTrap test("BMO"); FragTrap BMO(test); FragTrap test2("C-3PO"); FragTrap C_3PO = test2; frag_trap.rangeAttack("Blue bird"); frag_trap.meleeAttack("Handsome Jack"); frag_trap.takeDamage(42); frag_trap.t...
21.866667
45
0.70122
ndeana-21
99d8a42491a74a0869673477a0ea7f08463d2c6c
4,381
hpp
C++
dakota-6.3.0.Windows.x86/include/Teuchos_Flops.hpp
seakers/ExtUtils
b0186098063c39bd410d9decc2a765f24d631b25
[ "BSD-2-Clause" ]
null
null
null
dakota-6.3.0.Windows.x86/include/Teuchos_Flops.hpp
seakers/ExtUtils
b0186098063c39bd410d9decc2a765f24d631b25
[ "BSD-2-Clause" ]
null
null
null
dakota-6.3.0.Windows.x86/include/Teuchos_Flops.hpp
seakers/ExtUtils
b0186098063c39bd410d9decc2a765f24d631b25
[ "BSD-2-Clause" ]
1
2022-03-18T14:13:14.000Z
2022-03-18T14:13:14.000Z
// @HEADER // *********************************************************************** // // Teuchos: Common Tools Package // Copyright (2004) Sandia Corporation // // Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive // license for use of this work by or on behalf of...
31.517986
98
0.695275
seakers
99da0b48ecf0c84d690b8233dc02c4d640dde780
3,494
cpp
C++
CodeReview/src/overlays/CodeReviewCommentOverlay.cpp
dimitar-asenov/Envision
1ab5c846fca502b7fe73ae4aff59e8746248446c
[ "BSD-3-Clause" ]
75
2015-01-18T13:29:43.000Z
2022-01-14T08:02:01.000Z
CodeReview/src/overlays/CodeReviewCommentOverlay.cpp
dimitar-asenov/Envision
1ab5c846fca502b7fe73ae4aff59e8746248446c
[ "BSD-3-Clause" ]
364
2015-01-06T10:20:21.000Z
2018-12-17T20:12:28.000Z
CodeReview/src/overlays/CodeReviewCommentOverlay.cpp
dimitar-asenov/Envision
1ab5c846fca502b7fe73ae4aff59e8746248446c
[ "BSD-3-Clause" ]
14
2015-01-09T00:44:24.000Z
2022-02-22T15:01:44.000Z
/*********************************************************************************************************************** ** ** Copyright (c) 2015 ETH Zurich ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the ** following conditi...
44.227848
120
0.728105
dimitar-asenov
99dc5f6a79eaab8bcd489fc3fb5da4268b34b113
1,420
cpp
C++
src/ExecuteConfigSection.cpp
babetoduarte/EF5
5e469f288bce82259e85d26a3f30f7dc260547fb
[ "Unlicense" ]
20
2016-09-20T15:19:54.000Z
2021-09-04T21:53:30.000Z
src/ExecuteConfigSection.cpp
chrimerss/EF5
c97ed83ead8fd764f7c94731fd5bf74761a0bb3d
[ "Unlicense" ]
10
2016-09-20T17:13:00.000Z
2022-03-20T12:53:37.000Z
src/ExecuteConfigSection.cpp
chrimerss/EF5
c97ed83ead8fd764f7c94731fd5bf74761a0bb3d
[ "Unlicense" ]
20
2016-12-01T21:41:40.000Z
2021-08-07T06:11:43.000Z
#include "ExecuteConfigSection.h" #include "Messages.h" #include <cstdio> #include <cstring> ExecuteConfigSection *g_executeConfig = NULL; ExecuteConfigSection::ExecuteConfigSection() {} ExecuteConfigSection::~ExecuteConfigSection() {} CONFIG_SEC_RET ExecuteConfigSection::ProcessKeyValue(char *name, char *value) { ...
26.296296
79
0.685211
babetoduarte
99dd784f7e94f145e783decf496e821a74d8fc28
3,990
hpp
C++
src/solvers/gecode/inspectors/dot.hpp
Patstrom/disUnison
94731ad37cefa9dc3b6472de3adea8a8d5f0a44b
[ "BSD-3-Clause" ]
6
2018-03-01T19:12:07.000Z
2018-09-10T15:52:14.000Z
src/solvers/gecode/inspectors/dot.hpp
Patstrom/disUnison
94731ad37cefa9dc3b6472de3adea8a8d5f0a44b
[ "BSD-3-Clause" ]
56
2018-02-26T16:44:15.000Z
2019-02-23T17:07:32.000Z
src/solvers/gecode/inspectors/dot.hpp
Patstrom/disUnison
94731ad37cefa9dc3b6472de3adea8a8d5f0a44b
[ "BSD-3-Clause" ]
null
null
null
/* * Main authors: * Roberto Castaneda Lozano <roberto.castaneda@ri.se> * * This file is part of Unison, see http://unison-code.github.io * * Copyright (c) 2016, RISE SICS AB * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted pr...
31.171875
80
0.721053
Patstrom
99dd8a64c549d0787a2576d47c4af8c629f25be4
3,422
cpp
C++
concurrencpp/src/threads/thread_group.cpp
HungMingWu/concurrencpp
eb4ed8fb6cd8510925738868cf57bed882005b4b
[ "MIT" ]
null
null
null
concurrencpp/src/threads/thread_group.cpp
HungMingWu/concurrencpp
eb4ed8fb6cd8510925738868cf57bed882005b4b
[ "MIT" ]
null
null
null
concurrencpp/src/threads/thread_group.cpp
HungMingWu/concurrencpp
eb4ed8fb6cd8510925738868cf57bed882005b4b
[ "MIT" ]
null
null
null
#include "thread_group.h" #include <algorithm> #include <cassert> namespace concurrencpp::details { class thread_group_worker { private: task m_task; std::thread m_thread; thread_group& m_parent_pool; typename std::list<thread_group_worker>::iterator m_self_it; void execute_and_retire(); public: th...
26.527132
94
0.753945
HungMingWu
99e354a0e578822703b25cedd9a6d9bc2a85e45d
91,661
cpp
C++
src/observer/sql/executor/tuple.cpp
watchpoints/miniob
3ad8dffc8f55ce66626472763bd13c4ad5205254
[ "Apache-2.0" ]
null
null
null
src/observer/sql/executor/tuple.cpp
watchpoints/miniob
3ad8dffc8f55ce66626472763bd13c4ad5205254
[ "Apache-2.0" ]
null
null
null
src/observer/sql/executor/tuple.cpp
watchpoints/miniob
3ad8dffc8f55ce66626472763bd13c4ad5205254
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2021 Xie Meiyi(xiemeiyi@hust.edu.cn) and OceanBase and/or its affiliates. All rights reserved. miniob is licensed under Mulan PSL v2. You can use this software according to the terms and conditions of the Mulan PSL v2. You may obtain a copy of Mulan PSL v2 at: http://license.coscl.org.cn/Mulan...
27.525826
169
0.527694
watchpoints
99e68d7a8237969ce37e075a3c52a118ab548c78
3,777
cxx
C++
main/svx/source/sdr/contact/viewobjectcontactofgroup.cxx
Alan-love/openoffice
09be380f1ebba053dbf269468ff884f5d26ce1e4
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/svx/source/sdr/contact/viewobjectcontactofgroup.cxx
Alan-love/openoffice
09be380f1ebba053dbf269468ff884f5d26ce1e4
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/svx/source/sdr/contact/viewobjectcontactofgroup.cxx
Alan-love/openoffice
09be380f1ebba053dbf269468ff884f5d26ce1e4
[ "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 yo...
33.723214
139
0.670638
Alan-love
99e885ebda86f7efb00e57cea9fe67418be22686
3,680
cpp
C++
LeetCode/C++/221. Maximal Square.cpp
shreejitverma/GeeksforGeeks
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-18T05:14:28.000Z
2022-03-08T07:00:08.000Z
LeetCode/C++/221. Maximal Square.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
6
2022-01-13T04:31:04.000Z
2022-03-12T01:06:16.000Z
LeetCode/C++/221. Maximal Square.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-14T19:53:53.000Z
2022-02-18T05:14:30.000Z
//Approach #1 Brute Force [Accepted] //Runtime: 24 ms, faster than 33.17% of C++ online submissions for Maximal Square. //Memory Usage: 8.2 MB, less than 100.00% of C++ online submissions for Maximal Square. //time: O((mn)^2), space: O(1) class Solution { public: int maximalSquare(vector<vector<char>>& matrix) { ...
32.857143
87
0.416033
shreejitverma
99e97479fb174c208fe45f7df3dffd7c6b944cd5
6,657
cpp
C++
Game/Client/CEGUIFalagardEx/FalChatChannel.cpp
hackerlank/SourceCode
b702c9e0a9ca5d86933f3c827abb02a18ffc9a59
[ "MIT" ]
4
2021-07-31T13:56:01.000Z
2021-11-13T02:55:10.000Z
Game/Client/CEGUIFalagardEx/FalChatChannel.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
null
null
null
Game/Client/CEGUIFalagardEx/FalChatChannel.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
7
2021-08-31T14:34:23.000Z
2022-01-19T08:25:58.000Z
#include "FalChatChannel.h" #include "CEGUIPropertyHelper.h" #include "falagard/CEGUIFalWidgetLookManager.h" #include "falagard/CEGUIFalWidgetLookFeel.h" // Start of CEGUI namespace section namespace CEGUI { //=================================================================================== // // FalagardChatCha...
28.570815
110
0.680787
hackerlank
99e9bfed3ca0114396d42df21472a9a422505ccc
3,922
cpp
C++
source/hougfx/test/hou/gfx/test_graphics_state.cpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
2
2018-04-12T20:59:20.000Z
2018-07-26T16:04:07.000Z
source/hougfx/test/hou/gfx/test_graphics_state.cpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
null
null
null
source/hougfx/test/hou/gfx/test_graphics_state.cpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
null
null
null
// Houzi Game Engine // Copyright (c) 2018 Davide Corradi // Licensed under the MIT license. #include "hou/gfx/test_gfx_base.hpp" #include "hou/gfx/graphics_state.hpp" using namespace hou; using namespace testing; namespace hou { class test_graphics_state : public test_gfx_base { public: static std::vector<ble...
25.633987
77
0.789393
DavideCorradiDev
99ebaad6690973f182110c0ee4954177857a8d84
3,899
cpp
C++
src/duyebase/system/duye_epoll.cpp
tencupofkaiwater/duye
72257379f91e7a0db5ffefbb7e7a74dc0a255f67
[ "Unlicense" ]
null
null
null
src/duyebase/system/duye_epoll.cpp
tencupofkaiwater/duye
72257379f91e7a0db5ffefbb7e7a74dc0a255f67
[ "Unlicense" ]
null
null
null
src/duyebase/system/duye_epoll.cpp
tencupofkaiwater/duye
72257379f91e7a0db5ffefbb7e7a74dc0a255f67
[ "Unlicense" ]
null
null
null
/************************************************************************************ ** * @copyright (c) 2013-2100, ChengDu Duyer Technology Co., LTD. All Right Reserved. * *************************************************************************************/ /** * @file duye_epoll.cpp * @version * @brief ...
22.80117
87
0.583483
tencupofkaiwater
99ec5621b29c28164ae9d39445151b0e1ca0c522
1,593
cpp
C++
tests/test-uart.cpp
uav-router/uav_router
8accab304fdef749009309c60d2211db5b1793ba
[ "MIT" ]
null
null
null
tests/test-uart.cpp
uav-router/uav_router
8accab304fdef749009309c60d2211db5b1793ba
[ "MIT" ]
null
null
null
tests/test-uart.cpp
uav-router/uav_router
8accab304fdef749009309c60d2211db5b1793ba
[ "MIT" ]
null
null
null
#include "log.h" #include "ioloop.h" #include <memory> #include <iostream> void test() { auto loop = IOLoop::loop(); error_c ec = loop->handle_CtrlC(); if (ec) { std::cout<<"Ctrl-C handler error "<<ec<<std::endl; return; } auto uart = loop->uart("UartEndpoint"); { std::s...
31.235294
84
0.456372
uav-router
99f1d818541abfe201b61038d2e5d577c9006182
556
cpp
C++
pg_answer/259350e26d1d4c748446c198c9f3ca00.cpp
Guyutongxue/Introduction_to_Computation
062f688fe3ffb8e29cfaf139223e4994edbf64d6
[ "WTFPL" ]
8
2019-10-09T14:33:42.000Z
2020-12-03T00:49:29.000Z
pg_answer/259350e26d1d4c748446c198c9f3ca00.cpp
Guyutongxue/Introduction_to_Computation
062f688fe3ffb8e29cfaf139223e4994edbf64d6
[ "WTFPL" ]
null
null
null
pg_answer/259350e26d1d4c748446c198c9f3ca00.cpp
Guyutongxue/Introduction_to_Computation
062f688fe3ffb8e29cfaf139223e4994edbf64d6
[ "WTFPL" ]
null
null
null
#include <iostream> int main() { int k; while (std::cin >> k, k) { for (int m{k + 1}; true; m++) { int pos{0}; int n{k * 2}; bool hasGood{false}; for (int i{1}; i <= k; i++) { pos = (pos + m - 1) % n; if (pos < k) { ...
23.166667
44
0.276978
Guyutongxue
99f2101a5f0ad596c7d346eb05aad904b7802921
388
hpp
C++
GLFramework/Game/Materials/EmissiveMaterial.hpp
Illation/GLFramework
2b9d3d67d4e951e2ff5ace0241750a438d6e743f
[ "MIT" ]
39
2016-03-23T00:39:46.000Z
2022-02-07T21:26:05.000Z
GLFramework/Game/Materials/EmissiveMaterial.hpp
Illation/GLFramework
2b9d3d67d4e951e2ff5ace0241750a438d6e743f
[ "MIT" ]
1
2016-03-24T14:39:45.000Z
2016-03-24T17:34:39.000Z
GLFramework/Game/Materials/EmissiveMaterial.hpp
Illation/GLFramework
2b9d3d67d4e951e2ff5ace0241750a438d6e743f
[ "MIT" ]
3
2016-08-15T01:27:13.000Z
2021-12-29T01:37:51.000Z
#pragma once #include "../../Graphics/Material.hpp" class EmissiveMaterial : public Material { public: EmissiveMaterial(glm::vec3 col = glm::vec3(1, 1, 1)); ~EmissiveMaterial(); void SetCol(glm::vec3 col) { m_Color = col; } private: void LoadTextures(); void AccessShaderAttributes(); void UploadDerivedVariable...
16.869565
54
0.71134
Illation