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
2f52bda7fc4a9697b29d5086aed929acb860b90b
925
hpp
C++
src/org/apache/poi/ddf/NullEscherSerializationListener.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/ddf/NullEscherSerializationListener.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/ddf/NullEscherSerializationListener.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /POI/java/org/apache/poi/ddf/NullEscherSerializationListener.java #pragma once #include <fwd-POI.hpp> #include <org/apache/poi/ddf/fwd-POI.hpp> #include <java/lang/Object.hpp> #include <org/apache/poi/ddf/EscherSerializationListener.hpp> struct default_init_tag; class poi::ddf::NullEscherSerializa...
27.205882
109
0.758919
[ "object" ]
01724f5ada50fad9d7b54438fab44e1b4ce5089e
4,280
cpp
C++
tests/tests_raja_c/CanopyHydrology_kern1_single.cpp
him-28/ELM-Kernels
c617c03679b0efce31730fdab8561838cba1a1ab
[ "BSD-3-Clause" ]
null
null
null
tests/tests_raja_c/CanopyHydrology_kern1_single.cpp
him-28/ELM-Kernels
c617c03679b0efce31730fdab8561838cba1a1ab
[ "BSD-3-Clause" ]
null
null
null
tests/tests_raja_c/CanopyHydrology_kern1_single.cpp
him-28/ELM-Kernels
c617c03679b0efce31730fdab8561838cba1a1ab
[ "BSD-3-Clause" ]
null
null
null
#include <array> #include <sstream> #include <iterator> #include <exception> #include <string> #include <stdlib.h> #include <cstring> #include <vector> #include <iostream> #include <iomanip> #include <numeric> #include <fstream> #include <algorithm> #include "memoryManager.hpp" #include "RAJA/RAJA.hpp" #include "RAJA/u...
35.966387
157
0.681776
[ "vector" ]
01771208da0b3463e8a0bf29f8700d68417afa8d
3,527
cpp
C++
docker/chiron-valet/reapr/make_plots.cpp
ryfi/Chiron
f34ff65400cf183287d81b40d226e0e293088af7
[ "MIT" ]
21
2017-06-05T12:58:56.000Z
2022-01-08T19:58:28.000Z
docker/chiron-valet/reapr/make_plots.cpp
ryfi/Chiron
f34ff65400cf183287d81b40d226e0e293088af7
[ "MIT" ]
3
2017-06-17T00:56:04.000Z
2018-05-24T17:41:13.000Z
docker/chiron-valet/reapr/make_plots.cpp
ryfi/Chiron
f34ff65400cf183287d81b40d226e0e293088af7
[ "MIT" ]
19
2017-06-02T17:46:38.000Z
2021-09-26T21:41:15.000Z
#include <stdio.h> #include <math.h> #include <stdlib.h> #include <iostream> #include <cstring> #include <fstream> #include <string> #include <vector> #include <sstream> #include <map> using namespace std; const short CHR = 0; const short POS = 1; const short PERFECT_COV = 2; const short READ_F = 3; const short READ_...
28.216
103
0.588886
[ "vector" ]
017f0a598ba0272d07cd90e91b98d6c6f8492545
1,002
cpp
C++
Source/Types/Transform.cpp
Noxagonal/Vulkan2DRenderer
5110a2422dfbf0bf5cfb1d3e13c5b97d5b80243e
[ "MIT" ]
90
2020-06-20T15:00:31.000Z
2022-03-22T21:03:45.000Z
Source/Types/Transform.cpp
Niko40/Vulkan2DRenderer
5110a2422dfbf0bf5cfb1d3e13c5b97d5b80243e
[ "MIT" ]
39
2019-11-04T01:40:14.000Z
2020-03-09T15:57:00.000Z
Source/Types/Transform.cpp
Niko40/Vulkan2DRenderer
5110a2422dfbf0bf5cfb1d3e13c5b97d5b80243e
[ "MIT" ]
4
2020-12-02T22:39:33.000Z
2021-12-27T07:55:12.000Z
#include "Core/SourceCommon.h" #include "Types/Transform.h" vk2d::Transform::Transform( glm::vec2 position, glm::vec2 scale, float rotation ) : position( position ), scale( scale ), rotation( rotation ) {} VK2D_API void VK2D_APIENTRY vk2d::Transform::Translate( glm::vec2 movement ) { this->position += move...
17.892857
87
0.698603
[ "transform" ]
0185b9e6affc9bb231f663395d09ec6855d66ffc
560
cpp
C++
week2/day14_Perform_String_Shifts.cpp
stefpant/30-Day-LeetCoding-Challenge
92ff3a47152559f27203001c0aeb96515154b6e1
[ "MIT" ]
2
2020-05-01T10:04:26.000Z
2020-05-01T11:54:40.000Z
week2/day14_Perform_String_Shifts.cpp
stefpant/30-Day-LeetCoding-Challenge
92ff3a47152559f27203001c0aeb96515154b6e1
[ "MIT" ]
null
null
null
week2/day14_Perform_String_Shifts.cpp
stefpant/30-Day-LeetCoding-Challenge
92ff3a47152559f27203001c0aeb96515154b6e1
[ "MIT" ]
null
null
null
class Solution { public: string stringShift(string s, vector<vector<int>>& shift) { int a,b; int len = s.length(); if(len < 2) return s; for(int i=0; i<shift.size(); i++){ a = shift[i][0]; b = shift[i][1]%len;//no need to have shift amount greater than string ...
32.941176
89
0.507143
[ "vector" ]
018c0847b857125c7ca3aadf9101e94c82c8c868
18,780
cpp
C++
Sources/MTM/CGroundBoxes.cpp
jpez1432/Legacy-Monster-Freestyle-Racing
bc370736643531d1bf310bd45453cd98036b58a4
[ "Info-ZIP" ]
null
null
null
Sources/MTM/CGroundBoxes.cpp
jpez1432/Legacy-Monster-Freestyle-Racing
bc370736643531d1bf310bd45453cd98036b58a4
[ "Info-ZIP" ]
null
null
null
Sources/MTM/CGroundBoxes.cpp
jpez1432/Legacy-Monster-Freestyle-Racing
bc370736643531d1bf310bd45453cd98036b58a4
[ "Info-ZIP" ]
null
null
null
// Include #include "CGroundBoxes.h" // Ground Boxes Class Header File extern string RootDir; // Global Root Directory extern float Tint[4]; // Weather Tint // Constructor CGroundBoxes::CGroundBoxes( ) { } // Destructor CGroundBoxes::~CGroundBoxes( ) { ...
34.20765
121
0.574388
[ "vector" ]
018c372d340003719c249de1d85475662c2aef50
7,200
cpp
C++
Sources/Physics/Rigidbody.cpp
0xflotus/Acid
cf680a13c3894822920737dcf1b7d17aef74a474
[ "MIT" ]
null
null
null
Sources/Physics/Rigidbody.cpp
0xflotus/Acid
cf680a13c3894822920737dcf1b7d17aef74a474
[ "MIT" ]
null
null
null
Sources/Physics/Rigidbody.cpp
0xflotus/Acid
cf680a13c3894822920737dcf1b7d17aef74a474
[ "MIT" ]
null
null
null
#include "Rigidbody.hpp" #include <cassert> #include <BulletCollision/CollisionShapes/btCollisionShape.h> #include <BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h> #include <BulletDynamics/Dynamics/btRigidBody.h> #include <LinearMath/btDefaultMotionState.h> #include "Scenes/Scenes.hpp" #include "Collider.hpp" nam...
29.387755
157
0.733056
[ "shape", "vector", "transform" ]
018d3094c9c6e8925ff8f39f26af1ae2504f453e
27,960
cpp
C++
asciified.cpp
Uki99/img2ascii
4805fdf673aae3dd0dce66430e6c15da4187054a
[ "CC0-1.0" ]
null
null
null
asciified.cpp
Uki99/img2ascii
4805fdf673aae3dd0dce66430e6c15da4187054a
[ "CC0-1.0" ]
null
null
null
asciified.cpp
Uki99/img2ascii
4805fdf673aae3dd0dce66430e6c15da4187054a
[ "CC0-1.0" ]
null
null
null
#include "ASCIIFied.h" static const map<FLOAT, vector<CHAR>> luma_char_map = { {0.f, {' '}}, {0.133333f, {'.'}}, {0.155556f, {'-'}}, {0.177778f, {','}}, {0.266667f, {':'}}, {0.311111f, {'+'}}, {0.333333f, {'~'}}, {0.355556f, {';'}}, {0.4f, {'('}}, {0.444444f, {'%'}}, {0.488889f, {'x...
35.30303
189
0.618956
[ "vector", "transform" ]
019474ff625dd2f27758fcd6476333a7e4614fa6
13,138
cc
C++
content/browser/compositor/buffer_queue_unittest.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/browser/compositor/buffer_queue_unittest.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/browser/compositor/buffer_queue_unittest.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2020-04-04T13:34:56.000Z
2020-11-04T07:17:52.000Z
// Copyright 2014 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 <set> #include "cc/test/test_context_provider.h" #include "cc/test/test_web_graphics_context_3d.h" #include "content/browser/compositor/buffer_q...
35.994521
89
0.729335
[ "vector" ]
019745be21888bf00aa8ba120e35ef039b196610
1,185
cpp
C++
ProjectEuler/euler046.cpp
HannoFlohr/hackerrank
9644c78ce05a6b1bc5d8f542966781d53e5366e3
[ "MIT" ]
null
null
null
ProjectEuler/euler046.cpp
HannoFlohr/hackerrank
9644c78ce05a6b1bc5d8f542966781d53e5366e3
[ "MIT" ]
null
null
null
ProjectEuler/euler046.cpp
HannoFlohr/hackerrank
9644c78ce05a6b1bc5d8f542966781d53e5366e3
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> #include <cstring> using namespace std; vector<int> primes; const int MAXN = 500001; //returns the amount of possible conjectures for 'n' int checkConjecture(int n) { int current, conjectureCount = 0; for(auto p...
21.545455
78
0.525738
[ "vector" ]
01a39aef49c2b50d743d4be66120dbba26786898
15,299
cpp
C++
sources/Video/RenderSystem/Shader/ShaderManager.cpp
LukasBanana/ForkENGINE
8b575bd1d47741ad5025a499cb87909dbabc3492
[ "BSD-3-Clause" ]
13
2017-03-21T22:46:18.000Z
2020-07-30T01:31:57.000Z
sources/Video/RenderSystem/Shader/ShaderManager.cpp
LukasBanana/ForkENGINE
8b575bd1d47741ad5025a499cb87909dbabc3492
[ "BSD-3-Clause" ]
null
null
null
sources/Video/RenderSystem/Shader/ShaderManager.cpp
LukasBanana/ForkENGINE
8b575bd1d47741ad5025a499cb87909dbabc3492
[ "BSD-3-Clause" ]
2
2018-07-23T19:56:41.000Z
2020-07-30T01:32:01.000Z
/* * Shader manager file * * This file is part of the "ForkENGINE" (Copyright (c) 2014 by Lukas Hermanns) * See "LICENSE.txt" for license information. */ #include "Video/RenderSystem/Shader/ShaderManager.h" #include "Video/RenderSystem/RenderSystem.h" #include "Video/RenderSystem/Shader/ShaderCompilationExceptio...
38.536524
143
0.665272
[ "geometry", "render", "vector" ]
01b555c92509fc5cf90ea1d8a283f4716965d90f
8,398
cpp
C++
src/qlearn/qlearn.cpp
c00k133/q-learning-project
08e0a5dabea09a6a8494ebb056fe3ed25d1abd7e
[ "MIT" ]
null
null
null
src/qlearn/qlearn.cpp
c00k133/q-learning-project
08e0a5dabea09a6a8494ebb056fe3ed25d1abd7e
[ "MIT" ]
null
null
null
src/qlearn/qlearn.cpp
c00k133/q-learning-project
08e0a5dabea09a6a8494ebb056fe3ed25d1abd7e
[ "MIT" ]
null
null
null
#include "qlearn.hpp" void QLearn::init() { sf::VideoMode video_mode(window_width, window_height); window = std::make_shared<sf::RenderWindow>(video_mode, heading); window->setFramerateLimit(framerate_limit); // Set companion object drawer = std::unique_ptr<SFMLDrawer>(new SFMLDrawer(window)); drawer->se...
27.993333
80
0.644201
[ "object" ]
01b7a8a913913a179d960b0b5fcc177d8cc2b4ea
42,700
cxx
C++
src/McGetEventInfoTool.cxx
fermi-lat/McToolBox
71bb9437abdc3bd5e3ace44e80342f62b36d90e9
[ "BSD-3-Clause" ]
null
null
null
src/McGetEventInfoTool.cxx
fermi-lat/McToolBox
71bb9437abdc3bd5e3ace44e80342f62b36d90e9
[ "BSD-3-Clause" ]
null
null
null
src/McGetEventInfoTool.cxx
fermi-lat/McToolBox
71bb9437abdc3bd5e3ace44e80342f62b36d90e9
[ "BSD-3-Clause" ]
null
null
null
/** * @class McGetEventInfoTool * * @brief A Gaudi tool for extracting information from the McParticle - McPositionHit - * TkrCluster - etc. relational tables. The primary aim is to aid in studies of * track reconstruction performance, particular pattern recognition. * * NOTE: The interf...
36.495726
129
0.582436
[ "vector" ]
01c0228b13526573c83792c3381aea0d254461fd
34,333
cpp
C++
old_runtime/DebugRuntime/ScanfSupport.cpp
spurious/safecode-mirror
238e1a381674528f642e1ee6be1e1b7df465672e
[ "NCSA" ]
5
2015-07-23T09:47:12.000Z
2019-11-28T01:34:01.000Z
old_runtime/DebugRuntime/ScanfSupport.cpp
spurious/safecode-mirror
238e1a381674528f642e1ee6be1e1b7df465672e
[ "NCSA" ]
null
null
null
old_runtime/DebugRuntime/ScanfSupport.cpp
spurious/safecode-mirror
238e1a381674528f642e1ee6be1e1b7df465672e
[ "NCSA" ]
3
2015-10-28T18:21:02.000Z
2019-05-06T18:35:41.000Z
//===- ScanfSupport.cpp - Secure scanf() replacement ------------===// // // The SAFECode Compiler Project // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. // //===---------...
27.643317
80
0.555209
[ "object" ]
01ca8ee9472368fac763057ee4c733b2d17680d4
2,029
cpp
C++
src/Engine/StreamProcessingEngine.cpp
nathan-backman/cmsc491-SPE
b836b6d74dd97f767a09e7d955b8ad2173ca609d
[ "MIT" ]
null
null
null
src/Engine/StreamProcessingEngine.cpp
nathan-backman/cmsc491-SPE
b836b6d74dd97f767a09e7d955b8ad2173ca609d
[ "MIT" ]
null
null
null
src/Engine/StreamProcessingEngine.cpp
nathan-backman/cmsc491-SPE
b836b6d74dd97f767a09e7d955b8ad2173ca609d
[ "MIT" ]
null
null
null
// Copyright 2019 [BVU CMSC491 class] #include "Engine/StreamProcessingEngine.h" void StreamProcessingEngine::connectOperators( Operator* upstreamOp, std::vector<Operator*> downstreamOps) { // Register the downstream operators with the upstream operator upstreamOp->downstreamOperators = downstreamOps; // Ad...
31.703125
76
0.723509
[ "vector" ]
01d03d931b634fb6f99c72971986834220726fc7
2,851
cpp
C++
modules/media/test/apps/test_create_game_list.cpp
LCClyde/nyra
f8280db2633e888ab62e929a2c238a33755ff694
[ "MIT" ]
null
null
null
modules/media/test/apps/test_create_game_list.cpp
LCClyde/nyra
f8280db2633e888ab62e929a2c238a33755ff694
[ "MIT" ]
1
2016-01-25T13:03:03.000Z
2016-01-25T13:03:03.000Z
modules/media/test/apps/test_create_game_list.cpp
LCClyde/nyra
f8280db2633e888ab62e929a2c238a33755ff694
[ "MIT" ]
null
null
null
/* * Copyright (c) 2017 Clyde Stanfield * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation the * rights to use, copy, modify, merge, pub...
34.349398
79
0.598036
[ "vector" ]
01d286b0054ac339b28ebb0d3330c6e743c7a684
2,940
cpp
C++
modules/features/src/ourcvfh_estimator.cpp
v4r-tuwien/v4r
ff3fbd6d2b298b83268ba4737868bab258262a40
[ "BSD-1-Clause", "BSD-2-Clause" ]
2
2021-02-22T11:36:33.000Z
2021-07-20T11:31:08.000Z
modules/features/src/ourcvfh_estimator.cpp
v4r-tuwien/v4r
ff3fbd6d2b298b83268ba4737868bab258262a40
[ "BSD-1-Clause", "BSD-2-Clause" ]
null
null
null
modules/features/src/ourcvfh_estimator.cpp
v4r-tuwien/v4r
ff3fbd6d2b298b83268ba4737868bab258262a40
[ "BSD-1-Clause", "BSD-2-Clause" ]
3
2018-10-19T10:39:23.000Z
2021-04-07T13:39:03.000Z
#include <v4r/features/ourcvfh_estimator.h> #include <glog/logging.h> #include <pcl/search/kdtree.h> #include <v4r/features/pcl_ourcvfh.h> namespace v4r { template <typename PointT> bool OURCVFHEstimator<PointT>::compute(Eigen::MatrixXf &signature) { CHECK(cloud_ && !cloud_->points.empty() && normals_); transfo...
35.421687
95
0.703061
[ "vector" ]
01e48d127fcb4bc5aafcc631d9ef501bdff7879f
14,682
cpp
C++
test/zoneserver.test/EquipmentTest.cpp
mark-online/server
ca24898e2e5a9ccbaa11ef1ade57bb25260b717f
[ "MIT" ]
null
null
null
test/zoneserver.test/EquipmentTest.cpp
mark-online/server
ca24898e2e5a9ccbaa11ef1ade57bb25260b717f
[ "MIT" ]
null
null
null
test/zoneserver.test/EquipmentTest.cpp
mark-online/server
ca24898e2e5a9ccbaa11ef1ade57bb25260b717f
[ "MIT" ]
null
null
null
#include "ZoneServerTestPCH.h" #include "GameTestFixture.h" #include "MockPlayerItemController.h" #include "MockPlayerInventoryController.h" #include "ZoneServer/model/gameobject/Player.h" #include "ZoneServer/model/gameobject/status/CreatureStatus.h" #include <gideon/servertest/MockProxyGameDatabase.h> #include <gideo...
43.566766
111
0.771285
[ "model" ]
01e4ccc73c85cbf687432cd73c2b308217904b6e
2,177
cpp
C++
Shapes/shapes.cpp
MorganM99/LearnCPP
338259165f27e854c87e427d218d6d25a49eafa9
[ "MIT" ]
null
null
null
Shapes/shapes.cpp
MorganM99/LearnCPP
338259165f27e854c87e427d218d6d25a49eafa9
[ "MIT" ]
null
null
null
Shapes/shapes.cpp
MorganM99/LearnCPP
338259165f27e854c87e427d218d6d25a49eafa9
[ "MIT" ]
null
null
null
#include <algorithm> #include <iostream> #include <vector> class Point { private: int m_x = 0; int m_y = 0; int m_z = 0; public: Point (int x = 0, int y = 0, int z = 0) : m_x (x), m_y (y), m_z (z) {} friend std::ostream& operator<< (std::ostream& out, const Point& p) { out << "Point(" << p.m_x << ", " ...
23.923077
77
0.5774
[ "shape", "vector" ]
01e57c0cf00ecc722e41ce1907a0e91c98d8ae52
762
cpp
C++
InputManagerComponent.cpp
mado0421/3DGameProgramming_LongTermProject
0802a511dd55dc40f52ad5701f3200cfc4903125
[ "MIT" ]
1
2022-03-08T04:04:14.000Z
2022-03-08T04:04:14.000Z
InputManagerComponent.cpp
druid0228/3DGameProgramming_LongTermProject
c37f43fa9dcb5d2774eded3665800340ddd0189c
[ "MIT" ]
null
null
null
InputManagerComponent.cpp
druid0228/3DGameProgramming_LongTermProject
c37f43fa9dcb5d2774eded3665800340ddd0189c
[ "MIT" ]
1
2022-03-08T03:42:57.000Z
2022-03-08T03:42:57.000Z
#include "stdafx.h" #include "Components.h" #include "Object.h" InputManagerComponent::InputManagerComponent(Object* pObject) :Component(pObject) , m_xmf2MouseMovement(0, 0) { } InputManagerComponent::~InputManagerComponent() { } void InputManagerComponent::InputEvent(UCHAR* pKeyBuffer, XMFLOAT2& xmf2MouseMovement...
19.538462
86
0.78084
[ "object" ]
54353b54307cbfcccaafc27f8aef2643d0e49694
6,132
cpp
C++
qSAF.cpp
huihut/qSAF
0ee4919c020e8a1e109be8f8f28674d575f07202
[ "MIT" ]
11
2017-11-23T09:14:15.000Z
2021-12-13T06:13:12.000Z
qSAF.cpp
huihut/qSAF
0ee4919c020e8a1e109be8f8f28674d575f07202
[ "MIT" ]
null
null
null
qSAF.cpp
huihut/qSAF
0ee4919c020e8a1e109be8f8f28674d575f07202
[ "MIT" ]
9
2017-11-20T12:44:53.000Z
2021-01-13T02:14:45.000Z
//########################################################################## //# # //# CLOUDCOMPARE PLUGIN: qSAF # //# # //# This pr...
29.623188
176
0.591161
[ "vector" ]
5441603202da0131ebef1e7ce97cd6a646cf670a
1,147
cpp
C++
CookOff/03_20/MYSARA.cpp
vinaysomawat/CodeChef-Solutions
9a0666a4f1badd593cd075f3beb05377e3c6657a
[ "MIT" ]
1
2020-04-12T01:39:10.000Z
2020-04-12T01:39:10.000Z
CookOff/03_20/MYSARA.cpp
vinaysomawat/CodeChef-Solutions
9a0666a4f1badd593cd075f3beb05377e3c6657a
[ "MIT" ]
null
null
null
CookOff/03_20/MYSARA.cpp
vinaysomawat/CodeChef-Solutions
9a0666a4f1badd593cd075f3beb05377e3c6657a
[ "MIT" ]
null
null
null
/* Contest: CodeChef March 2020 Cook-Off challange Problem link:https://www.codechef.com/COOK116B/problems/MYSARA GitHub Solution Repository: https://github.com/vinaysomawat/CodeChef-Solutions Author: Vinay Somawat Author's Webpage: http://vinaysomawat.github.io/ Author's mail: vinaysomawat@hot...
18.5
82
0.44551
[ "vector" ]
5446a3e2cb02734ba742ad0764c0bbacb1ef395f
7,420
cpp
C++
src/cpp/shopping_plan.cpp
elemel/code-jam
da4b3d250013489e3781e00cdd198f7b1ccd6c99
[ "MIT" ]
1
2016-05-08T18:55:42.000Z
2016-05-08T18:55:42.000Z
src/cpp/shopping_plan.cpp
elemel/code-jam
da4b3d250013489e3781e00cdd198f7b1ccd6c99
[ "MIT" ]
null
null
null
src/cpp/shopping_plan.cpp
elemel/code-jam
da4b3d250013489e3781e00cdd198f7b1ccd6c99
[ "MIT" ]
null
null
null
#include <algorithm> #include <cassert> #include <cctype> #include <cmath> #include <iomanip> #include <iostream> #include <map> #include <sstream> #include <string> #include <utility> #include <vector> using std::cin; using std::cout; using std::endl; using std::fixed; using std::getline; using std::istream; using st...
29.919355
79
0.573585
[ "vector" ]
544fe1b22cd9ec6989f4d8049efc07dce828d7ac
3,187
cpp
C++
10901 Ferry Loading III.cpp
zihadboss/UVA-Solutions
020fdcb09da79dc0a0411b04026ce3617c09cd27
[ "Apache-2.0" ]
86
2016-01-20T11:36:50.000Z
2022-03-06T19:43:14.000Z
10901 Ferry Loading III.cpp
Mehedishihab/UVA-Solutions
474fe3d9d9ba574b97fd40ca5abb22ada95654a1
[ "Apache-2.0" ]
null
null
null
10901 Ferry Loading III.cpp
Mehedishihab/UVA-Solutions
474fe3d9d9ba574b97fd40ca5abb22ada95654a1
[ "Apache-2.0" ]
113
2015-12-04T06:40:57.000Z
2022-02-11T02:14:28.000Z
#include <iostream> #include <queue> using namespace std; int charToSide[128]; int main() { charToSide['l'] = 0; charToSide['r'] = 1; int T; cin >> T; string sep = "", sideStr; while (T--) { cout << sep; sep = "\n"; int maxLoad, crossTime, t...
32.520408
116
0.48133
[ "vector" ]
5451b39932c81ecfb84ab96ec9787a56616ed3cf
9,719
cpp
C++
ROVER/src/sensor/gps.cpp
majitaki/arliss2019_tadpole
22c2f976dfb91d345a6be878a45bcd361247943b
[ "MIT" ]
null
null
null
ROVER/src/sensor/gps.cpp
majitaki/arliss2019_tadpole
22c2f976dfb91d345a6be878a45bcd361247943b
[ "MIT" ]
null
null
null
ROVER/src/sensor/gps.cpp
majitaki/arliss2019_tadpole
22c2f976dfb91d345a6be878a45bcd361247943b
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <sstream> #include<picojson.h> #include <wiringPiI2C.h> #include <wiringPi.h> #include <time.h> #include <string.h> #include <fstream> #include <sstream> #include <unistd.h> #include <stdlib.h> #include <math.h> #include <sys/stat.h> #include <fcntl.h> #include <sys/ioct...
24.176617
123
0.680934
[ "object", "vector", "3d" ]
5465d5ad07003c36962b88e11ad99da0a2036899
3,128
cpp
C++
2017/bfjit/jit_utils.cpp
mikiec84/code-for-blog
79b2264f9a808eb14f624cb3c5ae7624038c043a
[ "Unlicense" ]
1,199
2015-01-06T14:09:37.000Z
2022-03-29T19:39:51.000Z
2017/bfjit/jit_utils.cpp
mikiec84/code-for-blog
79b2264f9a808eb14f624cb3c5ae7624038c043a
[ "Unlicense" ]
25
2016-07-29T15:44:01.000Z
2021-11-19T16:21:01.000Z
2017/bfjit/jit_utils.cpp
mikiec84/code-for-blog
79b2264f9a808eb14f624cb3c5ae7624038c043a
[ "Unlicense" ]
912
2015-01-04T00:39:50.000Z
2022-03-29T06:50:22.000Z
// Utilities for writing a JIT. // // Note: the implementation is POSIX-specific, requiring mmap/munmap with // appropriate flags. // // Eli Bendersky [http://eli.thegreenplace.net] // This code is in the public domain. #include "jit_utils.h" #include "utils.h" #include <cassert> #include <cstring> #include <limits> #i...
28.18018
80
0.679348
[ "vector" ]
54757db032d7be78d3e89e61dcefc093c43f55a8
57,505
cxx
C++
Modules/Loadable/Sequences/MRML/vtkMRMLSequenceBrowserNode.cxx
forfullstack/slicersources-src
91bcecf037a27f3fad4c0ab57e8286fc258bb0f5
[ "Apache-2.0" ]
null
null
null
Modules/Loadable/Sequences/MRML/vtkMRMLSequenceBrowserNode.cxx
forfullstack/slicersources-src
91bcecf037a27f3fad4c0ab57e8286fc258bb0f5
[ "Apache-2.0" ]
null
null
null
Modules/Loadable/Sequences/MRML/vtkMRMLSequenceBrowserNode.cxx
forfullstack/slicersources-src
91bcecf037a27f3fad4c0ab57e8286fc258bb0f5
[ "Apache-2.0" ]
null
null
null
/*============================================================================== Program: 3D Slicer Copyright (c) Kitware Inc. See COPYRIGHT.txt or http://www.slicer.org/copyright/copyright.txt for details. Unless required by applicable law or agreed to in writing, software distributed under the License...
37.052191
159
0.648031
[ "object", "vector", "3d" ]
547ef88c705b00980094663685cc91958e78755e
5,479
cc
C++
src/RouteChoice/patSimulation.cc
godosou/smaroute
e2ccc9492dff54c8ef5c74d5309d2b06758ba342
[ "MIT" ]
4
2015-02-23T16:02:52.000Z
2021-03-26T17:58:53.000Z
src/RouteChoice/patSimulation.cc
godosou/smaroute
e2ccc9492dff54c8ef5c74d5309d2b06758ba342
[ "MIT" ]
null
null
null
src/RouteChoice/patSimulation.cc
godosou/smaroute
e2ccc9492dff54c8ef5c74d5309d2b06758ba342
[ "MIT" ]
5
2015-02-23T16:05:59.000Z
2017-05-04T16:13:16.000Z
/* * patSimulation.cc * * Created on: May 25, 2012 * Author: jchen */ #include "patSimulation.h" #include "patKMLPathWriter.h" #include "patObservation.h" #include "patUtilityFunction.h" #include <vector> #include <map> #include "patMultiModalPath.h" #include "patOd.h" #include <fstream> #include "patObserv...
35.348387
170
0.730243
[ "vector" ]
54813e0ce0605ed72295f2135bc2bca7ed53fc4d
3,107
hh
C++
gecode/string/extensional.hh
ramadini/gecode
ff0d261486a67f66895850a771f161bfa8bf9839
[ "MIT-feh" ]
1
2021-05-26T13:27:00.000Z
2021-05-26T13:27:00.000Z
gecode/string/extensional.hh
ramadini/gecode
ff0d261486a67f66895850a771f161bfa8bf9839
[ "MIT-feh" ]
null
null
null
gecode/string/extensional.hh
ramadini/gecode
ff0d261486a67f66895850a771f161bfa8bf9839
[ "MIT-feh" ]
null
null
null
#ifndef __GECODE_STRING_EXT_HH__ #define __GECODE_STRING_EXT_HH__ namespace Gecode { namespace String { // DFA data structure for non-reified regular. struct stringDFA { typedef std::vector<std::vector<std::pair<int, int>>> delta_t; int ua; int ur; int n_states; int final_fst; int final_ls...
29.311321
78
0.674284
[ "vector" ]
5485658c92908dc86ff062f72fa9be5584479e56
1,984
cpp
C++
solved/0-b/array-queries/array-segtree.cpp
abuasifkhan/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
13
2015-09-30T19:18:04.000Z
2021-06-26T21:11:30.000Z
solved/0-b/array-queries/array-segtree.cpp
sbmaruf/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
null
null
null
solved/0-b/array-queries/array-segtree.cpp
sbmaruf/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
13
2015-01-04T09:49:54.000Z
2021-06-03T13:18:44.000Z
#include <algorithm> #include <cmath> #include <cstdio> #include <vector> using namespace std; #define MAXN 100000 typedef unsigned int u32; typedef vector<int> IV; // // I/O // #define BUF 524288 struct Reader { char buf[BUF]; char b; int bi, bz; Reader() { bi=bz=0; read(); } void read() { i...
21.565217
76
0.448085
[ "vector" ]
548faa6bd9bfebb683b8f94dc50dd46a9ec4a12a
3,573
cc
C++
scsp/src/model/TransferCallToAgentRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
scsp/src/model/TransferCallToAgentRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
scsp/src/model/TransferCallToAgentRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
25.521429
92
0.769661
[ "model" ]
549b763da45bc03d5c8c25d70460be91db82000d
30,422
cc
C++
Core/DianYing/Source/Core/Thread/TDyIO.cc
liliilli/DianYing
6e19f67e5d932e346a0ce63a648bed1a04ef618e
[ "MIT" ]
4
2019-03-17T19:46:54.000Z
2019-12-09T20:11:01.000Z
Core/DianYing/Source/Core/Thread/TDyIO.cc
liliilli/DianYing
6e19f67e5d932e346a0ce63a648bed1a04ef618e
[ "MIT" ]
null
null
null
Core/DianYing/Source/Core/Thread/TDyIO.cc
liliilli/DianYing
6e19f67e5d932e346a0ce63a648bed1a04ef618e
[ "MIT" ]
null
null
null
#include <precompiled.h> /// /// MIT License /// Copyright (c) 2018-2019 Jongmin Yun /// /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL...
34.887615
129
0.721879
[ "mesh", "vector", "model" ]
54a99b0b567e38b36dceac6413182a2acf5bd261
5,518
hpp
C++
src/PluginVisSlice/LassoSelectionTool.hpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
4
2016-06-03T18:41:43.000Z
2020-04-17T20:28:58.000Z
src/PluginVisSlice/LassoSelectionTool.hpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
null
null
null
src/PluginVisSlice/LassoSelectionTool.hpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
null
null
null
/* * Copyright (c) 2014-2022 The Voxie Authors * * 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, mer...
29.827027
80
0.723813
[ "render", "3d" ]
54b22c984116c6bc5d9e580aa7b06a0af19bfa5b
17,822
cxx
C++
MUON/MUONmapping/AliMpSegmentation.cxx
zwound40/AliRoot
2eeb196e31e59937df6705c3b7fca0e6da4a8cb2
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
MUON/MUONmapping/AliMpSegmentation.cxx
zwound40/AliRoot
2eeb196e31e59937df6705c3b7fca0e6da4a8cb2
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
MUON/MUONmapping/AliMpSegmentation.cxx
zwound40/AliRoot
2eeb196e31e59937df6705c3b7fca0e6da4a8cb2
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
31.487633
108
0.678543
[ "object" ]
2a5e52d83fcad8d418e0f618c29d7fa13f1a7b65
860
hpp
C++
include/sequence_generator/get_perlin_noise_sequence.hpp
WentsingNee/Visual-Sort
df784c1291af124032264e6c16c0da0dcefe0548
[ "MIT" ]
2
2020-05-14T09:29:42.000Z
2020-06-01T14:59:04.000Z
include/sequence_generator/get_perlin_noise_sequence.hpp
WentsingNee/Visual-Sort
df784c1291af124032264e6c16c0da0dcefe0548
[ "MIT" ]
null
null
null
include/sequence_generator/get_perlin_noise_sequence.hpp
WentsingNee/Visual-Sort
df784c1291af124032264e6c16c0da0dcefe0548
[ "MIT" ]
null
null
null
/** * @file get_perlin_noise_sequence.hpp * @brief * @date 2020-07-28 * @author Peter * @copyright * Peter of [ThinkSpirit Laboratory](http://thinkspirit.org/) * of [Nanjing University of Information Science & Technology](http://www.nuist.edu.cn/) * all rights reserved */ #ifndef VISU...
23.888889
90
0.690698
[ "vector" ]
2a67a5c5fe38dc17abd1c2585f533e7f88852433
27,801
cpp
C++
CS2810/Assignments/CS19B021_A7.cpp
vikram-kv/CS2810-LabWork
1190c14d08d0aa1e8143df338766a6d075c47182
[ "Apache-2.0" ]
null
null
null
CS2810/Assignments/CS19B021_A7.cpp
vikram-kv/CS2810-LabWork
1190c14d08d0aa1e8143df338766a6d075c47182
[ "Apache-2.0" ]
null
null
null
CS2810/Assignments/CS19B021_A7.cpp
vikram-kv/CS2810-LabWork
1190c14d08d0aa1e8143df338766a6d075c47182
[ "Apache-2.0" ]
null
null
null
/************************ * $ID$ * File: CS19B021_A7.cpp - Use Prim's and Kruskal algorithms to find the minimum spanning tree/forest * of a given simple,undirected and weighted graph. * * Functionality: * *1) Class Template Graph:-(Parameter = edge weight type) * Stores an undirected w...
44.624398
149
0.585375
[ "vector" ]
2a683436727216964d33a212122063416055bab6
3,200
cpp
C++
src/pke/demo/demo-sizeOf-plaintext.cpp
AnthonyTudorov/PALISADE-SizeOf-Fork
05e9903da0971933adb1ba0b9c98398c9722a45c
[ "BSD-2-Clause" ]
null
null
null
src/pke/demo/demo-sizeOf-plaintext.cpp
AnthonyTudorov/PALISADE-SizeOf-Fork
05e9903da0971933adb1ba0b9c98398c9722a45c
[ "BSD-2-Clause" ]
null
null
null
src/pke/demo/demo-sizeOf-plaintext.cpp
AnthonyTudorov/PALISADE-SizeOf-Fork
05e9903da0971933adb1ba0b9c98398c9722a45c
[ "BSD-2-Clause" ]
1
2021-05-24T13:38:28.000Z
2021-05-24T13:38:28.000Z
#include "palisade.h" #include <typeinfo> using namespace std; using namespace lbcrypto; int main() { int plaintextModulus = 256; double sigma = 4; double rootHermiteFactor = 1.006; //Set Crypto Parameters CryptoContext<DCRTPoly> cryptoContext1 = CryptoContextFactory<DCRTPoly>::genCryptoContextBFVrns( plai...
38.554217
121
0.706563
[ "vector" ]
2a7248e0f0279d596b2ff5a2d9dfd4b2498c134d
5,003
cpp
C++
src/Menge/MengeCore/BFSM/VelocityModifiers/VelModifierScale.cpp
flwmxd/Menge
7b7b4c171ab6e6d4a89cfb0d86269ce4541e1e7f
[ "Apache-2.0" ]
1
2021-08-20T10:57:16.000Z
2021-08-20T10:57:16.000Z
src/Menge/MengeCore/BFSM/VelocityModifiers/VelModifierScale.cpp
flwmxd/Menge
7b7b4c171ab6e6d4a89cfb0d86269ce4541e1e7f
[ "Apache-2.0" ]
null
null
null
src/Menge/MengeCore/BFSM/VelocityModifiers/VelModifierScale.cpp
flwmxd/Menge
7b7b4c171ab6e6d4a89cfb0d86269ce4541e1e7f
[ "Apache-2.0" ]
null
null
null
/* License Menge Copyright ?and trademark ?2012-14 University of North Carolina at Chapel Hill. All rights reserved. Permission to use, copy, modify, and distribute this software and its documentation for educational, research, and non-profit purposes, without fee, and without a written agreement is hereby granted, ...
39.085938
87
0.594643
[ "object" ]
2a7f031a12035d34c102e87d54e937aef5049402
10,156
cpp
C++
sp/src/game/client/hoe/c_npc_chumtoad.cpp
timbaker/heart-of-evil
4e4729b7ae2dd314fb3695fe8d52545c601d2106
[ "Unlicense" ]
2
2016-01-11T19:20:59.000Z
2022-03-06T14:19:37.000Z
sp/src/game/client/hoe/c_npc_chumtoad.cpp
timbaker/heart-of-evil
4e4729b7ae2dd314fb3695fe8d52545c601d2106
[ "Unlicense" ]
null
null
null
sp/src/game/client/hoe/c_npc_chumtoad.cpp
timbaker/heart-of-evil
4e4729b7ae2dd314fb3695fe8d52545c601d2106
[ "Unlicense" ]
null
null
null
#include "cbase.h" #ifdef CHUMTOAD_FLASHLIGHT_EFFECT #include "flashlighteffect.h" #else #include "dlight.h" #include "iefx.h" #endif #include "c_AI_BaseNPC.h" #include "beam_shared.h" #include "beamdraw.h" #include "iviewrender_beams.h" #include "dlight.h" // memdbgon must be the last include file in a .cpp file!!! #...
28.448179
113
0.647204
[ "vector" ]
2a80bb0b968c8f2794d9ab3a3ed5ecdcee776677
724
cpp
C++
leetcode.com/0518 Coin Change 2/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2020-08-20T11:02:49.000Z
2020-08-20T11:02:49.000Z
leetcode.com/0518 Coin Change 2/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
null
null
null
leetcode.com/0518 Coin Change 2/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2022-01-01T23:23:13.000Z
2022-01-01T23:23:13.000Z
#include <algorithm> #include <iostream> #include <unordered_map> #include <vector> using namespace std; // dfs, too slow: 744ms class Solution { private: unordered_map<int, unordered_map<int, int>> dp; int n; int dfs(int idx, int remain, vector<int>& coins) { if (remain == 0) return 1; if (idx == n) r...
24.133333
58
0.603591
[ "vector" ]
2a83231adf40a7fa93c90bba7f558b43b6099674
2,882
cc
C++
easyeye-compare/tests/easyeye_compare_main_test.cc
mike10004/easyeye
d9996cab2edcedbc1eb78ab6366866423c6be023
[ "MIT" ]
4
2017-01-27T16:38:53.000Z
2018-09-07T14:02:39.000Z
easyeye-compare/tests/easyeye_compare_main_test.cc
superchao1982/easyeye
d9996cab2edcedbc1eb78ab6366866423c6be023
[ "MIT" ]
1
2018-07-25T18:19:43.000Z
2018-07-25T18:19:43.000Z
easyeye-compare/tests/easyeye_compare_main_test.cc
superchao1982/easyeye
d9996cab2edcedbc1eb78ab6366866423c6be023
[ "MIT" ]
11
2015-02-20T05:28:22.000Z
2021-07-27T03:57:27.000Z
/* * File: main_test.cc * Author: mchaberski * * Created on Jul 16, 2013, 4:06:43 PM */ #include <stdlib.h> #include <iostream> #include <unistd.h> #include <cstring> #include <cstdio> #include <easyeye/common/mylog.h> #include "../src/easyeye_compare_main.h" #include <vector> #include <string> #include <sstre...
34.309524
193
0.65857
[ "vector" ]
2a8e01b112fe9ba0fc47ef646dd83a5e4920dcb2
3,141
cpp
C++
IRadiance/src/IRadiance/Raytracer/Materials/Phong.cpp
Nickelium/IRadiance
7e7040460852a6f9f977cf466e6dcecf44618ae7
[ "MIT" ]
null
null
null
IRadiance/src/IRadiance/Raytracer/Materials/Phong.cpp
Nickelium/IRadiance
7e7040460852a6f9f977cf466e6dcecf44618ae7
[ "MIT" ]
null
null
null
IRadiance/src/IRadiance/Raytracer/Materials/Phong.cpp
Nickelium/IRadiance
7e7040460852a6f9f977cf466e6dcecf44618ae7
[ "MIT" ]
null
null
null
#include "pch.h" #include "Phong.h" #include "IRadiance/Raytracer/BxDF/Lambertian.h" #include "IRadiance/Raytracer/BxDF/GlossySpecular.h" #include "IRadiance/Raytracer/Renderer.h" #include "IRadiance/Raytracer/Tracers/Tracer.h" namespace IRadiance { Phong::Phong() : ambientBRDF(new Lambertian), di...
22.76087
99
0.615091
[ "vector" ]
2a8f410520b055f51bdca03feb0fbc6a6932b1d9
12,942
cpp
C++
frameworks/core/components/text_field/text_field_component.cpp
chaoyangcui/ace_ace_engine
05ebe2d6d2674777f5dc64fd735088dcf1a42cd9
[ "Apache-2.0" ]
null
null
null
frameworks/core/components/text_field/text_field_component.cpp
chaoyangcui/ace_ace_engine
05ebe2d6d2674777f5dc64fd735088dcf1a42cd9
[ "Apache-2.0" ]
null
null
null
frameworks/core/components/text_field/text_field_component.cpp
chaoyangcui/ace_ace_engine
05ebe2d6d2674777f5dc64fd735088dcf1a42cd9
[ "Apache-2.0" ]
1
2021-09-13T12:07:42.000Z
2021-09-13T12:07:42.000Z
/* * Copyright (c) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
19.849693
97
0.771828
[ "vector" ]
2a96664678241c284f33c72951d32d88442cc69c
28,996
hpp
C++
wfa_lm_st.hpp
jeizenga/wfalm
523413af2824db88be9d7f52cfa37211eb920e83
[ "MIT" ]
16
2022-01-15T16:32:35.000Z
2022-02-08T08:25:10.000Z
wfa_lm_st.hpp
jeizenga/wfalm
523413af2824db88be9d7f52cfa37211eb920e83
[ "MIT" ]
3
2022-03-26T01:22:54.000Z
2022-03-31T19:27:01.000Z
wfa_lm_st.hpp
jeizenga/wfalm
523413af2824db88be9d7f52cfa37211eb920e83
[ "MIT" ]
null
null
null
// // wfa_lm_st.hpp // // MIT License // // Copyright (c) 2022 Jordan Eizenga // // 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 righ...
52.33935
132
0.581046
[ "vector" ]
2a9dd29bec48fa9cc3d240ed4adaac9548d52da7
53,795
cpp
C++
DebuggerCore/DebuggerDispatch.cpp
codajs/edge-diagnostics-adaptor
0beea6055435e041a249a30cf9fa97b3699428f5
[ "MIT" ]
611
2015-03-17T15:35:53.000Z
2019-05-06T01:46:03.000Z
DebuggerCore/DebuggerDispatch.cpp
codajs/edge-diagnostics-adaptor
0beea6055435e041a249a30cf9fa97b3699428f5
[ "MIT" ]
52
2015-03-17T19:23:01.000Z
2018-05-25T12:46:45.000Z
DebuggerCore/DebuggerDispatch.cpp
codajs/edge-diagnostics-adaptor
0beea6055435e041a249a30cf9fa97b3699428f5
[ "MIT" ]
52
2015-03-20T02:52:00.000Z
2019-04-16T00:53:52.000Z
// // Copyright (C) Microsoft. All rights reserved. // #include "stdafx.h" #include "DebuggerDispatch.h" #include "ScriptHelpers.h" CDebuggerDispatch::CDebuggerDispatch() : m_dispatchThreadId(::GetCurrentThreadId()), // We are always created on the dispatch thread m_eventHelper(this->GetUnknown()), m_has...
36.921757
205
0.647012
[ "object", "vector" ]
2a9e68d99252793ea60a102ac50c39efe96cedc2
1,961
hpp
C++
src/texture/core.hpp
IsraelEfraim/cpp-engine
039bcad97d55635a7a8f31d0d80ce59095ebb6cb
[ "MIT" ]
null
null
null
src/texture/core.hpp
IsraelEfraim/cpp-engine
039bcad97d55635a7a8f31d0d80ce59095ebb6cb
[ "MIT" ]
null
null
null
src/texture/core.hpp
IsraelEfraim/cpp-engine
039bcad97d55635a7a8f31d0d80ce59095ebb6cb
[ "MIT" ]
2
2021-03-15T18:51:32.000Z
2021-07-19T23:45:49.000Z
#ifndef CPP_ENGINE_TEXTURE_CORE_HPP #define CPP_ENGINE_TEXTURE_CORE_HPP #include <array> #include <cstdint> #include <SFML/Graphics/Image.hpp> #include "../gl.hpp" namespace engine { struct Texture { std::int32_t m_width; std::int32_t m_height; std::int64_t m_scaled_width; std::int64_t m_scaled_hei...
24.822785
118
0.64049
[ "vector" ]
2aa9742039bd78613d83c87a2ce7596f24b31c1e
752
hpp
C++
TGEngine/model/FBX_Loader.hpp
ThePixly/TGEngine
aff5d5f42c3094dcc37253f4a3f5e09db560a4eb
[ "Apache-2.0" ]
null
null
null
TGEngine/model/FBX_Loader.hpp
ThePixly/TGEngine
aff5d5f42c3094dcc37253f4a3f5e09db560a4eb
[ "Apache-2.0" ]
null
null
null
TGEngine/model/FBX_Loader.hpp
ThePixly/TGEngine
aff5d5f42c3094dcc37253f4a3f5e09db560a4eb
[ "Apache-2.0" ]
null
null
null
#pragma once #include "../Stdbase.hpp" #include "../pipeline/buffer/VertexBuffer.hpp" #include <fbxsdk.h> #include "../pipeline/buffer/Texturebuffer.hpp" #include "../Error.hpp" #ifdef DEBUG #define FBX_CHECK(sucess) ASSERT_NONE_NULL_DB(sucess, "Failed to load " << name << " with error " << importer->GetStatus().GetE...
24.258065
159
0.722074
[ "mesh", "vector" ]
2ab0602e25f61cb56416e34d18aa5be29c60946f
9,560
cc
C++
auth/cephx/CephxServiceHandler.cc
liucxer/ceph-msg
2e5c18c0c72253b283bfd3d0576033c0b515ce55
[ "Apache-2.0" ]
null
null
null
auth/cephx/CephxServiceHandler.cc
liucxer/ceph-msg
2e5c18c0c72253b283bfd3d0576033c0b515ce55
[ "Apache-2.0" ]
null
null
null
auth/cephx/CephxServiceHandler.cc
liucxer/ceph-msg
2e5c18c0c72253b283bfd3d0576033c0b515ce55
[ "Apache-2.0" ]
null
null
null
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2004-2009 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General ...
29.506173
104
0.646653
[ "vector" ]
2ab5fe0f865c517633e41a34140d58f49abb2593
2,844
cpp
C++
source/drivers/eeprom/eeprom24c02.cpp
lwIoT/lwIoT
07d2a3ba962aef508911e453268427b006c57701
[ "Apache-2.0" ]
1
2019-07-05T21:39:23.000Z
2019-07-05T21:39:23.000Z
source/drivers/eeprom/eeprom24c02.cpp
lwIoT/lwiot-core
07d2a3ba962aef508911e453268427b006c57701
[ "Apache-2.0" ]
null
null
null
source/drivers/eeprom/eeprom24c02.cpp
lwIoT/lwiot-core
07d2a3ba962aef508911e453268427b006c57701
[ "Apache-2.0" ]
null
null
null
/* * 24C02 EEPROM header. * * @author Michel Megens * @email dev@bietje.net */ #include <stdlib.h> #include <stdio.h> #include <lwiot.h> #include <lwiot/types.h> #include <lwiot/error.h> #include <lwiot/io/i2cbus.h> #include <lwiot/io/i2cmessage.h> #include <lwiot/device/eeprom24c02.h> #include ...
24.517241
100
0.644515
[ "vector" ]
2ab87438dafae429585433b0770f7ce3f78f18ad
4,144
cpp
C++
snippets/cpp/VS_Snippets_Wpf/CompositionTargetRenderingAnimations/CPP/app.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
2
2020-02-22T09:30:21.000Z
2021-08-02T23:44:31.000Z
snippets/cpp/VS_Snippets_Wpf/CompositionTargetRenderingAnimations/CPP/app.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
555
2019-09-23T22:22:58.000Z
2021-07-15T18:51:12.000Z
snippets/cpp/VS_Snippets_Wpf/CompositionTargetRenderingAnimations/CPP/app.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
3
2020-01-29T16:31:15.000Z
2021-08-24T07:00:15.000Z
//app.cpp file #include "FollowExample/FollowExample.h" #include "FrameIndependentFollowExample/FrameIndependentFollowExample.h" #include "ReusableFollowExample/ReusableFollowExample.h" #include "ParticleEffectExamples/ParticleEffectsExample.h" #include "SimpleExample/SimpleExample.h" namespace Microsoft { namespa...
33.419355
154
0.570463
[ "object" ]
2ab8b9bc74ba0bdb1c3558dffb3bcd71463e13e3
44,192
cpp
C++
Engine/source/T3D/aiPlayer.cpp
Torque3D-Games-Demos/CubistMT
67348a4c2f907b43da8b12d14a1046017480450b
[ "Unlicense" ]
6
2015-06-01T15:44:43.000Z
2021-01-07T06:50:21.000Z
Engine/source/T3D/aiPlayer.cpp
joticarroll/Torque3D
67348a4c2f907b43da8b12d14a1046017480450b
[ "Unlicense" ]
null
null
null
Engine/source/T3D/aiPlayer.cpp
joticarroll/Torque3D
67348a4c2f907b43da8b12d14a1046017480450b
[ "Unlicense" ]
null
null
null
//----------------------------------------------------------------------------- // Copyright (c) 2012 GarageGames, LLC // // 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 restrictio...
30.351648
138
0.620859
[ "object", "vector" ]
2abaae0681191dad892a4f8caaf1cdab294719a0
6,496
cpp
C++
src/component/trader_db.cpp
zhuzhenping/ft
c4be308ddd9c8358b2badbe4dff9f6c7d5b256cc
[ "MIT" ]
154
2020-05-14T14:34:06.000Z
2022-03-14T04:02:17.000Z
src/component/trader_db.cpp
zhuzhenping/ft
c4be308ddd9c8358b2badbe4dff9f6c7d5b256cc
[ "MIT" ]
22
2020-05-06T12:14:33.000Z
2021-06-02T08:50:30.000Z
src/component/trader_db.cpp
zhuzhenping/ft
c4be308ddd9c8358b2badbe4dff9f6c7d5b256cc
[ "MIT" ]
60
2020-05-18T02:49:11.000Z
2022-03-14T04:02:19.000Z
// Copyright [2020-present] <Copyright Kevin, kevin.lau.gd@gmail.com> #ifndef FT_INCLUDE_FT_UTILS_REDIS_H_ #define FT_INCLUDE_FT_UTILS_REDIS_H_ #include "ft/component/trader_db.h" #include <cassert> #include <memory> #include <string> #include <vector> #include "fmt/format.h" #include "ft/base/log.h" #include "hire...
25.47451
97
0.636392
[ "vector" ]
2abd3d8f803b4a20cd06db643e556da4987782cb
20,584
cpp
C++
Benchmarks/Applications/FaceDetection/FaceDetection.cpp
jlclemon/MEVBench
da7621b9eb1e92eec37a77dd1c7b69320cffcee1
[ "BSD-3-Clause" ]
8
2015-03-16T18:16:35.000Z
2020-10-30T06:35:31.000Z
Benchmarks/Applications/FaceDetection/FaceDetection.cpp
jlclemon/MEVBench
da7621b9eb1e92eec37a77dd1c7b69320cffcee1
[ "BSD-3-Clause" ]
null
null
null
Benchmarks/Applications/FaceDetection/FaceDetection.cpp
jlclemon/MEVBench
da7621b9eb1e92eec37a77dd1c7b69320cffcee1
[ "BSD-3-Clause" ]
3
2016-03-17T08:27:13.000Z
2020-10-30T06:46:50.000Z
/* * Copyright (c) 2006-2009 The Regents of The University of Michigan * 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 * not...
23.364359
338
0.719151
[ "vector" ]
2ac1264315ac13c51c1c39b971f238ddf632a9c4
1,775
cpp
C++
18.cpp
Alex-Amber/LeetCode
c8d09e86cee52648f84ca2afed8dd0f13e51ab58
[ "MIT" ]
null
null
null
18.cpp
Alex-Amber/LeetCode
c8d09e86cee52648f84ca2afed8dd0f13e51ab58
[ "MIT" ]
null
null
null
18.cpp
Alex-Amber/LeetCode
c8d09e86cee52648f84ca2afed8dd0f13e51ab58
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using ull = uint64_t; using ll = int64_t; using ld = long double; typedef vector<int> vi; typedef pair<int, int> ii; typedef vector<ii> vii; class Solution { public: vector< vector<int> > fourSum(vector<int>& nums, int target) { vector<vi> ret; int num = (int) nums...
29.583333
142
0.607887
[ "vector" ]
2ad27ab88049bc7df5df522323ff9ce7cb563fc5
9,861
cpp
C++
TAO/performance-tests/Protocols/receiver.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
36
2015-01-10T07:27:33.000Z
2022-03-07T03:32:08.000Z
TAO/performance-tests/Protocols/receiver.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
2
2018-08-13T07:30:51.000Z
2019-02-25T03:04:31.000Z
TAO/performance-tests/Protocols/receiver.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
38
2015-01-08T14:12:06.000Z
2022-01-19T08:33:00.000Z
// $Id: receiver.cpp 95746 2012-05-13 12:51:05Z johnnyw $ #include "ace/Get_Opt.h" #include "ace/OS_NS_stdio.h" #include "ace/OS_NS_string.h" #include "ace/OS_NS_unistd.h" #include "ace/Sample_History.h" #include "ace/High_Res_Timer.h" #include "ace/Stats.h" #include "ace/Throughput_Stats.h" #include "tao/debug.h" #in...
25.349614
111
0.578339
[ "object", "3d" ]
2ad5a2e1bda353975506ebf87330dba59094b501
3,113
hh
C++
lib/spot-2.8.1/spot/twaalgos/sum.hh
AlessandroCaste/SynkrisisJupyter
a9c2b21ec1ae7ac0c05ef5deebc63a369274650f
[ "Unlicense" ]
1
2018-03-02T14:29:57.000Z
2018-03-02T14:29:57.000Z
lib/spot-2.8.1/spot/twaalgos/sum.hh
AlessandroCaste/SynkrisisJupyter
a9c2b21ec1ae7ac0c05ef5deebc63a369274650f
[ "Unlicense" ]
null
null
null
lib/spot-2.8.1/spot/twaalgos/sum.hh
AlessandroCaste/SynkrisisJupyter
a9c2b21ec1ae7ac0c05ef5deebc63a369274650f
[ "Unlicense" ]
1
2015-06-05T12:42:07.000Z
2015-06-05T12:42:07.000Z
// -*- coding: utf-8 -*- // Copyright (C) 2017 Laboratoire de Recherche et // Développement de l'Epita (LRDE). // // This file is part of Spot, a model checking library. // // Spot is free software; you can redistribute it and/or modify it // under the terms of the GNU General Public License as published by // the Free...
39.405063
78
0.679409
[ "model" ]
2ad7f761ae185ecd3d7c188efd419c6336cff7c4
3,628
cpp
C++
Image Generator/Source/GloomhavenReco/Tile.cpp
ericdepotter/Gloomhaven-Monster-Recognizer
8ec29cb5c83583bd383bdb2626da8f35e840795c
[ "MIT" ]
null
null
null
Image Generator/Source/GloomhavenReco/Tile.cpp
ericdepotter/Gloomhaven-Monster-Recognizer
8ec29cb5c83583bd383bdb2626da8f35e840795c
[ "MIT" ]
null
null
null
Image Generator/Source/GloomhavenReco/Tile.cpp
ericdepotter/Gloomhaven-Monster-Recognizer
8ec29cb5c83583bd383bdb2626da8f35e840795c
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "SpawnLocation.h" #include "Monster.h" #include "Tile.h" #include "Kismet/KismetMathLibrary.h" #include "Math/UnrealMathUtility.h" #include "Engine.h" // Sets default values ATile::ATile() { // Set this actor to call Tick() ever...
26.874074
115
0.746692
[ "object" ]
2ad8b5b9ddc3203dacd2fe1703ca60ea33c903c7
530
cpp
C++
Problem101-150/p136_1.cpp
dingqunfei/LeetCode
c74a21ea56ee7b35308d2f387ef24ab29b031e24
[ "Apache-2.0" ]
null
null
null
Problem101-150/p136_1.cpp
dingqunfei/LeetCode
c74a21ea56ee7b35308d2f387ef24ab29b031e24
[ "Apache-2.0" ]
null
null
null
Problem101-150/p136_1.cpp
dingqunfei/LeetCode
c74a21ea56ee7b35308d2f387ef24ab29b031e24
[ "Apache-2.0" ]
null
null
null
/** * @file p136_1.cpp * @brief * @author dingqunfei (dqflying@gmail.com) * @version 1.0 * @date 2021-04-30 * * @copyright Copyright (c) 2021 DQFLYING * * @par : * * * Date : 2021-04-30 * Version : 1.0 * Author : dqflying * Lisence : * Description : * * * * */ class...
15.142857
44
0.471698
[ "vector" ]
2adc642537ca6ecedb4edd94ba785facb6e26710
1,397
cc
C++
src/FVPM/CircularQuadRule.cc
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
1
2020-10-21T01:56:55.000Z
2020-10-21T01:56:55.000Z
src/FVPM/CircularQuadRule.cc
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
null
null
null
src/FVPM/CircularQuadRule.cc
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
null
null
null
//---------------------------------Spheral++----------------------------------// // CircularQuadRule // // Created by JNJ, Sun Jul 11 12:50:51 PDT 2010 //----------------------------------------------------------------------------// #include "CircularQuadRule.hh" namespace Spheral { //-------------------------------...
29.723404
80
0.413744
[ "vector" ]
2add2dc54b23f1573a3351e4f8a178373bee9aa1
24,546
cpp
C++
2019/18-2/src/main.cpp
rhymu8354/advent-of-code
f3f08fbadd1c92c2c342a518dc07be988ed78a53
[ "MIT" ]
10
2020-01-02T03:17:29.000Z
2021-05-14T11:35:40.000Z
2019/18-2/src/main.cpp
rhymu8354/advent-of-code
f3f08fbadd1c92c2c342a518dc07be988ed78a53
[ "MIT" ]
1
2019-12-13T22:49:45.000Z
2019-12-13T22:51:57.000Z
2019/18-2/src/main.cpp
rhymu8354/advent-of-code
f3f08fbadd1c92c2c342a518dc07be988ed78a53
[ "MIT" ]
1
2020-01-10T21:39:16.000Z
2020-01-10T21:39:16.000Z
/** * @file main.cpp * * This module holds the main() function, which is the entrypoint * to the program. * * © 2019 by Richard Walters */ #include <algorithm> #include <fstream> #include <functional> #include <inttypes.h> #include <limits> #include <map> #include <memory> #include <queue> #include <set> #inclu...
30.080882
124
0.481382
[ "object", "vector" ]
2aede148aa97820b96337c62215ce32958996ed3
2,395
cpp
C++
tests/bytes.cpp
jmalmari/hid-rd
20dcabbd80fe6b7ac9e9ec4e1478a77f839939cb
[ "MIT" ]
1
2017-11-28T21:46:53.000Z
2017-11-28T21:46:53.000Z
tests/bytes.cpp
jmalmari/hid-rd
20dcabbd80fe6b7ac9e9ec4e1478a77f839939cb
[ "MIT" ]
null
null
null
tests/bytes.cpp
jmalmari/hid-rd
20dcabbd80fe6b7ac9e9ec4e1478a77f839939cb
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <cstring> #include "hidrd/bytes.hpp" using hidrd::bytes::Bytes; using hidrd::bytes::Byte; using hidrd::bytes::ByteType; typedef Bytes< Byte<'a'>, Byte<'b'>, Byte<'c'>, Byte<'d'> > Bytes1; typedef Bytes< Bytes<Byte<'a'>>, ...
24.947917
86
0.51858
[ "vector" ]
6307ffd1265da9502317782176c81d3d5e7690c2
15,342
cpp
C++
Game/Source/Scene.cpp
TheGewehr/D-Platformer
a6b5ac312f64a989bf1932d62a0967829f07778c
[ "MIT" ]
null
null
null
Game/Source/Scene.cpp
TheGewehr/D-Platformer
a6b5ac312f64a989bf1932d62a0967829f07778c
[ "MIT" ]
null
null
null
Game/Source/Scene.cpp
TheGewehr/D-Platformer
a6b5ac312f64a989bf1932d62a0967829f07778c
[ "MIT" ]
2
2021-12-14T12:22:06.000Z
2021-12-14T12:25:56.000Z
#include "App.h" #include "Input.h" #include "Textures.h" #include "Audio.h" #include "Render.h" #include "Physics.h" #include "Window.h" #include "Scene.h" #include "Player.h" #include "Physics.h" #include "Map.h" #include "PathFinding.h" #include "WalkingEnemy.h" #include "FlyingEnemy.h" #include "EntityManager.h" #i...
22.495601
159
0.665037
[ "render" ]
debd3f342040928eadc6907fecaf61d36793bc28
2,640
cpp
C++
src/RodinExternal/MMG/Mesh3D.cpp
carlos-brito-pacheco/rodin
f2c946b290ebb2487a21c617de01be91a0692c72
[ "BSL-1.0" ]
1
2021-12-02T19:04:38.000Z
2021-12-02T19:04:38.000Z
src/RodinExternal/MMG/Mesh3D.cpp
cbritopacheco/rodin
f2c946b290ebb2487a21c617de01be91a0692c72
[ "BSL-1.0" ]
null
null
null
src/RodinExternal/MMG/Mesh3D.cpp
cbritopacheco/rodin
f2c946b290ebb2487a21c617de01be91a0692c72
[ "BSL-1.0" ]
null
null
null
/* * Copyright Carlos BRITO PACHECO 2021 - 2022. * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE or copy at * https://www.boost.org/LICENSE_1_0.txt) */ #include <limits> #include <cstring> #include <fstream> #include "Rodin/Alert/Exception.h" #...
22.372881
80
0.572348
[ "mesh" ]
debf0729bbc7f53bcb7c494fc41f22a045ffee78
99,739
cc
C++
alljoyn/alljoyn_core/router/ns/IpNsProtocol.cc
WigWagCo/alljoyn
1b148edd934882ca32fd319af86a5a927f9d35a7
[ "0BSD" ]
null
null
null
alljoyn/alljoyn_core/router/ns/IpNsProtocol.cc
WigWagCo/alljoyn
1b148edd934882ca32fd319af86a5a927f9d35a7
[ "0BSD" ]
null
null
null
alljoyn/alljoyn_core/router/ns/IpNsProtocol.cc
WigWagCo/alljoyn
1b148edd934882ca32fd319af86a5a927f9d35a7
[ "0BSD" ]
null
null
null
/** * @file * The simple name service protocol implementation */ /****************************************************************************** * Copyright (c) 2010-2014, AllSeen Alliance. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or ...
27.154642
223
0.575983
[ "object", "vector" ]
ded0d518e72c2dbebbda30a795e68284ee6b674b
8,992
hxx
C++
src/Point.hxx
kb1vc/GeoProfII
d943d5777017af72b56ab8440d399e98b8d54e54
[ "BSD-2-Clause" ]
null
null
null
src/Point.hxx
kb1vc/GeoProfII
d943d5777017af72b56ab8440d399e98b8d54e54
[ "BSD-2-Clause" ]
null
null
null
src/Point.hxx
kb1vc/GeoProfII
d943d5777017af72b56ab8440d399e98b8d54e54
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (c) 2019 Matthew H. Reilly (kb1vc) 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 conditions and...
32.698182
117
0.65714
[ "object" ]
ded98167f12c7e479b19aef1eb0d60b42355b792
6,851
cpp
C++
C++/src/bio/exes/main-pssm-calculate-normalisations.cpp
JohnReid/biopsy
1eeb714ba5b53f2ecf776d865d32e2078cbc0338
[ "MIT" ]
null
null
null
C++/src/bio/exes/main-pssm-calculate-normalisations.cpp
JohnReid/biopsy
1eeb714ba5b53f2ecf776d865d32e2078cbc0338
[ "MIT" ]
null
null
null
C++/src/bio/exes/main-pssm-calculate-normalisations.cpp
JohnReid/biopsy
1eeb714ba5b53f2ecf776d865d32e2078cbc0338
[ "MIT" ]
null
null
null
/** @file Copyright John Reid 2007, 2013 */ #include "bio-pch.h" #include <bio/application.h> #include <bio/hmm_gen_sequence.h> #include <bio/hmm_dna.h> #include <bio/options.h> #include <bio/random.h> #include <bio/biobase_filter.h> #include <bio/environment.h> #include <bio/biobase_likelihoods.h> #include <bio/s...
26.972441
127
0.704423
[ "vector", "model" ]
dedea8a2f1fdf8de97d9cbbeaa53e78d8c421aae
10,002
cpp
C++
src/leetcodeChallenge/BackTracking.cpp
jlyharia/Algorithm
5afc78013cf2e46f21e512492bf18d96400afd0c
[ "MIT" ]
null
null
null
src/leetcodeChallenge/BackTracking.cpp
jlyharia/Algorithm
5afc78013cf2e46f21e512492bf18d96400afd0c
[ "MIT" ]
null
null
null
src/leetcodeChallenge/BackTracking.cpp
jlyharia/Algorithm
5afc78013cf2e46f21e512492bf18d96400afd0c
[ "MIT" ]
null
null
null
// // Created by Yihung Lee on 2018-12-01. // #include "BackTracking.hpp" vector<string> BackTracking::letterCombinations(string digits) { if (digits.empty()) return {}; const unordered_map<char, string> map{ {'2', "abc"}, {'3', "def"}, {'4', "ghi"}, {'5', "jkl"...
30.493902
107
0.492901
[ "vector" ]
deeb51c4dd4150a65164b684b5331a93c58bee87
4,133
cpp
C++
plugins/community/repos/DHE-Modules/plugin/src/tapers.cpp
guillaume-plantevin/VeeSeeVSTRack
76fafc8e721613669d6f5ae82a0f58ce923a91e1
[ "Zlib", "BSD-3-Clause" ]
233
2018-07-02T16:49:36.000Z
2022-02-27T21:45:39.000Z
plugins/community/repos/DHE-Modules/plugin/src/tapers.cpp
guillaume-plantevin/VeeSeeVSTRack
76fafc8e721613669d6f5ae82a0f58ce923a91e1
[ "Zlib", "BSD-3-Clause" ]
24
2018-07-09T11:32:15.000Z
2022-01-07T01:45:43.000Z
plugins/community/repos/DHE-Modules/plugin/src/tapers.cpp
guillaume-plantevin/VeeSeeVSTRack
76fafc8e721613669d6f5ae82a0f58ce923a91e1
[ "Zlib", "BSD-3-Clause" ]
24
2018-07-14T21:55:30.000Z
2021-05-04T04:20:34.000Z
#include "dhe-modules.h" #include "display/controls.h" #include "display/panel.h" #include "util/rotation.h" #include "util/sigmoid.h" #include "util/signal.h" namespace DHE { class Tapers : public rack::Module { public: Tapers() : Module{PARAMETER_COUNT, INPUT_COUNT, OUTPUT_COUNT} {} void step() override { ...
31.310606
81
0.681345
[ "model" ]
def48b75dfa3c2e6fb31891e0f08d72441727b28
749
cpp
C++
code/shopaholic.cpp
matthewReff/Kattis-Problems
848628af630c990fb91bde6256a77afad6a3f5f6
[ "MIT" ]
8
2020-02-21T22:21:01.000Z
2022-02-16T05:30:54.000Z
code/shopaholic.cpp
matthewReff/Kattis-Problems
848628af630c990fb91bde6256a77afad6a3f5f6
[ "MIT" ]
null
null
null
code/shopaholic.cpp
matthewReff/Kattis-Problems
848628af630c990fb91bde6256a77afad6a3f5f6
[ "MIT" ]
3
2020-08-05T05:42:35.000Z
2021-08-30T05:39:51.000Z
#define _USE_MATH_DEFINES #include <iostream> #include <stdio.h> #include <cmath> #include <iomanip> #include <vector> #include <string> #include <algorithm> #include <unordered_set> #include <unordered_map> #include <ctype.h> #include <queue> #include <map> #include <set> typedef long long ll; typedef unsigned long l...
15.285714
41
0.594126
[ "vector" ]
def6ad896a289259405ddca085b6cdd7baeb9eaa
1,302
cpp
C++
Matrix/LargestRectangleContainingAllOnes/LargestRectangleContainingAllOnes.cpp
PrachieNaik/DSA
083522bb3c8a0694adec1f2856d4d4cd0fb51722
[ "MIT" ]
null
null
null
Matrix/LargestRectangleContainingAllOnes/LargestRectangleContainingAllOnes.cpp
PrachieNaik/DSA
083522bb3c8a0694adec1f2856d4d4cd0fb51722
[ "MIT" ]
null
null
null
Matrix/LargestRectangleContainingAllOnes/LargestRectangleContainingAllOnes.cpp
PrachieNaik/DSA
083522bb3c8a0694adec1f2856d4d4cd0fb51722
[ "MIT" ]
null
null
null
/* Problem statement: Given a 2D binary matrix filled with 0’s and 1’s, find the largest rectangle containing all ones and return its area. Bonus if you can solve it in O(n^2) or less. Example : A : [ 1 1 1 0 1 1 1 0 0 ] Output : 4 As the max area rectangle is created by the 2x2 rectangle cre...
25.529412
136
0.459293
[ "vector" ]
defced9cde068c07654ed502b0e410f08ef74449
4,606
cpp
C++
src/plugins/lmp/biopropproxy.cpp
MellonQ/leechcraft
71cbb238d2dade56b3865278a6a8e6a58c217fc5
[ "BSL-1.0" ]
null
null
null
src/plugins/lmp/biopropproxy.cpp
MellonQ/leechcraft
71cbb238d2dade56b3865278a6a8e6a58c217fc5
[ "BSL-1.0" ]
null
null
null
src/plugins/lmp/biopropproxy.cpp
MellonQ/leechcraft
71cbb238d2dade56b3865278a6a8e6a58c217fc5
[ "BSL-1.0" ]
null
null
null
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Boost Software License - Version 1.0 - August 17th, 2003 * * Permission is hereby granted, free of charge, to any person or organiz...
30.706667
80
0.701911
[ "object", "transform" ]
72098339b4c484616edc10b4f9b629d17e19bdaa
2,558
cpp
C++
extension/sv_helper/SGA/Util/Contig.cpp
GenePlus/ncsv
f0f426ae4b64de86eee88518e3a1daf5718ce407
[ "Apache-2.0", "MIT" ]
1
2020-09-30T09:31:20.000Z
2020-09-30T09:31:20.000Z
extension/sv_helper/SGA/Util/Contig.cpp
GenePlus/ncsv
f0f426ae4b64de86eee88518e3a1daf5718ce407
[ "Apache-2.0", "MIT" ]
null
null
null
extension/sv_helper/SGA/Util/Contig.cpp
GenePlus/ncsv
f0f426ae4b64de86eee88518e3a1daf5718ce407
[ "Apache-2.0", "MIT" ]
null
null
null
#include "Contig.h" // // Statics // static const char* IDFIELD = "ID"; static const char* LENFIELD = "LN"; static const char* COVFIELD = "CV"; static const char* SEQFIELD = "SQ"; static const char* UNQFIELD = "UN"; static const char* ANTFIELD = "AN"; Contig::Contig() : m_length(0), m_coverage...
23.254545
91
0.608679
[ "vector" ]
720dd79bdb0181184c6a47353ffcf393f50858b9
76,238
cpp
C++
Common_3/OS/Image/Image.cpp
ValtoLibraries/The-Forge
56edfc8828bdb31da60e3386478334d8f95c2b8e
[ "Apache-2.0" ]
null
null
null
Common_3/OS/Image/Image.cpp
ValtoLibraries/The-Forge
56edfc8828bdb31da60e3386478334d8f95c2b8e
[ "Apache-2.0" ]
null
null
null
Common_3/OS/Image/Image.cpp
ValtoLibraries/The-Forge
56edfc8828bdb31da60e3386478334d8f95c2b8e
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2018-2019 Confetti Interactive Inc. * * This file is part of The-Forge * (see https://github.com/ConfettiFX/The-Forge). * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional inf...
32.127265
170
0.712046
[ "vector" ]
720e593ab0d59a89d016955ffa08ebc577a7ca15
13,423
cc
C++
project2/solution/exp_converter.cc
natianxing/CompilerProject
7999e4d94c22716f8a4c7c4448046db0eb628adc
[ "MIT" ]
null
null
null
project2/solution/exp_converter.cc
natianxing/CompilerProject
7999e4d94c22716f8a4c7c4448046db0eb628adc
[ "MIT" ]
null
null
null
project2/solution/exp_converter.cc
natianxing/CompilerProject
7999e4d94c22716f8a4c7c4448046db0eb628adc
[ "MIT" ]
null
null
null
// // Created by luoyuchu on 2020/6/20. // #include "exp_converter.h" #include <bits/stdc++.h> #include <json/json.h> using namespace std; int flagfirst=0; class myNode { public: enum NODETYPE {OP, LEAF, CONST, TREF, SREF}; public: NODETYPE type; char op; string id, expText; ...
30.300226
113
0.399687
[ "vector" ]
7213f9fa28055993143fbacf396e5264f78200f3
2,066
hpp
C++
include/lug/Graphics/GltfLoader.hpp
Lugdunum3D/Lugdunum3D
b6d6907d034fdba1ffc278b96598eba1d860f0d4
[ "MIT" ]
275
2016-10-08T15:33:17.000Z
2022-03-30T06:11:56.000Z
include/lug/Graphics/GltfLoader.hpp
Lugdunum3D/Lugdunum3D
b6d6907d034fdba1ffc278b96598eba1d860f0d4
[ "MIT" ]
24
2016-09-29T20:51:20.000Z
2018-05-09T21:41:36.000Z
include/lug/Graphics/GltfLoader.hpp
Lugdunum3D/Lugdunum3D
b6d6907d034fdba1ffc278b96598eba1d860f0d4
[ "MIT" ]
37
2017-02-25T05:03:48.000Z
2021-05-10T19:06:29.000Z
#pragma once #include <vector> #include <gltf2/glTF2.hpp> #include <lug/Graphics/Export.hpp> #include <lug/Graphics/Loader.hpp> #include <lug/Graphics/Render/Material.hpp> #include <lug/Graphics/Render/Mesh.hpp> #include <lug/Graphics/Render/Texture.hpp> #include <lug/Graphics/Scene/Node.hpp> namespace lug { namesp...
35.016949
159
0.726041
[ "mesh", "render", "vector" ]
7214ba5c0a9d5850f776b5496bec308f0643d974
2,779
cpp
C++
MeetingCodes/Meeting12/ScaleBigScalarField.cpp
SubhoB/spectre-cpp-basics
0f581b879e83e88d1491b31e22aa447419d471a3
[ "MIT" ]
15
2020-06-01T19:48:57.000Z
2021-11-01T07:33:42.000Z
MeetingCodes/Meeting12/ScaleBigScalarField.cpp
SubhoB/spectre-cpp-basics
0f581b879e83e88d1491b31e22aa447419d471a3
[ "MIT" ]
1
2020-06-02T02:43:41.000Z
2020-06-02T03:55:50.000Z
MeetingCodes/Meeting12/ScaleBigScalarField.cpp
SubhoB/spectre-cpp-basics
0f581b879e83e88d1491b31e22aa447419d471a3
[ "MIT" ]
6
2020-06-23T22:36:56.000Z
2021-06-14T14:46:49.000Z
#include <chrono> #include <cstddef> #include <iostream> #include <numeric> #include <vector> class ScalarField { public: std::vector<double> x{}; size_t size = 0; ScalarField(const size_t initial_size) noexcept { x.resize(initial_size); size = initial_size; } void resize(const size_t new_size) no...
29.88172
80
0.579345
[ "vector" ]
721a995643d2a4efa311d1edf50708e2aa5864ab
1,691
cpp
C++
ASN 3/Plane.cpp
Oseous/cs3388
1b382d6cfb392d17bc38accb7677a56558fc2592
[ "MIT" ]
1
2021-06-20T06:46:09.000Z
2021-06-20T06:46:09.000Z
ASN 3/Plane.cpp
Oseous/cs3388
1b382d6cfb392d17bc38accb7677a56558fc2592
[ "MIT" ]
null
null
null
ASN 3/Plane.cpp
Oseous/cs3388
1b382d6cfb392d17bc38accb7677a56558fc2592
[ "MIT" ]
1
2020-03-02T02:31:00.000Z
2020-03-02T02:31:00.000Z
/* Plane.cpp CS3388 Assignment 3 By: Andrew Simpson SN: 250 633 280 EM: asimps53@uwo.ca Plane is an implementation of the GenericObject super class. Obviously, it's a plane. This class implements the specific intersect and normal functions for a plane, and also adds its own constructor to allow dif...
21.679487
81
0.664695
[ "transform" ]
7229f9a4cd30acd66ee7016adb65686d51878ce1
964
cpp
C++
src/quasicrystals_pointset.cpp
reneruhr/quacry
cb2f3448b348a26dd8dec018285e7bf030b4e395
[ "MIT" ]
null
null
null
src/quasicrystals_pointset.cpp
reneruhr/quacry
cb2f3448b348a26dd8dec018285e7bf030b4e395
[ "MIT" ]
null
null
null
src/quasicrystals_pointset.cpp
reneruhr/quacry
cb2f3448b348a26dd8dec018285e7bf030b4e395
[ "MIT" ]
null
null
null
#include "quasicrystals_pointset.h" namespace quacry{ void PointSet4::Init() { MakeSample(); std::string name = "PointSet"; auto layout = new kipod::GLRenderLayout; layout->SetupPointSet(&sample_); AddLayout(name, std::move(*layout)); } void PointSet4::Draw() { RenderObject::Draw("PointSet");...
21.909091
49
0.623444
[ "vector" ]
722c58180398aa1b2170c7999eee19690dc3236e
8,971
cpp
C++
MathLib/Source/Transform.cpp
jkorn2324/jkornEngine
5822f2a311ed62e6ca495919872f0f436d300733
[ "MIT" ]
null
null
null
MathLib/Source/Transform.cpp
jkorn2324/jkornEngine
5822f2a311ed62e6ca495919872f0f436d300733
[ "MIT" ]
null
null
null
MathLib/Source/Transform.cpp
jkorn2324/jkornEngine
5822f2a311ed62e6ca495919872f0f436d300733
[ "MIT" ]
null
null
null
#include "MathPCH.h" #include "Transform.h" #include "Math.h" namespace MathLib { using Mat3x3 = MathLib::Matrix3x3; using Mat4x4 = MathLib::Matrix4x4; Transform2D::Transform2D() : m_position(Vector2::Zero), m_rotation(0.0f), m_scale(1.0f, 1.0f), m_parentTransformMatrix(Matrix4x4::Identity) { } Transfo...
25.631429
98
0.743284
[ "transform" ]
72308fefe5dc00c253a2a840ee0ea62b1f34e700
1,300
cpp
C++
competitive_programming/programming_contests/uri/contest.cpp
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
205
2018-12-01T17:49:49.000Z
2021-12-22T07:02:27.000Z
competitive_programming/programming_contests/uri/contest.cpp
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
2
2020-01-01T16:34:29.000Z
2020-04-26T19:11:13.000Z
competitive_programming/programming_contests/uri/contest.cpp
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
50
2018-11-28T20:51:36.000Z
2021-11-29T04:08:25.000Z
// https://www.urionlinejudge.com.br/judge/en/problems/view/1514 #include <iostream> #include <vector> using namespace std; int main() { int n1, n2, x; cin >> n1 >> n2; while (n1 + n2 != 0) { vector< vector<int> > matrix; vector<int> v; int num_problems = 0, solved; bool nobody_solved_all_problems = t...
22.807018
64
0.612308
[ "vector" ]
cf0de4839e8f7c6f0e20198c96a29c6dd293f8d5
772
cpp
C++
cpp/trees/0105-construct-binary-tree-from-preorder-and-inorder-traversal.cpp
karolinyoliveira/leetcode-ebbinghaus-practice
5149e06f1c187b87e280fd58541c11d8ab8626d3
[ "MIT" ]
2
2021-05-28T03:41:39.000Z
2021-10-19T16:53:16.000Z
cpp/trees/0105-construct-binary-tree-from-preorder-and-inorder-traversal.cpp
karolinyoliveira/leetcode-ebbinghaus-practice
5149e06f1c187b87e280fd58541c11d8ab8626d3
[ "MIT" ]
null
null
null
cpp/trees/0105-construct-binary-tree-from-preorder-and-inorder-traversal.cpp
karolinyoliveira/leetcode-ebbinghaus-practice
5149e06f1c187b87e280fd58541c11d8ab8626d3
[ "MIT" ]
null
null
null
#include <algorithm> #include <vector> #include <structures.h> using namespace std; TreeNode* buildTree(vector<int>& preorder, vector<int>& inorder) { return build(preorder, inorder, 0, inorder.size() - 1); } TreeNode* build(vector<int>& preorder, vector<int>& inorder, int start, int end) { if (start > end)...
28.592593
96
0.623057
[ "vector" ]
cf1aebbdc2299488030cd3f99837dfc5f1d2182d
25,234
cc
C++
opticalflow/src/extensions/matrixlstm_helpers.cc
96lives/matrixlstm
83332111a459dd3fbca944898fffd935faac8820
[ "Apache-2.0" ]
19
2020-08-11T09:18:28.000Z
2022-03-10T13:53:13.000Z
N-ROD/evrepr/thirdparty/matrixlstm/opticalflow/src/extensions/matrixlstm_helpers.cc
Chiaraplizz/home
18cc93a795ce132e05b886aa34565a102915b1c6
[ "MIT" ]
4
2021-01-04T11:55:50.000Z
2021-09-18T14:00:50.000Z
N-ROD/evrepr/thirdparty/matrixlstm/opticalflow/src/extensions/matrixlstm_helpers.cc
Chiaraplizz/home
18cc93a795ce132e05b886aa34565a102915b1c6
[ "MIT" ]
4
2020-09-03T07:12:55.000Z
2021-08-19T11:37:55.000Z
#include "tensorflow/core/framework/op.h" #include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/framework/tensor_types.h" #include "tensorflow/core/framework/tensor_shape.h" #include "tensorflow/core/framework/shape_inference.h" using namespace tensorflow; // NOLINT(build/namespaces) using shape_...
44.038394
95
0.553816
[ "shape" ]
cf2afb88635f62e4fd96d31ce81247a432000ec6
10,418
cpp
C++
src/CPU/10_ts_decomposition/src/main.cpp
csrhau/DiffusionOptimisationStudy
77fb718123d18c8358ccab4e958382b760901d55
[ "MIT" ]
null
null
null
src/CPU/10_ts_decomposition/src/main.cpp
csrhau/DiffusionOptimisationStudy
77fb718123d18c8358ccab4e958382b760901d55
[ "MIT" ]
null
null
null
src/CPU/10_ts_decomposition/src/main.cpp
csrhau/DiffusionOptimisationStudy
77fb718123d18c8358ccab4e958382b760901d55
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <chrono> #include <numeric> #define TIMESTEPS 600 #define STENCIL_RADIUS 1 #define IMAX 800 #define JMAX 800 #define KMAX 800 #define HOTCORNER_IMAX 25 #define HOTCORNER_JMAX 25 #define HOTCORNER_KMAX 25 #define INDEX3D(i, j, k) ((((k) * (JMAX) * (IMAX)) + ((j) * (IM...
41.839357
192
0.498752
[ "vector" ]
cf2ef8ba667b232c559e0cd5df73a13ec072c316
855
hpp
C++
src/dep_win/watcher.hpp
degarashi/sprinkler
afc6301ae2c7185f514148100da63dcef94d7f00
[ "MIT" ]
null
null
null
src/dep_win/watcher.hpp
degarashi/sprinkler
afc6301ae2c7185f514148100da63dcef94d7f00
[ "MIT" ]
null
null
null
src/dep_win/watcher.hpp
degarashi/sprinkler
afc6301ae2c7185f514148100da63dcef94d7f00
[ "MIT" ]
null
null
null
#pragma once #include "../domain.hpp" #include <QRect> #include <QObject> #include <unordered_set> #include <windows.h> #include <QModelIndex> Q_DECLARE_METATYPE(HWND) class QHBoxLayout; class QStandardItemModel; namespace dg { class Watcher : public QObject { Q_OBJECT public: Watcher(QObject* parent=nullpt...
20.853659
57
0.726316
[ "model" ]
cf332ce983b7b7d2eeb61a67f3495eb75f7c1101
3,068
cc
C++
leetcode/17_4sum.cc
norlanliu/algorithm
1684db2631f259b4de567164b3ee866351e5b1b6
[ "MIT" ]
null
null
null
leetcode/17_4sum.cc
norlanliu/algorithm
1684db2631f259b4de567164b3ee866351e5b1b6
[ "MIT" ]
null
null
null
leetcode/17_4sum.cc
norlanliu/algorithm
1684db2631f259b4de567164b3ee866351e5b1b6
[ "MIT" ]
null
null
null
/* * ===================================================================================== * * Filename: 15_3sum.cc * * Description: * * Version: 1.0 * Created: 03/11/2015 11:03:41 AM * Revision: none * Compiler: gcc * * Author: (Qi Liu), liuqi.edward@gmai...
20.453333
88
0.440678
[ "vector" ]
cf33323e6113026c037803879811c129feb66263
12,112
cpp
C++
gilbreth_gazebo/src/conveyor_spawner.cpp
ben-greenberg/gilbreth
887d22916ed9ca68f9d907cec77fbe81b95e8b6f
[ "BSD-3-Clause" ]
null
null
null
gilbreth_gazebo/src/conveyor_spawner.cpp
ben-greenberg/gilbreth
887d22916ed9ca68f9d907cec77fbe81b95e8b6f
[ "BSD-3-Clause" ]
null
null
null
gilbreth_gazebo/src/conveyor_spawner.cpp
ben-greenberg/gilbreth
887d22916ed9ca68f9d907cec77fbe81b95e8b6f
[ "BSD-3-Clause" ]
null
null
null
#include <boost/filesystem.hpp> #include <gazebo_msgs/SpawnModel.h> #include <gazebo_msgs/SetModelState.h> #include "gilbreth_gazebo/conveyor_spawner.h" #include "gilbreth_gazebo/urdf_creator.h" #include <random> #include <ros/package.h> #include <XmlRpcException.h> #include <tf/transform_datatypes.h> #include <boost/f...
31.957784
125
0.688491
[ "object", "vector", "model" ]
cf35213a7407843fdca1605bce77d938c52e5bc2
2,760
hpp
C++
examples/session_view.hpp
kamyu104/libtorrent-1
87ec445943324a243be2b9499b74dc0983a42af9
[ "BSL-1.0", "BSD-3-Clause" ]
9
2019-11-05T16:47:12.000Z
2022-03-05T15:21:25.000Z
examples/session_view.hpp
kamyu104/libtorrent-1
87ec445943324a243be2b9499b74dc0983a42af9
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
examples/session_view.hpp
kamyu104/libtorrent-1
87ec445943324a243be2b9499b74dc0983a42af9
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2014, 2016-2020, Arvid Norberg Copyright (c) 2016, Alden Torres All rights reserved. You may use, distribute and modify this code under the terms of the BSD license, see LICENSE file. */ #ifndef SESSION_VIEW_HPP_ #define SESSION_VIEW_HPP_ #include <cstdint> #include <vector> #include "libtorrent/s...
34.074074
100
0.776087
[ "render", "vector" ]
cf374aa940884ed8dc187db49ab2794c46c27a29
2,264
cpp
C++
a2oj/Graphs/trafficn.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
a2oj/Graphs/trafficn.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
a2oj/Graphs/trafficn.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
// Created by Tanuj Jain #include<bits/stdc++.h> #include<ext/pb_ds/assoc_container.hpp> #include<ext/pb_ds/tree_policy.hpp> using namespace std; using namespace __gnu_pbds; #define pb push_back #define mp make_pair typedef long long ll; typedef pair<int,int> pii; template<class T> using oset=tree<T, null_typ...
20.962963
106
0.603799
[ "vector" ]
cf398aa039cbd8c6da8152cabfe477848e465225
285
cpp
C++
GPS_Berkley/src/gps_agent_pkg/src/util.cpp
bvsk35/Hopping_Bot
5a8c7d4fdb4ae0a5ddf96002deb3c9ba1116c216
[ "MIT" ]
null
null
null
GPS_Berkley/src/gps_agent_pkg/src/util.cpp
bvsk35/Hopping_Bot
5a8c7d4fdb4ae0a5ddf96002deb3c9ba1116c216
[ "MIT" ]
null
null
null
GPS_Berkley/src/gps_agent_pkg/src/util.cpp
bvsk35/Hopping_Bot
5a8c7d4fdb4ae0a5ddf96002deb3c9ba1116c216
[ "MIT" ]
1
2020-03-02T07:27:04.000Z
2020-03-02T07:27:04.000Z
#include "gps_agent_pkg/util.h" #include <sstream> namespace util { void split(const std::string &s, char delim, std::vector<std::string> &elems) { std::stringstream ss(s); std::string item; while (std::getline(ss, item, delim)) { elems.push_back(item); } } }
19
77
0.642105
[ "vector" ]
cf3a4f64657174614b3c734586cef1edfeaf87c2
3,028
cpp
C++
test/TestMariaDB.cpp
DatabasesWorks/qtl-database-library-for-MySQL-SQLite-and-ODBC
cb88ba251b4e7e4e28ba0f82dfb1963b585a2702
[ "Apache-2.0" ]
157
2017-01-24T03:38:50.000Z
2022-03-28T03:17:20.000Z
test/TestMariaDB.cpp
DatabasesWorks/qtl-database-library-for-MySQL-SQLite-and-ODBC
cb88ba251b4e7e4e28ba0f82dfb1963b585a2702
[ "Apache-2.0" ]
16
2019-02-12T09:27:17.000Z
2022-03-15T06:20:12.000Z
test/TestMariaDB.cpp
DatabasesWorks/qtl-database-library-for-MySQL-SQLite-and-ODBC
cb88ba251b4e7e4e28ba0f82dfb1963b585a2702
[ "Apache-2.0" ]
63
2017-01-24T05:35:05.000Z
2022-03-18T04:26:49.000Z
#include "stdafx.h" #include "../include/qtl_mysql.hpp" #include <vector> #include <thread> #include <system_error> #include <time.h> #include <limits.h> #include "../include/qtl_mysql_pool.hpp" #include "../include/qtl_asio.hpp" #if MARIADB_VERSION_ID < 0100000 #error "The program need mariadb version > 10.0" #endif ...
19.044025
120
0.624835
[ "vector" ]
cf3b1707807ce60e5f7450fb24c43ed7ef741912
11,310
cpp
C++
jlp_gseg_wxwid/to_be_deleted/jlp_wx_gspanel.cpp
jlprieur/jlplib
6073d7a7eb76d916662b1f8a4eb54f345cf7c772
[ "MIT" ]
null
null
null
jlp_gseg_wxwid/to_be_deleted/jlp_wx_gspanel.cpp
jlprieur/jlplib
6073d7a7eb76d916662b1f8a4eb54f345cf7c772
[ "MIT" ]
null
null
null
jlp_gseg_wxwid/to_be_deleted/jlp_wx_gspanel.cpp
jlprieur/jlplib
6073d7a7eb76d916662b1f8a4eb54f345cf7c772
[ "MIT" ]
1
2020-07-09T00:20:49.000Z
2020-07-09T00:20:49.000Z
/**************************************************************************** * Name: jlp_wx_gspanel.cpp * * JLP * Version 06/11/2016 ***************************************************************************/ #include <stdio.h> // jlp_splot : #include "jlp_gdev_idv.h" #include "jlp_splot.h" #include "jlp_plotlib.h" ...
33.070175
84
0.590186
[ "object", "transform" ]
cf3cf1ccfdef416546f0a13556d54f79c3187001
11,824
hpp
C++
invertible_bloom_filter.hpp
DominikHorn/invertible-bloom-filter
5b5412bc7354cd71120ec632f354fbb15bcaa89f
[ "MIT" ]
null
null
null
invertible_bloom_filter.hpp
DominikHorn/invertible-bloom-filter
5b5412bc7354cd71120ec632f354fbb15bcaa89f
[ "MIT" ]
null
null
null
invertible_bloom_filter.hpp
DominikHorn/invertible-bloom-filter
5b5412bc7354cd71120ec632f354fbb15bcaa89f
[ "MIT" ]
null
null
null
#pragma once #include <array> #include <cstdint> #include <optional> #include <random> #include <unordered_set> #include <vector> namespace ibf { /** * InvertibleBloomDictionarys are probabilistic structures * that can, in some cases, only answer probabilistically */ enum ContainsResult { not_found, might_exist, ...
27.952719
80
0.625507
[ "vector" ]
cf49862a6ef314af8d17a2b3d8da5b1dd55cf086
11,163
cpp
C++
WMI/WMI.cpp
zhaotianff/WindowsProgramming
3d208e3793c4efb568f75065fa5749f58a2ba73c
[ "MIT" ]
9
2020-10-28T09:08:24.000Z
2022-02-27T08:31:40.000Z
WMI/WMI.cpp
zhaotianff/WindowsProgramming
3d208e3793c4efb568f75065fa5749f58a2ba73c
[ "MIT" ]
null
null
null
WMI/WMI.cpp
zhaotianff/WindowsProgramming
3d208e3793c4efb568f75065fa5749f58a2ba73c
[ "MIT" ]
1
2021-01-22T09:21:25.000Z
2021-01-22T09:21:25.000Z
// WMI.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。 // #define _WIN32_DCOM #include <iostream> #include <WbemIdl.h> #include<Windows.h> #include <comdef.h> #include<vector> #pragma comment(lib,"wbemuuid.lib") void GetWMIDataSync(); void EnumWMIData(); void CallWMIProviderMethod(); void EnumWMIMethod(); void DisableNetowork...
22.460765
192
0.683866
[ "object", "vector" ]
cf5618f37de0d929a5f79a38e2e6406102dec945
2,060
hpp
C++
src/Control/Walker/Options/VelocityVariant.hpp
franjgonzalez/Quinoa
411eb8815e92618c563881b784e287e2dd916f89
[ "RSA-MD" ]
null
null
null
src/Control/Walker/Options/VelocityVariant.hpp
franjgonzalez/Quinoa
411eb8815e92618c563881b784e287e2dd916f89
[ "RSA-MD" ]
null
null
null
src/Control/Walker/Options/VelocityVariant.hpp
franjgonzalez/Quinoa
411eb8815e92618c563881b784e287e2dd916f89
[ "RSA-MD" ]
null
null
null
// ***************************************************************************** /*! \file src/Control/Walker/Options/VelocityVariant.hpp \copyright 2012-2015 J. Bakosi, 2016-2018 Los Alamos National Security, LLC., 2019 Triad National Security, LLC. All rights reserved. ...
33.225806
80
0.574272
[ "model" ]
cf5c4733b278de222ad8d6d019eebe7602d431f0
9,857
cpp
C++
jsk_recognition/jsk_pcl_ros/src/incremental_model_registration_nodelet.cpp
VT-ASIM-LAB/autoware.ai
211dff3bee2d2782cb10444272c5d98d1f30d33a
[ "Apache-2.0" ]
null
null
null
jsk_recognition/jsk_pcl_ros/src/incremental_model_registration_nodelet.cpp
VT-ASIM-LAB/autoware.ai
211dff3bee2d2782cb10444272c5d98d1f30d33a
[ "Apache-2.0" ]
null
null
null
jsk_recognition/jsk_pcl_ros/src/incremental_model_registration_nodelet.cpp
VT-ASIM-LAB/autoware.ai
211dff3bee2d2782cb10444272c5d98d1f30d33a
[ "Apache-2.0" ]
null
null
null
// -*- mode: c++ -*- /********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2014, JSK Lab * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the ...
39.586345
105
0.707416
[ "transform" ]
cf62fc80be95dd340a64749bdb543e3eea612bf9
1,032
cpp
C++
aoj/0508.cpp
utgw/programming-contest
eb7f28ae913296c6f4f9a8136dca8bd321e01e79
[ "MIT" ]
null
null
null
aoj/0508.cpp
utgw/programming-contest
eb7f28ae913296c6f4f9a8136dca8bd321e01e79
[ "MIT" ]
null
null
null
aoj/0508.cpp
utgw/programming-contest
eb7f28ae913296c6f4f9a8136dca8bd321e01e79
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> #define FOR(i,m,n) for(int i=m;i<(n);i++) #define REP(i,n) FOR(i,0,n) #define ALL(x) (x).begin(),(x).end() using namespace std; typedef long long ll; const ll inf = INT_MAX; const double eps = 1e-8; const double pi = acos(-1.0); const int di[][2] = {{1,0},{0,1},{-1,0},{0,-1},{1,1},{1,-1},{-1,1},...
24
76
0.518411
[ "vector" ]
cf649299b4ceda9c402246bd1644849326a20f16
4,308
cpp
C++
fk/hal/linux/linux_memory.cpp
fieldkit/firmware
09df5c4c5c2f21865cfbb11c9cdc362bb8803ad6
[ "BSD-3-Clause" ]
10
2019-11-26T11:35:56.000Z
2021-07-03T07:21:38.000Z
fk/hal/linux/linux_memory.cpp
fieldkit/firmware
09df5c4c5c2f21865cfbb11c9cdc362bb8803ad6
[ "BSD-3-Clause" ]
1
2019-07-03T06:27:21.000Z
2019-09-06T09:21:27.000Z
fk/hal/linux/linux_memory.cpp
fieldkit/firmware
09df5c4c5c2f21865cfbb11c9cdc362bb8803ad6
[ "BSD-3-Clause" ]
1
2019-09-23T18:13:51.000Z
2019-09-23T18:13:51.000Z
#include "hal/linux/linux.h" #include "utilities.h" #if defined(linux) #include <cstring> namespace fk { FK_DECLARE_LOGGER("memory"); uint8_t LinuxDataMemory::EraseByte = 0xff; LinuxDataMemory::LinuxDataMemory(uint32_t number_of_blocks) : number_of_blocks_(number_of_blocks), memory_(nullptr) { } LinuxDataMemory:...
27.43949
123
0.681523
[ "geometry" ]
cf6a7348877956c71c9d2a0b69074d259f6234c8
4,059
cpp
C++
media/libaudioclient/tests/test_create_audiorecord.cpp
Dreadwyrm/lhos_frameworks_av
62c63ccfdf5c79a3ad9be4836f473da9398c671b
[ "Apache-2.0" ]
null
null
null
media/libaudioclient/tests/test_create_audiorecord.cpp
Dreadwyrm/lhos_frameworks_av
62c63ccfdf5c79a3ad9be4836f473da9398c671b
[ "Apache-2.0" ]
null
null
null
media/libaudioclient/tests/test_create_audiorecord.cpp
Dreadwyrm/lhos_frameworks_av
62c63ccfdf5c79a3ad9be4836f473da9398c671b
[ "Apache-2.0" ]
2
2021-07-08T07:42:11.000Z
2021-07-09T21:56:10.000Z
/* * Copyright (C) 2017 The Android Open Source Project * * 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 app...
31.223077
89
0.575511
[ "vector" ]
cf6c01826e5fd5302b7820c07c145270a26b91ce
9,879
cpp
C++
module/mpc-be/SRC/src/DSUtil/MediaDescription.cpp
1aq/PBox
67ced599ee36ceaff097c6584f8100cf96006dfe
[ "MIT" ]
null
null
null
module/mpc-be/SRC/src/DSUtil/MediaDescription.cpp
1aq/PBox
67ced599ee36ceaff097c6584f8100cf96006dfe
[ "MIT" ]
null
null
null
module/mpc-be/SRC/src/DSUtil/MediaDescription.cpp
1aq/PBox
67ced599ee36ceaff097c6584f8100cf96006dfe
[ "MIT" ]
null
null
null
/* * (C) 2006-2018 see Authors.txt * * This file is part of MPC-BE. * * MPC-BE is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. ...
30.490741
146
0.651888
[ "vector" ]
cf7a88b2887d5b08c940802c41fde6b904056ede
852
cpp
C++
USACOTasks/Section 3.1 Humble Numbers/humble.cpp
zombiecry/AlgorithmPractice
f42933883bd62a86aeef9740356f5010c6c9bebf
[ "MIT" ]
null
null
null
USACOTasks/Section 3.1 Humble Numbers/humble.cpp
zombiecry/AlgorithmPractice
f42933883bd62a86aeef9740356f5010c6c9bebf
[ "MIT" ]
null
null
null
USACOTasks/Section 3.1 Humble Numbers/humble.cpp
zombiecry/AlgorithmPractice
f42933883bd62a86aeef9740356f5010c6c9bebf
[ "MIT" ]
null
null
null
/* ID: yezhiyo1 PROG: humble LANG: C++ */ #include <iostream> #include <fstream> #include <vector> #include <queue> #include <map> #include <algorithm> #include <memory.h> using namespace std; ifstream fin("humble.in"); ofstream fout("humble.out"); int k,n; std::vector <int> primes; std::vector <long> lastIndex; std::v...
17.75
46
0.610329
[ "vector" ]