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
44c0d08c30036ed7bfff7d18d81cf9471f75ae34
1,009
cpp
C++
Emaject/examples/single/main.cpp
tyanmahou/Emaject
f0fcac3a251ce5be7cde3330fe23a40d68155e56
[ "MIT" ]
7
2020-12-14T13:41:22.000Z
2021-03-02T05:45:57.000Z
Emaject/examples/single/main.cpp
tyanmahou/Emaject
f0fcac3a251ce5be7cde3330fe23a40d68155e56
[ "MIT" ]
null
null
null
Emaject/examples/single/main.cpp
tyanmahou/Emaject
f0fcac3a251ce5be7cde3330fe23a40d68155e56
[ "MIT" ]
null
null
null
#include <Emaject.hpp> #include <iostream> #include <string_view> using emaject::Container; using emaject::IInstaller; using emaject::Injector; class ICounter { public: virtual int countUp() = 0; }; class Counter : public ICounter { int m_count; public: int countUp() override { return ++m_c...
18.685185
71
0.561943
tyanmahou
44c841f626c8c0b3ddfd101beedf7b32824828d1
41,862
cpp
C++
src/core/NEON/kernels/NEFFTRadixStageKernel.cpp
wql15/ComputeLibrary
11eac125873e91c828e318224db45701e2f32b39
[ "MIT" ]
2,313
2017-03-24T16:25:28.000Z
2022-03-31T03:00:30.000Z
src/core/NEON/kernels/NEFFTRadixStageKernel.cpp
wql15/ComputeLibrary
11eac125873e91c828e318224db45701e2f32b39
[ "MIT" ]
952
2017-03-28T07:05:58.000Z
2022-03-30T09:54:02.000Z
src/core/NEON/kernels/NEFFTRadixStageKernel.cpp
wql15/ComputeLibrary
11eac125873e91c828e318224db45701e2f32b39
[ "MIT" ]
714
2017-03-24T22:21:51.000Z
2022-03-18T19:49:57.000Z
/* * Copyright (c) 2019-2021 Arm Limited. * * SPDX-License-Identifier: MIT * * 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 * ri...
38.761111
197
0.563877
wql15
44cec18bafefb76b4fee8356792c761ff7605922
14,594
cpp
C++
tests/helics/core/TcpSSCore-tests.cpp
manoj1511/HELICS
5b085bb4331f943d3fa98eb40056c3e10a1b882d
[ "BSD-3-Clause" ]
null
null
null
tests/helics/core/TcpSSCore-tests.cpp
manoj1511/HELICS
5b085bb4331f943d3fa98eb40056c3e10a1b882d
[ "BSD-3-Clause" ]
null
null
null
tests/helics/core/TcpSSCore-tests.cpp
manoj1511/HELICS
5b085bb4331f943d3fa98eb40056c3e10a1b882d
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2017-2019, 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 */ #include "gtest/gtest.h" #include "helics/common/AsioContextManager.h...
32.004386
114
0.627313
manoj1511
44cf291f2500924fecf9f707a3323aff6cdc6e68
965
cpp
C++
AtCoder/abc222/c/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
AtCoder/abc222/c/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
1
2021-10-19T08:47:23.000Z
2022-03-07T05:23:56.000Z
AtCoder/abc222/c/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> #include <algorithm> #include <vector> using namespace std; int main() { int n, m; cin >> n >> m; vector<vector<char>> a(2 * n, vector<char>(m, '.')); for (int i = 0; i < 2 * n; i++) for (int j = 0; j < m; j++) cin >> a[i][j]; vector<pair<int, int>> v(2 * n, make_pai...
33.275862
79
0.426943
H-Tatsuhiro
44cfd4e7ce4d2e5e386c5d9f9bbba81b4557ed24
1,340
cpp
C++
SimTest/MaterialElementTest.cpp
doplusplus/Physics_Simulator
f562b07fe7c3e245c0ebc9d5618fe0c09114126c
[ "MIT" ]
null
null
null
SimTest/MaterialElementTest.cpp
doplusplus/Physics_Simulator
f562b07fe7c3e245c0ebc9d5618fe0c09114126c
[ "MIT" ]
1
2015-09-03T08:03:12.000Z
2015-10-06T20:11:48.000Z
SimTest/MaterialElementTest.cpp
doplusplus/PointSimulator
f562b07fe7c3e245c0ebc9d5618fe0c09114126c
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "CppUnitTest.h" #include "..\SimModule\MaterialElement.h" #include "..\SimModule\MechanicalAction.h" using namespace Microsoft::VisualStudio::CppUnitTestFramework; namespace UnitTesting { TEST_CLASS(MaterialPointTest) { public: TEST_METHOD(blankMatPointConstruction) { MaterialP...
25.769231
97
0.647761
doplusplus
44d00fc1ec492aaf1d3ae338ca53775e5285ffe3
1,393
cpp
C++
src/xray/xrLC/xrHierrarhy.cpp
OLR-xray/OLR-3.0
b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611
[ "Apache-2.0" ]
8
2016-01-25T20:18:51.000Z
2019-03-06T07:00:04.000Z
code/utils/xrLC/xrHierrarhy.cpp
ipl-adm/xray-oxygen
3ae4d4911f5b000e93bdf108eb68db25315b2fc6
[ "Apache-2.0" ]
null
null
null
code/utils/xrLC/xrHierrarhy.cpp
ipl-adm/xray-oxygen
3ae4d4911f5b000e93bdf108eb68db25315b2fc6
[ "Apache-2.0" ]
3
2016-02-14T01:20:43.000Z
2021-02-03T11:19:11.000Z
#include "stdafx.h" #include "build.h" #include "OGF_Face.h" void CBuild::BuildHierrarhy() { Fvector scene_size; float delimiter; scene_bb.getsize(scene_size); delimiter = _MAX(scene_size.x,_MAX(scene_size.y,scene_size.z)); delimiter *= 2; int iLevel = 1; float SizeLimit = g_params.m_maxsize/8; if (SizeL...
23.610169
75
0.632448
OLR-xray
44d2f00ef7111469bb8aca0db3686b9f951d7d70
107,793
cpp
C++
src/Chain/libraries/glua/lauxlib.cpp
WillAchain/Achain
4118a8fc7a18e356e5a865d39d21bba3100664c9
[ "MIT" ]
226
2017-09-07T13:13:08.000Z
2022-02-26T09:07:10.000Z
src/Chain/libraries/glua/lauxlib.cpp
WillAchain/Achain
4118a8fc7a18e356e5a865d39d21bba3100664c9
[ "MIT" ]
22
2017-09-26T03:36:21.000Z
2020-08-23T19:59:40.000Z
src/Chain/libraries/glua/lauxlib.cpp
WillAchain/Achain
4118a8fc7a18e356e5a865d39d21bba3100664c9
[ "MIT" ]
79
2017-09-08T02:57:08.000Z
2022-02-02T12:46:31.000Z
/* ** $Id: lauxlib.c,v 1.284 2015/11/19 19:16:22 roberto Exp $ ** Auxiliary functions for building Lua libraries ** See Copyright Notice in lua.h */ #define lauxlib_cpp #include <glua/lprefix.h> #include <errno.h> #include <stdarg.h> #include <cstdint> #include <stdio.h> #include <stdlib.h> #include <string.h> #inc...
35.388378
242
0.596931
WillAchain
44d4f86af1df765eb59f67783b5fc33ec26b160f
1,752
cpp
C++
button_maps.cpp
laparca/deconz-rest-plugin
d1298938484538f858428b12632269ffddb31484
[ "BSD-3-Clause" ]
1,765
2015-06-09T08:10:44.000Z
2022-03-29T16:20:41.000Z
button_maps.cpp
laparca/deconz-rest-plugin
d1298938484538f858428b12632269ffddb31484
[ "BSD-3-Clause" ]
5,354
2015-01-09T21:18:14.000Z
2022-03-31T21:41:56.000Z
button_maps.cpp
laparca/deconz-rest-plugin
d1298938484538f858428b12632269ffddb31484
[ "BSD-3-Clause" ]
506
2015-04-15T14:08:41.000Z
2022-03-28T09:23:35.000Z
/* * Copyright (c) 2021 dresden elektronik ingenieurtechnik gmbh. * All rights reserved. * * The software in this package is published under the terms of the BSD * style license a copy of which has been included with this distribution in * the LICENSE.txt file. * */ #include "button_maps.h" ButtonMapRef BM_Bu...
29.2
124
0.625
laparca
44d87228414d19518d2172db0707da54cd025a12
4,489
cpp
C++
Group3_FinalProject/GLTextWriter.cpp
BrandonLittell/PinballGL
d2678f0e916cdb8b8a234243feeda03a196e5bc8
[ "MIT" ]
1
2016-12-17T12:28:42.000Z
2016-12-17T12:28:42.000Z
Group3_FinalProject/GLTextWriter.cpp
BrandonLittell/PinballGL
d2678f0e916cdb8b8a234243feeda03a196e5bc8
[ "MIT" ]
null
null
null
Group3_FinalProject/GLTextWriter.cpp
BrandonLittell/PinballGL
d2678f0e916cdb8b8a234243feeda03a196e5bc8
[ "MIT" ]
null
null
null
// see // http://nehe.gamedev.net/tutorial/bitmap_fonts/17002/ // #include "GLTextWriter.h" GLTextWriter::GLTextWriter( HDC& ahDC, HGLRC& ahRC ) : hDC( ahDC ), hRC( ahRC ) { GLuint PixelFormat; static PIXELFORMATDESCRIPTOR pfd= // pfd Tells Windows How We Want Things To Be { sizeof(PIXELFORMATDESCRIPTOR)...
31.173611
123
0.637336
BrandonLittell
44d910c679948cd17474fba10a0939a90cb697b1
6,719
cpp
C++
src/client/udpclient.cpp
Jamol/udptest
c053ccfb8cb1af6bd85647421487117392328451
[ "MIT" ]
null
null
null
src/client/udpclient.cpp
Jamol/udptest
c053ccfb8cb1af6bd85647421487117392328451
[ "MIT" ]
null
null
null
src/client/udpclient.cpp
Jamol/udptest
c053ccfb8cb1af6bd85647421487117392328451
[ "MIT" ]
null
null
null
// // udptest.cpp // udptest // // Created by Jamol Bao on 7/8/14. // Copyright (c) 2014. All rights reserved. // #include <stdio.h> #include <stdlib.h> #include <thread> #include <string> #include <chrono> #include "util.h" using namespace std::chrono; #define now_tick_ms() duration_cast<milliseconds>(steady_c...
39.523529
125
0.51466
Jamol
44da3abdbe428ae12f3a00c31009289fc4ee97b5
469
hpp
C++
include/glm/gtc/vec1.hpp
anonreclaimer/glWebKit
7c64ba02a734f2a97e023ad6e5dc9eebd7fadb6c
[ "MIT" ]
1,726
2017-06-15T14:58:55.000Z
2022-03-22T02:02:15.000Z
glm/gtc/vec1.hpp
mortennobel/SimpleVRCpp
7a4f07c591413e805c9a3a24b21bc2650119b354
[ "MIT" ]
135
2018-09-09T06:46:04.000Z
2022-01-29T19:33:12.000Z
glm/gtc/vec1.hpp
mortennobel/SimpleVRCpp
7a4f07c591413e805c9a3a24b21bc2650119b354
[ "MIT" ]
107
2017-11-16T02:17:07.000Z
2022-03-16T16:33:13.000Z
/// @ref gtc_vec1 /// @file glm/gtc/vec1.hpp /// /// @see core (dependence) /// /// @defgroup gtc_vec1 GLM_GTC_vec1 /// @ingroup gtc /// /// Include <glm/gtc/vec1.hpp> to use the features of this extension. /// /// Add vec1, ivec1, uvec1 and bvec1 types. #pragma once // Dependency: #include "../ext/vec1.hpp" #if GLM...
20.391304
70
0.686567
anonreclaimer
44dbe86663dded8f98a276203200cbe293697a0e
635
hpp
C++
EDMUtils/interface/TFileUtils.hpp
NTUHEP-Tstar/ManagerUtils
2536174671e537f210c330fe739f4cf0615e735e
[ "MIT" ]
null
null
null
EDMUtils/interface/TFileUtils.hpp
NTUHEP-Tstar/ManagerUtils
2536174671e537f210c330fe739f4cf0615e735e
[ "MIT" ]
null
null
null
EDMUtils/interface/TFileUtils.hpp
NTUHEP-Tstar/ManagerUtils
2536174671e537f210c330fe739f4cf0615e735e
[ "MIT" ]
null
null
null
/******************************************************************************* * * Filename : TFileUtils.hpp * Description : Helper functions for interacting with TFiles for EDM Plugins * Author : Yi-Mu "Enoch" Chen [ ensc@hep1.phys.ntu.edu.tw ] * ***********************************************************...
35.277778
88
0.568504
NTUHEP-Tstar
44e3eb6788881c36c808f4dad8cd56e18633b465
13,038
cpp
C++
src/camera_capture_flea3/Fla3Camera.cpp
neemoh/ART
3f990b9d3c4b58558adf97866faf4eea553ba71b
[ "Unlicense" ]
11
2018-06-29T19:08:08.000Z
2021-12-30T07:13:00.000Z
src/camera_capture_flea3/Fla3Camera.cpp
liuxia-zju/ATAR
3f990b9d3c4b58558adf97866faf4eea553ba71b
[ "Unlicense" ]
1
2020-05-09T23:44:55.000Z
2020-05-09T23:44:55.000Z
src/camera_capture_flea3/Fla3Camera.cpp
liuxia-zju/ATAR
3f990b9d3c4b58558adf97866faf4eea553ba71b
[ "Unlicense" ]
6
2017-11-28T14:26:18.000Z
2019-11-29T01:57:14.000Z
#include "Fla3Camera.h" #include <sensor_msgs/fill_image.h> #include <cv_bridge/cv_bridge.h> //#include <stdexcept> // ============================================================================ // ---------------------------------------------------------------------------- Fla3Camera::Fla3Camera() { } // ---------...
33.864935
135
0.604617
neemoh
44e475be2679c252799eca51c927e6a68fc702f9
249
cpp
C++
ACT.cpp
Marethyu12/SPOJ-solutions
10fb3352e0b8818be40f7df2285b0d30a0fdc09c
[ "Unlicense" ]
null
null
null
ACT.cpp
Marethyu12/SPOJ-solutions
10fb3352e0b8818be40f7df2285b0d30a0fdc09c
[ "Unlicense" ]
null
null
null
ACT.cpp
Marethyu12/SPOJ-solutions
10fb3352e0b8818be40f7df2285b0d30a0fdc09c
[ "Unlicense" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); int T; int n; string s; cin >> T; while (T--) { cin >> n >> s; cout << s[s.length() - 1] << "\n"; } return 0; }
9.96
36
0.518072
Marethyu12
44e4d22bc36c080b39d17cccafdcce9edcb923fa
8,192
hpp
C++
Common_3/ThirdParty/OpenSource/ModifiedSonyMath/sse/boolinvec.hpp
Mercesa/The-Forge
13d7604bde91f90188c9dcb480ea6e97f60f1645
[ "Apache-2.0" ]
3,058
2017-10-03T01:33:22.000Z
2022-03-30T22:04:23.000Z
Common_3/ThirdParty/OpenSource/ModifiedSonyMath/sse/boolinvec.hpp
juteman/The-Forge
e882fbc000b2915b52c98fe3a8c791930490dd3c
[ "Apache-2.0" ]
157
2018-01-26T10:18:33.000Z
2022-03-06T10:59:23.000Z
Common_3/ThirdParty/OpenSource/ModifiedSonyMath/sse/boolinvec.hpp
juteman/The-Forge
e882fbc000b2915b52c98fe3a8c791930490dd3c
[ "Apache-2.0" ]
388
2017-12-21T10:52:32.000Z
2022-03-31T18:25:49.000Z
/* Copyright (C) 2006, 2007 Sony Computer Entertainment Inc. 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 noti...
33.436735
120
0.692017
Mercesa
44e718badd567bd6de06d2da5e64b9d10526c15f
1,159
hpp
C++
include/uneuro/network.hpp
AdamsPL/uneuro
9f4c74051b1accf05cbc7fb22a834c96bb5c100f
[ "MIT" ]
null
null
null
include/uneuro/network.hpp
AdamsPL/uneuro
9f4c74051b1accf05cbc7fb22a834c96bb5c100f
[ "MIT" ]
null
null
null
include/uneuro/network.hpp
AdamsPL/uneuro
9f4c74051b1accf05cbc7fb22a834c96bb5c100f
[ "MIT" ]
null
null
null
#pragma once #include <cstdlib> #include <tuple> #include "backprop.hpp" #include "utils.hpp" template <typename... Layers> class Network { public: constexpr Network(Layers&&... layers) : layers(layers...) { } template <size_t N> constexpr auto &get() { return std::get<N>(layers); } template<size_t N =...
17.830769
59
0.646247
AdamsPL
44ea13fc52be2863e61e12a14ed144548672075b
1,387
cpp
C++
Shoot-Game-Ver.1/Project3/MapLoader.cpp
Piorosen/Yore-Program
939e4633648db0f5b2e24fe7b639a232f5518a16
[ "MIT" ]
null
null
null
Shoot-Game-Ver.1/Project3/MapLoader.cpp
Piorosen/Yore-Program
939e4633648db0f5b2e24fe7b639a232f5518a16
[ "MIT" ]
null
null
null
Shoot-Game-Ver.1/Project3/MapLoader.cpp
Piorosen/Yore-Program
939e4633648db0f5b2e24fe7b639a232f5518a16
[ "MIT" ]
null
null
null
#include "MapLoader.h" MapLoader::MapLoader() { m_mapdata = 0; path.operator=('\0'); } void MapLoader::Initialize(unsigned int width, unsigned int height, const char * path) { m_mapdata = new MapData*[height]; for (int i = 0; i < height; i++) { m_mapdata[i] = new MapData[width]; } m_width = width; m_heig...
19.263889
86
0.626532
Piorosen
44ee86a5c2a3b775b131400ba00384e0a1f9005e
5,714
hpp
C++
general/src/Utils.hpp
mrpPhys/Isis
0322a660e75f13605b0e6fc9688b0ca99b72999d
[ "MIT" ]
null
null
null
general/src/Utils.hpp
mrpPhys/Isis
0322a660e75f13605b0e6fc9688b0ca99b72999d
[ "MIT" ]
null
null
null
general/src/Utils.hpp
mrpPhys/Isis
0322a660e75f13605b0e6fc9688b0ca99b72999d
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////// // // General package // // -------------------------------------------------------- // // AUTHOR: Miguel Ramos Pernas // e-mail: miguel.ramos.pernas@cern.ch // // Last update: 18/09/2017 // // -------------------------------------------------------- // //...
32.83908
88
0.623031
mrpPhys
60245a8a5d41bd7df2563e3f78c36f5cc70b0dcc
2,989
cpp
C++
Source/Tests/LinuxSyscalls/x64/Memory.cpp
Azkali/FEX
264ec44276e5e04ba96a559e1407527bbc2135d6
[ "MIT" ]
null
null
null
Source/Tests/LinuxSyscalls/x64/Memory.cpp
Azkali/FEX
264ec44276e5e04ba96a559e1407527bbc2135d6
[ "MIT" ]
null
null
null
Source/Tests/LinuxSyscalls/x64/Memory.cpp
Azkali/FEX
264ec44276e5e04ba96a559e1407527bbc2135d6
[ "MIT" ]
null
null
null
#include "Tests/LinuxSyscalls/Syscalls.h" #include "Tests/LinuxSyscalls/x64/Syscalls.h" #include <FEXCore/Core/Context.h> #include <FEXCore/Debug/InternalThreadState.h> #include <sys/mman.h> #include <sys/shm.h> #include <map> #include <unistd.h> #include <FEXCore/Core/Context.h> #include <FEXCore/Config/Config.h> #i...
36.45122
174
0.669789
Azkali
602612c100826058d95f8390572915e5460a5eeb
2,575
cxx
C++
debs/com.maxleiter.FLTK/usr/local/share/doc/fltk/examples/resizebox.cxx
MaxLeiter/Cydia
eb5ac542926523d55c7732c2077162daf5f3e0ef
[ "MIT" ]
4
2020-05-15T03:43:53.000Z
2021-06-05T16:21:31.000Z
debs/com.maxleiter.FLTK/usr/local/share/doc/fltk/examples/resizebox.cxx
MaxLeiter/Cydia
eb5ac542926523d55c7732c2077162daf5f3e0ef
[ "MIT" ]
1
2021-04-19T19:48:04.000Z
2021-04-19T19:48:04.000Z
debs/com.maxleiter.FLTK/usr/local/share/doc/fltk/examples/resizebox.cxx
MaxLeiter/Cydia
eb5ac542926523d55c7732c2077162daf5f3e0ef
[ "MIT" ]
11
2020-03-28T19:24:12.000Z
2021-10-18T00:20:45.000Z
// // "$Id$" // // Resize box test program for the Fast Light Tool Kit (FLTK). // // Copyright 1998-2010 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this // file is missing or damag...
27.393617
78
0.619806
MaxLeiter
602693d9ff5efc9b5a235803ebb8e2378f9914e2
7,299
cpp
C++
helloTriangle/Model.cpp
JonnyKelso/learnOpenGL
3cda765dba002268792cc890cc72dc70ffec5bbc
[ "MIT" ]
null
null
null
helloTriangle/Model.cpp
JonnyKelso/learnOpenGL
3cda765dba002268792cc890cc72dc70ffec5bbc
[ "MIT" ]
null
null
null
helloTriangle/Model.cpp
JonnyKelso/learnOpenGL
3cda765dba002268792cc890cc72dc70ffec5bbc
[ "MIT" ]
null
null
null
#include "Model.h" namespace Graphics { unsigned int TextureFromFile(const std::filesystem::path& filename, bool gamma = false) { unsigned int textureID; glGenTextures(1, &textureID); int width{}, height{}, nrComponents{}; if (auto data { stbi_load(filename....
36.495
154
0.538978
JonnyKelso
6026b0faa1d4acae44baf94a0b30c7ffbddc9b66
1,669
cpp
C++
source/Factories/Meadow.cpp
badbrainz/pme
1c8e6f3d154cc59613f5ef3f2f8293f488c64b28
[ "WTFPL" ]
null
null
null
source/Factories/Meadow.cpp
badbrainz/pme
1c8e6f3d154cc59613f5ef3f2f8293f488c64b28
[ "WTFPL" ]
null
null
null
source/Factories/Meadow.cpp
badbrainz/pme
1c8e6f3d154cc59613f5ef3f2f8293f488c64b28
[ "WTFPL" ]
null
null
null
#include "Meadow.h" Meadow::Meadow(const char* strname) : NamedObject(strname) { } void Meadow::addPatch(GrassPatch* patch) { patchesList.append(patch); //updateBounds(); } void Meadow::setBounds(const Tuple4i& bounds) { boundary = bounds; } Tuple4i Meadow::getBounds() { return boundary; } GrassPat...
20.8625
76
0.653086
badbrainz
602c7f1f9f8e3a59e6b95bc2a44b377c8b1e324e
12,499
cpp
C++
src/src/pngimg.cpp
qiwenwang/imgpp
40c27a1c6fa66fbc569e10cf2f1e8aa86e1b7097
[ "MIT" ]
null
null
null
src/src/pngimg.cpp
qiwenwang/imgpp
40c27a1c6fa66fbc569e10cf2f1e8aa86e1b7097
[ "MIT" ]
null
null
null
src/src/pngimg.cpp
qiwenwang/imgpp
40c27a1c6fa66fbc569e10cf2f1e8aa86e1b7097
[ "MIT" ]
null
null
null
#include <imgpp/loaders.hpp> #include <png.h> #include <imgpp/imgpp.hpp> namespace imgpp { bool PNGAbort(const char * s) { printf("%s\n", s); return false; } bool LoadPNG(const char *fn, Img &img, bool flip_y) { if (nullptr == fn || 0 == strlen(fn)) { return false; } png_structp png_...
29.759524
88
0.651732
qiwenwang
602d994110f585e8a679121b9570dbd47b80c319
14,225
cpp
C++
src/ast/ast.cpp
bjorn3/mrustc
01f73e7894119405ab3f92b6191f044e491c9062
[ "MIT" ]
null
null
null
src/ast/ast.cpp
bjorn3/mrustc
01f73e7894119405ab3f92b6191f044e491c9062
[ "MIT" ]
null
null
null
src/ast/ast.cpp
bjorn3/mrustc
01f73e7894119405ab3f92b6191f044e491c9062
[ "MIT" ]
null
null
null
/* * MRustC - Rust Compiler * - By John Hodge (Mutabah/thePowersGang) * * ast/ast.cpp * - Implementation of the various AST classes */ #include "ast.hpp" #include "crate.hpp" #include "types.hpp" #include "expr.hpp" #include "../common.hpp" #include <iostream> #include "../parse/parseerror.hpp" #include <algorith...
26.99241
194
0.56717
bjorn3
602e30b8fa104bc24388b755a999413c6a922877
22,654
cpp
C++
system/jlib/junicode.cpp
rpastrana/HPCC-Platform
489454bd326ed6a39228c81f5d837c276724c022
[ "Apache-2.0" ]
1
2021-01-23T18:54:19.000Z
2021-01-23T18:54:19.000Z
system/jlib/junicode.cpp
RoySRobinson/HPCC-Platform
338c890a0bf1f6ca55d7b20c791131e4c060579d
[ "Apache-2.0" ]
1
2016-04-06T16:41:58.000Z
2016-04-06T16:41:58.000Z
system/jlib/junicode.cpp
cloLN/HPCC-Platform
42ffb763a1cdcf611d3900831973d0a68e722bbe
[ "Apache-2.0" ]
1
2019-10-26T22:05:26.000Z
2019-10-26T22:05:26.000Z
/*############################################################################## HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®. 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...
30.654939
157
0.573983
rpastrana
602e3a2eb0a7e79d64284c89b2c1c2cc37a71234
908
hpp
C++
archive/cmdstan/src/cmdstan/print_helper.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
1
2019-09-06T15:53:17.000Z
2019-09-06T15:53:17.000Z
archive/cmdstan/src/cmdstan/print_helper.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
8
2019-01-17T18:51:16.000Z
2019-01-17T18:51:39.000Z
archive/cmdstan/src/cmdstan/print_helper.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
null
null
null
#ifndef CMDSTAN_PRINT_HELPER_HPP #define CMDSTAN_PRINT_HELPER_HPP #include <iostream> void print_deprecated() { std::cout << std::endl << std::endl; std::cout << "*** print is deprecated and will be removed in v3.0;" << std::endl << "*** use stansummary instead" << st...
28.375
76
0.511013
alashworth
602e89c57e1cd0ab83d1136216d5be23b2b04770
63,702
cpp
C++
dali/base/dasess.cpp
fnisswandt/HPCC-Platform
9ae8317441d279d9670e807e8535e74ee7f937ca
[ "Apache-2.0" ]
null
null
null
dali/base/dasess.cpp
fnisswandt/HPCC-Platform
9ae8317441d279d9670e807e8535e74ee7f937ca
[ "Apache-2.0" ]
null
null
null
dali/base/dasess.cpp
fnisswandt/HPCC-Platform
9ae8317441d279d9670e807e8535e74ee7f937ca
[ "Apache-2.0" ]
null
null
null
/*############################################################################## HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®. 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...
30.219165
199
0.56543
fnisswandt
6030f5c2ed095e8407aa421820c61abfa79b6f8b
1,488
cpp
C++
source/Async/After.cpp
kurocha/async
48d3c9e8e2631077c2c623902078eb8791cc3b17
[ "Unlicense", "MIT" ]
19
2017-08-20T18:52:08.000Z
2021-08-16T12:20:35.000Z
source/Async/After.cpp
kurocha/async
48d3c9e8e2631077c2c623902078eb8791cc3b17
[ "Unlicense", "MIT" ]
null
null
null
source/Async/After.cpp
kurocha/async
48d3c9e8e2631077c2c623902078eb8791cc3b17
[ "Unlicense", "MIT" ]
3
2017-07-01T15:29:46.000Z
2020-05-05T11:12:32.000Z
// // After.cpp // File file is part of the "Async" project and released under the MIT License. // // Created by Samuel Williams on 29/6/2017. // Copyright, 2017, by Samuel Williams. All rights reserved. // #include "After.hpp" #include <Concurrent/Fiber.hpp> #include <cassert> #if defined(ASYNC_EPOLL) #include...
19.84
92
0.678763
kurocha
60395623d39da0c95da1ef0f2bbcef28513b2452
754
cpp
C++
example.cpp
mersinvald/DynamicCaller
56314492e423393488c702a4f2e733f610bc2e13
[ "MIT" ]
null
null
null
example.cpp
mersinvald/DynamicCaller
56314492e423393488c702a4f2e733f610bc2e13
[ "MIT" ]
null
null
null
example.cpp
mersinvald/DynamicCaller
56314492e423393488c702a4f2e733f610bc2e13
[ "MIT" ]
null
null
null
#include <iostream> #include "dynamiccaller.hpp" int plus(int a, int b) { return a+b; } int minus(int a, int b) { return a-b; } int multiply(int a, int b) { return a*b; } int divide(int a, int b) { return a/b; } #define AddDynFunc(DC, function) \ DC.PutFunction(function, #function); int main()...
17.136364
66
0.543767
mersinvald
603da7c3cfa969d26775cdf876a327d8a3d25e27
3,268
cpp
C++
src/libv/gl/load_image_soil.cpp
cpplibv/libv
293e382f459f0acbc540de8ef6283782b38d2e63
[ "Zlib" ]
2
2018-04-11T03:07:03.000Z
2019-03-29T15:24:12.000Z
src/libv/gl/load_image_soil.cpp
cpplibv/libv
293e382f459f0acbc540de8ef6283782b38d2e63
[ "Zlib" ]
null
null
null
src/libv/gl/load_image_soil.cpp
cpplibv/libv
293e382f459f0acbc540de8ef6283782b38d2e63
[ "Zlib" ]
1
2021-06-13T06:39:06.000Z
2021-06-13T06:39:06.000Z
// Project: libv.gl, File: src/libv/gl/load_image_soil.cpp, Author: Császár Mátyás [Vader] // hpp #include <libv/gl/image.hpp> // ext #include <SOIL2/SOIL2.h> // libv #include <libv/container/dynarray.hpp> // std #include <cstring> // pro #include <libv/gl/check.hpp> #include <libv/gl/texture_object.hpp> namespace l...
31.12381
118
0.649327
cpplibv
60410d24844343dde7aedf4bda5b8157ebd9d8f1
215,735
cc
C++
src/xenia/cpu/backend/x64/x64_sequences.cc
Parovozik/Xenia_UI
3f12becc1845a8fc264ae74d25e28e543f61b5b4
[ "BSD-3-Clause" ]
null
null
null
src/xenia/cpu/backend/x64/x64_sequences.cc
Parovozik/Xenia_UI
3f12becc1845a8fc264ae74d25e28e543f61b5b4
[ "BSD-3-Clause" ]
null
null
null
src/xenia/cpu/backend/x64/x64_sequences.cc
Parovozik/Xenia_UI
3f12becc1845a8fc264ae74d25e28e543f61b5b4
[ "BSD-3-Clause" ]
1
2018-10-16T16:45:27.000Z
2018-10-16T16:45:27.000Z
/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2014 Ben Vanik. All rights reserved. ...
33.302717
111
0.558709
Parovozik
6041c1602d4b8f6fe2f3fa0c7022fda3e47b6808
351
cpp
C++
Source/GASExtensions/Private/GASExtensionsModule.cpp
TheEmidee/UEGASExtensions
8851dbaf9251ecdc914f381df161484a7c5d4275
[ "MIT" ]
null
null
null
Source/GASExtensions/Private/GASExtensionsModule.cpp
TheEmidee/UEGASExtensions
8851dbaf9251ecdc914f381df161484a7c5d4275
[ "MIT" ]
null
null
null
Source/GASExtensions/Private/GASExtensionsModule.cpp
TheEmidee/UEGASExtensions
8851dbaf9251ecdc914f381df161484a7c5d4275
[ "MIT" ]
null
null
null
#include "GASExtensionsModule.h" class FGASExtensionsModule final : public IGASExtensionsModule { public: void StartupModule() override; void ShutdownModule() override; }; IMPLEMENT_MODULE( FGASExtensionsModule, GASExtensions ) void FGASExtensionsModule::StartupModule() { } void FGASExtension...
19.5
63
0.752137
TheEmidee
6044713e56ade6398b42c7d010088a01f748f6ca
6,377
cpp
C++
src/wasm_ql_pg_plugin.cpp
swang-b1/history-tools
7ca8e1c6ee35c0b5bd3ad6f5236a00d083887644
[ "MIT" ]
54
2019-04-03T11:10:42.000Z
2022-03-07T06:18:50.000Z
src/wasm_ql_pg_plugin.cpp
swang-b1/history-tools
7ca8e1c6ee35c0b5bd3ad6f5236a00d083887644
[ "MIT" ]
69
2019-05-22T16:07:27.000Z
2022-03-29T18:14:20.000Z
src/wasm_ql_pg_plugin.cpp
swang-b1/history-tools
7ca8e1c6ee35c0b5bd3ad6f5236a00d083887644
[ "MIT" ]
47
2019-04-18T07:26:56.000Z
2022-01-26T13:01:37.000Z
// copyright defined in LICENSE.txt #include "wasm_ql_pg_plugin.hpp" #include "state_history_pg.hpp" #include "util.hpp" #include <fc/exception/exception.hpp> using namespace appbase; namespace pg = state_history::pg; static abstract_plugin& _wasm_ql_pg_plugin = app().register_plugin<wasm_ql_pg_plugin>(); struct p...
41.409091
137
0.609691
swang-b1
6045a51183ec4725c4006fc0c0cb8ae1395aeeec
650
cpp
C++
src/connection_options.cpp
herrvonregen/abb_librws
a34f824b76b7a63b41f53054f1d0588535aa6b39
[ "BSD-3-Clause" ]
null
null
null
src/connection_options.cpp
herrvonregen/abb_librws
a34f824b76b7a63b41f53054f1d0588535aa6b39
[ "BSD-3-Clause" ]
5
2021-11-25T09:24:05.000Z
2022-02-21T13:41:14.000Z
src/connection_options.cpp
NoMagicAi/abb_librws
bbd22f45ae43d087f64411d3114658445dd73407
[ "BSD-3-Clause" ]
2
2021-03-20T09:30:53.000Z
2022-01-02T13:13:30.000Z
#include <abb_librws/connection_options.h> namespace abb :: rws { ConnectionOptions::ConnectionOptions( std::string const& ip_address, unsigned short port, std::string const& username, std::string password, std::chrono::microseconds connection_timeout, std::chrono::...
27.083333
53
0.650769
herrvonregen
6045e4fc0854232340d9399ec2234592ba3c3c1b
5,405
cpp
C++
src/tests/unittests/wire/WireQueueTests.cpp
faro-oss/Dawn
0ac7aa3386b597742a45368a28a2e045c122cb8c
[ "Apache-2.0" ]
1
2022-02-05T01:08:06.000Z
2022-02-05T01:08:06.000Z
src/tests/unittests/wire/WireQueueTests.cpp
sunnyps/dawn
afe91384086551ea3156fc67c525fdf864aa8437
[ "Apache-2.0" ]
1
2021-12-18T01:33:44.000Z
2021-12-18T01:33:44.000Z
src/tests/unittests/wire/WireQueueTests.cpp
sunnyps/dawn
afe91384086551ea3156fc67c525fdf864aa8437
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 The Dawn Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
38.333333
98
0.741721
faro-oss
6045f33e8d078d4e0f3910b3c7e29fd49ab02b4d
6,885
cpp
C++
cppcache/integration-test/testThinClientRemoteQueryFailoverPdx.cpp
mcmellawatt/geode-native
53315985c4386e6781473c5713d638c8139e3e8e
[ "Apache-2.0" ]
null
null
null
cppcache/integration-test/testThinClientRemoteQueryFailoverPdx.cpp
mcmellawatt/geode-native
53315985c4386e6781473c5713d638c8139e3e8e
[ "Apache-2.0" ]
null
null
null
cppcache/integration-test/testThinClientRemoteQueryFailoverPdx.cpp
mcmellawatt/geode-native
53315985c4386e6781473c5713d638c8139e3e8e
[ "Apache-2.0" ]
null
null
null
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
28.333333
80
0.67451
mcmellawatt
604ae7fa0b296d5997e967d03cd3c8ef6f5f86ba
2,690
cpp
C++
src/util/generate_error_message.cpp
frzfrsfra4/phylanx
001fe7081f3a24e56157cdb21b2d126b8953ff5d
[ "BSL-1.0" ]
1
2019-08-17T21:19:57.000Z
2019-08-17T21:19:57.000Z
src/util/generate_error_message.cpp
frzfrsfra4/phylanx
001fe7081f3a24e56157cdb21b2d126b8953ff5d
[ "BSL-1.0" ]
null
null
null
src/util/generate_error_message.cpp
frzfrsfra4/phylanx
001fe7081f3a24e56157cdb21b2d126b8953ff5d
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2017-2018 Hartmut Kaiser // // 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 <phylanx/config.hpp> #include <phylanx/execution_tree/compiler/primitive_name.hpp> #include <phylanx/util/gen...
36.351351
80
0.528253
frzfrsfra4
604d7300cddfd486fbb888dc07fbbf241eca145e
2,539
cpp
C++
QCompositeManager/extensions.cpp
rkoyama1623/Quantum
429d11f0b2c737164005ba70c98611baef69d1c5
[ "Unlicense" ]
35
2015-01-13T00:57:17.000Z
2022-03-16T20:39:56.000Z
QCompositeManager/extensions.cpp
KR8T3R/Quantum
429d11f0b2c737164005ba70c98611baef69d1c5
[ "Unlicense" ]
null
null
null
QCompositeManager/extensions.cpp
KR8T3R/Quantum
429d11f0b2c737164005ba70c98611baef69d1c5
[ "Unlicense" ]
31
2015-01-29T03:59:52.000Z
2022-03-16T20:40:43.000Z
/* * KDE Composite Manager, * Copyright (C) 2003-2005 Fredrik Höglund <fredrik@kde.org> * * Based on xcompmgr, * Copyright (C) 2003 Keith Packard <keithp@keithp.com> * * Internal structure and naming style inspired by KWin, * Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org> * Copyright (C) 2003 Lu...
32.139241
78
0.729815
rkoyama1623
6050dc12833f0841262207f43b10fe621533ec75
605
cpp
C++
doc/examples/operatorarray__key_type.cpp
Hexlord/json
66869458b5227170e052d01aa65b47ee8350b666
[ "MIT" ]
23
2016-01-20T07:50:24.000Z
2021-09-08T05:08:19.000Z
json-master/doc/examples/operatorarray__key_type.cpp
bobismijnnaam/bobetex
9960eafd31c73b4070b236d5dfafd5734492aaf5
[ "MIT" ]
18
2016-06-01T11:56:54.000Z
2016-06-06T10:58:53.000Z
json-master/doc/examples/operatorarray__key_type.cpp
bobismijnnaam/bobetex
9960eafd31c73b4070b236d5dfafd5734492aaf5
[ "MIT" ]
19
2016-01-24T13:05:24.000Z
2021-06-25T01:36:47.000Z
#include <json.hpp> using namespace nlohmann; int main() { // create a JSON object json object = { {"one", 1}, {"two", 2}, {"three", 2.9} }; // output element with key "two" std::cout << object["two"] << "\n\n"; // change element with key "three" object["three"] = 3; // ...
19.516129
50
0.533884
Hexlord
60530fe1db1e3ff311474eaa583763e2e5a7edc7
131,218
cpp
C++
secp256k1-dpct/main.cpp
jchlanda/oneAPI-DirectProgramming
82a1be635f89b4b2a83e36965a60b19fd71e46b2
[ "BSD-3-Clause" ]
null
null
null
secp256k1-dpct/main.cpp
jchlanda/oneAPI-DirectProgramming
82a1be635f89b4b2a83e36965a60b19fd71e46b2
[ "BSD-3-Clause" ]
null
null
null
secp256k1-dpct/main.cpp
jchlanda/oneAPI-DirectProgramming
82a1be635f89b4b2a83e36965a60b19fd71e46b2
[ "BSD-3-Clause" ]
null
null
null
#include <CL/sycl.hpp> #include <dpct/dpct.hpp> #include <stdio.h> #include <string.h> typedef struct dpct_type_506b7b { uint n[10]; } secp256k1_fe; typedef struct dpct_type_7faff8 { uint n[8]; } secp256k1_fe_storage; typedef struct dpct_type_ec67f2 { secp256k1_fe x; secp256k1_fe y; } secp256k1_ge; typedef ...
104.058684
215
0.76238
jchlanda
60555aeb2f184bacb3a11a19cd737f9aed700633
2,316
cpp
C++
libraries/types/native.cpp
brendankirby/eos
233ba4e54bd53a7cf6ac68898fd25c44345737fa
[ "MIT" ]
2
2018-01-06T12:12:28.000Z
2021-12-25T11:09:37.000Z
libraries/types/native.cpp
lijava2002/eos
2cc40a4eed76b797ba1382ab461fe8b6d3f518c4
[ "MIT" ]
null
null
null
libraries/types/native.cpp
lijava2002/eos
2cc40a4eed76b797ba1382ab461fe8b6d3f518c4
[ "MIT" ]
1
2021-04-04T23:28:27.000Z
2021-04-04T23:28:27.000Z
/** * @file * @copyright defined in eos/LICENSE.txt */ #include <eos/types/native.hpp> #include <fc/crypto/base58.hpp> #include <fc/crypto/ripemd160.hpp> #include <fc/io/raw.hpp> #include <fc/fixed_string.hpp> #include <fc/reflect/variant.hpp> namespace fc { void to_variant(const eosio::types::name& c, fc::vari...
37.967213
113
0.630397
brendankirby
60567f64ea6b6cafabd646832942ed25504ca96a
522
cpp
C++
sample/cast/main.cpp
januswel/cpplib
d1c9e325c18e876f40804240c6a3130d7a79a945
[ "MIT" ]
2
2016-04-29T05:23:23.000Z
2017-11-05T04:12:56.000Z
sample/cast/main.cpp
januswel/cpplib
d1c9e325c18e876f40804240c6a3130d7a79a945
[ "MIT" ]
null
null
null
sample/cast/main.cpp
januswel/cpplib
d1c9e325c18e876f40804240c6a3130d7a79a945
[ "MIT" ]
null
null
null
/* * main.cpp * sample codes for cast.hpp * * Copyright (C) 2010 janus_wel<janus.wel.3@gmail.com> * see LICENSE for redistributing, modifying, and so on. * */ #include "../../header/cast.hpp" #include <iostream> using namespace std; using namespace util::cast; int main(void) { int i = 'a'; const cha...
18
58
0.55364
januswel
605d9b89b38a722259f58628ae73140471594ab5
473
cpp
C++
trunk/day38/solution.cpp
itsjacob/90pp
eca71e624d28d216feb06d615e587fc6792c36b6
[ "MIT" ]
null
null
null
trunk/day38/solution.cpp
itsjacob/90pp
eca71e624d28d216feb06d615e587fc6792c36b6
[ "MIT" ]
null
null
null
trunk/day38/solution.cpp
itsjacob/90pp
eca71e624d28d216feb06d615e587fc6792c36b6
[ "MIT" ]
null
null
null
// The API isBadVersion is defined for you. // bool isBadVersion(int version); class Solution { public: int firstBadVersion(int n) { int left{ 1 }; int right{ n }; while (left <= right) { int mid = left + (right - left) / 2; bool isBad = isBadVersion(mid); if (isBad) { right =...
18.192308
43
0.513742
itsjacob
605e2407040a053f55d0960c6c2ff08cacccd538
2,234
cpp
C++
Div. 2/1481 - Codeforces Round #699 (Div. 2)/1481C.cpp
ivvlspirit/Codeforces
cf9be21f713b032e23c8794c17fa747f1c1e477c
[ "MIT" ]
null
null
null
Div. 2/1481 - Codeforces Round #699 (Div. 2)/1481C.cpp
ivvlspirit/Codeforces
cf9be21f713b032e23c8794c17fa747f1c1e477c
[ "MIT" ]
null
null
null
Div. 2/1481 - Codeforces Round #699 (Div. 2)/1481C.cpp
ivvlspirit/Codeforces
cf9be21f713b032e23c8794c17fa747f1c1e477c
[ "MIT" ]
null
null
null
// If you're hacking me, at least subscribe to my channel at: // https://www.youtube.com/user/ivanvlahov922 #include <bits/stdc++.h> #define ll long long using namespace std; const int MOD = 1e9+7; int main(){ #ifdef DEBUG freopen("..\\input.txt", "r", stdin); clock_t tStart = clock(); #endi...
21.480769
81
0.383617
ivvlspirit
605f490281f075f418dc1896b26bdc98ff21cf6e
2,192
cpp
C++
Socket/QtServer/mainwindow.cpp
Sakura1221/QtStudy
34d24affada2a10c901fb9571473a33c871201fa
[ "MIT" ]
4
2021-06-17T02:58:18.000Z
2021-11-09T11:40:37.000Z
Socket/QtServer/mainwindow.cpp
Sakura1221/QtStudy
34d24affada2a10c901fb9571473a33c871201fa
[ "MIT" ]
null
null
null
Socket/QtServer/mainwindow.cpp
Sakura1221/QtStudy
34d24affada2a10c901fb9571473a33c871201fa
[ "MIT" ]
1
2021-06-26T07:42:20.000Z
2021-06-26T07:42:20.000Z
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QTcpSocket> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) , ui(new Ui::MainWindow) { ui->setupUi(this); // 窗口标题 setWindowTitle("TCP - 服务器"); // 默认端口号 ui->port->setText("8899"); // 创建监听的服务器对象 m_server =...
26.731707
86
0.577099
Sakura1221
6060966db4eec6aa361a043bef7f2f500d5c292c
1,983
cpp
C++
OJ/LeetCode/leetcode/problems/669.cpp
ONGOING-Z/DataStructure
9099393d1c7dfabc3e2939586ea6d1d254631eb2
[ "MIT" ]
null
null
null
OJ/LeetCode/leetcode/problems/669.cpp
ONGOING-Z/DataStructure
9099393d1c7dfabc3e2939586ea6d1d254631eb2
[ "MIT" ]
2
2021-10-31T10:05:45.000Z
2022-02-12T15:17:53.000Z
OJ/LeetCode/leetcode/669.cpp
ONGOING-Z/Learn-Algorithm-and-DataStructure
3a512bd83cc6ed5035ac4550da2f511298b947c0
[ "MIT" ]
null
null
null
#include <stdio.h> #include <vector> using namespace std; /* Leetcode */ /* 题目信息 */ /* * 669. Trim a Binary Search Tree * Given a binary search tree and the lowest and highest boundaries as L and R, trim the tree so that all its elements lies in [L, R] (R >= L). You might need to change the root of the tree, so the ...
20.443299
266
0.545134
ONGOING-Z
60676c38ad551e4e4985696f6b2933bfae919e06
2,588
cpp
C++
src/global.cpp
quantum-ket/libket
8bd80261a7a4903e4108d19524b5f9eb0907daef
[ "Apache-2.0" ]
null
null
null
src/global.cpp
quantum-ket/libket
8bd80261a7a4903e4108d19524b5f9eb0907daef
[ "Apache-2.0" ]
null
null
null
src/global.cpp
quantum-ket/libket
8bd80261a7a4903e4108d19524b5f9eb0907daef
[ "Apache-2.0" ]
null
null
null
/* Copyright 2020, 2021 Evandro Chagas Ribeiro da Rosa <evandro.crr@posgrad.ufsc.br> * Copyright 2020, 2021 Rafael de Santiago <r.santiago@ufsc.br> * * 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 L...
32.35
129
0.687403
quantum-ket
60696697ff580a691d9098935d3adb1cf7888f05
2,922
cpp
C++
src/ripple_basics/utility/Sustain.cpp
latcoin/rippled
ca0740de23ec4366d53b0d3770d9a05fc83072db
[ "BSL-1.0" ]
null
null
null
src/ripple_basics/utility/Sustain.cpp
latcoin/rippled
ca0740de23ec4366d53b0d3770d9a05fc83072db
[ "BSL-1.0" ]
null
null
null
src/ripple_basics/utility/Sustain.cpp
latcoin/rippled
ca0740de23ec4366d53b0d3770d9a05fc83072db
[ "BSL-1.0" ]
null
null
null
//------------------------------------------------------------------------------ /* This file is part of rippled: https://github.com/ripple/rippled Copyright (c) 2012, 2013 Ripple Labs Inc. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby ...
26.324324
101
0.573922
latcoin
6069c146322836118882e72623a9bca76a5e61cf
11,076
cpp
C++
box2d/native/src/extension.cpp
rgrams/defold-box2d
f16c138d2c7260cc04272c30d54cd532b572d6a0
[ "MIT" ]
null
null
null
box2d/native/src/extension.cpp
rgrams/defold-box2d
f16c138d2c7260cc04272c30d54cd532b572d6a0
[ "MIT" ]
null
null
null
box2d/native/src/extension.cpp
rgrams/defold-box2d
f16c138d2c7260cc04272c30d54cd532b572d6a0
[ "MIT" ]
null
null
null
// include the Defold SDK #include <dmsdk/sdk.h> #define EXTENSION_NAME box2d #define EXTENSION_NAME_STRING "box2d" #include <box2d/box2d.h> #include <utils.h> #include <extra_utils.h> #include <world.h> #include <fixture.h> #include <body_def.h> #include <body.h> #include <joint.h> #include <draw.h> #include <joint_...
32.197674
139
0.701697
rgrams
606c6f3e7f85beca1aaec88941caccaa06eef880
1,120
cpp
C++
aula17092020/Turma.cpp
imdcode/imd0030_t02_2020
9c08e159752fa3d1169518fcc4a1046c045d7cec
[ "MIT" ]
3
2020-09-23T00:59:43.000Z
2020-10-06T22:27:00.000Z
aula17092020/Turma.cpp
imdcode/imd0030_t02_2020
9c08e159752fa3d1169518fcc4a1046c045d7cec
[ "MIT" ]
null
null
null
aula17092020/Turma.cpp
imdcode/imd0030_t02_2020
9c08e159752fa3d1169518fcc4a1046c045d7cec
[ "MIT" ]
4
2020-10-05T05:36:25.000Z
2020-12-08T02:47:32.000Z
#include "turma.hpp" #include<iostream> using namespace std; Turma::Turma (){ this->nome = "A definir"; this->id = "IMD????"; } Turma::Turma (string nome, string id):nome(nome),id(id){} Turma::~Turma(){ for (int i = 0; i < this->matriculados; ++i) { delete this->alunos[i]; } } string Turma::getNome(){ retur...
16.969697
57
0.61875
imdcode
606cefe5f1669b3d5f0670349308d3b0c30e7cc9
1,119
cpp
C++
shadow/source/DeleteShadowRequest.cpp
gregbreen/aws-iot-device-sdk-cpp-v2
57ded0046d1cda3b35fbe9298eed308392961435
[ "Apache-2.0" ]
88
2019-11-29T19:30:29.000Z
2022-03-28T02:29:51.000Z
shadow/source/DeleteShadowRequest.cpp
gregbreen/aws-iot-device-sdk-cpp-v2
57ded0046d1cda3b35fbe9298eed308392961435
[ "Apache-2.0" ]
194
2019-12-01T15:54:42.000Z
2022-03-31T22:06:11.000Z
shadow/source/DeleteShadowRequest.cpp
gregbreen/aws-iot-device-sdk-cpp-v2
57ded0046d1cda3b35fbe9298eed308392961435
[ "Apache-2.0" ]
64
2019-12-17T14:13:40.000Z
2022-03-12T07:43:13.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/iotshadow/DeleteShadowRequest.h> namespace Aws { namespace Iotshadow { void DeleteShadowRequest::LoadFromObject(DeleteShadowRequest &val, const Aws::Crt::JsonView &doc) ...
26.023256
106
0.578195
gregbreen
606e095d5c9db8eeaa0ce97f8af023d88969b096
11,407
cc
C++
ma/maAdapt.cc
Thomas-Ulrich/core
1c7bc7ff994c3570ab22b96d37be0c4c993e5940
[ "BSD-3-Clause" ]
138
2015-01-05T15:50:20.000Z
2022-02-25T01:09:58.000Z
ma/maAdapt.cc
Thomas-Ulrich/core
1c7bc7ff994c3570ab22b96d37be0c4c993e5940
[ "BSD-3-Clause" ]
337
2015-08-07T18:24:58.000Z
2022-03-31T14:39:03.000Z
ma/maAdapt.cc
Thomas-Ulrich/core
1c7bc7ff994c3570ab22b96d37be0c4c993e5940
[ "BSD-3-Clause" ]
70
2015-01-17T00:58:41.000Z
2022-02-13T04:58:20.000Z
/****************************************************************************** Copyright 2013 Scientific Computation Research Center, Rensselaer Polytechnic Institute. All rights reserved. The LICENSE file included with this distribution describes the terms of the SCOREC Non-Commercial License this p...
20.891941
80
0.628912
Thomas-Ulrich
606eb35a624944ad107dc4270b9f2edd05008cff
900
hpp
C++
include/boost/scope_guard/detail/unwrap_decay.hpp
gimesketvirtadieni/boost.scope_guard
c7fe05429350b55fdb0521fb13ee6ad28a4f5e1b
[ "BSL-1.0" ]
null
null
null
include/boost/scope_guard/detail/unwrap_decay.hpp
gimesketvirtadieni/boost.scope_guard
c7fe05429350b55fdb0521fb13ee6ad28a4f5e1b
[ "BSL-1.0" ]
null
null
null
include/boost/scope_guard/detail/unwrap_decay.hpp
gimesketvirtadieni/boost.scope_guard
c7fe05429350b55fdb0521fb13ee6ad28a4f5e1b
[ "BSL-1.0" ]
null
null
null
// Copyright Yuri Kilochek 2018. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef BOOST_SCOPE_GUARD_DETAIL_UNWRAP_DECAY_HPP #define BOOST_SCOPE_GUARD_...
27.272727
79
0.592222
gimesketvirtadieni
607035db70221be823ec43b2da7f00f9b1c843a5
28,286
cpp
C++
src/cint3c2e.cpp
Hendiadyoin1/libcxxint
5cb6fd421ed93f707854c203f9f949f73cdea86f
[ "BSD-2-Clause" ]
null
null
null
src/cint3c2e.cpp
Hendiadyoin1/libcxxint
5cb6fd421ed93f707854c203f9f949f73cdea86f
[ "BSD-2-Clause" ]
null
null
null
src/cint3c2e.cpp
Hendiadyoin1/libcxxint
5cb6fd421ed93f707854c203f9f949f73cdea86f
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (C) 2013- Qiming Sun <osirpt.sun@gmail.com> * * 3-center 2-electron integrals */ #include <stdlib.h> #include <string.h> #include <math.h> #include "cint_bas.hpp" #include "optimizer.hpp" #include "g2e.hpp" #include "cint2e.hpp" #include "misc.hpp" #include "cart2sph.hpp" #include "c2f.hpp" #defin...
37.464901
98
0.438662
Hendiadyoin1
60717acb32b8598890da5fdff1fc80434296afe5
2,705
cpp
C++
Source/component_systems/textheader_system.cpp
gummikana/CardCreator
9a141ccd9e76a3e49d8fc42cc8deaffed3d3eb39
[ "MIT" ]
null
null
null
Source/component_systems/textheader_system.cpp
gummikana/CardCreator
9a141ccd9e76a3e49d8fc42cc8deaffed3d3eb39
[ "MIT" ]
null
null
null
Source/component_systems/textheader_system.cpp
gummikana/CardCreator
9a141ccd9e76a3e49d8fc42cc8deaffed3d3eb39
[ "MIT" ]
null
null
null
#include "textheader_system.h" #include "../global_data.h" #include <game_utils/font/cfont.h> #include <utils/filesystem/filesystem.h> #include "../misc_utils/font_creator.h" std::string MakeSureFontExists( const std::string& ttf_file, int size ) { std::string font_name = ceng::GetFilenameWithoutExtension( ttf_file...
29.086022
106
0.68207
gummikana
60735d73a2d38c7dd575e06d49d1c2b25d020988
14,446
hpp
C++
src/libtriton/includes/triton/exceptions.hpp
patacca/Triton
e5b6e089efba6bac0731d9abb306351b150ab872
[ "Apache-2.0" ]
2,337
2015-06-03T10:26:30.000Z
2022-03-30T02:42:26.000Z
src/libtriton/includes/triton/exceptions.hpp
patacca/Triton
e5b6e089efba6bac0731d9abb306351b150ab872
[ "Apache-2.0" ]
914
2015-06-03T10:56:48.000Z
2022-03-30T11:11:40.000Z
src/libtriton/includes/triton/exceptions.hpp
patacca/Triton
e5b6e089efba6bac0731d9abb306351b150ab872
[ "Apache-2.0" ]
521
2015-06-03T10:41:15.000Z
2022-03-26T15:45:08.000Z
//! \file /* ** Copyright (C) - Triton ** ** This program is under the terms of the Apache License 2.0. */ #ifndef TRITON_EXCEPTIONS_H #define TRITON_EXCEPTIONS_H #include <exception> #include <string> #include <triton/dllexport.hpp> #include <triton/tritonTypes.hpp> //! The Triton namespace namespace triton { ...
34.070755
122
0.648069
patacca
6073c4fdbc240d0ac293714d558bafdb13ddd89d
320,752
cc
C++
third/libyuv/source/row_gcc.cc
onbings/bofstd
366ff7f7d8871d5fa5785d5690d90506a7714ecc
[ "MIT" ]
null
null
null
third/libyuv/source/row_gcc.cc
onbings/bofstd
366ff7f7d8871d5fa5785d5690d90506a7714ecc
[ "MIT" ]
1
2021-03-20T14:46:54.000Z
2021-03-20T14:47:10.000Z
third/libyuv/source/row_gcc.cc
onbings/bofstd
366ff7f7d8871d5fa5785d5690d90506a7714ecc
[ "MIT" ]
null
null
null
/* * Copyright 2011 The LibYuv Project Authors. All rights reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribu...
44.704111
90
0.338221
onbings
6075800f99e5905b5bd48ccc527a9c603d497064
1,263
cpp
C++
LabWork1_Q3_StoreLargeNumber/src/AddBigNumber.cpp
ming0520/DSA---Workspace
ad570544618abb92719278e6ea2a5529445921c3
[ "MIT" ]
null
null
null
LabWork1_Q3_StoreLargeNumber/src/AddBigNumber.cpp
ming0520/DSA---Workspace
ad570544618abb92719278e6ea2a5529445921c3
[ "MIT" ]
null
null
null
LabWork1_Q3_StoreLargeNumber/src/AddBigNumber.cpp
ming0520/DSA---Workspace
ad570544618abb92719278e6ea2a5529445921c3
[ "MIT" ]
null
null
null
/* * AddBigNumber.cpp * * Created on: Dec 1, 2019 * Author: mingb */ #include "AddBigNumber.h" BigNumber AddBigNumber::getSum(){return sum;} AddBigNumber::AddBigNumber() { // TODO Auto-generated constructor stub } AddBigNumber::AddBigNumber(string num1, string num2) { // TODO Auto-generated constructor...
20.370968
77
0.606492
ming0520
607736824a83bbbf4eaa1049e23016932365fd10
50,030
cpp
C++
vk_order_independent_transparency/main.cpp
yangtzehina/VulkanStudy
76af12e46ecbba0a2d22812ebec3faa7383b0328
[ "MIT" ]
1
2021-11-11T13:33:54.000Z
2021-11-11T13:33:54.000Z
vk_order_independent_transparency/main.cpp
yangtzehina/VulkanStudy
76af12e46ecbba0a2d22812ebec3faa7383b0328
[ "MIT" ]
null
null
null
vk_order_independent_transparency/main.cpp
yangtzehina/VulkanStudy
76af12e46ecbba0a2d22812ebec3faa7383b0328
[ "MIT" ]
null
null
null
/* Copyright (c) 2020, NVIDIA CORPORATION. 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 of cond...
44.510676
162
0.653288
yangtzehina
607a661bdf78719090400b32c60cd396d84cb003
7,386
inl
C++
Library/Sources/Stroika/Foundation/IO/Network/URI.inl
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
28
2015-09-22T21:43:32.000Z
2022-02-28T01:35:01.000Z
Library/Sources/Stroika/Foundation/IO/Network/URI.inl
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
98
2015-01-22T03:21:27.000Z
2022-03-02T01:47:00.000Z
Library/Sources/Stroika/Foundation/IO/Network/URI.inl
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
4
2019-02-21T16:45:25.000Z
2022-02-18T13:40:04.000Z
/* * Copyright(c) Sophist Solutions, Inc. 1990-2021. All rights reserved */ #ifndef _Stroika_Foundation_IO_Network_URI_inl_ #define _Stroika_Foundation_IO_Network_URI_inl_ 1 /* ******************************************************************************** ***************************** Implementation Details ***...
33.880734
179
0.563499
SophistSolutions
607aff99fffdf43a7e119defa8158acf5e5d82db
5,496
cpp
C++
Engine/Igneel.D3D10/GraphicBuffer10.cpp
ansel86castro/Igneel
7a1e6c81e18326aff78be97cc4321f3a610481ff
[ "Apache-2.0" ]
8
2017-03-08T20:20:13.000Z
2021-12-12T20:20:07.000Z
Engine/Igneel.D3D10/GraphicBuffer10.cpp
ansel86castro/Igneel
7a1e6c81e18326aff78be97cc4321f3a610481ff
[ "Apache-2.0" ]
null
null
null
Engine/Igneel.D3D10/GraphicBuffer10.cpp
ansel86castro/Igneel
7a1e6c81e18326aff78be97cc4321f3a610481ff
[ "Apache-2.0" ]
4
2018-09-28T15:45:08.000Z
2021-03-22T17:15:46.000Z
#include "Stdafx.h" #include "GraphicBuffer10.h" #include "Utils.h" using namespace System::Runtime::InteropServices; namespace IgneelD3D10 { GraphicBuffer10::GraphicBuffer10(ID3D10Device* device, ID3D10Buffer * buffer , int size, int stride, ResourceUsage usage, CpuAccessFlags cpuAcces, D3D10_SUBRESO...
26.423077
117
0.701783
ansel86castro
607eeae14fee09922cf8d7978fc8cd95420712a8
7,204
hpp
C++
include/range/v3/view/intersperse.hpp
CornedBee/range-v3
99a9f5f70e65dfcf6bbc8894bf2a22d8f5d4552a
[ "MIT" ]
null
null
null
include/range/v3/view/intersperse.hpp
CornedBee/range-v3
99a9f5f70e65dfcf6bbc8894bf2a22d8f5d4552a
[ "MIT" ]
null
null
null
include/range/v3/view/intersperse.hpp
CornedBee/range-v3
99a9f5f70e65dfcf6bbc8894bf2a22d8f5d4552a
[ "MIT" ]
null
null
null
/// \file // Range v3 library // // Copyright Eric Niebler 2013-2014 // // Use, modification and distribution is subject to 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) // // Project home: https://github.com/ericniebler/ra...
37.915789
109
0.506802
CornedBee
607f071c94b4b4563fe8455c2b720b0e522fc755
870
cpp
C++
06_Cpp_Style/extern_leakage/main.cpp
haxpor/APIBook
df34e557ebdd3e0c30fc55fb87dd43c72d393d4c
[ "MIT" ]
15
2020-01-14T21:00:20.000Z
2022-03-20T08:30:23.000Z
06_Cpp_Style/extern_leakage/main.cpp
haxpor/APIBook
df34e557ebdd3e0c30fc55fb87dd43c72d393d4c
[ "MIT" ]
1
2019-03-13T01:36:12.000Z
2019-03-13T01:36:12.000Z
06_Cpp_Style/extern_leakage/main.cpp
haxpor/APIBook
df34e557ebdd3e0c30fc55fb87dd43c72d393d4c
[ "MIT" ]
10
2019-10-21T03:15:24.000Z
2021-09-08T01:58:35.000Z
/// -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: t -*- /// /// \file main.cpp /// \author Martin Reddy /// \brief Showing how "internal" details can be leaked. /// /// Copyright (c) 2010, Martin Reddy. All rights reserved. /// Distributed under the X11/MIT License. See LICENSE.txt. /// See http://APIBook.c...
25.588235
71
0.698851
haxpor
607f142385fd82cf90be57a79d30b84243650780
252
cpp
C++
src/animation/blend_animation_1d.cpp
hermet/rive-cpp
d69378d97e7d987930c3764655153bf8ddc65966
[ "MIT" ]
null
null
null
src/animation/blend_animation_1d.cpp
hermet/rive-cpp
d69378d97e7d987930c3764655153bf8ddc65966
[ "MIT" ]
null
null
null
src/animation/blend_animation_1d.cpp
hermet/rive-cpp
d69378d97e7d987930c3764655153bf8ddc65966
[ "MIT" ]
null
null
null
#include "animation/blend_animation_1d.hpp" using namespace rive; StatusCode BlendAnimation1D::onAddedDirty(CoreContext* context) { return StatusCode::Ok; } StatusCode BlendAnimation1D::onAddedClean(CoreContext* context) { return StatusCode::Ok; }
19.384615
63
0.805556
hermet
6080622bfa6412d9d19bf5bb449169fc003eb06f
9,366
cpp
C++
examples/state/vsgdynamictexture/vsgdynamictexture.cpp
andesengineering/vsgExamples
ac7f2e021eaa8ffab6bd16253b5c89015c7bf13f
[ "MIT" ]
null
null
null
examples/state/vsgdynamictexture/vsgdynamictexture.cpp
andesengineering/vsgExamples
ac7f2e021eaa8ffab6bd16253b5c89015c7bf13f
[ "MIT" ]
null
null
null
examples/state/vsgdynamictexture/vsgdynamictexture.cpp
andesengineering/vsgExamples
ac7f2e021eaa8ffab6bd16253b5c89015c7bf13f
[ "MIT" ]
null
null
null
#include <iostream> #include <vsg/all.h> void update(vsg::vec4Array2D& image, float value) { for (size_t r = 0; r < image.height(); ++r) { float r_ratio = static_cast<float>(r) / static_cast<float>(image.height() - 1); for (size_t c = 0; c < image.width(); ++c) { float c_rat...
43.562791
175
0.682148
andesengineering
608103e91563b132c650163fb8b7aaff1ede0d1b
1,315
cpp
C++
c++/set_mismatch.cpp
SongZhao/leetcode
4a2b4f554e91f6a2167b336f8a69b80fa9f3f920
[ "Apache-2.0" ]
null
null
null
c++/set_mismatch.cpp
SongZhao/leetcode
4a2b4f554e91f6a2167b336f8a69b80fa9f3f920
[ "Apache-2.0" ]
null
null
null
c++/set_mismatch.cpp
SongZhao/leetcode
4a2b4f554e91f6a2167b336f8a69b80fa9f3f920
[ "Apache-2.0" ]
null
null
null
/* The set S originally contains numbers from 1 to n. But unfortunately, due to the data error, one of the numbers in the set got duplicated to another number in the set, which results in repetition of one number and loss of another number. Given an array nums representing the data status of this set after the error. ...
26.836735
237
0.584791
SongZhao
60851ef5cb6b0f0afb15e729b1867ab72786f4d4
18,680
cpp
C++
profiler.cpp
Svengali/cblib
77ddfd452cff842575750b9e6d792790f5ec5fee
[ "Zlib" ]
1
2021-05-01T04:34:24.000Z
2021-05-01T04:34:24.000Z
profiler.cpp
Svengali/cblib
77ddfd452cff842575750b9e6d792790f5ec5fee
[ "Zlib" ]
null
null
null
profiler.cpp
Svengali/cblib
77ddfd452cff842575750b9e6d792790f5ec5fee
[ "Zlib" ]
null
null
null
#include "Base.h" #include "Profiler.h" #include "Vector.h" #include "Vecsortedpair.h" #include "Vector_s.h" #include "Log.h" #include "File.h" #define PROFILE_RECORDS //#define PROFILE_NODES /** PROFILE_NODES : track heirarchical time information in realtime useful for in-game profile HUD PROFILE_RECORDS : just ...
21.771562
144
0.665685
Svengali
608645bd649ebef74d717c863bb5c4cf4a8bff98
216
cpp
C++
test/string_test.cpp
sekiya9311/CplusplusAlgorithmLibrary
f29dbdfbf3594da055185e39765880ff5d1e64ae
[ "Apache-2.0" ]
null
null
null
test/string_test.cpp
sekiya9311/CplusplusAlgorithmLibrary
f29dbdfbf3594da055185e39765880ff5d1e64ae
[ "Apache-2.0" ]
8
2019-04-13T15:11:11.000Z
2020-03-19T17:14:18.000Z
test/string_test.cpp
sekiya9311/CplusplusAlgorithmLibrary
f29dbdfbf3594da055185e39765880ff5d1e64ae
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> #include "../string/rolling_hash.cpp" #include "../string/split.cpp" #include "../string/join.cpp" #include "../string/trie.cpp" #include "../string/binary_trie.cpp" void string_test() { }
19.636364
37
0.680556
sekiya9311
6087df6cfdbbd632419966d9f44f5527cd400b5b
2,814
cc
C++
squid/squid3-3.3.8.spaceify/helpers/digest_auth/eDirectory/digest_pw_auth.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
4
2015-01-20T15:25:34.000Z
2017-12-20T06:47:42.000Z
squid/squid3-3.3.8.spaceify/helpers/digest_auth/eDirectory/digest_pw_auth.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
4
2015-05-15T09:32:55.000Z
2016-02-18T13:43:31.000Z
squid/squid3-3.3.8.spaceify/helpers/digest_auth/eDirectory/digest_pw_auth.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
null
null
null
/* * digest_pw_auth.c * * AUTHOR: Robert Collins. Based on ncsa_auth.c by Arjan de Vet * <Arjan.deVet@adv.iae.nl> * LDAP backend extension by Flavio Pescuma, MARA Systems AB <flavio@marasystems.com> * * Example digest authentication program for Squid, based on the original * proxy_auth code from client_side.c, ...
27.057692
85
0.676262
spaceify
608819dffeb64853b58365438eff71ac45fa764b
2,419
cpp
C++
transformations/jw/EfficientJW.cpp
zpparks314/xacc-vqe
37aaadb12d856324532c42ca9f7e56147edbd2e7
[ "BSD-3-Clause" ]
14
2017-09-15T19:05:11.000Z
2021-11-04T05:24:51.000Z
transformations/jw/EfficientJW.cpp
zpparks314/xacc-vqe
37aaadb12d856324532c42ca9f7e56147edbd2e7
[ "BSD-3-Clause" ]
25
2017-08-08T16:03:55.000Z
2019-12-22T12:18:27.000Z
transformations/jw/EfficientJW.cpp
zpparks314/xacc-vqe
37aaadb12d856324532c42ca9f7e56147edbd2e7
[ "BSD-3-Clause" ]
17
2018-06-25T20:20:16.000Z
2021-04-03T18:31:44.000Z
#include "EfficientJW.hpp" #include "XACC.hpp" #include <ctime> namespace xacc { namespace vqe { std::shared_ptr<IR> EfficientJW::transform( std::shared_ptr<IR> ir) { std::complex<double> imag(0,1); auto fermiKernel = ir->getKernels()[0]; result.clear(); int myStart = 0; int myEnd = fermiKernel->nInstructi...
24.434343
86
0.583299
zpparks314
608acdc2b912ea8d10c5266cef30225a89db6050
21,584
cpp
C++
libboost-log/src/syslog_backend.cpp
build2-packaging/boost
203d505dd3ba04ea50785bc8b247a295db5fc718
[ "BSL-1.0" ]
4
2021-02-23T11:24:33.000Z
2021-09-11T20:10:46.000Z
libboost-log/src/syslog_backend.cpp
build2-packaging/boost
203d505dd3ba04ea50785bc8b247a295db5fc718
[ "BSL-1.0" ]
null
null
null
libboost-log/src/syslog_backend.cpp
build2-packaging/boost
203d505dd3ba04ea50785bc8b247a295db5fc718
[ "BSL-1.0" ]
null
null
null
/* * Copyright Andrey Semashev 2007 - 2020. * 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) */ /*! * \file syslog_backend.cpp * \author Andrey Semashev * \date 08.01.2008 * * \brie...
34.151899
145
0.631996
build2-packaging
608c46d0b11020771082aecb9d98c66b654dafc7
351
cpp
C++
Ass_4/C files/123455.cpp
pratik8696/Assignment
6fa02f4f7ec135b13dbebea9920eeb2a57bd1489
[ "MIT" ]
null
null
null
Ass_4/C files/123455.cpp
pratik8696/Assignment
6fa02f4f7ec135b13dbebea9920eeb2a57bd1489
[ "MIT" ]
null
null
null
Ass_4/C files/123455.cpp
pratik8696/Assignment
6fa02f4f7ec135b13dbebea9920eeb2a57bd1489
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(){ int size; cin>>size; int arr[size]; for (int i = 0; i < size; i++) { cin>>arr[i]; } int sum=0; for (int i = 0; i < size; i++) { for (int j = i; j < size; j++) { sum =sum+ arr[j]; } } ...
15.954545
38
0.407407
pratik8696
608d7a7339f877b6c70aeb2a7a1cffb8a77b8540
2,591
hh
C++
tests/Dispatch/SynchronousTaskGroupSpec.hh
GroovyCarrot/hhvm-event-dispatcher
0140f298c06ce60eeb2f07e7cc1f95aeca5ca853
[ "MIT" ]
null
null
null
tests/Dispatch/SynchronousTaskGroupSpec.hh
GroovyCarrot/hhvm-event-dispatcher
0140f298c06ce60eeb2f07e7cc1f95aeca5ca853
[ "MIT" ]
null
null
null
tests/Dispatch/SynchronousTaskGroupSpec.hh
GroovyCarrot/hhvm-event-dispatcher
0140f298c06ce60eeb2f07e7cc1f95aeca5ca853
[ "MIT" ]
null
null
null
<?hh // partial namespace Tests\GroovyCarrot\Event\Dispatch; use GroovyCarrot\Event\EventHandling; use GroovyCarrot\Event\Dispatch\SynchronousTaskGroup; use Mockery as m; class SynchronousTaskGroupSpec extends TaskGroupSpec { public function __construct() { parent::__construct(); $this->grou...
33.217949
109
0.526438
GroovyCarrot
6093a4faa2c2fb6cde1c589318d3bbeff4e907cd
2,542
cpp
C++
src/blockchain/block.cpp
Derik-T/CPP
adf8ecb11af5bf96d04182b83ae3fa58ca64bc72
[ "MIT" ]
1
2021-08-28T23:51:52.000Z
2021-08-28T23:51:52.000Z
src/blockchain/block.cpp
Derik-T/CPP
adf8ecb11af5bf96d04182b83ae3fa58ca64bc72
[ "MIT" ]
null
null
null
src/blockchain/block.cpp
Derik-T/CPP
adf8ecb11af5bf96d04182b83ae3fa58ca64bc72
[ "MIT" ]
null
null
null
#ifndef BLOCK_CPP #define BLOCK_CPP #include "block.h" #include "utilities/merkle.cpp" #include <string> #include <unistd.h> #define zeroHash "0000000000000000000000" Block::Block(int height, int difficulty) { this->txCount = 0; this->height = height; this->difficulty = difficulty; this->merkleTop = "";...
23.109091
120
0.618411
Derik-T
6093e02bf392c46e106e7106022b52113602dc43
1,767
hpp
C++
segmenttree/trees/acl_range-add-chmax-range-sum.hpp
rsm9/cplib-cpp
269064381eb259a049236335abb31f8f73ded7f4
[ "MIT" ]
4
2020-05-13T05:06:22.000Z
2020-09-18T17:03:36.000Z
segmenttree/trees/acl_range-add-chmax-range-sum.hpp
rsm9/cplib-cpp
269064381eb259a049236335abb31f8f73ded7f4
[ "MIT" ]
1
2019-12-11T13:53:17.000Z
2019-12-11T13:53:17.000Z
segmenttree/trees/acl_range-add-chmax-range-sum.hpp
rsm9/cplib-cpp
269064381eb259a049236335abb31f8f73ded7f4
[ "MIT" ]
3
2019-12-11T06:45:45.000Z
2020-09-07T13:45:32.000Z
#pragma once #include "../acl_beats.hpp" // CUT begin // Verified: http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0427 namespace RangeAddChmaxRangeSum { #include <algorithm> template <typename Num> inline Num second_lowest(Num a, Num a2, Num c, Num c2) noexcept { // a < a2, c < c2 return a == c ? std::m...
27.184615
84
0.550085
rsm9
6094d7e569a730467a11fd11744caff6bf3d1475
4,479
cpp
C++
apps/physx_app.cpp
ArcheGraphics/Arche-cpp
da6770edd4556a920b3f7298f38176107caf7e3a
[ "MIT" ]
8
2022-02-15T12:54:57.000Z
2022-03-30T16:35:58.000Z
apps/physx_app.cpp
yangfengzzz/DigitalArche
da6770edd4556a920b3f7298f38176107caf7e3a
[ "MIT" ]
null
null
null
apps/physx_app.cpp
yangfengzzz/DigitalArche
da6770edd4556a920b3f7298f38176107caf7e3a
[ "MIT" ]
null
null
null
// Copyright (c) 2022 Feng Yang // // I am making my contributions/submissions to this project solely in my // personal capacity and am not conveying any rights to any intellectual // property of any third parties. #include "physx_app.h" #include "mesh/primitive_mesh.h" #include "mesh/mesh_renderer.h" #include "ma...
35.832
121
0.692789
ArcheGraphics
609d286c5d08e406c88e4a14a08d10e2ec7e20b5
902
hpp
C++
args/core/math/glm/ext/vector_bool1_precision.hpp
Algo-ryth-mix/Args-Engine
cc5084c5060ff071602cc9e2fdfb52791e65ca5b
[ "MIT" ]
null
null
null
args/core/math/glm/ext/vector_bool1_precision.hpp
Algo-ryth-mix/Args-Engine
cc5084c5060ff071602cc9e2fdfb52791e65ca5b
[ "MIT" ]
null
null
null
args/core/math/glm/ext/vector_bool1_precision.hpp
Algo-ryth-mix/Args-Engine
cc5084c5060ff071602cc9e2fdfb52791e65ca5b
[ "MIT" ]
null
null
null
/// @ref ext_vector_bool1_precision /// @file glm/ext/vector_bool1_precision.hpp /// /// @defgroup ext_vector_bool1_precision GLM_EXT_vector_bool1_precision /// @ingroup ext /// /// Exposes highp_bvec1, mediump_bvec1 and lowp_bvec1 types. /// /// Include <glm/ext/vector_bool1_precision.hpp> to use the features of this ...
25.771429
87
0.735033
Algo-ryth-mix
609ef720231474288fad06a275d670042525852c
491
cpp
C++
cpp/BinaryIndexedTree.cpp
cupro29/cupro-library
00dff012373d2a35b6645b6e6ff0d0a521ee9077
[ "MIT" ]
null
null
null
cpp/BinaryIndexedTree.cpp
cupro29/cupro-library
00dff012373d2a35b6645b6e6ff0d0a521ee9077
[ "MIT" ]
null
null
null
cpp/BinaryIndexedTree.cpp
cupro29/cupro-library
00dff012373d2a35b6645b6e6ff0d0a521ee9077
[ "MIT" ]
null
null
null
#include <vector> template <class T> struct BinaryIndexedTree { BinaryIndexedTree(std::size_t n) : sz(n), d(sz) {} void add(std::size_t p, T x) { p++; while (p <= sz) { d[p - 1] += x; p += p & -p; } } T range(std::size_t l, std::size_t r) const { return sum(r) - sum(l); } T sum(std::si...
18.884615
73
0.490835
cupro29
60a55873df44e519e8397baf41bcd3bc86de530c
18,788
cpp
C++
src/phi_BLR.cpp
rchan26/hierarchicalFusion
20cb965526b47ae8f0373bdbdcbdb76d99ab8618
[ "CC-BY-4.0" ]
1
2021-09-27T15:32:50.000Z
2021-09-27T15:32:50.000Z
src/phi_BLR.cpp
rchan26/hierarchicalFusion
20cb965526b47ae8f0373bdbdcbdb76d99ab8618
[ "CC-BY-4.0" ]
null
null
null
src/phi_BLR.cpp
rchan26/hierarchicalFusion
20cb965526b47ae8f0373bdbdcbdb76d99ab8618
[ "CC-BY-4.0" ]
1
2021-12-09T03:22:51.000Z
2021-12-09T03:22:51.000Z
#include "../inc/helper_functions.hpp" #include "../inc/phi_BLR.hpp" using namespace Rcpp; // [[Rcpp::depends(RcppArmadillo)]] // [[Rcpp::export]] arma::vec log_BLR_gradient(const arma::vec &beta, const arma::vec &y_labels, const arma::mat &X, ...
43.897196
116
0.439217
rchan26
60a6f4a7a594236c95eaef2fb9fa30362be15f51
1,541
cpp
C++
src/web_server/session/detect_session.cpp
X-rays5/web_server
c14e2c8e6e53797d2179cb5985a135e34173b3b9
[ "MIT" ]
2
2021-09-16T03:22:45.000Z
2021-11-09T11:45:07.000Z
src/web_server/session/detect_session.cpp
X-rays5/web_server
c14e2c8e6e53797d2179cb5985a135e34173b3b9
[ "MIT" ]
null
null
null
src/web_server/session/detect_session.cpp
X-rays5/web_server
c14e2c8e6e53797d2179cb5985a135e34173b3b9
[ "MIT" ]
null
null
null
// // Created by X-ray on 6/7/2021. // #pragma once #include "detect_session.hpp" namespace web_server { namespace session { void detect_session::run() { // Set the timeout. stream_.expires_after(std::chrono::seconds(30)); beast::async_detect_ssl(stream_,buffer_,beast::...
35.837209
132
0.546398
X-rays5
60a9ed5121cfe67a17d8575325d5002ef0999a8d
909
hh
C++
maxutils/maxsimd/include/maxsimd/multistmt.hh
sdrik/MaxScale
c6c318b36dde0a25f22ac3fd59c9d33d774fe37a
[ "BSD-3-Clause" ]
null
null
null
maxutils/maxsimd/include/maxsimd/multistmt.hh
sdrik/MaxScale
c6c318b36dde0a25f22ac3fd59c9d33d774fe37a
[ "BSD-3-Clause" ]
null
null
null
maxutils/maxsimd/include/maxsimd/multistmt.hh
sdrik/MaxScale
c6c318b36dde0a25f22ac3fd59c9d33d774fe37a
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2021 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. * * Change Date: 2025-12-13 * * On the date above, in accordance with the Business Source License, use * of this software will be g...
27.545455
79
0.693069
sdrik
60abec8ed980e14091921b1295712fe53d862b01
4,774
hh
C++
src/sgm/GraphScaffold.hh
michaelapeterka/GGL
99e585b773ad8f33e39160d2cbd71c00e036fa37
[ "MIT" ]
20
2017-05-09T15:37:04.000Z
2021-11-24T10:51:02.000Z
src/sgm/GraphScaffold.hh
michaelapeterka/GGL
99e585b773ad8f33e39160d2cbd71c00e036fa37
[ "MIT" ]
2
2017-05-24T08:00:25.000Z
2017-05-24T08:01:01.000Z
src/sgm/GraphScaffold.hh
michaelapeterka/GGL
99e585b773ad8f33e39160d2cbd71c00e036fa37
[ "MIT" ]
7
2017-05-29T10:55:18.000Z
2020-12-04T14:24:51.000Z
#ifndef SGM_GRAPHSCAFFOLD_HH_ #define SGM_GRAPHSCAFFOLD_HH_ #include "sgm/Graph_Interface.hh" #include "sgm/RP_Hanser96.hh" namespace sgm { /*! * Computes the scaffold annotation of each node, ie. whether it is part of * a ring, a ring linker, or a dangling end (side chain). * * See * T...
30.025157
80
0.665899
michaelapeterka
60ac371e8062a35b0466f650d8408c25043a8cfd
4,402
cpp
C++
epoll/epoll.cpp
NicoleRobin/ZYEvent
513380e590fad0f255490726ffaa83b652792273
[ "MIT" ]
null
null
null
epoll/epoll.cpp
NicoleRobin/ZYEvent
513380e590fad0f255490726ffaa83b652792273
[ "MIT" ]
null
null
null
epoll/epoll.cpp
NicoleRobin/ZYEvent
513380e590fad0f255490726ffaa83b652792273
[ "MIT" ]
null
null
null
/******************************************************************************* * File Name : epoll.cpp * Author : zjw * Email : emp3XzA3MjJAMTYzLmNvbQo= (base64 encode) * Create Time : 2015年07月15日 星期三 18时33分00秒 *******************************************************************************/ #include <sys/types.h>...
25.298851
96
0.607905
NicoleRobin
60ae397d0b61ca86965216beb74482c1ffb60a96
618
cc
C++
kattis/deduplicatingfiles.cc
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
506
2018-08-22T10:30:38.000Z
2022-03-31T10:01:49.000Z
kattis/deduplicatingfiles.cc
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
13
2019-08-07T18:31:18.000Z
2020-12-15T21:54:41.000Z
kattis/deduplicatingfiles.cc
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
234
2018-08-06T17:11:41.000Z
2022-03-26T10:56:42.000Z
// https://open.kattis.com/problems/deduplicatingfiles #include<bits/stdc++.h> using namespace std; using vi=vector<int>; using vs=vector<string>; int main(){ int n; cin>>n; while(n){ string s; getline(cin,s); vi a(n); vs b(n); int k=0,l=n; for(int i=0;i<n;i++){ getline(cin,b[i]); ...
18.176471
54
0.475728
Ashindustry007
60afa75f7666120113a558ee5fcb61816a0bf2af
3,643
cpp
C++
libs/sge_engine/src/sge_engine/windows/GameInspectorWindow.cpp
ongamex/SGEEngine
de17c10bd880e8175ea01588eeefeb70abfbc3d0
[ "MIT" ]
34
2021-06-15T10:24:49.000Z
2022-03-22T19:20:23.000Z
libs/sge_engine/src/sge_engine/windows/GameInspectorWindow.cpp
ongamex/SGEEngine
de17c10bd880e8175ea01588eeefeb70abfbc3d0
[ "MIT" ]
9
2021-03-04T21:34:03.000Z
2021-05-04T18:33:47.000Z
libs/sge_engine/src/sge_engine/windows/GameInspectorWindow.cpp
ongamex/SGEEngine
de17c10bd880e8175ea01588eeefeb70abfbc3d0
[ "MIT" ]
2
2021-12-29T01:15:22.000Z
2022-02-01T10:53:15.000Z
#include "GameInspectorWindow.h" #include "IconsForkAwesome/IconsForkAwesome.h" #include "sge_core/SGEImGui.h" #include "sge_engine/EngineGlobal.h" #include "sge_engine/GameInspector.h" #include "sge_engine/GameWorld.h" #include "sge_engine/traits/TraitCamera.h" #include "sge_utils/sge_utils.h" #include "sge_utils/util...
26.985185
124
0.659347
ongamex
60b1fde68d5e427ac7b5cd86df4dc6f82d0a4ea8
54,892
cc
C++
hyperion/Table.cc
mpokorny/legms
8ea5d1899ac5e2658ebe481b706430474685bb2d
[ "Apache-2.0" ]
2
2021-02-03T00:40:55.000Z
2021-02-03T13:30:31.000Z
hyperion/Table.cc
mpokorny/legms
8ea5d1899ac5e2658ebe481b706430474685bb2d
[ "Apache-2.0" ]
null
null
null
hyperion/Table.cc
mpokorny/legms
8ea5d1899ac5e2658ebe481b706430474685bb2d
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2020 Associated Universities, Inc. Washington DC, USA. * * 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 re...
30.293598
82
0.63144
mpokorny
60b2db4f5d31b0bdaa8f838519bc58cc95fe6ee5
2,043
cpp
C++
src/BlockEntities/FlowerPotEntity.cpp
skpub/cuberite
c2f8ceb554982a33bcd4a1e168f6c4e26d0b85dd
[ "Apache-2.0" ]
null
null
null
src/BlockEntities/FlowerPotEntity.cpp
skpub/cuberite
c2f8ceb554982a33bcd4a1e168f6c4e26d0b85dd
[ "Apache-2.0" ]
null
null
null
src/BlockEntities/FlowerPotEntity.cpp
skpub/cuberite
c2f8ceb554982a33bcd4a1e168f6c4e26d0b85dd
[ "Apache-2.0" ]
null
null
null
// FlowerPotEntity.cpp // Implements the cFlowerPotEntity class representing a single flower pot in the world #include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules #include "FlowerPotEntity.h" #include "../Entities/Player.h" #include "../ClientHandle.h" #include "../Item.h" ...
17.921053
116
0.725893
skpub
60b3fb44c370991f3c2373cec93cb7788e9945ff
5,003
cpp
C++
sdk/sdk/driver/demod_ctrl/it9137/tuner/tuner.cpp
doyaGu/C0501Q_HWJL01
07a71328bd9038453cbb1cf9c276a3dd1e416d63
[ "MIT" ]
1
2021-10-09T08:05:50.000Z
2021-10-09T08:05:50.000Z
sdk/sdk/driver/demod_ctrl/it9137/tuner/tuner.cpp
doyaGu/C0501Q_HWJL01
07a71328bd9038453cbb1cf9c276a3dd1e416d63
[ "MIT" ]
null
null
null
sdk/sdk/driver/demod_ctrl/it9137/tuner/tuner.cpp
doyaGu/C0501Q_HWJL01
07a71328bd9038453cbb1cf9c276a3dd1e416d63
[ "MIT" ]
null
null
null
/** * @(#)Afatech_OMEGA.cpp * * ========================================================== * Version: 2.0 * Date: 2009.06.15 * ========================================================== * * ========================================================== * History: * * Date Author Description * -...
28.106742
96
0.682391
doyaGu
60c07dd7ce306691f5b3cc463722fef323e853a1
2,579
cpp
C++
src/storage/test/unit/src/accessor/IaqDataAccessorTest.cpp
karz0n/sensority-collector
0d71a2855fa7fcff9c11475dbf1832a598421949
[ "MIT" ]
null
null
null
src/storage/test/unit/src/accessor/IaqDataAccessorTest.cpp
karz0n/sensority-collector
0d71a2855fa7fcff9c11475dbf1832a598421949
[ "MIT" ]
null
null
null
src/storage/test/unit/src/accessor/IaqDataAccessorTest.cpp
karz0n/sensority-collector
0d71a2855fa7fcff9c11475dbf1832a598421949
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <gmock/gmock.h> #include "storage/DataStorage.hpp" #include "storage/model/IaqDataModel.hpp" #include "storage/accessor/IaqDataAccessor.hpp" #include "tests/Waiter.hpp" using namespace testing; using namespace storage; using namespace std::chrono_literals; class IaqDataAccessorTest...
27.147368
99
0.64715
karz0n
60c145bf1d27358691a47b8a7d023f526503034d
8,314
cpp
C++
rct_optimizations/src/rct_optimizations/covariance_analysis.cpp
m-limbird/robot_cal_tools
c3ee0c26895af50219afc450e7e6f866b7b86cbe
[ "Apache-2.0" ]
null
null
null
rct_optimizations/src/rct_optimizations/covariance_analysis.cpp
m-limbird/robot_cal_tools
c3ee0c26895af50219afc450e7e6f866b7b86cbe
[ "Apache-2.0" ]
null
null
null
rct_optimizations/src/rct_optimizations/covariance_analysis.cpp
m-limbird/robot_cal_tools
c3ee0c26895af50219afc450e7e6f866b7b86cbe
[ "Apache-2.0" ]
null
null
null
#include <rct_optimizations/covariance_analysis.h> #include <sstream> namespace rct_optimizations { Eigen::MatrixXd computeCorrelationsFromCovariance(const Eigen::MatrixXd& covariance_matrix) { if(covariance_matrix.rows() != covariance_matrix.cols()) throw CovarianceException("Cannot compute correlations from ...
40.556098
160
0.66827
m-limbird
60c370f91241b04e0e20b1fe48bc466e757d5d7b
410
cpp
C++
Week7/Example1.cpp
Invvk/Programming-Introduction-Lab
48c2b05b5fef9a33bef5e2f9fd4f463bd4bc3506
[ "MIT" ]
null
null
null
Week7/Example1.cpp
Invvk/Programming-Introduction-Lab
48c2b05b5fef9a33bef5e2f9fd4f463bd4bc3506
[ "MIT" ]
null
null
null
Week7/Example1.cpp
Invvk/Programming-Introduction-Lab
48c2b05b5fef9a33bef5e2f9fd4f463bd4bc3506
[ "MIT" ]
null
null
null
// Example 1: predefined functions #include <iostream> #include <cmath> using namespace std; int main() { int x; double u = 4.2, v = 3.0; cout << "\t " << u << " to the power of " << v << " = " << pow(u, v) << endl; cout << "5.0 to the power of 4 = " << pow(5.0, 4) << endl; u = u + pow(3.0, 3); cout << "u = " ...
22.777778
78
0.509756
Invvk
60c5286442f3a45793b313a0e1758896a6d4f0c0
1,437
cpp
C++
C++/Algorithms/BinaryTrees/inorderTraversal.cpp
joao-neves95/Exercises_Challenges_Courses
02b6e25d9a270395bbf6dc8111c2419bba4f3edc
[ "MIT" ]
null
null
null
C++/Algorithms/BinaryTrees/inorderTraversal.cpp
joao-neves95/Exercises_Challenges_Courses
02b6e25d9a270395bbf6dc8111c2419bba4f3edc
[ "MIT" ]
4
2018-11-10T01:05:14.000Z
2021-06-25T15:16:28.000Z
C++/Algorithms/BinaryTrees/inorderTraversal.cpp
joao-neves95/Exercises_Challenges_Courses
02b6e25d9a270395bbf6dc8111c2419bba4f3edc
[ "MIT" ]
null
null
null
/** * @file inorderTraversal.cpp * @author João Neves (https://github.com/joao-neves95) * @brief * Traverse the left subtree first. Then visit the root. Finally, traverse the right subtree. * * @version 1.0.0 * @copyright Copyright (c) 2021 * (_SHIVAYL_) */ #include <vector> #include <stack> using namespace s...
22.107692
94
0.565066
joao-neves95
60c73f98a8dd7de658b5cbac8ba8cd5b38eeafbc
882
cpp
C++
src/training/KillsReachedCondition.cpp
FreeAllegiance/AllegianceDX7
3955756dffea8e7e31d3a55fcf6184232b792195
[ "MIT" ]
76
2015-08-18T19:18:40.000Z
2022-01-08T12:47:22.000Z
src/training/KillsReachedCondition.cpp
StudentAlleg/Allegiance
e91660a471eb4e57e9cea4c743ad43a82f8c7b18
[ "MIT" ]
37
2015-08-14T22:44:12.000Z
2020-01-21T01:03:06.000Z
src/training/KillsReachedCondition.cpp
StudentAlleg/Allegiance
e91660a471eb4e57e9cea4c743ad43a82f8c7b18
[ "MIT" ]
42
2015-08-13T23:31:35.000Z
2022-03-17T02:20:26.000Z
#include "pch.h" #include "KillsReachedCondition.h" #include "Training.h" namespace Training { //------------------------------------------------------------------------------ // class methods //------------------------------------------------------------------------------ /* void */ KillsRe...
31.5
84
0.370748
FreeAllegiance
60c79940e0b519f64a0eb903fa54ad2c53bb524e
2,108
cpp
C++
src/window.cpp
pyth/2d_ik_solver
70052397404e5eec8b89817698cf49205a98b8be
[ "MIT" ]
4
2018-07-09T20:51:05.000Z
2022-01-26T05:56:50.000Z
src/window.cpp
pyth/2d_ik_solver
70052397404e5eec8b89817698cf49205a98b8be
[ "MIT" ]
null
null
null
src/window.cpp
pyth/2d_ik_solver
70052397404e5eec8b89817698cf49205a98b8be
[ "MIT" ]
1
2021-12-16T13:47:48.000Z
2021-12-16T13:47:48.000Z
#include "window.h" Window::Window() { running = true; new_target = false; active_bone = 0; window = SDL_CreateWindow("IK Solver", 100, 100, 1024, 768, 0); renderer = SDL_CreateRenderer(window, -1, SDL_RENDERER_ACCELERATED); chain = new Chain(renderer); Bone *bone1 = new Bone(255, 0, 0); bone1->set_rot(0.f);...
20.466019
89
0.641841
pyth
60cbc859fab4a698b435bc37af07705eca251f31
542
hpp
C++
Source/State/MenuState.hpp
ace13/MiniLD61
b2789a6062ba8f64b005c8ae6f81faea44248560
[ "MIT" ]
null
null
null
Source/State/MenuState.hpp
ace13/MiniLD61
b2789a6062ba8f64b005c8ae6f81faea44248560
[ "MIT" ]
null
null
null
Source/State/MenuState.hpp
ace13/MiniLD61
b2789a6062ba8f64b005c8ae6f81faea44248560
[ "MIT" ]
null
null
null
#pragma once #include "StateManager.hpp" #include <Menu/MenuPane.hpp> #include <SFML/System/Clock.hpp> #include <list> class MenuState : public IState { public: MenuState(); ~MenuState(); void init(); void handle_event(sf::Event& ev); void fixed_update(float dt); void variadic_update(float dt); void draw(s...
16.9375
52
0.714022
ace13
60cca4a9db853bfe5bb71508dbddd3fc0481a457
25,610
cpp
C++
pgadmin/frm/frmRestore.cpp
jcjc79/pgadmin3
be0f94786bf5b8138c9e6ec1b0b295308f8f89b6
[ "OLDAP-2.2.1" ]
5
2019-09-18T08:05:31.000Z
2021-04-26T03:05:52.000Z
pgadmin/frm/frmRestore.cpp
theory/pgadmin3
5eeee31f8c4f42907b1edf1a6984cdee7323ddaa
[ "PostgreSQL" ]
null
null
null
pgadmin/frm/frmRestore.cpp
theory/pgadmin3
5eeee31f8c4f42907b1edf1a6984cdee7323ddaa
[ "PostgreSQL" ]
4
2020-03-04T09:50:13.000Z
2021-02-02T03:28:04.000Z
////////////////////////////////////////////////////////////////////////// // // pgAdmin III - PostgreSQL Tools // // Copyright (C) 2002 - 2013, The pgAdmin Development Team // This software is released under the PostgreSQL Licence // // frmRestore.cpp - Restore database dialogue // ////////////////////////////////////...
28.487208
146
0.64385
jcjc79
60ccc1e33ac5177ccce0692826a0e29a36a47b6c
5,710
cpp
C++
be/src/vec/functions/in.cpp
xinghuayu007/doris-vectorized
dcb0dcb1596bcc73f4497c08a3a212b0c34127f7
[ "Apache-2.0" ]
null
null
null
be/src/vec/functions/in.cpp
xinghuayu007/doris-vectorized
dcb0dcb1596bcc73f4497c08a3a212b0c34127f7
[ "Apache-2.0" ]
null
null
null
be/src/vec/functions/in.cpp
xinghuayu007/doris-vectorized
dcb0dcb1596bcc73f4497c08a3a212b0c34127f7
[ "Apache-2.0" ]
null
null
null
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
38.322148
112
0.636602
xinghuayu007
60cefc8f8589e8e10f6245b17ed825d89e3f7d62
1,219
hpp
C++
remodet_repository_wdh_part/include/caffe/pose/xml_modification.hpp
UrwLee/Remo_experience
a59d5b9d6d009524672e415c77d056bc9dd88c72
[ "MIT" ]
null
null
null
remodet_repository_wdh_part/include/caffe/pose/xml_modification.hpp
UrwLee/Remo_experience
a59d5b9d6d009524672e415c77d056bc9dd88c72
[ "MIT" ]
null
null
null
remodet_repository_wdh_part/include/caffe/pose/xml_modification.hpp
UrwLee/Remo_experience
a59d5b9d6d009524672e415c77d056bc9dd88c72
[ "MIT" ]
null
null
null
#ifndef CAFFE_POSE_XML_MODIFICATION_H #define CAFFE_POSE_XML_MODIFICATION_H #include <vector> #include <string> #include "caffe/tracker/bounding_box.hpp" #include "glog/logging.h" #include "caffe/caffe.hpp" #include "caffe/proto/caffe.pb.h" #include "caffe/common.hpp" #include "caffe/pose/pose_image_loader.hpp" na...
17.666667
87
0.647252
UrwLee
f599a307040c07556b3cca2fc82c56d4a62ada95
1,481
cpp
C++
dev/test/so_5/testing/v1/testenv_empty_scenario/main.cpp
eao197/so-5-5
fa0c31c84d2637dce04e13a155040150d505fbbd
[ "BSL-1.0" ]
76
2016-03-25T15:22:03.000Z
2022-02-03T15:11:43.000Z
dev/test/so_5/testing/v1/testenv_empty_scenario/main.cpp
eao197/so-5-5
fa0c31c84d2637dce04e13a155040150d505fbbd
[ "BSL-1.0" ]
19
2017-03-09T19:21:53.000Z
2021-02-24T13:02:18.000Z
dev/test/so_5/testing/v1/testenv_empty_scenario/main.cpp
eao197/so-5-5
fa0c31c84d2637dce04e13a155040150d505fbbd
[ "BSL-1.0" ]
21
2016-09-23T10:01:09.000Z
2020-08-31T12:01:10.000Z
#include <so_5/experimental/testing/v1/all.hpp> #include <various_helpers_1/time_limited_execution.hpp> #include <various_helpers_1/ensure.hpp> #include <utest_helper_1/h/helper.hpp> namespace tests = so_5::experimental::testing::v1; UT_UNIT_TEST( empty_scenario_with_one_agent ) { run_with_time_limit( []() { ...
19.746667
62
0.66104
eao197
f5a069b5da75e30a3081847d323475a1b1ebea87
3,783
cpp
C++
raygame/Actor.cpp
TerrickThib/AIPathFindingExercise
bd0dce6000d96ea556ddc36fd7a2eacb06df25b1
[ "MIT" ]
null
null
null
raygame/Actor.cpp
TerrickThib/AIPathFindingExercise
bd0dce6000d96ea556ddc36fd7a2eacb06df25b1
[ "MIT" ]
null
null
null
raygame/Actor.cpp
TerrickThib/AIPathFindingExercise
bd0dce6000d96ea556ddc36fd7a2eacb06df25b1
[ "MIT" ]
null
null
null
#include "Actor.h" #include "Transform2D.h" #include <string.h> #include "Collider.h" #include "Component.h" Actor::Actor() { m_transform = new Transform2D(this); } Actor::~Actor() { ///Deletes all components for (int i = 0; i < m_componentCount; i++) delete m_components[i]; delete m_transfor...
22.122807
72
0.617235
TerrickThib