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
float64
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
float64
1
77k
⌀
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
float64
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
653k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
1
54a2408ceeedf2c24a17f3501e5dd355dc4906f8
9,375
cc
C++
content/browser/service_worker/service_worker_context_unittest.cc
Acidburn0zzz/chromium-1
4c08f442d2588a2c7cfaa117a55bd87d2ac32f9a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/browser/service_worker/service_worker_context_unittest.cc
Acidburn0zzz/chromium-1
4c08f442d2588a2c7cfaa117a55bd87d2ac32f9a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/browser/service_worker/service_worker_context_unittest.cc
Acidburn0zzz/chromium-1
4c08f442d2588a2c7cfaa117a55bd87d2ac32f9a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/public/browser/service_worker_context.h" #include "base/files/scoped_temp_dir.h" #include "base/logging.h" #include "base/message_loop/...
31.779661
80
0.730773
54a47a460b163f0d3a76d7153685638c52a9e81b
2,135
cc
C++
deadrec_montecarlo_gyro/DeadRecMonteCarlo.cc
ryuichiueda/ProbabilisticRaspiMouse
de1c58f93d664d15d4b3f8f99c5a2ce6e56240c4
[ "MIT" ]
5
2015-08-08T09:25:35.000Z
2022-02-17T04:43:10.000Z
deadrec_montecarlo_gyro/DeadRecMonteCarlo.cc
ryuichiueda/ProbabilisticRaspiMouse
de1c58f93d664d15d4b3f8f99c5a2ce6e56240c4
[ "MIT" ]
null
null
null
deadrec_montecarlo_gyro/DeadRecMonteCarlo.cc
ryuichiueda/ProbabilisticRaspiMouse
de1c58f93d664d15d4b3f8f99c5a2ce6e56240c4
[ "MIT" ]
null
null
null
#include "DeadRecMonteCarlo.h" #include <iostream> #include <limits.h> #include <cmath> using namespace std; DeadRecMonteCarlo::DeadRecMonteCarlo(int num, ifstream *ifs) { Pose p{0.0,0.0,0.0}; m_poses.insert(m_poses.begin(),num,p); m_rand_ifs = ifs; m_step = 0; m_distance_max_noise_ratio = 0.05; // 5% noise m_...
26.6875
96
0.694145
54a900df45ab89a3259ef4d311d1653fe67ab3c8
2,098
hpp
C++
linkedlist.hpp
joshroybal/cpp-data_structures
3a570547d096da07c0b65ac0049d58e8d37f8dc3
[ "MIT" ]
null
null
null
linkedlist.hpp
joshroybal/cpp-data_structures
3a570547d096da07c0b65ac0049d58e8d37f8dc3
[ "MIT" ]
null
null
null
linkedlist.hpp
joshroybal/cpp-data_structures
3a570547d096da07c0b65ac0049d58e8d37f8dc3
[ "MIT" ]
null
null
null
#ifndef LINKEDLIST_HPP #define LINKEDLIST_HPP #include <iostream> #include <iomanip> template <class T> class LinkedList { public: LinkedList() { head_ = 0; } ~LinkedList() { destroy_(head_); } void Add(const T& k) { head_ = add_(k); } void Reverse() { head_ = reverse_(head_, 0); } in...
20.98
77
0.596759
54a9ea3d1cf584a8d1505c07faf72697055e4aa0
26,301
cpp
C++
Vault/Source/Vault/Private/SLoaderWindow.cpp
Unreal-Vault/Vault-Dev
5232794276b238c700c9f4a5fc5bfc4082612f04
[ "MIT" ]
11
2020-11-04T13:51:19.000Z
2022-02-24T23:11:44.000Z
Vault/Source/Vault/Private/SLoaderWindow.cpp
Unreal-Vault/Vault-Dev
5232794276b238c700c9f4a5fc5bfc4082612f04
[ "MIT" ]
null
null
null
Vault/Source/Vault/Private/SLoaderWindow.cpp
Unreal-Vault/Vault-Dev
5232794276b238c700c9f4a5fc5bfc4082612f04
[ "MIT" ]
3
2022-01-23T10:14:56.000Z
2022-03-30T13:35:10.000Z
// Copyright Daniel Orchard 2020 #include "SLoaderWindow.h" #include "Vault.h" #include "VaultSettings.h" #include "MetadataOps.h" #include "SAssetPackTile.h" #include "VaultStyle.h" #include "AssetPublisher.h" #include "VaultTypes.h" #include "ImageUtils.h" #include "EditorStyleSet.h" #include "PakFileUtilities.h" ...
27.685263
222
0.705943
54ab167058ce125f5fa40b23910f9857416f3ac2
276
hpp
C++
src/Time.hpp
matheuscscp/parallel-programming-final-project
088934d2cf188e2953de773424e877d78933ae3f
[ "MIT" ]
2
2019-05-26T17:13:23.000Z
2019-06-09T05:48:57.000Z
src/Time.hpp
matheuscscp/delta-stepping
088934d2cf188e2953de773424e877d78933ae3f
[ "MIT" ]
null
null
null
src/Time.hpp
matheuscscp/delta-stepping
088934d2cf188e2953de773424e877d78933ae3f
[ "MIT" ]
null
null
null
/* * Time.hpp * * Created on: Nov 20, 2014 * Author: matheus */ #ifndef TIME_HPP_ #define TIME_HPP_ #include <sys/time.h> class Stopwatch { private: timeval i; public: Stopwatch(); void start(); float time() const; }; #endif /* TIME_HPP_ */
12
28
0.594203
54ab50e9d1dc5c0ea91d3cb67f1434487d879004
681
cpp
C++
C++/holes.cpp
MADHAVAN001/Competitive-Programming-Practice
ca895315078880b403f4656677f60905681e7b86
[ "MIT" ]
null
null
null
C++/holes.cpp
MADHAVAN001/Competitive-Programming-Practice
ca895315078880b403f4656677f60905681e7b86
[ "MIT" ]
null
null
null
C++/holes.cpp
MADHAVAN001/Competitive-Programming-Practice
ca895315078880b403f4656677f60905681e7b86
[ "MIT" ]
null
null
null
using namespace std; #include<stdio.h> #include<iostream> int main() { int num_lines; int count[50]; char text[50][100]; std::cout<<"This is the program to count number of holes in text"; std::cout<<endl<<"Please enter the number of lines follwed by each of the lines: "; cin>>num_lines; for(int i = 0;i<num_lines;i...
20.636364
127
0.562408
54ab7ccc3f96c9c82b3d77678a96f0a80fb2ec06
51
hpp
C++
src/boost_metaparse_limit_sequence_size.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_metaparse_limit_sequence_size.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_metaparse_limit_sequence_size.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/metaparse/limit_sequence_size.hpp>
25.5
50
0.843137
54b018813113477897e3df2360859fed801e2c3f
18,212
cpp
C++
source/tflite-model/trained_model_compiled.cpp
LetsOKdo/dance-activated-microbit
812c14169f4b8c61acbfc1ff0a7aeed4546eda13
[ "MIT" ]
3
2021-07-12T05:38:00.000Z
2022-03-02T14:55:23.000Z
source/tflite-model/trained_model_compiled.cpp
LetsOKdo/dance-activated-microbit
812c14169f4b8c61acbfc1ff0a7aeed4546eda13
[ "MIT" ]
null
null
null
source/tflite-model/trained_model_compiled.cpp
LetsOKdo/dance-activated-microbit
812c14169f4b8c61acbfc1ff0a7aeed4546eda13
[ "MIT" ]
null
null
null
/* Generated by Edge Impulse * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute,...
55.52439
180
0.652152
2a5ad1457cc8348ebe8d3ce6d5a3492f80578b89
2,210
cc
C++
nucleus/io/vcf_roundtrip_test.cc
gaybro8777/nucleus
3bd27ac076a6f3f93e49a27ed60661858e727dda
[ "BSD-3-Clause" ]
721
2018-03-30T14:34:17.000Z
2022-03-23T00:09:18.000Z
nucleus/io/vcf_roundtrip_test.cc
aktaseren/nucleus
3cc9412be81ed86a99fd7eb086ee94afe852759b
[ "Apache-2.0" ]
38
2018-03-31T09:02:23.000Z
2022-03-23T21:16:41.000Z
nucleus/io/vcf_roundtrip_test.cc
aktaseren/nucleus
3cc9412be81ed86a99fd7eb086ee94afe852759b
[ "Apache-2.0" ]
123
2018-03-30T21:51:18.000Z
2021-12-13T06:59:31.000Z
/* * Copyright 2019 Google LLC. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
34.53125
77
0.701357
2a5b1d43a6c5dbb0d6a6fa542e67d6192c1ef1f8
2,458
cpp
C++
clients/cpp-pistache-server/generated/model/StringParameterValue.cpp
PankTrue/swaggy-jenkins
aca35a7cca6e1fcc08bd399e05148942ac2f514b
[ "MIT" ]
23
2017-08-01T12:25:26.000Z
2022-01-25T03:44:11.000Z
clients/cpp-pistache-server/generated/model/StringParameterValue.cpp
PankTrue/swaggy-jenkins
aca35a7cca6e1fcc08bd399e05148942ac2f514b
[ "MIT" ]
35
2017-06-14T03:28:15.000Z
2022-02-14T10:25:54.000Z
clients/cpp-pistache-server/generated/model/StringParameterValue.cpp
PankTrue/swaggy-jenkins
aca35a7cca6e1fcc08bd399e05148942ac2f514b
[ "MIT" ]
11
2017-08-31T19:00:20.000Z
2021-12-19T12:04:12.000Z
/** * Swaggy Jenkins * Jenkins API clients generated from Swagger / Open API specification * * OpenAPI spec version: 1.1.1 * Contact: blah@cliffano.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ #i...
17.941606
91
0.663548
2a5fa2c4b14955a5b98a9a263ce85d4c4965dfb4
412
cpp
C++
PTA/GPLT/L1-C/010.cpp
cnsteven/online-judge
60ee841a97e2bc0dc9c7b23fe5daa186898ab8b7
[ "MIT" ]
1
2019-05-04T10:28:32.000Z
2019-05-04T10:28:32.000Z
PTA/GPLT/L1-C/010.cpp
cnsteven/online-judge
60ee841a97e2bc0dc9c7b23fe5daa186898ab8b7
[ "MIT" ]
null
null
null
PTA/GPLT/L1-C/010.cpp
cnsteven/online-judge
60ee841a97e2bc0dc9c7b23fe5daa186898ab8b7
[ "MIT" ]
3
2020-12-31T04:36:38.000Z
2021-07-25T07:39:31.000Z
#include <iostream> using namespace std; int main() { int a[3], i, j, t; for (i = 0; i < 3; i++) { cin >> a[i]; } for (i = 0; i < 3; i++) { for (j = i + 1; j < 3; j++) { if (a[i] > a[j]) { t = a[i]; a[i] = a[j]; a[j] = t; ...
18.727273
49
0.26699
2a664c5cf5e630d6683e8571819067dd25e5e2cf
1,044
cpp
C++
src/utils/chrono.cpp
Ymagis/EclairLooks
c04fb1af1160305fb1dbffb2ea92cc478cd70b31
[ "BSD-3-Clause" ]
9
2019-07-03T13:11:33.000Z
2021-10-06T13:55:31.000Z
src/utils/chrono.cpp
Ymagis/EclairLooks
c04fb1af1160305fb1dbffb2ea92cc478cd70b31
[ "BSD-3-Clause" ]
1
2019-07-09T09:04:59.000Z
2019-08-06T13:23:47.000Z
src/utils/chrono.cpp
Ymagis/EclairLooks
c04fb1af1160305fb1dbffb2ea92cc478cd70b31
[ "BSD-3-Clause" ]
4
2019-07-02T15:03:43.000Z
2019-09-28T14:33:03.000Z
#include "chrono.h" using namespace std::chrono; Chrono::Chrono() : _paused(false) { } Chrono::~Chrono() { } void Chrono::start() { // reset chrono if already running _startTime = ClockT::now(); _current_duration = DurationT::zero(); } void Chrono::pause() { if(!_paused) { _current_duration = ClockT::now...
15.58209
69
0.675287
2a67473bd414db7b92dafbc301b5b719af1fa3eb
1,372
cpp
C++
tps_base_link/src/tps_base_link.cpp
WRS-TNK/wrs_tnk_robot
9cfaa5b1fab2c5a707ee434effe5a838b62424b7
[ "MIT" ]
1
2019-08-16T07:10:24.000Z
2019-08-16T07:10:24.000Z
tps_base_link/src/tps_base_link.cpp
WRS-TNK/wrs_tnk_robot
9cfaa5b1fab2c5a707ee434effe5a838b62424b7
[ "MIT" ]
null
null
null
tps_base_link/src/tps_base_link.cpp
WRS-TNK/wrs_tnk_robot
9cfaa5b1fab2c5a707ee434effe5a838b62424b7
[ "MIT" ]
null
null
null
#include <ros/ros.h> #include <tf2/LinearMath/Vector3.h> #include <tf2/LinearMath/Quaternion.h> #include <tf2/LinearMath/Matrix3x3.h> #include <tf2_ros/transform_listener.h> #include <geometry_msgs/TransformStamped.h> #include <tf2_ros/transform_broadcaster.h> int main(int argc, char** argv) { ros::init(argc, argv, ...
24.945455
74
0.710641
2a6a133a0da6177d07c15430399e586a273213c1
5,355
cpp
C++
src/Q3D/Core/QMaterial.cpp
565353780/opengl-automaskobj
bae7c35a0aece5a09ec67b02241aff58932c6daf
[ "MIT" ]
null
null
null
src/Q3D/Core/QMaterial.cpp
565353780/opengl-automaskobj
bae7c35a0aece5a09ec67b02241aff58932c6daf
[ "MIT" ]
null
null
null
src/Q3D/Core/QMaterial.cpp
565353780/opengl-automaskobj
bae7c35a0aece5a09ec67b02241aff58932c6daf
[ "MIT" ]
null
null
null
#include "QMaterial.h" #include <qgl.h> #include <cmath> namespace GCL { QMaterial::QMaterial(QObject *parent) : QOpenGLShaderProgram(parent) { this->initializeOpenGLFunctions(); } QMaterial::~QMaterial() { this->clearTextures(); } void QMaterial::clearTextures() { foreach (auto texture, local_textures_)...
25.140845
182
0.596078
2a716f151aa21b1f2c44232d9976c37867ed224e
981
cpp
C++
USACO/2014/feb/hopscotch_bronze.cpp
nalinbhardwaj/olympiad
6b640d8cef2fa16fb4e9776f8416575519357edf
[ "MIT" ]
1
2018-12-14T07:51:26.000Z
2018-12-14T07:51:26.000Z
USACO/2014/feb/hopscotch_bronze.cpp
nalinbhardwaj/olympiad
6b640d8cef2fa16fb4e9776f8416575519357edf
[ "MIT" ]
null
null
null
USACO/2014/feb/hopscotch_bronze.cpp
nalinbhardwaj/olympiad
6b640d8cef2fa16fb4e9776f8416575519357edf
[ "MIT" ]
1
2019-06-23T10:34:19.000Z
2019-06-23T10:34:19.000Z
/* PROG: COW LANG: C++ ID: nibnalin */ //USACO February Contest #include <fstream> #include <vector> #include <climits> using namespace std; vector<vector<int> > grid; vector< vector<long> > memtable; int ans(long x, long y) { if(memtable[x][y] == INT_MIN) { long paths = 0; for(long i = (x-1);i >= 0;i--) {...
16.081967
50
0.540265
2a726400bd33639500ddc9632ca84fdbc3f59744
1,570
cpp
C++
src/generator.cpp
demize/mergesort_parallel
8b3c614ac3a60752e8c74bb4281fed04ec49c0e6
[ "MIT" ]
null
null
null
src/generator.cpp
demize/mergesort_parallel
8b3c614ac3a60752e8c74bb4281fed04ec49c0e6
[ "MIT" ]
null
null
null
src/generator.cpp
demize/mergesort_parallel
8b3c614ac3a60752e8c74bb4281fed04ec49c0e6
[ "MIT" ]
null
null
null
/* generator.cpp - generates a list of random numbers * Julian Heisz * Algorithms and Data Structures Final Project * Winter 2015 */ #pragma comment(lib, "advapi32.lib") #include <iostream> #include <windows.h> #include <Wincrypt.h> using namespace std; int main(int argc, char** argv) { if(argc != 4) { ...
22.428571
89
0.601911
2a7337f9cdbf75041e5ccc49cc0a2c08423d85b3
21,980
cpp
C++
src/prod/src/systemservices/ServiceRoutingAgent.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/src/systemservices/ServiceRoutingAgent.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/src/systemservices/ServiceRoutingAgent.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" using nam...
30.698324
144
0.655096
2a75e213076961ba296d5a5866f686977fed0115
1,045
hpp
C++
dart/utils/amc/ReadSkeleton.hpp
jyf588/nimblephysics
6c09228f0abcf7aa3526a8dd65cd2541aff32c4a
[ "BSD-2-Clause" ]
2
2021-09-30T06:23:29.000Z
2022-03-09T09:59:09.000Z
dart/utils/amc/ReadSkeleton.hpp
jyf588/nimblephysics
6c09228f0abcf7aa3526a8dd65cd2541aff32c4a
[ "BSD-2-Clause" ]
null
null
null
dart/utils/amc/ReadSkeleton.hpp
jyf588/nimblephysics
6c09228f0abcf7aa3526a8dd65cd2541aff32c4a
[ "BSD-2-Clause" ]
1
2021-08-20T13:56:14.000Z
2021-08-20T13:56:14.000Z
#ifndef AMC_READSKELETON_HPP #define AMC_READSKELETON_HPP #include <string> #include <vector> #include "Skeleton.hpp" using std::string; using std::vector; bool ReadSkeleton(string filename, Library::Skeleton& into); bool ReadSkeletonV(string filename, Library::Skeleton& into); // read 'amc' file format (automati...
30.735294
77
0.747368
2a760ab3d73648d5df9057572aa0c23fb98e8d87
9,193
cpp
C++
src/storage/http/StorageHttpDownloadHandler.cpp
xuguruogu/nebula
50af1ae440415f89cc98b2b2567b53771310ac63
[ "Apache-2.0" ]
null
null
null
src/storage/http/StorageHttpDownloadHandler.cpp
xuguruogu/nebula
50af1ae440415f89cc98b2b2567b53771310ac63
[ "Apache-2.0" ]
null
null
null
src/storage/http/StorageHttpDownloadHandler.cpp
xuguruogu/nebula
50af1ae440415f89cc98b2b2567b53771310ac63
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2019 vesoft inc. All rights reserved. * * This source code is licensed under Apache 2.0 License, * attached with Common Clause Condition 1.0, found in the LICENSES directory. */ #include "storage/http/StorageHttpDownloadHandler.h" #include "webservice/Common.h" #include "process/ProcessUtils.h" #i...
34.82197
94
0.589579
2a76f8f4ffcc98ceb57bede3502eab783f260a31
562
hh
C++
mimosa/git/commit.hh
abique/mimosa
42c0041b570b55a24c606a7da79c70c9933c07d4
[ "MIT" ]
24
2015-01-19T16:38:24.000Z
2022-01-15T01:25:30.000Z
mimosa/git/commit.hh
abique/mimosa
42c0041b570b55a24c606a7da79c70c9933c07d4
[ "MIT" ]
2
2017-01-07T10:47:06.000Z
2018-01-16T07:19:57.000Z
mimosa/git/commit.hh
abique/mimosa
42c0041b570b55a24c606a7da79c70c9933c07d4
[ "MIT" ]
7
2015-01-19T16:38:31.000Z
2020-12-12T19:10:30.000Z
#pragma once # include <git2.h> # include "../mimosa/mimosa/non-copyable.hh" namespace mimosa { namespace git { class Commit : public NonCopyable { public: inline Commit() : commit_(nullptr) {} inline Commit(git_repository *repo, const git_oid *id) { git_commit_lookup(&commit_, re...
19.37931
62
0.617438
2a7787d11a1172271f751bacc12720ae9cb1f8aa
5,069
cpp
C++
petanque/src/exprs.cpp
Liblor/arybo
9b98bda682ccd6d0c7e2ffd66281711b46ae23ed
[ "BSD-3-Clause" ]
223
2016-09-12T16:31:12.000Z
2022-03-14T08:32:04.000Z
petanque/src/exprs.cpp
Liblor/arybo
9b98bda682ccd6d0c7e2ffd66281711b46ae23ed
[ "BSD-3-Clause" ]
17
2016-11-02T15:20:15.000Z
2021-10-02T23:30:58.000Z
petanque/src/exprs.cpp
Liblor/arybo
9b98bda682ccd6d0c7e2ffd66281711b46ae23ed
[ "BSD-3-Clause" ]
33
2016-09-13T07:28:31.000Z
2022-01-18T07:06:42.000Z
// Copyright (c) 2016 Adrien Guinet <adrien@guinet.me> // 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,...
27.252688
105
0.642336
2a7a17eb32aa76f1824c22d26b9978c1c654c6b4
1,152
cpp
C++
algospot/starforce/main.cpp
seirion/code
3b8bf79764107255185061cec33decbc2235d03a
[ "Apache-2.0" ]
13
2015-06-07T09:26:26.000Z
2019-05-01T13:23:38.000Z
algospot/starforce/main.cpp
seirion/code
3b8bf79764107255185061cec33decbc2235d03a
[ "Apache-2.0" ]
null
null
null
algospot/starforce/main.cpp
seirion/code
3b8bf79764107255185061cec33decbc2235d03a
[ "Apache-2.0" ]
4
2016-03-05T06:21:05.000Z
2017-02-17T15:34:18.000Z
// http://algospot.com/judge/problem/read/STARFORCE #include <cstdio> #include <iostream> using namespace std; int n, m, s, best; int in[200]; int pre[200][200]; // pre processed : or void input() { scanf("%d %d", &n, &m); int i, j; for (i = 0; i < n; i++) { scanf("%d", &in[i]); } for (i...
19.525424
53
0.454861
2a7cc699bef9f1b012901b82f1de0ee85c925214
2,241
cpp
C++
archives/problemset/acm.hdu.edu.cn/4727.cpp
BoleynSu/CP-CompetitiveProgramming
cc256bf402360fe0f689fdcdc4e898473a9594dd
[ "MIT" ]
6
2019-03-23T21:06:25.000Z
2021-06-27T05:22:41.000Z
archives/problemset/acm.hdu.edu.cn/4727.cpp
BoleynSu/CP-CompetitiveProgramming
cc256bf402360fe0f689fdcdc4e898473a9594dd
[ "MIT" ]
1
2020-10-11T08:14:00.000Z
2020-10-11T08:14:00.000Z
archives/problemset/acm.hdu.edu.cn/4727.cpp
BoleynSu/CP-CompetitiveProgramming
cc256bf402360fe0f689fdcdc4e898473a9594dd
[ "MIT" ]
3
2019-03-23T21:06:31.000Z
2021-10-24T01:44:01.000Z
#include <cstdio> #include <cstdlib> #include <cstring> #include <cmath> #include <algorithm> #include <iostream> using namespace std; //const double eps=1e-8; //struct P //{ // double x,y; // void in(){scanf("%lf%lf",&x,&y);} //}; //double dis(P a,P b) //{ // return sqrt((a.x-b.x)*(a.x-b.x)+(a....
23.34375
69
0.374386
2a81a4b4521f2e21d16f437712949fd2c3b8bc93
1,105
cpp
C++
src/erase_remove.cpp
ebayboy/cpp_demos
b01df202c0285bf232900662d336505520d5d24d
[ "Apache-2.0" ]
null
null
null
src/erase_remove.cpp
ebayboy/cpp_demos
b01df202c0285bf232900662d336505520d5d24d
[ "Apache-2.0" ]
null
null
null
src/erase_remove.cpp
ebayboy/cpp_demos
b01df202c0285bf232900662d336505520d5d24d
[ "Apache-2.0" ]
null
null
null
/* erase && remove */ #include <iostream> #include <vector> #include <algorithm> using namespace std; int main(int args, char **argv) { vector<int> v; for (size_t i = 0; i < 10; i++) { v.push_back(i); if (i == 5 || i == 8) v.push_back(i); } for (auto &&i : v) ...
18.416667
57
0.420814
2a83cb520267fb9b00cd17a3bf6acc4d462c2568
2,453
cpp
C++
examples/undocumented/libshogun/features_copy_subset_simple_features.cpp
srgnuclear/shogun
33c04f77a642416376521b0cd1eed29b3256ac13
[ "Ruby", "MIT" ]
1
2015-11-05T18:31:14.000Z
2015-11-05T18:31:14.000Z
examples/undocumented/libshogun/features_copy_subset_simple_features.cpp
waderly/shogun
9288b6fa38e001d63c32188f7f847dadea66e2ae
[ "Ruby", "MIT" ]
null
null
null
examples/undocumented/libshogun/features_copy_subset_simple_features.cpp
waderly/shogun
9288b6fa38e001d63c32188f7f847dadea66e2ae
[ "Ruby", "MIT" ]
null
null
null
/* * 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 3 of the License, or * (at your option) any later version. * * Written (W) 2011-2012 Heiko Strathmann * Copyright (C) 201...
31.050633
88
0.766001
2a8472d1cf692179f88f0bd648b65ffcadde02f4
532
cc
C++
003-xoxoxo-tcp/xoxoxo.cc
gynvael/stream
2d1a3f25b2f83241b39dab931d9ff03fca81d26e
[ "MIT" ]
152
2016-02-04T10:40:46.000Z
2022-03-03T18:25:54.000Z
003-xoxoxo-tcp/xoxoxo.cc
gynvael/stream
2d1a3f25b2f83241b39dab931d9ff03fca81d26e
[ "MIT" ]
4
2016-03-11T23:49:46.000Z
2017-06-16T18:58:53.000Z
003-xoxoxo-tcp/xoxoxo.cc
gynvael/stream
2d1a3f25b2f83241b39dab931d9ff03fca81d26e
[ "MIT" ]
48
2016-01-31T19:13:36.000Z
2021-09-03T19:50:17.000Z
#include <cstdio> #include "NetSock.h" void usage() { printf("usage: xoxoxo <host> <port>\n"); } int main(int argc, char **argv) { if (argc != 3) { usage(); return 1; } unsigned short port; if (sscanf(argv[2], "%hu", &port) != 1) { usage(); return 2; } const char *ho...
14.777778
45
0.511278
2a84f22684d7b564d74896a34f15a6aa02daef67
4,930
cpp
C++
Libraries/libvitaboy/vbparse.cpp
daddesio/Niotso
66ce47351427fa37c683f61003e0d3aa6b84e4f7
[ "ISC" ]
10
2017-04-28T08:09:25.000Z
2022-03-28T11:08:18.000Z
Libraries/libvitaboy/vbparse.cpp
Fatbag/Niotso
66ce47351427fa37c683f61003e0d3aa6b84e4f7
[ "ISC" ]
null
null
null
Libraries/libvitaboy/vbparse.cpp
Fatbag/Niotso
66ce47351427fa37c683f61003e0d3aa6b84e4f7
[ "ISC" ]
4
2015-06-23T11:06:34.000Z
2017-01-17T03:50:08.000Z
/* libvitaboy - Open source OpenGL TSO character animation library vbparse.cpp - Copyright (c) 2012 Niotso Project <http://niotso.org/> Author(s): Fatbag <X-Fi6@phppoll.org> Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provi...
30.8125
76
0.558621
2a899caff1f02550a918d0971f15bf607f12f8d8
2,453
cc
C++
src/body.cc
wgtdkp/apollonia
0e57af431818bc9a19e9952f4d4b2a294e1c9d8b
[ "MIT" ]
126
2017-10-11T04:39:45.000Z
2022-03-05T23:16:06.000Z
src/body.cc
FrostDescent/apollonia
18f15102b1620d38de1b7de0939c9e93d8449f69
[ "MIT" ]
1
2020-11-08T15:01:28.000Z
2020-11-08T15:01:28.000Z
src/body.cc
FrostDescent/apollonia
18f15102b1620d38de1b7de0939c9e93d8449f69
[ "MIT" ]
24
2018-08-22T06:25:54.000Z
2022-01-08T05:31:52.000Z
#include "body.h" #include <algorithm> namespace apollonia { using std::abs; void Body::set_mass(Float mass) { mass_ = mass; inv_mass_ = 1 / mass; } void Body::set_inertia(Float inertia) { inertia_ = inertia; inv_inertia_ = 1 / inertia; } bool Body::ShouldCollide(const Body& other) const { return !(mass_...
26.956044
87
0.630656
2a8c25a01728f4ae28a96fee151383affdcce969
6,100
cpp
C++
TricksterEngine/src/Rendering/Text/Internal/Font.cpp
Trickje/Trickster
ab73f15ec1b45676a20793ad6d4e9acfc2ba944e
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
TricksterEngine/src/Rendering/Text/Internal/Font.cpp
Trickje/Trickster
ab73f15ec1b45676a20793ad6d4e9acfc2ba944e
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
TricksterEngine/src/Rendering/Text/Internal/Font.cpp
Trickje/Trickster
ab73f15ec1b45676a20793ad6d4e9acfc2ba944e
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
#include "pch.h" #include "Rendering/Text/Internal/Font.h" #include "Core/Application.h" #include "Rendering/ShaderManager.h" #include "Rendering/Shader.h" #include "Rendering/Window.h" #include <glm/gtc/type_ptr.hpp> using namespace TE; #ifdef TRICKSTER_OPENGL void Font::Initialize() { // configure VAO/VBO ...
28.240741
187
0.62623
2a9033e59bc54cb6063e2e3a1ef32b17cc82f547
2,105
cpp
C++
extras/cpp/main.cpp
skn123/DeslantImg
b7183ff31067e51d8dcba581c6241b15ceb87f28
[ "MIT" ]
115
2018-07-19T16:37:54.000Z
2022-03-28T09:22:04.000Z
extras/cpp/main.cpp
skn123/DeslantImg
b7183ff31067e51d8dcba581c6241b15ceb87f28
[ "MIT" ]
5
2018-08-06T14:38:08.000Z
2021-11-21T10:12:43.000Z
extras/cpp/main.cpp
skn123/DeslantImg
b7183ff31067e51d8dcba581c6241b15ceb87f28
[ "MIT" ]
36
2018-01-26T03:56:44.000Z
2022-03-07T22:32:05.000Z
#ifdef USE_GPU #include "DeslantImgGPU.hpp" #else #include "DeslantImgCPU.hpp" #endif #include <opencv2/imgcodecs.hpp> #include <iostream> int main(int argc, const char *argv[]) { const cv::String opts = "{help h usage ? | | print this message }" "{@imagein |- | path name to read the input image...
25.361446
114
0.651781
2a90974d03cbd0acc93682c3cb5ca024d5f5cc92
3,348
cc
C++
src/statement.cc
xukl/BASIC-Compiler
3b0f752df5b9301aa116811729e362bfeaa05e58
[ "MIT" ]
null
null
null
src/statement.cc
xukl/BASIC-Compiler
3b0f752df5b9301aa116811729e362bfeaa05e58
[ "MIT" ]
null
null
null
src/statement.cc
xukl/BASIC-Compiler
3b0f752df5b9301aa116811729e362bfeaa05e58
[ "MIT" ]
null
null
null
#include "statement.hpp" #include <sstream> #include <stack> #include <memory> #include <utility> #include <typeinfo> namespace statement { std::ostream &operator<< (std::ostream &os, const statement &x) { x.print(os); return os; } std::ostream &operator<< (std::ostream &os, const assignment &x) { x.print(os); retu...
28.615385
78
0.660992
2a914457d6f2022d1e593143d3b2c188989b1327
5,715
cc
C++
elements/analysis/aggcountervector.cc
timmytimj/fastclick
260dfa7285e5fff3c916b8272249d6d393e61179
[ "BSD-3-Clause-Clear" ]
129
2015-10-08T14:38:35.000Z
2022-03-06T14:54:44.000Z
elements/analysis/aggcountervector.cc
nic-bench/fastclick
2812f0684050cec07e08f30d643ed121871cf25d
[ "BSD-3-Clause-Clear" ]
241
2016-02-17T16:17:58.000Z
2022-03-15T09:08:33.000Z
elements/analysis/aggcountervector.cc
nic-bench/fastclick
2812f0684050cec07e08f30d643ed121871cf25d
[ "BSD-3-Clause-Clear" ]
61
2015-12-17T01:46:58.000Z
2022-02-07T22:25:19.000Z
/* * aggcountervector.{cc,hh} -- count packets/bytes with given aggregate * * 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, subject to the conditions * listed in th...
22.951807
106
0.665267
2a91841d2ecf5ba60689bdd71a926067f8f69011
12,043
cpp
C++
psx/_dump_/43/_dump_c_src_/diabpsx/source/inv.cpp
maoa3/scalpel
2e7381b516cded28996d290438acc618d00b2aa7
[ "Unlicense" ]
15
2018-06-28T01:11:25.000Z
2021-09-27T15:57:18.000Z
psx/_dump_/43/_dump_c_src_/diabpsx/source/inv.cpp
maoa3/scalpel
2e7381b516cded28996d290438acc618d00b2aa7
[ "Unlicense" ]
7
2018-06-29T04:08:23.000Z
2019-10-17T13:57:22.000Z
psx/_dump_/43/_dump_c_src_/diabpsx/source/inv.cpp
maoa3/scalpel
2e7381b516cded28996d290438acc618d00b2aa7
[ "Unlicense" ]
7
2018-06-28T01:11:34.000Z
2020-05-23T09:21:48.000Z
// C:\diabpsx\SOURCE\INV.CPP #include "types.h" // address: 0x801558DC // line start: 434 // line end: 435 void FreeInvGFX__Fv() { } // address: 0x801558E4 // line start: 440 // line end: 447 void InvDrawSlot__Fiii(int X, int Y, int Frame) { // register: 2 // size: 0x28 register struct POLY_FT4 *Ft4; } // ...
16.633978
174
0.630242
2a95e492aa69efa777e391e9c118fc572e339acd
7,859
cc
C++
Replicator/Worker.cc
bjornd/couchbase-lite-core
5da4cc825021bb90be591ae4ab835be201333a0a
[ "Apache-2.0" ]
null
null
null
Replicator/Worker.cc
bjornd/couchbase-lite-core
5da4cc825021bb90be591ae4ab835be201333a0a
[ "Apache-2.0" ]
null
null
null
Replicator/Worker.cc
bjornd/couchbase-lite-core
5da4cc825021bb90be591ae4ab835be201333a0a
[ "Apache-2.0" ]
null
null
null
// // Worker.cc // // Copyright (c) 2017 Couchbase, Inc All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless ...
29.882129
95
0.56992
2a9962ad8459dd796b9b7bb9f7d2e9a7ff9d9fc4
9,610
cpp
C++
engine/map/map.cpp
fcarreiro/genesis
48b5c3bac888d999fb1ae17f1a864b59e2c85bc8
[ "MIT" ]
null
null
null
engine/map/map.cpp
fcarreiro/genesis
48b5c3bac888d999fb1ae17f1a864b59e2c85bc8
[ "MIT" ]
null
null
null
engine/map/map.cpp
fcarreiro/genesis
48b5c3bac888d999fb1ae17f1a864b59e2c85bc8
[ "MIT" ]
null
null
null
#include "../precompiled/stdafx.h" #include "../engine/base.h" #include "../../common/utility/ext_xml.h" #include "../../common/utility/ext_util.h" ////////////////////////////////////////////////////////////////////////// // CMap default constructor & destructor ////////////////////////////////////////////////...
25.695187
85
0.564828
2a9a1a0019e9f62a8bdfc75fd23b1c9918074f88
2,690
cpp
C++
Source/main.cpp
gandreadis/graph-coloring
23379dc6390a854757a9d659fda8941d699707c3
[ "MIT" ]
23
2019-02-28T21:52:28.000Z
2022-03-16T11:21:55.000Z
Source/main.cpp
gandreadis/graph-coloring
23379dc6390a854757a9d659fda8941d699707c3
[ "MIT" ]
7
2018-10-03T05:53:32.000Z
2020-10-04T07:34:06.000Z
Source/main.cpp
gandreadis/graph-coloring
23379dc6390a854757a9d659fda8941d699707c3
[ "MIT" ]
7
2019-07-31T07:17:55.000Z
2022-02-04T15:54:56.000Z
#include <fstream> #include <iostream> #include <string> #include <sstream> #include <gflags/gflags.h> #include "../Header/parse.hpp" #include "../Header/coloring_algorithm.hpp" #include "../Header/dsatur.hpp" #include "../Header/mcs.hpp" #include "../Header/lmxrlf.hpp" #include "../Header/hybrid_dsatur.hpp" #include ...
30.91954
149
0.656506
2a9aa099e30b5c5cf3dfc1440168e39eeb1f2bd9
9,750
cc
C++
tensorflow/compiler/xla/service/interpreter/executable_base.cc
Nyrio/tensorflow
c111a7e2f5a6ecd3a06d47c63ff552ee0373985d
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/xla/service/interpreter/executable_base.cc
Nyrio/tensorflow
c111a7e2f5a6ecd3a06d47c63ff552ee0373985d
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/xla/service/interpreter/executable_base.cc
Nyrio/tensorflow
c111a7e2f5a6ecd3a06d47c63ff552ee0373985d
[ "Apache-2.0" ]
null
null
null
/* Copyright 2020 The TensorFlow 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 a...
41.845494
80
0.679487
2a9aafba3c5d61dd0f6dbd47296f721c6961ab66
1,844
cpp
C++
Interactive/InpaintingIterationRecord.cpp
jingtangliao/ff
d308fe62045e241a4822bb855df97ee087420d9b
[ "Apache-2.0" ]
39
2015-01-01T07:59:51.000Z
2021-10-01T18:11:46.000Z
Interactive/InpaintingIterationRecord.cpp
jingtangliao/ff
d308fe62045e241a4822bb855df97ee087420d9b
[ "Apache-2.0" ]
1
2019-04-24T09:56:15.000Z
2019-04-24T14:45:46.000Z
Interactive/InpaintingIterationRecord.cpp
jingtangliao/ff
d308fe62045e241a4822bb855df97ee087420d9b
[ "Apache-2.0" ]
18
2015-01-11T15:10:23.000Z
2022-02-24T20:02:10.000Z
/*========================================================================= * * Copyright David Doria 2011 daviddoria@gmail.com * * 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 * *...
30.229508
97
0.677332
2a9aeaa398ef199bf8d61594d1cedc358518551e
211
hpp
C++
Source/panels/spell_book.hpp
stefanmielke/devilutionX
074f191be80db73b1158dd137f7bee4c767e48ce
[ "Unlicense" ]
2
2022-01-14T06:10:31.000Z
2022-02-28T23:30:26.000Z
Source/panels/spell_book.hpp
stefanmielke/devilutionX
074f191be80db73b1158dd137f7bee4c767e48ce
[ "Unlicense" ]
1
2022-01-31T07:44:04.000Z
2022-01-31T07:44:04.000Z
Source/panels/spell_book.hpp
stefanmielke/devilutionX
074f191be80db73b1158dd137f7bee4c767e48ce
[ "Unlicense" ]
1
2021-10-31T01:32:43.000Z
2021-10-31T01:32:43.000Z
#pragma once #include "engine/surface.hpp" namespace devilution { void InitSpellBook(); void FreeSpellBook(); void CheckSBook(); void DrawSpellBook(const Surface &out); } // namespace devilution
16.230769
40
0.71564
2a9bf2fa5a310f0f082537d85ead466e28527096
7,189
cpp
C++
libjnc/src/library.cpp
java-native-call/jnc
5fd9a08142650f40b95c4ddc8bb7b8de9d89476a
[ "Apache-2.0" ]
1
2022-01-17T10:17:22.000Z
2022-01-17T10:17:22.000Z
libjnc/src/library.cpp
java-native-call/jnc
5fd9a08142650f40b95c4ddc8bb7b8de9d89476a
[ "Apache-2.0" ]
10
2019-06-01T14:16:50.000Z
2020-10-13T05:08:39.000Z
libjnc/src/library.cpp
java-native-call/jnc
5fd9a08142650f40b95c4ddc8bb7b8de9d89476a
[ "Apache-2.0" ]
2
2019-06-08T07:03:28.000Z
2022-01-13T23:50:53.000Z
#include "jnc.h" /* GetStringChars is not guaranteed to be null terminated */ #define DO_WITH_STRING_16(env, jstring, name, length, stat, ret) \ do { \ jsize length = CALLJNI(env, GetStringLength, jstring); \ if (unlikely(CALLJNI(...
38.44385
119
0.553763
2a9d40e665f2116b536fe4cc3d176f4edcc1ec46
413
cpp
C++
Dataset/Leetcode/valid/48/348.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/valid/48/348.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/valid/48/348.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: void XXX(vector<vector<int>>& matrix) { int m=matrix.size(),n=matrix[0].size(); for(int i=0;i<m/2;++i) for(int j=0;j<n;++j) { swap(matrix[i][j],matrix[m-i-1][j]); } for(int i=0;i<m;++i) for(int j=i+1;j<n...
22.944444
52
0.389831
2a9dfbd70b1bbcdbe68b98864c70517cf93dc2e7
10,703
cpp
C++
tests/src/library.cpp
kstenerud/c-compact-time
b128d1298af83c7d37e3d055b7742d668863a26a
[ "MIT" ]
1
2019-09-30T16:54:46.000Z
2019-09-30T16:54:46.000Z
tests/src/library.cpp
kstenerud/c-compact-time
b128d1298af83c7d37e3d055b7742d668863a26a
[ "MIT" ]
null
null
null
tests/src/library.cpp
kstenerud/c-compact-time
b128d1298af83c7d37e3d055b7742d668863a26a
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <compact_time/compact_time.h> // #define KSLog_LocalMinLevel KSLOG_LEVEL_TRACE #include <kslog/kslog.h> TEST(Library, version) { const char* expected = "1.0.0"; const char* actual = ct_version(); ASSERT_STREQ(expected, actual); } static void fill_date(ct_date* date, int ...
42.472222
187
0.669812
2aa173d69c8bd5fad30c1658343077bad18134fb
5,215
cpp
C++
src/dtkWidgets/dtkWidgetsTagCloudView.cpp
eti-nne/dtk
b5095c7a181e7497391a6a1fa0bb37e71dfa4b56
[ "BSD-3-Clause" ]
null
null
null
src/dtkWidgets/dtkWidgetsTagCloudView.cpp
eti-nne/dtk
b5095c7a181e7497391a6a1fa0bb37e71dfa4b56
[ "BSD-3-Clause" ]
null
null
null
src/dtkWidgets/dtkWidgetsTagCloudView.cpp
eti-nne/dtk
b5095c7a181e7497391a6a1fa0bb37e71dfa4b56
[ "BSD-3-Clause" ]
null
null
null
/* dtkWidgetsTagCloudView.cpp --- * * Author: Julien Wintz * Created: Mon Apr 15 14:39:34 2013 (+0200) * Version: * Last-Updated: Mon Apr 15 14:44:56 2013 (+0200) * By: Julien Wintz * Update #: 7 */ /* Change Log: * */ #include "dtkWidgetsTagCloudDesc.h" #include "dtkWidgetsTagCloudList.h" ...
22.286325
126
0.635858
2aa2010afd6be7798a9d1041d28c63f6924839fd
1,777
hpp
C++
include/veriblock/entities/popdata.hpp
overcookedpanda/alt-integration-cpp
7932e79a77d9514ca0e0354636e77fba1845d707
[ "MIT" ]
null
null
null
include/veriblock/entities/popdata.hpp
overcookedpanda/alt-integration-cpp
7932e79a77d9514ca0e0354636e77fba1845d707
[ "MIT" ]
null
null
null
include/veriblock/entities/popdata.hpp
overcookedpanda/alt-integration-cpp
7932e79a77d9514ca0e0354636e77fba1845d707
[ "MIT" ]
null
null
null
// Copyright (c) 2019-2020 Xenios SEZC // https://www.veriblock.org // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef ALT_INTEGRATION_INCLUDE_VERIBLOCK_ENTITIES_ALT_POP_TRANSACTION_HPP_ #define ALT_INTEGRATION_INCLUDE_VERI...
25.385714
77
0.720878
2aa48b48ffb0b7acd42535b935e6941388b394ba
700
cpp
C++
cpp/utility_declval.cpp
rpuntaie/c-examples
385b3c792e5b39f81a187870100ed6401520a404
[ "MIT" ]
null
null
null
cpp/utility_declval.cpp
rpuntaie/c-examples
385b3c792e5b39f81a187870100ed6401520a404
[ "MIT" ]
null
null
null
cpp/utility_declval.cpp
rpuntaie/c-examples
385b3c792e5b39f81a187870100ed6401520a404
[ "MIT" ]
null
null
null
/* g++ --std=c++20 -pthread -o ../_build/cpp/utility_declval.exe ./cpp/utility_declval.cpp && (cd ../_build/cpp/;./utility_declval.exe) https://en.cppreference.com/w/cpp/utility/declval */ #include <utility> #include <iostream> struct Default { int foo() const { return 1; } }; struct NonDefault { NonDefault() = del...
31.818182
132
0.568571
2aa9c6bd380b1487f674bc761d7efc628e018703
7,631
cpp
C++
UnitTests/CommandBuffer/src/CommandBuffer.cpp
Gpinchon/OCRA
341bb07facc616f1f8a27350054d1e86f022d7c6
[ "Apache-2.0" ]
null
null
null
UnitTests/CommandBuffer/src/CommandBuffer.cpp
Gpinchon/OCRA
341bb07facc616f1f8a27350054d1e86f022d7c6
[ "Apache-2.0" ]
null
null
null
UnitTests/CommandBuffer/src/CommandBuffer.cpp
Gpinchon/OCRA
341bb07facc616f1f8a27350054d1e86f022d7c6
[ "Apache-2.0" ]
null
null
null
#include <Instance.hpp> #include <PhysicalDevice.hpp> #include <Device.hpp> #include <Queue/Queue.hpp> #include <Queue/Fence.hpp> #include <Queue/Semaphore.hpp> #include <Command/Pool.hpp> #include <Command/Buffer.hpp> #include <Memory.hpp> #include <Buffer.hpp> #include <Common.hpp> #include <future> #include <iostr...
42.394444
185
0.653781
2aada408721b2630a046925c15f9e820d8849fe7
2,813
hpp
C++
PlanetaMatchMakerServer/library/minimal_serializer/type_traits.hpp
InstytutXR/PlanetaMatchMaker
4bf7503c031aea467c191c3a0d14c6dd58354f99
[ "MIT" ]
6
2019-08-15T09:48:55.000Z
2021-07-25T14:40:59.000Z
PlanetaMatchMakerServer/library/minimal_serializer/type_traits.hpp
InstytutXR/PlanetaMatchMaker
4bf7503c031aea467c191c3a0d14c6dd58354f99
[ "MIT" ]
43
2019-12-25T14:54:52.000Z
2022-02-24T17:22:48.000Z
PlanetaMatchMakerServer/library/minimal_serializer/type_traits.hpp
InstytutXR/PlanetaMatchMaker
4bf7503c031aea467c191c3a0d14c6dd58354f99
[ "MIT" ]
2
2020-05-06T20:14:44.000Z
2020-06-02T21:21:10.000Z
/* The MIT License (MIT) Copyright (c) 2019 Cdec Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish,...
40.768116
460
0.766086
2aaecd0f7cb573a49029330dd55990710e46610b
1,559
cpp
C++
src/cfiddle/resources/libcfiddle/cfiddle.cpp
NVSL/fiddle
5edffa92caa0894057a449ad5accb23af748e657
[ "MIT" ]
2
2022-01-22T06:12:52.000Z
2022-01-24T07:29:44.000Z
src/cfiddle/resources/libcfiddle/cfiddle.cpp
NVSL/cfiddle
5edffa92caa0894057a449ad5accb23af748e657
[ "MIT" ]
null
null
null
src/cfiddle/resources/libcfiddle/cfiddle.cpp
NVSL/cfiddle
5edffa92caa0894057a449ad5accb23af748e657
[ "MIT" ]
null
null
null
#include"cfiddle.hpp" #include<sstream> #include<string> #include<fstream> #include"DataSet.hpp" #include"PerfCounter.hpp" #include"walltime.h" double start_time = 0.0; DataSet * get_dataset(); extern "C" void write_stats(char * filename) { //std::cerr << "Writing to " << filename << "\n"; std::ofstream out(filen...
17.131868
59
0.702373
2aaf1393cc24731b2409395aefa6e0433686823d
15,716
cpp
C++
mergeBathy/Error_Estimator/Bathy_Grid.cpp
Sammie-Jo/MergeBathy_Repos-MergeBathy_CPP
9996f5ee40e40e892ce5eb77dc4bb67930af4005
[ "CC0-1.0" ]
4
2017-05-04T15:50:48.000Z
2020-07-30T03:52:07.000Z
mergeBathy/Error_Estimator/Bathy_Grid.cpp
Sammie-Jo/MergeBathy_Repos-MergeBathy_CPP
9996f5ee40e40e892ce5eb77dc4bb67930af4005
[ "CC0-1.0" ]
null
null
null
mergeBathy/Error_Estimator/Bathy_Grid.cpp
Sammie-Jo/MergeBathy_Repos-MergeBathy_CPP
9996f5ee40e40e892ce5eb77dc4bb67930af4005
[ "CC0-1.0" ]
2
2017-01-11T09:53:26.000Z
2020-07-30T03:52:09.000Z
/********************************************************************** * CC0 License ********************************************************************** * MergeBathy - Tool to combine one or more bathymetric data files onto a single input grid. * Written in 2015 by Samantha J.Zambo(samantha.zambo@gmail.com) while e...
31.62173
316
0.65042
2ab0701e04a3d9f65ebe3b2ea06ed955efcc6494
713
cpp
C++
src/ck/core/customstream.cpp
opala-studios/ck
dff23ff3912de114ef0c7ca57da6506f0a9bee51
[ "Zlib" ]
23
2020-02-23T23:20:22.000Z
2021-12-30T16:09:23.000Z
src/ck/core/customstream.cpp
opala-studios/ck
dff23ff3912de114ef0c7ca57da6506f0a9bee51
[ "Zlib" ]
3
2020-03-17T05:50:40.000Z
2020-10-12T18:18:44.000Z
src/ck/core/customstream.cpp
opala-studios/ck
dff23ff3912de114ef0c7ca57da6506f0a9bee51
[ "Zlib" ]
10
2020-03-02T15:07:32.000Z
2022-01-29T03:34:55.000Z
#include "ck/core/customstream.h" namespace Cki { CustomStream::CustomStream(CkCustomFile* file) : m_file(file) {} CustomStream::~CustomStream() { delete m_file; } bool CustomStream::isValid() const { return m_file->isValid(); } int CustomStream::read(void* buf, int bytes) { return m_file->read(buf...
12.963636
51
0.645161
2ab7d255232ba4334fef0c3c8039f8ab4d62b85e
23,760
cc
C++
pmlc/dialect/pxa/analysis/strides.cc
IsolatedMy/plaidml
34538a9224e770fd79151105399d8d7ea08678c0
[ "Apache-2.0" ]
null
null
null
pmlc/dialect/pxa/analysis/strides.cc
IsolatedMy/plaidml
34538a9224e770fd79151105399d8d7ea08678c0
[ "Apache-2.0" ]
65
2020-08-24T07:41:09.000Z
2021-07-19T09:13:49.000Z
pmlc/dialect/pxa/analysis/strides.cc
Flex-plaidml-team/plaidml
1070411a87b3eb3d94674d4d041ed904be3e7d87
[ "Apache-2.0" ]
null
null
null
// Copyright 2020, Intel Corporation #include "pmlc/dialect/pxa/analysis/strides.h" #include <algorithm> #include <map> #include <numeric> #include <string> #include <utility> #include <vector> #include "mlir/Dialect/Affine/IR/AffineValueMap.h" #include "mlir/IR/BuiltinOps.h" #include "mlir/Support/DebugStringHelper...
32.151556
80
0.642971
2ababea0ef23519b966cf9c4d85576fa04565f94
3,055
cpp
C++
projects/InjectDLL/features/launch_no_deceleration.cpp
Mawex/wotw-client
19cd13a5cfab0b504d5f1aa3da6eb11e631bd9ca
[ "MIT" ]
null
null
null
projects/InjectDLL/features/launch_no_deceleration.cpp
Mawex/wotw-client
19cd13a5cfab0b504d5f1aa3da6eb11e631bd9ca
[ "MIT" ]
null
null
null
projects/InjectDLL/features/launch_no_deceleration.cpp
Mawex/wotw-client
19cd13a5cfab0b504d5f1aa3da6eb11e631bd9ca
[ "MIT" ]
null
null
null
#include <dll_main.h> #include <Il2CppModLoader/il2cpp_helpers.h> #include <Il2CppModLoader/interception_macros.h> using namespace modloader; INJECT_C_DLLEXPORT bool in_menu(); namespace { constexpr float NO_AIR_DECELERATION_DURATION = 0.2f; constexpr float NO_AIR_DECELERATION_RESET_DURATION = 0.2f; flo...
39.166667
125
0.656301
2abeb9fd1d1143367447899d45b6634125850eb3
903
hpp
C++
server/src/static_controller.hpp
R0nd/beefweb
d61e03eef97e089f36847ac34bba4ec59c1bb5cd
[ "MIT" ]
148
2017-08-25T13:32:05.000Z
2022-03-17T18:40:49.000Z
server/src/static_controller.hpp
R0nd/beefweb
d61e03eef97e089f36847ac34bba4ec59c1bb5cd
[ "MIT" ]
160
2017-08-16T19:58:53.000Z
2022-02-26T09:57:38.000Z
server/src/static_controller.hpp
R0nd/beefweb
d61e03eef97e089f36847ac34bba4ec59c1bb5cd
[ "MIT" ]
24
2018-05-23T18:59:47.000Z
2022-03-23T17:25:01.000Z
#pragma once #include "controller.hpp" #include "settings.hpp" namespace msrv { class Router; class ContentTypeMap; class WorkQueue; class StaticController : public ControllerBase { public: StaticController( Request* request, const Path& targetDir, const ContentTypeMap& contentTypes); ...
20.066667
46
0.679956
2abf210d52a35dc06f0affc7c10b492d6f89479f
291
cpp
C++
predavanje1/operatori3.cpp
Miillky/algoritmi_i_strukture_podataka
b5813f4b897a1370b6f46782bf5ecd474d0d7e20
[ "MIT" ]
null
null
null
predavanje1/operatori3.cpp
Miillky/algoritmi_i_strukture_podataka
b5813f4b897a1370b6f46782bf5ecd474d0d7e20
[ "MIT" ]
null
null
null
predavanje1/operatori3.cpp
Miillky/algoritmi_i_strukture_podataka
b5813f4b897a1370b6f46782bf5ecd474d0d7e20
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int a = 3; if (int b = 2; a > b) // javlja warning - init-statement in selection statements only available with -std=c++1z or -std=gnu++1z { cout << a << endl; cout << b << endl; } cout << a << endl; }
24.25
131
0.549828
2abfff4018ad1033983ed6c1d115a1c39441d92c
948
cpp
C++
lib/matrix/MatrixOperators.cpp
frndmg/simplex-method
0fe509d43ac794344b5d95f7e4faacd0dd444d56
[ "MIT" ]
2
2019-11-25T20:54:56.000Z
2019-11-25T20:55:20.000Z
lib/matrix/MatrixOperators.cpp
frndmg/simplex-method
0fe509d43ac794344b5d95f7e4faacd0dd444d56
[ "MIT" ]
null
null
null
lib/matrix/MatrixOperators.cpp
frndmg/simplex-method
0fe509d43ac794344b5d95f7e4faacd0dd444d56
[ "MIT" ]
1
2019-11-25T23:14:18.000Z
2019-11-25T23:14:18.000Z
#include "Matrix.hpp" Matrix Matrix::operator+ () const { return *this; } Matrix Matrix::operator- () const { return operator*(-1.); } Matrix Matrix::operator+ (const real_t &scalar) const { Matrix A = *this; for(size_t y = 0; y < A.Height(); ++y) A[y] = A[y] + scalar; return A; } Matrix Matrix::operator- ...
19.346939
67
0.619198
2ac265cf382f478e608bd8422b037015ab3bcd7e
1,949
hpp
C++
include/crab/cfg/cfg_operators.hpp
LinerSu/crab
8f3516f4b4765f4a093bb3c3a94ac2daa174130c
[ "Apache-2.0" ]
null
null
null
include/crab/cfg/cfg_operators.hpp
LinerSu/crab
8f3516f4b4765f4a093bb3c3a94ac2daa174130c
[ "Apache-2.0" ]
null
null
null
include/crab/cfg/cfg_operators.hpp
LinerSu/crab
8f3516f4b4765f4a093bb3c3a94ac2daa174130c
[ "Apache-2.0" ]
null
null
null
#pragma once #include <crab/support/debug.hpp> #include <crab/support/os.hpp> namespace crab { namespace cfg { // To group together statements over integers or real typedef enum { BINOP_ADD, BINOP_SUB, BINOP_MUL, BINOP_SDIV, BINOP_UDIV, BINOP_SREM, BINOP_UREM, BINOP_AND, BINOP_OR, BINOP_XOR, BI...
17.247788
80
0.601847
2ac7289f2839f679932b31c3de3b0e50c2d56a5a
1,735
cpp
C++
rrMFC/Dlg_Property/PropertySheet/PropertyPage1.cpp
afoolsbag/rrCnCxx
1e673bd4edac43d8406a0c726138cba194d17f48
[ "Unlicense" ]
2
2019-03-20T01:14:10.000Z
2021-12-08T15:39:32.000Z
rrMFC/Dlg_Property/PropertySheet/PropertyPage1.cpp
afoolsbag/rrCnCxx
1e673bd4edac43d8406a0c726138cba194d17f48
[ "Unlicense" ]
null
null
null
rrMFC/Dlg_Property/PropertySheet/PropertyPage1.cpp
afoolsbag/rrCnCxx
1e673bd4edac43d8406a0c726138cba194d17f48
[ "Unlicense" ]
null
null
null
/// \copyright The Unlicense #include "stdafx.h" #include "PropertyPage1.h" #include "PropertySheet.rc.h" #include "rrwindows/rrwindows.h" namespace rrMFC { namespace Test { const UINT PropertyPage1::IDD {IDD_PROPERTY_PAGE_1}; #// Constructors PropertyPage1:: PropertyPage1() : CPropertyPage(IDD) { DcMeth(...
15.772727
70
0.695677
2ac9d9b284c80fb4fcb117ac935242dc593aea35
1,825
hpp
C++
src/include/Geometry/HalfedgeMeshBuilder/MeshBuilderBase.hpp
timow-gh/Geometry
6b46b107355cd76fbb9c3a86db23dc891e868a3b
[ "Apache-2.0" ]
null
null
null
src/include/Geometry/HalfedgeMeshBuilder/MeshBuilderBase.hpp
timow-gh/Geometry
6b46b107355cd76fbb9c3a86db23dc891e868a3b
[ "Apache-2.0" ]
null
null
null
src/include/Geometry/HalfedgeMeshBuilder/MeshBuilderBase.hpp
timow-gh/Geometry
6b46b107355cd76fbb9c3a86db23dc891e868a3b
[ "Apache-2.0" ]
null
null
null
#ifndef GEOMETRY_MESHBUILDERBASE_HPP #define GEOMETRY_MESHBUILDERBASE_HPP #include <Core/Types/TVector.hpp> #include <Geometry/HalfedgeMesh/HalfedgeMesh.hpp> #include <Geometry/HalfedgeMeshBuilder/MeshTriangleAdder.hpp> #include <LinAl/LinearAlgebra.hpp> namespace Geometry { template <typename T, typename Derived> c...
35.096154
89
0.564384
2acc8f0b59ee05dd822e63465b79e6daa6a48a67
6,856
cpp
C++
main.cpp
deepomicslab/SpecHap
194ded31c6b3fdfada593bd248082bf1945530b9
[ "MIT" ]
7
2021-02-17T09:24:39.000Z
2021-12-23T07:47:38.000Z
main.cpp
deepomicslab/SpecHap
194ded31c6b3fdfada593bd248082bf1945530b9
[ "MIT" ]
3
2021-04-30T19:36:57.000Z
2022-03-24T02:32:17.000Z
main.cpp
deepomicslab/SpecHap
194ded31c6b3fdfada593bd248082bf1945530b9
[ "MIT" ]
3
2021-09-06T07:20:06.000Z
2021-11-24T05:21:19.000Z
#include <iostream> #include "phaser.h" #include "results.h" #include "type.h" bool HYBRID = false; bool NEW_FORMAT = false; bool KEEP_PS = false; int WINDOW_SIZE = 200; int WINDOW_OVERLAP = 60; int BASE_OFFSET = 33; int MAX_BARCODE_SPANNING = 60000; int MAX_HIC_INSERTION= 40000000; int RECURSIVE_LIMIT = 15; int OPE...
40.809524
192
0.553384
2acdb257016405c6b7cea49c82cc62ea4fa18a86
6,326
cpp
C++
Lab02_03c.cpp
xinyizou/school-projects
10adc544faf45446ef99d8e1a74acbe16c88c7b5
[ "MIT" ]
1
2020-01-21T00:46:48.000Z
2020-01-21T00:46:48.000Z
Lab02_03c.cpp
xinyizou/school-projects
10adc544faf45446ef99d8e1a74acbe16c88c7b5
[ "MIT" ]
null
null
null
Lab02_03c.cpp
xinyizou/school-projects
10adc544faf45446ef99d8e1a74acbe16c88c7b5
[ "MIT" ]
null
null
null
// // Student name: Xinyi Zou // Student number: 20765197 // // SYDE 121 Lab: Lab Assignment #1 Exercise #3 // Filename: lab02_03c // // I hereby declare that this code, submitted for credit for the course // SYDE121, is a product of my own efforts. This coded solution has // not been plagiarized from other so...
37.654762
188
0.659026
2ad3ff62c9f8e0a981f7abfdf613bdbb11baf678
2,997
cpp
C++
herramientas.cpp
AdrianN17/PosPolygon
db6bdef524c4712488bdfc1161ce29bb9c84e46f
[ "MIT" ]
1
2019-10-11T03:37:35.000Z
2019-10-11T03:37:35.000Z
herramientas.cpp
AdrianN17/PosPolygon
db6bdef524c4712488bdfc1161ce29bb9c84e46f
[ "MIT" ]
null
null
null
herramientas.cpp
AdrianN17/PosPolygon
db6bdef524c4712488bdfc1161ce29bb9c84e46f
[ "MIT" ]
null
null
null
#include "herramientas.h" #include "ui_herramientas.h" herramientas::herramientas(QWidget *parent) : QWidget(parent), ui(new Ui::herramientas) { const int max=450; ui->setupUi(this); ui->txt_centrox->setValidator( new QIntValidator(0, max, this) ); ui->txt_centroy->setValidator( new QIntValid...
19.717105
69
0.658659
2ad5e71ed708caeab1e5aa79f61f9bf9fd376894
1,802
hpp
C++
misc/bit_operation.hpp
hly1204/library
b62c47a8f20623c1f1edd892b980714e8587f40e
[ "Unlicense" ]
7
2021-07-20T15:25:00.000Z
2022-03-13T11:58:25.000Z
misc/bit_operation.hpp
hly1204/library
b62c47a8f20623c1f1edd892b980714e8587f40e
[ "Unlicense" ]
10
2021-03-11T16:08:22.000Z
2022-03-13T08:40:36.000Z
misc/bit_operation.hpp
hly1204/library
b62c47a8f20623c1f1edd892b980714e8587f40e
[ "Unlicense" ]
null
null
null
#ifndef BIT_OPERATION_HEADER_HPP #define BIT_OPERATION_HEADER_HPP /** * @brief bit operations * */ #include <cassert> #include <cstdint> #include "deBruijn_sequence.hpp" namespace lib { /** * @brief 在二进制最高的 1 后面填充满 1 * @param x * @return std::uint32_t */ std::uint32_t fill_one_after_msb(...
18.57732
82
0.546615
2ad5fbbb2684206d87b47e0f76ddc9b0da67b001
2,845
cpp
C++
godgame2/Sphere.cpp
magnificus/godgame
cafb36830263d95516eb014f432319cabf50bda7
[ "Unlicense" ]
5
2017-10-31T17:36:13.000Z
2021-11-05T21:01:04.000Z
godgame2/Sphere.cpp
magnificus/godgame
cafb36830263d95516eb014f432319cabf50bda7
[ "Unlicense" ]
null
null
null
godgame2/Sphere.cpp
magnificus/godgame
cafb36830263d95516eb014f432319cabf50bda7
[ "Unlicense" ]
null
null
null
#include "Sphere.h" #include "math.h" #include <map> #include <array> struct Triangle { unsigned int vertex[3]; }; using TriangleList = std::vector<Triangle>; using VertexList = std::vector<glm::vec3>; using NormalList = std::vector<glm::vec3>; #define Index unsigned int namespace icosahedron { co...
23.708333
59
0.599297
2adb800c632a7ae555e16819d86333554fafdb11
5,691
cpp
C++
PostLib/GMeshImport.cpp
chunkeey/FEBioStudio
f342d4ac2bc3581db792373c4265454109af92b3
[ "MIT" ]
27
2020-06-25T06:34:52.000Z
2022-03-11T08:58:57.000Z
PostLib/GMeshImport.cpp
chunkeey/FEBioStudio
f342d4ac2bc3581db792373c4265454109af92b3
[ "MIT" ]
42
2020-06-15T18:40:57.000Z
2022-03-24T05:38:54.000Z
PostLib/GMeshImport.cpp
chunkeey/FEBioStudio
f342d4ac2bc3581db792373c4265454109af92b3
[ "MIT" ]
12
2020-06-27T13:58:57.000Z
2022-03-24T05:39:10.000Z
/*This file is part of the FEBio Studio source code and is licensed under the MIT license listed below. See Copyright-FEBio-Studio.txt for details. Copyright (c) 2020 University of Utah, The Trustees of Columbia University in the City of New York, and others. Permission is hereby granted, free of charge, to any per...
25.070485
99
0.628712
2adca25a6559cdf343d960f039d6d2b4feb0ddfa
4,219
cpp
C++
SDK/PUBG_SoundOptionWidget_functions.cpp
realrespecter/PUBG-FULL-SDK
5e2b0f103c74c95d2329c4c9dfbfab48aa0da737
[ "MIT" ]
7
2019-03-06T11:04:52.000Z
2019-07-10T20:00:51.000Z
SDK/PUBG_SoundOptionWidget_functions.cpp
realrespecter/PUBG-FULL-SDK
5e2b0f103c74c95d2329c4c9dfbfab48aa0da737
[ "MIT" ]
null
null
null
SDK/PUBG_SoundOptionWidget_functions.cpp
realrespecter/PUBG-FULL-SDK
5e2b0f103c74c95d2329c4c9dfbfab48aa0da737
[ "MIT" ]
10
2019-03-06T11:53:46.000Z
2021-02-18T14:01:11.000Z
// PUBG FULL SDK - Generated By Respecter (5.3.4.11 [06/03/2019]) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "PUBG_SoundOptionWidget_parameters.hpp" namespace SDK { //--------------------------------------------------------------------------- //Functions //------------------------------------------...
24.672515
134
0.726475
2ae8821c883a13bc5a2b3fae0f8a9d88ca472eea
808
hh
C++
include/muensterTPCRunAction.hh
l-althueser/MuensterTPC-Simulation
7a086ab330cd5905f3c78c324936cdc36951e9bd
[ "BSD-2-Clause" ]
null
null
null
include/muensterTPCRunAction.hh
l-althueser/MuensterTPC-Simulation
7a086ab330cd5905f3c78c324936cdc36951e9bd
[ "BSD-2-Clause" ]
2
2017-01-24T21:18:46.000Z
2017-01-27T13:24:48.000Z
include/muensterTPCRunAction.hh
l-althueser/MuensterTPC-Simulation
7a086ab330cd5905f3c78c324936cdc36951e9bd
[ "BSD-2-Clause" ]
4
2017-04-28T12:18:58.000Z
2019-04-10T21:15:00.000Z
/****************************************************************** * muensterTPCsim * * Simulations of the Muenster TPC * * @author Lutz Althüser * @date 2015-04-14 * * @update 2015-11-02 - added comments * * @comment ******************************************************************/ #ifndef __muenster...
21.837838
70
0.65099
2aeaf60025deb5b258232b5f76df3ed43b233b3d
5,403
cpp
C++
2_Package/imu/dev_bmp085.cpp
HANDS-FREE/OpenRE
fbd4cfa7a12bb43679db23422e79da69aaef1fce
[ "BSD-2-Clause" ]
56
2016-08-13T11:26:51.000Z
2022-02-17T08:45:40.000Z
2_Package/imu/dev_bmp085.cpp
HANDS-FREE/OpenRE
fbd4cfa7a12bb43679db23422e79da69aaef1fce
[ "BSD-2-Clause" ]
3
2017-03-04T11:55:26.000Z
2018-05-03T08:34:52.000Z
2_Package/imu/dev_bmp085.cpp
HANDS-FREE/OpenRE
fbd4cfa7a12bb43679db23422e79da69aaef1fce
[ "BSD-2-Clause" ]
51
2016-08-15T14:00:44.000Z
2022-02-17T08:45:41.000Z
/*********************************************************************************************************************** * Copyright (c) Hands Free Team. All rights reserved. * Contact: QQ Exchange Group -- 521037187 * * LICENSING TERMS: * The Hands Free is licensed generally under a permissive 3-clause BSD licen...
29.850829
121
0.446604
2af1887a721bdeb858258afbb3e4d04e60fb56d6
2,977
cpp
C++
TDEngine2/source/core/CConfigFileEngineCoreBuilder.cpp
bnoazx005/TDEngine2
93ebfecf8af791ff5ecd4f57525a6935e34cd05c
[ "Apache-2.0" ]
1
2019-07-15T01:14:15.000Z
2019-07-15T01:14:15.000Z
TDEngine2/source/core/CConfigFileEngineCoreBuilder.cpp
bnoazx005/TDEngine2
93ebfecf8af791ff5ecd4f57525a6935e34cd05c
[ "Apache-2.0" ]
76
2018-10-27T16:59:36.000Z
2022-03-30T17:40:39.000Z
TDEngine2/source/core/CConfigFileEngineCoreBuilder.cpp
bnoazx005/TDEngine2
93ebfecf8af791ff5ecd4f57525a6935e34cd05c
[ "Apache-2.0" ]
1
2019-07-29T02:02:08.000Z
2019-07-29T02:02:08.000Z
#include "../../include/core/CConfigFileEngineCoreBuilder.h" #include "../../include/core/IFileSystem.h" #include "../../include/platform/CConfigFileReader.h" #include <memory> #include <thread> #include <functional> namespace TDEngine2 { CConfigFileEngineCoreBuilder::CConfigFileEngineCoreBuilder() : CBaseEngineCo...
32.358696
175
0.762177
2af323f0acf239b7f37307f9ff8a65783bd92f7a
710
cpp
C++
Codechef/VisitTheCities.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
1
2019-09-29T03:58:35.000Z
2019-09-29T03:58:35.000Z
Codechef/VisitTheCities.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
null
null
null
Codechef/VisitTheCities.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std; const int MAXN = 10010; int n, P, Pi; vector<int> E[MAXN]; bool vis[MAXN]; void dfs(int u, int p){ if(vis[u]) return; vis[u] = true; if(p > P){ P = p; Pi = u; } for(int i = 0; i < E[u].size(); i++){ dfs(E[u][i], p + 1); } } int main(){ ios_base::sync_with_...
14.2
38
0.476056
2af50f0fe6ae885ca83997d8da58c9840370afa1
3,521
hpp
C++
src/simple_graph/algorithm/bellman_ford.hpp
sfod/simple-graph
b07ac266296f44238ee02f7cc1042f079f4eac9d
[ "MIT" ]
1
2016-01-25T09:54:38.000Z
2016-01-25T09:54:38.000Z
src/simple_graph/algorithm/bellman_ford.hpp
sfod/simple-graph
b07ac266296f44238ee02f7cc1042f079f4eac9d
[ "MIT" ]
1
2019-04-08T10:40:00.000Z
2019-04-08T10:40:00.000Z
src/simple_graph/algorithm/bellman_ford.hpp
sfod/simple-graph
b07ac266296f44238ee02f7cc1042f079f4eac9d
[ "MIT" ]
null
null
null
#pragma once #include <algorithm> #include <cassert> #include <set> #include <vector> #include "simple_graph/graph.hpp" namespace simple_graph { template<typename W> bool check_distance(const W &d, const W &w) { return !((d > 0) && (w > 0) && (std::numeric_limits<W>::max() - d < w)); } template<bool Dir, typena...
32.302752
98
0.545016
2af5fb5321452a0e61ee7a8063da3a949c424301
5,338
cc
C++
tensorflow_graphics/rendering/opengl/egl_offscreen_context.cc
Liang813/graphics
71ab1775228a0a292427551350cbb62bfa8bd01a
[ "Apache-2.0" ]
2,759
2019-01-08T10:40:34.000Z
2022-03-28T13:49:37.000Z
tensorflow_graphics/rendering/opengl/egl_offscreen_context.cc
Liang813/graphics
71ab1775228a0a292427551350cbb62bfa8bd01a
[ "Apache-2.0" ]
262
2019-04-28T12:25:49.000Z
2022-03-24T19:35:15.000Z
tensorflow_graphics/rendering/opengl/egl_offscreen_context.cc
Liang813/graphics
71ab1775228a0a292427551350cbb62bfa8bd01a
[ "Apache-2.0" ]
380
2019-05-09T00:14:45.000Z
2022-03-31T12:48:25.000Z
/* Copyright 2020 The TensorFlow Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, s...
36.561644
80
0.716373
2af686437eda8ab8178fd1a9174f42768e3f51d5
4,200
cc
C++
testing/gsgts_test.cc
shgalus/shg
0318d0126cf12c3236183447d130969c468a02fa
[ "MIT" ]
9
2015-05-21T04:14:50.000Z
2021-05-31T17:15:15.000Z
testing/gsgts_test.cc
shgalus/shg
0318d0126cf12c3236183447d130969c468a02fa
[ "MIT" ]
1
2015-05-21T05:31:04.000Z
2015-05-21T05:31:04.000Z
testing/gsgts_test.cc
shgalus/shg
0318d0126cf12c3236183447d130969c468a02fa
[ "MIT" ]
2
2015-05-21T04:14:44.000Z
2020-08-18T12:35:22.000Z
#include <shg/gsgts.h> #include <shg/mzt.h> #include <shg/utils.h> #include "testing.h" namespace SHG::Testing { BOOST_AUTO_TEST_SUITE(gsgts_test) BOOST_AUTO_TEST_CASE(basic_test) { const std::vector<double> result1{ -0.1853455, -0.1532896, -0.1108232, -0.2036469, -0.1754326, -0.1098344, -0....
48.275862
70
0.584524
2af7a6ae39d191373e3196cf3e77ea0da3ed2cd8
3,925
cpp
C++
kernels/gact-raw/gact.cpp
YC-Vertex/GeneSAK
10fcd2fc3d9c3df1f391dc277b8d5840abf3034c
[ "MIT" ]
4
2021-09-13T14:41:06.000Z
2021-12-25T03:31:56.000Z
kernels/gact-raw/gact.cpp
YC-Vertex/GeneSAK
10fcd2fc3d9c3df1f391dc277b8d5840abf3034c
[ "MIT" ]
null
null
null
kernels/gact-raw/gact.cpp
YC-Vertex/GeneSAK
10fcd2fc3d9c3df1f391dc277b8d5840abf3034c
[ "MIT" ]
1
2021-09-16T06:56:41.000Z
2021-09-16T06:56:41.000Z
#include <string> #include "gact.h" inline int64_t max(int64_t a, int64_t b) { return a > b ? a : b; } inline void setDefaultParams(AlignTask *task) { task->params["TILE_SIZE"] = 128; task->params["OVERLAP_SIZE"] = 32; } AlignTileRet alignTile(std::string ref, std::string qry, bool first, int maxTBLen) ...
26.52027
84
0.421656
2afdf7b06a66366ec7c1cbf55fb56779ea03d8f0
9,465
cpp
C++
pure_pursuit_core/test/GeometryTest.cpp
Idate96/se2_navigation
0fabe002742add5e4d716776b13704aa9c1aa339
[ "BSD-3-Clause" ]
216
2020-04-14T22:32:45.000Z
2022-03-30T17:56:12.000Z
pure_pursuit_core/test/GeometryTest.cpp
Idate96/se2_navigation
0fabe002742add5e4d716776b13704aa9c1aa339
[ "BSD-3-Clause" ]
5
2020-09-23T08:41:38.000Z
2021-11-11T09:58:00.000Z
pure_pursuit_core/test/GeometryTest.cpp
Idate96/se2_navigation
0fabe002742add5e4d716776b13704aa9c1aa339
[ "BSD-3-Clause" ]
56
2020-04-29T00:26:20.000Z
2022-03-30T17:27:55.000Z
/* * GeometryTest.cpp * * Created on: Mar 19, 2020 * Author: jelavice */ #include <gtest/gtest.h> // Math #include <cmath> #include "test_helpers.hpp" #include "pure_pursuit_core/math.hpp" namespace ppt = pure_pursuit_test; namespace pp = pure_pursuit; using SolutionCase = pp::Intersection::SolutionCase; ...
36.686047
127
0.709773
63021073c1c0f32186c24ec364ce2c943ccf648c
1,712
cpp
C++
src/web/tests/test_libaeon_web/test_url_encoding.cpp
aeon-engine/libaeon
e42b39e621dcd0a0fba05e1c166fc688288fb69b
[ "BSD-2-Clause" ]
7
2017-02-19T16:22:16.000Z
2021-03-02T05:47:39.000Z
src/web/tests/test_libaeon_web/test_url_encoding.cpp
aeon-engine/libaeon
e42b39e621dcd0a0fba05e1c166fc688288fb69b
[ "BSD-2-Clause" ]
61
2017-05-29T06:11:17.000Z
2021-03-28T21:51:44.000Z
src/web/tests/test_libaeon_web/test_url_encoding.cpp
aeon-engine/libaeon
e42b39e621dcd0a0fba05e1c166fc688288fb69b
[ "BSD-2-Clause" ]
2
2017-05-28T17:17:40.000Z
2017-07-14T21:45:16.000Z
// Distributed under the BSD 2-Clause License - Copyright 2012-2021 Robin Degen #include <aeon/web/http/url_encoding.h> #include <aeon/web/http/validators.h> #include <gtest/gtest.h> #include <random> using namespace aeon; TEST(test_url_encoding, encode_regular_string) { const std::u8string test_str = u8"ThisIsA...
25.939394
79
0.638435
6304a393a27ce668de2d43bd5d1b5530919ee665
326
hpp
C++
DoremiEngine/AI/Include/Interface/SubModule/AStarSubModule.hpp
meraz/doremi
452d08ebd10db50d9563c1cf97699571889ab18f
[ "MIT" ]
1
2020-03-23T15:42:05.000Z
2020-03-23T15:42:05.000Z
DoremiEngine/AI/Include/Interface/SubModule/AStarSubModule.hpp
Meraz/ssp15
452d08ebd10db50d9563c1cf97699571889ab18f
[ "MIT" ]
null
null
null
DoremiEngine/AI/Include/Interface/SubModule/AStarSubModule.hpp
Meraz/ssp15
452d08ebd10db50d9563c1cf97699571889ab18f
[ "MIT" ]
1
2020-03-23T15:42:06.000Z
2020-03-23T15:42:06.000Z
#pragma once namespace DoremiEngine { namespace AI { /** TODOKO docs */ class MapGrid; class AStarSubModule { public: virtual void GetPath(int p_startPos, const MapGrid& p_map) = 0; virtual MapGrid* BuildMapGrid() = 0; }; ...
18.111111
75
0.506135
630642a798f5254c0a521c6019c0031bcdbc86d9
5,515
cpp
C++
src/ui/Style.cpp
CedricGuillemet/gemoni
76ca371d509791dd9d560d3f9f701f96e209ca5e
[ "MIT" ]
null
null
null
src/ui/Style.cpp
CedricGuillemet/gemoni
76ca371d509791dd9d560d3f9f701f96e209ca5e
[ "MIT" ]
null
null
null
src/ui/Style.cpp
CedricGuillemet/gemoni
76ca371d509791dd9d560d3f9f701f96e209ca5e
[ "MIT" ]
null
null
null
#include "imgui.h" #include "IconsFontAwesome5.h" void SetStyle() { ImGuiStyle& st = ImGui::GetStyle(); st.FrameBorderSize = 1.0f; st.FramePadding = ImVec2(4.0f, 2.0f); st.ItemSpacing = ImVec2(8.0f, 2.0f); st.WindowBorderSize = 1.0f; st.TabBorderSize = 1.0f; st.WindowRounding = 1.0f; st...
51.542056
117
0.688123
deb89d9db31f248c546602d7996ccbd4f783a53d
269
cpp
C++
examples/algos/subset-xor-maximization/example-1.cpp
parth-07/dragon
2e771d698398303c8ae6d603d28bc3acfa116181
[ "MIT" ]
1
2021-02-24T17:51:32.000Z
2021-02-24T17:51:32.000Z
examples/algos/subset-xor-maximization/example-1.cpp
parth-07/dragon
2e771d698398303c8ae6d603d28bc3acfa116181
[ "MIT" ]
1
2021-02-24T17:57:04.000Z
2021-05-17T11:09:40.000Z
examples/algos/subset-xor-maximization/example-1.cpp
parth-07/ds-and-algos
2e771d698398303c8ae6d603d28bc3acfa116181
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include "dragon/algos/subset-xor-maximization.hpp" int main() { std::vector<int> v{48, 32, 31}; std::cout<<dragon::maximum_subset_xor_value(v)<<"\n"; std::cout<<dragon::maximum_subset_xor_value(v.begin(), v.end())<<"\n"; }
26.9
72
0.680297
deba72bc62b66ae33e4534d7a1553b5ece28dbbd
465
cpp
C++
cpp codes/ThreeDigitArmstrongNumber.cpp
umesh-negi/Hacktoberfest2020
eaa0455ed1f111d9019dacf1cce19d7679009725
[ "MIT" ]
null
null
null
cpp codes/ThreeDigitArmstrongNumber.cpp
umesh-negi/Hacktoberfest2020
eaa0455ed1f111d9019dacf1cce19d7679009725
[ "MIT" ]
null
null
null
cpp codes/ThreeDigitArmstrongNumber.cpp
umesh-negi/Hacktoberfest2020
eaa0455ed1f111d9019dacf1cce19d7679009725
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int n,r,sum=0,temp; cout<<"Enter a three digit positive integer: "; cin>>n; temp=n; while(n>0) { r=n%10; sum=sum+(r*r*r); n=n/10; } if(temp==sum) ...
22.142857
60
0.443011
debd512b89d62a5af5f86ed64acef38fef6159ba
176
cpp
C++
shared/qstd.cpp
Guilyx/Pendu
6ccd6a5a566d900d73422f70a99aec05f9e3ce10
[ "BSD-3-Clause" ]
null
null
null
shared/qstd.cpp
Guilyx/Pendu
6ccd6a5a566d900d73422f70a99aec05f9e3ce10
[ "BSD-3-Clause" ]
null
null
null
shared/qstd.cpp
Guilyx/Pendu
6ccd6a5a566d900d73422f70a99aec05f9e3ce10
[ "BSD-3-Clause" ]
null
null
null
#include "qstd.h" QTextStream qstd::cin(stdin,QIODevice::ReadOnly); QTextStream qstd::cout(stdout,QIODevice::WriteOnly); QTextStream qstd::cerr(stderr, QIODevice::WriteOnly);
29.333333
53
0.784091
debe935fde02f6f2ba3a1451dc340f8fed2236e2
1,070
cc
C++
app/node/node_modules/httpsync/src/curl.cc
syntaxerrors/Stories
c24e3f5ac37c0e3467d385bdd4ba02fe4d0a5eb8
[ "MIT" ]
1
2020-05-24T19:36:54.000Z
2020-05-24T19:36:54.000Z
node_modules/httpsync/src/curl.cc
jeremyfa/node-cocos2d-coffee-autocomplete
4eac201d43bdd08ded26fea8916e9bf4ca73f88e
[ "MIT", "Unlicense" ]
null
null
null
node_modules/httpsync/src/curl.cc
jeremyfa/node-cocos2d-coffee-autocomplete
4eac201d43bdd08ded26fea8916e9bf4ca73f88e
[ "MIT", "Unlicense" ]
null
null
null
#include "./curl.h" void NodeCurl::Init(Handle<Object> target) { target->Set(String::NewSymbol("request"), FunctionTemplate::New(request)->GetFunction()); target->Set(String::NewSymbol("get"), FunctionTemplate::New(get)->GetFunction()); } // curl.request (options); Handle<Value> NodeCurl::request(const Ar...
26.097561
77
0.639252
dec07522838bb529579d678c2d24200377ab029c
604
cpp
C++
example/asyncdeamon.cpp
apppur/canna
bdcce4f16be56da40445fec79959b6bc90003573
[ "MIT" ]
null
null
null
example/asyncdeamon.cpp
apppur/canna
bdcce4f16be56da40445fec79959b6bc90003573
[ "MIT" ]
null
null
null
example/asyncdeamon.cpp
apppur/canna
bdcce4f16be56da40445fec79959b6bc90003573
[ "MIT" ]
null
null
null
#include <thread> #include <functional> #include <stdio.h> #include <memory> #include "asyncclient.h" #include "asyncserver.h" int main(int argc, char** argv) { asyncclient async1; asyncclient async2; asyncclient async3; asyncserver server; std::thread t1(std::bind(&asyncclient::start, &async1));...
20.133333
60
0.642384
dec2f325f34c51e9af008d0a401b695be3e82249
442
cpp
C++
algorithms/cpp/deleteNodeInALinkedList/test.cpp
mzlogin/LeetCode
b0ccb0f84eafe60ff355e4ab81bde2f39c043035
[ "MIT" ]
2
2017-03-27T17:20:28.000Z
2018-06-07T15:15:54.000Z
algorithms/cpp/deleteNodeInALinkedList/test.cpp
mzlogin/LeetCode
b0ccb0f84eafe60ff355e4ab81bde2f39c043035
[ "MIT" ]
2
2015-12-13T02:58:29.000Z
2016-09-15T00:00:22.000Z
algorithms/cpp/deleteNodeInALinkedList/test.cpp
mzlogin/LeetCode
b0ccb0f84eafe60ff355e4ab81bde2f39c043035
[ "MIT" ]
null
null
null
#include "../catch.h" #include "../mylist.h" #include "solution.h" TEST_CASE("Delete Node In a Linked List", "deleteNodeInALinkedList") { Solution sln; const int len = 4; int nums[len] = {1,2,3,4}; ListNode* root = createList(nums, len); ListNode* p = root->next->next; sln.deleteNode(p); C...
24.555556
70
0.615385
dec60f7023fc0c5f3a3f7e986d258647535c871b
499
cc
C++
leetcode/src/balaced_binary_tree.cc
plusplus7/solutions
31233c13ee2bd0da6a907a24adbaf5b49ebf843c
[ "CC0-1.0" ]
5
2016-04-29T07:14:23.000Z
2020-01-07T04:56:11.000Z
leetcode/src/balaced_binary_tree.cc
plusplus7/solutions
31233c13ee2bd0da6a907a24adbaf5b49ebf843c
[ "CC0-1.0" ]
null
null
null
leetcode/src/balaced_binary_tree.cc
plusplus7/solutions
31233c13ee2bd0da6a907a24adbaf5b49ebf843c
[ "CC0-1.0" ]
1
2016-04-29T07:14:32.000Z
2016-04-29T07:14:32.000Z
#include <iostream> using namespace std; class Solution { public: int dfs(TreeNode *node) { if (node == NULL) return 0; return max(dfs(node->left, dep+1), dfs(node->right, dep+1))+1; } bool isBalanced(TreeNode *root) { if (root == NULL) return true; if...
26.263158
85
0.537074
decdd07a00f33af05ff4c749316d9b1956486241
2,237
cpp
C++
tests/common_test/tests/mask_tests/circle_mask_tests.cpp
JulianBiancardi/Wolfenstein-Taller1
28e72ce8438264919586785aa09ce9b0a5de222b
[ "MIT" ]
1
2021-04-23T19:57:40.000Z
2021-04-23T19:57:40.000Z
tests/common_test/tests/mask_tests/circle_mask_tests.cpp
JulianBiancardi/Wolfenstein-Taller1
28e72ce8438264919586785aa09ce9b0a5de222b
[ "MIT" ]
null
null
null
tests/common_test/tests/mask_tests/circle_mask_tests.cpp
JulianBiancardi/Wolfenstein-Taller1
28e72ce8438264919586785aa09ce9b0a5de222b
[ "MIT" ]
null
null
null
#include "circle_mask_tests.h" #include "../../main/collisions/circle_mask.h" #include "../../main/utils/point.h" #include "../tests_setup.h" int static creation_test(); int static center_test(); int static interior_test(); int static border_test(); int static exterior_test(); void circle_mask_tests() { begin_test...
21.103774
78
0.640143
dece96829fe573ed8b4ad39e4772d59a7b19567a
1,179
hpp
C++
FFmpegServer/FFmpegYAGuiDroidCapture_PacketQueue/include/Buffer/BufferData.hpp
aalekhm/OpenFF
9df23a21727f29a871f7239ccf15e3100ae9780e
[ "MIT" ]
null
null
null
FFmpegServer/FFmpegYAGuiDroidCapture_PacketQueue/include/Buffer/BufferData.hpp
aalekhm/OpenFF
9df23a21727f29a871f7239ccf15e3100ae9780e
[ "MIT" ]
null
null
null
FFmpegServer/FFmpegYAGuiDroidCapture_PacketQueue/include/Buffer/BufferData.hpp
aalekhm/OpenFF
9df23a21727f29a871f7239ccf15e3100ae9780e
[ "MIT" ]
null
null
null
#pragma once #include "Common/Defines.h" #include "Common/RandomAccessFile.h" class BufferData { public: BufferData() : m_iBufferSize(-1) , m_pBuffer(nullptr) { } BufferData(size_t iBufferSize) { setSize(iBufferSize); } void operator=(BufferData& pBufferData) { cleanup(); setSize(pBuffer...
17.338235
88
0.65564
ded00ab6f7ed575fdcb08faaef40996cf6db9fbf
7,069
cpp
C++
libs/dev/Math/MathEngineTest/Matrix_Constructor.cpp
Norseman055/immaterial-engine
6aca0fad64f5b2b9fe6eb351528a79a39dc94625
[ "MIT" ]
null
null
null
libs/dev/Math/MathEngineTest/Matrix_Constructor.cpp
Norseman055/immaterial-engine
6aca0fad64f5b2b9fe6eb351528a79a39dc94625
[ "MIT" ]
null
null
null
libs/dev/Math/MathEngineTest/Matrix_Constructor.cpp
Norseman055/immaterial-engine
6aca0fad64f5b2b9fe6eb351528a79a39dc94625
[ "MIT" ]
null
null
null
//--------------------------------------------------------------------------- // HEADER FILES: //--------------------------------------------------------------------------- #include "UnitTest.h" #include "MathEngine.h" #define eq Util::isEqual #define MATH_TOLERANCE 0.0001f //----------------------------------------...
26.776515
77
0.530485
ded12ff193fedcafbc3acfc7a1a1a355ddaec06d
1,170
cpp
C++
nodes/DataLoggerNode/DataLoggerProcess.cpp
dgitz/eROS
0ff4b5dda5f3d445784d43745597bb5c31d1997c
[ "MIT" ]
2
2016-11-28T13:01:12.000Z
2021-03-26T22:02:02.000Z
nodes/DataLoggerNode/DataLoggerProcess.cpp
dgitz/eROS
0ff4b5dda5f3d445784d43745597bb5c31d1997c
[ "MIT" ]
46
2016-10-24T13:34:48.000Z
2019-11-14T23:47:22.000Z
nodes/DataLoggerNode/DataLoggerProcess.cpp
dgitz/eros
0ff4b5dda5f3d445784d43745597bb5c31d1997c
[ "MIT" ]
2
2021-07-20T10:11:45.000Z
2021-08-10T11:31:41.000Z
#include <eros/DataLogger/DataLoggerProcess.h> using namespace eros; using namespace eros_nodes; DataLoggerProcess::DataLoggerProcess() : log_directory(""), log_directory_available(false), logfile_duration(-1.0), logging_enabled(false), snapshot_mode(true) { } DataLoggerProcess::~DataLogger...
33.428571
100
0.761538
ded73d86410b8acca4b20373f5b8e439c0127133
841
cc
C++
libconfluo/src/compression/confluo_encoder.cc
Mu-L/confluo
e9b8621e99f56b1adf5675c4296c006d89e6e582
[ "Apache-2.0" ]
1,398
2018-12-05T19:13:15.000Z
2022-03-29T08:26:03.000Z
libconfluo/src/compression/confluo_encoder.cc
Mu-L/confluo
e9b8621e99f56b1adf5675c4296c006d89e6e582
[ "Apache-2.0" ]
53
2018-10-21T03:28:25.000Z
2021-03-16T03:50:54.000Z
libconfluo/src/compression/confluo_encoder.cc
Mu-L/confluo
e9b8621e99f56b1adf5675c4296c006d89e6e582
[ "Apache-2.0" ]
208
2018-10-28T03:05:46.000Z
2022-02-06T06:16:37.000Z
#include "compression/confluo_encoder.h" namespace confluo { namespace compression { unique_byte_array confluo_encoder::encode(void *ptr, size_t size, uint8_t encoding) { switch (encoding) { case encoding_type::D_UNENCODED: { return unique_byte_array(reinterpret_cast<uint8_t *>(ptr), size, no_op_delete); ...
29
85
0.6956
ded97349fac892fd74f4c924f410dd860981d4da
19,721
inl
C++
ivp/havana/havok/hk_math/vector_fpu/vector_fpu.inl
DannyParker0001/Kisak-Strike
99ed85927336fe3aff2efd9b9382b2b32eb1d05d
[ "Unlicense" ]
252
2020-12-16T15:34:43.000Z
2022-03-31T23:21:37.000Z
ivp/havana/havok/hk_math/vector_fpu/vector_fpu.inl
DannyParker0001/Kisak-Strike
99ed85927336fe3aff2efd9b9382b2b32eb1d05d
[ "Unlicense" ]
23
2020-12-20T18:02:54.000Z
2022-03-28T16:58:32.000Z
ivp/havana/havok/hk_math/vector_fpu/vector_fpu.inl
DannyParker0001/Kisak-Strike
99ed85927336fe3aff2efd9b9382b2b32eb1d05d
[ "Unlicense" ]
42
2020-12-19T04:32:33.000Z
2022-03-30T06:00:28.000Z
inline void hk_VecFPU::fpu_add_multiple_row(hk_real *target_adress,hk_real *source_adress,hk_real factor,int size,hk_bool adress_aligned) { if(adress_aligned==HK_FALSE) { //we have to calculate the block size and shift adresses to lower aligned adresses long result_adress = long(source_adress) & hk_VecFPU_ME...
32.923205
146
0.66092
dedc9bea22e4d12bc1c587ec698d2444e590a3be
4,793
cpp
C++
SimSpark/rcssserver3d/plugin/soccer/gamestateperceptor/gamestateperceptor.cpp
IllyasvielEin/Robocup3dInstaller
12e91d9372dd08a92feebf98e916c98bc2242ff4
[ "MIT" ]
null
null
null
SimSpark/rcssserver3d/plugin/soccer/gamestateperceptor/gamestateperceptor.cpp
IllyasvielEin/Robocup3dInstaller
12e91d9372dd08a92feebf98e916c98bc2242ff4
[ "MIT" ]
null
null
null
SimSpark/rcssserver3d/plugin/soccer/gamestateperceptor/gamestateperceptor.cpp
IllyasvielEin/Robocup3dInstaller
12e91d9372dd08a92feebf98e916c98bc2242ff4
[ "MIT" ]
null
null
null
/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- this file is part of rcssserver3D Fri May 9 2003 Copyright (C) 2002,2003 Koblenz University Copyright (C) 2003 RoboCup Soccer Server 3D Maintenance Group $Id$ This program is free software; you can redistribute it and/or modify it und...
28.194118
84
0.685583
dedd51ee810c8f039746f6cede22295f7057ad54
2,838
cc
C++
content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc
junmin-zhu/chromium-rivertrail
eb1a57aca71fe68d96e48af8998dcfbe45171ee1
[ "BSD-3-Clause" ]
5
2018-03-10T13:08:42.000Z
2021-07-26T15:02:11.000Z
content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc
quisquous/chromium
b25660e05cddc9d0c3053b3514f07037acc69a10
[ "BSD-3-Clause" ]
1
2015-07-21T08:02:01.000Z
2015-07-21T08:02:01.000Z
content/browser/renderer_host/pepper/browser_ppapi_host_impl.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 "content/browser/renderer_host/pepper/browser_ppapi_host_impl.h" #include "content/public/browser/browser_thread.h" #include "content/public...
32.25
77
0.744891
dee02e61c6026421062ff37899f6387291f3d3c8
325
cpp
C++
mutations_aliens/main.cpp
aymeebonvarlet/projet_mutation_aliens
a1885d77d9ef197395c7f9545d96105fdac47018
[ "Apache-2.0" ]
null
null
null
mutations_aliens/main.cpp
aymeebonvarlet/projet_mutation_aliens
a1885d77d9ef197395c7f9545d96105fdac47018
[ "Apache-2.0" ]
null
null
null
mutations_aliens/main.cpp
aymeebonvarlet/projet_mutation_aliens
a1885d77d9ef197395c7f9545d96105fdac47018
[ "Apache-2.0" ]
null
null
null
#include "mainwindow.h" #include "qstd.h" using namespace qstd; #include <QApplication> #include "evolutionnary_process.h" int main(int argc, char *argv[]) { Evolutionnary_process evo; evo.init(); cout<<evo.toString()<<endl; QApplication a(argc, argv); MainWindow w; w.show(); return a.exec(...
19.117647
34
0.664615
dee0c4a6231b74e6f1b2d9129bdf422fd8e12380
616
cpp
C++
08_pass-by-reference/src/main.cpp
JuliusDiestra/cpp-sandbox
6fa3bcb2a284e58136168e1952a8a54621232621
[ "MIT" ]
null
null
null
08_pass-by-reference/src/main.cpp
JuliusDiestra/cpp-sandbox
6fa3bcb2a284e58136168e1952a8a54621232621
[ "MIT" ]
null
null
null
08_pass-by-reference/src/main.cpp
JuliusDiestra/cpp-sandbox
6fa3bcb2a284e58136168e1952a8a54621232621
[ "MIT" ]
null
null
null
#include "vehicle.hpp" #include "controller.hpp" int main(int argc, char *argv[]) { // Create vehicle object Vehicle vehicle; vehicle.SetVelocity(20); vehicle.SetAcceleration(30); std::cout << "### Vehicle Object ###" << std::endl; std::cout << "velocity:" << vehicle.GetVelocity() << std::endl...
32.421053
75
0.625
dee0f6e51b0bf08f7f3b1b3f4ce0dede9913d9f2
2,898
cpp
C++
Source/Extensions/PGUI/PGUI.Screen.cpp
wipe2238/foc
87f083e4d12178244953857ee89da488b31d0a9b
[ "MIT" ]
2
2018-12-14T23:06:21.000Z
2021-07-29T03:10:38.000Z
Source/Extensions/PGUI/PGUI.Screen.cpp
wipe2238/foc
87f083e4d12178244953857ee89da488b31d0a9b
[ "MIT" ]
1
2020-08-25T10:38:00.000Z
2020-08-25T10:38:00.000Z
Source/Extensions/PGUI/PGUI.Screen.cpp
wipe2238/foc
87f083e4d12178244953857ee89da488b31d0a9b
[ "MIT" ]
null
null
null
#include <App.h> #include <Defines.Public.h> #include <GameOptions.h> #include <Ini.h> #include "PGUI.Core.h" #include "PGUI.Screen.h" PGUI::Screen::Screen( PGUI::Core* gui, uint width /* = 0 */, uint height /* = 0 */, int left /* = 0 */, int top /* = 0 */ ) : PGUI::Element( gui, width, height, left, top ), // public...
22.640625
173
0.515528
dee106f0ef1f044ea3ecd0fcbb3d197955f98a5f
668
cpp
C++
problems/lazyloading/submissions/accepted/lel.cpp
stoman/CompetitiveProgramming
0000b64369b50e31c6f48939e837bdf6cece8ce4
[ "MIT" ]
2
2020-12-22T13:21:25.000Z
2021-12-12T22:26:26.000Z
problems/lazyloading/submissions/accepted/lel.cpp
stoman/CompetitiveProgramming
0000b64369b50e31c6f48939e837bdf6cece8ce4
[ "MIT" ]
null
null
null
problems/lazyloading/submissions/accepted/lel.cpp
stoman/CompetitiveProgramming
0000b64369b50e31c6f48939e837bdf6cece8ce4
[ "MIT" ]
null
null
null
#include <iostream> #include <stdio.h> #include <stdlib.h> #include <algorithm> #define MAXN 105 using namespace std; int t, n, ans, lo, hi, maxim, how; int w[MAXN]; int main( ) { scanf( "%d", &t ); for ( int T = 0; T < t; ++T ) { scanf( "%d", &n ); for ( int i = 1; i <= n; ++i ) { scanf( "%d", &w[i] )...
11.133333
39
0.42515
dee18f7be43af0742ef1a141d1cc2b540d142fa3
9,745
hh
C++
nodecursor.hh
cp-profiler/cp-profiler-deprecated-
ec163bde5c3a5bd9cc428b8fa8fd6ef713e0247a
[ "MIT-feh" ]
1
2021-05-06T04:41:37.000Z
2021-05-06T04:41:37.000Z
nodecursor.hh
cp-profiler/cp-profiler-deprecated-
ec163bde5c3a5bd9cc428b8fa8fd6ef713e0247a
[ "MIT-feh" ]
null
null
null
nodecursor.hh
cp-profiler/cp-profiler-deprecated-
ec163bde5c3a5bd9cc428b8fa8fd6ef713e0247a
[ "MIT-feh" ]
1
2021-05-06T04:41:39.000Z
2021-05-06T04:41:39.000Z
/* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* * Main authors: * Guido Tack <tack@gecode.org> * * Copyright: * Guido Tack, 2006 * * Last modified: * $Date$ by $Author$ * $Revision$ * * This file is part of Gecode, the generic constraint * development environment: ...
28.328488
80
0.677783
dee63efa3f0c22e5bb79cef4e943cfc3e049ed24
2,316
hpp
C++
src/Modules/ModuleBuilder.hpp
pawel-jarosz/nastya-lisp
813a58523b741e00c8c27980fe658b546e9ff38c
[ "MIT" ]
1
2021-03-12T13:39:17.000Z
2021-03-12T13:39:17.000Z
src/Modules/ModuleBuilder.hpp
pawel-jarosz/nastya-lisp
813a58523b741e00c8c27980fe658b546e9ff38c
[ "MIT" ]
null
null
null
src/Modules/ModuleBuilder.hpp
pawel-jarosz/nastya-lisp
813a58523b741e00c8c27980fe658b546e9ff38c
[ "MIT" ]
null
null
null
// // Created by caedus on 30.01.2021. // #pragma once #include "Modules/Module.hpp" #include "Runtime/Interface/IEvaluatorFactory.hpp" #include "Modules/Interface/IModuleBuilder.hpp" #include <algorithm> namespace nastya::modules { template<typename EvaluatorFactory, typename... OtherFactories> class ModuleBuilde...
33.085714
89
0.756045
dee7db73453cfe5478fcf165793c973eaba126fc
2,150
cpp
C++
src/DescentGame/src/Main.cpp
poseidn/KungFoo
35fa33bd5a9abb40ecf485db2fc038ca52c48a2d
[ "CC-BY-3.0", "CC0-1.0", "CC-BY-4.0" ]
7
2016-01-28T14:28:10.000Z
2021-09-03T17:33:37.000Z
src/DescentGame/src/Main.cpp
poseidn/KungFoo
35fa33bd5a9abb40ecf485db2fc038ca52c48a2d
[ "CC-BY-3.0", "CC0-1.0", "CC-BY-4.0" ]
1
2016-03-19T11:34:36.000Z
2016-03-24T21:35:06.000Z
src/DescentGame/src/Main.cpp
poseidn/KungFoo
35fa33bd5a9abb40ecf485db2fc038ca52c48a2d
[ "CC-BY-3.0", "CC0-1.0", "CC-BY-4.0" ]
3
2016-03-10T14:23:40.000Z
2019-03-17T16:21:21.000Z
/* Copyright (C) 2016 Thomas Hauth. All Rights Reserved. * Written by Thomas Hauth (Thomas.Hauth@web.de) This file is part of Kung Foo Barracuda. Kung Foo Barracuda 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...
26.54321
100
0.751628
dee83e605a1f575e4a2d710a5a6cb28e33523456
5,810
cpp
C++
patch/specific/drawbars.cpp
Tonyx97/TombMP
7eb2d265df2fe7312b7ed07dd5943736340b921c
[ "MIT" ]
3
2021-10-10T11:12:03.000Z
2021-11-04T16:46:57.000Z
patch/specific/drawbars.cpp
Tonyx97/TombMP
7eb2d265df2fe7312b7ed07dd5943736340b921c
[ "MIT" ]
null
null
null
patch/specific/drawbars.cpp
Tonyx97/TombMP
7eb2d265df2fe7312b7ed07dd5943736340b921c
[ "MIT" ]
null
null
null
#include "standard.h" #include "directx.h" #include "global.h" #include "hwrender.h" #include "output.h" #include <main.h> #include <game/inventry.h> #include <3dsystem/hwinsert.h> #define HealthBarX 8 #define HealthBarY 6 #define HealthBarW 100 #define AirBarX (game_setup.dump_width-110) #define AirBarY 6 #define A...
30.904255
89
0.58537