hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
0f7a3181e6e8633f29872134329182743762646a
5,267
cpp
C++
NetworkRelay/Remote.cpp
deb0ch/R-Type
8bb37cd5ec318efb97119afb87d4996f6bb7644e
[ "WTFPL" ]
5
2016-03-15T20:14:10.000Z
2020-10-30T23:56:24.000Z
NetworkRelay/Remote.cpp
deb0ch/R-Type
8bb37cd5ec318efb97119afb87d4996f6bb7644e
[ "WTFPL" ]
3
2018-12-19T19:12:44.000Z
2020-04-02T13:07:00.000Z
NetworkRelay/Remote.cpp
deb0ch/R-Type
8bb37cd5ec318efb97119afb87d4996f6bb7644e
[ "WTFPL" ]
2
2016-04-11T19:29:28.000Z
2021-11-26T20:53:22.000Z
#include <cstring> #include "Remote.hh" #include "INetworkRelay.hh" #include "Unistd.hh" #include "TCPException.hh" #include "LockGuard.hpp" Remote::Remote(ISocketTCP &socket, unsigned int hash) : _temporary_tcp_buffer(4096) { this->_ready = false; this->_tcp = &socket; this->_ip = ""; this->_port = 0; this-...
22.702586
94
0.675337
deb0ch
0f7d6adee67a4744c303e30def5d23e03704cd1e
544
hpp
C++
include/mizuiro/color/format/homogenous_dynamic_fwd.hpp
cpreh/mizuiro
5ab15bde4e72e3a4978c034b8ff5700352932485
[ "BSL-1.0" ]
1
2015-08-22T04:19:39.000Z
2015-08-22T04:19:39.000Z
include/mizuiro/color/format/homogenous_dynamic_fwd.hpp
freundlich/mizuiro
5ab15bde4e72e3a4978c034b8ff5700352932485
[ "BSL-1.0" ]
null
null
null
include/mizuiro/color/format/homogenous_dynamic_fwd.hpp
freundlich/mizuiro
5ab15bde4e72e3a4978c034b8ff5700352932485
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2016. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef MIZUIRO_COLOR_FORMAT_HOMOGENOUS_DYNAMIC_FWD_HPP_INCLUDED #define MIZUIRO_COLOR_FORMAT_HOMOG...
27.2
83
0.783088
cpreh
0f803d969e3f3d126e4a940751d9a72cf966a1e7
592
cpp
C++
examples/Basics/Objects/CompositeObjects/Egg.cpp
RedErr404/cprocessing
ab8ef25ea3e4bcd915f9c086b649696866ea77ca
[ "BSD-2-Clause" ]
12
2015-01-12T07:43:22.000Z
2022-03-08T06:43:20.000Z
examples/Basics/Objects/CompositeObjects/Egg.cpp
RedErr404/cprocessing
ab8ef25ea3e4bcd915f9c086b649696866ea77ca
[ "BSD-2-Clause" ]
null
null
null
examples/Basics/Objects/CompositeObjects/Egg.cpp
RedErr404/cprocessing
ab8ef25ea3e4bcd915f9c086b649696866ea77ca
[ "BSD-2-Clause" ]
7
2015-02-09T15:44:10.000Z
2019-07-07T11:48:10.000Z
#include <cprocessing/cprocessing.hpp> #include "Egg.hpp" Egg::Egg(float xpos, float ypos, float t, float s) { x = xpos; y = ypos; tilt = t; scalar = s / 100.0; } void Egg::wobble() { tilt = cos(angle) / 8; angle += 0.1; } void Egg::display() { noStroke(); fill(255); pushMatrix(); translate(x, y)...
19.096774
52
0.577703
RedErr404
abee2ba07c7554b960a9e06ead9bcec12aa58f3e
13,165
cpp
C++
src/X86Assembler_Avx.cpp
bigianb/Play--CodeGen
8aa3a4e63300b0bda680a8d73a63c8d5b0879967
[ "BSD-2-Clause" ]
45
2015-01-27T13:00:06.000Z
2022-03-10T20:24:58.000Z
src/X86Assembler_Avx.cpp
bigianb/Play--CodeGen
8aa3a4e63300b0bda680a8d73a63c8d5b0879967
[ "BSD-2-Clause" ]
21
2015-07-14T14:04:33.000Z
2021-11-06T22:54:19.000Z
src/X86Assembler_Avx.cpp
bigianb/Play--CodeGen
8aa3a4e63300b0bda680a8d73a63c8d5b0879967
[ "BSD-2-Clause" ]
39
2015-02-16T03:21:30.000Z
2022-01-08T08:30:12.000Z
#include <cassert> #include "X86Assembler.h" void CX86Assembler::WriteVex(VEX_OPCODE_MAP opMap, XMMREGISTER& dst, XMMREGISTER src1, const CAddress& src2) { assert(!src2.nIsExtendedSib); uint8 prefix = (opMap >> 4) & 0x0F; uint8 map = (opMap & 0x0F); assert(prefix < 4); assert(map < 4); bool isExtendedR = (dst...
28.870614
135
0.764603
bigianb
abf1a981003d8c75ecd410813b82032e138a0437
789
cpp
C++
src/main.cpp
ToruNiina/haywire
73818ca211b64bbc4fab24367830a2f8cc471a83
[ "MIT" ]
null
null
null
src/main.cpp
ToruNiina/haywire
73818ca211b64bbc4fab24367830a2f8cc471a83
[ "MIT" ]
null
null
null
src/main.cpp
ToruNiina/haywire
73818ca211b64bbc4fab24367830a2f8cc471a83
[ "MIT" ]
null
null
null
#include <haywire/world.hpp> #include <haywire/gui.hpp> #include <extlib/wad/wad/default_archiver.hpp> int main(int argc, char **argv) { std::cerr << "Usage: ./haywire [data.toml]" << std::endl; std::cerr << "Space: toggle execution" << std::endl; std::cerr << "Enter: step-by-step update" << std::en...
23.909091
61
0.498099
ToruNiina
abf63f7228c7322dd97814a57f22a1fc931e6ce3
3,272
cpp
C++
ArcGISRuntimeSDKQt_CppSamples/Analysis/ViewshedCamera/ViewshedCamera.cpp
markjdugger/arcgis-runtime-samples-qt
833b583d8f0a70b2dbbe4a8c28d8609c7e93dca3
[ "Apache-2.0" ]
1
2021-08-08T13:58:54.000Z
2021-08-08T13:58:54.000Z
ArcGISRuntimeSDKQt_CppSamples/Analysis/ViewshedCamera/ViewshedCamera.cpp
markjdugger/arcgis-runtime-samples-qt
833b583d8f0a70b2dbbe4a8c28d8609c7e93dca3
[ "Apache-2.0" ]
null
null
null
ArcGISRuntimeSDKQt_CppSamples/Analysis/ViewshedCamera/ViewshedCamera.cpp
markjdugger/arcgis-runtime-samples-qt
833b583d8f0a70b2dbbe4a8c28d8609c7e93dca3
[ "Apache-2.0" ]
null
null
null
// [WriteFile Name=ViewshedCamera, Category=Analysis] // [Legal] // Copyright 2017 Esri. // 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 // Un...
30.018349
175
0.735024
markjdugger
abf9f393670c29069eb8657f908355426a05ab81
1,857
cpp
C++
src/ace/ACE_wrappers/examples/Naming/test_open.cpp
wfnex/OpenBRAS
b8c2cd836ae85d5307f7f5ca87573b964342bb49
[ "BSD-3-Clause" ]
8
2017-06-05T08:56:27.000Z
2020-04-08T16:50:11.000Z
src/ace/ACE_wrappers/examples/Naming/test_open.cpp
wfnex/OpenBRAS
b8c2cd836ae85d5307f7f5ca87573b964342bb49
[ "BSD-3-Clause" ]
null
null
null
src/ace/ACE_wrappers/examples/Naming/test_open.cpp
wfnex/OpenBRAS
b8c2cd836ae85d5307f7f5ca87573b964342bb49
[ "BSD-3-Clause" ]
17
2017-06-05T08:54:27.000Z
2021-08-29T14:19:12.000Z
#include "ace/OS_main.h" #include "ace/Naming_Context.h" #include "ace/Log_Msg.h" #include "ace/OS_NS_stdio.h" #include "ace/OS_NS_unistd.h" int ACE_TMAIN (int argc, ACE_TCHAR **argv) { const ACE_TCHAR *host = argc > 1 ? argv[1] : ACE_TEXT("-hlocalhost"); const ACE_TCHAR *port = argc > 2 ? argv[2] : ACE_TEXT("-p20...
23.2125
71
0.466344
wfnex
abfa8ced6c61af45e5bdb7d2148a9d89f44c1c31
2,663
hpp
C++
src/marnav/nmea/gsa.hpp
ShadowTeolog/marnav
094dd06a2b9e52591bc9c3879ea4b5cf34a92192
[ "BSD-4-Clause" ]
null
null
null
src/marnav/nmea/gsa.hpp
ShadowTeolog/marnav
094dd06a2b9e52591bc9c3879ea4b5cf34a92192
[ "BSD-4-Clause" ]
null
null
null
src/marnav/nmea/gsa.hpp
ShadowTeolog/marnav
094dd06a2b9e52591bc9c3879ea4b5cf34a92192
[ "BSD-4-Clause" ]
null
null
null
#ifndef MARNAV__NMEA__GSA__HPP #define MARNAV__NMEA__GSA__HPP #include <array> #include "sentence.hpp" #include "../utils/optional.hpp" namespace marnav { namespace nmea { /// @brief GSA - GPS DOP and active satellites /// /// @code /// 1 2 3 14 15 16 17 /// | | | ...
30.261364
83
0.667668
ShadowTeolog
abfdf9798573f437ffe630ddd4bacda4d6f41a4d
626
cpp
C++
web/code/class-03/struct.cpp
CPC-UTEC/blog
30ab1e744088d0d3b3fb4136c96e4568be0b2741
[ "MIT" ]
2
2020-09-09T20:29:25.000Z
2021-02-09T14:17:45.000Z
web/code/class-03/struct.cpp
CPC-UTEC/blog
30ab1e744088d0d3b3fb4136c96e4568be0b2741
[ "MIT" ]
null
null
null
web/code/class-03/struct.cpp
CPC-UTEC/blog
30ab1e744088d0d3b3fb4136c96e4568be0b2741
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; struct MyStructure { // we can declare attributes of different types int var1; double var2; string var3; MyStructure (int var1, double var2, string _var3): var1(var1), var2(var2) { // we can initialize the variables in this way var3 = _var3; // ot ...
23.185185
63
0.611821
CPC-UTEC
abfeb2aed635e3cf44540dc89ea4d6d74640e7c9
15,898
hpp
C++
native/external-libraries/boost/boost/interprocess/sync/scoped_lock.hpp
l3dlp-sandbox/airkinect-2-core
49aecbd3c3fd9584434089dd2d9eef93567036e7
[ "Apache-2.0" ]
47
2015-01-01T14:37:36.000Z
2021-04-25T07:38:07.000Z
native/external-libraries/boost/boost/interprocess/sync/scoped_lock.hpp
l3dlp-sandbox/airkinect-2-core
49aecbd3c3fd9584434089dd2d9eef93567036e7
[ "Apache-2.0" ]
6
2016-01-11T05:20:05.000Z
2021-02-06T11:37:24.000Z
native/external-libraries/boost/boost/interprocess/sync/scoped_lock.hpp
l3dlp-sandbox/airkinect-2-core
49aecbd3c3fd9584434089dd2d9eef93567036e7
[ "Apache-2.0" ]
17
2015-01-05T15:10:43.000Z
2021-06-22T04:59:16.000Z
////////////////////////////////////////////////////////////////////////////// // // (C) Copyright Ion Gaztanaga 2005-2009. 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) // // See http://www.boost.org/libs/interpr...
42.621984
93
0.661718
l3dlp-sandbox
abff2ed8bf737d093bc878b08a00e445f9e2eb2d
734
cpp
C++
Interviewbit/Arrays/kth_row_of_pascal_triangle.cpp
sohilladhani/programming
f9a63532013c0ef81679eb922e8ec66d3daf2518
[ "MIT" ]
null
null
null
Interviewbit/Arrays/kth_row_of_pascal_triangle.cpp
sohilladhani/programming
f9a63532013c0ef81679eb922e8ec66d3daf2518
[ "MIT" ]
null
null
null
Interviewbit/Arrays/kth_row_of_pascal_triangle.cpp
sohilladhani/programming
f9a63532013c0ef81679eb922e8ec66d3daf2518
[ "MIT" ]
null
null
null
/* https://www.interviewbit.com/problems/kth-row-of-pascals-triangle/ */ #include <iostream> #include <vector> #include <algorithm> #include <list> #include <queue> using namespace std; void print_vector(vector<int> v) { for (int i = 0; i < v.size(); ++i) { cout<<v[i]<<" "; } cout<<"\n"; } vec...
15.956522
66
0.56267
sohilladhani
abff57875b24d4f78c0348129cfa7f6b7104f823
88
cpp
C++
tests/Issue386_2.cpp
devtbi/cppinsights
5a9a8d93435f3c516240d3a87ee36f0a4bce5d90
[ "MIT" ]
1,853
2018-05-13T21:49:17.000Z
2022-03-30T10:34:45.000Z
tests/Issue386_2.cpp
tiandaoafei/cppinsights
af78ac299121354101a5e506dafccaac95d27a77
[ "MIT" ]
398
2018-05-15T14:48:51.000Z
2022-03-24T12:14:33.000Z
tests/Issue386_2.cpp
SammyEnigma/cppinsights
c984b8e68139bbcc244c094fd2463eeced8fd997
[ "MIT" ]
104
2018-05-15T04:00:59.000Z
2022-03-17T02:04:15.000Z
int main() { if(true) []{}(); for(;false;) []{}(); while(false) []{}(); }
9.777778
24
0.352273
devtbi
280199d45f80d2d672d10dfdb63c0a2fbe6e2563
1,848
cc
C++
cc/timer.cc
asciphx/CarryLib
6f8c54f182525eee47feae412a109e15ead319cc
[ "MIT" ]
1
2021-12-02T11:24:08.000Z
2021-12-02T11:24:08.000Z
cc/timer.cc
asciphx/CarryLib
6f8c54f182525eee47feae412a109e15ead319cc
[ "MIT" ]
null
null
null
cc/timer.cc
asciphx/CarryLib
6f8c54f182525eee47feae412a109e15ead319cc
[ "MIT" ]
null
null
null
#include <iostream> #include <thread> #include <chrono> #include <atomic> struct Timer { template<typename F> void setTimeout(F func, uint32_t milliseconds); template<typename F> void setInterval(F func, uint32_t milliseconds); template<typename F> void setTimeoutSec(F func, uint32_t seconds); template<typename...
30.295082
77
0.653139
asciphx
2803dfae39ed45d9d4836c6f19c9431e915ad3d3
1,600
hpp
C++
src/libs/graphics/color.hpp
dv1/dv1-misc-code
22d38ae0c1c1d7afe3f32147dc102298d00fb7bb
[ "BSD-2-Clause-FreeBSD" ]
2
2020-05-16T19:33:03.000Z
2020-05-17T04:21:31.000Z
src/libs/graphics/color.hpp
dv1/dv1-misc-code
22d38ae0c1c1d7afe3f32147dc102298d00fb7bb
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/libs/graphics/color.hpp
dv1/dv1-misc-code
22d38ae0c1c1d7afe3f32147dc102298d00fb7bb
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
#ifndef GRAPHICS_COLOR_HPP___________ #define GRAPHICS_COLOR_HPP___________ #include <cstddef> #include <array> #include <map> #include "base/progress_report.hpp" #include "pixmap_view.hpp" namespace graphics { struct color { std::array < int, 3 > m_rgb_values; color(); explicit color(int const p_red, int cons...
25
100
0.751875
dv1
280547ed5c2b0a6fcfa8ec670add5c760a6ad8ac
4,468
cpp
C++
openstudiocore/src/energyplus/Test/ZoneHVACLowTempRadiantElectric_GTest.cpp
bobzabcik/OpenStudio
858321dc0ad8d572de15858d2ae487b029a8d847
[ "blessing" ]
null
null
null
openstudiocore/src/energyplus/Test/ZoneHVACLowTempRadiantElectric_GTest.cpp
bobzabcik/OpenStudio
858321dc0ad8d572de15858d2ae487b029a8d847
[ "blessing" ]
null
null
null
openstudiocore/src/energyplus/Test/ZoneHVACLowTempRadiantElectric_GTest.cpp
bobzabcik/OpenStudio
858321dc0ad8d572de15858d2ae487b029a8d847
[ "blessing" ]
null
null
null
/********************************************************************** * Copyright (c) 2008-2013, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Fre...
37.546218
122
0.77641
bobzabcik
2806f470c1fb46abafafba5641f306041749d127
1,683
hpp
C++
src/main/include/Robot.hpp
Team3512/Robot-2017
1e5f3c1dcd78464d0c967aa17ca0e479775f7ed3
[ "BSD-3-Clause" ]
null
null
null
src/main/include/Robot.hpp
Team3512/Robot-2017
1e5f3c1dcd78464d0c967aa17ca0e479775f7ed3
[ "BSD-3-Clause" ]
null
null
null
src/main/include/Robot.hpp
Team3512/Robot-2017
1e5f3c1dcd78464d0c967aa17ca0e479775f7ed3
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2017-2021 FRC Team 3512. All Rights Reserved. #pragma once #include <cameraserver/CameraServer.h> #include <cscore.h> #include <ctre/phoenix/motorcontrol/can/TalonSRX.h> #include <frc/DigitalInput.h> #include <frc/DoubleSolenoid.h> #include <frc/Joystick.h> #include <frc/Solenoid.h> #include <frc/Ti...
24.75
72
0.708853
Team3512
28091d656c645093e1284223b53f30b03b6041a4
1,676
cpp
C++
kattis/set3/reduction.cpp
heiseish/Competitive-Programming
e4dd4db83c38e8837914562bc84bc8c102e68e34
[ "MIT" ]
5
2019-03-17T01:33:19.000Z
2021-06-25T09:50:45.000Z
kattis/set3/reduction.cpp
heiseish/Competitive-Programming
e4dd4db83c38e8837914562bc84bc8c102e68e34
[ "MIT" ]
null
null
null
kattis/set3/reduction.cpp
heiseish/Competitive-Programming
e4dd4db83c38e8837914562bc84bc8c102e68e34
[ "MIT" ]
null
null
null
/** Words are like swords. If you use them the wrong way, they can turn into ugly weapons. */ #include <bits/stdc++.h> #define forn(i, l, r) for(int i=l;i<=r;i++) #define all(v) v.begin(),v.end() #define pb push_back #define nd second #define st first #define debug(x) cout<<#x<<" -> "<<x<< endl #define kakimas...
22.648649
94
0.599642
heiseish
280b7fb194500156f9c98d02399d79c99ad66b2f
1,855
cpp
C++
Double_List/Double_List.cpp
kungcn/Data_Structure
45db44d2f116b5ad316634399c0e246105e0f46e
[ "MIT" ]
null
null
null
Double_List/Double_List.cpp
kungcn/Data_Structure
45db44d2f116b5ad316634399c0e246105e0f46e
[ "MIT" ]
null
null
null
Double_List/Double_List.cpp
kungcn/Data_Structure
45db44d2f116b5ad316634399c0e246105e0f46e
[ "MIT" ]
null
null
null
#include "Double_List.h" template <class List_entry> Double_List<List_entry>::Double_List() { } template <class List_entry> Double_List<List_entry>::~Double_List() { } // 拷贝构造函数和赋值运算符重载,注意深拷贝与浅拷贝的差异 template <class List_entry> Double_List<List_entry>::Double_List(const Double_List<List_entry> &copy) { S } tem...
21.079545
85
0.769272
kungcn
280feedf02bae1f8bb7b233d733c8ca514c19ec3
11,977
cpp
C++
apps/AutoSmiley/AutoSmiley-v001/src/mpi/mpieyefinder/faceobject.cpp
yingshixiaohu/SmileFile
96641a104e4c9d5cac887aeef617bdc1f51557b3
[ "MIT" ]
1
2015-01-05T23:16:06.000Z
2015-01-05T23:16:06.000Z
apps/AutoSmiley/AutoSmiley-v001/src/mpi/mpieyefinder/faceobject.cpp
yingshixiaohu/SmileFile
96641a104e4c9d5cac887aeef617bdc1f51557b3
[ "MIT" ]
null
null
null
apps/AutoSmiley/AutoSmiley-v001/src/mpi/mpieyefinder/faceobject.cpp
yingshixiaohu/SmileFile
96641a104e4c9d5cac887aeef617bdc1f51557b3
[ "MIT" ]
null
null
null
/* * FACEOBJECT.cpp * * Created by Bret Fortenberry on Aug 27, 2003. * Fixes: * * Copyright (c) 2003 Machine Perception Laboratory * University of California San Diego. * * Please read the disclaimer and notes about redistribution * at the end of this file. * */ #include "faceobject.h" ...
29.57284
707
0.595475
yingshixiaohu
2810203c4093d5a61ef28859b19ccf71c031ff55
1,889
hpp
C++
src/fly/task/task.hpp
lichuan/fly
7927f819f74997314fb526c5d8ab4d88ea593b91
[ "Apache-2.0" ]
60
2015-06-23T12:36:33.000Z
2022-03-09T01:27:14.000Z
src/fly/task/task.hpp
lichuan/fly
7927f819f74997314fb526c5d8ab4d88ea593b91
[ "Apache-2.0" ]
1
2021-12-21T11:23:04.000Z
2021-12-21T11:23:04.000Z
src/fly/task/task.hpp
lichuan/fly
7927f819f74997314fb526c5d8ab4d88ea593b91
[ "Apache-2.0" ]
30
2015-08-03T07:22:04.000Z
2022-01-13T08:49:48.000Z
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * _______ _ * * ( ____ \ ( \ |\ /| * * | ( \/ | ( ( \ / ) * * | (__ ...
35.641509
73
0.228163
lichuan
2810e8476f082b4b7c063f099eedbea4d9b4c56f
17,503
hpp
C++
src/MSR.hpp
alawibaba/geopm
dc5dd54cf260b0b51d517bb50d1ba5db9e013c71
[ "BSD-3-Clause" ]
null
null
null
src/MSR.hpp
alawibaba/geopm
dc5dd54cf260b0b51d517bb50d1ba5db9e013c71
[ "BSD-3-Clause" ]
null
null
null
src/MSR.hpp
alawibaba/geopm
dc5dd54cf260b0b51d517bb50d1ba5db9e013c71
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2015, 2016, 2017, 2018, Intel Corporation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the above copyright * notice, this list o...
48.217631
118
0.560247
alawibaba
2811723e7793cb9ff266154c029a1849b4db5e26
10,993
cpp
C++
cpu/cpumd/Host.cpp
vakuras/moleculardynamics
f9c6b03db7df8e429f72fa17b5ccfd98d08ee272
[ "MIT" ]
null
null
null
cpu/cpumd/Host.cpp
vakuras/moleculardynamics
f9c6b03db7df8e429f72fa17b5ccfd98d08ee272
[ "MIT" ]
null
null
null
cpu/cpumd/Host.cpp
vakuras/moleculardynamics
f9c6b03db7df8e429f72fa17b5ccfd98d08ee272
[ "MIT" ]
null
null
null
/// /// CPU Host /// /// Molecular Dynamics Simulation on GPU /// /// Written by Vadim Kuras. 2009-2010. /// #include "Host.h" /// /// Simulation main host function /// int hostMain(configuration * config) { real4 * posArray; //positions real3 * velocityArray; //velocity real3 * forceArray; //for...
37.776632
194
0.699627
vakuras
28157783daa7a0c6c273850c3d0aa94aa1007ab8
19,813
cpp
C++
llvm-5.0.1.src/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
ShawnLess/TBD
fc98e93b3462509022fdf403978cd82aa05c2331
[ "Apache-2.0" ]
60
2017-12-21T06:49:58.000Z
2022-02-24T09:43:52.000Z
llvm-5.0.1.src/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
ShawnLess/TBD
fc98e93b3462509022fdf403978cd82aa05c2331
[ "Apache-2.0" ]
null
null
null
llvm-5.0.1.src/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
ShawnLess/TBD
fc98e93b3462509022fdf403978cd82aa05c2331
[ "Apache-2.0" ]
17
2017-12-20T09:54:56.000Z
2021-06-24T05:39:36.000Z
//===- CorrelatedValuePropagation.cpp - Propagate CFG-derived info --------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
34.101549
80
0.655378
ShawnLess
281578d214212272e9583b050285d79efdcb44d1
932
hpp
C++
include/Exceptions/ENetInitializationFailedException.hpp
BigETI/WhackAStoodentServer
05c670a9b745262ae926aebcb1fce0f1ecc5f4d2
[ "MIT" ]
1
2021-04-28T20:32:57.000Z
2021-04-28T20:32:57.000Z
include/Exceptions/ENetInitializationFailedException.hpp
BigETI/WhackAStoodentServer
05c670a9b745262ae926aebcb1fce0f1ecc5f4d2
[ "MIT" ]
7
2021-08-24T14:09:33.000Z
2021-08-30T12:47:40.000Z
include/Exceptions/ENetInitializationFailedException.hpp
BigETI/WhackAStoodentServer
05c670a9b745262ae926aebcb1fce0f1ecc5f4d2
[ "MIT" ]
null
null
null
#pragma once #include <stdexcept> #include <string> /// <summary> /// Whack-A-Stoodent server namespace /// </summary> namespace WhackAStoodentServer { /// <summary> /// A class that describes an ENet intialization failed exception /// </summary> class ENetInitializationFailedException : public std::runtime_error...
20.711111
68
0.688841
BigETI
2818a93391e57c0d038fc2f263475b23a88b845e
2,174
cpp
C++
native/tests/seal/publickey.cpp
nitrieu/SEAL
9fc376c19488be2bfd213780ee06789754f4b2c2
[ "MIT" ]
17
2019-12-02T09:26:24.000Z
2022-02-03T03:59:25.000Z
native/tests/seal/publickey.cpp
nitrieu/SEAL
9fc376c19488be2bfd213780ee06789754f4b2c2
[ "MIT" ]
1
2020-09-14T06:19:36.000Z
2020-09-14T06:19:36.000Z
native/tests/seal/publickey.cpp
nitrieu/SEAL
9fc376c19488be2bfd213780ee06789754f4b2c2
[ "MIT" ]
11
2019-12-02T22:02:39.000Z
2021-12-10T02:17:06.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. #include "gtest/gtest.h" #include "seal/publickey.h" #include "seal/context.h" #include "seal/modulus.h" #include "seal/keygenerator.h" using namespace seal; using namespace std; namespace SEALTest { TEST(PublicKeyTes...
32.939394
83
0.565317
nitrieu
2819bd8af889af9925282eb172478b2344c99fc0
1,587
cpp
C++
src/clientMain.cpp
kn0t3k/kyrys
142bcdd1bc34fe7b8d01e4666668f97c26aa297d
[ "MIT" ]
null
null
null
src/clientMain.cpp
kn0t3k/kyrys
142bcdd1bc34fe7b8d01e4666668f97c26aa297d
[ "MIT" ]
33
2017-03-07T13:45:52.000Z
2017-05-07T21:17:28.000Z
src/clientMain.cpp
kn0t3k/kyrys
142bcdd1bc34fe7b8d01e4666668f97c26aa297d
[ "MIT" ]
null
null
null
#include <reference.hpp> #include <client.hpp> int main(int argc, char **argv) { int portNo = Kyrys::Enums::Defaults::DefaultPortNumber::DEFAULT_PORT; QString hostName = "127.0.0.1"; QCoreApplication a(argc, argv); QCommandLineParser parser; parser.setApplicationDescription("Test helper"); pa...
33.765957
92
0.522369
kn0t3k
281b2e0e48a50ea7b4763b0c484571a2ddbcee59
268
cpp
C++
A - Team.cpp
lionrocker/codeforces-solutions
02703ff02dab98d30ef01e52b5a1acc1d8596862
[ "MIT" ]
null
null
null
A - Team.cpp
lionrocker/codeforces-solutions
02703ff02dab98d30ef01e52b5a1acc1d8596862
[ "MIT" ]
null
null
null
A - Team.cpp
lionrocker/codeforces-solutions
02703ff02dab98d30ef01e52b5a1acc1d8596862
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int n; cin >> n; int ans = 0; for (int i =0; i < n; i++) { int a, b, c; cin >> a >> b >> c; if (a + b + c >=2) ans++; } cout << ans << "\n"; }
13.4
33
0.350746
lionrocker
281c6a44165537c10a049045888d6932ecfb8e6e
717
cpp
C++
Programy/klasy/ios3/progr.cpp
efiku/ZadaniaCpp
8c316214f4f3add12eeec9bcd0cf74fe125c6c68
[ "MIT" ]
null
null
null
Programy/klasy/ios3/progr.cpp
efiku/ZadaniaCpp
8c316214f4f3add12eeec9bcd0cf74fe125c6c68
[ "MIT" ]
null
null
null
Programy/klasy/ios3/progr.cpp
efiku/ZadaniaCpp
8c316214f4f3add12eeec9bcd0cf74fe125c6c68
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////// // plik progr.cpp //// ////////////////////////////////////////////////////////////// #include <iostream> using namespace std; #include "osoba.h" // void prezentacja(osoba); // /***************************************...
28.68
64
0.348675
efiku
281c8579ef5b36daec3662ae4b633bd1284ce69a
2,208
cpp
C++
tle.cpp
komasaru/iss_sgp4_teme
5474ab1acdc5076e12d90c1dcd2d259e36fbd18d
[ "MIT" ]
null
null
null
tle.cpp
komasaru/iss_sgp4_teme
5474ab1acdc5076e12d90c1dcd2d259e36fbd18d
[ "MIT" ]
null
null
null
tle.cpp
komasaru/iss_sgp4_teme
5474ab1acdc5076e12d90c1dcd2d259e36fbd18d
[ "MIT" ]
null
null
null
#include "tle.hpp" namespace iss_sgp4_teme { // 定数 static constexpr char kFTle[] = "tle.txt"; static constexpr unsigned int kSecDay = 86400; // Seconds in a day /* * @brief コンストラクタ * * @param[in] UT1 (timespec) */ Tle::Tle(struct timespec ut1) { this->ut1 = ut1; } /* * @brief TLE 読み込み * ...
24.808989
69
0.462409
komasaru
281c9fe418e1c4833bb87f82f74f1cc4d722d57c
2,544
cpp
C++
webkit/WebCore/html/FormDataList.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
15
2016-01-05T12:43:41.000Z
2022-03-15T10:34:47.000Z
webkit/WebCore/html/FormDataList.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
null
null
null
webkit/WebCore/html/FormDataList.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
2
2020-11-30T18:36:01.000Z
2021-02-05T23:20:24.000Z
/* * Copyright (C) 2005, 2006, 2008 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any lat...
27.652174
105
0.560535
s1rcheese
281d1fd480485b0cadb7c95f1d6d1b72d1dcad4b
6,555
cc
C++
src/algorithms/base_algorithm.cc
edoardopalli/bayesmix
2253d97b58e9d5fe9bd769944ae46cab0d938819
[ "BSD-3-Clause" ]
null
null
null
src/algorithms/base_algorithm.cc
edoardopalli/bayesmix
2253d97b58e9d5fe9bd769944ae46cab0d938819
[ "BSD-3-Clause" ]
null
null
null
src/algorithms/base_algorithm.cc
edoardopalli/bayesmix
2253d97b58e9d5fe9bd769944ae46cab0d938819
[ "BSD-3-Clause" ]
null
null
null
#include "base_algorithm.h" #include <Eigen/Dense> #include <memory> #include <vector> #include "algorithm_params.pb.h" #include "algorithm_state.pb.h" #include "lib/progressbar/progressbar.h" #include "mixing_state.pb.h" #include "src/algorithms/neal8_algorithm.h" #include "src/collectors/base_collector.h" #include ...
33.443878
79
0.679481
edoardopalli
28203e55a6bbf2f7aed045f150f6f63a22945172
8,124
cpp
C++
Source/Urho3D/Resource/PListFile.cpp
1vanK/Dviglo
468a61e6d9a87cf7d998312c1261aaa83b37ff3c
[ "MIT" ]
null
null
null
Source/Urho3D/Resource/PListFile.cpp
1vanK/Dviglo
468a61e6d9a87cf7d998312c1261aaa83b37ff3c
[ "MIT" ]
1
2021-04-17T22:38:25.000Z
2021-04-18T00:43:15.000Z
Source/Urho3D/Resource/PListFile.cpp
1vanK/Dviglo
468a61e6d9a87cf7d998312c1261aaa83b37ff3c
[ "MIT" ]
null
null
null
// Copyright (c) 2008-2021 the Urho3D project // Copyright (c) 2021 проект Dviglo // Лицензия: MIT #include "../Precompiled.h" #include "../Core/Context.h" #include "../IO/Deserializer.h" #include "../IO/Log.h" #include "../Resource/PListFile.h" #include "../Resource/XMLFile.h" #include <cstdio> #include "../DebugN...
20.259352
97
0.604259
1vanK
282070978209257ff9f11efe537bde064d01f1f2
445
cpp
C++
stl/lambda.cpp
FrancsXiang/DataStructure-Algorithms
f8f9e6d7be94057b955330cb7058235caef5cfed
[ "MIT" ]
1
2020-04-14T05:44:50.000Z
2020-04-14T05:44:50.000Z
stl/lambda.cpp
FrancsXiang/DataStructure-Algorithms
f8f9e6d7be94057b955330cb7058235caef5cfed
[ "MIT" ]
null
null
null
stl/lambda.cpp
FrancsXiang/DataStructure-Algorithms
f8f9e6d7be94057b955330cb7058235caef5cfed
[ "MIT" ]
2
2020-09-02T08:56:31.000Z
2021-06-22T11:20:58.000Z
#include <iostream> using namespace std; //1.[capture list](params list) -> return type{ function body } //2.[capture list](params list) {function body} //3.[capture list] {function body} // "=","&","," outer variable descriptor // varlist limits: no default value/must have a name/no changable variable supported int ma...
29.666667
84
0.660674
FrancsXiang
2826bbdb16be6f7791643bcdef0fe82d4f1f2c62
3,190
cpp
C++
game/state/rules/battle/damage.cpp
Jarskih/OpenApoc
16f13f1d5eb5ea5639cdc0ee488d71b70c5a8cc3
[ "MIT" ]
null
null
null
game/state/rules/battle/damage.cpp
Jarskih/OpenApoc
16f13f1d5eb5ea5639cdc0ee488d71b70c5a8cc3
[ "MIT" ]
null
null
null
game/state/rules/battle/damage.cpp
Jarskih/OpenApoc
16f13f1d5eb5ea5639cdc0ee488d71b70c5a8cc3
[ "MIT" ]
null
null
null
#include "game/state/rules/battle/damage.h" #include "game/state/gamestate.h" #include "game/state/rules/doodadtype.h" namespace OpenApoc { template <> const UString &StateObject<HazardType>::getPrefix() { static UString prefix = "HAZARD_"; return prefix; } template <> const UString &StateObject<HazardType>::getTy...
25.11811
98
0.695925
Jarskih
28294054faf82d7b7ed036dcceddd4e29b67ab6a
2,316
cpp
C++
src/scenes/mengfeiWhitney/mengfeiWhitney.cpp
yxcde/RTP_MIT_RECODED
181deb2e3228484fa9d4ed0e6bf3f4a639d99419
[ "MIT" ]
12
2019-10-28T19:07:59.000Z
2021-08-21T22:00:52.000Z
src/scenes/mengfeiWhitney/mengfeiWhitney.cpp
yxcde/RTP_MIT_RECODED
181deb2e3228484fa9d4ed0e6bf3f4a639d99419
[ "MIT" ]
1
2019-10-28T19:20:05.000Z
2019-10-28T20:14:24.000Z
src/scenes/mengfeiWhitney/mengfeiWhitney.cpp
yxcde/RTP_MIT_RECODED
181deb2e3228484fa9d4ed0e6bf3f4a639d99419
[ "MIT" ]
8
2019-10-28T19:11:30.000Z
2020-01-12T05:18:31.000Z
#include "mengfeiWhitney.h" void mengfeiWhitney::setup(){ // setup parameters // if your original code use an ofxPanel instance dont use it here, instead // add your parameters to the "parameters" instance as follows. // param was declared in mengfeiWhitney.h // parameters.add(param.set("param"...
30.88
99
0.60924
yxcde
282a28e3865aebb11fac0419d8f4100d10826c12
5,833
hpp
C++
include/lexy/dsl/context_identifier.hpp
gkgoat1/lexy
9c600fa906e81efbb3e34b8951ebc56809f2a0df
[ "BSL-1.0" ]
null
null
null
include/lexy/dsl/context_identifier.hpp
gkgoat1/lexy
9c600fa906e81efbb3e34b8951ebc56809f2a0df
[ "BSL-1.0" ]
null
null
null
include/lexy/dsl/context_identifier.hpp
gkgoat1/lexy
9c600fa906e81efbb3e34b8951ebc56809f2a0df
[ "BSL-1.0" ]
null
null
null
// Copyright (C) 2020-2022 Jonathan Müller and lexy contributors // SPDX-License-Identifier: BSL-1.0 #ifndef LEXY_DSL_CONTEXT_IDENTIFIER_HPP_INCLUDED #define LEXY_DSL_CONTEXT_IDENTIFIER_HPP_INCLUDED #include <lexy/dsl/base.hpp> #include <lexy/dsl/capture.hpp> #include <lexy/dsl/identifier.hpp> namespace lexy { struc...
32.769663
100
0.603292
gkgoat1
282d1f6f3424dc00cce24823c4dee035559d076a
2,586
hpp
C++
granite/vulkan/sampler.hpp
bsdunx/Granite
0bbb29717f2bc1e20ba922c7e4120f289e8f752e
[ "MIT" ]
null
null
null
granite/vulkan/sampler.hpp
bsdunx/Granite
0bbb29717f2bc1e20ba922c7e4120f289e8f752e
[ "MIT" ]
null
null
null
granite/vulkan/sampler.hpp
bsdunx/Granite
0bbb29717f2bc1e20ba922c7e4120f289e8f752e
[ "MIT" ]
null
null
null
/* Copyright (c) 2017-2020 Hans-Kristian Arntzen * * 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, me...
26.121212
89
0.776875
bsdunx
282e352a13b173021f5dea70488e8527964df4b7
909
cpp
C++
src/c/imap/CIMAPNamespace.cpp
readdle/mailcore2
cf95a1587cebd5b2257e6b6fa0e34149a4d70394
[ "BSD-3-Clause" ]
3
2019-07-16T13:19:50.000Z
2020-01-06T10:42:23.000Z
src/c/imap/CIMAPNamespace.cpp
readdle/mailcore2
cf95a1587cebd5b2257e6b6fa0e34149a4d70394
[ "BSD-3-Clause" ]
15
2018-12-11T14:00:48.000Z
2021-12-21T17:42:42.000Z
src/c/imap/CIMAPNamespace.cpp
readdle/mailcore2
cf95a1587cebd5b2257e6b6fa0e34149a4d70394
[ "BSD-3-Clause" ]
2
2015-05-26T18:07:22.000Z
2017-04-04T10:01:17.000Z
#include <MailCore/MCAsync.h> #include "CIMAPNamespace.h" #include "CBase+Private.h" #include <MailCore/MCCore.h> #define nativeType mailcore::IMAPNamespace #define structName CIMAPNamespace C_SYNTHESIZE_CONSTRUCTOR() C_SYNTHESIZE_COBJECT_CAST() CIMAPNamespace CIMAPNamespace_namespaceWithPrefix(MailCoreString prefi...
36.36
104
0.863586
readdle
28344129a66c05830dcf68333449fe58cce37029
14,506
cpp
C++
engine/src/backends/video_backend_ffmpeg.cpp
kuujoo/pxl
67f68cf7baf3e64847c6c578ebb29efaae1aceb7
[ "MIT" ]
3
2021-05-19T07:42:56.000Z
2021-12-10T12:18:13.000Z
engine/src/backends/video_backend_ffmpeg.cpp
kuujoo/pxl
67f68cf7baf3e64847c6c578ebb29efaae1aceb7
[ "MIT" ]
1
2022-03-17T13:21:26.000Z
2022-03-17T13:21:26.000Z
engine/src/backends/video_backend_ffmpeg.cpp
kuujoo/pxl
67f68cf7baf3e64847c6c578ebb29efaae1aceb7
[ "MIT" ]
2
2021-05-19T07:42:58.000Z
2022-03-17T13:16:59.000Z
#ifdef PXL_VIDEO_FFMPEG #include <pxl/backends/video_backend.h> #include <pxl/backends/platform_backend.h> #include <pxl/containers/map.h> extern "C" { #ifndef __STDC_CONSTANT_MACROS #define __STDC_CONSTANT_MACROS #endif #include <libavcodec/avcodec.h> #include <libavutil/imgutils.h> #include <libavutil/avstri...
20.459803
151
0.693713
kuujoo
283767e5c2fe85e0b676e9553bc2f06ea4615952
7,357
cpp
C++
UXToolsGame/Source/UXToolsTests/Tests/UxtTestHandTracker.cpp
xuelongmu/MixedReality-UXTools-Unreal
be2c5336115906853de42056f65735c406b91c34
[ "MIT" ]
213
2020-05-05T23:37:50.000Z
2022-03-25T15:36:00.000Z
UXToolsGame/Source/UXToolsTests/Tests/UxtTestHandTracker.cpp
xuelongmu/MixedReality-UXTools-Unreal
be2c5336115906853de42056f65735c406b91c34
[ "MIT" ]
50
2020-05-26T23:57:38.000Z
2022-03-31T15:06:27.000Z
UXToolsGame/Source/UXToolsTests/Tests/UxtTestHandTracker.cpp
xuelongmu/MixedReality-UXTools-Unreal
be2c5336115906853de42056f65735c406b91c34
[ "MIT" ]
65
2020-05-07T08:31:47.000Z
2022-03-26T09:59:28.000Z
// Copyright (c) 2020 Microsoft Corporation. // Licensed under the MIT License. #include "UxtTestHandTracker.h" FUxtTestHandData::FUxtTestHandData() { JointOrientation.SetNum(EHandKeypointCount); JointPosition.SetNum(EHandKeypointCount); JointRadius.SetNum(EHandKeypointCount); for (uint8 i = 0; i < EHandKeypoint...
25.281787
114
0.759413
xuelongmu
283a1446b153a4bd256f1ce744f439b2d7a580dd
574
cpp
C++
lcx/lv/LCR_last_visited.cpp
WAFI-CNR/glcr
772d3a022d398401577d47e4fbc474b47dbd44b0
[ "BSD-3-Clause" ]
null
null
null
lcx/lv/LCR_last_visited.cpp
WAFI-CNR/glcr
772d3a022d398401577d47e4fbc474b47dbd44b0
[ "BSD-3-Clause" ]
1
2019-01-28T12:57:24.000Z
2019-01-28T13:02:50.000Z
lcx/lv/LCR_last_visited.cpp
WAFI-CNR/glcr
772d3a022d398401577d47e4fbc474b47dbd44b0
[ "BSD-3-Clause" ]
null
null
null
#include "LCR_last_visited.hpp" #include "util/LV_list_lcr.hpp" LCR_last_visited::LCR_last_visited(GSA *gsa, Result_saver* rs) : LCR(rs) { this->gsa = gsa; } LCR_last_visited::~LCR_last_visited() { } void LCR_last_visited::get_lcr(int x_repeats) { LV_list_lcr wl = LV_list_lcr(gsa->num_words, x_repeats, rs); fo...
20.5
74
0.656794
WAFI-CNR
283cdb5c4519f2c17487b4db513aa25ec2ef4cd5
2,158
cpp
C++
framegraph/Vulkan/CommandBuffer/VSubmitted.cpp
ayberkgerey5/FrameGraphx
cefc587529305ffdba35a4faa06a9e7c10accbe2
[ "BSD-2-Clause" ]
362
2018-10-14T04:03:50.000Z
2022-03-26T23:45:06.000Z
framegraph/Vulkan/CommandBuffer/VSubmitted.cpp
loopunit/FrameGraph
1359143284a135542ace8b851db78521f2800cc3
[ "BSD-2-Clause" ]
18
2019-05-25T13:43:53.000Z
2021-03-22T18:12:18.000Z
framegraph/Vulkan/CommandBuffer/VSubmitted.cpp
loopunit/FrameGraph
1359143284a135542ace8b851db78521f2800cc3
[ "BSD-2-Clause" ]
39
2019-03-04T05:47:11.000Z
2022-02-04T14:32:39.000Z
// Copyright (c) 2018-2020, Zhirnov Andrey. For more information see 'LICENSE' #include "VSubmitted.h" #include "VDevice.h" #include "VResourceManager.h" namespace FG { /* ================================================= constructor ================================================= */ VSubmitted::VSubmitted (uin...
22.715789
162
0.527804
ayberkgerey5
283f50c7d4b74949e5220936386a8ebc7279b112
3,192
cpp
C++
innative-test/test_assemblyscript.cpp
innative-sdk/innative
7c4733a390ace01900e914b1b03cc6bc96e879c8
[ "Apache-2.0" ]
381
2018-12-13T19:53:48.000Z
2022-03-21T07:33:39.000Z
innative-test/test_assemblyscript.cpp
Black-Sphere-Studios/innative
7c4733a390ace01900e914b1b03cc6bc96e879c8
[ "Apache-2.0" ]
62
2018-10-16T15:42:25.000Z
2021-03-29T23:55:56.000Z
innative-test/test_assemblyscript.cpp
Black-Sphere-Studios/innative
7c4733a390ace01900e914b1b03cc6bc96e879c8
[ "Apache-2.0" ]
13
2018-12-13T17:43:49.000Z
2020-06-13T15:10:38.000Z
// Copyright (c)2021 Fundament Software // For conditions of distribution and use, see copyright notice in innative.h #include "test.h" #include "../innative/utility.h" #include <signal.h> #include <setjmp.h> using namespace innative; #ifdef IN_DEBUG #define TEST_EMBEDDING "innative-assemblyscript-d" IN_STATIC_EXT...
26.163934
109
0.6651
innative-sdk
2841ed4c83f26fd7a4458d58fd8c64681664d9d6
4,635
hpp
C++
libraries/chain/include/graphene/chain/account_evaluator.hpp
JWOCC/core
590c3cc7156a37494a501bb3852fbdb17fc56655
[ "MIT" ]
1
2020-11-19T03:37:07.000Z
2020-11-19T03:37:07.000Z
libraries/chain/include/graphene/chain/account_evaluator.hpp
dfdchain/dfd2.0_project
8824355a370026965987cbad9cbb4536ee1d9acf
[ "MIT" ]
null
null
null
libraries/chain/include/graphene/chain/account_evaluator.hpp
dfdchain/dfd2.0_project
8824355a370026965987cbad9cbb4536ee1d9acf
[ "MIT" ]
null
null
null
/* * Copyright (c) 2015 Cryptonomex, Inc., and contributors. * * The MIT License * * 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...
36.496063
121
0.817691
JWOCC
2844c5630b6cf2f5653f84733384f611ead0b848
106
cpp
C++
src/3rdPartyLib/GainputInputDevicePad.cpp
SapphireEngine/Engine
bf5a621ac45d76a2635b804c0d8b023f1114d8f5
[ "MIT" ]
2
2020-02-03T04:58:17.000Z
2021-03-13T06:03:52.000Z
src/3rdPartyLib/GainputInputDevicePad.cpp
SapphireEngine/Engine
bf5a621ac45d76a2635b804c0d8b023f1114d8f5
[ "MIT" ]
null
null
null
src/3rdPartyLib/GainputInputDevicePad.cpp
SapphireEngine/Engine
bf5a621ac45d76a2635b804c0d8b023f1114d8f5
[ "MIT" ]
null
null
null
#include "define.h" #define GAINPUT_LIB_DYNAMIC 1 #include <gainput/gainput/pad/GainputInputDevicePad.cpp>
35.333333
56
0.830189
SapphireEngine
28466899026082666ee9d044377e0d86cae92fc2
2,494
cpp
C++
plugins/opengl/src/texture/volume_context.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
plugins/opengl/src/texture/volume_context.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
plugins/opengl/src/texture/volume_context.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <sge/opengl/common.hpp> #include <sge/opengl/deref_fun_ptr.hpp> #include <sge/opengl/conte...
41.566667
97
0.690858
cpreh
284c93e64f33b04453081861f71ff089c3bc72ea
3,750
cpp
C++
BUPT 2021 Winter Training #8/g.cpp
rakty/2022-spring-training
db36ad3838945d2bb3a951f9ccd8dfa6f0916d0d
[ "MIT" ]
1
2022-03-04T15:11:33.000Z
2022-03-04T15:11:33.000Z
BUPT 2021 Winter Training #8/g.cpp
rakty/2022-spring-training
db36ad3838945d2bb3a951f9ccd8dfa6f0916d0d
[ "MIT" ]
null
null
null
BUPT 2021 Winter Training #8/g.cpp
rakty/2022-spring-training
db36ad3838945d2bb3a951f9ccd8dfa6f0916d0d
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define pb push_back #define all(x) (x).begin(), (x).end() #define um unordered_map #define pq priority_queue #define sz(x) ((int)(x).size()) #define fi first #define se second #define endl '\n' typedef vector<int> vi; typedef long long ll; typedef unsigned long long ull; t...
26.785714
144
0.361067
rakty
284f16dd34b55aec400d663164627c30539140ae
3,145
cpp
C++
Sources/Engine/Graphics/Animation/BoneAnimationTrack.cpp
jdelezenne/Sonata
fb1b1b64a78874a0ab2809995be4b6f14f9e4d56
[ "MIT" ]
null
null
null
Sources/Engine/Graphics/Animation/BoneAnimationTrack.cpp
jdelezenne/Sonata
fb1b1b64a78874a0ab2809995be4b6f14f9e4d56
[ "MIT" ]
null
null
null
Sources/Engine/Graphics/Animation/BoneAnimationTrack.cpp
jdelezenne/Sonata
fb1b1b64a78874a0ab2809995be4b6f14f9e4d56
[ "MIT" ]
null
null
null
/*============================================================================= BoneAnimationTrack.cpp Project: Sonata Engine Author: Julien Delezenne =============================================================================*/ #include "BoneAnimationTrack.h" namespace SonataEngine { BoneAnimationTrack::BoneAnima...
26.880342
89
0.693482
jdelezenne
285082af97ca0675bcb91be02292f414112c6b5a
19,427
cpp
C++
3rdParty/fuerte/src/VstConnection.cpp
William533036/arangodb
e939a72607aec46fc93f4ea5f1149a9d15a3da9d
[ "Apache-2.0" ]
1
2020-01-16T06:16:53.000Z
2020-01-16T06:16:53.000Z
3rdParty/fuerte/src/VstConnection.cpp
William533036/arangodb
e939a72607aec46fc93f4ea5f1149a9d15a3da9d
[ "Apache-2.0" ]
null
null
null
3rdParty/fuerte/src/VstConnection.cpp
William533036/arangodb
e939a72607aec46fc93f4ea5f1149a9d15a3da9d
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2016-2018 ArangoDB GmbH, Cologne, Germany /// /// 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 co...
35.45073
98
0.643126
William533036
285cd60c93534323ea5591c57277389fa8ba8d0b
3,371
cpp
C++
Code/Engine/Renderer/Material/RenderState.cpp
ntaylorbishop/Copycat
c02f2881f0700a33a2630fd18bc409177d80b8cd
[ "MIT" ]
2
2017-10-02T03:18:55.000Z
2018-11-21T16:30:36.000Z
Code/Engine/Renderer/Material/RenderState.cpp
ntaylorbishop/Copycat
c02f2881f0700a33a2630fd18bc409177d80b8cd
[ "MIT" ]
null
null
null
Code/Engine/Renderer/Material/RenderState.cpp
ntaylorbishop/Copycat
c02f2881f0700a33a2630fd18bc409177d80b8cd
[ "MIT" ]
null
null
null
#include "Engine/Renderer/Material/RenderState.hpp" #include "Engine/Renderer/Renderer/BeirusRenderer.hpp" STATIC const RenderState RenderState::RENDER_STATE_DEFAULT( DEPTH_MODE_ON, BLEND_MODE_OPAQUE, CULL_FACE_FRONT, WRITES_DEPTH_ON, WRITES_COLOR_ON, CASTS_SHADOWS_ON); ///////////////...
23.248276
125
0.53367
ntaylorbishop
285e4fdd377a76451175d18029ae85b0060da577
6,701
cpp
C++
src/transactions/OperationFrame.cpp
iotbda/iotchain-core
74094a7853d2591cdfa79aa4a9459f6036008b2d
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
src/transactions/OperationFrame.cpp
iotbda/iotchain-core
74094a7853d2591cdfa79aa4a9459f6036008b2d
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
src/transactions/OperationFrame.cpp
iotbda/iotchain-core
74094a7853d2591cdfa79aa4a9459f6036008b2d
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
// Copyright 2014 Stellar Development Foundation and contributors. Licensed // under the Apache License, Version 2.0. See the COPYING file at the root // of this distribution or at http://www.apache.org/licenses/LICENSE-2.0 #include "transactions/OperationFrame.h" #include "transactions/AllowTrustOpFrame.h" #include "...
29.134783
79
0.659155
iotbda
285e88a80a5c8f52c1a1420d50cc2fec918e435b
17,837
cpp
C++
electroslag/serialize/database.cpp
jwb1/electroslag
a0f81ec6f8f8485c2418193b2e3d3f5347c92df5
[ "Apache-2.0" ]
1
2018-08-19T11:06:17.000Z
2018-08-19T11:06:17.000Z
electroslag/serialize/database.cpp
jwb1/electroslag
a0f81ec6f8f8485c2418193b2e3d3f5347c92df5
[ "Apache-2.0" ]
null
null
null
electroslag/serialize/database.cpp
jwb1/electroslag
a0f81ec6f8f8485c2418193b2e3d3f5347c92df5
[ "Apache-2.0" ]
null
null
null
// Electroslag Interactive Graphics System // Copyright 2018 Joshua Buckman // // 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 // /...
37.39413
139
0.552111
jwb1
286229d4d7352f8f469494babe3e5a8a273b2a21
3,477
cpp
C++
CSGOSimple/render.cpp
mikemikko/mike-internal-public-version
77dafb13047580e38013ba42bf66b70a9b942604
[ "MIT" ]
null
null
null
CSGOSimple/render.cpp
mikemikko/mike-internal-public-version
77dafb13047580e38013ba42bf66b70a9b942604
[ "MIT" ]
null
null
null
CSGOSimple/render.cpp
mikemikko/mike-internal-public-version
77dafb13047580e38013ba42bf66b70a9b942604
[ "MIT" ]
null
null
null
#include "render.hpp" #include <mutex> #include "features/visuals.hpp" #include "valve_sdk/csgostructs.hpp" #include "helpers/input.hpp" #include "menu.hpp" #include "options.hpp" #include "fonts/fonts.hpp" #include "helpers/math.hpp" ImFont* g_pDefaultFont; ImFont* g_pSecondFont; ImDrawListSharedData _data; std::...
26.746154
128
0.71067
mikemikko
28644a5509f7d705a7e6c70cb2a7292352601e34
295
cpp
C++
cycle_counter.cpp
jaoleonardo01/STE29008_ATV4
377111fa252c3c88209d229966aefadddedb0eb0
[ "MIT" ]
null
null
null
cycle_counter.cpp
jaoleonardo01/STE29008_ATV4
377111fa252c3c88209d229966aefadddedb0eb0
[ "MIT" ]
null
null
null
cycle_counter.cpp
jaoleonardo01/STE29008_ATV4
377111fa252c3c88209d229966aefadddedb0eb0
[ "MIT" ]
null
null
null
#include "cycle_counter.h" Cycle_Counter::Cycle_Counter(/* args */) { asm ( "clr r1\n\t" "clr r0\n\t" "inc r0\n\t" "ldi r30, 0xb0\r\n" "ldi r31, 0x00\r\n" "st Z+, r1\r\n" "st Z, r0\r\n" ); } Cycle_Counter::~Cycle_Counter() { }
15.526316
40
0.471186
jaoleonardo01
2866200e00b445a04f0c24a4ab997aa81e344d3a
4,561
inl
C++
Impt/glm/gtx/rotate_vector.inl
StavrosBizelis/NetworkDistributedDeferredShading
07c03ce9b13bb5adb164cd4321b2bba284e49b4d
[ "MIT" ]
76
2015-01-08T12:19:17.000Z
2021-03-27T03:31:12.000Z
Impt/glm/gtx/rotate_vector.inl
StavrosBizelis/NetworkDistributedDeferredShading
07c03ce9b13bb5adb164cd4321b2bba284e49b4d
[ "MIT" ]
10
2015-08-09T21:10:55.000Z
2015-08-10T02:50:07.000Z
Impt/glm/gtx/rotate_vector.inl
StavrosBizelis/NetworkDistributedDeferredShading
07c03ce9b13bb5adb164cd4321b2bba284e49b4d
[ "MIT" ]
17
2015-01-17T07:23:21.000Z
2020-12-15T02:44:19.000Z
/////////////////////////////////////////////////////////////////////////////////////////////////// // OpenGL Mathematics Copyright (c) 2005 - 2012 G-Truc Creation (www.g-truc.net) /////////////////////////////////////////////////////////////////////////////////////////////////// // Created : 2006-11-02 // Updated : 20...
21.514151
99
0.592633
StavrosBizelis
2866b43f16d5d285ca908d5f6782dd2be759bb88
654
cpp
C++
Uri-Online-Judge/cpp/1196 - WERTYU.cpp
ThiagoInocencio/Competitive-Programming-Solutions
efcabdd48d8c103ca619fff53db50aef0ea873d4
[ "MIT" ]
1
2020-06-07T22:08:42.000Z
2020-06-07T22:08:42.000Z
Uri-Online-Judge/cpp/1196 - WERTYU.cpp
ThiagoInocencio/Competitive-Programming-Solutions
efcabdd48d8c103ca619fff53db50aef0ea873d4
[ "MIT" ]
null
null
null
Uri-Online-Judge/cpp/1196 - WERTYU.cpp
ThiagoInocencio/Competitive-Programming-Solutions
efcabdd48d8c103ca619fff53db50aef0ea873d4
[ "MIT" ]
null
null
null
#include <iostream> #include <stdio.h> #include <string> #include <string.h> #include <stdlib.h> using namespace std; int main() { string QWERT = "`1234567890-=QWERTYUIOP[]\\ASDFGHJKL;'ZXCVBNM,./"; int i, index, length; char LETTER; string text; while(getline(cin, text)) { length = te...
16.35
70
0.454128
ThiagoInocencio
2866f3235ec91780a35ca29a0945406b12fa2b8b
4,058
cpp
C++
sc-kpm/ui/uiTranslators.cpp
rusalexd/sc-machine
d92afee12fd22a7d2c5cb0c3014a280f7de5b42f
[ "MIT" ]
null
null
null
sc-kpm/ui/uiTranslators.cpp
rusalexd/sc-machine
d92afee12fd22a7d2c5cb0c3014a280f7de5b42f
[ "MIT" ]
null
null
null
sc-kpm/ui/uiTranslators.cpp
rusalexd/sc-machine
d92afee12fd22a7d2c5cb0c3014a280f7de5b42f
[ "MIT" ]
null
null
null
/* * This source file is part of an OSTIS project. For the latest info, see http://ostis.net * Distributed under the MIT License * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT) */ #include "uiPrecompiled.h" #include "uiTranslators.h" #include "uiKeynodes.h" #include "translator...
33.816667
174
0.666092
rusalexd
28677a9fdf67c593f8d09b9002d1f097ff4ee992
1,396
hpp
C++
game/common_defs.hpp
vasukas/rodent
91224465eaa89467916971a8c5ed1357fa487bdf
[ "FTL", "CC0-1.0", "CC-BY-4.0", "MIT" ]
null
null
null
game/common_defs.hpp
vasukas/rodent
91224465eaa89467916971a8c5ed1357fa487bdf
[ "FTL", "CC0-1.0", "CC-BY-4.0", "MIT" ]
null
null
null
game/common_defs.hpp
vasukas/rodent
91224465eaa89467916971a8c5ed1357fa487bdf
[ "FTL", "CC0-1.0", "CC-BY-4.0", "MIT" ]
null
null
null
#ifndef COMMON_DEFS_HPP #define COMMON_DEFS_HPP #include "vaslib/vas_math.hpp" #include "vaslib/vas_time.hpp" #include "vaslib/vas_types.hpp" namespace GameConst { // physical radiuses const float hsz_supply = 0.5; ///< Supplies const float hsz_supply_big = 0.8; ///< Powerups etc const float hsz_proj = 0.3; ///< Nor...
21.8125
88
0.702006
vasukas
28693840f63785da9d1e1ee9f087807bd60af890
6,501
cpp
C++
Tests/test1.cpp
nikhilYadala/Python_to_cpp
2a1637851c5395a6742a3f8711e8490e491e54fa
[ "BSD-3-Clause" ]
1
2016-04-28T12:55:48.000Z
2016-04-28T12:55:48.000Z
Tests/test1.cpp
coderabhishek/Glue
d522608798c1c050baafe077d5599dce359bd7da
[ "BSD-3-Clause" ]
1
2017-06-16T16:12:55.000Z
2017-06-16T16:12:55.000Z
Tests/test1.cpp
nikhilYadala/Python_to_cpp
2a1637851c5395a6742a3f8711e8490e491e54fa
[ "BSD-3-Clause" ]
null
null
null
/** @file test1.cpp * @brief Test the artificial string library function * We are testing the artificial string functions on some trivial and corner cases strings and comparing it with expected output * @bug No known bugs. */ #include <limits.h> #include "../Source/Header/supporting_libs/supporting_libs.h" #in...
33.168367
130
0.565913
nikhilYadala
286afe57eea3df6f0e6a7509b86b4ea16dcf1889
7,510
hpp
C++
libvast/include/vast/detail/generator.hpp
rdettai/vast
0b3cf41011df5fe8a4e8430fa6a1d6f1c50a18fa
[ "BSD-3-Clause" ]
63
2016-04-22T01:50:03.000Z
2019-07-31T15:50:36.000Z
libvast/include/vast/detail/generator.hpp
rdettai/vast
0b3cf41011df5fe8a4e8430fa6a1d6f1c50a18fa
[ "BSD-3-Clause" ]
216
2017-01-24T16:25:43.000Z
2019-08-01T19:37:00.000Z
libvast/include/vast/detail/generator.hpp
rdettai/vast
0b3cf41011df5fe8a4e8430fa6a1d6f1c50a18fa
[ "BSD-3-Clause" ]
28
2016-05-19T13:09:19.000Z
2019-04-12T15:11:42.000Z
// _ _____ __________ // | | / / _ | / __/_ __/ Visibility // | |/ / __ |_\ \ / / Across // |___/_/ |_/___/ /_/ Space and Time // // SPDX-FileCopyrightText: (c) 2021 The VAST Contributors // SPDX-License-Identifier: BSD-3-Clause // cppcoro, adapted for libvast. // // Original Author: ...
26.725979
82
0.709055
rdettai
286e237de1ead0a48c194098da0b43243c2f7f93
22,240
cpp
C++
llvm/lib/Transforms/Scalar/CallSiteSplitting.cpp
davidungar/llvm-project
dd6b6bfe304864c6c898511fceece0279621c5c3
[ "Apache-2.0" ]
null
null
null
llvm/lib/Transforms/Scalar/CallSiteSplitting.cpp
davidungar/llvm-project
dd6b6bfe304864c6c898511fceece0279621c5c3
[ "Apache-2.0" ]
null
null
null
llvm/lib/Transforms/Scalar/CallSiteSplitting.cpp
davidungar/llvm-project
dd6b6bfe304864c6c898511fceece0279621c5c3
[ "Apache-2.0" ]
null
null
null
//===- CallSiteSplitting.cpp ----------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
37.252931
80
0.657239
davidungar
28730493d07b19a4b43e3bed1e8f4bbeca41fddc
71,569
cpp
C++
tests/vklayertests_arm_best_practices.cpp
youkim02/Vulkan-ValidationLayers
09227446c8d3a6bc1f7814adee401573cdcc8c0f
[ "Apache-2.0" ]
null
null
null
tests/vklayertests_arm_best_practices.cpp
youkim02/Vulkan-ValidationLayers
09227446c8d3a6bc1f7814adee401573cdcc8c0f
[ "Apache-2.0" ]
null
null
null
tests/vklayertests_arm_best_practices.cpp
youkim02/Vulkan-ValidationLayers
09227446c8d3a6bc1f7814adee401573cdcc8c0f
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2015-2022 The Khronos Group Inc. * Copyright (c) 2015-2022 Valve Corporation * Copyright (c) 2015-2022 LunarG, Inc. * Modifications Copyright (C) 2020 Advanced Micro Devices, Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fi...
44.983658
155
0.717028
youkim02
287439a8bb92e4fa3ddb6fdc22349b4858b45e83
472
hpp
C++
apps/opencs/model/doc/state.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
apps/opencs/model/doc/state.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
apps/opencs/model/doc/state.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
#ifndef CSM_DOC_STATE_H #define CSM_DOC_STATE_H namespace CSMDoc { enum State { State_Modified = 1, State_Locked = 2, State_Operation = 4, State_Running = 8, State_Saving = 16, State_Verifying = 32, State_Compiling = 64, // not implemented yet St...
21.454545
90
0.618644
Bodillium
2874909b149507fe5d25479569ef20303fc1a0fd
3,115
cc
C++
UX/plugins/Style/Materialist/src/MaterialistPlugin.cc
frankencode/CoreComponents
4c66d7ff9fc5be19222906ba89ba0e98951179de
[ "Zlib" ]
1
2019-07-29T04:07:29.000Z
2019-07-29T04:07:29.000Z
UX/plugins/Style/Materialist/src/MaterialistPlugin.cc
frankencode/CoreComponents
4c66d7ff9fc5be19222906ba89ba0e98951179de
[ "Zlib" ]
null
null
null
UX/plugins/Style/Materialist/src/MaterialistPlugin.cc
frankencode/CoreComponents
4c66d7ff9fc5be19222906ba89ba0e98951179de
[ "Zlib" ]
1
2020-03-04T17:13:04.000Z
2020-03-04T17:13:04.000Z
/* * Copyright (C) 2020 Frank Mertens. * * Distribution and use is allowed under the terms of the zlib license * (see cc/LICENSE-zlib). * */ #include <cc/MaterialistPlugin> #include <cc/FontManager> #include <cc/MaterialLight> #include <cc/GlyphVisual> #include <cc/File> #include <cc/Dir> #include <cc/Bundle> #i...
28.577982
74
0.539005
frankencode
287b7e337d78f2f4ac0a11fc0334a79c53680eee
1,592
cpp
C++
core/general-client/src/pybind_general_model.cpp
guru4elephant/Serving
18ee0af3465487e47a90d0581c6785bc69cc5b78
[ "Apache-2.0" ]
null
null
null
core/general-client/src/pybind_general_model.cpp
guru4elephant/Serving
18ee0af3465487e47a90d0581c6785bc69cc5b78
[ "Apache-2.0" ]
null
null
null
core/general-client/src/pybind_general_model.cpp
guru4elephant/Serving
18ee0af3465487e47a90d0581c6785bc69cc5b78
[ "Apache-2.0" ]
null
null
null
#include <Python.h> #include <pybind11/pybind11.h> #include <unordered_map> #include "core/general-client/include/general_model.h" #include <pybind11/stl.h> namespace py = pybind11; using baidu::paddle_serving::general_model::FetchedMap; namespace baidu { namespace paddle_serving { namespace general_model { PYBIND...
31.84
74
0.600503
guru4elephant
287cf8152e4532c402923c64b18ebe8d3bb61ad9
4,017
cxx
C++
xp_comm_proj/repalpha/repalpha.cxx
avs/express-community
c699a68330d3b678b7e6bcea823e0891b874049c
[ "Apache-2.0" ]
3
2020-08-03T08:52:20.000Z
2021-04-10T11:55:49.000Z
xp_comm_proj/repalpha/repalpha.cxx
avs/express-community
c699a68330d3b678b7e6bcea823e0891b874049c
[ "Apache-2.0" ]
null
null
null
xp_comm_proj/repalpha/repalpha.cxx
avs/express-community
c699a68330d3b678b7e6bcea823e0891b874049c
[ "Apache-2.0" ]
1
2021-06-08T18:16:45.000Z
2021-06-08T18:16:45.000Z
// // Sabreen's Replace Alpha Module // // Input RGB image Input scalar Alpha image // | | // ---- ---- // | | // Replace_Alpha // | // new image #include "xp_comm_proj/repalpha/gen.h" #define FREE...
27.895833
105
0.598457
avs
287dec43b9967143ed2b1bb4fbd223df8c90e73f
4,936
cpp
C++
DISCONTINUED/runtime/JSNotAnObject.cpp
openaphid/AJ
0c81ec4f297cf981423e1aa3b3cf0dc448d98052
[ "Apache-2.0" ]
2
2016-11-08T07:27:59.000Z
2016-11-29T12:22:19.000Z
DISCONTINUED/runtime/JSNotAnObject.cpp
PioneerLab/OpenAphid-AJ
0c81ec4f297cf981423e1aa3b3cf0dc448d98052
[ "Apache-2.0" ]
1
2015-03-30T08:13:25.000Z
2015-03-31T10:45:12.000Z
DISCONTINUED/runtime/JSNotAnObject.cpp
PioneerLab/OpenAphid-AJ
0c81ec4f297cf981423e1aa3b3cf0dc448d98052
[ "Apache-2.0" ]
2
2015-05-23T06:43:01.000Z
2015-11-27T14:52:31.000Z
/* Copyright 2012 Aphid Mobile 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, software d...
33.578231
101
0.743112
openaphid
287eb292b81eea2783eef1959fb8ff0af8eafb2f
1,052
cpp
C++
Algorithms/Sorting/can_make_ap.cpp
abhishekjha786/ds_algo
38355ca12e8ac20c4baa8baccf8ad189effaa6ae
[ "MIT" ]
11
2020-03-20T17:24:28.000Z
2022-01-08T02:43:24.000Z
Algorithms/Sorting/can_make_ap.cpp
abhishekjha786/ds_algo
38355ca12e8ac20c4baa8baccf8ad189effaa6ae
[ "MIT" ]
1
2021-07-25T11:24:46.000Z
2021-07-25T12:09:25.000Z
Algorithms/Sorting/can_make_ap.cpp
abhishekjha786/ds_algo
38355ca12e8ac20c4baa8baccf8ad189effaa6ae
[ "MIT" ]
4
2020-03-20T17:24:36.000Z
2021-12-07T19:22:59.000Z
// A sequence of numbers is called an arithmetic progression if the difference between any two consecutive elements is the same. // Given an array of numbers arr, return true if the array can be rearranged to form an arithmetic progression. Otherwise, return false. // Example 1: // Input: arr = [3,5,1] // Output: tr...
26.3
136
0.622624
abhishekjha786
287fca21f327dd38480403a18c9b28f2e8de0c41
1,925
cc
C++
complex/src/complexs.cc
ULL-ESIT-IB-2020-2021/ib-practica12-oop-gtests-exercism-Guillermo-A
b0b1861336aacbb5f5f3990cb2691a17358904a6
[ "MIT" ]
null
null
null
complex/src/complexs.cc
ULL-ESIT-IB-2020-2021/ib-practica12-oop-gtests-exercism-Guillermo-A
b0b1861336aacbb5f5f3990cb2691a17358904a6
[ "MIT" ]
null
null
null
complex/src/complexs.cc
ULL-ESIT-IB-2020-2021/ib-practica12-oop-gtests-exercism-Guillermo-A
b0b1861336aacbb5f5f3990cb2691a17358904a6
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdlib> #include "complex.h" #include <cmath> #include <string> Complex::Complex(){ real = 0.0; imag = 0.0; } Complex::Complex(double _real){ real = _real; imag = 0.0; } Complex::Complex(double _real, double _imag){ real = _real; imag = _imag; } Complex::Comple...
20.263158
124
0.576104
ULL-ESIT-IB-2020-2021
28816d855a9a0b6432c37304f0c3c828b2ec9fba
1,737
hpp
C++
vendor/src/anchorable_element.hpp
crails-framework/comet.cpp
c43b5e72a065b7a2e34f723fcca11d9a673c564e
[ "BSD-3-Clause" ]
null
null
null
vendor/src/anchorable_element.hpp
crails-framework/comet.cpp
c43b5e72a065b7a2e34f723fcca11d9a673c564e
[ "BSD-3-Clause" ]
null
null
null
vendor/src/anchorable_element.hpp
crails-framework/comet.cpp
c43b5e72a065b7a2e34f723fcca11d9a673c564e
[ "BSD-3-Clause" ]
null
null
null
#ifndef COMET_ANCHORABLE_ELEMENT_HPP # define COMET_ANCHORABLE_ELEMENT_HPP # include "element.hpp" # include "exception.hpp" namespace Comet { enum AnchorMode { ChildrenAnchor, AppendAnchor, PrependAnchor, AnchorsEnd }; struct AnchorableElement { Comet::Element anchor; AnchorMode ...
21.7125
94
0.607369
crails-framework
28824cfd496f7c78282b2cba602888c1bda14262
130
hpp
C++
Render_IOS/Render_IOS/opencv2.framework/Versions/A/Headers/photo.hpp
hzx829/Render_IOS
268085cc95cef5d90ce996df83a6b5da7f992e6d
[ "MIT" ]
null
null
null
Render_IOS/Render_IOS/opencv2.framework/Versions/A/Headers/photo.hpp
hzx829/Render_IOS
268085cc95cef5d90ce996df83a6b5da7f992e6d
[ "MIT" ]
null
null
null
Render_IOS/Render_IOS/opencv2.framework/Versions/A/Headers/photo.hpp
hzx829/Render_IOS
268085cc95cef5d90ce996df83a6b5da7f992e6d
[ "MIT" ]
null
null
null
version https://git-lfs.github.com/spec/v1 oid sha256:4a7563ecfc3b8699913508012396395eefe0eebe53e6ce2f6b758d87183d2d81 size 38844
32.5
75
0.884615
hzx829
2888fa094d4459c7b2a8e5738dbd18546d79042f
1,272
cpp
C++
000/ISN/test_cpp/learn-dll2/header/Duree.cpp
Tehcam/Studies
69477a211d8c686473b171ad2fa4298ead2ee60d
[ "MIT" ]
null
null
null
000/ISN/test_cpp/learn-dll2/header/Duree.cpp
Tehcam/Studies
69477a211d8c686473b171ad2fa4298ead2ee60d
[ "MIT" ]
null
null
null
000/ISN/test_cpp/learn-dll2/header/Duree.cpp
Tehcam/Studies
69477a211d8c686473b171ad2fa4298ead2ee60d
[ "MIT" ]
null
null
null
#include "Duree.h" Duree::Duree(int hour, int min, int sec):m_hour(hour), m_min(min), m_sec(sec) { if(m_sec >= 60){ int rest_sec = m_sec % 60; m_min += (m_sec - rest_sec)/60; m_sec = rest_sec; } if(m_min >= 60){ int rest_min = m_min % 60; m_hour += (m_min - rest_min)/60; m_min = rest_min; } } bool Du...
15.9
77
0.606132
Tehcam
288a93f29e4d1c8b37253c755674a2c2dd31f182
6,148
cpp
C++
src/cube/ColumnGenerator.cpp
qcoumes/mastercraft
5ee36fde6eab80d18075970eff47b4a5c45143f5
[ "MIT" ]
1
2021-01-12T16:58:05.000Z
2021-01-12T16:58:05.000Z
src/cube/ColumnGenerator.cpp
qcoumes/mastercraft
5ee36fde6eab80d18075970eff47b4a5c45143f5
[ "MIT" ]
null
null
null
src/cube/ColumnGenerator.cpp
qcoumes/mastercraft
5ee36fde6eab80d18075970eff47b4a5c45143f5
[ "MIT" ]
null
null
null
#include <stdexcept> #include <cube/ColumnGenerator.hpp> namespace cube { ColumnGenerator::Column ColumnGenerator::waterColumn(GLuint height) { Column column = {}; column.fill(cube::CubeData::AIR); for (GLuint y = 0; y <= app::Config::GEN_WATER_LEVEL + 1; y++) { ...
27.819005
94
0.458198
qcoumes
288f05157ce971404bed0768b375b3eecbe32995
8,898
hpp
C++
src/base/hip/hip_kernels_vector.hpp
pruthvistony/rocALUTION
2a5c602f41194f7730f59b4f0ce8c5cfff77fa07
[ "MIT" ]
1
2020-04-15T18:26:58.000Z
2020-04-15T18:26:58.000Z
src/base/hip/hip_kernels_vector.hpp
pruthvistony/rocALUTION
2a5c602f41194f7730f59b4f0ce8c5cfff77fa07
[ "MIT" ]
null
null
null
src/base/hip/hip_kernels_vector.hpp
pruthvistony/rocALUTION
2a5c602f41194f7730f59b4f0ce8c5cfff77fa07
[ "MIT" ]
null
null
null
/* ************************************************************************ * Copyright (c) 2018 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without re...
34.223077
91
0.512812
pruthvistony
288f69959a8c8ce13c1825a1587fcc74594aa847
1,198
hpp
C++
venv/lib/python3.7/site-packages/pystan/stan/lib/stan_math/stan/math/prim/arr/err/check_matching_sizes.hpp
vchiapaikeo/prophet
e8c250ca7bfffc280baa7dabc80a2c2d1f72c6a7
[ "MIT" ]
null
null
null
venv/lib/python3.7/site-packages/pystan/stan/lib/stan_math/stan/math/prim/arr/err/check_matching_sizes.hpp
vchiapaikeo/prophet
e8c250ca7bfffc280baa7dabc80a2c2d1f72c6a7
[ "MIT" ]
null
null
null
venv/lib/python3.7/site-packages/pystan/stan/lib/stan_math/stan/math/prim/arr/err/check_matching_sizes.hpp
vchiapaikeo/prophet
e8c250ca7bfffc280baa7dabc80a2c2d1f72c6a7
[ "MIT" ]
null
null
null
#ifndef STAN_MATH_PRIM_ARR_ERR_CHECK_MATCHING_SIZES_HPP #define STAN_MATH_PRIM_ARR_ERR_CHECK_MATCHING_SIZES_HPP #include <stan/math/prim/scal/err/domain_error.hpp> #include <stan/math/prim/scal/err/check_size_match.hpp> namespace stan { namespace math { /** * Check if two structures at the same size. * This functi...
35.235294
77
0.69783
vchiapaikeo
2891c4cbc78cbe9a77bc17dbf1dff0fd6f26a7b8
16,767
cpp
C++
Folly/folly/portability/PThread.cpp
hasridha/react-native
dbf44ed0ba802ed80d9df9a913228b7aa19b17a1
[ "CC-BY-4.0", "MIT" ]
2,114
2020-05-06T10:05:45.000Z
2022-03-31T23:19:28.000Z
Folly/folly/portability/PThread.cpp
hasridha/react-native
dbf44ed0ba802ed80d9df9a913228b7aa19b17a1
[ "CC-BY-4.0", "MIT" ]
623
2020-05-05T21:24:26.000Z
2022-03-30T21:00:31.000Z
Folly/folly/portability/PThread.cpp
hasridha/react-native
dbf44ed0ba802ed80d9df9a913228b7aa19b17a1
[ "CC-BY-4.0", "MIT" ]
214
2019-04-11T09:36:41.000Z
2022-02-19T08:10:31.000Z
/* * Copyright 2017-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
24.02149
84
0.670126
hasridha
2891ed38416ea18d8896a89d72a5821689796278
5,186
cpp
C++
lib/io/pipe.cpp
siilky/catomania
cb3a05cbef523d16b8929b390e190e0cd5924ee9
[ "MIT" ]
1
2021-02-05T23:20:07.000Z
2021-02-05T23:20:07.000Z
lib/io/pipe.cpp
siilky/catomania
cb3a05cbef523d16b8929b390e190e0cd5924ee9
[ "MIT" ]
null
null
null
lib/io/pipe.cpp
siilky/catomania
cb3a05cbef523d16b8929b390e190e0cd5924ee9
[ "MIT" ]
null
null
null
// $Id: pipe.cpp 1040 2014-02-15 16:31:04Z jerry $ #include "stdafx.h" #include "common.h" #include "thread.h" #include "log.h" #include "io/pipe.h" #include "WaitQueue.h" //------------------------------------------------------------------------------ bool Pipe::listen(const tstring &pipeName, int maxInstances) {...
26.459184
80
0.446973
siilky
289313a9b246c3a912889a3ee73bfb5035229e90
907
cpp
C++
Ray/Utils/RLogger.cpp
CAt0mIcS/NodePlanningEditor
d332fcef0dd2b7747727a7cb03edffba26abb1f7
[ "MIT" ]
null
null
null
Ray/Utils/RLogger.cpp
CAt0mIcS/NodePlanningEditor
d332fcef0dd2b7747727a7cb03edffba26abb1f7
[ "MIT" ]
null
null
null
Ray/Utils/RLogger.cpp
CAt0mIcS/NodePlanningEditor
d332fcef0dd2b7747727a7cb03edffba26abb1f7
[ "MIT" ]
null
null
null
#include "Rpch.h" #include "RLogger.h" namespace At0::Ray { RAY_EXPORT Violent::FileLogger g_FileLogger; RAY_EXPORT Violent::ConsoleLogger g_ConsoleLogger; void CLog::Close() { g_ConsoleLogger.Close(); } void CLog::SetLogLevel(Violent::LogLevel lvl) { g_ConsoleLogger.SetLogLevel(lvl); } void CLog::Flush() { g_...
23.25641
84
0.689085
CAt0mIcS
28959903e63b3e3abceac96ea6c94df321d34dde
11,435
cpp
C++
Engine/source/gui/controls/guiMLTextEditCtrl.cpp
fr1tz/alux3d
249a3b51751ce3184d52879b481f83eabe89e7e3
[ "MIT" ]
46
2015-01-05T17:34:43.000Z
2022-01-04T04:03:09.000Z
Engine/source/gui/controls/guiMLTextEditCtrl.cpp
fr1tz/alux3d
249a3b51751ce3184d52879b481f83eabe89e7e3
[ "MIT" ]
10
2015-01-20T23:14:46.000Z
2019-04-05T22:04:15.000Z
Engine/source/gui/controls/guiMLTextEditCtrl.cpp
fr1tz/terminal-overload
85f0689a40022e5eb7e54dcb6ddfb5ddd82a0a60
[ "CC-BY-4.0" ]
9
2015-08-08T18:46:06.000Z
2021-02-01T13:53:20.000Z
// Copyright information can be found in the file named COPYING // located in the root directory of this distribution. #include "gui/controls/guiMLTextEditCtrl.h" #include "gui/containers/guiScrollCtrl.h" #include "gui/core/guiCanvas.h" #include "console/consoleTypes.h" #include "core/frameAllocator.h" #include "core/...
25.467706
183
0.529252
fr1tz
2896d5cd500af8503aade3c7b74201f9e1f36d70
553
cpp
C++
src/main.cpp
ivan-volnov/uvserver
6beaee50488599ff3a2719c9f5604350e0624587
[ "MIT" ]
null
null
null
src/main.cpp
ivan-volnov/uvserver
6beaee50488599ff3a2719c9f5604350e0624587
[ "MIT" ]
null
null
null
src/main.cpp
ivan-volnov/uvserver
6beaee50488599ff3a2719c9f5604350e0624587
[ "MIT" ]
1
2020-04-29T08:33:03.000Z
2020-04-29T08:33:03.000Z
#include "server.h" #include "uv_network/uv_buffers.h" int main(int /*argc*/, char **argv) { const auto host = "0.0.0.0"; const auto port = 9000; std::cout << "Listening " << host << " " << port << std::endl; { std::string tzdb_filepath(*argv); tzdb_filepath.resize(tzdb_filepath.rfind(...
27.65
66
0.585895
ivan-volnov
289b1016343b2ac978d310446674bae88800a404
2,455
cpp
C++
src/trash/logwriter/benchmarking.cpp
WebWorksCollection/treefrog-framework
9da400135c5fa6c4effa878cca395d8f200cf0f0
[ "BSD-3-Clause" ]
942
2015-01-16T02:02:10.000Z
2022-03-31T02:11:50.000Z
src/trash/logwriter/benchmarking.cpp
WebWorksCollection/treefrog-framework
9da400135c5fa6c4effa878cca395d8f200cf0f0
[ "BSD-3-Clause" ]
250
2015-04-26T23:46:48.000Z
2022-03-30T09:32:05.000Z
src/trash/logwriter/benchmarking.cpp
WebWorksCollection/treefrog-framework
9da400135c5fa6c4effa878cca395d8f200cf0f0
[ "BSD-3-Clause" ]
244
2015-01-16T17:41:06.000Z
2022-02-11T09:34:42.000Z
#include <QtTest/QtTest> #include "tlogsender.h" #include "tlogfilewriter.h" #define LOG_SERVER_NAME_PREFIX QLatin1String(".tflogsvr_") class BenchMark : public QObject { Q_OBJECT private slots: void sendLog(); void writeFileLog(); }; void BenchMark::sendLog() { TLogSender sender(LOG_SERVER_NAME_P...
43.070175
140
0.774745
WebWorksCollection
289bff44c94f9d581d9dccce9efd97e682ef9529
7,587
cpp
C++
src/ban.cpp
Celissa/Legacy-Base
027553da16342c4e31cebf5eaad6925fbaa5d5a5
[ "CC-BY-3.0" ]
1
2018-09-16T03:17:50.000Z
2018-09-16T03:17:50.000Z
src/ban.cpp
Celissa/Legacy-Base
027553da16342c4e31cebf5eaad6925fbaa5d5a5
[ "CC-BY-3.0" ]
null
null
null
src/ban.cpp
Celissa/Legacy-Base
027553da16342c4e31cebf5eaad6925fbaa5d5a5
[ "CC-BY-3.0" ]
null
null
null
#include "system.h" const char** badname_array = NULL; int max_badname = 0; class ban_data { public: ban_data* next; char* name; ban_data( ); ~ban_data( ); }; ban_data* ban_list = NULL; ban_data :: ban_data( ) { name = empty_string; record_new( sizeof( ban_data ), MEM_BAN...
21.371831
97
0.529458
Celissa
289cbb5ebfe7afe1dfff865eab6a305210cff2db
27,820
cc
C++
ext/snowcrash/test/test-ActionParser.cc
darkcl/drafter
62dcc54341d76b1dae7bca1777f5eea8815b0c3b
[ "MIT" ]
194
2015-01-12T03:33:33.000Z
2021-03-27T04:08:15.000Z
ext/snowcrash/test/test-ActionParser.cc
darkcl/drafter
62dcc54341d76b1dae7bca1777f5eea8815b0c3b
[ "MIT" ]
142
2015-01-04T15:35:17.000Z
2018-10-01T13:02:21.000Z
ext/snowcrash/test/test-ActionParser.cc
darkcl/drafter
62dcc54341d76b1dae7bca1777f5eea8815b0c3b
[ "MIT" ]
36
2015-01-28T05:41:01.000Z
2018-07-18T08:48:26.000Z
// // test-ActionParser.cc // snowcrash // // Created by Zdenek Nemec on 5/6/13. // Copyright (c) 2013 Apiary Inc. All rights reserved. // #include "snowcrash.h" #include "snowcrashtest.h" #include "ActionParser.h" using namespace snowcrash; using namespace snowcrashtest; const mdp::ByteBuffer ActionFixture ...
40.732064
118
0.671819
darkcl
289cdd8a187b2fe67322faacd80f5ad341dcfbe8
6,190
cpp
C++
src/buffers/AudioBufferSamples.cpp
PlaymodesStudio/ofxPlaymodes2017
13ed5a77f75fa4c48f47d4e38ac10a5f085c7b31
[ "MIT" ]
null
null
null
src/buffers/AudioBufferSamples.cpp
PlaymodesStudio/ofxPlaymodes2017
13ed5a77f75fa4c48f47d4e38ac10a5f085c7b31
[ "MIT" ]
1
2019-05-03T11:35:22.000Z
2019-05-03T23:22:58.000Z
src/buffers/AudioBufferSamples.cpp
PlaymodesStudio/ofxPlaymodes2017
13ed5a77f75fa4c48f47d4e38ac10a5f085c7b31
[ "MIT" ]
null
null
null
/* * AudioBuffer.cpp * * Created on: 09-oct-2008 * Author: arturo castro */ #include "AudioBufferSamples.h" namespace ofxPm{ //----------------------------------------------------------------------------------------- AudioBufferSamples::AudioBufferSamples(AudioSource & source, float size, int sampleR, ...
33.641304
185
0.501777
PlaymodesStudio
289ee21335e0a37b119be2588ad92c6cff352a14
352
hpp
C++
Pong/GameObjects/PlayerRacket.hpp
emersonmx/pong-sfml
497e0dd390f5b3cc321b856b8260eb0df3f016ee
[ "MIT" ]
null
null
null
Pong/GameObjects/PlayerRacket.hpp
emersonmx/pong-sfml
497e0dd390f5b3cc321b856b8260eb0df3f016ee
[ "MIT" ]
null
null
null
Pong/GameObjects/PlayerRacket.hpp
emersonmx/pong-sfml
497e0dd390f5b3cc321b856b8260eb0df3f016ee
[ "MIT" ]
null
null
null
#ifndef PONG_GAMEOBJECTS_PLAYERRACKET_HPP_ #define PONG_GAMEOBJECTS_PLAYERRACKET_HPP_ #include "Pong/GameObjects/Racket.hpp" namespace pong { class PlayerRacket : public Racket { public: using Racket::Racket; protected: void handleInput() override; }; } /* namespace pong */ #endif /* PONG_G...
19.555556
47
0.738636
emersonmx
80bd6bd04b8ca2715e8216fae10118ba6afc0a11
1,901
cpp
C++
lib/ssl/src/Init.cpp
astateful/dyplat
37c37c7ee9f55cc2a3abaa0f8ebbde34588d2f44
[ "BSD-3-Clause" ]
null
null
null
lib/ssl/src/Init.cpp
astateful/dyplat
37c37c7ee9f55cc2a3abaa0f8ebbde34588d2f44
[ "BSD-3-Clause" ]
null
null
null
lib/ssl/src/Init.cpp
astateful/dyplat
37c37c7ee9f55cc2a3abaa0f8ebbde34588d2f44
[ "BSD-3-Clause" ]
null
null
null
#include "astateful/ssl/Init.hpp" #include <openssl/ssl.h> #include <openssl/err.h> #include <openssl/conf.h> #include <openssl/engine.h> #include "Windows.h" namespace astateful { namespace ssl { struct Init::pimpl { pimpl() : num_mutex( CRYPTO_num_locks() ) { handle_mutex = static_cast<HANDLE *>( CRYPT...
25.689189
91
0.647028
astateful
80c3095b456838a25274041a1557e382121155fd
3,908
cc
C++
src/Observer.cc
homer6/jetstream
e38818de9d24598ac3b3ad7fc5529142db793aad
[ "MIT" ]
null
null
null
src/Observer.cc
homer6/jetstream
e38818de9d24598ac3b3ad7fc5529142db793aad
[ "MIT" ]
null
null
null
src/Observer.cc
homer6/jetstream
e38818de9d24598ac3b3ad7fc5529142db793aad
[ "MIT" ]
null
null
null
#include "Observer.h" #include "Common.h" #include <iostream> using std::cout; using std::cerr; using std::endl; namespace jetstream{ Observer::Observer(){ } Observer::~Observer(){ } void Observer::addMetricEntry( const string& metric_entry ){ size_t entry_length =...
25.710526
114
0.494371
homer6
80c5263c024777b939b5f6d1b211f72eb2268b1e
13,997
cpp
C++
opensubdiv/far/stencilBuilder.cpp
dazcjones/OpenSubdiv
dcdfc47f24e091591c59df1b0e90736973cd6da1
[ "Apache-2.0" ]
2
2016-11-04T09:55:36.000Z
2021-05-02T11:20:34.000Z
opensubdiv/far/stencilBuilder.cpp
dazcjones/OpenSubdiv
dcdfc47f24e091591c59df1b0e90736973cd6da1
[ "Apache-2.0" ]
2
2015-06-21T17:38:11.000Z
2015-06-22T20:54:42.000Z
opensubdiv/far/stencilBuilder.cpp
dazcjones/OpenSubdiv
dcdfc47f24e091591c59df1b0e90736973cd6da1
[ "Apache-2.0" ]
null
null
null
// // Copyright 2015 Pixar // // Licensed under the Apache License, Version 2.0 (the "Apache License") // with the following modification; you may not use this file except in // compliance with the Apache License and the following modification to it: // Section 6. Trademarks. is deleted and replaced with: // ...
32.400463
80
0.602343
dazcjones
80c907b094d75c1d775f0291f8d081ec452bdb2e
157
hh
C++
utils/include/utils/misc.hh
balayette/saphIR-project
18da494ac21e5433fdf1c646be02c9bf25177d7d
[ "MIT" ]
14
2020-07-31T09:35:23.000Z
2021-11-15T11:18:35.000Z
utils/include/utils/misc.hh
balayette/saphIR-project
18da494ac21e5433fdf1c646be02c9bf25177d7d
[ "MIT" ]
null
null
null
utils/include/utils/misc.hh
balayette/saphIR-project
18da494ac21e5433fdf1c646be02c9bf25177d7d
[ "MIT" ]
null
null
null
#pragma once #define ROUND_UP(x, m) (((x) + (m)-1) & ~((m)-1)) #define ROUND_DOWN(x, m) ((x) & ~((m)-1)) #define IS_POWER_OF_TWO(x) (((x) & ((x)-1)) == 0)
22.428571
49
0.496815
balayette
80c9cf625553f0801ac7b14b697c2f2df8b2a96b
55,161
cpp
C++
src/gui/jb_scrollset.cpp
JadeMatrix/jadebase
c4575cc9f0b73c18ea82b671f6b347211507b71b
[ "Zlib" ]
null
null
null
src/gui/jb_scrollset.cpp
JadeMatrix/jadebase
c4575cc9f0b73c18ea82b671f6b347211507b71b
[ "Zlib" ]
8
2015-02-24T19:38:35.000Z
2016-05-25T02:33:48.000Z
src/gui/jb_scrollset.cpp
JadeMatrix/jadebase
c4575cc9f0b73c18ea82b671f6b347211507b71b
[ "Zlib" ]
null
null
null
/* * jb_scrollset.cpp * * About * */ /* INCLUDES *******************************************************************//******************************************************************************/ #include "jb_scrollset.hpp" #include "jb_named_resources.hpp" #include "jb_group.hpp" #include "jb_resource.hpp...
45.512376
160
0.358133
JadeMatrix
80cc755d1843c1ec1a9b1fdc9075682481b29719
577
cpp
C++
CppPrimer/CppPrimer-Exercises/CppPrimer-Ch05/Exercise5.19.cpp
alaxion/Learning
4b12b1603419252103cd933fdbfc4b2faffb6d00
[ "MIT" ]
null
null
null
CppPrimer/CppPrimer-Exercises/CppPrimer-Ch05/Exercise5.19.cpp
alaxion/Learning
4b12b1603419252103cd933fdbfc4b2faffb6d00
[ "MIT" ]
null
null
null
CppPrimer/CppPrimer-Exercises/CppPrimer-Ch05/Exercise5.19.cpp
alaxion/Learning
4b12b1603419252103cd933fdbfc4b2faffb6d00
[ "MIT" ]
null
null
null
// Exercise5.19.cpp // Ad // Use a do while loop to repetitively request two string form user and report which is less. #include <iostream> #include <string> using std::cin; using std::cout; using std::endl; int main() { std::string str1 = {}, str2 = {}; cin >> str1 >> str2; do { if (str1 =...
19.233333
94
0.493934
alaxion
80ce28b9632f6cbb22de2470d4dc83819b37a658
172
hpp
C++
Color.hpp
C0ff33C0d3r/WindowSystemLib
161799d395228cf00b7ffe70c6a41dd1ba1ed900
[ "MIT" ]
null
null
null
Color.hpp
C0ff33C0d3r/WindowSystemLib
161799d395228cf00b7ffe70c6a41dd1ba1ed900
[ "MIT" ]
null
null
null
Color.hpp
C0ff33C0d3r/WindowSystemLib
161799d395228cf00b7ffe70c6a41dd1ba1ed900
[ "MIT" ]
1
2021-03-26T12:54:29.000Z
2021-03-26T12:54:29.000Z
#ifndef COLOR_HPP_ #define COLOR_HPP_ #include <cstdint> struct Color { uint8_t red; uint8_t green; uint8_t blue; uint8_t alpha; }; #endif // COLOR_HPP_
13.230769
21
0.680233
C0ff33C0d3r
80cf36d94737c33e51bf9178a34764f408867d06
5,801
cpp
C++
MathLib/MathLibUtilities.cpp
bryanlawsmith/Raytracing
519b3f3867e0c00b92091dd755a4a73121e22064
[ "MIT" ]
1
2016-02-17T17:03:37.000Z
2016-02-17T17:03:37.000Z
MathLib/MathLibUtilities.cpp
bryanlawsmith/Raytracing
519b3f3867e0c00b92091dd755a4a73121e22064
[ "MIT" ]
null
null
null
MathLib/MathLibUtilities.cpp
bryanlawsmith/Raytracing
519b3f3867e0c00b92091dd755a4a73121e22064
[ "MIT" ]
null
null
null
#include "MathLibUtilities.h" #include "MathLib_MatrixVectorOps.h" #include "MathLib_QuaternionMatrixOps.h" namespace MathLib { void GenerateTransformMatrix(matrix4x4& transform, const vector4& position, const vector4& rotation, const vector4& scale) { // Generate the translation transform. matrix4x4 trans...
28.860697
89
0.689364
bryanlawsmith
80d3c792638be9c6a62079724a1cb9f695dbe3b4
5,260
cpp
C++
src/Dtw/Dtw.cpp
EDBE/MUSIC-8903-2016-assignment5-PPM
69e229d7510ba1e605ac48f214091c5287453ed3
[ "MIT" ]
null
null
null
src/Dtw/Dtw.cpp
EDBE/MUSIC-8903-2016-assignment5-PPM
69e229d7510ba1e605ac48f214091c5287453ed3
[ "MIT" ]
2
2016-02-18T02:36:53.000Z
2016-03-06T06:03:41.000Z
src/Dtw/Dtw.cpp
RitheshKumar/MUSI-8903-Assignment3
94ccd2c8277cf98f8f94bdf3dea62be1c31b6d69
[ "MIT" ]
null
null
null
#include "Vector.h" #include "Util.h" #include "Dtw.h" CDtw::CDtw( void ) : m_bIsInitialized(false), m_bWasProcessed(false), m_fOverallCost(0), m_ppePathIdx(0), m_iLengthOfPath(0) { CVector::setZero(m_apfCost, kNumVectors); CVector::setZero(m_aiMatrixDimensions, kNumMatrixDimensions); ...
27.253886
152
0.598859
EDBE
80d3dc5d6c385885bb2f29a68f03cd442b275f9d
3,787
cpp
C++
Wolf/Sources/fuhrercube.cpp
cppdvl/wolf
cea686a9da92f93ad70d029f22acff7c0b1c69f9
[ "Unlicense", "MIT" ]
null
null
null
Wolf/Sources/fuhrercube.cpp
cppdvl/wolf
cea686a9da92f93ad70d029f22acff7c0b1c69f9
[ "Unlicense", "MIT" ]
null
null
null
Wolf/Sources/fuhrercube.cpp
cppdvl/wolf
cea686a9da92f93ad70d029f22acff7c0b1c69f9
[ "Unlicense", "MIT" ]
null
null
null
#include <map> #include <array> #include <cstdlib> #include <utility> #include <iomanip> #include <iostream> #include <algorithm> #include <nlohmann/json.hpp> #include <glad/glad.h> #include <wolf/utils/maputils.hpp> #include <wolf/utils/filesystemutils.hpp> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform....
39.041237
179
0.62741
cppdvl
80d656e7a63e8e2df7247bd4c93bcfc37eba48f2
7,171
cpp
C++
packages/data_gen/xsdir/test/tstPhotonuclearXsdirEntry.cpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/data_gen/xsdir/test/tstPhotonuclearXsdirEntry.cpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/data_gen/xsdir/test/tstPhotonuclearXsdirEntry.cpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
//---------------------------------------------------------------------------// //! //! \file tstPhotonuclearXsdirEntry.cpp //! \author Alex Robinson //! \brief Photonuclear xsdir entry unit tests //! //---------------------------------------------------------------------------// // Std Lib Includes #include <iostr...
46.264516
122
0.684005
lkersting
80d681a8712a6b97f1baf57fbbd91f581fc7c06b
3,299
cc
C++
test/drive_view_colors.cc
rzadp/lnav
853ef11435e04717249ad2f643afffa510cddfc7
[ "BSD-2-Clause" ]
1
2020-12-16T08:55:30.000Z
2020-12-16T08:55:30.000Z
test/drive_view_colors.cc
Sifor/lnav
92f28f1174f1c26408d7b3dd548b80d54adad6f4
[ "BSD-2-Clause" ]
null
null
null
test/drive_view_colors.cc
Sifor/lnav
92f28f1174f1c26408d7b3dd548b80d54adad6f4
[ "BSD-2-Clause" ]
null
null
null
/** * Copyright (c) 2007-2012, Timothy Stack * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this * list o...
27.040984
81
0.659291
rzadp
80d9055f5e028362b7b101defa6d7bb6d3e58e08
4,420
hpp
C++
app/src/main/jni/src/Runtime/PlayerControl.hpp
BLACK-ARCHON/among-us-android-mod
a66c6c189caab15644bde3853a1e73d1037437ad
[ "Apache-2.0" ]
6
2020-11-15T14:15:19.000Z
2021-07-27T22:53:58.000Z
app/src/main/jni/src/Runtime/PlayerControl.hpp
LGLTeam/among-us-android-mod
e62de079d7767bf63624e21816dc46f88100e829
[ "Apache-2.0" ]
1
2020-12-03T07:56:15.000Z
2020-12-20T06:25:41.000Z
app/src/main/jni/src/Runtime/PlayerControl.hpp
BLACK-ARCHON/among-us-android-mod
a66c6c189caab15644bde3853a1e73d1037437ad
[ "Apache-2.0" ]
2
2021-03-03T03:37:49.000Z
2021-04-06T08:21:36.000Z
#pragma once #include "BaseObject.hpp" class PlayerInfo; class PlayerControl : public BaseObject { private: public: enum MethodOffset : uintptr_t { MethodOffset_Constructor = 0x693C34, MethodOffset_get_CanMove = 0x689914, MethodOffset_CmdCheckColor = 0x68F3B0, MethodOffset_CmdCheck...
36.833333
160
0.70905
BLACK-ARCHON
80db12575158da5bbf7f2d37cbbae7f57392d33c
395
cpp
C++
AchiKochiFolder/SHBrowseForFolder/A.cpp
HiraokaHyperTools/AchiKochiFolder
8255942160a210ae697ed0bf20e3ec37bcd583ce
[ "BSD-3-Clause" ]
null
null
null
AchiKochiFolder/SHBrowseForFolder/A.cpp
HiraokaHyperTools/AchiKochiFolder
8255942160a210ae697ed0bf20e3ec37bcd583ce
[ "BSD-3-Clause" ]
null
null
null
AchiKochiFolder/SHBrowseForFolder/A.cpp
HiraokaHyperTools/AchiKochiFolder
8255942160a210ae697ed0bf20e3ec37bcd583ce
[ "BSD-3-Clause" ]
null
null
null
#include <windows.h> #include <shlobj.h> #include <tchar.h> #include <atlbase.h> #include <atlcom.h> int _tmain() { HRESULT hr; if (FAILED(hr = OleInitialize(NULL))) return 1; BROWSEINFO bi; ZeroMemory(&bi, sizeof(bi)); bi.ulFlags |= BIF_RETURNFSANCESTORS; bi.ulFlags |= BIF_RETURNONLYFSDIRS;...
17.954545
39
0.660759
HiraokaHyperTools
80dd10c054b0e307654fcba8746df2c3512a4b94
1,635
cpp
C++
Plugins/org.mitk.gui.qt.ext/src/internal/QmitkAppInstancesPreferencePage.cpp
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2020-07-18T12:58:02.000Z
2020-07-18T12:58:02.000Z
Plugins/org.mitk.gui.qt.ext/src/internal/QmitkAppInstancesPreferencePage.cpp
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2021-12-22T10:19:02.000Z
2021-12-22T10:19:02.000Z
Plugins/org.mitk.gui.qt.ext/src/internal/QmitkAppInstancesPreferencePage.cpp
zhaomengxiao/MITK_lancet
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2020-11-27T09:41:18.000Z
2020-11-27T09:41:18.000Z
/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. =================...
25.153846
85
0.706422
zhaomengxiao