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
7613404cb396d958f0ae5fd486c82160361af1b8
1,365
cpp
C++
Codechef/LunchTime/January2k20/q4/main.cpp
jeevanpuchakay/a2oj
f867e9b2ced6619be3ca6b1a1a1838107322782d
[ "MIT" ]
null
null
null
Codechef/LunchTime/January2k20/q4/main.cpp
jeevanpuchakay/a2oj
f867e9b2ced6619be3ca6b1a1a1838107322782d
[ "MIT" ]
null
null
null
Codechef/LunchTime/January2k20/q4/main.cpp
jeevanpuchakay/a2oj
f867e9b2ced6619be3ca6b1a1a1838107322782d
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; typedef long double ld; typedef long long int ll; vector<vector<ll> > adjlist; ll max(ll x,ll y){return (x>y)?x:y;} #define min(x,y) (x>y)?y:x #define sfor(a,n,i) for(ll i=a;i<n;i++) #define rfor(n,a,i) for(ll i=n;i>=a;i--) #define mod 1000000007 #define pb push_back #defi...
19.5
62
0.515751
jeevanpuchakay
761bc7887fd6ad28909273d105e929189ccc8c0a
1,435
cpp
C++
shaders/src/sib_color_to_vector.cpp
caron/sitoa
52a0a4b35f51bccb6223a8206d04b40edc80071c
[ "Apache-2.0" ]
34
2018-02-01T16:13:48.000Z
2021-07-16T07:37:47.000Z
shaders/src/sib_color_to_vector.cpp
625002974/sitoa
46b7de8e3cf2e2c4cbc6bc391f11181cbac1a589
[ "Apache-2.0" ]
72
2018-02-16T17:30:41.000Z
2021-11-22T11:41:45.000Z
shaders/src/sib_color_to_vector.cpp
625002974/sitoa
46b7de8e3cf2e2c4cbc6bc391f11181cbac1a589
[ "Apache-2.0" ]
15
2018-02-15T15:36:58.000Z
2021-04-14T03:54:25.000Z
/************************************************************************************************************************************ Copyright 2017 Autodesk, Inc. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You ...
33.372093
134
0.594425
caron
761cc3cc60ddd3888168d1660747f22c041e0a61
13,797
cc
C++
src/tests/test_lammpsdumpreaderwriter.cc
BuildJet/csg
c02f06ff316eef38564c8e0160bcaf4a6c7f160d
[ "Apache-2.0" ]
null
null
null
src/tests/test_lammpsdumpreaderwriter.cc
BuildJet/csg
c02f06ff316eef38564c8e0160bcaf4a6c7f160d
[ "Apache-2.0" ]
null
null
null
src/tests/test_lammpsdumpreaderwriter.cc
BuildJet/csg
c02f06ff316eef38564c8e0160bcaf4a6c7f160d
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2009-2021 The VOTCA Development Team (http://www.votca.org) * * 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 * * Unle...
41.557229
80
0.553744
BuildJet
76211f9acf908b7c72af662ad7b24013fd460d73
2,619
cpp
C++
src/test/logging/log_record_test.cpp
abingham/ackward
f1a45293de570f4b4429d9eaeb3f6c4da7d245bf
[ "MIT" ]
null
null
null
src/test/logging/log_record_test.cpp
abingham/ackward
f1a45293de570f4b4429d9eaeb3f6c4da7d245bf
[ "MIT" ]
null
null
null
src/test/logging/log_record_test.cpp
abingham/ackward
f1a45293de570f4b4429d9eaeb3f6c4da7d245bf
[ "MIT" ]
null
null
null
#include <Python.h> #include <fstream> #include <boost/python/tuple.hpp> #include <boost/test/unit_test.hpp> #include <ackward/logging/LogRecord.hpp> using namespace ackward::logging; namespace { struct Fixture { Fixture() : rec (L"foo", DEBUG(), L"/some/path/name", ...
16.166667
48
0.623139
abingham
76239975a019ff7a8095b7f41e9b9ffdbc5e73b6
6,277
cpp
C++
src/gammaGenerator.cpp
bhurwitz33/bayesembler
b1d8200d5ffa2ae3476391d9f35f26e5f14f517f
[ "MIT" ]
1
2019-01-10T15:43:12.000Z
2019-01-10T15:43:12.000Z
src/gammaGenerator.cpp
bhurwitz33/bayesembler
b1d8200d5ffa2ae3476391d9f35f26e5f14f517f
[ "MIT" ]
null
null
null
src/gammaGenerator.cpp
bhurwitz33/bayesembler
b1d8200d5ffa2ae3476391d9f35f26e5f14f517f
[ "MIT" ]
null
null
null
/* gammaGenerator.cpp - This file is part of the Bayesembler (v1.1.1) The MIT License (MIT) Copyright (c) 2014 Lasse Maretty and Jonas Andreas Sibbesen 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 S...
27.774336
197
0.703043
bhurwitz33
762404feb02085ab9c4d08f8b714f6676543d87a
430
hpp
C++
src/argument_interpreter.hpp
rikutons/mytreecode
c25f955f946afb5c9e2d6fd14357e01eb4ff19f9
[ "MIT" ]
null
null
null
src/argument_interpreter.hpp
rikutons/mytreecode
c25f955f946afb5c9e2d6fd14357e01eb4ff19f9
[ "MIT" ]
null
null
null
src/argument_interpreter.hpp
rikutons/mytreecode
c25f955f946afb5c9e2d6fd14357e01eb4ff19f9
[ "MIT" ]
null
null
null
#pragma once #include <string> using namespace std; class ArgumentInterpreter { public: int cnt = 1; double dt = 0.01; double t = 1; double eps_square = 0.1 * 0.1; double theta_square = 0.5; // [rad^2] int simulator_mode = -1; string input_filename = ""; string output_filename = "output.csv"; // 以下はi...
21.5
46
0.672093
rikutons
7626795e8f24f12494188d05b9a7290f08a15917
334
cpp
C++
src/leetcode/q0001_0100/q0022.cpp
jielyu/leetcode
ce5327f5e5ceaa867ea2ddd58a93bfb02b427810
[ "MIT" ]
9
2020-04-09T12:37:50.000Z
2021-04-01T14:01:14.000Z
src/leetcode/q0001_0100/q0022.cpp
jielyu/leetcode
ce5327f5e5ceaa867ea2ddd58a93bfb02b427810
[ "MIT" ]
3
2020-05-05T02:43:54.000Z
2020-05-20T11:12:16.000Z
src/leetcode/q0001_0100/q0022.cpp
jielyu/leetcode
ce5327f5e5ceaa867ea2ddd58a93bfb02b427810
[ "MIT" ]
5
2020-04-17T02:32:10.000Z
2020-05-20T10:12:26.000Z
/* #LeetCode# Q0022 生成括号 难度:中 给出n对小括号,写一个函数来生成所有形式良好的小括号组合。 例如,给定n = 3,一个解集是: [ "((()))", "(()())", "(())()", "()(())", "()()()" ] */ #include "leetcode.h" namespace q0022 { template<typename T> bool run_testcases() { T slt; return true; } class Solution { public: void func(); }; } // na...
9.027027
29
0.52994
jielyu
762716444ca4d252701dbcb91ff2688701eda79d
467
hpp
C++
libs/modelmd3/include/sge/model/md3/load_flags.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/modelmd3/include/sge/model/md3/load_flags.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/modelmd3/include/sge/model/md3/load_flags.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // 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) #ifndef SGE_MODEL_MD3_LOAD_FLAGS_HPP_INCLUDED #define SGE_MODEL_MD3_LOAD_FLAGS_HPP_INCLUDED #inclu...
20.304348
61
0.738758
cpreh
7627af6217dd98f6d344ed1aacc825ceb81214e7
3,461
cpp
C++
XRADDicomGUI/Sources/DisplayFunctions/DisplayTomogram_CTAcquisition.cpp
n-kulberg/xrad
3d089cc24d942db4649f1a50defbd69f01739ae2
[ "BSD-3-Clause" ]
1
2021-04-02T16:47:00.000Z
2021-04-02T16:47:00.000Z
XRADDicomGUI/Sources/DisplayFunctions/DisplayTomogram_CTAcquisition.cpp
n-kulberg/xrad
3d089cc24d942db4649f1a50defbd69f01739ae2
[ "BSD-3-Clause" ]
null
null
null
XRADDicomGUI/Sources/DisplayFunctions/DisplayTomogram_CTAcquisition.cpp
n-kulberg/xrad
3d089cc24d942db4649f1a50defbd69f01739ae2
[ "BSD-3-Clause" ]
3
2021-08-30T11:26:23.000Z
2021-09-23T09:39:56.000Z
/* Copyright (c) 2021, Moscow Center for Diagnostics & Telemedicine All rights reserved. This file is licensed under BSD-3-Clause license. See LICENSE file for details. */ /*! \file \date 4/23/2018 5:46:49 PM \author kovbas */ #include "pre.h" #include "DisplayTomogram_CTAcquisition.h" XRAD_BEGIN enum display_...
29.084034
118
0.726091
n-kulberg
7629aa911a2a82f7aee1da1daeb7117fa133138d
5,244
cpp
C++
src/classes/controller/controller.cpp
kevinxtung/MICE
6559c8d242893f0697f64853ab49688198e9692d
[ "MIT" ]
null
null
null
src/classes/controller/controller.cpp
kevinxtung/MICE
6559c8d242893f0697f64853ab49688198e9692d
[ "MIT" ]
6
2018-05-14T23:38:17.000Z
2018-05-18T23:38:06.000Z
src/classes/controller/controller.cpp
kevinxtung/MICE
6559c8d242893f0697f64853ab49688198e9692d
[ "MIT" ]
null
null
null
#include "controller.h" #include "classes/topping/topping.h" #include "classes/container/container.h" #include "classes/scoop/scoop.h" #include "classes/order/order.h" #include <string> #include <iostream> void Controller::cli() { int cmd = -1; while (cmd != 0) { cmd = m_view.select(); execute(cmd); } } ...
28.972376
141
0.657132
kevinxtung
762b6e6124d6e9d27b6a700ae265856ca5c0b334
1,429
cpp
C++
src/Modules/Vision/VisionUtils/DrawSSLClient/DrawSSLClientField/DrawSSLClientField.cpp
MatheusPaixaoG/project-unification
efeec63244a370e4408b3e94fbdbff2be082554a
[ "MIT" ]
2
2022-01-02T15:28:08.000Z
2022-01-05T17:46:15.000Z
src/Modules/Vision/VisionUtils/DrawSSLClient/DrawSSLClientField/DrawSSLClientField.cpp
MatheusPaixaoG/project-unification
efeec63244a370e4408b3e94fbdbff2be082554a
[ "MIT" ]
null
null
null
src/Modules/Vision/VisionUtils/DrawSSLClient/DrawSSLClientField/DrawSSLClientField.cpp
MatheusPaixaoG/project-unification
efeec63244a370e4408b3e94fbdbff2be082554a
[ "MIT" ]
1
2022-01-15T15:28:15.000Z
2022-01-15T15:28:15.000Z
#include "DrawSSLClientField.h" #include <protobufs/protobufs.h> #include "Modules/Vision/VisionUtils/DrawCIninho/DrawCIninho.h" DrawSSLClientField::DrawSSLClientField(const RoboCupSSL::SSL_GeometryFieldSize& field, bool drawCIninho, const ...
33.232558
99
0.595521
MatheusPaixaoG
762f9f6fb8bd4271525b7bfe604e60ae64c94642
7,977
cpp
C++
src/infra/Measurement.cpp
cryptobiu/libscapi
49eee7aee9eb3544a7facb199d0a6e98097b058a
[ "MIT" ]
160
2016-05-11T09:45:56.000Z
2022-03-06T09:32:19.000Z
src/infra/Measurement.cpp
cryptobiu/libscapi
49eee7aee9eb3544a7facb199d0a6e98097b058a
[ "MIT" ]
57
2016-12-26T07:02:12.000Z
2022-03-06T16:34:31.000Z
src/infra/Measurement.cpp
cryptobiu/libscapi
49eee7aee9eb3544a7facb199d0a6e98097b058a
[ "MIT" ]
67
2016-10-10T17:56:22.000Z
2022-03-15T22:56:39.000Z
// // Created by liork on 17/09/17. // /** * %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% * * Copyright (c) 2016 LIBSCAPI (http://crypto.biu.ac.il/SCAPI) * This file is part of the SCAPI project. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Permission is hereby gr...
34.834061
157
0.689357
cryptobiu
7632d1ab4a4c2eb45bb31e7f52c08e7fdf8ba5ec
3,226
hpp
C++
src/OpenGL/Framebuffer.hpp
Mischa-Alff/world
93772b438df7477104298cc253737713d510a595
[ "MIT" ]
null
null
null
src/OpenGL/Framebuffer.hpp
Mischa-Alff/world
93772b438df7477104298cc253737713d510a595
[ "MIT" ]
null
null
null
src/OpenGL/Framebuffer.hpp
Mischa-Alff/world
93772b438df7477104298cc253737713d510a595
[ "MIT" ]
3
2016-07-10T08:39:10.000Z
2019-08-28T01:35:06.000Z
#pragma once #include <vector> #include <GL/glew.h> #include <GL/gl.h> namespace Graphics { namespace OpenGL { class Texture; /*! \brief A wrapper around the OpenGL framebuffer API */ class Framebuffer { private: /*! \brief The internal OpenGL framebuffer object */ GLuint m_framebuffer; p...
28.548673
77
0.656851
Mischa-Alff
7633680275b64df4765f0614af5165d18c6bd3a0
3,560
cc
C++
test/unit/picolibrary/spi/gpio_output_pin_device_selector/main.cc
jaylamb/picolibrary
528d04fac031c80c64df86574737be3bfca1b867
[ "Apache-2.0" ]
3
2021-02-12T04:05:42.000Z
2022-02-15T19:23:52.000Z
test/unit/picolibrary/spi/gpio_output_pin_device_selector/main.cc
jaylamb/picolibrary
528d04fac031c80c64df86574737be3bfca1b867
[ "Apache-2.0" ]
633
2019-08-31T20:58:26.000Z
2022-03-31T22:23:36.000Z
test/unit/picolibrary/spi/gpio_output_pin_device_selector/main.cc
jaylamb/picolibrary
528d04fac031c80c64df86574737be3bfca1b867
[ "Apache-2.0" ]
1
2021-02-17T20:40:49.000Z
2021-02-17T20:40:49.000Z
/** * picolibrary * * Copyright 2020-2021, Andrew Countryman <apcountryman@gmail.com> and the picolibrary * contributors * * 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://...
28.943089
109
0.719101
jaylamb
763cf77fc4311d80add0a6bbab05f572c314e410
600
cc
C++
fountain/base/NodeBase.cc
fountainment/fountain-engine-improved
5ca46d089cf26bb200374c46a69d4dc927d94f0d
[ "MIT" ]
null
null
null
fountain/base/NodeBase.cc
fountainment/fountain-engine-improved
5ca46d089cf26bb200374c46a69d4dc927d94f0d
[ "MIT" ]
null
null
null
fountain/base/NodeBase.cc
fountainment/fountain-engine-improved
5ca46d089cf26bb200374c46a69d4dc927d94f0d
[ "MIT" ]
null
null
null
#include "base/NodeBase.h" using fei::NodeBase; void NodeBase::init() { } void NodeBase::destroy() { } void NodeBase::beforeUpdate() { } void NodeBase::update() { } void NodeBase::afterUpdate() { } void NodeBase::feiInit() { if (_isLoaded) return; init(); _isLoaded = true; } void NodeBase::feiDestroy() { if...
10.169492
31
0.655
fountainment
763f1e13446725f865d345f189d95cf8f57f10fc
1,173
cpp
C++
libs/library/src/library.cpp
briancairl/snek
ebdd90ba2790bfcbf843c0eb52a13c7f212f8e8f
[ "MIT" ]
null
null
null
libs/library/src/library.cpp
briancairl/snek
ebdd90ba2790bfcbf843c0eb52a13c7f212f8e8f
[ "MIT" ]
null
null
null
libs/library/src/library.cpp
briancairl/snek
ebdd90ba2790bfcbf843c0eb52a13c7f212f8e8f
[ "MIT" ]
null
null
null
/** * @copyright 2022-present Brian Cairl * * @file library.cpp */ // LibDL #include <dlfcn.h> // Snek #include <snek/assert.hpp> #include <snek/library.hpp> namespace snek { Library::Library(Library&& other) : native_handle_{other.native_handle_} { other.native_handle_ = nullptr; } Library::Library(const char...
19.881356
108
0.693947
briancairl
7640e1b2223bf4821609e32166d7f02f73080d21
9,173
cc
C++
arcane/src/arcane/std/ProfPerformanceService.cc
JeromeDuboisPro/framework
d88925495e3787fdaf640c29728dcac385160188
[ "Apache-2.0" ]
null
null
null
arcane/src/arcane/std/ProfPerformanceService.cc
JeromeDuboisPro/framework
d88925495e3787fdaf640c29728dcac385160188
[ "Apache-2.0" ]
null
null
null
arcane/src/arcane/std/ProfPerformanceService.cc
JeromeDuboisPro/framework
d88925495e3787fdaf640c29728dcac385160188
[ "Apache-2.0" ]
null
null
null
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*- //----------------------------------------------------------------------------- // Copyright 2000-2021 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com) // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: Apache-2...
30.07541
83
0.444784
JeromeDuboisPro
7645af02312abcebdd8f3c3d3a087226498ed96e
881
cpp
C++
palimdromicGame.cpp
sagar-sam/codechef-solutions
ea414d17435f0cfbc84b0c6b172ead0b22f32a23
[ "MIT" ]
null
null
null
palimdromicGame.cpp
sagar-sam/codechef-solutions
ea414d17435f0cfbc84b0c6b172ead0b22f32a23
[ "MIT" ]
null
null
null
palimdromicGame.cpp
sagar-sam/codechef-solutions
ea414d17435f0cfbc84b0c6b172ead0b22f32a23
[ "MIT" ]
null
null
null
#include <iostream> #include <map> #include <iterator> using namespace std; int main(){ int t; scanf("%d",&t); while(t--) { string a,b; cin>>a; cin>>b; map<char,int> a1,b1; for(int i=0;i<a.length();i++) { a1[a[i]]++; b1[b[i]]++; } int flag=0; for(map<char,int> :: iterator it=a1.begin();it!...
12.955882
64
0.475596
sagar-sam
76464428f0d4aa053f6d9bf93c3edfec11c33bd2
1,916
cpp
C++
aws-cpp-sdk-backup/source/model/ListReportJobsRequest.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-backup/source/model/ListReportJobsRequest.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-backup/source/model/ListReportJobsRequest.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-12-30T04:25:33.000Z
2021-12-30T04:25:33.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/backup/model/ListReportJobsRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/http/URI.h> #include <aws/core/utils/memory/stl/AWSStringStream.h> #include <uti...
23.084337
69
0.679019
perfectrecall
76479256096b7fad549a443ecbeb55cfc4550f3d
6,442
cpp
C++
src/Mx3.cpp
infinitelyCannon/Mx3
9d2ae82344821c428272511f23a937c9025d92a3
[ "MIT" ]
null
null
null
src/Mx3.cpp
infinitelyCannon/Mx3
9d2ae82344821c428272511f23a937c9025d92a3
[ "MIT" ]
null
null
null
src/Mx3.cpp
infinitelyCannon/Mx3
9d2ae82344821c428272511f23a937c9025d92a3
[ "MIT" ]
null
null
null
#include "Mx3.hpp" #include "fmod_errors.h" #include "Song.hpp" #include <cstdlib> #define ERRCHECK(x) ErrorCheck(x, __FILE__, __LINE__) #define HEAD_CHANNEL "Mx3_Main" #define SOLO_CHANNEL "Mx3_Solo" ErrorCallback Mx3::mErrorCallback = nullptr; /* * TODO: Find a way to have the library be imported without the user ...
20.068536
102
0.681931
infinitelyCannon
7648659fe4b6c7405b296766b3515d9de6ba108f
9,364
cpp
C++
src/DaggyCore/tests/local/DaggyCoreLocalTests.cpp
milovidov/dataagregator
1150f66fc2ef2bbcf62c0174ef147109185cad98
[ "MIT" ]
135
2019-06-23T20:32:33.000Z
2022-02-06T15:41:41.000Z
src/DaggyCore/tests/local/DaggyCoreLocalTests.cpp
milovidov/dataagregator
1150f66fc2ef2bbcf62c0174ef147109185cad98
[ "MIT" ]
2
2020-10-16T17:31:44.000Z
2022-01-02T22:02:04.000Z
src/DaggyCore/tests/local/DaggyCoreLocalTests.cpp
milovidov/dataagregator
1150f66fc2ef2bbcf62c0174ef147109185cad98
[ "MIT" ]
11
2019-12-26T14:36:44.000Z
2022-02-23T02:14:41.000Z
/* MIT License Copyright (c) 2021 Mikhail Milovidov 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, publi...
27.063584
78
0.562046
milovidov
7650955f6e972620c93af8e702e9f055198b3623
3,619
hpp
C++
pythran/pythonic/numpy/reduce.hpp
artas360/pythran
66dad52d52be71693043e9a7d7578cfb9cb3d1da
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/numpy/reduce.hpp
artas360/pythran
66dad52d52be71693043e9a7d7578cfb9cb3d1da
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/numpy/reduce.hpp
artas360/pythran
66dad52d52be71693043e9a7d7578cfb9cb3d1da
[ "BSD-3-Clause" ]
null
null
null
#ifndef PYTHONIC_NUMPY_REDUCE_HPP #define PYTHONIC_NUMPY_REDUCE_HPP #include "pythonic/include/numpy/reduce.hpp" #include "pythonic/types/ndarray.hpp" #include "pythonic/__builtin__/None.hpp" #include "pythonic/__builtin__/ValueError.hpp" #include "pythonic/utils/neutral.hpp" #ifdef USE_BOOST_SIMD #include <boost/si...
30.669492
80
0.576126
artas360
76567786b4d2f0fea4342b88600955522033f9dc
1,429
cpp
C++
hardware/aw/bluetooth/bluedroid-usb/service/common/bluetooth/scan_result.cpp
ghsecuritylab/Android-7.0
e65af741a5cd5ac6e49e8735b00b456d00f6c0d0
[ "MIT" ]
10
2020-04-17T04:02:36.000Z
2021-11-23T11:38:42.000Z
hardware/aw/bluetooth/bluedroid-usb/service/common/bluetooth/scan_result.cpp
ghsecuritylab/Android-7.0
e65af741a5cd5ac6e49e8735b00b456d00f6c0d0
[ "MIT" ]
3
2020-02-19T16:53:25.000Z
2021-04-29T07:28:40.000Z
hardware/aw/bluetooth/bluedroid-usb/service/common/bluetooth/scan_result.cpp
ghsecuritylab/Android-7.0
e65af741a5cd5ac6e49e8735b00b456d00f6c0d0
[ "MIT" ]
5
2019-12-25T04:05:02.000Z
2022-01-14T16:57:55.000Z
// // Copyright (C) 2015 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 ag...
28.58
76
0.677397
ghsecuritylab
7661f2225dfd8d98740c95c27acefdb09add4b76
1,863
hpp
C++
Schweizer-Messer/sm_kinematics/include/sm/kinematics/EulerAnglesYawPitchRoll.hpp
PushyamiKaveti/kalibr
d8bdfc59ee666ef854012becc93571f96fe5d80c
[ "BSD-4-Clause" ]
2,690
2015-01-07T03:50:23.000Z
2022-03-31T20:27:01.000Z
Schweizer-Messer/sm_kinematics/include/sm/kinematics/EulerAnglesYawPitchRoll.hpp
PushyamiKaveti/kalibr
d8bdfc59ee666ef854012becc93571f96fe5d80c
[ "BSD-4-Clause" ]
481
2015-01-27T10:21:00.000Z
2022-03-31T14:02:41.000Z
Schweizer-Messer/sm_kinematics/include/sm/kinematics/EulerAnglesYawPitchRoll.hpp
PushyamiKaveti/kalibr
d8bdfc59ee666ef854012becc93571f96fe5d80c
[ "BSD-4-Clause" ]
1,091
2015-01-26T21:21:13.000Z
2022-03-30T01:55:33.000Z
#ifndef _EULERANGLESYAWPITCHROLL_H_ #define _EULERANGLESYAWPITCHROLL_H_ #include "RotationalKinematics.hpp" namespace sm { namespace kinematics { /** * @class EulerAnglesYawPitchRoll * This is the standard Rotation sequence for aerospace vehicles. * * Passing this the parameters [yaw, pitch, roll] of ...
38.8125
158
0.718733
PushyamiKaveti
76685fdee2e27c3f2ca9a7a0f9635d827b1d8348
820
cpp
C++
src/ui/aim65proxy.cpp
LiamMayfair/EMU65
0d9540fd25ed84d501068becc71a11281fd6b01b
[ "MIT" ]
4
2021-01-31T05:23:48.000Z
2021-11-04T11:35:20.000Z
src/ui/aim65proxy.cpp
LiamMayfair/EMU65
0d9540fd25ed84d501068becc71a11281fd6b01b
[ "MIT" ]
null
null
null
src/ui/aim65proxy.cpp
LiamMayfair/EMU65
0d9540fd25ed84d501068becc71a11281fd6b01b
[ "MIT" ]
3
2018-10-11T01:15:36.000Z
2020-12-18T05:36:14.000Z
#include "../../include/ui/aim65proxy.h" Aim65Proxy::Aim65Proxy(Aim65 *aim65, QObject *parent) : QObject(parent), UiProxy() { this->m_aim65 = std::shared_ptr<Aim65>(Aim65::GetInstance()); this->m_aim65->Initialise(); this->RegisterProxy(); } Aim65Proxy::~Aim65Proxy() { } void Aim65Proxy::RegisterProxy() ...
18.636364
90
0.636585
LiamMayfair
7668b543d43cc7764dd0490a8f34c67450528365
1,728
cpp
C++
algospot/amusementpark/main.cpp
seirion/code
3b8bf79764107255185061cec33decbc2235d03a
[ "Apache-2.0" ]
13
2015-06-07T09:26:26.000Z
2019-05-01T13:23:38.000Z
algospot/amusementpark/main.cpp
seirion/code
3b8bf79764107255185061cec33decbc2235d03a
[ "Apache-2.0" ]
null
null
null
algospot/amusementpark/main.cpp
seirion/code
3b8bf79764107255185061cec33decbc2235d03a
[ "Apache-2.0" ]
4
2016-03-05T06:21:05.000Z
2017-02-17T15:34:18.000Z
// https://algospot.com/judge/problem/read/AMUSEMENTPARK #include <iostream> #include <map> #include <cmath> #include <vector> using namespace std; int row, col; int in[22][22] = {0, }; map<int, pair<int, int>> m; vector<int> out; bool cc(int r, int b, int d) { for (int i = b + 1; i < d; i++) { if (in[r]...
21.073171
56
0.426505
seirion
76699ec84d06adcf4e4cf2a202e1ff8009f50b31
2,114
hxx
C++
main/toolkit/workben/layout/recover.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/toolkit/workben/layout/recover.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/toolkit/workben/layout/recover.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
27.815789
65
0.711447
Grosskopf
766af497af3c56d266e5d66c9ef41de8f7615f7e
10,973
hpp
C++
src/ros2_examples_headers/include/ros2_examples_headers/signal_handler/signal_handler.hpp
IntelligentSystemsLabUTV/ros2_examples
b34d9238d680dd6b06177586f81bfed0bae31eb2
[ "MIT" ]
null
null
null
src/ros2_examples_headers/include/ros2_examples_headers/signal_handler/signal_handler.hpp
IntelligentSystemsLabUTV/ros2_examples
b34d9238d680dd6b06177586f81bfed0bae31eb2
[ "MIT" ]
null
null
null
src/ros2_examples_headers/include/ros2_examples_headers/signal_handler/signal_handler.hpp
IntelligentSystemsLabUTV/ros2_examples
b34d9238d680dd6b06177586f81bfed0bae31eb2
[ "MIT" ]
null
null
null
/** * ROS 2-compliant signal handler. * * Roberto Masocco <robmasocco@gmail.com> * * January 17, 2022 */ #ifndef SIGNAL_HANDLER_HPP #define SIGNAL_HANDLER_HPP #include <thread> #include <mutex> #include <atomic> #include <semaphore.h> #include <stdexcept> #include <vector> #include <algorithm> #include <unistd....
25.578089
96
0.646678
IntelligentSystemsLabUTV
7671264799bb22fb7423ad236f3efe3c750e049c
1,010
cc
C++
src/MyPrimaryGeneratorAction.cc
wangshishe/RutherfordScattering
ccc4353501ad7ca4fcc78bf5e4805a358bdaa3ce
[ "MIT" ]
null
null
null
src/MyPrimaryGeneratorAction.cc
wangshishe/RutherfordScattering
ccc4353501ad7ca4fcc78bf5e4805a358bdaa3ce
[ "MIT" ]
null
null
null
src/MyPrimaryGeneratorAction.cc
wangshishe/RutherfordScattering
ccc4353501ad7ca4fcc78bf5e4805a358bdaa3ce
[ "MIT" ]
1
2022-03-15T04:52:09.000Z
2022-03-15T04:52:09.000Z
#include "MyPrimaryGeneratorAction.hh" MyPrimaryGeneratorAction::MyPrimaryGeneratorAction() { G4int nParticle = 1; fParticleGun = new G4ParticleGun(nParticle); auto *particleTable = G4ParticleTable::GetParticleTable(); G4String particleName = "alpha"; G4ParticleDefinition *particle = particleTable...
31.5625
97
0.758416
wangshishe
7673ca365447584d996d5c88b643c3447a95671f
2,885
cpp
C++
controller/strformats.cpp
bartek56/quetzalcoatl
dc60dbed6e1e9de7b3318d26a6ef65a47a59120c
[ "MIT" ]
5
2015-06-10T07:47:19.000Z
2021-04-03T21:26:49.000Z
controller/strformats.cpp
bartek56/quetzalcoatl
dc60dbed6e1e9de7b3318d26a6ef65a47a59120c
[ "MIT" ]
1
2020-07-22T13:57:56.000Z
2020-08-07T00:03:44.000Z
controller/strformats.cpp
duganchen/quetzalcoatl2
6e7f1ef8f4b2eaf698cc86f4308039afc8df7b44
[ "MIT" ]
1
2022-01-11T16:02:41.000Z
2022-01-11T16:02:41.000Z
#include "strformats.h" #include <QStringBuilder> #include <QStringList> QString timeStr(unsigned duration) { // Can't remember where I got this time format from. It might have been Foobar2000. unsigned seconds = duration % 60; unsigned minutes = duration % 3600 / 60; unsigned hours = duration / 3600;...
24.65812
102
0.591334
bartek56
767546e1c60ef9bcddd19d949b21fbcab8a6e620
920
cpp
C++
vnoj/thmst.cpp
tiozo/Training
02cc8c4fcf68e07c16520fd05fcbfa524c171b6b
[ "MIT" ]
1
2021-08-28T04:16:34.000Z
2021-08-28T04:16:34.000Z
vnoj/thmst.cpp
tiozo/Training
02cc8c4fcf68e07c16520fd05fcbfa524c171b6b
[ "MIT" ]
null
null
null
vnoj/thmst.cpp
tiozo/Training
02cc8c4fcf68e07c16520fd05fcbfa524c171b6b
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; long long giaithua(int n) { int giai_thua = 1; for (int i = 1; i <= n; i++) giai_thua *= i; return giai_thua; } int main() { int N; cin >> N; long long res = 0,largest = 0; for (int i=1;i<N;++i) { long long x,y,z; cin >> ...
23.589744
56
0.444565
tiozo
76858b68fc441244110a83d05e89f5ff39d24686
3,991
cpp
C++
RipleyK.cpp
lsaravia/SpatialAnalysis
899148a65407dc8807475a923b4a231984441301
[ "Unlicense", "MIT" ]
null
null
null
RipleyK.cpp
lsaravia/SpatialAnalysis
899148a65407dc8807475a923b4a231984441301
[ "Unlicense", "MIT" ]
null
null
null
RipleyK.cpp
lsaravia/SpatialAnalysis
899148a65407dc8807475a923b4a231984441301
[ "Unlicense", "MIT" ]
null
null
null
#include "RipleyK.h" void RipleyK(char * outfile, simplmat <float>& ftr, int numAnn, float widAnn, int treeDensity, int xDist, int yDist ) { simplmat <float> ripknl(100); simplmat <float> pairs(100); simplmat <float> kripley(100); simplmat <float> lripley(100); simplmat <float> ce95(100); simplmat <floa...
24.94375
118
0.532448
lsaravia
768a3b303b0142b532a7689994c0a4a824c3464c
3,823
cpp
C++
test/Rational/main.cpp
Enseed/GenericMath
d54ae97ddaaeb25842371f16f9889a05dac6754d
[ "Apache-2.0" ]
null
null
null
test/Rational/main.cpp
Enseed/GenericMath
d54ae97ddaaeb25842371f16f9889a05dac6754d
[ "Apache-2.0" ]
null
null
null
test/Rational/main.cpp
Enseed/GenericMath
d54ae97ddaaeb25842371f16f9889a05dac6754d
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* Copyright 2008 Enseed inc. 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 with...
35.073394
80
0.542506
Enseed
768b1e397ac35290164c077a55ca2a16397fb23a
4,551
cpp
C++
src/hybrid_window.cpp
edublancas/dplyr
3ace34bf8eaec8295d5a7f09ab19947ced3438cd
[ "MIT" ]
1
2020-10-19T20:04:09.000Z
2020-10-19T20:04:09.000Z
src/hybrid_window.cpp
edublancas/dplyr
3ace34bf8eaec8295d5a7f09ab19947ced3438cd
[ "MIT" ]
null
null
null
src/hybrid_window.cpp
edublancas/dplyr
3ace34bf8eaec8295d5a7f09ab19947ced3438cd
[ "MIT" ]
1
2020-10-20T17:53:42.000Z
2020-10-20T17:53:42.000Z
#include "pch.h" #include <dplyr/main.h> #include <dplyr/HybridHandlerMap.h> #include <dplyr/Result/ILazySubsets.h> #include <dplyr/Result/Rank.h> using namespace Rcpp; using namespace dplyr; namespace dplyr { template <bool ascending> Result* row_number_asc(const RObject& data) { switch (TYPEOF(data)) { case ...
27.251497
104
0.69633
edublancas
768e478fa735981b2461749a5a1f9c3fcf7c727f
8,437
cpp
C++
src/app.cpp
PENGUINLIONG/AutoExposure
d31771437f7cc423a111d8970fa6ecf9aaf2f722
[ "Apache-2.0", "MIT" ]
null
null
null
src/app.cpp
PENGUINLIONG/AutoExposure
d31771437f7cc423a111d8970fa6ecf9aaf2f722
[ "Apache-2.0", "MIT" ]
null
null
null
src/app.cpp
PENGUINLIONG/AutoExposure
d31771437f7cc423a111d8970fa6ecf9aaf2f722
[ "Apache-2.0", "MIT" ]
null
null
null
#include "gft/log.hpp" #include "gft/args.hpp" #include "gft/vk.hpp" #include "gft/glslang.hpp" using namespace liong; using namespace vk; static const char* APP_NAME = "AutoExposure"; static const char* APP_DESC = "Implementation of various AutoExposure algorithms."; struct AppConfig { bool verbose = false; } ...
25.489426
90
0.598554
PENGUINLIONG
76921e962bdee29b36f03def72b39659026214f3
1,841
cpp
C++
Codes/M/MAIN74.cpp
Tanuj9043/spoj-submissions
71ee6aa00eb9fd2572d83001faf321909beac9ca
[ "MIT" ]
null
null
null
Codes/M/MAIN74.cpp
Tanuj9043/spoj-submissions
71ee6aa00eb9fd2572d83001faf321909beac9ca
[ "MIT" ]
null
null
null
Codes/M/MAIN74.cpp
Tanuj9043/spoj-submissions
71ee6aa00eb9fd2572d83001faf321909beac9ca
[ "MIT" ]
null
null
null
#include<iostream> #include<vector> #include<stdio.h> using namespace std; typedef long long ll; #define matrix vector<vector<ll> > ll n,MOD=1000000007; int k=2; vector<ll> c; vector<ll> b; matrix mul(matrix A, matrix B){ matrix C(k+2, vector<ll>(k+2)); for(int i = 1;i<=k+1;i++){ for(int j = 1;j<=k+1...
18.59596
60
0.379685
Tanuj9043
7693859c18fea97bc702f87f58ebc274cff29972
10,711
cpp
C++
TRAP/src/Graphics/Renderer2D.cpp
GamesTrap/TRAP
007de9ce70273cb8ae11066cc8488d9db78b1038
[ "MIT", "Zlib", "Apache-2.0", "BSD-3-Clause" ]
3
2018-06-23T18:18:19.000Z
2019-05-27T21:10:07.000Z
TRAP/src/Graphics/Renderer2D.cpp
GamesTrap/TRAP
007de9ce70273cb8ae11066cc8488d9db78b1038
[ "MIT", "Zlib", "Apache-2.0", "BSD-3-Clause" ]
88
2018-08-02T01:08:04.000Z
2019-07-24T19:13:26.000Z
TRAP/src/Graphics/Renderer2D.cpp
GamesTrap/TRAP
007de9ce70273cb8ae11066cc8488d9db78b1038
[ "MIT", "Zlib", "Apache-2.0", "BSD-3-Clause" ]
2
2018-08-02T01:10:40.000Z
2020-08-14T14:05:58.000Z
#include "TRAPPCH.h" #include "Renderer2D.h" #include "Buffers/VertexArray.h" #include "Shaders/Shader.h" #include "Buffers/UniformBuffer.h" #include "RenderCommand.h" #include "Application.h" #include "Embed.h" #include "Cameras/Camera.h" #include "Textures/TextureManager.h" namespace TRAP::Graphics { struct QuadVe...
32.359517
151
0.586033
GamesTrap
769386d37046607a690418cdc0e2ccc6e39c0e61
737
cpp
C++
src/Pandacoin/Address.cpp
justthedoctor/wallet-core
c0d9e9144f89919fcde67c192b8c5e1c2e5e4c6b
[ "MIT" ]
null
null
null
src/Pandacoin/Address.cpp
justthedoctor/wallet-core
c0d9e9144f89919fcde67c192b8c5e1c2e5e4c6b
[ "MIT" ]
null
null
null
src/Pandacoin/Address.cpp
justthedoctor/wallet-core
c0d9e9144f89919fcde67c192b8c5e1c2e5e4c6b
[ "MIT" ]
null
null
null
// Copyright © 2017-2019 Trust. // // This file is part of Trust. The full Trust copyright notice, including // terms governing use, modification, and redistribution, is contained in the // file LICENSE at the root of the source code distribution tree. #pragma once namespace TW::Pandacoin { class Address { /// D...
29.48
77
0.717775
justthedoctor
7694fa2912f5e6f716d9e3206bb15b4aea90a8e1
4,781
cpp
C++
s2e/guest/windbg-gdb/main.cpp
wyz7155/SymDrive
055f3ab1601d6350b397eddc9f3982271d9186d2
[ "MIT" ]
null
null
null
s2e/guest/windbg-gdb/main.cpp
wyz7155/SymDrive
055f3ab1601d6350b397eddc9f3982271d9186d2
[ "MIT" ]
null
null
null
s2e/guest/windbg-gdb/main.cpp
wyz7155/SymDrive
055f3ab1601d6350b397eddc9f3982271d9186d2
[ "MIT" ]
null
null
null
#define INITGUID #include <string> #include <map> #include <stdio.h> #include <windows.h> #include <psapi.h> #include <stdint.h> #include "BFDInterface.h" #include "Symbols.h" using namespace std; static Symbols *s_symbols = NULL; extern "C" HRESULT CALLBACK DebugExtensionInitialize(PULONG Version, PULONG Flags) {...
23.78607
130
0.648609
wyz7155
76973be34f9a869b9c4c40b9edf80ae6f34ea42a
2,150
cc
C++
chrome/browser/ui/ash/app_list/app_list_interactive_uitest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/ui/ash/app_list/app_list_interactive_uitest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/ui/ash/app_list/app_list_interactive_uitest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2016 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 <memory> #include "ash/public/cpp/shell_window_ids.h" #include "ash/shelf/app_list_button.h" #include "ash/shelf/shelf.h" #include "ash/shelf/sh...
41.346154
80
0.761395
metux
7698a3aec2f0962c3babeda904b51bfd9d595a83
2,104
cpp
C++
laborator-1/l1_252/main.cpp
mcmarius/poo
ba380d170d30feb1cb3d52026bf8761ae0d6324a
[ "Unlicense" ]
15
2020-10-30T21:50:50.000Z
2022-03-25T14:20:53.000Z
altele/2020-2021/l1_252/main.cpp
Moarcas/poo-1
bf520c749067a9280cf5e1077e54be9dd3d68dba
[ "Unlicense" ]
null
null
null
altele/2020-2021/l1_252/main.cpp
Moarcas/poo-1
bf520c749067a9280cf5e1077e54be9dd3d68dba
[ "Unlicense" ]
4
2020-10-31T21:42:44.000Z
2022-03-25T14:20:44.000Z
#include <iostream> class trotineta { std::string culoare; int nr_roti; public: trotineta(const std::string &culoare = "verde", int nrRoti = 2) : culoare(culoare), nr_roti(nrRoti) { std::cout << "constr trotineta\n"; } ~trotineta() { std::cout << "destr trotineta\n"; } }; clas...
20.038095
117
0.58365
mcmarius
769cfd5786dfef928b954da7b1457f6647ac165c
1,601
cpp
C++
test/unit/test_file_reader.cpp
karelvaculik/dgrminer
37d1cf6c2829f5afd931f2728c27a893128d1152
[ "Apache-2.0" ]
2
2018-05-16T16:35:07.000Z
2021-03-16T12:08:06.000Z
test/unit/test_file_reader.cpp
karelvaculik/dgrminer
37d1cf6c2829f5afd931f2728c27a893128d1152
[ "Apache-2.0" ]
null
null
null
test/unit/test_file_reader.cpp
karelvaculik/dgrminer
37d1cf6c2829f5afd931f2728c27a893128d1152
[ "Apache-2.0" ]
null
null
null
// // Created by karbal on 25.2.18. // #include "AdjacencyList.h" #include "FileReader.h" #include "PartialUnion.h" #include "HelperPrintFunctions.h" #include <gtest/gtest.h> #include <gmock/gmock.h> #include <vector> using ::testing::_; using ::testing::Invoke; using namespace dgrminer; TEST(FileReader, read_i...
26.683333
88
0.489069
karelvaculik
769d00b2042c81e983dc22226c5ef689a92d1809
2,432
hpp
C++
dep/win/include/boost/histogram/detail/common_type.hpp
Netis/packet-agent
70da3479051a07e3c235abe7516990f9fd21a18a
[ "BSD-3-Clause" ]
995
2018-06-22T10:39:18.000Z
2022-03-25T01:22:14.000Z
dep/win/include/boost/histogram/detail/common_type.hpp
Netis/packet-agent
70da3479051a07e3c235abe7516990f9fd21a18a
[ "BSD-3-Clause" ]
32
2018-06-23T14:19:37.000Z
2022-03-29T10:20:37.000Z
dep/win/include/boost/histogram/detail/common_type.hpp
Netis/packet-agent
70da3479051a07e3c235abe7516990f9fd21a18a
[ "BSD-3-Clause" ]
172
2018-06-22T11:12:00.000Z
2022-03-29T07:44:33.000Z
// Copyright 2015-2018 Hans Dembinski // // 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) #ifndef BOOST_HISTOGRAM_DETAIL_COMMON_TYPE_HPP #define BOOST_HISTOGRAM_DETAIL_COMMON_TYPE_HPP #include <boost/hi...
30.78481
89
0.686266
Netis
37200938914b2178b42413c7dd8b6844e8db3400
3,839
cpp
C++
src/kdev_discord.cpp
FiniteReality/kdev_discord
3cac16a7272c5396e20ea16a687266e10db2e16d
[ "MIT" ]
5
2018-05-28T10:30:38.000Z
2020-08-08T20:14:32.000Z
src/kdev_discord.cpp
FiniteReality/kdev_discord
3cac16a7272c5396e20ea16a687266e10db2e16d
[ "MIT" ]
1
2020-06-22T16:59:50.000Z
2021-08-30T19:03:02.000Z
src/kdev_discord.cpp
FiniteReality/kdev_discord
3cac16a7272c5396e20ea16a687266e10db2e16d
[ "MIT" ]
1
2020-06-17T20:33:41.000Z
2020-06-17T20:33:41.000Z
#include "kdev_discord.h" #include <debug.h> #include <QRegularExpression> #include <KPluginFactory> #include <interfaces/icore.h> #include <interfaces/idocumentcontroller.h> #include <interfaces/isession.h> #include <interfaces/iprojectcontroller.h> #include <interfaces/iproject.h> #include <KTextEditor/Document>...
26.659722
102
0.648085
FiniteReality
37238744afa24c58aac13b73c6bb38b498473476
105
hpp
C++
src/physics/polygon.hpp
astrellon/simple-space
20e98d4f562a78b1efeaedb0a0012f3c9306ac7e
[ "MIT" ]
1
2020-09-23T11:17:35.000Z
2020-09-23T11:17:35.000Z
src/physics/polygon.hpp
astrellon/simple-space
20e98d4f562a78b1efeaedb0a0012f3c9306ac7e
[ "MIT" ]
null
null
null
src/physics/polygon.hpp
astrellon/simple-space
20e98d4f562a78b1efeaedb0a0012f3c9306ac7e
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <SFML/Graphics.hpp> using Polygon = std::vector<sf::Vector2f>;
15
42
0.72381
astrellon
372610427df2b87f2ea78e5ee4bc6f79f3054019
3,581
hpp
C++
include/rrboost/serial_port.hpp
afoolsbag/rrCnCxx
1e673bd4edac43d8406a0c726138cba194d17f48
[ "Unlicense" ]
2
2019-03-20T01:14:10.000Z
2021-12-08T15:39:32.000Z
include/rrboost/serial_port.hpp
afoolsbag/rrCnCxx
1e673bd4edac43d8406a0c726138cba194d17f48
[ "Unlicense" ]
null
null
null
include/rrboost/serial_port.hpp
afoolsbag/rrCnCxx
1e673bd4edac43d8406a0c726138cba194d17f48
[ "Unlicense" ]
null
null
null
/// \copyright Unlicense #pragma once #ifndef SERIAL_PORT_HPP_ #define SERIAL_PORT_HPP_ #include <stdexcept> #include <string> #include <vector> #include <boost/asio.hpp> #include <boost/utility.hpp> namespace rrboost { /// \brief 超时异常。 class timeout_exception: public std::runtime_error { public: timeout_excep...
32.853211
100
0.639486
afoolsbag
3727fe483c2a80e9e79facc6d87eaed8bfa83eb7
665
cpp
C++
Dialogs/brightnessdialog.cpp
kalpanki/ocvGUI
9fc1f2278b414c316f091e1de5a4b1c4e3695ee9
[ "BSD-2-Clause" ]
2
2019-08-21T13:37:51.000Z
2019-10-18T01:39:53.000Z
Dialogs/brightnessdialog.cpp
kalpanki/ocvGUI
9fc1f2278b414c316f091e1de5a4b1c4e3695ee9
[ "BSD-2-Clause" ]
null
null
null
Dialogs/brightnessdialog.cpp
kalpanki/ocvGUI
9fc1f2278b414c316f091e1de5a4b1c4e3695ee9
[ "BSD-2-Clause" ]
null
null
null
#include "brightnessdialog.h" #include "ui_brightnessdialog.h" BrightnessDialog::BrightnessDialog(QWidget *parent) : QDialog(parent), ui(new Ui::BrightnessDialog) { ui->setupUi(this); } BrightnessDialog::~BrightnessDialog() { delete ui; } void BrightnessDialog::on_alphaDoubleSpinBox_valueChanged(doub...
21.451613
70
0.726316
kalpanki
3730a40a6b71018014acf7061f965369160c608d
709
hpp
C++
tests/test_spin_lock.hpp
djmott/xtl
cadb963a3d1ad292033f08f4754c545066be75f7
[ "BSL-1.0" ]
6
2016-06-30T11:23:33.000Z
2019-10-22T13:09:49.000Z
tests/test_spin_lock.hpp
djmott/xtl
cadb963a3d1ad292033f08f4754c545066be75f7
[ "BSL-1.0" ]
null
null
null
tests/test_spin_lock.hpp
djmott/xtl
cadb963a3d1ad292033f08f4754c545066be75f7
[ "BSL-1.0" ]
4
2016-07-24T10:38:43.000Z
2021-04-02T11:18:09.000Z
/** @file xtd::concurrent::spin_lock system and unit tests @copyright David Mott (c) 2016. Distributed under the Boost Software License Version 1.0. See LICENSE.md or http://boost.org/LICENSE_1_0.txt for details. */ #include <xtd/concurrent/spin_lock.hpp> TEST(test_spin_lock, initialization){ xtd::concurrent::spin_...
23.633333
153
0.736248
djmott
37342f185245e32ef5f598371dd655ee5b1666f5
69
cpp
C++
configuration/bazel/max_align_t.cpp
yesudeep/fruit
6f3760672a0d2c772306e737d894a2ae2d8c5f58
[ "Apache-2.0" ]
1,666
2015-01-04T08:52:43.000Z
2022-03-28T11:06:19.000Z
configuration/bazel/max_align_t.cpp
yesudeep/fruit
6f3760672a0d2c772306e737d894a2ae2d8c5f58
[ "Apache-2.0" ]
135
2015-02-19T11:35:07.000Z
2022-03-29T05:00:42.000Z
configuration/bazel/max_align_t.cpp
yesudeep/fruit
6f3760672a0d2c772306e737d894a2ae2d8c5f58
[ "Apache-2.0" ]
253
2015-01-14T08:15:10.000Z
2022-03-24T07:49:53.000Z
#include <cstddef> using X = max_align_t; int main() { return 0; }
11.5
22
0.652174
yesudeep
3739a84e1f47b2c087950d0297aabe106eec4f17
114
hpp
C++
include/memory/hadesmem/detail/warning_disable_suffix.hpp
phlip9/hadesmem
59e13a92c05918b8c842141fd5cac1ed390cd79e
[ "MIT" ]
19
2017-10-19T23:13:11.000Z
2022-03-29T11:37:26.000Z
include/memory/hadesmem/detail/warning_disable_suffix.hpp
Bia10/hadesmem
b91bce37611d0e939a55d9490c49780f9f0f3bff
[ "MIT" ]
null
null
null
include/memory/hadesmem/detail/warning_disable_suffix.hpp
Bia10/hadesmem
b91bce37611d0e939a55d9490c49780f9f0f3bff
[ "MIT" ]
10
2018-04-04T07:55:16.000Z
2021-11-23T20:22:43.000Z
// Copyright (C) 2010-2015 Joshua Boyce // See the file COPYING for copying permission. #pragma warning(pop)
22.8
48
0.719298
phlip9
373e8cc2d89af8d558b30c174ea3962fc1265ab2
2,135
cpp
C++
core/src/GLFWInput.cpp
matthew-oconnell/glitter
d9eb6cea96063f080121e9c6e59098e2d690c427
[ "Apache-2.0" ]
null
null
null
core/src/GLFWInput.cpp
matthew-oconnell/glitter
d9eb6cea96063f080121e9c6e59098e2d690c427
[ "Apache-2.0" ]
null
null
null
core/src/GLFWInput.cpp
matthew-oconnell/glitter
d9eb6cea96063f080121e9c6e59098e2d690c427
[ "Apache-2.0" ]
null
null
null
#include "GLFWInput.h" #include "Game.h" using namespace Glitter; GLFWInput::GLFWInput(GLFWwindow *window) : window(window){ glfwSetKeyCallback(window, key_callback); glfwSetMouseButtonCallback(window, mouse_button_callback); glfwSetCursorPosCallback(window, cursor_position_callback); for (bool &keyboard_key :...
34.435484
95
0.733958
matthew-oconnell
3743275a0c913f6817ce8effacc9cd07d6bbb7a6
251
hpp
C++
parser/nodes/stmt.hpp
cursorweb/Asula-Lang
173a814f92b977064a889febc69798a93c906ebe
[ "MIT" ]
2
2022-03-09T20:13:26.000Z
2022-03-10T14:18:19.000Z
parser/nodes/stmt.hpp
cursorweb/Asula-Lang
173a814f92b977064a889febc69798a93c906ebe
[ "MIT" ]
null
null
null
parser/nodes/stmt.hpp
cursorweb/Asula-Lang
173a814f92b977064a889febc69798a93c906ebe
[ "MIT" ]
null
null
null
#ifndef STMT_HPP #define STMT_HPP // visitor list class StmtVisitor; // stmt list class Stmt { public: virtual void accept(StmtVisitor visitor); }; // nodes // visitor list class StmtVisitor { public: // virtual C visit(); }; #endif
9.296296
45
0.673307
cursorweb
3746811b08e49103a4b553bc31698e84a064bff1
183
cpp
C++
applications/builder/source/builder_modes.cpp
skarab/coffee-master
6c3ff71b7f15735e41c9859b6db981b94414c783
[ "MIT" ]
null
null
null
applications/builder/source/builder_modes.cpp
skarab/coffee-master
6c3ff71b7f15735e41c9859b6db981b94414c783
[ "MIT" ]
null
null
null
applications/builder/source/builder_modes.cpp
skarab/coffee-master
6c3ff71b7f15735e41c9859b6db981b94414c783
[ "MIT" ]
null
null
null
#include "builder_modes.h" #undef _BUILDER_MODES_H_ #include "kernel/meta/macros/meta_macros_enum_cpp.h" #include "builder_modes.h" #include "kernel/meta/macros/meta_macros_enum_h.h"
30.5
52
0.819672
skarab
3746eac5953c4951ff7b0e5fe2fdb5372fabc386
3,318
hxx
C++
src/openlcb/EventService.hxx
balazsracz/openmrn
338f5dcbafeff6d171b2787b291d1904f2c45965
[ "BSD-2-Clause" ]
34
2015-05-23T03:57:56.000Z
2022-03-27T03:48:48.000Z
src/openlcb/EventService.hxx
balazsracz/openmrn
338f5dcbafeff6d171b2787b291d1904f2c45965
[ "BSD-2-Clause" ]
214
2015-07-05T05:06:55.000Z
2022-02-06T14:53:14.000Z
src/openlcb/EventService.hxx
balazsracz/openmrn
338f5dcbafeff6d171b2787b291d1904f2c45965
[ "BSD-2-Clause" ]
38
2015-08-28T05:32:07.000Z
2021-07-06T16:47:23.000Z
/** \copyright * Copyright (c) 2013, Balazs Racz * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright notice, * this lis...
33.18
79
0.748342
balazsracz
37475954f61c70fbc81285c66c8f93fdc0de4f55
1,261
cpp
C++
src/Panel2D.cpp
cfrpg/SourcePanelMethod
0d16482b345c0457e48935a53a06c63a9205bd22
[ "MIT" ]
null
null
null
src/Panel2D.cpp
cfrpg/SourcePanelMethod
0d16482b345c0457e48935a53a06c63a9205bd22
[ "MIT" ]
null
null
null
src/Panel2D.cpp
cfrpg/SourcePanelMethod
0d16482b345c0457e48935a53a06c63a9205bd22
[ "MIT" ]
null
null
null
#include "Panel2D.h" #include "MathHelper.h" #include <cmath> #include <cstdio> Panel2D::Panel2D(void) { } Panel2D::Panel2D(Vector2 _v1,Vector2 _v2) { v1=_v1; v2=_v2; midpoint=v1+v2; midpoint/=2; normal=-Vector2((v2-v1).y,-(v2-v1).x); angle=atan2(v2.y-v1.y,v2.x-v1.x); if(angle<0) angle+=2*PI; direction=(v2-v...
12.485149
44
0.666931
cfrpg
37489c6dca94e1c7cd65ebf002e34f3feb15663f
1,365
cpp
C++
src/ScreenshotView.cpp
humdingerb/HaikuThemeManager
b38a77fc147cf4a8dc083b52ce4941b0a44cf160
[ "MIT" ]
4
2016-02-26T08:13:04.000Z
2019-11-17T22:15:04.000Z
src/ScreenshotView.cpp
humdingerb/HaikuThemeManager
b38a77fc147cf4a8dc083b52ce4941b0a44cf160
[ "MIT" ]
26
2017-01-05T04:18:51.000Z
2021-10-08T04:22:14.000Z
src/ScreenshotView.cpp
humdingerb/HaikuThemeManager
b38a77fc147cf4a8dc083b52ce4941b0a44cf160
[ "MIT" ]
4
2017-12-06T19:29:54.000Z
2020-10-26T07:27:34.000Z
/* * Copyright 2000-2008, François Revol, <revol@free.fr>. All rights reserved. * Distributed under the terms of the MIT License. */ #include "ScreenshotView.h" #include <View.h> #include <Bitmap.h> #include <stdio.h> #include <Debug.h> // PRIVATE: in libzeta for now. extern status_t ScaleBitmap(const BBitmap& in...
16.058824
77
0.698168
humdingerb
37498a6e0c3032f7f83715fff555ff0f0d506299
3,763
hpp
C++
include/rectojump/global/config_settings.hpp
Malekblubb/rectojump
66c04e9a081bd1b830205bb0c515a42eeb4befb6
[ "MIT" ]
null
null
null
include/rectojump/global/config_settings.hpp
Malekblubb/rectojump
66c04e9a081bd1b830205bb0c515a42eeb4befb6
[ "MIT" ]
null
null
null
include/rectojump/global/config_settings.hpp
Malekblubb/rectojump
66c04e9a081bd1b830205bb0c515a42eeb4befb6
[ "MIT" ]
null
null
null
// // Copyright (c) 2013-2021 Christoph Malek // See LICENSE for more information. // #ifndef RJ_GLOBAL_CONFIG_SETTINGS_HPP #define RJ_GLOBAL_CONFIG_SETTINGS_HPP #include "config.hpp" #include <rectojump/shared/utils.hpp> #include <mlk/signals_slots/slot.h> #include <mlk/tools/utils.h> namespace rj { namespace set...
24.594771
70
0.689078
Malekblubb
374a39a527b2079a64a6d2408212e423a278ea19
1,813
cpp
C++
src/dex/inst.cpp
wangziqi2013/Android-Dalvik-Analysis
c22e48cffd0af84febe9796afa9598b7c4e976c7
[ "Apache-2.0" ]
4
2016-10-03T06:38:00.000Z
2019-06-15T02:57:27.000Z
src/dex/inst.cpp
wangziqi2013/Android-Dalvik-Analysis
c22e48cffd0af84febe9796afa9598b7c4e976c7
[ "Apache-2.0" ]
null
null
null
src/dex/inst.cpp
wangziqi2013/Android-Dalvik-Analysis
c22e48cffd0af84febe9796afa9598b7c4e976c7
[ "Apache-2.0" ]
1
2019-06-15T02:57:45.000Z
2019-06-15T02:57:45.000Z
#include "inst.h" namespace wangziqi2013 { namespace android_dalvik_analysis { namespace dex { /* * BuildInst() - Fills the opcode and the address of the instruction * * The return value is the new data pointer. Offset could be computed using * the starting address of the code segment */ uint8_t *BuildInst(uint...
27.469697
75
0.620518
wangziqi2013
375874543e19c087fa3046111ddf0f636b1debad
322
cpp
C++
05. Matrix/02 Sum/ColWiseSum.cpp
samdev-py/100DaysOfCode
b0d96e42aeb657902153434c6a7ec8aec265f461
[ "MIT" ]
6
2021-10-30T10:18:11.000Z
2021-12-27T17:25:30.000Z
05. Matrix/02 Sum/ColWiseSum.cpp
samdev-py/Data-Structures-and-algorithms
b0d96e42aeb657902153434c6a7ec8aec265f461
[ "MIT" ]
null
null
null
05. Matrix/02 Sum/ColWiseSum.cpp
samdev-py/Data-Structures-and-algorithms
b0d96e42aeb657902153434c6a7ec8aec265f461
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; void printColSum(int arr[][3], int row, int col) { cout << "The Column Sum: " << endl; for (col = 0; col < 3; col++) { int sum = 0; for (row = 0; row < 3; row++) { sum += arr[row][col]; } cout << sum << endl; }...
20.125
48
0.447205
samdev-py
375b79c9a86d3106c753b0f4d41ae7d6014772a9
329
cc
C++
ctci/5.2_binary_to_string.cc
sservulo/programming-challenges
65a872c96ab5cda347c0ee6b6742a07d55ba9d33
[ "Apache-2.0" ]
null
null
null
ctci/5.2_binary_to_string.cc
sservulo/programming-challenges
65a872c96ab5cda347c0ee6b6742a07d55ba9d33
[ "Apache-2.0" ]
null
null
null
ctci/5.2_binary_to_string.cc
sservulo/programming-challenges
65a872c96ab5cda347c0ee6b6742a07d55ba9d33
[ "Apache-2.0" ]
null
null
null
#include<iostream> using namespace std; string doubleToString(double num){ string s = ""; while(num > 0){ if(s.size() >= 32){return "ERROR";} num *= 2; s += num >= 1 ? "1" : "0"; num -= num >= 1 ? 1 : 0; } return s; } int main(){ double num = 0.5; cout << doubleToString(num) << endl; ret...
16.45
39
0.528875
sservulo
375bc1d302d0377dc2250e4b16d042c88e17ee26
1,991
cpp
C++
viandanti/src/ofApp.cpp
npisanti/np-sketches
256203d73c8bedecc106157841e048731a7ab50a
[ "MIT" ]
1
2019-05-08T17:01:46.000Z
2019-05-08T17:01:46.000Z
viandanti/src/ofApp.cpp
npisanti/np-sketches
256203d73c8bedecc106157841e048731a7ab50a
[ "MIT" ]
null
null
null
viandanti/src/ofApp.cpp
npisanti/np-sketches
256203d73c8bedecc106157841e048731a7ab50a
[ "MIT" ]
null
null
null
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup(){ gui.setup("panel", "settings.xml", ofGetWidth()-220, 20 ); gui.add( travelers.parameters ); gui.add( color.set("color", ofColor(255, 80, 80), ofColor(0), ofColor(255)) ); ofBackground(0); ...
24.280488
82
0.347062
npisanti
3760ae21c8ed2abe24e7ae81da66709e9d1d1e0e
2,373
cpp
C++
005-equalization/equalization.cpp
the-other-mariana/image-processing-algorithms
f88d6d9f6e2257bec0b1fe707ec22c4124bdd384
[ "MIT" ]
9
2021-01-28T22:21:16.000Z
2022-03-03T20:16:45.000Z
005-equalization/equalization.cpp
the-other-mariana/image-processing-algorithms
f88d6d9f6e2257bec0b1fe707ec22c4124bdd384
[ "MIT" ]
null
null
null
005-equalization/equalization.cpp
the-other-mariana/image-processing-algorithms
f88d6d9f6e2257bec0b1fe707ec22c4124bdd384
[ "MIT" ]
1
2021-07-18T08:57:20.000Z
2021-07-18T08:57:20.000Z
#include "opencv2/core/core.hpp" #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/highgui/highgui.hpp" #include <iostream> #include <cmath> using namespace std; using namespace cv; int main() { int arr[256] = { 0 }; float arr2[256] = { 0 }; float arr3[256] = { 0 }; Mat image = imread("trees.jpg", CV_L...
20.282051
165
0.585335
the-other-mariana
376581b25525deacf94b5e57d952d4caff20b7ae
486
cpp
C++
ackermann_ekf/src/ackermann_ekf_node.cpp
OssianEriksson/autonomous-twizy
d78e352c37dd4b2dcdd588b89e2bedb665e7175e
[ "Apache-2.0" ]
8
2021-03-18T21:49:43.000Z
2022-03-14T20:23:16.000Z
ackermann_ekf/src/ackermann_ekf_node.cpp
OssianEriksson/autonomous-twizy
d78e352c37dd4b2dcdd588b89e2bedb665e7175e
[ "Apache-2.0" ]
1
2021-04-04T20:25:34.000Z
2021-04-04T20:31:07.000Z
ackermann_ekf/src/ackermann_ekf_node.cpp
OssianEriksson/autonomous-twizy
d78e352c37dd4b2dcdd588b89e2bedb665e7175e
[ "Apache-2.0" ]
null
null
null
/** * @file ackermann_ekf_node.cpp * * @brief ROS node for sensor fusion using EKF based on Ackermann steering model * * @author Ossian Eriksson \<ossiane@student.chalmers.se\> */ #include "ackermann_ekf/sensor_array.h" #include <ros/ros.h> int main(int argc, char **argv) { ros::init(argc, argv, "ackermann...
20.25
80
0.679012
OssianEriksson
3766f65844cad48fcc4334bef5b61517063f7886
78
cpp
C++
test_package/example.cpp
sintef-ocean/conan-netcdf-c
7807ca2b743cfcd2b087bc9da950b05cf35ee5a3
[ "MIT" ]
null
null
null
test_package/example.cpp
sintef-ocean/conan-netcdf-c
7807ca2b743cfcd2b087bc9da950b05cf35ee5a3
[ "MIT" ]
1
2020-06-24T15:02:32.000Z
2020-06-24T15:02:32.000Z
test_package/example.cpp
sintef-ocean/conan-netcdf-c
7807ca2b743cfcd2b087bc9da950b05cf35ee5a3
[ "MIT" ]
null
null
null
#include <iostream> #include "netcdf.h" int main() { nc_inq_libvers(); }
11.142857
21
0.641026
sintef-ocean
376708cc4f0b1b35f45dc74e960d152b5223a1b6
854
cpp
C++
10703.cpp
felikjunvianto/kfile-uvaoj-submissions
5bd8b3b413ca8523abe412b0a0545f766f70ce63
[ "MIT" ]
null
null
null
10703.cpp
felikjunvianto/kfile-uvaoj-submissions
5bd8b3b413ca8523abe412b0a0545f766f70ce63
[ "MIT" ]
null
null
null
10703.cpp
felikjunvianto/kfile-uvaoj-submissions
5bd8b3b413ca8523abe412b0a0545f766f70ce63
[ "MIT" ]
null
null
null
#include <cstdio> #include <iostream> #include <algorithm> #include <string> using namespace std; int total,bawah,samping,n,x,y,z,kasus; int x1,x2,y1,y2; int peta[550][550]; int main() { kasus=0; do { scanf("%d %d %d",&samping,&bawah,&n); if(samping == 0) break; scanf("\n"); kasus++; ...
17.791667
64
0.522248
felikjunvianto
3767e93c4b093e02df6d37a0caebb926404eb729
681
cpp
C++
solutions-PAT/A1005.cpp
Ki-Seki/solutions
e4329712d664180d850e0a48d7d0f637215f13d0
[ "MIT" ]
1
2022-02-26T10:33:24.000Z
2022-02-26T10:33:24.000Z
solutions-PAT/A1005.cpp
Ki-Seki/solutions
e4329712d664180d850e0a48d7d0f637215f13d0
[ "MIT" ]
null
null
null
solutions-PAT/A1005.cpp
Ki-Seki/solutions
e4329712d664180d850e0a48d7d0f637215f13d0
[ "MIT" ]
1
2021-12-01T14:54:33.000Z
2021-12-01T14:54:33.000Z
#include <iostream> #include <cstring> #define MAXN 105 using namespace std; int main() { char number[MAXN], trans[10][7] = {"zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"}; scanf("%s", number); int len = strlen(number), sum = 0; for (int i = 0; i < len; i++) sum...
35.842105
119
0.54185
Ki-Seki
3769ec2ab96b5d2e4a3719d381e405a675d07bc5
1,313
hpp
C++
boost/network/protocol/http/message/header/value.hpp
antoinelefloch/cpp-netlib
5eb9b5550a10d06f064ee9883c7d942d3426f31b
[ "BSL-1.0" ]
3
2015-02-10T22:08:08.000Z
2021-11-13T20:59:25.000Z
include/boost/network/protocol/http/message/header/value.hpp
waTeim/boost
eb3850fae8c037d632244cf15cf6905197d64d39
[ "BSL-1.0" ]
1
2018-08-10T04:47:12.000Z
2018-08-10T13:54:57.000Z
include/boost/network/protocol/http/message/header/value.hpp
waTeim/boost
eb3850fae8c037d632244cf15cf6905197d64d39
[ "BSL-1.0" ]
5
2017-12-28T12:42:25.000Z
2021-07-01T07:41:53.000Z
#ifndef BOOST_NETWORK_PROTOCOL_HTTP_MESSAGE_HEADER_VALUE_HPP_20101028 #define BOOST_NETWORK_PROTOCOL_HTTP_MESSAGE_HEADER_VALUE_HPP_20101028 // Copyright 2010 Dean Michael Berris. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/L...
25.745098
74
0.708302
antoinelefloch
376a6dad0a17b41abfe64db72cd74e5167b63e16
11,676
cc
C++
src/pong.cc
tomredant/winpong
f5ef70852be4e1161dc5e8eeb8bc309571c20763
[ "MIT", "Unlicense" ]
null
null
null
src/pong.cc
tomredant/winpong
f5ef70852be4e1161dc5e8eeb8bc309571c20763
[ "MIT", "Unlicense" ]
null
null
null
src/pong.cc
tomredant/winpong
f5ef70852be4e1161dc5e8eeb8bc309571c20763
[ "MIT", "Unlicense" ]
null
null
null
// Copyright [2015] <Chafic Najjar> #include "src/pong.h" #include <iostream> #include "src/ball.h" #include "src/paddle.h" #include "src/utilities.h" #include <QFile> #include <QDir> // Screen resolution. const int Pong::SCREEN_WIDTH = 640; const int Pong::SCREEN_HEIGHT = 480; Pong::Pong(int argc, char *argv[]) { ...
30.970822
115
0.583248
tomredant
376e05ab6f756be8b5f358b871a73f9280c63f69
241
cpp
C++
Game/Client/WXClient/Network/PacketHandler/CGBankAcquireListHandler.cpp
hackerlank/SourceCode
b702c9e0a9ca5d86933f3c827abb02a18ffc9a59
[ "MIT" ]
4
2021-07-31T13:56:01.000Z
2021-11-13T02:55:10.000Z
Game/Client/WXClient/Network/PacketHandler/CGBankAcquireListHandler.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
null
null
null
Game/Client/WXClient/Network/PacketHandler/CGBankAcquireListHandler.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
7
2021-08-31T14:34:23.000Z
2022-01-19T08:25:58.000Z
#include"stdafx.h" #include "CGBankAcquireList.h" uint CGBankAcquireListHandler::Execute( CGBankAcquireList* pPacket, Player* pPlayer ) { __ENTER_FUNCTION return PACKET_EXE_CONTINUE ; __LEAVE_FUNCTION return PACKET_EXE_ERROR ; }
15.0625
85
0.788382
hackerlank
3770e938bd3b5625a683d08d300b429be254d11e
3,166
cpp
C++
modules/task_2/korobeinikov_a_batcher_radix_sort/main.cpp
allnes/pp_2022_spring
159191f9c2f218f8b8487f92853cc928a7652462
[ "BSD-3-Clause" ]
null
null
null
modules/task_2/korobeinikov_a_batcher_radix_sort/main.cpp
allnes/pp_2022_spring
159191f9c2f218f8b8487f92853cc928a7652462
[ "BSD-3-Clause" ]
null
null
null
modules/task_2/korobeinikov_a_batcher_radix_sort/main.cpp
allnes/pp_2022_spring
159191f9c2f218f8b8487f92853cc928a7652462
[ "BSD-3-Clause" ]
2
2022-03-31T17:48:22.000Z
2022-03-31T18:06:07.000Z
// Copyright 2022 Korobeinikov Alexandr #include <gtest/gtest.h> #include<omp.h> #include<iostream> #include "./ParallelRadixSort.h" TEST(RadixSort, SimpleCase_1) { std::vector<double> vec = { 1.123, 1.111, -1.1, -2.313, 34.23 }; std::vector<double> vec1(vec); RadixSort(0, vec.size() - 1, &vec); std::s...
26.605042
68
0.610234
allnes
3778022c92ed20985cce66298dbb5d285c8c6842
19,247
cc
C++
tests/neuron_support_code_threshold/neuron_support_code_threshold_CODE/synapseUpdate.cc
9inpachi/genn-opencl
33231225a72611c7b629ef1d13f325f35d4ae2f7
[ "MIT" ]
1
2020-06-28T19:48:48.000Z
2020-06-28T19:48:48.000Z
tests/neuron_support_code_threshold/neuron_support_code_threshold_CODE/synapseUpdate.cc
9inpachi/genn-opencl
33231225a72611c7b629ef1d13f325f35d4ae2f7
[ "MIT" ]
1
2020-02-10T15:26:29.000Z
2020-02-10T15:26:29.000Z
tests/neuron_support_code_threshold/neuron_support_code_threshold_CODE/synapseUpdate.cc
9inpachi/genn-opencl
33231225a72611c7b629ef1d13f325f35d4ae2f7
[ "MIT" ]
1
2020-02-10T10:47:12.000Z
2020-02-10T10:47:12.000Z
#include "definitionsInternal.h" #include "supportCode.h" extern "C" const char* updateSynapsesProgramSrc = R"(typedef float scalar; void atomic_add_f_global(volatile __global float *source, const float operand) { union { unsigned int intVal; float floatVal; } newVal; union { unsigned int intVal; float floatV...
46.602906
734
0.561802
9inpachi
37817cf292cc5388ef2dd4c7f77a7e99a49c5e1c
4,437
cpp
C++
src/3rdparty/kjs/src/kjs/identifier.cpp
afarcat/QtHtmlView
fff12b6f5c08c2c6db15dd73e4f0b55421827b39
[ "Apache-2.0" ]
null
null
null
src/3rdparty/kjs/src/kjs/identifier.cpp
afarcat/QtHtmlView
fff12b6f5c08c2c6db15dd73e4f0b55421827b39
[ "Apache-2.0" ]
null
null
null
src/3rdparty/kjs/src/kjs/identifier.cpp
afarcat/QtHtmlView
fff12b6f5c08c2c6db15dd73e4f0b55421827b39
[ "Apache-2.0" ]
null
null
null
/* * This file is part of the KDE libraries * Copyright (C) 2003 Apple Computer, Inc * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or ...
25.354286
90
0.606265
afarcat
3786b8f456e1b5fc95c201b9653f7ca95bb3105b
153
cpp
C++
src/ble/blPermission.cpp
fidoriel/track38
d3773a7ae704e460da25c5ec68e444dab82bfdc1
[ "MIT" ]
null
null
null
src/ble/blPermission.cpp
fidoriel/track38
d3773a7ae704e460da25c5ec68e444dab82bfdc1
[ "MIT" ]
null
null
null
src/ble/blPermission.cpp
fidoriel/track38
d3773a7ae704e460da25c5ec68e444dab82bfdc1
[ "MIT" ]
null
null
null
#if defined( WIN32 ) || defined( __linux__ ) #include "blPermission.h" bool bleIsAutorized() { return true; } void askForPermission() { } #endif
10.2
44
0.673203
fidoriel
3787f23976b04e86007092b401d60d613db9ba2f
641
cc
C++
controllers/download_route.cc
Rynnya/hanaru
2bfa40d9040b9b4e3b952099886dc293921a5a25
[ "MIT" ]
1
2021-12-13T10:37:30.000Z
2021-12-13T10:37:30.000Z
controllers/download_route.cc
Rynnya/hanaru
2bfa40d9040b9b4e3b952099886dc293921a5a25
[ "MIT" ]
null
null
null
controllers/download_route.cc
Rynnya/hanaru
2bfa40d9040b9b4e3b952099886dc293921a5a25
[ "MIT" ]
null
null
null
#include "download_route.hh" #include "../impl/downloader.hh" #include "../impl/utils.hh" Task<HttpResponsePtr> download_route::get(HttpRequestPtr req, int64_t id) { const auto [code, filename, content] = co_await hanaru::downloader::get().download_map(id); if (code != k200OK) { SEND_ERROR(code, cont...
26.708333
104
0.691108
Rynnya
3788372b6c8beae2f46454b97a4d243b5e547177
1,861
hpp
C++
parser/operators.hpp
CobaltXII/cxcc
2e8f34e851b3cbe6699e443fd3950d630ff170b7
[ "MIT" ]
3
2019-05-27T04:50:51.000Z
2019-06-18T16:27:58.000Z
parser/operators.hpp
CobaltXII/cxcc
2e8f34e851b3cbe6699e443fd3950d630ff170b7
[ "MIT" ]
null
null
null
parser/operators.hpp
CobaltXII/cxcc
2e8f34e851b3cbe6699e443fd3950d630ff170b7
[ "MIT" ]
null
null
null
#pragma once #include <string> // All binary operators. enum binary_operator_t { bi_addition, bi_subtraction, bi_multiplication, bi_division, bi_modulo, bi_assignment, bi_addition_assignment, bi_subtraction_assignment, bi_multiplication_assignment, bi_division_assignment, bi_modulo_assignment, bi_logical_a...
20.910112
40
0.779688
CobaltXII
3788db31a645be37bbeccd43acd7cda07ad23d4b
133,850
inl
C++
modules/aho/inl/ru/ali/StateMap.inl
JosDenysGitHub/iknow
e6a142253513ad4365d7998e36c569d4174e8248
[ "MIT" ]
49
2020-02-05T15:54:24.000Z
2022-03-03T20:10:39.000Z
modules/aho/inl/ru/ali/StateMap.inl
makorin0315/iknow
3043030d2ac83b8719471bacaabd204ebdf94be6
[ "MIT" ]
84
2020-02-06T13:09:16.000Z
2022-03-22T19:36:00.000Z
modules/aho/inl/ru/ali/StateMap.inl
makorin0315/iknow
3043030d2ac83b8719471bacaabd204ebdf94be6
[ "MIT" ]
20
2020-02-04T21:38:57.000Z
2022-02-23T20:30:13.000Z
12, 25798,16068,20404,140,3539,229,14745,10097,9525,12784,5217,8986,4804,5728,4881,5529,23602,7236,8008,26756,4270,8116,1454,7804,4690,3358,233,1012,8253,11199,612,17620,10209,10614,3940,25274,17691,56,598,91,475,283,16,317,458,52,409,78,38,594,5,1,74,262,65,26,390,524,672,157,48,219,198,2096,471,433,964,545,313,3059,2...
1,394.270833
1,536
0.819768
JosDenysGitHub
379182b11ef8f7c81420419a07c0170c3faf9ef5
898
cc
C++
poj/1/1064.cc
eagletmt/procon
adbe503eb3c1bbcc1538b2ee8988aa353937e8d4
[ "MIT" ]
1
2015-04-17T09:54:23.000Z
2015-04-17T09:54:23.000Z
poj/1/1064.cc
eagletmt/procon
adbe503eb3c1bbcc1538b2ee8988aa353937e8d4
[ "MIT" ]
null
null
null
poj/1/1064.cc
eagletmt/procon
adbe503eb3c1bbcc1538b2ee8988aa353937e8d4
[ "MIT" ]
null
null
null
#include <cstdio> #include <vector> using namespace std; bool ok(const vector<long long>& cables, int K, long long len) { if (len == 0) { return true; } for (vector<long long>::const_iterator it(cables.begin()); it != cables.end() && K > 0; ++it) { K -= *it / len; } return K <= 0; } int main() { i...
19.955556
97
0.513363
eagletmt
37926c6e01702a320a788f39146488ba5b6a0b58
469
hpp
C++
include/gkom/ShaderProgram.hpp
akowalew/mill-opengl
91ef11e6cdbfe691e0073d9883e42c0a29d29b45
[ "MIT" ]
null
null
null
include/gkom/ShaderProgram.hpp
akowalew/mill-opengl
91ef11e6cdbfe691e0073d9883e42c0a29d29b45
[ "MIT" ]
null
null
null
include/gkom/ShaderProgram.hpp
akowalew/mill-opengl
91ef11e6cdbfe691e0073d9883e42c0a29d29b45
[ "MIT" ]
null
null
null
#pragma once #include <string_view> namespace gkom { //! Forward declarations class Shader; class Uniform; class ShaderProgram { public: explicit ShaderProgram(unsigned int handle) noexcept; void attach(Shader shader); void detach(Shader shader); void link(); bool isLinked() const noexcept; void use(); ...
12.675676
54
0.729211
akowalew
379670eada688a7b758b8d8b7d100f4207921eee
625
ipp
C++
src/di/tools/hash.ipp
lukaszlaszko/di
def12a9356ba1336931ecab9acd5abf8b497ff96
[ "Apache-2.0" ]
10
2019-03-02T16:11:55.000Z
2022-03-24T10:04:20.000Z
src/di/tools/hash.ipp
lukaszlaszko/di
def12a9356ba1336931ecab9acd5abf8b497ff96
[ "Apache-2.0" ]
8
2018-05-12T07:50:39.000Z
2019-01-06T08:11:54.000Z
src/di/tools/hash.ipp
lukaszlaszko/di
def12a9356ba1336931ecab9acd5abf8b497ff96
[ "Apache-2.0" ]
null
null
null
#pragma once #include <functional> #include <utility> namespace di { namespace tools { template <typename T1, typename T2> inline size_t pair_hash::operator ()(const std::pair<T1, T2>& p) const { auto h1 = std::hash<T1>{}(p.first); auto h2 = std::hash<T2>{}(p.second); return h1 ^ h2; } } } namespace ...
19.53125
117
0.6656
lukaszlaszko
3798d47bc559569c8b038800e6948c0ebfadaa10
519
cc
C++
DataFormats/Math/test/WriteMath.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
DataFormats/Math/test/WriteMath.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
DataFormats/Math/test/WriteMath.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
#include "DataFormats/Math/test/WriteMath.h" #include "DataFormats/Math/interface/Vector3D.h" #include "FWCore/Framework/interface/Event.h" #include <vector> using namespace edm; using namespace std; typedef math::XYZVector Vector; WriteMath::WriteMath( const ParameterSet& ) { produces<vector<Vector> >(); ...
28.833333
62
0.689788
nistefan
379d8b03fa2c230fd916caf2eb632af7d02b0201
1,542
cc
C++
tests/CompileTests/ElsaTestCases/d0016.cc
maurizioabba/rose
7597292cf14da292bdb9a4ef573001b6c5b9b6c0
[ "BSD-3-Clause" ]
488
2015-01-09T08:54:48.000Z
2022-03-30T07:15:46.000Z
tests/CompileTests/ElsaTestCases/d0016.cc
sujankh/rose-matlab
7435d4fa1941826c784ba97296c0ec55fa7d7c7e
[ "BSD-3-Clause" ]
174
2015-01-28T18:41:32.000Z
2022-03-31T16:51:05.000Z
tests/CompileTests/ElsaTestCases/d0016.cc
sujankh/rose-matlab
7435d4fa1941826c784ba97296c0ec55fa7d7c7e
[ "BSD-3-Clause" ]
146
2015-04-27T02:48:34.000Z
2022-03-04T07:32:53.000Z
// this test was isolated from nsAtomTable.i; a change was made in // nsAtomTable.i to remove the failure here, but the fix was NOT that // which I present here; the fix was to just comment out the line // corresponding to the line at the bottom here where the ctor is // actually called; this was done because attemptin...
37.609756
85
0.756809
maurizioabba
379d999398968fe22b83e1234e3e731b4bd13ff4
3,755
cc
C++
src/runtime/directx/directx_buffer.cc
wenxcs/tvm
bcbf4f9b1ddc4326364a3aa2fc82aaf4df8d53e8
[ "Apache-2.0" ]
null
null
null
src/runtime/directx/directx_buffer.cc
wenxcs/tvm
bcbf4f9b1ddc4326364a3aa2fc82aaf4df8d53e8
[ "Apache-2.0" ]
null
null
null
src/runtime/directx/directx_buffer.cc
wenxcs/tvm
bcbf4f9b1ddc4326364a3aa2fc82aaf4df8d53e8
[ "Apache-2.0" ]
null
null
null
#include "directx_header.h" using namespace tvm::runtime::dx; DirectBuffer::DirectBuffer(DirectXDevice* _dev, UINT64 size, DLDataType type) : _dxdev(_dev) { _res = _dev->device_allocate(size); D3D12_RESOURCE_DESC desc = _res->GetDesc(); this->size = desc.Width; this->type = type; } DirectBuffer::DirectBuffer...
30.282258
109
0.691877
wenxcs
37a3d6f0cbcad80ec1e8c1e039da86adbffbc7fc
4,162
cpp
C++
IVT/src/Visualizer/OpenInventorVisualizer.cpp
Tobi2001/asr_ivt
146abe4324a14d7b8acccec7b1bfbdb74590fb5f
[ "BSD-3-Clause" ]
null
null
null
IVT/src/Visualizer/OpenInventorVisualizer.cpp
Tobi2001/asr_ivt
146abe4324a14d7b8acccec7b1bfbdb74590fb5f
[ "BSD-3-Clause" ]
null
null
null
IVT/src/Visualizer/OpenInventorVisualizer.cpp
Tobi2001/asr_ivt
146abe4324a14d7b8acccec7b1bfbdb74590fb5f
[ "BSD-3-Clause" ]
1
2019-11-24T17:09:19.000Z
2019-11-24T17:09:19.000Z
// **************************************************************************** // This file is part of the Integrating Vision Toolkit (IVT). // // The IVT is maintained by the Karlsruhe Institute of Technology (KIT) // (www.kit.edu) in cooperation with the company Keyetech (www.keyetech.de). // // Copyright (C) 2014 K...
35.57265
99
0.58962
Tobi2001
37a7abc6249e0a1407032027ca507df0703f4c24
1,698
cpp
C++
admin/pchealth/sr/tools/flbuild/flbuild.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/pchealth/sr/tools/flbuild/flbuild.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/pchealth/sr/tools/flbuild/flbuild.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*++ Copyright (c) 1998-1999 Microsoft Corporation Module Name: flbuild.cpp Abstract: this file uses filelist.lib to build a dat file from xml file Author: Kanwaljit Marok (kmarok) 01-May-2000 Revision History: --*/ #include "flstructs.h" #include "flbuilder.h" #ifdef...
16.647059
68
0.520612
npocmaka
37a80ab55c5fa7ba4985d1ab17263121be860830
1,377
cpp
C++
tests/SignalConverterTests.cpp
sbash64/phase-vocoder
ac9c11cd4d38c6827bfde815e559d3f1114e1cf4
[ "MIT" ]
null
null
null
tests/SignalConverterTests.cpp
sbash64/phase-vocoder
ac9c11cd4d38c6827bfde815e559d3f1114e1cf4
[ "MIT" ]
null
null
null
tests/SignalConverterTests.cpp
sbash64/phase-vocoder
ac9c11cd4d38c6827bfde815e559d3f1114e1cf4
[ "MIT" ]
null
null
null
#include "assert-utility.hpp" #include <sbash64/phase-vocoder/SignalConverter.hpp> #include <gtest/gtest.h> namespace sbash64::phase_vocoder { namespace { class SignalConverterTests : public ::testing::Test { protected: void assertExpanded(const std::vector<double> &x, index_type P, const std::vector<dou...
24.157895
80
0.594771
sbash64
37ad33aeccebf9570081da11802638ed6c0bc2fe
609
cpp
C++
engine/src/core/mesh.cpp
AnisB/Donut
335638df9eca74440ca0d9dc3928ae9b419b7307
[ "MIT" ]
3
2015-09-28T23:21:02.000Z
2017-06-20T16:17:32.000Z
engine/src/core/mesh.cpp
AnisB/Donut
335638df9eca74440ca0d9dc3928ae9b419b7307
[ "MIT" ]
null
null
null
engine/src/core/mesh.cpp
AnisB/Donut
335638df9eca74440ca0d9dc3928ae9b419b7307
[ "MIT" ]
2
2015-11-25T07:34:35.000Z
2017-01-03T00:14:38.000Z
// Library includes #include "core/Mesh.h" #include "resource/resource_manager.h" // External includes #include <string.h> namespace donut { TMesh::TMesh(MATERIAL_GUID material_guid, GEOMETRY_GUID _geometry) : TDrawable() , m_material(material_guid) , m_geometry(_geometry) { } TMesh::~TMesh() { } ...
19.03125
70
0.720854
AnisB
37ae65938574133f0b9790b155f54b47609aee78
1,004
cpp
C++
geometry/point.11.cpp
ivan100sic/competelib-snippets
e40170a63b37d92c91e2dfef08b2794e67ccb0b2
[ "Unlicense" ]
3
2022-01-17T01:56:05.000Z
2022-02-23T07:30:02.000Z
geometry/point.11.cpp
ivan100sic/competelib-snippets
e40170a63b37d92c91e2dfef08b2794e67ccb0b2
[ "Unlicense" ]
null
null
null
geometry/point.11.cpp
ivan100sic/competelib-snippets
e40170a63b37d92c91e2dfef08b2794e67ccb0b2
[ "Unlicense" ]
null
null
null
// Planar point using ll = long long; /*snippet-begin*/ template<class P, class T = ll> T det(const P& a, const P& b, const P& c) { return (a-b).template vp<T>(a-c); } template<class T> T sgn(T x) { return x < 0 ? -1 : !!x; } template<class T> struct point { T x, y; point operator- (const point& b) ...
27.888889
85
0.553785
ivan100sic
37af6ac6bde83050e4d712bba906df5672394208
1,849
cpp
C++
Project2/GccApplication3/GccApplication3/tests/test002_create_rr_task.cpp
paulmoon/csc460
a432cfccef97fca5820cb0fc006112bb773cda0f
[ "MIT" ]
null
null
null
Project2/GccApplication3/GccApplication3/tests/test002_create_rr_task.cpp
paulmoon/csc460
a432cfccef97fca5820cb0fc006112bb773cda0f
[ "MIT" ]
null
null
null
Project2/GccApplication3/GccApplication3/tests/test002_create_rr_task.cpp
paulmoon/csc460
a432cfccef97fca5820cb0fc006112bb773cda0f
[ "MIT" ]
null
null
null
#ifdef USE_TEST_002 /* Test workflow: 1) r_main() system task prints to trace 0 twice. Adds two RR tasks rr(1) and rr2(2). 2) RR Queue: rr(1), rr2(2). rr(1) runs, printing out (1) and going back to the queue. 3) RR Queue: rr2(2), rr(1). rr2(2) runs. Adds 2, 2 to the trace, and creates rr(3). rr2(2) yields, going ...
24.012987
124
0.575987
paulmoon
37b0e336737df256bc44e98d0a264c23822a78a2
485
cpp
C++
mj344/IOManager/Outputs/Host.cpp
Shakarang/mbed-mj344_a1
d8217db644c08f3417fe5f4f3b51f59df9439408
[ "MIT" ]
null
null
null
mj344/IOManager/Outputs/Host.cpp
Shakarang/mbed-mj344_a1
d8217db644c08f3417fe5f4f3b51f59df9439408
[ "MIT" ]
null
null
null
mj344/IOManager/Outputs/Host.cpp
Shakarang/mbed-mj344_a1
d8217db644c08f3417fe5f4f3b51f59df9439408
[ "MIT" ]
null
null
null
/** * @Author: Maxime Junger <mj344> * @Date: 2017-02-03T21:46:16+00:00 * @Email: mj344@kent.ac.uk * @Last modified by: mj344 * @Last modified time: 2017-02-08T18:26:07+00:00 */ #include <time.h> #include "Host.hh" Host::Host() { this->host = new Serial(USBTX, USBRX); } Host::~Host() { if (this->host != NULL)...
19.4
62
0.602062
Shakarang
37b5a3a5158024aace1be6ee2386633d7ea6992f
4,308
cpp
C++
WOAP Host/Source/woap_gain_fader_view.cpp
ZonRobin/WOAP
f1bfb8dbe84e57826834ad3ca81f548b20b1afc6
[ "MIT" ]
null
null
null
WOAP Host/Source/woap_gain_fader_view.cpp
ZonRobin/WOAP
f1bfb8dbe84e57826834ad3ca81f548b20b1afc6
[ "MIT" ]
null
null
null
WOAP Host/Source/woap_gain_fader_view.cpp
ZonRobin/WOAP
f1bfb8dbe84e57826834ad3ca81f548b20b1afc6
[ "MIT" ]
null
null
null
#include "woap_gain_fader_view.h" #include "woap_gain_fader.h" #include "woap_track.h" #include "woap_track_level_indicator_view.h" #include "woap_parameter_float.h" #include "woap_vertical_db_scale.h" #include "woap_track_send_node.h" using namespace WOAP; using namespace WOAP::GUI; GainFaderView::GainFaderView(Trac...
24.338983
108
0.7565
ZonRobin
37b5c10a09437c61ff19ce3a1f4adec3ec21a77f
1,352
hpp
C++
Random/NewHV/Inc/Handle/HandleBase.hpp
SuperV1234/Experiments
572c94d1afb367c241645b479019f6cb3883f98f
[ "AFL-3.0" ]
12
2015-10-10T16:27:28.000Z
2019-11-28T17:48:32.000Z
Random/NewHV/Inc/Handle/HandleBase.hpp
vittorioromeo/Experiments
572c94d1afb367c241645b479019f6cb3883f98f
[ "AFL-3.0" ]
3
2016-11-20T21:17:19.000Z
2018-05-25T16:52:32.000Z
Random/NewHV/Inc/Handle/HandleBase.hpp
vittorioromeo/Experiments
572c94d1afb367c241645b479019f6cb3883f98f
[ "AFL-3.0" ]
2
2016-11-20T21:02:49.000Z
2020-01-09T18:11:29.000Z
// Copyright (c) 2013-2015 Vittorio Romeo // License: Academic Free License ("AFL") v. 3.0 // AFL License page: http://opensource.org/licenses/AFL-3.0 #ifndef SSVU_NEWHV_HANDLEBASE #define SSVU_NEWHV_HANDLEBASE namespace ssvu { namespace Internal { template <typename T> class HVHandleBase ...
28.765957
78
0.553254
SuperV1234
37b9fd0a59f9806b2227df06ef6c6415ba53b56f
1,212
cpp
C++
examples/images/ImageOpenCVModel.cpp
teyenliu/nodeeditor
a1bf22f924f4911b8dd3f84ff88678f91cdd2c7e
[ "BSD-3-Clause" ]
null
null
null
examples/images/ImageOpenCVModel.cpp
teyenliu/nodeeditor
a1bf22f924f4911b8dd3f84ff88678f91cdd2c7e
[ "BSD-3-Clause" ]
null
null
null
examples/images/ImageOpenCVModel.cpp
teyenliu/nodeeditor
a1bf22f924f4911b8dd3f84ff88678f91cdd2c7e
[ "BSD-3-Clause" ]
null
null
null
#include "ImageOpenCVModel.hpp" #include <QtCore/QEvent> #include <QtCore/QDir> #include <QDebug> #include <QtWidgets/QFileDialog> #include <nodes/DataModelRegistry> #include "PixmapData.hpp" ImageOpenCVModel:: ImageOpenCVModel() { } bool ImageOpenCVModel:: eventFilter(QObject *object, QEvent *event) { if (obj...
17.070423
75
0.643564
teyenliu
37bf813d9aa9a21833b19ba4e9f78654eb01aa91
31,278
cpp
C++
Math3D.cpp
joeriedel/Tread3.0A2
337c4aa74d554e21b50d6bd4406ce0f67aa39144
[ "MIT" ]
1
2020-07-19T10:19:18.000Z
2020-07-19T10:19:18.000Z
Math3D.cpp
joeriedel/Tread3.0A2
337c4aa74d554e21b50d6bd4406ce0f67aa39144
[ "MIT" ]
null
null
null
Math3D.cpp
joeriedel/Tread3.0A2
337c4aa74d554e21b50d6bd4406ce0f67aa39144
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // Math3D.cpp /////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2008, Joe Riedel // All rights reserved. // Original Author: Andrew Meggs // // Redistribution and use in source and binary forms...
39.442623
154
0.494437
joeriedel
37c4c7d50037d93b4c8db049ebcbbacfcf8e48b6
31,930
cpp
C++
blades/xbmc/xbmc/cores/AudioEngine/DSPAddons/ActiveAEDSP.cpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
4
2016-04-26T03:43:54.000Z
2016-11-17T08:09:04.000Z
blades/xbmc/xbmc/cores/AudioEngine/DSPAddons/ActiveAEDSP.cpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
17
2015-01-05T21:06:22.000Z
2015-12-07T20:45:44.000Z
blades/xbmc/xbmc/cores/AudioEngine/DSPAddons/ActiveAEDSP.cpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
3
2016-04-26T03:43:55.000Z
2020-11-06T11:02:08.000Z
/* * Copyright (C) 2010-2014 Team KODI * http://kodi.tv * * 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 Software Foundation; either version 2, or (at your option) * any later version. * * T...
26.519934
167
0.6943
krattai
37c55a5c7f72ea7d9f4b1f86eda223c7a32430d1
7,538
cc
C++
blades/mediatomb/src/filesystem.cc
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
4
2016-04-26T03:43:54.000Z
2016-11-17T08:09:04.000Z
blades/mediatomb/src/filesystem.cc
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
17
2015-01-05T21:06:22.000Z
2015-12-07T20:45:44.000Z
blades/mediatomb/src/filesystem.cc
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
3
2016-04-26T03:43:55.000Z
2020-11-06T11:02:08.000Z
/*MT* MediaTomb - http://www.mediatomb.cc/ filesystem.cc - this file is part of MediaTomb. Copyright (C) 2005 Gena Batyan <bgeradz@mediatomb.cc>, Sergey 'Jin' Bostandzhyan <jin@mediatomb.cc> Copyright (C) 2006-2010 Gena Batyan <bgeradz@mediatomb.cc>, ...
26.083045
78
0.499071
krattai
37c6f073046f522293840ddcc5e4216519ae3012
4,715
cpp
C++
test/source/game_state_unit_tests.cpp
ahelwer/pason2012
9e7d76589c3a9c81adc9b37e8770239b346801c0
[ "MIT" ]
1
2020-09-15T05:48:22.000Z
2020-09-15T05:48:22.000Z
test/source/game_state_unit_tests.cpp
ahelwer/pason2012
9e7d76589c3a9c81adc9b37e8770239b346801c0
[ "MIT" ]
4
2019-07-03T17:06:25.000Z
2019-07-03T17:06:45.000Z
test/source/game_state_unit_tests.cpp
ahelwer/pason2012
9e7d76589c3a9c81adc9b37e8770239b346801c0
[ "MIT" ]
null
null
null
#include <test/game_state_unit_tests.hpp> #include <model/tetromino.hpp> #include <util/constants.hpp> #include <util/vector.hpp> #include <iostream> CPPUNIT_TEST_SUITE_REGISTRATION(GameStateUnitTests); void GameStateUnitTests::setUp() { m_pState = new GameState(); } void GameStateUnitTests::tearDown() { if...
32.517241
66
0.68526
ahelwer
37c78d02abb275b9a1ce9a4790d8e4b2f8db64df
1,999
hh
C++
Framework/AbsModuleMemento.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
Framework/AbsModuleMemento.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
Framework/AbsModuleMemento.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
//-------------------------------------------------------------------------- // File and Version Information: // $Id: AbsModuleMemento.hh 509 2010-01-14 15:18:55Z stroili $ // // Description: // Class AbsModuleMemento. Abstract base class for Memento classes // Do not use this for Template class (foo<T>). us...
23.517647
77
0.533267
brownd1978
37c795ef3fe406c28eb7b431d4a48c24d37ab13d
8,415
cc
C++
components/history_clusters/core/clusterer_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
components/history_clusters/core/clusterer_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
components/history_clusters/core/clusterer_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2021 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 "components/history_clusters/core/clusterer.h" #include "base/test/task_environment.h" #include "components/history_clusters/core/clustering_tes...
41.658416
80
0.717172
zealoussnow
37c9772c6ca09ef7c9f20fb3a952c0c76bb4f79e
928
cpp
C++
src/classes/socket/ClientTCPSocket.cpp
thibautcornolti/plazza
253b0dd9f76179aa2ef7e98050fcb7c2bc6c4b25
[ "MIT" ]
null
null
null
src/classes/socket/ClientTCPSocket.cpp
thibautcornolti/plazza
253b0dd9f76179aa2ef7e98050fcb7c2bc6c4b25
[ "MIT" ]
null
null
null
src/classes/socket/ClientTCPSocket.cpp
thibautcornolti/plazza
253b0dd9f76179aa2ef7e98050fcb7c2bc6c4b25
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2018 ** cpp_plazza ** File description: ** ClientTCPSocket */ #include "ClientTCPSocket.hpp" ClientTCPSocket::ClientTCPSocket() : TCPSocket() { } ClientTCPSocket::ClientTCPSocket(const std::string &host, int port) : TCPSocket() { ClientTCPSocket::connect(host, port); } ClientTCPSocket::Clie...
19.744681
68
0.700431
thibautcornolti
37ca07a23fb9693304bb70cde961086de5536e1d
1,505
cpp
C++
source/plugin/squarexorx4/squarexor.cpp
lostjared/acidcamGL
dbd06c24bfc4a0b1afc137e906f1a9a9cb98a14b
[ "BSD-2-Clause" ]
12
2020-06-29T03:58:26.000Z
2022-01-15T17:03:16.000Z
source/plugin/squarexorx4/squarexor.cpp
lostjared/acidcamGL
dbd06c24bfc4a0b1afc137e906f1a9a9cb98a14b
[ "BSD-2-Clause" ]
1
2020-11-05T01:51:58.000Z
2020-12-14T18:20:54.000Z
source/plugin/squarexorx4/squarexor.cpp
lostjared/acidcamGL
dbd06c24bfc4a0b1afc137e906f1a9a9cb98a14b
[ "BSD-2-Clause" ]
3
2020-02-27T18:27:45.000Z
2021-08-18T01:24:52.000Z
#include"ac.h" #include<cstdlib> #include<ctime> extern "C" void filter(cv::Mat &frame) { static double alpha = 1.0; for(int z = 0; z < frame.rows-4; z += 3) { for(int i = 0; i < frame.cols-4; i += 3) { if(i+1 < frame.cols && z+1 < frame.rows) { cv::Ve...
32.021277
116
0.322259
lostjared