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
cb9397e4a993de5a7ec72a80a8fdd53aad31cd11
1,515
cc
C++
shell/browser/api/electron_api_event_emitter.cc
lingxiao-Zhu/electron
2d85b1f8f527d55f884904dbfdde50ee66a49830
[ "MIT" ]
88,283
2016-04-04T19:29:13.000Z
2022-03-31T23:33:33.000Z
shell/browser/api/electron_api_event_emitter.cc
lingxiao-Zhu/electron
2d85b1f8f527d55f884904dbfdde50ee66a49830
[ "MIT" ]
27,327
2016-04-04T19:38:58.000Z
2022-03-31T22:34:10.000Z
shell/browser/api/electron_api_event_emitter.cc
ColleenKeegan/electron
f3dc3997b10fd79439ad22ff5973b3d3541d8e9d
[ "MIT" ]
15,972
2016-04-04T19:32:06.000Z
2022-03-31T08:54:00.000Z
// Copyright (c) 2019 Slack Technologies, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #include "shell/browser/api/electron_api_event_emitter.h" #include "base/bind.h" #include "base/callback.h" #include "base/no_destructor.h" #include "gin/dictionary.h" #in...
30.3
76
0.721452
lingxiao-Zhu
cb93ece6305037fc76db019520557266548f39cc
3,358
cpp
C++
Source/Falcor/Utils/Sampling/SampleGenerator.cpp
guiqi134/Falcor
480c0c0ac4633c5b60ff533eea2902da76112df7
[ "BSD-3-Clause" ]
2
2021-12-19T08:26:31.000Z
2022-01-24T09:17:32.000Z
Source/Falcor/Utils/Sampling/SampleGenerator.cpp
shill-lucasfilm/Falcor
5236495554f57a734cc815522d95ae9a7dfe458a
[ "BSD-3-Clause" ]
null
null
null
Source/Falcor/Utils/Sampling/SampleGenerator.cpp
shill-lucasfilm/Falcor
5236495554f57a734cc815522d95ae9a7dfe458a
[ "BSD-3-Clause" ]
null
null
null
/*************************************************************************** # Copyright (c) 2015-21, NVIDIA CORPORATION. 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...
40.95122
158
0.676593
guiqi134
cb9565e86b505ec13cfb9610d48f28fadefae9ff
4,667
cc
C++
cpp/src/arrow/compute/registry.cc
martindurant/arrow
9fd11c4e64d05ccb3a11ae891af7e57c815b9379
[ "CC-BY-3.0", "Apache-2.0", "CC0-1.0" ]
null
null
null
cpp/src/arrow/compute/registry.cc
martindurant/arrow
9fd11c4e64d05ccb3a11ae891af7e57c815b9379
[ "CC-BY-3.0", "Apache-2.0", "CC0-1.0" ]
3
2021-01-21T01:36:09.000Z
2021-12-14T21:58:48.000Z
cpp/src/arrow/compute/registry.cc
martindurant/arrow
9fd11c4e64d05ccb3a11ae891af7e57c815b9379
[ "CC-BY-3.0", "Apache-2.0", "CC0-1.0" ]
null
null
null
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
31.965753
86
0.724663
martindurant
cb991c100f908016b0f24a84e4d83d56ad2e3a47
108,452
cpp
C++
samples/golf/src/golf/GolfState.cpp
fallahn/crogine
f6cf3ade1f4e5de610d52e562bf43e852344bca0
[ "FTL", "Zlib" ]
41
2017-08-29T12:14:36.000Z
2022-02-04T23:49:48.000Z
samples/golf/src/golf/GolfState.cpp
fallahn/crogine
f6cf3ade1f4e5de610d52e562bf43e852344bca0
[ "FTL", "Zlib" ]
11
2017-09-02T15:32:45.000Z
2021-12-27T13:34:56.000Z
samples/golf/src/golf/GolfState.cpp
fallahn/crogine
f6cf3ade1f4e5de610d52e562bf43e852344bca0
[ "FTL", "Zlib" ]
5
2020-01-25T17:51:45.000Z
2022-03-01T05:20:30.000Z
/*----------------------------------------------------------------------- Matt Marchant 2021 http://trederia.blogspot.com crogine application - Zlib license. This software is provided 'as-is', without any express or implied warranty.In no event will the authors be held liable for any damages arising from the use of ...
38.719029
168
0.606711
fallahn
cb996d2acd7e5a1beeed6087381a8d1a9691549a
3,690
cpp
C++
compiler/enco/core/src/Transforms/IdenticalObjectReduction.cpp
bogus-sudo/ONE-1
7052a817eff661ec2854ed2e7ee0de5e8ba82b55
[ "Apache-2.0" ]
255
2020-05-22T07:45:29.000Z
2022-03-29T23:58:22.000Z
compiler/enco/core/src/Transforms/IdenticalObjectReduction.cpp
bogus-sudo/ONE-1
7052a817eff661ec2854ed2e7ee0de5e8ba82b55
[ "Apache-2.0" ]
5,102
2020-05-22T07:48:33.000Z
2022-03-31T23:43:39.000Z
compiler/enco/core/src/Transforms/IdenticalObjectReduction.cpp
bogus-sudo/ONE-1
7052a817eff661ec2854ed2e7ee0de5e8ba82b55
[ "Apache-2.0" ]
120
2020-05-22T07:51:08.000Z
2022-02-16T19:08:05.000Z
/* * Copyright (c) 2018 Samsung Electronics Co., Ltd. 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...
26.357143
86
0.575339
bogus-sudo
ed80a8729716e8ed8f0a8efe039bf45697dd63b1
758
cpp
C++
EyeCandy3D/src/Gui/Backend/OpenGLFontLoader.cpp
Nelaty/EyeCandy3D
7daee9451460f5a98e3b6a28e14089b8059bf485
[ "MIT" ]
null
null
null
EyeCandy3D/src/Gui/Backend/OpenGLFontLoader.cpp
Nelaty/EyeCandy3D
7daee9451460f5a98e3b6a28e14089b8059bf485
[ "MIT" ]
14
2019-10-11T17:58:54.000Z
2021-01-22T09:54:55.000Z
EyeCandy3D/src/Gui/Backend/OpenGLFontLoader.cpp
Nelaty/EyeCandy3D
7daee9451460f5a98e3b6a28e14089b8059bf485
[ "MIT" ]
1
2019-05-14T19:31:23.000Z
2019-05-14T19:31:23.000Z
#include "EC3D/Gui/Backend/OpenGLFontLoader.h" #include "EC3D/Gui/Backend/OpenGLFont.h" namespace ec { OpenGLFontLoader::OpenGLFontLoader() = default; OpenGLFontLoader::~OpenGLFontLoader() = default; agui::Font* OpenGLFontLoader::loadFont(const std::string &fileName, c...
22.294118
72
0.556728
Nelaty
ed80c88da84267c1730d20eacceb3ccda92e5dd9
49,428
cpp
C++
IO/src/av/src/libavReader.cpp
tlalexander/stitchEm
cdff821ad2c500703e6cb237ec61139fce7bf11c
[ "MIT" ]
182
2019-04-19T12:38:30.000Z
2022-03-20T16:48:20.000Z
IO/src/av/src/libavReader.cpp
doymcc/stitchEm
20693a55fa522d7a196b92635e7a82df9917c2e2
[ "MIT" ]
107
2019-04-23T10:49:35.000Z
2022-03-02T18:12:28.000Z
IO/src/av/src/libavReader.cpp
doymcc/stitchEm
20693a55fa522d7a196b92635e7a82df9917c2e2
[ "MIT" ]
59
2019-06-04T11:27:25.000Z
2022-03-17T23:49:49.000Z
// Copyright (c) 2012-2017 VideoStitch SAS // Copyright (c) 2018 stitchEm #define NOMINMAX #include "libavReader.hpp" #include "util.hpp" #include "netStreamReader.hpp" #include "videoReader.hpp" #include "d3dAllocator.hpp" #include "d3dDevice.hpp" #include "libvideostitch/logging.hpp" #include "libvideostitch/pro...
37.731298
120
0.663996
tlalexander
ed8107972d0881dd396e480e62c494ab4ddb20f5
1,161
cpp
C++
SECOND_LEVEL/1092.cpp
BLUECARVIN/PAT
e8519552ce2c398b5e8bb84cd709c2a271363d29
[ "MIT" ]
null
null
null
SECOND_LEVEL/1092.cpp
BLUECARVIN/PAT
e8519552ce2c398b5e8bb84cd709c2a271363d29
[ "MIT" ]
null
null
null
SECOND_LEVEL/1092.cpp
BLUECARVIN/PAT
e8519552ce2c398b5e8bb84cd709c2a271363d29
[ "MIT" ]
null
null
null
#include <cstdio> #include <iostream> #include <cstring> using namespace std; const int maxn = 1010; char Buy[maxn], Want[maxn]; int Hash[26 * 2 + 10] = {0}; int main() { cin.getline(Buy, 1000); cin.getline(Want, 1000); int len1 = strlen(Buy); int len2 = strlen(Want); for(int i = 0; i < len1; i++...
24.1875
77
0.458226
BLUECARVIN
ed821cf4f97becf6a1eb57bd7771a3ad9fade8a7
28,195
cc
C++
ThirdParty/webrtc/src/net/base/network_interfaces_unittest.cc
JokeJoe8806/licode-windows
2bfdaf6e87669df2b9960da50c6800bc3621b80b
[ "MIT" ]
8
2018-12-27T14:57:13.000Z
2021-04-07T07:03:15.000Z
ThirdParty/webrtc/src/net/base/network_interfaces_unittest.cc
JokeJoe8806/licode-windows
2bfdaf6e87669df2b9960da50c6800bc3621b80b
[ "MIT" ]
1
2019-03-13T01:35:03.000Z
2020-10-08T04:13:04.000Z
ThirdParty/webrtc/src/net/base/network_interfaces_unittest.cc
JokeJoe8806/licode-windows
2bfdaf6e87669df2b9960da50c6800bc3621b80b
[ "MIT" ]
9
2018-12-28T11:45:12.000Z
2021-05-11T02:15:31.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 "net/base/network_interfaces.h" #include <string> #include <ostream> // TODO(eroman): Remove unneeeded headers. #include "base/files/file_...
37.294974
80
0.716723
JokeJoe8806
ed82a4beefd1ce05120cd76cb22b68b0233c473c
1,848
cpp
C++
mlir/lib/Dialect/MemRef/IR/MemRefDialect.cpp
MochalovaAn/llvm
528aa5ca4aa9df447dc3497ef19da3b124e88d7d
[ "Apache-2.0" ]
1
2022-01-06T15:44:48.000Z
2022-01-06T15:44:48.000Z
mlir/lib/Dialect/MemRef/IR/MemRefDialect.cpp
MochalovaAn/llvm
528aa5ca4aa9df447dc3497ef19da3b124e88d7d
[ "Apache-2.0" ]
2
2019-06-27T00:36:28.000Z
2021-06-29T20:05:03.000Z
mlir/lib/Dialect/MemRef/IR/MemRefDialect.cpp
MochalovaAn/llvm
528aa5ca4aa9df447dc3497ef19da3b124e88d7d
[ "Apache-2.0" ]
null
null
null
//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
36.235294
80
0.575758
MochalovaAn
ed84387e87a348fc2b439e7189003a98d50e7349
1,317
hpp
C++
libraries/plugins/apis/block_api/include/sophiatx/plugins/block_api/block_api_objects.hpp
SophiaTX/SophiaTx-Blockchain
c964691c020962ad1aba8263c0d8a78a9fa27e45
[ "MIT" ]
8
2018-07-25T20:42:43.000Z
2019-03-11T03:14:09.000Z
libraries/plugins/apis/block_api/include/sophiatx/plugins/block_api/block_api_objects.hpp
SophiaTX/SophiaTx-Blockchain
c964691c020962ad1aba8263c0d8a78a9fa27e45
[ "MIT" ]
13
2018-07-25T17:41:28.000Z
2019-01-25T13:38:11.000Z
libraries/plugins/apis/block_api/include/sophiatx/plugins/block_api/block_api_objects.hpp
SophiaTX/SophiaTx-Blockchain
c964691c020962ad1aba8263c0d8a78a9fa27e45
[ "MIT" ]
11
2018-07-25T14:34:13.000Z
2019-05-03T13:29:37.000Z
#pragma once #include <sophiatx/chain/account_object.hpp> #include <sophiatx/chain/block_summary_object.hpp> #include <sophiatx/chain/global_property_object.hpp> #include <sophiatx/chain/history_object.hpp> #include <sophiatx/chain/sophiatx_objects.hpp> #include <sophiatx/chain/transaction_object.hpp> #include <sophiat...
33.769231
110
0.700835
SophiaTX
ed86bc33ec074a7b00cbf1d8a56fe5c088d51716
3,116
hpp
C++
glsdk/glm/glm/gtx/number_precision.hpp
bluesrv/LM3DGP-Tutorial
5ae98629cf4e6ed62a81a8f48f6948551ba49d20
[ "MIT" ]
44
2016-04-01T05:15:18.000Z
2021-09-14T04:09:35.000Z
glsdk/glm/glm/gtx/number_precision.hpp
bluesrv/LM3DGP-Tutorial
5ae98629cf4e6ed62a81a8f48f6948551ba49d20
[ "MIT" ]
3
2016-04-11T16:36:41.000Z
2019-09-16T01:31:32.000Z
glsdk/glm/glm/gtx/number_precision.hpp
bluesrv/LM3DGP-Tutorial
5ae98629cf4e6ed62a81a8f48f6948551ba49d20
[ "MIT" ]
3
2016-04-01T07:13:18.000Z
2019-07-18T02:22:02.000Z
/////////////////////////////////////////////////////////////////////////////////////////////////// // OpenGL Mathematics Copyright (c) 2005 - 2011 G-Truc Creation (www.g-truc.net) /////////////////////////////////////////////////////////////////////////////////////////////////// // Created : 2007-05-10 // Updated ...
44.514286
121
0.626444
bluesrv
ed870f515039ad7c5edb2fc13beae6f9f7a21e31
5,660
hpp
C++
src/common.hpp
5l1v3r1/browservice
f3cc5444fed6f402e375df16be66204d6f220010
[ "MIT" ]
1
2021-02-20T06:58:53.000Z
2021-02-20T06:58:53.000Z
src/common.hpp
5l1v3r1/browservice
f3cc5444fed6f402e375df16be66204d6f220010
[ "MIT" ]
null
null
null
src/common.hpp
5l1v3r1/browservice
f3cc5444fed6f402e375df16be66204d6f220010
[ "MIT" ]
null
null
null
#pragma once #include <algorithm> #include <array> #include <atomic> #include <cctype> #include <chrono> #include <climits> #include <cstdlib> #include <fstream> #include <functional> #include <future> #include <iostream> #include <map> #include <memory> #include <mutex> #include <optional> #include <queue> #include <...
25.044248
94
0.678269
5l1v3r1
ed8737f8c54099919d8485790962c2ce52e29e39
35
cpp
C++
jusin2/220328/Girl.cpp
HeroJho/Jusin_c_cpp
5fbb014fffc34b52b780486755de3576b07e4b64
[ "MIT" ]
null
null
null
jusin2/220328/Girl.cpp
HeroJho/Jusin_c_cpp
5fbb014fffc34b52b780486755de3576b07e4b64
[ "MIT" ]
null
null
null
jusin2/220328/Girl.cpp
HeroJho/Jusin_c_cpp
5fbb014fffc34b52b780486755de3576b07e4b64
[ "MIT" ]
null
null
null
#include "pch.h" #include "Girl.h"
11.666667
17
0.657143
HeroJho
ed87b39be34862b56db44e9b7678981111a0ec16
838
hpp
C++
Platforms/Vulkan/include/VulkanVertexInputPool.hpp
JoshuaMasci/Genesis
761060626a92e3df7b860a97209fca341cdda240
[ "MIT" ]
2
2020-01-22T05:57:12.000Z
2020-04-06T01:15:30.000Z
Platforms/Vulkan/include/VulkanVertexInputPool.hpp
JoshuaMasci/Genesis
761060626a92e3df7b860a97209fca341cdda240
[ "MIT" ]
null
null
null
Platforms/Vulkan/include/VulkanVertexInputPool.hpp
JoshuaMasci/Genesis
761060626a92e3df7b860a97209fca341cdda240
[ "MIT" ]
null
null
null
#pragma once #include "Genesis/RenderingBackend/RenderingTypes.hpp" #include "Genesis/RenderingBackend/VertexInputDescription.hpp" #include "VulkanInclude.hpp" #include "Genesis/Core/Types.hpp" #include <mutex> namespace Genesis { struct VulkanVertexInputDescription { VkVertexInputBindingDescription binding_desc...
25.393939
111
0.826969
JoshuaMasci
ed87dfdc34bef78a7809ce0f790c5cde5ac6bb2b
1,361
cpp
C++
src/main.cpp
Exus1/TeamSpeak3-C-Query-API
c0cf094180f4217c456edfaaa6021c64b74edd3c
[ "MIT" ]
2
2017-09-29T14:57:04.000Z
2017-11-05T20:54:26.000Z
src/main.cpp
karolkrupa/TeamSpeak3-C-Query-API
c0cf094180f4217c456edfaaa6021c64b74edd3c
[ "MIT" ]
null
null
null
src/main.cpp
karolkrupa/TeamSpeak3-C-Query-API
c0cf094180f4217c456edfaaa6021c64b74edd3c
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <Server.hpp> using namespace std; int main() { Ts3Api::Server server("e-bot.eu", "10011"); server.login("serveradmin", "PASSWORD"); server.selectServer("9987"); server.setNickname("eBot TRAIL"); auto client = server.getClientByNickname("Exus"); //cout << c...
22.311475
63
0.606907
Exus1
ed8a90e423c2a29d6e6b5f76e8f6054539ca644b
28,967
cpp
C++
api/modules/SAM_Windpower.cpp
JordanMalan/SAM
a4951b841987e0ccd66fe4d011cc6b5dd7b4f27c
[ "BSD-3-Clause" ]
1
2021-04-27T23:06:44.000Z
2021-04-27T23:06:44.000Z
api/modules/SAM_Windpower.cpp
JordanMalan/SAM
a4951b841987e0ccd66fe4d011cc6b5dd7b4f27c
[ "BSD-3-Clause" ]
null
null
null
api/modules/SAM_Windpower.cpp
JordanMalan/SAM
a4951b841987e0ccd66fe4d011cc6b5dd7b4f27c
[ "BSD-3-Clause" ]
1
2021-09-15T11:15:24.000Z
2021-09-15T11:15:24.000Z
#include <string> #include <utility> #include <vector> #include <memory> #include <iostream> #include <ssc/sscapi.h> #include "SAM_api.h" #include "ErrorHandler.h" #include "SAM_Windpower.h" SAM_EXPORT int SAM_Windpower_execute(SAM_table data, int verbosity, SAM_error* err){ return SAM_module_exec("windpower", data...
28.371205
137
0.776228
JordanMalan
ed8b6e908442b9e5e3beb3afe4bfd0179fe28179
2,110
cc
C++
ppapi/cpp/private/uma_private.cc
iplo/Chain
8bc8943d66285d5258fffc41bed7c840516c4422
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
231
2015-01-08T09:04:44.000Z
2021-12-30T03:03:10.000Z
ppapi/cpp/private/uma_private.cc
xiaoyuyanran/chromium
c7361d39be8abd1574e6ce8957c8dbddd4c6ccf7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2017-02-14T21:55:58.000Z
2017-02-14T21:55:58.000Z
ppapi/cpp/private/uma_private.cc
xiaoyuyanran/chromium
c7361d39be8abd1574e6ce8957c8dbddd4c6ccf7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
268
2015-01-21T05:53:28.000Z
2022-03-25T22:09:01.000Z
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ppapi/cpp/private/uma_private.h" #include "ppapi/c/pp_errors.h" #include "ppapi/c/private/ppb_uma_private.h" #include "ppapi/cpp/module_impl.h"...
29.71831
73
0.577251
iplo
ed8ba0e4609386872332d21e23a8c58c55ebfd2a
34,898
cpp
C++
WasapiIODLL/WasapiUser.cpp
yamamoto2002/bitspersampleconv2
331a9fc531269e5dfdc78548e583f793a7687dc0
[ "MIT" ]
null
null
null
WasapiIODLL/WasapiUser.cpp
yamamoto2002/bitspersampleconv2
331a9fc531269e5dfdc78548e583f793a7687dc0
[ "MIT" ]
null
null
null
WasapiIODLL/WasapiUser.cpp
yamamoto2002/bitspersampleconv2
331a9fc531269e5dfdc78548e583f793a7687dc0
[ "MIT" ]
1
2020-11-12T06:55:18.000Z
2020-11-12T06:55:18.000Z
// 日本語 UTF-8 // WASAPIの機能を使って音を出したり録音したりするWasapiUserクラス。 #include "WasapiUser.h" #include "WWWasapiIOUtil.h" #include <assert.h> #include <strsafe.h> #include <mmsystem.h> #include <malloc.h> #include <stdint.h> #include "WWCommonUtil.h" #define FOOTER_SEND_FRAME_NUM (2) #define PERIODS...
30.346087
178
0.621268
yamamoto2002
ed8cfc57ec1737e6c5ddec0b44e69583befc5939
2,449
hpp
C++
libvast/vast/detail/narrow.hpp
knapperzbusch/vast
9d2af995254519b47febe2062adbc55965055cbe
[ "BSD-3-Clause" ]
null
null
null
libvast/vast/detail/narrow.hpp
knapperzbusch/vast
9d2af995254519b47febe2062adbc55965055cbe
[ "BSD-3-Clause" ]
1
2019-11-29T12:43:41.000Z
2019-11-29T12:43:41.000Z
libvast/vast/detail/narrow.hpp
knapperzbusch/vast
9d2af995254519b47febe2062adbc55965055cbe
[ "BSD-3-Clause" ]
null
null
null
/****************************************************************************** * _ _____ __________ * * | | / / _ | / __/_ __/ Visibility * * | |/ / __ |_\ \ / / Across * ...
38.265625
80
0.541854
knapperzbusch
ed8d922c4c9bb0064c31b8468ece8c1c5300644f
2,084
cpp
C++
example/tcp_client/example_tcp_client.cpp
MuggleWei/babeltrader-core
b586f99ef407305656b3351ff8186b1b06227ce3
[ "MIT" ]
null
null
null
example/tcp_client/example_tcp_client.cpp
MuggleWei/babeltrader-core
b586f99ef407305656b3351ff8186b1b06227ce3
[ "MIT" ]
null
null
null
example/tcp_client/example_tcp_client.cpp
MuggleWei/babeltrader-core
b586f99ef407305656b3351ff8186b1b06227ce3
[ "MIT" ]
null
null
null
#include <thread> #include "babeltrader/base/babeltrader_base.h" #include "example/include/example_msg.h" #include "example_tcp_client_ev_loop.h" void runTCPClient(babeltrader::EventLoop *ev_loop) { std::thread th([ev_loop]{ // configs unsigned int max_connect = BABELTRADER_DEFAULT_HINTS_MAX_CONN; int chan_size...
27.064935
92
0.775432
MuggleWei
ed8efa5d49b6befa077a1718606278c341d74040
5,735
cpp
C++
src/Magnum/Platform/WindowlessCglApplication.cpp
felixguendling/magnum
8439cb792b3af9a878591186596e2f0c406b0897
[ "MIT" ]
3
2018-01-16T09:26:20.000Z
2020-06-23T13:26:36.000Z
src/Magnum/Platform/WindowlessCglApplication.cpp
felixguendling/magnum
8439cb792b3af9a878591186596e2f0c406b0897
[ "MIT" ]
null
null
null
src/Magnum/Platform/WindowlessCglApplication.cpp
felixguendling/magnum
8439cb792b3af9a878591186596e2f0c406b0897
[ "MIT" ]
1
2016-10-09T14:53:45.000Z
2016-10-09T14:53:45.000Z
/* This file is part of Magnum. Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Vladimír Vondruš <mosra@centrum.cz> Copyright © 2013 <https://github.com/ArEnSc> Copyright © 2014 Travis Watkins <https://github.com/amaranth> Copyright © 2021 Konstant...
40.387324
166
0.729381
felixguendling
ed9800069a869a7e9c644e115183338d08182aaf
37,648
cxx
C++
sw/3rd_party/VTK-7.1.0/Common/DataModel/vtkOctreePointLocator.cxx
esean/stl_voro_fill
c569a4019ff80afbf85482c7193711ea85a7cafb
[ "MIT" ]
4
2019-05-30T01:52:12.000Z
2021-09-29T21:12:13.000Z
sw/3rd_party/VTK-7.1.0/Common/DataModel/vtkOctreePointLocator.cxx
esean/stl_voro_fill
c569a4019ff80afbf85482c7193711ea85a7cafb
[ "MIT" ]
null
null
null
sw/3rd_party/VTK-7.1.0/Common/DataModel/vtkOctreePointLocator.cxx
esean/stl_voro_fill
c569a4019ff80afbf85482c7193711ea85a7cafb
[ "MIT" ]
2
2019-08-30T23:36:13.000Z
2019-11-08T16:52:01.000Z
/*========================================================================= Program: Visualization Toolkit Module: vtkOctreePointLocator.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. ...
28.915515
112
0.528979
esean
ed9a3751c9d53677847ef8bce51550a59dddb4b1
336
cpp
C++
11172 - Relational Operator.cpp
Rodagui/UVa-Solutions
d4273fc1f2ce843a23bf94d3b3037e66b9d285d1
[ "MIT" ]
null
null
null
11172 - Relational Operator.cpp
Rodagui/UVa-Solutions
d4273fc1f2ce843a23bf94d3b3037e66b9d285d1
[ "MIT" ]
null
null
null
11172 - Relational Operator.cpp
Rodagui/UVa-Solutions
d4273fc1f2ce843a23bf94d3b3037e66b9d285d1
[ "MIT" ]
1
2020-06-22T03:34:27.000Z
2020-06-22T03:34:27.000Z
/*11172 - Relational Operator*/ #include <iostream> using namespace std; int main(){ ios::sync_with_stdio(0); cin.tie(0); int casos, a, b; cin>>casos; while(casos--){ cin>>a>>b; if(a>b) cout<<">\n"; if(a<b) cout<<"<\n"; if(a==b) cout<<"=\n"; } ...
10.5
32
0.46131
Rodagui
ed9b41cce8216d4a7a53c67aadbf0f4b711f1c2a
12,872
cpp
C++
far/plugsettings.cpp
tralivali1234/FarManager
24d88b4382af3a4853e6883aaa2d0a8db60bf299
[ "BSD-3-Clause" ]
null
null
null
far/plugsettings.cpp
tralivali1234/FarManager
24d88b4382af3a4853e6883aaa2d0a8db60bf299
[ "BSD-3-Clause" ]
null
null
null
far/plugsettings.cpp
tralivali1234/FarManager
24d88b4382af3a4853e6883aaa2d0a8db60bf299
[ "BSD-3-Clause" ]
null
null
null
/* plugsettings.cpp API для хранения плагинами настроек. */ /* Copyright © 2011 Far Group 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 copyrig...
25.692615
147
0.7305
tralivali1234
ed9cea9679b55a987af466105cd79032f92f1729
80,844
cpp
C++
test/model_component/test_expression_proxy.cpp
snowberryfield/printemps
53f14da11bfddc90a561be08f6bd73cf7df7399c
[ "MIT" ]
16
2020-12-07T03:47:54.000Z
2022-03-16T02:14:48.000Z
test/model_component/test_expression_proxy.cpp
snowberryfield/printemps
53f14da11bfddc90a561be08f6bd73cf7df7399c
[ "MIT" ]
null
null
null
test/model_component/test_expression_proxy.cpp
snowberryfield/printemps
53f14da11bfddc90a561be08f6bd73cf7df7399c
[ "MIT" ]
null
null
null
/*****************************************************************************/ // Copyright (c) 2020-2021 Yuji KOGUMA // Released under the MIT license // https://opensource.org/licenses/mit-license.php /*****************************************************************************/ #include <gtest/gtest.h> #include <r...
39.687776
80
0.610583
snowberryfield
ed9d8b65c18e3aa1b7656734e31c7220e86fc356
1,570
cpp
C++
src/core/tests/type_prop/sigmoid.cpp
pazamelin/openvino
b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48
[ "Apache-2.0" ]
2,406
2020-04-22T15:47:54.000Z
2022-03-31T10:27:37.000Z
ngraph/test/type_prop/sigmoid.cpp
thomas-yanxin/openvino
031e998a15ec738c64cc2379d7f30fb73087c272
[ "Apache-2.0" ]
4,948
2020-04-22T15:12:39.000Z
2022-03-31T18:45:42.000Z
ngraph/test/type_prop/sigmoid.cpp
thomas-yanxin/openvino
031e998a15ec738c64cc2379d7f30fb73087c272
[ "Apache-2.0" ]
991
2020-04-23T18:21:09.000Z
2022-03-31T18:40:57.000Z
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "gtest/gtest.h" #include "ngraph/ngraph.hpp" #include "util/type_prop.hpp" using namespace std; using namespace ngraph; TEST(type_prop, sigmoid) { auto data = make_shared<op::Parameter>(element::f32, Shape{1, 3, 6}); ...
42.432432
119
0.745223
pazamelin
ed9e82620c1c8b493a14a79082a2aa239a834c60
1,349
cc
C++
cc/modules/features2d/FeatureDetector.cc
bookjan/opencv4nodejs
d0a457ce40783cadaea79eb82ffef01d57ed97a3
[ "MIT" ]
2
2018-12-21T01:37:32.000Z
2019-05-29T06:27:03.000Z
cc/modules/features2d/FeatureDetector.cc
sanksys/opencv4nodejs
012b849a429aa199fb427321fdb2631c420efeb7
[ "MIT" ]
null
null
null
cc/modules/features2d/FeatureDetector.cc
sanksys/opencv4nodejs
012b849a429aa199fb427321fdb2631c420efeb7
[ "MIT" ]
1
2020-02-18T06:44:04.000Z
2020-02-18T06:44:04.000Z
#include "FeatureDetector.h" #include "FeatureDetectorBindings.h" void FeatureDetector::Init(v8::Local<v8::FunctionTemplate> ctor) { Nan::SetPrototypeMethod(ctor, "detect", FeatureDetector::Detect); Nan::SetPrototypeMethod(ctor, "compute", FeatureDetector::Compute); Nan::SetPrototypeMethod(ctor, "detectAsync", F...
32.119048
117
0.748703
bookjan
ed9eaa82206d462b3a24110fa6c6aeff811f3597
5,181
cc
C++
ui/views/controls/button/checkbox.cc
iplo/Chain
8bc8943d66285d5258fffc41bed7c840516c4422
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
231
2015-01-08T09:04:44.000Z
2021-12-30T03:03:10.000Z
ui/views/controls/button/checkbox.cc
xiaoyuyanran/chromium
c7361d39be8abd1574e6ce8957c8dbddd4c6ccf7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2017-02-14T21:55:58.000Z
2017-02-14T21:55:58.000Z
ui/views/controls/button/checkbox.cc
xiaoyuyanran/chromium
c7361d39be8abd1574e6ce8957c8dbddd4c6ccf7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
268
2015-01-21T05:53:28.000Z
2022-03-25T22:09:01.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 "ui/views/controls/button/checkbox.h" #include "grit/ui_resources.h" #include "ui/base/accessibility/accessible_view_state.h" #include "ui/b...
35.244898
78
0.701023
iplo
ed9ebc2423507372ca8f561f1b53264dfb0af64b
6,044
cpp
C++
plugin/maya/nodes/n_gfRigDistributeAlongSurface.cpp
giulianofranca/gfTools
b23616ad7483c5f0798c1f1a8829f5b5f08ef6ea
[ "Apache-2.0" ]
1
2021-09-25T06:45:37.000Z
2021-09-25T06:45:37.000Z
plugin/maya/nodes/n_gfRigDistributeAlongSurface.cpp
giuliano-franca/gfTools
b23616ad7483c5f0798c1f1a8829f5b5f08ef6ea
[ "Apache-2.0" ]
null
null
null
plugin/maya/nodes/n_gfRigDistributeAlongSurface.cpp
giuliano-franca/gfTools
b23616ad7483c5f0798c1f1a8829f5b5f08ef6ea
[ "Apache-2.0" ]
1
2021-09-25T06:45:41.000Z
2021-09-25T06:45:41.000Z
#include "headers/n_gfRigDistributeAlongSurface.h" // Configure a input attribute. #define INPUT_ATTR(FNATTR) \ FNATTR.setWritable(true); \ FNATTR.setReadable(true); \ FNATTR.setStorable(true); \ FNATTR.setKeyable(true); \ // Configure a output attribute. #define OUTPUT_ATTR(FNATTR) \ FNATTR.setWritable(false)...
38.012579
132
0.680675
giulianofranca
eda0abecefcae2c687280857f9eba52a6a3081c4
3,271
hpp
C++
src/boost/serialization/array_wrapper.hpp
107-systems/107-Arduino-BoostUnits
fc3677ae79c1e75c99b3aa7813eb6ec83124b944
[ "MIT" ]
null
null
null
src/boost/serialization/array_wrapper.hpp
107-systems/107-Arduino-BoostUnits
fc3677ae79c1e75c99b3aa7813eb6ec83124b944
[ "MIT" ]
1
2021-08-30T18:02:49.000Z
2021-08-30T18:02:49.000Z
src/boost/serialization/array_wrapper.hpp
107-systems/107-Arduino-BoostUnits
fc3677ae79c1e75c99b3aa7813eb6ec83124b944
[ "MIT" ]
null
null
null
#ifndef BOOST_SERIALIZATION_ARRAY_WRAPPER_HPP #define BOOST_SERIALIZATION_ARRAY_WRAPPER_HPP // (C) Copyright 2005 Matthias Troyer and Dave Abrahams // Use, modification and distribution is subject to the Boost Software // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/L...
27.258333
82
0.685723
107-systems
eda2668e8803dfe75d5abf2493355f2c5e32c240
3,970
hpp
C++
source/core/Session.hpp
xhuan28/MNN
81df3a48d79cbc0b75251d12934345948866f7be
[ "Apache-2.0" ]
1
2021-01-22T21:58:37.000Z
2021-01-22T21:58:37.000Z
source/core/Session.hpp
xhuan28/MNN
81df3a48d79cbc0b75251d12934345948866f7be
[ "Apache-2.0" ]
null
null
null
source/core/Session.hpp
xhuan28/MNN
81df3a48d79cbc0b75251d12934345948866f7be
[ "Apache-2.0" ]
null
null
null
// // Session.hpp // MNN // // Created by MNN on 2018/07/30. // Copyright © 2018, Alibaba Group Holding Limited // #ifndef Session_hpp #define Session_hpp #include <MNN/Tensor.hpp> #include <map> #include <memory> #include <vector> #include "Pipeline.hpp" #include "Schedule.hpp" #include "core/Backend.hpp" #inclu...
27.569444
118
0.642569
xhuan28
eda2cbf70f9697f3db41a0c1fa7165ba81419644
3,677
cpp
C++
src/Dist_Thresh.cpp
sd12832/zlab_drone
d046a0c6986b0af2e40db9bb8a1fbecd99050364
[ "MIT" ]
1
2019-06-29T02:50:54.000Z
2019-06-29T02:50:54.000Z
src/Dist_Thresh.cpp
sd12832/zlab_drone
d046a0c6986b0af2e40db9bb8a1fbecd99050364
[ "MIT" ]
null
null
null
src/Dist_Thresh.cpp
sd12832/zlab_drone
d046a0c6986b0af2e40db9bb8a1fbecd99050364
[ "MIT" ]
null
null
null
#include <ros/ros.h> #include <zlab_drone/Circles.h> #include <zlab_drone/Circle.h> #include <cv_bridge/cv_bridge.h> #include <image_transport/image_transport.h> #include <sensor_msgs/image_encodings.h> #include <opencv2/imageproc/imageproc.hpp> #include <opencv2/highgui/highgui.hpp> // Deprecated Function /* bool sm...
25.713287
82
0.651074
sd12832
eda379bbb1ad3fbfc3cb51813dbf82ee4f977835
3,105
hpp
C++
src/lib_lua/luabind_old/luabind/back_reference.hpp
johny-c/ViZDoom
6fe0d2470872adbfa5d18c53c7704e6ff103cacc
[ "MIT" ]
3
2019-05-28T09:42:15.000Z
2021-02-22T22:48:57.000Z
src/lib_lua/luabind_old/luabind/back_reference.hpp
johny-c/ViZDoom
6fe0d2470872adbfa5d18c53c7704e6ff103cacc
[ "MIT" ]
1
2018-06-12T21:19:50.000Z
2018-06-12T21:19:50.000Z
src/lib_lua/luabind_old/luabind/back_reference.hpp
johny-c/ViZDoom
6fe0d2470872adbfa5d18c53c7704e6ff103cacc
[ "MIT" ]
2
2020-08-28T02:00:12.000Z
2021-03-28T03:19:49.000Z
// Copyright (c) 2004 Daniel Wallin and Arvid Norberg // 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, copy, modify,...
27.236842
77
0.739775
johny-c
eda3caa5dc5039e3383ad3c1a73100699a8df0f7
8,040
cc
C++
devapi/tests/batch-t.cc
dveeden/mysql-connector-cpp
7abcdc88c8235f02096e21b5bcd72e8312508f61
[ "Artistic-1.0-Perl" ]
1
2019-09-07T12:16:45.000Z
2019-09-07T12:16:45.000Z
devapi/tests/batch-t.cc
dveeden/mysql-connector-cpp
7abcdc88c8235f02096e21b5bcd72e8312508f61
[ "Artistic-1.0-Perl" ]
null
null
null
devapi/tests/batch-t.cc
dveeden/mysql-connector-cpp
7abcdc88c8235f02096e21b5bcd72e8312508f61
[ "Artistic-1.0-Perl" ]
1
2019-09-07T12:16:10.000Z
2019-09-07T12:16:10.000Z
/* * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, version 2.0, as * published by the Free Software Foundation. * * This program is also distributed with...
24
105
0.583582
dveeden
eda6f106202a90b6367236633b43a0ad098a4b22
15,447
cpp
C++
XDKSamples/IntroGraphics/SimpleTexture12/SimpleTexture12.cpp
dephora/Xbox-ATG-Samples
31e482c9e23def36073542ce614a0f0b145d7112
[ "MIT" ]
null
null
null
XDKSamples/IntroGraphics/SimpleTexture12/SimpleTexture12.cpp
dephora/Xbox-ATG-Samples
31e482c9e23def36073542ce614a0f0b145d7112
[ "MIT" ]
null
null
null
XDKSamples/IntroGraphics/SimpleTexture12/SimpleTexture12.cpp
dephora/Xbox-ATG-Samples
31e482c9e23def36073542ce614a0f0b145d7112
[ "MIT" ]
1
2020-07-30T11:13:23.000Z
2020-07-30T11:13:23.000Z
//-------------------------------------------------------------------------------------- // SimpleTexture12.cpp // // Advanced Technology Group (ATG) // Copyright (C) Microsoft Corporation. All rights reserved. //-------------------------------------------------------------------------------------- #include "pc...
36.778571
155
0.657927
dephora
eda77a7fc2b0960f9f6fa6b13d60fa9ff32ae061
2,015
hxx
C++
Modules/Registration/Common/include/itkMeanSquaresHistogramImageToImageMetric.hxx
nalinimsingh/ITK_4D
95a2eacaeaffe572889832ef0894239f89e3f303
[ "Apache-2.0" ]
3
2018-10-01T20:46:17.000Z
2019-12-17T19:39:50.000Z
Modules/Registration/Common/include/itkMeanSquaresHistogramImageToImageMetric.hxx
nalinimsingh/ITK_4D
95a2eacaeaffe572889832ef0894239f89e3f303
[ "Apache-2.0" ]
null
null
null
Modules/Registration/Common/include/itkMeanSquaresHistogramImageToImageMetric.hxx
nalinimsingh/ITK_4D
95a2eacaeaffe572889832ef0894239f89e3f303
[ "Apache-2.0" ]
4
2018-05-17T16:34:54.000Z
2020-09-24T02:12:40.000Z
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * ...
35.982143
78
0.663027
nalinimsingh
eda93e1a015c5161fb88bb361a66055fe71f4eaf
8,591
cpp
C++
openstudiocore/src/utilities/units/IPUnit.cpp
Acidburn0zzz/OpenStudio
8d7aa85fe5df7987cb6983984d4ce8698f1bd0bd
[ "MIT" ]
null
null
null
openstudiocore/src/utilities/units/IPUnit.cpp
Acidburn0zzz/OpenStudio
8d7aa85fe5df7987cb6983984d4ce8698f1bd0bd
[ "MIT" ]
null
null
null
openstudiocore/src/utilities/units/IPUnit.cpp
Acidburn0zzz/OpenStudio
8d7aa85fe5df7987cb6983984d4ce8698f1bd0bd
[ "MIT" ]
null
null
null
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2018, Alliance for Sustainable Energy, LLC. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitt...
34.364
124
0.656268
Acidburn0zzz
eda9b871b97420122185215bdbdcbe44fe4dc689
25,328
hpp
C++
Sisyphe/cppbase/src/interpreter/debugTypeInfoInterpreter.hpp
tedi21/SisypheReview
f7c05bad1ccc036f45870535149d9685e1120c2c
[ "Unlicense" ]
null
null
null
Sisyphe/cppbase/src/interpreter/debugTypeInfoInterpreter.hpp
tedi21/SisypheReview
f7c05bad1ccc036f45870535149d9685e1120c2c
[ "Unlicense" ]
null
null
null
Sisyphe/cppbase/src/interpreter/debugTypeInfoInterpreter.hpp
tedi21/SisypheReview
f7c05bad1ccc036f45870535149d9685e1120c2c
[ "Unlicense" ]
null
null
null
/* * debugTypeInfoInterpreter.hpp * * * @date 14-07-2020 * @author Teddy DIDE * @version 1.00 * cppBase generated by gensources. */ #ifndef _DEBUGTYPEINFO_INTERPRETER_HPP_ #define _DEBUGTYPEINFO_INTERPRETER_HPP_ #include "config.hpp" #include "Macros.hpp" #include "Base.hpp" #include "Array.hpp" #include "c...
57.694761
170
0.770649
tedi21
edac38034003c2666cc37fa24e3c2751d1b22192
667
cpp
C++
MPISingle/mpietmp.cpp
terasakisatoshi/MPI
d4064d8bee356c35a63702c5687726945286213c
[ "MIT" ]
1
2022-02-07T10:51:53.000Z
2022-02-07T10:51:53.000Z
MPISingle/mpietmp.cpp
terasakisatoshi/MPI
d4064d8bee356c35a63702c5687726945286213c
[ "MIT" ]
null
null
null
MPISingle/mpietmp.cpp
terasakisatoshi/MPI
d4064d8bee356c35a63702c5687726945286213c
[ "MIT" ]
1
2022-02-07T10:51:33.000Z
2022-02-07T10:51:33.000Z
#include <mpi.h> #include <omp.h> #include <stdio.h> int main(int argc,char* argv[]){ int rank,nprocs,thread_id,nthreads; int name_len; char processor_name[MPI_MAX_PROCESSOR_NAME]; MPI_Init(&argc,&argv); MPI_Comm_size(MPI_COMM_WORLD,&nprocs); MPI_Comm_rank(MPI_COMM_WORLD,&rank); MPI_Get_pr...
30.318182
130
0.70015
terasakisatoshi
edad738c6933a31132ed838252b55eb49e03c4f8
546
cpp
C++
lib/src/http_get_video_dir.cpp
asjadenet/videoplayer
551ff1f3122c479a3e4f0c6db73cc50d98a12d50
[ "MIT" ]
1
2019-01-24T01:06:35.000Z
2019-01-24T01:06:35.000Z
lib/src/http_get_video_dir.cpp
asjadenet/videoplayer
551ff1f3122c479a3e4f0c6db73cc50d98a12d50
[ "MIT" ]
null
null
null
lib/src/http_get_video_dir.cpp
asjadenet/videoplayer
551ff1f3122c479a3e4f0c6db73cc50d98a12d50
[ "MIT" ]
null
null
null
#include <HttpGet.h> #include <parse_video_dir.h> #include <Config.h> #include "http_get_video_dir.h" std::string http_get_video_dir(const std::string& host, const std::string& port) { auto result = HttpGet::execute(host, port, "/jsonrpc?request={\"jsonrpc\":\"2.0\",\"method\":\"...
36.4
150
0.589744
asjadenet
edb0758d2eaaf4e45aa0bfe39a1d07303c834c1b
692
cpp
C++
recursion/tricky_permutations.cpp
nancyanand2807/algorithm-ds
9f79bd9a37bdf858a512ded44aa33040e8a7b9af
[ "MIT" ]
5
2020-10-01T13:08:35.000Z
2021-02-01T17:51:15.000Z
recursion/tricky_permutations.cpp
nancyanand2807/algorithm-ds
9f79bd9a37bdf858a512ded44aa33040e8a7b9af
[ "MIT" ]
21
2020-10-01T12:58:05.000Z
2020-10-07T11:58:30.000Z
recursion/tricky_permutations.cpp
sansyrox/summer_of_cpp
e07acee254e25febe5b11bc1adc743f5aaf57cc8
[ "MIT" ]
23
2020-10-01T12:59:06.000Z
2020-10-15T13:08:34.000Z
#include<iostream> #include<bits/stdc++.h> using namespace std; #define ll long long #define mp make_pair #define pb push_back vector<string> v; bool find(vector<string> v, string s){ for(auto j:v){ if(j==s) return true; } return false; } void genPerms(string a, int i=0){ if(i==a.length()){ ...
16.093023
38
0.498555
nancyanand2807
edb2692f36f232894ace3e678a8a17d9ec4c43d8
11,499
cc
C++
content/browser/geolocation/geolocation_dispatcher_host.cc
shaochangbin/chromium-crosswalk
634d34e4cf82b4f7400357c53ec12efaffe94add
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2019-01-16T03:57:28.000Z
2021-01-23T15:29:45.000Z
content/browser/geolocation/geolocation_dispatcher_host.cc
hokein/chromium
69328672dd0c5b93e0b65fc344feb11bbdc37b6b
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/browser/geolocation/geolocation_dispatcher_host.cc
hokein/chromium
69328672dd0c5b93e0b65fc344feb11bbdc37b6b
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2015-04-17T13:19:09.000Z
2021-10-21T12:55:15.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 "content/browser/geolocation/geolocation_dispatcher_host.h" #include <map> #include <set> #include <utility> #include "base/bind.h" #includ...
37.578431
80
0.729803
shaochangbin
edb3127b3a39867f4ff418e670cf19564f38cb3d
1,807
hpp
C++
external/boost_1_60_0/qsboost/bind/placeholders.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
1
2019-06-27T17:54:13.000Z
2019-06-27T17:54:13.000Z
external/boost_1_60_0/qsboost/bind/placeholders.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
null
null
null
external/boost_1_60_0/qsboost/bind/placeholders.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
null
null
null
#ifndef QSBOOST_BIND_PLACEHOLDERS_HPP_INCLUDED #define QSBOOST_BIND_PLACEHOLDERS_HPP_INCLUDED // MS compatible compilers support #pragma once #if defined(_MSC_VER) && (_MSC_VER >= 1020) # pragma once #endif // // bind/placeholders.hpp - _N definitions // // Copyright (c) 2002 Peter Dimov and Multi Media Ltd. // C...
28.68254
67
0.724958
wouterboomsma
edb4a282b36986958f451763d8cbc554b43ddc19
4,580
cpp
C++
CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/Lab 13(Unsorted Linked List)/list(9).cpp
diptu/Teaching
20655bb2c688ae29566b0a914df4a3e5936a2f61
[ "MIT" ]
null
null
null
CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/Lab 13(Unsorted Linked List)/list(9).cpp
diptu/Teaching
20655bb2c688ae29566b0a914df4a3e5936a2f61
[ "MIT" ]
null
null
null
CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/Lab 13(Unsorted Linked List)/list(9).cpp
diptu/Teaching
20655bb2c688ae29566b0a914df4a3e5936a2f61
[ "MIT" ]
null
null
null
#include "list.h" #include <iostream> using namespace std; template<class T> SinglyLinkedList<T>::SinglyLinkedList() { // cout << "In SinglyLinkedList constructor"<<endl; head = curptr = NULL; length=0; } template<class T> SinglyLinkedList<T>::~SinglyLinkedList() { // cout << "In SinglyLinkedList Destru...
17.821012
62
0.591921
diptu
edb66fd9c074a0961add1e263b10476aeda145ab
6,256
cpp
C++
Jelly/src/Enemy.cpp
RikdeRooij/Hazel
029fd852872be2be66f97f8bb9e4ee525751b18d
[ "Apache-2.0" ]
1
2021-06-17T14:15:45.000Z
2021-06-17T14:15:45.000Z
Jelly/src/Enemy.cpp
RikdeRooij/Hazel
029fd852872be2be66f97f8bb9e4ee525751b18d
[ "Apache-2.0" ]
null
null
null
Jelly/src/Enemy.cpp
RikdeRooij/Hazel
029fd852872be2be66f97f8bb9e4ee525751b18d
[ "Apache-2.0" ]
null
null
null
#include "Enemy.h" #include "DebugDraw.h" #include "RaysCastCallback.h" #include "Player.h" #include "JellyGame.h" using namespace Jelly; void CreateSensor(b2Body* physBody, float size, float xsign) { b2PolygonShape shape2; auto s = b2Vec2(size * 0.5f * UNRATIO, size * 0.5f * UNRATIO); auto ss = b2Vec2(si...
28.053812
111
0.571771
RikdeRooij
edb6fe437d2bb1188d8243cff6280547de498f16
31,577
cpp
C++
libraries/shared/src/SharedUtil.cpp
aoighost/hifi
87cdb4144dd9ab03cd6365c81e0c943a935d675b
[ "Apache-2.0" ]
null
null
null
libraries/shared/src/SharedUtil.cpp
aoighost/hifi
87cdb4144dd9ab03cd6365c81e0c943a935d675b
[ "Apache-2.0" ]
null
null
null
libraries/shared/src/SharedUtil.cpp
aoighost/hifi
87cdb4144dd9ab03cd6365c81e0c943a935d675b
[ "Apache-2.0" ]
null
null
null
// // SharedUtil.cpp // libraries/shared/src // // Created by Stephen Birarda on 2/22/13. // Copyright 2013 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include "SharedUtil.h" #include <ca...
36.212156
129
0.611838
aoighost
edb9bd28cd019697def6ffdb4de6fb77f6223eb8
2,818
cpp
C++
poprithms/tests/tests/schedule/transitiveclosure/post_0.cpp
graphcore/poprithms
9975a6a343891e3c5f8968a9507261c1185029ed
[ "MIT" ]
24
2020-07-06T17:11:30.000Z
2022-01-01T07:39:12.000Z
poprithms/tests/tests/schedule/transitiveclosure/post_0.cpp
graphcore/poprithms
9975a6a343891e3c5f8968a9507261c1185029ed
[ "MIT" ]
null
null
null
poprithms/tests/tests/schedule/transitiveclosure/post_0.cpp
graphcore/poprithms
9975a6a343891e3c5f8968a9507261c1185029ed
[ "MIT" ]
2
2020-07-15T12:33:22.000Z
2021-07-27T06:07:16.000Z
// Copyright (c) 2020 Graphcore Ltd. All rights reserved. #include <algorithm> #include <iostream> #include <sstream> #include <poprithms/error/error.hpp> #include <poprithms/schedule/transitiveclosure/transitiveclosure.hpp> int main() { using namespace poprithms::schedule::transitiveclosure; /* * * 0 ...
25.853211
74
0.506388
graphcore
edbce77cd0d02aadd523124df8bee1350c8fcba2
1,291
cpp
C++
LeetCode/ThousandOne/0438-find_anagram_in_str.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandOne/0438-find_anagram_in_str.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandOne/0438-find_anagram_in_str.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
#include "leetcode.hpp" /* 438. 找到字符串中所有字母异位词 给定一个字符串 s 和一个非空字符串 p,找到 s 中所有是 p 的字母异位词的子串,返回这些子串的起始索引。 字符串只包含小写英文字母,并且字符串 s 和 p 的长度都不超过 20100。 说明: 字母异位词指字母相同,但排列不同的字符串。 不考虑答案输出的顺序。 示例 1: 输入: s: "cbaebabacd" p: "abc" 输出: [0, 6] 解释: 起始索引等于 0 的子串是 "cba", 它是 "abc" 的字母异位词。 起始索引等于 6 的子串是 "bac", 它是 "abc" 的字母异位词。 示例 2:...
17.445946
62
0.580945
Ginkgo-Biloba
edbf3dda46a1ba091ee6ce6d80ed662cb90df5ab
3,244
hh
C++
src/image/containers.hh
kofuk/pixel-terrain
f39e2a0120aab5a11311f57cfd1ab46efa65fddd
[ "MIT" ]
2
2020-10-16T08:46:45.000Z
2020-11-04T02:19:19.000Z
src/image/containers.hh
kofuk/minecraft-image-generator
ef2f7deb2daac7f7c2cfb468ef39e0cdc8b33db7
[ "MIT" ]
null
null
null
src/image/containers.hh
kofuk/minecraft-image-generator
ef2f7deb2daac7f7c2cfb468ef39e0cdc8b33db7
[ "MIT" ]
null
null
null
// SPDX-License-Identifier: MIT #ifndef CONTAINERS_HH #define CONTAINERS_HH #include <filesystem> #include <thread> #include "logger/logger.hh" #include "nbt/chunk.hh" #include "nbt/region.hh" #include "utils/path_hack.hh" namespace pixel_terrain::image { class options { std::filesystem::path out_path_;...
27.726496
79
0.550863
kofuk
edc310e89300aec2b6ac2337862772ca3877d685
11,168
cpp
C++
benchmark/MeasurementVectorBenchmark.cpp
rafaelrietmann/ukf
bf53dacafbfee8c7591c48a66b50229f82afe4b4
[ "MIT" ]
320
2015-01-07T05:49:59.000Z
2022-03-31T01:52:15.000Z
benchmark/MeasurementVectorBenchmark.cpp
msnh2012/ukf
04f0a996fee1f49699142bf5b149548a8d3a4ad1
[ "MIT" ]
22
2015-03-03T17:28:32.000Z
2022-02-16T14:46:54.000Z
benchmark/MeasurementVectorBenchmark.cpp
msnh2012/ukf
04f0a996fee1f49699142bf5b149548a8d3a4ad1
[ "MIT" ]
155
2015-02-20T01:18:06.000Z
2022-02-22T01:58:53.000Z
#include <benchmark/benchmark.h> #include <Eigen/Core> #include <Eigen/Geometry> #include "UKF/Types.h" #include "UKF/StateVector.h" #include "UKF/MeasurementVector.h" enum MyStateVectorFields { AngularVelocity, Altitude, Velocity, Attitude }; using MyStateVector = UKF::StateVector< UKF::Field<Vel...
39.323944
120
0.756089
rafaelrietmann
edc774546d5f85f566a8c072ec7c0221d8378532
3,405
cpp
C++
Source/SuperFastHash.cpp
sh4k3n/RakNet
32b8c230b8a9c72542d0eb0d291eec758bb1e970
[ "BSD-2-Clause" ]
4
2019-10-05T20:01:22.000Z
2021-11-30T15:22:03.000Z
Source/SuperFastHash.cpp
sh4k3n/RakNet
32b8c230b8a9c72542d0eb0d291eec758bb1e970
[ "BSD-2-Clause" ]
null
null
null
Source/SuperFastHash.cpp
sh4k3n/RakNet
32b8c230b8a9c72542d0eb0d291eec758bb1e970
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2014, Oculus VR, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ ...
25.222222
87
0.648164
sh4k3n
edc84b114b39543cc6ec6b19ae3224a65e227a88
12,302
cpp
C++
security.cpp
Cloudfare/123123123123123
879954a3f628f2173ab221070e1d9bf119304ff7
[ "Apache-2.0" ]
null
null
null
security.cpp
Cloudfare/123123123123123
879954a3f628f2173ab221070e1d9bf119304ff7
[ "Apache-2.0" ]
null
null
null
security.cpp
Cloudfare/123123123123123
879954a3f628f2173ab221070e1d9bf119304ff7
[ "Apache-2.0" ]
null
null
null
#include <Windows.h> #include <TlHelp32.h> #include <tchar.h> #include "xor.h" #include "security.h" CSecurity Security; typedef struct _UNICODE_STRING { USHORT Length; USHORT MaximumLength; PWSTR Buffer; } UNICODE_STRING, *PUNICODE_STRING; typedef struct _LDR_MODULE_DUMMY_ { LIST_ENTRY In...
34.55618
132
0.624776
Cloudfare
edc89ddec2a77f1500d32cb80448f45dc1a05ff9
604
hpp
C++
src/lang/ast_node_base_class_undefines.hpp
fl4shk/liborangepower
a2aa99a7f9b35cc06ad78976406432913718800b
[ "MIT" ]
2
2019-01-02T02:07:44.000Z
2022-03-21T10:22:18.000Z
src/lang/ast_node_base_class_undefines.hpp
fl4shk/liborangepower
a2aa99a7f9b35cc06ad78976406432913718800b
[ "MIT" ]
null
null
null
src/lang/ast_node_base_class_undefines.hpp
fl4shk/liborangepower
a2aa99a7f9b35cc06ad78976406432913718800b
[ "MIT" ]
1
2019-01-01T02:51:25.000Z
2019-01-01T02:51:25.000Z
//#ifndef liborangepower_lang_ast_node_base_class_undefines_hpp //#define liborangepower_lang_ast_node_base_class_undefines_hpp // lang/ast_node_base_class_undefines.hpp #undef MEMB_VAR #undef _DECL_MEMB_VAR #undef _COPY_MEMB_VAR #undef _INNER_WRAP_DATA #undef _PLUS_RAW_NEWLINE #undef DATA #undef _INNER_ACCEPT_CHIL...
20.827586
66
0.865894
fl4shk
edc8dbdf9cafbc0a011f0fcc8ffb2eeacbc6837d
16,398
cpp
C++
src/xutl/src/xutl_dev.cpp
Ed-Yang/eoam
8ff7bd0b8872899417cdfd0de972dc8d18c35cd9
[ "MIT" ]
10
2019-04-11T15:44:21.000Z
2022-02-15T17:39:15.000Z
src/xutl/src/xutl_dev.cpp
Ed-Yang/eoam
8ff7bd0b8872899417cdfd0de972dc8d18c35cd9
[ "MIT" ]
4
2020-01-06T23:01:41.000Z
2021-06-11T11:31:16.000Z
src/xutl/src/xutl_dev.cpp
Ed-Yang/eoam
8ff7bd0b8872899417cdfd0de972dc8d18c35cd9
[ "MIT" ]
2
2018-07-30T03:15:19.000Z
2021-04-21T09:26:02.000Z
#include <string.h> #include <unistd.h> #include "xutl_dev.h" #include "xutl_mem.h" #include "xutl_os.h" #include <pthread.h> #include "pcap.h" #define XDEV_CAP_SIZE 1600 #define XDEV_LIVE_TIMEOUT 100 // for macOS, it cannot be 0 struct struct_xdev { pthread_mutex_t xdev_lock; pthread_cond_t start_c...
26.363344
118
0.56763
Ed-Yang
edc9353c0f0000526ec752051cee6281accf3b4e
1,550
cpp
C++
src/Board/Subgrid.cpp
renanmoreira17/SudokuSolver
62052c2d8a2319cb82f98ef0a9f618653e9e0a90
[ "MIT" ]
null
null
null
src/Board/Subgrid.cpp
renanmoreira17/SudokuSolver
62052c2d8a2319cb82f98ef0a9f618653e9e0a90
[ "MIT" ]
null
null
null
src/Board/Subgrid.cpp
renanmoreira17/SudokuSolver
62052c2d8a2319cb82f98ef0a9f618653e9e0a90
[ "MIT" ]
null
null
null
#include "Subgrid.hpp" #include "ElementList.hpp" #include "ElementWrapper.hpp" #include "Grid.hpp" #include "Tile.hpp" #include <utility> Subgrid::Subgrid(Grid* grid, const short index) : Region(index, RegionType::SUBGRID) , m_grid(grid) { const auto lambda = [&](const std::shared_ptr<Tile>& tile) { ...
23.484848
100
0.629677
renanmoreira17
edceeea4acc50296e38bf268baa2122e75513c76
528
cc
C++
src/scanner.cc
jorenheit/brainfix
4254fcfb6dc29dd8bb63fbde9db49570ce99971d
[ "MIT" ]
1
2022-02-01T17:13:03.000Z
2022-02-01T17:13:03.000Z
src/scanner.cc
jorenheit/brainfix
4254fcfb6dc29dd8bb63fbde9db49570ce99971d
[ "MIT" ]
null
null
null
src/scanner.cc
jorenheit/brainfix
4254fcfb6dc29dd8bb63fbde9db49570ce99971d
[ "MIT" ]
null
null
null
#include "scanner.ih" std::string Scanner::escape(char c) { switch (c) { case 'n': return std::string(1, '\n'); case 't': return std::string(1, '\t'); case '0': return std::string(1, '\0'); default: return std::string(1, c); } } std::string Scanner::escape(std::string const &matched) { ...
22.956522
85
0.583333
jorenheit
edd5f4c6a6e6747ac841211200f30e239465d367
3,013
hpp
C++
src/input_manager.hpp
r6eve/area776
c39b9d2393a7cdaaa056933fa452ec9adfc8fdce
[ "BSL-1.0" ]
null
null
null
src/input_manager.hpp
r6eve/area776
c39b9d2393a7cdaaa056933fa452ec9adfc8fdce
[ "BSL-1.0" ]
1
2018-06-02T05:38:40.000Z
2018-06-02T07:47:41.000Z
src/input_manager.hpp
r6eve/area776
c39b9d2393a7cdaaa056933fa452ec9adfc8fdce
[ "BSL-1.0" ]
null
null
null
// // Copyright r6eve 2019 - // 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) // #pragma once #include <iostream> #include "def_global.hpp" namespace input_device { enum { up = 0, ...
28.158879
80
0.637239
r6eve
edd65fa88fc747ac25618a1e34603c41ac24fce8
9,842
cc
C++
subprojects/libbeyond/src/discovery_runtime_impl.cc
nicesj/beyond
a0ccff33caeb2fda4a6c2071adb5581b5a63d0f3
[ "Apache-2.0" ]
null
null
null
subprojects/libbeyond/src/discovery_runtime_impl.cc
nicesj/beyond
a0ccff33caeb2fda4a6c2071adb5581b5a63d0f3
[ "Apache-2.0" ]
null
null
null
subprojects/libbeyond/src/discovery_runtime_impl.cc
nicesj/beyond
a0ccff33caeb2fda4a6c2071adb5581b5a63d0f3
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2021 Samsung Electronics Co., Ltd 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...
27.49162
143
0.60821
nicesj
edd8bb2b2396228bfc8f2dcdee062f27141c6f2c
8,865
cpp
C++
Code/GraphMol/testPicklerGlobalSettings.cpp
docking-org/rdk
6eb710254f027b348a8e3089e6a92c3d40de0949
[ "PostgreSQL" ]
null
null
null
Code/GraphMol/testPicklerGlobalSettings.cpp
docking-org/rdk
6eb710254f027b348a8e3089e6a92c3d40de0949
[ "PostgreSQL" ]
null
null
null
Code/GraphMol/testPicklerGlobalSettings.cpp
docking-org/rdk
6eb710254f027b348a8e3089e6a92c3d40de0949
[ "PostgreSQL" ]
null
null
null
// // Copyright (c) 2017, Novartis Institutes for BioMedical Research Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above...
33.965517
77
0.64749
docking-org
edd9d00f8905ab686fa0a2800b5720bd706aff30
21,040
cpp
C++
src/common/WFiles.cpp
laurent22/ConEmu
52d4f91692e3ef9ec35d78e29d03e53f035c9e57
[ "BSD-2-Clause" ]
2
2017-09-17T12:09:16.000Z
2021-05-15T21:36:47.000Z
src/common/WFiles.cpp
laurent22/ConEmu
52d4f91692e3ef9ec35d78e29d03e53f035c9e57
[ "BSD-2-Clause" ]
null
null
null
src/common/WFiles.cpp
laurent22/ConEmu
52d4f91692e3ef9ec35d78e29d03e53f035c9e57
[ "BSD-2-Clause" ]
1
2021-07-16T07:53:55.000Z
2021-07-16T07:53:55.000Z
 /* Copyright (c) 2014-2015 Maximus5 All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the followin...
24.073227
164
0.649287
laurent22
eddaf1174e8952f6f40aa0b48d5bf99c517752dd
4,852
hpp
C++
include/Siv3D/Random.hpp
cs3238-tsuzu/AIShoot
7c3dbb6e3b49f7d0ae1efe7ca69251ad50477647
[ "MIT" ]
1
2018-05-23T10:57:32.000Z
2018-05-23T10:57:32.000Z
include/Siv3D/Random.hpp
cs3238-tsuzu/AIShoot
7c3dbb6e3b49f7d0ae1efe7ca69251ad50477647
[ "MIT" ]
null
null
null
include/Siv3D/Random.hpp
cs3238-tsuzu/AIShoot
7c3dbb6e3b49f7d0ae1efe7ca69251ad50477647
[ "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. // //----------------------------------------------- # pragma once # include <algorithm> # include ...
19.102362
85
0.590066
cs3238-tsuzu
eddbd0b22f7f39d6f011aa22dd60f81737810f49
409
cpp
C++
mordor/tests/statistics.cpp
mtanski/mordor
cf6f0a0f31aec7188286302ceeff3018e6b65cb8
[ "BSD-3-Clause" ]
2
2015-03-19T14:20:28.000Z
2016-03-16T05:04:53.000Z
mordor/tests/statistics.cpp
mtanski/mordor
cf6f0a0f31aec7188286302ceeff3018e6b65cb8
[ "BSD-3-Clause" ]
1
2017-09-09T15:28:11.000Z
2017-09-09T15:28:11.000Z
mordor/tests/statistics.cpp
mtanski/mordor
cf6f0a0f31aec7188286302ceeff3018e6b65cb8
[ "BSD-3-Clause" ]
3
2015-06-02T19:33:39.000Z
2020-09-08T21:45:11.000Z
#include "../statistics.h" #include "../test/test.h" using namespace Mordor; MORDOR_UNITTEST(Statistics, dumpStat) { SumStatistic<int> sumStat("s"); sumStat.add(5); std::ostringstream os; sumStat.dump(os); std::ostringstream expectedOS; expectedOS << typeid(sumStat).name() << ": " << s...
24.058824
57
0.640587
mtanski
edde6ade0ca7919bda7e2dfb8a3b6626dbbc9d76
5,506
cpp
C++
oneflow/core/job/env_global_objects_scope.cpp
strint/oneflow
1dca706919e4c0e48ae43d641867a53338df6fcc
[ "Apache-2.0" ]
null
null
null
oneflow/core/job/env_global_objects_scope.cpp
strint/oneflow
1dca706919e4c0e48ae43d641867a53338df6fcc
[ "Apache-2.0" ]
null
null
null
oneflow/core/job/env_global_objects_scope.cpp
strint/oneflow
1dca706919e4c0e48ae43d641867a53338df6fcc
[ "Apache-2.0" ]
null
null
null
/* Copyright 2020 The OneFlow Authors. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
36.223684
97
0.74101
strint
ede4d92a23ef54a2c01fadcae45c92b2e1f04f4f
124,794
cpp
C++
img_molecule_limonene.cpp
emvivre/Chirality-game
b538bec3f6cf7aa5b39d28125f63c207273af22b
[ "WTFPL" ]
null
null
null
img_molecule_limonene.cpp
emvivre/Chirality-game
b538bec3f6cf7aa5b39d28125f63c207273af22b
[ "WTFPL" ]
null
null
null
img_molecule_limonene.cpp
emvivre/Chirality-game
b538bec3f6cf7aa5b39d28125f63c207273af22b
[ "WTFPL" ]
null
null
null
/** * Copyright: (c) 2014 François Lozes <emvivre@urdn.com.ua> * This program is free software; you can redistribute it and/or * modify it under the terms of the Do What The Fuck You Want To * Public License, Version 2, as published by Sam Hocevar. See * http://www.wtfpl.net/ for more details. */ #include "...
371.410714
388
0.658429
emvivre
ede64f774279f559da44361b59fc1bfe4d678e2e
6,622
cc
C++
whisperlib/net/util/ipclassifier.cc
cpopescu/whispercast
dd4ee1d4fa2e3436fc2387240eb3f5622749d944
[ "BSD-3-Clause" ]
null
null
null
whisperlib/net/util/ipclassifier.cc
cpopescu/whispercast
dd4ee1d4fa2e3436fc2387240eb3f5622749d944
[ "BSD-3-Clause" ]
null
null
null
whisperlib/net/util/ipclassifier.cc
cpopescu/whispercast
dd4ee1d4fa2e3436fc2387240eb3f5622749d944
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2009, Whispersoft s.r.l. // 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 cond...
35.037037
79
0.643461
cpopescu
ede6fa8c309ba99f9686cae131de3ee4d96685c2
64
hpp
C++
src/boost_spirit_home_karma_directive_strict_relaxed.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_spirit_home_karma_directive_strict_relaxed.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_spirit_home_karma_directive_strict_relaxed.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/spirit/home/karma/directive/strict_relaxed.hpp>
32
63
0.828125
miathedev
ede7fc1ccaf887aa40e32ea59ebf4f94fc00b95f
1,371
cpp
C++
src/omnicore/utilsbitcoin.cpp
palliums-developers/PalliumsPOS
baeb2949ea95a5f9abde7865770309a5a4b79b38
[ "MIT" ]
null
null
null
src/omnicore/utilsbitcoin.cpp
palliums-developers/PalliumsPOS
baeb2949ea95a5f9abde7865770309a5a4b79b38
[ "MIT" ]
null
null
null
src/omnicore/utilsbitcoin.cpp
palliums-developers/PalliumsPOS
baeb2949ea95a5f9abde7865770309a5a4b79b38
[ "MIT" ]
null
null
null
/** * @file utilsbitcoin.cpp * * This file contains certain helpers to access information about Bitcoin. */ #include "chain.h" #include "chainparams.h" #include "sync.h" #include "validation.h" #include <stdint.h> #include <string> extern CChain& chainActive; namespace mastercore { /** * @return The current ...
16.719512
74
0.652808
palliums-developers
ede85aa0da99fe3918d916d25120b4a0a2473f3e
33,106
cpp
C++
src/3rdparty/khtml/src/css/css_webfont.cpp
afarcat/QtHtmlView
fff12b6f5c08c2c6db15dd73e4f0b55421827b39
[ "Apache-2.0" ]
null
null
null
src/3rdparty/khtml/src/css/css_webfont.cpp
afarcat/QtHtmlView
fff12b6f5c08c2c6db15dd73e4f0b55421827b39
[ "Apache-2.0" ]
null
null
null
src/3rdparty/khtml/src/css/css_webfont.cpp
afarcat/QtHtmlView
fff12b6f5c08c2c6db15dd73e4f0b55421827b39
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. * Copyright (C) 2009 Germain Garand <germain@ebooksfrance.org> * * 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 m...
37.197753
217
0.620703
afarcat
edeafdb174b001b5617c7223e0662ae59bc17390
3,226
cpp
C++
android/versioned-react-native/ReactCommon/fabric/debug/tests/DebugStringConvertibleTest.cpp
rudylee/expo
b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc
[ "Apache-2.0", "MIT" ]
7
2020-10-09T18:47:48.000Z
2022-03-12T11:23:15.000Z
android/versioned-react-native/ReactCommon/fabric/debug/tests/DebugStringConvertibleTest.cpp
rudylee/expo
b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc
[ "Apache-2.0", "MIT" ]
255
2019-07-08T06:33:10.000Z
2021-08-02T05:58:03.000Z
android/versioned-react-native/ReactCommon/fabric/debug/tests/DebugStringConvertibleTest.cpp
rudylee/expo
b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc
[ "Apache-2.0", "MIT" ]
6
2019-09-23T15:57:49.000Z
2020-06-24T03:21:37.000Z
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <memory> #include <gtest/gtest.h> #include <react/debug/DebugStringConvertibleItem.h> using namespace facebook::react; ...
37.952941
80
0.717917
rudylee
edeb8ba7c60a70746a5aa85dd30816b952a9e2b2
59,971
cxx
C++
Code/Libraries/Algorithms/LDMM/LDMM.cxx
NIRALUser/AtlasWerks
a074ca208ab41a6ed89c1f0b70004998f7397681
[ "BSD-3-Clause" ]
3
2016-04-26T05:06:06.000Z
2020-08-01T09:46:54.000Z
Code/Libraries/Algorithms/LDMM/LDMM.cxx
scalphunters/AtlasWerks
9d224bf8db628805368fcb7973ac578937b6b595
[ "BSD-3-Clause" ]
1
2018-11-27T21:53:48.000Z
2019-05-13T15:21:31.000Z
Code/Libraries/Algorithms/LDMM/LDMM.cxx
scalphunters/AtlasWerks
9d224bf8db628805368fcb7973ac578937b6b595
[ "BSD-3-Clause" ]
2
2019-01-24T02:07:17.000Z
2019-12-11T17:27:42.000Z
/* ================================================================ * * AtlasWerks Project * * Copyright (c) Sarang C. Joshi, Bradley C. Davis, J. Samuel Preston, * Linh K. Ha. All rights reserved. See Copyright.txt or for details. * * This software is distributed WITHOUT ANY WARRANTY; without even the * impli...
29.940589
103
0.65595
NIRALUser
edec9b4a394c2d48ab45a8a041866dad01b713c2
13,424
cc
C++
Utilities/StorageFactory/src/StatisticsSenderService.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
13
2015-11-30T15:49:45.000Z
2022-02-08T16:11:30.000Z
Utilities/StorageFactory/src/StatisticsSenderService.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
640
2015-02-11T18:55:47.000Z
2022-03-31T14:12:23.000Z
Utilities/StorageFactory/src/StatisticsSenderService.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
51
2015-08-11T21:01:40.000Z
2022-03-30T07:31:34.000Z
#include "Utilities/StorageFactory/interface/StatisticsSenderService.h" #include "Utilities/StorageFactory/interface/StorageAccount.h" #include "FWCore/ServiceRegistry/interface/ActivityRegistry.h" #include "FWCore/Catalog/interface/SiteLocalConfig.h" #include "FWCore/ServiceRegistry/interface/Service.h" #include "FWC...
34.958333
134
0.666791
ckamtsikis
edecb85140a0464e8f20644644ec3a45c40539e8
547
cpp
C++
C++_Practice/21_Judgement.cpp
TuringGu/RELearning
a44813d6ae0416631bf5b345a7606cdf3d1a3ffe
[ "MIT" ]
null
null
null
C++_Practice/21_Judgement.cpp
TuringGu/RELearning
a44813d6ae0416631bf5b345a7606cdf3d1a3ffe
[ "MIT" ]
null
null
null
C++_Practice/21_Judgement.cpp
TuringGu/RELearning
a44813d6ae0416631bf5b345a7606cdf3d1a3ffe
[ "MIT" ]
null
null
null
#include <iostream> int main() { int flag{ 0 }; //if else int a = 10, b = 20; int c = a > b ? 10 : 20; // switch std::cout << "enter a number: " << std::endl; std::cin >> flag; switch (flag) { case 1: std::cout << "you entered " << "one" << std::endl; break; case 2: std::cout << "you entered " << "...
16.575758
55
0.52468
TuringGu
edeec01836e0189d3f82c8a0f9967e05fd700abb
1,681
cpp
C++
plugins/scripting/python3/src/Python3/python3streamredirect.cpp
MadManRises/Madgine
c9949bc9cf8b30d63db0da2382c9fbc5b60bcd0f
[ "MIT" ]
5
2018-05-16T14:09:34.000Z
2019-10-24T19:01:15.000Z
plugins/scripting/python3/src/Python3/python3streamredirect.cpp
MadManRises/Madgine
c9949bc9cf8b30d63db0da2382c9fbc5b60bcd0f
[ "MIT" ]
71
2017-06-20T06:41:42.000Z
2021-01-11T11:18:53.000Z
plugins/scripting/python3/src/Python3/python3streamredirect.cpp
MadManRises/Madgine
c9949bc9cf8b30d63db0da2382c9fbc5b60bcd0f
[ "MIT" ]
2
2018-05-16T13:57:25.000Z
2018-05-16T13:57:51.000Z
#include "python3lib.h" #include "python3streamredirect.h" #include "Meta/keyvalue/metatable_impl.h" #include "util/pyobjectutil.h" METATABLE_BEGIN(Engine::Scripting::Python3::Python3StreamRedirect) FUNCTION(write, text) METATABLE_END(Engine::Scripting::Python3::Python3StreamRedirect) namespace Engine { namespace ...
25.861538
97
0.578227
MadManRises
edef9098f2438e7b1a7143c232e6e54aaf8398f2
18,702
cpp
C++
data-server/src/range/lock.cpp
apaqi/sharkstore
88e0e0f29c8c170b6021dd0743560a94b9fc8b6a
[ "Apache-2.0" ]
1
2019-01-24T07:09:19.000Z
2019-01-24T07:09:19.000Z
data-server/src/range/lock.cpp
apaqi/sharkstore
88e0e0f29c8c170b6021dd0743560a94b9fc8b6a
[ "Apache-2.0" ]
null
null
null
data-server/src/range/lock.cpp
apaqi/sharkstore
88e0e0f29c8c170b6021dd0743560a94b9fc8b6a
[ "Apache-2.0" ]
3
2019-01-24T07:09:19.000Z
2021-06-21T07:54:09.000Z
#include "range.h" #include "server/range_server.h" namespace fbase { namespace dataserver { namespace range { kvrpcpb::LockValue *Range::LockGet(const std::string &key) { FLOG_DEBUG("lock get: key[%s]", EncodeToHexString(key).c_str()); std::string val; auto ret = store_->Get(key, &val); if (!ret.ok()...
36.960474
80
0.521442
apaqi
edf05447693d3900c46d11cadb3724b075ae4dbb
1,721
cpp
C++
Qt5Practice/Qt5_test06DifPaint/mainwindow.cpp
whuer-xiaojie/Qt_Test
5d3477f4f59c1c084a448a8a12bf536af5cad274
[ "Apache-2.0" ]
null
null
null
Qt5Practice/Qt5_test06DifPaint/mainwindow.cpp
whuer-xiaojie/Qt_Test
5d3477f4f59c1c084a448a8a12bf536af5cad274
[ "Apache-2.0" ]
null
null
null
Qt5Practice/Qt5_test06DifPaint/mainwindow.cpp
whuer-xiaojie/Qt_Test
5d3477f4f59c1c084a448a8a12bf536af5cad274
[ "Apache-2.0" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" #include<QPixmap> #include<QPainter> #include<QPicture> #include<QImage> #include<QDebug> #include<QPaintEvent> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); //QPixmap 绘图 QPixmap pixmap(...
25.308824
71
0.627542
whuer-xiaojie
edf300b27119caf77bde5338d5b712ae1f5c9540
3,479
cpp
C++
AppleOpenSource/WebKit2-7609.3.5.1.3/WebProcess/WebPage/WebContextMenu.cpp
lzackx/Zone
bf8a3d2b965c383a691a6e7b61d23db15ce11dba
[ "MIT" ]
null
null
null
AppleOpenSource/WebKit2-7609.3.5.1.3/WebProcess/WebPage/WebContextMenu.cpp
lzackx/Zone
bf8a3d2b965c383a691a6e7b61d23db15ce11dba
[ "MIT" ]
null
null
null
AppleOpenSource/WebKit2-7609.3.5.1.3/WebProcess/WebPage/WebContextMenu.cpp
lzackx/Zone
bf8a3d2b965c383a691a6e7b61d23db15ce11dba
[ "MIT" ]
null
null
null
/* * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). * Copyright (C) 2010 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either...
32.514019
165
0.748491
lzackx
edf39f22544469d4aa6bdb83a78ce0302183f0fd
16,365
cpp
C++
src/tga_vulkan/WSI_glfw/tga_vulkan_wsi.cpp
Estard/TGA
511f79b61966d12ab652ef80e14a62ad7ab8b40c
[ "MIT" ]
4
2020-11-04T10:49:01.000Z
2021-07-29T10:24:46.000Z
src/tga_vulkan/WSI_glfw/tga_vulkan_wsi.cpp
Estard/TGA
511f79b61966d12ab652ef80e14a62ad7ab8b40c
[ "MIT" ]
null
null
null
src/tga_vulkan/WSI_glfw/tga_vulkan_wsi.cpp
Estard/TGA
511f79b61966d12ab652ef80e14a62ad7ab8b40c
[ "MIT" ]
2
2020-04-17T11:26:07.000Z
2021-06-03T13:59:18.000Z
#include "tga/tga_vulkan/tga_vulkan_WSI.hpp" #include <iostream> #include "GLFW/glfw3.h" namespace tga { VulkanWSI::VulkanWSI() { glfwInit(); } VulkanWSI::~VulkanWSI() { glfwTerminate(); } void VulkanWSI::setVulkanHandles(vk::Instance _instance, vk::PhysicalDevice _pDevice, vk::Device _device, ...
46.491477
120
0.586923
Estard
edf4aae2b2c949be7e7bc484dfe1b6a5c9de19f1
4,962
cpp
C++
servers/physics/broad_phase_octree.cpp
Gerold31/godot
2bea642583efeb68886e71950384f297f2d7ee12
[ "MIT" ]
56
2015-01-20T09:52:35.000Z
2021-06-04T22:14:18.000Z
servers/physics/broad_phase_octree.cpp
Gerold31/godot
2bea642583efeb68886e71950384f297f2d7ee12
[ "MIT" ]
2
2021-08-18T15:38:29.000Z
2021-08-31T08:06:16.000Z
servers/physics/broad_phase_octree.cpp
Gerold31/godot
2bea642583efeb68886e71950384f297f2d7ee12
[ "MIT" ]
29
2015-01-12T15:59:06.000Z
2021-06-29T21:39:37.000Z
/*************************************************************************/ /* broad_phase_octree.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
37.029851
196
0.645103
Gerold31
edf4b0b92c379e04b91233be7de3e64e41a4be8e
5,235
hpp
C++
src/detail/chainable_setter.hpp
2bbb/ofxChainableSetting
cbec4deb4d8653a9cb6fe3db1541967395799c64
[ "MIT" ]
2
2017-04-30T19:07:54.000Z
2019-11-26T09:53:04.000Z
src/detail/chainable_setter.hpp
2bbb/ofxChainableSetting
cbec4deb4d8653a9cb6fe3db1541967395799c64
[ "MIT" ]
null
null
null
src/detail/chainable_setter.hpp
2bbb/ofxChainableSetting
cbec4deb4d8653a9cb6fe3db1541967395799c64
[ "MIT" ]
null
null
null
// // chainable_setter.hpp // // Created by ISHII 2bit on 2017/04/14. // // #pragma once #define bbb_chainable_setter_is_loaded #include <utility> #include <iostream> namespace bbb { template <typename parent_type> struct base_setter { void set_parent(parent_type *parent) { this->parent = parent; ...
34.9
114
0.582426
2bbb
edf52ddfb19d18c9dffc105f1e917880993ab838
2,095
cpp
C++
llbc/src/core/log/BaseLogAppender.cpp
caochunxi/llbc
2ff4af937f1635be67a7e24602d0a3e87c708ba7
[ "MIT" ]
null
null
null
llbc/src/core/log/BaseLogAppender.cpp
caochunxi/llbc
2ff4af937f1635be67a7e24602d0a3e87c708ba7
[ "MIT" ]
4
2020-04-17T03:25:31.000Z
2021-08-15T09:48:09.000Z
llbc/src/core/log/BaseLogAppender.cpp
caochunxi/llbc
2ff4af937f1635be67a7e24602d0a3e87c708ba7
[ "MIT" ]
null
null
null
// The MIT License (MIT) // Copyright (c) 2013 lailongwei<lailongwei@126.com> // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"), to deal in // the Software without restriction, including without limitation the r...
29.097222
84
0.73747
caochunxi
edf5f9f043f5566c774ca60f57bcf3fc587604c5
26,881
cpp
C++
compiler/src/iree/compiler/Dialect/VM/Target/Bytecode/ArchiveWriter.cpp
anthonycanino/iree
be167a62f8872597eac1b72e26b4c62e291bfd5c
[ "Apache-2.0" ]
null
null
null
compiler/src/iree/compiler/Dialect/VM/Target/Bytecode/ArchiveWriter.cpp
anthonycanino/iree
be167a62f8872597eac1b72e26b4c62e291bfd5c
[ "Apache-2.0" ]
null
null
null
compiler/src/iree/compiler/Dialect/VM/Target/Bytecode/ArchiveWriter.cpp
anthonycanino/iree
be167a62f8872597eac1b72e26b4c62e291bfd5c
[ "Apache-2.0" ]
null
null
null
// Copyright 2022 The IREE Authors // // Licensed under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "iree/compiler/Dialect/VM/Target/Bytecode/ArchiveWriter.h" #include "iree/compiler/Dial...
39.357247
101
0.707005
anthonycanino
edf75772c47581e2a90f4d0f5cae022d422e0945
26,965
cc
C++
L1Trigger/TrackFindingTracklet/src/TrackletCalculator.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
4
2020-06-27T23:27:21.000Z
2020-11-19T09:17:01.000Z
L1Trigger/TrackFindingTracklet/src/TrackletCalculator.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
524
2018-01-29T15:50:45.000Z
2021-08-04T14:03:21.000Z
L1Trigger/TrackFindingTracklet/src/TrackletCalculator.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
7
2018-02-19T11:17:13.000Z
2020-10-12T21:57:00.000Z
#include "L1Trigger/TrackFindingTracklet/interface/TrackletCalculator.h" #include "L1Trigger/TrackFindingTracklet/interface/Settings.h" #include "L1Trigger/TrackFindingTracklet/interface/Globals.h" #include "L1Trigger/TrackFindingTracklet/interface/TrackletProjectionsMemory.h" #include "L1Trigger/TrackFindingTracklet/i...
58.365801
117
0.564065
ckamtsikis
edf8a0ec2bb67e5eb6e3ffcc20a474feda546ac7
1,495
cpp
C++
examples/BigGAN/src/ofApp.cpp
rystylee/ofxLibTorch
ea1fe58e7377c724ececa9b4dfacac9e82087512
[ "MIT" ]
13
2019-12-04T06:08:06.000Z
2021-05-19T17:42:48.000Z
examples/BigGAN/src/ofApp.cpp
rystylee/ofxLibTorch
ea1fe58e7377c724ececa9b4dfacac9e82087512
[ "MIT" ]
3
2019-12-18T07:45:30.000Z
2020-05-09T12:42:31.000Z
examples/BigGAN/src/ofApp.cpp
rystylee/ofxLibTorch
ea1fe58e7377c724ececa9b4dfacac9e82087512
[ "MIT" ]
4
2019-12-18T06:36:26.000Z
2022-01-26T07:13:25.000Z
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup() { ofSetBackgroundColor(0); ofSetVerticalSync(false); mBigGAN.init("data/models/BigGAN_512.pt"); mGui.setup(); } //-------------------------------------------------------------- void ...
24.508197
76
0.383278
rystylee
edf8e92b39b84cb47495eceab6660d34145ee0f4
2,247
cpp
C++
algorithms/0010_regular_expression_matching/solution.cpp
GambuzX/LeetCode
8cd60debb906579ccb6936a69aaa3cc13d2dce8d
[ "MIT" ]
null
null
null
algorithms/0010_regular_expression_matching/solution.cpp
GambuzX/LeetCode
8cd60debb906579ccb6936a69aaa3cc13d2dce8d
[ "MIT" ]
null
null
null
algorithms/0010_regular_expression_matching/solution.cpp
GambuzX/LeetCode
8cd60debb906579ccb6936a69aaa3cc13d2dce8d
[ "MIT" ]
null
null
null
class Solution { public: bool isMatch(string s, string p) { return isMatch(s,p,0,0); } bool match(char c1, char c2) { return c1 == c2 || c2 == '.'; } bool isMatch(string s, string p, int i1, int i2) { if (i2 >= p.length()) return i1 >= s.length(); ...
27.740741
69
0.458834
GambuzX
edf90b7a696f5248de310ece4f341c36503e3bb5
2,733
cpp
C++
14.cpp
malkiewiczm/adventofcode2020
8491a5a0be11fa8cfa61d67c97401797c0e7cf6b
[ "Apache-2.0" ]
null
null
null
14.cpp
malkiewiczm/adventofcode2020
8491a5a0be11fa8cfa61d67c97401797c0e7cf6b
[ "Apache-2.0" ]
null
null
null
14.cpp
malkiewiczm/adventofcode2020
8491a5a0be11fa8cfa61d67c97401797c0e7cf6b
[ "Apache-2.0" ]
null
null
null
//#define PARTONE #include "template.hpp" using Map = std::map<I64, I64>; #ifdef PARTONE static I64 mask_digits(const std::string &mask_string, I64 n) { FOR(i, 36) { switch (mask_string[i]) { case '0': n &= ~(1LL << (35 - i)); break; case '1': n |= (1LL << (35 - i)); break; } } return n; } i...
20.395522
71
0.524332
malkiewiczm
edff6d371e848e70a34c1d3bbf3191e78417298e
8,438
cpp
C++
KinectExplorer-D2D/KinectSettings.cpp
MxWang6/IET_GroupProject_YogaApp
a3f41ecae79a6fda787324dd00831ab20d1879fd
[ "MIT" ]
null
null
null
KinectExplorer-D2D/KinectSettings.cpp
MxWang6/IET_GroupProject_YogaApp
a3f41ecae79a6fda787324dd00831ab20d1879fd
[ "MIT" ]
null
null
null
KinectExplorer-D2D/KinectSettings.cpp
MxWang6/IET_GroupProject_YogaApp
a3f41ecae79a6fda787324dd00831ab20d1879fd
[ "MIT" ]
1
2019-03-18T07:52:11.000Z
2019-03-18T07:52:11.000Z
//------------------------------------------------------------------------------ // <copyright file="KinectSettings.cpp" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //------------------------------------------------------------------------------ #include "stda...
31.962121
301
0.650984
MxWang6
610017a7681c1e0f9c92f3e643f1b8b0dbb16841
1,551
cpp
C++
base/base_tests/threaded_list_test.cpp
kudlav/organicmaps
390236365749e0525b9229684132c2888d11369d
[ "Apache-2.0" ]
4,879
2015-09-30T10:56:36.000Z
2022-03-31T18:43:03.000Z
base/base_tests/threaded_list_test.cpp
mbrukman/omim
d22fe2b6e0beee697f096e931df97a64f9db9dc1
[ "Apache-2.0" ]
7,549
2015-09-30T10:52:53.000Z
2022-03-31T22:04:22.000Z
base/base_tests/threaded_list_test.cpp
mbrukman/omim
d22fe2b6e0beee697f096e931df97a64f9db9dc1
[ "Apache-2.0" ]
1,493
2015-09-30T10:43:06.000Z
2022-03-21T09:16:49.000Z
#include "testing/testing.hpp" #include "base/threaded_list.hpp" #include "base/thread.hpp" #include "base/logging.hpp" #include <memory> #include <mutex> struct ThreadedListProcessor : public threads::IRoutine { ThreadedList<int> & m_p; std::mutex & m_resMutex; std::list<int> & m_res; int m_id; ThreadedL...
20.407895
99
0.63185
kudlav
6100753330faec37f7b47b17cd8fdf0fb0302f74
1,375
hpp
C++
cl/sampler.hpp
eti-p-doray/inf8702
1f420f6a6d8df5e9f5dce7c6192b622c761a909a
[ "MIT" ]
null
null
null
cl/sampler.hpp
eti-p-doray/inf8702
1f420f6a6d8df5e9f5dce7c6192b622c761a909a
[ "MIT" ]
null
null
null
cl/sampler.hpp
eti-p-doray/inf8702
1f420f6a6d8df5e9f5dce7c6192b622c761a909a
[ "MIT" ]
null
null
null
#pragma once namespace cl { #pragma once #include "cl/wrapper.hpp" namespace cl { struct sampler_traits { using handle = cl_sampler; using info = cl_sampler_info; static constexpr auto get_info = clGetSamplerInfo; static constexpr auto retain = clRetainSampler; static constexpr auto release = clReleaseS...
21.825397
105
0.730909
eti-p-doray
61015b823b66adde701611ee03e07b0e57048e28
9,032
cpp
C++
src/dnssd/avahi/poller.cpp
breese/trial.aware
b5b0c74e24d20e6e5f947be1d29bae42ce4377a1
[ "BSL-1.0" ]
2
2019-10-30T17:26:02.000Z
2020-06-21T09:11:02.000Z
src/dnssd/avahi/poller.cpp
breese/trial.aware
b5b0c74e24d20e6e5f947be1d29bae42ce4377a1
[ "BSL-1.0" ]
null
null
null
src/dnssd/avahi/poller.cpp
breese/trial.aware
b5b0c74e24d20e6e5f947be1d29bae42ce4377a1
[ "BSL-1.0" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2018 Bjorn Reese <breese@users.sourceforge.net> // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) /...
26.801187
102
0.525354
breese
610240fecb042f9a4bb1d955683da4362edf0be0
794
hpp
C++
src/Core/CResource.hpp
Sebajuste/Omeglond3D
28a3910b47490ec837a29e40e132369f957aedc7
[ "MIT" ]
1
2019-06-14T08:24:17.000Z
2019-06-14T08:24:17.000Z
src/Core/CResource.hpp
Sebajuste/Omeglond3D
28a3910b47490ec837a29e40e132369f957aedc7
[ "MIT" ]
null
null
null
src/Core/CResource.hpp
Sebajuste/Omeglond3D
28a3910b47490ec837a29e40e132369f957aedc7
[ "MIT" ]
null
null
null
#ifndef _DEF_OMEGLOND3D_CRESOURCE_HPP #define _DEF_OMEGLOND3D_CRESOURCE_HPP #include "IResource.hpp" namespace OMGL3D { namespace CORE { class CResource : public IResource { public: virtual ~CResource(); std::string GetName() const; void SetName(...
15.269231
51
0.539043
Sebajuste
6102d6f60a0c28660a740c00ab79c42700324497
88
cxx
C++
Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_sparse_matrix+int-.cxx
arobert01/ITK
230d319fdeaa3877273fab5d409dd6c11f0a6874
[ "Apache-2.0" ]
945
2015-01-09T00:43:52.000Z
2022-03-30T08:23:02.000Z
Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_sparse_matrix+int-.cxx
arobert01/ITK
230d319fdeaa3877273fab5d409dd6c11f0a6874
[ "Apache-2.0" ]
2,354
2015-02-04T21:54:21.000Z
2022-03-31T20:58:21.000Z
Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_sparse_matrix+int-.cxx
arobert01/ITK
230d319fdeaa3877273fab5d409dd6c11f0a6874
[ "Apache-2.0" ]
566
2015-01-04T14:26:57.000Z
2022-03-18T20:33:18.000Z
#include "vnl/vnl_sparse_matrix.hxx" template class VNL_EXPORT vnl_sparse_matrix<int>;
22
49
0.829545
arobert01
610306273673f04a1537335fe579fc48b6ad3b3b
6,049
hpp
C++
libvast/vast/bloom_filter.hpp
JoeLoser/vast
0380180cba549c0b839b286d8a58f2aaf2759aec
[ "BSD-3-Clause" ]
null
null
null
libvast/vast/bloom_filter.hpp
JoeLoser/vast
0380180cba549c0b839b286d8a58f2aaf2759aec
[ "BSD-3-Clause" ]
7
2021-11-15T01:30:45.000Z
2022-03-04T01:19:21.000Z
libvast/vast/bloom_filter.hpp
satta/vast
6c7587effd4265c4a5de23252bc7c7af3ef78bee
[ "BSD-3-Clause" ]
null
null
null
// _ _____ __________ // | | / / _ | / __/_ __/ Visibility // | |/ / __ |_\ \ / / Across // |___/_/ |_/___/ /_/ Space and Time // // SPDX-FileCopyrightText: (c) 2020 The VAST Contributors // SPDX-License-Identifier: BSD-3-Clause #pragma once #include "vast/bitvector.hpp" #include "va...
34.565714
79
0.654488
JoeLoser
6105c94adc3c4df86e022f4b3f7da0111f0efada
1,624
cpp
C++
src/libraries/core/blockCoupled/matrices/blockLduMatrix/BlockLduMatrix/BlockConstraint/scalarBlockConstraint.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/core/blockCoupled/matrices/blockLduMatrix/BlockLduMatrix/BlockConstraint/scalarBlockConstraint.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/core/blockCoupled/matrices/blockLduMatrix/BlockLduMatrix/BlockConstraint/scalarBlockConstraint.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
/*---------------------------------------------------------------------------*\ Copyright (C) 2004-6 H. Jasak ------------------------------------------------------------------------------- License This file is part of Caelus. Caelus is free software: you can redistribute it and/or modify it under the term...
30.074074
79
0.590517
MrAwesomeRocks
6106dc7fcfbe213dbe63901912367d8e4d12d64b
5,516
cpp
C++
src/splicigar/main.cpp
preciserobot/rex
91b58e22ea45b56b01a2cdd2ea63b253c9edc467
[ "BSD-4-Clause-UC" ]
null
null
null
src/splicigar/main.cpp
preciserobot/rex
91b58e22ea45b56b01a2cdd2ea63b253c9edc467
[ "BSD-4-Clause-UC" ]
null
null
null
src/splicigar/main.cpp
preciserobot/rex
91b58e22ea45b56b01a2cdd2ea63b253c9edc467
[ "BSD-4-Clause-UC" ]
null
null
null
/* * splicigar - returns cigar lines of possible splice juntion neighboring exons using a given half length * * Created by David Brawand on 12.02.10. * Added exon stringency filter on 14.04.10. * Copyright 2010 UNIL. All rights reserved. * */ #include <cstdio> #include <cstdlib> #include <fstream> #include...
35.358974
235
0.576505
preciserobot
61085f7046774a6cac5fb171dda5a82f5931a21e
6,731
cpp
C++
deps/plthooks/trampoline.cpp
amanjeetsingh150/profilo
a0d626d1c3889bdbaaa5c12ca2d2606f0fee45da
[ "Apache-2.0" ]
114
2018-05-10T09:28:07.000Z
2022-01-18T09:28:35.000Z
deps/plthooks/trampoline.cpp
amanjeetsingh150/profilo
a0d626d1c3889bdbaaa5c12ca2d2606f0fee45da
[ "Apache-2.0" ]
4
2021-03-11T04:11:14.000Z
2022-02-27T09:35:19.000Z
deps/plthooks/trampoline.cpp
amanjeetsingh150/profilo
a0d626d1c3889bdbaaa5c12ca2d2606f0fee45da
[ "Apache-2.0" ]
26
2018-05-11T00:49:22.000Z
2021-05-24T09:26:43.000Z
/** * Copyright 2004-present, Facebook, 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 ...
26.710317
97
0.683257
amanjeetsingh150
6108a7c0e904093b649846226a7b921d4a75a3ba
11,493
cc
C++
src/raft/raft_message.cc
zerolocusta/raft-in-cpp
9785732ca45d032d33ee45fa08da28b9cd301c5f
[ "MIT" ]
1
2019-10-29T14:47:18.000Z
2019-10-29T14:47:18.000Z
src/raft/raft_message.cc
zerolocusta/simple-raft-kvdb-cpp
9785732ca45d032d33ee45fa08da28b9cd301c5f
[ "MIT" ]
null
null
null
src/raft/raft_message.cc
zerolocusta/simple-raft-kvdb-cpp
9785732ca45d032d33ee45fa08da28b9cd301c5f
[ "MIT" ]
null
null
null
#include <err.h> #include "raft_message.h" namespace raft { PackedMessage::PackedMessage(void *data, uint32_t size) { uint32_t be32 = htobe32(size); data_ = new char[be32 + size]; ::memcpy(data_, &be32, sizeof be32); ::memcpy(data_ + sizeof be32, data, size); size_ = size + sizeof be32; } PackedM...
37.805921
206
0.740625
zerolocusta
6108cf1be2c7ea430289f437b0ac19138a3dec80
500
cpp
C++
simulated/fourteen/pC.cpp
joaovicentesouto/INE5452
4813630b303a9c6dbd4fb14fae0fb3b850e1aea3
[ "MIT" ]
null
null
null
simulated/fourteen/pC.cpp
joaovicentesouto/INE5452
4813630b303a9c6dbd4fb14fae0fb3b850e1aea3
[ "MIT" ]
null
null
null
simulated/fourteen/pC.cpp
joaovicentesouto/INE5452
4813630b303a9c6dbd4fb14fae0fb3b850e1aea3
[ "MIT" ]
null
null
null
#include <stdio.h> #include <math.h> #define DIF 0.000000001 inline double abs2(double a) { if (a < 0) return -a; return a; } inline int cmp(double a, double b) { if (abs2(a - b) < DIF) { return 0; } else if (a > b) { return 1; } return -1; } int main() { int n, h, c, l; wh...
13.888889
47
0.472
joaovicentesouto
6109d1038242f8cce80a143b956b138ceae87ac5
10,613
hpp
C++
Lib/Chip/Unknown/STMicro/STM32F41x/I2C2.hpp
operativeF/Kvasir
dfbcbdc9993d326ef8cc73d99129e78459c561fd
[ "Apache-2.0" ]
null
null
null
Lib/Chip/Unknown/STMicro/STM32F41x/I2C2.hpp
operativeF/Kvasir
dfbcbdc9993d326ef8cc73d99129e78459c561fd
[ "Apache-2.0" ]
null
null
null
Lib/Chip/Unknown/STMicro/STM32F41x/I2C2.hpp
operativeF/Kvasir
dfbcbdc9993d326ef8cc73d99129e78459c561fd
[ "Apache-2.0" ]
null
null
null
#pragma once #include <Register/Utility.hpp> namespace Kvasir { //Inter-integrated circuit namespace I2c2Cr1{ ///<Control register 1 using Addr = Register::Address<0x40005800,0xffff4004,0x00000000,std::uint32_t>; ///Software reset constexpr Register::FieldLocation<Addr,Register::maskFrom...
76.352518
218
0.708471
operativeF
610d74b748c83335239dac6f37f23ef2ecd2f6f4
1,411
cpp
C++
codesptb.cpp
ohmyjons/SPOJ-1
870ae3b072a3fbc89149b35fe5649a74512a8f60
[ "Unlicense" ]
264
2015-01-08T10:07:01.000Z
2022-03-26T04:11:51.000Z
codesptb.cpp
ohmyjons/SPOJ-1
870ae3b072a3fbc89149b35fe5649a74512a8f60
[ "Unlicense" ]
17
2016-04-15T03:38:07.000Z
2020-10-30T00:33:57.000Z
codesptb.cpp
ohmyjons/SPOJ-1
870ae3b072a3fbc89149b35fe5649a74512a8f60
[ "Unlicense" ]
127
2015-01-08T04:56:44.000Z
2022-02-25T18:40:37.000Z
// 2014-05-01 #include <iostream> #include <cstdio> #include <cstring> #include <algorithm> #define CUTOFF 30 using namespace std; int buf[200000]; int in() { char c; do c=getchar_unlocked(); while (c<=32); int res=0; do { res=(res<<1)+(res<<3)+c-'0'; c=getchar_unlocked()...
19.597222
66
0.425939
ohmyjons