hexsha
stringlengths
40
40
size
int64
19
11.4M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
3
270
max_stars_repo_name
stringlengths
5
110
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
float64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
3
270
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
9
max_issues_count
float64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
3
270
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
9
max_forks_count
float64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
19
11.4M
avg_line_length
float64
1.93
229k
max_line_length
int64
12
688k
alphanum_fraction
float64
0.07
0.99
matches
listlengths
1
10
bf5d1473322ba7f4af2bf09c6f19d695915a5c2c
3,485
cpp
C++
source/VulkanDebug.cpp
RobertBeckebans/CVCT_Vulkan
edd8e9865f126ffbdf474a6e419d46efc4c7f267
[ "MIT" ]
null
null
null
source/VulkanDebug.cpp
RobertBeckebans/CVCT_Vulkan
edd8e9865f126ffbdf474a6e419d46efc4c7f267
[ "MIT" ]
null
null
null
source/VulkanDebug.cpp
RobertBeckebans/CVCT_Vulkan
edd8e9865f126ffbdf474a6e419d46efc4c7f267
[ "MIT" ]
1
2021-04-09T09:20:20.000Z
2021-04-09T09:20:20.000Z
#include "VulkanDebug.h" #include <windows.h> #include <math.h> #include <stdlib.h> #include <string> #include <cstring> #include <fstream> #include <assert.h> #include <stdio.h> #include <vector> #include <fcntl.h> #include <io.h> #include <iostream> #include <vulkan.h> namespace VKDebug { int validationLayerCount ...
31.972477
135
0.773888
[ "vector" ]
bf669f2acfef228b4d5bbb72fcd5c9c13e9a91f4
4,255
cpp
C++
Codejam/2015/1C/main.cpp
zzh8829/CompetitiveProgramming
36f36b10269b4648ca8be0b08c2c49e96abede25
[ "MIT" ]
1
2017-10-01T00:51:39.000Z
2017-10-01T00:51:39.000Z
Codejam/2015/1C/main.cpp
zzh8829/CompetitiveProgramming
36f36b10269b4648ca8be0b08c2c49e96abede25
[ "MIT" ]
null
null
null
Codejam/2015/1C/main.cpp
zzh8829/CompetitiveProgramming
36f36b10269b4648ca8be0b08c2c49e96abede25
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define M_PI 3.14159265358979323846 /* pi */ #define ff(i,s,n) for(int i=(s);i<(n);i++) #define fr(i,s,n) for(int i=(n-1);i>=(s);i--) #define FF(i,s,n) for(int i=(s);i<=(n);i++) #define Fr(i,s,n) for(int i=(n);i>=(s);i--) #define FR(i,s,n) for(int i=(n);i>=(s);i--) #define all(a) a.b...
39.766355
162
0.591304
[ "vector" ]
bf6dfc914ef8a0b43b4f232b0dd452363c1e638e
3,458
cpp
C++
12-smart-pointers/1-musician/main.cpp
tehilabk/cpp-5781
736ed05dddb2a7270bbcdbb04a3ffb4b9046e358
[ "MIT" ]
6
2020-03-19T13:49:17.000Z
2020-05-27T16:04:37.000Z
12-smart-pointers/1-musician/main.cpp
erelsgl-at-ariel/cpp-5780
181ae712a05031f85fe3f9f7b16c5e60350e1577
[ "MIT" ]
null
null
null
12-smart-pointers/1-musician/main.cpp
erelsgl-at-ariel/cpp-5780
181ae712a05031f85fe3f9f7b16c5e60350e1577
[ "MIT" ]
23
2020-03-12T13:21:29.000Z
2021-02-22T21:29:48.000Z
/** * A demo of C pointers vs. smart pointers. * * Authors: Eran Kaufmann, Erel Segal-Halevi * Since: 2020-06 */ #include <iostream> #include <vector> #include <cstdlib> #include "musician.hpp" #include "AutoPointer.hpp" #include "UniquePointer.hpp" #include "SharedPointer.hpp" using namespace std; // Play...
25.614815
150
0.659051
[ "vector" ]
bf71e9bbd964bb33bd8d224ef5f4128fb165ee4c
2,617
cpp
C++
ClassesAttackOfOzones/AppDelegate.cpp
conorH22/AttackOfOzones
4290a759fede6e3ba041a0fc145cc309378f9b2d
[ "MIT" ]
1
2018-12-24T16:52:03.000Z
2018-12-24T16:52:03.000Z
ClassesAttackOfOzones/AppDelegate.cpp
conorH22/AttackOfOzones
4290a759fede6e3ba041a0fc145cc309378f9b2d
[ "MIT" ]
2
2018-05-21T09:27:18.000Z
2019-02-06T15:03:58.000Z
ClassesAttackOfOzones/AppDelegate.cpp
conorH22/AttackOfOzones
4290a759fede6e3ba041a0fc145cc309378f9b2d
[ "MIT" ]
null
null
null
#include "AppDelegate.h" #include "Level1.h" #include "MainMenu.h" //cocos2d namespace used to make code more readable and less clutter in cpp files USING_NS_CC; // the multiple device resolutions than can be enable // In this Game Attack of Ozones , full screen is enabled. the exit icon is plaed in both lev...
37.385714
179
0.717998
[ "object" ]
bf72c485b19d5d937f2169906c5cd29cfc2e5bce
15,819
hpp
C++
inc/series/types.hpp
davidson16807/libtectonics
aa0ae2b8a4a1d2a9a346bbdeb334be876ad75646
[ "CC-BY-4.0" ]
7
2020-06-09T19:56:55.000Z
2021-02-17T01:53:30.000Z
inc/series/types.hpp
davidson16807/tectonics.cpp
c40278dba14260c598764467c7abf23b190e676b
[ "CC-BY-4.0" ]
null
null
null
inc/series/types.hpp
davidson16807/tectonics.cpp
c40278dba14260c598764467c7abf23b190e676b
[ "CC-BY-4.0" ]
null
null
null
#pragma once // C libraries #include <cmath> /* assert */ #include <assert.h> /* assert */ // std libraries #include <initializer_list> // initializer_list #include <iterator> // std::distance #include <vector> // std::distance namespace series { class AbstractSeries {}; /* This template represents a...
31.078585
149
0.628232
[ "object", "vector", "transform" ]
bf7d33f9df9c4ae66a40d250db8e75e5c392e7b9
2,226
cc
C++
components/payments/content/android_app_communication_test_support_stub.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
components/payments/content/android_app_communication_test_support_stub.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
components/payments/content/android_app_communication_test_support_stub.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/payments/content/android_app_communication_test_support.h" #include <utility> #include "content/public/test/browser_task_environmen...
31.8
79
0.796945
[ "vector" ]
bf81b60aadbfe6b38fe0277e7e309130b5b09b0e
1,811
hpp
C++
include/exces/entity_key_set.hpp
matus-chochlik/exces
50b57ce4c9f6c41ab2eacfae054529cbbe6164c0
[ "BSL-1.0" ]
1
2018-03-26T20:51:36.000Z
2018-03-26T20:51:36.000Z
include/exces/entity_key_set.hpp
matus-chochlik/exces
50b57ce4c9f6c41ab2eacfae054529cbbe6164c0
[ "BSL-1.0" ]
null
null
null
include/exces/entity_key_set.hpp
matus-chochlik/exces
50b57ce4c9f6c41ab2eacfae054529cbbe6164c0
[ "BSL-1.0" ]
null
null
null
/** * @file exces/entity_key_set.hpp * @brief Implements entity key set * * Copyright 2012-2014 Matus Chochlik. 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 EXCES_ENTITY_KEY_SET_1212101511_H...
17.582524
68
0.6709
[ "vector" ]
bf83241cc95f443e1109f8b1d26ac129c5e4115c
4,611
cpp
C++
src/internal_api_error/internal_api_error.cpp
cjhurani/txssa
473bb4ec650cb7164d80fc531ac38a6c28226dd8
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-06-04T01:00:14.000Z
2022-03-25T23:40:57.000Z
src/internal_api_error/internal_api_error.cpp
cjhurani/txssa
473bb4ec650cb7164d80fc531ac38a6c28226dd8
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2017-08-28T09:08:53.000Z
2021-06-08T14:17:48.000Z
src/internal_api_error/internal_api_error.cpp
cjhurani/txssa
473bb4ec650cb7164d80fc531ac38a6c28226dd8
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
/* TxSSA: Tech-X Sparse Spectral Approximation Copyright (C) 2012 Tech-X Corporation, 5621 Arapahoe Ave, Boulder CO 80303 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the abo...
25.335165
82
0.592062
[ "vector" ]
bf84d2d60d5ca84f00fac217f22f3847a957acfc
17,623
cpp
C++
AeSys/OdBaseGripManager.cpp
terry-texas-us/Eo
5652b68468c0bacd8e8da732befa2374360a4bbd
[ "MIT" ]
1
2020-09-07T07:06:19.000Z
2020-09-07T07:06:19.000Z
AeSys/OdBaseGripManager.cpp
terry-texas-us/Eo
5652b68468c0bacd8e8da732befa2374360a4bbd
[ "MIT" ]
null
null
null
AeSys/OdBaseGripManager.cpp
terry-texas-us/Eo
5652b68468c0bacd8e8da732befa2374360a4bbd
[ "MIT" ]
2
2019-10-24T00:36:58.000Z
2020-09-30T16:45:56.000Z
// Extracted class from Examples\Editor\ExGripManager.cpp (last compare 20.5) #include "stdafx.h" #include "ExGripManager.h" #include <UInt32Array.h> #include "OdBaseGripManager.h" constexpr unsigned gc_GripManagerPageEachObject = 200; namespace { OdSelectionSetIteratorPtr SearchObjectSelectionSetIterator(OdSelection...
33.001873
160
0.663792
[ "model" ]
bf8776636944aec364c0808401718320c4d7d109
9,914
cpp
C++
octree_test/main.cpp
TheLastingCurator/TrueVoxel
660db1aba4d736e451d9331469ba7160296576ac
[ "MIT" ]
null
null
null
octree_test/main.cpp
TheLastingCurator/TrueVoxel
660db1aba4d736e451d9331469ba7160296576ac
[ "MIT" ]
null
null
null
octree_test/main.cpp
TheLastingCurator/TrueVoxel
660db1aba4d736e451d9331469ba7160296576ac
[ "MIT" ]
null
null
null
// Copyright (c) <year> Your name #include "engine/easy.h" #include "engine/bitstream.h" #include <nmmintrin.h> using namespace arctic; // NOLINT using namespace arctic::easy; // NOLINT Si32 g_ser = 0; double g_prev_time; double g_cur_time; Font g_font; double g_displayed_dt = 1.0/60.0; double ...
30.693498
120
0.617712
[ "vector", "solid" ]
bf8d9d2b8a687c061ad3e49062ee76348c9a4fa8
25,296
cc
C++
src/libxtp/aomatrices/aokinetic.cc
mbarbry/xtp
e79828209d11ec25bf1750ab75499ecf50f584ef
[ "Apache-2.0" ]
null
null
null
src/libxtp/aomatrices/aokinetic.cc
mbarbry/xtp
e79828209d11ec25bf1750ab75499ecf50f584ef
[ "Apache-2.0" ]
null
null
null
src/libxtp/aomatrices/aokinetic.cc
mbarbry/xtp
e79828209d11ec25bf1750ab75499ecf50f584ef
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2009-2018 The VOTCA Development Team * (http://www.votca.org) * * Licensed under the Apache License, Version 2.0 (the "License") * * You may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ...
45.826087
122
0.517552
[ "vector" ]
bf8da8dccbc6fdf8ea3aaf30be83b2a2cb0d79e7
3,814
cpp
C++
StrSTUN-synthesizer/strstunlib0/src/VisitorPretty.cpp
HALOCORE/SynGuar
8f7f9ba52e83091ad3def501169fd60d20b28321
[ "MIT" ]
1
2021-06-23T05:10:36.000Z
2021-06-23T05:10:36.000Z
StrSTUN-synthesizer/strstunlib0/src/VisitorPretty.cpp
HALOCORE/SynGuar
8f7f9ba52e83091ad3def501169fd60d20b28321
[ "MIT" ]
null
null
null
StrSTUN-synthesizer/strstunlib0/src/VisitorPretty.cpp
HALOCORE/SynGuar
8f7f9ba52e83091ad3def501169fd60d20b28321
[ "MIT" ]
null
null
null
#include "VisitorPretty.hpp" VisitorPretty* VisitorPretty::common; VisitorPretty::VisitorPretty() { this->indent = 0; VisitorPretty::common = this; } void VisitorPretty::indentOutput() { for (int i = 0; i < indent; i ++) { std::cerr << " "; } } void VisitorPretty::indentInc() { this->in...
25.258278
84
0.583115
[ "vector" ]
bf8f094b1ccd5aded7d823f9ee8bfc497eeb537a
16,561
cpp
C++
Robotron/Source/DirectX9Framework/GameBase/GameLogic.cpp
ThatBeanBag/Slimfish
7b0f821bccf2cae7d67f8a822f078def7a2d354d
[ "Apache-2.0" ]
null
null
null
Robotron/Source/DirectX9Framework/GameBase/GameLogic.cpp
ThatBeanBag/Slimfish
7b0f821bccf2cae7d67f8a822f078def7a2d354d
[ "Apache-2.0" ]
null
null
null
Robotron/Source/DirectX9Framework/GameBase/GameLogic.cpp
ThatBeanBag/Slimfish
7b0f821bccf2cae7d67f8a822f078def7a2d354d
[ "Apache-2.0" ]
null
null
null
// // Bachelor of Software Engineering // Media Design School // Auckland // New Zealand // // (c) 2005 - 2015 Media Design School // // File Name : GameLogic.cpp // Description : CGameLogic implementation file. // Author : Hayden Asplet. // Mail // PCH #include "GameStd.h" // Library Includes // This Include #inc...
28.952797
139
0.759616
[ "render" ]
bf903b8277077d2317731457dbf8bd1dd2f1cc4e
2,541
cc
C++
Codeforces/243 Division 1/D/D.cc
VastoLorde95/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
170
2017-07-25T14:47:29.000Z
2022-01-26T19:16:31.000Z
Codeforces/243 Division 1/D/D.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
null
null
null
Codeforces/243 Division 1/D/D.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
55
2017-07-28T06:17:33.000Z
2021-10-31T03:06:22.000Z
#include <bits/stdc++.h> #define sd(x) scanf("%d",&x) #define sd2(x,y) scanf("%d%d",&x,&y) #define sd3(x,y,z) scanf("%d%d%d",&x,&y,&z) #define fi first #define se second #define pb push_back #define mp make_pair #define foreach(it, v) for(auto it=(v).begin(); it != (v).end(); ++it) #define _ ios_base::sync_with_stdi...
23.971698
118
0.559229
[ "vector" ]
bf92e1629dab874226f954995b4881f85bf65435
5,221
cpp
C++
polygonVect.cpp
programmer-furkan/Shape-Fit-Mathematically
596b25d65557d901a8622db19f2954ce74d2689e
[ "MIT" ]
null
null
null
polygonVect.cpp
programmer-furkan/Shape-Fit-Mathematically
596b25d65557d901a8622db19f2954ce74d2689e
[ "MIT" ]
null
null
null
polygonVect.cpp
programmer-furkan/Shape-Fit-Mathematically
596b25d65557d901a8622db19f2954ce74d2689e
[ "MIT" ]
null
null
null
#include "polygonVect.h" #include <iostream> using namespace std; namespace PolygonVect{ PolygonVect::PolygonVect() throw(std::domain_error):Polygon(){ points.push_back(Polygon::Point2D(0,0)); }//No parameter PolygonVect::PolygonVect(const PolygonVect& copyPoly) throw(std::domain_error): Polygon(copy...
40.161538
154
0.615399
[ "vector" ]
bcca169b212938df796b6b0336f9f9329f224954
3,333
cpp
C++
mplugins/math_mplugin/src/math/flow/ConstStreamer.cpp
mico-corp/mico
45febf13da8c919eea77af9fa3b91afeb324f81b
[ "MIT" ]
3
2020-02-08T19:47:14.000Z
2022-03-14T14:13:29.000Z
mplugins/math_mplugin/src/math/flow/ConstStreamer.cpp
mico-corp/mico
45febf13da8c919eea77af9fa3b91afeb324f81b
[ "MIT" ]
10
2020-01-29T21:27:12.000Z
2022-03-22T17:03:02.000Z
mplugins/math_mplugin/src/math/flow/ConstStreamer.cpp
mico-corp/mico
45febf13da8c919eea77af9fa3b91afeb324f81b
[ "MIT" ]
null
null
null
//--------------------------------------------------------------------------------------------------------------------- // Cameras wrapper MICO plugin //--------------------------------------------------------------------------------------------------------------------- // Copyright 2020 Pablo Ramon Soria (a.k.a. Bar...
44.44
119
0.531353
[ "vector" ]
bccb43f0679ba43eab16cc4983af5861c3def369
2,317
cpp
C++
src/DX12/LLGI.CompilerDX12.cpp
jayrulez/LLGI
a0836e6db18e444d4534deb8eedb18263439fc4c
[ "Zlib" ]
29
2018-10-01T20:46:18.000Z
2022-03-11T17:00:42.000Z
src/DX12/LLGI.CompilerDX12.cpp
jayrulez/LLGI
a0836e6db18e444d4534deb8eedb18263439fc4c
[ "Zlib" ]
23
2019-07-05T15:29:37.000Z
2020-09-18T19:55:50.000Z
src/DX12/LLGI.CompilerDX12.cpp
jayrulez/LLGI
a0836e6db18e444d4534deb8eedb18263439fc4c
[ "Zlib" ]
10
2018-10-06T15:41:54.000Z
2020-11-01T13:58:11.000Z
#include "LLGI.CompilerDX12.h" #include <d3dcompiler.h> namespace LLGI { CompilerDX12::CompileShaderResultDX12 CompilerDX12::CompileShader(const char* text, const char* fileName, const char* target, const std::vector<D3D_SHADER_MACRO>& macro, co...
20.6875
101
0.670695
[ "vector" ]
bcce63a76867afa369b435521228c5c32a1c359d
6,571
cc
C++
mindspore/lite/src/runtime/kernel/arm/fp32/uniform_real_fp32.cc
Vincent34/mindspore
a39a60878a46e7e9cb02db788c0bca478f2fa6e5
[ "Apache-2.0" ]
2
2021-07-08T13:10:42.000Z
2021-11-08T02:48:57.000Z
mindspore/lite/src/runtime/kernel/arm/fp32/uniform_real_fp32.cc
peixinhou/mindspore
fcb2ec2779b753e95c762cf292b23bd81d1f561b
[ "Apache-2.0" ]
null
null
null
mindspore/lite/src/runtime/kernel/arm/fp32/uniform_real_fp32.cc
peixinhou/mindspore
fcb2ec2779b753e95c762cf292b23bd81d1f561b
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2021 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
31.898058
102
0.65713
[ "vector" ]
bcced442b300ae61175b6b8bbc36973f0dec4b3a
4,462
hxx
C++
inetsrv/query/web/ixsso/ixsutil.hxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetsrv/query/web/ixsso/ixsutil.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetsrv/query/web/ixsso/ixsutil.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+--------------------------------------------------------------------------- // // Copyright (C) 1996-1997, Microsoft Corporation. // // File: ixsutil.hxx // // Contents: Query SSO class // // History: 29 Oct 1996 Alanw Created // //----------------------------------------------------...
30.986111
80
0.420215
[ "object" ]
bcd57acad2d4cd03fdd221a360cec9671045522e
4,702
cpp
C++
src/bindings.cpp
statquant/clustermq
ee71d865f4776ec1b0e76021820fdc04f273169f
[ "Apache-2.0" ]
128
2016-07-01T18:17:26.000Z
2022-03-28T03:01:55.000Z
src/bindings.cpp
statquant/clustermq
ee71d865f4776ec1b0e76021820fdc04f273169f
[ "Apache-2.0" ]
255
2016-07-02T15:31:32.000Z
2022-02-24T11:25:07.000Z
src/bindings.cpp
statquant/clustermq
ee71d865f4776ec1b0e76021820fdc04f273169f
[ "Apache-2.0" ]
26
2017-04-03T11:01:35.000Z
2021-11-10T14:18:52.000Z
#include <Rcpp.h> #include <chrono> #include <string> #include "zmq.hpp" typedef std::chrono::high_resolution_clock Time; typedef std::chrono::milliseconds ms; Rcpp::Function R_serialize("serialize"); Rcpp::Function R_unserialize("unserialize"); int str2socket_(std::string str) { if (str == "ZMQ_REP") { r...
29.024691
88
0.623564
[ "vector" ]
bcd587393819737d0d8910e0b7dbe9b733f2f025
2,349
hpp
C++
include/percemon/monitoring.hpp
atharvapotdar/PerceMon
633212190dae1ce502b96410af83c8b796b678e6
[ "BSD-3-Clause" ]
1
2021-11-08T08:11:21.000Z
2021-11-08T08:11:21.000Z
include/percemon/monitoring.hpp
atharvapotdar/PerceMon
633212190dae1ce502b96410af83c8b796b678e6
[ "BSD-3-Clause" ]
null
null
null
include/percemon/monitoring.hpp
atharvapotdar/PerceMon
633212190dae1ce502b96410af83c8b796b678e6
[ "BSD-3-Clause" ]
2
2021-11-22T22:09:35.000Z
2022-02-11T13:27:31.000Z
#pragma once #ifndef __PERCEMON_MONITORING_HPP__ #define __PERCEMON_MONITORING_HPP__ #include "percemon/ast.hpp" #include "percemon/datastream.hpp" // TODO: Consider unordered_map if memory and hashing isn't an issue. #include <map> // TODO: Consider performance/space efficiency of deque vs vector. #include <deque>...
24.46875
88
0.704981
[ "object", "vector" ]
bce06a4e0a0334e34cf544792e893682917410cb
24,957
cpp
C++
src/sgd/ttc_sgd_problem_models.cpp
AlexanderDavid/NHTTC
5cb9c9a635e414c754bff47869dd5154f0a91377
[ "MIT" ]
null
null
null
src/sgd/ttc_sgd_problem_models.cpp
AlexanderDavid/NHTTC
5cb9c9a635e414c754bff47869dd5154f0a91377
[ "MIT" ]
null
null
null
src/sgd/ttc_sgd_problem_models.cpp
AlexanderDavid/NHTTC
5cb9c9a635e414c754bff47869dd5154f0a91377
[ "MIT" ]
1
2020-10-18T19:51:25.000Z
2020-10-18T19:51:25.000Z
/* Copyright 2020 University of Minnesota and Clemson University 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, ...
40.318255
460
0.543735
[ "model" ]
bce83c88b894b9b52ed9f75ada2dfcc10066e8b8
3,006
cpp
C++
src/slaggy-engine/slaggy-engine/physics/spatial/Octree.cpp
SlaggyWolfie/slaggy-engine
846235c93a52a96be85c5274a1372bc09c16f144
[ "MIT" ]
1
2021-09-24T23:13:13.000Z
2021-09-24T23:13:13.000Z
src/slaggy-engine/slaggy-engine/physics/spatial/Octree.cpp
SlaggyWolfie/slaggy-engine
846235c93a52a96be85c5274a1372bc09c16f144
[ "MIT" ]
null
null
null
src/slaggy-engine/slaggy-engine/physics/spatial/Octree.cpp
SlaggyWolfie/slaggy-engine
846235c93a52a96be85c5274a1372bc09c16f144
[ "MIT" ]
2
2020-06-24T07:10:13.000Z
2022-03-08T17:19:12.000Z
#include "Octree.hpp" #include <glm/ext/matrix_transform.hpp> #include <utils/BoxDebug.hpp> namespace slaggy { glm::vec3 Octree::cell(const unsigned index) { // example: i = 3 (0b011) -> cell = {1, 1, 0} const glm::vec3 cell(index & 1, (index & 0b010) >> 1, (index & 0b100) >> 2); return cell * 2.0f - glm::ve...
27.327273
116
0.655356
[ "render", "shape", "vector", "model", "transform" ]
bceb74928279dc5a7c06001c401ccfabd7f49417
936
cpp
C++
src/Core/Service/example/Server-listenOn.cpp
Loki-Astari/ThorsNisse
75fd6891959d6e9deb7c07cb26660e65ba7f51bd
[ "MIT" ]
6
2017-08-07T07:01:48.000Z
2022-02-27T20:58:44.000Z
src/Core/Service/example/Server-listenOn.cpp
Loki-Astari/ThorsNisse
75fd6891959d6e9deb7c07cb26660e65ba7f51bd
[ "MIT" ]
18
2017-08-10T20:34:50.000Z
2017-09-05T19:48:52.000Z
src/Core/Service/example/Server-listenOn.cpp
Loki-Astari/ThorsNisse
75fd6891959d6e9deb7c07cb26660e65ba7f51bd
[ "MIT" ]
1
2019-02-20T19:06:13.000Z
2019-02-20T19:06:13.000Z
```cpp class MyState { // Stuf }; class MyHandler: public Serv::HandlerSuspendableWithStream { public: // Notice the last parameter is `state`. // This means a state object must be provided to the `listenOn()` method. MyHandler(Serv::Server& parent, Sock::DataSocket&& stream, MyState& st...
29.25
102
0.651709
[ "object" ]
bcebbea981e7bdedce6bdeb3147cf7804ac66630
1,623
cpp
C++
Array/Sequential Digits/By iterative.cpp
Ajay2521/Competitive-Programming
65a15fe04216fe058abd05c6538a8d30a78a37d3
[ "MIT" ]
1
2021-09-14T11:41:40.000Z
2021-09-14T11:41:40.000Z
Array/Sequential Digits/By iterative.cpp
Ajay2521/Competitive-Programming
65a15fe04216fe058abd05c6538a8d30a78a37d3
[ "MIT" ]
null
null
null
Array/Sequential Digits/By iterative.cpp
Ajay2521/Competitive-Programming
65a15fe04216fe058abd05c6538a8d30a78a37d3
[ "MIT" ]
null
null
null
// Method - Iteration(Brute Force) // Time Complexity - O(n^2), since nested loop runs n^2 times // Space Complexity - O(1), Bruteforce runs on constant space class Solution { public: vector<int> sequentialDigits(int low, int high) { // variable to store the result vector<int> result; ...
31.823529
78
0.426987
[ "vector" ]
bcf3e8b97fe4320629e2ce6e08a631306ffc84c5
38,131
cpp
C++
main.cpp
katjawolff/custom_fit_garments
1d6f9dcba612010bb5552201f39595f7b288b8d5
[ "MIT" ]
4
2021-08-15T09:28:51.000Z
2022-03-14T10:19:09.000Z
main.cpp
katjawolff/custom_fit_garments
1d6f9dcba612010bb5552201f39595f7b288b8d5
[ "MIT" ]
1
2021-12-24T07:16:34.000Z
2021-12-24T07:16:34.000Z
main.cpp
katjawolff/custom_fit_garments
1d6f9dcba612010bb5552201f39595f7b288b8d5
[ "MIT" ]
null
null
null
#include <igl/opengl/glfw/Viewer.h> #include <igl/opengl/glfw/imgui/ImGuiMenu.h> #include <imgui/imgui.h> #include <iostream> #include <chrono> #include <igl/png/readPNG.h> #include <igl/unproject_onto_mesh.h> #include <igl/edges.h> #include <igl/boundary_loop.h> #include <igl/bfs.h> #include <igl/remove_duplicate_ve...
38.790437
135
0.567884
[ "mesh", "render", "shape", "vector" ]
bcf4f084a0cfcad9f497dca5e8b6735d2a264a4a
8,165
cpp
C++
src/Renderer.cpp
SirKoto/L-system
b0067e6e230807804c8b6afd1729e9bcbd06d782
[ "MIT" ]
null
null
null
src/Renderer.cpp
SirKoto/L-system
b0067e6e230807804c8b6afd1729e9bcbd06d782
[ "MIT" ]
null
null
null
src/Renderer.cpp
SirKoto/L-system
b0067e6e230807804c8b6afd1729e9bcbd06d782
[ "MIT" ]
null
null
null
#include "Renderer.hpp" #include <iostream> #include <glad/glad.h> const char* GetGLErrorStr(GLenum err) { switch (err) { case GL_NO_ERROR: return "No error"; case GL_INVALID_ENUM: return "Invalid enum"; case GL_INVALID_VALUE: return "Invalid value"; case GL_INVALID_OPERATION: ...
28.058419
108
0.67275
[ "geometry", "render", "vector" ]
bcf7a4b6c1483777f46d7a3f0f2637fa13c3b495
5,928
cpp
C++
Examples/Deprecated.GlipStudio/src/compilationTab.cpp
headupinclouds/GLIP-Lib
e0315e9c5b7ceda6280be8c33734e1dcdc04de8e
[ "MIT" ]
null
null
null
Examples/Deprecated.GlipStudio/src/compilationTab.cpp
headupinclouds/GLIP-Lib
e0315e9c5b7ceda6280be8c33734e1dcdc04de8e
[ "MIT" ]
null
null
null
Examples/Deprecated.GlipStudio/src/compilationTab.cpp
headupinclouds/GLIP-Lib
e0315e9c5b7ceda6280be8c33734e1dcdc04de8e
[ "MIT" ]
null
null
null
#include "compilationTab.hpp" // ModuleDocumentation : ModuleDocumentation::ModuleDocumentation(QWidget* parent) : Window(parent), layout(this), title("Module : "), comboBox(this), description(this, false) { frame.titleBar().setWindowTitle("Module Documentation"); title.setAlignment(Qt::AlignRight ...
26.702703
128
0.694669
[ "vector" ]
bcfeb5099b22206f601b340ee2b63e60f5a864d2
2,619
cpp
C++
Generator/Generator.cpp
jambolo/Sudoku
786499bfd6a8c948e91a1cfff7d65d38330b9efb
[ "MIT" ]
1
2021-12-24T07:29:41.000Z
2021-12-24T07:29:41.000Z
Generator/Generator.cpp
jambolo/Sudoku
786499bfd6a8c948e91a1cfff7d65d38330b9efb
[ "MIT" ]
1
2021-12-24T07:45:37.000Z
2021-12-24T08:40:57.000Z
Generator/Generator.cpp
jambolo/Sudoku
786499bfd6a8c948e91a1cfff7d65d38330b9efb
[ "MIT" ]
null
null
null
#include "Generator.h" #include "Board/Board.h" #include "Solver/Solver.h" #include <algorithm> #include <cassert> #include <numeric> #include <vector> #if !defined(XCODE_COMPATIBLE_ASSERT) #if defined(_DEBUG) #define XCODE_COMPATIBLE_ASSERT assert #else #define XCODE_COMPATIBLE_ASSERT(...) #endif #endif // !defined...
28.16129
133
0.655594
[ "vector" ]
4c037cfc1ea9704e11b0e1539a7eeb7aa17fd6c7
14,455
cc
C++
Code/Components/Services/ingest/current/ingestpipeline/phasetracktask/FrtHWAndDrx.cc
rtobar/askapsoft
6bae06071d7d24f41abe3f2b7f9ee06cb0a9445e
[ "BSL-1.0", "Apache-2.0", "OpenSSL" ]
1
2020-06-18T08:37:43.000Z
2020-06-18T08:37:43.000Z
Code/Components/Services/ingest/current/ingestpipeline/phasetracktask/FrtHWAndDrx.cc
ATNF/askapsoft
d839c052d5c62ad8a511e58cd4b6548491a6006f
[ "BSL-1.0", "Apache-2.0", "OpenSSL" ]
null
null
null
Code/Components/Services/ingest/current/ingestpipeline/phasetracktask/FrtHWAndDrx.cc
ATNF/askapsoft
d839c052d5c62ad8a511e58cd4b6548491a6006f
[ "BSL-1.0", "Apache-2.0", "OpenSSL" ]
null
null
null
/// @file FrtHWAndDrx.cc /// /// @copyright (c) 2010 CSIRO /// Australia Telescope National Facility (ATNF) /// Commonwealth Scientific and Industrial Research Organisation (CSIRO) /// PO Box 76, Epping NSW 1710, Australia /// atnf-enquiries@csiro.au /// /// This file is part of the ASKAP software distribution. /// ///...
49.166667
156
0.641301
[ "object", "vector" ]
4c04655806dd67e510f16dc35b1d277644e8da23
1,750
hpp
C++
include/rainbow/views/vector.hpp
Manu343726/rainbow
a125bbf04b0b94686fe0bd4149a097c56df02732
[ "MIT" ]
3
2021-05-10T21:18:32.000Z
2021-05-24T02:46:30.000Z
include/rainbow/views/vector.hpp
Manu343726/rainbow
a125bbf04b0b94686fe0bd4149a097c56df02732
[ "MIT" ]
null
null
null
include/rainbow/views/vector.hpp
Manu343726/rainbow
a125bbf04b0b94686fe0bd4149a097c56df02732
[ "MIT" ]
null
null
null
#ifndef RAINBOW_VIEWS_VECTOR_HPP #define RAINBOW_VIEWS_VECTOR_HPP #include <rainbow/memory/block.hpp> #include <rainbow/object.hpp> #include <rainbow/object/iterator.hpp> #include <rainbow/type.hpp> #include <utility> namespace rainbow::views { namespace raw { class Vector { public: Vector(const rainbow::Type* ...
21.875
75
0.598286
[ "object", "vector" ]
4c118e306fbc28e9cbb695e2f8140343ba0ed1b3
346
cpp
C++
LeetCode/204. Count Primes.cpp
anubhawbhalotia/Competitive-Programming
32d7003abf9af4999b3dfa78fe1df9022ebbf50b
[ "MIT" ]
null
null
null
LeetCode/204. Count Primes.cpp
anubhawbhalotia/Competitive-Programming
32d7003abf9af4999b3dfa78fe1df9022ebbf50b
[ "MIT" ]
null
null
null
LeetCode/204. Count Primes.cpp
anubhawbhalotia/Competitive-Programming
32d7003abf9af4999b3dfa78fe1df9022ebbf50b
[ "MIT" ]
1
2020-05-20T18:36:31.000Z
2020-05-20T18:36:31.000Z
class Solution { public: int countPrimes(int n) { int ans = 0; vector<int> a(n, 0); for(int i = 2; i < n; i++) { if (a[i] == 0) { ans++; for (int j = i + i; j < n; j += i) { a[j] = 1; } } } ...
21.625
52
0.289017
[ "vector" ]
4c1e8bb4aac0ae59c836a3cff07ceef3cb06fb36
2,666
cpp
C++
src/httpd/httpd/json_helper.cpp
qtplatz/socfpga_modules
5f1ecc950bcb46f361970ff50176502c2ff17df1
[ "MIT" ]
null
null
null
src/httpd/httpd/json_helper.cpp
qtplatz/socfpga_modules
5f1ecc950bcb46f361970ff50176502c2ff17df1
[ "MIT" ]
1
2021-12-30T10:06:23.000Z
2021-12-30T10:06:23.000Z
src/httpd/httpd/json_helper.cpp
qtplatz/socfpga_modules
5f1ecc950bcb46f361970ff50176502c2ff17df1
[ "MIT" ]
null
null
null
// -*- C++ -*- /************************************************************************** MIT License Copyright (c) 2021-2022 Toshinobu Hondo 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 with...
35.078947
100
0.606527
[ "object", "vector" ]
4c2b1153728a005ae064553318cbf6e7819b06cf
200
cpp
C++
examples/pxScene2d/external/WinSparkle/3rdparty/wxWidgets/src/common/emptydmy.cpp
madanagopaltcomcast/pxCore
c4a3a40a190521c8b6383d126c87612eca5b3c42
[ "Apache-2.0" ]
471
2019-06-26T09:59:09.000Z
2022-03-30T04:59:42.000Z
examples/pxScene2d/external/WinSparkle/3rdparty/wxWidgets/src/common/emptydmy.cpp
madanagopaltcomcast/pxCore
c4a3a40a190521c8b6383d126c87612eca5b3c42
[ "Apache-2.0" ]
1,432
2017-06-21T04:08:48.000Z
2020-08-25T16:21:15.000Z
examples/pxScene2d/external/WinSparkle/3rdparty/wxWidgets/src/common/emptydmy.cpp
madanagopaltcomcast/pxCore
c4a3a40a190521c8b6383d126c87612eca5b3c42
[ "Apache-2.0" ]
317
2017-06-20T19:57:17.000Z
2020-09-16T10:28:30.000Z
// This file exists so that it can be compiled into an object so the linker // will have something to chew on so that builds don't break when a platform // lacks any objects in a particular multilib.
50
76
0.765
[ "object" ]
4c2b9aa48f44ca7ada3aec9fb1e53624208f2f89
9,707
cpp
C++
ptrn_one_one_perturb.cpp
npe9/Netguage
8ab0aa363d238d6726ef04aa4c1beb2ab11faf91
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
ptrn_one_one_perturb.cpp
npe9/Netguage
8ab0aa363d238d6726ef04aa4c1beb2ab11faf91
[ "BSD-3-Clause-Open-MPI" ]
1
2020-07-14T13:42:45.000Z
2020-07-14T14:53:22.000Z
ptrn_one_one_perturb.cpp
npe9/Netguage
8ab0aa363d238d6726ef04aa4c1beb2ab11faf91
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
/* * Copyright (c) 2009 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. * * Author(s): Torsten Hoefler <htor@cs.indiana.edu> * */ #include "netgauge.h" #ifdef NG_PTRN_ONE_ONE_PERTURB #include "hrtimer/...
35.043321
135
0.627073
[ "vector" ]
4c2cbc02453dd151d455aa8dcc48f7589bf52371
13,931
cpp
C++
src/qpid/client/ConnectionImpl.cpp
irinabov/debian-qpid-cpp-1.35.0
98b0597071c0a5f0cc407a35d5a4690d9189065e
[ "Apache-2.0" ]
1
2017-11-29T09:19:02.000Z
2017-11-29T09:19:02.000Z
src/qpid/client/ConnectionImpl.cpp
irinabov/debian-qpid-cpp-1.35.0
98b0597071c0a5f0cc407a35d5a4690d9189065e
[ "Apache-2.0" ]
null
null
null
src/qpid/client/ConnectionImpl.cpp
irinabov/debian-qpid-cpp-1.35.0
98b0597071c0a5f0cc407a35d5a4690d9189065e
[ "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"); y...
30.550439
129
0.646257
[ "object", "vector" ]
4c2fe20af7c70df61b7e70aa0c3f9c66734b4724
1,840
cpp
C++
src/Barra.cpp
IgVelasco/Marvel_Vs_Capcom
a714453d1cba9596c1fdc99383a0228e62334cf7
[ "MIT" ]
null
null
null
src/Barra.cpp
IgVelasco/Marvel_Vs_Capcom
a714453d1cba9596c1fdc99383a0228e62334cf7
[ "MIT" ]
null
null
null
src/Barra.cpp
IgVelasco/Marvel_Vs_Capcom
a714453d1cba9596c1fdc99383a0228e62334cf7
[ "MIT" ]
1
2020-05-06T23:30:36.000Z
2020-05-06T23:30:36.000Z
/* * Barra.cpp * * Created on: 21 jun. 2019 * Author: caropistillo */ #include "Barra.h" #include<iostream> const int WIDTH_BAR = 259; const int HEIGHT_BAR = 17; const int POS_X_LEFT = 88; const int POS_X_RIGHT = 453; const int POS_Y_CURRENT = 88; const int POS_Y_SECONDARY = 61; const Uint8 SECONDARY_RED ...
21.904762
92
0.688587
[ "render" ]
4c346e44b92be68957f040523b19ee097f91e4b4
2,066
cpp
C++
aws-cpp-sdk-directconnect/source/model/GatewayType.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-directconnect/source/model/GatewayType.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-directconnect/source/model/GatewayType.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/directconnect/model/GatewayType.h> #include <aws/core/utils/HashingUtils.h> #include <aws/core/Globals.h> #include <aws/core/utils/EnumParseOverflowContainer.h> using namespace Aws::Uti...
29.098592
104
0.632139
[ "model" ]
4c36e09f418700f0b7a67497460754c344008bdb
8,230
cpp
C++
promethee/fast/promethee_fast.cpp
FMota0/PrometheeOptimization
6f6cd936e61d9d25e9bc0bb57d002506445a62cf
[ "MIT" ]
9
2018-09-17T03:09:38.000Z
2021-11-12T12:25:28.000Z
promethee/fast/promethee_fast.cpp
FMota0/PrometheeOptimization
6f6cd936e61d9d25e9bc0bb57d002506445a62cf
[ "MIT" ]
20
2018-08-16T11:53:12.000Z
2020-04-09T21:08:06.000Z
promethee/fast/promethee_fast.cpp
FMota0/PrometheeOptimization
6f6cd936e61d9d25e9bc0bb57d002506445a62cf
[ "MIT" ]
3
2018-08-06T19:53:31.000Z
2018-08-10T12:32:43.000Z
#include "promethee_fast.h" #include "../normalize.h" #include <iostream> #include "../inputreader.h" #include "../outputwriter.h" #include "../plibtiff.h" #include "../parse_directory.h" #include "../parse_args.h" void PrometheeFast::init(vector<string> args, int divideBy){ this->divideBy = divideBy; // Get ty...
30.481481
132
0.655043
[ "vector" ]
4c37d9605ca3d437bb3f971012490722b5911849
3,694
hpp
C++
include/tardisdb/semanticAnalyser/SemanticAnalyser.hpp
josefschmeisser/TardisDB
0d805c4730533fa37c3668acd592404027b9b0d6
[ "Apache-2.0" ]
5
2021-01-15T16:59:59.000Z
2022-02-28T15:41:00.000Z
include/tardisdb/semanticAnalyser/SemanticAnalyser.hpp
josefschmeisser/TardisDB
0d805c4730533fa37c3668acd592404027b9b0d6
[ "Apache-2.0" ]
null
null
null
include/tardisdb/semanticAnalyser/SemanticAnalyser.hpp
josefschmeisser/TardisDB
0d805c4730533fa37c3668acd592404027b9b0d6
[ "Apache-2.0" ]
1
2021-06-22T04:53:38.000Z
2021-06-22T04:53:38.000Z
#include <string> #include <memory> #include <unordered_map> #include <unordered_set> #include "algebra/logical/operators.hpp" #include "foundations/Database.hpp" #include "semanticAnalyser/AnalyzingContext.hpp" #include "semanticAnalyser/ParserResult.hpp" #include "semanticAnalyser/JoinGraph.hpp" using namespace Alg...
31.305085
121
0.686519
[ "vector" ]
4c421bfbd03b613513e91023eb5498ba76e07d69
8,014
cpp
C++
GrpNVMDatasetMgmtCmd/prp1PRP2NR_r10b.cpp
jli860/tnvme
208943be96c0fe073ed97a7098c0b00a2776ebf9
[ "Apache-2.0" ]
34
2015-03-09T17:54:24.000Z
2022-02-03T03:40:08.000Z
GrpNVMDatasetMgmtCmd/prp1PRP2NR_r10b.cpp
jli860/tnvme
208943be96c0fe073ed97a7098c0b00a2776ebf9
[ "Apache-2.0" ]
13
2015-05-20T02:21:09.000Z
2019-02-13T19:57:20.000Z
GrpNVMDatasetMgmtCmd/prp1PRP2NR_r10b.cpp
jli860/tnvme
208943be96c0fe073ed97a7098c0b00a2776ebf9
[ "Apache-2.0" ]
53
2015-03-13T02:46:24.000Z
2021-11-17T07:34:04.000Z
/* * Copyright (c) 2011, Intel Corporation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
39.673267
92
0.559521
[ "object" ]
4c49da7827bca450053ee535645ff09c2b274201
14,571
cpp
C++
cpp/test/src/Assert.cpp
julian-becker/moskito
fce92dec01a6015b4ea887fb416eb149d9117580
[ "BSL-1.0" ]
1
2015-11-11T12:54:32.000Z
2015-11-11T12:54:32.000Z
cpp/test/src/Assert.cpp
julian-becker/moskito
fce92dec01a6015b4ea887fb416eb149d9117580
[ "BSL-1.0" ]
3
2015-11-12T14:06:00.000Z
2015-11-12T14:06:40.000Z
cpp/test/src/Assert.cpp
simon-bourne/CppUnitTest
d8347f3b4cfe84f12893107757b4d26f8d6a6116
[ "BSL-1.0" ]
null
null
null
// // Copyright Simon Bourne 2015. // 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 "Enhedron/Test.h" #include "Enhedron/Assertion.h" #include "Enhedron/Util/Optional.h" #include...
35.280872
137
0.529545
[ "object", "vector" ]
4c4a4e6b5b55459ce297101a02a0b967de7fef01
1,165
hpp
C++
Scene/ObjectBvh2.hpp
cryptobuks1/Stratum
3ecf56c0ce9010e6e95248c0d63edc41eeb13910
[ "MIT" ]
null
null
null
Scene/ObjectBvh2.hpp
cryptobuks1/Stratum
3ecf56c0ce9010e6e95248c0d63edc41eeb13910
[ "MIT" ]
null
null
null
Scene/ObjectBvh2.hpp
cryptobuks1/Stratum
3ecf56c0ce9010e6e95248c0d63edc41eeb13910
[ "MIT" ]
null
null
null
#pragma once #include <Scene/Object.hpp> #ifdef GetObject #undef GetObject #endif class ObjectBvh2 { public: struct Primitive { AABB mBounds; Object* mObject; }; struct Node { AABB mBounds; // index of the first primitive inside this node uint32_t mStartIndex; // number of primitives inside this node ...
27.093023
104
0.733047
[ "object", "vector" ]
4c4acdb0e23c5f9bb94824210955cfd55a76528f
6,805
cpp
C++
Plugin/NodOSVRPlugin.cpp
Khwaab/OSVR-Nod
7624e4229961ddd0f152308161f3b1d964762e48
[ "Apache-2.0" ]
5
2015-11-04T04:03:08.000Z
2021-07-05T16:26:03.000Z
Plugin/NodOSVRPlugin.cpp
Khwaab/OSVR-Nod
7624e4229961ddd0f152308161f3b1d964762e48
[ "Apache-2.0" ]
5
2015-11-04T00:04:29.000Z
2016-06-29T20:59:33.000Z
Plugin/NodOSVRPlugin.cpp
Khwaab/OSVR-Nod
7624e4229961ddd0f152308161f3b1d964762e48
[ "Apache-2.0" ]
2
2015-11-05T01:03:54.000Z
2016-06-29T20:51:49.000Z
/** @file @brief Nod Plugin Implementation for OSVR Enables Nod Data to be sent from the Nod service into the OSVR server and used as an osvr object Exposes: 3 analog (joystick x, joystick y, trigger) 10 buttons 1 Pose (x, y and z are still in development but orientation works) these ...
32.874396
97
0.646877
[ "object", "vector" ]
4c553cd9f01a0409a689802f1edc6fffee7f52af
7,295
cpp
C++
demos/omicron/src/mesh_helpers.cpp
bcrist/omicron
9a2917f0bc8d550f471c2b4a19ef6eb91a894717
[ "MIT" ]
null
null
null
demos/omicron/src/mesh_helpers.cpp
bcrist/omicron
9a2917f0bc8d550f471c2b4a19ef6eb91a894717
[ "MIT" ]
null
null
null
demos/omicron/src/mesh_helpers.cpp
bcrist/omicron
9a2917f0bc8d550f471c2b4a19ef6eb91a894717
[ "MIT" ]
null
null
null
#include "mesh_helpers.hpp" #include "mesh_manager.hpp" #include <cassert> namespace o { ////////////////////////////////////////////////////////////////////////////// void update_verts(Buf<Vertex> verts, const TextureRegion& region, RGBA color, F32 depth) { Vertex* v = verts.get(); assert(verts.size() >= 4); ...
37.030457
135
0.569157
[ "mesh" ]
4c574927337dd5a98ba0c6fb06fe415b8ea11396
2,959
cpp
C++
solutions/LeetCode/C++/546.cpp
timxor/leetcode-journal
5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a
[ "MIT" ]
854
2018-11-09T08:06:16.000Z
2022-03-31T06:05:53.000Z
solutions/LeetCode/C++/546.cpp
timxor/leetcode-journal
5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a
[ "MIT" ]
29
2019-06-02T05:02:25.000Z
2021-11-15T04:09:37.000Z
solutions/LeetCode/C++/546.cpp
timxor/leetcode-journal
5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a
[ "MIT" ]
347
2018-12-23T01:57:37.000Z
2022-03-12T14:51:21.000Z
__________________________________________________________________________________________________ sample 8 ms submission class Solution { public: struct CNode{ int color; int n; CNode(int c, int num) : color(c), n(num) {}; }; int getRemovePoints(CNode preNode, int l, int r,vector<C...
32.877778
133
0.526191
[ "vector" ]
4c59110b1b56a62b1e37edf9aa0d5856e1f0109c
4,213
cpp
C++
src/main.cpp
TaskForce47/TF47-Insurgency-Intercept
e6ac8218371fa47f7e90213af049be4dc5fb6c96
[ "MIT" ]
null
null
null
src/main.cpp
TaskForce47/TF47-Insurgency-Intercept
e6ac8218371fa47f7e90213af049be4dc5fb6c96
[ "MIT" ]
null
null
null
src/main.cpp
TaskForce47/TF47-Insurgency-Intercept
e6ac8218371fa47f7e90213af049be4dc5fb6c96
[ "MIT" ]
null
null
null
#pragma once #include "intercept.hpp" #include "sector.hpp" #include "sector_manager.hpp" #include "../json/single_include/nlohmann/json.hpp" using namespace intercept; intercept::types::registered_sqf_function nular_func_example; intercept::types::registered_sqf_function nular_func_start; intercept::types::register...
31.440299
142
0.717778
[ "vector" ]
4c62d5dea0073bc9e0af6abfa107f0b6310ac7bc
244
cpp
C++
render/render.cpp
AutoCraftProject/AutoCraft_Console
0477b234408a1262477db4e6ec0cf19ab909d221
[ "MIT" ]
1
2021-06-13T09:22:17.000Z
2021-06-13T09:22:17.000Z
render/render.cpp
AutoCraftProject/AutoCraft_Console
0477b234408a1262477db4e6ec0cf19ab909d221
[ "MIT" ]
null
null
null
render/render.cpp
AutoCraftProject/AutoCraft_Console
0477b234408a1262477db4e6ec0cf19ab909d221
[ "MIT" ]
null
null
null
#include "render.h" namespace Render { Renderer::Renderer() { buff = ""; } void Renderer::write(std::string word) { buff += word; } void Renderer::doRender(std::ostream& stream) { system("cls"); stream << buff; buff = ""; } }
14.352941
48
0.598361
[ "render" ]
4c674e50fc44304133666be21f5c557e332808f2
8,911
cpp
C++
Source/core/paint/SVGFilterPainter.cpp
prepare/Blink_only_permissive_lic_files
8b3acc51c7ae8b074d2e2b610d0d9295d9a1ecb4
[ "BSD-3-Clause" ]
null
null
null
Source/core/paint/SVGFilterPainter.cpp
prepare/Blink_only_permissive_lic_files
8b3acc51c7ae8b074d2e2b610d0d9295d9a1ecb4
[ "BSD-3-Clause" ]
null
null
null
Source/core/paint/SVGFilterPainter.cpp
prepare/Blink_only_permissive_lic_files
8b3acc51c7ae8b074d2e2b610d0d9295d9a1ecb4
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "config.h" #include "core/paint/SVGFilterPainter.h" #include "core/layout/svg/LayoutSVGResourceFilter.h" #include "core/paint/CompositingRecorde...
44.333333
175
0.724049
[ "object" ]
4c68fc87a47cab7ce4356f112170625ab455b3b2
4,182
cpp
C++
src/std/builtins/typechecks.cpp
kalinochkind/scheme
5be2d1fa229adcda2959a8ce120beb153e00e521
[ "MIT" ]
null
null
null
src/std/builtins/typechecks.cpp
kalinochkind/scheme
5be2d1fa229adcda2959a8ce120beb153e00e521
[ "MIT" ]
1
2018-11-01T23:14:50.000Z
2019-04-19T15:41:33.000Z
src/std/builtins/typechecks.cpp
kalinochkind/scheme
5be2d1fa229adcda2959a8ce120beb153e00e521
[ "MIT" ]
null
null
null
#include <set> #include "std.h" static FunctionPackage package( { {"pair?", {1, 1, [](const std::list<std::shared_ptr<SchemeObject>> &l) { auto p = std::dynamic_pointer_cast<SchemePair>(l.front()); return (p && p != scheme_nil) ? scheme_true : scheme_false; }}}, {"sy...
53.615385
116
0.560976
[ "vector" ]
4c71a22f81201bd4ecd70b1557ae1105622fd09b
4,295
cpp
C++
test/Common/CommandLineArguments.Tests.cpp
HorphGerbInc/gametest
8c91a0823bcc84a0a75f8a70aed6040a92d28027
[ "MIT" ]
null
null
null
test/Common/CommandLineArguments.Tests.cpp
HorphGerbInc/gametest
8c91a0823bcc84a0a75f8a70aed6040a92d28027
[ "MIT" ]
null
null
null
test/Common/CommandLineArguments.Tests.cpp
HorphGerbInc/gametest
8c91a0823bcc84a0a75f8a70aed6040a92d28027
[ "MIT" ]
null
null
null
// Stdlib #include <map> // Test #include <catch.hpp> // Project #include <Common/CommandLineArguments.hpp> char* CStr(char *c ) { return c; } TEST_CASE("Can create on heap", "[CommandLineArguments]") { jerobins::common::CommandLineArguments *cli_ptr = new jerobins::common::CommandLineArgumen...
30.899281
87
0.460303
[ "vector" ]
4c725c9047e31fe37cf5317b7743aedd3a02a1a2
388
cpp
C++
MonoNative/mscorlib/System/mscorlib_System_ICloneable.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
7
2015-03-10T03:36:16.000Z
2021-11-05T01:16:58.000Z
MonoNative/mscorlib/System/mscorlib_System_ICloneable.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
1
2020-06-23T10:02:33.000Z
2020-06-24T02:05:47.000Z
MonoNative/mscorlib/System/mscorlib_System_ICloneable.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
null
null
null
#include <mscorlib/System/mscorlib_System_ICloneable.h> namespace mscorlib { namespace System { //Public Methods mscorlib::System::Object ICloneable::Clone() { MonoObject *__result__ = Global::InvokeMethod("mscorlib", "System", "ICloneable", 0, NULL, "Clone", __mscorlib_System_ICloneable, 0, NULL, NULL,...
19.4
155
0.713918
[ "object" ]
4c7353a7b1b48545d3b991a3b7c0f3cf36ce0180
11,298
hpp
C++
include/pfs/timer.hpp
semenovf/modulus-lib
85a26b0a4284d91f52a47f8ce7858df9b9ef6b58
[ "MIT" ]
1
2019-12-23T13:50:12.000Z
2019-12-23T13:50:12.000Z
include/pfs/timer.hpp
semenovf/pfs-modulus
85a26b0a4284d91f52a47f8ce7858df9b9ef6b58
[ "MIT" ]
null
null
null
include/pfs/timer.hpp
semenovf/pfs-modulus
85a26b0a4284d91f52a47f8ce7858df9b9ef6b58
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2020 Vladislav Trifochkin // // This file is part of [pfs-modulus](https://github.com/semenovf/pfs-modulus) library. // // This code inspired from: // * https://codereview.stackexchange.com/questions/127552/portable-p...
32.372493
113
0.585148
[ "object" ]
dbcbe3c05ebdcdc451251f755aa79c734f0a991b
41,783
cpp
C++
libraries/render-utils/src/DeferredLightingEffect.cpp
thoys/hifi
a42bb5f53373f0c4ba7eee2de912d8fed522b46a
[ "Apache-2.0" ]
null
null
null
libraries/render-utils/src/DeferredLightingEffect.cpp
thoys/hifi
a42bb5f53373f0c4ba7eee2de912d8fed522b46a
[ "Apache-2.0" ]
1
2015-09-25T19:11:03.000Z
2015-09-25T22:04:36.000Z
libraries/render-utils/src/DeferredLightingEffect.cpp
thoys/hifi
a42bb5f53373f0c4ba7eee2de912d8fed522b46a
[ "Apache-2.0" ]
null
null
null
// // DeferredLightingEffect.cpp // interface/src/renderer // // Created by Andrzej Kapolka on 9/11/14. // Copyright 2014 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include "De...
46.684916
169
0.633679
[ "mesh", "geometry", "render", "shape", "model", "transform", "solid" ]
dbd34271f8a72e443f027f1bd5f297581a88c705
2,369
cpp
C++
source/bodies/BasicBody.cpp
cburggie/raytracer
ca941807bf8086c0a7b54f8fd04abe619c1d0703
[ "MIT" ]
1
2016-06-21T03:14:59.000Z
2016-06-21T03:14:59.000Z
source/bodies/BasicBody.cpp
dburggie/raytracer
d88a7c273c861e83608eb2a52b527cf76fbcc045
[ "MIT" ]
null
null
null
source/bodies/BasicBody.cpp
dburggie/raytracer
d88a7c273c861e83608eb2a52b527cf76fbcc045
[ "MIT" ]
null
null
null
#include <raytracer.h> #include <bodies.h> #include <cassert> #include <cmath> using namespace raytracer; BasicBody::BasicBody() { useDefaults(); } void BasicBody::useDefaults() { transparent = false; index = 1.0; reflectivity = 0.0; matte = false; normal_delta = 0.0; size = 1.0; position.copy(0...
13.614943
60
0.652596
[ "vector" ]
dbdb83235d53810608a826dcd6ebebda9e8adae7
4,478
cpp
C++
bingwa/src/EffectParameterNamePack.cpp
gavinband/bingwa
d52e166b3bb6bc32cd32ba63bf8a4a147275eca1
[ "BSL-1.0" ]
null
null
null
bingwa/src/EffectParameterNamePack.cpp
gavinband/bingwa
d52e166b3bb6bc32cd32ba63bf8a4a147275eca1
[ "BSL-1.0" ]
null
null
null
bingwa/src/EffectParameterNamePack.cpp
gavinband/bingwa
d52e166b3bb6bc32cd32ba63bf8a4a147275eca1
[ "BSL-1.0" ]
null
null
null
// Copyright Gavin Band 2008 - 2012. // 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 <string> #include <vector> #include <cassert> #include "genfile/string_utils/string_utils.hpp" ...
32.449275
107
0.650737
[ "vector" ]
dbdbbc4892e2324677c9c1c5c47241d68d8779e0
2,662
cpp
C++
lab2/Q3.cpp
jasonsie88/Algorithm
4d373df037aa68f4810e271d7f8488f3ded81864
[ "MIT" ]
1
2021-09-14T12:10:50.000Z
2021-09-14T12:10:50.000Z
lab2/Q3.cpp
jasonsie88/Algorithm
4d373df037aa68f4810e271d7f8488f3ded81864
[ "MIT" ]
null
null
null
lab2/Q3.cpp
jasonsie88/Algorithm
4d373df037aa68f4810e271d7f8488f3ded81864
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> #define zero 0 using namespace std; int a[25+5][25+5]={0}; int row_exist[25][25]={0}; int col_exist[25][25]={0}; int block_exist[25][25]={0}; int block_num(int row,int col,int box_size){ int i=row/box_size; int j=col/box_size; return i*box_size+j; } bool findzero(int size,int &...
20.166667
142
0.587528
[ "vector" ]
dbdc353244703be73ea620238e54283c8e0541f0
11,336
cpp
C++
Source/Falcor/Core/API/D3D12/D3D12RootSignature.cpp
NVIDIAGameWorks/Falcor
b6b54c13f64ca81a45fc43fd127b93d85cd9c073
[ "BSD-3-Clause" ]
1,615
2017-07-28T05:41:39.000Z
2022-03-31T16:31:57.000Z
Source/Falcor/Core/API/D3D12/D3D12RootSignature.cpp
NVIDIAGameWorks/Falcor
b6b54c13f64ca81a45fc43fd127b93d85cd9c073
[ "BSD-3-Clause" ]
232
2017-08-03T10:58:41.000Z
2022-03-31T16:17:46.000Z
Source/Falcor/Core/API/D3D12/D3D12RootSignature.cpp
NVIDIAGameWorks/Falcor
b6b54c13f64ca81a45fc43fd127b93d85cd9c073
[ "BSD-3-Clause" ]
383
2017-07-30T04:28:34.000Z
2022-03-30T05:12:13.000Z
/*************************************************************************** # Copyright (c) 2015-21, 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...
42.456929
204
0.68428
[ "object", "vector" ]
dbe5082232c32bb50afe93b199a8416551dea5f7
19,942
cpp
C++
MonoNative.Tests/mscorlib/System/mscorlib_System_Array_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
7
2015-03-10T03:36:16.000Z
2021-11-05T01:16:58.000Z
MonoNative.Tests/mscorlib/System/mscorlib_System_Array_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
1
2020-06-23T10:02:33.000Z
2020-06-24T02:05:47.000Z
MonoNative.Tests/mscorlib/System/mscorlib_System_Array_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
null
null
null
// Mono Native Fixture // Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // Namespace: System // Name: Array // C++ Typed Name: mscorlib::System::Array #include <gtest/gtest.h> #include <mscorlib/System/mscorlib_System_Array.h> #include <mscorlib/System/mscorlib_System_Type.h> #...
24.319512
205
0.711614
[ "object", "vector" ]
dbe5647e91793ee5fdeaf9097ca7b727a203acc8
1,906
cpp
C++
QuantExt/test/logquote.cpp
PiotrSiejda/Engine
8360b5de32408f2a37da5ac3ca7b4e913bf67e9f
[ "BSD-3-Clause" ]
null
null
null
QuantExt/test/logquote.cpp
PiotrSiejda/Engine
8360b5de32408f2a37da5ac3ca7b4e913bf67e9f
[ "BSD-3-Clause" ]
null
null
null
QuantExt/test/logquote.cpp
PiotrSiejda/Engine
8360b5de32408f2a37da5ac3ca7b4e913bf67e9f
[ "BSD-3-Clause" ]
1
2022-02-07T02:04:10.000Z
2022-02-07T02:04:10.000Z
/* Copyright (C) 2016 Quaternion Risk Management Ltd All rights reserved. This file is part of ORE, a free-software/open-source library for transparent pricing and risk analysis - http://opensourcerisk.org ORE is free software: you can redistribute it and/or modify it under the terms of the Modified BSD License...
32.305085
73
0.756558
[ "model" ]
dbebbc1b6c3d163a32a469f91c886486f3ceb975
5,949
cpp
C++
02_gtkmm/src/main_updating_plot.cpp
fdcl-gwu/cpp-plots
cdb7d7f571b1ff336e239949f6915195b8c4f4aa
[ "MIT" ]
3
2020-07-27T01:54:12.000Z
2022-02-08T20:00:12.000Z
02_gtkmm/src/main_updating_plot.cpp
fdcl-gwu/cpp-plots
cdb7d7f571b1ff336e239949f6915195b8c4f4aa
[ "MIT" ]
1
2019-08-23T12:06:21.000Z
2019-08-24T05:49:50.000Z
02_gtkmm/src/main_updating_plot.cpp
fdcl-gwu/cpp-plots
cdb7d7f571b1ff336e239949f6915195b8c4f4aa
[ "MIT" ]
1
2022-03-31T07:34:19.000Z
2022-03-31T07:34:19.000Z
/* * Copyright (c) 2019 Flight Dynamics and Control Lab * * 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, m...
27.040909
80
0.635569
[ "geometry" ]
dbee0e0175a01880b387ce0f2071827f513bd59f
9,376
cpp
C++
lib_cvgutils/src/source/code_tests.cpp
MorS25/cvg_quadrotor_swarm
da75d02049163cf65fd7305bc46a16359a851c7c
[ "BSD-3-Clause" ]
null
null
null
lib_cvgutils/src/source/code_tests.cpp
MorS25/cvg_quadrotor_swarm
da75d02049163cf65fd7305bc46a16359a851c7c
[ "BSD-3-Clause" ]
null
null
null
lib_cvgutils/src/source/code_tests.cpp
MorS25/cvg_quadrotor_swarm
da75d02049163cf65fd7305bc46a16359a851c7c
[ "BSD-3-Clause" ]
null
null
null
#include "xmlfilereader.h" #include <cstdlib> #include <exception> #include <vector> #include <string> #include "matrixLib.h" #include "pruebastaticbool.h" #include <unistd.h> #include "cvg_utils_library.h" template <typename T> T my_function(int a, T t) { std::cout << "a: " << a << std::endl; return T(); } e...
36.768627
160
0.503946
[ "vector" ]
dbfd14b346c29fef50a57fd5577ff7046f922954
4,462
cc
C++
samples/framework/profile.cc
nstokes2/ozz-animation
0b9a1c90398dbc8dc11394fbc93720159db19cc9
[ "Zlib" ]
null
null
null
samples/framework/profile.cc
nstokes2/ozz-animation
0b9a1c90398dbc8dc11394fbc93720159db19cc9
[ "Zlib" ]
null
null
null
samples/framework/profile.cc
nstokes2/ozz-animation
0b9a1c90398dbc8dc11394fbc93720159db19cc9
[ "Zlib" ]
null
null
null
//============================================================================// // // // ozz-animation, 3d skeletal animation libraries and tools. // // https://code.google.com/p/ozz-animation/ ...
36.57377
80
0.477364
[ "3d" ]
e003617c3ae0b99cc0efbbe34e72861e3683410a
10,997
cxx
C++
Charts/vtkContextInteractorStyle.cxx
Armand0s/VTK
9c0c4d351d256d1dce5c8fa8f8e836ccc09e6248
[ "BSD-3-Clause" ]
1
2020-09-10T04:53:31.000Z
2020-09-10T04:53:31.000Z
Charts/vtkContextInteractorStyle.cxx
Armand0s/homemade_vtk
6bc7b595a4a7f86e8fa969d067360450fa4e0a6a
[ "BSD-3-Clause" ]
null
null
null
Charts/vtkContextInteractorStyle.cxx
Armand0s/homemade_vtk
6bc7b595a4a7f86e8fa969d067360450fa4e0a6a
[ "BSD-3-Clause" ]
null
null
null
/*========================================================================= Program: Visualization Toolkit Module: vtkContextInteractorStyle.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This...
27.4925
90
0.553787
[ "render", "object" ]
e003ec823fda0ea06d5b115c9e1caccd62488e4e
5,698
hpp
C++
tiny_htm/encoder.hpp
marty1885/tiny-htm
5173fcf1a22b9b4f5e3186ce8c941b4eb6bbcbae
[ "BSD-3-Clause" ]
7
2019-02-18T16:28:55.000Z
2021-08-28T03:20:16.000Z
tiny_htm/encoder.hpp
marty1885/tiny-htm
5173fcf1a22b9b4f5e3186ce8c941b4eb6bbcbae
[ "BSD-3-Clause" ]
null
null
null
tiny_htm/encoder.hpp
marty1885/tiny-htm
5173fcf1a22b9b4f5e3186ce8c941b4eb6bbcbae
[ "BSD-3-Clause" ]
4
2019-02-18T20:04:12.000Z
2021-08-28T03:20:17.000Z
#pragma once #include <xtensor/xarray.hpp> #include <xtensor/xtensor.hpp> #include <xtensor/xview.hpp> namespace th { //Your standard ScalarEncoder. struct ScalarEncoder { ScalarEncoder() = default; ScalarEncoder(float minval, float maxval, size_t result_sdr_length, size_t num_active_bits) : min_val(minval), max...
27.931373
139
0.709372
[ "vector" ]
e0064c27fa47b3748db5d5fb511ba1de06cf2dfd
24,086
cpp
C++
tests/tests.cpp
asd19951995/kvdk
167206a0bb2702d96b78889e6f7a9e01ce6f835c
[ "BSD-3-Clause" ]
null
null
null
tests/tests.cpp
asd19951995/kvdk
167206a0bb2702d96b78889e6f7a9e01ce6f835c
[ "BSD-3-Clause" ]
null
null
null
tests/tests.cpp
asd19951995/kvdk
167206a0bb2702d96b78889e6f7a9e01ce6f835c
[ "BSD-3-Clause" ]
null
null
null
/* SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2021 Intel Corporation */ #include <future> #include <string> #include <thread> #include <vector> #include "../engine/pmem_allocator/pmem_allocator.hpp" #include "kvdk/engine.hpp" #include "kvdk/namespace.hpp" #include "test_util.h" #include "gtest/gtest.h" u...
32.504723
80
0.618534
[ "vector" ]
e0071534ed439734eddd1dc64bc1fb9a04fa7ee0
827
cc
C++
elang/vm/class.cc
eval1749/elang
5208b386ba3a3e866a5c0f0271280f79f9aac8c4
[ "Apache-2.0" ]
1
2018-01-27T22:40:53.000Z
2018-01-27T22:40:53.000Z
elang/vm/class.cc
eval1749/elang
5208b386ba3a3e866a5c0f0271280f79f9aac8c4
[ "Apache-2.0" ]
1
2016-01-29T00:54:49.000Z
2016-01-29T00:54:49.000Z
elang/vm/class.cc
eval1749/elang
5208b386ba3a3e866a5c0f0271280f79f9aac8c4
[ "Apache-2.0" ]
null
null
null
// Copyright 2014-2015 Project Vogue. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "elang/vm/class.h" namespace elang { namespace vm { ////////////////////////////////////////////////////////////////////// // // Class // Class::...
26.677419
78
0.620314
[ "object", "vector" ]
e00a5f16270d46e4b08df6d449738ebed4eee1f1
3,497
cpp
C++
List/main.cpp
brown9804/Abstract_List_Templates
38121c48e282fb5ebc6acb4d9cf28b7d67ee5fe5
[ "Apache-2.0" ]
null
null
null
List/main.cpp
brown9804/Abstract_List_Templates
38121c48e282fb5ebc6acb4d9cf28b7d67ee5fe5
[ "Apache-2.0" ]
null
null
null
List/main.cpp
brown9804/Abstract_List_Templates
38121c48e282fb5ebc6acb4d9cf28b7d67ee5fe5
[ "Apache-2.0" ]
null
null
null
#include "Node.cpp" #include "LinkedList.cpp" #include <vector> #define DataType int #include<iostream> #include <stdint.h> using namespace std; int Menu() { cout<<"\n************** Menu **************\n\n"; int Decision; cout<<"\n\n1) Introduzca nodo al principio"; cout<<"\n\n2) Introduzca no...
24.117241
84
0.484415
[ "vector" ]
e00c4168c8c5d6f0d1abc0637bf4fe91f1a6efb7
8,756
cpp
C++
workload_readwrite.cpp
spcl/CoRM
2bcae859eafad28ba51a92ec73e57239febef147
[ "BSD-3-Clause" ]
7
2021-06-19T08:32:49.000Z
2022-03-31T15:46:48.000Z
workload_readwrite.cpp
spcl/CoRM
2bcae859eafad28ba51a92ec73e57239febef147
[ "BSD-3-Clause" ]
null
null
null
workload_readwrite.cpp
spcl/CoRM
2bcae859eafad28ba51a92ec73e57239febef147
[ "BSD-3-Clause" ]
2
2021-06-19T08:32:50.000Z
2022-01-04T12:11:32.000Z
/** * CoRM: Compactable Remote Memory over RDMA * * Various read/write workload for CoRM * * Copyright (c) 2020-2021 ETH-Zurich. All rights reserved. * * Author(s): Konstantin Taranov <konstantin.taranov@inf.e...
29.883959
177
0.615692
[ "object", "vector" ]
e00c994b07cd96260710f79d7c2338d1049f1f98
78,521
cpp
C++
src/referenceFrameCalib/src/vxl_util/vpgl_plus.cpp
lood339/CalibMe
03c4f51e63b2ec0824d47fae6daeae8ef52040c7
[ "BSD-2-Clause" ]
1
2022-01-07T10:52:45.000Z
2022-01-07T10:52:45.000Z
src/referenceFrameCalib/src/vxl_util/vpgl_plus.cpp
lood339/CalibMe
03c4f51e63b2ec0824d47fae6daeae8ef52040c7
[ "BSD-2-Clause" ]
null
null
null
src/referenceFrameCalib/src/vxl_util/vpgl_plus.cpp
lood339/CalibMe
03c4f51e63b2ec0824d47fae6daeae8ef52040c7
[ "BSD-2-Clause" ]
null
null
null
// // vpgl_plus.cpp // FinalCalib // // Created by jimmy on 12/31/14. // Copyright (c) 2014 Nowhere Planet. All rights reserved. // #include "vpgl_plus.h" #include <vgl/vgl_intersection.h> #include <vgl/vgl_distance.h> #include <vpgl/algo/vpgl_camera_compute.h> #include <vnl/vnl_least_squares_function.h> #include ...
36.419759
163
0.568982
[ "vector", "model", "3d" ]
e00f6f154757ee20381c87169fb7d20d55c5d549
6,069
cpp
C++
GameServer/Fortune_system.cpp
openlastchaos/lastchaos-source-server
935b770fa857e67b705717d154b11b717741edeb
[ "Apache-2.0" ]
null
null
null
GameServer/Fortune_system.cpp
openlastchaos/lastchaos-source-server
935b770fa857e67b705717d154b11b717741edeb
[ "Apache-2.0" ]
null
null
null
GameServer/Fortune_system.cpp
openlastchaos/lastchaos-source-server
935b770fa857e67b705717d154b11b717741edeb
[ "Apache-2.0" ]
1
2022-01-17T09:34:39.000Z
2022-01-17T09:34:39.000Z
#include "stdhdrs.h" #include "Fortune_system.h" #include "Server.h" struct TEMP_FORTUNE { int Item_index; unsigned char Prob_type; int Skill_index; unsigned char Skill_level; int Prob; } Temp_fortune; Fortune_data::Fortune_data(int _skill_index, int _skill_level, int _prob): Skill_index(_skill_index)...
21.072917
101
0.706212
[ "vector" ]
e0112407eaf94e47bf36fe032f75cfbe3d8f9b2f
3,853
cpp
C++
src/core/integrator/euler.cpp
iit-DLSLab/crocoddyl
2b8b731fae036916ff9b4ce3969e2c96c009593c
[ "BSD-3-Clause" ]
null
null
null
src/core/integrator/euler.cpp
iit-DLSLab/crocoddyl
2b8b731fae036916ff9b4ce3969e2c96c009593c
[ "BSD-3-Clause" ]
null
null
null
src/core/integrator/euler.cpp
iit-DLSLab/crocoddyl
2b8b731fae036916ff9b4ce3969e2c96c009593c
[ "BSD-3-Clause" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (C) 2018-2019, LAAS-CNRS // Copyright note valid unless otherwise stated in individual files. // All rights reserved. /////////////////////////////////////////////////////////////////////////////// #...
40.135417
111
0.644952
[ "model" ]
e01249deeebe1ad4d556de80e5af372ab57ac944
560
hpp
C++
include/mt_random.hpp
sovrasov/linear_sde_solver
50a7248d9472889523e59c26b1c6448b8ce220da
[ "MIT" ]
null
null
null
include/mt_random.hpp
sovrasov/linear_sde_solver
50a7248d9472889523e59c26b1c6448b8ce220da
[ "MIT" ]
null
null
null
include/mt_random.hpp
sovrasov/linear_sde_solver
50a7248d9472889523e59c26b1c6448b8ce220da
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <memory> extern "C" { #include <dc.h> } class MTRandom { protected: mt_struct *mGenerator = nullptr; public: MTRandom(int idx, size_t seed_group, size_t seed); ~MTRandom(); double gen_uniform(double lb=0., double ub=1.); double gen_normal(double mu=0., double sigma=...
22.4
85
0.576786
[ "vector" ]
e0128c177e56a693e30ecf0c60f5b9002e0803e9
5,714
cpp
C++
DDrawCompat/v0.2.1/CompatGdiDcCache.cpp
SamSoneyC/dxwrapper
12bad2da2d453239119039c4ebb76665e09cffcd
[ "Zlib" ]
634
2017-02-09T01:32:58.000Z
2022-03-26T18:14:28.000Z
DDrawCompat/v0.2.1/CompatGdiDcCache.cpp
Almamu/dxwrapper
71a6bfe57404e77a7f66913be850e5048260c416
[ "Zlib" ]
128
2017-03-02T13:30:12.000Z
2022-03-11T07:08:24.000Z
DDrawCompat/v0.2.1/CompatGdiDcCache.cpp
Almamu/dxwrapper
71a6bfe57404e77a7f66913be850e5048260c416
[ "Zlib" ]
58
2017-05-16T14:42:35.000Z
2022-02-21T20:32:02.000Z
#include <cstring> #include <vector> #include "CompatDirectDraw.h" #include "CompatDirectDrawPalette.h" #include "CompatDirectDrawSurface.h" #include "CompatGdiDcCache.h" #include "CompatPrimarySurface.h" #include "Config.h" #include "DDrawCompat\DDrawLog.h" #include "DDrawProcs.h" #include "DDrawRepository.h" namesp...
23.709544
104
0.688309
[ "vector" ]
e012b2779356f9d8f2898f3244a4bb96e9dbcfa3
2,077
cpp
C++
magnum/engine/src/Renderer.cpp
world-of-legends/Alpha_Engine
9457228a635e4370127e9bcc66a0592ad5805e70
[ "Apache-2.0" ]
5
2021-02-01T15:47:28.000Z
2021-02-03T13:41:44.000Z
magnum/engine/src/Renderer.cpp
wings-studio/Alpha_Engine
9457228a635e4370127e9bcc66a0592ad5805e70
[ "Apache-2.0" ]
null
null
null
magnum/engine/src/Renderer.cpp
wings-studio/Alpha_Engine
9457228a635e4370127e9bcc66a0592ad5805e70
[ "Apache-2.0" ]
1
2021-02-03T14:29:28.000Z
2021-02-03T14:29:28.000Z
#include "Renderer.h" Renderer::Renderer() { _cameraObject.setParent(&_scene); (*(_camera = new SceneGraph::Camera3D{ _cameraObject })) .setAspectRatioPolicy(SceneGraph::AspectRatioPolicy::Extend) .setProjectionMatrix(Matrix4::perspectiveProjection(35.0_degf, 1.0f, 0.01f, 1000.0f)) .set...
35.810345
107
0.689937
[ "mesh" ]
e02d0f33004934c3b6154ff53537cce528188471
429
cpp
C++
tests/timer.cpp
BusyStudent/Btk
27b23aa77e4fbcc48bdfe566ce7cae46183c289c
[ "MIT" ]
2
2021-06-19T08:21:38.000Z
2021-08-15T21:37:30.000Z
tests/timer.cpp
BusyStudent/Btk
27b23aa77e4fbcc48bdfe566ce7cae46183c289c
[ "MIT" ]
null
null
null
tests/timer.cpp
BusyStudent/Btk
27b23aa77e4fbcc48bdfe566ce7cae46183c289c
[ "MIT" ]
1
2021-04-03T14:27:39.000Z
2021-04-03T14:27:39.000Z
#include <Btk/object.hpp> #include <iostream> #include <thread> using Btk::Timer; int main(){ Timer timer; timer.set_interval(100); timer.set_callback([&timer](){ std::cout << "Timeout interval:" << timer.interval() << std::endl; }).start(); std::this_thread::sleep_for(std::chrono::seconds(1...
28.6
74
0.638695
[ "object" ]
e033954a99dea1c5c59812838d0091196cc422f2
4,175
cpp
C++
src/Util/Loader/XML/XMLParser.cpp
ounols/CSEngine
beebdede6eb223c1ec3ec533ed0eb03b80f68a3b
[ "BSD-2-Clause" ]
37
2021-05-19T12:23:57.000Z
2022-03-21T23:51:30.000Z
src/Util/Loader/XML/XMLParser.cpp
ounols/CSEngine
beebdede6eb223c1ec3ec533ed0eb03b80f68a3b
[ "BSD-2-Clause" ]
3
2021-10-12T11:12:52.000Z
2021-11-28T16:11:19.000Z
src/Util/Loader/XML/XMLParser.cpp
ounols/CSEngine
beebdede6eb223c1ec3ec533ed0eb03b80f68a3b
[ "BSD-2-Clause" ]
4
2021-09-16T15:17:42.000Z
2021-10-02T21:29:38.000Z
#include "XMLParser.h" #include <string> #include "../../MoreComponentFunc.h" #include "../../../Manager/GameObjectMgr.h" using namespace CSE; void XMLParser::parse(std::vector<std::string> values, void* dst, SType type) { if (type == SType::STRING) dst = (void*)values[0].c_str(); else if (type == SType::BOOL) *st...
35.381356
97
0.660359
[ "vector" ]
e03547f0824d30745706abe170c5cbfef14bc3e9
64,030
cxx
C++
com/oleutest/accctrl/client/oactestc.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
com/oleutest/accctrl/client/oactestc.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
com/oleutest/accctrl/client/oactestc.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/**************************************************************************** File: actestc.cxx Description: Client side of the DCOM IAccessControl test program. ****************************************************************************/ #include <windows.h> #include <ole2.h> #include <stdlib.h> #i...
29.616096
163
0.572856
[ "object" ]
e0362e2d61ac567505120c50a6bdb01070093563
5,017
hpp
C++
ipuma-lib/ipusw/ipumultidriver.hpp
xiamaz/ipuma
f8bc8ac24a5c282cf8c2003cb32bc21c1cb386e2
[ "BSD-3-Clause-LBNL" ]
null
null
null
ipuma-lib/ipusw/ipumultidriver.hpp
xiamaz/ipuma
f8bc8ac24a5c282cf8c2003cb32bc21c1cb386e2
[ "BSD-3-Clause-LBNL" ]
null
null
null
ipuma-lib/ipusw/ipumultidriver.hpp
xiamaz/ipuma
f8bc8ac24a5c282cf8c2003cb32bc21c1cb386e2
[ "BSD-3-Clause-LBNL" ]
null
null
null
#ifndef IPU_MULTI_DRIVER_HPP #define IPU_MULTI_DRIVER_HPP #include "ipuswconfig.hpp" #include "nlohmann/json.hpp" #include <plog/Log.h> using json = nlohmann::json; class IPUMultiDriver { ipu::batchaffine::SWAlgorithm* driver; double clockFrequency; public: IpuSwConfig config; std::atomic...
46.453704
165
0.609926
[ "vector" ]
e042e6fe65269081d71182351c8e19531141a113
29,624
cpp
C++
src/plugins/auto/auto_schedule.cpp
si-eun-kim/openvino
1db4446e2a6ead55d066e0b4e718fa37f509353a
[ "Apache-2.0" ]
2
2021-12-14T15:27:46.000Z
2021-12-14T15:34:16.000Z
src/plugins/auto/auto_schedule.cpp
si-eun-kim/openvino
1db4446e2a6ead55d066e0b4e718fa37f509353a
[ "Apache-2.0" ]
33
2021-09-23T04:14:30.000Z
2022-01-24T13:21:32.000Z
src/plugins/auto/auto_schedule.cpp
si-eun-kim/openvino
1db4446e2a6ead55d066e0b4e718fa37f509353a
[ "Apache-2.0" ]
11
2021-11-09T00:51:40.000Z
2021-11-10T12:04:16.000Z
// Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // /////////////////////////////////////////////////////////////////////////////////////////////////// #include "auto_schedule.hpp" #include "async_infer_request.hpp" #include "auto_executable_network.hpp" #include "plugin.hpp" // --...
49.127695
141
0.601235
[ "object", "shape", "vector" ]
e052c018ee58680dae5a90d885c2fb9175d1b6f6
26,263
cpp
C++
codecs/mfx_codecs/src/MfxDirect3D9.cpp
catid/xrcap
d3c5900c44861e618fd28b4256387725646b85c7
[ "BSD-3-Clause" ]
62
2019-12-21T23:48:28.000Z
2021-11-25T14:29:28.000Z
codecs/mfx_codecs/src/MfxDirect3D9.cpp
catid/xrcap
d3c5900c44861e618fd28b4256387725646b85c7
[ "BSD-3-Clause" ]
5
2020-01-06T19:55:41.000Z
2020-06-19T23:13:24.000Z
codecs/mfx_codecs/src/MfxDirect3D9.cpp
catid/xrcap
d3c5900c44861e618fd28b4256387725646b85c7
[ "BSD-3-Clause" ]
10
2019-12-22T15:53:10.000Z
2021-07-18T09:12:06.000Z
// Copyright (c) 2019 Christopher A. Taylor. All rights reserved. #ifdef _WIN32 #include "MfxDirect3D9.hpp" #include <core_logging.hpp> #include <core_string.hpp> #include <comdef.h> #define D3DFMT_NV12 (D3DFORMAT)MAKEFOURCC('N','V','1','2') #define D3DFMT_YV12 (D3DFORMAT)MAKEFOURCC('Y','V','1','2') #define D3DFM...
31.007084
156
0.607166
[ "render", "vector" ]
e059345ee6d9a1df0d143be08ff303437dce97cd
8,495
cpp
C++
dialog.cpp
arutarimu/Smart-Security-Camera
121eee41d51ceb88dcb49419062953ac4fd6452f
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
dialog.cpp
arutarimu/Smart-Security-Camera
121eee41d51ceb88dcb49419062953ac4fd6452f
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
dialog.cpp
arutarimu/Smart-Security-Camera
121eee41d51ceb88dcb49419062953ac4fd6452f
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
#include "dialog.h" #include "ui_dialog.h" #include "mainwindow.h" /*! * \brief Dialog::Dialog Constructor */ Dialog::Dialog(QWidget *parent) : QDialog(parent), ui(new Ui::Dialog) { ui->setupUi(this); scene = new QGraphicsScene(this); ui->graphicsView->setScene(scene); ui->graphicsView->scene...
29.911972
123
0.588935
[ "vector" ]
e05d4ede342cfd343dcba0986ff1dd6608725d96
8,826
cpp
C++
testsuite/TStoredQueryConfig.cpp
nakkim/smartmet-plugin-wfs
851334dd3be1a24b9708f66696f088fdc857a999
[ "MIT" ]
null
null
null
testsuite/TStoredQueryConfig.cpp
nakkim/smartmet-plugin-wfs
851334dd3be1a24b9708f66696f088fdc857a999
[ "MIT" ]
2
2018-04-17T10:02:46.000Z
2019-10-21T08:57:55.000Z
testsuite/TStoredQueryConfig.cpp
nakkim/smartmet-plugin-wfs
851334dd3be1a24b9708f66696f088fdc857a999
[ "MIT" ]
2
2017-05-10T12:03:51.000Z
2021-07-06T07:05:25.000Z
#define BOOST_TEST_MODULE TStoredQueryConfig #define BOOST_TEST_DYN_LINK 1 #include <boost/test/unit_test.hpp> #include <array> #include "ArrayParameterTemplate.h" #include "RequestParameterMap.h" #include "ScalarParameterTemplate.h" #include "StoredQueryConfig.h" #include "WfsException.h" #include "ConfigBuild.h" usi...
34.342412
96
0.674484
[ "vector" ]
e05de9e42771b3e94efa0a8db57b0d2e7d80fc8f
5,789
cpp
C++
Diff/Diff.cpp
BartoszMilewski/CodeCoop
7d29f53ccf65b0d29ea7d6781a74507b52c08d0d
[ "MIT" ]
67
2018-03-02T10:50:02.000Z
2022-03-23T18:20:29.000Z
Diff/Diff.cpp
BartoszMilewski/CodeCoop
7d29f53ccf65b0d29ea7d6781a74507b52c08d0d
[ "MIT" ]
null
null
null
Diff/Diff.cpp
BartoszMilewski/CodeCoop
7d29f53ccf65b0d29ea7d6781a74507b52c08d0d
[ "MIT" ]
9
2018-03-01T16:38:28.000Z
2021-03-02T16:17:09.000Z
//---------------------------------- // (c) Reliable Software 1997 - 2007 //---------------------------------- #include "precompiled.h" #include "Diff.h" #include "DiffRecord.h" #include "CluSum.h" #include "LineCounter.h" #include "ListingWin.h" #include <Ctrl/ProgressMeter.h> #include <File/MemFile.h> #include <Ex/...
27.436019
106
0.641734
[ "vector" ]
e06276e78ba441ca2a303a30f8caf2e9d1a127bc
33,520
cxx
C++
src/mirorr/mirorr.cxx
NicholasDowson/Mirorr
1d4b1506613129a566fdb8532d3031c3c29cc626
[ "MIT", "Unlicense" ]
null
null
null
src/mirorr/mirorr.cxx
NicholasDowson/Mirorr
1d4b1506613129a566fdb8532d3031c3c29cc626
[ "MIT", "Unlicense" ]
null
null
null
src/mirorr/mirorr.cxx
NicholasDowson/Mirorr
1d4b1506613129a566fdb8532d3031c3c29cc626
[ "MIT", "Unlicense" ]
null
null
null
/*========================================================================= Program: mirorr Module: mirorr.cxx Author: David Rivest-Henault and Nicholas Dowson Created: Mon 11 Feb 2009 Copyright (c) 2009-15 CSIRO. All rights reserved. For complete copyright, license and disclaimer of warranty information see the LICE...
47.613636
134
0.669511
[ "render", "shape", "transform", "3d" ]
e062f36e467960449596c4c3aae770b4004956d1
208,490
cpp
C++
UWP/Il2CppOutputProject/Source/il2cppOutput/Il2CppCompilerCalculateTypeValues_22Table.cpp
rndmized/OkamiBushi
10ea681f9716d17aa605e0cbb764b7a4b63ae038
[ "MIT" ]
1
2019-09-14T04:39:37.000Z
2019-09-14T04:39:37.000Z
UWP/Il2CppOutputProject/Source/il2cppOutput/Il2CppCompilerCalculateTypeValues_22Table.cpp
rndmized/OkamiBushi
10ea681f9716d17aa605e0cbb764b7a4b63ae038
[ "MIT" ]
null
null
null
UWP/Il2CppOutputProject/Source/il2cppOutput/Il2CppCompilerCalculateTypeValues_22Table.cpp
rndmized/OkamiBushi
10ea681f9716d17aa605e0cbb764b7a4b63ae038
[ "MIT" ]
null
null
null
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> #include <stdint.h> #include "il2cpp-class-internals.h" #include "codegen/il2cpp-codegen.h" #include "il...
40.171484
236
0.825589
[ "object" ]
e06df24a01cac4b2555d31b8daf810fc3784adde
4,263
hpp
C++
libs/vectormath/common.hpp
bematteo/Cauldron
3e4a021fc0d3e0372347126771a5155016810a11
[ "MIT" ]
590
2019-07-23T13:39:32.000Z
2022-03-31T02:09:29.000Z
libs/vectormath/common.hpp
bematteo/Cauldron
3e4a021fc0d3e0372347126771a5155016810a11
[ "MIT" ]
23
2019-07-24T02:22:52.000Z
2022-02-08T08:48:27.000Z
libs/vectormath/common.hpp
bematteo/Cauldron
3e4a021fc0d3e0372347126771a5155016810a11
[ "MIT" ]
67
2019-07-23T16:26:39.000Z
2022-03-16T08:46:53.000Z
// ================================================================================================ // -*- C++ -*- // File: vectormath/common.hpp // Author: Guilherme R. Lampert // Created on: 30/12/16 // Brief: Extra helper functions added to the Vectormath library. // ================================================...
50.152941
116
0.612714
[ "object", "vector", "model" ]
e07293fd6abd8a897c9b0b58789f7deb500dd817
6,739
cpp
C++
src/ConfigParser.cpp
ISISComputingGroup/EPICS-forward_epics_to_kafka
c45079d403f5cdfa4e218c9932bcc77b714fd680
[ "BSD-2-Clause" ]
null
null
null
src/ConfigParser.cpp
ISISComputingGroup/EPICS-forward_epics_to_kafka
c45079d403f5cdfa4e218c9932bcc77b714fd680
[ "BSD-2-Clause" ]
2
2018-05-04T22:34:53.000Z
2019-04-15T10:59:02.000Z
src/ConfigParser.cpp
ISISComputingGroup/EPICS-forward_epics_to_kafka
c45079d403f5cdfa4e218c9932bcc77b714fd680
[ "BSD-2-Clause" ]
null
null
null
#include "ConfigParser.h" #include "Forwarder.h" #include "helper.h" #include "json.h" #include "logger.h" #include <iostream> namespace Forwarder { void ConfigParser::setJsonFromString(std::string RawJson) { Json = nlohmann::json::parse(RawJson); if (Json.is_null()) { throw std::runtime_error("Cannot parse ...
30.355856
80
0.639561
[ "object" ]
e076af35d0c9b411cf2e224b2a58d81fbd00a079
9,835
cpp
C++
src/dray/triangle_mesh.cpp
LLNL/devil_ray
6ab59dd740a5fb1e04967e982c5c6d4c7507f4cb
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
14
2019-12-17T17:40:32.000Z
2021-12-13T20:32:32.000Z
src/dray/triangle_mesh.cpp
LLNL/devil_ray
6ab59dd740a5fb1e04967e982c5c6d4c7507f4cb
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
72
2019-12-21T16:55:38.000Z
2022-03-22T20:40:13.000Z
src/dray/triangle_mesh.cpp
LLNL/devil_ray
6ab59dd740a5fb1e04967e982c5c6d4c7507f4cb
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
3
2020-02-21T18:06:57.000Z
2021-12-03T18:39:48.000Z
// Copyright 2019 Lawrence Livermore National Security, LLC and other // Devil Ray Developers. See the top-level COPYRIGHT file for details. // // SPDX-License-Identifier: (BSD-3-Clause) #include <dray/triangle_mesh.hpp> #include <dray/array_utils.hpp> #include <dray/error_check.hpp> #include <dray/intersection_conte...
29.011799
91
0.592272
[ "mesh", "object" ]
2ff131e58e52efbb9eb21b3ae2235adf2f352871
665
cpp
C++
Trees/postorder.cpp
aneesh001/InterviewBit
fcbac096fd8e9554a52db10dc9e5a88cb8a83ef3
[ "MIT" ]
null
null
null
Trees/postorder.cpp
aneesh001/InterviewBit
fcbac096fd8e9554a52db10dc9e5a88cb8a83ef3
[ "MIT" ]
null
null
null
Trees/postorder.cpp
aneesh001/InterviewBit
fcbac096fd8e9554a52db10dc9e5a88cb8a83ef3
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; /** * Definition for binary tree * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ vector<int> postorderTraversal(TreeNode* A) { vector<int> ans; stack<TreeNode*> s1;...
15.113636
59
0.571429
[ "vector" ]
2ff2412a3847c6032681ac4f3ec2d8bcda6162ab
1,122
cpp
C++
infoarena/bellman-ford/main.cpp
cristicretu/cplusplus
87f5980271431b11ae1b8c14ce6d2c620a404488
[ "MIT" ]
1
2022-01-27T17:13:08.000Z
2022-01-27T17:13:08.000Z
infoarena/bellman-ford/main.cpp
cristicretu/cplusplus
87f5980271431b11ae1b8c14ce6d2c620a404488
[ "MIT" ]
null
null
null
infoarena/bellman-ford/main.cpp
cristicretu/cplusplus
87f5980271431b11ae1b8c14ce6d2c620a404488
[ "MIT" ]
null
null
null
#include <vector> #include <tuple> #include <iostream> #include <queue> #include <fstream> std::ifstream fin("bellmanford.in"); std::ofstream fout("bellmanford.out"); static const int mxn = 5e4, INF = 2e9 + 7; std::vector<std::pair<int,int> > adj[mxn + 5]; int n, m; int distance[mxn + 5], pasi[mxn + 5]; std::queue<st...
19.344828
50
0.493761
[ "vector" ]
2ff9e68aa5fee2293260bf70a7d59c048feffe1e
1,885
hpp
C++
include/codegen/include/GlobalNamespace/OVRProfile.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/GlobalNamespace/OVRProfile.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/GlobalNamespace/OVRProfile.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.Object #include "UnityEngine/Object.hpp" //...
32.5
76
0.672679
[ "object" ]
6405133d33a63eb1a67b9b34c19879c22e542d80
18,574
cpp
C++
Platform/Win32/Build/Utils/OpenNIFilter/XnVideoSource.cpp
Wessi/OpenNI
613b0a43e66e1e97488624dec285341bc047d6d4
[ "Apache-2.0" ]
null
null
null
Platform/Win32/Build/Utils/OpenNIFilter/XnVideoSource.cpp
Wessi/OpenNI
613b0a43e66e1e97488624dec285341bc047d6d4
[ "Apache-2.0" ]
null
null
null
Platform/Win32/Build/Utils/OpenNIFilter/XnVideoSource.cpp
Wessi/OpenNI
613b0a43e66e1e97488624dec285341bc047d6d4
[ "Apache-2.0" ]
null
null
null
/***************************************************************************** * * * OpenNI 1.x Alpha * * Copyright (C) 2012 PrimeSense Ltd. * * ...
26.572246
152
0.712071
[ "object" ]
640f26314da5f2357476bc4d6b7eee0522de4e2f
8,322
cc
C++
renderdoc/3rdparty/interceptor-lib/lib/AArch64/target_aarch64.cc
PLohrmannAMD/renderdoc
ea16d31aa340581f5e505e0c734a8468e5d3d47f
[ "MIT" ]
6,181
2015-01-07T11:49:11.000Z
2022-03-31T21:46:55.000Z
renderdoc/3rdparty/interceptor-lib/lib/AArch64/target_aarch64.cc
PLohrmannAMD/renderdoc
ea16d31aa340581f5e505e0c734a8468e5d3d47f
[ "MIT" ]
2,015
2015-01-16T01:45:25.000Z
2022-03-25T12:01:06.000Z
renderdoc/3rdparty/interceptor-lib/lib/AArch64/target_aarch64.cc
PLohrmannAMD/renderdoc
ea16d31aa340581f5e505e0c734a8468e5d3d47f
[ "MIT" ]
1,088
2015-01-06T08:36:25.000Z
2022-03-30T03:31:21.000Z
/* * Copyright (C) 2017 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
37.827273
80
0.629536
[ "vector" ]
641200a584bf524733513c464824c46a6f250a50
2,709
cpp
C++
c++/sql_load_location.cpp
jrrpanix/reference
2d6774ca5aefee8d215279ee552a684a1d6a3906
[ "MIT" ]
1
2022-01-27T16:21:49.000Z
2022-01-27T16:21:49.000Z
c++/sql_load_location.cpp
jrrpanix/reference
2d6774ca5aefee8d215279ee552a684a1d6a3906
[ "MIT" ]
null
null
null
c++/sql_load_location.cpp
jrrpanix/reference
2d6774ca5aefee8d215279ee552a684a1d6a3906
[ "MIT" ]
null
null
null
#include <mysql/mysql.h> #include <string> #include <iostream> #include <sstream> #include <vector> #include <boost/lexical_cast.hpp> #include <boost/shared_ptr.hpp> struct Location { Location() : person_id(0),tracker_id(0),date(0),time(0),latitude(0), longitude(0) {} int persion_id; int tracker_id; in...
24.853211
95
0.598376
[ "vector" ]
641bed6bb00f1c3baf47eb646c12eae7c168bae3
4,658
cpp
C++
src/TextRenderer.cpp
adinh254/Pong-GL
1f1526f68ffdb75251600355a72bbe8cda50fb79
[ "MIT" ]
null
null
null
src/TextRenderer.cpp
adinh254/Pong-GL
1f1526f68ffdb75251600355a72bbe8cda50fb79
[ "MIT" ]
null
null
null
src/TextRenderer.cpp
adinh254/Pong-GL
1f1526f68ffdb75251600355a72bbe8cda50fb79
[ "MIT" ]
null
null
null
#include "TextRenderer.h" bool TextRenderer::init( const glm::mat4& projection ) { projection_ = projection; // Position of text layout_.push<GLfloat>( 2 ); // Texture coordinates layout_.push<GLfloat>( 2 ); if( FT_Init_FreeType( &ft_ ) ) { SDL_LogError( SDL_LOG_CATEGORY_APPLICATION, "Unable to initialize F...
26.770115
136
0.672606
[ "mesh", "render", "vector", "model" ]
641c1381a6e15979852c0c7371f88e4a648496b9
1,449
cpp
C++
android-28/javax/net/ssl/SNIHostName.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/javax/net/ssl/SNIHostName.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/javax/net/ssl/SNIHostName.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../../JByteArray.hpp" #include "../../../JObject.hpp" #include "../../../JString.hpp" #include "./SNIMatcher.hpp" #include "./SNIHostName.hpp" namespace javax::net::ssl { // Fields // QJniObject forward SNIHostName::SNIHostName(QJniObject obj) : javax::net::ssl::SNIServerName(obj) {} // Constructo...
21
82
0.659075
[ "object" ]
641d940d948a32e14698630d61cf26a6e2cd36c7
4,603
cpp
C++
simplefvm/src/MeshLoader/SolverDataPackers/CellNumsPacker/NumsPackerV.cpp
artvns/SimpleFvm
5a8eca332d6780e738c0bc6c8c2b787b47b5b20d
[ "MIT" ]
4
2022-01-03T08:45:55.000Z
2022-01-06T19:57:11.000Z
simplefvm/src/MeshLoader/SolverDataPackers/CellNumsPacker/NumsPackerV.cpp
artvns/SimpleFvm
5a8eca332d6780e738c0bc6c8c2b787b47b5b20d
[ "MIT" ]
null
null
null
simplefvm/src/MeshLoader/SolverDataPackers/CellNumsPacker/NumsPackerV.cpp
artvns/SimpleFvm
5a8eca332d6780e738c0bc6c8c2b787b47b5b20d
[ "MIT" ]
null
null
null
#include "NumsPackerV.h" namespace meshloader { NumsPackerV::NumsPackerV(DataStoreMasks& dataStoreMasks, Mesh& mesh, NumsSets& numsSets) : AbstractNumsPacker(dataStoreMasks, me...
32.415493
78
0.594178
[ "mesh" ]
6423e8a9b83ffe80f33111482b40f640462dda4c
12,838
cpp
C++
NFServer/NFDataAgent_NosqlPlugin/NFCPlayerRedisModule.cpp
schwantz/NoahGameFrame
67764fa16f3bed646e6c14caa34b3e3bb7b09abd
[ "Apache-2.0" ]
null
null
null
NFServer/NFDataAgent_NosqlPlugin/NFCPlayerRedisModule.cpp
schwantz/NoahGameFrame
67764fa16f3bed646e6c14caa34b3e3bb7b09abd
[ "Apache-2.0" ]
null
null
null
NFServer/NFDataAgent_NosqlPlugin/NFCPlayerRedisModule.cpp
schwantz/NoahGameFrame
67764fa16f3bed646e6c14caa34b3e3bb7b09abd
[ "Apache-2.0" ]
null
null
null
// ------------------------------------------------------------------------- // @FileName : NFCPlayerRedisModule.cpp // @Author : LvSheng.Huang // @Date : 2013-10-03 // @Module : NFCPlayerRedisModule // @Desc : // ---------------------------------...
29.177273
162
0.747546
[ "object", "vector" ]
64278f84eca6ad1dc5b46686d0a8adfd22507cfb
8,626
cpp
C++
usbdev/usbif_cdc_uart.cpp
nvitya/nvcm
80b5fb2736b400a10edeecdaf24eb998dfab9759
[ "Zlib" ]
13
2018-02-26T14:56:02.000Z
2022-03-31T06:01:56.000Z
usbdev/usbif_cdc_uart.cpp
nvitya/nvcm
80b5fb2736b400a10edeecdaf24eb998dfab9759
[ "Zlib" ]
null
null
null
usbdev/usbif_cdc_uart.cpp
nvitya/nvcm
80b5fb2736b400a10edeecdaf24eb998dfab9759
[ "Zlib" ]
3
2020-11-04T09:15:01.000Z
2021-07-06T09:42:00.000Z
/* ----------------------------------------------------------------------------- * This file is a part of the NVCM Tests project: https://github.com/nvitya/nvcmtests * Copyright (c) 2018 Viktor Nagy, nvitya * * This software is provided 'as-is', without any express or implied warranty. * In no event will the autho...
22.581152
130
0.680501
[ "model" ]