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
d78d1b0b34b8318286f233a42437759cf5b5c652
15,254
cpp
C++
src/system/kernel/posix/realtime_sem.cpp
waddlesplash/haiku
68d1b97e4f99fa0f190579f7ffd16fceda23ebce
[ "MIT" ]
2
2021-11-30T22:17:42.000Z
2022-02-04T20:57:17.000Z
src/system/kernel/posix/realtime_sem.cpp
grexe/haiku
4b0d8831c29fde017869ac7e77fdf7871bbc4b10
[ "MIT" ]
null
null
null
src/system/kernel/posix/realtime_sem.cpp
grexe/haiku
4b0d8831c29fde017869ac7e77fdf7871bbc4b10
[ "MIT" ]
null
null
null
/* * Copyright 2008-2011, Ingo Weinhold, ingo_weinhold@gmx.de. * Distributed under the terms of the MIT License. */ #include <posix/realtime_sem.h> #include <string.h> #include <new> #include <OS.h> #include <AutoDeleter.h> #include <fs/KPath.h> #include <kernel.h> #include <lock.h> #include <syscall_restart.h>...
18.739558
80
0.694375
waddlesplash
d78d1f9b1158a759beaa71ee7d7691a379527856
302
cpp
C++
src/Eigen-3.3/failtest/sparse_ref_1.cpp
shareq2005/CarND-MPC-Project
f4094e8b446d2fac2ca0a4c5054d5058621595b0
[ "MIT" ]
3,457
2018-06-09T15:36:42.000Z
2020-06-01T22:09:25.000Z
src/Eigen-3.3/failtest/sparse_ref_1.cpp
shareq2005/CarND-MPC-Project
f4094e8b446d2fac2ca0a4c5054d5058621595b0
[ "MIT" ]
851
2017-11-27T15:09:56.000Z
2022-03-31T22:26:38.000Z
src/Eigen-3.3/failtest/sparse_ref_1.cpp
shareq2005/CarND-MPC-Project
f4094e8b446d2fac2ca0a4c5054d5058621595b0
[ "MIT" ]
1,380
2017-06-12T23:58:23.000Z
2022-03-31T14:52:48.000Z
#include "../Eigen/Sparse" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD #define CV_QUALIFIER const #else #define CV_QUALIFIER #endif using namespace Eigen; void call_ref(Ref<SparseMatrix<float> > a) { } int main() { SparseMatrix<float> a(10,10); CV_QUALIFIER SparseMatrix<float>& ac(a); call_ref(ac); }
15.894737
46
0.735099
shareq2005
d78d95b076ac1e3067c4aa1b2e0061376c602737
367
cpp
C++
ace/tao/tao/LF_Event_Loop_Thread_Helper.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
46
2015-12-04T17:12:58.000Z
2022-03-11T04:30:49.000Z
ace/tao/tao/LF_Event_Loop_Thread_Helper.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
null
null
null
ace/tao/tao/LF_Event_Loop_Thread_Helper.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
23
2016-10-24T09:18:14.000Z
2022-02-25T02:11:35.000Z
// -*- C++ -*- // LF_Event_Loop_Thread_Helper.cpp,v 1.2 2001/08/01 23:39:46 coryan Exp #include "tao/LF_Event_Loop_Thread_Helper.h" #if !defined (__ACE_INLINE__) # include "tao/LF_Event_Loop_Thread_Helper.inl" #endif /* __ACE_INLINE__ */ ACE_RCSID(tao, LF_Event_Loop_Thread_Helper, "LF_Event_Loop_Thread_Help...
33.363636
116
0.741144
tharindusathis
d78f2fb20a09ee0b8d8f582b63c44362766ad366
2,140
cpp
C++
src/utils/i3.cpp
HughJass/polybar
a78edc667b2c347898787348c27322710d357ce6
[ "MIT" ]
102
2020-07-24T03:33:01.000Z
2022-03-29T01:21:47.000Z
src/utils/i3.cpp
HughJass/polybar
a78edc667b2c347898787348c27322710d357ce6
[ "MIT" ]
35
2020-07-17T05:46:16.000Z
2022-03-21T08:56:00.000Z
src/utils/i3.cpp
HughJass/polybar
a78edc667b2c347898787348c27322710d357ce6
[ "MIT" ]
19
2020-07-24T08:36:15.000Z
2021-12-19T18:46:47.000Z
#include <xcb/xcb.h> #include <i3ipc++/ipc.hpp> #include "common.hpp" #include "settings.hpp" #include "utils/i3.hpp" #include "utils/socket.hpp" #include "utils/string.hpp" #include "x11/connection.hpp" #include "x11/ewmh.hpp" #include "x11/icccm.hpp" POLYBAR_NS namespace i3_util { /** * Get all workspaces for...
25.47619
94
0.634112
HughJass
d7909edf6498859f58ec5b5b0829689a0491d8fd
3,455
hpp
C++
src/tools/joystick_vehicle_interface_nodes/include/joystick_vehicle_interface_nodes/joystick_vehicle_interface_node.hpp
ruvus/auto
25ae62d6e575cae40212356eed43ec3e76e9a13e
[ "Apache-2.0" ]
1
2021-07-29T01:28:10.000Z
2021-07-29T01:28:10.000Z
src/tools/joystick_vehicle_interface_nodes/include/joystick_vehicle_interface_nodes/joystick_vehicle_interface_node.hpp
ruvus/auto
25ae62d6e575cae40212356eed43ec3e76e9a13e
[ "Apache-2.0" ]
null
null
null
src/tools/joystick_vehicle_interface_nodes/include/joystick_vehicle_interface_nodes/joystick_vehicle_interface_node.hpp
ruvus/auto
25ae62d6e575cae40212356eed43ec3e76e9a13e
[ "Apache-2.0" ]
1
2021-12-09T15:44:10.000Z
2021-12-09T15:44:10.000Z
// Copyright 2020-2021 the Autoware Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // //    http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law...
41.626506
100
0.807236
ruvus
d79577c5d9c6f3afc6f313e5c51fdd6ce1920fce
5,235
cpp
C++
modules/base/rotation/constantrotation.cpp
bridger-herman/OpenSpace
e3afd82c4700536a2221fc76f64fdc873c93e964
[ "MIT" ]
1
2019-10-27T12:42:40.000Z
2019-10-27T12:42:40.000Z
modules/base/rotation/constantrotation.cpp
bridger-herman/OpenSpace
e3afd82c4700536a2221fc76f64fdc873c93e964
[ "MIT" ]
null
null
null
modules/base/rotation/constantrotation.cpp
bridger-herman/OpenSpace
e3afd82c4700536a2221fc76f64fdc873c93e964
[ "MIT" ]
1
2020-04-29T01:34:22.000Z
2020-04-29T01:34:22.000Z
/***************************************************************************************** * * * OpenSpace * * ...
41.88
90
0.541547
bridger-herman
d79a5d199c99aa9d81e70250399d07094b4d264f
4,363
cc
C++
src/media/audio/audio_core/test/service/message_transceiver.cc
OpenTrustGroup/fuchsia
647e593ea661b8bf98dcad2096e20e8950b24a97
[ "BSD-3-Clause" ]
1
2019-04-21T18:02:26.000Z
2019-04-21T18:02:26.000Z
src/media/audio/audio_core/test/service/message_transceiver.cc
OpenTrustGroup/fuchsia
647e593ea661b8bf98dcad2096e20e8950b24a97
[ "BSD-3-Clause" ]
16
2020-09-04T19:01:11.000Z
2021-05-28T03:23:09.000Z
src/media/audio/audio_core/test/service/message_transceiver.cc
OpenTrustGroup/fuchsia
647e593ea661b8bf98dcad2096e20e8950b24a97
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2019 The Fuchsia 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 "src/media/audio/audio_core/test/service/message_transceiver.h" #include <lib/async/default.h> namespace media::audio::test { MessageTransceive...
29.47973
100
0.654137
OpenTrustGroup
d79ae1b7bbda5efa225f13b85126be3c08ab891c
2,699
hpp
C++
include/IDetection.hpp
Arjung27/Irona
456d6cbddafbdca5ba6a8a862614e07a536bdb17
[ "MIT" ]
1
2021-06-15T16:53:47.000Z
2021-06-15T16:53:47.000Z
include/IDetection.hpp
Arjung27/Irona
456d6cbddafbdca5ba6a8a862614e07a536bdb17
[ "MIT" ]
null
null
null
include/IDetection.hpp
Arjung27/Irona
456d6cbddafbdca5ba6a8a862614e07a536bdb17
[ "MIT" ]
3
2019-11-25T16:45:07.000Z
2021-11-27T02:56:43.000Z
/****************************************************************************** * MIT License * * Copyright (c) 2019 Kartik Madhira, Aruna Baijal, Arjun Gupta * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software")...
36.472973
82
0.651723
Arjung27
d79b80f4d459ad3d60ee43d9795f898860024633
3,872
cpp
C++
src/PERI/compute_dilatation_atom.cpp
luwei0917/GlpG_Nature_Communication
a7f4f8b526e633b158dc606050e8993d70734943
[ "MIT" ]
1
2018-11-28T15:04:55.000Z
2018-11-28T15:04:55.000Z
src/PERI/compute_dilatation_atom.cpp
luwei0917/GlpG_Nature_Communication
a7f4f8b526e633b158dc606050e8993d70734943
[ "MIT" ]
null
null
null
src/PERI/compute_dilatation_atom.cpp
luwei0917/GlpG_Nature_Communication
a7f4f8b526e633b158dc606050e8993d70734943
[ "MIT" ]
null
null
null
/* ---------------------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator http://lammps.sandia.gov, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC04...
30.25
80
0.550878
luwei0917
d79ba9ac235a959ca0320e14e1486102d3b7c011
365
cpp
C++
ARRAY/check subarray with given sum.cpp
ghostumar/DSA
ca8ca00d1c2cb132c46ace68f862c09883491f3c
[ "Apache-2.0" ]
null
null
null
ARRAY/check subarray with given sum.cpp
ghostumar/DSA
ca8ca00d1c2cb132c46ace68f862c09883491f3c
[ "Apache-2.0" ]
null
null
null
ARRAY/check subarray with given sum.cpp
ghostumar/DSA
ca8ca00d1c2cb132c46ace68f862c09883491f3c
[ "Apache-2.0" ]
null
null
null
#include<iostream> using namespace std; bool isgiven_sum(int arr[],int n,int givsum){ int sum=0; for(int i=0;i<n;i++){ for(int j=i;j<n;j++){//not working sum+=arr[j]; } if(givsum==sum){ return true; } } return false; } int main(){ int arr[]={1,4,20,3,10,5},n=6,givsum=33; cout<<isg...
18.25
51
0.572603
ghostumar
d79c12c931ba3aa302a304f314b2a489500bea61
1,319
hpp
C++
rice/Symbol.hpp
ankane/rice
e291bf18270b0d60a0366f2854d12fe46d215b41
[ "BSD-2-Clause" ]
null
null
null
rice/Symbol.hpp
ankane/rice
e291bf18270b0d60a0366f2854d12fe46d215b41
[ "BSD-2-Clause" ]
null
null
null
rice/Symbol.hpp
ankane/rice
e291bf18270b0d60a0366f2854d12fe46d215b41
[ "BSD-2-Clause" ]
null
null
null
#ifndef Rice__Symbol__hpp_ #define Rice__Symbol__hpp_ #include "Identifier.hpp" #include "Object_defn.hpp" #include "detail/ruby.hpp" #include <string> namespace Rice { //! A wrapper for ruby's Symbol class. /*! Symbols are internal identifiers in ruby. They are singletons and * can be thought of as frozen string...
21.274194
72
0.701289
ankane
d7a04cc8f2b9bc17331acb5bb62bfc755d3c7e16
727
cpp
C++
Level-1/8. Recursion-with-ArrayList/GetSubsequence.cpp
anubhvshrma18/PepCoding
1d5ebd43e768ad923bf007c8dd584e217df1f017
[ "Apache-2.0" ]
22
2021-06-02T04:25:55.000Z
2022-01-30T06:25:07.000Z
Level-1/8. Recursion-with-ArrayList/GetSubsequence.cpp
amitdubey6261/PepCoding
1d5ebd43e768ad923bf007c8dd584e217df1f017
[ "Apache-2.0" ]
2
2021-10-17T19:26:10.000Z
2022-01-14T18:18:12.000Z
Level-1/8. Recursion-with-ArrayList/GetSubsequence.cpp
amitdubey6261/PepCoding
1d5ebd43e768ad923bf007c8dd584e217df1f017
[ "Apache-2.0" ]
8
2021-07-21T09:55:15.000Z
2022-01-31T10:32:51.000Z
#include <iostream> #include <vector> using namespace std; vector<string> gss(string s){ // write your code here vector<string> x; if(s.length()==0){ x.push_back(""); return x; } string small=s.substr(0,s.length()-1); vector<string> getsub=gss(small); for(int i=0;i<...
19.648649
47
0.47868
anubhvshrma18
d7a2b17a1f66f7913737db71e7bb32adf02ce6e3
1,966
hpp
C++
pose_refinement/SA-LMPE/ba/openMVG/sfm/sfm_data_BA_ceres.hpp
Aurelio93/satellite-pose-estimation
46957a9bc9f204d468f8fe3150593b3db0f0726a
[ "MIT" ]
90
2019-05-19T03:48:23.000Z
2022-02-02T15:20:49.000Z
pose_refinement/SA-LMPE/ba/openMVG/sfm/sfm_data_BA_ceres.hpp
Aurelio93/satellite-pose-estimation
46957a9bc9f204d468f8fe3150593b3db0f0726a
[ "MIT" ]
11
2019-05-22T07:45:46.000Z
2021-05-20T01:48:26.000Z
pose_refinement/SA-LMPE/ba/openMVG/sfm/sfm_data_BA_ceres.hpp
Aurelio93/satellite-pose-estimation
46957a9bc9f204d468f8fe3150593b3db0f0726a
[ "MIT" ]
18
2019-05-19T03:48:32.000Z
2021-05-29T18:19:16.000Z
// This file is part of OpenMVG, an Open Multiple View Geometry C++ library. // Copyright (c) 2015 Pierre Moulon. // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #...
27.305556
91
0.749746
Aurelio93
d7a3cab3d65cc1c3f9223dcc911714ac4b1e8059
2,438
cpp
C++
src/ubik/maze/example.cpp
jedrzejboczar/ubik-micromouse
6470368de0c3207fc278bcfa604d1fdd74aaeb8f
[ "MIT" ]
3
2019-10-30T07:37:47.000Z
2021-01-21T11:50:20.000Z
src/ubik/maze/example.cpp
jedrzejboczar/ubik-micromouse
6470368de0c3207fc278bcfa604d1fdd74aaeb8f
[ "MIT" ]
null
null
null
src/ubik/maze/example.cpp
jedrzejboczar/ubik-micromouse
6470368de0c3207fc278bcfa604d1fdd74aaeb8f
[ "MIT" ]
null
null
null
#define MAZE_TESTING #include "maze.h" #include "maze.cpp" #include "maze_generator.h" size_t size = 0; maze::Cell *real_cells; Directions maze::read_walls(maze::Position pos) { if (real_cells == nullptr) return Directions(); maze::Cell *cell = &real_cells[pos.y * size + pos.x]; return cell->wa...
32.506667
95
0.566858
jedrzejboczar
d7a8e1ba84d571405b8c0f43e34128044661cb4e
1,880
cpp
C++
main/m8rscript.cpp
cmarrin/m8rscript
4e24800e1be2c2c5e2ec1b7b52aa6df787e6460c
[ "MIT" ]
1
2018-01-30T19:37:27.000Z
2018-01-30T19:37:27.000Z
main/m8rscript.cpp
cmarrin/m8rscript
4e24800e1be2c2c5e2ec1b7b52aa6df787e6460c
[ "MIT" ]
null
null
null
main/m8rscript.cpp
cmarrin/m8rscript
4e24800e1be2c2c5e2ec1b7b52aa6df787e6460c
[ "MIT" ]
3
2017-04-01T23:41:35.000Z
2019-12-14T23:26:24.000Z
/*------------------------------------------------------------------------- This source file is a part of m8rscript For the latest info, see http:www.marrin.org/ Copyright (c) 2018-2019, Chris Marrin All rights reserved. Use of this source code is governed by the MIT license that can be found i...
31.864407
93
0.653723
cmarrin
d7a8ecaf32b327a527131adfd3093aa64dd3d4c4
3,544
cpp
C++
src/Internal/Entity/EntityManager.cpp
NT-Bourgeois-Iridescence-Technologies/PSP-Craft-Server
35f47ca9d8a5e4f83f94bcce5cecf5c3d4573d87
[ "MIT" ]
11
2020-05-12T05:46:45.000Z
2020-07-13T13:11:56.000Z
src/Internal/Entity/EntityManager.cpp
NT-Bourgeois-Iridescence-Technologies/Craft-Server
35f47ca9d8a5e4f83f94bcce5cecf5c3d4573d87
[ "MIT" ]
6
2020-05-18T22:34:28.000Z
2020-07-11T01:17:55.000Z
src/Internal/Entity/EntityManager.cpp
NT-Bourgeois-Iridescence-Technologies/Craft-Server
35f47ca9d8a5e4f83f94bcce5cecf5c3d4573d87
[ "MIT" ]
1
2020-07-04T02:19:01.000Z
2020-07-04T02:19:01.000Z
#include "EntityManager.h" #include "../../Protocol/Play.h" #include "../World.h" #include "../../Utilities/Utils.h" #include <iostream> namespace Minecraft::Server::Internal::Entity { EntityManager::EntityManager() { } EntityManager::~EntityManager() { } void generateBaseObjectMeta(ByteBuffer* meta, Entity* ...
21.221557
278
0.634594
NT-Bourgeois-Iridescence-Technologies
d7a9a5e3a8f3f42f92d1e3e4e2b0c8bbe4437736
144
cpp
C++
Solutions/NOCODINGTEST.cpp
nikramakrishnan/codechef-solutions
f7ab2199660275e972a387541ecfc24fd358e03e
[ "MIT" ]
1
2022-03-26T09:38:02.000Z
2022-03-26T09:38:02.000Z
Solutions/NOCODINGTEST.cpp
nikramakrishnan/codechef-solutions
f7ab2199660275e972a387541ecfc24fd358e03e
[ "MIT" ]
null
null
null
Solutions/NOCODINGTEST.cpp
nikramakrishnan/codechef-solutions
f7ab2199660275e972a387541ecfc24fd358e03e
[ "MIT" ]
null
null
null
#include<iostream> #include<ctype.h> #include<cstring> #include<string> using namespace std; int main(){ char x[1001]; cin>>x; cout<<x[0]-97; }
13.090909
20
0.694444
nikramakrishnan
d7aa2a204942b0c3203fd3fe003c1c246ac98bdf
7,754
cpp
C++
platforms/agl/alexa-voiceagent-service/src/plugins/aac-services/aasb/aac-platform/cbl/src/CBLHandler.cpp
dl9pf/alexa-auto-sdk
86916d2d8c1702a8be3c88a9012ca56583bcc0c8
[ "Apache-2.0" ]
null
null
null
platforms/agl/alexa-voiceagent-service/src/plugins/aac-services/aasb/aac-platform/cbl/src/CBLHandler.cpp
dl9pf/alexa-auto-sdk
86916d2d8c1702a8be3c88a9012ca56583bcc0c8
[ "Apache-2.0" ]
null
null
null
platforms/agl/alexa-voiceagent-service/src/plugins/aac-services/aasb/aac-platform/cbl/src/CBLHandler.cpp
dl9pf/alexa-auto-sdk
86916d2d8c1702a8be3c88a9012ca56583bcc0c8
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2018-2019 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "...
35.406393
129
0.654888
dl9pf
92e4306b8a5fc7c904646aa26f8424a0ec5091ef
799
cpp
C++
code/race/solution/racing.sol.cpp
krasznaa/cpluspluscourse
bb2f6c5f112b6b78db80449f4660dda75bf609f2
[ "Apache-2.0" ]
null
null
null
code/race/solution/racing.sol.cpp
krasznaa/cpluspluscourse
bb2f6c5f112b6b78db80449f4660dda75bf609f2
[ "Apache-2.0" ]
null
null
null
code/race/solution/racing.sol.cpp
krasznaa/cpluspluscourse
bb2f6c5f112b6b78db80449f4660dda75bf609f2
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <thread> #include <mutex> /* * This program tries to increment an integer 200 times in two threads. * We fix the race condition by locking a mutex before each increment. */ int main() { int nError = 0; for (int j = 0; j < 1000; j++) { int a = 0; std::mutex aMutex; // ...
19.02381
71
0.516896
krasznaa
92e7559b377adb9470f9ccb982a8782a7aa5163d
1,076
cc
C++
src/warp_map_bilinear/warp_map_bilinear_generator.cc
fixstars/Halide-elements
0e9d1f27628c2626a4f4468fcacac8f71d70f525
[ "MIT" ]
76
2017-10-19T07:16:55.000Z
2022-03-23T00:04:39.000Z
src/warp_map_bilinear/warp_map_bilinear_generator.cc
tufei/Halide-elements
d9354213920441d4d3e1b0757e9354db48c9fbcc
[ "MIT" ]
3
2017-11-17T19:50:38.000Z
2021-08-07T07:39:05.000Z
src/warp_map_bilinear/warp_map_bilinear_generator.cc
tufei/Halide-elements
d9354213920441d4d3e1b0757e9354db48c9fbcc
[ "MIT" ]
15
2017-11-09T18:52:10.000Z
2021-12-11T03:33:23.000Z
#include <cstdint> #include "Halide.h" #include "Element.h" using namespace Halide; using Halide::Element::schedule; template<typename T> class WarpMapBilinear : public Halide::Generator<WarpMapBilinear<T>> { public: ImageParam src0{type_of<T>(), 2, "src0"}; ImageParam src1{type_of<float>(), 2, "src1"}; I...
32.606061
104
0.684944
fixstars
92eb006f07967cf8f11e35ea97f495edce2841c9
962
hpp
C++
src/AttachmentNya.hpp
Akela1101/nya_smtp
6613fd90a335e361471072cd7e958ac9c3940ce3
[ "MIT" ]
1
2015-09-29T12:20:42.000Z
2015-09-29T12:20:42.000Z
src/AttachmentNya.hpp
Akela1101/nya_smtp
6613fd90a335e361471072cd7e958ac9c3940ce3
[ "MIT" ]
null
null
null
src/AttachmentNya.hpp
Akela1101/nya_smtp
6613fd90a335e361471072cd7e958ac9c3940ce3
[ "MIT" ]
null
null
null
#ifndef ATTACHMENTNYA_H #define ATTACHMENTNYA_H #include "CommonMail.hpp" #include <QIODevice> #include <QHash> #include <QByteArray> #include <QStringList> namespace Nya { class Attachment { QByteArray contentType; mutable s_p<QIODevice> content; QHash<QByteArray, QByteArray> extraHeaders; public: Attachment()...
26.722222
97
0.774428
Akela1101
92eee5a17f2abd600bab5ca1cbc276ad3f1be60a
1,395
cpp
C++
tests/static_callable.test.cpp
HuangDave/libembeddedhal
536a0acd9920361cc85c4b2bce0e0c6834ed4719
[ "Apache-2.0" ]
25
2021-11-03T17:53:46.000Z
2022-03-29T00:52:47.000Z
tests/static_callable.test.cpp
HuangDave/libembeddedhal
536a0acd9920361cc85c4b2bce0e0c6834ed4719
[ "Apache-2.0" ]
70
2021-09-17T23:02:24.000Z
2022-03-30T02:30:16.000Z
tests/static_callable.test.cpp
HuangDave/libembeddedhal
536a0acd9920361cc85c4b2bce0e0c6834ed4719
[ "Apache-2.0" ]
5
2022-01-18T03:35:55.000Z
2022-03-20T09:35:40.000Z
#include <boost/ut.hpp> #include <libembeddedhal/static_callable.hpp> namespace embed { boost::ut::suite static_callable_test = []() { using namespace boost::ut; // Setup class dummy_driver {}; "static_callable void(void)"_test = []() { // Setup using callback1_signature = void (*)(void); bool ...
27.352941
66
0.664516
HuangDave
92f038cf12cbcd29310718cdc0ff8b67c9b6a4f3
7,685
cpp
C++
printscan/ui/shellext/src/propset.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
printscan/ui/shellext/src/propset.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
printscan/ui/shellext/src/propset.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/***************************************************************************** * * (C) COPYRIGHT MICROSOFT CORPORATION, 1999 * * TITLE: propset.cpp * * VERSION: 1 * * * DATE: 06/15/1999 * * DESCRIPTION: This code implements the IPropertySetStorage interface * ...
25.114379
127
0.447235
npocmaka
92f1187cbd7ec304bc0c541237d6949e7e72fe75
3,939
hh
C++
src/mmutil_annotate_embedding.hh
YPARK/mmutil
21729fc50ac4cefff58c1b71e8c5740d2045b111
[ "MIT" ]
null
null
null
src/mmutil_annotate_embedding.hh
YPARK/mmutil
21729fc50ac4cefff58c1b71e8c5740d2045b111
[ "MIT" ]
null
null
null
src/mmutil_annotate_embedding.hh
YPARK/mmutil
21729fc50ac4cefff58c1b71e8c5740d2045b111
[ "MIT" ]
null
null
null
#include <getopt.h> #include "mmutil.hh" #include "io.hh" #include "mmutil_embedding.hh" #ifndef MMUTIL_ANNOTATE_EMBEDDING_HH_ #define MMUTIL_ANNOTATE_EMBEDDING_HH_ struct embedding_options_t { using Str = std::string; typedef enum { UNIFORM, CV, MEAN } sampling_method_t; const std::vector<Str> METHOD_N...
28.751825
75
0.475248
YPARK
92f19fedfbad7ade5b9e148509bdae67ac704c43
5,809
cpp
C++
src/ppm.cpp
GhostatSpirit/hdrview
61596f8ba45554db23ae1b214354ab40da065638
[ "MIT" ]
94
2021-04-23T03:31:15.000Z
2022-03-29T08:20:26.000Z
src/ppm.cpp
GhostatSpirit/hdrview
61596f8ba45554db23ae1b214354ab40da065638
[ "MIT" ]
64
2021-05-05T21:51:15.000Z
2022-02-08T17:06:52.000Z
src/ppm.cpp
GhostatSpirit/hdrview
61596f8ba45554db23ae1b214354ab40da065638
[ "MIT" ]
3
2021-07-06T04:58:27.000Z
2022-02-08T16:53:48.000Z
// // Copyright (C) Wojciech Jarosz <wjarosz@gmail.com>. All rights reserved. // Use of this source code is governed by a BSD-style license that can // be found in the LICENSE.txt file. // #include "ppm.h" #include <cmath> #include <cstdio> #include <iostream> #include <stdexcept> #include <string> using namespace st...
29.943299
114
0.542262
GhostatSpirit
92f49b08d0b67c77daad20287e89fd0574fd0434
16,314
cpp
C++
src/graph/executor/test/ProduceSemiShortestPathTest.cpp
heyanlong/nebula
07ccfde198c978b8c86b7091773e3238bfcdf454
[ "Apache-2.0" ]
1
2022-03-09T10:01:13.000Z
2022-03-09T10:01:13.000Z
src/graph/executor/test/ProduceSemiShortestPathTest.cpp
heyanlong/nebula
07ccfde198c978b8c86b7091773e3238bfcdf454
[ "Apache-2.0" ]
1
2021-11-18T02:16:15.000Z
2021-11-18T03:16:57.000Z
src/graph/executor/test/ProduceSemiShortestPathTest.cpp
heyanlong/nebula
07ccfde198c978b8c86b7091773e3238bfcdf454
[ "Apache-2.0" ]
3
2021-11-08T16:21:16.000Z
2021-11-10T06:39:48.000Z
/* Copyright (c) 2020 vesoft inc. All rights reserved. * * This source code is licensed under Apache 2.0 License. */ #include <gtest/gtest.h> #include "graph/context/QueryContext.h" #include "graph/executor/algo/ProduceSemiShortestPathExecutor.h" #include "graph/planner/plan/Algo.h" namespace nebula { namespace g...
31.988235
86
0.567243
heyanlong
92f4c3b7352e774f179677b257a58c2c49d7783a
4,947
hh
C++
tce/src/applibs/ProGe/ProGeScriptGenerator.hh
kanishkan/tce
430e764b4d43f46bd1dc754aeb1d5632fc742110
[ "MIT" ]
74
2015-10-22T15:34:10.000Z
2022-03-25T07:57:23.000Z
tce/src/applibs/ProGe/ProGeScriptGenerator.hh
kanishkan/tce
430e764b4d43f46bd1dc754aeb1d5632fc742110
[ "MIT" ]
79
2015-11-19T09:23:08.000Z
2022-01-12T14:15:16.000Z
tce/src/applibs/ProGe/ProGeScriptGenerator.hh
kanishkan/tce
430e764b4d43f46bd1dc754aeb1d5632fc742110
[ "MIT" ]
38
2015-11-17T10:12:23.000Z
2022-03-25T07:57:24.000Z
/* Copyright (c) 2002-2009 Tampere University. This file is part of TTA-Based Codesign Environment (TCE). 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, ...
31.310127
78
0.695573
kanishkan
92f81a3f201aae9487ca7105f8d1f813eead65b8
4,090
cpp
C++
sources/imgmod/main.cpp
ucpu/qasmint
a25714bca69fc6ce893e9472daf4a1eb03bd56a6
[ "MIT" ]
3
2022-02-12T06:54:20.000Z
2022-02-26T21:54:59.000Z
sources/imgmod/main.cpp
ucpu/qasmint
a25714bca69fc6ce893e9472daf4a1eb03bd56a6
[ "MIT" ]
null
null
null
sources/imgmod/main.cpp
ucpu/qasmint
a25714bca69fc6ce893e9472daf4a1eb03bd56a6
[ "MIT" ]
null
null
null
#include <cage-core/logger.h> #include <cage-core/ini.h> #include <cage-core/config.h> #include <cage-core/files.h> #include <cage-core/image.h> #include <qasm/qasm.h> using namespace qasm; int main(int argc, const char *args[]) { try { Holder<Logger> logger = newLogger(); logger->format.bind<logFormatConsole>...
34.369748
149
0.641565
ucpu
92f8e1f6514e85c5bf42a3993e7f18e326dabcdc
2,120
cpp
C++
Linked_List/Circular_Linked_List/circular_linked_list.cpp
AshishS-1123/Data-Structures
58c36b7f1e0bc72064aac5ff53f96c7df34e52b5
[ "MIT" ]
null
null
null
Linked_List/Circular_Linked_List/circular_linked_list.cpp
AshishS-1123/Data-Structures
58c36b7f1e0bc72064aac5ff53f96c7df34e52b5
[ "MIT" ]
null
null
null
Linked_List/Circular_Linked_List/circular_linked_list.cpp
AshishS-1123/Data-Structures
58c36b7f1e0bc72064aac5ff53f96c7df34e52b5
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; // structure to denote node in list typedef struct node { // member to hold data of node int data; // pointer to next node struct node* next; }node; // a node to point to some element in the list node* start; /* Function: preety_print Desc: utility for printi...
20.784314
63
0.586792
AshishS-1123
92f9ba892087484ba5827bf1cf0cd0e1e6ce6b69
473
cpp
C++
src/behaviours/src/StraightLineBehavior.cpp
BCLab-UNM/SwarmBaseCode-Modular-Public
2061796570baf65deeb74f29444fcaf3b6464aa1
[ "MIT" ]
null
null
null
src/behaviours/src/StraightLineBehavior.cpp
BCLab-UNM/SwarmBaseCode-Modular-Public
2061796570baf65deeb74f29444fcaf3b6464aa1
[ "MIT" ]
null
null
null
src/behaviours/src/StraightLineBehavior.cpp
BCLab-UNM/SwarmBaseCode-Modular-Public
2061796570baf65deeb74f29444fcaf3b6464aa1
[ "MIT" ]
null
null
null
#include "StraightLineBehavior.hpp" #include "Velocity.hpp" StraightLineBehavior::StraightLineBehavior() {} void StraightLineBehavior::Update(const SwarmieSensors& sensors, const SwarmieAction& ll_action) { _action = ll_action; // TODO: guard against waypoint actions if(ll_action.GetVelocity().GetAngularMag...
24.894737
96
0.727273
BCLab-UNM
92fddcb009cb6a3a4adfe664713c50e01256f673
1,666
cc
C++
src/pika_cmd_table_manager.cc
yihaoDeng/pika
7ddc45483c9df05672a118e99844e4dc19552c79
[ "MIT" ]
6
2019-01-11T04:11:33.000Z
2019-12-12T09:01:46.000Z
src/pika_cmd_table_manager.cc
yihaoDeng/pika
7ddc45483c9df05672a118e99844e4dc19552c79
[ "MIT" ]
null
null
null
src/pika_cmd_table_manager.cc
yihaoDeng/pika
7ddc45483c9df05672a118e99844e4dc19552c79
[ "MIT" ]
5
2019-01-11T03:38:00.000Z
2019-12-04T11:08:01.000Z
// Copyright (c) 2018-present, Qihoo, Inc. All rights reserved. // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. An additional grant // of patent rights can be found in the PATENTS file in the same directory. #include "include/pika_cmd...
29.75
78
0.719088
yihaoDeng
1301337f01aafee340f9e4a5c8fe665d85b1e92b
13,052
cpp
C++
sdk/transmission/ipc/standard/src/trans_server_proxy_standard.cpp
openharmony-gitee-mirror/communication_dsoftbus
afae96a6c8674d6ac7de307fccfa2dd205e5bcf6
[ "Apache-2.0" ]
2
2021-11-22T15:58:06.000Z
2021-12-03T13:57:01.000Z
sdk/transmission/ipc/standard/src/trans_server_proxy_standard.cpp
openharmony-gitee-mirror/communication_dsoftbus
afae96a6c8674d6ac7de307fccfa2dd205e5bcf6
[ "Apache-2.0" ]
null
null
null
sdk/transmission/ipc/standard/src/trans_server_proxy_standard.cpp
openharmony-gitee-mirror/communication_dsoftbus
afae96a6c8674d6ac7de307fccfa2dd205e5bcf6
[ "Apache-2.0" ]
4
2021-09-13T11:17:56.000Z
2022-03-31T01:28:33.000Z
/* * Copyright (c) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
36.255556
117
0.689933
openharmony-gitee-mirror
1302950cea1520981d3001bc8f8d5fcc6cf19c5e
110,231
cpp
C++
src/ConEmuHk/SetHook.cpp
Maximus5/git-bug-1
a52853b683dde57cbd29e943299ab46451c542f4
[ "BSD-3-Clause" ]
1
2015-05-08T22:47:13.000Z
2015-05-08T22:47:13.000Z
src/ConEmuHk/SetHook.cpp
Maximus5/git-bug-1
a52853b683dde57cbd29e943299ab46451c542f4
[ "BSD-3-Clause" ]
null
null
null
src/ConEmuHk/SetHook.cpp
Maximus5/git-bug-1
a52853b683dde57cbd29e943299ab46451c542f4
[ "BSD-3-Clause" ]
null
null
null
 /* Copyright (c) 2009-2015 Maximus5 All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the followin...
27.984514
226
0.684435
Maximus5
130398d3495b5d3ce6d79ab0a1f9bcdffb37d82d
7,146
cc
C++
chrome/browser/ui/meegotouch/browser_toolbar_qt.cc
meego-tablet-ux/meego-app-browser
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
[ "BSD-3-Clause" ]
1
2015-10-12T09:14:22.000Z
2015-10-12T09:14:22.000Z
chrome/browser/ui/meegotouch/browser_toolbar_qt.cc
meego-tablet-ux/meego-app-browser
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
[ "BSD-3-Clause" ]
null
null
null
chrome/browser/ui/meegotouch/browser_toolbar_qt.cc
meego-tablet-ux/meego-app-browser
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
[ "BSD-3-Clause" ]
1
2020-11-04T07:22:28.000Z
2020-11-04T07:22:28.000Z
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/meegotouch/browser_toolbar_qt.h" #include "chrome/browser/ui/meegotouch/browser_window_qt.h" #include "chrome/browser/ui/m...
23.82
93
0.737476
meego-tablet-ux
13049abd6de0ff146e5cb53fc3e3ef511415faa8
7,923
cpp
C++
kquotedprintable.cpp
ridgeware/dekaf2
b914d880d1a5b7f5c8f89dedd36b13b7f4b0ee33
[ "MIT" ]
null
null
null
kquotedprintable.cpp
ridgeware/dekaf2
b914d880d1a5b7f5c8f89dedd36b13b7f4b0ee33
[ "MIT" ]
null
null
null
kquotedprintable.cpp
ridgeware/dekaf2
b914d880d1a5b7f5c8f89dedd36b13b7f4b0ee33
[ "MIT" ]
1
2021-08-20T16:15:01.000Z
2021-08-20T16:15:01.000Z
/* // // DEKAF(tm): Lighter, Faster, Smarter(tm) // // Copyright (c) 2017, Ridgeware, Inc. // // +-------------------------------------------------------------------------+ // | /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\| // |/+--------------------------------------------------------------...
28.296429
105
0.441247
ridgeware
1305140acf354adfd6937fa2a62fd7e80801d0da
4,817
cpp
C++
Development/Plugin/Warcraft3/yd_lua_engine/lua_engine/common.cpp
alanoooaao/YDWE
fa9c6dc24d01f78919b5c8b2c69252291536424a
[ "Apache-2.0" ]
2
2021-05-21T11:18:30.000Z
2021-05-24T14:44:34.000Z
Development/Plugin/Warcraft3/yd_lua_engine/lua_engine/common.cpp
alanoooaao/YDWE
fa9c6dc24d01f78919b5c8b2c69252291536424a
[ "Apache-2.0" ]
null
null
null
Development/Plugin/Warcraft3/yd_lua_engine/lua_engine/common.cpp
alanoooaao/YDWE
fa9c6dc24d01f78919b5c8b2c69252291536424a
[ "Apache-2.0" ]
null
null
null
#include "common.h" #include "jassbind.h" #include "class_handle.h" #include "class_array.h" #include "libs_runtime.h" #include <base/warcraft3/hashtable.h> #include <base/warcraft3/war3_searcher.h> #include <base/warcraft3/jass.h> #include <base/warcraft3/jass/trampoline_function.h> #include <base/util/single...
24.085
117
0.637119
alanoooaao
130656ebfd5782d237a2f086194f4ea64f042312
1,994
hpp
C++
Modules-old/freenect2/libfreenect2/frame_listener.hpp
ToyotaResearchInstitute/rad-robot
9a47e4d88382719ab9bf142932fbcc83dcbcd665
[ "MIT" ]
null
null
null
Modules-old/freenect2/libfreenect2/frame_listener.hpp
ToyotaResearchInstitute/rad-robot
9a47e4d88382719ab9bf142932fbcc83dcbcd665
[ "MIT" ]
null
null
null
Modules-old/freenect2/libfreenect2/frame_listener.hpp
ToyotaResearchInstitute/rad-robot
9a47e4d88382719ab9bf142932fbcc83dcbcd665
[ "MIT" ]
2
2018-06-04T12:38:54.000Z
2018-09-22T10:31:27.000Z
/* * This file is part of the OpenKinect Project. http://www.openkinect.org * * Copyright (c) 2014 individual OpenKinect contributors. See the CONTRIB file * for details. * * This code is licensed to you under the terms of the Apache License, version * 2.0, or, at your option, the terms of the GNU General Public...
24.925
78
0.709629
ToyotaResearchInstitute
130db2d01bcc433a4136d339f02a47b3bf3c8c89
5,423
cc
C++
components/policy/core/browser/configuration_policy_pref_store.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/policy/core/browser/configuration_policy_pref_store.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/policy/core/browser/configuration_policy_pref_store.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-01-05T23:43:46.000Z
2021-01-07T23:36:34.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 "components/policy/core/browser/configuration_policy_pref_store.h" #include <string> #include <vector> #include "base/bind.h" #include "bas...
33.067073
80
0.727826
mghgroup
130dbe195be31dbd01aecfe588348a9bdb32a587
4,401
hpp
C++
ROLE/hls/udp_shell_if/test/simu_udp_shell_if_env.hpp
cloudFPGA/cFp_HelloKale
949f8c3005d2824b8bc65345b77ea97bd0b6e692
[ "Apache-2.0" ]
null
null
null
ROLE/hls/udp_shell_if/test/simu_udp_shell_if_env.hpp
cloudFPGA/cFp_HelloKale
949f8c3005d2824b8bc65345b77ea97bd0b6e692
[ "Apache-2.0" ]
6
2022-01-22T10:04:18.000Z
2022-02-01T21:28:19.000Z
ROLE/hls/udp_shell_if/test/simu_udp_shell_if_env.hpp
cloudFPGA/cFp_HelloKale
949f8c3005d2824b8bc65345b77ea97bd0b6e692
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2016 -- 2021 IBM Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
36.983193
87
0.52988
cloudFPGA
130e5e20b9a66a6dcb2494ab4d26aa45b505a623
17
cpp
C++
Directory_Operation_Scripts/Mixed/E.cpp
PRASAD-DANGARE/Python_Automation
178e9728c41aa8ea12c91981152f9a86b9c060ca
[ "MIT" ]
1
2021-07-23T09:44:43.000Z
2021-07-23T09:44:43.000Z
Directory_Operation_Scripts/Mixed/E.cpp
PRASAD-DANGARE/Python_Automation
178e9728c41aa8ea12c91981152f9a86b9c060ca
[ "MIT" ]
null
null
null
Directory_Operation_Scripts/Mixed/E.cpp
PRASAD-DANGARE/Python_Automation
178e9728c41aa8ea12c91981152f9a86b9c060ca
[ "MIT" ]
null
null
null
cout << "Hello";
8.5
16
0.529412
PRASAD-DANGARE
131225564493d521c005ae83f0b3a9a1ebd1edb1
96,834
cpp
C++
src/services/pcn-bridge/src/api/BridgeApi.cpp
mbertrone/polycube
b35a6aa13273c000237d53c5f1bf286f12e4b9bd
[ "ECL-2.0", "Apache-2.0" ]
1
2020-07-16T04:49:29.000Z
2020-07-16T04:49:29.000Z
src/services/pcn-bridge/src/api/BridgeApi.cpp
mbertrone/polycube
b35a6aa13273c000237d53c5f1bf286f12e4b9bd
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/services/pcn-bridge/src/api/BridgeApi.cpp
mbertrone/polycube
b35a6aa13273c000237d53c5f1bf286f12e4b9bd
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/** * bridge API * bridge API generated from bridge.yang * * OpenAPI spec version: 1.0.0 * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git */ /* Do not edit this file manually */ #include "BridgeApi.h" namespace io { namespace swagger...
41.101019
181
0.679988
mbertrone
1312ed1ff18236a2ce4147f4ffda7089fba07bb5
3,908
cpp
C++
install/TexGen/UnitTests/XMLTests.cpp
dalexa10/puma
ca02309c9f5c71e2e80ad8d64155dd6ca936c667
[ "NASA-1.3" ]
14
2021-06-17T17:17:07.000Z
2022-03-26T05:20:20.000Z
install/TexGen/UnitTests/XMLTests.cpp
dalexa10/puma
ca02309c9f5c71e2e80ad8d64155dd6ca936c667
[ "NASA-1.3" ]
6
2021-11-01T20:37:39.000Z
2022-03-11T17:18:53.000Z
install/TexGen/UnitTests/XMLTests.cpp
dalexa10/puma
ca02309c9f5c71e2e80ad8d64155dd6ca936c667
[ "NASA-1.3" ]
8
2021-07-20T09:24:23.000Z
2022-02-26T16:32:00.000Z
/*============================================================================= TexGen: Geometric textile modeller. Copyright (C) 2006 Martin Sherburn 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; ...
24.425
79
0.743347
dalexa10
13160379f3ae6bae62e83f610ee3f43beb4cdab3
1,158
cpp
C++
src/Channel.cpp
Apriluestc/web.d
eaf9bab7f6096f10e104d49d917c318fc5a46e0d
[ "MIT" ]
74
2019-07-29T11:45:33.000Z
2021-08-20T00:08:48.000Z
src/Channel.cpp
Apriluestc/web.d
eaf9bab7f6096f10e104d49d917c318fc5a46e0d
[ "MIT" ]
null
null
null
src/Channel.cpp
Apriluestc/web.d
eaf9bab7f6096f10e104d49d917c318fc5a46e0d
[ "MIT" ]
14
2019-09-04T09:04:02.000Z
2021-08-02T17:08:39.000Z
/********************************************************** * Author : Apriluestc * Email : 13669186256@163.com * Last modified : 2019-07-28 13:24 * Filename : Channel.cpp * Description : 事件和描述符的封装 * 包括文件描述符的获取、设置 * 事件的设置、获取 * 以及读、写、异常、错误事件的分发处理 * ******...
18.983607
60
0.497409
Apriluestc
1317e280190edb91978fe893cfc6b86a8d4920be
7,300
hpp
C++
include/ff/distributed/ff_dreceiver.hpp
gerzin/parallel-cellular-automata
dcaf220fa89e8348486aa17d46a864d6ee64e46d
[ "MIT" ]
null
null
null
include/ff/distributed/ff_dreceiver.hpp
gerzin/parallel-cellular-automata
dcaf220fa89e8348486aa17d46a864d6ee64e46d
[ "MIT" ]
null
null
null
include/ff/distributed/ff_dreceiver.hpp
gerzin/parallel-cellular-automata
dcaf220fa89e8348486aa17d46a864d6ee64e46d
[ "MIT" ]
null
null
null
#ifndef FF_DRECEIVER_H #define FF_DRECEIVER_H #include <iostream> #include <sstream> #include <ff/ff.hpp> #include <ff/distributed/ff_network.hpp> #include <sys/socket.h> #include <sys/un.h> #include <sys/types.h> #include <sys/uio.h> #include <arpa/inet.h> #include <cereal/cereal.hpp> #include <cereal/archives/porta...
31.877729
156
0.528904
gerzin
131a20758fd043b7fe5fb163495c0361ca90b29d
5,312
cpp
C++
ace/tao/orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
46
2015-12-04T17:12:58.000Z
2022-03-11T04:30:49.000Z
ace/tao/orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
null
null
null
ace/tao/orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
23
2016-10-24T09:18:14.000Z
2022-02-25T02:11:35.000Z
// -*- C++ -*- // TAO_Time_Service_Clerk.cpp,v 1.20 2001/03/26 21:17:04 coryan Exp #include "TAO_Time_Service_Clerk.h" #include "TAO_TIO.h" #include "TAO_UTO.h" #include "tao/ORB_Core.h" // Constructor. TAO_Time_Service_Clerk::TAO_Time_Service_Clerk (int timer_value, ...
29.675978
85
0.572666
tharindusathis
131c7c8119834813aeca5fa393e4aa9b9e9352fb
350
cpp
C++
1]. DSA + CP/2]. Competitive Programming/13]. CodeForces/1]. Problem Set/Levels/A/0069) Young Physicist.cpp
geeknarendra/The-Complete-FAANG-Preparation
3ed22719022bc66bd05c5c1ed091fe605e979908
[ "MIT" ]
1
2022-01-26T01:11:10.000Z
2022-01-26T01:11:10.000Z
1]. DSA + CP/2]. Competitive Programming/13]. CodeForces/1]. Problem Set/Levels/A/0069) Young Physicist.cpp
geeknarendra/The-Complete-FAANG-Preparation
3ed22719022bc66bd05c5c1ed091fe605e979908
[ "MIT" ]
null
null
null
1]. DSA + CP/2]. Competitive Programming/13]. CodeForces/1]. Problem Set/Levels/A/0069) Young Physicist.cpp
geeknarendra/The-Complete-FAANG-Preparation
3ed22719022bc66bd05c5c1ed091fe605e979908
[ "MIT" ]
null
null
null
#include <iostream> #include <bits/stdc++.h> using namespace std; int main() { int n ,point , input = 0; cin >> n; while (n > 0){ for(int i = 0 ; i <3 ;i++){ cin>>input; point = point + input; } n--; } if(point == 0){ cout<<"YES...
15.217391
39
0.402857
geeknarendra
131eafafe73796cd97b62318f880e8e98da80e17
235
cpp
C++
expression_test/win/expression_test.cpp
ddf/evaluator
60ed46fd4b59e395605dd7182e7f619ce52fc08a
[ "Zlib" ]
16
2018-02-05T15:01:35.000Z
2022-01-21T10:21:43.000Z
expression_test/win/expression_test.cpp
ddf/evaluator
60ed46fd4b59e395605dd7182e7f619ce52fc08a
[ "Zlib" ]
2
2016-11-15T03:32:43.000Z
2019-04-21T23:11:10.000Z
expression_test/win/expression_test.cpp
ddf/evaluator
60ed46fd4b59e395605dd7182e7f619ce52fc08a
[ "Zlib" ]
3
2018-03-06T01:32:42.000Z
2021-01-27T07:25:37.000Z
// expression_test.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <chrono> #pragma warning(disable:4996) #pragma warning(disable:4146) #include "../../Program.cpp" #include "../main.cpp"
18.076923
77
0.714894
ddf
13207fec8453cb578236e50af99ae43cf26e59cc
5,176
cpp
C++
src/Nazara/Graphics/SlicedSprite.cpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
11
2019-11-27T00:40:43.000Z
2020-01-29T14:31:52.000Z
src/Nazara/Graphics/SlicedSprite.cpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
7
2019-11-27T00:29:08.000Z
2020-01-08T18:53:39.000Z
src/Nazara/Graphics/SlicedSprite.cpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
7
2019-11-27T10:27:40.000Z
2020-01-15T17:43:33.000Z
// Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" // For conditions of distribution and use, see copyright notice in Config.hpp #include <Nazara/Graphics/SlicedSprite.hpp> #include <Nazara/Graphics/BasicMaterial.hpp> #include <Nazara/Graphi...
28.916201
203
0.695131
jayrulez
13230742986a87e5308b881255e4353bfde12556
884
hpp
C++
Framework/Common/PipelineStateManager.hpp
Hengle/GameEngineFromScratch
2c1cce4902fc80d0f55442ad6422508f829f912e
[ "MIT" ]
1,217
2017-08-18T02:41:11.000Z
2022-03-30T01:48:46.000Z
Framework/Common/PipelineStateManager.hpp
gangzi4494/GameEngineFromScratch
2c1cce4902fc80d0f55442ad6422508f829f912e
[ "MIT" ]
16
2017-09-05T15:04:37.000Z
2021-09-09T13:59:38.000Z
Framework/Common/PipelineStateManager.hpp
gangzi4494/GameEngineFromScratch
2c1cce4902fc80d0f55442ad6422508f829f912e
[ "MIT" ]
285
2017-08-18T04:53:55.000Z
2022-03-30T00:02:15.000Z
#include <map> #include "IPipelineStateManager.hpp" namespace My { class PipelineStateManager : _implements_ IPipelineStateManager { public: PipelineStateManager() = default; virtual ~PipelineStateManager(); int Initialize() override; void Finalize() override; void Tick() override {} bool...
27.625
75
0.734163
Hengle
1324c0ab3291680f29249f7e68cbe45480148702
683
cpp
C++
max_diff.cpp
AALEKH/solutions
88abb36641b8ea0c0e13d492b7dc69411ce2795e
[ "MIT" ]
null
null
null
max_diff.cpp
AALEKH/solutions
88abb36641b8ea0c0e13d492b7dc69411ce2795e
[ "MIT" ]
null
null
null
max_diff.cpp
AALEKH/solutions
88abb36641b8ea0c0e13d492b7dc69411ce2795e
[ "MIT" ]
null
null
null
// Maximum Difference between two elements such that smaller number always appear before larger one. // Complexity : O(n) and O(1) in terms of space #include <iostream> #include <vector> int max_diff(std::vector<int> elements) { int max = -10, min = 1000, sm = 2000; for(int i = 0; i < elements.size(); i++) { if(m...
26.269231
100
0.600293
AALEKH
1328669babfe2cc45cf20890d326188aa9410400
1,990
hpp
C++
src/cs-gui/ScreenSpaceGuiArea.hpp
bernstein/cosmoscout-vr
4243384a0f96853dc12fc8e9d5862c9c37f7cadf
[ "MIT" ]
null
null
null
src/cs-gui/ScreenSpaceGuiArea.hpp
bernstein/cosmoscout-vr
4243384a0f96853dc12fc8e9d5862c9c37f7cadf
[ "MIT" ]
null
null
null
src/cs-gui/ScreenSpaceGuiArea.hpp
bernstein/cosmoscout-vr
4243384a0f96853dc12fc8e9d5862c9c37f7cadf
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////////////////////////// // This file is part of CosmoScout VR // // and may be used under the terms of the MIT license. See the LICENSE file for details. // // ...
32.622951
100
0.598995
bernstein
132a036afe04926a94eb42c1bdf7e3d766df16c1
594
hpp
C++
modules/PrimusEditor/source/EditorMap.hpp
DarebacK/Primus
3d8bfe2b1466bf692d2cf9d6dcd9acd9e2625efa
[ "MIT" ]
null
null
null
modules/PrimusEditor/source/EditorMap.hpp
DarebacK/Primus
3d8bfe2b1466bf692d2cf9d6dcd9acd9e2625efa
[ "MIT" ]
null
null
null
modules/PrimusEditor/source/EditorMap.hpp
DarebacK/Primus
3d8bfe2b1466bf692d2cf9d6dcd9acd9e2625efa
[ "MIT" ]
null
null
null
#pragma once #include "Core/Core.hpp" #include "Core/Image.hpp" #include "Primus/Map.hpp" struct Colormap { Image image; }; // Holds data related to map to be used in the editor. struct EditorMap : public Map { int16 heightmapTileXMin = 66; int16 heightmapTileXMax = 70; int16 heightmapTileY...
21.214286
102
0.712121
DarebacK
132a3d777bcb9e34e5aa3ad46643ab4ba9ab9655
407
cc
C++
cses/1090.cc
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
506
2018-08-22T10:30:38.000Z
2022-03-31T10:01:49.000Z
cses/1090.cc
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
13
2019-08-07T18:31:18.000Z
2020-12-15T21:54:41.000Z
cses/1090.cc
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
234
2018-08-06T17:11:41.000Z
2022-03-26T10:56:42.000Z
// https://cses.fi/problemset/task/1090/ #include <algorithm> #include <iostream> #include <vector> using namespace std; int main() { int n, w; cin >> n >> w; vector<int> a(n); for (int i = 0; i < n; i++) cin >> a[i]; sort(a.begin(), a.end()); int i = 0; int j = n - 1; int c = 0; while (i <= j) { ...
16.958333
42
0.479115
Ashindustry007
132b753443e1d4475bc08a149c635bec49733ecc
9,588
hpp
C++
src/liblanelet/lanelet_point.hpp
brand666/liblanelet
252e436ae9f705f8004d86b504be6a5f0c8bcc19
[ "BSD-3-Clause" ]
24
2017-11-29T12:44:44.000Z
2022-03-06T12:45:52.000Z
src/liblanelet/lanelet_point.hpp
brand666/liblanelet
252e436ae9f705f8004d86b504be6a5f0c8bcc19
[ "BSD-3-Clause" ]
3
2018-11-02T09:21:27.000Z
2020-03-16T20:03:17.000Z
src/liblanelet/lanelet_point.hpp
brand666/liblanelet
252e436ae9f705f8004d86b504be6a5f0c8bcc19
[ "BSD-3-Clause" ]
12
2017-10-26T08:42:06.000Z
2022-03-06T12:45:52.000Z
// this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*- // -- BEGIN LICENSE BLOCK ---------------------------------------------- // Copyright (c) 2018, FZI Forschungszentrum Informatik // // Redistribution and use in source and binary forms, with or without modification, are permitted // provided t...
34
176
0.618481
brand666
132c0abf222827a78c779e15a77a5978f342774e
29,723
cpp
C++
src/plugPikiNishimura/Spider.cpp
doldecomp/pikmin
8c8c20721ecb2a19af8e50a4bdebdba90c9a27ed
[ "Unlicense" ]
27
2021-09-28T00:33:11.000Z
2021-11-18T19:38:40.000Z
src/plugPikiNishimura/Spider.cpp
doldecomp/pikmin
8c8c20721ecb2a19af8e50a4bdebdba90c9a27ed
[ "Unlicense" ]
null
null
null
src/plugPikiNishimura/Spider.cpp
doldecomp/pikmin
8c8c20721ecb2a19af8e50a4bdebdba90c9a27ed
[ "Unlicense" ]
null
null
null
#include "types.h" /* * --INFO-- * Address: ........ * Size: 00009C */ void _Error(char*, ...) { // UNUSED FUNCTION } /* * --INFO-- * Address: ........ * Size: 0000F0 */ void _Print(char*, ...) { // UNUSED FUNCTION } /* * --INFO-- * Address: 80152794 * Size: 0009C8 */ SpiderProp::SpiderProp() { /* .l...
22.987626
48
0.459409
doldecomp
132ca133b0ff4c2658fd9fe83df277add8dd6e64
643
hpp
C++
DoremiEngine/Graphic/Include/Interface/Manager/CameraManager.hpp
meraz/doremi
452d08ebd10db50d9563c1cf97699571889ab18f
[ "MIT" ]
1
2020-03-23T15:42:05.000Z
2020-03-23T15:42:05.000Z
DoremiEngine/Graphic/Include/Interface/Manager/CameraManager.hpp
Meraz/ssp15
452d08ebd10db50d9563c1cf97699571889ab18f
[ "MIT" ]
null
null
null
DoremiEngine/Graphic/Include/Interface/Manager/CameraManager.hpp
Meraz/ssp15
452d08ebd10db50d9563c1cf97699571889ab18f
[ "MIT" ]
1
2020-03-23T15:42:06.000Z
2020-03-23T15:42:06.000Z
#pragma once #include <string> #include <DirectXMath.h> namespace DoremiEngine { namespace Graphic { class Camera; /** Builds new cameras and pushes cameras to the GPU */ class CameraManager { public: /** Creates a new Camera from ...
24.730769
88
0.553655
meraz
133148d1843538d811af1bca551d3c5e8334af9a
37
cpp
C++
test/autogen/list@take_back.cpp
jonathanpoelen/jln.mp
e5f05fc4467f14ac0047e3bdc75a04076e689985
[ "MIT" ]
9
2020-07-04T16:46:13.000Z
2022-01-09T21:59:31.000Z
test/autogen/list@take_back.cpp
jonathanpoelen/jln.mp
e5f05fc4467f14ac0047e3bdc75a04076e689985
[ "MIT" ]
null
null
null
test/autogen/list@take_back.cpp
jonathanpoelen/jln.mp
e5f05fc4467f14ac0047e3bdc75a04076e689985
[ "MIT" ]
1
2021-05-23T13:37:40.000Z
2021-05-23T13:37:40.000Z
#include "jln/mp/list/take_back.hpp"
18.5
36
0.756757
jonathanpoelen
1333f5dbe3611b240f862f1623adfd9346383c98
11,112
cpp
C++
genetics/grammar/SpaceShipGrammar.cpp
crest01/ShapeGenetics
7321f6484be668317ad763c0ca5e4d6cbfef8cd1
[ "MIT" ]
18
2017-04-26T13:53:43.000Z
2021-05-29T03:55:27.000Z
genetics/grammar/SpaceShipGrammar.cpp
crest01/ShapeGenetics
7321f6484be668317ad763c0ca5e4d6cbfef8cd1
[ "MIT" ]
null
null
null
genetics/grammar/SpaceShipGrammar.cpp
crest01/ShapeGenetics
7321f6484be668317ad763c0ca5e4d6cbfef8cd1
[ "MIT" ]
2
2017-10-17T10:32:01.000Z
2019-11-11T07:23:54.000Z
/* * SpaceShipGrammar.cpp * * Created on: Nov 2, 2015 * Author: Karl Haubenwallner */ #include <iostream> #include "operators/Generator.impl" #include "operators/ScopeOperators.impl" #include "operators/Resize.impl" #include "operators/Repeat.impl" #include "operators/Subdivide.impl" #include "operators/Com...
32.491228
255
0.687635
crest01
1334b74368c4ff41bcb7911601ff771fd6f913bc
1,030
cpp
C++
leetcode.com/0187 Repeated DNA Sequences/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2020-08-20T11:02:49.000Z
2020-08-20T11:02:49.000Z
leetcode.com/0187 Repeated DNA Sequences/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
null
null
null
leetcode.com/0187 Repeated DNA Sequences/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2022-01-01T23:23:13.000Z
2022-01-01T23:23:13.000Z
#include <iostream> #include <vector> #include <unordered_map> using namespace std; // https://leetcode.com/problems/repeated-dna-sequences/discuss/420527/Easy-Hashmap-bit-manipulation-solution-C%2B%2B class Solution { public: int char_to_bit(char c){ if(c=='A') return 0; if(c=='C') return 1; ...
25.75
117
0.500971
sky-bro
1336aa43e85bceb9b7c089950fe218bfcae5cd27
19,494
cpp
C++
src/Cello/test_Parameters.cpp
aoife-flood/enzo-e
ab8ebc4716fff22bed9f692daf0472ae6ffffe73
[ "BSD-3-Clause" ]
26
2019-02-12T19:39:13.000Z
2022-03-31T01:52:29.000Z
src/Cello/test_Parameters.cpp
aoife-flood/enzo-e
ab8ebc4716fff22bed9f692daf0472ae6ffffe73
[ "BSD-3-Clause" ]
128
2019-02-13T20:22:30.000Z
2022-03-29T20:21:00.000Z
src/Cello/test_Parameters.cpp
aoife-flood/enzo-e
ab8ebc4716fff22bed9f692daf0472ae6ffffe73
[ "BSD-3-Clause" ]
29
2019-02-12T19:37:51.000Z
2022-03-14T14:02:45.000Z
// See LICENSE_CELLO file for license and copyright information /// @file test_Parameters.cpp /// @author James Bordner (jobordner@ucsd.edu) /// @date Thu Feb 21 16:04:03 PST 2008 /// @brief Program implementing unit tests for the Parameters class //--------------------------------------------------------...
32.328358
90
0.546476
aoife-flood
1336f604e5d0695b03d02286099e03b4501adf02
4,924
cpp
C++
Ouroboros/Source/oBase/stringize_hlsl.cpp
jiangzhu1212/oooii
fc00ff81e74adaafd9c98ba7c055f55d95a36e3b
[ "MIT" ]
null
null
null
Ouroboros/Source/oBase/stringize_hlsl.cpp
jiangzhu1212/oooii
fc00ff81e74adaafd9c98ba7c055f55d95a36e3b
[ "MIT" ]
null
null
null
Ouroboros/Source/oBase/stringize_hlsl.cpp
jiangzhu1212/oooii
fc00ff81e74adaafd9c98ba7c055f55d95a36e3b
[ "MIT" ]
null
null
null
// Copyright (c) 2014 Antony Arciuolo. See License.txt regarding use. // This cpp contains implemenations of to_string and from_string for intrinsic // types as well as ouro types. #include <oHLSL/oHLSLMath.h> #include <oString/stringize.h> namespace ouro { bool from_string(float2* _pValue, const char* sr...
55.325843
175
0.662063
jiangzhu1212
133aaa33eb89ce773dd33adadad28c03f1b8edc2
4,881
cpp
C++
Disruptor.PerfTests/TestRepository.cpp
ulricheck/Disruptor-cpp
fd2cef124f5bf2dbbe399137fd69e85844b90a6b
[ "Apache-2.0" ]
250
2017-12-21T15:19:30.000Z
2022-03-30T05:55:24.000Z
Disruptor.PerfTests/TestRepository.cpp
ulricheck/Disruptor-cpp
fd2cef124f5bf2dbbe399137fd69e85844b90a6b
[ "Apache-2.0" ]
14
2018-06-21T22:57:47.000Z
2022-01-26T07:48:47.000Z
Disruptor.PerfTests/TestRepository.cpp
ulricheck/Disruptor-cpp
fd2cef124f5bf2dbbe399137fd69e85844b90a6b
[ "Apache-2.0" ]
84
2018-01-06T13:55:54.000Z
2022-01-20T07:15:55.000Z
#include "stdafx.h" #include "TestRepository.h" #include <boost/algorithm/string.hpp> // Raw #include "OneToOneRawBatchThroughputTest.h" #include "OneToOneRawThroughputTest.h" // Sequenced #include "OneToOneSequencedBatchThroughputTest.h" #include "OneToOneSequencedLongArrayThroughputTest.h" #include "OneToOneSequen...
34.617021
135
0.707642
ulricheck
133c51e766e72feba1686d3c089a7f36daa28a82
185
hpp
C++
lib/log/log.hpp
thorsten-l/ESP8266-OpenHAB-Wifi-Socket
7b7f709b5a5a218202b339f6610b9a4f557ab2c2
[ "Apache-2.0" ]
2
2018-03-01T19:12:30.000Z
2018-03-08T18:31:45.000Z
lib/log/log.hpp
thorsten-l/ESP8266-OpenHAB-Wifi-Socket
7b7f709b5a5a218202b339f6610b9a4f557ab2c2
[ "Apache-2.0" ]
null
null
null
lib/log/log.hpp
thorsten-l/ESP8266-OpenHAB-Wifi-Socket
7b7f709b5a5a218202b339f6610b9a4f557ab2c2
[ "Apache-2.0" ]
null
null
null
#ifndef __LOG_HPP__ #define __LOG_HPP__ #define LOG0( format ) Serial.printf( "(%ld) " format, millis()) #define LOG1( format, x) Serial.printf( "(%ld) " format, millis(), x ) #endif
23.125
70
0.675676
thorsten-l
133cc7ead15c4c65ed0d5419ab92574e9557397e
380
hpp
C++
quicksort.hpp
bottomupmergesort/Quicksort
19d2f57341890a010f4de1f9b19f2319b4e0fffb
[ "MIT" ]
null
null
null
quicksort.hpp
bottomupmergesort/Quicksort
19d2f57341890a010f4de1f9b19f2319b4e0fffb
[ "MIT" ]
null
null
null
quicksort.hpp
bottomupmergesort/Quicksort
19d2f57341890a010f4de1f9b19f2319b4e0fffb
[ "MIT" ]
null
null
null
#ifndef QUICKSORT_HPP #define QUICKSORT_HPP #include "partition.hpp" template <typename T> void quicksort(T a[], int l, int r, int (*piv)(T a[], int l, int r, bool (*cmp)(T& a, T& b)), bool (*cmp)(T& a, T& b)) { if (r > l) { int pivot = piv(a, l, r, cmp); quicksort(a, l, pivot - 1, piv, cmp); ...
23.75
118
0.544737
bottomupmergesort
133eecface7ed1e8e7019196ef11e127d73645d8
1,375
cpp
C++
test/optional/from.cpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
13
2015-02-21T18:35:14.000Z
2019-12-29T14:08:29.000Z
test/optional/from.cpp
cpreh/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
5
2016-08-27T07:35:47.000Z
2019-04-21T10:55:34.000Z
test/optional/from.cpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
8
2015-01-10T09:22:37.000Z
2019-12-01T08:31:12.000Z
// Copyright Carl Philipp Reh 2009 - 2021. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <fcppt/make_ref.hpp> #include <fcppt/catch/begin.hpp> #include <fcppt/catch/end.hpp> #incl...
26.960784
76
0.683636
freundlich
133fb8e1dc755a01fec4f49a740f8b825244e846
454
cpp
C++
MPAGSCipher/CipherFactory.cpp
MPAGS-CPP-2019/mpags-day-5-GarethBird96
2c7bf86a586c0774f57981b02a552af1ecbdcf56
[ "MIT" ]
null
null
null
MPAGSCipher/CipherFactory.cpp
MPAGS-CPP-2019/mpags-day-5-GarethBird96
2c7bf86a586c0774f57981b02a552af1ecbdcf56
[ "MIT" ]
null
null
null
MPAGSCipher/CipherFactory.cpp
MPAGS-CPP-2019/mpags-day-5-GarethBird96
2c7bf86a586c0774f57981b02a552af1ecbdcf56
[ "MIT" ]
1
2019-11-29T09:38:17.000Z
2019-11-29T09:38:17.000Z
#include "CipherFactory.hpp" std::unique_ptr<Cipher> cipherFactory( const CipherType type, const std::string key){ switch(type){ case CipherType::Caesar: return std::make_unique<CaesarCipher>(key); case CipherType::Playfair: return std::make_unique<PlayfairCipher>(key); ...
28.375
85
0.629956
MPAGS-CPP-2019
134119285d8744b3f9fc8ee9ccb4b6c5de2b641f
2,525
cpp
C++
Completed__SceneGraph_version_one/OpenGL_Scene_Node_Implementation_version_one/OpenGL_Starter_Kit/Starter_Class.cpp
CarloAlbino/GameEngineDevelopment2
cc1d8b18eefdfb0abcdfc491bbad51a1438961d2
[ "MIT" ]
null
null
null
Completed__SceneGraph_version_one/OpenGL_Scene_Node_Implementation_version_one/OpenGL_Starter_Kit/Starter_Class.cpp
CarloAlbino/GameEngineDevelopment2
cc1d8b18eefdfb0abcdfc491bbad51a1438961d2
[ "MIT" ]
null
null
null
Completed__SceneGraph_version_one/OpenGL_Scene_Node_Implementation_version_one/OpenGL_Starter_Kit/Starter_Class.cpp
CarloAlbino/GameEngineDevelopment2
cc1d8b18eefdfb0abcdfc491bbad51a1438961d2
[ "MIT" ]
null
null
null
// Includes #include <math.h> #include <ctime> // #include "Primitives.h" #include "CompositeModels.h" //// // Forward declarations void Update(void); void Render(void); void InitializeModels(void); void CalculateDeltaSeconds(void); //// // Global variables time_t g_lastFrameTime; float g_deltaSeconds = 0.01f; const...
19.128788
83
0.690693
CarloAlbino
13428441e34415493c57e96c300426c10b55178f
1,116
cpp
C++
src/prod/src/client/ClientServerTransport/uploadchunkrequest.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/src/client/ClientServerTransport/uploadchunkrequest.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/src/client/ClientServerTransport/uploadchunkrequest.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...
31
171
0.676523
gridgentoo
13438ed201eadec8a63d5c1a892345d34d0bfeb2
739
hpp
C++
B-CPP-300-LYN-3-1-CPPrush3/include/network.hpp
Neotoxic-off/Epitech2024
8b3dd04fa9ac2b7019c0b5b1651975a7252d929b
[ "Apache-2.0" ]
2
2022-02-07T12:44:51.000Z
2022-02-08T12:04:08.000Z
B-CPP-300-LYN-3-1-CPPrush3/include/network.hpp
Neotoxic-off/Epitech2024
8b3dd04fa9ac2b7019c0b5b1651975a7252d929b
[ "Apache-2.0" ]
null
null
null
B-CPP-300-LYN-3-1-CPPrush3/include/network.hpp
Neotoxic-off/Epitech2024
8b3dd04fa9ac2b7019c0b5b1651975a7252d929b
[ "Apache-2.0" ]
1
2022-01-23T21:26:06.000Z
2022-01-23T21:26:06.000Z
/* ** EPITECH PROJECT, 2020 ** B-CPP-300-LYN-3-1-CPPrush3- ** File description: ** network.hpp */ #ifndef _NETWORK_HPP_ #define _NETWORK_HPP_ #include "main.hpp" class network { public: network(); ~network(); void set_WLP(std::string); void set_LO(std...
21.114286
70
0.530447
Neotoxic-off
1344583d723f954d83425f8cbe933db23bd00a2b
35,597
cpp
C++
isis/src/qisis/objs/AdvancedTrackTool/AdvancedTrackTool.cpp
Kelvinrr/ISIS3
6e2df9c22d8d11564c0c3cda5d1606da58af547f
[ "CC0-1.0" ]
null
null
null
isis/src/qisis/objs/AdvancedTrackTool/AdvancedTrackTool.cpp
Kelvinrr/ISIS3
6e2df9c22d8d11564c0c3cda5d1606da58af547f
[ "CC0-1.0" ]
null
null
null
isis/src/qisis/objs/AdvancedTrackTool/AdvancedTrackTool.cpp
Kelvinrr/ISIS3
6e2df9c22d8d11564c0c3cda5d1606da58af547f
[ "CC0-1.0" ]
null
null
null
/** This is free and unencumbered software released into the public domain. The authors of ISIS do not claim copyright on the contents of this file. For more details about the LICENSE terms and the AUTHORS, you will find files of those names at the top level of this repository. **/ /* SPDX-License-Identifier: CC0-1.0...
40.131905
112
0.599657
Kelvinrr
134d2b9693ec58d51aa48cc110876430e7cda0f0
446
cpp
C++
lib/Ntreev.Windows.Forms.Grid/GridRow.cpp
NtreevSoft/GridControl
decb1169d9b230ce93be1f0e96305161f2a8d655
[ "MIT" ]
2
2018-04-30T06:25:37.000Z
2018-05-12T20:29:10.000Z
lib/Ntreev.Windows.Forms.Grid/GridRow.cpp
NtreevSoft/GridControl
decb1169d9b230ce93be1f0e96305161f2a8d655
[ "MIT" ]
null
null
null
lib/Ntreev.Windows.Forms.Grid/GridRow.cpp
NtreevSoft/GridControl
decb1169d9b230ce93be1f0e96305161f2a8d655
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "GridRow.h" #include "NativeGridRow.h" namespace Ntreev { namespace Windows { namespace Forms { namespace Grid { GridRow::GridRow(Native::GrGridRow* pGridRow) : m_pGridRow(pGridRow), RowBase(pGridRow) { } _GridControl^ GridRow::ChildGrid::get() { return...
24.777778
89
0.661435
NtreevSoft
134f667091dd80fc625fcf4521b880bb8c4cd13b
9,169
cpp
C++
src/hal/HAL.cpp
RicoPauli/eeros
3cc2802253c764b16c6368ad7bdaef1e3c683367
[ "Apache-2.0" ]
null
null
null
src/hal/HAL.cpp
RicoPauli/eeros
3cc2802253c764b16c6368ad7bdaef1e3c683367
[ "Apache-2.0" ]
null
null
null
src/hal/HAL.cpp
RicoPauli/eeros
3cc2802253c764b16c6368ad7bdaef1e3c683367
[ "Apache-2.0" ]
null
null
null
#include <eeros/hal/HAL.hpp> #include <eeros/core/Fault.hpp> #include <dlfcn.h> #include <getopt.h> using namespace eeros; using namespace eeros::hal; HAL::HAL() : log('H') { } HAL::HAL(const HAL&) : log('H') { } HAL& HAL::operator=(const HAL&) { } HAL& HAL::instance() { static HAL halInstance; return halInstance...
34.996183
202
0.688625
RicoPauli
13502d61d18808546218ac9b923bdec14ae48b9c
1,794
cpp
C++
ImageCubeTexture.cpp
tdriggs/ETGG2802
fd30a4663bb22eda6f97427d3259d53d93af5071
[ "MIT" ]
null
null
null
ImageCubeTexture.cpp
tdriggs/ETGG2802
fd30a4663bb22eda6f97427d3259d53d93af5071
[ "MIT" ]
null
null
null
ImageCubeTexture.cpp
tdriggs/ETGG2802
fd30a4663bb22eda6f97427d3259d53d93af5071
[ "MIT" ]
null
null
null
#include "ImageCubeTexture.h" ImageCubeTexture::ImageCubeTexture(const vector<string>& filenames) { if (filenames.size() != 6) throw runtime_error("Bad size for filenames"); bind(0); this->size = 0; for (int m = 0; m<6; ++m) { vector<uint8_t> pdata; map<string, int> meta; int w, h; png_read(filenames...
25.267606
87
0.693423
tdriggs
1353697eb8a748bba9b039f92cf47a941ea7aedd
354
hpp
C++
src/Evolution/Systems/GrMhd/ValenciaDivClean/BoundaryConditions/Factory.hpp
macedo22/spectre
97b2b7ae356cf86830258cb5f689f1191fdb6ddd
[ "MIT" ]
1
2018-10-01T06:07:16.000Z
2018-10-01T06:07:16.000Z
src/Evolution/Systems/GrMhd/ValenciaDivClean/BoundaryConditions/Factory.hpp
macedo22/spectre
97b2b7ae356cf86830258cb5f689f1191fdb6ddd
[ "MIT" ]
4
2018-06-04T20:26:40.000Z
2018-07-27T14:54:55.000Z
src/Evolution/Systems/GrMhd/ValenciaDivClean/BoundaryConditions/Factory.hpp
macedo22/spectre
97b2b7ae356cf86830258cb5f689f1191fdb6ddd
[ "MIT" ]
null
null
null
// Distributed under the MIT License. // See LICENSE.txt for details. #pragma once #include "Evolution/Systems/GrMhd/ValenciaDivClean/BoundaryConditions/BoundaryCondition.hpp" #include "Evolution/Systems/GrMhd/ValenciaDivClean/BoundaryConditions/DirichletAnalytic.hpp" #include "Evolution/Systems/GrMhd/ValenciaDivClea...
39.333333
92
0.841808
macedo22
1357b814f8585a2bea089cef99b2afcb72ad9ed4
16,143
cpp
C++
src/optimizer/optimizer.cpp
rntlqvnf/peloton
23bdfa6fa3c02c7bad0182b0aa7ddd8cc99ab872
[ "Apache-2.0" ]
null
null
null
src/optimizer/optimizer.cpp
rntlqvnf/peloton
23bdfa6fa3c02c7bad0182b0aa7ddd8cc99ab872
[ "Apache-2.0" ]
null
null
null
src/optimizer/optimizer.cpp
rntlqvnf/peloton
23bdfa6fa3c02c7bad0182b0aa7ddd8cc99ab872
[ "Apache-2.0" ]
null
null
null
//===----------------------------------------------------------------------===// // // Peloton // // optimizer.cpp // // Identification: src/optimizer/optimizer.cpp // // Copyright (c) 2015-16, Carnegie Mellon University Database Group // //===----------------------------------------------------...
38.253555
80
0.70018
rntlqvnf
1357d44339ada7f10cf9335bf6f5a498e47c6944
8,830
cpp
C++
workshop11/translator.cpp
raymondsim/Computer-System
0b4de4d55157d92e64cae4af048933e39cb09c1f
[ "MIT" ]
null
null
null
workshop11/translator.cpp
raymondsim/Computer-System
0b4de4d55157d92e64cae4af048933e39cb09c1f
[ "MIT" ]
null
null
null
workshop11/translator.cpp
raymondsim/Computer-System
0b4de4d55157d92e64cae4af048933e39cb09c1f
[ "MIT" ]
null
null
null
#include "iobuffer.h" #include "symbols.h" #include "abstract-syntax-tree.h" using namespace std ; using namespace CS_IO_Buffers ; using namespace CS_Symbol_Tables ; using namespace Workshop_Compiler ; // ignore unused-function warnings in this source file #pragma clang diagnostic ignored "-Wunused-function" // kee...
25.818713
95
0.648471
raymondsim
13588cd320048959df57a64a854159f42709ed18
578
cpp
C++
LGPOperators/LGPOperator_Division.cpp
chen0040/cpp-linear-genetic-programming
8b0bc8701110af0b7506546e527bd03f57d972fe
[ "MIT" ]
3
2018-01-09T06:03:23.000Z
2020-12-29T20:09:44.000Z
LGPOperators/LGPOperator_Division.cpp
chen0040/cpp-linear-genetic-programming
8b0bc8701110af0b7506546e527bd03f57d972fe
[ "MIT" ]
1
2017-11-15T04:24:43.000Z
2017-11-18T02:17:12.000Z
LGPOperators/LGPOperator_Division.cpp
chen0040/cpp-linear-genetic-programming
8b0bc8701110af0b7506546e527bd03f57d972fe
[ "MIT" ]
2
2017-09-17T04:24:24.000Z
2020-01-29T05:35:49.000Z
#include "LGPOperator_Division.h" #include "../LGPConstants/LGPProtectedDefinition.h" LGPOperator_Division::LGPOperator_Division() : LGPOperator("/") { } LGPOperator_Division::~LGPOperator_Division() { } int LGPOperator_Division::Execute(const LGPRegister* operand1, const LGPRegister* operand2, LGPRegister* destin...
21.407407
126
0.768166
chen0040
1358c027fd241943d2d4940191d014559b6cdedb
723
cpp
C++
Codeforces/ProblemSet/489C.cpp
Binary-bug/CP
f9f356d36bd252c71ee3ed2d0585cc372f2baf5e
[ "MIT" ]
null
null
null
Codeforces/ProblemSet/489C.cpp
Binary-bug/CP
f9f356d36bd252c71ee3ed2d0585cc372f2baf5e
[ "MIT" ]
null
null
null
Codeforces/ProblemSet/489C.cpp
Binary-bug/CP
f9f356d36bd252c71ee3ed2d0585cc372f2baf5e
[ "MIT" ]
null
null
null
//'''This code is from after reading tutorial''' #include<iostream> #include<vector> #include<string> #include<algorithm> using namespace std; bool can(int m,int s){ return s >=0 && s <= 9*m; } int main(){ int a,b,c,d,i,m,s; cin >> m >> s; string minn; a = s; for(i=0 ; i < m; i++){ for(d=0; d < 10; d++){ ...
15.0625
62
0.453665
Binary-bug
13618be9f365b65ad584ba2d5f342c91624a25b1
750
cpp
C++
closest-binary-search-tree-value/solution-0.cpp
tsenmu/leetcode
6f6d11dec4e5ee0fbc0c59fd6fa97b2c556e05ee
[ "Apache-2.0" ]
null
null
null
closest-binary-search-tree-value/solution-0.cpp
tsenmu/leetcode
6f6d11dec4e5ee0fbc0c59fd6fa97b2c556e05ee
[ "Apache-2.0" ]
null
null
null
closest-binary-search-tree-value/solution-0.cpp
tsenmu/leetcode
6f6d11dec4e5ee0fbc0c59fd6fa97b2c556e05ee
[ "Apache-2.0" ]
null
null
null
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: int closestValue(TreeNode* root, double target) { double diff = target - root->val; ...
31.25
79
0.545333
tsenmu
1361d73e414a7eb886e778b7ec7d7616f15662f4
97
cc
C++
day23/main.cc
fniksic/adventofcode
ac09d08bea149f2aab353be2aa0ed16bf3fc47fa
[ "MIT" ]
null
null
null
day23/main.cc
fniksic/adventofcode
ac09d08bea149f2aab353be2aa0ed16bf3fc47fa
[ "MIT" ]
null
null
null
day23/main.cc
fniksic/adventofcode
ac09d08bea149f2aab353be2aa0ed16bf3fc47fa
[ "MIT" ]
null
null
null
#include <iostream> #include "day23.h" int main() { day23(std::cin, std::cout); return 0; }
12.125
29
0.618557
fniksic
1361ec821c5d44ab4679467069b90fd421660b6a
2,416
cpp
C++
src/property/pvAlarm.cpp
hir12111/pvDataCPP
d12571b4cdaaf8010b2e11e04905fde85b287299
[ "MIT" ]
null
null
null
src/property/pvAlarm.cpp
hir12111/pvDataCPP
d12571b4cdaaf8010b2e11e04905fde85b287299
[ "MIT" ]
null
null
null
src/property/pvAlarm.cpp
hir12111/pvDataCPP
d12571b4cdaaf8010b2e11e04905fde85b287299
[ "MIT" ]
null
null
null
/* pvAlarm.cpp */ /* * Copyright information and license terms for this software can be * found in the file LICENSE that is included with the distribution */ /** * @author mrk */ #include <string> #include <stdexcept> #define epicsExportSharedSymbols #include <pv/pvType.h> #include <pv/pvIntrospect.h> #include <...
24.907216
75
0.66101
hir12111
13647431df0d0e33c3f278fa19c5923de23b3073
6,245
cpp
C++
src/States/LoadState.cpp
thibautcornolti/IndieStudio
1d0b76b1ca7b4e35b7c9d251fdb3f7ff96debfd7
[ "MIT" ]
null
null
null
src/States/LoadState.cpp
thibautcornolti/IndieStudio
1d0b76b1ca7b4e35b7c9d251fdb3f7ff96debfd7
[ "MIT" ]
null
null
null
src/States/LoadState.cpp
thibautcornolti/IndieStudio
1d0b76b1ca7b4e35b7c9d251fdb3f7ff96debfd7
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2018 ** bomberman ** File description: ** LoadState.cpp */ #ifdef __linux__ #include <glob.h> #elif _WIN32 #include <windows.h> #endif #include "../../include/States/LoadState.hpp" #include "../../include/Singletons/StateMachine.hpp" #include "../../include/Singletons/IrrManager.hpp" #include "....
22.959559
86
0.651241
thibautcornolti
1365abbfb679234773f5cd66886d8e2ba8ad6c76
1,049
cpp
C++
contest/1407/b/b2.cpp
GoatGirl98/cf
4077ca8e0fe29dc2bbb7b60166989857cc062e17
[ "MIT" ]
null
null
null
contest/1407/b/b2.cpp
GoatGirl98/cf
4077ca8e0fe29dc2bbb7b60166989857cc062e17
[ "MIT" ]
null
null
null
contest/1407/b/b2.cpp
GoatGirl98/cf
4077ca8e0fe29dc2bbb7b60166989857cc062e17
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define watch(x) std::cout << (#x) << " is " << (x) << std::endl #define print(x) std::cout << (x) << std::endl using LL = long long; int main() { //freopen("in", "r", stdin); std::cin.tie(nullptr)->sync_with_stdio(false); int cas; std::cin >> cas; while (cas--) { int n; std::cin >> ...
24.97619
66
0.468065
GoatGirl98
13674626a7fb2e173d738ed72266a3b6fb0e5872
6,963
cpp
C++
src/string_utils.cpp
sweetkristas/anura
5e8cbcfc7b761c5c01e5c5509a0fb159b8fb60cd
[ "CC0-1.0" ]
null
null
null
src/string_utils.cpp
sweetkristas/anura
5e8cbcfc7b761c5c01e5c5509a0fb159b8fb60cd
[ "CC0-1.0" ]
null
null
null
src/string_utils.cpp
sweetkristas/anura
5e8cbcfc7b761c5c01e5c5509a0fb159b8fb60cd
[ "CC0-1.0" ]
null
null
null
/* Copyright (C) 2003-2013 by David White <davewx7@gmail.com> 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 of the License, or (at your option) any later version....
19.951289
155
0.648571
sweetkristas
1367e9d59b01776daa3604a820132a84b69951dd
3,930
cc
C++
ext/candc/src/lib/io/reader_multi_horiz.cc
TeamSPoon/logicmoo_nlu
5c3e5013a3048da7d68a8a43476ad84d3ea4bb47
[ "MIT" ]
6
2020-01-27T12:08:02.000Z
2020-02-28T19:30:28.000Z
pack/logicmoo_nlu/prolog/candc/src/lib/io/reader_multi_horiz.cc
logicmoo/old_logicmoo_workspace
44025b6e389e2f2f7d86b46c1301cab0604bba26
[ "MIT" ]
2
2017-03-13T02:56:09.000Z
2019-07-27T02:47:29.000Z
ext/candc/src/lib/io/reader_multi_horiz.cc
TeamSPoon/logicmoo_nlu
5c3e5013a3048da7d68a8a43476ad84d3ea4bb47
[ "MIT" ]
1
2020-11-25T06:09:33.000Z
2020-11-25T06:09:33.000Z
// C&C NLP tools // Copyright (c) Universities of Edinburgh, Oxford and Sydney // Copyright (c) James R. Curran // // This software is covered by a non-commercial use licence. // See LICENCE.txt for the full text of the licence. // // If LICENCE.txt is not included in this distribution // please email candc@it.usyd.edu...
29.772727
102
0.59771
TeamSPoon
136cb002fcf18db52a3301f4640947a991159b3f
9,051
cpp
C++
src/Examples/BillboardedSprite/BillboardedSpriteExample.cpp
wrld3d/eegeo-sdk-samples
eb1a1e4d4b7d3eb79ad454cc5a09d1847018269d
[ "BSD-2-Clause" ]
11
2017-06-26T08:59:03.000Z
2021-09-28T13:12:22.000Z
src/Examples/BillboardedSprite/BillboardedSpriteExample.cpp
wrld3d/eegeo-sdk-samples
eb1a1e4d4b7d3eb79ad454cc5a09d1847018269d
[ "BSD-2-Clause" ]
4
2016-07-09T14:54:22.000Z
2017-04-26T14:02:53.000Z
src/Examples/BillboardedSprite/BillboardedSpriteExample.cpp
wrld3d/eegeo-sdk-samples
eb1a1e4d4b7d3eb79ad454cc5a09d1847018269d
[ "BSD-2-Clause" ]
9
2016-04-08T03:43:13.000Z
2016-12-12T02:07:49.000Z
#include "BillboardedSpriteExample.h" #include "BatchedSpriteRenderable.h" #include "BatchedSpriteShader.h" #include "BatchedSpriteMaterial.h" #include "RenderingModule.h" #include "ShaderIdGenerator.h" #include "MaterialIdGenerator.h" #include "VertexLayoutPool.h" #include "VertexBindingPool.h" #include "RenderableF...
52.622093
163
0.596067
wrld3d
1370cbb219e5f0117e1fad56afdfdb8db4f3e237
3,282
cpp
C++
Zinc/src/Core/Main.cpp
DragonJT/Zinc
f76ca4f292c30c7c6e1313d3b656f9f1cac972bf
[ "Apache-2.0" ]
null
null
null
Zinc/src/Core/Main.cpp
DragonJT/Zinc
f76ca4f292c30c7c6e1313d3b656f9f1cac972bf
[ "Apache-2.0" ]
null
null
null
Zinc/src/Core/Main.cpp
DragonJT/Zinc
f76ca4f292c30c7c6e1313d3b656f9f1cac972bf
[ "Apache-2.0" ]
null
null
null
#include "Main.h" #include "Log.h" #include <glad/glad.h> #include "imgui.h" #include "imgui_impl_glfw.h" #include "imgui_impl_opengl3.h" #include "Layers.h" #include "Box2DLayer.h" #include "FirstTriangleLayer.h" #include "Core\Input.h" int main() { float lastTimeFrame = 0; Zinc::Log::Init(); ZINC_CORE_WARN("Init...
29.836364
133
0.736746
DragonJT
137135179aa583b819fa292e3e9c01b82b0e3393
5,427
hpp
C++
SPS-Variants/tsf/tsf/rgsmanager.hpp
RapidsAtHKUST/SimRank
3a601b08f9a3c281e2b36b914e06aba3a3a36118
[ "MIT" ]
8
2020-04-14T23:17:00.000Z
2021-06-21T12:34:04.000Z
SPS-Variants/tsf/tsf/rgsmanager.hpp
RapidsAtHKUST/SimRank
3a601b08f9a3c281e2b36b914e06aba3a3a36118
[ "MIT" ]
null
null
null
SPS-Variants/tsf/tsf/rgsmanager.hpp
RapidsAtHKUST/SimRank
3a601b08f9a3c281e2b36b914e06aba3a3a36118
[ "MIT" ]
1
2021-01-17T16:26:50.000Z
2021-01-17T16:26:50.000Z
#ifndef __RGSMANAGER_H__ #define __RGSMANAGER_H__ #include <cmath> #include <map> #include <algorithm> #include "rsamplegraph.hpp" #include "simrankvalue.hpp" #include "../util/mytime.h" using namespace std; class RGSManager { public: RGSManager(int sn, int mvid, bool isfm) : sampl...
33.708075
121
0.418832
RapidsAtHKUST
13734d1e1e53785cb219edad331049fe97eae7b1
10,541
cpp
C++
src/AppInstallerRepositoryCore/Rest/Schema/1_0/Interface.cpp
sarvex/winget-cli
e03eb11c81fc1c559ac01572d00c5ea58bb03974
[ "MIT" ]
2
2021-06-09T01:20:23.000Z
2021-06-10T00:53:39.000Z
src/AppInstallerRepositoryCore/Rest/Schema/1_0/Interface.cpp
pseudo-windows/winget-cli
12f100c7920c0d971fbcdd8279f4162b132a18cb
[ "MIT" ]
1
2021-02-05T02:43:54.000Z
2021-02-05T02:43:54.000Z
src/AppInstallerRepositoryCore/Rest/Schema/1_0/Interface.cpp
pseudo-windows/winget-cli
12f100c7920c0d971fbcdd8279f4162b132a18cb
[ "MIT" ]
6
2020-05-25T04:35:53.000Z
2021-03-30T01:57:17.000Z
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #include "pch.h" #include "Rest/Schema/1_0/Interface.h" #include "Rest/Schema/IRestClient.h" #include "Rest/HttpClientHelper.h" #include "Rest/Schema/JsonHelper.h" #include "winget/ManifestValidation.h" #include "Rest/Schema/RestHelper.h...
41.996016
172
0.629447
sarvex
13735ee477db0faeaa68db3aaa223f05e78889cb
13,509
hpp
C++
tests/helics/application_api/ValueFederateTestTemplates.hpp
corinnegroth/HELICS
b8eda371b081a7d391d019c14bba5cf5042ae590
[ "BSD-3-Clause" ]
null
null
null
tests/helics/application_api/ValueFederateTestTemplates.hpp
corinnegroth/HELICS
b8eda371b081a7d391d019c14bba5cf5042ae590
[ "BSD-3-Clause" ]
null
null
null
tests/helics/application_api/ValueFederateTestTemplates.hpp
corinnegroth/HELICS
b8eda371b081a7d391d019c14bba5cf5042ae590
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2017-2020, Battelle Memorial Institute; Lawrence Livermore National Security, LLC; Alliance for Sustainable Energy, LLC. See the top-level NOTICE for additional details. All rights reserved. SPDX-License-Identifier: BSD-3-Clause */ #pragma once #include "helics/application_api/Publications.hpp" #incl...
29.114224
114
0.6717
corinnegroth
1376203b3e543d90650b383202db7efd815ac8b5
6,523
cpp
C++
src/unity/toolkits/ml_data_2/row_slicing_utilities.cpp
shreyasvj25/turicreate
32e84ca16aef8d04aff3d49ae9984bd49326bffd
[ "BSD-3-Clause" ]
1
2018-12-15T20:03:51.000Z
2018-12-15T20:03:51.000Z
src/unity/toolkits/ml_data_2/row_slicing_utilities.cpp
shreyasvj25/turicreate
32e84ca16aef8d04aff3d49ae9984bd49326bffd
[ "BSD-3-Clause" ]
1
2018-12-11T10:37:10.000Z
2018-12-11T10:37:10.000Z
src/unity/toolkits/ml_data_2/row_slicing_utilities.cpp
shreyasvj25/turicreate
32e84ca16aef8d04aff3d49ae9984bd49326bffd
[ "BSD-3-Clause" ]
1
2019-06-01T18:49:28.000Z
2019-06-01T18:49:28.000Z
/* Copyright © 2017 Apple Inc. All rights reserved. * * Use of this source code is governed by a BSD-3-clause license that can * be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause */ #include <unity/toolkits/ml_data_2/row_slicing_utilities.hpp> #include <logger/assertions.hpp> #incl...
31.360577
108
0.676683
shreyasvj25
1376a613e70c699d3bcf53a8db7debf8f5c5050a
1,616
hpp
C++
include/universal/number/decimal/math/sqrt.hpp
FloEdelmann/universal
c5b83f251ad91229399b7f97e4eeefcf718819d4
[ "MIT" ]
null
null
null
include/universal/number/decimal/math/sqrt.hpp
FloEdelmann/universal
c5b83f251ad91229399b7f97e4eeefcf718819d4
[ "MIT" ]
null
null
null
include/universal/number/decimal/math/sqrt.hpp
FloEdelmann/universal
c5b83f251ad91229399b7f97e4eeefcf718819d4
[ "MIT" ]
null
null
null
#pragma once // sqrt.hpp: sqrt functions for decimals // // Copyright (C) 2017-2021 Stillwater Supercomputing, Inc. // // This file is part of the universal numbers project, which is released under an MIT Open Source license. #include <universal/native/ieee754.hpp> #include <universal/number/decimal/numeric_limits.hpp>...
26.491803
106
0.631807
FloEdelmann
137a09c0cb887244c39f387501118f6858253fd5
142
cpp
C++
src/framework/library1.cpp
BalderOdinson/kalman-cuda
b2d9979b7ff5bfb481c95c9a38139ec5f7fd9331
[ "MIT" ]
1
2021-07-31T15:53:53.000Z
2021-07-31T15:53:53.000Z
src/framework/library1.cpp
BalderOdinson/kalman-cuda
b2d9979b7ff5bfb481c95c9a38139ec5f7fd9331
[ "MIT" ]
null
null
null
src/framework/library1.cpp
BalderOdinson/kalman-cuda
b2d9979b7ff5bfb481c95c9a38139ec5f7fd9331
[ "MIT" ]
1
2021-07-31T15:53:59.000Z
2021-07-31T15:53:59.000Z
#include "library1.hpp" #include "library2/library2.hpp" #include <cstdio> void hello_world() { printf("Hello World"); new_line(); }
15.777778
32
0.676056
BalderOdinson
137d3514d48dc026fc167de562323c1c7da50196
2,436
cpp
C++
CMSIS/DSP/SDFTools/examples/example6/generated/scheduler.cpp
DavidLesnjak/CMSIS_5
e0848410d137758a3356a5ee94ca4501cea708a8
[ "Apache-2.0" ]
2,293
2016-02-25T06:47:33.000Z
2022-03-29T16:44:02.000Z
CMSIS/DSP/SDFTools/examples/example6/generated/scheduler.cpp
DavidLesnjak/CMSIS_5
e0848410d137758a3356a5ee94ca4501cea708a8
[ "Apache-2.0" ]
1,125
2016-02-27T09:56:01.000Z
2022-03-31T13:57:05.000Z
CMSIS/DSP/SDFTools/examples/example6/generated/scheduler.cpp
DavidLesnjak/CMSIS_5
e0848410d137758a3356a5ee94ca4501cea708a8
[ "Apache-2.0" ]
1,160
2016-02-27T09:06:10.000Z
2022-03-31T19:06:24.000Z
/* Generated with CMSIS-DSP SDF Scripts. The generated code is not covered by CMSIS-DSP license. The support classes and code is covered by CMSIS-DSP license. */ #include "arm_math.h" #include "custom.h" #include "GenericNodes.h" #include "AppNodes.h" #include "scheduler.h" /*********** FIFO buffers ***********...
22.555556
66
0.633005
DavidLesnjak
13835e1be5cbc376d80aa3ae1000cabecfae8863
899
cpp
C++
code/midpoint_circle.cpp
VishalGupta0609/algorithms
1dd704a8e8c8e96aeaa43928258e806da3192a6c
[ "MIT" ]
2
2020-10-28T15:02:41.000Z
2021-10-02T13:18:24.000Z
code/midpoint_circle.cpp
VishalGupta0609/algorithms
1dd704a8e8c8e96aeaa43928258e806da3192a6c
[ "MIT" ]
4
2020-10-07T05:59:13.000Z
2021-10-02T08:01:27.000Z
code/midpoint_circle.cpp
VishalGupta0609/algorithms
1dd704a8e8c8e96aeaa43928258e806da3192a6c
[ "MIT" ]
51
2020-10-01T03:07:30.000Z
2021-10-05T16:25:22.000Z
//Mid Point Circle Drawing Algorithm #include<iostream> #include<graphics.h> #include<conio.h> #include<stdlib.h> #include<stdio.h> using namespace std; void symPlot(int xc, int yc, int x, int y) { putpixel(x+xc,y+yc,RED); putpixel(x+xc,-y+yc,YELLOW); putpixel(-x+xc,-y+yc,GREEN); putpixel(-x+xc,y+yc,...
17.627451
44
0.571746
VishalGupta0609
1383e6fe074288fe9a2042fd4bc6e29ad0a6653e
194
cpp
C++
abc053_a.cpp
hakatashi/procon
254d0df4365b815c88e71cb3b4adb4c4bd7ea263
[ "MIT" ]
2
2019-06-28T04:54:47.000Z
2020-02-25T08:39:19.000Z
abc053_a.cpp
hakatashi/procon
254d0df4365b815c88e71cb3b4adb4c4bd7ea263
[ "MIT" ]
null
null
null
abc053_a.cpp
hakatashi/procon
254d0df4365b815c88e71cb3b4adb4c4bd7ea263
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(int argc, char const *argv[]) { int N; cin >> N; if (N < 1200) { cout << "ABC" << endl; } else { cout << "ARC" << endl; } return 0; }
14.923077
40
0.551546
hakatashi
13855053e1f8caae95cbd9e531cd093b9c4dabc0
763
cpp
C++
04-Sorting/InversionCount.cpp
alpha-neutr0n/C-plus-plus-Algorithms
838a2d4d6abe524b2be5ad85f6bd76ea565f3096
[ "MIT" ]
null
null
null
04-Sorting/InversionCount.cpp
alpha-neutr0n/C-plus-plus-Algorithms
838a2d4d6abe524b2be5ad85f6bd76ea565f3096
[ "MIT" ]
null
null
null
04-Sorting/InversionCount.cpp
alpha-neutr0n/C-plus-plus-Algorithms
838a2d4d6abe524b2be5ad85f6bd76ea565f3096
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int merge(int *a, int s, int e){ int mid= (s+e)/2; int i=s; int j=mid+1; int k=s; int temp[1000]; int cnt=0; while(i<=mid and j<=e){ if(a[i]<=a[j]){ temp[k++]=a[i++]; } else{ temp[k++]=a[i++]; cnt+= mid-i+1; } } while(i<=mid){ temp...
16.586957
43
0.503277
alpha-neutr0n
138558479437968fdc997651caa726335995032f
298
cc
C++
src/swerc2018/11231.cc
chq-matteo/uva-oj
d0210a77711ad39c340f8321a8cbdc73e49d283f
[ "MIT" ]
1
2020-03-15T08:12:31.000Z
2020-03-15T08:12:31.000Z
src/swerc2018/11231.cc
chq-matteo/uva-oj
d0210a77711ad39c340f8321a8cbdc73e49d283f
[ "MIT" ]
null
null
null
src/swerc2018/11231.cc
chq-matteo/uva-oj
d0210a77711ad39c340f8321a8cbdc73e49d283f
[ "MIT" ]
null
null
null
// 11231 Black and white painting finding patterns harder // focus on the lower left tile #include <iostream> using namespace std; int main() { int n, m, c; while (cin >> n >> m >> c and n + m + c) { cout << ((n - 7) * (m - 7) / 2 + ((((n - 7) * (m - 7)) % 2) & c)) << '\n'; } }
29.8
82
0.496644
chq-matteo
13868b21220037ba8818a86835951a0d278ef5b8
723
cpp
C++
GumpEditor-0.32/GumpPaperdoll.cpp
zerodowned/Iris1_DeveloperTools
0b5510bb46824d8939846f73c7e63ed7eecf827d
[ "DOC" ]
1
2019-02-08T18:03:28.000Z
2019-02-08T18:03:28.000Z
GumpEditor-0.32/GumpPaperdoll.cpp
SiENcE/Iris1_DeveloperTools
0b5510bb46824d8939846f73c7e63ed7eecf827d
[ "DOC" ]
null
null
null
GumpEditor-0.32/GumpPaperdoll.cpp
SiENcE/Iris1_DeveloperTools
0b5510bb46824d8939846f73c7e63ed7eecf827d
[ "DOC" ]
7
2015-03-11T22:06:23.000Z
2019-12-21T09:49:57.000Z
#include "StdAfx.h" #include "GumpEditor.h" #include ".\gumppaperdoll.h" CGumpPaperdoll::CGumpPaperdoll(CGumpPtr pGump) : CGumpPicture(NULL) { SetGump(pGump); SetTitle("paperdoll"); SetType("paperdoll"); CString strName; strName.Format("paperdoll_%x", pGump ? pGump->GetGumpID() : 0); SetName(strName); //Ad...
16.813953
67
0.706777
zerodowned
13874a6193532cee306237b7ae3d1b9c558bd8ad
50
cpp
C++
test/units/detail/basic_unit_cmp.cpp
mfkiwl/marnav
53a1c987bf72d48df134c12dd1edc44d7f230921
[ "BSD-4-Clause" ]
62
2015-07-20T03:24:21.000Z
2022-03-30T10:39:24.000Z
test/units/detail/basic_unit_cmp.cpp
mfkiwl/marnav
53a1c987bf72d48df134c12dd1edc44d7f230921
[ "BSD-4-Clause" ]
37
2016-03-30T05:38:32.000Z
2021-12-26T18:11:38.000Z
test/units/detail/basic_unit_cmp.cpp
mfkiwl/marnav
53a1c987bf72d48df134c12dd1edc44d7f230921
[ "BSD-4-Clause" ]
39
2015-07-20T03:15:44.000Z
2022-02-03T07:32:23.000Z
#include <marnav/units/detail/basic_unit_cmp.hpp>
25
49
0.82
mfkiwl