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
f377694ce6e0ca0a046164f068bbf4b7baad05e7
11,803
cpp
C++
test/thread/source/TestThreadCondition.cpp
questor/eathread
5767f201c78b41002fee155c4e85c13d9d1adfe4
[ "BSD-3-Clause" ]
null
null
null
test/thread/source/TestThreadCondition.cpp
questor/eathread
5767f201c78b41002fee155c4e85c13d9d1adfe4
[ "BSD-3-Clause" ]
null
null
null
test/thread/source/TestThreadCondition.cpp
questor/eathread
5767f201c78b41002fee155c4e85c13d9d1adfe4
[ "BSD-3-Clause" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // Copyright (c) Electronic Arts Inc. All rights reserved. /////////////////////////////////////////////////////////////////////////////// #include "TestThread.h" #include <EATest/EATest.h> #include <eathread/eathread_condition.h> #include...
35.127976
143
0.705499
questor
f378255e9028e406799978e18a5745be18ffc654
869
hpp
C++
srook/tmpl/vt/compare/neq.hpp
falgon/srookCppLibraries
ebcfacafa56026f6558bcd1c584ec774cc751e57
[ "MIT" ]
1
2018-07-01T07:54:37.000Z
2018-07-01T07:54:37.000Z
srook/tmpl/vt/compare/neq.hpp
falgon/srookCppLibraries
ebcfacafa56026f6558bcd1c584ec774cc751e57
[ "MIT" ]
null
null
null
srook/tmpl/vt/compare/neq.hpp
falgon/srookCppLibraries
ebcfacafa56026f6558bcd1c584ec774cc751e57
[ "MIT" ]
null
null
null
// Copyright (C) 2011-2020 Roki. Distributed under the MIT License #ifndef INCLUDED_SROOK_TMPL_VT_COMPARISON_NEQ_HPP #define INCLUDED_SROOK_TMPL_VT_COMPARISON_NEQ_HPP #ifdef _MSC_VER # if _MSC_VER > 1000 # pragma once # endif #endif #include <srook/tmpl/vt/detail/config.hpp> #include <srook/tmpl/vt/compare/...
25.558824
70
0.780207
falgon
f37878b96cd4dd41a9a48f5e47d6fa124f1e09f5
605
cpp
C++
appcontext/src/get_current_time_as_string.cpp
gavinband/bingwa
d52e166b3bb6bc32cd32ba63bf8a4a147275eca1
[ "BSL-1.0" ]
3
2021-04-21T05:42:24.000Z
2022-01-26T14:59:43.000Z
appcontext/src/get_current_time_as_string.cpp
gavinband/bingwa
d52e166b3bb6bc32cd32ba63bf8a4a147275eca1
[ "BSL-1.0" ]
2
2020-04-09T16:11:04.000Z
2020-11-10T11:18:56.000Z
appcontext/src/get_current_time_as_string.cpp
gavinband/qctool
8d8adb45151c91f953fe4a9af00498073b1132ba
[ "BSL-1.0" ]
null
null
null
// Copyright Gavin Band 2008 - 2012. // 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 <string> #include <ctime> #include "appcontext/get_current_time_as_string.hpp" namespace appco...
27.5
62
0.669421
gavinband
f37c74d0f54ac5bc8628bb0f4cd2e4d763885437
245
cpp
C++
lab71arrayj.cpp
aizhansapina/lab7
afe2e08dea728f45a679c085ec05d7ca8a66817e
[ "MIT" ]
null
null
null
lab71arrayj.cpp
aizhansapina/lab7
afe2e08dea728f45a679c085ec05d7ca8a66817e
[ "MIT" ]
null
null
null
lab71arrayj.cpp
aizhansapina/lab7
afe2e08dea728f45a679c085ec05d7ca8a66817e
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main () { int n; cin >> n; int a[n]; for (int i=0; i<n; i++){ cin >> a[i];} int mx = a[0]; for (int i=1; i<n; i++){ if (a[i]>mx) mx = a[i]; cout << a[i] << " ";} return 0; }
14.411765
26
0.444898
aizhansapina
3ce462dbd874bed265565e17c3455b403e4cb06e
9,321
cpp
C++
src/utils/registry.cpp
shravanAngadi/seafile-client
69f8e88e07f6960fd37fe1caa06649c613ea81d4
[ "Apache-2.0" ]
null
null
null
src/utils/registry.cpp
shravanAngadi/seafile-client
69f8e88e07f6960fd37fe1caa06649c613ea81d4
[ "Apache-2.0" ]
null
null
null
src/utils/registry.cpp
shravanAngadi/seafile-client
69f8e88e07f6960fd37fe1caa06649c613ea81d4
[ "Apache-2.0" ]
1
2021-11-02T18:40:14.000Z
2021-11-02T18:40:14.000Z
#include <windows.h> #include <shlwapi.h> #include <vector> #include "utils/stl.h" #include "registry.h" namespace { LONG openKey(HKEY root, const QString& path, HKEY *p_key, REGSAM samDesired = KEY_ALL_ACCESS) { LONG result; result = RegOpenKeyExW(root, path.toStdWString().c_str(...
27.174927
93
0.497586
shravanAngadi
3ce5d2ea45a5ca2d752e93bfc58ee6ba704f5aee
2,084
hpp
C++
include/oglplus/client_context.hpp
highfidelity/oglplus
c5fb7cc21869cb9555cfa2a7e28ea6bc6491d11e
[ "BSL-1.0" ]
2
2017-06-09T00:28:35.000Z
2017-06-09T00:28:43.000Z
include/oglplus/client_context.hpp
highfidelity/oglplus
c5fb7cc21869cb9555cfa2a7e28ea6bc6491d11e
[ "BSL-1.0" ]
null
null
null
include/oglplus/client_context.hpp
highfidelity/oglplus
c5fb7cc21869cb9555cfa2a7e28ea6bc6491d11e
[ "BSL-1.0" ]
8
2017-01-30T22:06:41.000Z
2020-01-14T17:24:36.000Z
/** * @file oglplus/client_context.hpp * @brief Client context. * * @author Matus Chochlik * * Copyright 2010-2014 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) */ #pragma once #ifnde...
29.352113
68
0.784069
highfidelity
3ce8398e750d5d1cfc72b47e4fe8dc6167b46869
3,824
cpp
C++
c/Haxe/OpenFL/01.HelloWorld/Export/windows/cpp/obj/src/openfl/media/SoundLoaderContext.cpp
amenoyoya/old-project
640ec696af5d18267d86629098f41451857f8103
[ "MIT" ]
null
null
null
c/Haxe/OpenFL/01.HelloWorld/Export/windows/cpp/obj/src/openfl/media/SoundLoaderContext.cpp
amenoyoya/old-project
640ec696af5d18267d86629098f41451857f8103
[ "MIT" ]
1
2019-07-07T09:52:20.000Z
2019-07-07T09:52:20.000Z
c/Haxe/OpenFL/01.HelloWorld/Export/windows/cpp/obj/src/openfl/media/SoundLoaderContext.cpp
amenoyoya/old-project
640ec696af5d18267d86629098f41451857f8103
[ "MIT" ]
null
null
null
#include <hxcpp.h> #ifndef INCLUDED_openfl_media_SoundLoaderContext #include <openfl/media/SoundLoaderContext.h> #endif namespace openfl{ namespace media{ Void SoundLoaderContext_obj::__construct(hx::Null< Float > __o_bufferTime,hx::Null< bool > __o_checkPolicyFile) { HX_STACK_FRAME("openfl.media.SoundLoa...
30.592
157
0.75
amenoyoya
3ce9776b49158e2fac36128b37a605d1ce641d90
1,249
cpp
C++
Olympiad Solutions/URI/1321.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
Olympiad Solutions/URI/1321.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
Olympiad Solutions/URI/1321.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
// Ivan Carvalho // Solution to https://www.urionlinejudge.com.br/judge/problems/view/1321 #include <cstdio> #include <vector> #include <algorithm> using namespace std; int usada[53]; int c1,c2,c3,d1,d2; int joga(int A,int B,int C,int D,int E,int F){ return ((A < D) + (B < E) + (C < F)) >= 2; } int ehvencedora(int d3)...
26.574468
76
0.622898
Ashwanigupta9125
3cea1172e4ac7f3e5010ebf08a3586e04441bec0
1,306
hh
C++
include/ignition/gazebo/components/LevelBuffer.hh
mrushyendra/ign-gazebo
2f7f33d4fa34657badec81558d5953fe7643769f
[ "ECL-2.0", "Apache-2.0" ]
198
2020-04-15T16:56:09.000Z
2022-03-27T12:31:08.000Z
include/ignition/gazebo/components/LevelBuffer.hh
mrushyendra/ign-gazebo
2f7f33d4fa34657badec81558d5953fe7643769f
[ "ECL-2.0", "Apache-2.0" ]
1,220
2020-04-15T18:10:29.000Z
2022-03-31T22:37:06.000Z
include/ignition/gazebo/components/LevelBuffer.hh
mrushyendra/ign-gazebo
2f7f33d4fa34657badec81558d5953fe7643769f
[ "ECL-2.0", "Apache-2.0" ]
134
2020-04-15T16:59:57.000Z
2022-03-26T08:51:31.000Z
/* * Copyright (C) 2018 Open Source Robotics 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 * * Unless required by appl...
29.681818
76
0.774885
mrushyendra
3cecaefaf6aace984b23497e9d5569b3412c61e0
176
hpp
C++
runtime/src/aderite/scripting/internals/ScriptEntity.hpp
nfwGytautas/aderite
87a6a5c24a6dcaca80088cb7a4fca1f846a7f22c
[ "MIT" ]
null
null
null
runtime/src/aderite/scripting/internals/ScriptEntity.hpp
nfwGytautas/aderite
87a6a5c24a6dcaca80088cb7a4fca1f846a7f22c
[ "MIT" ]
null
null
null
runtime/src/aderite/scripting/internals/ScriptEntity.hpp
nfwGytautas/aderite
87a6a5c24a6dcaca80088cb7a4fca1f846a7f22c
[ "MIT" ]
null
null
null
#pragma once namespace aderite { namespace scripting { /** * @brief Links entity internal calls */ void entityInternals(); } // namespace scripting } // namespace aderite
13.538462
37
0.715909
nfwGytautas
3cece45eb27ca11c094add36bf3778f50d31330b
1,418
cpp
C++
Websites/Codeforces/158B.cpp
justaname94/Algorithms
4c9ec4119b0d92d5889f85b89fcb24f885a82373
[ "MIT" ]
null
null
null
Websites/Codeforces/158B.cpp
justaname94/Algorithms
4c9ec4119b0d92d5889f85b89fcb24f885a82373
[ "MIT" ]
null
null
null
Websites/Codeforces/158B.cpp
justaname94/Algorithms
4c9ec4119b0d92d5889f85b89fcb24f885a82373
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> using namespace std; int main() { int groupsNum; cin >> groupsNum; vector<int> groups(groupsNum); for (int i = 0; i < groups.size(); i++) { cin >> groups[i]; } // Sort from biggest to smallest Num. sort(groups.rbegin(...
24.033898
69
0.49859
justaname94
3cedd63ae202687fc2e7fef7ed66082e6eb3546b
2,185
cpp
C++
Resources/Button.cpp
JTuthill01/Nightmare
e4b712e28c228c66a33664418cc176cf527c28c9
[ "MIT" ]
null
null
null
Resources/Button.cpp
JTuthill01/Nightmare
e4b712e28c228c66a33664418cc176cf527c28c9
[ "MIT" ]
null
null
null
Resources/Button.cpp
JTuthill01/Nightmare
e4b712e28c228c66a33664418cc176cf527c28c9
[ "MIT" ]
null
null
null
#include "stdafx.hpp" #include "Button.hpp" Button::Button(sf::Vector2f position, sf::Vector2f size, sf::Font * font, std::string text, unsigned character_size, sf::Color buttonColor, sf::Color idleButtonColor, sf::Color buttonHoverColor, sf::Color buttonActiveColor, sf::Color textColor) : mPosition(position), m...
29.527027
190
0.715789
JTuthill01
3cefb28f682660b3fd19f2ef575daf4c4cfdda7d
11,934
cpp
C++
src/qt/qtbase/src/network/access/qnetworkcookiejar.cpp
zwollerob/PhantomJS_AMR6VL
71c126e98a8c32950158d04d0bd75823cd008b99
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/src/network/access/qnetworkcookiejar.cpp
zwollerob/PhantomJS_AMR6VL
71c126e98a8c32950158d04d0bd75823cd008b99
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/src/network/access/qnetworkcookiejar.cpp
zwollerob/PhantomJS_AMR6VL
71c126e98a8c32950158d04d0bd75823cd008b99
[ "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 QtNetwork module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid com...
34.997067
97
0.684263
zwollerob
3cf0fbc327ebd94ccdd418ff82853bd113db05b1
75,596
cpp
C++
TemplePlus/animgoals/anim.cpp
dolio/TemplePlus
37446bb3d1fcbf460e611a4fcb2caff167e9ac08
[ "MIT" ]
2
2019-02-25T21:06:18.000Z
2019-02-25T21:06:18.000Z
TemplePlus/animgoals/anim.cpp
anatoliy-savchak/TemplePlus
50922bb14cc2d7dcf8fceeccf45c3b905c1b512f
[ "MIT" ]
null
null
null
TemplePlus/animgoals/anim.cpp
anatoliy-savchak/TemplePlus
50922bb14cc2d7dcf8fceeccf45c3b905c1b512f
[ "MIT" ]
null
null
null
#include "stdafx.h" #include <infrastructure/vfs.h> #include <infrastructure/keyboard.h> #include "anim.h" #include "util/fixes.h" #include "temple_functions.h" #include "gamesystems/timeevents.h" #include "gamesystems/gamesystems.h" #include "gamesystems/objects/objsystem.h" #include "config/config.h" #include "obj....
30.868109
196
0.64432
dolio
3cf12203308d5157ac61d5cd20f775b77d386886
696
cpp
C++
src/kern_state.cpp
ammrat13/cuda-magnetic-pendulum
51c77a21d6fdec15add82aeb0895684a4bbda1ff
[ "MIT" ]
null
null
null
src/kern_state.cpp
ammrat13/cuda-magnetic-pendulum
51c77a21d6fdec15add82aeb0895684a4bbda1ff
[ "MIT" ]
null
null
null
src/kern_state.cpp
ammrat13/cuda-magnetic-pendulum
51c77a21d6fdec15add82aeb0895684a4bbda1ff
[ "MIT" ]
null
null
null
#include "kern.h" kern::State::State(size_t res): resolution{res} { this->data = std::make_unique<kern::State::StateElem[]>( this->resolution * this->resolution ); } void kern::State::check_bounds(size_t r, size_t c) const { if(r >= this->resolution || c >= this->resolution) { throw std:...
26.769231
82
0.632184
ammrat13
3cf251222232a74dba2586526ddeef2f57dd0856
20,971
cpp
C++
SPH_SM_monodomain/SPH_SM_monodomain.cpp
Hagen23/SPH-SM-Monodomain
9211cfa38cbc508a88495cecc1154e93ed414ae7
[ "MIT" ]
null
null
null
SPH_SM_monodomain/SPH_SM_monodomain.cpp
Hagen23/SPH-SM-Monodomain
9211cfa38cbc508a88495cecc1154e93ed414ae7
[ "MIT" ]
null
null
null
SPH_SM_monodomain/SPH_SM_monodomain.cpp
Hagen23/SPH-SM-Monodomain
9211cfa38cbc508a88495cecc1154e93ed414ae7
[ "MIT" ]
null
null
null
#ifndef __SPH_SM_monodomain_CPP__ #define __SPH_SM_monodomain_CPP__ #include <SPH_SM_monodomain.h> #include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> #include <iostream> using namespace std; SPH_SM_monodomain::SPH_SM_monodomain() { float sigma_i = 0.893, sigma_e = 0.67; kernel = 0.04f; ...
25.205529
465
0.583425
Hagen23
3cf3ee5fd0ed2c9e655457b8987fc092c364466f
31,760
cpp
C++
tools/polymutt/polymutt.0.04/src/FamilyLikelihoodES.cpp
globusgenomics/galaxy
7caf74d9700057587b3e3434c64e82c5b16540f1
[ "CC-BY-3.0" ]
1
2021-02-05T13:19:58.000Z
2021-02-05T13:19:58.000Z
tools/polymutt/polymutt.0.04/src/FamilyLikelihoodES.cpp
globusgenomics/galaxy
7caf74d9700057587b3e3434c64e82c5b16540f1
[ "CC-BY-3.0" ]
null
null
null
tools/polymutt/polymutt.0.04/src/FamilyLikelihoodES.cpp
globusgenomics/galaxy
7caf74d9700057587b3e3434c64e82c5b16540f1
[ "CC-BY-3.0" ]
null
null
null
#include "FamilyLikelihoodES.h" #include <map> #include <vector> #include "Error.h" using namespace std; ES_Peeling::ES_Peeling() { ped = NULL; family = NULL; famIdx = -1; parents = NULL; offspring = NULL; spouses = NULL; } ES_Peeling::~ES_Peeling() { if(parents==NULL) delete[] parents; if(offspring!...
25.18636
164
0.613759
globusgenomics
3cf4c4ba4ceb68b48a6298f95bdb4b08d6dbf4a3
10,751
cpp
C++
src/xalanc/XSLT/ElemValueOf.cpp
kidaa/xalan-c
bb666d0ab3d0a192410823e6857c203d83c27b16
[ "Apache-2.0" ]
null
null
null
src/xalanc/XSLT/ElemValueOf.cpp
kidaa/xalan-c
bb666d0ab3d0a192410823e6857c203d83c27b16
[ "Apache-2.0" ]
1
2021-08-18T12:32:31.000Z
2021-08-18T12:32:31.000Z
src/xalanc/XSLT/ElemValueOf.cpp
AaronNGray/xalan
6741bbdcb64a9d33df8bd7e21b558d66bb4292ec
[ "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 the Apache License, Version 2.0 (the "License"); * you m...
25.002326
101
0.597898
kidaa
3cf6bf02b24135d23e7a67e4f4a0e75ad5c1de31
14,231
cpp
C++
libless/src/value/NumberFunctions.cpp
Ti-R/clessc
c822dedd077ff82395890d6c58f213d9a574d96c
[ "MIT" ]
66
2015-02-07T09:08:30.000Z
2021-12-06T17:07:45.000Z
libless/src/value/NumberFunctions.cpp
Ti-R/clessc
c822dedd077ff82395890d6c58f213d9a574d96c
[ "MIT" ]
30
2015-01-18T07:05:48.000Z
2020-10-08T12:44:21.000Z
libless/src/value/NumberFunctions.cpp
Ti-R/clessc
c822dedd077ff82395890d6c58f213d9a574d96c
[ "MIT" ]
19
2015-10-19T12:59:19.000Z
2021-12-06T17:07:49.000Z
#include "less/value/NumberFunctions.h" #include "less/value/FunctionLibrary.h" #include "less/value/Value.h" #include "less/value/NumberValue.h" #include "less/value/UnitValue.h" void NumberFunctions::loadFunctions(FunctionLibrary& lib) { lib.push("unit", ".U?", &NumberFunctions::unit); lib.push("get-unit", ".",...
34.625304
78
0.577612
Ti-R
3cf76a3077a6520f2dd329401de730c478dea4f7
161
cpp
C++
src/texture_map.cpp
Poligun/RayTracer
4acbada4ca8276ee646fa7ae38a2839943843cb2
[ "MIT" ]
null
null
null
src/texture_map.cpp
Poligun/RayTracer
4acbada4ca8276ee646fa7ae38a2839943843cb2
[ "MIT" ]
null
null
null
src/texture_map.cpp
Poligun/RayTracer
4acbada4ca8276ee646fa7ae38a2839943843cb2
[ "MIT" ]
null
null
null
// // texture_map.cpp // RayTracer // // Created by ZhaoYuhan on 5/18/15. // Copyright (c) 2015 ZhaoYuhan. All rights reserved. // #include "texture_map.h"
16.1
54
0.664596
Poligun
3cf8656eaf24f62201b8e37248024f8bd1919b0a
3,153
hpp
C++
src/network/ServerConnection.hpp
pjz/opentxs
04cb17a7d1870c4c3b264e4307b9e9f248f24c87
[ "MIT" ]
null
null
null
src/network/ServerConnection.hpp
pjz/opentxs
04cb17a7d1870c4c3b264e4307b9e9f248f24c87
[ "MIT" ]
null
null
null
src/network/ServerConnection.hpp
pjz/opentxs
04cb17a7d1870c4c3b264e4307b9e9f248f24c87
[ "MIT" ]
null
null
null
// Copyright (c) 2018 The Open-Transactions developers // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #pragma once #include "Internal.hpp" namespace opentxs::netw...
37.094118
75
0.717729
pjz
3cf86ff688872ea1aa2e07d013b19a820b858579
5,252
cxx
C++
graphics/VTK-7.0.0/Filters/FlowPaths/vtkStreamPoints.cxx
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
4
2016-03-30T14:31:52.000Z
2019-02-02T05:01:32.000Z
graphics/VTK-7.0.0/Filters/FlowPaths/vtkStreamPoints.cxx
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
null
null
null
graphics/VTK-7.0.0/Filters/FlowPaths/vtkStreamPoints.cxx
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
null
null
null
/*========================================================================= Program: Visualization Toolkit Module: vtkStreamPoints.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This ...
28.857143
87
0.607388
hlzz
3cf9215adfb996ab70f88fc8175b9281211047cb
1,485
cpp
C++
Tree/nodesNotHavingSiblings.cpp
harshallgarg/Diversified-Programming
7e6fb135c4639dbaa0651b85f98397f994a5b11d
[ "MIT" ]
2
2020-08-09T02:09:50.000Z
2020-08-09T07:07:47.000Z
Tree/nodesNotHavingSiblings.cpp
harshallgarg/Diversified-Programming
7e6fb135c4639dbaa0651b85f98397f994a5b11d
[ "MIT" ]
null
null
null
Tree/nodesNotHavingSiblings.cpp
harshallgarg/Diversified-Programming
7e6fb135c4639dbaa0651b85f98397f994a5b11d
[ "MIT" ]
5
2020-09-21T12:49:07.000Z
2020-09-29T16:13:09.000Z
// // Created by Anish Mookherjee on 27/05/20. // /* Tree node structure used in the program struct Node { int data; Node* left, *right; }; */ /* Prints the nodes having no siblings. */ vector<int> v; void pushVector(Node* root) { if(root==NULL) return; else if(!root->left&&root->right)...
17.470588
43
0.531987
harshallgarg
3cfa5330fc125aaf73d9cb37f61094e403ba3135
7,122
cpp
C++
src/test/instruction_iterator_tests.cpp
Trackerming/bitcoin-sv
fb50a64e3ea0334a86b2c80daf5147c5bc2693c4
[ "MIT" ]
2
2018-10-17T21:07:47.000Z
2018-12-10T19:13:35.000Z
src/test/instruction_iterator_tests.cpp
Trackerming/bitcoin-sv
fb50a64e3ea0334a86b2c80daf5147c5bc2693c4
[ "MIT" ]
null
null
null
src/test/instruction_iterator_tests.cpp
Trackerming/bitcoin-sv
fb50a64e3ea0334a86b2c80daf5147c5bc2693c4
[ "MIT" ]
1
2019-09-29T07:53:10.000Z
2019-09-29T07:53:10.000Z
// Copyright (c) 2020 Bitcoin Association // Distributed under the Open BSV software license, see the accompanying file // LICENSE. #include "script/instruction_iterator.h" #include <boost/test/unit_test.hpp> #include <vector> using namespace std; using namespace bsv; BOOST_AUTO_TEST_SUITE(instruction_iterator_tes...
35.432836
87
0.48961
Trackerming
3cfa57d0287b926ac690165484157b616e709dd9
14,036
cpp
C++
src/graphics/CSegmentArray.cpp
Yung-Quant/elec490
09314b1c3f4f061effa396c104f094f28a0aabff
[ "BSD-3-Clause" ]
null
null
null
src/graphics/CSegmentArray.cpp
Yung-Quant/elec490
09314b1c3f4f061effa396c104f094f28a0aabff
[ "BSD-3-Clause" ]
null
null
null
src/graphics/CSegmentArray.cpp
Yung-Quant/elec490
09314b1c3f4f061effa396c104f094f28a0aabff
[ "BSD-3-Clause" ]
null
null
null
//============================================================================== /* Software License Agreement (BSD License) Copyright (c) 2003-2016, CHAI3D. (www.chai3d.org) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are perm...
42.662614
101
0.527216
Yung-Quant
a70266cfa6b87ad0f13235fbdab40f6b7920353a
3,709
cpp
C++
test/resqml2_test/WellboreTrajectoryRepresentationTest.cpp
cgodkin/fesapi
d25c5e30ccec537c471adc3bb036c48f2c51f2c9
[ "Apache-2.0" ]
null
null
null
test/resqml2_test/WellboreTrajectoryRepresentationTest.cpp
cgodkin/fesapi
d25c5e30ccec537c471adc3bb036c48f2c51f2c9
[ "Apache-2.0" ]
null
null
null
test/resqml2_test/WellboreTrajectoryRepresentationTest.cpp
cgodkin/fesapi
d25c5e30ccec537c471adc3bb036c48f2c51f2c9
[ "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 ...
42.147727
163
0.760582
cgodkin
a7089fdafc2e3224ad4799430a572ed3e8be8167
964
cpp
C++
dlk/python/dlk/templates/src/func/sqrt.cpp
toohsk/blueoil
596922caa939db9c5ecbac3286fbf6f703865ee6
[ "Apache-2.0" ]
null
null
null
dlk/python/dlk/templates/src/func/sqrt.cpp
toohsk/blueoil
596922caa939db9c5ecbac3286fbf6f703865ee6
[ "Apache-2.0" ]
null
null
null
dlk/python/dlk/templates/src/func/sqrt.cpp
toohsk/blueoil
596922caa939db9c5ecbac3286fbf6f703865ee6
[ "Apache-2.0" ]
2
2019-02-08T10:03:34.000Z
2019-03-20T06:25:55.000Z
/* Copyright 2018 The Blueoil Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
32.133333
80
0.68361
toohsk
a709191cca77c97f6d69e421ef69e87e05a79529
1,443
hpp
C++
src/core/util/try_finally.hpp
Bpowers4/turicreate
73dad213cc1c4f74337b905baea2b3a1e5a0266c
[ "BSD-3-Clause" ]
11,356
2017-12-08T19:42:32.000Z
2022-03-31T16:55:25.000Z
src/core/util/try_finally.hpp
Bpowers4/turicreate
73dad213cc1c4f74337b905baea2b3a1e5a0266c
[ "BSD-3-Clause" ]
2,402
2017-12-08T22:31:01.000Z
2022-03-28T19:25:52.000Z
src/core/util/try_finally.hpp
Bpowers4/turicreate
73dad213cc1c4f74337b905baea2b3a1e5a0266c
[ "BSD-3-Clause" ]
1,343
2017-12-08T19:47:19.000Z
2022-03-26T11:31:36.000Z
/* Copyright © 2017 Apple Inc. All rights reserved. * * Use of this source code is governed by a BSD-3-clause license that can * be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause */ #ifndef TURI_TRY_FINALLY_H_ #define TURI_TRY_FINALLY_H_ #include <vector> #include <functional> na...
20.041667
86
0.658351
Bpowers4
a70c515b02f231f4d9e9c7e20fbec1189bd4b4a9
246
cc
C++
caffe2/operators/quantized/int8_conv_op_relu.cc
brooks-anderson/pytorch
dd928097938b6368fc7e2dc67721550d50ab08ea
[ "Intel" ]
7
2021-05-29T16:31:51.000Z
2022-02-21T18:52:25.000Z
caffe2/operators/quantized/int8_conv_op_relu.cc
brooks-anderson/pytorch
dd928097938b6368fc7e2dc67721550d50ab08ea
[ "Intel" ]
1
2021-05-10T01:18:33.000Z
2021-05-10T01:18:33.000Z
caffe2/operators/quantized/int8_conv_op_relu.cc
brooks-anderson/pytorch
dd928097938b6368fc7e2dc67721550d50ab08ea
[ "Intel" ]
1
2021-12-26T23:20:06.000Z
2021-12-26T23:20:06.000Z
#include "caffe2/operators/quantized/int8_conv_op.h" namespace caffe2 { // NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables) REGISTER_CPU_OPERATOR(Int8ConvRelu, int8::Int8ConvOp<int8::Activation::RELU>); } // namespace caffe2
27.333333
78
0.804878
brooks-anderson
a70d59f68a9c90806eb9f930c5b8d0c5a19c973a
2,805
cpp
C++
fi-tools/sw-faults/Regression/testsuite/CPP/62/62.origin.cpp
ucx-code/ucXception
6b1f4fe4aa53a28e87584d07f540095c20ee50e9
[ "BSD-3-Clause" ]
2
2020-08-11T10:54:56.000Z
2021-03-22T14:54:19.000Z
fi-tools/sw-faults/Regression/testsuite/CPP/62/62.origin.cpp
ucx-code/ucXception
6b1f4fe4aa53a28e87584d07f540095c20ee50e9
[ "BSD-3-Clause" ]
null
null
null
fi-tools/sw-faults/Regression/testsuite/CPP/62/62.origin.cpp
ucx-code/ucXception
6b1f4fe4aa53a28e87584d07f540095c20ee50e9
[ "BSD-3-Clause" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <string.h> struct _slot { int begin; int end; }; struct _slot in[150000]; struct _slot slot[150000]; /* B1 -> 7.863 O(n*d) -> 0.195 O(n * log(d)) (STL) -> 0.094 HandCoded Heap B2 -> 29.192 -> 0.116 -> 0.083 B3 -> ->...
19.479167
81
0.440998
ucx-code
a70f5b14eae9a0bc341dfec46ac2e33116ce8897
753
cc
C++
core/src/main/cpp/interfaces/tokenizers/word_tokenizer.cc
akhvorov/vgram
e4d27534041c94a394a5852d0858b85e25f2b875
[ "MIT" ]
7
2018-12-13T19:06:32.000Z
2019-11-29T13:44:30.000Z
core/src/main/cpp/interfaces/tokenizers/word_tokenizer.cc
akhvorov/vgram
e4d27534041c94a394a5852d0858b85e25f2b875
[ "MIT" ]
5
2019-02-02T21:05:58.000Z
2019-06-23T08:39:49.000Z
core/src/main/cpp/interfaces/tokenizers/word_tokenizer.cc
akhvorov/vgram
e4d27534041c94a394a5852d0858b85e25f2b875
[ "MIT" ]
null
null
null
// // Created by Aleksandr Khvorov on 30/06/2019. // #include "word_tokenizer.h" using namespace std; using namespace vgram_core; WordTokenizer::WordTokenizer() = default; WordTokenizer::WordTokenizer(const unordered_map<string, int> &forward_map) : BaseTokenizer(forward_map) {} string WordTokenizer::normalize(con...
22.147059
107
0.614874
akhvorov
a70f6898a0156a053409e8225ff81d518c350332
1,919
cxx
C++
Common/Core/Testing/Cxx/TestOStreamWrapper.cxx
cclauss/VTK
f62a52cce9044159efb4adb7cc0cfd7ec0bc8b6d
[ "BSD-3-Clause" ]
1,755
2015-01-03T06:55:00.000Z
2022-03-29T05:23:26.000Z
Common/Core/Testing/Cxx/TestOStreamWrapper.cxx
cclauss/VTK
f62a52cce9044159efb4adb7cc0cfd7ec0bc8b6d
[ "BSD-3-Clause" ]
29
2015-04-23T20:58:30.000Z
2022-03-02T16:16:42.000Z
Common/Core/Testing/Cxx/TestOStreamWrapper.cxx
cclauss/VTK
f62a52cce9044159efb4adb7cc0cfd7ec0bc8b6d
[ "BSD-3-Clause" ]
1,044
2015-01-05T22:48:27.000Z
2022-03-31T02:38:26.000Z
/*========================================================================= Program: Visualization Toolkit Module: TestOStreamWrapper.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This softwa...
32.525424
93
0.662324
cclauss
a7110ec8f2e77e4efd6c5348589460fab4a0d357
7,940
cpp
C++
source/Irrlicht/CSkyDomeSceneNode.cpp
WieszKto/IrrlichtBAW
bcef8386c2ca7f06ff006b866c397035551a2351
[ "Apache-2.0" ]
null
null
null
source/Irrlicht/CSkyDomeSceneNode.cpp
WieszKto/IrrlichtBAW
bcef8386c2ca7f06ff006b866c397035551a2351
[ "Apache-2.0" ]
null
null
null
source/Irrlicht/CSkyDomeSceneNode.cpp
WieszKto/IrrlichtBAW
bcef8386c2ca7f06ff006b866c397035551a2351
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2002-2012 Nikolaus Gebhardt // This file is part of the "Irrlicht Engine". // For conditions of distribution and use, see copyright notice in irrlicht.h // Code for this scene node has been contributed by Anders la Cour-Harbo (alc) #include "CSkyDomeSceneNode.h" #include "ICameraSceneNode.h" ...
33.644068
146
0.715365
WieszKto
a712772c3175a9a2e6f570e9fa022cf50c75429c
51,598
cpp
C++
B2G/gecko/content/media/ogg/nsOggCodecState.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-08-31T15:24:31.000Z
2020-04-24T20:31:29.000Z
B2G/gecko/content/media/ogg/nsOggCodecState.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
null
null
null
B2G/gecko/content/media/ogg/nsOggCodecState.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-07-29T07:17:15.000Z
2020-11-04T06:55:37.000Z
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim:set ts=2 sw=2 sts=2 et cindent: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2....
33.096857
108
0.657681
wilebeast
a7132505b1843e877723d85cc822a6a5ef090ff3
9,585
hpp
C++
ThirdParty-mod/java2cpp/java/util/concurrent/TimeUnit.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
1
2019-04-03T01:53:28.000Z
2019-04-03T01:53:28.000Z
ThirdParty-mod/java2cpp/java/util/concurrent/TimeUnit.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
ThirdParty-mod/java2cpp/java/util/concurrent/TimeUnit.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
/*================================================================================ code generated by: java2cpp author: Zoran Angelov, mailto://baldzar@gmail.com class: java.util.concurrent.TimeUnit ================================================================================*/ #ifndef J2CPP_INCLUDE_IM...
37.007722
150
0.725091
kakashidinho
a715a0dc68d5c83f3da125335e5053dfd7cfe945
2,645
cpp
C++
Software/Cpp/grove_rgb_lcd/grove_rgb_lcd_example.cpp
benmcclelland/GrovePi
1e48137b6007ffd4ce430e821d2aa744349e362a
[ "MIT" ]
482
2015-01-09T03:06:14.000Z
2022-03-24T10:05:07.000Z
Software/Cpp/grove_rgb_lcd/grove_rgb_lcd_example.cpp
benmcclelland/GrovePi
1e48137b6007ffd4ce430e821d2aa744349e362a
[ "MIT" ]
257
2015-01-13T14:08:17.000Z
2022-01-20T08:43:50.000Z
Software/Cpp/grove_rgb_lcd/grove_rgb_lcd_example.cpp
benmcclelland/GrovePi
1e48137b6007ffd4ce430e821d2aa744349e362a
[ "MIT" ]
510
2015-01-27T17:15:44.000Z
2022-03-29T01:27:13.000Z
// // GrovePi Example for using the Grove - LCD RGB Backlight (http://www.seeedstudio.com/wiki/Grove_-_LCD_RGB_Backlight) // // The GrovePi connects the Raspberry Pi and Grove sensors. You can learn more about GrovePi here: http://www.dexterindustries.com/GrovePi // // Have a question about this example? Ask on the ...
33.481013
142
0.734216
benmcclelland
a717e221031f1a4ffba6ca0e2dccf746008a5727
1,174
cpp
C++
UVa/Competitive_Programming_Exercises/05-Mathematics/04-Number_Theory/01-Prime_Numbers/10650.cpp
TISparta/competitive-programming-solutions
31987d4e67bb874bf15653565c6418b5605a20a8
[ "MIT" ]
1
2018-01-30T13:21:30.000Z
2018-01-30T13:21:30.000Z
UVa/Competitive_Programming_Exercises/05-Mathematics/04-Number_Theory/01-Prime_Numbers/10650.cpp
TISparta/competitive-programming-solutions
31987d4e67bb874bf15653565c6418b5605a20a8
[ "MIT" ]
null
null
null
UVa/Competitive_Programming_Exercises/05-Mathematics/04-Number_Theory/01-Prime_Numbers/10650.cpp
TISparta/competitive-programming-solutions
31987d4e67bb874bf15653565c6418b5605a20a8
[ "MIT" ]
1
2018-08-29T13:26:50.000Z
2018-08-29T13:26:50.000Z
#include <bits/stdc++.h> #define SIZE 32000 #define LIM 200 using namespace std; bool is_prime[SIZE]; vector<int>prime; vector<int>determinate[LIM]; int x, y, z; void sieve(){ memset(is_prime, true, sizeof is_prime); for(long long it1 = 2; it1 < SIZE; it1++){ if(is_prime[it1]){ for(long long it...
24.458333
91
0.483816
TISparta
a71b8c3974ad8afc505d74eba5973c2bf0d7e250
41,555
cpp
C++
DirectZobEngine/Rendering/Engine.cpp
zeralph/directZob
7682ec0b77b697659be157cce62413e3ee877ee4
[ "WTFPL" ]
2
2019-06-12T18:11:36.000Z
2022-01-19T00:26:00.000Z
DirectZobEngine/Rendering/Engine.cpp
zeralph/directZob
7682ec0b77b697659be157cce62413e3ee877ee4
[ "WTFPL" ]
null
null
null
DirectZobEngine/Rendering/Engine.cpp
zeralph/directZob
7682ec0b77b697659be157cce62413e3ee877ee4
[ "WTFPL" ]
1
2019-10-05T02:44:47.000Z
2019-10-05T02:44:47.000Z
#include "Engine.h" #include <algorithm> #include <thread> #ifdef LINUX #include <unistd.h> #elif MACOS #include <unistd.h> #elif WINDOWS #include <windows.h> #endif //LINUX #include <assert.h> #include <mutex> #include <condition_variable> #include "DirectZob.h" #include "Rasterizer.h" #include "../ZobObjects/Camera.h...
29.513494
190
0.657466
zeralph
a71d7957271f372b509b81c9b356e69aea0cb74e
175
cpp
C++
main/compilation/routine_call.cpp
amakuzaze/lizard
2e53bdd62fd7f0524c15f2787edd8c6ac1079115
[ "MIT" ]
null
null
null
main/compilation/routine_call.cpp
amakuzaze/lizard
2e53bdd62fd7f0524c15f2787edd8c6ac1079115
[ "MIT" ]
null
null
null
main/compilation/routine_call.cpp
amakuzaze/lizard
2e53bdd62fd7f0524c15f2787edd8c6ac1079115
[ "MIT" ]
1
2022-03-21T08:00:45.000Z
2022-03-21T08:00:45.000Z
#include "routine_call.h" RoutineCall::RoutineCall(const Routine_ptr routine) : routine(routine) { } bool RoutineCall::run() { this->routine->start(); return true; }
19.444444
72
0.702857
amakuzaze
a71d8700713cb112eaca7cb82e0d84d68ba48fcf
321
cpp
C++
qt-ts-csv/x2x/Xlsx2Ts.cpp
Stivvo/qt-ts-csv
5b262dbc1250fffd465c2114ffbb0a8e63c3c1ac
[ "MIT" ]
2
2019-08-07T10:02:20.000Z
2021-11-03T17:09:42.000Z
qt-ts-csv/x2x/Xlsx2Ts.cpp
Stivvo/qt-ts-csv
5b262dbc1250fffd465c2114ffbb0a8e63c3c1ac
[ "MIT" ]
null
null
null
qt-ts-csv/x2x/Xlsx2Ts.cpp
Stivvo/qt-ts-csv
5b262dbc1250fffd465c2114ffbb0a8e63c3c1ac
[ "MIT" ]
null
null
null
#include "Xlsx2Ts.hpp" #include "TsBuilder.hpp" #include "Writer.hpp" #include "XlsxParser.hpp" #include <sstream> void Xlsx2Ts::convert(std::string &&filename, std::string &&output) { Writer().write(TsBuilder().build(XlsxParser().parse(std::move(filename))), std::move(output)); } ...
22.928571
79
0.635514
Stivvo
a71e3fe91e4ede20886f6eeba0dd01101d89bef2
416
hpp
C++
4w_Arcade/src/globals.hpp
Bryanmarc/VEX-Robotics-3273
d4a0188bb705265a505488684e09aff7531fd080
[ "MIT" ]
1
2019-03-13T14:55:59.000Z
2019-03-13T14:55:59.000Z
4w_Arcade/src/globals.hpp
Bryanmarc/VEX-Robotics-3273
d4a0188bb705265a505488684e09aff7531fd080
[ "MIT" ]
null
null
null
4w_Arcade/src/globals.hpp
Bryanmarc/VEX-Robotics-3273
d4a0188bb705265a505488684e09aff7531fd080
[ "MIT" ]
null
null
null
#ifndef GLOBALS_H #define GLOBALS_H #include "main.h" extern int side_sel; extern int auton_sel; extern pros::Controller master; extern pros::Motor back_left_mtr; extern pros::Motor back_right_mtr; extern pros::Motor front_left_mtr; extern pros::Motor front_right_mtr; extern pros::Motor flywheel_mtr_one; extern pros:...
21.894737
36
0.810096
Bryanmarc
a7208403aeb09b9fc80a0dee04aad5b5f33c480b
1,268
cpp
C++
iterator/cpp/self-made/iterator_pattern.cpp
LoLei/design-patterns-examples
213241ab94c8a5e74a3faa9c5f554d557e60b753
[ "MIT" ]
3
2020-02-11T20:37:13.000Z
2020-07-31T14:16:51.000Z
iterator/cpp/self-made/iterator_pattern.cpp
LoLei/design-patterns-examples
213241ab94c8a5e74a3faa9c5f554d557e60b753
[ "MIT" ]
null
null
null
iterator/cpp/self-made/iterator_pattern.cpp
LoLei/design-patterns-examples
213241ab94c8a5e74a3faa9c5f554d557e60b753
[ "MIT" ]
null
null
null
#include <iostream> #include <array> #include "arrayconcretecollection.h" #include "arrayconcreteiterator.h" #include "linkedlistconcretecollection.h" #include "linkedlistconcreteiterator.h" int main() { // Use custom array container std::cout << "#### Array container" << std::endl; ArrayConcreteCollection my_cu...
30.926829
89
0.747634
LoLei
a721de86001dc928d926ca70f4e3fc47285e9eea
1,961
cxx
C++
main/toolkit/source/awt/vclxplugin.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/toolkit/source/awt/vclxplugin.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/toolkit/source/awt/vclxplugin.cxx
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...
25.467532
64
0.645589
Grosskopf
a722b3f98dfcc263bc4557df7f793dbf36dcf7ee
13,573
cpp
C++
duilib/Utils/WinImplBase.cpp
l619534951/monitor_helper_duilib
a0df2a0285bdd37b77a611fba080dee0e55bda4f
[ "BSD-2-Clause", "MIT" ]
null
null
null
duilib/Utils/WinImplBase.cpp
l619534951/monitor_helper_duilib
a0df2a0285bdd37b77a611fba080dee0e55bda4f
[ "BSD-2-Clause", "MIT" ]
null
null
null
duilib/Utils/WinImplBase.cpp
l619534951/monitor_helper_duilib
a0df2a0285bdd37b77a611fba080dee0e55bda4f
[ "BSD-2-Clause", "MIT" ]
null
null
null
#include "stdafx.h" namespace ui { WindowImplBase::WindowImplBase() { } WindowImplBase::~WindowImplBase() { } void WindowImplBase::OnFinalMessage( HWND hWnd ) { __super::OnFinalMessage(hWnd); ReapObjects(GetRoot()); delete this; } LONG WindowImplBase::GetStyle() { LONG styleValue = ::GetWindowLong(GetHWND()...
29.442516
121
0.709202
l619534951
a723372107c01170afc7642f452c1ff49c6468de
5,974
cpp
C++
test/lru_map_test.cpp
arunksaha/lru_map
83cb3db3ddd467250a35a4775485bdbd759ffbb9
[ "Apache-2.0" ]
null
null
null
test/lru_map_test.cpp
arunksaha/lru_map
83cb3db3ddd467250a35a4775485bdbd759ffbb9
[ "Apache-2.0" ]
null
null
null
test/lru_map_test.cpp
arunksaha/lru_map
83cb3db3ddd467250a35a4775485bdbd759ffbb9
[ "Apache-2.0" ]
null
null
null
#include <random> #include "lru_map.h" using namespace std; struct LruKey { explicit LruKey(int64_t k) : key(k) {} bool operator==(const LruKey& rhs) const { return key == rhs.key; } int64_t key; }; std::ostream& operator<<(std::ostream& os, const LruKey& lrukey) { os << lrukey.key; return os; } nam...
24.483607
79
0.677603
arunksaha
a7253b0a62c4c3442a580ead473f6cc3ec21669f
1,560
cc
C++
selfdrive/sensord/sensors/lsm6ds3_accel.cc
Neptos/openpilot
01914a1a91ade18bd7aead99e7d1bf38cd22ad89
[ "MIT" ]
116
2018-03-07T09:00:10.000Z
2020-04-06T18:37:45.000Z
selfdrive/sensord/sensors/lsm6ds3_accel.cc
Neptos/openpilot
01914a1a91ade18bd7aead99e7d1bf38cd22ad89
[ "MIT" ]
66
2020-04-09T20:27:57.000Z
2022-01-27T14:39:24.000Z
selfdrive/sensord/sensors/lsm6ds3_accel.cc
Neptos/openpilot
01914a1a91ade18bd7aead99e7d1bf38cd22ad89
[ "MIT" ]
154
2020-04-08T21:41:22.000Z
2022-03-17T21:05:33.000Z
#include <cassert> #include "common/swaglog.h" #include "common/timing.h" #include "lsm6ds3_accel.hpp" LSM6DS3_Accel::LSM6DS3_Accel(I2CBus *bus) : I2CSensor(bus) {} int LSM6DS3_Accel::init(){ int ret = 0; uint8_t buffer[1]; ret = read_register(LSM6DS3_ACCEL_I2C_REG_ID, buffer, 1); if(ret < 0){ LOGE("Re...
24.761905
83
0.685897
Neptos
a726021589ae1509f57e8772723ea6a66fa18b66
1,444
cpp
C++
test/guitar_string_test.cpp
dsantosp12/Karplus-Strong-simulation
705cde9e720b0354e1123b44d30b93374e889840
[ "MIT" ]
2
2019-04-20T08:44:53.000Z
2021-04-07T00:29:44.000Z
test/guitar_string_test.cpp
dsantosp12/Karplus-Strong-simulation
705cde9e720b0354e1123b44d30b93374e889840
[ "MIT" ]
null
null
null
test/guitar_string_test.cpp
dsantosp12/Karplus-Strong-simulation
705cde9e720b0354e1123b44d30b93374e889840
[ "MIT" ]
null
null
null
/* Copyright 2015 Fred Martin, fredm@cs.uml.edu Wed Apr 1 09:43:12 2015 test file for GuitarString class compile with g++ -c GStest.cpp -lboost_unit_test_framework g++ GStest.o GuitarString.o RingBuffer.o -o GStest -lboost_unit_test_framework */ #define BOOST_TEST_DYN_LINK #define BOOST_TEST_MODULE Main ...
21.552239
80
0.666205
dsantosp12
a7266d7e7dc4041821f7b7cdede64bd9d354180a
6,921
cc
C++
google_apis/gaia/gaia_urls.cc
junmin-zhu/chromium-rivertrail
eb1a57aca71fe68d96e48af8998dcfbe45171ee1
[ "BSD-3-Clause" ]
5
2018-03-10T13:08:42.000Z
2021-07-26T15:02:11.000Z
google_apis/gaia/gaia_urls.cc
quisquous/chromium
b25660e05cddc9d0c3053b3514f07037acc69a10
[ "BSD-3-Clause" ]
1
2015-07-21T08:02:01.000Z
2015-07-21T08:02:01.000Z
google_apis/gaia/gaia_urls.cc
jianglong0156/chromium.src
d496dfeebb0f282468827654c2b3769b3378c087
[ "BSD-3-Clause" ]
6
2016-11-14T10:13:35.000Z
2021-01-23T15:29:53.000Z
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "google_apis/gaia/gaia_urls.h" #include "base/command_line.h" #include "google_apis/gaia/gaia_switches.h" #include "google_apis/google_api_k...
31.894009
79
0.736021
junmin-zhu
a7275e63d3bb947de8c0340a0eaf5e26f8e52697
1,711
hpp
C++
srook/tmpl/vt/set_difference.hpp
falgon/srookCppLibraries
ebcfacafa56026f6558bcd1c584ec774cc751e57
[ "MIT" ]
1
2018-07-01T07:54:37.000Z
2018-07-01T07:54:37.000Z
srook/tmpl/vt/set_difference.hpp
falgon/srookCppLibraries
ebcfacafa56026f6558bcd1c584ec774cc751e57
[ "MIT" ]
null
null
null
srook/tmpl/vt/set_difference.hpp
falgon/srookCppLibraries
ebcfacafa56026f6558bcd1c584ec774cc751e57
[ "MIT" ]
null
null
null
// Copyright (C) 2011-2020 Roki. Distributed under the MIT License #ifndef INCLUDED_SROOK_TMPL_VT_SET_DIFFERENCE_HPP #define INCLUDED_SROOK_TMPL_VT_SET_DIFFERENCE_HPP #include <srook/tmpl/vt/detail/config.hpp> #include <srook/tmpl/vt/unique.hpp> #include <srook/tmpl/vt/concat.hpp> #include <srook/tmpl/vt/not_fn.hpp> #...
29
81
0.733489
falgon
a728f229d22a550070a41388299885047e79eca6
7,601
cpp
C++
Source Code/DFA/State.cpp
kaiky25/SIMFECompiler
8088113a7d555f9c334c166e3a4629b9e5078f49
[ "MIT" ]
3
2015-08-30T18:23:35.000Z
2016-12-27T18:19:52.000Z
Source Code/DFA/State.cpp
kaiky25/SIMFECompiler
8088113a7d555f9c334c166e3a4629b9e5078f49
[ "MIT" ]
null
null
null
Source Code/DFA/State.cpp
kaiky25/SIMFECompiler
8088113a7d555f9c334c166e3a4629b9e5078f49
[ "MIT" ]
1
2021-09-15T07:04:00.000Z
2021-09-15T07:04:00.000Z
// State.cpp // Kaê Angeli Coutinho // MIT license #include "State.h" const State * State::ERROR_STATE = NULL; const string State::ERROR_STATE_NAME = "ERROR"; const int State::EQUAL_STRINGS = 0; State::State(string name, bool initial, bool final, vector<Transition *> transitions, string recognitionMessage) { this->...
23.902516
179
0.658071
kaiky25
a72caa2f753eb77f9b51c5a88d48a8b208c1b39f
1,193
hpp
C++
projects/robots/gctronic/e-puck/plugins/robot_windows/botstudio/core/RobotSensorCondition.hpp
awesome-archive/webots
8e74fb8393d1e3a6540749afc492635c43f1b30f
[ "Apache-2.0" ]
2
2019-07-12T13:47:44.000Z
2019-08-17T02:53:54.000Z
projects/robots/gctronic/e-puck/plugins/robot_windows/botstudio/core/RobotSensorCondition.hpp
golbh/webots
8e74fb8393d1e3a6540749afc492635c43f1b30f
[ "Apache-2.0" ]
null
null
null
projects/robots/gctronic/e-puck/plugins/robot_windows/botstudio/core/RobotSensorCondition.hpp
golbh/webots
8e74fb8393d1e3a6540749afc492635c43f1b30f
[ "Apache-2.0" ]
1
2019-07-13T17:58:04.000Z
2019-07-13T17:58:04.000Z
// Copyright 1996-2018 Cyberbotics Ltd. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agr...
31.394737
93
0.75021
awesome-archive
a72ced9c1e5ffc33f0eeb44935d516c56721746a
21,136
cpp
C++
play_motion/play_motion/src/approach_planner.cpp
hect1995/Robotics_intro
1b687585c20db5f1114d8ca6811a70313d325dd6
[ "BSD-3-Clause" ]
7
2018-10-24T14:52:20.000Z
2021-01-12T14:59:00.000Z
play_motion/play_motion/src/approach_planner.cpp
hect1995/Robotics_intro
1b687585c20db5f1114d8ca6811a70313d325dd6
[ "BSD-3-Clause" ]
null
null
null
play_motion/play_motion/src/approach_planner.cpp
hect1995/Robotics_intro
1b687585c20db5f1114d8ca6811a70313d325dd6
[ "BSD-3-Clause" ]
5
2018-09-28T06:16:07.000Z
2019-09-19T11:15:22.000Z
/* * Software License Agreement (Modified BSD License) * * Copyright (c) 2013, PAL Robotics, S.L. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source...
40.413002
120
0.669758
hect1995
a72e3575f7db4e6f76c9224b31b32bfe14b5adb2
6,569
hpp
C++
include/bsio/net/http/HttpService.hpp
OpenArkStudio/bsio
5ea4ec1c084b6b508a122188720538015f2f8bc5
[ "Apache-2.0" ]
4
2021-06-09T02:03:18.000Z
2022-01-20T01:22:12.000Z
include/bsio/net/http/HttpService.hpp
OpenArkStudio/bsio
5ea4ec1c084b6b508a122188720538015f2f8bc5
[ "Apache-2.0" ]
null
null
null
include/bsio/net/http/HttpService.hpp
OpenArkStudio/bsio
5ea4ec1c084b6b508a122188720538015f2f8bc5
[ "Apache-2.0" ]
null
null
null
#pragma once #include <asio.hpp> #include <bsio/net/TcpSession.hpp> #include <bsio/net/http/HttpParser.hpp> #include <bsio/net/http/WebSocketFormat.hpp> #include <memory> #include <thread> #include <utility> namespace bsio::net::http { class HttpService; class HttpSession : private asio::noncopyable { public: ...
29.195556
108
0.537068
OpenArkStudio
a72efe464e344b02d13d746fe8b7faa7d0704e64
3,787
cpp
C++
plugin/box2d/impl/importer/body_importer_generic_xml.cpp
nomadsinteractive/ark
52f84c6dbd5ca6bdd07d450b3911be1ffd995922
[ "Apache-2.0" ]
5
2018-03-28T09:14:55.000Z
2018-04-02T11:54:33.000Z
plugin/box2d/impl/importer/body_importer_generic_xml.cpp
nomadsinteractive/ark
52f84c6dbd5ca6bdd07d450b3911be1ffd995922
[ "Apache-2.0" ]
null
null
null
plugin/box2d/impl/importer/body_importer_generic_xml.cpp
nomadsinteractive/ark
52f84c6dbd5ca6bdd07d450b3911be1ffd995922
[ "Apache-2.0" ]
null
null
null
#include "plugin/box2d/impl/importer/body_importer_generic_xml.h" #include "core/base/bean_factory.h" #include "core/inf/dictionary.h" #include "core/util/strings.h" #include "graphics/base/v2.h" #include "renderer/base/atlas.h" #include "renderer/base/resource_loader_context.h" #include "box2d/impl/body_create_in...
37.127451
129
0.644838
nomadsinteractive
a7307ea92b6df3fd79532901bf9caa03e53b8fd2
1,192
cpp
C++
src/main.cpp
saracen24/CameraStateMachine
9abef3383c3ce20be1d1b563fc4c26848215d8ce
[ "MIT" ]
null
null
null
src/main.cpp
saracen24/CameraStateMachine
9abef3383c3ce20be1d1b563fc4c26848215d8ce
[ "MIT" ]
null
null
null
src/main.cpp
saracen24/CameraStateMachine
9abef3383c3ce20be1d1b563fc4c26848215d8ce
[ "MIT" ]
null
null
null
#include <iostream> #include <memory> #include "camera.hpp" using namespace std; using namespace aiz; static const array<const char*, 4> kState{"OFF", "READY", "CAPTURE", "PAUSE"}; void showState(Camera::State state) { cout << "State: " << kState.at(state) << endl << endl; } int main() { cout << "[Initial stat...
20.551724
78
0.60151
saracen24
a731b43b31aa7081590c0471a3ef69c7aaeb67a9
4,156
cpp
C++
library/string/palindromicTree.cpp
bluedawnstar/algorithm_library
4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6
[ "Unlicense" ]
40
2017-11-26T05:29:18.000Z
2020-11-13T00:29:26.000Z
library/string/palindromicTree.cpp
bluedawnstar/algorithm_library
4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6
[ "Unlicense" ]
101
2019-02-09T06:06:09.000Z
2021-12-25T16:55:37.000Z
library/string/palindromicTree.cpp
bluedawnstar/algorithm_library
4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6
[ "Unlicense" ]
6
2017-01-03T14:17:58.000Z
2021-01-22T10:37:04.000Z
#include <vector> #include <string> #include <algorithm> using namespace std; #include "palindromicTree.h" /////////// For Testing /////////////////////////////////////////////////////// #include <cassert> #include <iostream> #include "../common/iostreamhelper.h" #include "../common/rand.h" #include "palindromicSu...
29.267606
100
0.44129
bluedawnstar
a735f283f3de07f6fd893c89534ebc8d8b2c1deb
495
cpp
C++
pykdtw.cpp
kampersanda/kdtw
e5f1e24e039086eb32f13d361c23afd55b5bba3f
[ "MIT" ]
1
2021-06-23T07:23:15.000Z
2021-06-23T07:23:15.000Z
pykdtw.cpp
kampersanda/kdtw
e5f1e24e039086eb32f13d361c23afd55b5bba3f
[ "MIT" ]
null
null
null
pykdtw.cpp
kampersanda/kdtw
e5f1e24e039086eb32f13d361c23afd55b5bba3f
[ "MIT" ]
null
null
null
#include <pybind11/pybind11.h> #include "kdtw.hpp" namespace py = pybind11; PYBIND11_MODULE(pykdtw, m) { m.doc() = "Regularized Dynamic Time Warping Kernel (KDTW)"; py::class_<MatrixF64>(m, "MatrixF64") .def(py::init<int64_t, int64_t>()) .def("get", &MatrixF64::get) .def("set", &Matr...
24.75
63
0.59798
kampersanda
a7383554ccfe5a51103c86dce7c2bdd4252b8f18
336
cc
C++
below2.1/testdulu.cc
danzel-py/Kattis-Problem-Archive
bce1929d654b1bceb104f96d68c74349273dd1ff
[ "Apache-2.0" ]
null
null
null
below2.1/testdulu.cc
danzel-py/Kattis-Problem-Archive
bce1929d654b1bceb104f96d68c74349273dd1ff
[ "Apache-2.0" ]
null
null
null
below2.1/testdulu.cc
danzel-py/Kattis-Problem-Archive
bce1929d654b1bceb104f96d68c74349273dd1ff
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; int main(){ int n; cin>>n; int arr[n]; for (int i = 0; i < n; i++) { cin>>arr[i]; } for (int i = 1; i < 9; i++) { for (int j = 0; j < n; j++) { cout<<arr[j]%i<<' '; } cout<<'\n'; } ...
14.608696
35
0.342262
danzel-py
a73a4f43d825b8d20dfeef2ff815b1c1fca1d7e1
47,299
cpp
C++
SymbolExtractorAndRenamer/lldb/source/Symbol/GoASTContext.cpp
Polidea/SiriusObfuscator
b0e590d8130e97856afe578869b83a209e2b19be
[ "Apache-2.0" ]
427
2018-05-29T14:21:02.000Z
2022-03-16T03:17:54.000Z
SymbolExtractorAndRenamer/lldb/source/Symbol/GoASTContext.cpp
PolideaPlayground/SiriusObfuscator
b0e590d8130e97856afe578869b83a209e2b19be
[ "Apache-2.0" ]
25
2018-07-23T08:34:15.000Z
2021-11-05T07:13:36.000Z
SymbolExtractorAndRenamer/lldb/source/Symbol/GoASTContext.cpp
PolideaPlayground/SiriusObfuscator
b0e590d8130e97856afe578869b83a209e2b19be
[ "Apache-2.0" ]
52
2018-07-19T19:57:32.000Z
2022-03-11T16:05:38.000Z
//===-- GoASTContext.cpp ----------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
32.68763
80
0.63957
Polidea
a73b6f48a998bca4aa97ab9dde4ff31945190afc
7,016
cpp
C++
Official Windows Platform Sample/Windows 8.1 desktop samples/[C++]-Windows 8.1 desktop samples/Input Method Editor (IME) sample/C++/SampleIME/RegKey.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
8
2017-04-30T17:38:27.000Z
2021-11-29T00:59:03.000Z
Samples/IME/cpp/SampleIME/RegKey.cpp
TomeSq/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
1
2022-03-15T04:21:41.000Z
2022-03-15T04:21:41.000Z
Samples/IME/cpp/SampleIME/RegKey.cpp
TomeSq/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
2
2020-08-11T13:21:49.000Z
2021-09-01T10:41:51.000Z
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A // PARTICULAR PURPOSE. // // Copyright (c) Microsoft Corporation. All rights reserved #include "Private.h" #inclu...
25.146953
219
0.515108
zzgchina888
a73b75d42ba76302564151254f8fea0ee74cd6c3
417
cpp
C++
binarysearch.io/easy/Z-Sum.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
18
2020-08-27T05:27:50.000Z
2022-03-08T02:56:48.000Z
binarysearch.io/easy/Z-Sum.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
null
null
null
binarysearch.io/easy/Z-Sum.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
1
2020-10-13T05:23:58.000Z
2020-10-13T05:23:58.000Z
#include "solution.hpp" using namespace std; class Solution { public: int solve(vector<vector<int>>& matrix) { int m=matrix.size(), ans=0; if(m==0) return ans; int n=matrix[0].size(); for(int i=0;i<n;i++) ans+=matrix[0][i]; for(int i=1,j=n-2;i<=m-2&&j>=1;i++,j--) ans+=m...
24.529412
66
0.513189
wingkwong
a73c2f87ded93e673dd0047cb8111ca2582bb67c
18,802
cpp
C++
source/symbols/VariableSymbols.cpp
jankcorn/slang
2c697d8f16ef2449110d3094f8eeb6196d1fcabb
[ "MIT" ]
null
null
null
source/symbols/VariableSymbols.cpp
jankcorn/slang
2c697d8f16ef2449110d3094f8eeb6196d1fcabb
[ "MIT" ]
null
null
null
source/symbols/VariableSymbols.cpp
jankcorn/slang
2c697d8f16ef2449110d3094f8eeb6196d1fcabb
[ "MIT" ]
1
2021-11-15T05:37:12.000Z
2021-11-15T05:37:12.000Z
//------------------------------------------------------------------------------ // VariableSymbols.cpp // Contains variable-related symbol definitions // // File is under the MIT license; see LICENSE for details //------------------------------------------------------------------------------ #include "slang/symbols/Va...
39.089397
100
0.63222
jankcorn
a740097b7643cbe1765e79298f31a10aab181bb5
796
cc
C++
clients/zukou/glm-helper.cc
Aki-7/zen
c3cfb95f554198427b4b102da55e4fab0cfc97ff
[ "Apache-2.0" ]
null
null
null
clients/zukou/glm-helper.cc
Aki-7/zen
c3cfb95f554198427b4b102da55e4fab0cfc97ff
[ "Apache-2.0" ]
null
null
null
clients/zukou/glm-helper.cc
Aki-7/zen
c3cfb95f554198427b4b102da55e4fab0cfc97ff
[ "Apache-2.0" ]
null
null
null
#include <string.h> #include <zukou.h> #include <glm/glm.hpp> namespace zukou { glm::vec3 glm_vec3_from_wl_array(struct wl_array *array) { float *data = (float *)array->data; return glm::vec3(data[0], data[1], data[2]); } void glm_vec3_to_wl_array(glm::vec3 v, struct wl_array *array) { size_t size = sizeof(fl...
19.9
57
0.678392
Aki-7
a741fcb549ad19820c3a0ad28fe2f6dbe93f9adb
17,223
cpp
C++
src/kernel/qpixmap.cpp
sandsmark/qt1
e62eef42291be80065a7f824530aa42b79917a8d
[ "Xnet", "X11" ]
18
2018-02-16T16:57:26.000Z
2022-02-10T21:23:47.000Z
src/kernel/qpixmap.cpp
sandsmark/qt1
e62eef42291be80065a7f824530aa42b79917a8d
[ "Xnet", "X11" ]
2
2018-08-12T12:46:38.000Z
2020-06-19T16:30:06.000Z
src/kernel/qpixmap.cpp
sandsmark/qt1
e62eef42291be80065a7f824530aa42b79917a8d
[ "Xnet", "X11" ]
7
2018-06-22T01:17:58.000Z
2021-09-02T21:05:28.000Z
/**************************************************************************** ** $Id: qpixmap.cpp,v 2.31 1998/07/06 01:57:39 agulbra Exp $ ** ** Implementation of QPixmap class ** ** Created : 950301 ** ** Copyright (C) 1992-1999 Troll Tech AS. All rights reserved. ** ** This file is part of Qt Free Edition, version 1...
25.106414
79
0.654764
sandsmark
a742ed9565cae1210c9cf695c55d1e67098b0393
11,057
cxx
C++
StRoot/McFemtoDstWriter/McFemtoDstWriter.cxx
jdbrice/McFemtoDstMaker
36683cd18c5f1f667035914cbef3cef806a54ec6
[ "MIT" ]
null
null
null
StRoot/McFemtoDstWriter/McFemtoDstWriter.cxx
jdbrice/McFemtoDstMaker
36683cd18c5f1f667035914cbef3cef806a54ec6
[ "MIT" ]
null
null
null
StRoot/McFemtoDstWriter/McFemtoDstWriter.cxx
jdbrice/McFemtoDstMaker
36683cd18c5f1f667035914cbef3cef806a54ec6
[ "MIT" ]
null
null
null
#include "FemtoDstFormat/BranchWriter.h" #include "McFemtoDstWriter.h" #include "StThreeVectorF.hh" #include "StEvent.h" #include "StTrack.h" #include "StTrackGeometry.h" #include "StDcaGeometry.h" #include "StMtdPidTraits.h" #include "StPhysicalHelixD.hh" #include "StEvent/StTrackNode.h" #include "StEvent/StGlobalT...
28.497423
171
0.658135
jdbrice
a743ed092d46e9c0d7cd80f34e4289c40d31293a
515
cpp
C++
Chapter 9/twofile2.cpp
liu1322592019/Cpp-Primer
7f6daa7ff37d67456eb6a0dd6d0d1aa64fdc10ef
[ "MIT" ]
4
2020-12-26T03:17:45.000Z
2022-01-11T05:54:40.000Z
Chapter 9/twofile2.cpp
liu1322592019/Cpp-Primer
7f6daa7ff37d67456eb6a0dd6d0d1aa64fdc10ef
[ "MIT" ]
null
null
null
Chapter 9/twofile2.cpp
liu1322592019/Cpp-Primer
7f6daa7ff37d67456eb6a0dd6d0d1aa64fdc10ef
[ "MIT" ]
null
null
null
// twofile2.cpp -- variables with internal and external linkage #include <iostream> extern int tom; // tom defined elsewhere static int dick = 10; // overrides external dick int harry = 200; // external variable definition, // no conflict with twofile1 harry void remote_access(...
32.1875
65
0.6
liu1322592019
a744666092d084452bfdfb408bdebe39d4162d8f
444
cpp
C++
project-1/tests/bluetooth-base.cpp
ejrbuss/csc460
f2e6414ea064a4007d6e3bf3d7ddfa0cebb2b4b5
[ "MIT" ]
1
2019-02-02T20:07:45.000Z
2019-02-02T20:07:45.000Z
project-1/tests/bluetooth-base.cpp
ejrbuss/csc460
f2e6414ea064a4007d6e3bf3d7ddfa0cebb2b4b5
[ "MIT" ]
null
null
null
project-1/tests/bluetooth-base.cpp
ejrbuss/csc460
f2e6414ea064a4007d6e3bf3d7ddfa0cebb2b4b5
[ "MIT" ]
null
null
null
#include "Base.h" #include "Peripherals.h" int main() { init_arduino(); Serial1.begin(SERIAL_BAUD); LiquidCrystal lcd = init_lcd(); // Send the messagee const char * msg = "Hello!"; Serial1.write(msg); lcd.print("sent: "); lcd.print(msg); lcd.setCursor(0, 1); lcd.print("recv: ")...
19.304348
38
0.540541
ejrbuss
a7454d5ba19451d225b1321c9a8c2784d6252a3e
100
cpp
C++
Untitled.cpp
ASAD-BE18/Cpp-Programs
d942015e3e21e8fb13d1fc86049d65ffb9555fe3
[ "MIT" ]
null
null
null
Untitled.cpp
ASAD-BE18/Cpp-Programs
d942015e3e21e8fb13d1fc86049d65ffb9555fe3
[ "MIT" ]
null
null
null
Untitled.cpp
ASAD-BE18/Cpp-Programs
d942015e3e21e8fb13d1fc86049d65ffb9555fe3
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main () { int i; ++i; cout<<i; return 0; }
11.111111
21
0.56
ASAD-BE18
a746544fc581809c903593d98af8ea201e01e71c
3,336
hpp
C++
include/batching_pomp/util/BisectPerm.hpp
personalrobotics/batching_pomp
1c5d65a57ac3ab0746a3a201804b750f11d789c3
[ "BSD-2-Clause" ]
3
2019-09-23T19:32:25.000Z
2019-12-14T20:44:36.000Z
include/batching_pomp/util/BisectPerm.hpp
personalrobotics/batching_pomp
1c5d65a57ac3ab0746a3a201804b750f11d789c3
[ "BSD-2-Clause" ]
2
2017-12-07T17:44:16.000Z
2017-12-07T20:42:50.000Z
include/batching_pomp/util/BisectPerm.hpp
personalrobotics/batching_pomp
1c5d65a57ac3ab0746a3a201804b750f11d789c3
[ "BSD-2-Clause" ]
null
null
null
/*********************************************************************** Copyright (c) 2015, Carnegie Mellon University All rights reserved. Authors: Chris Dellin <cdellin@gmail.com> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions ar...
33.69697
88
0.655276
personalrobotics
a74b48e0a872d2c8620b876297ff07c054380ef2
1,174
hpp
C++
Server Lib/Game Server/GAME/approach_mission_system.hpp
CCasusensa/SuperSS-Dev
6c6253b0a56bce5dad150c807a9bbf310e8ff61b
[ "MIT" ]
23
2021-10-31T00:20:21.000Z
2022-03-26T07:24:40.000Z
Server Lib/Game Server/GAME/approach_mission_system.hpp
CCasusensa/SuperSS-Dev
6c6253b0a56bce5dad150c807a9bbf310e8ff61b
[ "MIT" ]
5
2021-10-31T18:44:51.000Z
2022-03-25T18:04:26.000Z
Server Lib/Game Server/GAME/approach_mission_system.hpp
CCasusensa/SuperSS-Dev
6c6253b0a56bce5dad150c807a9bbf310e8ff61b
[ "MIT" ]
18
2021-10-20T02:31:56.000Z
2022-02-01T11:44:36.000Z
// Arquivo approach_mission_system.hpp // Criado em 14/06/2020 as 17:28 por Acrisio // Defini��o da classe ApproachMissionSystem #pragma once #ifndef _STDA_APPROACH_MISSION_SYSTEM_HPP #define _STDA_APPROACH_MISSION_SYSTEM_HPP #if defined(_WIN32) #include <Windows.h> #elif defined(__linux__) #include "../../Projeto IO...
21.345455
82
0.752129
CCasusensa
a74bb8a8e0f38012a09463cb5d42312612f4a679
22,583
hpp
C++
include/LIEF/MachO/Binary.hpp
ekilmer/LIEF
77328b0071c7254567d9e8383ea0f5f876f9da17
[ "Apache-2.0" ]
null
null
null
include/LIEF/MachO/Binary.hpp
ekilmer/LIEF
77328b0071c7254567d9e8383ea0f5f876f9da17
[ "Apache-2.0" ]
null
null
null
include/LIEF/MachO/Binary.hpp
ekilmer/LIEF
77328b0071c7254567d9e8383ea0f5f876f9da17
[ "Apache-2.0" ]
null
null
null
/* Copyright 2017 - 2022 R. Thomas * Copyright 2017 - 2022 Quarkslab * * 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 req...
34.79661
108
0.733649
ekilmer
a74cb6ca226beb45c0b317a2cf3bdde9a01fee2c
50,960
cpp
C++
analyzer/libs/z3/src/math/polynomial/upolynomial_factorization.cpp
oslab-swrc/juxta
481cd6f01e87790041a07379805968bcf57d75f4
[ "MIT" ]
23
2016-01-06T07:01:46.000Z
2022-02-12T15:53:20.000Z
analyzer/libs/z3/src/math/polynomial/upolynomial_factorization.cpp
oslab-swrc/juxta
481cd6f01e87790041a07379805968bcf57d75f4
[ "MIT" ]
1
2019-04-02T00:42:29.000Z
2019-04-02T00:42:29.000Z
analyzer/libs/z3/src/math/polynomial/upolynomial_factorization.cpp
oslab-swrc/juxta
481cd6f01e87790041a07379805968bcf57d75f4
[ "MIT" ]
16
2016-01-06T07:01:46.000Z
2021-11-29T11:43:16.000Z
/*++ Copyright (c) 2011 Microsoft Corporation Module Name: polynomial_factorization.cpp Abstract: Implementation of polynomial factorization. Author: Dejan (t-dejanj) 2011-11-15 Notes: [1] Elwyn Ralph Berlekamp. Factoring Polynomials over Finite Fields. Bell System Technical Journal, 46(8-...
39.169869
199
0.547567
oslab-swrc
a751976982216d924f49b2d87703ae13480ee6ca
21,648
cpp
C++
src/comport/src/wepet_comport_linux.cpp
peterweissig/cpp_main
491ce299b98d24b3da3b43e1121d609f28f3ece0
[ "BSD-3-Clause" ]
null
null
null
src/comport/src/wepet_comport_linux.cpp
peterweissig/cpp_main
491ce299b98d24b3da3b43e1121d609f28f3ece0
[ "BSD-3-Clause" ]
null
null
null
src/comport/src/wepet_comport_linux.cpp
peterweissig/cpp_main
491ce299b98d24b3da3b43e1121d609f28f3ece0
[ "BSD-3-Clause" ]
null
null
null
/****************************************************************************** * * * wepet_comport_linux.cpp * * ======================= ...
31.014327
85
0.501571
peterweissig
a7522c82e9a5656d0d0489f6eccd9636d983d4a0
10,814
cpp
C++
sharedcpp/video_consumer/libvideo_consumer/video_packet_consumer.cpp
daimaren/TikTok
786437b8a05e84dead1bd54ba718edd68f893635
[ "MIT" ]
3
2020-11-11T04:08:19.000Z
2021-04-27T01:07:42.000Z
sharedcpp/video_consumer/libvideo_consumer/video_packet_consumer.cpp
daimaren/TikTok
786437b8a05e84dead1bd54ba718edd68f893635
[ "MIT" ]
2
2020-09-22T20:42:16.000Z
2020-11-11T04:08:57.000Z
sharedcpp/video_consumer/libvideo_consumer/video_packet_consumer.cpp
daimaren/TikTok
786437b8a05e84dead1bd54ba718edd68f893635
[ "MIT" ]
11
2020-07-04T03:03:18.000Z
2022-03-17T10:19:19.000Z
#include "./video_packet_consumer.h" #define LOG_TAG "VideoPacketConsumerThread" VideoPacketConsumerThread::VideoPacketConsumerThread() { obj = NULL; } VideoPacketConsumerThread::~VideoPacketConsumerThread() { } static int on_publish_timeout_callback(void *context) { VideoPacketConsumerThread *videoPacketCo...
44.319672
121
0.589514
daimaren
a7525fe65f3557601cd58d996a10bd8b0d083556
1,913
cpp
C++
app/src/main/jni/calculator-sdk/RPNCalculator.cpp
tomek2k4/VoiceCalculator
48f1beee3237031ad9c217cc6c984a5714b60bb1
[ "Apache-2.0" ]
null
null
null
app/src/main/jni/calculator-sdk/RPNCalculator.cpp
tomek2k4/VoiceCalculator
48f1beee3237031ad9c217cc6c984a5714b60bb1
[ "Apache-2.0" ]
null
null
null
app/src/main/jni/calculator-sdk/RPNCalculator.cpp
tomek2k4/VoiceCalculator
48f1beee3237031ad9c217cc6c984a5714b60bb1
[ "Apache-2.0" ]
null
null
null
// // Created by Tomasz Maslon on 14.02.2017. // #include <iostream> #include "RPNCalculator.h" using namespace std; /** * Constructor */ RPNCalculator::RPNCalculator():output("0") { } string RPNCalculator::getOutput() { return output; } void RPNCalculator::clear() { rpnBuilder.clear(); output = "0"; ...
22.77381
67
0.553581
tomek2k4
a7529d7ebb5ecb2740c03649b7b8dbb218211556
697
hpp
C++
fk/framework/Updatable.hpp
yotsuashi/franken
ddc2872b85e2a64ad5d6725bcef3a8659dd73556
[ "MIT" ]
null
null
null
fk/framework/Updatable.hpp
yotsuashi/franken
ddc2872b85e2a64ad5d6725bcef3a8659dd73556
[ "MIT" ]
null
null
null
fk/framework/Updatable.hpp
yotsuashi/franken
ddc2872b85e2a64ad5d6725bcef3a8659dd73556
[ "MIT" ]
null
null
null
/***********************************************************************//** @file ***************************************************************************/ #pragma once namespace fk { namespace framework { /***********************************************************************//** @brief *********************...
697
697
0.220947
yotsuashi
a75527152b9efa1fee5894a42ae8e1a671c203ea
4,037
cpp
C++
cell_based/src/cell/cycle/CellCycleTimesGenerator.cpp
DGermano8/ChasteDom
539a3a811698214c0938489b0cfdffd1abccf667
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
cell_based/src/cell/cycle/CellCycleTimesGenerator.cpp
DGermano8/ChasteDom
539a3a811698214c0938489b0cfdffd1abccf667
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
cell_based/src/cell/cycle/CellCycleTimesGenerator.cpp
DGermano8/ChasteDom
539a3a811698214c0938489b0cfdffd1abccf667
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2005-2018, University of Oxford. All rights reserved. University of Oxford means the Chancellor, Masters and Scholars of the University of Oxford, having an administrative office at Wellington Square, Oxford OX1 2JD, UK. This file is part of Chaste. Redistribution and use in source and binary forms...
30.126866
141
0.735199
DGermano8
a755a172ea90e8de918f5c0b0abbeb0ccc2395f9
1,812
cpp
C++
Modules/IGT/TrackingDevices/mitkUnspecifiedTrackingTypeInformation.cpp
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2022-03-03T12:03:32.000Z
2022-03-03T12:03:32.000Z
Modules/IGT/TrackingDevices/mitkUnspecifiedTrackingTypeInformation.cpp
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2021-12-22T10:19:02.000Z
2021-12-22T10:19:02.000Z
Modules/IGT/TrackingDevices/mitkUnspecifiedTrackingTypeInformation.cpp
zhaomengxiao/MITK_lancet
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2020-11-27T09:41:18.000Z
2020-11-27T09:41:18.000Z
/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. =================...
32.357143
130
0.710265
zhaomengxiao
a75719d75324f1dfad3493849f2fde60fe5deef4
502
hpp
C++
Helena/Util/Sleep.hpp
NIKEA-SOFT/HelenaFramework
4f443710e6a67242ddd4361f9c1a89e9d757c820
[ "MIT" ]
24
2020-08-17T21:49:38.000Z
2022-03-31T13:31:46.000Z
Helena/Util/Sleep.hpp
NIKEA-SOFT/HelenaFramework
4f443710e6a67242ddd4361f9c1a89e9d757c820
[ "MIT" ]
null
null
null
Helena/Util/Sleep.hpp
NIKEA-SOFT/HelenaFramework
4f443710e6a67242ddd4361f9c1a89e9d757c820
[ "MIT" ]
2
2021-04-21T09:27:03.000Z
2021-08-20T09:44:53.000Z
#ifndef HELENA_UTIL_SLEEP_HPP #define HELENA_UTIL_SLEEP_HPP #include <cstdint> #include <chrono> #include <thread> namespace Helena::Util { inline void Sleep(const std::uint64_t milliseconds) { std::this_thread::sleep_for(std::chrono::milliseconds(milliseconds)); } template <typename...
25.1
78
0.691235
NIKEA-SOFT
a7590b2f07b5bd576a96cb6468c5749a219b0b1b
7,595
hpp
C++
Ponce/include_IDA6.8/auto.hpp
fcccode/Ponce
fc25268592027af0c71c898f87a347418c5ad475
[ "BSL-1.0" ]
1
2019-12-30T00:19:08.000Z
2019-12-30T00:19:08.000Z
Ponce/include_IDA6.8/auto.hpp
ZhuHuiBeiShaDiao/Ponce
fc25268592027af0c71c898f87a347418c5ad475
[ "BSL-1.0" ]
null
null
null
Ponce/include_IDA6.8/auto.hpp
ZhuHuiBeiShaDiao/Ponce
fc25268592027af0c71c898f87a347418c5ad475
[ "BSL-1.0" ]
null
null
null
/* * Interactive disassembler (IDA). * Copyright (c) 1990-2015 Hex-Rays * ALL RIGHTS RESERVED. * */ #ifndef _AUTO_HPP #define _AUTO_HPP #include <ida.hpp> #pragma pack(push, 1) /*! \file auto.hpp \brief Functions that work with the autoanalyzer queue. The autoanalyzer works when IDA is not b...
29.784314
88
0.695984
fcccode
a759ee205b2a15cfa075abf5f5e6bf9110ab555f
1,216
cpp
C++
cpp/src/lights/lighting.cpp
LawrenceRafferty/ray-tracer-challenge
f54dfd4eb717e44c9e313be4bd28f8fad00094d0
[ "MIT" ]
null
null
null
cpp/src/lights/lighting.cpp
LawrenceRafferty/ray-tracer-challenge
f54dfd4eb717e44c9e313be4bd28f8fad00094d0
[ "MIT" ]
null
null
null
cpp/src/lights/lighting.cpp
LawrenceRafferty/ray-tracer-challenge
f54dfd4eb717e44c9e313be4bd28f8fad00094d0
[ "MIT" ]
null
null
null
#pragma once #include "./lighting.h" #include <cmath> using data_structures::color; using data_structures::four_tuple; using shapes::shape; namespace lights { color lighting( const shape & shape, const point_light & light, const four_tuple & point, const four_tuple & eyev, const four_tuple & normalv, bool isSh...
21.714286
75
0.705592
LawrenceRafferty
a75a5fccf9404e5f36b8769a9f3cee958130680b
2,873
cpp
C++
src/lldb/Bindings/SBLineEntryBinding.cpp
danielzfranklin/lldb-sys.rs
47c1673d131d4911b3cfdc8e6b2c7a300707314e
[ "Apache-2.0", "MIT" ]
null
null
null
src/lldb/Bindings/SBLineEntryBinding.cpp
danielzfranklin/lldb-sys.rs
47c1673d131d4911b3cfdc8e6b2c7a300707314e
[ "Apache-2.0", "MIT" ]
null
null
null
src/lldb/Bindings/SBLineEntryBinding.cpp
danielzfranklin/lldb-sys.rs
47c1673d131d4911b3cfdc8e6b2c7a300707314e
[ "Apache-2.0", "MIT" ]
null
null
null
//===-- SBLineEntryBinding.cpp ----------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
26.118182
105
0.740341
danielzfranklin
a75b2c0ee9423d3c4ed696f8b2250d7a0a79a7cf
2,650
cc
C++
paddle/fluid/framework/op_compatible_info_test.cc
zmxdream/Paddle
04f042a5d507ad98f7f2cfc3cbc44b06d7a7f45c
[ "Apache-2.0" ]
17,085
2016-11-18T06:40:52.000Z
2022-03-31T22:52:32.000Z
paddle/fluid/framework/op_compatible_info_test.cc
zmxdream/Paddle
04f042a5d507ad98f7f2cfc3cbc44b06d7a7f45c
[ "Apache-2.0" ]
29,769
2016-11-18T06:35:22.000Z
2022-03-31T16:46:15.000Z
paddle/fluid/framework/op_compatible_info_test.cc
zmxdream/Paddle
04f042a5d507ad98f7f2cfc3cbc44b06d7a7f45c
[ "Apache-2.0" ]
4,641
2016-11-18T07:43:33.000Z
2022-03-31T15:15:02.000Z
// Copyright (c) 2019 PaddlePaddle 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...
40.769231
75
0.736981
zmxdream
a75ec2a97804b4ce42cf41c1ff57a6147687152c
1,142
cpp
C++
Homework/03/task_3.cpp
Ignatoff/FMI-DSA-2018
24d2a3f5127a0d9c97ae165daad3b8601593b1ca
[ "MIT" ]
1
2018-11-26T19:17:21.000Z
2018-11-26T19:17:21.000Z
Homework/03/task_3.cpp
Ignatoff/FMI-DSA-2018
24d2a3f5127a0d9c97ae165daad3b8601593b1ca
[ "MIT" ]
null
null
null
Homework/03/task_3.cpp
Ignatoff/FMI-DSA-2018
24d2a3f5127a0d9c97ae165daad3b8601593b1ca
[ "MIT" ]
1
2019-03-17T17:16:12.000Z
2019-03-17T17:16:12.000Z
#include <iostream> const int MAXN = 100001; int n, k; long long arr[MAXN]; bool check(long long ans) { long long usedBlows = ans; for (size_t i = 0; i < n; i++) { long long diff = arr[i] - ans; if (diff > 0) { long long neededBlows = diff / (k - 1); if (dif...
20.035088
58
0.443958
Ignatoff
a75f3c63c5b8c1f914ebbd767d708001d0effbfb
718
hpp
C++
include/blackhole/formatter.hpp
JakariaBlaine/blackhole
e340329c6e2e3166858d8466656ad12300b686bd
[ "MIT" ]
193
2015-01-05T08:48:05.000Z
2022-01-31T22:04:01.000Z
include/blackhole/formatter.hpp
JakariaBlaine/blackhole
e340329c6e2e3166858d8466656ad12300b686bd
[ "MIT" ]
135
2015-01-13T13:02:49.000Z
2022-01-12T15:06:48.000Z
include/blackhole/formatter.hpp
JakariaBlaine/blackhole
e340329c6e2e3166858d8466656ad12300b686bd
[ "MIT" ]
40
2015-01-21T16:37:30.000Z
2022-01-25T15:54:04.000Z
#pragma once namespace blackhole { inline namespace v1 { class record_t; class writer_t; /// Represents an interface that every formatter must implement. /// /// Formatters are responsible for formatting the input logging record using the specified writer. class formatter_t { public: formatter_t() = default; ...
25.642857
98
0.727019
JakariaBlaine
a76313120b3d33367ac59dbfa6cf87f098227950
8,431
cpp
C++
engine/gamesys/src/gamesys/scripts/script_resource_liveupdate.cpp
Krzlfx/defold
ce38de254c08d0f3c63fabee07b44cbf1433a428
[ "ECL-2.0", "Apache-2.0" ]
2,231
2020-05-19T08:25:22.000Z
2022-03-31T18:51:23.000Z
engine/gamesys/src/gamesys/scripts/script_resource_liveupdate.cpp
Krzlfx/defold
ce38de254c08d0f3c63fabee07b44cbf1433a428
[ "ECL-2.0", "Apache-2.0" ]
1,485
2020-05-19T10:56:52.000Z
2022-03-31T16:12:42.000Z
engine/gamesys/src/gamesys/scripts/script_resource_liveupdate.cpp
Krzlfx/defold
ce38de254c08d0f3c63fabee07b44cbf1433a428
[ "ECL-2.0", "Apache-2.0" ]
197
2020-05-19T10:20:47.000Z
2022-03-30T09:52:13.000Z
// Copyright 2020 The Defold Foundation // Licensed under the Defold License version 1.0 (the "License"); you may not use // this file except in compliance with the License. // // You may obtain a copy of the License, together with FAQs at // https://www.defold.com/license // // Unless required by applicable law or agr...
32.805447
136
0.626735
Krzlfx
a7654e6b4165c66b565fd7eeb97b0c540bb05a64
2,285
hpp
C++
src/mlpack/core/data/load_arff.hpp
shubham1206agra/mlpack
2c656fcba850134f3f5d1dd1a6a1a15743aa7661
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
null
null
null
src/mlpack/core/data/load_arff.hpp
shubham1206agra/mlpack
2c656fcba850134f3f5d1dd1a6a1a15743aa7661
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
null
null
null
src/mlpack/core/data/load_arff.hpp
shubham1206agra/mlpack
2c656fcba850134f3f5d1dd1a6a1a15743aa7661
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
null
null
null
/** * @file core/data/load_arff.hpp * @author Ryan Curtin * * Load an ARFF dataset. * * mlpack is free software; you may redistribute it and/or modify it under the * terms of the 3-clause BSD license. You should have received a copy of the * 3-clause BSD license along with mlpack. If not, see * http://www.op...
35.703125
80
0.742232
shubham1206agra
a767f90b05b740bd366216ef8dd98a64c6cf8e38
193
cpp
C++
op2orig/apps/c/jac2/seq/jac_seqkernels.cpp
octurion/ecoop-artifact
4afd9c44bddbd365141b0e3e38b26f971d5dd898
[ "MIT" ]
null
null
null
op2orig/apps/c/jac2/seq/jac_seqkernels.cpp
octurion/ecoop-artifact
4afd9c44bddbd365141b0e3e38b26f971d5dd898
[ "MIT" ]
null
null
null
op2orig/apps/c/jac2/seq/jac_seqkernels.cpp
octurion/ecoop-artifact
4afd9c44bddbd365141b0e3e38b26f971d5dd898
[ "MIT" ]
null
null
null
// // auto-generated by op2.py // // global constants extern float alpha; // header #include "op_lib_cpp.h" // user kernel files #include "res_seqkernel.cpp" #include "update_seqkernel.cpp"
13.785714
31
0.720207
octurion
a76c7798755c0d83e60db2a14f1dacf0409f8f43
1,409
cpp
C++
Contests/Codeforces/R630 div2/B.cpp
princesinghtomar/Competitive-Programming
a0df818dfa56267fdde59bd1862d0b78f6e069c4
[ "MIT" ]
3
2020-11-11T13:45:40.000Z
2021-07-20T11:53:34.000Z
Contests/Codeforces/R630 div2/B.cpp
princesinghtomar/Competitive-Programming
a0df818dfa56267fdde59bd1862d0b78f6e069c4
[ "MIT" ]
11
2020-10-03T14:26:35.000Z
2021-10-30T15:26:40.000Z
Contests/Codeforces/R630 div2/B.cpp
princesinghtomar/Competitive-Programming
a0df818dfa56267fdde59bd1862d0b78f6e069c4
[ "MIT" ]
12
2020-05-12T08:39:54.000Z
2021-10-30T14:56:27.000Z
#include <bits/stdc++.h> #define ll long long int #define pr pair<ll, ll> #define tp tuple<ll, ll, ll> using namespace std; long long int mod = 1e9 + 7; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); ll t; cin >> t; ll pf[1010]; for (ll i = 0; i < 1010; i++) pf[i] = i; ...
19.84507
49
0.312278
princesinghtomar
a76e4c326be1cdbaaba675e06b78a454a62cda9a
1,162
cpp
C++
Codeforces/160A.cpp
DT3264/ProgrammingContestsSolutions
a297f2da654c2ca2815b9aa375c2b4ca0052269d
[ "MIT" ]
null
null
null
Codeforces/160A.cpp
DT3264/ProgrammingContestsSolutions
a297f2da654c2ca2815b9aa375c2b4ca0052269d
[ "MIT" ]
null
null
null
Codeforces/160A.cpp
DT3264/ProgrammingContestsSolutions
a297f2da654c2ca2815b9aa375c2b4ca0052269d
[ "MIT" ]
null
null
null
#include<stdio.h> int arr[100]; int part(int arr[], int left, int right, int piv){ while(left<=right){ while(arr[left]<piv){ left++; } while(arr[right]>piv){ right--; } if(left<=right){ int temp=arr[left]; arr[left]=arr[right];...
19.694915
50
0.436317
DT3264
a76fc4ad2af54b3aa80a99b1e0fa4e22ef6239a2
5,736
cpp
C++
BasiliskII/src/Windows/router/udp.cpp
jvernet/macemu
c616a0dae0f451fc15016765c896175fae3f46cf
[ "Intel", "X11" ]
940
2015-01-04T12:20:10.000Z
2022-03-29T12:35:27.000Z
BasiliskII/src/Windows/router/udp.cpp
Seanpm2001-virtual-machines/macemu
c616a0dae0f451fc15016765c896175fae3f46cf
[ "Intel", "X11" ]
163
2015-02-10T09:08:10.000Z
2022-03-13T05:48:10.000Z
BasiliskII/src/Windows/router/udp.cpp
Seanpm2001-virtual-machines/macemu
c616a0dae0f451fc15016765c896175fae3f46cf
[ "Intel", "X11" ]
188
2015-01-07T19:46:11.000Z
2022-03-26T19:06:00.000Z
/* * udp.cpp - ip router * * Basilisk II (C) 1997-2008 Christian Bauer * * Windows platform specific code copyright (C) Lauri Pesonen * * This program 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 Softwar...
27.710145
111
0.629707
jvernet
a770be5104307d56f14b476b4cf183299738bc23
9,715
cc
C++
DQM/TrackerRemapper/src/SiStripTkMaps.cc
Purva-Chaudhari/cmssw
32e5cbfe54c4d809d60022586cf200b7c3020bcf
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
DQM/TrackerRemapper/src/SiStripTkMaps.cc
Purva-Chaudhari/cmssw
32e5cbfe54c4d809d60022586cf200b7c3020bcf
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
DQM/TrackerRemapper/src/SiStripTkMaps.cc
Purva-Chaudhari/cmssw
32e5cbfe54c4d809d60022586cf200b7c3020bcf
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
// CMSSW includes #include "CalibTracker/StandaloneTrackerTopology/interface/StandaloneTrackerTopology.h" #include "DataFormats/SiPixelDetId/interface/PXBDetId.h" #include "DataFormats/SiPixelDetId/interface/PXFDetId.h" #include "DataFormats/TrackerCommon/interface/PixelBarrelName.h" #include "DataFormats/TrackerCommon...
33.5
119
0.57509
Purva-Chaudhari
a7723d0dfd956b5ee13c5cc381229db6ac9a6003
7,445
cc
C++
example/http/reply.cc
lilialexlee/kit
94492e04832749fcdfb7f9fb8a778bb949d5e7d6
[ "MIT" ]
1
2015-09-22T15:33:30.000Z
2015-09-22T15:33:30.000Z
example/http/reply.cc
lilialexlee/kit
94492e04832749fcdfb7f9fb8a778bb949d5e7d6
[ "MIT" ]
null
null
null
example/http/reply.cc
lilialexlee/kit
94492e04832749fcdfb7f9fb8a778bb949d5e7d6
[ "MIT" ]
null
null
null
/* * reply.cc * */ #include "example/http/reply.h" #include <sstream> namespace http { Reply::Reply() : status_(), headers_(), content_() { } Reply::~Reply() { } namespace { static const std::string kOkContent = ""; static const std::string kCreatedContent = "<html>" ...
33.088889
81
0.666353
lilialexlee
a7737d63dee10bc2687b07e41b2a3cdbe75f5f0f
1,449
hpp
C++
PS2b/src/CelestialBody.hpp
1ssepehr/UML-Comp-IV
b6ae1f9acbb12948ac4da17daa21dfbc353d6ac5
[ "MIT" ]
null
null
null
PS2b/src/CelestialBody.hpp
1ssepehr/UML-Comp-IV
b6ae1f9acbb12948ac4da17daa21dfbc353d6ac5
[ "MIT" ]
null
null
null
PS2b/src/CelestialBody.hpp
1ssepehr/UML-Comp-IV
b6ae1f9acbb12948ac4da17daa21dfbc353d6ac5
[ "MIT" ]
null
null
null
// (C) Copyright Seyedsepehr Madani, 2021. // Distributed under MIT license, available at // https://opensource.org/licenses/MIT. #ifndef PS2B_SRC_CELESTIALBODY_HPP_ #define PS2B_SRC_CELESTIALBODY_HPP_ 1 #include <iostream> #include <stdexcept> #include <string> #include <SFML/Graphics.hpp> #include <SFM...
28.98
89
0.6853
1ssepehr
a773bfddfede31528c1a1e05648a355a1fadf4ba
1,948
cpp
C++
collection/cp/bcw_codebook-master/Contest/ASC36/pJ.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
1
2019-03-24T13:12:01.000Z
2019-03-24T13:12:01.000Z
collection/cp/bcw_codebook-master/Contest/ASC36/pJ.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
null
null
null
collection/cp/bcw_codebook-master/Contest/ASC36/pJ.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define FZ(n) memset((n),0,sizeof(n)) #define FMO(n) memset((n),-1,sizeof(n)) #define MC(n,m) memcpy((n),(m),sizeof(n)) #define F first #define S second #define MP make_pair #define PB push_back #define FOR(x,y) for(__typeof(y.begin())x=y.begin();x!=y.end();x++) #define ALL(...
22.390805
67
0.470739
daemonslayer
a77412b46948a37282940d663b0ff44c3f6d3ff7
9,535
cc
C++
src/main.cc
couetilj/OpenPano
f2f9c02cbb82ffed5fceed172a9c458eee5aace3
[ "MIT" ]
1,318
2017-02-22T15:59:36.000Z
2022-03-31T07:18:41.000Z
src/main.cc
couetilj/OpenPano
f2f9c02cbb82ffed5fceed172a9c458eee5aace3
[ "MIT" ]
91
2017-02-14T11:53:46.000Z
2022-02-02T21:02:55.000Z
src/main.cc
couetilj/OpenPano
f2f9c02cbb82ffed5fceed172a9c458eee5aace3
[ "MIT" ]
439
2017-02-15T04:53:39.000Z
2022-03-24T02:16:50.000Z
// File: main.cc // Date: Wed Jun 17 20:29:58 2015 +0800 // Author: Yuxin Wu #define _USE_MATH_DEFINES #include <cmath> #include "feature/extrema.hh" #include "feature/matcher.hh" #include "feature/orientation.hh" #include "lib/mat.h" #include "lib/config.hh" #include "lib/geometry.hh" #include "lib/imgproc.hh" #incl...
26.634078
95
0.669324
couetilj
a774798f5fd9c087e8850ebb04c85fb3f7d60a8f
2,543
cpp
C++
test/test_list.cpp
raitechnology/raimd
baa1cde9683808cd29871993d87235196aed5c0f
[ "Apache-2.0" ]
null
null
null
test/test_list.cpp
raitechnology/raimd
baa1cde9683808cd29871993d87235196aed5c0f
[ "Apache-2.0" ]
null
null
null
test/test_list.cpp
raitechnology/raimd
baa1cde9683808cd29871993d87235196aed5c0f
[ "Apache-2.0" ]
null
null
null
#include <stdio.h> #include <raimd/md_list.h> using namespace rai; using namespace md; static void lprint( void *buf, size_t asz ) { MDMsgMem mem; MDMsg * m; MDOutput mout; m = MDMsg::unpack( buf, 0, asz, 0, NULL, &mem ); if ( m != NULL ) { m->print( &mout ); } else { printf( "unpack failed\n...
23.546296
72
0.544632
raitechnology
a77778e26d27915561c2da2e9eb3194c38dade69
9,974
cpp
C++
014_mirror_plane_fb/main.cpp
capnramses/gfx_expmts
f32f6f50a832383f24eccc43918069e51e6382b5
[ "Apache-2.0" ]
46
2019-10-23T01:44:21.000Z
2021-06-28T07:48:57.000Z
014_mirror_plane_fb/main.cpp
capnramses/gfx_expmts
f32f6f50a832383f24eccc43918069e51e6382b5
[ "Apache-2.0" ]
null
null
null
014_mirror_plane_fb/main.cpp
capnramses/gfx_expmts
f32f6f50a832383f24eccc43918069e51e6382b5
[ "Apache-2.0" ]
2
2020-06-01T02:12:41.000Z
2021-04-13T16:53:47.000Z
/******************************************************************************\ | OpenGL 4 Example Code. | | Accompanies written series "Anton's OpenGL 4 Tutorials" | | Email: anton at antongerdelan dot net ...
35.749104
91
0.707941
capnramses
a779d6b1197f511f6387dd2004753de9d8971b39
5,729
cpp
C++
source/MaterialXRender/TinyObjLoader.cpp
mjyip-lucasfilm/MaterialX
19b0bd84c4537539350c1c065cc68fb400567f05
[ "BSD-3-Clause" ]
null
null
null
source/MaterialXRender/TinyObjLoader.cpp
mjyip-lucasfilm/MaterialX
19b0bd84c4537539350c1c065cc68fb400567f05
[ "BSD-3-Clause" ]
null
null
null
source/MaterialXRender/TinyObjLoader.cpp
mjyip-lucasfilm/MaterialX
19b0bd84c4537539350c1c065cc68fb400567f05
[ "BSD-3-Clause" ]
null
null
null
// // TM & (c) 2017 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd. // All rights reserved. See LICENSE.txt for license. // #include <MaterialXRender/TinyObjLoader.h> #include <MaterialXCore/Util.h> #if defined(__GNUC__) && !defined(__clang__) #pragma GCC diagnostic push #pragma GCC diagnostic ignore...
31.651934
135
0.612149
mjyip-lucasfilm
a77a5dffee4dc9215b1a738b3cfdee76b21af1d8
7,516
hpp
C++
include/eglplus/context.hpp
Extrunder/oglplus
c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791
[ "BSL-1.0" ]
459
2016-03-16T04:11:37.000Z
2022-03-31T08:05:21.000Z
include/eglplus/context.hpp
Extrunder/oglplus
c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791
[ "BSL-1.0" ]
2
2016-08-08T18:26:27.000Z
2017-05-08T23:42:22.000Z
include/eglplus/context.hpp
Extrunder/oglplus
c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791
[ "BSL-1.0" ]
47
2016-05-31T15:55:52.000Z
2022-03-28T14:49:40.000Z
/** * @file eglplus/context.hpp * @brief Declares and implements wrapper for EGLContext * * @author Matus Chochlik * * Copyright 2012-2015 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) ...
20.368564
74
0.719931
Extrunder