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
1b3c1b899506d8e7c41f3a8a87a1bd81ca4f16ec
21,836
cpp
C++
thirdparty/packaged/vmem/VirtualMem.cpp
BoneCrasher/ShirabeEngine
39b3aa2c5173084d59b96b7f60c15207bff0ad04
[ "MIT" ]
5
2019-12-02T12:28:57.000Z
2021-04-07T21:21:13.000Z
thirdparty/packaged/vmem/VirtualMem.cpp
BoneCrasher/ShirabeEngine
39b3aa2c5173084d59b96b7f60c15207bff0ad04
[ "MIT" ]
null
null
null
thirdparty/packaged/vmem/VirtualMem.cpp
BoneCrasher/ShirabeEngine
39b3aa2c5173084d59b96b7f60c15207bff0ad04
[ "MIT" ]
1
2020-01-09T14:25:42.000Z
2020-01-09T14:25:42.000Z
/* Copyright 2010 - 2017 PureDev Software Ltd. All Rights Reserved. This file is part of VMem. VMem is dual licensed. For use in open source software VMem can be used under the GNU license. For use in commercial applications a license can be purchased from PureDev Software. If used under the GNU licen...
32.445765
171
0.647005
BoneCrasher
1b408a10d89869ddae7caf79c700f66e1fae6964
2,765
cpp
C++
iotivity-1.0.1/service/things-manager/sdk/java/jni/tm/src/jni_action.cpp
gerald-yang/ubuntu-iotivity-demo
17e799e209442bbefb2df846e329c802ee5255f7
[ "Apache-2.0" ]
1,433
2015-04-30T09:26:53.000Z
2022-03-26T12:44:12.000Z
AllJoyn/Samples/OICAdapter/iotivity-1.0.0/service/things-manager/sdk/java/jni/tm/src/jni_action.cpp
buocnhay/samples-1
ddd614bb5ae595f03811e3dfa15a5d107005d0fc
[ "MIT" ]
530
2015-05-02T09:12:48.000Z
2018-01-03T17:52:01.000Z
AllJoyn/Samples/OICAdapter/iotivity-1.0.0/service/things-manager/sdk/java/jni/tm/src/jni_action.cpp
buocnhay/samples-1
ddd614bb5ae595f03811e3dfa15a5d107005d0fc
[ "MIT" ]
1,878
2015-04-30T04:18:57.000Z
2022-03-15T16:51:17.000Z
/* ***************************************************************** * * Copyright 2015 Samsung Electronics 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 *...
32.916667
99
0.658951
gerald-yang
1b4128c4a3b7ce9d758c5f003dbbf83aa7226269
6,890
cpp
C++
tests/bitmex_gateway.cpp
yyun/gamma-ray
f06971caac75c1669981b3ebb7166413ab0921fc
[ "ISC" ]
150
2020-12-28T23:56:42.000Z
2022-03-21T13:22:40.000Z
tests/bitmex_gateway.cpp
yyun/gamma-ray
f06971caac75c1669981b3ebb7166413ab0921fc
[ "ISC" ]
6
2020-12-29T13:08:10.000Z
2022-02-06T20:25:25.000Z
tests/bitmex_gateway.cpp
yyun/gamma-ray
f06971caac75c1669981b3ebb7166413ab0921fc
[ "ISC" ]
49
2020-12-29T11:49:34.000Z
2022-03-22T08:35:54.000Z
#include <iostream> #include <unistd.h> #include <future> #include "doctest.h" #include "json.hpp" #include "bitmexws.h" #include "bitmex_gateway.h" #include "bitmexhttp.h" #include "models.h" #include "delta_parser.h" #include "Poco/Delegate.h" #include "Poco/DateTime.h" #define LOG(x) (std::cout << x << std::endl) ...
30.087336
170
0.691872
yyun
1b41c304cb57fb3bfd5c7d9eed84dad47a720908
6,630
cpp
C++
ql/pricingengines/vanilla/fdcirvanillaengine.cpp
jiangjiali/QuantLib
37c98eccfa18a95acb1e98b276831641be92b38e
[ "BSD-3-Clause" ]
3,358
2015-12-18T02:56:17.000Z
2022-03-31T02:42:47.000Z
ql/pricingengines/vanilla/fdcirvanillaengine.cpp
jiangjiali/QuantLib
37c98eccfa18a95acb1e98b276831641be92b38e
[ "BSD-3-Clause" ]
965
2015-12-21T10:35:28.000Z
2022-03-30T02:47:00.000Z
ql/pricingengines/vanilla/fdcirvanillaengine.cpp
jiangjiali/QuantLib
37c98eccfa18a95acb1e98b276831641be92b38e
[ "BSD-3-Clause" ]
1,663
2015-12-17T17:45:38.000Z
2022-03-31T07:58:29.000Z
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2020 Lew Wei Hao This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib is free software: you can redistribute it and/or ...
39.230769
100
0.667421
jiangjiali
1b4548b3336cf0520eea8c8a7799d72b92a643f1
6,848
hpp
C++
ESMF/src/Infrastructure/Mesh/src/Moab/io/ReadHDF5Dataset.hpp
joeylamcy/gchp
0e1676300fc91000ecb43539cabf1f342d718fb3
[ "NCSA", "Apache-2.0", "MIT" ]
1
2018-07-05T16:48:58.000Z
2018-07-05T16:48:58.000Z
ESMF/src/Infrastructure/Mesh/src/Moab/io/ReadHDF5Dataset.hpp
joeylamcy/gchp
0e1676300fc91000ecb43539cabf1f342d718fb3
[ "NCSA", "Apache-2.0", "MIT" ]
4
2016-11-10T15:49:51.000Z
2017-02-06T23:24:16.000Z
ESMF/src/Infrastructure/Mesh/src/Moab/io/ReadHDF5Dataset.hpp
joeylamcy/gchp
0e1676300fc91000ecb43539cabf1f342d718fb3
[ "NCSA", "Apache-2.0", "MIT" ]
null
null
null
/** \file ReadHDF5Dataset.hpp * \author Jason Kraftcheck * \date 2010-07-09 */ #ifndef moab_READ_HDF5DATASET_HPP #define moab_READ_HDF5DATASET_HPP #include "moab/MOABConfig.h" #ifdef MOAB_HAVE_MPI # include <moab_mpi.h> #endif #include <stdlib.h> // for size_t #include <H5Ipublic.h> #include <H5Spublic.h> ...
36.232804
82
0.674211
joeylamcy
1b48dde8d82f4b5b3cbfbb8c6499b8da7a5b5d11
7,545
cc
C++
src/fileio.cc
etola/kortex
172877fde712dce2e5ecf9bc9b5ec3b86d8e085f
[ "MIT" ]
null
null
null
src/fileio.cc
etola/kortex
172877fde712dce2e5ecf9bc9b5ec3b86d8e085f
[ "MIT" ]
null
null
null
src/fileio.cc
etola/kortex
172877fde712dce2e5ecf9bc9b5ec3b86d8e085f
[ "MIT" ]
4
2016-11-29T12:50:25.000Z
2017-09-13T21:29:01.000Z
// --------------------------------------------------------------------------- // // This file is part of the <kortex> library suite // // Copyright (C) 2013 Engin Tola // // See LICENSE file for license information. // // author: Engin Tola // e-mail: engintola@gmail.com // web : http://www.engintola.com // // -----...
30.795918
102
0.57389
etola
1b4af8230e21124e143675f0a895573fd8305d40
11,890
cpp
C++
sensors/cameras/flycapture/applications/flycapture-callback.cpp
nightfox0909/snark
6a6ddc79af9086f13ba0c1287a555c2740fe4e70
[ "BSD-3-Clause" ]
63
2015-01-14T14:38:02.000Z
2022-02-01T09:56:03.000Z
sensors/cameras/flycapture/applications/flycapture-callback.cpp
nightfox0909/snark
6a6ddc79af9086f13ba0c1287a555c2740fe4e70
[ "BSD-3-Clause" ]
39
2015-01-21T00:57:38.000Z
2020-04-22T04:22:35.000Z
sensors/cameras/flycapture/applications/flycapture-callback.cpp
nightfox0909/snark
6a6ddc79af9086f13ba0c1287a555c2740fe4e70
[ "BSD-3-Clause" ]
36
2015-01-15T04:17:14.000Z
2022-02-17T17:13:35.000Z
// This file is part of snark, a generic and flexible library for robotics research // Copyright (c) 2011 The University of Sydney // 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. Redistr...
43.874539
177
0.594701
nightfox0909
1b4b059cd1b36dc339bac1ababba3f42a6afdc46
870
cpp
C++
clang/test/Index/Core/index-source-invalid-name.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
3,102
2015-01-04T02:28:35.000Z
2022-03-30T12:53:41.000Z
clang/test/Index/Core/index-source-invalid-name.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
clang/test/Index/Core/index-source-invalid-name.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
1,868
2015-01-03T04:27:11.000Z
2022-03-25T13:37:35.000Z
// RUN: c-index-test core -print-source-symbols -- %s -std=c++1z -target x86_64-apple-macosx10.7 | FileCheck %s namespace rdar32474406 { // CHECK: [[@LINE+1]]:6 | function/C | foo | c:@N@rdar32474406@F@foo# | __ZN12rdar324744063fooEv | Decl,RelChild | rel: 1 void foo(); // CHECK: [[@LINE+1]]:16 | type-alias/C | Func_t...
62.142857
144
0.677011
medismailben
1b4c7148837f2c48671f20dbb860d95aa4989771
502
cpp
C++
lectures/week8/ttp.cpp
garyCC227/cs6771
9a632b29743848fbba22c08caf760bd0f0463a0a
[ "MIT" ]
3
2020-06-30T11:06:27.000Z
2021-12-16T05:59:45.000Z
lectures/week8/ttp.cpp
garyCC227/cs6771
9a632b29743848fbba22c08caf760bd0f0463a0a
[ "MIT" ]
null
null
null
lectures/week8/ttp.cpp
garyCC227/cs6771
9a632b29743848fbba22c08caf760bd0f0463a0a
[ "MIT" ]
3
2020-08-02T00:21:15.000Z
2021-08-01T10:41:07.000Z
#include <iostream> #include <vector> template <typename T, typename Cont> class Stack { public: void push(T& t) { stack_.push_back(t); } void pop() { stack_.pop_back(); } T& top() { return stack_.back(); } bool empty() const { return stack_.empty(); } private: Cont stack_; }; int main(void) { Stack<in...
17.928571
47
0.569721
garyCC227
1b4d16251d7ea36601b902479d56e44a7edabc23
714
hh
C++
include/rootStorageManagerMessenger.hh
jvavrek/NIMB2018
0aaf4143db2194b9f95002c681e4f860c8c76f7a
[ "MIT" ]
4
2020-06-28T02:18:53.000Z
2022-01-17T07:54:31.000Z
include/rootStorageManagerMessenger.hh
jvavrek/NIMB2018
0aaf4143db2194b9f95002c681e4f860c8c76f7a
[ "MIT" ]
3
2018-08-16T18:49:53.000Z
2020-10-19T18:04:25.000Z
include/rootStorageManagerMessenger.hh
jvavrek/NIMB2018
0aaf4143db2194b9f95002c681e4f860c8c76f7a
[ "MIT" ]
null
null
null
#ifndef rootStorageMessenger_hh #define rootStorageMessenger_hh 1 #include "G4UImessenger.hh" class rootStorageManager; class G4UIdirectory; class G4UIcmdWithAString; class G4UIcmdWithoutParameter; class G4UIcmdWithADoubleAndUnit; class G4UIcmdWithAnInteger; class G4UIcmdWithABool; class rootStorageManagerMessenger...
21.636364
58
0.830532
jvavrek
1b4dad6417fbbcde9c859d79e779a4f3daffd404
8,771
cpp
C++
test/Matuna.OCLConvNetBackMaxPoolingTest/OCLConvNetBackMaxPoolingTest.cpp
mihed/ATML
242fb951eea7a55846b8a18dd6abcabb26e2a1cc
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
test/Matuna.OCLConvNetBackMaxPoolingTest/OCLConvNetBackMaxPoolingTest.cpp
mihed/ATML
242fb951eea7a55846b8a18dd6abcabb26e2a1cc
[ "BSL-1.0", "BSD-3-Clause" ]
3
2015-06-08T19:51:53.000Z
2015-07-01T10:15:06.000Z
test/Matuna.OCLConvNetBackMaxPoolingTest/OCLConvNetBackMaxPoolingTest.cpp
mihed/ATML
242fb951eea7a55846b8a18dd6abcabb26e2a1cc
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
/* * OCLConvNetBackMaxPoolingTest.cpp * * Created on: Jun 23, 2015 * Author: Mikael */ #define CATCH_CONFIG_MAIN #include "catch/catch.hpp" #include "Matuna.OCLHelper/OCLHelper.h" #include "Matuna.OCLConvNet/OCLConvNet.h" #include "Matuna.OCLConvNet/ConvolutionLayer.h" #include "Matuna.ConvNet/ConvolutionLayerCo...
38.134783
168
0.718162
mihed
1b4f9ba62223ab6e1e075be1419ee5f4cfb4ef9a
821
cpp
C++
Src/Middle/69_Sqrt.cpp
HATTER-LONG/https---github.com-HATTER-LONG-AlgorithmTraining
bd2773c066352bab46ac019cef9fbbff8761c147
[ "Apache-2.0" ]
2
2021-02-07T07:03:43.000Z
2021-02-08T16:04:42.000Z
Src/Middle/69_Sqrt.cpp
HATTER-LONG/https---github.com-HATTER-LONG-AlgorithmTraining
bd2773c066352bab46ac019cef9fbbff8761c147
[ "Apache-2.0" ]
null
null
null
Src/Middle/69_Sqrt.cpp
HATTER-LONG/https---github.com-HATTER-LONG-AlgorithmTraining
bd2773c066352bab46ac019cef9fbbff8761c147
[ "Apache-2.0" ]
1
2021-02-24T09:48:26.000Z
2021-02-24T09:48:26.000Z
#include "Tools/Tools.hpp" #include <tuple> /* * 题目描述 * 给定一个非负整数,求它的开方,向下取整。 * * 输入输出样例 * 输入一个整数,输出一个整数。 * * Input: 8 * Output: 2 * 8 的开方结果是 2.82842...,向下取整即是 2。 */ int mySqrt2(int a) { long x = a; while (x * x > a) { x = (x + a / x) / 2; } return x; } int mySqrt(int a) { ...
14.927273
73
0.45067
HATTER-LONG
1b508e4311b6c313811ba29a514db800ebb7c6c4
8,061
cpp
C++
libs/process/test/environment.cpp
lijgame/boost
ec2214a19cdddd1048058321a8105dd0231dac47
[ "BSL-1.0" ]
null
null
null
libs/process/test/environment.cpp
lijgame/boost
ec2214a19cdddd1048058321a8105dd0231dac47
[ "BSL-1.0" ]
2
2021-03-20T05:38:48.000Z
2021-03-31T20:14:11.000Z
libs/process/test/environment.cpp
lijgame/boost
ec2214a19cdddd1048058321a8105dd0231dac47
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2006, 2007 Julio M. Merino Vidal // Copyright (c) 2008 Ilya Sokolov, Boris Schaeling // Copyright (c) 2009 Boris Schaeling // Copyright (c) 2010 Felipe Tanus, Boris Schaeling // Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling // // Distributed under the Boost Software License, Version 1.0. (...
32.768293
102
0.629078
lijgame
1b52594ff3fa86fa05c5b98986fa9770c21e3304
1,419
hpp
C++
PPmatrix/transform_view.hpp
Petkr/PPmatrix
af0d6bece21a39f837e14d9dbee3e72bbfda14b4
[ "MIT" ]
null
null
null
PPmatrix/transform_view.hpp
Petkr/PPmatrix
af0d6bece21a39f837e14d9dbee3e72bbfda14b4
[ "MIT" ]
null
null
null
PPmatrix/transform_view.hpp
Petkr/PPmatrix
af0d6bece21a39f837e14d9dbee3e72bbfda14b4
[ "MIT" ]
null
null
null
#pragma once #include "simple_view.hpp" namespace PPmatrix { template <iterator BaseIterator, typename Transform> class transform_iterator { compressed_pair<BaseIterator, Transform> pair; public: constexpr transform_iterator(BaseIterator base_iterator, Transform t) : pair{ base_iterator, t } {} constexp...
19.985915
73
0.688513
Petkr
1b5675b952b9a39017f1e80ef47e9559700d1064
1,544
cc
C++
chrome/browser/enhanced_bookmarks/android/enhanced_bookmark_tab_helper.cc
hefen1/chromium
52f0b6830e000ca7c5e9aa19488af85be792cc88
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/enhanced_bookmarks/android/enhanced_bookmark_tab_helper.cc
hefen1/chromium
52f0b6830e000ca7c5e9aa19488af85be792cc88
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/enhanced_bookmarks/android/enhanced_bookmark_tab_helper.cc
hefen1/chromium
52f0b6830e000ca7c5e9aa19488af85be792cc88
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2020-04-04T13:34:56.000Z
2020-11-04T07:17:52.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 "chrome/browser/enhanced_bookmarks/android/enhanced_bookmark_tab_helper.h" #include "chrome/browser/bookmarks/enhanced_bookmarks_features.h" #in...
37.658537
85
0.792098
hefen1
1b56f7613400d53a28d750559476530c1f30af0c
4,279
cpp
C++
dev/ext/noice.io/dev/src/TextReader.cpp
gnilk/yapt
1f1d7bad26fb477b545927774f323c367c0e1dad
[ "BSD-3-Clause" ]
null
null
null
dev/ext/noice.io/dev/src/TextReader.cpp
gnilk/yapt
1f1d7bad26fb477b545927774f323c367c0e1dad
[ "BSD-3-Clause" ]
null
null
null
dev/ext/noice.io/dev/src/TextReader.cpp
gnilk/yapt
1f1d7bad26fb477b545927774f323c367c0e1dad
[ "BSD-3-Clause" ]
null
null
null
/*------------------------------------------------------------------------- File : $Archive: TextReader.cpp $ Author : $Author: Fkling $ Version : $Revision: 1 $ Orginal : 2009-11-02, 15:50 Descr : Implements a class that reads text lines from a stream Modified: $Date: $ by $Author: Fkling $ --------------------...
20.572115
80
0.600608
gnilk
1b574ddcd935d9595e0fa4567a2109992f4d822a
6,894
cc
C++
gui/sound_frame.cc
BradenButler/simutrans
86f29844625119182896e0e08d7b775bc847758d
[ "Artistic-1.0" ]
null
null
null
gui/sound_frame.cc
BradenButler/simutrans
86f29844625119182896e0e08d7b775bc847758d
[ "Artistic-1.0" ]
null
null
null
gui/sound_frame.cc
BradenButler/simutrans
86f29844625119182896e0e08d7b775bc847758d
[ "Artistic-1.0" ]
null
null
null
/* * This file is part of the Simutrans project under the Artistic License. * (see LICENSE.txt) */ /* * Dialog for sound settings */ #include "sound_frame.h" #include "../simsound.h" #include "../dataobj/translator.h" #include "../dataobj/environment.h" #include "components/gui_divider.h" #ifdef USE_FLUIDSYNTH_MI...
28.966387
113
0.745866
BradenButler
1b57b5eb551716c0dbd189da443526c1cebfce8e
8,748
cpp
C++
tools/src/Productizer.cpp
jmakovicka/OsmAnd-core
d18f57bb123b6c6ad0adbed0c2f4419d0e6a6610
[ "MIT" ]
null
null
null
tools/src/Productizer.cpp
jmakovicka/OsmAnd-core
d18f57bb123b6c6ad0adbed0c2f4419d0e6a6610
[ "MIT" ]
null
null
null
tools/src/Productizer.cpp
jmakovicka/OsmAnd-core
d18f57bb123b6c6ad0adbed0c2f4419d0e6a6610
[ "MIT" ]
null
null
null
#include "Productizer.h" #include <OsmAndCore/stdlib_common.h> #include <OsmAndCore/ignore_warnings_on_external_includes.h> #include <iomanip> #include <OsmAndCore/restore_internal_warnings.h> #include <OsmAndCore/QtExtensions.h> #include <OsmAndCore/ignore_warnings_on_external_includes.h> #include <QSet> #include <Q...
34.440945
149
0.633059
jmakovicka
1b5cca57b9cc541d352ea3e08aca5b7006c7723f
1,058
cc
C++
RecoLocalTracker/SiPixelRecHits/src/SealModules.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
RecoLocalTracker/SiPixelRecHits/src/SealModules.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
RecoLocalTracker/SiPixelRecHits/src/SealModules.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
// // src/SealModules.cc // declarations of our Framework components to the Framework // Moved to EDM Plugin manager (V.Chiochia, April 2007) // //--- Our components which we want Framework to know about: #include "RecoLocalTracker/ClusterParameterEstimator/interface/PixelClusterParameterEstimator.h" //--- The CPE ES P...
50.380952
96
0.818526
pasmuss
1b5d35a67cfbdcaa1ea9824b36ee9d542e33591a
1,563
hpp
C++
include/p12218319/ann/NeuronI.hpp
p12218319/-DEPRECIATED-neural_network
95a4909efa6e2bbc5d6ae8f1fac5f3285a9a6cee
[ "Apache-2.0" ]
null
null
null
include/p12218319/ann/NeuronI.hpp
p12218319/-DEPRECIATED-neural_network
95a4909efa6e2bbc5d6ae8f1fac5f3285a9a6cee
[ "Apache-2.0" ]
null
null
null
include/p12218319/ann/NeuronI.hpp
p12218319/-DEPRECIATED-neural_network
95a4909efa6e2bbc5d6ae8f1fac5f3285a9a6cee
[ "Apache-2.0" ]
null
null
null
/* Copyright 2016 Adam Smith 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 writin...
39.075
161
0.746641
p12218319
1b6076eb4d935831523ba35736be2961bf7a0fb3
1,820
cpp
C++
src/net/ip.cpp
Vieraw/auth
5ed546a9b65289abc91c42813f66e59e363dd2d3
[ "MIT" ]
2
2021-12-04T11:19:45.000Z
2021-12-30T11:56:14.000Z
src/net/ip.cpp
Vieraw/auth
5ed546a9b65289abc91c42813f66e59e363dd2d3
[ "MIT" ]
null
null
null
src/net/ip.cpp
Vieraw/auth
5ed546a9b65289abc91c42813f66e59e363dd2d3
[ "MIT" ]
1
2021-12-04T11:19:53.000Z
2021-12-04T11:19:53.000Z
// // Created by php on 28-Aug-19. // #include <sstream> #include <vector> #include "ip.h" namespace net { std::vector<std::string> split(const std::string &data, char separator) { std::vector<std::string> temp{}; std::stringstream ss(data); std::string str; while (std::getline(s...
21.927711
120
0.484066
Vieraw
1b60b039f117037614fe68c4f1170cd0a08b6ade
8,093
cpp
C++
source/ParticleShader.cpp
Tomash667/carpglib
c8701b170e4e2cbdb4d52fe3b7c8529afb3e97ed
[ "MIT" ]
4
2019-08-18T19:33:04.000Z
2021-08-07T02:12:54.000Z
source/ParticleShader.cpp
Tomash667/carpglib
c8701b170e4e2cbdb4d52fe3b7c8529afb3e97ed
[ "MIT" ]
5
2019-08-14T05:45:56.000Z
2021-03-15T07:47:24.000Z
source/ParticleShader.cpp
Tomash667/carpglib
c8701b170e4e2cbdb4d52fe3b7c8529afb3e97ed
[ "MIT" ]
2
2019-10-05T02:36:35.000Z
2021-02-15T20:20:09.000Z
#include "Pch.h" #include "ParticleShader.h" #include "Camera.h" #include "DirectX.h" #include "ParticleSystem.h" #include "Render.h" #include "Texture.h" struct VsGlobals { Matrix matCombined; }; //================================================================================================= ParticleShader::Par...
28.100694
144
0.581367
Tomash667
1b61edf279ba4a00f86e14591ab629c554c40e1a
3,040
hpp
C++
Inception/ChaosCV/include/core/io.hpp
zjysnow/ChaosLab
2d3a0ee36ab1ac7bd90cd3fc95e9f2e4bc5a622c
[ "BSD-3-Clause" ]
20
2018-02-20T03:42:16.000Z
2021-05-25T01:03:23.000Z
Inception/ChaosCV/include/core/io.hpp
zjysnow/ChaosLab
2d3a0ee36ab1ac7bd90cd3fc95e9f2e4bc5a622c
[ "BSD-3-Clause" ]
2
2020-11-09T14:12:44.000Z
2021-10-31T15:11:12.000Z
Inception/ChaosCV/include/core/io.hpp
zjysnow/ChaosLab
2d3a0ee36ab1ac7bd90cd3fc95e9f2e4bc5a622c
[ "BSD-3-Clause" ]
6
2019-04-03T03:05:26.000Z
2020-11-09T06:08:41.000Z
#pragma once #include "core/types.hpp" #include "core/array.hpp" #include "core/tensor.hpp" #ifdef _WIN32 #include <iostream> #include <format> namespace chaos { template<class Type = float> void PrintTensor(std::ostream& stream, const Tensor& tensor) { const Shape& shape = tensor.shape; const Steps& steps = ...
26.902655
121
0.566447
zjysnow
1b6317ca486e9f7eb5d14999052e0256f216d4a7
5,559
cpp
C++
src/tree/lpm_cpu_tree.cpp
pbosler/lpmKokkos
c8b4a8478c08957ce70a6fbd7da00481c53414b9
[ "BSD-3-Clause" ]
null
null
null
src/tree/lpm_cpu_tree.cpp
pbosler/lpmKokkos
c8b4a8478c08957ce70a6fbd7da00481c53414b9
[ "BSD-3-Clause" ]
18
2021-06-27T17:59:03.000Z
2022-02-22T03:41:27.000Z
src/tree/lpm_cpu_tree.cpp
pbosler/lpmKokkos
c8b4a8478c08957ce70a6fbd7da00481c53414b9
[ "BSD-3-Clause" ]
null
null
null
#include "tree/lpm_cpu_tree.hpp" #include "lpm_assert.hpp" #ifdef LPM_USE_VTK #include "vtkPolyData.h" #include "vtkVoxel.h" #include "vtkCellData.h" #include "vtkXMLPolyDataWriter.h" #endif #include <numeric> #include <limits> namespace Lpm { namespace tree { template <typename Geo> CpuTree<Geo>::CpuTree(const std...
28.953125
86
0.653355
pbosler
1b64a1da0cb048b22694d7bf9a532a7f3a03e55a
5,149
cpp
C++
include/cinolib/io/read_LIVESU2012.cpp
francescozoccheddu/cinolib
6d6f7d359db673aca1c203a208f50e0a7a362b76
[ "MIT" ]
null
null
null
include/cinolib/io/read_LIVESU2012.cpp
francescozoccheddu/cinolib
6d6f7d359db673aca1c203a208f50e0a7a362b76
[ "MIT" ]
null
null
null
include/cinolib/io/read_LIVESU2012.cpp
francescozoccheddu/cinolib
6d6f7d359db673aca1c203a208f50e0a7a362b76
[ "MIT" ]
null
null
null
/******************************************************************************** * This file is part of CinoLib * * Copyright(C) 2016: Marco Livesu * * ...
39.007576
148
0.437755
francescozoccheddu
1b66705dbae3fe08c47f698a767b62cb6863442f
349
cpp
C++
LeetCode/Array/remove-element.cpp
vasanth9/coding-universe
69ffcb58af0c163689ab9893e6d1e0581e0247e0
[ "MIT" ]
null
null
null
LeetCode/Array/remove-element.cpp
vasanth9/coding-universe
69ffcb58af0c163689ab9893e6d1e0581e0247e0
[ "MIT" ]
null
null
null
LeetCode/Array/remove-element.cpp
vasanth9/coding-universe
69ffcb58af0c163689ab9893e6d1e0581e0247e0
[ "MIT" ]
null
null
null
//leetcode.com/problems/remove-element #include<bits/stdc++.h> using namespace std; class Solution { public: int removeElement(vector<int>& nums, int val) { int k=0,n=nums.size(); for(int i=0;i<n;i++){ if(nums[i]!=val){ nums[k]=nums[i]; k++; } } ...
20.529412
51
0.492837
vasanth9
1b6683bd18dd2d67f5014993369d098972711774
18,237
hpp
C++
include/RootMotion/FinalIK/AimController.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
include/RootMotion/FinalIK/AimController.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
include/RootMotion/FinalIK/AimController.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: UnityEngine.Mo...
47.368831
1,758
0.706531
Fernthedev
1b672c46a17422d9df3d1eb4f0879f8ca381ce36
9,111
cpp
C++
src/AudioEffectDelay_f32.cpp
UTSAAH/Dhwani-HA_Library
f182d8b6571d48b1e506637684844eb12e0a791c
[ "MIT" ]
null
null
null
src/AudioEffectDelay_f32.cpp
UTSAAH/Dhwani-HA_Library
f182d8b6571d48b1e506637684844eb12e0a791c
[ "MIT" ]
null
null
null
src/AudioEffectDelay_f32.cpp
UTSAAH/Dhwani-HA_Library
f182d8b6571d48b1e506637684844eb12e0a791c
[ "MIT" ]
null
null
null
/* Audio Library for Teensy 3.X * Copyright (c) 2014, Paul Stoffregen, paul@pjrc.com * Extended by Chip Audette, Open Audio, April 2018 * * Development of this audio library was funded by PJRC.COM, LLC by sales of * Teensy and Audio Adaptor boards. Please support PJRC's efforts to develop * open source software ...
37.804979
138
0.699155
UTSAAH
1b68bd9ab2aa2e53724f1c88e9600b48360b1d62
2,581
cpp
C++
InjectorTemplate/Main.cpp
JuniorDjjr/InjectorTemplate
3f9f50a297750a299c4ef374c07cf0fa13d6b60f
[ "MIT" ]
3
2020-01-25T18:53:15.000Z
2022-03-23T09:24:43.000Z
InjectorTemplate/Main.cpp
JuniorDjjr/InjectorTemplate
3f9f50a297750a299c4ef374c07cf0fa13d6b60f
[ "MIT" ]
null
null
null
InjectorTemplate/Main.cpp
JuniorDjjr/InjectorTemplate
3f9f50a297750a299c4ef374c07cf0fa13d6b60f
[ "MIT" ]
1
2021-11-18T16:48:26.000Z
2021-11-18T16:48:26.000Z
/* The base of this code is from InjectorTemplate by Junior_Djjr - MixMods.com.br */ #include "stdafx.h" #include "IniReader/IniReader.h" #include "ReadIniCustom.h" #include "injector/injector.hpp" #include "injector/assembly.hpp" #include "PatchStuff.h" #include "GameStuff.h" #include <iostream> #include <f...
23.044643
100
0.573034
JuniorDjjr
1b6993a4c77f7287c7bb89337fbb3c8b497de676
1,453
hpp
C++
Include/Firefly/ImportSourceFiles.hpp
Intro-Ventors/Firefly
fa817785758c72f135492e9cc36daf1250169490
[ "MIT" ]
null
null
null
Include/Firefly/ImportSourceFiles.hpp
Intro-Ventors/Firefly
fa817785758c72f135492e9cc36daf1250169490
[ "MIT" ]
null
null
null
Include/Firefly/ImportSourceFiles.hpp
Intro-Ventors/Firefly
fa817785758c72f135492e9cc36daf1250169490
[ "MIT" ]
null
null
null
#pragma once /** * This file imports all the source files from this library. * Make sure that this file is included in ONE SOURCE FILE to compile the whole library. No additional dependencies needed. */ #include "Source/AssetLoaders/ImageLoader.cpp" #include "Source/AssetLoaders/ObjLoader.cpp" #include "Source/Ass...
26.907407
123
0.793531
Intro-Ventors
1b6a7c519c8226cef9857b33fbce1e98983d7edb
1,196
cpp
C++
cpp/cpp/697. Degree of an Array.cpp
longwangjhu/LeetCode
a5c33e8d67e67aedcd439953d96ac7f443e2817b
[ "MIT" ]
3
2021-08-07T07:01:34.000Z
2021-08-07T07:03:02.000Z
cpp/cpp/697. Degree of an Array.cpp
longwangjhu/LeetCode
a5c33e8d67e67aedcd439953d96ac7f443e2817b
[ "MIT" ]
null
null
null
cpp/cpp/697. Degree of an Array.cpp
longwangjhu/LeetCode
a5c33e8d67e67aedcd439953d96ac7f443e2817b
[ "MIT" ]
null
null
null
// https://leetcode.com/problems/degree-of-an-array/ // Given a non-empty array of non-negative integers nums, the degree of this array // is defined as the maximum frequency of any one of its elements. // Your task is to find the smallest possible length of a (contiguous) subarray of // nums, that has the same degre...
34.171429
82
0.506689
longwangjhu
1b6aa0efc77f93e38214b0a1ff25ddbdf7d7ce70
16,272
hpp
C++
rajson/conversions.hpp
dmitigr/cefeika
6189843d4244f7334558708e57e952584561b1e0
[ "Zlib" ]
19
2019-07-21T15:38:12.000Z
2022-01-06T05:24:48.000Z
rajson/conversions.hpp
dmitigr/cefeika
6189843d4244f7334558708e57e952584561b1e0
[ "Zlib" ]
6
2019-12-07T22:12:37.000Z
2022-01-10T22:31:48.000Z
rajson/conversions.hpp
dmitigr/cefeika
6189843d4244f7334558708e57e952584561b1e0
[ "Zlib" ]
1
2019-08-15T14:49:00.000Z
2019-08-15T14:49:00.000Z
// -*- C++ -*- // Copyright (C) 2021 Dmitry Igrishin // // 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 this software. // // Permission is granted to anyone to use this software for any purpose, // i...
33.619835
103
0.705875
dmitigr
1b6bfd7e63c49464684dfde6cb5fba27ba3c4a94
1,718
cpp
C++
vnoj/277.5C-div2.cpp
tiozo/Training
02cc8c4fcf68e07c16520fd05fcbfa524c171b6b
[ "MIT" ]
1
2021-08-28T04:16:34.000Z
2021-08-28T04:16:34.000Z
vnoj/277.5C-div2.cpp
tiozo/Training
02cc8c4fcf68e07c16520fd05fcbfa524c171b6b
[ "MIT" ]
null
null
null
vnoj/277.5C-div2.cpp
tiozo/Training
02cc8c4fcf68e07c16520fd05fcbfa524c171b6b
[ "MIT" ]
null
null
null
#include <iostream> #include <stdio.h> #include <fstream> #include <string.h> #include <string> #include <vector> #include <map> #include <set> #include <list> #include <set> #include <deque> #include <utility> #include <sstream> #include <queue> #include <stack> #include <bitset> #include <math.h> #include <iomanip>...
21.475
66
0.536671
tiozo
1b6ca293c3326f9298b57f053cce14e711878bd5
143
cpp
C++
devel/main.cpp
tonypilz/CompileTimeCStringConcatenation
beda905ae0169adc66d03716f22e37de4035e2a9
[ "BSD-3-Clause" ]
1
2019-06-02T20:08:42.000Z
2019-06-02T20:08:42.000Z
devel/main.cpp
tonypilz/CompileTimeCStringConcatenation
beda905ae0169adc66d03716f22e37de4035e2a9
[ "BSD-3-Clause" ]
1
2019-02-03T11:36:18.000Z
2019-02-03T11:36:18.000Z
devel/main.cpp
tonypilz/ConstexprString
beda905ae0169adc66d03716f22e37de4035e2a9
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include "ConstexprString.h" #include "main_example.cpp" #include "tests.h" int main() { main_(); return 0; }
9.533333
28
0.643357
tonypilz
1b6e7db803c3d75a60eb40d325d28562f049b98c
9,733
cc
C++
kythe/cxx/indexer/proto/kythe_indexer_main.cc
jin/kythe
f33d1c7015ea538aa60ece350aa5c5e059e0536e
[ "Apache-2.0" ]
null
null
null
kythe/cxx/indexer/proto/kythe_indexer_main.cc
jin/kythe
f33d1c7015ea538aa60ece350aa5c5e059e0536e
[ "Apache-2.0" ]
null
null
null
kythe/cxx/indexer/proto/kythe_indexer_main.cc
jin/kythe
f33d1c7015ea538aa60ece350aa5c5e059e0536e
[ "Apache-2.0" ]
1
2020-09-14T21:17:20.000Z
2020-09-14T21:17:20.000Z
/* * Copyright 2018 The Kythe 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 ap...
39.245968
80
0.683448
jin
1b765fbfe76fba79fe80cce0745a9597941f2499
6,288
cpp
C++
opt_bst/nontiled.cpp
piotrbla/transitive-closure-experiments
0a78c18432f2dc856663278fedf2153b8d47e257
[ "MIT" ]
null
null
null
opt_bst/nontiled.cpp
piotrbla/transitive-closure-experiments
0a78c18432f2dc856663278fedf2153b8d47e257
[ "MIT" ]
null
null
null
opt_bst/nontiled.cpp
piotrbla/transitive-closure-experiments
0a78c18432f2dc856663278fedf2153b8d47e257
[ "MIT" ]
null
null
null
#include <math.h> #include <omp.h> #include <stdio.h> #include <stdlib.h> #define min(x,y) ((x) < (y) ? (x) : (y)) #define max(x,y) ((x) > (y) ? (x) : (y)) #define ceild(n,d) ceil(((double)(n))/((double)(d))) #define floord(n,d) (((n)<0) ? -((-(n)+(d)-1)/(d)) : (n)/(d)) #define S0(a, i, j, k) c[i][j] = c[i][k] +...
24.5625
80
0.48521
piotrbla
1b7669f5e717ba18d9088c0918667e559bcf3175
6,413
cpp
C++
DataFormats/Math/test/testApproxMath.cpp
bisnupriyasahu/cmssw
6cf37ca459246525be0e8a6f5172c6123637d259
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
DataFormats/Math/test/testApproxMath.cpp
bisnupriyasahu/cmssw
6cf37ca459246525be0e8a6f5172c6123637d259
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
DataFormats/Math/test/testApproxMath.cpp
bisnupriyasahu/cmssw
6cf37ca459246525be0e8a6f5172c6123637d259
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
#include "DataFormats/Math/interface/approx_exp.h" #include "DataFormats/Math/interface/approx_log.h" #include "DataFormats/Math/interface/approx_erf.h" #include<cstdio> #include<cstdlib> #include<iostream> void printEXP(float x) { printf("x= %a val= %a %a %a\n",x, std::exp(double(x)),unsafe_expf<6>(x),unsafe_expf<4...
25.549801
147
0.589272
bisnupriyasahu
1b79589bfa8caed14c57f9c155b1b7d5c82e7a06
3,768
cpp
C++
source/tools/Tests/prefix.cpp
ganboing/pintool
ece4788ffded47124b1c9b203707cc255dbaf20f
[ "Intel" ]
1
2017-06-06T16:02:31.000Z
2017-06-06T16:02:31.000Z
source/tools/Tests/prefix.cpp
ganboing/pintool
ece4788ffded47124b1c9b203707cc255dbaf20f
[ "Intel" ]
null
null
null
source/tools/Tests/prefix.cpp
ganboing/pintool
ece4788ffded47124b1c9b203707cc255dbaf20f
[ "Intel" ]
null
null
null
/*BEGIN_LEGAL Intel Open Source License Copyright (c) 2002-2016 Intel 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 copyr...
37.68
81
0.692675
ganboing
1b7aa52af66adf1951da3cff33c200c468253c4a
4,794
hh
C++
tests/scalar2.hh
geekysuavo/hx
457b7c486d24e3142f2f9c259b0dfb97af03b312
[ "MIT" ]
1
2020-10-29T14:32:06.000Z
2020-10-29T14:32:06.000Z
tests/scalar2.hh
geekysuavo/hx
457b7c486d24e3142f2f9c259b0dfb97af03b312
[ "MIT" ]
null
null
null
tests/scalar2.hh
geekysuavo/hx
457b7c486d24e3142f2f9c259b0dfb97af03b312
[ "MIT" ]
null
null
null
#include "scalar.hh" class Scalar2 : public CxxTest::TestSuite { public: /* scalar{} */ void testDefaultConstructor () { hx::scalar<2> x; assert_values(x, {0, 0, 0, 0}); } /* scalar{double, ...} */ void testCoeffConstructor () { hx::scalar<2> x{3, 4, 5, 6}; assert_values(x, {3, 4, 5, 6}); ...
22.507042
58
0.496454
geekysuavo
1b7f90a230438910a92c461d2b92865047f94a54
64
hpp
C++
Src/Integrators/PathTracer/DataDesc.hpp
dtcxzyw/Piper
af17b45848d46687ba6c9f214264759275a35a9f
[ "MIT" ]
1
2021-12-28T14:31:28.000Z
2021-12-28T14:31:28.000Z
Src/Integrators/PathTracer/DataDesc.hpp
dtcxzyw/Piper
af17b45848d46687ba6c9f214264759275a35a9f
[ "MIT" ]
null
null
null
Src/Integrators/PathTracer/DataDesc.hpp
dtcxzyw/Piper
af17b45848d46687ba6c9f214264759275a35a9f
[ "MIT" ]
1
2022-02-17T08:04:05.000Z
2022-02-17T08:04:05.000Z
#pragma once struct DataDesc final { unsigned maxDepth; };
10.666667
23
0.703125
dtcxzyw
1b803621efe045366886c0a1b59f2ed773f422a0
574
cpp
C++
simple-functions-no-ec/main.cpp
masterl/input-studies
d713cb69ca196e9e2606f35ed385c4ba87b26e5c
[ "MIT" ]
null
null
null
simple-functions-no-ec/main.cpp
masterl/input-studies
d713cb69ca196e9e2606f35ed385c4ba87b26e5c
[ "MIT" ]
null
null
null
simple-functions-no-ec/main.cpp
masterl/input-studies
d713cb69ca196e9e2606f35ed385c4ba87b26e5c
[ "MIT" ]
null
null
null
#include <iostream> #include <sstream> #include <string> std::string read_line(); int read_integer(); int main() { int number; std::string user_input; std::cout << "Input a number: "; number = read_integer(); std::cout << "\nYou typed [" << number << "]" << std::endl; return 0; } std::str...
13.348837
63
0.587108
masterl
1b813949c2042cc6e45b8322514a5bc0bafb5b3e
190
cc
C++
src/cli_main.cc
jeresch/oonalysis
09b49dcd57616e56ff9abcd8989ef18be1489b9a
[ "BSD-Source-Code" ]
2
2019-01-02T12:06:32.000Z
2020-05-24T06:08:57.000Z
src/cli_main.cc
jeresch/oonalysis
09b49dcd57616e56ff9abcd8989ef18be1489b9a
[ "BSD-Source-Code" ]
null
null
null
src/cli_main.cc
jeresch/oonalysis
09b49dcd57616e56ff9abcd8989ef18be1489b9a
[ "BSD-Source-Code" ]
null
null
null
#include "cli/cli.h" extern "C" { #include "util/log.h" } int main(int argc, char** argv) { LOG(INFO, "Welcome to oonalysis"); oonalysis::cli::main_cli(argc, argv); return 0; }
17.272727
41
0.621053
jeresch
1b8482420c31b42c9add65105da57c73414dc212
1,593
hpp
C++
library/text/cpp/include/tetengo/text/grapheme_splitting/character_width.hpp
tetengo/tetengo
66e0d03635583c25be4320171f3cc1e7f40a56e6
[ "MIT" ]
null
null
null
library/text/cpp/include/tetengo/text/grapheme_splitting/character_width.hpp
tetengo/tetengo
66e0d03635583c25be4320171f3cc1e7f40a56e6
[ "MIT" ]
41
2021-06-25T14:20:29.000Z
2022-01-16T02:50:50.000Z
library/text/cpp/include/tetengo/text/grapheme_splitting/character_width.hpp
tetengo/tetengo
66e0d03635583c25be4320171f3cc1e7f40a56e6
[ "MIT" ]
null
null
null
/*! \file \brief A character width. Copyright (C) 2019-2022 kaoru https://www.tetengo.org/ */ #if !defined(TETENGO_TEXT_GRAPHEMESPLITTING_CHARACTERWIDTH_HPP) #define TETENGO_TEXT_GRAPHEMESPLITTING_CHARACTERWIDTH_HPP #include <cstddef> #include <boost/core/noncopyable.hpp> namespace tetengo:...
20.960526
90
0.526051
tetengo
1b8987cb6145386e75379d6bbe0588eec6ee2d5d
5,693
hpp
C++
src/GL3Engine/Graphics/Texture.hpp
Mati365/Potato3D-Engine
bf683a7213716d17d61d0e53edb32469af5166eb
[ "Unlicense", "MIT" ]
null
null
null
src/GL3Engine/Graphics/Texture.hpp
Mati365/Potato3D-Engine
bf683a7213716d17d61d0e53edb32469af5166eb
[ "Unlicense", "MIT" ]
null
null
null
src/GL3Engine/Graphics/Texture.hpp
Mati365/Potato3D-Engine
bf683a7213716d17d61d0e53edb32469af5166eb
[ "Unlicense", "MIT" ]
null
null
null
#ifndef TEXTURE_HPP_ #define TEXTURE_HPP_ #include <SOIL/SOIL.h> #include "Types.hpp" namespace GL3Engine { namespace CoreMaterial { extern void putGLTextureFlags(GLenum, GLuint); struct TextureFlags { GLenum type; GLenum bytes; GLuint flags; ...
30.607527
81
0.436325
Mati365
1b899a2118cffcd8c4f7dce799b106feba00f7ea
8,396
cc
C++
shill/default_profile.cc
emersion/chromiumos-platform2
ba71ad06f7ba52e922c647a8915ff852b2d4ebbd
[ "BSD-3-Clause" ]
5
2019-01-19T15:38:48.000Z
2021-10-06T03:59:46.000Z
shill/default_profile.cc
emersion/chromiumos-platform2
ba71ad06f7ba52e922c647a8915ff852b2d4ebbd
[ "BSD-3-Clause" ]
null
null
null
shill/default_profile.cc
emersion/chromiumos-platform2
ba71ad06f7ba52e922c647a8915ff852b2d4ebbd
[ "BSD-3-Clause" ]
1
2019-02-15T23:05:30.000Z
2019-02-15T23:05:30.000Z
// Copyright 2018 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 "shill/default_profile.h" #include <random> #include <base/files/file_path.h> #include <base/strings/string_number_conversions.h> #include <...
40.956098
80
0.686041
emersion
1b8ac1297f59faaf5fd4c5c3c1c2886ca0da507f
143
cc
C++
cinn/hlir/pe/vision.cc
edithgogo/CINN
bed13f4752d80d01a3e1d96a4cc4f5aa56b1e292
[ "Apache-2.0" ]
1
2019-10-23T09:16:23.000Z
2019-10-23T09:16:23.000Z
cinn/hlir/pe/vision.cc
edithgogo/CINN
bed13f4752d80d01a3e1d96a4cc4f5aa56b1e292
[ "Apache-2.0" ]
null
null
null
cinn/hlir/pe/vision.cc
edithgogo/CINN
bed13f4752d80d01a3e1d96a4cc4f5aa56b1e292
[ "Apache-2.0" ]
null
null
null
#include "cinn/hlir/pe/vision.h" namespace cinn { namespace hlir { namespace pe {} // namespace pe } // namespace hlir } // namespace cinn
17.875
32
0.685315
edithgogo
b842f440de57c2f990b04c6041f743dc33fde7a6
12,178
cpp
C++
high-precision-anticyclic-fft/src/bench_fft_mpfr.cpp
tfhe/experimental-tfhe
248ee1fd69e4344d19026371dec251c6ab28edfc
[ "Apache-2.0" ]
15
2017-08-13T01:43:58.000Z
2021-09-10T08:56:16.000Z
high-precision-anticyclic-fft/src/bench_fft_mpfr.cpp
tfhe/experimental-tfhe
248ee1fd69e4344d19026371dec251c6ab28edfc
[ "Apache-2.0" ]
null
null
null
high-precision-anticyclic-fft/src/bench_fft_mpfr.cpp
tfhe/experimental-tfhe
248ee1fd69e4344d19026371dec251c6ab28edfc
[ "Apache-2.0" ]
1
2018-02-08T01:09:00.000Z
2018-02-08T01:09:00.000Z
#include <complex> #include <iostream> #include <cstdint> #include <vector> #include <cassert> #include <random> #include <gmpxx.h> #include <mpfr.h> using namespace std; typedef int64_t Torus64; typedef int32_t Torus32; #ifndef ALPHA_BITS const int ALPHA_BITS = 60; #endif const int MIN_N = 1000*ALPHA_BITS/35; con...
25.318087
157
0.558712
tfhe
b843d7d12819e48802975de313149d93dbedb6cc
308
cpp
C++
Passing_Arg_P.cpp
sinarashidiazar/cpp
97ff3b6821efb3857b7a1a4cc24a6294e7279e75
[ "MIT" ]
null
null
null
Passing_Arg_P.cpp
sinarashidiazar/cpp
97ff3b6821efb3857b7a1a4cc24a6294e7279e75
[ "MIT" ]
null
null
null
Passing_Arg_P.cpp
sinarashidiazar/cpp
97ff3b6821efb3857b7a1a4cc24a6294e7279e75
[ "MIT" ]
null
null
null
// PASSING ARGUMENTS THROUGH POINTERS #include <iostream> #include <conio.h> using namespace std; void f(int *); main() { int a=2; f(&a); cout<<a; //5 getch(); } void f(int *n) { *n=*n+3; } /* main() { int a=2; f(a); cout<<a; //5 getch(); } void f(int &n) { n=n+3; } */
7.512195
38
0.493506
sinarashidiazar
b84463e5c7a059f32238d831a304570db5df1e7b
495
cpp
C++
src/0078.cpp
shuihan0555/LeetCode-Solutions-in-Cpp17
8bb69fc546486c5e73839431204927626601dd18
[ "MIT" ]
null
null
null
src/0078.cpp
shuihan0555/LeetCode-Solutions-in-Cpp17
8bb69fc546486c5e73839431204927626601dd18
[ "MIT" ]
null
null
null
src/0078.cpp
shuihan0555/LeetCode-Solutions-in-Cpp17
8bb69fc546486c5e73839431204927626601dd18
[ "MIT" ]
null
null
null
class Solution { public: vector<vector<int>> subsets(vector<int>& nums) { vector<vector<int>> res; vector<int> tmp; dfs(res, tmp, nums, 0); return res; } void dfs(vector<vector<int>>& res, vector<int>& tmp, vector<int>& nums, int n) { res.emplace_back(tmp); ...
24.75
82
0.490909
shuihan0555
b844ab8f2e3ac093152c84bbd96f9db4b071c51c
325
cpp
C++
array.cpp
siddharthshenoy/LEET
130a7c526417ea9d1896553c8f048e248d4bba35
[ "MIT" ]
null
null
null
array.cpp
siddharthshenoy/LEET
130a7c526417ea9d1896553c8f048e248d4bba35
[ "MIT" ]
null
null
null
array.cpp
siddharthshenoy/LEET
130a7c526417ea9d1896553c8f048e248d4bba35
[ "MIT" ]
null
null
null
class Solution { public: int removeElement(vector<int>& nums, int val) { int i; for(i=0;i<nums.size();i++){ if(nums[i]==val){ swap(nums[i],nums[nums.size()-1]); nums.pop_back(); i=-1; } } return nums.size(); ...
21.666667
51
0.409231
siddharthshenoy
b848bb7b3559c79aafb7e54b2aedd6a6e5db6231
4,512
cpp
C++
Systems/Device.cpp
Excelsus4/TrexRunner
6b1bfdab63c7554c09072cc1b889de0e58415f49
[ "MIT" ]
null
null
null
Systems/Device.cpp
Excelsus4/TrexRunner
6b1bfdab63c7554c09072cc1b889de0e58415f49
[ "MIT" ]
null
null
null
Systems/Device.cpp
Excelsus4/TrexRunner
6b1bfdab63c7554c09072cc1b889de0e58415f49
[ "MIT" ]
null
null
null
#pragma once #include "stdafx.h" #include "Device.h" int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) { InitWindow(hInstance, nShowCmd); InitDirect3D(hInstance); Running(); Destroy(); return 0; } HWND Hwnd = NULL; wstring Title = L"Draw Sprite"; IDXGISwapChain* ...
19.964602
95
0.706117
Excelsus4
b8496a25aaa6a44d87ea167c384c7cb261cb3d2c
2,248
hpp
C++
src/world/TextureInfoCollection.hpp
desktopgame/ofxPlanet
fe364e83f4c0ec0f169df63ce989a88ae6328c07
[ "BSD-2-Clause", "MIT" ]
3
2020-02-24T14:19:20.000Z
2021-05-17T11:25:07.000Z
src/world/TextureInfoCollection.hpp
desktopgame/ofxPlanet
fe364e83f4c0ec0f169df63ce989a88ae6328c07
[ "BSD-2-Clause", "MIT" ]
1
2020-02-25T09:20:34.000Z
2020-02-25T09:38:49.000Z
src/world/TextureInfoCollection.hpp
desktopgame/ofxPlanet
fe364e83f4c0ec0f169df63ce989a88ae6328c07
[ "BSD-2-Clause", "MIT" ]
1
2021-08-14T07:12:42.000Z
2021-08-14T07:12:42.000Z
#pragma once #ifndef WORLD_TEXTURECOLLECTIONINFO_HPP #define WORLD_TEXTURECOLLECTIONINFO_HPP #include <string> #include <vector> #include "Optional.hpp" namespace ofxPlanet { /** * TextureMappingRule is sides in block mapped texture. */ struct TextureMappingRule { explicit TextureMappingRule(); Opti...
25.545455
75
0.585854
desktopgame
b84a9740cc8baff0def9813075bef61e37af9f25
494
cpp
C++
Solutions-to-Books/C++Primer/Chapter08/8.09.cpp
Horizon-Blue/playground
4bd42bfcec60b8e89e127f4784c99f6ba669d359
[ "MIT" ]
2
2016-08-31T19:13:24.000Z
2017-02-18T18:48:31.000Z
Solutions-to-Books/C++Primer/Chapter08/8.09.cpp
Horizon-Blue/playground
4bd42bfcec60b8e89e127f4784c99f6ba669d359
[ "MIT" ]
1
2018-12-10T16:32:26.000Z
2018-12-27T19:50:48.000Z
Solutions-to-Books/C++Primer/Chapter08/8.09.cpp
Horizon-Blue/playground
4bd42bfcec60b8e89e127f4784c99f6ba669d359
[ "MIT" ]
null
null
null
// Exercise 8.9 // Use the function you wrote for the first exercise in // Section 8.1.2 (p.314) to print the contents of an // istringstream object. // Xiaoyan Wang 3/25/2016 // Mostly copied from 8.2.cpp #include <iostream> #include <sstream> #include <string> using namespace std; istream& ifunc(istream& is) { st...
18.296296
55
0.653846
Horizon-Blue
b84c6b20e984cbe23d04fe7302a3ea6d153e22da
4,352
cpp
C++
src/Renderer.cpp
bashawhm/Clay
d34f10c26a1991655b1cc353b1e023988a7457bd
[ "MIT" ]
null
null
null
src/Renderer.cpp
bashawhm/Clay
d34f10c26a1991655b1cc353b1e023988a7457bd
[ "MIT" ]
null
null
null
src/Renderer.cpp
bashawhm/Clay
d34f10c26a1991655b1cc353b1e023988a7457bd
[ "MIT" ]
1
2019-08-05T01:43:16.000Z
2019-08-05T01:43:16.000Z
#include "Renderer.h" #include <cstdlib> #include <cmath> #include <iostream> #include <string> #include <sstream> #include <assert.h> #include "SDL2/SDL.h" #include "SDL2/SDL_image.h" #include "Texture.h" #include "RenderModel.h" #include "json.cpp" using json = nlohmann::json; using namespace std; #define WINDO...
29.605442
167
0.596507
bashawhm
b84cacb35e119fe7ec84b35d94b9e91a9e363e75
8,650
cpp
C++
dockerfiles/gaas_tutorial_2/GAAS/software/SLAM/ygz_slam_ros/Thirdparty/PCL/test/segmentation/test_random_walker.cpp
hddxds/scripts_from_gi
afb8977c001b860335f9062464e600d9115ea56e
[ "Apache-2.0" ]
2
2019-04-10T14:04:52.000Z
2019-05-29T03:41:58.000Z
software/SLAM/ygz_slam_ros/Thirdparty/PCL/test/segmentation/test_random_walker.cpp
glider54321/GAAS
5c3b8c684e72fdf7f62c5731a260021e741069e7
[ "BSD-3-Clause" ]
null
null
null
software/SLAM/ygz_slam_ros/Thirdparty/PCL/test/segmentation/test_random_walker.cpp
glider54321/GAAS
5c3b8c684e72fdf7f62c5731a260021e741069e7
[ "BSD-3-Clause" ]
1
2021-12-20T06:54:41.000Z
2021-12-20T06:54:41.000Z
/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2012-, Open Perception, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condition...
31.801471
101
0.620809
hddxds
b8521b9eaeb830ec193f6d660f391c5cc3b711ef
2,634
hpp
C++
sdk/src/AliCloudFileSystemImpl.hpp
elaphantapp/PersonalStorage.SDK.OSS
539c9dc371281314e16365c198ef3aa5642ae39e
[ "MIT" ]
null
null
null
sdk/src/AliCloudFileSystemImpl.hpp
elaphantapp/PersonalStorage.SDK.OSS
539c9dc371281314e16365c198ef3aa5642ae39e
[ "MIT" ]
null
null
null
sdk/src/AliCloudFileSystemImpl.hpp
elaphantapp/PersonalStorage.SDK.OSS
539c9dc371281314e16365c198ef3aa5642ae39e
[ "MIT" ]
null
null
null
/** * @file AliCloudFileSystemImpl.hpp * @brief AliCloudFileSystemImpl * @details * * @author xxx * @author <xxx@xxx.com> * @copyright (c) 2012 xxx All rights reserved. **/ #ifndef _ELASTOS_SDK_ALI_CLOUD_FILESYSTEM_IMPL_HPP_ #define _ELASTOS_SDK_ALI_CLOUD_FILESYSTEM_IMPL_HPP_ #include <CloudFileSystem.hpp> #...
30.627907
85
0.654897
elaphantapp
b85293857ab5daecf290dc9c27ba52360bc4c690
7,816
cpp
C++
src/Native/gc/softwarewritewatch.cpp
lambdageek/corert
11136ad55767485063226be08cfbd32ed574ca43
[ "MIT" ]
9
2018-02-28T14:24:42.000Z
2021-07-07T13:12:15.000Z
src/Native/gc/softwarewritewatch.cpp
lambdageek/corert
11136ad55767485063226be08cfbd32ed574ca43
[ "MIT" ]
8
2016-12-02T10:22:20.000Z
2020-10-08T15:06:17.000Z
src/Native/gc/softwarewritewatch.cpp
lambdageek/corert
11136ad55767485063226be08cfbd32ed574ca43
[ "MIT" ]
23
2017-06-05T16:21:58.000Z
2022-01-31T11:01:47.000Z
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #include "common.h" #include "gcenv.h" #include "env/gcenv.os.h" #include "softwarewritewatch.h" #ifdef FEATURE_USE...
32.164609
136
0.610287
lambdageek
b853a7bf267c6fb2fee68f89dc90eda9e959dca6
229
cc
C++
src/Reader/reader_base.cc
studla/RYUTO
43abd5757745a14d0ee8824093bbfa7a361581d8
[ "BSD-3-Clause" ]
3
2021-07-26T08:48:51.000Z
2022-03-27T07:33:21.000Z
src/Reader/reader_base.cc
studla/RYUTO
43abd5757745a14d0ee8824093bbfa7a361581d8
[ "BSD-3-Clause" ]
3
2019-06-03T08:40:23.000Z
2020-09-16T11:34:53.000Z
src/Reader/reader_base.cc
studla/RYUTO
43abd5757745a14d0ee8824093bbfa7a361581d8
[ "BSD-3-Clause" ]
1
2019-06-07T21:52:26.000Z
2019-06-07T21:52:26.000Z
/* * File: reader_base.cc * Author: Thomas Gatter <thomas(at)bioinf.uni-leipzig.de> * * Created on December 2, 2015, 5:51 PM */ #include "reader_base.h" reader_base::reader_base() { } reader_base::~reader_base() { }
14.3125
58
0.659389
studla
b854d5d500fb7bd0b40f7f4b71cf8763e4da3d29
1,873
cpp
C++
Hollow_Faith/Motor2D/j1GUIconsole.cpp
juanha2/PlatformerGame
f95af3cb237ff8fcb59f16f58598ca0a94cf9f1c
[ "Unlicense" ]
4
2019-10-27T16:47:13.000Z
2020-03-16T17:02:36.000Z
Hollow_Faith/Motor2D/j1GUIconsole.cpp
juanha2/PlatformerGame
f95af3cb237ff8fcb59f16f58598ca0a94cf9f1c
[ "Unlicense" ]
null
null
null
Hollow_Faith/Motor2D/j1GUIconsole.cpp
juanha2/PlatformerGame
f95af3cb237ff8fcb59f16f58598ca0a94cf9f1c
[ "Unlicense" ]
8
2019-12-19T15:16:50.000Z
2020-06-14T22:12:33.000Z
#include "j1GUIconsole.h" #include "j1App.h" #include "j1GUI.h" #include "j1Textures.h" #include "j1Fonts.h" #include "j1Window.h" j1GUIconsole::j1GUIconsole() { this->type = GUItype::GUI_CONSOLE; texture = App->gui->GetAtlasTexture(); } j1GUIconsole::~j1GUIconsole() { } bool j1GUIconsole::Start() { //Adding c...
27.144928
227
0.674319
juanha2
b8554edac3450cff1a2883cebea5776ca1443774
3,895
cpp
C++
src/NetAsioSocket.cpp
PeriodicSeizures/Alchyme
68b034ec4c2111c52e9b15540b3d8323482b164c
[ "MIT" ]
null
null
null
src/NetAsioSocket.cpp
PeriodicSeizures/Alchyme
68b034ec4c2111c52e9b15540b3d8323482b164c
[ "MIT" ]
1
2021-09-21T01:37:43.000Z
2021-09-21T01:37:43.000Z
src/NetAsioSocket.cpp
PeriodicSeizures/Alchyme
68b034ec4c2111c52e9b15540b3d8323482b164c
[ "MIT" ]
null
null
null
#include "NetSocket.hpp" #include <string> #include <iostream> namespace Alchyme { namespace Net { AsioSocket::AsioSocket(asio::io_context& ctx, asio::ip::tcp::socket socket) : m_socket(std::move(socket)) {} AsioSocket::AsioSocket(asio::io_context& ctx) : m_socket(ctx) {} AsioSocket::~AsioSocket() { ...
20.39267
85
0.584596
PeriodicSeizures
b857f20838af04dc83fc106d98f392ff55e4e060
13,476
cpp
C++
src/ModelPredictiveControl.cpp
stephane-caron/lipm_walking_controller
d70ae07354f552a27b44885cdb263fec03875d36
[ "BSD-2-Clause" ]
121
2018-09-25T11:14:37.000Z
2022-03-31T05:31:39.000Z
src/ModelPredictiveControl.cpp
stephane-caron/lipm_walking_controller
d70ae07354f552a27b44885cdb263fec03875d36
[ "BSD-2-Clause" ]
57
2018-09-21T01:37:54.000Z
2020-12-29T15:59:24.000Z
src/ModelPredictiveControl.cpp
stephane-caron/lipm_walking_controller
d70ae07354f552a27b44885cdb263fec03875d36
[ "BSD-2-Clause" ]
35
2018-09-21T01:07:40.000Z
2022-02-25T21:36:47.000Z
/* * Copyright (c) 2018-2019, CNRS-UM LIRMM * 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 con...
36.520325
119
0.625111
stephane-caron
b85961f25b0388f5f4f3b92f7ddc3f3c31839557
1,492
hpp
C++
include/zipxx/Zip.hpp
elasota/libzipxx
24bd839efa7e697b5b359102637fbef66813cb09
[ "MIT" ]
1
2016-01-23T16:16:09.000Z
2016-01-23T16:16:09.000Z
include/zipxx/Zip.hpp
elasota/libzipxx
24bd839efa7e697b5b359102637fbef66813cb09
[ "MIT" ]
1
2022-02-16T04:32:20.000Z
2022-02-16T04:32:20.000Z
include/zipxx/Zip.hpp
elasota/libzipxx
24bd839efa7e697b5b359102637fbef66813cb09
[ "MIT" ]
2
2016-01-23T05:33:09.000Z
2022-02-16T00:39:00.000Z
// Copyright (c) 2009 Chris Pickel <sfiera@gmail.com> // // This file is part of libzipxx, a free software project. You can redistribute // it and/or modify // it under the terms of the MIT License. #ifndef ZIPXX_ZIP_HPP_ #define ZIPXX_ZIP_HPP_ #include <exception> #include <memory> #include <pn/data> #include <pn/s...
21.941176
80
0.681635
elasota
b85b847ae5920f980028cd30b025fe5753268e5c
14,017
cpp
C++
tests/app/main.cpp
cwyyprog/bitshares-core
f47c115cd21e62829e242447398b20b40a32cddf
[ "MIT" ]
7
2016-07-04T20:07:12.000Z
2020-10-20T16:26:14.000Z
tests/app/main.cpp
cwyyprog/bitshares-core
f47c115cd21e62829e242447398b20b40a32cddf
[ "MIT" ]
19
2018-02-01T18:30:11.000Z
2019-02-11T16:53:33.000Z
tests/app/main.cpp
cwyyprog/bitshares-core
f47c115cd21e62829e242447398b20b40a32cddf
[ "MIT" ]
7
2016-11-10T05:04:08.000Z
2020-10-20T16:26:20.000Z
/* * Copyright (c) 2015 Cryptonomex, Inc., and contributors. * * The MIT License * * 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...
39.934473
120
0.708354
cwyyprog
b85c4ab022281377307b8eaad0a59d6f8e1c1a4a
3,676
hpp
C++
ufora/FORA/Native/TypedNativeExpressionConstantConversion.hpp
ufora/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
571
2015-11-05T20:07:07.000Z
2022-01-24T22:31:09.000Z
ufora/FORA/Native/TypedNativeExpressionConstantConversion.hpp
timgates42/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
218
2015-11-05T20:37:55.000Z
2021-05-30T03:53:50.000Z
ufora/FORA/Native/TypedNativeExpressionConstantConversion.hpp
timgates42/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
40
2015-11-07T21:42:19.000Z
2021-05-23T03:48:19.000Z
/*************************************************************************** Copyright 2015 Ufora 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/licen...
24.184211
77
0.737486
ufora
b85dd1f004c48cbcb3309a8fedb63217dc254ada
3,796
cpp
C++
openr/watchdog/Watchdog.cpp
Rachelmorrell/openr
b33bfd17b7ce8489480e2589571998838fd8abf4
[ "MIT" ]
1
2020-03-03T05:46:32.000Z
2020-03-03T05:46:32.000Z
openr/watchdog/Watchdog.cpp
Rachelmorrell/openr
b33bfd17b7ce8489480e2589571998838fd8abf4
[ "MIT" ]
null
null
null
openr/watchdog/Watchdog.cpp
Rachelmorrell/openr
b33bfd17b7ce8489480e2589571998838fd8abf4
[ "MIT" ]
null
null
null
/** * Copyright (c) 2014-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "Watchdog.h" #include <openr/common/Constants.h> #include <openr/common/Util.h> namespace openr { Watchdog::Watchdog( st...
28.977099
78
0.656217
Rachelmorrell
b85e1ed85b521e819607ad2a6d9b280c94f80dcc
3,164
cpp
C++
Fog/FogLabelStatement.cpp
UltimateScript/FOG
edc96d916fc299f0a822f8c534a4e7487c0e3ea2
[ "BSD-3-Clause" ]
null
null
null
Fog/FogLabelStatement.cpp
UltimateScript/FOG
edc96d916fc299f0a822f8c534a4e7487c0e3ea2
[ "BSD-3-Clause" ]
2
2021-07-07T17:31:49.000Z
2021-07-16T11:40:38.000Z
Fog/FogLabelStatement.cpp
OuluLinux/FOG
edc96d916fc299f0a822f8c534a4e7487c0e3ea2
[ "BSD-3-Clause" ]
null
null
null
#include <Fog/FogIncludeAll.h> TYPEINFO_SINGLE(FogLabelStatement, Super) FOGTOKEN_LEAF_IMPL(FogLabelStatement) FogLabelStatement::FogLabelStatement(FogName& aLabel, FogRaw& aStatement) : _label(aLabel), _statement(aStatement) {} FogLabelStatement::FogLabelStatement(const This& aStatement) : Super(aState...
29.027523
112
0.773704
UltimateScript
b85ec88662a5f2649c205a10919ad16fd9ab423b
444
cpp
C++
packages/cpr_x64-linux/cpr/payload.cpp
Rubix982/Digital-Bibliography-Library-Project---The-DBLP-Data-Structure-Project
5f61a1f469f3eb8afbecc4bf3401069b2040118c
[ "MIT" ]
null
null
null
packages/cpr_x64-linux/cpr/payload.cpp
Rubix982/Digital-Bibliography-Library-Project---The-DBLP-Data-Structure-Project
5f61a1f469f3eb8afbecc4bf3401069b2040118c
[ "MIT" ]
null
null
null
packages/cpr_x64-linux/cpr/payload.cpp
Rubix982/Digital-Bibliography-Library-Project---The-DBLP-Data-Structure-Project
5f61a1f469f3eb8afbecc4bf3401069b2040118c
[ "MIT" ]
null
null
null
#include "include/cpr/payload.h" #include <initializer_list> #include <string> #include <include/cpr/util.h> namespace cpr { Payload::Payload(const std::initializer_list<Pair>& pairs) : Payload(begin(pairs), end(pairs)) {} void Payload::AddPair(const Pair& pair) { if (!content.empty()) { content += "&"...
21.142857
97
0.648649
Rubix982
b85fa89003997a9220b4839aff47604d5022fa8d
988
cc
C++
google_apis/gaia/fake_oauth2_token_service.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
google_apis/gaia/fake_oauth2_token_service.cc
JasonEric/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
google_apis/gaia/fake_oauth2_token_service.cc
JasonEric/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 "google_apis/gaia/fake_oauth2_token_service.h" FakeOAuth2TokenService::FakeOAuth2TokenService() { } FakeOAuth2TokenService::~FakeOAuth2TokenSer...
26.702703
75
0.754049
iplo
b860d07e7f0ca9016b7cf1b290d96410ee724861
4,411
cpp
C++
src/blfwk/src/SimPacketizer.cpp
ko7m/NXP_Kinetis_Bootloader
664682cc8ff8faca4e1e0532afb4e6c85dfdf18e
[ "BSD-3-Clause" ]
22
2016-10-01T16:22:43.000Z
2021-07-19T19:03:14.000Z
src/blfwk/src/SimPacketizer.cpp
ko7m/NXP_Kinetis_Bootloader
664682cc8ff8faca4e1e0532afb4e6c85dfdf18e
[ "BSD-3-Clause" ]
12
2016-11-20T21:26:48.000Z
2018-04-30T19:06:15.000Z
src/blfwk/src/SimPacketizer.cpp
ko7m/NXP_Kinetis_Bootloader
664682cc8ff8faca4e1e0532afb4e6c85dfdf18e
[ "BSD-3-Clause" ]
11
2016-09-25T22:41:53.000Z
2021-10-05T11:00:41.000Z
/* * Copyright (c) 2013-14, Freescale Semiconductor, 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: * * o Redistributions of source code must retain the above copyright notice,...
32.433824
105
0.63659
ko7m
b86526003835356b7678a1e03a9960969e01b831
3,470
cpp
C++
src/Core/Support/Debug.cpp
ennis/autograph-pipelines
afc66ef60bf99fca26d200bd7739528e1bf3ed8c
[ "MIT" ]
1
2021-04-24T12:29:42.000Z
2021-04-24T12:29:42.000Z
src/Core/Support/Debug.cpp
ennis/autograph-pipelines
afc66ef60bf99fca26d200bd7739528e1bf3ed8c
[ "MIT" ]
null
null
null
src/Core/Support/Debug.cpp
ennis/autograph-pipelines
afc66ef60bf99fca26d200bd7739528e1bf3ed8c
[ "MIT" ]
null
null
null
#ifdef AG_WINDOWS #include <Windows.h> #endif #include <autograph/Core/Support/Debug.h> #include <exception> #include <iostream> namespace ag { template <typename ResultT, ResultT OffsetBasis, ResultT Prime> class basic_fnv1a final { static_assert(std::is_unsigned<ResultT>::value, "need unsigned integer"); public:...
26.090226
75
0.660807
ennis
b86665de99719224220cb3c4d4fb28877fea534f
1,339
hpp
C++
DoremiEngine/Graphic/Include/Internal/Manager/ShaderManagerImpl.hpp
meraz/doremi
452d08ebd10db50d9563c1cf97699571889ab18f
[ "MIT" ]
1
2020-03-23T15:42:05.000Z
2020-03-23T15:42:05.000Z
DoremiEngine/Graphic/Include/Internal/Manager/ShaderManagerImpl.hpp
Meraz/ssp15
452d08ebd10db50d9563c1cf97699571889ab18f
[ "MIT" ]
null
null
null
DoremiEngine/Graphic/Include/Internal/Manager/ShaderManagerImpl.hpp
Meraz/ssp15
452d08ebd10db50d9563c1cf97699571889ab18f
[ "MIT" ]
1
2020-03-23T15:42:06.000Z
2020-03-23T15:42:06.000Z
#pragma once #include <Interface/Manager/ShaderManager.hpp> #include <string> namespace DoremiEngine { namespace Graphic { struct GraphicModuleContext; class ShaderManagerImpl : public ShaderManager { public: // TODOKO Add docs ShaderManagerImpl(const Gra...
41.84375
148
0.696042
meraz
b866b0ce2bedd8ea5faf1e29ae02481f9d40bbb8
13,814
cpp
C++
extern/carve/lib/octree.cpp
1-MillionParanoidTterabytes/Blender-2.79b-blackened
e8d767324e69015aa66850d13bee7db1dc7d084b
[ "Unlicense" ]
2
2018-06-18T01:50:25.000Z
2018-06-18T01:50:32.000Z
extern/carve/lib/octree.cpp
1-MillionParanoidTterabytes/Blender-2.79b-blackened
e8d767324e69015aa66850d13bee7db1dc7d084b
[ "Unlicense" ]
null
null
null
extern/carve/lib/octree.cpp
1-MillionParanoidTterabytes/Blender-2.79b-blackened
e8d767324e69015aa66850d13bee7db1dc7d084b
[ "Unlicense" ]
null
null
null
// Begin License: // Copyright (C) 2006-2014 Tobias Sargeant (tobias.sargeant@gmail.com). // All rights reserved. // // This file is part of the Carve CSG Library (http://carve-csg.com/) // // This file may be used under the terms of either the GNU General // Public License version 2 or 3 (at your option) as published ...
34.535
159
0.511727
1-MillionParanoidTterabytes
b86bca70f1c8a709987e141703c46bc8a9f5ae97
1,230
cpp
C++
src/Camera.cpp
rabowling/senior-project
07d7a1fba73376bc197f2ff045c057f0808d7612
[ "MIT" ]
1
2021-06-15T01:44:41.000Z
2021-06-15T01:44:41.000Z
src/Camera.cpp
rabowling/senior-project
07d7a1fba73376bc197f2ff045c057f0808d7612
[ "MIT" ]
null
null
null
src/Camera.cpp
rabowling/senior-project
07d7a1fba73376bc197f2ff045c057f0808d7612
[ "MIT" ]
null
null
null
#include "Camera.h" #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <cmath> #include <algorithm> #include <memory> #include <iostream> #include "Application.h" #define GLM_ENABLE_EXPERIMENTAL #include <glm/gtx/quaternion.hpp> using namespace std; using namespace glm; void Camera::update(glm:...
20.5
82
0.63252
rabowling
b86d3c30da3b6cdb850c35dba2153ee65ed1dcb4
770
cpp
C++
src/elona/random.cpp
nanbansenji/ElonaFoobar
ddbd6639db8698e89f09b2512526e855d8016e46
[ "MIT" ]
1
2020-09-11T05:09:53.000Z
2020-09-11T05:09:53.000Z
src/elona/random.cpp
AFB111/elonafoobar
da7a3c86dd45e68e6e490fb260ead1d67c9fff5e
[ "MIT" ]
4
2021-10-30T16:45:25.000Z
2021-11-23T06:25:43.000Z
src/elona/random.cpp
nanbansenji/ElonaFoobar
ddbd6639db8698e89f09b2512526e855d8016e46
[ "MIT" ]
null
null
null
#include "random.hpp" #include "gdata.hpp" namespace elona { namespace detail { xoshiro256::xoshiro256_engine engine{std::random_device{}()}; } // namespace detail void randomize() { ++game_data.random_seed_offset; randomize(game_data.random_seed + game_data.random_seed_offset); } int roll(int x, int...
13.050847
68
0.549351
nanbansenji
b86eaa8c19f35d5cee4bb1aca351e0bbbb2ead24
2,541
cc
C++
extensions/browser/updater/update_data_provider.cc
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
777
2017-08-29T15:15:32.000Z
2022-03-21T05:29:41.000Z
extensions/browser/updater/update_data_provider.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
66
2017-08-30T18:31:18.000Z
2021-08-02T10:59:35.000Z
extensions/browser/updater/update_data_provider.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
123
2017-08-30T01:19:34.000Z
2022-03-17T22:55:31.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 "extensions/browser/updater/update_data_provider.h" #include "base/base64.h" #include "base/bind.h" #include "base/files/file_path.h" #include "...
35.291667
77
0.706021
google-ar
b87403c37289509837985f283a779204eeecb0a5
1,944
hpp
C++
Test/SimpleKernel.hpp
lamsoa729/STKFMM
26d7d971c198e3bed68eb8373e5590a6eb72f764
[ "Apache-2.0" ]
null
null
null
Test/SimpleKernel.hpp
lamsoa729/STKFMM
26d7d971c198e3bed68eb8373e5590a6eb72f764
[ "Apache-2.0" ]
null
null
null
Test/SimpleKernel.hpp
lamsoa729/STKFMM
26d7d971c198e3bed68eb8373e5590a6eb72f764
[ "Apache-2.0" ]
null
null
null
#ifndef SIMPLEKERNEL_HPP #define SIMPLEKERNEL_HPP // 3 3 4 4/16/9/7 void StokesSLPVel(double *s, double *t, double *f, double *pvel); void StokesSLPVelGrad(double *s, double *t, double *f, double *pvelGrad); void StokesSLTraction(double *s, double *t, double *f, ...
43.2
84
0.612654
lamsoa729
b87413395c10e909fc0cd6508677e37abb6f170d
880
cpp
C++
source/parlex/src/match.cpp
dlin172/Plange
4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04
[ "BSD-3-Clause" ]
null
null
null
source/parlex/src/match.cpp
dlin172/Plange
4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04
[ "BSD-3-Clause" ]
null
null
null
source/parlex/src/match.cpp
dlin172/Plange
4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04
[ "BSD-3-Clause" ]
null
null
null
#include "parlex/detail/match.hpp" #include "utils.hpp" namespace parlex { namespace detail { match::match(uint32_t documentPosition, uint16_t recognizerIndex, uint32_t const consumedCharacterCount) : match_class(documentPosition, recognizerIndex), consumed_character_count(consumedCharacterCount) {} match::match(str...
30.344828
206
0.763636
dlin172
b8744b32190de0da1921a650d202e8eaedf5b78f
13,683
hpp
C++
include/ssci/bio/biofingerprint.hpp
syntheticgio/fda-hive
5e645c6a5b76b5a437635631819a1c934c7fd7fc
[ "Unlicense", "MIT" ]
null
null
null
include/ssci/bio/biofingerprint.hpp
syntheticgio/fda-hive
5e645c6a5b76b5a437635631819a1c934c7fd7fc
[ "Unlicense", "MIT" ]
null
null
null
include/ssci/bio/biofingerprint.hpp
syntheticgio/fda-hive
5e645c6a5b76b5a437635631819a1c934c7fd7fc
[ "Unlicense", "MIT" ]
null
null
null
/* * ::718604! * * Copyright(C) November 20, 2014 U.S. Food and Drug Administration * Authors: Dr. Vahan Simonyan (1), Dr. Raja Mazumder (2), et al * Affiliation: Food and Drug Administration (1), George Washington University (2) * * All rights Reserved. * * The MIT License (MIT) * * Permission is hereb...
36.102902
131
0.489366
syntheticgio
b8744e414c63dd20f162814411a73ae3df6ffd88
525
cpp
C++
FT_Bakery/a02ex03_d.cpp
matheuspercario/SI300-POO1
d071a8cd399e3e9e667c1ce295cbfdcfe4eef796
[ "MIT" ]
null
null
null
FT_Bakery/a02ex03_d.cpp
matheuspercario/SI300-POO1
d071a8cd399e3e9e667c1ce295cbfdcfe4eef796
[ "MIT" ]
null
null
null
FT_Bakery/a02ex03_d.cpp
matheuspercario/SI300-POO1
d071a8cd399e3e9e667c1ce295cbfdcfe4eef796
[ "MIT" ]
null
null
null
/* Unicamp - Universidade Estadual de Campinas FT - Faculdade de Tecnologia Limeira - SP Prof. Dr. Andre F. de Angelis Maio/2015 */ #include <string> #include "a02ex03_b.hpp" #include "a02ex03_d.hpp" using namespace std; Cracker::Cracker(string tipo, int unidades, double valor) : Food(valor) { this...
20.192308
77
0.632381
matheuspercario
b8752892357b574228ab8aed75f68f25ed0c5433
2,553
cpp
C++
source/tools/timemory-nvml/nvml_utilization_rate.cpp
tkonolige/timemory
1662925a3a7b6dfb1b7bba08ebd366d3fe38194a
[ "MIT" ]
284
2019-08-06T17:41:39.000Z
2022-03-25T23:37:47.000Z
source/tools/timemory-nvml/nvml_utilization_rate.cpp
tkonolige/timemory
1662925a3a7b6dfb1b7bba08ebd366d3fe38194a
[ "MIT" ]
123
2019-08-06T03:09:54.000Z
2022-02-26T01:51:36.000Z
source/tools/timemory-nvml/nvml_utilization_rate.cpp
tkonolige/timemory
1662925a3a7b6dfb1b7bba08ebd366d3fe38194a
[ "MIT" ]
26
2019-12-06T22:21:09.000Z
2022-03-23T09:34:29.000Z
// MIT License // // Copyright (c) 2020, The Regents of the University of California, // through Lawrence Berkeley National Laboratory (subject to receipt of any // required approvals from the U.S. Dept. of Energy). All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy...
29.011364
87
0.738347
tkonolige
b8760e4a5edd2aa80cfdd7bc84c4485846bba99d
2,837
hpp
C++
example/contrib/socks-client/socks/query.hpp
omegacoleman/beast
98bd70d8747ff42f2d825e0d9773e8ba37dfdefd
[ "BSL-1.0" ]
null
null
null
example/contrib/socks-client/socks/query.hpp
omegacoleman/beast
98bd70d8747ff42f2d825e0d9773e8ba37dfdefd
[ "BSL-1.0" ]
null
null
null
example/contrib/socks-client/socks/query.hpp
omegacoleman/beast
98bd70d8747ff42f2d825e0d9773e8ba37dfdefd
[ "BSL-1.0" ]
null
null
null
// // Copyright (c) 2018 jackarain (jack dot wgm at gmail dot com) // // 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) // // Official repository: https://github.com/boostorg/beast // #ifndef SOCKS_QUERY_HPP #define ...
19.701389
79
0.522735
omegacoleman
b8760ffe02069eae077449d6eab9a21083d72b33
3,851
cc
C++
leetcode/leet-63.cc
yanrong/acm
a3bbc3b07eb3eeb2535f4a732228b7e27746bfb2
[ "Apache-2.0" ]
4
2020-03-20T10:39:08.000Z
2020-12-04T00:36:54.000Z
leetcode/leet-63.cc
yanrong/acm
a3bbc3b07eb3eeb2535f4a732228b7e27746bfb2
[ "Apache-2.0" ]
null
null
null
leetcode/leet-63.cc
yanrong/acm
a3bbc3b07eb3eeb2535f4a732228b7e27746bfb2
[ "Apache-2.0" ]
null
null
null
#include<vector> using std::vector; class Solution { public: int uniquePathsWithObstacles(vector<vector<int>>& obstacleGrid) { int m = obstacleGrid.size(); int n = obstacleGrid[0].size(); //int will be overflow, vector<vector<long>> dp(m, vector<long>(n)); dp[0][0] = obstacl...
35.330275
98
0.450792
yanrong
b876213970e19a56398a3913d3aa2b7dc915294b
2,319
hxx
C++
main/autodoc/inc/autodoc/parsing.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/autodoc/inc/autodoc/parsing.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/autodoc/inc/autodoc/parsing.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
30.92
157
0.641656
Grosskopf
b877c5719762559aaef1cf34d76178d00a0c54cb
819
cpp
C++
Armenian SPOJ Solutions/OBCHESS.cpp
aristakesyanl/Armenian-Spoj-Solutions
89d9ed139b5fd93c56f16d2944317e912524a705
[ "MIT" ]
1
2021-03-31T12:45:15.000Z
2021-03-31T12:45:15.000Z
Armenian SPOJ Solutions/OBCHESS.cpp
aristakesyanl/Armenian-Spoj-Solutions
89d9ed139b5fd93c56f16d2944317e912524a705
[ "MIT" ]
null
null
null
Armenian SPOJ Solutions/OBCHESS.cpp
aristakesyanl/Armenian-Spoj-Solutions
89d9ed139b5fd93c56f16d2944317e912524a705
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include<cmath> using namespace std; int ABS(int n) { if(n>=0) return n; return (-1)*n; } int main() { ios_base::sync_with_stdio(false); int arr[8][8]; for (int i = 0; i < 8; i++) { for (int j = 0; j < 8; j++) { cin >> ar...
19.5
121
0.367521
aristakesyanl
b87833d603759181855606047bf43b3748b9b03f
548
cpp
C++
Cpp/Math/Problems/fizzbuzz.cpp
mailtokartik1/InterviewBit-Solutions
8a9be25cf55947aff456c7c138e2ee6f518aa6a5
[ "MIT" ]
58
2019-06-15T01:35:06.000Z
2021-04-27T08:32:39.000Z
Math/Problems/fizzbuzz.cpp
mojo912/InterviewBit-Solutions
62fb19efff15bbe3b42183c12d2e6adf7c4c2a84
[ "MIT" ]
3
2019-06-17T00:20:13.000Z
2019-06-30T05:41:10.000Z
Math/Problems/fizzbuzz.cpp
mojo912/InterviewBit-Solutions
62fb19efff15bbe3b42183c12d2e6adf7c4c2a84
[ "MIT" ]
14
2019-06-15T01:35:09.000Z
2020-08-27T19:45:28.000Z
vector<string> Solution::fizzBuzz(int A) { vector<string> B(A); // check if (i + 1) is divisible by 3 or 5 for (int i = 0; i < B.size(); i ++) { if ((i + 1) % 3 == 0 && (i + 1) % 5 == 0) { B[i] = "FizzBuzz"; continue; } else if ((i + 1) % 3 == 0) { B[i] ...
23.826087
51
0.355839
mailtokartik1
b8789b28ab839fd718c561e459903e13478f192f
753
cpp
C++
src/cells/src/lib/logic/display/MapDisplay.cpp
SimonPiCarter/GameEngine
10d366bd37d202a5a22eb504b2a2dd9a49669dc8
[ "Apache-2.0" ]
null
null
null
src/cells/src/lib/logic/display/MapDisplay.cpp
SimonPiCarter/GameEngine
10d366bd37d202a5a22eb504b2a2dd9a49669dc8
[ "Apache-2.0" ]
15
2021-05-18T14:16:03.000Z
2021-06-17T19:36:32.000Z
src/cells/src/lib/logic/display/MapDisplay.cpp
SimonPiCarter/GameEngine
10d366bd37d202a5a22eb504b2a2dd9a49669dc8
[ "Apache-2.0" ]
null
null
null
#include "MapDisplay.h" #include <engine/GraphicEngine.h> #include "logic/layout/MapLayout.h" MapDisplay::MapDisplay(std::string const &scene_p, MapLayout const * layout_p) : _scene(scene_p) , _layout(layout_p) {} MapDisplay * newMapDisplay(std::string const &scene_p, MapLayout const * layout_p, GraphicEngine & ...
27.888889
109
0.737052
SimonPiCarter
b87c277fbf948447f034c5800a55c5a5d0bef263
2,730
cpp
C++
i18n/csrutf8.cpp
tizenorg/external.icu
5b69033400476be749862631609f60bd7daaacd7
[ "ICU" ]
263
2015-01-04T16:39:18.000Z
2022-01-05T17:52:38.000Z
i18n/csrutf8.cpp
tizenorg/external.icu
5b69033400476be749862631609f60bd7daaacd7
[ "ICU" ]
3
2015-09-06T09:06:39.000Z
2019-10-15T00:52:49.000Z
source/icu/source/i18n/csrutf8.cpp
racker/omnibus
7f619cee98d551acaef3aed28c85f1c150d0ed8a
[ "Apache-2.0" ]
105
2015-01-11T11:45:12.000Z
2022-02-22T07:26:36.000Z
/* ********************************************************************** * Copyright (C) 2005-2008, International Business Machines * Corporation and others. All Rights Reserved. ********************************************************************** */ #include "unicode/utypes.h" #if !UCONFIG_NO_CONVERSION...
24.375
82
0.482418
tizenorg
b87c6565898a98d56842ff5a32b9ccdcdddf8032
3,420
hxx
C++
ds/adsi/router/crsinfo.hxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
ds/adsi/router/crsinfo.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
ds/adsi/router/crsinfo.hxx
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, 1992 - 1995. // // File: CRSembed.hxx // // Contents: IRowsetInfo and IGetRow methods // // Functions: // // Notes: // // // History: 08/30/96 ...
25.714286
86
0.512281
npocmaka
b87f8b6080b1f1a434b2da9413584760af8b8b50
677
cpp
C++
BST/111. Minimum Depth of Binary Tree.cpp
YuPeize/LeetCode-
b01d00f28e1eedcb04aee9eca984685bd9d52791
[ "MIT" ]
null
null
null
BST/111. Minimum Depth of Binary Tree.cpp
YuPeize/LeetCode-
b01d00f28e1eedcb04aee9eca984685bd9d52791
[ "MIT" ]
null
null
null
BST/111. Minimum Depth of Binary Tree.cpp
YuPeize/LeetCode-
b01d00f28e1eedcb04aee9eca984685bd9d52791
[ "MIT" ]
null
null
null
/* author: ypz */ /** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: int minDepth(TreeNode* root) { if(root == NULL) return 0; el...
25.074074
90
0.524372
YuPeize
b880c5c2100dd2399ad18da57102a61d643749eb
2,092
hpp
C++
willow/include/popart/tensordata.hpp
graphcore/popart
15ce5b098638dc34a4d41ae2a7621003458df798
[ "MIT" ]
61
2020-07-06T17:11:46.000Z
2022-03-12T14:42:51.000Z
willow/include/popart/tensordata.hpp
graphcore/popart
15ce5b098638dc34a4d41ae2a7621003458df798
[ "MIT" ]
1
2021-02-25T01:30:29.000Z
2021-11-09T11:13:14.000Z
willow/include/popart/tensordata.hpp
graphcore/popart
15ce5b098638dc34a4d41ae2a7621003458df798
[ "MIT" ]
6
2020-07-15T12:33:13.000Z
2021-11-07T06:55:00.000Z
// Copyright (c) 2018 Graphcore Ltd. All rights reserved. #ifndef GUARD_NEURALNET_TENSORDATA_HPP #define GUARD_NEURALNET_TENSORDATA_HPP #include <functional> #include <numeric> #include <ostream> #include <popart/error.hpp> #include <popart/iarray.hpp> #include <popart/names.hpp> #include <popart/tensorinfo.hpp> name...
30.764706
79
0.690249
graphcore
b8826393ac775fa038ff398105f4c36129eda5ab
2,042
cpp
C++
test/c++/nda_storage.cpp
Wentzell/nda
69106a64799e7942bf4b1b78fdadf3e7c9477c70
[ "Apache-2.0" ]
1
2022-03-08T06:35:19.000Z
2022-03-08T06:35:19.000Z
test/c++/nda_storage.cpp
smile1103/nda
ff2239b910a5964942833e07d282a8cea32cb6fa
[ "Apache-2.0" ]
null
null
null
test/c++/nda_storage.cpp
smile1103/nda
ff2239b910a5964942833e07d282a8cea32cb6fa
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2018-2021 Simons Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0.txt // // Unless required by applicable l...
22.688889
75
0.635162
Wentzell
b8838ea8c75e37ab150ddd7dcda4b9f3d2b0b4ce
537
cpp
C++
C++/triangle.cpp
kennethsequeira/Hello-world
464227bc7d9778a4a2a4044fe415a629003ea77f
[ "MIT" ]
1,428
2018-10-03T15:15:17.000Z
2019-03-31T18:38:36.000Z
C++/triangle.cpp
kennethsequeira/Hello-world
464227bc7d9778a4a2a4044fe415a629003ea77f
[ "MIT" ]
1,162
2018-10-03T15:05:49.000Z
2018-10-18T14:17:52.000Z
C++/triangle.cpp
kennethsequeira/Hello-world
464227bc7d9778a4a2a4044fe415a629003ea77f
[ "MIT" ]
3,909
2018-10-03T15:07:19.000Z
2019-03-31T18:39:08.000Z
#include <iostream> #include<stdlib.h> using namespace std; int main() { int n,k,l=-1,r; cout<<"enter the value of rows(above 0):\n"; while(1){ cin>>n; if(n>0) break; cout<<"make sure that the rows is more than 0\n\n"; } for(int i=1;i<=n;i++) { for(int space = 1;space<=n-i;space++)...
15.794118
53
0.459963
kennethsequeira
b88457b83a11877bf13e603e1a193641199586f0
2,482
hpp
C++
boost/boost/python/detail/borrowed_ptr.hpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
133
2018-04-20T14:09:40.000Z
2021-08-15T11:51:25.000Z
boost/boost/python/detail/borrowed_ptr.hpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
61
2015-05-27T11:20:11.000Z
2019-12-20T15:06:21.000Z
boost/boost/python/detail/borrowed_ptr.hpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
83
2018-04-27T03:58:02.000Z
2022-01-11T09:23:40.000Z
#ifndef BORROWED_PTR_DWA20020601_HPP # define BORROWED_PTR_DWA20020601_HPP // Copyright David Abrahams 2002. // 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) # include <boost/config.hpp> # include <boost/type.hpp...
22.160714
89
0.735294
randolphwong
b886eef21a6ba7a1968b95823cded463ab384aad
4,874
cpp
C++
library/Java/Util/Concurrent/Semaphore/SemaphoreTest.cpp
foodtiny/native
9025d337c50951b2d31eb243d0b5414496171ea5
[ "Zlib" ]
19
2017-06-10T11:32:06.000Z
2018-07-07T13:38:50.000Z
library/Java/Util/Concurrent/Semaphore/SemaphoreTest.cpp
tinylife-io/native
9025d337c50951b2d31eb243d0b5414496171ea5
[ "Zlib" ]
188
2017-06-10T19:45:18.000Z
2018-07-27T16:52:21.000Z
library/Java/Util/Concurrent/Semaphore/SemaphoreTest.cpp
foodtiny/native
9025d337c50951b2d31eb243d0b5414496171ea5
[ "Zlib" ]
8
2017-06-23T06:59:16.000Z
2018-07-19T11:38:24.000Z
/** * Copyright 2017-2020 Tiny Express Project. 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 condi...
33.383562
79
0.710915
foodtiny
b88bd9c3977e9eceafbfb8f74681164f293ea7ba
17,197
cpp
C++
source/Tokenizer.cpp
xzrunner/cslang
179b645c9693c3c791be11a32db877be483e9a48
[ "MIT" ]
null
null
null
source/Tokenizer.cpp
xzrunner/cslang
179b645c9693c3c791be11a32db877be483e9a48
[ "MIT" ]
null
null
null
source/Tokenizer.cpp
xzrunner/cslang
179b645c9693c3c791be11a32db877be483e9a48
[ "MIT" ]
null
null
null
#include "cslang/Tokenizer.h" #include "cslang/keyword.h" #define HIGH_4BIT(v) ((v) >> (8 * sizeof(int) - 4) & 0x0f) #define HIGH_3BIT(v) ((v) >> (8 * sizeof(int) - 3) & 0x07) #define HIGH_1BIT(v) ((v) >> (8 * sizeof(int) - 1) & 0x01) namespace { // todo: wide void AppendSTR(std::string& str, char*...
17.747162
93
0.531314
xzrunner
b88c21922f440b3b16c926d2883e44262c04f616
406
cpp
C++
CodeForces/Solutions/263A.cpp
Shefin-CSE16/Competitive-Programming
7c792081ae1d4b7060893165de34ffe7b9b7caed
[ "MIT" ]
5
2020-10-03T17:15:26.000Z
2022-03-29T21:39:22.000Z
CodeForces/Solutions/263A.cpp
Shefin-CSE16/Competitive-Programming
7c792081ae1d4b7060893165de34ffe7b9b7caed
[ "MIT" ]
null
null
null
CodeForces/Solutions/263A.cpp
Shefin-CSE16/Competitive-Programming
7c792081ae1d4b7060893165de34ffe7b9b7caed
[ "MIT" ]
1
2021-03-01T12:56:50.000Z
2021-03-01T12:56:50.000Z
#include <bits/stdc++.h> using namespace std; #define ll long long int main() { ll row, col, in; for(ll i = 1; i <= 5; i++) { for(ll j = 1; j <= 5; j++) { scanf("%lld", &in); if(in == 1) { row = i; col = j; } } } ll ...
16.24
36
0.366995
Shefin-CSE16
b88efe6529ad08bfd4d038c80cd71172da373891
1,359
hpp
C++
SDIApp/AppCmds.hpp
chrisoldwood/Template
9c09d28d97d821753a1607b92cd03cfa70d48353
[ "MIT" ]
3
2015-10-13T00:51:58.000Z
2020-09-11T13:13:28.000Z
SDIApp/AppCmds.hpp
chrisoldwood/Template
9c09d28d97d821753a1607b92cd03cfa70d48353
[ "MIT" ]
null
null
null
SDIApp/AppCmds.hpp
chrisoldwood/Template
9c09d28d97d821753a1607b92cd03cfa70d48353
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// //! \file AppCmds.hpp //! \brief The AppCmds class declaration. //! \author Chris Oldwood // Check for previous inclusion #ifndef APP_APPCMDS_HPP #define APP_APPCMDS_HPP #if _MSC_VER > 1000 #pragma once #endif #include <WCL/SDICmds.h...
17.649351
80
0.605592
chrisoldwood
b88f7497c90b2b2e511bbd11481fae6b85a1507e
531
cc
C++
Daily_Problem/2101/Beginning/210109_Best_Time_To_Buy_And_Sell_Stock_III/method1/solution.cc
sheriby/DandAInLeetCode
dd7f5029aa0c297ea82bb20f882b524789f35c96
[ "MIT" ]
1
2020-02-07T12:25:56.000Z
2020-02-07T12:25:56.000Z
Daily_Problem/2101/Beginning/210109_Best_Time_To_Buy_And_Sell_Stock_III/method1/solution.cc
sheriby/DandAInLeetCode
dd7f5029aa0c297ea82bb20f882b524789f35c96
[ "MIT" ]
null
null
null
Daily_Problem/2101/Beginning/210109_Best_Time_To_Buy_And_Sell_Stock_III/method1/solution.cc
sheriby/DandAInLeetCode
dd7f5029aa0c297ea82bb20f882b524789f35c96
[ "MIT" ]
null
null
null
#include <vector> using std::vector; class Solution { public: // 又是股票问题,动态规划 int maxProfit(vector<int>& prices) { int n = prices.size(); int buy1 = -prices[0], sell1 = 0; int buy2 = -prices[0], sell2 = 0; for (int i = 1; i < n; ++i) { buy1 = std::max(buy1, -prices...
26.55
54
0.489642
sheriby
b890d8a0ca6fcb2177fe596be01eb0c34c4cc758
5,149
cpp
C++
samples/Common/SampleFramework_Windows.cpp
SoulForMachine/GLSlayer
37a0fab90c4e2c3a22279cc93d39e8f3091b5e12
[ "MIT" ]
null
null
null
samples/Common/SampleFramework_Windows.cpp
SoulForMachine/GLSlayer
37a0fab90c4e2c3a22279cc93d39e8f3091b5e12
[ "MIT" ]
1
2017-10-24T12:19:52.000Z
2017-10-24T12:19:52.000Z
samples/Common/SampleFramework_Windows.cpp
SoulForMachine/GLSlayer
37a0fab90c4e2c3a22279cc93d39e8f3091b5e12
[ "MIT" ]
null
null
null
#include "SampleFramework_Windows.h" #include <cassert> #include "GLSlayer/RenderContextInit.h" #include "ISample.h" #pragma comment(lib, "winmm.lib") #pragma comment(lib, "GLSlayer.lib") SampleFramework::SampleFramework(const wchar_t* name, int wndWidth, int wndHeight) : _appName(name) , _wndWidth(wndWidth) , ...
18.655797
122
0.703632
SoulForMachine
b8959baefbe63158ad4c81e5b51e6c6f8542f7ea
774
cpp
C++
addons/role/config.cpp
JeffPerk/HavocTeam
6fb616c41da4baece79ebac941bac72a78c715f9
[ "MIT" ]
null
null
null
addons/role/config.cpp
JeffPerk/HavocTeam
6fb616c41da4baece79ebac941bac72a78c715f9
[ "MIT" ]
7
2021-11-22T04:36:52.000Z
2021-12-13T18:55:24.000Z
addons/role/config.cpp
JeffPerk/HavocTeam
6fb616c41da4baece79ebac941bac72a78c715f9
[ "MIT" ]
null
null
null
#include "script_component.hpp" class CfgPatches { class ADDON { name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; requiredAddons[] = {"havoc_main"}; author = ""; authors[] = {""}; VERSION_CONFIG; }; }; #inc...
21.5
43
0.52584
JeffPerk