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
109
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
48.5k
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
f58bc28c692b842f1941d2afebc6d1a6a6d3d3d3
4,884
cpp
C++
demos/glut/multibody/src/scenes/setup_silo.cpp
ricortiz/OpenTissue
f8c8ebc5137325b77ba90bed897f6be2795bd6fb
[ "Zlib" ]
null
null
null
demos/glut/multibody/src/scenes/setup_silo.cpp
ricortiz/OpenTissue
f8c8ebc5137325b77ba90bed897f6be2795bd6fb
[ "Zlib" ]
null
null
null
demos/glut/multibody/src/scenes/setup_silo.cpp
ricortiz/OpenTissue
f8c8ebc5137325b77ba90bed897f6be2795bd6fb
[ "Zlib" ]
null
null
null
// // OpenTissue Template Library Demo // - A specific demonstration of the flexibility of OTTL. // Copyright (C) 2008 Department of Computer Science, University of Copenhagen. // // OTTL and OTTL Demos are licensed under zlib. // #include "setup_silo.h" #include <OpenTissue/core/geometry/geometry_compute_box_mass_prop...
34.885714
148
0.701065
ricortiz
f58cfc1e55dd4124dbb107d0b96fdb2a1a7fafe1
823
cxx
C++
Software/CPU/myscrypt/build/cmake-3.12.3/Source/cmGhsMultiGpj.cxx
duonglvtnaist/Multi-ROMix-Scrypt-Accelerator
9cb9d96c72c3e912fb7cfd5a786e50e4844a1ee8
[ "MIT" ]
2
2020-03-05T06:39:03.000Z
2020-03-31T12:08:04.000Z
Software/CPU/myscrypt/build/cmake-3.12.3/Source/cmGhsMultiGpj.cxx
duonglvtnaist/Multi-ROMix-Scrypt-Accelerator
9cb9d96c72c3e912fb7cfd5a786e50e4844a1ee8
[ "MIT" ]
3
2021-09-08T02:18:00.000Z
2022-03-12T00:39:44.000Z
Software/CPU/myscrypt/build/cmake-3.12.3/Source/cmGhsMultiGpj.cxx
duonglvtnaist/Multi-ROMix-Scrypt-Accelerator
9cb9d96c72c3e912fb7cfd5a786e50e4844a1ee8
[ "MIT" ]
1
2021-09-07T07:20:33.000Z
2021-09-07T07:20:33.000Z
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying file Copyright.txt or https://cmake.org/licensing for details. */ #include "cmGhsMultiGpj.h" #include "cmGeneratedFileStream.h" void GhsMultiGpj::WriteGpjTag(Types const gpjType, cmGeneratedFileStream* cons...
23.514286
77
0.595383
duonglvtnaist
f59289e226a22047d82b74f5144c06811289c87a
1,231
hpp
C++
src/ray.hpp
JonasMuehlmann/ggmath
2130f5f9b23191405955eb161dcafa2ee4ddad8e
[ "MIT" ]
null
null
null
src/ray.hpp
JonasMuehlmann/ggmath
2130f5f9b23191405955eb161dcafa2ee4ddad8e
[ "MIT" ]
null
null
null
src/ray.hpp
JonasMuehlmann/ggmath
2130f5f9b23191405955eb161dcafa2ee4ddad8e
[ "MIT" ]
null
null
null
// Copyright 2021 Jonas Muehlmann // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, copy, modify, // merge, publish, d...
58.619048
88
0.772543
JonasMuehlmann
f5933e14ccca003a142f0ec692a6f458175a9c0b
949
cpp
C++
ThirdParty/VaQuoleUI/Private/VaQuoleWebPage.cpp
ufna/VaQuoleUI
54824998d5d23f360bc283a02e5e48852e487ec5
[ "MIT" ]
94
2015-01-15T04:09:47.000Z
2022-02-19T04:31:09.000Z
ThirdParty/VaQuoleUI/Private/VaQuoleWebPage.cpp
richmondx/VaQuoleUI
54824998d5d23f360bc283a02e5e48852e487ec5
[ "MIT" ]
1
2015-10-30T11:16:44.000Z
2015-10-30T11:16:44.000Z
ThirdParty/VaQuoleUI/Private/VaQuoleWebPage.cpp
richmondx/VaQuoleUI
54824998d5d23f360bc283a02e5e48852e487ec5
[ "MIT" ]
48
2015-01-28T23:01:57.000Z
2021-06-15T04:21:57.000Z
// Copyright 2014 Vladimir Alyamkin. All Rights Reserved. #include "VaQuoleWebPage.h" #include <QDebug> namespace VaQuole { VaQuoleWebPage::VaQuoleWebPage(QObject *parent) : QWebPage(parent) { } QString VaQuoleWebPage::chooseFile(QWebFrame * parentFrame, const QString & suggestedFile) { qDebug() << "chooseFile:...
21.568182
125
0.727081
ufna
f594951be0efe3b8da15044f963f1fbf8a142d9d
9,807
cpp
C++
src/resqml2_0_1/Grid2dSetRepresentation.cpp
ringmesh/fesapi
0b518e71f805f35679a65c78332b5cb64ed97830
[ "Apache-2.0" ]
null
null
null
src/resqml2_0_1/Grid2dSetRepresentation.cpp
ringmesh/fesapi
0b518e71f805f35679a65c78332b5cb64ed97830
[ "Apache-2.0" ]
null
null
null
src/resqml2_0_1/Grid2dSetRepresentation.cpp
ringmesh/fesapi
0b518e71f805f35679a65c78332b5cb64ed97830
[ "Apache-2.0" ]
null
null
null
/*----------------------------------------------------------------------- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under ...
39.385542
220
0.793413
ringmesh
f594ce8ea51726d34149de24d15aa6b3773d242a
1,982
cpp
C++
allstl.cpp
harsh6768-svg/competitive-practice
14e0d2e4563676756c0ee31acf339f6933428412
[ "MIT" ]
null
null
null
allstl.cpp
harsh6768-svg/competitive-practice
14e0d2e4563676756c0ee31acf339f6933428412
[ "MIT" ]
null
null
null
allstl.cpp
harsh6768-svg/competitive-practice
14e0d2e4563676756c0ee31acf339f6933428412
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define ff first #define ss second #define int long long #define pb push_back #define mp make_pair #define pii pair<int,int> #define vi vector<int> #define mii map<int,int> #define pqb ...
17.855856
71
0.437437
harsh6768-svg
f59512cb40a73b93679b27ec86f9c2c3438adcf9
4,698
hxx
C++
ViewFrustum.hxx
kanait/slimviewGPU
bc30bf199efb9b12098338f56000c9bc7d3641ab
[ "MIT" ]
null
null
null
ViewFrustum.hxx
kanait/slimviewGPU
bc30bf199efb9b12098338f56000c9bc7d3641ab
[ "MIT" ]
null
null
null
ViewFrustum.hxx
kanait/slimviewGPU
bc30bf199efb9b12098338f56000c9bc7d3641ab
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////// // // $Id: ViewFrustum.hxx 2021/06/05 12:50:18 kanai Exp $ // // Copyright (c) 2021 Takashi Kanai // Released under the MIT license // //////////////////////////////////////////////////////////////////// #ifndef _VIEWFRUSTUM_HXX #define _VIEWFRUSTUM_...
29.734177
116
0.510643
kanait
60d1e83c657189fc8be56329396c3c99fa5d0ee4
1,310
cpp
C++
3rdparty/foobar2000/helpers/metadb_io_hintlist.cpp
wyrover/foobar2000-starter
e125868f4e19db1f2e36109d623528f7a6e4aa56
[ "MIT" ]
111
2016-12-12T16:41:20.000Z
2021-12-24T19:06:06.000Z
3rdparty/foobar2000/helpers/metadb_io_hintlist.cpp
wyrover/foobar2000-starter
e125868f4e19db1f2e36109d623528f7a6e4aa56
[ "MIT" ]
9
2016-12-30T09:58:12.000Z
2022-01-20T18:21:53.000Z
3rdparty/foobar2000/helpers/metadb_io_hintlist.cpp
wyrover/foobar2000-starter
e125868f4e19db1f2e36109d623528f7a6e4aa56
[ "MIT" ]
13
2016-12-12T16:49:35.000Z
2022-02-08T06:25:15.000Z
#include "stdafx.h" void metadb_io_hintlist::run() { if (m_entries.get_count() > 0) { static_api_ptr_t<metadb_io>()->hint_multi_async( metadb_io_hintlist_wrapper_part1(m_entries), metadb_io_hintlist_wrapper_part2(m_entries), metadb_io_hintlist_wrapper_part3(m_entries), metadb_io_hintlist_wrapper_part4(m...
32.75
132
0.774046
wyrover
60d2ca59a02e499d1fa39ba6118238418dc828a5
24,314
hpp
C++
libcaf_io/caf/io/network/default_multiplexer.hpp
novaquark/actor-framework
08185596403b843a5fa50b56c22d2b2f2771b787
[ "BSL-1.0", "BSD-3-Clause" ]
1
2020-07-16T19:01:39.000Z
2020-07-16T19:01:39.000Z
libcaf_io/caf/io/network/default_multiplexer.hpp
novaquark/actor-framework
08185596403b843a5fa50b56c22d2b2f2771b787
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
libcaf_io/caf/io/network/default_multiplexer.hpp
novaquark/actor-framework
08185596403b843a5fa50b56c22d2b2f2771b787
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor * ...
31.535668
84
0.665954
novaquark
60d56cfdb42a041b0fc2844abee066a687a88011
4,323
cpp
C++
examples/example2.cpp
spiroyster/delaunay
36efe7a9b8f02a6cb32572e89067cc506c177c30
[ "MIT" ]
null
null
null
examples/example2.cpp
spiroyster/delaunay
36efe7a9b8f02a6cb32572e89067cc506c177c30
[ "MIT" ]
1
2020-03-08T16:27:25.000Z
2020-05-19T00:19:01.000Z
examples/example2.cpp
spiroyster/delaunay
36efe7a9b8f02a6cb32572e89067cc506c177c30
[ "MIT" ]
1
2020-04-09T05:47:53.000Z
2020-04-09T05:47:53.000Z
/* MIT License Copyright (c) 2019 Cordell Barron Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, m...
32.022222
205
0.658108
spiroyster
60d79a279fe5f65b61f76c8a7e8aacf20afe017c
9,488
cc
C++
code/addons/forest/rt/forestserver.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
67
2015-03-30T19:56:16.000Z
2022-03-11T13:52:17.000Z
code/addons/forest/rt/forestserver.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
5
2015-04-15T17:17:33.000Z
2016-02-11T00:40:17.000Z
code/addons/forest/rt/forestserver.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
34
2015-03-30T15:08:00.000Z
2021-09-23T05:55:10.000Z
//------------------------------------------------------------------------------ // forestserver.cc // (C) 2008 Radon Labs GmbH // (C) 2013-2016 Individual contributors, see AUTHORS file //------------------------------------------------------------------------------ #include "stdneb.h" #include "forest/rt/forestser...
27.581395
142
0.552804
gscept
60dc18341962422bef8a7db26d86623675b90cc7
2,635
cc
C++
lib/status.cc
equinox1993/cmus-client-cpp
f26ca362e5547354badcbcfd9194323baec98d4c
[ "MIT" ]
1
2021-02-13T10:22:37.000Z
2021-02-13T10:22:37.000Z
lib/status.cc
equinox1993/cmus-client-cpp
f26ca362e5547354badcbcfd9194323baec98d4c
[ "MIT" ]
null
null
null
lib/status.cc
equinox1993/cmus-client-cpp
f26ca362e5547354badcbcfd9194323baec98d4c
[ "MIT" ]
null
null
null
//****************************************** // Author : Yuwei Huang // Created On : Sun Feb 18 2018 // File : status.cc //****************************************** #include "status.h" #include <regex> #include <sstream> namespace cmusclient { namespace { // G1: status const std::regex kStatusExp(R"exp(^status...
24.626168
74
0.634156
equinox1993
60dd7c46ec2376774d8d0e9df1da2e425d4066af
6,833
cxx
C++
fltk/fltk-1.3.5/src/fl_color_win32.cxx
LeeSawyer/ElmaMazeSolver
3c2443dc1d75df945b72f8bd7915657d3fd059e0
[ "MIT" ]
4
2020-05-15T03:43:53.000Z
2021-06-05T16:21:31.000Z
fltk/fltk-1.3.5/src/fl_color_win32.cxx
LeeSawyer/ElmaMazeSolver
3c2443dc1d75df945b72f8bd7915657d3fd059e0
[ "MIT" ]
1
2021-04-19T19:48:04.000Z
2021-04-19T19:48:04.000Z
fltk/fltk-1.3.5/src/fl_color_win32.cxx
LeeSawyer/ElmaMazeSolver
3c2443dc1d75df945b72f8bd7915657d3fd059e0
[ "MIT" ]
8
2019-04-21T06:06:11.000Z
2020-05-04T15:20:36.000Z
// // "$Id$" // // WIN32 color functions for the Fast Light Tool Kit (FLTK). // // Copyright 1998-2010 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this // file is missing or damaged...
28.004098
117
0.644373
LeeSawyer
60deebf9a873b594f6b5eeeba5c5d61bc0988c18
5,714
cc
C++
pagespeed/kernel/cache/cache_spammer.cc
dimitrilongo/mod_pagespeed
d0d3bc51aa4feddf010b7085872c64cc46b5aae0
[ "Apache-2.0" ]
2
2019-11-02T07:54:17.000Z
2020-04-16T09:26:51.000Z
pagespeed/kernel/cache/cache_spammer.cc
dimitrilongo/mod_pagespeed
d0d3bc51aa4feddf010b7085872c64cc46b5aae0
[ "Apache-2.0" ]
12
2017-03-14T18:26:11.000Z
2021-10-01T15:33:50.000Z
pagespeed/kernel/cache/cache_spammer.cc
dimitrilongo/mod_pagespeed
d0d3bc51aa4feddf010b7085872c64cc46b5aae0
[ "Apache-2.0" ]
1
2020-04-16T09:28:30.000Z
2020-04-16T09:28:30.000Z
/* * Copyright 2010 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...
31.224044
79
0.638607
dimitrilongo
60e2520dc731f8c9d5d4a55e05f1d590005f68a6
423
cpp
C++
src/homework/01_data_types/main.cpp
acc-cosc-1337-fall-2021/acc-cosc-1337-fall-2021-angelbarbosa1
3e95af6c66d62b4ce01e88c55a914f56fb389251
[ "MIT" ]
null
null
null
src/homework/01_data_types/main.cpp
acc-cosc-1337-fall-2021/acc-cosc-1337-fall-2021-angelbarbosa1
3e95af6c66d62b4ce01e88c55a914f56fb389251
[ "MIT" ]
null
null
null
src/homework/01_data_types/main.cpp
acc-cosc-1337-fall-2021/acc-cosc-1337-fall-2021-angelbarbosa1
3e95af6c66d62b4ce01e88c55a914f56fb389251
[ "MIT" ]
null
null
null
//write include statements #include "data_types.h" #include <iostream> //write namespace using statement for cout using namespace std; using std::cout; using std::cin; /* Call multiply_numbers with 10 and 10 parameter values and display function result */ int main() { int result; int num1; cout<<"Pick a number to m...
20.142857
81
0.730496
acc-cosc-1337-fall-2021
60e30c7beff0eddadd0077f0acb6171e002203ce
1,241
hpp
C++
src/example/pegtl/json_unescape.hpp
ras0219/PEGTL
93b53c80058b2632a7260ab10ef2a06abcc0fc7f
[ "MIT" ]
1
2020-11-10T19:59:47.000Z
2020-11-10T19:59:47.000Z
src/example/pegtl/json_unescape.hpp
ras0219/PEGTL
93b53c80058b2632a7260ab10ef2a06abcc0fc7f
[ "MIT" ]
null
null
null
src/example/pegtl/json_unescape.hpp
ras0219/PEGTL
93b53c80058b2632a7260ab10ef2a06abcc0fc7f
[ "MIT" ]
null
null
null
// Copyright (c) 2014-2020 Dr. Colin Hirsch and Daniel Frey // Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/ #ifndef TAO_PEGTL_SRC_EXAMPLES_PEGTL_JSON_UNESCAPE_HPP #define TAO_PEGTL_SRC_EXAMPLES_PEGTL_JSON_UNESCAPE_HPP #include <string> #include <tao/pegtl/change_action_and_states.hpp> #in...
41.366667
221
0.756648
ras0219
60e4d9282223d14935fe1c6c876a1cdcf0c9cd26
56,996
cpp
C++
OgreMain/src/OgreBillboardSet.cpp
rpaciorek/ogre-next
7bb1d48b86cc2c6590644a685baf55dfca091ea1
[ "MIT" ]
null
null
null
OgreMain/src/OgreBillboardSet.cpp
rpaciorek/ogre-next
7bb1d48b86cc2c6590644a685baf55dfca091ea1
[ "MIT" ]
1
2020-07-25T19:20:07.000Z
2020-07-25T19:20:07.000Z
OgreMain/src/OgreBillboardSet.cpp
joealam/ogre-next
09eb0cc84d0aae04c17dffc85f3881a00fa91366
[ "MIT" ]
null
null
null
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2014 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person ...
36.187937
116
0.505878
rpaciorek
60e4fc72dd48cfc1df7124ebd3c9d31a71c0c4e1
4,418
cpp
C++
videoTools/segmentationlabelconvertwindow.cpp
MiniBullLab/easy_sample_mark
b5cefd0bf5eb3971a21bc766ae4945d18bb7782b
[ "Apache-2.0" ]
1
2021-02-06T12:40:27.000Z
2021-02-06T12:40:27.000Z
videoTools/segmentationlabelconvertwindow.cpp
MiniBullLab/easy_sample_mark
b5cefd0bf5eb3971a21bc766ae4945d18bb7782b
[ "Apache-2.0" ]
19
2020-09-14T01:51:45.000Z
2021-11-21T12:20:53.000Z
videoTools/segmentationlabelconvertwindow.cpp
MiniBullLab/easy_sample_mark
b5cefd0bf5eb3971a21bc766ae4945d18bb7782b
[ "Apache-2.0" ]
1
2020-09-26T12:56:54.000Z
2020-09-26T12:56:54.000Z
#ifdef WIN32 #pragma execution_character_set("utf-8") #endif #include "segmentationlabelconvertwindow.h" #include <QFileDialog> #include <QMessageBox> #include <QDebug> #include "sampleMarkParam/manualparamterconfig.h" SegmentationLabelConvertWindow::SegmentationLabelConvertWindow(QWidget *parent) : QWidget(parent) {...
29.651007
133
0.68402
MiniBullLab
60e52d3d4ba9d83e839a7341377d063f82af24f6
11,067
cxx
C++
src/hmtrp/hmtrp.cxx
whpenner/upm
3168c61d8613da62ecc7598517a1decf533d5fe7
[ "MIT" ]
null
null
null
src/hmtrp/hmtrp.cxx
whpenner/upm
3168c61d8613da62ecc7598517a1decf533d5fe7
[ "MIT" ]
null
null
null
src/hmtrp/hmtrp.cxx
whpenner/upm
3168c61d8613da62ecc7598517a1decf533d5fe7
[ "MIT" ]
null
null
null
/* * Author: Jon Trulson <jtrulson@ics.com> * Copyright (c) 2015 Intel Corporation. * * 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 limitatio...
21.914851
78
0.563206
whpenner
60e53df7bdb6e6d772d706987b4d46a2ba35ca68
16,389
cpp
C++
src/cpu/jit_avx512_common_convolution.cpp
GuideWsp/mkl-dnn
264ad6619810c196971f8cd46a9cbcd480979a48
[ "Apache-2.0" ]
null
null
null
src/cpu/jit_avx512_common_convolution.cpp
GuideWsp/mkl-dnn
264ad6619810c196971f8cd46a9cbcd480979a48
[ "Apache-2.0" ]
null
null
null
src/cpu/jit_avx512_common_convolution.cpp
GuideWsp/mkl-dnn
264ad6619810c196971f8cd46a9cbcd480979a48
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Copyright 2016-2017 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apa...
38.113953
81
0.571359
GuideWsp
60e9a800b20e3b0d609570bdaf36babc35152027
2,313
hpp
C++
include/caffe/syncedmem.hpp
gujunli/OpenCL-CAFFE-Research
e8848f727733e503671e0e6a68aa885973b31197
[ "BSD-2-Clause" ]
null
null
null
include/caffe/syncedmem.hpp
gujunli/OpenCL-CAFFE-Research
e8848f727733e503671e0e6a68aa885973b31197
[ "BSD-2-Clause" ]
null
null
null
include/caffe/syncedmem.hpp
gujunli/OpenCL-CAFFE-Research
e8848f727733e503671e0e6a68aa885973b31197
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2014 BVLC and contributors. #ifndef CAFFE_SYNCEDMEM_HPP_ #define CAFFE_SYNCEDMEM_HPP_ #include <cstdlib> #include "caffe/common.hpp" namespace caffe { // Theoretically, CaffeMallocHost and CaffeFreeHost should simply call the // cudaMallocHost and cudaFree functions in order to create pinned memory. /...
29.278481
76
0.728491
gujunli
60eae2910b97015241d122b5bc136ab3c46393ec
3,200
cpp
C++
Source/Tank/TankPlayerController.cpp
Ar8yZ/GeekBrain_HW
79e1f5a1745487e8f99b2afd3a1beb55219d25ff
[ "Unlicense" ]
null
null
null
Source/Tank/TankPlayerController.cpp
Ar8yZ/GeekBrain_HW
79e1f5a1745487e8f99b2afd3a1beb55219d25ff
[ "Unlicense" ]
null
null
null
Source/Tank/TankPlayerController.cpp
Ar8yZ/GeekBrain_HW
79e1f5a1745487e8f99b2afd3a1beb55219d25ff
[ "Unlicense" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "TankPlayerController.h" #include "TankPawn.h" #include "DrawDebugHelpers.h" void ATankPlayerController::BeginPlay() { Super::BeginPlay(); TankPawn = Cast<ATankPawn>(GetPawn()); bShowMouseCursor = true; } void ATankPlayerCon...
27.350427
169
0.776563
Ar8yZ
60ec75a421292512fe7f472a7e0614e1d8537b16
4,513
cpp
C++
sycl/unittests/pi/cuda/test_interop_get_native.cpp
rdeodhar/llvm
0c33048e492661e50596eb5f8650eeff92347db9
[ "Apache-2.0" ]
653
2018-12-27T15:00:01.000Z
2022-03-30T11:52:23.000Z
sycl/unittests/pi/cuda/test_interop_get_native.cpp
rdeodhar/llvm
0c33048e492661e50596eb5f8650eeff92347db9
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
sycl/unittests/pi/cuda/test_interop_get_native.cpp
rdeodhar/llvm
0c33048e492661e50596eb5f8650eeff92347db9
[ "Apache-2.0" ]
500
2019-01-23T07:49:22.000Z
2022-03-30T02:59:37.000Z
//==------- test_interop_get_native.cpp - SYCL CUDA get_native tests -------==// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
34.984496
80
0.70729
rdeodhar
60ecbe145e3c5ac66a39de4e4afa35c156dc66d0
2,799
cpp
C++
Src/Engine_Interface/UICheckBox.cpp
dingpong/Old-GameEngine-BaseProject
a04d634dcfe04300525198b26d167603299bd4ac
[ "MIT" ]
null
null
null
Src/Engine_Interface/UICheckBox.cpp
dingpong/Old-GameEngine-BaseProject
a04d634dcfe04300525198b26d167603299bd4ac
[ "MIT" ]
null
null
null
Src/Engine_Interface/UICheckBox.cpp
dingpong/Old-GameEngine-BaseProject
a04d634dcfe04300525198b26d167603299bd4ac
[ "MIT" ]
null
null
null
#include "StdAfx.h" #include "UIDialog.h" #include "UICheckBox.h" //-------------------------------------------------------------------------------------- // cUICheckBox class //-------------------------------------------------------------------------------------- cUICheckBox::cUICheckBox( cUIDialog *pDialog ) { m_...
20.430657
88
0.632011
dingpong
60ed8654e60b92061f72b1f29a9a9c0b5bfb59c9
143
cpp
C++
hdu/1000/10/1090.cpp
TheBadZhang/OJ
b5407f2483aa630068343b412ecaf3a9e3303f7e
[ "Apache-2.0" ]
1
2020-07-22T16:54:07.000Z
2020-07-22T16:54:07.000Z
hdu/1000/10/1090.cpp
TheBadZhang/OJ
b5407f2483aa630068343b412ecaf3a9e3303f7e
[ "Apache-2.0" ]
1
2018-05-12T12:53:06.000Z
2018-05-12T12:53:06.000Z
hdu/1000/10/1090.cpp
TheBadZhang/OJ
b5407f2483aa630068343b412ecaf3a9e3303f7e
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; int main() { int N; cin>>N; while(N--) { int a,b; cin>>a>>b; cout<<a+b<<endl; } return 0; }
11.916667
20
0.559441
TheBadZhang
60ee631e9a334d7f6174e2d5553738455da39eac
180
cpp
C++
entities/units/buildingUnits/Worker.cpp
Arceus02/hyogo
94f2a32a838a8d7f06720fe20b9239d52127f45f
[ "MIT" ]
null
null
null
entities/units/buildingUnits/Worker.cpp
Arceus02/hyogo
94f2a32a838a8d7f06720fe20b9239d52127f45f
[ "MIT" ]
null
null
null
entities/units/buildingUnits/Worker.cpp
Arceus02/hyogo
94f2a32a838a8d7f06720fe20b9239d52127f45f
[ "MIT" ]
null
null
null
#include "Worker.h" Worker::Worker(const Vect2D &position) : Unit(UNIT_WORKER, "Worker", BUILDINGUNIT, 2, 4, 2,1) { setPosition(position); setCanWalkThroughRiver(true); }
25.714286
95
0.705556
Arceus02
60ef5d84b2ca197c382a1fccc59c002c30dfb488
744
cpp
C++
day6CP.cpp
ap9891/10days_of_code_c-
1c529245853d86622e37e541422c9d117dbca23a
[ "MIT" ]
1
2021-10-06T15:15:35.000Z
2021-10-06T15:15:35.000Z
day6CP.cpp
ap9891/10days_of_code_c-
1c529245853d86622e37e541422c9d117dbca23a
[ "MIT" ]
null
null
null
day6CP.cpp
ap9891/10days_of_code_c-
1c529245853d86622e37e541422c9d117dbca23a
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; void primevisit(int *p) { for (int i = 3; i < 1000000; i+=2) { p[i]= 1; } for (long long i = 3; i < 1000000; i+=2) { if(p[i]==1) { for (long long j = i*i; j < 1000000; j+=i) { p[j]=...
16.909091
55
0.370968
ap9891
60f1b54318128bcc63dc6ea706c82903fe232f0c
5,500
cpp
C++
docker/deb_test/dev/example/basic_info.cpp
matus-chochlik/eagine-app
7aeecbf765a6e4316adfe145f9116aded6cdb550
[ "BSL-1.0" ]
14
2021-07-09T05:42:56.000Z
2022-03-22T05:30:22.000Z
docker/deb_test/dev/example/basic_info.cpp
matus-chochlik/eagine-app
7aeecbf765a6e4316adfe145f9116aded6cdb550
[ "BSL-1.0" ]
null
null
null
docker/deb_test/dev/example/basic_info.cpp
matus-chochlik/eagine-app
7aeecbf765a6e4316adfe145f9116aded6cdb550
[ "BSL-1.0" ]
1
2022-03-22T05:30:34.000Z
2022-03-22T05:30:34.000Z
/// @example app/basic_info.cpp /// /// Copyright Matus Chochlik. /// 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 <eagine/app/main.hpp> #include <eagine/app_config.hpp> #include <eagine/timeout.hpp...
30.898876
80
0.507636
matus-chochlik
60f22bab9f3333edb79189d002de1a437afbb37c
11,993
hpp
C++
lager/with.hpp
altschuler/lager
64e1d2177bae7c9358f4d3615392027e4c494796
[ "MIT" ]
null
null
null
lager/with.hpp
altschuler/lager
64e1d2177bae7c9358f4d3615392027e4c494796
[ "MIT" ]
null
null
null
lager/with.hpp
altschuler/lager
64e1d2177bae7c9358f4d3615392027e4c494796
[ "MIT" ]
null
null
null
// // lager - library for functional interactive c++ programs // Copyright (C) 2017 Juan Pedro Bolivar Puente // // This file is part of lager. // // lager is free software: you can redistribute it and/or modify // it under the terms of the MIT License, as detailed in the LICENSE // file located at the root of this sou...
26.950562
80
0.62328
altschuler
60f9269a905123c38327869980c749eeb8af51e9
1,110
cpp
C++
Uni/c++/programamzione-1/Esempi/Tutorato/Lezione4/3_2.cpp
VenomBigBozz/Esercizi
44bcf62df162cfb5b924b291f9839fbe1b04dcba
[ "Unlicense" ]
null
null
null
Uni/c++/programamzione-1/Esempi/Tutorato/Lezione4/3_2.cpp
VenomBigBozz/Esercizi
44bcf62df162cfb5b924b291f9839fbe1b04dcba
[ "Unlicense" ]
null
null
null
Uni/c++/programamzione-1/Esempi/Tutorato/Lezione4/3_2.cpp
VenomBigBozz/Esercizi
44bcf62df162cfb5b924b291f9839fbe1b04dcba
[ "Unlicense" ]
null
null
null
#include <iostream> using namespace std; bool esercizio3(string** S, int n, int m, char* C, float w) { float somma = 0; int L = 0; for(int i = 0; i < n; i++) { somma = 0; L = 0; for(int j = 0; j < m; j++) { L += S[i][j].length(); for(int k = 0; k < n; k++) {...
23.617021
61
0.292793
VenomBigBozz
60fc96f0640b01e58cb03eec60ca548b8f3f75cf
7,730
cpp
C++
tests/test_http.cpp
davchezt/CppServer
375d4b7c61252de8af46cda7d677b7b8a998a47b
[ "MIT" ]
834
2017-04-14T19:20:05.000Z
2022-03-30T20:59:31.000Z
tests/test_http.cpp
davchezt/CppServer
375d4b7c61252de8af46cda7d677b7b8a998a47b
[ "MIT" ]
70
2017-02-03T14:20:53.000Z
2022-03-07T13:28:42.000Z
tests/test_http.cpp
davchezt/CppServer
375d4b7c61252de8af46cda7d677b7b8a998a47b
[ "MIT" ]
213
2017-02-20T11:21:09.000Z
2022-03-31T11:33:24.000Z
// // Created by Ivan Shynkarenka on 08.05.2019 // #include "test.h" #include "server/http/http_client.h" #include "server/http/http_server.h" #include "string/string_utils.h" #include "threads/thread.h" #include <map> #include <mutex> using namespace CppCommon; using namespace CppServer::Asio; using namespace CppS...
32.208333
138
0.579948
davchezt
8803e75960aff3b3fd0ffa0ddfb3ba546e1d751d
5,946
cpp
C++
src/mavsdk/plugins/mission_raw_server/mission_raw_server.cpp
hamishwillee/MAVSDK
e7f4e27bdd4442b91b623abf6ac86d1cbb188244
[ "BSD-3-Clause" ]
115
2018-07-11T00:18:12.000Z
2019-06-05T22:10:23.000Z
src/mavsdk/plugins/mission_raw_server/mission_raw_server.cpp
hamishwillee/MAVSDK
e7f4e27bdd4442b91b623abf6ac86d1cbb188244
[ "BSD-3-Clause" ]
228
2018-07-09T12:03:21.000Z
2019-06-07T09:51:14.000Z
src/mavsdk/plugins/mission_raw_server/mission_raw_server.cpp
hamishwillee/MAVSDK
e7f4e27bdd4442b91b623abf6ac86d1cbb188244
[ "BSD-3-Clause" ]
104
2018-07-19T09:45:16.000Z
2019-06-05T18:40:35.000Z
// WARNING: THIS FILE IS AUTOGENERATED! As such, it should not be edited. // Edits need to be made to the proto files // (see // https://github.com/mavlink/MAVSDK-Proto/blob/master/protos/mission_raw_server/mission_raw_server.proto) #include <iomanip> #include "mission_raw_server_impl.h" #include "plugins/mission_raw...
36.478528
106
0.635721
hamishwillee
880402d20e12e640320ea6a912e88f4aac894652
3,453
cpp
C++
src/libraries/CVK/CVK_2/CVK_Cone.cpp
lucashilbig/BA_Pathtracing_Fur
bed01d44ef93ff674436e002c82cb8c4663e2832
[ "MIT" ]
null
null
null
src/libraries/CVK/CVK_2/CVK_Cone.cpp
lucashilbig/BA_Pathtracing_Fur
bed01d44ef93ff674436e002c82cb8c4663e2832
[ "MIT" ]
null
null
null
src/libraries/CVK/CVK_2/CVK_Cone.cpp
lucashilbig/BA_Pathtracing_Fur
bed01d44ef93ff674436e002c82cb8c4663e2832
[ "MIT" ]
null
null
null
#include "CVK_Cone.h" #include "KIRK/Common/Ray.h" CVK::Cone::Cone() { m_baseradius = 1.0f; m_apexradius = 1.0f; m_basepoint = glm::vec3(0); m_apexpoint = glm::vec3(0.f, 1.f, 0.f); m_resolution = 20; m_geotype = CVK_CONE; create(); } CVK::Cone::Cone(float baseradius, float apexradius, flo...
22.717105
109
0.565885
lucashilbig
8806bf9006c32f788622e7bbe684aaa2b7215b66
365
cpp
C++
mrJudge/problems/indivisibility (1341)/indivisibility.cpp
object-oriented-human/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
1
2022-02-21T15:43:01.000Z
2022-02-21T15:43:01.000Z
mrJudge/problems/indivisibility (1341)/indivisibility.cpp
foooop/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
null
null
null
mrJudge/problems/indivisibility (1341)/indivisibility.cpp
foooop/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); int q; cin >> q; for (int i = 0; i < q; i++) { unsigned long long n; cin >> n; cout << n - n / 2 - n / 3 - n / 5 - n / 7 + n / 6 + n / 10 + n / 14 + n / 15 + n / 21 + n / 35 - n / 30 - n / 42 ...
36.5
158
0.432877
object-oriented-human
8806f59e353bc30029ce1553ab87a882f9fca76e
3,360
cpp
C++
problems/nqueens.cpp
oishikm12/cpp-collection
4a454a6ed5b24570c7df0d4f0b692ae98c1ffa97
[ "MIT" ]
5
2021-05-17T12:32:42.000Z
2021-12-12T21:09:55.000Z
problems/nqueens.cpp
oishikm12/cpp-collection
4a454a6ed5b24570c7df0d4f0b692ae98c1ffa97
[ "MIT" ]
null
null
null
problems/nqueens.cpp
oishikm12/cpp-collection
4a454a6ed5b24570c7df0d4f0b692ae98c1ffa97
[ "MIT" ]
1
2021-05-13T20:29:57.000Z
2021-05-13T20:29:57.000Z
#include <iostream> #include <vector> #include <bitset> using namespace std; bool place(vector<int>&, int, int); void nqueen(vector<int>&, int, int); void prettyPrint(vector<int>&); void queenCount(int, int, int&); // Unlike array counterpart, bitsets are considerably faster, // they are 1 bit for each element ~ 0 or...
32.941176
88
0.575893
oishikm12
8808a13b5a5cc530dc85d992be41de0426d6fffc
1,148
cpp
C++
code/AzureDeviceManagementPlugins/RemoteWipePlugin/RemoteWipePlugin.cpp
imingc/azure-client-tools
1a5d4846956c2c7aae5ed4ebf4020b6e2d5142c4
[ "MIT" ]
null
null
null
code/AzureDeviceManagementPlugins/RemoteWipePlugin/RemoteWipePlugin.cpp
imingc/azure-client-tools
1a5d4846956c2c7aae5ed4ebf4020b6e2d5142c4
[ "MIT" ]
null
null
null
code/AzureDeviceManagementPlugins/RemoteWipePlugin/RemoteWipePlugin.cpp
imingc/azure-client-tools
1a5d4846956c2c7aae5ed4ebf4020b6e2d5142c4
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "stdafx.h" #include "..\..\AzureDeviceManagementCommon\Plugins\PluginConstants.h" #include "..\..\AzureDeviceManagementCommon\Plugins\PluginJsonConstants.h" #include "..\AzureDeviceManagementPluginCommon\PluginStub...
30.210526
87
0.794425
imingc
8812310d5ec8b7bfa7564465cc452bc8498431b8
799
hpp
C++
src/slaggy-engine/slaggy-engine/physics/spatial/SpatialPartitioningTree.hpp
SlaggyWolfie/slaggy-engine
846235c93a52a96be85c5274a1372bc09c16f144
[ "MIT" ]
1
2021-09-24T23:13:13.000Z
2021-09-24T23:13:13.000Z
src/slaggy-engine/slaggy-engine/physics/spatial/SpatialPartitioningTree.hpp
SlaggyWolfie/slaggy-engine
846235c93a52a96be85c5274a1372bc09c16f144
[ "MIT" ]
null
null
null
src/slaggy-engine/slaggy-engine/physics/spatial/SpatialPartitioningTree.hpp
SlaggyWolfie/slaggy-engine
846235c93a52a96be85c5274a1372bc09c16f144
[ "MIT" ]
2
2020-06-24T07:10:13.000Z
2022-03-08T17:19:12.000Z
#pragma once #ifndef SPATIAL_PARTITIONING_TREE_HPP #define SPATIAL_PARTITIONING_TREE_HPP #include <physics/volumes/AABB.hpp> #include <vector> #include <memory> #include <physics/CollisionPair.hpp> #include <core/Transform.hpp> namespace slaggy { class Transform; class SpatialPartitioningTree { public: typed...
21.594595
101
0.745932
SlaggyWolfie
88125b7bb54ab5ee4f1579c684c63d0ce1c4fb5e
3,744
cpp
C++
test/std/algorithms/alg.sorting/alg.lex.comparison/lexicographical_compare.pass.cpp
K-Wu/libcxx.doc
c3c0421b2a9cc003146e847d0b8dd3a37100f39a
[ "Apache-2.0" ]
null
null
null
test/std/algorithms/alg.sorting/alg.lex.comparison/lexicographical_compare.pass.cpp
K-Wu/libcxx.doc
c3c0421b2a9cc003146e847d0b8dd3a37100f39a
[ "Apache-2.0" ]
null
null
null
test/std/algorithms/alg.sorting/alg.lex.comparison/lexicographical_compare.pass.cpp
K-Wu/libcxx.doc
c3c0421b2a9cc003146e847d0b8dd3a37100f39a
[ "Apache-2.0" ]
null
null
null
//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
43.034483
100
0.650908
K-Wu
88165cdbcf77c43b7ee3c382cee13ef690240292
38,747
hh
C++
Code/toolboxes/BSR/gpb_src/include/math/complex.hh
corganhejijun/crisp-boundaries-win32
8cfea4d1e337f4b30e1e1ad873683139ee7821fb
[ "BSD-3-Clause" ]
null
null
null
Code/toolboxes/BSR/gpb_src/include/math/complex.hh
corganhejijun/crisp-boundaries-win32
8cfea4d1e337f4b30e1e1ad873683139ee7821fb
[ "BSD-3-Clause" ]
null
null
null
Code/toolboxes/BSR/gpb_src/include/math/complex.hh
corganhejijun/crisp-boundaries-win32
8cfea4d1e337f4b30e1e1ad873683139ee7821fb
[ "BSD-3-Clause" ]
null
null
null
/* * Complex numbers (thread-safe). */ #ifndef MATH__COMPLEX_HH #define MATH__COMPLEX_HH #include "concurrent/threads/synchronization/locks/auto_read_lock.hh" #include "concurrent/threads/synchronization/locks/auto_read_read_lock.hh" #include "concurrent/threads/synchronization/locks/auto_read_write_lock.hh" #includ...
30.923384
118
0.628074
corganhejijun
881b599902ae9577ec6cd139e0b615bbeccf4fce
2,696
cpp
C++
Lamp/src/Lamp/Physics/PhysXUtils.cpp
SGS-Ivar/Lamp
e81195bbfb73b6b4bd2c6d4604e2e3aa532aecb2
[ "MIT" ]
2
2021-09-13T17:37:34.000Z
2021-11-17T18:52:42.000Z
Lamp/src/Lamp/Physics/PhysXUtils.cpp
SGS-Ivar/Lamp
e81195bbfb73b6b4bd2c6d4604e2e3aa532aecb2
[ "MIT" ]
20
2020-09-30T13:44:46.000Z
2021-12-03T14:30:04.000Z
Lamp/src/Lamp/Physics/PhysXUtils.cpp
ChunkTreasure1/Lamp
65be1544322949d6640e1fd108ed5a018387d0eb
[ "MIT" ]
null
null
null
#include "lppch.h" #include "PhysXUtils.h" #include "Lamp/Math/Math.h" #include <glm/gtx/quaternion.hpp> namespace Lamp { namespace PhysXUtils { physx::PxTransform ToPhysXTransform(const glm::mat4& transform) { glm::vec3 translation, rotation, scale; Math::DecomposeTransform(transform, translation, rotat...
39.072464
109
0.74592
SGS-Ivar
881cc8afc7f0dad27d11664a5008f640620ebe8b
91,228
cpp
C++
opencl/test/unit_test/os_interface/linux/drm_memory_manager_local_memory_tests_dg1.cpp
troels/compute-runtime
3269e719a3ee7bcd97c50ec2cfe78fc8674adec0
[ "Intel", "MIT" ]
null
null
null
opencl/test/unit_test/os_interface/linux/drm_memory_manager_local_memory_tests_dg1.cpp
troels/compute-runtime
3269e719a3ee7bcd97c50ec2cfe78fc8674adec0
[ "Intel", "MIT" ]
null
null
null
opencl/test/unit_test/os_interface/linux/drm_memory_manager_local_memory_tests_dg1.cpp
troels/compute-runtime
3269e719a3ee7bcd97c50ec2cfe78fc8674adec0
[ "Intel", "MIT" ]
null
null
null
/* * Copyright (C) 2020-2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/execution_environment/execution_environment.h" #include "shared/source/gmm_helper/gmm_helper.h" #include "shared/source/helpers/heap_assigner.h" #include "shared/source/os_interface/linux/allocator_helper....
49.688453
208
0.749814
troels
881e661ba789edcef0e812131b04a29db2c81294
616
cc
C++
test/tsan/race_top_suppression1.cc
crystax/android-toolchain-compiler-rt-3-7
6b848d1e7d55df3227b212aa229f8b60b16bdd5d
[ "MIT" ]
21
2015-04-19T20:47:50.000Z
2019-03-08T18:39:41.000Z
test/tsan/race_top_suppression1.cc
crystax/android-toolchain-compiler-rt-3-7
6b848d1e7d55df3227b212aa229f8b60b16bdd5d
[ "MIT" ]
1
2016-02-10T15:40:03.000Z
2016-02-10T15:40:03.000Z
test/tsan/race_top_suppression1.cc
crystax/android-toolchain-compiler-rt-3-7
6b848d1e7d55df3227b212aa229f8b60b16bdd5d
[ "MIT" ]
12
2019-06-21T03:33:51.000Z
2021-12-13T09:08:31.000Z
// RUN: echo "race_top:TopFunction" > %t.supp // RUN: %clangxx_tsan -O1 %s -o %t // RUN: TSAN_OPTIONS="$TSAN_OPTIONS suppressions='%t.supp'" %deflake %run %t 2>&1 | FileCheck %s // RUN: rm %t.supp #include "test.h" int Global; void AnotherFunction(int *p) { *p = 1; } void TopFunction(int *p) { AnotherFunction(p)...
18.666667
96
0.650974
crystax
882107de4f324483db308bc4fd1f3c22076c0e8f
1,820
cpp
C++
src/armorymainmode.cpp
mikelukas/errantry
e1c09ca5ef8bc9ef32cf8bcb86306a1415ddd37c
[ "MIT" ]
1
2018-05-11T16:09:35.000Z
2018-05-11T16:09:35.000Z
src/armorymainmode.cpp
mikelukas/errantry
e1c09ca5ef8bc9ef32cf8bcb86306a1415ddd37c
[ "MIT" ]
null
null
null
src/armorymainmode.cpp
mikelukas/errantry
e1c09ca5ef8bc9ef32cf8bcb86306a1415ddd37c
[ "MIT" ]
null
null
null
#include "armorymainmode.h" #include "gamestate.h" #include "shopbuymode.h" #include "shopsellmode.h" ArmoryMainMode::ArmoryMainMode(const Town& town, GameData& gameData, GameState& gameState) : ShopMainMode(town, gameData, gameState) { } void ArmoryMainMode::enterBuyMode() { //postcondition: Enters ShopBuyMode wi...
34.339623
112
0.777473
mikelukas
882a12189fc31641cb61978b7e56b5860ae2cea7
47,349
cpp
C++
pizjuce/midiChords/src/MidiChords.cpp
nonameentername/pizmidi
a985e3d2bf8f02e3c0a87300dfbb82c35608bbd2
[ "BSD-Source-Code" ]
null
null
null
pizjuce/midiChords/src/MidiChords.cpp
nonameentername/pizmidi
a985e3d2bf8f02e3c0a87300dfbb82c35608bbd2
[ "BSD-Source-Code" ]
null
null
null
pizjuce/midiChords/src/MidiChords.cpp
nonameentername/pizmidi
a985e3d2bf8f02e3c0a87300dfbb82c35608bbd2
[ "BSD-Source-Code" ]
1
2021-01-26T12:25:01.000Z
2021-01-26T12:25:01.000Z
#include "MidiChords.h" #include "MidiChordsEditor.h" //============================================================================== /** This function must be implemented to create a new instance of your plugin object. */ PizAudioProcessor* JUCE_CALLTYPE createPluginFilter() { return new MidiCh...
29.816751
201
0.613994
nonameentername
882b063a2cc579711a334fc4d2dc8ddaa18bae8b
3,116
hpp
C++
Pods/OpenVPNAdapter/Sources/OpenVPN3/openvpn/common/scoped_fd.hpp
TiagoPedroByterev/openvpnclient-ios
a9dafb2a481cc72a3e408535fb7f0aba9f5cfa76
[ "MIT" ]
10
2021-03-29T13:52:06.000Z
2022-03-10T02:24:25.000Z
Pods/OpenVPNAdapter/Sources/OpenVPN3/openvpn/common/scoped_fd.hpp
TiagoPedroByterev/openvpnclient-ios
a9dafb2a481cc72a3e408535fb7f0aba9f5cfa76
[ "MIT" ]
1
2019-07-19T02:40:32.000Z
2019-07-19T02:40:32.000Z
Pods/OpenVPNAdapter/Sources/OpenVPN3/openvpn/common/scoped_fd.hpp
TiagoPedroByterev/openvpnclient-ios
a9dafb2a481cc72a3e408535fb7f0aba9f5cfa76
[ "MIT" ]
7
2018-07-11T10:37:02.000Z
2019-08-03T10:34:08.000Z
// OpenVPN -- An application to securely tunnel IP networks // over a single port, with support for SSL/TLS-based // session authentication and key exchange, // packet encryption, packet authentication, and // packet compression. // // Copyright (C) 2012-201...
22.099291
78
0.590501
TiagoPedroByterev
882bcc0c6e03f80ee4e787a105b92e12e51f9cd6
2,272
cpp
C++
test/search-bool.cpp
Da-Huang/Search-Engine
5f1faed6c49adb7f3cc2199c33dbe6bc7094c932
[ "Apache-2.0" ]
1
2015-02-07T13:11:43.000Z
2015-02-07T13:11:43.000Z
test/search-bool.cpp
Da-Huang/Search-Engine
5f1faed6c49adb7f3cc2199c33dbe6bc7094c932
[ "Apache-2.0" ]
1
2015-04-14T05:04:19.000Z
2015-04-14T05:04:19.000Z
test/search-bool.cpp
Da-Huang/Search-Engine
5f1faed6c49adb7f3cc2199c33dbe6bc7094c932
[ "Apache-2.0" ]
null
null
null
#include <util.h> #include <Query.h> #include <TermQuery.h> #include <QueryParser.h> #include <FuzzyQuery.h> #include <ScoreDoc.h> #include <OrQuery.h> #include <IndexSearcher.h> #include <BoolAnalyzer.h> #include <tinyxml2.h> namespace test { using namespace tinyxml2; static void searchBool(IndexSearcher &is, const ...
26.418605
74
0.62456
Da-Huang
882de31f19027d4589e8f3cce5c1f49b9e0f11e4
2,523
cpp
C++
tests/base/process.cpp
kdt3rd/gecko
756a4e4587eb5023495294d9b6c6d80ebd79ebde
[ "MIT" ]
15
2017-10-18T05:08:16.000Z
2022-02-02T11:01:46.000Z
tests/base/process.cpp
kdt3rd/gecko
756a4e4587eb5023495294d9b6c6d80ebd79ebde
[ "MIT" ]
null
null
null
tests/base/process.cpp
kdt3rd/gecko
756a4e4587eb5023495294d9b6c6d80ebd79ebde
[ "MIT" ]
1
2018-11-10T03:12:57.000Z
2018-11-10T03:12:57.000Z
// SPDX-License-Identifier: MIT // Copyright contributors to the gecko project. #include <base/cmd_line.h> #include <base/contract.h> #include <base/process.h> #include <base/unit_test.h> #include <iostream> #ifndef _WIN32 # include <signal.h> #endif namespace { //////////////////////////////////////// int safema...
22.327434
62
0.485929
kdt3rd
88317c2a6a40b26caf807d5f02cc51173428cc5f
1,925
cpp
C++
src/main.cpp
KTheXIII/HelloRP2040
04d909954028d62be57734fe643cea139f28ef6b
[ "Unlicense" ]
null
null
null
src/main.cpp
KTheXIII/HelloRP2040
04d909954028d62be57734fe643cea139f28ef6b
[ "Unlicense" ]
1
2022-01-13T23:05:31.000Z
2022-01-13T23:05:31.000Z
src/main.cpp
KTheXIII/HelloRP2040
04d909954028d62be57734fe643cea139f28ef6b
[ "Unlicense" ]
null
null
null
/** * @file main.cpp * @author Pratchaya Khansomboon (pratchaya.k.git@gmail.com) * @brief Adafruit Feather RP2040 Example project with NeoPixel. * @date 2021-10-07 * * @copyright Copyright (c) 2021 */ #include <cstdint> #include "Arduino.h" #include "Adafruit_NeoPixel.h" constexpr int32_t LED_PIN = 13; co...
25.328947
87
0.553247
KTheXIII
88389c1270b02c1abddea0596ed094c9bc7a7858
34,049
hpp
C++
ReactNativeFrontend/ios/Pods/boost/boost/phoenix/stl/algorithm/transformation.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
12,278
2015-01-29T17:11:33.000Z
2022-03-31T21:12:00.000Z
ReactNativeFrontend/ios/Pods/boost/boost/phoenix/stl/algorithm/transformation.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
9,469
2015-01-30T05:33:07.000Z
2022-03-31T16:17:21.000Z
ReactNativeFrontend/ios/Pods/boost/boost/phoenix/stl/algorithm/transformation.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
892
2015-01-29T16:26:19.000Z
2022-03-20T07:44:30.000Z
// Copyright 2005 Daniel Wallin. // Copyright 2005 Joel de Guzman. // Copyright 2005 Dan Marsden. // Copyright 2015 John Fletcher. // // Use, modification and distribution is subject to the Boost Software // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt)...
28.326955
94
0.546536
Harshitha91
883edd9229c9cc7debba982f87e4a7965ca5bb60
4,185
cpp
C++
wallet/api/v6_0/v6_api.cpp
tradingsecret/beam_wallet
abfe5dbb6c2fe325839887271150ae8e996e100f
[ "Apache-2.0" ]
631
2018-11-10T05:56:05.000Z
2022-03-30T13:21:00.000Z
wallet/api/v6_0/v6_api.cpp
tradingsecret/beam_wallet
abfe5dbb6c2fe325839887271150ae8e996e100f
[ "Apache-2.0" ]
1,824
2018-11-08T11:32:58.000Z
2022-03-28T12:33:03.000Z
wallet/api/v6_0/v6_api.cpp
tradingsecret/beam_wallet
abfe5dbb6c2fe325839887271150ae8e996e100f
[ "Apache-2.0" ]
216
2018-11-12T08:07:21.000Z
2022-03-08T20:50:19.000Z
// Copyright 2020 The Beam Team // // 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...
29.471831
105
0.613859
tradingsecret
88426a1a329eb3dba9fe45e9c69c6886f4883cd7
78,462
hh
C++
single_headers/lithium_sqlite.hh
theonewolf/lithium
c091b085c7dd519f8cf682c0eca25f8a1f46b15c
[ "MIT" ]
null
null
null
single_headers/lithium_sqlite.hh
theonewolf/lithium
c091b085c7dd519f8cf682c0eca25f8a1f46b15c
[ "MIT" ]
null
null
null
single_headers/lithium_sqlite.hh
theonewolf/lithium
c091b085c7dd519f8cf682c0eca25f8a1f46b15c
[ "MIT" ]
null
null
null
// Author: Matthieu Garrigues matthieu.garrigues@gmail.com // // Single header version the lithium_sqlite library. // https://github.com/matt-42/lithium // // This file is generated do not edit it. #pragma once #include <any> #include <atomic> #include <boost/lexical_cast.hpp> #include <cassert> #include <cstring> #i...
34.039913
146
0.622352
theonewolf
884a81008eb9e51819fe212fc1144fbf931393e2
3,591
cpp
C++
src/ssqlses.cpp
jarole/openmonero
ab0aea352a56caa7fd5f503de2d7f552994469e0
[ "BSD-3-Clause" ]
146
2017-03-18T17:30:10.000Z
2022-01-24T04:45:48.000Z
src/ssqlses.cpp
jarole/openmonero
ab0aea352a56caa7fd5f503de2d7f552994469e0
[ "BSD-3-Clause" ]
149
2017-03-01T23:48:45.000Z
2021-10-16T00:53:14.000Z
src/ssqlses.cpp
jarole/openmonero
ab0aea352a56caa7fd5f503de2d7f552994469e0
[ "BSD-3-Clause" ]
172
2017-03-21T08:57:35.000Z
2022-03-23T12:27:01.000Z
// // Created by mwo on 7/01/17. // #include "ssqlses.h" namespace xmreg { ostream& operator<< (std::ostream& os, const Table& data) { os << data.table_name() << ": " << data.to_json().dump() << '\n'; return os; }; json XmrAccount::to_json() const { json j {{"id" , id.data}, ...
25.65
88
0.45809
jarole
884b5f178bfab0136972f6c4091db87379c02842
10,015
cpp
C++
src/qt/qtbase/src/gui/text/qtextlist.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
1
2020-04-30T15:47:35.000Z
2020-04-30T15:47:35.000Z
src/qt/qtbase/src/gui/text/qtextlist.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/src/gui/text/qtextlist.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the QtGui module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid commerc...
31.793651
109
0.595407
power-electro
71feedc3ee86c864a9d2157fec81af3f02970031
6,838
cpp
C++
FangameReader/WinGdiRenderer.cpp
TheBiob/DeadSplit
2e29bae2b86fa689ed9c28d345f2e8743b10c115
[ "MIT" ]
3
2019-04-02T19:23:35.000Z
2021-04-30T03:57:15.000Z
FangameReader/WinGdiRenderer.cpp
TheBiob/DeadSplit
2e29bae2b86fa689ed9c28d345f2e8743b10c115
[ "MIT" ]
1
2018-07-10T22:34:41.000Z
2018-07-10T22:52:43.000Z
FangameReader/WinGdiRenderer.cpp
TheBiob/DeadSplit
2e29bae2b86fa689ed9c28d345f2e8743b10c115
[ "MIT" ]
3
2020-12-28T19:06:07.000Z
2021-01-30T10:09:56.000Z
#include <common.h> #pragma hdrstop #include <WinGdiRenderer.h> #include <gdiHeaders.h> #pragma comment ( lib, "Gdiplus.lib" ) #include <GdiPlusRenderParams.h> #include <WindowSettings.h> #include <GdiText.h> #include <GdiFont.h> #include <GdiImage.h> #include <GdiSprite.h> #include <GdiGradientRect....
40.223529
181
0.730623
TheBiob
71ff14551ba5d244aefe49d5aa5adc340d25eb70
10,959
cpp
C++
src/debug.cpp
kkoiwai/WioLTE_TLSClient
62ba1a4cc917e0f507bdcfaaed65e97f58262839
[ "MIT" ]
5
2017-12-03T23:16:04.000Z
2021-12-24T12:26:10.000Z
src/debug.cpp
kkoiwai/WioLTE_TLSClient
62ba1a4cc917e0f507bdcfaaed65e97f58262839
[ "MIT" ]
null
null
null
src/debug.cpp
kkoiwai/WioLTE_TLSClient
62ba1a4cc917e0f507bdcfaaed65e97f58262839
[ "MIT" ]
2
2019-09-20T06:48:29.000Z
2021-12-24T12:42:57.000Z
/* * Debugging routines * * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * 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 * *...
29.699187
97
0.54348
kkoiwai
71ffc17c254337ef3fb0c1180c2f84637ba9285d
986
cpp
C++
MegaManX3/Stage4.cpp
bboyturtles13/Mega-Man-X3
b84b35176d72cf43cbce6fd34c5e8e28638a442a
[ "MIT" ]
7
2019-09-19T06:59:47.000Z
2022-01-26T10:21:49.000Z
MegaManX3/Stage4.cpp
bboyturtles13/Mega-Man-X3
b84b35176d72cf43cbce6fd34c5e8e28638a442a
[ "MIT" ]
3
2020-01-20T04:28:59.000Z
2020-01-20T05:01:43.000Z
MegaManX3/Stage4.cpp
bboyturtles13/Mega-Man-X3
b84b35176d72cf43cbce6fd34c5e8e28638a442a
[ "MIT" ]
6
2019-11-15T02:13:12.000Z
2022-01-27T12:30:29.000Z
#include "Stage4.h" Stage4::Stage4() { gate = new Gate(2288, 896, 16, 48, false); gate->state = GateLock; gateBox = gate->getBoundBox(); } Stage4::~Stage4() { } void Stage4::getStaticObjects(unordered_map<int, GameObject*>* saticObjects) { } void Stage4::getDynamicObjects(unordered_map<int, GameObject*>* dynamic...
17.927273
79
0.678499
bboyturtles13
9c0006205e68c5e63d0bd073ac392f8877573afb
10,398
cpp
C++
source/quests/Quest_Scripted.cpp
jw03070/carpg
c6f696711a73471d4067c0167d553e4eced7d195
[ "MIT" ]
1
2019-10-23T07:52:49.000Z
2019-10-23T07:52:49.000Z
source/quests/Quest_Scripted.cpp
jw03070/carpg
c6f696711a73471d4067c0167d553e4eced7d195
[ "MIT" ]
null
null
null
source/quests/Quest_Scripted.cpp
jw03070/carpg
c6f696711a73471d4067c0167d553e4eced7d195
[ "MIT" ]
null
null
null
#include "Pch.h" #include "GameCore.h" #include "Quest_Scripted.h" #include "QuestScheme.h" #include "ScriptManager.h" #include "World.h" #include "Game.h" #include "Journal.h" #include "GameGui.h" #include "GameMessages.h" #include "QuestManager.h" #include "GameFile.h" #include "City.h" #include "Encounter.h" #includ...
20.921529
119
0.65051
jw03070
9c000d57ffa5dc23cfe44739f89ff59ac7056bd4
45,569
cpp
C++
ui/src/virtualconsole/vcframe.cpp
markusb/qlcplus
1aae45b8d1914114b9a7ea6174e83e51e81ab8a1
[ "Apache-2.0" ]
1
2019-02-26T14:18:52.000Z
2019-02-26T14:18:52.000Z
ui/src/virtualconsole/vcframe.cpp
markusb/qlcplus
1aae45b8d1914114b9a7ea6174e83e51e81ab8a1
[ "Apache-2.0" ]
null
null
null
ui/src/virtualconsole/vcframe.cpp
markusb/qlcplus
1aae45b8d1914114b9a7ea6174e83e51e81ab8a1
[ "Apache-2.0" ]
null
null
null
/* Q Light Controller Plus vcframe.cpp Copyright (c) Heikki Junnila Massimo Callegari 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/licens...
30.686195
146
0.561017
markusb
9c03a044d557adee3f4510898fec80449840f3f1
1,417
hh
C++
src/field/FieldUtils.hh
amandalund/celeritas
c631594b00c040d5eb4418fa2129f88c01e29316
[ "Apache-2.0", "MIT" ]
22
2020-03-31T14:18:22.000Z
2022-01-10T09:43:06.000Z
src/field/FieldUtils.hh
amandalund/celeritas
c631594b00c040d5eb4418fa2129f88c01e29316
[ "Apache-2.0", "MIT" ]
261
2020-04-29T15:14:29.000Z
2022-03-31T19:07:14.000Z
src/field/FieldUtils.hh
amandalund/celeritas
c631594b00c040d5eb4418fa2129f88c01e29316
[ "Apache-2.0", "MIT" ]
15
2020-05-01T19:47:19.000Z
2021-12-25T06:12:09.000Z
//----------------------------------*-C++-*----------------------------------// // Copyright 2020 UT-Battelle, LLC, and other Celeritas developers. // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: (Apache-2.0 OR MIT) //-------------------------------------------------------------------------...
45.709677
79
0.422018
amandalund
9c057c5b6aae72c1950020e0ea38e71ca0a0dc27
492
cpp
C++
Engine/Source/Core/RHI/RendererAPI.cpp
rbetik12/RightEngine
d7db7605da0e33b8ae696429b4085e154fd9c2fa
[ "MIT" ]
null
null
null
Engine/Source/Core/RHI/RendererAPI.cpp
rbetik12/RightEngine
d7db7605da0e33b8ae696429b4085e154fd9c2fa
[ "MIT" ]
1
2021-10-17T20:51:00.000Z
2022-03-07T23:37:07.000Z
Engine/Source/Core/RHI/RendererAPI.cpp
rbetik12/RightEngine
d7db7605da0e33b8ae696429b4085e154fd9c2fa
[ "MIT" ]
null
null
null
#include "RendererAPI.hpp" #include "OpenGL/OpenGLRendererAPI.hpp" #include "Assert.hpp" using namespace RightEngine; std::shared_ptr<RendererAPI> RendererAPI::Create(GPU_API GpuApi) { api = GpuApi; switch (GpuApi) { case GPU_API::OpenGL: return std::make_shared<OpenGLRendererAPI>(); ...
19.68
64
0.664634
rbetik12
9c06e6325d087c9a244bc1b5169f363e11df94ec
30,081
cpp
C++
tools/code_helper/main.cpp
tkgamegroup/flame
f1628100cc66e13f84ea3047ea33af019caeb01b
[ "MIT" ]
25
2018-02-28T05:59:50.000Z
2022-03-18T03:11:52.000Z
tools/code_helper/main.cpp
tkgamegroup/flame
f1628100cc66e13f84ea3047ea33af019caeb01b
[ "MIT" ]
null
null
null
tools/code_helper/main.cpp
tkgamegroup/flame
f1628100cc66e13f84ea3047ea33af019caeb01b
[ "MIT" ]
5
2018-05-17T04:16:30.000Z
2021-12-22T04:02:02.000Z
#include <flame/foundation/foundation.h> #include <iostream> #include <conio.h> #include <functional> using namespace flame; int main(int argc, char** args) { auto ap = parse_args(argc, args); auto cmd = ap.get_item("-cmd"); auto path = std::filesystem::path(ap.get_item("-path")); path.make_preferred(); if (pat...
26.882038
137
0.532329
tkgamegroup
9c079014c5057cbefbc16f869a597326abc65112
1,937
cpp
C++
src/collidable.cpp
crockeo/jumponthings
f137ff8bce4f93c7433174673da66703327e2d5c
[ "MIT" ]
null
null
null
src/collidable.cpp
crockeo/jumponthings
f137ff8bce4f93c7433174673da66703327e2d5c
[ "MIT" ]
null
null
null
src/collidable.cpp
crockeo/jumponthings
f137ff8bce4f93c7433174673da66703327e2d5c
[ "MIT" ]
null
null
null
#include "collidable.hpp" ////////////// // Includes // #include <iostream> ////////// // Code // // Creating a collidable set with an already-defined vector of Rectangles. CollidableSet::CollidableSet(std::vector<Rectangle> collisions) : collisions(collisions) { } // Creating a collidable set without any d...
31.241935
123
0.659783
crockeo
9c079d45244e11bdde6aac52f056bfc02223914d
17,958
cpp
C++
hi_scripting/scripting/components/ScriptingCodeEditorHelpers.cpp
MIDIculous/HISE
cb4c567bacb02c6bf7ca46a78daa06d3ce0b2b78
[ "Intel", "MIT" ]
null
null
null
hi_scripting/scripting/components/ScriptingCodeEditorHelpers.cpp
MIDIculous/HISE
cb4c567bacb02c6bf7ca46a78daa06d3ce0b2b78
[ "Intel", "MIT" ]
null
null
null
hi_scripting/scripting/components/ScriptingCodeEditorHelpers.cpp
MIDIculous/HISE
cb4c567bacb02c6bf7ca46a78daa06d3ce0b2b78
[ "Intel", "MIT" ]
null
null
null
/* =========================================================================== * * This file is part of HISE. * Copyright 2016 Christoph Hart * * HISE is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foun...
25.116084
153
0.647065
MIDIculous
9c079d6808e878601d3d41ea7b790be1b8608d7e
1,154
cpp
C++
12_Extensibility/curious_templates/main.cpp
haxpor/APIBook
df34e557ebdd3e0c30fc55fb87dd43c72d393d4c
[ "MIT" ]
15
2020-01-14T21:00:20.000Z
2022-03-20T08:30:23.000Z
12_Extensibility/curious_templates/main.cpp
haxpor/APIBook
df34e557ebdd3e0c30fc55fb87dd43c72d393d4c
[ "MIT" ]
1
2020-10-09T22:24:55.000Z
2020-10-26T11:18:47.000Z
12_Extensibility/curious_templates/main.cpp
haxpor/APIBook
df34e557ebdd3e0c30fc55fb87dd43c72d393d4c
[ "MIT" ]
10
2019-10-21T03:15:24.000Z
2021-09-08T01:58:35.000Z
/// -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: t -*- /// /// \file main.cpp /// \author Martin Reddy /// \brief Demonstrate the use of the CRTP. /// /// Copyright (c) 2010, Martin Reddy. All rights reserved. /// Distributed under the X11/MIT License. See LICENSE.txt. /// See http://APIBook.com/ for the l...
24.553191
64
0.661179
haxpor
9c0bb42aecc4e3ebac2a006fb6c0deee614755c6
1,171
cc
C++
tests/modularity_test.cc
dlekkas/comm_detect
65a4acc49668d7973104129c39b1eb5dc6445145
[ "Apache-2.0" ]
null
null
null
tests/modularity_test.cc
dlekkas/comm_detect
65a4acc49668d7973104129c39b1eb5dc6445145
[ "Apache-2.0" ]
1
2020-11-30T06:24:43.000Z
2020-11-30T06:24:43.000Z
tests/modularity_test.cc
dlekkas/comm_detect
65a4acc49668d7973104129c39b1eb5dc6445145
[ "Apache-2.0" ]
1
2020-05-17T11:55:12.000Z
2020-05-17T11:55:12.000Z
#include "../include/graph.h" #include "../include/modularity.h" #include "../include/network.h" #include <vector> int main(int argc, char* argv[]) { if (argc != 3) { std::cerr << "Usage: " << argv[0] << " <graph-file> <communities-file>" << std::endl; std::exit(1); } std::string graph_f...
26.613636
93
0.58497
dlekkas
9c0d4c4e1fbe8371e6253be4dde5c189cebdcea1
4,422
cpp
C++
experiments/delegate/delegate_types.cpp
vadersb/cpp-experiments
b7c6a28507081766e308bd0feec8ce6f73f08195
[ "MIT" ]
null
null
null
experiments/delegate/delegate_types.cpp
vadersb/cpp-experiments
b7c6a28507081766e308bd0feec8ce6f73f08195
[ "MIT" ]
null
null
null
experiments/delegate/delegate_types.cpp
vadersb/cpp-experiments
b7c6a28507081766e308bd0feec8ce6f73f08195
[ "MIT" ]
null
null
null
// // Created by Alexander on 13.09.2021. // #include "delegate.h" #include "iostream" #include "memory_reference_counted.h" int SimpleFunction(int& refInt, float floatValue) { refInt *= 2; int result; if (floatValue > 0.0f) { result = refInt + 10; } else { result = refInt - 10; } return result; } cl...
19.566372
115
0.628223
vadersb
9c100407d72ac5412a36d707a719ae7134c2a226
1,901
cpp
C++
CSES Solutions/cses_counting_rooms.cpp
snehnakrani14/HactoberFest21
1d387ff4efec1f17fe20d42f46490564c5a87b52
[ "Unlicense" ]
1
2021-10-04T14:39:02.000Z
2021-10-04T14:39:02.000Z
CSES Solutions/cses_counting_rooms.cpp
snehnakrani14/HactoberFest21
1d387ff4efec1f17fe20d42f46490564c5a87b52
[ "Unlicense" ]
1
2021-10-06T04:41:55.000Z
2021-10-06T04:41:55.000Z
CSES Solutions/cses_counting_rooms.cpp
snehnakrani14/HactoberFest21
1d387ff4efec1f17fe20d42f46490564c5a87b52
[ "Unlicense" ]
1
2021-10-08T12:31:04.000Z
2021-10-08T12:31:04.000Z
#include<bits/stdc++.h> typedef long long ll; using namespace std; vector<vector<ll>> paths; vector<bool> visited; void dfs(ll s){ visited[s] = true; for(ll block : paths[s]){ if(!visited[block]){ dfs(block); } } } int main(){ ll n=0; ll m=0; cin>>n>>m; char b...
23.469136
55
0.327196
snehnakrani14
9c15726ad6ef67ce4ea4d12f1b8684e034d8d82a
1,119
cpp
C++
ironforge/src/core/errors.cpp
m1nuz/ironforge
b6e1875a2442e48e8982cb3d622b5a1ef2af5663
[ "MIT" ]
null
null
null
ironforge/src/core/errors.cpp
m1nuz/ironforge
b6e1875a2442e48e8982cb3d622b5a1ef2af5663
[ "MIT" ]
null
null
null
ironforge/src/core/errors.cpp
m1nuz/ironforge
b6e1875a2442e48e8982cb3d622b5a1ef2af5663
[ "MIT" ]
null
null
null
#include <core/errors.hpp> namespace game { namespace errc { std::string game_category::message(int c) const { switch (static_cast<game_errors>(c)) { case game_errors::init_conf: return "Configuration file not found"; case game_errors::init_platform: ...
30.243243
58
0.557641
m1nuz
9c15ff131319c44b25e0e5070c7d0afa4d3484ef
410
cpp
C++
src/nil_object.cpp
Mizan-Al-Sabbih/natalie
81027a4bf73755256078de21556627678ef7034b
[ "MIT" ]
null
null
null
src/nil_object.cpp
Mizan-Al-Sabbih/natalie
81027a4bf73755256078de21556627678ef7034b
[ "MIT" ]
null
null
null
src/nil_object.cpp
Mizan-Al-Sabbih/natalie
81027a4bf73755256078de21556627678ef7034b
[ "MIT" ]
null
null
null
#include "natalie.hpp" namespace Natalie { Value NilObject::eqtilde(Env *env, Value) { return NilObject::the(); } Value NilObject::to_s(Env *env) { return new StringObject { "" }; } Value NilObject::to_a(Env *env) { return new ArrayObject {}; } Value NilObject::to_i(Env *env) { return Value::intege...
15.769231
43
0.64878
Mizan-Al-Sabbih
9c160043f3621c23980dd555c1eb25429bb3119d
3,731
hpp
C++
testing/utilities.hpp
uofuseismo/massociate
18497a1f81d246f76b159da7f47fa3630caf39c5
[ "MIT" ]
1
2021-09-09T11:16:44.000Z
2021-09-09T11:16:44.000Z
testing/utilities.hpp
uofuseismo/massociate
18497a1f81d246f76b159da7f47fa3630caf39c5
[ "MIT" ]
1
2020-07-17T21:51:33.000Z
2020-07-17T21:51:33.000Z
testing/utilities.hpp
uofuseismo/massociate
18497a1f81d246f76b159da7f47fa3630caf39c5
[ "MIT" ]
1
2021-09-09T11:16:45.000Z
2021-09-09T11:16:45.000Z
#ifndef UTILITIES_HPP #define UTILITIES_HPP #include <random> #include <vector> #include <cmath> namespace { /// Generates n uniform random numbers on the interval [lower,upper] [[maybe_unused]] std::vector<int> generateUniformRandomNumbers( const int n, const int lower, const int upper, const int seed) { std:...
26.460993
76
0.498794
uofuseismo
9c192f8ec30955bf5173012e5b370ac5e34ff695
17,506
cpp
C++
test/declaration-scope-composite/src/multi_scope_stmt.cpp
cortoproject/script-ast
25262762f58442693d6ce09d2b031cb2d3b81ae0
[ "MIT" ]
null
null
null
test/declaration-scope-composite/src/multi_scope_stmt.cpp
cortoproject/script-ast
25262762f58442693d6ce09d2b031cb2d3b81ae0
[ "MIT" ]
null
null
null
test/declaration-scope-composite/src/multi_scope_stmt.cpp
cortoproject/script-ast
25262762f58442693d6ce09d2b031cb2d3b81ae0
[ "MIT" ]
null
null
null
/* This is a managed file. Do not delete this comment. */ #include <include/test.h> /* This is a managed file. Do not delete this comment. */ #include <include/test.h> void test_multi_scope_stmt_anonymous_type_full_id( test_multi_scope_stmt _this) { char *result, *input = "foo[bar] /hello, /world = {10, 20}...
35.653768
86
0.378956
cortoproject
9c1a00f0d41952eca15ee43829ab57b2f660b7f7
571
cpp
C++
workspace/w03_lecture_02_TakingAddressesOfLvalues/TakingAddresses.cpp
PeterSommerlad/workshopworkspace
5e5eb9c42280a4aba27ee196d3003fd54a5e3607
[ "MIT" ]
2
2021-08-28T11:43:58.000Z
2021-09-07T08:10:05.000Z
workspace/w03_lecture_02_TakingAddressesOfLvalues/TakingAddresses.cpp
PeterSommerlad/workshopworkspace
5e5eb9c42280a4aba27ee196d3003fd54a5e3607
[ "MIT" ]
null
null
null
workspace/w03_lecture_02_TakingAddressesOfLvalues/TakingAddresses.cpp
PeterSommerlad/workshopworkspace
5e5eb9c42280a4aba27ee196d3003fd54a5e3607
[ "MIT" ]
null
null
null
#include <iostream> #include <ostream> #include <memory> struct S { // void operator&() const { // std::cout << "taking address of S\n"; // } }; S create() { return S{}; } S & boiler(S & s) { return s; } int main(int argc, char **argv) { S s{}; & s; S const cs{}; & cs; // & S{}; // error: address of tempor...
15.026316
92
0.555166
PeterSommerlad
9c1db31e5800874e3a20e668168754c10ef14671
335
cpp
C++
URI/1017.cpp
JovemPedr0/LP1
d1e1a6df95812cab1dca3b981273c9557557572e
[ "MIT" ]
null
null
null
URI/1017.cpp
JovemPedr0/LP1
d1e1a6df95812cab1dca3b981273c9557557572e
[ "MIT" ]
null
null
null
URI/1017.cpp
JovemPedr0/LP1
d1e1a6df95812cab1dca3b981273c9557557572e
[ "MIT" ]
null
null
null
#include <iostream> #include <iomanip> using namespace std; int main() { int tempoGasto, velocidadeMedia; double distancia, motorCarro = 12.0; cin >> tempoGasto >> velocidadeMedia; distancia = velocidadeMedia * tempoGasto; cout << fixed << setprecision(3) << distancia / motorCarro << endl; ...
19.705882
71
0.665672
JovemPedr0
9c1ea7b4a893abd35a10c75c07d1975dc146f128
10,828
hpp
C++
source/timemory/api.hpp
dalg24/timemory
8cbbf89a25d8d460382664baeec0b13d5d4e2d38
[ "MIT" ]
null
null
null
source/timemory/api.hpp
dalg24/timemory
8cbbf89a25d8d460382664baeec0b13d5d4e2d38
[ "MIT" ]
null
null
null
source/timemory/api.hpp
dalg24/timemory
8cbbf89a25d8d460382664baeec0b13d5d4e2d38
[ "MIT" ]
null
null
null
// 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...
37.992982
90
0.668637
dalg24
9c1f6fa0f0c50ba253e514c04dcdab4b53045056
4,255
cpp
C++
Classes/ScenesLayers/InputLayer.cpp
dongjietan/BattleCity
179b85b5077ef0e7f3867343d12a07b5a335d618
[ "MIT" ]
null
null
null
Classes/ScenesLayers/InputLayer.cpp
dongjietan/BattleCity
179b85b5077ef0e7f3867343d12a07b5a335d618
[ "MIT" ]
null
null
null
Classes/ScenesLayers/InputLayer.cpp
dongjietan/BattleCity
179b85b5077ef0e7f3867343d12a07b5a335d618
[ "MIT" ]
1
2019-12-25T01:35:32.000Z
2019-12-25T01:35:32.000Z
// // InputLayer.cpp // BattleCity // // Created by Jay on 15/10/10. // // #include "InputLayer.h" #include "GameScene.h" #include "SimpleAudioEngine.h" #include "GameManager.h" #include "Entity.h" #include "BulletCache.h" #include "PlayerEntity.h" USING_NS_CC; bool InputLayer::init() { if ( !Layer::init() ) ...
34.877049
214
0.616216
dongjietan
9c242d0d27e91270a14f7f01a27419cac8b6c96d
45,313
cpp
C++
src/tests/class_tests/openms/source/PeakIntegrator_test.cpp
CMRI-ProCan/OpenMS
031c4732ea53a5f2735e0d71e404996b06438183
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
1
2021-07-06T09:15:10.000Z
2021-07-06T09:15:10.000Z
src/tests/class_tests/openms/source/PeakIntegrator_test.cpp
Nohic56/OpenMS
ce04dba4b178494c0bc64529de38789dd5f1f829
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
null
null
null
src/tests/class_tests/openms/source/PeakIntegrator_test.cpp
Nohic56/OpenMS
ce04dba4b178494c0bc64529de38789dd5f1f829
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
null
null
null
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and Freie Universit...
46.618313
138
0.768609
CMRI-ProCan
9c27b5f9199d3b6673146bd98b555cc53dbebbe3
1,267
cpp
C++
branch_instructions/bgeu.cpp
vinodganesan/shaktiISS
fb48e202596989004136b3d44e6fcfa191ba6ea8
[ "BSD-3-Clause" ]
null
null
null
branch_instructions/bgeu.cpp
vinodganesan/shaktiISS
fb48e202596989004136b3d44e6fcfa191ba6ea8
[ "BSD-3-Clause" ]
null
null
null
branch_instructions/bgeu.cpp
vinodganesan/shaktiISS
fb48e202596989004136b3d44e6fcfa191ba6ea8
[ "BSD-3-Clause" ]
null
null
null
#include <stdio.h> #include<iostream> #include<string> void bgeu(int rs1 , int rs2 , int * imm) { int imm64[64]; uint64_t numrs1,numrs2; int64_t numimm64; int i = 0; int PC1 = PC; numrs1 = ubin2dec(Rreg[rs1]); numrs2 = ubin2dec(Rreg[rs2]); //printf("%d %d\n", numrs1, numrs2); fileprintreg(); if(numrs1 >=...
16.454545
48
0.508287
vinodganesan
9c29c8e70268318429e1a5a4ef87307cc28b888d
16,513
cc
C++
catkin_ws/src/velodyne_pointcloud/src/lib/rawdata.cc
UCSD-E4E/aerial_lidar
679ad33a5773083fea15f515c362b52be9356d3f
[ "MIT" ]
17
2015-08-24T20:29:34.000Z
2022-02-09T14:42:18.000Z
catkin_ws/src/velodyne_pointcloud/src/lib/rawdata.cc
UCSD-E4E/aerial_lidar
679ad33a5773083fea15f515c362b52be9356d3f
[ "MIT" ]
2
2016-12-29T15:11:43.000Z
2017-08-22T01:58:28.000Z
catkin_ws/src/velodyne_pointcloud/src/lib/rawdata.cc
UCSD-E4E/aerial_lidar
679ad33a5773083fea15f515c362b52be9356d3f
[ "MIT" ]
18
2015-08-19T17:31:55.000Z
2021-12-20T01:41:52.000Z
/* * Copyright (C) 2007 Austin Robot Technology, Patrick Beeson * Copyright (C) 2009, 2010, 2012 Austin Robot Technology, Jack O'Quin * * License: Modified BSD Software License Agreement * * $Id$ */ /** * @file * * Velodyne 3D LIDAR data accessor class implementation. * * Class for unpacking raw Vel...
39.790361
141
0.603827
UCSD-E4E
9c2adcffa66041d52f99f5a5364903bb45f3e7f4
21,666
cpp
C++
gtsam/linear/tests/testHessianFactor.cpp
sdmiller/gtsam_pcl
1e607bd75090d35e325a8fb37a6c5afe630f1207
[ "BSD-3-Clause" ]
11
2015-02-04T16:41:47.000Z
2021-12-10T07:02:44.000Z
gtsam/linear/tests/testHessianFactor.cpp
sdmiller/gtsam_pcl
1e607bd75090d35e325a8fb37a6c5afe630f1207
[ "BSD-3-Clause" ]
null
null
null
gtsam/linear/tests/testHessianFactor.cpp
sdmiller/gtsam_pcl
1e607bd75090d35e325a8fb37a6c5afe630f1207
[ "BSD-3-Clause" ]
6
2015-09-10T12:06:08.000Z
2021-12-10T07:02:48.000Z
/* ---------------------------------------------------------------------------- * GTSAM Copyright 2010, Georgia Tech Research Corporation, * Atlanta, Georgia 30332-0415 * All Rights Reserved * Authors: Frank Dellaert, et al. (see THANKS for the full author list) * See LICENSE for the license information * ----...
34.066038
116
0.555109
sdmiller
9c2b916b7f930c500c2ecd6735b9bbf849f5ce82
34,428
hpp
C++
A3-Antistasi- CW/UI/commanderMenu.hpp
thebanprince/A3-Antistasi-Plus-PrinceFork
98f5384e1fb4f3fdcbce276abba173285822b6c6
[ "MIT" ]
null
null
null
A3-Antistasi- CW/UI/commanderMenu.hpp
thebanprince/A3-Antistasi-Plus-PrinceFork
98f5384e1fb4f3fdcbce276abba173285822b6c6
[ "MIT" ]
null
null
null
A3-Antistasi- CW/UI/commanderMenu.hpp
thebanprince/A3-Antistasi-Plus-PrinceFork
98f5384e1fb4f3fdcbce276abba173285822b6c6
[ "MIT" ]
null
null
null
class commanderMenu { idd = 60000; movingenable = false; onLoad = "['on'] call SCRT_fnc_ui_toggleMenuBlur"; onUnload = "isMenuOpen = false; closeDialog 0; ['off'] call SCRT_fnc_ui_toggleMenuBlur; [] spawn SCRT_fnc_ui_dispose;"; class Controls { class commanderMenuTitle: TextBase { idc = 1050; text =...
33.98618
345
0.59896
thebanprince
9c2c10554ab9f8b5a8b159516a93f91b665b265c
24,236
cpp
C++
peer.cpp
my-official/QtBT
0c78119b373bfc549a3262cb66794764a1416205
[ "MIT" ]
2
2018-04-06T16:00:13.000Z
2018-04-06T16:01:15.000Z
peer.cpp
my-official/QtBT
0c78119b373bfc549a3262cb66794764a1416205
[ "MIT" ]
null
null
null
peer.cpp
my-official/QtBT
0c78119b373bfc549a3262cb66794764a1416205
[ "MIT" ]
null
null
null
#include "peer.h" #include "protocol.h" #include "exception.h" #include "torrent.h" #include "server.h" using namespace std; namespace torrent { bool PeerInfo::operator==(const PeerInfo& rhs) const { return m_Address == rhs.m_Address && m_Port == rhs.m_Port; } PeerInfo::PeerInfo(const QHostAddress& address, q...
22.587139
325
0.642391
my-official
9c2c328e63643e50a2272d7de950d2863bf94b9a
4,872
cpp
C++
fprime-sphinx-drivers/FPGASPIDriver/test/ut/Rules/ReadWrite.cpp
fprime-community/fprime-sphinx-drivers
ce9efa8564b0eeee46b75bdee79a41a4d0dfd65b
[ "Apache-2.0" ]
1
2021-02-22T12:34:25.000Z
2021-02-22T12:34:25.000Z
fprime-sphinx-drivers/FPGASPIDriver/test/ut/Rules/ReadWrite.cpp
fprime-community/fprime-sphinx-drivers
ce9efa8564b0eeee46b75bdee79a41a4d0dfd65b
[ "Apache-2.0" ]
2
2021-08-11T17:14:54.000Z
2021-09-09T22:31:19.000Z
fprime-sphinx-drivers/FPGASPIDriver/test/ut/Rules/ReadWrite.cpp
fprime-community/fprime-sphinx-drivers
ce9efa8564b0eeee46b75bdee79a41a4d0dfd65b
[ "Apache-2.0" ]
1
2021-05-19T02:04:10.000Z
2021-05-19T02:04:10.000Z
// ====================================================================== // \title Rules/ReadWrite.cpp // \author ciankc // \brief Rules/ReadWrite class implementation // // \copyright // Copyright (C) 2019 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowled...
30.26087
85
0.549672
fprime-community
9c306b4d13965e0f7785d3209f4cf5292a61d5d6
1,118
cpp
C++
lsteamclient/cppISteamGameCoordinator_SteamGameCoordinator001.cpp
Forty-Bot/Proton
275c971b3e4f750ce776616f5bb630ad519fd5a4
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
62
2018-12-21T10:04:09.000Z
2022-02-06T07:25:43.000Z
lsteamclient/cppISteamGameCoordinator_SteamGameCoordinator001.cpp
Miouyouyou/Proton
72499898a7da4b3d17c748e308b50d9347f4b370
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14
2018-12-21T17:53:58.000Z
2020-09-05T18:29:21.000Z
lsteamclient/cppISteamGameCoordinator_SteamGameCoordinator001.cpp
Miouyouyou/Proton
72499898a7da4b3d17c748e308b50d9347f4b370
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2019-03-04T09:07:53.000Z
2019-03-04T09:07:53.000Z
#include "steam_defs.h" #include "steamworks_sdk_142/steam_api.h" #include "steamworks_sdk_142/isteamgamecoordinator.h" #include "steamclient_private.h" #include "cppISteamGameCoordinator_SteamGameCoordinator001.h" #ifdef __cplusplus extern "C" { #endif #include "struct_converters_142.h" EGCResults cppISteamGameCoordin...
39.928571
168
0.813059
Forty-Bot
9c35fc0152866e1155d78744d2a3a867349dc530
37,051
cpp
C++
src/plugins/playback/openmpt/libopenmpt/soundlib/Tables.cpp
emoon/HippoPlayer
a3145f9797a5ef7dd1b79ee8ccd3476c8c5310a6
[ "Apache-2.0", "MIT" ]
67
2018-01-17T17:18:37.000Z
2020-08-24T23:45:56.000Z
src/plugins/playback/openmpt/libopenmpt/soundlib/Tables.cpp
emoon/HippoPlayer
a3145f9797a5ef7dd1b79ee8ccd3476c8c5310a6
[ "Apache-2.0", "MIT" ]
132
2018-01-17T17:43:25.000Z
2020-09-01T07:41:17.000Z
src/plugins/playback/openmpt/libopenmpt/soundlib/Tables.cpp
HippoPlayer/HippoPlayer
a3145f9797a5ef7dd1b79ee8ccd3476c8c5310a6
[ "Apache-2.0", "MIT" ]
5
2021-02-12T15:23:31.000Z
2022-01-09T15:16:21.000Z
/* * Tables.cpp * ---------- * Purpose: Effect, interpolation, data and other pre-calculated tables. * Notes : (currently none) * Authors: Olivier Lapicque * OpenMPT Devs * The OpenMPT source code is released under the BSD license. Read LICENSE for more details. */ #include "stdafx.h" #include "Tabl...
43.847337
163
0.658768
emoon
9c3927d728c3bbd3d2aabad29c69b744f8062f10
293
hpp
C++
utility/type_traits/aim.hpp
dubzzz/various-algorithms
16af4c05acfcb23d199df0851402b0da3ebba91c
[ "MIT" ]
1
2017-04-17T18:32:46.000Z
2017-04-17T18:32:46.000Z
utility/type_traits/aim.hpp
dubzzz/various-algorithms
16af4c05acfcb23d199df0851402b0da3ebba91c
[ "MIT" ]
10
2016-12-25T04:42:56.000Z
2017-03-30T20:42:25.000Z
utility/type_traits/aim.hpp
dubzzz/various-algorithms
16af4c05acfcb23d199df0851402b0da3ebba91c
[ "MIT" ]
1
2022-03-25T17:39:05.000Z
2022-03-25T17:39:05.000Z
/* The aim of this topic is: Implement part of type_traits header: - true_type/false_type - enable_if - is_void - is_null_pointer - is_pointer - is_array - is_reference */ #pragma once #include <type_traits> // Algorithm to be tested using namespace std;
14.65
41
0.665529
dubzzz
9c3a758e624c37a83f1057d5607308028ccb437d
1,240
cpp
C++
TopologicalSort.cpp
DeeptanshuM/Algorithms
48f91e952b71370127db33fa42d642062690f9d9
[ "MIT" ]
null
null
null
TopologicalSort.cpp
DeeptanshuM/Algorithms
48f91e952b71370127db33fa42d642062690f9d9
[ "MIT" ]
null
null
null
TopologicalSort.cpp
DeeptanshuM/Algorithms
48f91e952b71370127db33fa42d642062690f9d9
[ "MIT" ]
null
null
null
/* Implemented Topological sort exactly as explained in CLRS. Works perfectly for all test cases now. */ #include <iostream> #include <algorithm> #include <vector> #include <list> using std::vector; using std::list; void dfs_vist(int v, vector<vector<int> > &adj, bool * visited, list<int> &Order){ visited[v] = tr...
22.142857
106
0.579032
DeeptanshuM
9c3b3d9fa55b79957b3be5d86812d06ede04795a
3,675
cpp
C++
code/engine.vc2008/xrCDB/xr_area.cpp
icetorch2001/xray-oxygen
8c210ac2824f794cea69266048fe12d584ee3f04
[ "Apache-2.0" ]
1
2021-09-14T14:28:56.000Z
2021-09-14T14:28:56.000Z
code/engine.vc2008/xrCDB/xr_area.cpp
ArtemGen/xray-oxygen
f62d3e1f4e211986c057fd37e97fd03c98b5e275
[ "Apache-2.0" ]
null
null
null
code/engine.vc2008/xrCDB/xr_area.cpp
ArtemGen/xray-oxygen
f62d3e1f4e211986c057fd37e97fd03c98b5e275
[ "Apache-2.0" ]
3
2021-11-01T06:21:26.000Z
2022-01-08T16:13:23.000Z
#include "stdafx.h" #include "xr_area.h" #include "../xrengine/xr_object.h" #include "../xrengine/xrLevel.h" #include "../xrengine/xr_collide_form.h" using namespace collide; bool bObjectSpaceCreated = false; //---------------------------------------------------------------------- // Class : CObjectSpace // Purpose :...
31.681034
152
0.627755
icetorch2001
9c3c87d97d035b75493235f0d924872a13613324
1,788
cpp
C++
src/windows/addcopyprofilewindow.cpp
atomicparade/sticker-book-qt
58f6f603e835a4ecfac5b58b58b87458e3fefbe6
[ "MIT" ]
null
null
null
src/windows/addcopyprofilewindow.cpp
atomicparade/sticker-book-qt
58f6f603e835a4ecfac5b58b58b87458e3fefbe6
[ "MIT" ]
null
null
null
src/windows/addcopyprofilewindow.cpp
atomicparade/sticker-book-qt
58f6f603e835a4ecfac5b58b58b87458e3fefbe6
[ "MIT" ]
null
null
null
#include <QPushButton> #include <QShowEvent> #include "addcopyprofilewindow.h" #include "ui_addcopyprofilewindow.h" AddCopyProfileWindow::AddCopyProfileWindow(QWidget *parent) : QDialog(parent), ui(new Ui::AddCopyProfileWindow) { ui->setupUi(this); intValidator.setRange(AddCopyProfileWindow::kCopyProf...
28.380952
111
0.709172
atomicparade
9c3ce681d748561b59db54d7c7f622c6a63b7ed9
606
cc
C++
CONTRIB/LLVM/src/rt/test/tsan/Linux/user_malloc.cc
Cwc-Test/CpcdosOS2.1
d52c170be7f11cc50de38ef536d4355743d21706
[ "Apache-2.0" ]
427
2018-05-29T14:21:02.000Z
2022-03-16T03:17:54.000Z
CONTRIB/LLVM/src/rt/test/tsan/Linux/user_malloc.cc
Cwc-Test/CpcdosOS2.1
d52c170be7f11cc50de38ef536d4355743d21706
[ "Apache-2.0" ]
25
2018-07-23T08:34:15.000Z
2021-11-05T07:13:36.000Z
CONTRIB/LLVM/src/rt/test/tsan/Linux/user_malloc.cc
Cwc-Test/CpcdosOS2.1
d52c170be7f11cc50de38ef536d4355743d21706
[ "Apache-2.0" ]
52
2018-07-19T19:57:32.000Z
2022-03-11T16:05:38.000Z
// RUN: %clangxx_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s #include <stdio.h> // Defined by tsan. extern "C" void *__interceptor_malloc(unsigned long size); extern "C" void __interceptor_free(void *p); extern "C" void *malloc(unsigned long size) { static int first = 0; if (__sync_lock_test_and_set(&first, ...
21.642857
65
0.658416
Cwc-Test
9c3eb39439b9f0a47ea883108e462f6519becca6
1,970
cpp
C++
function-hook-km/driver.cpp
Toloi/km-um-communication
9898b5a1522676c03d53997fabe1e6a2539bfa73
[ "MIT" ]
2
2020-03-26T05:09:15.000Z
2021-11-05T05:41:27.000Z
function-hook-km/driver.cpp
Toloi/km-um-communication
9898b5a1522676c03d53997fabe1e6a2539bfa73
[ "MIT" ]
null
null
null
function-hook-km/driver.cpp
Toloi/km-um-communication
9898b5a1522676c03d53997fabe1e6a2539bfa73
[ "MIT" ]
3
2020-12-06T06:12:36.000Z
2021-06-15T00:52:56.000Z
#include "driver.h" extern "C" __declspec(dllexport) UINT_PTR DriverControl(ULONG uCode, UINT_PTR uParam1, UINT_PTR uParam2, UINT_PTR uParam3) { UNREFERENCED_PARAMETER(uParam1); UNREFERENCED_PARAMETER(uParam2); UNREFERENCED_PARAMETER(uParam3); DbgPrint("control code: %d\n", uCode); // Main switch stru...
26.986301
130
0.743147
Toloi
9c3fa709200a83df3665e56e39c507c3085e2f60
8,067
cpp
C++
wtf/text/icu/UTextProviderUTF16.cpp
apple-oss-distributions/WTF
f7d79770d0d987bd87807b4bb3acab22fb098234
[ "MIT" ]
2
2021-12-09T10:15:34.000Z
2022-02-26T10:04:44.000Z
wtf/text/icu/UTextProviderUTF16.cpp
apple-opensource/WTF
08551665a4d9763afa5a3c78f35fc4583f1f4d16
[ "MIT" ]
null
null
null
wtf/text/icu/UTextProviderUTF16.cpp
apple-opensource/WTF
08551665a4d9763afa5a3c78f35fc4583f1f4d16
[ "MIT" ]
null
null
null
/* * Copyright (C) 2014 Apple 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: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
43.605405
163
0.750093
apple-oss-distributions
9c41e41c6b170bbf43cad210cfce12aa2eb03f8c
76
cpp
C++
Picfeature/backnote.cpp
akamoon/imageLab
7a15ec725b56da7e458805495695c12a95d717a1
[ "MIT" ]
null
null
null
Picfeature/backnote.cpp
akamoon/imageLab
7a15ec725b56da7e458805495695c12a95d717a1
[ "MIT" ]
null
null
null
Picfeature/backnote.cpp
akamoon/imageLab
7a15ec725b56da7e458805495695c12a95d717a1
[ "MIT" ]
null
null
null
#include "include1\backnotes.h" int BackNote(int chan) { return 0; }
9.5
32
0.657895
akamoon
9c4200ff813f4e9059e25fda9ac504d251bf8cb0
3,435
hpp
C++
src/dsp/IIRFilter.hpp
flyingLowSounds/LRTRack
20121c1232e29a26d527134de13a0a3d3d065f52
[ "BSD-3-Clause" ]
null
null
null
src/dsp/IIRFilter.hpp
flyingLowSounds/LRTRack
20121c1232e29a26d527134de13a0a3d3d065f52
[ "BSD-3-Clause" ]
null
null
null
src/dsp/IIRFilter.hpp
flyingLowSounds/LRTRack
20121c1232e29a26d527134de13a0a3d3d065f52
[ "BSD-3-Clause" ]
null
null
null
/* *\ ** __ ___ ______ ** ** / / / _ \/_ __/ ** ** / /__/ , _/ / / Lindenberg ** ** /____/_/|_| /_/ R...
27.926829
89
0.396798
flyingLowSounds
9c45e769ba55642e8be63c5222c6a87c90007b03
7,767
cpp
C++
src/core/material_lib.cpp
tp-ntouran/mocc
77d386cdf341b1a860599ff7c6e4017d46e0b102
[ "Apache-2.0" ]
11
2016-03-31T17:46:15.000Z
2022-02-14T01:07:56.000Z
src/core/material_lib.cpp
tp-ntouran/mocc
77d386cdf341b1a860599ff7c6e4017d46e0b102
[ "Apache-2.0" ]
3
2016-04-04T16:40:47.000Z
2019-10-16T22:22:54.000Z
src/core/material_lib.cpp
tp-ntouran/mocc
77d386cdf341b1a860599ff7c6e4017d46e0b102
[ "Apache-2.0" ]
3
2019-10-16T22:20:15.000Z
2019-11-28T11:59:03.000Z
/* Copyright 2016 Mitchell Young 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 ...
30.22179
78
0.551822
tp-ntouran
9c47e1a413f8c4d0f300e733c19f9163aae31b49
3,076
cxx
C++
source/mysqlc_optpages.cxx
arielch/aoo-my-sdbc
e7792984b1557566cfc3be10dde91f75f88cf3cd
[ "Apache-2.0" ]
null
null
null
source/mysqlc_optpages.cxx
arielch/aoo-my-sdbc
e7792984b1557566cfc3be10dde91f75f88cf3cd
[ "Apache-2.0" ]
15
2017-06-08T08:08:11.000Z
2021-03-25T20:53:57.000Z
source/mysqlc_optpages.cxx
arielch/aoo-my-sdbc
e7792984b1557566cfc3be10dde91f75f88cf3cd
[ "Apache-2.0" ]
null
null
null
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to yo...
29.295238
93
0.727243
arielch
9c47e6af31b86e5ec554f21dd84e4ab34c4f3b1a
2,152
hpp
C++
unconstexpr/meta_partial.hpp
DaemonSnake/unconstexpr
5892b79efd8c892f2cf2108159aedb227ada6f6e
[ "MIT" ]
78
2017-08-05T22:45:19.000Z
2021-11-18T05:58:11.000Z
unconstexpr/meta_partial.hpp
DaemonSnake/unconstexpr
5892b79efd8c892f2cf2108159aedb227ada6f6e
[ "MIT" ]
2
2018-06-18T16:15:10.000Z
2020-10-13T15:56:52.000Z
unconstexpr/meta_partial.hpp
DaemonSnake/unconstexpr
5892b79efd8c892f2cf2108159aedb227ada6f6e
[ "MIT" ]
5
2017-08-06T00:55:44.000Z
2021-08-19T14:37:23.000Z
/* * Copyright (C) 2017 Bastien Penavayre * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, ...
37.754386
101
0.686338
DaemonSnake
9c4853c6611e76b2334e389a866e1953d18525d2
1,190
cpp
C++
source/Plugins/PostEffects/FxaaPostEffect/FxaaUbo.cpp
DragonJoker/Castor3D
ee0b02eeda70cd235a224be306539850e32195f6
[ "MIT" ]
245
2015-10-29T14:31:45.000Z
2022-03-31T13:04:45.000Z
source/Plugins/PostEffects/FxaaPostEffect/FxaaUbo.cpp
DragonJoker/Castor3D
ee0b02eeda70cd235a224be306539850e32195f6
[ "MIT" ]
64
2016-03-11T19:45:05.000Z
2022-03-31T23:58:33.000Z
source/Plugins/PostEffects/FxaaPostEffect/FxaaUbo.cpp
DragonJoker/Castor3D
ee0b02eeda70cd235a224be306539850e32195f6
[ "MIT" ]
11
2018-05-24T09:07:43.000Z
2022-03-21T21:05:20.000Z
#include "FxaaPostEffect/FxaaUbo.hpp" #include <Castor3D/Engine.hpp> #include <Castor3D/Buffer/UniformBufferPools.hpp> #include <CastorUtils/Graphics/Size.hpp> namespace fxaa { const castor::String FxaaUbo::Name = cuT( "FxaaUbo" ); const castor::String FxaaUbo::SubpixShift = cuT( "c3d_subpixShift" ); const castor...
27.674419
99
0.632773
DragonJoker
9c485937542b4eed804aec52f69daf5e5b7800d9
51,099
hpp
C++
lib/regex/generated/barf_regex_parser.hpp
vdods/barf
5c943ddbd6a0a7624645158b0c85994431dde269
[ "Apache-2.0" ]
1
2021-01-16T00:55:45.000Z
2021-01-16T00:55:45.000Z
lib/regex/generated/barf_regex_parser.hpp
vdods/barf
5c943ddbd6a0a7624645158b0c85994431dde269
[ "Apache-2.0" ]
null
null
null
lib/regex/generated/barf_regex_parser.hpp
vdods/barf
5c943ddbd6a0a7624645158b0c85994431dde269
[ "Apache-2.0" ]
null
null
null
// DO NOT MODIFY ! DO NOT MODIFY ! DO NOT MODIFY ! DO NOT MODIFY ! DO NOT MODIFY // barf_regex_parser.hpp generated by trison // from barf_regex_parser.trison using trison.cpp.targetspec and trison.cpp.header.codespec // DO NOT MODIFY ! DO NOT MODIFY ! DO NOT MODIFY ! DO NOT MODIFY ! DO NOT MODIFY #pragma once #incl...
49.658892
266
0.628036
vdods
9c485e121811f9eb7d2b6ad12166f2ed2bc4fb98
12,615
cpp
C++
Qualisys/QTMConnect/Source/QTMConnect/Private/QualisysClient.cpp
helmesjo/QTM-Connect-For-Unreal
0457733ec00f86cfc0f2b006d939760967ad690a
[ "MIT" ]
1
2019-04-17T04:24:45.000Z
2019-04-17T04:24:45.000Z
Qualisys/QTMConnect/Source/QTMConnect/Private/QualisysClient.cpp
helmesjo/QTM-Connect-For-Unreal
0457733ec00f86cfc0f2b006d939760967ad690a
[ "MIT" ]
null
null
null
Qualisys/QTMConnect/Source/QTMConnect/Private/QualisysClient.cpp
helmesjo/QTM-Connect-For-Unreal
0457733ec00f86cfc0f2b006d939760967ad690a
[ "MIT" ]
null
null
null
// QTM Connect For Unreal. Copyright 2018-2019 Qualisys // #include "QualisysClient.h" #include "QTMConnect.h" #include "QualisysRigidBody.h" #include <EngineUtils.h> #include <DrawDebugHelpers.h> #include <Windows/AllowWindowsPlatformTypes.h> #include <Windows/AllowWindowsPlatformAtomics.h> #include "RTProtocol.h" ...
33.110236
165
0.623147
helmesjo
9c4c5638d02ca7a9127a0461704974737530d9ad
636
hh
C++
include/Kompiler.hh
Mooris/Koon
cf65826ca52cad7b1d2d97e29f9143d2575853b8
[ "Apache-2.0" ]
null
null
null
include/Kompiler.hh
Mooris/Koon
cf65826ca52cad7b1d2d97e29f9143d2575853b8
[ "Apache-2.0" ]
null
null
null
include/Kompiler.hh
Mooris/Koon
cf65826ca52cad7b1d2d97e29f9143d2575853b8
[ "Apache-2.0" ]
null
null
null
#pragma once #include <llvm/ADT/Triple.h> #include <string> #include <memory> namespace llvm { class Module; class StringRef; class tool_output_file; } class Kompiler { public: Kompiler(std::string name) : OutputFilename(std::move(name)) {} int kompile(llvm::Module &); private: int c...
21.931034
76
0.617925
Mooris