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
99f81cb6b13e3ca0fa728799fa64f8d61fa134d0
4,765
cxx
C++
com/oleutest/perform/cairole/tests/bm_qi.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
com/oleutest/perform/cairole/tests/bm_qi.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
com/oleutest/perform/cairole/tests/bm_qi.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+------------------------------------------------------------------------ // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1993. // // File: bm_qi.cxx // // Contents: Ole QueryInterface test // // Classes: CQueryInterfaceTest // // History: 1-July-93 t-martig Created // //-----...
23.944724
77
0.613431
npocmaka
99f85fb50189a5b7b85ce0bd0752dbff255bf3f3
5,609
cc
C++
src/devices/i2c/drivers/i2c/i2c-child.cc
EnderNightLord-ChromeBook/fuchsia-pine64-pinephone
05e2c059b57b6217089090a0315971d1735ecf57
[ "BSD-3-Clause" ]
14
2020-10-25T05:48:36.000Z
2021-09-20T02:46:20.000Z
src/devices/i2c/drivers/i2c/i2c-child.cc
JokeZhang/fuchsia
d6e9dea8dca7a1c8fa89d03e131367e284b30d23
[ "BSD-3-Clause" ]
null
null
null
src/devices/i2c/drivers/i2c/i2c-child.cc
JokeZhang/fuchsia
d6e9dea8dca7a1c8fa89d03e131367e284b30d23
[ "BSD-3-Clause" ]
2
2020-10-25T01:13:49.000Z
2020-10-26T02:32:13.000Z
// Copyright 2019 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "i2c-child.h" #include <lib/sync/completion.h> #include <threads.h> #include <zircon/types.h> #include <ddk/binding.h> #include <ddk/debug.h> #i...
35.726115
100
0.633446
EnderNightLord-ChromeBook
99faccc599709f54020bcb9b3388e1c1380dfa74
6,744
cpp
C++
src/graphics/Primitives.cpp
PatrickDahlin/Untitled-Game
e12a0eb9b83d45727201fd47ca073e6c2530cb48
[ "Zlib", "MIT" ]
null
null
null
src/graphics/Primitives.cpp
PatrickDahlin/Untitled-Game
e12a0eb9b83d45727201fd47ca073e6c2530cb48
[ "Zlib", "MIT" ]
null
null
null
src/graphics/Primitives.cpp
PatrickDahlin/Untitled-Game
e12a0eb9b83d45727201fd47ca073e6c2530cb48
[ "Zlib", "MIT" ]
null
null
null
#include "graphics/Primitives.hpp" #include <vector> #include <glm/glm.hpp> typedef glm::vec3 v3; typedef glm::vec2 v2; typedef glm::vec4 v4; /* p4 -- p3 | | p1 -- p2 */ void add_face(std::vector<v3>& v, std::vector<v3>& n, std::vector<v4>& c, std::vector<v2>& t, v3 p1, v3 p2, v3 p3, ...
27.867769
87
0.668298
PatrickDahlin
99fd76bb3603af515c1cebf7a7aa4e300efa562c
17,006
cpp
C++
src/LevScene/LevSceneUtil.cpp
wakare/Leviathan
8a488f014d6235c5c6e6422c9f53c82635b7ebf7
[ "MIT" ]
3
2019-03-05T13:05:30.000Z
2019-12-16T05:56:21.000Z
src/LevScene/LevSceneUtil.cpp
wakare/Leviathan
8a488f014d6235c5c6e6422c9f53c82635b7ebf7
[ "MIT" ]
null
null
null
src/LevScene/LevSceneUtil.cpp
wakare/Leviathan
8a488f014d6235c5c6e6422c9f53c82635b7ebf7
[ "MIT" ]
null
null
null
#include "LevSceneUtil.h" #include "LevMeshObject.h" #include "LevSceneObject.h" #include "LevRAttrRenderObjectAttributeBinder.h" namespace Leviathan { namespace Scene { bool LevSceneUtil::InitSceneNodeWithMeshFile(const char * mesh_file, unsigned scene_object_mask, LSPtr<LevSceneNode>& out_scene_node) { LSPt...
36.730022
179
0.711043
wakare
8200dabecfc445f3828d119c8d6f6b47f8c17d3d
2,409
cpp
C++
TileServer und Tiles/filereader.cpp
andr1312e/Russia-Tiles-Server
c1d596b84e22c170ba0f795ed6e2bfb80167eeb6
[ "Unlicense" ]
null
null
null
TileServer und Tiles/filereader.cpp
andr1312e/Russia-Tiles-Server
c1d596b84e22c170ba0f795ed6e2bfb80167eeb6
[ "Unlicense" ]
null
null
null
TileServer und Tiles/filereader.cpp
andr1312e/Russia-Tiles-Server
c1d596b84e22c170ba0f795ed6e2bfb80167eeb6
[ "Unlicense" ]
null
null
null
#include "filereader.h" ImageRotator::ImageRotator(const QString *pathToSourceSvg, const QString *pathToRendedImage, const QString *fileType, const QString *slash, const QString *svgType, QObject *parent) : QObject(parent) , m_file(new QFile()) , m_pathToSourceSvgFolder(pathToSourceSvg) , m_pathToRende...
34.913043
180
0.689913
andr1312e
8200f3e25afdf83ecf00d91a958e787e807a0aeb
702
cpp
C++
dkcoro/utils.cpp
huahang/dkcoro
c1e8a69e07fd8cc80886fe1fc4a931d97ce3bc91
[ "Apache-2.0" ]
null
null
null
dkcoro/utils.cpp
huahang/dkcoro
c1e8a69e07fd8cc80886fe1fc4a931d97ce3bc91
[ "Apache-2.0" ]
null
null
null
dkcoro/utils.cpp
huahang/dkcoro
c1e8a69e07fd8cc80886fe1fc4a931d97ce3bc91
[ "Apache-2.0" ]
null
null
null
/** * @author hans@dkmt.io * @date 2021-06-24 */ #include "utils.h" #include <chrono> namespace dkcoro { int64_t utils::current_time_millis() { using std::chrono::duration_cast; using std::chrono::milliseconds; using std::chrono::system_clock; auto now = system_clock::now(); return duration_cast<millis...
21.9375
69
0.717949
huahang
8201f063c0e7940d8b744a3f528d45a102d272c5
9,937
cpp
C++
Classes/stk-4.4.1/src/Mesh2D.cpp
jongwook/urMus
b3d22e8011253f137a3581e84db8e79accccc7a4
[ "MIT", "AML", "BSD-3-Clause" ]
1
2015-11-05T00:50:07.000Z
2015-11-05T00:50:07.000Z
Classes/stk-4.4.1/src/Mesh2D.cpp
jongwook/urMus
b3d22e8011253f137a3581e84db8e79accccc7a4
[ "MIT", "AML", "BSD-3-Clause" ]
null
null
null
Classes/stk-4.4.1/src/Mesh2D.cpp
jongwook/urMus
b3d22e8011253f137a3581e84db8e79accccc7a4
[ "MIT", "AML", "BSD-3-Clause" ]
null
null
null
/***************************************************/ /*! \class Mesh2D \brief Two-dimensional rectilinear waveguide mesh class. This class implements a rectilinear, two-dimensional digital waveguide mesh structure. For details, see Van Duyne and Smith, "Physical Modeling with the 2-D Digital ...
24.780549
102
0.564456
jongwook
8204c74eb1e8d078edeeeab4aa26129ea08b00d1
3,646
cpp
C++
UCF HSPT Documents/2007/Solutions/radio.cpp
p473lr/i-urge-mafia-gear
ae19efb1af2e85ed8bcbbcc3d12ae0f024f3565e
[ "Apache-2.0" ]
null
null
null
UCF HSPT Documents/2007/Solutions/radio.cpp
p473lr/i-urge-mafia-gear
ae19efb1af2e85ed8bcbbcc3d12ae0f024f3565e
[ "Apache-2.0" ]
null
null
null
UCF HSPT Documents/2007/Solutions/radio.cpp
p473lr/i-urge-mafia-gear
ae19efb1af2e85ed8bcbbcc3d12ae0f024f3565e
[ "Apache-2.0" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <string.h> // There are potenially several ways to solve this problem. This solution // simply fills a two dimensional boolean array representing whether or // not a commercial is on for each minute of each station's programming. // Then, we traverse the arra...
32.265487
75
0.566648
p473lr
820537e1be718f43d856f9bc9d230bb86b3198b4
77,729
cc
C++
src/Newick.cc
pgajer/MCclassifier
5da58744a4cc58b6c854efff63534aae50c72258
[ "Unlicense" ]
6
2016-03-05T04:45:16.000Z
2021-08-07T06:20:07.000Z
src/Newick.cc
pgajer/MCclassifier
5da58744a4cc58b6c854efff63534aae50c72258
[ "Unlicense" ]
2
2016-09-20T18:30:27.000Z
2016-11-08T17:35:11.000Z
src/Newick.cc
pgajer/MCclassifier
5da58744a4cc58b6c854efff63534aae50c72258
[ "Unlicense" ]
2
2016-09-20T16:37:40.000Z
2017-03-11T23:37:04.000Z
// Author: Adam Phillippy /* Copyright (C) 2016 Pawel Gajer (pgajer@gmail.com), Adam Phillippy and Jacques Ravel jravel@som.umaryland.edu Permission to use, copy, modify, and distribute this software and its documentation with or without modifications and for any purpose and without fee is hereby granted, provided th...
26.118616
185
0.579848
pgajer
8205757562d52e5e616fffeca3b4c5e1355f2022
3,450
hpp
C++
src/c4/regen/regen.hpp
biojppm/c4regen
a5c908ec97c0546b6d1a92df21715bffe330c42c
[ "MIT" ]
2
2019-11-25T09:49:43.000Z
2021-07-27T08:28:22.000Z
src/c4/regen/regen.hpp
biojppm/c4regen
a5c908ec97c0546b6d1a92df21715bffe330c42c
[ "MIT" ]
null
null
null
src/c4/regen/regen.hpp
biojppm/c4regen
a5c908ec97c0546b6d1a92df21715bffe330c42c
[ "MIT" ]
null
null
null
#ifndef _C4_REGEN_HPP_ #define _C4_REGEN_HPP_ #include "c4/regen/enum.hpp" #include "c4/regen/function.hpp" #include "c4/regen/class.hpp" #include "c4/regen/writer.hpp" #include <c4/c4_push.hpp> namespace c4 { namespace regen { //----------------------------------------------------------------------------- //------...
25.367647
139
0.538261
biojppm
82065130c76b5a7180c49205b158a6d4e4d00465
12,525
cpp
C++
src/presentation.cpp
dashboardvision/aspose-php
e2931773cbb1f47ae4086d632faa3012bd952b99
[ "MIT" ]
null
null
null
src/presentation.cpp
dashboardvision/aspose-php
e2931773cbb1f47ae4086d632faa3012bd952b99
[ "MIT" ]
null
null
null
src/presentation.cpp
dashboardvision/aspose-php
e2931773cbb1f47ae4086d632faa3012bd952b99
[ "MIT" ]
1
2021-06-23T08:02:03.000Z
2021-06-23T08:02:03.000Z
#include "../include/aspose.h" #include "../include/presentation.h" #include "../include/slide.h" #include "../include/islide_collection.h" #include "../include/slide_size.h" #include <phpcpp.h> #include <iostream> #include "../include/master-slide-collection.h" #include "../include/image-collection.h" using namespac...
33.943089
155
0.568862
dashboardvision
8206e75e2672adf0814fc251cf05cc578df89a20
3,516
cpp
C++
aws-cpp-sdk-secretsmanager/source/SecretsManagerErrors.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-secretsmanager/source/SecretsManagerErrors.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-secretsmanager/source/SecretsManagerErrors.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/core/client/AWSError.h> #include <aws/core/utils/HashingUtils.h> #include <aws/secretsmanager/SecretsManagerErrors.h> using namespace Aws::Client; using namespace Aws::Utils; using name...
39.954545
113
0.792093
Neusoft-Technology-Solutions
82091dab0964d78b4350f72917e686eca57d575c
5,848
cpp
C++
Turso3D/Graphics/D3D11/D3D11ShaderVariation.cpp
cadaver/turso3d
5659df48b7915b95a351dfcad382b3ed653573f2
[ "Zlib" ]
29
2015-03-21T22:35:50.000Z
2022-01-25T04:13:46.000Z
Turso3D/Graphics/D3D11/D3D11ShaderVariation.cpp
cadaver/turso3d
5659df48b7915b95a351dfcad382b3ed653573f2
[ "Zlib" ]
1
2016-10-23T16:20:14.000Z
2018-04-13T13:32:13.000Z
Turso3D/Graphics/D3D11/D3D11ShaderVariation.cpp
cadaver/turso3d
5659df48b7915b95a351dfcad382b3ed653573f2
[ "Zlib" ]
8
2015-09-28T06:26:41.000Z
2020-12-28T14:29:51.000Z
// For conditions of distribution and use, see copyright notice in License.txt #include "../../Debug/Log.h" #include "../../Debug/Profiler.h" #include "../Shader.h" #include "D3D11Graphics.h" #include "D3D11ShaderVariation.h" #include "D3D11VertexBuffer.h" #include <d3d11.h> #include <d3dcompiler.h> #include "../../...
27.455399
127
0.619015
cadaver
82096793b59d06e566a3415fff02129b63587fd8
13,536
cc
C++
DQM/HLTEvF/plugins/TriggerBxMonitor.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
2
2020-10-26T18:40:32.000Z
2021-04-10T16:33:25.000Z
DQM/HLTEvF/plugins/TriggerBxMonitor.cc
gartung/cmssw
3072dde3ce94dcd1791d778988198a44cde02162
[ "Apache-2.0" ]
30
2015-11-04T11:42:27.000Z
2021-12-01T07:56:34.000Z
DQM/HLTEvF/plugins/TriggerBxMonitor.cc
gartung/cmssw
3072dde3ce94dcd1791d778988198a44cde02162
[ "Apache-2.0" ]
8
2016-03-25T07:17:43.000Z
2021-07-08T17:11:21.000Z
// C++ headers #include <cstring> #include <iterator> #include <string> // {fmt} headers #include <fmt/printf.h> // CMSSW headers #include "FWCore/Framework/interface/Frameworkfwd.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/Framework/interface/LuminosityBlock.h" #include "FWCore/Framework/interf...
41.018182
119
0.628251
PKUfudawei
820cdf3a3d77a20635d03b3abed4fc05e66f4cd5
18,023
cpp
C++
src/ConEmu/AboutDlg.cpp
clcarwin/ConEmu_lite
f7ed818f8ba52677d3787c180579558c4296f810
[ "MIT" ]
null
null
null
src/ConEmu/AboutDlg.cpp
clcarwin/ConEmu_lite
f7ed818f8ba52677d3787c180579558c4296f810
[ "MIT" ]
null
null
null
src/ConEmu/AboutDlg.cpp
clcarwin/ConEmu_lite
f7ed818f8ba52677d3787c180579558c4296f810
[ "MIT" ]
null
null
null
 // WM_DRAWITEM, SS_OWNERDRAW|SS_NOTIFY, Bmp & hBmp -> global vars // DPI resize. /* Copyright (c) 2014-2017 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 m...
25.456215
166
0.687233
clcarwin
820cdfc304b61d37aac2f00a8eecacea5d1f7af0
2,655
cpp
C++
sharedcpp/libeditcore/videoeffect/image_effect/sharpen_effect.cpp
daimaren/TikTok
786437b8a05e84dead1bd54ba718edd68f893635
[ "MIT" ]
3
2020-11-11T04:08:19.000Z
2021-04-27T01:07:42.000Z
sharedcpp/libeditcore/videoeffect/image_effect/sharpen_effect.cpp
daimaren/TikTok
786437b8a05e84dead1bd54ba718edd68f893635
[ "MIT" ]
2
2020-09-22T20:42:16.000Z
2020-11-11T04:08:57.000Z
sharedcpp/libeditcore/videoeffect/image_effect/sharpen_effect.cpp
daimaren/TikTok
786437b8a05e84dead1bd54ba718edd68f893635
[ "MIT" ]
11
2020-07-04T03:03:18.000Z
2022-03-17T10:19:19.000Z
// // sharpen_effect.cpp // liveDemo // // Created by apple on 16/5/12. // Copyright © 2016年 changba. All rights reserved. // #include "sharpen_effect.h" #define LOG_TAG "SharpenEffect" SharpenEffect::SharpenEffect() { mVertexShader = SHARPEN_EFFECT_VERTEX_SHADER; mFragmentShader = SHARPEN_EFFECT_FRAGMEN...
35.878378
92
0.622976
daimaren
820d5bca902a08daedae509f900ce8e4924c9acc
1,490
cpp
C++
tests/util/lambda_invoker.cpp
preempt/fruit
9ea3e31b63836797ec7ba1dd759ead8c00d0d227
[ "Apache-2.0" ]
null
null
null
tests/util/lambda_invoker.cpp
preempt/fruit
9ea3e31b63836797ec7ba1dd759ead8c00d0d227
[ "Apache-2.0" ]
null
null
null
tests/util/lambda_invoker.cpp
preempt/fruit
9ea3e31b63836797ec7ba1dd759ead8c00d0d227
[ "Apache-2.0" ]
null
null
null
// expect-success /* * Copyright 2014 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
23.650794
75
0.691275
preempt
820e8224bfd7dc1b58445bdf091866102e0d5e92
4,265
hpp
C++
mars/boost/mpl/list/aux_/preprocessed/plain/list20.hpp
habbyge/mars
f30884ab41599780c51eb57a19dc1e0662cbc98a
[ "BSD-2-Clause", "Apache-2.0" ]
1
2020-09-17T06:29:28.000Z
2020-09-17T06:29:28.000Z
mars/boost/mpl/list/aux_/preprocessed/plain/list20.hpp
habbyge/mars
f30884ab41599780c51eb57a19dc1e0662cbc98a
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
mars/boost/mpl/list/aux_/preprocessed/plain/list20.hpp
habbyge/mars
f30884ab41599780c51eb57a19dc1e0662cbc98a
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
// Copyright Aleksey Gurtovoy 2000-2004 // // 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) // // Preprocessed version of "boost/mpl/list/list20.hpp" header // -- DO NOT modify by hand! namespace m...
33.849206
273
0.660961
habbyge
820eda8c4d0cd64bdba964503f8c4964c15b0e03
7,276
cpp
C++
cpp/test/core/json_tests.cpp
glenfe/microsoft.bond
dc388e9ffb00a780fcad0c8b9fdc06ea7092e225
[ "MIT" ]
539
2019-05-08T10:48:41.000Z
2022-03-26T22:47:59.000Z
cpp/test/core/json_tests.cpp
glenfe/microsoft.bond
dc388e9ffb00a780fcad0c8b9fdc06ea7092e225
[ "MIT" ]
168
2019-05-07T22:01:24.000Z
2022-03-30T21:18:40.000Z
cpp/test/core/json_tests.cpp
glenfe/microsoft.bond
dc388e9ffb00a780fcad0c8b9fdc06ea7092e225
[ "MIT" ]
81
2019-05-12T20:56:27.000Z
2022-03-01T22:23:12.000Z
#include "precompiled.h" #include "json_tests.h" #include <boost/format.hpp> #include <boost/static_assert.hpp> #include <locale> #include <stdarg.h> #include <type_traits> using namespace bond; template <typename From, typename To> const To& operator->*(const From& from, To& to) { bond::OutputBuffer buffer; ...
27.149254
121
0.65613
glenfe
820f0ac7bfda590319e15f973cb601ca0d6a2c5c
1,215
cpp
C++
native/androidaudioplugin/android/src/android-application-context.cpp
atsushieno/android-audio-plugin-framework
f382d5964af24498972e51cbe52af34361a02dc3
[ "MIT" ]
34
2020-03-05T23:40:44.000Z
2022-03-23T04:50:43.000Z
native/androidaudioplugin/android/src/android-application-context.cpp
atsushieno/android-audio-plugin-framework
f382d5964af24498972e51cbe52af34361a02dc3
[ "MIT" ]
87
2020-01-04T14:47:55.000Z
2022-03-31T16:42:11.000Z
native/androidaudioplugin/android/src/android-application-context.cpp
atsushieno/android-audio-plugin-framework
f382d5964af24498972e51cbe52af34361a02dc3
[ "MIT" ]
1
2021-01-31T11:16:40.000Z
2021-01-31T11:16:40.000Z
#include "aap/android-application-context.h" namespace aap { // Android-specific API. Not sure if we would like to keep it in the host API - it is for plugins. JavaVM *android_vm{nullptr}; jobject application_context{nullptr}; extern "C" JNIEXPORT jint JNI_OnLoad(JavaVM* vm, void* reserved) { android_vm = vm; retu...
31.153846
100
0.784362
atsushieno
820f19b1d5d97bcad5aeb32520d2902f09939c24
1,854
cpp
C++
vnext/ReactWindowsCore/Modules/PlatformConstantsModule.cpp
tahmidbintaslim/react-native-windows
ff72d1b4acc9cc82771b5b58a625c987c93d1f8f
[ "MIT" ]
2
2019-02-08T18:11:24.000Z
2022-01-04T17:46:46.000Z
vnext/ReactWindowsCore/Modules/PlatformConstantsModule.cpp
mjfusa/react-native-windows
eb2d614511c20caffed6b0105b92061be5ebeb4e
[ "MIT" ]
null
null
null
vnext/ReactWindowsCore/Modules/PlatformConstantsModule.cpp
mjfusa/react-native-windows
eb2d614511c20caffed6b0105b92061be5ebeb4e
[ "MIT" ]
1
2022-03-22T20:00:29.000Z
2022-03-22T20:00:29.000Z
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #include "PlatformConstantsModule.h" #include <VersionHelpers.h> using Method = facebook::xplat::module::CxxModule::Method; #ifndef RNW_PKG_VERSION_MAJOR #define RNW_PKG_VERSION_MAJOR 1000 #endif #ifndef RNW_PKG_VERSION_MINOR #d...
32.526316
95
0.702265
tahmidbintaslim
820fe4340e7e4071065ead3b3047a5545e13d213
4,190
cpp
C++
third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationInspectorAgent.cpp
wenfeifei/miniblink49
2ed562ff70130485148d94b0e5f4c343da0c2ba4
[ "Apache-2.0" ]
5,964
2016-09-27T03:46:29.000Z
2022-03-31T16:25:27.000Z
third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationInspectorAgent.cpp
w4454962/miniblink49
b294b6eacb3333659bf7b94d670d96edeeba14c0
[ "Apache-2.0" ]
459
2016-09-29T00:51:38.000Z
2022-03-07T14:37:46.000Z
third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationInspectorAgent.cpp
w4454962/miniblink49
b294b6eacb3333659bf7b94d670d96edeeba14c0
[ "Apache-2.0" ]
1,006
2016-09-27T05:17:27.000Z
2022-03-30T02:46:51.000Z
// Copyright 2015 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 "config.h" #include "modules/screen_orientation/ScreenOrientationInspectorAgent.h" #include "core/InspectorTypeBuilder.h" #include "core/frame/L...
39.528302
140
0.778998
wenfeifei
8210a05e5b0d978d2b7fdfea173193ab68af5b29
7,142
cpp
C++
ext/include/osgEarthUtil/ContourMap.cpp
energonQuest/dtEarth
47b04bb272ec8781702dea46f5ee9a03d4a22196
[ "MIT" ]
6
2015-09-26T15:33:41.000Z
2021-06-13T13:21:50.000Z
ext/include/osgEarthUtil/ContourMap.cpp
energonQuest/dtEarth
47b04bb272ec8781702dea46f5ee9a03d4a22196
[ "MIT" ]
null
null
null
ext/include/osgEarthUtil/ContourMap.cpp
energonQuest/dtEarth
47b04bb272ec8781702dea46f5ee9a03d4a22196
[ "MIT" ]
5
2015-05-04T09:02:23.000Z
2019-06-17T11:34:12.000Z
/* -*-c++-*- */ /* osgEarth - Dynamic map generation toolkit for OpenSceneGraph * Copyright 2008-2012 Pelican Mapping * http://osgearth.org * * osgEarth is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; e...
31.462555
104
0.635536
energonQuest
821105fc2a223f312eedb419e6a35e528a03888a
878
cpp
C++
MonoNative.Tests/mscorlib/System/Runtime/Serialization/mscorlib_System_Runtime_Serialization_IObjectReference_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
7
2015-03-10T03:36:16.000Z
2021-11-05T01:16:58.000Z
MonoNative.Tests/mscorlib/System/Runtime/Serialization/mscorlib_System_Runtime_Serialization_IObjectReference_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
1
2020-06-23T10:02:33.000Z
2020-06-24T02:05:47.000Z
MonoNative.Tests/mscorlib/System/Runtime/Serialization/mscorlib_System_Runtime_Serialization_IObjectReference_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
null
null
null
// Mono Native Fixture // Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // Namespace: System.Runtime.Serialization // Name: IObjectReference // C++ Typed Name: mscorlib::System::Runtime::Serialization::IObjectReference #include <gtest/gtest.h> #include <mscorlib/System/Runtime/...
23.105263
105
0.763098
brunolauze
8211183ac47ea4607914043950614220e8b2ee76
1,249
hpp
C++
include/opentxs/cash/DigitalCash.hpp
nopdotcom/opentxs
140428ba8f1bd4c09654ebf0a1c1725f396efa8b
[ "MIT" ]
null
null
null
include/opentxs/cash/DigitalCash.hpp
nopdotcom/opentxs
140428ba8f1bd4c09654ebf0a1c1725f396efa8b
[ "MIT" ]
null
null
null
include/opentxs/cash/DigitalCash.hpp
nopdotcom/opentxs
140428ba8f1bd4c09654ebf0a1c1725f396efa8b
[ "MIT" ]
null
null
null
// Copyright (c) 2018 The Open-Transactions developers // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #ifndef OPENTXS_CASH_DIGITALCASH_HPP #define OPENTXS_CASH_DIGI...
20.816667
78
0.740592
nopdotcom
8214e0929db0b1bae3b8b8b6cd4f2683793e8267
4,643
hh
C++
wrappers/c++/include/utils.hh
klaasjacobdevries/lothar
38ad3e4e0552abaff253e77c4a6cf0657d920196
[ "MIT" ]
2
2016-07-23T13:05:10.000Z
2021-01-25T01:10:33.000Z
wrappers/c++/include/utils.hh
klaasjacobdevries/lothar
38ad3e4e0552abaff253e77c4a6cf0657d920196
[ "MIT" ]
null
null
null
wrappers/c++/include/utils.hh
klaasjacobdevries/lothar
38ad3e4e0552abaff253e77c4a6cf0657d920196
[ "MIT" ]
1
2019-06-26T19:39:28.000Z
2019-06-26T19:39:28.000Z
#ifndef LOTHAR_UTILS_HH #define LOTHAR_UTILS_HH #include "utils.h" #include "error_handling.hh" #include <algorithm> // a bit dirty, but avoid all tr1/c++11/whatever trickery by redeclaring shared_ptr in the lothar namespace #ifdef HAVE_SHARED_PTR #include <memory> namespace lothar { template <typename T> class...
22.871921
120
0.665087
klaasjacobdevries
821a0c662245750cd0fff195666d90a5cce302bc
236
cpp
C++
spinok/source/ECS/Entity.cpp
ckgomes/projects_archive
f5282d51dd1539bbefb5c1d12d2ab35ec3d6e548
[ "MIT" ]
1
2016-06-04T14:34:23.000Z
2016-06-04T14:34:23.000Z
spinok/source/ECS/Entity.cpp
ckgomes/projects_archive
f5282d51dd1539bbefb5c1d12d2ab35ec3d6e548
[ "MIT" ]
null
null
null
spinok/source/ECS/Entity.cpp
ckgomes/projects_archive
f5282d51dd1539bbefb5c1d12d2ab35ec3d6e548
[ "MIT" ]
null
null
null
#include "Entity.hpp" void Entity::scheduleRemoval() { m_remove = true; } void Entity::update() { ext::for_each(m_components, [](auto* ptr) { if (ptr != nullptr && ptr->active) ptr->update(); }); }
14.75
45
0.54661
ckgomes
821badb96303ab3886e30a9a8584b13a4e6c591a
3,926
cc
C++
chromium/storage/common/data_element.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/storage/common/data_element.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/storage/common/data_element.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2013 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 "storage/common/data_element.h" #include <stddef.h> #include <stdint.h> #include <algorithm> #include "base/strings/string_number_conversions....
29.742424
80
0.65079
wedataintelligence
821da146e307ca80a83fc676bdad0b0b8c66a390
9,164
cc
C++
pin/thread_start.cc
elau/graphite_pep
ddce5890f20e272c587c5caed07161db043247b2
[ "MIT" ]
1
2022-03-03T21:04:09.000Z
2022-03-03T21:04:09.000Z
pin/thread_start.cc
trevorcarlson/Graphite
8aeb2cb199864dbf517c4a88dfac7fb6ac7d74f4
[ "MIT" ]
1
2022-03-04T20:03:50.000Z
2022-03-04T20:03:50.000Z
pin/thread_start.cc
elau/graphite_pep
ddce5890f20e272c587c5caed07161db043247b2
[ "MIT" ]
null
null
null
#include <string.h> #include <sys/mman.h> #include "thread_start.h" #include "log.h" #include "core.h" #include "simulator.h" #include "fixed_types.h" #include "pin_config.h" #include "tile_manager.h" #include "thread_manager.h" #include "thread_support.h" int spawnThreadSpawner(CONTEXT *ctxt) { int res; IntPt...
33.202899
164
0.666412
elau
822003dcc8852383956382623a8e11ce250f464d
612
cpp
C++
examples/tree.cpp
mbrcknl/functional.cc
a9172f8ed61ac5a9aa3330bdbf1cdd52fc133632
[ "BSL-1.0" ]
1
2017-09-17T16:06:33.000Z
2017-09-17T16:06:33.000Z
examples/tree.cpp
mbrcknl/functional.cc
a9172f8ed61ac5a9aa3330bdbf1cdd52fc133632
[ "BSL-1.0" ]
null
null
null
examples/tree.cpp
mbrcknl/functional.cc
a9172f8ed61ac5a9aa3330bdbf1cdd52fc133632
[ "BSL-1.0" ]
null
null
null
// Copyright (c) Matthew Brecknell 2013. // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE.txt or a copy at http://www.boost.org/LICENSE_1_0.txt). #include <iostream> #include <string> #include "tree.hpp" typedef tree<int> tri; int main() { tri foo = tri(tri(tri(1...
20.4
79
0.591503
mbrcknl
822071ab31478074150e59726e6ad7cbe136836e
2,253
cc
C++
caffe2/binaries/fb_run_plan_mpi.cc
shijieS/Caffe2
f71695dcc27053e52b78f893344ea2ef2bd2da83
[ "MIT" ]
1
2021-04-22T00:07:58.000Z
2021-04-22T00:07:58.000Z
caffe2/binaries/fb_run_plan_mpi.cc
ZhaoJ9014/caffe2
40a1ae36afd2d1b6126f171209c83a4a5b95737c
[ "MIT" ]
null
null
null
caffe2/binaries/fb_run_plan_mpi.cc
ZhaoJ9014/caffe2
40a1ae36afd2d1b6126f171209c83a4a5b95737c
[ "MIT" ]
null
null
null
// Runs a plan with mpi enabled without mpirun. This differs from run_plan_mpi // in the sense that the common world is formed by joining during runtime, // instead of being set up by mpirun. // // This util assumes that you have a common path (like NFS) that multiple // instances can read from. #include <mpi.h> #inc...
30.863014
78
0.711496
shijieS
8223818873576463b61e22ceb7c64095d83896d6
3,478
cpp
C++
samples/printto.cpp
yumetodo/iutest
69bdc23a4da4b8752e04d944b3fb308c7523653b
[ "BSD-3-Clause" ]
null
null
null
samples/printto.cpp
yumetodo/iutest
69bdc23a4da4b8752e04d944b3fb308c7523653b
[ "BSD-3-Clause" ]
null
null
null
samples/printto.cpp
yumetodo/iutest
69bdc23a4da4b8752e04d944b3fb308c7523653b
[ "BSD-3-Clause" ]
null
null
null
//====================================================================== //----------------------------------------------------------------------- /** * @file printto.cpp * @brief printto sample * * @author t.shirayanagi * @par copyright * Copyright (C) 2014-2017, Takazumi Shirayanagi\n...
26.549618
76
0.519839
yumetodo
82241d067baf2199fcd682043a06b50d7c796403
2,391
cc
C++
dataworks-public/src/model/GetInstanceStatusCountResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
dataworks-public/src/model/GetInstanceStatusCountResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
dataworks-public/src/model/GetInstanceStatusCountResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud 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...
36.784615
93
0.77248
iamzken
82257f436a6d072adfa04e3391aa17d50a373bbb
3,960
cpp
C++
main/src/hal/amp-1.0.0/amp-leds.cpp
intentfulmotion/firmware-amp
fecd97ae3882907af10e05e7e688786110da0461
[ "MIT" ]
null
null
null
main/src/hal/amp-1.0.0/amp-leds.cpp
intentfulmotion/firmware-amp
fecd97ae3882907af10e05e7e688786110da0461
[ "MIT" ]
null
null
null
main/src/hal/amp-1.0.0/amp-leds.cpp
intentfulmotion/firmware-amp
fecd97ae3882907af10e05e7e688786110da0461
[ "MIT" ]
null
null
null
#include <hal/amp-1.0.0/amp-leds.h> FreeRTOS::Semaphore AmpLeds::ledsReady = FreeRTOS::Semaphore("leds"); void AmpLeds::init() { // setup the status led status = new OneWireLED(NeoPixel, STATUS_LED, 0, 1); (*status)[0] = lightOff; } void AmpLeds::deinit() { delay(50); } void AmpLeds::process() { ledsReady...
26.577181
112
0.636364
intentfulmotion
82284cfa850da06bedc67553778ce7c6723ff33e
1,284
cpp
C++
solutions/number_with_same_consecutive_differences.cpp
kmykoh97/My-Leetcode
0ffdea16c3025805873aafb6feffacaf3411a258
[ "Apache-2.0" ]
null
null
null
solutions/number_with_same_consecutive_differences.cpp
kmykoh97/My-Leetcode
0ffdea16c3025805873aafb6feffacaf3411a258
[ "Apache-2.0" ]
null
null
null
solutions/number_with_same_consecutive_differences.cpp
kmykoh97/My-Leetcode
0ffdea16c3025805873aafb6feffacaf3411a258
[ "Apache-2.0" ]
null
null
null
// Return all non-negative integers of length N such that the absolute difference between every two consecutive digits is K. // Note that every number in the answer must not have leading zeros except for the number 0 itself. For example, 01 has one leading zero and is invalid, but 0 is valid. // You may return the an...
24.692308
168
0.573209
kmykoh97
8229ebaa6d032ab38129b40f5e0a11ed33b674d4
2,405
cpp
C++
src/nanoFramework.System.Collections/nf_system_collections_System_Collections_Queue.cpp
TIPConsulting/nf-interpreter
d5407872f4705d6177e1ee5a2e966bd02fd476e4
[ "MIT" ]
null
null
null
src/nanoFramework.System.Collections/nf_system_collections_System_Collections_Queue.cpp
TIPConsulting/nf-interpreter
d5407872f4705d6177e1ee5a2e966bd02fd476e4
[ "MIT" ]
1
2021-02-22T07:54:30.000Z
2021-02-22T07:54:30.000Z
src/nanoFramework.System.Collections/nf_system_collections_System_Collections_Queue.cpp
TIPConsulting/nf-interpreter
d5407872f4705d6177e1ee5a2e966bd02fd476e4
[ "MIT" ]
null
null
null
// // Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // #include "nf_system_collections.h" HRESULT Library_nf_system_collections_System_Collections_Queue::CopyTo___VOI...
29.691358
123
0.729314
TIPConsulting
822a33bd8dd25acd61eb9e4d90992818da114355
9,367
cpp
C++
src/main.cpp
MaGetzUb/SoftwareRenderer
e1d6242617863a1d9fdc272c1011a3938d1dbbc9
[ "BSD-2-Clause" ]
1
2020-01-01T12:07:07.000Z
2020-01-01T12:07:07.000Z
src/main.cpp
MaGetzUb/SoftwareRenderer
e1d6242617863a1d9fdc272c1011a3938d1dbbc9
[ "BSD-2-Clause" ]
null
null
null
src/main.cpp
MaGetzUb/SoftwareRenderer
e1d6242617863a1d9fdc272c1011a3938d1dbbc9
[ "BSD-2-Clause" ]
1
2018-07-20T07:51:06.000Z
2018-07-20T07:51:06.000Z
/* Copyright © 2018, Marko Ranta 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 fo...
27.229651
222
0.645564
MaGetzUb
822b8a4f8aa4df4e7e225d0191f8d4b56ccf6f98
1,282
cpp
C++
benchmarks/distances_b.cpp
ssciwr/geolib4d
dd79a746559235e47c2cb5e7c7ba71ef3ae21e29
[ "MIT" ]
3
2022-01-28T14:18:05.000Z
2022-03-02T21:52:43.000Z
benchmarks/distances_b.cpp
ssciwr/geolib4d
dd79a746559235e47c2cb5e7c7ba71ef3ae21e29
[ "MIT" ]
104
2021-06-18T14:10:37.000Z
2022-03-04T06:12:58.000Z
benchmarks/distances_b.cpp
ssciwr/py4dgeo
dd79a746559235e47c2cb5e7c7ba71ef3ae21e29
[ "MIT" ]
null
null
null
#include "testsetup.hpp" #include <py4dgeo/compute.hpp> #include <py4dgeo/epoch.hpp> #include <benchmark/benchmark.h> using namespace py4dgeo; static void distances_benchmark(benchmark::State& state) { auto [cloud, corepoints] = ahk_benchcloud(); Epoch epoch(*cloud); epoch.kdtree.build_tree(10); std::vector...
26.163265
62
0.634165
ssciwr
822ba932fff7ff255c3c71384c0d15f11a82339d
3,820
hpp
C++
storage/map_files_downloader.hpp
dualword/organicmaps
c0a73aea4835517edef3b5a7d68a3a50d55a4471
[ "Apache-2.0" ]
3,062
2021-04-09T16:51:55.000Z
2022-03-31T21:02:51.000Z
storage/map_files_downloader.hpp
MAPSWorks/organicmaps
b5fef4b5954cb27153c0dafddd7eed3bfa0b1e7f
[ "Apache-2.0" ]
1,396
2021-04-08T07:26:49.000Z
2022-03-31T20:27:46.000Z
storage/map_files_downloader.hpp
MAPSWorks/organicmaps
b5fef4b5954cb27153c0dafddd7eed3bfa0b1e7f
[ "Apache-2.0" ]
242
2021-04-10T17:10:46.000Z
2022-03-31T13:41:07.000Z
#pragma once #include "storage/downloader_queue_universal.hpp" #include "storage/downloading_policy.hpp" #include "storage/queued_country.hpp" #include "platform/downloader_defines.hpp" #include "platform/http_request.hpp" #include "platform/safe_callback.hpp" #include <cstdint> #include <functional> #include <memor...
36.730769
121
0.750524
dualword
822f0e3b530cb767804478225c1aad7bb89ce441
917
inl
C++
src/binder/inc/bindinglog.inl
CyberSys/coreclr-mono
83b2cb83b32faa45b4f790237b5c5e259692294a
[ "MIT" ]
10
2015-11-03T16:35:25.000Z
2021-07-31T16:36:29.000Z
src/binder/inc/bindinglog.inl
CyberSys/coreclr-mono
83b2cb83b32faa45b4f790237b5c5e259692294a
[ "MIT" ]
1
2019-03-05T18:50:09.000Z
2019-03-05T18:50:09.000Z
src/binder/inc/bindinglog.inl
CyberSys/coreclr-mono
83b2cb83b32faa45b4f790237b5c5e259692294a
[ "MIT" ]
4
2015-10-28T12:26:26.000Z
2021-09-04T11:36:04.000Z
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // // ============================================================ // // BindingLog.inl // // // Implements inlined methods of BindingLog // // ====================...
19.104167
101
0.597601
CyberSys
43619168bbe67d887c4410779ccafd0308947c90
1,014
hpp
C++
include/pdmath/util.hpp
pdm-pcb/pdmath
6c8ac4288c68bbe547e71f5bb7d1e44d3f1e35ab
[ "MIT" ]
null
null
null
include/pdmath/util.hpp
pdm-pcb/pdmath
6c8ac4288c68bbe547e71f5bb7d1e44d3f1e35ab
[ "MIT" ]
null
null
null
include/pdmath/util.hpp
pdm-pcb/pdmath
6c8ac4288c68bbe547e71f5bb7d1e44d3f1e35ab
[ "MIT" ]
null
null
null
#ifndef PDMATH_UTIL_HPP #define PDMATH_UTIL_HPP #include <cstdint> #include <utility> namespace pdm { static constexpr uint8_t float_precision = 7; static constexpr float float_epsilon = 1.0e-6f; static float clamp(const float val, const float min, const float max) { if(val > max) { return max; } ...
22.043478
77
0.616371
pdm-pcb
43635ffd74fb3e438de90879c7b7a1a68b5cf4ad
734
cpp
C++
src/main.cpp
KentaKawamata/load_params
98204612fccc301f92fa183fbbdec7381d70534a
[ "MIT" ]
null
null
null
src/main.cpp
KentaKawamata/load_params
98204612fccc301f92fa183fbbdec7381d70534a
[ "MIT" ]
null
null
null
src/main.cpp
KentaKawamata/load_params
98204612fccc301f92fa183fbbdec7381d70534a
[ "MIT" ]
null
null
null
#include <iostream> #include "./../include/loadParams.hpp" int main(int argc, char* argv[]) { LoadParams *load; load = new LoadParams(); float test_num = 0; double test_double = 0; //char test_error = 0; std::string test_str; bool test_bool = true; load->get_param<float>("test3", test_num); load->g...
25.310345
55
0.658038
KentaKawamata
436545db17f286d4dba949dc416e0433a9f6f77f
1,058
cpp
C++
KetaminRudwolf/src/game/scene/SceneMenu.cpp
Vasile2k/KetaminRudwolf
8e1703a2737c2ff914380a14c71f679e27786a10
[ "Apache-2.0" ]
5
2019-01-13T09:53:05.000Z
2021-01-25T11:02:12.000Z
KetaminRudwolf/src/game/scene/SceneMenu.cpp
Vasile2k/KetaminRudwolf
8e1703a2737c2ff914380a14c71f679e27786a10
[ "Apache-2.0" ]
null
null
null
KetaminRudwolf/src/game/scene/SceneMenu.cpp
Vasile2k/KetaminRudwolf
8e1703a2737c2ff914380a14c71f679e27786a10
[ "Apache-2.0" ]
null
null
null
#include "SceneMenu.hpp" #include "SceneOptions.hpp" #include "SceneGame.hpp" #include "../Game.hpp" SceneMenu::SceneMenu(Scene*& currentScene) : currentScene(currentScene) { } SceneMenu::~SceneMenu() { } void SceneMenu::onUpdate(std::chrono::milliseconds deltaTime) { } void SceneMenu::onRender(Renderer* rendere...
22.510638
121
0.694707
Vasile2k
4367bff43ea688a5548411e48b0e1e5d26dc5a6c
5,258
cpp
C++
src/TtbarHypothesis.cpp
kreczko/AnalysisSoftware
fa83a3775a8d644e6098d28dbc6f3d7f1a11b400
[ "Apache-2.0" ]
null
null
null
src/TtbarHypothesis.cpp
kreczko/AnalysisSoftware
fa83a3775a8d644e6098d28dbc6f3d7f1a11b400
[ "Apache-2.0" ]
null
null
null
src/TtbarHypothesis.cpp
kreczko/AnalysisSoftware
fa83a3775a8d644e6098d28dbc6f3d7f1a11b400
[ "Apache-2.0" ]
null
null
null
/* * TtbarHypothesis.cpp * * Created on: Dec 4, 2010 * Author: lkreczko */ #include "../interface/TtbarHypothesis.h" #include "../interface/ReconstructionModules/ReconstructionException.h" //#include "../interface/ReconstructionModules/BasicNeutrinoReconstruction.h" // #include <iostream> // using namespace...
26.422111
171
0.667554
kreczko
43685654950843e8ca85131adee61782cc9fd832
674
cpp
C++
lang/C++/bitwise-operations.cpp
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
5
2021-01-29T20:08:05.000Z
2022-03-22T06:16:05.000Z
lang/C++/bitwise-operations.cpp
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
null
null
null
lang/C++/bitwise-operations.cpp
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
1
2021-04-13T04:19:31.000Z
2021-04-13T04:19:31.000Z
#include <iostream> void bitwise(int a, int b) { std::cout << "a and b: " << (a & b) << '\n'; // Note: parentheses are needed because & has lower precedence than << std::cout << "a or b: " << (a | b) << '\n'; std::cout << "a xor b: " << (a ^ b) << '\n'; std::cout << "not a: " << ~a << '\n'; std::...
44.933333
118
0.507418
ethansaxenian
43698c61e904273cdc874f57de12dc71b512feaa
6,145
cc
C++
client/appsensorapi/handlermanager_unittest.cc
zamorajavi/google-input-tools
fc9f11d80d957560f7accf85a5fc27dd23625f70
[ "Apache-2.0" ]
175
2015-01-01T12:40:33.000Z
2019-05-24T22:33:59.000Z
client/appsensorapi/handlermanager_unittest.cc
zamorajavi/google-input-tools
fc9f11d80d957560f7accf85a5fc27dd23625f70
[ "Apache-2.0" ]
11
2015-01-19T16:30:56.000Z
2018-04-25T01:06:52.000Z
client/appsensorapi/handlermanager_unittest.cc
zamorajavi/google-input-tools
fc9f11d80d957560f7accf85a5fc27dd23625f70
[ "Apache-2.0" ]
97
2015-01-19T15:35:29.000Z
2019-05-15T05:48:02.000Z
/* Copyright 2014 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing,...
31.675258
74
0.678438
zamorajavi
436e7faa816efb828719d2e5174d8dc74b5b13a6
1,152
cpp
C++
src/pipeline/node/EdgeDetector.cpp
SpectacularAI/depthai-core
7516ca0d179c5f0769ecdab0020ac3a6de09cab9
[ "MIT" ]
112
2020-09-05T01:56:31.000Z
2022-03-27T15:20:07.000Z
src/pipeline/node/EdgeDetector.cpp
SpectacularAI/depthai-core
7516ca0d179c5f0769ecdab0020ac3a6de09cab9
[ "MIT" ]
226
2020-06-12T11:14:17.000Z
2022-03-31T13:32:36.000Z
src/pipeline/node/EdgeDetector.cpp
SpectacularAI/depthai-core
7516ca0d179c5f0769ecdab0020ac3a6de09cab9
[ "MIT" ]
66
2020-09-06T03:22:27.000Z
2022-03-30T09:01:29.000Z
#include "depthai/pipeline/node/EdgeDetector.hpp" #include "spdlog/fmt/fmt.h" namespace dai { namespace node { EdgeDetector::EdgeDetector(const std::shared_ptr<PipelineImpl>& par, int64_t nodeId) : Node(par, nodeId), rawConfig(std::make_shared<RawEdgeDetectorConfig>()), initialConfig(rawConfig) { inputs = {&...
26.181818
105
0.736111
SpectacularAI
436f3a23d1836199dbd9bb42f3e3185a747865dc
16,867
cpp
C++
libs/crpropa/src/Variant.cpp
carmeloevoli/hecr_diffusion
0b23fd102de391f37a11c6a27f4f69c8ac172fcd
[ "MIT" ]
2
2019-05-02T10:15:41.000Z
2021-04-06T10:08:54.000Z
libs/crpropa/src/Variant.cpp
carmeloevoli/hecr_diffusion
0b23fd102de391f37a11c6a27f4f69c8ac172fcd
[ "MIT" ]
null
null
null
libs/crpropa/src/Variant.cpp
carmeloevoli/hecr_diffusion
0b23fd102de391f37a11c6a27f4f69c8ac172fcd
[ "MIT" ]
1
2019-05-01T15:15:51.000Z
2019-05-01T15:15:51.000Z
//------------------------------------------------------------- // Based on Variant.cc in the Physics eXtension Library (PXL) - // http://vispa.physik.rwth-aachen.de/ - // Licensed under a LGPL-2 or later license - //------------------------------------------------------------- ...
17.515057
110
0.630699
carmeloevoli
4370630b80632664eaa5738c62caa6c199609e2e
26,711
hpp
C++
include/RAJA/policy/tensor/arch/cuda/cuda_warp.hpp
andrewcorrigan/RAJA
a326fad43321eadaebf75cb264461d3889ee6942
[ "BSD-3-Clause" ]
null
null
null
include/RAJA/policy/tensor/arch/cuda/cuda_warp.hpp
andrewcorrigan/RAJA
a326fad43321eadaebf75cb264461d3889ee6942
[ "BSD-3-Clause" ]
null
null
null
include/RAJA/policy/tensor/arch/cuda/cuda_warp.hpp
andrewcorrigan/RAJA
a326fad43321eadaebf75cb264461d3889ee6942
[ "BSD-3-Clause" ]
null
null
null
/*! ****************************************************************************** * * \file * * \brief Header file containing SIMT distrubuted register abstractions for * CUDA * ****************************************************************************** */ //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
26.420376
138
0.565759
andrewcorrigan
4370e2b3f90fcc1782fc4a044ecf2467be47550e
19,250
hpp
C++
include/libpmemobj++/container/array.hpp
sanjay-cpu/libpmemobj-cpp
12c98c1d7a3780ca37c96fcc8124c720887066d0
[ "BSD-3-Clause" ]
null
null
null
include/libpmemobj++/container/array.hpp
sanjay-cpu/libpmemobj-cpp
12c98c1d7a3780ca37c96fcc8124c720887066d0
[ "BSD-3-Clause" ]
null
null
null
include/libpmemobj++/container/array.hpp
sanjay-cpu/libpmemobj-cpp
12c98c1d7a3780ca37c96fcc8124c720887066d0
[ "BSD-3-Clause" ]
null
null
null
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2018-2020, Intel Corporation */ /** * @file * Array container with std::array compatible interface. */ #ifndef LIBPMEMOBJ_CPP_ARRAY_HPP #define LIBPMEMOBJ_CPP_ARRAY_HPP #include <algorithm> #include <functional> #include <libpmemobj++/container/detail/contigu...
20.522388
80
0.663273
sanjay-cpu
4370e4d0662ae6e12313e8f8ddfaed54baae3939
664
cpp
C++
Leetcode_167.cpp
xulu199705/LeetCode
9a654a10117a93f9ad9728d6b86eb3713185545e
[ "MIT" ]
null
null
null
Leetcode_167.cpp
xulu199705/LeetCode
9a654a10117a93f9ad9728d6b86eb3713185545e
[ "MIT" ]
null
null
null
Leetcode_167.cpp
xulu199705/LeetCode
9a654a10117a93f9ad9728d6b86eb3713185545e
[ "MIT" ]
null
null
null
// Two Sum II Input array is sorted #include <leetcode.h> class Solution { public: vector<int> twoSum(vector<int>& numbers, int target) { vector<int> ans; for (int i = 0; i < numbers.size(); i++) { if (i != 0 && numbers[i] == numbers[i-1]) { continue; } if (numbers[i] > target)...
20.121212
92
0.496988
xulu199705
4374f7570f23c6207af5f08630009c83c93945d1
174
cpp
C++
src/DoNotOptimize.cpp
oliora/sltbench
9b33e47c7963de84f3db511a0b74b77e69ce5fcd
[ "Apache-2.0" ]
146
2016-08-27T08:30:50.000Z
2022-02-22T12:57:56.000Z
src/DoNotOptimize.cpp
qjhuang/sltbench
a3347f85cea0eac2f8e798ff2c9e9b40e3d1967d
[ "Apache-2.0" ]
70
2016-12-27T07:45:53.000Z
2021-01-01T07:27:48.000Z
src/DoNotOptimize.cpp
qjhuang/sltbench
a3347f85cea0eac2f8e798ff2c9e9b40e3d1967d
[ "Apache-2.0" ]
12
2017-10-10T19:23:18.000Z
2020-06-25T17:44:21.000Z
#include <sltbench/impl/DoNotOptimize.h> namespace sltbench { namespace priv { void empty_function(volatile const char*) { } } // namespace priv } // namespace sltbench
14.5
41
0.735632
oliora
43753501b3b17c99027017e4ac6f742120260517
4,172
cpp
C++
tests/async/StaticThreadPoolTests.cpp
MichaelE1000/libazul
4a18c5d9d71722b09e04ab5d837d5f012ae4e8b0
[ "MIT" ]
3
2019-01-29T09:18:48.000Z
2019-01-29T15:08:06.000Z
tests/async/StaticThreadPoolTests.cpp
MichaelE1000/libimpulso
4a18c5d9d71722b09e04ab5d837d5f012ae4e8b0
[ "MIT" ]
1
2020-11-29T01:54:33.000Z
2020-12-10T06:48:30.000Z
tests/async/StaticThreadPoolTests.cpp
MichaelE1000/libimpulso
4a18c5d9d71722b09e04ab5d837d5f012ae4e8b0
[ "MIT" ]
null
null
null
#include <gmock/gmock.h> #include <azul/async/StaticThreadPool.hpp> #include <thread> class StaticThreadPoolTestFixture : public testing::Test { }; TEST_F(StaticThreadPoolTestFixture, Execute_EmptyTask_FutureReady) { azul::async::StaticThreadPool threadPool(1); auto result = threadPool.Execute([](){}); ...
28.972222
117
0.68001
MichaelE1000
43792eec702b1dfe3031e6f480458443889048d9
3,065
hpp
C++
jigtest/src/application/characterobject.hpp
Ludophonic/JigLib
541ec63b345ccf01e58cce49eb2f73c21eaf6aa6
[ "Zlib" ]
10
2016-06-01T12:54:45.000Z
2021-09-07T17:34:37.000Z
jigtest/src/application/characterobject.hpp
Ludophonic/JigLib
541ec63b345ccf01e58cce49eb2f73c21eaf6aa6
[ "Zlib" ]
null
null
null
jigtest/src/application/characterobject.hpp
Ludophonic/JigLib
541ec63b345ccf01e58cce49eb2f73c21eaf6aa6
[ "Zlib" ]
4
2017-05-03T14:03:03.000Z
2021-01-04T04:31:15.000Z
//============================================================== // Copyright (C) 2004 Danny Chapman // danny@rowlhouse.freeserve.co.uk //-------------------------------------------------------------- // /// @file characterobject.hpp // //=============================...
30.959596
171
0.655791
Ludophonic
437b4fb3092c973ac2b6e6f20de02cdad6b5567b
6,593
cc
C++
src/ufo/profile/ObsProfileAverageData.cc
JCSDA/ufo
69a6475f478306dd4d4f6728705fe0cd205752c7
[ "Apache-2.0" ]
4
2020-12-04T08:26:06.000Z
2021-11-20T01:18:47.000Z
src/ufo/profile/ObsProfileAverageData.cc
JCSDA/ufo
69a6475f478306dd4d4f6728705fe0cd205752c7
[ "Apache-2.0" ]
21
2020-10-30T08:57:16.000Z
2021-05-17T15:11:20.000Z
src/ufo/profile/ObsProfileAverageData.cc
JCSDA/ufo
69a6475f478306dd4d4f6728705fe0cd205752c7
[ "Apache-2.0" ]
8
2020-11-04T00:10:11.000Z
2021-11-14T09:18:14.000Z
/* * (C) Copyright 2021 Met Office UK * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. */ #include "oops/util/FloatCompare.h" #include "oops/util/missingValues.h" #include "ufo/profile/ObsProfileAverageData.h" #...
42.811688
99
0.668285
JCSDA
437c26dfb215bd0edcb62df9777a61c1a1158bf2
3,717
hpp
C++
global/test/TestCwd.hpp
AvciRecep/chaste_2019
1d46cdac647820d5c5030f8a9ea3a1019f6651c1
[ "Apache-2.0", "BSD-3-Clause" ]
1
2020-04-05T12:11:54.000Z
2020-04-05T12:11:54.000Z
global/test/TestCwd.hpp
AvciRecep/chaste_2019
1d46cdac647820d5c5030f8a9ea3a1019f6651c1
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
global/test/TestCwd.hpp
AvciRecep/chaste_2019
1d46cdac647820d5c5030f8a9ea3a1019f6651c1
[ "Apache-2.0", "BSD-3-Clause" ]
2
2020-04-05T14:26:13.000Z
2021-03-09T08:18:17.000Z
/* Copyright (c) 2005-2019, University of Oxford. All rights reserved. University of Oxford means the Chancellor, Masters and Scholars of the University of Oxford, having an administrative office at Wellington Square, Oxford OX1 2JD, UK. This file is part of Chaste. Redistribution and use in source and binary forms...
36.441176
79
0.744149
AvciRecep
437ea4e95b0b958443b50b4fce650b1d03bb6792
10,121
cpp
C++
roomedit/source/lprogdlg.cpp
Darkman-M59/Meridian59_115
671b7ebe9fa2b1f40c8bd453652d596042291b90
[ "FSFAP" ]
1
2021-05-19T02:13:59.000Z
2021-05-19T02:13:59.000Z
roomedit/source/lprogdlg.cpp
siwithaneye/Meridian59
9dc8df728d41ba354c9b11574484da5b3e013a87
[ "FSFAP" ]
null
null
null
roomedit/source/lprogdlg.cpp
siwithaneye/Meridian59
9dc8df728d41ba354c9b11574484da5b3e013a87
[ "FSFAP" ]
null
null
null
/*----------------------------------------------------------------------------* | This file is part of WinDEU, the port of DEU to Windows. | | WinDEU was created by the DEU team: | | Renaud Paquay, Raphael Quinet, Brendon Wyber and others... | ...
25.753181
83
0.590159
Darkman-M59
438032ae65eb3f62d471f9f1951683f94f3378a9
531
hpp
C++
blocker/blockerd/Clouds/icloud.hpp
TheKuko/blocker
c19839ff65f7e31b3a428f902ce3c7cdf5ec46ab
[ "MIT" ]
null
null
null
blocker/blockerd/Clouds/icloud.hpp
TheKuko/blocker
c19839ff65f7e31b3a428f902ce3c7cdf5ec46ab
[ "MIT" ]
null
null
null
blocker/blockerd/Clouds/icloud.hpp
TheKuko/blocker
c19839ff65f7e31b3a428f902ce3c7cdf5ec46ab
[ "MIT" ]
null
null
null
// // icloud.hpp // blockerd // // Created by Jozef on 05/06/2020. // #ifndef icloud_hpp #define icloud_hpp #include "base.hpp" struct ICloud : public CloudProvider { ICloud(const BlockLevel Bl, const std::vector<std::string> &Paths) { id = CloudProviderId::ICLOUD; bl = Bl; paths = Pat...
18.310345
75
0.596987
TheKuko
438123566dcba8e27c70e489054414dc81f425cf
3,298
cpp
C++
src/rdm/util/test/SystemTest.cpp
cwj5012/rdm-cppserver
6eed70cc89e2a09eaac93f0833fd9c3c4a273eb8
[ "MIT" ]
1
2020-06-11T01:31:26.000Z
2020-06-11T01:31:26.000Z
src/rdm/util/test/SystemTest.cpp
cwj5012/rdm-cppserver
6eed70cc89e2a09eaac93f0833fd9c3c4a273eb8
[ "MIT" ]
null
null
null
src/rdm/util/test/SystemTest.cpp
cwj5012/rdm-cppserver
6eed70cc89e2a09eaac93f0833fd9c3c4a273eb8
[ "MIT" ]
null
null
null
#include <catch2/catch.hpp> #include "../../log/Logger.h" #include "../System.h" using namespace rdm; // TODO linux //TEST_CASE("System", "getProcessorCount") { // uint64_t min = 1; // uint64_t max = 1024; // ASSERT_LE(min, System::getProcessorCount()); // ASSERT_GE(max, System::getProcessorCount()); // ...
32.653465
79
0.624015
cwj5012
4382f89ed40654758a4c6fb84fac1f3399f09f62
1,588
cc
C++
camera/common/libcamera_connector/camera_module_callbacks.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
camera/common/libcamera_connector/camera_module_callbacks.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
camera/common/libcamera_connector/camera_module_callbacks.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2020 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "cros-camera/common.h" #include <base/notreached.h> #include <utility> #include "common/libcamera_connector/camera_module_callbacks.h...
31.137255
76
0.758816
Toromino
4385da117941f712541a26a4d42567cb64511637
1,780
cc
C++
flutter/cpp/flutter/dart_backend_match.cc
fatihcakirs/mobile_app_open
7de0c9d38fc953c81908276887e9542cfd27c467
[ "Apache-2.0" ]
null
null
null
flutter/cpp/flutter/dart_backend_match.cc
fatihcakirs/mobile_app_open
7de0c9d38fc953c81908276887e9542cfd27c467
[ "Apache-2.0" ]
null
null
null
flutter/cpp/flutter/dart_backend_match.cc
fatihcakirs/mobile_app_open
7de0c9d38fc953c81908276887e9542cfd27c467
[ "Apache-2.0" ]
null
null
null
#include <google/protobuf/text_format.h> #include <cstring> #include "flutter/cpp/backends/external.h" #include "flutter/cpp/proto/backend_setting.pb.h" #include "main.h" extern "C" struct dart_ffi_backend_match_result *dart_ffi_backend_match( const char *lib_path, const char *manufacturer, const char *model) { ...
30.689655
80
0.696629
fatihcakirs
438641da74ef46a7b1fcdfb4a60cba87ea114d2e
185
cpp
C++
Math.cpp
sknjpn/Math
85de8d696f4f1ea212e998a076ee0c4dbd3956fa
[ "MIT" ]
null
null
null
Math.cpp
sknjpn/Math
85de8d696f4f1ea212e998a076ee0c4dbd3956fa
[ "MIT" ]
null
null
null
Math.cpp
sknjpn/Math
85de8d696f4f1ea212e998a076ee0c4dbd3956fa
[ "MIT" ]
null
null
null
#include "Math.hpp" Vector2 operator*(float s, const Vector2& v) { return { v.x * s, v.y * s }; } Vector3 operator*(float s, const Vector3& v) { return { v.x * s, v.y * s, v.z * s }; }
46.25
86
0.589189
sknjpn
43883be75c6646f89c0b16b8e7648ffaae05e65c
632
inl
C++
package/win32/android/gameplay/src/PhysicsConstraint.inl
sharkpp/openhsp
0d412fd8f79a6ccae1d33c13addc06fb623fb1fe
[ "BSD-3-Clause" ]
1
2021-06-17T02:16:22.000Z
2021-06-17T02:16:22.000Z
package/win32/android/gameplay/src/PhysicsConstraint.inl
sharkpp/openhsp
0d412fd8f79a6ccae1d33c13addc06fb623fb1fe
[ "BSD-3-Clause" ]
null
null
null
package/win32/android/gameplay/src/PhysicsConstraint.inl
sharkpp/openhsp
0d412fd8f79a6ccae1d33c13addc06fb623fb1fe
[ "BSD-3-Clause" ]
1
2021-04-06T14:58:08.000Z
2021-04-06T14:58:08.000Z
#include "PhysicsConstraint.h" namespace gameplay { inline float PhysicsConstraint::getBreakingImpulse() const { GP_ASSERT(_constraint); return _constraint->getBreakingImpulseThreshold(); } inline void PhysicsConstraint::setBreakingImpulse(float impulse) { GP_ASSERT(_constraint); _const...
20.387097
65
0.731013
sharkpp
438a4f4dcfe022f75af02697075fee7b96de29d1
2,146
cpp
C++
src/gui-qt4/libs/seiscomp3/gui/datamodel/origintime.cpp
thefroid/seiscomp3
0b05d5550dcea000a93c7d9a39c5347d8786a91a
[ "Naumen", "Condor-1.1", "MS-PL" ]
2
2015-09-17T22:43:50.000Z
2017-11-29T20:27:11.000Z
src/gui-qt4/libs/seiscomp3/gui/datamodel/origintime.cpp
thefroid/seiscomp3
0b05d5550dcea000a93c7d9a39c5347d8786a91a
[ "Naumen", "Condor-1.1", "MS-PL" ]
2
2016-04-26T00:03:09.000Z
2017-12-05T02:24:50.000Z
src/gui-qt4/libs/seiscomp3/gui/datamodel/origintime.cpp
salichon/seiscomp3
4f7715f9ff9a35e7912c379ebf10446d0bceaeb2
[ "Naumen", "Condor-1.1", "MS-PL" ]
1
2022-01-13T02:49:31.000Z
2022-01-13T02:49:31.000Z
/*************************************************************************** * Copyright (C) by GFZ Potsdam * * * * You can redistribute and/or modify this program under the * * terms o...
33.53125
86
0.50699
thefroid
438c54506c0dcea5576988d6b396a53ce333725f
4,550
cpp
C++
core/src/marker/marker.cpp
bentley/tangram-es
5bbc422506580f0cbd7988533004b9b445f8fd2d
[ "MIT" ]
null
null
null
core/src/marker/marker.cpp
bentley/tangram-es
5bbc422506580f0cbd7988533004b9b445f8fd2d
[ "MIT" ]
null
null
null
core/src/marker/marker.cpp
bentley/tangram-es
5bbc422506580f0cbd7988533004b9b445f8fd2d
[ "MIT" ]
null
null
null
#include "marker/marker.h" #include "data/tileData.h" #include "gl/texture.h" #include "scene/dataLayer.h" #include "scene/drawRule.h" #include "scene/scene.h" #include "style/style.h" #include "view/view.h" #include "glm/gtc/matrix_transform.hpp" #include "glm/gtx/transform.hpp" namespace Tangram { Marker::Marker(...
23.82199
106
0.678242
bentley
438e255560f37998bb483abf87bface559867087
849
cpp
C++
CFB_Cursos/QT/Qtimer/Qtime/mainwindow.cpp
marcospontoexe/Cpp
d640be32fda2a25f871271e024efef727e7890c1
[ "MIT" ]
null
null
null
CFB_Cursos/QT/Qtimer/Qtime/mainwindow.cpp
marcospontoexe/Cpp
d640be32fda2a25f871271e024efef727e7890c1
[ "MIT" ]
null
null
null
CFB_Cursos/QT/Qtimer/Qtime/mainwindow.cpp
marcospontoexe/Cpp
d640be32fda2a25f871271e024efef727e7890c1
[ "MIT" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QDateTime> //biblioteca para trabalhar com da e hora MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) , ui(new Ui::MainWindow) { ui->setupUi(this); tempo = new QTimer(this); //instanciando o objeto 'temp...
30.321429
118
0.640754
marcospontoexe
438f3afed3f10f33c3a03dc3eecc64cefa9e07da
2,551
cpp
C++
embedbin/embedbin.cpp
omega-graphics/common
8e5202b2b0f93b5d40eb56a77e888181fb30e02d
[ "Apache-2.0" ]
null
null
null
embedbin/embedbin.cpp
omega-graphics/common
8e5202b2b0f93b5d40eb56a77e888181fb30e02d
[ "Apache-2.0" ]
null
null
null
embedbin/embedbin.cpp
omega-graphics/common
8e5202b2b0f93b5d40eb56a77e888181fb30e02d
[ "Apache-2.0" ]
null
null
null
#include <omega-common/common.h> #include <iostream> using namespace OmegaCommon; static Map<String,String> srcs; inline void extractSources(StrRef lineBuffer){ std::string name,src; auto line_it = lineBuffer.begin(); while(line_it != lineBuffer.end()){ auto & c =*line_it; if(c == '=') {...
22.377193
95
0.457468
omega-graphics
43905339e20daf104fb8ad1aa63423c9a409019e
7,832
cpp
C++
modules/unitest/core/test_perf_calculator.cpp
7956968/CNStream
bcf746676c137bc6f21ab7ae3523c7ddf71737d0
[ "Apache-2.0" ]
null
null
null
modules/unitest/core/test_perf_calculator.cpp
7956968/CNStream
bcf746676c137bc6f21ab7ae3523c7ddf71737d0
[ "Apache-2.0" ]
null
null
null
modules/unitest/core/test_perf_calculator.cpp
7956968/CNStream
bcf746676c137bc6f21ab7ae3523c7ddf71737d0
[ "Apache-2.0" ]
1
2021-02-24T03:24:14.000Z
2021-02-24T03:24:14.000Z
/************************************************************************* * Copyright (C) [2019] by Cambricon, Inc. All rights reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License a...
36.943396
114
0.689479
7956968
43939f54f22cdeaf48879c39dcc06fe7c76f053f
982
hpp
C++
src/stan/lang/ast/type/cholesky_factor_cov_block_type.hpp
ludkinm/stan
c318114f875266f22c98cf0bebfff928653727cb
[ "CC-BY-3.0", "BSD-3-Clause" ]
null
null
null
src/stan/lang/ast/type/cholesky_factor_cov_block_type.hpp
ludkinm/stan
c318114f875266f22c98cf0bebfff928653727cb
[ "CC-BY-3.0", "BSD-3-Clause" ]
null
null
null
src/stan/lang/ast/type/cholesky_factor_cov_block_type.hpp
ludkinm/stan
c318114f875266f22c98cf0bebfff928653727cb
[ "CC-BY-3.0", "BSD-3-Clause" ]
null
null
null
#ifndef STAN_LANG_AST_CHOLESKY_FACTOR_COV_BLOCK_TYPE_HPP #define STAN_LANG_AST_CHOLESKY_FACTOR_COV_BLOCK_TYPE_HPP #include <stan/lang/ast/node/expression.hpp> namespace stan { namespace lang { /** * Cholesky factor for covariance matrix block var type. * * Note: no 1-arg constructor for square matrix; * both ro...
18.528302
75
0.675153
ludkinm
4395318524735808268a8d6502e3eaf914f4bf26
400
hxx
C++
sourceCode/dotNet4.6/wpf/src/Shared/inc/utils.hxx
csoap/csoap.github.io
2a8db44eb63425deff147652b65c5912f065334e
[ "Apache-2.0" ]
5
2017-03-03T02:13:16.000Z
2021-08-18T09:59:56.000Z
sourceCode/dotNet4.6/wpf/src/Shared/inc/utils.hxx
295007712/295007712.github.io
25241dbf774427545c3ece6534be6667848a6faf
[ "Apache-2.0" ]
null
null
null
sourceCode/dotNet4.6/wpf/src/Shared/inc/utils.hxx
295007712/295007712.github.io
25241dbf774427545c3ece6534be6667848a6faf
[ "Apache-2.0" ]
4
2016-11-15T05:20:12.000Z
2021-11-13T16:32:11.000Z
#pragma once #include <sal.h> #include <codeanalysis/sourceannotations.h> // TEMPORARY INCLUDE #include <Windows.h> namespace WPFUtils { LONG ReadRegistryString(__in HKEY rootKey, __in LPCWSTR keyName, __in LPCWSTR valueName, __out LPWSTR value, size_t cchMax); HRESULT G...
28.571429
92
0.71
csoap
4399b0c7d5ea94cc879f4d6cdfd02ef4c5ed5a9d
6,283
cpp
C++
src/eepp/math/transform.cpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
37
2020-01-20T06:21:24.000Z
2022-03-21T17:44:50.000Z
src/eepp/math/transform.cpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
null
null
null
src/eepp/math/transform.cpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
9
2019-03-22T00:33:07.000Z
2022-03-01T01:35:59.000Z
#include <cmath> #include <eepp/math/transform.hpp> namespace EE { namespace Math { const Transform Transform::Identity; Transform::Transform() { // Identity matrix mMatrix[0] = 1.f; mMatrix[4] = 0.f; mMatrix[8] = 0.f; mMatrix[12] = 0.f; mMatrix[1] = 0.f; mMatrix[5] = 1.f; mMatrix[9] = 0.f; mMatrix[13] = 0....
30.352657
98
0.604488
jayrulez
439b2012e979640ea1aaa0bdaf7f644278b03299
10,721
cpp
C++
src/modules/processes/ImageIntegration/HDRCompositionParameters.cpp
GeorgViehoever/PCL
c4a4390185db3ccb04471f845d92917cc1bc1113
[ "JasPer-2.0" ]
null
null
null
src/modules/processes/ImageIntegration/HDRCompositionParameters.cpp
GeorgViehoever/PCL
c4a4390185db3ccb04471f845d92917cc1bc1113
[ "JasPer-2.0" ]
null
null
null
src/modules/processes/ImageIntegration/HDRCompositionParameters.cpp
GeorgViehoever/PCL
c4a4390185db3ccb04471f845d92917cc1bc1113
[ "JasPer-2.0" ]
null
null
null
// ____ ______ __ // / __ \ / ____// / // / /_/ // / / / // / ____// /___ / /___ PixInsight Class Library // /_/ \____//_____/ PCL 02.01.01.0784 // ---------------------------------------------------------------------------- // Standard ImageIntegration Process Module Version 01.09.04.0322 // ---...
24.759815
87
0.60125
GeorgViehoever
439b73ee9ce3bafe529940f35a3d499901dfd0ed
3,468
cpp
C++
src/infra/Files.cpp
dim-lang/dim
372c4f92030028621ddea9561364ea44a78b4671
[ "Apache-2.0" ]
null
null
null
src/infra/Files.cpp
dim-lang/dim
372c4f92030028621ddea9561364ea44a78b4671
[ "Apache-2.0" ]
null
null
null
src/infra/Files.cpp
dim-lang/dim
372c4f92030028621ddea9561364ea44a78b4671
[ "Apache-2.0" ]
4
2021-01-12T09:19:27.000Z
2021-01-14T01:12:46.000Z
// Copyright 2019- <dim-lang> // Apache License Version 2.0 #include "infra/Files.h" #include "infra/Log.h" #include <cerrno> #include <cstdio> #define BUF_SIZE 4096 namespace detail { FileInfo::FileInfo(const Cowstr &fileName) : fileName_(fileName), fp_(nullptr) {} FileInfo::~FileInfo() { if (fp_) { std...
22.666667
79
0.636678
dim-lang
439d92d2e90d24692e3cb3c3eb69ca9ee737fd66
6,303
cpp
C++
sdcard.cpp
dizcza/M5Core2_SDPSensorLogger
6e9eca61642d365f2ec42a9d3b78f59d08a2ddfe
[ "MIT" ]
null
null
null
sdcard.cpp
dizcza/M5Core2_SDPSensorLogger
6e9eca61642d365f2ec42a9d3b78f59d08a2ddfe
[ "MIT" ]
null
null
null
sdcard.cpp
dizcza/M5Core2_SDPSensorLogger
6e9eca61642d365f2ec42a9d3b78f59d08a2ddfe
[ "MIT" ]
null
null
null
/* * sdcard.c * * Created on: Sep 8, 2021 * Author: Danylo Ulianych */ #include <dirent.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <time.h> #include <sys/stat.h> #include "esp_log.h" #include "esp_err.h" #include "esp32-hal-log.h" #include "bsp_log.h" #include "sdcard.h" #incl...
23.606742
106
0.651436
dizcza
439ee7bad86587b44ef2f6ff6d4144a80ddd2af8
3,146
cpp
C++
src/forced-random-dither.cpp
GhostatSpirit/hdrview
61596f8ba45554db23ae1b214354ab40da065638
[ "MIT" ]
94
2021-04-23T03:31:15.000Z
2022-03-29T08:20:26.000Z
src/forced-random-dither.cpp
GhostatSpirit/hdrview
61596f8ba45554db23ae1b214354ab40da065638
[ "MIT" ]
64
2021-05-05T21:51:15.000Z
2022-02-08T17:06:52.000Z
src/forced-random-dither.cpp
GhostatSpirit/hdrview
61596f8ba45554db23ae1b214354ab40da065638
[ "MIT" ]
3
2021-07-06T04:58:27.000Z
2022-02-08T16:53:48.000Z
/*! force-random-dither.cpp -- Generate a dither matrix using the force-random-dither method from: W. Purgathofer, R. F. Tobler and M. Geiler. "Forced random dithering: improved threshold matrices for ordered dithering" Image Processing, 1994. Proceedings. ICIP-94., IEEE International Conference, Austin, TX, 1...
26.888889
112
0.625238
GhostatSpirit
439efd4836183372aa61c81b4f9b78f67cab60ba
1,656
cc
C++
dcmdata/libsrc/dcrledrg.cc
trice-imaging/dcmtk
60b158654dc7215d938a9ddba92ef5e93ded298d
[ "Apache-2.0" ]
29
2020-02-13T17:40:16.000Z
2022-03-12T14:58:22.000Z
dcmdata/libsrc/dcrledrg.cc
trice-imaging/dcmtk
60b158654dc7215d938a9ddba92ef5e93ded298d
[ "Apache-2.0" ]
20
2020-03-20T18:06:31.000Z
2022-02-25T08:38:08.000Z
dcmdata/libsrc/dcrledrg.cc
trice-imaging/dcmtk
60b158654dc7215d938a9ddba92ef5e93ded298d
[ "Apache-2.0" ]
9
2020-03-20T17:29:55.000Z
2022-02-14T10:15:33.000Z
/* * * Copyright (C) 1994-2010, OFFIS e.V. * All rights reserved. See COPYRIGHT file for details. * * This software and supporting documentation were developed by * * OFFIS e.V. * R&D Division Health * Escherweg 2 * D-26121 Oldenburg, Germany * * * Module: dcmdata * * Author: Marco Ei...
24
72
0.67814
trice-imaging
43a573f202ee17d44a7fddeeca7e8de732f2eada
355
cpp
C++
source/slang/slang-emit-precedence.cpp
KostasAndrianos/slang
6cbc3929a54d37bd23cb5efa8e3320ba02f78b2f
[ "MIT" ]
null
null
null
source/slang/slang-emit-precedence.cpp
KostasAndrianos/slang
6cbc3929a54d37bd23cb5efa8e3320ba02f78b2f
[ "MIT" ]
null
null
null
source/slang/slang-emit-precedence.cpp
KostasAndrianos/slang
6cbc3929a54d37bd23cb5efa8e3320ba02f78b2f
[ "MIT" ]
null
null
null
// slang-emit-precedence.cpp #include "slang-emit-precedence.h" namespace Slang { #define SLANG_OP_INFO_EXPAND(op, name, precedence) {name, kEPrecedence_##precedence##_Left, kEPrecedence_##precedence##_Right, }, /* static */const EmitOpInfo EmitOpInfo::s_infos[int(EmitOp::CountOf)] = { SLANG_OP_INFO(SLANG_OP_INF...
25.357143
129
0.752113
KostasAndrianos
43a94cbb80e5f92ae7af3af3af7dbec74132d904
27
cpp
C++
rtcsupport/I2CBuffer.cpp
jakesays/raspberrypi
99192a56c097a79f45e2291110ebaa0dcb464ba8
[ "MIT" ]
null
null
null
rtcsupport/I2CBuffer.cpp
jakesays/raspberrypi
99192a56c097a79f45e2291110ebaa0dcb464ba8
[ "MIT" ]
null
null
null
rtcsupport/I2CBuffer.cpp
jakesays/raspberrypi
99192a56c097a79f45e2291110ebaa0dcb464ba8
[ "MIT" ]
null
null
null
#include "I2CBuffer.h"
9
24
0.62963
jakesays
43ac354d931e7287bd01efed1ba0c56709ae637f
988
cpp
C++
core/runtime/binaryen/module/wasm_module_instance_impl.cpp
igor-egorov/kagome
b2a77061791aa7c1eea174246ddc02ef5be1b605
[ "Apache-2.0" ]
null
null
null
core/runtime/binaryen/module/wasm_module_instance_impl.cpp
igor-egorov/kagome
b2a77061791aa7c1eea174246ddc02ef5be1b605
[ "Apache-2.0" ]
null
null
null
core/runtime/binaryen/module/wasm_module_instance_impl.cpp
igor-egorov/kagome
b2a77061791aa7c1eea174246ddc02ef5be1b605
[ "Apache-2.0" ]
null
null
null
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #include "runtime/binaryen/module/wasm_module_instance_impl.hpp" #include <binaryen/wasm.h> namespace kagome::runtime::binaryen { WasmModuleInstanceImpl::WasmModuleInstanceImpl( std::shared_ptr<wasm::Module>...
29.939394
74
0.714575
igor-egorov
43ac64f6f5d0df2355e942b0ff46179e5ec85c7a
575
hpp
C++
fileid/document/excel/records/ContinueRecord.hpp
DBHeise/fileid
3e3bacf859445020999d0fc30301ac86973c3737
[ "MIT" ]
13
2016-03-13T17:57:46.000Z
2021-12-21T12:11:41.000Z
fileid/document/excel/records/ContinueRecord.hpp
DBHeise/fileid
3e3bacf859445020999d0fc30301ac86973c3737
[ "MIT" ]
9
2016-04-07T13:07:58.000Z
2020-05-30T13:31:59.000Z
fileid/document/excel/records/ContinueRecord.hpp
DBHeise/fileid
3e3bacf859445020999d0fc30301ac86973c3737
[ "MIT" ]
5
2017-04-20T14:47:55.000Z
2021-03-08T03:27:17.000Z
#pragma once #include "Record.hpp" namespace oless { namespace excel { namespace records { class ContinueRecord : public Record { public: ContinueRecord(IRecordParser* p, unsigned short type, std::vector<uint8_t> data) : Record(type, data) { Record* r = p->GetPrevRecordNotOfType(type); r->Dat...
21.296296
107
0.626087
DBHeise
43ad4f10d88e55988d96738286fbc561964d48b8
140
hxx
C++
src/Providers/UNIXProviders/VLANEndpointSettingData/UNIX_VLANEndpointSettingData_AIX.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
1
2020-10-12T09:00:09.000Z
2020-10-12T09:00:09.000Z
src/Providers/UNIXProviders/VLANEndpointSettingData/UNIX_VLANEndpointSettingData_AIX.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
src/Providers/UNIXProviders/VLANEndpointSettingData/UNIX_VLANEndpointSettingData_AIX.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
#ifdef PEGASUS_OS_AIX #ifndef __UNIX_VLANENDPOINTSETTINGDATA_PRIVATE_H #define __UNIX_VLANENDPOINTSETTINGDATA_PRIVATE_H #endif #endif
11.666667
48
0.864286
brunolauze
43ade173a48bf93b83f4c3593768397894cfe511
11,814
cpp
C++
Library/DS3231/Tests/main.cpp
JVKran/IPASS
721cf7d481319bf6bd42f4a6b992658591f8a036
[ "BSL-1.0" ]
4
2019-07-04T17:38:11.000Z
2021-04-24T19:50:36.000Z
Library/DS3231/Tests/main.cpp
JVKran/IPASS
721cf7d481319bf6bd42f4a6b992658591f8a036
[ "BSL-1.0" ]
2
2020-04-08T18:10:06.000Z
2020-04-08T19:11:50.000Z
Library/DS3231/Tests/main.cpp
JVKran/IPASS
721cf7d481319bf6bd42f4a6b992658591f8a036
[ "BSL-1.0" ]
null
null
null
/// @file #include "hwlib.hpp" #include "DS3231.hpp" /// \brief /// Test /// \details /// This program tests most of the functionality of the DS3231 Real Time clock. int main( void ){ namespace target = hwlib::target; auto scl = target::pin_oc( target::pins::d8 ); auto sda = target::pin_oc( target::pins::d9 );...
71.6
308
0.543592
JVKran
43ae71157c2744dcfbb201ee8af41a1373cb3232
1,047
cpp
C++
PopSyn/IPF_Setup.cpp
kravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
2
2018-04-27T11:07:02.000Z
2020-04-24T06:53:21.000Z
PopSyn/IPF_Setup.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
PopSyn/IPF_Setup.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
//********************************************************* // IPF_Setup.cpp - initialize the IPF classes //********************************************************* #include "PopSyn.hpp" //--------------------------------------------------------- // IPF_Setup //-------------------------------------------------------...
20.94
59
0.489016
kravitz
43b0da23ae953e9de1c7a2e8e22ee0f8fe18e17f
2,799
cpp
C++
libs/utils/src/console.cpp
suilteam/spark-xy
d07dc98c12c8842af0f11bf27d59161cb80f99b0
[ "MIT" ]
null
null
null
libs/utils/src/console.cpp
suilteam/spark-xy
d07dc98c12c8842af0f11bf27d59161cb80f99b0
[ "MIT" ]
null
null
null
libs/utils/src/console.cpp
suilteam/spark-xy
d07dc98c12c8842af0f11bf27d59161cb80f99b0
[ "MIT" ]
null
null
null
/** * Copyright (c) 2022 Suilteam, Carter Mbotho * * This library is free software; you can redistribute it and/or modify it * under the terms of the MIT license. See LICENSE for details. * * @author Carter * @date 2022-03-12 */ #include "suil/utils/console.hpp" namespace suil::Console { void cprint(uin...
23.521008
74
0.503751
suilteam
43b16039b4319d712151e2520daa8dcf0a16ef89
297
cpp
C++
Source/JCSUE/JCSUEGameModeBase.cpp
jcs090218/JCSUE
28297609bdafd15c0fb1808b48ffc0246a4485db
[ "MIT" ]
1
2020-06-29T12:23:37.000Z
2020-06-29T12:23:37.000Z
Source/JCSUE/JCSUEGameModeBase.cpp
jcs090218/JCSUE
28297609bdafd15c0fb1808b48ffc0246a4485db
[ "MIT" ]
null
null
null
Source/JCSUE/JCSUEGameModeBase.cpp
jcs090218/JCSUE
28297609bdafd15c0fb1808b48ffc0246a4485db
[ "MIT" ]
null
null
null
/** * $File: JCSUEGameModeBase.cpp $ * $Date: 2017-03-01 $ * $Revision: $ * $Creator: Jen-Chieh Shen $ * $Notice: See LICENSE.txt for modification and distribution information * Copyright (c) 2017 by Shen, Jen-Chieh $ */ #include "JCSUEGameModeBase.h" #include "JCSUE.h"
24.75
73
0.636364
jcs090218
43b183193eb34b5d735128190ea64f3982c1a254
6,051
cpp
C++
pin-3.22-98547-g7a303a835-gcc-linux/source/tools/ToolUnitTests/internal_exception_handler_app.cpp
ArthasZhang007/15418FinalProject
a71f698ea48ebbc446111734c198f16a55633669
[ "MIT" ]
null
null
null
pin-3.22-98547-g7a303a835-gcc-linux/source/tools/ToolUnitTests/internal_exception_handler_app.cpp
ArthasZhang007/15418FinalProject
a71f698ea48ebbc446111734c198f16a55633669
[ "MIT" ]
null
null
null
pin-3.22-98547-g7a303a835-gcc-linux/source/tools/ToolUnitTests/internal_exception_handler_app.cpp
ArthasZhang007/15418FinalProject
a71f698ea48ebbc446111734c198f16a55633669
[ "MIT" ]
null
null
null
/* * Copyright (C) 2009-2021 Intel Corporation. * SPDX-License-Identifier: MIT */ /*! @file * This application verifies that pin tool can correctly emulate exceptions on behalf of the application */ #include <string> #include <iostream> #include <fpieee.h> #include <excpt.h> #include <float.h> #if defined(TARGE...
28.952153
130
0.65295
ArthasZhang007
43b3b9423a191557cb0ae25d6443cbdaa270c3b2
734
cpp
C++
pronto/core/entities/cylinder.cpp
MgBag/pronto
c10827e094726d8dc285c3da68c9c03be42d9a32
[ "MIT" ]
null
null
null
pronto/core/entities/cylinder.cpp
MgBag/pronto
c10827e094726d8dc285c3da68c9c03be42d9a32
[ "MIT" ]
null
null
null
pronto/core/entities/cylinder.cpp
MgBag/pronto
c10827e094726d8dc285c3da68c9c03be42d9a32
[ "MIT" ]
null
null
null
#include "Cylinder.h" #include "core/world.h" #include "core/application.h" #include "core/components/model.h" #include "platform/resource.h" #include "platform/renderer.h" #include "core/components/fps_controller.h" #include "core/components/directional_light.h" #include <glm/gtc/quaternion.hpp> namespace pronto { ...
25.310345
99
0.606267
MgBag
43b45d490dc8f46536a41e44900bd1ae1d6369c2
7,086
cpp
C++
argus/samples/cudaBayerDemosaic/main.cpp
slovak194/tegra_multimedia_api
6314d06fde5526769cae3ea31c027004e0b5e24d
[ "Unlicense" ]
2
2021-07-16T15:23:14.000Z
2022-02-07T09:04:39.000Z
argus/samples/cudaBayerDemosaic/main.cpp
slovak194/tegra_multimedia_api
6314d06fde5526769cae3ea31c027004e0b5e24d
[ "Unlicense" ]
null
null
null
argus/samples/cudaBayerDemosaic/main.cpp
slovak194/tegra_multimedia_api
6314d06fde5526769cae3ea31c027004e0b5e24d
[ "Unlicense" ]
null
null
null
/* * Copyright (c) 2018, 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 of source code must retain the above copyright * notice, this list of co...
42.686747
100
0.710979
slovak194
43b56f7d53d26c6d64609fc80f79bf135632d154
3,680
hpp
C++
src/tools/lvr2_dmc_reconstruction/Options.hpp
uos/lvr
9bb03a30441b027c39db967318877e03725112d5
[ "BSD-3-Clause" ]
38
2019-06-19T15:10:35.000Z
2022-02-16T03:08:24.000Z
src/tools/lvr2_dmc_reconstruction/Options.hpp
uos/lvr
9bb03a30441b027c39db967318877e03725112d5
[ "BSD-3-Clause" ]
9
2019-06-19T16:19:51.000Z
2021-09-17T08:31:25.000Z
src/tools/lvr2_dmc_reconstruction/Options.hpp
uos/lvr
9bb03a30441b027c39db967318877e03725112d5
[ "BSD-3-Clause" ]
13
2019-04-16T11:50:32.000Z
2020-11-26T07:47:44.000Z
/** * Copyright (c) 2018, University Osnabrück * 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 li...
28.307692
82
0.685598
uos
43b696e347eb74bffb556bdda893267b36551bae
2,558
cpp
C++
archived/polint.cpp
HiTMonitor/ginan
f348e2683507cfeca65bb58880b3abc2f9c36bcf
[ "Apache-2.0" ]
1
2022-03-31T15:16:19.000Z
2022-03-31T15:16:19.000Z
archived/polint.cpp
hqy123-cmyk/ginan
b69593b584f75e03238c1c667796e2030391fbed
[ "Apache-2.0" ]
null
null
null
archived/polint.cpp
hqy123-cmyk/ginan
b69593b584f75e03238c1c667796e2030391fbed
[ "Apache-2.0" ]
null
null
null
// /* Slightly modified versions of the "polint" routine from // * Press, William H., Brian P. Flannery, Saul A. Teukolsky and // * William T. Vetterling, 1986, "Numerical Recipes: The Art of // * Scientific Computing" (Fortran), Cambrigde University Press, // * pp. 80-82. // */ // // #include <stdio.h> // ...
27.212766
83
0.361611
HiTMonitor
43b90a24093499049a92827db81d519729ac9c1e
3,991
hpp
C++
neventGenerator/serialiser.hpp
ess-dmsc/sinq-amor
1868ffef90e4e9192ac8ac928a33111cb67af315
[ "BSD-2-Clause" ]
null
null
null
neventGenerator/serialiser.hpp
ess-dmsc/sinq-amor
1868ffef90e4e9192ac8ac928a33111cb67af315
[ "BSD-2-Clause" ]
6
2017-08-04T07:09:35.000Z
2017-11-07T14:23:51.000Z
neventGenerator/serialiser.hpp
ess-dmsc/sinq-amorsim
1868ffef90e4e9192ac8ac928a33111cb67af315
[ "BSD-2-Clause" ]
null
null
null
#pragma once #include "schemas/ev42_events_generated.h" // WARNING: // the schema has to match to the serialise template type // this must change namespace SINQAmorSim { /// \author Michele Brambilla <mib.mic@gmail.com> /// \date Thu Jul 28 14:32:29 2016 class FlatBufferSerialiser { public: FlatBufferSerialiser...
35.954955
80
0.642947
ess-dmsc
43b95c45f8b50309059b953bb60226a52c18dc93
910
hpp
C++
testsuite/src/MacroCommandTestVO.hpp
roversun/puremvc-cpp-multicore-framework
3e80412d5049a427637c6130a9bf6dbf029bf4bb
[ "CC-BY-3.0", "BSD-3-Clause" ]
2
2019-09-04T09:34:13.000Z
2019-09-04T09:34:16.000Z
testsuite/src/MacroCommandTestVO.hpp
roversun/puremvc-cpp-multicore-framework
3e80412d5049a427637c6130a9bf6dbf029bf4bb
[ "CC-BY-3.0", "BSD-3-Clause" ]
null
null
null
testsuite/src/MacroCommandTestVO.hpp
roversun/puremvc-cpp-multicore-framework
3e80412d5049a427637c6130a9bf6dbf029bf4bb
[ "CC-BY-3.0", "BSD-3-Clause" ]
null
null
null
// MacroCommandTestVO.hpp // PureMVC_C++ Test suite // // PureMVC Port to C++ by Tang Khai Phuong <phuong.tang@puremvc.org> // PureMVC - Copyright(c) 2006-2011 Futurescale, Inc., Some rights reserved. // Your reuse is governed by the Creative Commons Attribution 3.0 License // #if !defined(MACRO_COMMAND_T...
24.594595
78
0.581319
roversun
43b98881dd151dc94f5df25db154a16941658a82
3,289
cpp
C++
problems18apr/scootchhop/correct.cpp
Gomango999/codebreaker
407c4ac7a69c8db52cc7d2a57034cdda243c9134
[ "MIT" ]
1
2021-12-11T01:43:27.000Z
2021-12-11T01:43:27.000Z
problems18apr/scootchhop/correct.cpp
Gomango999/codebreaker
407c4ac7a69c8db52cc7d2a57034cdda243c9134
[ "MIT" ]
null
null
null
problems18apr/scootchhop/correct.cpp
Gomango999/codebreaker
407c4ac7a69c8db52cc7d2a57034cdda243c9134
[ "MIT" ]
1
2021-12-15T07:04:29.000Z
2021-12-15T07:04:29.000Z
#include <bits/stdc++.h> using namespace std; template <typename T> using V = vector<T>; typedef long double ld; typedef long long ll; #define FO(i, N) for (int (i) = 0; (i) < (N); ++(i)) #define FOll(i, N) for (ll (i) = 0; (i) < (N); ++(i)) #define READALL(c) for (auto &e : c) { cin >> e; } #define PRINTALL(c) for...
26.739837
96
0.512618
Gomango999
43be1349dd39e6f7f2f7117e39ae70ec276c8839
1,413
cpp
C++
kafka_configuration.cpp
mexicowilly/Chucho
f4235420437eb2078ab592540c0d729b7b9a3c10
[ "Apache-2.0" ]
4
2016-12-06T05:33:29.000Z
2017-12-17T17:04:25.000Z
kafka_configuration.cpp
mexicowilly/Chucho
f4235420437eb2078ab592540c0d729b7b9a3c10
[ "Apache-2.0" ]
147
2016-09-05T14:00:46.000Z
2021-08-24T14:43:07.000Z
kafka_configuration.cpp
mexicowilly/Chucho
f4235420437eb2078ab592540c0d729b7b9a3c10
[ "Apache-2.0" ]
4
2017-11-08T04:12:39.000Z
2022-01-04T06:40:16.000Z
/* * Copyright 2013-2021 Will Mason * * 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 ...
28.836735
131
0.682944
mexicowilly
43c0d87b57b5254bb67462e977d11d0d4644067f
1,995
hpp
C++
cpp/godot-cpp/include/gen/TextureLayered.hpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
1
2021-03-16T09:51:00.000Z
2021-03-16T09:51:00.000Z
cpp/godot-cpp/include/gen/TextureLayered.hpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
null
null
null
cpp/godot-cpp/include/gen/TextureLayered.hpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
null
null
null
#ifndef GODOT_CPP_TEXTURELAYERED_HPP #define GODOT_CPP_TEXTURELAYERED_HPP #include <gdnative_api_struct.gen.h> #include <stdint.h> #include <core/CoreTypes.hpp> #include <core/Ref.hpp> #include "Image.hpp" #include "Resource.hpp" namespace godot { class Image; class TextureLayered : public Resource { struct ___m...
29.338235
245
0.777444
GDNative-Gradle
43c261199e50810e5a13b05fa96694b0dac32d1d
1,273
cpp
C++
src/ProgramState.cpp
tsehon/basic.cpp
39c93f174b09e92ff3d7561165aa3fb8ab42a82b
[ "MIT" ]
null
null
null
src/ProgramState.cpp
tsehon/basic.cpp
39c93f174b09e92ff3d7561165aa3fb8ab42a82b
[ "MIT" ]
null
null
null
src/ProgramState.cpp
tsehon/basic.cpp
39c93f174b09e92ff3d7561165aa3fb8ab42a82b
[ "MIT" ]
null
null
null
#include "ProgramState.h" using namespace std; ProgramState::ProgramState(int numLines){ m_numLines = numLines; m_nextLine = 1; m_line = 0; m_over = 0; } void ProgramState::updateVal(std::string var, int val){ if (m_varMap.count(var) > 0){ m_varMap[var] = val; } else { m_varMap.insert(std::pair<string, int>...
18.720588
65
0.6685
tsehon
43c2b4114ff84dd0e8d6a3a8c442b2ce1e70021e
1,336
cpp
C++
Aurora/Aurora/sysserv/sysmem.cpp
manaskamal/aurora-xeneva
fe277f7ac155a40465c70f1db3c27046e4d0f7b5
[ "BSD-2-Clause" ]
8
2021-07-19T04:46:35.000Z
2022-03-12T17:56:00.000Z
Aurora/Aurora/sysserv/sysmem.cpp
manaskamal/aurora-xeneva
fe277f7ac155a40465c70f1db3c27046e4d0f7b5
[ "BSD-2-Clause" ]
null
null
null
Aurora/Aurora/sysserv/sysmem.cpp
manaskamal/aurora-xeneva
fe277f7ac155a40465c70f1db3c27046e4d0f7b5
[ "BSD-2-Clause" ]
null
null
null
/** ** Copyright (C) Manas Kamal Choudhury 2021 ** ** sysmem.cpp -- System Memory Callbacks ** ** /PORJECT - Aurora {Xeneva} ** /AUTHOR - Manas Kamal Choudhury ** **/ #ifdef ARCH_X64 #include <arch\x86_64\mmngr\vmmngr.h> #include <arch\x86_64\thread.h> #include <_null.h> #include <stdio.h> #endif void m...
21.901639
79
0.661677
manaskamal
43c3499000af85858b48bd324d3de23b91175e17
2,335
cc
C++
ns-allinone-3.22/ns-3.22/src/network/utils/llc-snap-header.cc
gustavo978/helpful
59e3fd062cff4451c9bf8268df78a24f93ff67b7
[ "Unlicense" ]
null
null
null
ns-allinone-3.22/ns-3.22/src/network/utils/llc-snap-header.cc
gustavo978/helpful
59e3fd062cff4451c9bf8268df78a24f93ff67b7
[ "Unlicense" ]
null
null
null
ns-allinone-3.22/ns-3.22/src/network/utils/llc-snap-header.cc
gustavo978/helpful
59e3fd062cff4451c9bf8268df78a24f93ff67b7
[ "Unlicense" ]
2
2018-06-06T14:10:23.000Z
2020-04-07T17:20:55.000Z
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is distributed...
22.892157
76
0.708351
gustavo978
43c3c4a9e6da8bd65ee7a0b6e3671c485158c31c
662
cpp
C++
C++/ponteiros/MyStrCat.cpp
henrique-tavares/Coisas
f740518b1bedec5b0ea8c12ae07a2cac21eb51ae
[ "MIT" ]
1
2020-02-07T20:39:26.000Z
2020-02-07T20:39:26.000Z
C++/ponteiros/MyStrCat.cpp
neptune076/Coisas
85c064cc0e134465aaf6ef41acf747d47f108fc9
[ "MIT" ]
null
null
null
C++/ponteiros/MyStrCat.cpp
neptune076/Coisas
85c064cc0e134465aaf6ef41acf747d47f108fc9
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int myStrLen(const char *str) { int tam; for (tam = 0; str[tam] != '\0'; tam++); return tam; } char* myStrCat(const char *dest, const char *orig) { char *resultado = new char[myStrLen(dest) + myStrLen(orig) + 1]; int i = 0; for (int j = 0; dest[j] != '\0'; j++, i++)...
14.711111
65
0.558912
henrique-tavares
43c7cc25c6446ea2501d0df1085f5e9efca7614e
1,424
cpp
C++
code/binary-tests/binary/converters/little_endian_converter_tests.cpp
afxres/binary-cxx
ef84b0d5324c5add5ea8a09340471efc6221f91f
[ "MIT" ]
1
2019-11-21T06:37:04.000Z
2019-11-21T06:37:04.000Z
code/binary-tests/binary/converters/little_endian_converter_tests.cpp
afxres/binary-cxx
ef84b0d5324c5add5ea8a09340471efc6221f91f
[ "MIT" ]
null
null
null
code/binary-tests/binary/converters/little_endian_converter_tests.cpp
afxres/binary-cxx
ef84b0d5324c5add5ea8a09340471efc6221f91f
[ "MIT" ]
1
2019-11-26T16:47:56.000Z
2019-11-26T16:47:56.000Z
#include <boost/test/unit_test.hpp> #include <boost/test/data/test_case.hpp> #include <boost/mpl/list.hpp> #include <binary/converters/little_endian_converter.hpp> namespace mikodev::binary::tests::converters::little_endian_converter_tests { namespace mk = mikodev::binary; namespace mkc = mikodev::binary::con...
33.904762
85
0.706461
afxres