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
73a046b2e8d5256a33f90637a9c403b5180830f4
1,406
cc
C++
caffe2/onnx/helper.cc
deltabravozulu/pytorch
c6eef589971e45bbedacc7f65533d1b8f80a6895
[ "Intel" ]
206
2020-11-28T22:56:38.000Z
2022-03-27T02:33:04.000Z
caffe2/onnx/helper.cc
deltabravozulu/pytorch
c6eef589971e45bbedacc7f65533d1b8f80a6895
[ "Intel" ]
19
2020-12-09T23:13:14.000Z
2022-01-24T23:24:08.000Z
caffe2/onnx/helper.cc
deltabravozulu/pytorch
c6eef589971e45bbedacc7f65533d1b8f80a6895
[ "Intel" ]
28
2020-11-29T15:25:12.000Z
2022-01-20T02:16:27.000Z
#include "caffe2/onnx/helper.h" #include "caffe2/core/logging.h" #include "caffe2/core/operator.h" namespace caffe2 { namespace onnx { std::string DummyName::NewDummyName() { while (true) { const std::string name = c10::str("OC2_DUMMY_", counter_++); auto ret = used_names_.insert(name); if (ret.second...
24.241379
74
0.669275
[ "shape", "vector" ]
73a3750ac4a402a8c7aa6231bd52f4e54ca70ab1
1,732
hpp
C++
inc/cg/Image.hpp
eestrada/raytracer
f1a80db1c2ec05e5b39a9dce9af6a56604755a0b
[ "MIT" ]
1
2018-04-25T08:43:36.000Z
2018-04-25T08:43:36.000Z
inc/cg/Image.hpp
eestrada/raytracer
f1a80db1c2ec05e5b39a9dce9af6a56604755a0b
[ "MIT" ]
null
null
null
inc/cg/Image.hpp
eestrada/raytracer
f1a80db1c2ec05e5b39a9dce9af6a56604755a0b
[ "MIT" ]
null
null
null
#if !defined(IMAGE_HPP) #define IMAGE_HPP #include <vector> #include <string> #include <ostream> #include <memory> #include <cstdint> #include "cg_utils.hpp" #include "Vec4.hpp" namespace cg { template <typename T> struct pixel_type { T r, g, b, a; typedef T chan_type; }; template <typename T> pixel_type...
20.376471
74
0.687067
[ "vector" ]
73a3c7a0d5fc49cee7cba9b0ce15195c30fa3919
18,510
cpp
C++
mediasoup-client/deps/libmediasoupclient/src/PeerConnection.cpp
itcayman/mediasoup-client-android
2960fcca694b7b0e5ccd6ab47ee049565b89ad6d
[ "MIT" ]
1
2021-11-10T09:20:24.000Z
2021-11-10T09:20:24.000Z
mediasoup-client/deps/libmediasoupclient/src/PeerConnection.cpp
itcayman/mediasoup-client-android
2960fcca694b7b0e5ccd6ab47ee049565b89ad6d
[ "MIT" ]
null
null
null
mediasoup-client/deps/libmediasoupclient/src/PeerConnection.cpp
itcayman/mediasoup-client-android
2960fcca694b7b0e5ccd6ab47ee049565b89ad6d
[ "MIT" ]
1
2021-11-11T12:07:22.000Z
2021-11-11T12:07:22.000Z
#define MSC_CLASS "PeerConnection" #include "PeerConnection.hpp" #include "Logger.hpp" #include "MediaSoupClientErrors.hpp" #include "Utils.hpp" #include <api/audio_codecs/builtin_audio_decoder_factory.h> #include <api/audio_codecs/builtin_audio_encoder_factory.h> #include <api/create_peerconnection_factory.h> #includ...
28.045455
105
0.730038
[ "vector" ]
73ab9898e05ed57c940967353e4629dab9fd3fed
16,130
cpp
C++
src/envlight.cpp
arpit15/dpt
5a9eec75b506d2c1867e3d5cfc1746d7f01c4639
[ "MIT" ]
59
2016-01-27T02:30:32.000Z
2021-12-11T12:48:01.000Z
src/envlight.cpp
arpit15/dpt
5a9eec75b506d2c1867e3d5cfc1746d7f01c4639
[ "MIT" ]
1
2021-06-23T18:48:19.000Z
2021-06-23T18:48:19.000Z
src/envlight.cpp
arpit15/dpt
5a9eec75b506d2c1867e3d5cfc1746d7f01c4639
[ "MIT" ]
7
2016-01-28T16:01:35.000Z
2021-06-16T03:11:59.000Z
#include "envlight.h" #include "image.h" #include "distribution.h" #include "transform.h" #include "sampling.h" int GetEnvLightSerializedSize() { return 1 + // type 16 + // toWorld 16 + // toLight 1 + // uCDF0 1 + // uCDF1 1 + // v...
40.325
100
0.595226
[ "vector", "transform" ]
73ad3b528fb262b827d55e8ed875f877d3631c8a
6,792
cpp
C++
03_Tutorial/T06_XMGraphics/G03_PVRAlphaBlend/Source/main.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
2
2017-08-03T07:15:00.000Z
2018-06-18T10:32:53.000Z
03_Tutorial/T06_XMGraphics/G03_PVRAlphaBlend/Source/main.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
null
null
null
03_Tutorial/T06_XMGraphics/G03_PVRAlphaBlend/Source/main.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
2
2019-03-04T22:57:42.000Z
2020-03-06T01:32:26.000Z
/* * * File main.cpp * Description XMGraphics : PVR AlphaBlend demo application * Version 0.20.0801, 2011-08-01 * Author Y.H Mun * * -------------------------------------------------------------------------- * * Copyright (C) 2010 XMSoft. All righ...
24.344086
89
0.629564
[ "render" ]
73ad95c04918c218d563884f8d43be2ace67ba6d
13,329
cpp
C++
MoravaEngine/src/H2M/Renderer/SceneRendererVulkanH2M.cpp
imgui-works/MoravaEngine_opengl_vulkan_2d_3d_game_engine
b8e6ee3c3c890e9b8cf5de7bcb564b32f6767b6b
[ "Apache-2.0" ]
null
null
null
MoravaEngine/src/H2M/Renderer/SceneRendererVulkanH2M.cpp
imgui-works/MoravaEngine_opengl_vulkan_2d_3d_game_engine
b8e6ee3c3c890e9b8cf5de7bcb564b32f6767b6b
[ "Apache-2.0" ]
null
null
null
MoravaEngine/src/H2M/Renderer/SceneRendererVulkanH2M.cpp
imgui-works/MoravaEngine_opengl_vulkan_2d_3d_game_engine
b8e6ee3c3c890e9b8cf5de7bcb564b32f6767b6b
[ "Apache-2.0" ]
1
2022-01-05T03:51:02.000Z
2022-01-05T03:51:02.000Z
/** * @package H2M (Hazel to Morava) * @author Yan Chernikov (TheCherno) * @licence Apache License 2.0 */ #include "SceneRendererVulkanH2M.h" #include "H2M/Platform/Vulkan/VulkanFramebufferH2M.h" #include "H2M/Platform/Vulkan/VulkanRendererH2M.h" #include "H2M/Renderer/FramebufferH2M.h" #include "H2M/Renderer/Re...
33.3225
158
0.749644
[ "mesh", "geometry", "render", "vector", "transform" ]
73af475efeca3072e586293e1669835b7bf04a18
225
hpp
C++
ELSreplicate/ELSreplicate/interpolater.hpp
FinancialEngineerLab/EquityLinkedIn
1b4b46081841f370aee0abc5aa97d42ac6ede853
[ "MIT" ]
null
null
null
ELSreplicate/ELSreplicate/interpolater.hpp
FinancialEngineerLab/EquityLinkedIn
1b4b46081841f370aee0abc5aa97d42ac6ede853
[ "MIT" ]
null
null
null
ELSreplicate/ELSreplicate/interpolater.hpp
FinancialEngineerLab/EquityLinkedIn
1b4b46081841f370aee0abc5aa97d42ac6ede853
[ "MIT" ]
null
null
null
#ifndef INTERPOLATOR_HPP #define INTERPOLATOR_HPP #include <vector> class interpolator { public: interpolator(){}; double intp1d(std::vector<double> v, std::vector<double> axis, double target) const; }; #endif
16.071429
88
0.715556
[ "vector" ]
73b073e3ead998208cde1fc1a28b2dc60b3c2a2d
4,551
hpp
C++
src/libs/optframe/src/OptFrame/GlobalSearch.hpp
fellipessanha/LMRRC-Team-AIDA
8076599427df0e35890caa7301972a53ae327edb
[ "MIT" ]
1
2021-08-19T13:31:29.000Z
2021-08-19T13:31:29.000Z
src/libs/optframe/src/OptFrame/GlobalSearch.hpp
fellipessanha/LMRRC-Team-AIDA
8076599427df0e35890caa7301972a53ae327edb
[ "MIT" ]
null
null
null
src/libs/optframe/src/OptFrame/GlobalSearch.hpp
fellipessanha/LMRRC-Team-AIDA
8076599427df0e35890caa7301972a53ae327edb
[ "MIT" ]
null
null
null
// OptFrame - Optimization Framework // Copyright (C) 2009-2015 // http://optframe.sourceforge.net/ // // This file is part of the OptFrame optimization framework. This framework // is free software; you can redistribute it and/or modify it under the // terms of the GNU Lesser General Public License v3 as published by...
30.139073
136
0.689739
[ "object", "vector" ]
73b42fe5cc974db87b08dbe37b7d49b2d41cc26a
61,456
cpp
C++
packages/monte_carlo/event/estimator/src/MonteCarlo_Estimator.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
10
2019-11-14T19:58:30.000Z
2021-04-04T17:44:09.000Z
packages/monte_carlo/event/estimator/src/MonteCarlo_Estimator.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
43
2020-03-03T19:59:20.000Z
2021-09-08T03:36:08.000Z
packages/monte_carlo/event/estimator/src/MonteCarlo_Estimator.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
6
2020-02-12T17:37:07.000Z
2020-09-08T18:59:51.000Z
//---------------------------------------------------------------------------// //! //! \file MonteCarlo_Estimator.cpp //! \author Alex Robinson //! \brief Estimator base class definition //! //---------------------------------------------------------------------------// // Std Lib Includes #include <limits> // FR...
39.394872
216
0.616701
[ "object", "vector" ]
73b61e3522cc219a102127e429d82331a6d49d22
1,892
cpp
C++
CodeForces/1206 D.cpp
windcry1/My-ACM-ICPC
b85b1c83b72c6b51731dae946a0df57c31d3e7a1
[ "MIT" ]
null
null
null
CodeForces/1206 D.cpp
windcry1/My-ACM-ICPC
b85b1c83b72c6b51731dae946a0df57c31d3e7a1
[ "MIT" ]
null
null
null
CodeForces/1206 D.cpp
windcry1/My-ACM-ICPC
b85b1c83b72c6b51731dae946a0df57c31d3e7a1
[ "MIT" ]
null
null
null
/************************************************************************* >>> Author: WindCry1 >>> Mail: lanceyu120@gmail.com >>> Website: https://windcry1.com >>> Date: 8/18/2019 11:34:29 PM *************************************************************************/ #include<cstring> #include<cmath> #include<cstdio> #...
21.022222
74
0.539641
[ "vector" ]
73bb65f2eb4c44ee3a03aeb1533956948156d3b3
13,325
cpp
C++
cgame/cg_localents.cpp
kugelrund/Elite-Reinforce
a2fe0c0480ff2d9cdc241b9e5416ee7f298f00ca
[ "DOC" ]
10
2017-07-04T14:38:48.000Z
2022-03-08T22:46:39.000Z
cgame/cg_localents.cpp
UberGames/SP-Mod-Source-Code
04e0e618d1ee57a2919f1a852a688c03b1aa155d
[ "DOC" ]
null
null
null
cgame/cg_localents.cpp
UberGames/SP-Mod-Source-Code
04e0e618d1ee57a2919f1a852a688c03b1aa155d
[ "DOC" ]
2
2017-04-23T18:24:44.000Z
2021-11-19T23:27:03.000Z
// cg_localents.c -- every frame, generate renderer commands for locally // processed entities, like smoke puffs, gibs, shells, etc. #include "cg_local.h" #include "fx_public.h" #define MAX_LOCAL_ENTITIES 512 localEntity_t cg_localEntities[MAX_LOCAL_ENTITIES]; localEntity_t cg_activeLocalEntities; // double linked ...
22.584746
112
0.615084
[ "model" ]
73bb9f373e1e1d3f2fdeccdac8606fb4dca88f1b
72,611
cc
C++
wrappers/7.0.0/vtkScalarBarActorWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
6
2016-02-03T12:48:36.000Z
2020-09-16T15:07:51.000Z
wrappers/7.0.0/vtkScalarBarActorWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
4
2016-02-13T01:30:43.000Z
2020-03-30T16:59:32.000Z
wrappers/7.0.0/vtkScalarBarActorWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
null
null
null
/* this file has been autogenerated by vtkNodeJsWrap */ /* editing this might proof futile */ #define VTK_WRAPPING_CXX #define VTK_STREAMS_FWD_ONLY #include <nan.h> #include "vtkActor2DWrap.h" #include "vtkScalarBarActorWrap.h" #include "vtkObjectWrap.h" #include "vtkViewportWrap.h" #include "vtkWindowWrap.h" #includ...
33.741171
112
0.744873
[ "object" ]
73bf93bf88578769fabce816b550d534b78e6616
11,348
hpp
C++
build/lua-reader/include/boost-1.60.0/boost/heap/detail/tree_iterator.hpp
LazyPlanet/MX-Client
07ac4ada4507fb7fd341094d733204f8c0170491
[ "BSD-3-Clause" ]
7
2019-02-10T07:03:45.000Z
2022-03-04T16:09:38.000Z
build/lua-reader/include/boost-1.60.0/boost/heap/detail/tree_iterator.hpp
LazyPlanet/MX-Client
07ac4ada4507fb7fd341094d733204f8c0170491
[ "BSD-3-Clause" ]
null
null
null
build/lua-reader/include/boost-1.60.0/boost/heap/detail/tree_iterator.hpp
LazyPlanet/MX-Client
07ac4ada4507fb7fd341094d733204f8c0170491
[ "BSD-3-Clause" ]
4
2018-03-01T14:34:52.000Z
2018-06-14T12:13:55.000Z
// boost heap: node tree iterator helper classes // // Copyright (C) 2010 Tim Blechmann // // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef BOOST_HEAP_DETAIL_TREE_ITERATOR_HPP #define BOOST_HEAP_...
30.021164
131
0.505992
[ "vector" ]
73c3d9a4ee3d0e81bc38649d065a6c72c8c26478
3,071
hpp
C++
src/Domain/Entity.hpp
LBBassani/cg-trabalho-2d
8ada0b1a222a423d4dd28428b96653acbbaa2d5a
[ "MIT" ]
null
null
null
src/Domain/Entity.hpp
LBBassani/cg-trabalho-2d
8ada0b1a222a423d4dd28428b96653acbbaa2d5a
[ "MIT" ]
null
null
null
src/Domain/Entity.hpp
LBBassani/cg-trabalho-2d
8ada0b1a222a423d4dd28428b96653acbbaa2d5a
[ "MIT" ]
null
null
null
#if !defined ENTITY #define ENTITY #include <list> #include "Transform.hpp" #include "Model.hpp" struct HitboxMapping; struct MoveLiberty{ bool direita = true; bool esquerda = true; bool para_cima = true; bool para_baixo = true; }; struct Entity : public Model { bool is_movable = false; bo...
23.623077
125
0.576685
[ "model", "transform" ]
73c88ee02cf072106f8f57b265da39a46272530d
53,473
cpp
C++
renderdoc/driver/shaders/spirv/spirv_disassemble.cpp
djdeath/renderdoc
f0eca04b7936d2401a5d49f12233065506fbc395
[ "MIT" ]
null
null
null
renderdoc/driver/shaders/spirv/spirv_disassemble.cpp
djdeath/renderdoc
f0eca04b7936d2401a5d49f12233065506fbc395
[ "MIT" ]
null
null
null
renderdoc/driver/shaders/spirv/spirv_disassemble.cpp
djdeath/renderdoc
f0eca04b7936d2401a5d49f12233065506fbc395
[ "MIT" ]
null
null
null
/****************************************************************************** * The MIT License (MIT) * * Copyright (c) 2019-2020 Baldur Karlsson * * 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...
33.609679
102
0.515382
[ "object", "vector" ]
73d0618f7b138684421b7ebeeeb15a4e7e830205
3,928
cpp
C++
src/codegen/codegen_code.cpp
giulioborghesi/cl-compiler
8c6633202af39ebb3d56d38bd405d5558afb7783
[ "MIT" ]
null
null
null
src/codegen/codegen_code.cpp
giulioborghesi/cl-compiler
8c6633202af39ebb3d56d38bd405d5558afb7783
[ "MIT" ]
null
null
null
src/codegen/codegen_code.cpp
giulioborghesi/cl-compiler
8c6633202af39ebb3d56d38bd405d5558afb7783
[ "MIT" ]
null
null
null
#include <cool/codegen/codegen_code.h> #include <cool/codegen/codegen_context.h> #include <cool/codegen/codegen_helpers.h> #include <cool/ir/class.h> #include <cool/ir/expr.h> namespace cool { namespace { /// Globally visible text labels const std::vector<std::string> GLOBAL_LABELS = {"Main_init", "Main.main", ...
32.733333
80
0.673625
[ "object", "vector" ]
73d0dd4c85041b01ba42e15d940e9e2c04445f7c
17,469
cpp
C++
src/LowerParallelTasks.cpp
knzivid/Halide
9ab3566675408da8903e89710534cf97cead2e6f
[ "Apache-2.0" ]
4,303
2015-01-02T12:04:37.000Z
2022-03-31T11:35:06.000Z
src/LowerParallelTasks.cpp
knzivid/Halide
9ab3566675408da8903e89710534cf97cead2e6f
[ "Apache-2.0" ]
4,323
2015-01-01T13:31:25.000Z
2022-03-31T22:43:57.000Z
src/LowerParallelTasks.cpp
knzivid/Halide
9ab3566675408da8903e89710534cf97cead2e6f
[ "Apache-2.0" ]
1,032
2015-01-12T12:50:16.000Z
2022-03-28T01:55:11.000Z
#include "LowerParallelTasks.h" #include <string> #include "Argument.h" #include "Closure.h" #include "DebugArguments.h" #include "ExprUsesVar.h" #include "IRMutator.h" #include "IROperator.h" #include "Module.h" #include "Param.h" #include "Simplify.h" namespace Halide { namespace Internal { namespace { LoweredAr...
39.612245
148
0.57187
[ "vector" ]
73d21b517e20b52316cc247f443666df4e851d3e
2,217
cc
C++
epi/group_equal_entries.cc
Vasniktel/interview-problems
ab901397194c81debe8c964fca097287466c9c27
[ "MIT" ]
null
null
null
epi/group_equal_entries.cc
Vasniktel/interview-problems
ab901397194c81debe8c964fca097287466c9c27
[ "MIT" ]
null
null
null
epi/group_equal_entries.cc
Vasniktel/interview-problems
ab901397194c81debe8c964fca097287466c9c27
[ "MIT" ]
null
null
null
#include <iterator> #include <set> #include <string> #include <vector> #include "test_framework/generic_test.h" #include "test_framework/serialization_traits.h" #include "test_framework/test_failure.h" #include "test_framework/timed_executor.h" using std::string; using std::vector; struct Person { int age; string ...
26.082353
87
0.609382
[ "vector" ]
73d779fe7c1dcc83c459cbdb0086bdc027d2e0ee
639
cpp
C++
dataset/test/modification/1461_code_insertion/49/transformation_1.cpp
Karina5005/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
3
2022-02-15T00:29:39.000Z
2022-03-15T08:36:44.000Z
dataset/test/modification/1461_code_insertion/49/transformation_1.cpp
Kira5005-code/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
null
null
null
dataset/test/modification/1461_code_insertion/49/transformation_1.cpp
Kira5005-code/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define el '\n' #define pb push_back #define fi first #define se second #define vi vector<int> typedef long long ll; void solve() { int n,k; cin>>n>>k; if (5 > 3) cout << "new code";for(int i=0; i<n/3; i++) cout<<"abc"; if (5 > 3) cout << "...
22.034483
174
0.543036
[ "vector" ]
73de6cd55dc627ccfe0e658a8b3ec935efdecbbe
551
hpp
C++
labs/lab4/solution/regression.hpp
battibass/pf2021
7d370d26a53588c3168b57614e34e0dda70f5bbf
[ "CC-BY-4.0" ]
7
2021-10-20T08:43:46.000Z
2022-03-26T14:18:19.000Z
labs/lab4/solution/regression.hpp
battibass/pf2021
7d370d26a53588c3168b57614e34e0dda70f5bbf
[ "CC-BY-4.0" ]
null
null
null
labs/lab4/solution/regression.hpp
battibass/pf2021
7d370d26a53588c3168b57614e34e0dda70f5bbf
[ "CC-BY-4.0" ]
10
2021-10-01T13:49:56.000Z
2022-03-29T10:28:06.000Z
#ifndef REGRESSION_HPP #define REGRESSION_HPP #include <iostream> #include <vector> struct Result { double A; double B; }; struct Point { double x; double y; }; bool operator==(Point const& l, Point const& r); bool operator!=(Point const& l, Point const& r); std::ostream& operator<<(std::ostream& os, Point ...
15.305556
59
0.676951
[ "vector" ]
73e373cd9cea0f0c3ee95214f824e0d57f4643cb
3,163
cc
C++
modules/audio_coding/codecs/red/audio_encoder_copy_red.cc
PersonifyInc/chromium_webrtc
cbe631e63f00ff1b2860891e06793f23244e8ae5
[ "DOC", "BSD-3-Clause" ]
null
null
null
modules/audio_coding/codecs/red/audio_encoder_copy_red.cc
PersonifyInc/chromium_webrtc
cbe631e63f00ff1b2860891e06793f23244e8ae5
[ "DOC", "BSD-3-Clause" ]
null
null
null
modules/audio_coding/codecs/red/audio_encoder_copy_red.cc
PersonifyInc/chromium_webrtc
cbe631e63f00ff1b2860891e06793f23244e8ae5
[ "DOC", "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
35.539326
79
0.679102
[ "vector" ]
73e39b0f76f84ccb4f3b8f634b37c2c8ddf58c2f
3,934
cpp
C++
protos/srm/2.1/n/n_srmCheckPermission.cpp
dCache/s2
b84ce6a17b9fe36f0f7edf4615c5fc2dd925dd53
[ "BSD-3-Clause" ]
null
null
null
protos/srm/2.1/n/n_srmCheckPermission.cpp
dCache/s2
b84ce6a17b9fe36f0f7edf4615c5fc2dd925dd53
[ "BSD-3-Clause" ]
4
2016-05-13T09:45:31.000Z
2018-02-18T10:11:32.000Z
protos/srm/2.1/n/n_srmCheckPermission.cpp
dCache/s2
b84ce6a17b9fe36f0f7edf4615c5fc2dd925dd53
[ "BSD-3-Clause" ]
1
2018-02-18T09:26:49.000Z
2018-02-18T09:26:49.000Z
#ifdef HAVE_CONFIG_H #include "config.h" #endif #include <sys/types.h> #ifdef DG_DIAGNOSE #include "diagnose/dg.h" #endif #include "n_srm.h" #include "srm2api.h" #include "srm_soap27.h" #include "constants.h" #include "i18.h" #include "sysdep.h" /* BOOL, STD_BUF, ... */ #include "free.h" ...
20.489583
124
0.704881
[ "vector" ]
73e6f644d283e9fa3a53d6761ff02e7ec3cc7764
1,791
cpp
C++
src/BabylonCpp/src/core/logging/init_console_logger.cpp
sacceus/BabylonCpp
94669cf7cbe3214ec6e905cbf249fa0c9daf6222
[ "Apache-2.0" ]
277
2017-05-18T08:27:10.000Z
2022-03-26T01:31:37.000Z
src/BabylonCpp/src/core/logging/init_console_logger.cpp
sacceus/BabylonCpp
94669cf7cbe3214ec6e905cbf249fa0c9daf6222
[ "Apache-2.0" ]
77
2017-09-03T15:35:02.000Z
2022-03-28T18:47:20.000Z
src/BabylonCpp/src/core/logging/init_console_logger.cpp
sacceus/BabylonCpp
94669cf7cbe3214ec6e905cbf249fa0c9daf6222
[ "Apache-2.0" ]
37
2017-03-30T03:36:24.000Z
2022-01-28T08:28:36.000Z
#include <babylon/core/logging/init_console_logger.h> #include <babylon/core/logging.h> #include <memory> #if _MSC_VER #include <windows.h> #endif namespace BABYLON { namespace impl { struct ConsoleLogger { using log_message_t = SA::delegate<void(const BABYLON::LogMessage&)>; static void onLogMessage(con...
27.136364
92
0.676717
[ "vector" ]
73e84e0e72d1a4f987af551d220331cd28c885ec
6,800
cc
C++
mindspore/core/utils/trace_base.cc
Ascend/mindspore
1509d3f848e6685660194d9f58646fc73ae0f0f0
[ "Apache-2.0" ]
5
2021-06-04T02:23:01.000Z
2021-12-13T10:41:07.000Z
mindspore/core/utils/trace_base.cc
LaiYongqiang/mindspore
1b7a38ccd86b55af50a0ea55c7f2f43813ed3e0e
[ "Apache-2.0" ]
null
null
null
mindspore/core/utils/trace_base.cc
LaiYongqiang/mindspore
1b7a38ccd86b55af50a0ea55c7f2f43813ed3e0e
[ "Apache-2.0" ]
1
2021-12-14T06:22:31.000Z
2021-12-14T06:22:31.000Z
/** * Copyright 2020-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 applicabl...
28.451883
101
0.655882
[ "vector", "transform" ]
73f1c26bb179e1c46aa9a40721a861272b7765f0
35,873
cpp
C++
src/blend2d/blimagescale.cpp
dan-eicher/blend2d
097f89cbaae699cb3ba67712c4d1c8ebad78b99c
[ "Zlib" ]
null
null
null
src/blend2d/blimagescale.cpp
dan-eicher/blend2d
097f89cbaae699cb3ba67712c4d1c8ebad78b99c
[ "Zlib" ]
null
null
null
src/blend2d/blimagescale.cpp
dan-eicher/blend2d
097f89cbaae699cb3ba67712c4d1c8ebad78b99c
[ "Zlib" ]
null
null
null
// [Blend2D] // 2D Vector Graphics Powered by a JIT Compiler. // // [License] // ZLIB - See LICENSE.md file in the package. #include "./blapi-build_p.h" #include "./blimagescale_p.h" #include "./blmath_p.h" #include "./blformat_p.h" #include "./blgeometry_p.h" #include "./blrgba_p.h" #include "./blruntime_p.h" #includ...
29.869276
188
0.550693
[ "vector" ]
73f2444b3aac1417816529946e7b25918c94fc52
2,038
cpp
C++
problems/aggressive_cows.cpp
oishikm12/cpp-collection
4a454a6ed5b24570c7df0d4f0b692ae98c1ffa97
[ "MIT" ]
5
2021-05-17T12:32:42.000Z
2021-12-12T21:09:55.000Z
problems/aggressive_cows.cpp
oishikm12/cpp-collection
4a454a6ed5b24570c7df0d4f0b692ae98c1ffa97
[ "MIT" ]
null
null
null
problems/aggressive_cows.cpp
oishikm12/cpp-collection
4a454a6ed5b24570c7df0d4f0b692ae98c1ffa97
[ "MIT" ]
1
2021-05-13T20:29:57.000Z
2021-05-13T20:29:57.000Z
#include <iostream> #include <vector> #include <algorithm> using namespace std; bool isPossible(vector<int> &, int, int); int main() { /** * In order to find out the stall placement with maximum distance * we use binary search to find out distances till stalls are and * all cows can be placed ...
27.540541
108
0.56526
[ "vector" ]
73f49d2742a7a464e29148c1ef2a7bd0bf8c6edc
4,383
cc
C++
src/chrome/browser/search/instant_io_context.cc
jxjnjjn/chromium
435c1d02fd1b99001dc9e1e831632c894523580d
[ "Apache-2.0" ]
9
2018-09-21T05:36:12.000Z
2021-11-15T15:14:36.000Z
chrome/browser/search/instant_io_context.cc
devasia1000/chromium
919a8a666862fb866a6bb7aa7f3ae8c0442b4828
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/search/instant_io_context.cc
devasia1000/chromium
919a8a666862fb866a6bb7aa7f3ae8c0442b4828
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2018-11-28T14:54:13.000Z
2020-07-02T07:36:07.000Z
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/search/instant_io_context.h" #include "content/public/browser/browser_thread.h" #include "content/public/browser/resource_contex...
31.307143
79
0.756788
[ "vector" ]
73fc372a5bce5b38138a88533ab0a8cce2f27f42
2,710
cpp
C++
leetcode/cpp/qt_data_stream_as_disjoint_intervals.cpp
qiaotian/CodeInterview
294c1ba86d8ace41a121c5ada4ba4c3765ccc17d
[ "WTFPL" ]
5
2016-10-29T09:28:11.000Z
2019-10-19T23:02:48.000Z
leetcode/cpp/qt_data_stream_as_disjoint_intervals.cpp
qiaotian/CodeInterview
294c1ba86d8ace41a121c5ada4ba4c3765ccc17d
[ "WTFPL" ]
null
null
null
leetcode/cpp/qt_data_stream_as_disjoint_intervals.cpp
qiaotian/CodeInterview
294c1ba86d8ace41a121c5ada4ba4c3765ccc17d
[ "WTFPL" ]
null
null
null
/** * @Author: Tian Qiao * @Date: 2016-07-26T11:08:26+08:00 * @Email: qiaotian@me.com * @Last modified by: Tian Qiao * @Last modified time: 2016-07-26T11:08:28+08:00 * @Tag: Binary Search Tree */ /* Given a data stream input of non-negative integers a1, a2, ..., an, ..., summarize the numbers seen so far as a l...
26.831683
139
0.563469
[ "object", "vector" ]
bab601a1fd24329f69ccbd4b41efe61bd8525d4f
27,141
cpp
C++
src/ripple/app/tests/AmendmentTable.test.cpp
sublimator/rippled
8d86d39b74046d216d7da8212647327a2d0c2810
[ "BSL-1.0" ]
null
null
null
src/ripple/app/tests/AmendmentTable.test.cpp
sublimator/rippled
8d86d39b74046d216d7da8212647327a2d0c2810
[ "BSL-1.0" ]
null
null
null
src/ripple/app/tests/AmendmentTable.test.cpp
sublimator/rippled
8d86d39b74046d216d7da8212647327a2d0c2810
[ "BSL-1.0" ]
null
null
null
//------------------------------------------------------------------------------ /* This file is part of rippled: https://github.com/ripple/rippled Copyright (c) 2012, 2013 Ripple Labs Inc. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby ...
34.139623
95
0.51763
[ "vector" ]
bab846bedcb2c11311fda710762df5ef17ab47ed
4,232
cpp
C++
src/color-map.cpp
ecsnavarretemit/cmsc265-pseudocolor-image-processing-cpp
9d9c0e1f7f99418de204caf95e99f3247249948f
[ "MIT" ]
1
2017-05-02T00:43:25.000Z
2017-05-02T00:43:25.000Z
src/color-map.cpp
ecsnavarretemit/cmsc265-pseudocolor-image-processing-cpp
9d9c0e1f7f99418de204caf95e99f3247249948f
[ "MIT" ]
null
null
null
src/color-map.cpp
ecsnavarretemit/cmsc265-pseudocolor-image-processing-cpp
9d9c0e1f7f99418de204caf95e99f3247249948f
[ "MIT" ]
null
null
null
/** * color-map.cpp * * Copyright(c) Exequiel Ceasar Navarrete <esnavarrete1@up.edu.ph> * Licensed under MIT * Version 1.0.5 */ #include <iostream> #include <vector> #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/highgui/highgui.hpp" #include "boost/filesystem.hpp" #include "files.cpp" using namespace...
29.802817
102
0.573015
[ "vector" ]
babc5421896b4abe635c96b8970d027352b1d58d
3,239
cpp
C++
libsrc/glWebKit/glWebkitRenderer.cpp
anonreclaimer/glWebKit
7c64ba02a734f2a97e023ad6e5dc9eebd7fadb6c
[ "MIT" ]
12
2018-09-11T10:54:22.000Z
2021-10-05T14:56:27.000Z
libsrc/glWebKit/glWebkitRenderer.cpp
anonreclaimer/glWebKit
7c64ba02a734f2a97e023ad6e5dc9eebd7fadb6c
[ "MIT" ]
6
2018-10-11T13:31:13.000Z
2020-01-29T00:03:40.000Z
libsrc/glWebKit/glWebkitRenderer.cpp
anonreclaimer/glWebKit
7c64ba02a734f2a97e023ad6e5dc9eebd7fadb6c
[ "MIT" ]
6
2018-09-11T12:53:57.000Z
2021-10-13T02:22:01.000Z
#include "glWebkitRenderer.h" #include <EAWebKit/EAWebKit.h> #include <EAWebKit/EAWebkitAllocator.h> #include <EAWebKit/EAWebKitFileSystem.h> #include <EAWebKit/EAWebKitClient.h> #include <EAWebKit/EAWebKitView.h> #include "EAWebkit/EAWebKitTextInterface.h" #include <vector> #include <array> #include <iostream> GLR...
20.630573
246
0.68694
[ "vector" ]
babc919a75a2bcd3875356c0b8e0d94726a29df2
4,459
cpp
C++
chapter26/ex13_string_sort.cpp
ClassAteam/stroustrup-ppp
ea9e85d4ea9890038eb5611c3bc82734c8706ce7
[ "MIT" ]
124
2018-06-23T10:16:56.000Z
2022-03-19T15:16:12.000Z
chapter26/ex13_string_sort.cpp
therootfolder/stroustrup-ppp
b1e936c9a67b9205fdc9712c42496b45200514e2
[ "MIT" ]
23
2018-02-08T20:57:46.000Z
2021-10-08T13:58:29.000Z
chapter26/ex13_string_sort.cpp
ClassAteam/stroustrup-ppp
ea9e85d4ea9890038eb5611c3bc82734c8706ce7
[ "MIT" ]
65
2019-05-27T03:05:56.000Z
2022-03-26T03:43:05.000Z
// // Stroustrup - Programming Principles & Practice // // Chapter 26 Exercise 13 // // Generate random strings and measure the time it takes to sort them using // std::sort. Measure the time to sort 500000 strings and 5000000 strings. // /* OUTPUT (single thread): Filling both vectors.. vector fills took: 51637430 m...
27.024242
79
0.550572
[ "vector" ]
bac04df7a40efc8b6d48348d108ff0c9d85bcc36
887
cpp
C++
PASTAB2 - Warunek w tablicy/main.cpp
KrzaQ/mySPOJ
14aecdabe700396b67c6b264a247797bd45c6031
[ "MIT" ]
null
null
null
PASTAB2 - Warunek w tablicy/main.cpp
KrzaQ/mySPOJ
14aecdabe700396b67c6b264a247797bd45c6031
[ "MIT" ]
null
null
null
PASTAB2 - Warunek w tablicy/main.cpp
KrzaQ/mySPOJ
14aecdabe700396b67c6b264a247797bd45c6031
[ "MIT" ]
null
null
null
#include <cstdlib> #include <ctime> #include <array> #include <algorithm> #include <deque> #include <functional> #include <iomanip> #include <iostream> #include <iterator> #include <list> #include <map> #include <random> #include <set> #include <sstream> #include <string> #include <thread> #include <utility> #include ...
17.392157
80
0.59301
[ "vector" ]
bac1bcc46b6d9343cef3dc24837dac7c55ee78f7
8,056
cc
C++
chromium/extensions/browser/api/declarative/declarative_api.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/extensions/browser/api/declarative/declarative_api.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/extensions/browser/api/declarative/declarative_api.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "extensions/browser/api/declarative/declarative_api.h" #include <stddef.h> #include "base/base64.h" #include "base/bind.h" #include "base/b...
37.64486
80
0.737339
[ "vector" ]
bac2062efdc12fc9c96160de68c0501af4bee60a
747
cpp
C++
Introductory Problems/Gray Code.cpp
razouq/cses
82534f4ac37a690b5cd72ab094d5276bd01dd64e
[ "MIT" ]
3
2021-03-14T18:47:13.000Z
2021-03-19T09:59:56.000Z
Introductory Problems/Gray Code.cpp
razouq/cses
82534f4ac37a690b5cd72ab094d5276bd01dd64e
[ "MIT" ]
null
null
null
Introductory Problems/Gray Code.cpp
razouq/cses
82534f4ac37a690b5cd72ab094d5276bd01dd64e
[ "MIT" ]
null
null
null
#include "bits/stdc++.h" #pragma GCC optimize ("O3") #pragma GCC target ("sse4") #define ll long long #define ull unsigned long long #define F first #define S second #define PB push_back #define POB pop_back using namespace std; int main(){ // freopen("input.in", "r", stdin); // freopen("output.out", "w", stdout); i...
16.977273
55
0.576975
[ "vector" ]
bac3d70072926fc8a4baf35e2f3a23062b5da9b6
36,015
hh
C++
sigrlinn/sigrlinn.hh
raptoravis/sigrlinn
37fd2f8c73e38e9c266301517f4292e0d6e536ef
[ "MIT" ]
140
2015-01-13T22:40:16.000Z
2022-01-15T00:53:47.000Z
sigrlinn/sigrlinn.hh
raptoravis/sigrlinn
37fd2f8c73e38e9c266301517f4292e0d6e536ef
[ "MIT" ]
17
2015-01-23T15:15:14.000Z
2019-03-16T20:30:52.000Z
sigrlinn/sigrlinn.hh
raptoravis/sigrlinn
37fd2f8c73e38e9c266301517f4292e0d6e536ef
[ "MIT" ]
22
2015-01-19T13:00:55.000Z
2021-03-27T09:04:34.000Z
/// The MIT License (MIT) /// /// Copyright (c) 2015 Kirill Bazhenov /// Copyright (c) 2015 BitBox, Ltd. /// /// Permission is hereby granted, free of charge, to any person obtaining a copy /// of this software and associated documentation files (the "Software"), to deal /// in the Software without restriction, ...
31.047414
173
0.629127
[ "render", "solid" ]
bac44d96619f7173164e055f8828d9a885994651
17,305
cpp
C++
Core/Contents/Source/PolyEntity.cpp
Guendeli/Polycode
f458010cb81a4c78874e29ff7738eae4e13b12bb
[ "MIT" ]
1
2020-08-25T06:30:49.000Z
2020-08-25T06:30:49.000Z
Core/Contents/Source/PolyEntity.cpp
Guendeli/Polycode
f458010cb81a4c78874e29ff7738eae4e13b12bb
[ "MIT" ]
null
null
null
Core/Contents/Source/PolyEntity.cpp
Guendeli/Polycode
f458010cb81a4c78874e29ff7738eae4e13b12bb
[ "MIT" ]
null
null
null
/* Copyright (C) 2011 by Ivan Safrin 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, publish, distri...
22.444877
99
0.711875
[ "render", "vector" ]
bac8439f4b49fe6ed9ddf1f375252852e1042e69
1,587
hpp
C++
PA4/src/primitives/surface.hpp
dowoncha/COMP575
6e48bdd80cb1a3e677c07655640efa941325e59c
[ "MIT" ]
null
null
null
PA4/src/primitives/surface.hpp
dowoncha/COMP575
6e48bdd80cb1a3e677c07655640efa941325e59c
[ "MIT" ]
null
null
null
PA4/src/primitives/surface.hpp
dowoncha/COMP575
6e48bdd80cb1a3e677c07655640efa941325e59c
[ "MIT" ]
null
null
null
/****************************************************************************** * * filename: Surfaces.h * author : Do Won Cha * *****************************************************************************/ #pragma once #ifndef _RAY_SURFACES_ #define _RAY_SURFACES_ #include <Eigen/Core> #include <string> na...
18.892857
82
0.613737
[ "object" ]
bacaf5e6c12e5676590356f471212134eae4e76f
623
cpp
C++
Algorithms/Complete Search/Generating Subsets/Algorithm1.cpp
NixonZ/Code_Chef
5bffb7c1f88e2754b31d724158f684dc2c91089b
[ "Apache-2.0" ]
null
null
null
Algorithms/Complete Search/Generating Subsets/Algorithm1.cpp
NixonZ/Code_Chef
5bffb7c1f88e2754b31d724158f684dc2c91089b
[ "Apache-2.0" ]
null
null
null
Algorithms/Complete Search/Generating Subsets/Algorithm1.cpp
NixonZ/Code_Chef
5bffb7c1f88e2754b31d724158f684dc2c91089b
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> #include <time.h> using namespace std; //Method 1- Recursive Search returns all subsets of {0,1,...n-1} int n; vector<int> subsets; void search(int k) { if(k==n) { if(!subsets.size()) cout<<"empty\n"; else { cout<<'['; for(auto x:subsets) cout<<x <<','; ...
16.837838
64
0.540931
[ "vector" ]
bace23e58cbd0a8eeda711bf0bd365e42aa46f7f
12,674
cxx
C++
ds/adsi/winnt/cuar.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
ds/adsi/winnt/cuar.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
ds/adsi/winnt/cuar.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//--------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1992 - 1995 // // File: cuar.cxx // // Contents: Account Restrictions Propset for the User object // // History: 11-1-95 krishnag Created. // ...
23.426987
81
0.607543
[ "object" ]
bad765bbe1ef6098a51b42e5be0e8cca5ada0079
21,512
hpp
C++
openstudiocore/src/model/StandardGlazing_Impl.hpp
BIMDataHub/OpenStudio-1
13ec115b00aa6a2af1426ceb26446f05014c8c8d
[ "blessing" ]
4
2015-05-02T21:04:15.000Z
2015-10-28T09:47:22.000Z
openstudiocore/src/model/StandardGlazing_Impl.hpp
BIMDataHub/OpenStudio-1
13ec115b00aa6a2af1426ceb26446f05014c8c8d
[ "blessing" ]
null
null
null
openstudiocore/src/model/StandardGlazing_Impl.hpp
BIMDataHub/OpenStudio-1
13ec115b00aa6a2af1426ceb26446f05014c8c8d
[ "blessing" ]
1
2020-11-12T21:52:36.000Z
2020-11-12T21:52:36.000Z
/********************************************************************** * Copyright (c) 2008-2015, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as publishe...
57.827957
277
0.82368
[ "vector", "model" ]
badb4f9a32aa0ad5dcea1bfb9913c592b730dc23
3,328
cpp
C++
simulation/halsim_gui/src/main/native/cpp/RelaySimGui.cpp
shueja-personal/allwpilib
4b2f6be29e21986703d9c3ddcd2fe07121b2ff6b
[ "BSD-3-Clause" ]
707
2016-05-11T16:54:13.000Z
2022-03-30T13:03:15.000Z
simulation/halsim_gui/src/main/native/cpp/RelaySimGui.cpp
shueja-personal/allwpilib
4b2f6be29e21986703d9c3ddcd2fe07121b2ff6b
[ "BSD-3-Clause" ]
2,308
2016-05-12T00:17:17.000Z
2022-03-30T20:08:10.000Z
simulation/halsim_gui/src/main/native/cpp/RelaySimGui.cpp
shueja-personal/allwpilib
4b2f6be29e21986703d9c3ddcd2fe07121b2ff6b
[ "BSD-3-Clause" ]
539
2016-05-11T20:33:26.000Z
2022-03-28T20:20:25.000Z
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. #include "RelaySimGui.h" #include <glass/hardware/Relay.h> #include <memory> #include <vector> #include <hal/Ports.h>...
27.966387
80
0.681791
[ "vector", "model" ]
badd1551df1877fd5a442be5561db5d921bfe6b5
882
cpp
C++
source/Library.Shared/GeometryShaderReader.cpp
ssshammi/real-time-3d-rendering-with-directx-and-hlsl
05a05c5c26784dafa9a89747276f385252951f2f
[ "MIT" ]
null
null
null
source/Library.Shared/GeometryShaderReader.cpp
ssshammi/real-time-3d-rendering-with-directx-and-hlsl
05a05c5c26784dafa9a89747276f385252951f2f
[ "MIT" ]
null
null
null
source/Library.Shared/GeometryShaderReader.cpp
ssshammi/real-time-3d-rendering-with-directx-and-hlsl
05a05c5c26784dafa9a89747276f385252951f2f
[ "MIT" ]
null
null
null
#include "pch.h" #include "GeometryShaderReader.h" #include "Game.h" #include "GameException.h" #include "Utility.h" using namespace std; using namespace DirectX; using namespace winrt; namespace Library { RTTI_DEFINITIONS(GeometryShaderReader) GeometryShaderReader::GeometryShaderReader(Game& game) : ContentType...
30.413793
198
0.795918
[ "vector" ]
bae1011cf7153539809d10da5325a1a2a4425e58
84,284
cc
C++
Molecule/smiles.cc
rajarshi/Lilly-Medchem-Rules
cb391fd04ba5820a88e31a8957bff68de08959f7
[ "Apache-2.0" ]
null
null
null
Molecule/smiles.cc
rajarshi/Lilly-Medchem-Rules
cb391fd04ba5820a88e31a8957bff68de08959f7
[ "Apache-2.0" ]
null
null
null
Molecule/smiles.cc
rajarshi/Lilly-Medchem-Rules
cb391fd04ba5820a88e31a8957bff68de08959f7
[ "Apache-2.0" ]
null
null
null
#include <stdlib.h> #include <memory> #include <random> #include <algorithm> #include "assert.h" #include "misc.h" #include "iwbits.h" #include "iwrandom.h" // Define this to get the molecule private functions defined here #define COMPILING_MOLECULER_CC #define COMPILING_SMILES_CC #define COMPILING_CTB #include "...
25.402049
192
0.655308
[ "object" ]
bae3f472d88f7965917b6aec9b481f9fa2380b0e
1,547
cc
C++
benchmark/sized_deletes.cc
s-kanev/gperftools
6af68f4cc7877deeae43dbe3510047d32f031153
[ "BSD-3-Clause" ]
null
null
null
benchmark/sized_deletes.cc
s-kanev/gperftools
6af68f4cc7877deeae43dbe3510047d32f031153
[ "BSD-3-Clause" ]
null
null
null
benchmark/sized_deletes.cc
s-kanev/gperftools
6af68f4cc7877deeae43dbe3510047d32f031153
[ "BSD-3-Clause" ]
null
null
null
#include <cstdlib> #include <cstdint> #include <random> #include <vector> #include "run_benchmark.h" #include "num_iterations.h" // Structs of increasing sizes to enable the compiler to invoke sized delete. struct size4 { size4() {} uint32_t elems[1]; }; struct size32 { size32() {} uint32_t elems[8]; }; str...
16.114583
77
0.613445
[ "vector" ]
baea1b3f1623375bb0c418136497e4b32fa85248
2,412
cpp
C++
src/core/src/op/util/fft_base.cpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
1
2022-02-26T17:33:44.000Z
2022-02-26T17:33:44.000Z
src/core/src/op/util/fft_base.cpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
18
2022-01-21T08:42:58.000Z
2022-03-28T13:21:31.000Z
src/core/src/op/util/fft_base.cpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
1
2020-12-13T22:16:54.000Z
2020-12-13T22:16:54.000Z
// Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "ngraph/op/util/fft_base.hpp" #include <fft_base_shape_inference.hpp> #include <ngraph/validation_util.hpp> #include "itt.hpp" #include "ngraph/attribute_visitor.hpp" using namespace std; BWDCMP_RTTI_DEFINITION(ov::op::...
37.107692
115
0.660862
[ "vector" ]
baea62f10cbfc23ccabc7834a7584548645d8614
1,938
hpp
C++
include/seqan3/alphabet/composite/all.hpp
smehringer/seqan3
141677c2ca0d24771d53bf2c6bc784c1e10eff90
[ "CC-BY-4.0", "CC0-1.0" ]
283
2017-03-14T23:43:33.000Z
2022-03-28T02:30:02.000Z
include/seqan3/alphabet/composite/all.hpp
eaasna/seqan3
02d00cf9ac57b17469db44b52efe7cae25700b98
[ "CC0-1.0", "CC-BY-4.0" ]
2,754
2017-03-21T18:39:02.000Z
2022-03-31T13:26:15.000Z
include/seqan3/alphabet/composite/all.hpp
eaasna/seqan3
02d00cf9ac57b17469db44b52efe7cae25700b98
[ "CC0-1.0", "CC-BY-4.0" ]
88
2017-03-20T12:43:42.000Z
2022-03-17T08:56:13.000Z
// ----------------------------------------------------------------------------------------------------- // Copyright (c) 2006-2021, Knut Reinert & Freie Universität Berlin // Copyright (c) 2016-2021, Knut Reinert & MPI für molekulare Genetik // This file may be used, modified and/or redistributed under the terms of th...
49.692308
120
0.688338
[ "object" ]
baef9ab00f0fb2a5a0f481c9a7c620716c7efa59
49,502
cxx
C++
VolumeRendering/vtkVolumeTextureMapper3D.cxx
garyc618/GitTagBug
0b1cdbf5a6f6b9b23fa03ff1d9f4a84953831864
[ "BSD-3-Clause" ]
1
2019-05-31T06:45:40.000Z
2019-05-31T06:45:40.000Z
VolumeRendering/vtkVolumeTextureMapper3D.cxx
garyc618/GitTagBug
0b1cdbf5a6f6b9b23fa03ff1d9f4a84953831864
[ "BSD-3-Clause" ]
null
null
null
VolumeRendering/vtkVolumeTextureMapper3D.cxx
garyc618/GitTagBug
0b1cdbf5a6f6b9b23fa03ff1d9f4a84953831864
[ "BSD-3-Clause" ]
null
null
null
/*========================================================================= Program: Visualization Toolkit Module: vtkVolumeTextureMapper3D.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 ...
33.379636
116
0.525938
[ "render", "object", "transform", "3d" ]
baf3708c9cb9b4a5e05eea9b56192a0e3433525f
2,156
cpp
C++
saga/impl/engine/context_base.cpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
5
2015-09-15T16:24:14.000Z
2021-08-12T11:05:55.000Z
saga/impl/engine/context_base.cpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
null
null
null
saga/impl/engine/context_base.cpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
3
2016-11-17T04:38:38.000Z
2021-04-10T17:23:52.000Z
// Copyright (c) 2005-2009 Hartmut Kaiser // // Distributed under the Boost Software License, Version 1.0. (See accompanying // job LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <saga/saga/util.hpp> #include <saga/saga/base.hpp> #include <saga/saga/adaptors/task.hpp> #include <saga/sa...
32.179104
82
0.576067
[ "object" ]
baf99ffffba31849bfca3cd534df8a7a515dc498
2,572
hpp
C++
include/mfemopt/reducedfunctional.hpp
stefanozampini/petscopt
73e4f9d50b1d216ff21d9322b5f83e8ca247ec24
[ "BSD-2-Clause" ]
9
2019-02-06T14:25:32.000Z
2022-03-31T19:50:01.000Z
include/mfemopt/reducedfunctional.hpp
stefanozampini/petscopt
73e4f9d50b1d216ff21d9322b5f83e8ca247ec24
[ "BSD-2-Clause" ]
null
null
null
include/mfemopt/reducedfunctional.hpp
stefanozampini/petscopt
73e4f9d50b1d216ff21d9322b5f83e8ca247ec24
[ "BSD-2-Clause" ]
1
2021-10-19T04:26:48.000Z
2021-10-19T04:26:48.000Z
#if !defined(_MFEMOPT_REDUCEDFUNCTIONAL_HPP) #define _MFEMOPT_REDUCEDFUNCTIONAL_HPP #include <petscoptconf.h> #if defined(PETSCOPT_HAVE_MFEMOPT) #include <mfemoptconf.h> #include <mfem/linalg/vector.hpp> #include <mfem/linalg/handle.hpp> #include <mfem/linalg/petsc.hpp> namespace mfemopt { // Abstract class for func...
36.742857
110
0.730171
[ "vector" ]
bafe749d1166f5316301cbff0fc2fd79ead9a3ec
15,273
hxx
C++
Modules/Numerics/NeuralNetworks/include/itkRBFLayer.hxx
eile/ITK
2f09e6e2f9e0a4a7269ac83c597f97b04f915dc1
[ "Apache-2.0" ]
1
2021-12-27T19:14:03.000Z
2021-12-27T19:14:03.000Z
Modules/Numerics/NeuralNetworks/include/itkRBFLayer.hxx
eile/ITK
2f09e6e2f9e0a4a7269ac83c597f97b04f915dc1
[ "Apache-2.0" ]
1
2016-12-03T05:33:13.000Z
2016-12-03T05:33:13.000Z
Modules/Numerics/NeuralNetworks/include/itkRBFLayer.hxx
eile/ITK
2f09e6e2f9e0a4a7269ac83c597f97b04f915dc1
[ "Apache-2.0" ]
null
null
null
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * h...
31.105906
109
0.73463
[ "object" ]
bafe940ee55f199092a695cb794454c04a22c8c9
2,070
cc
C++
GMLib/modules/core/benchmarks/array.cc
MormonJesus69420/Virtual-Reality-Graphics-And-Animation-Project
5cac3042d83f59ca5041247437ddc69afe3487c4
[ "WTFPL" ]
2
2019-08-04T09:41:42.000Z
2022-03-08T02:13:00.000Z
GMLib/modules/core/benchmarks/array.cc
MormonJesus69420/Virtual-Reality-Graphics-And-Animation-Project
5cac3042d83f59ca5041247437ddc69afe3487c4
[ "WTFPL" ]
null
null
null
GMLib/modules/core/benchmarks/array.cc
MormonJesus69420/Virtual-Reality-Graphics-And-Animation-Project
5cac3042d83f59ca5041247437ddc69afe3487c4
[ "WTFPL" ]
null
null
null
#include <benchmark/benchmark.h> #include <containers/gmarray.h> using namespace GMlib; #include <vector> #include <limits> #include <random> #include <algorithm> /*! * \brief BM_ArrayAlwaysInsert * Testing 'alwaysInsert's into an array of some size */ static void BM_Array_insertAlways_increasin...
26.202532
81
0.668116
[ "vector" ]
24008e08a69f4e1c63fdc4c906b1586ef6ca144a
18,135
cpp
C++
src/wpds/Tests/unit-tests/Source/AddOns/Domains/binrel/binrel.cpp
ucd-plse/mpi-error-prop
4367df88bcdc4d82c9a65b181d0e639d04962503
[ "BSD-3-Clause" ]
3
2020-05-22T04:17:23.000Z
2020-07-17T04:14:25.000Z
src/wpds/Tests/unit-tests/Source/AddOns/Domains/binrel/binrel.cpp
ucd-plse/mpi-error-prop
4367df88bcdc4d82c9a65b181d0e639d04962503
[ "BSD-3-Clause" ]
null
null
null
src/wpds/Tests/unit-tests/Source/AddOns/Domains/binrel/binrel.cpp
ucd-plse/mpi-error-prop
4367df88bcdc4d82c9a65b181d0e639d04962503
[ "BSD-3-Clause" ]
null
null
null
#include "gtest/gtest.h" #include "buddy/bdd.h" // ::std #include <iostream> #include <vector> #include <utility> #include <limits> #include <sstream> #include <string> #include <cstdlib> // ::wali::domains::binrel #include "wali/domains/binrel/BinRel.hpp" #include "wali/domains/binrel/ProgramBddContext.hpp" using ...
33.39779
106
0.556989
[ "vector" ]
24031a8b08d56c256e7cd9cbad14a4ddc0fe5f88
3,291
hpp
C++
Source/VolumeFactory.hpp
gpdaniels/Raymarcher
5c01f982251914739451ea992d3f59987dc7c537
[ "MIT" ]
6
2020-01-19T07:57:31.000Z
2021-09-12T11:18:59.000Z
Source/VolumeFactory.hpp
gpdaniels/Raymarcher
5c01f982251914739451ea992d3f59987dc7c537
[ "MIT" ]
null
null
null
Source/VolumeFactory.hpp
gpdaniels/Raymarcher
5c01f982251914739451ea992d3f59987dc7c537
[ "MIT" ]
1
2020-12-27T13:06:54.000Z
2020-12-27T13:06:54.000Z
/* The MIT License Copyright (c) 2017 Geoffrey Daniels. http://gpdaniels.com/ 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, ...
44.472973
127
0.686418
[ "solid" ]
24036cbc6a1361aab00e2b3f7f9234ed4f0b9a71
4,216
hpp
C++
src/sdglib/mappers/LinkedReadsMapper.hpp
bioinfologics/sdg
b874f5e4de2a5a77320fac2080bae48e12c1fd03
[ "MIT" ]
19
2019-07-01T22:46:20.000Z
2021-11-21T17:06:16.000Z
src/sdglib/mappers/LinkedReadsMapper.hpp
bioinfologics/sdg
b874f5e4de2a5a77320fac2080bae48e12c1fd03
[ "MIT" ]
58
2019-06-20T08:54:11.000Z
2021-08-04T09:30:28.000Z
src/sdglib/mappers/LinkedReadsMapper.hpp
bioinfologics/bsg
387f06ef21c494c4370b4c43869f72e27503024d
[ "MIT" ]
6
2017-11-22T16:23:11.000Z
2019-04-17T17:09:01.000Z
// // Created by Bernardo Clavijo (EI) on 11/02/2018. // #pragma once #include <set> #include <unordered_set> #include <map> #include <sdglib/types/MappingTypes.hpp> #include <sdglib/indexers/UniqueKmerIndex.hpp> #include <sdglib/Version.hpp> class WorkSpace; class UniqueKmerIndex; class Unique63merIndex; class Link...
31.22963
148
0.685009
[ "vector" ]
240439bad8ab4ba914b4ed4e9aff9f94158fc9db
5,171
cpp
C++
jobs/prop_mesher_job_step.cpp
Relintai/props
2afd6eff45f9a921bdf4090ff3029def86df5cb5
[ "MIT" ]
6
2020-09-23T18:01:46.000Z
2022-02-15T13:14:23.000Z
jobs/prop_mesher_job_step.cpp
Relintai/props
2afd6eff45f9a921bdf4090ff3029def86df5cb5
[ "MIT" ]
null
null
null
jobs/prop_mesher_job_step.cpp
Relintai/props
2afd6eff45f9a921bdf4090ff3029def86df5cb5
[ "MIT" ]
1
2020-09-14T05:09:22.000Z
2020-09-14T05:09:22.000Z
/* Copyright (c) 2019-2021 Péter Magyar 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, publish, distribut...
41.701613
167
0.81841
[ "mesh", "object" ]
2405df95cebbef09a44bcb82d178a4c304cd6dbd
10,654
cc
C++
tools/compiler/dr/src/generate/t_gv_generator.cc
mehrdad-shokri/Pebble
68315f176d9e328a233ace29b7579a829f89879f
[ "BSD-2-Clause" ]
841
2016-11-11T21:44:15.000Z
2022-03-13T09:00:56.000Z
tools/compiler/dr/src/generate/t_gv_generator.cc
mehrdad-shokri/Pebble
68315f176d9e328a233ace29b7579a829f89879f
[ "BSD-2-Clause" ]
21
2016-11-17T04:24:06.000Z
2019-04-11T09:36:52.000Z
tools/compiler/dr/src/generate/t_gv_generator.cc
mehrdad-shokri/Pebble
68315f176d9e328a233ace29b7579a829f89879f
[ "BSD-2-Clause" ]
343
2016-11-11T11:06:19.000Z
2022-03-21T09:07:45.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ma...
30.791908
103
0.605406
[ "shape", "vector" ]
2405f13eaa972e57a70edb8e0b532210d48a6e26
4,042
cpp
C++
src/runtime_src/core/tools/xbutil2/SubCmdMem.cpp
akhileshbhople/XRT
7f43226d5a7c8b95871c21d434313b8075192ea7
[ "Apache-2.0" ]
1
2021-03-20T07:05:42.000Z
2021-03-20T07:05:42.000Z
src/runtime_src/core/tools/xbutil2/SubCmdMem.cpp
akhileshbhople/XRT
7f43226d5a7c8b95871c21d434313b8075192ea7
[ "Apache-2.0" ]
null
null
null
src/runtime_src/core/tools/xbutil2/SubCmdMem.cpp
akhileshbhople/XRT
7f43226d5a7c8b95871c21d434313b8075192ea7
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2019 Xilinx, Inc * * Licensed under the Apache License, Version 2.0 (the "License"). You may * not use this file except in compliance with the License. A copy of the * License is located at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
37.775701
101
0.596734
[ "vector" ]
24073f1268de31e4c3b1836a4c25fd502bbc1c74
6,427
cpp
C++
GAG/src/GAGPL/CHEMISTRY/ModificationTable.cpp
hh1985/multi_hs_seq
9cf4e70fb59283da30339499952c43a0684f7e77
[ "Apache-2.0" ]
2
2015-04-03T14:44:45.000Z
2015-04-15T13:38:39.000Z
GAG/src/GAGPL/CHEMISTRY/ModificationTable.cpp
hh1985/multi_hs_seq
9cf4e70fb59283da30339499952c43a0684f7e77
[ "Apache-2.0" ]
null
null
null
GAG/src/GAGPL/CHEMISTRY/ModificationTable.cpp
hh1985/multi_hs_seq
9cf4e70fb59283da30339499952c43a0684f7e77
[ "Apache-2.0" ]
null
null
null
/******************************************************************** created: 2012/06/27 created: 27:6:2012 15:55 filename: ModificationTable.cpp file path: GAG\src\GAGPL\CHEMISTRY file base: ModificationTable file ext: cpp author: Han Hu purpose: ********************************************************...
35.905028
120
0.648358
[ "vector" ]
240b741c8a791e2d8dc746a0a4175bbb6231e2ad
57,776
cpp
C++
Plugins/StoryGraphPlugin/Source/StoryGraphPluginRuntime/Private/CustomNodes.cpp
VernamRD/StoryGraph
7014f55232f2e9981ecd3ae58d031e32d1496127
[ "MIT" ]
1
2020-08-13T11:54:04.000Z
2020-08-13T11:54:04.000Z
Plugins/StoryGraphPlugin/Source/StoryGraphPluginRuntime/Private/CustomNodes.cpp
VernamRD/StoryGraph
7014f55232f2e9981ecd3ae58d031e32d1496127
[ "MIT" ]
null
null
null
Plugins/StoryGraphPlugin/Source/StoryGraphPluginRuntime/Private/CustomNodes.cpp
VernamRD/StoryGraph
7014f55232f2e9981ecd3ae58d031e32d1496127
[ "MIT" ]
1
2022-02-14T16:11:04.000Z
2022-02-14T16:11:04.000Z
// Copyright 2016 Dmitriy Pavlov #include "CustomNodes.h" #include "Engine/Engine.h" #include "HUD_StoryGraph.h" #include "LogCategoryRutime.h" #include "StoryGraph.h" #include "StoryGraphObject.h" #include "StoryGraphWidget.h" #include "OtherActor_StoryGraph.h" //UCustomNodeBase........................................
25.850559
148
0.725284
[ "object" ]
240e82a987b14f876a8e7f360853602a2aed3cb2
2,597
hpp
C++
src/metrics/Object.hpp
DataDog/dd-native-metrics-js
1970b459913faf6415a11386edb7bc9c2a063e8a
[ "Apache-2.0" ]
1
2021-08-19T18:00:11.000Z
2021-08-19T18:00:11.000Z
src/metrics/Object.hpp
DataDog/dd-native-metrics-js
1970b459913faf6415a11386edb7bc9c2a063e8a
[ "Apache-2.0" ]
null
null
null
src/metrics/Object.hpp
DataDog/dd-native-metrics-js
1970b459913faf6415a11386edb7bc9c2a063e8a
[ "Apache-2.0" ]
null
null
null
#pragma once #include <nan.h> #include <stdint.h> #include <string> #include <uv.h> #include <vector> #include "Histogram.hpp" namespace datadog { class Object { public: Object(); Object(v8::Local<v8::Object> target); void set(std::string key, std::string value); void set(std::string k...
22.780702
78
0.585676
[ "object", "vector" ]
241021bca2c9ece5fc864528d605024f7dab5e27
8,238
hxx
C++
Modules/Core/Mesh/include/itkMeshToMeshFilter.hxx
bradking/ITK
625d4497512b0fb0108106e680063998b8528e06
[ "Apache-2.0" ]
945
2015-01-09T00:43:52.000Z
2022-03-30T08:23:02.000Z
Modules/Core/Mesh/include/itkMeshToMeshFilter.hxx
bradking/ITK
625d4497512b0fb0108106e680063998b8528e06
[ "Apache-2.0" ]
2,354
2015-02-04T21:54:21.000Z
2022-03-31T20:58:21.000Z
Modules/Core/Mesh/include/itkMeshToMeshFilter.hxx
bradking/ITK
625d4497512b0fb0108106e680063998b8528e06
[ "Apache-2.0" ]
566
2015-01-04T14:26:57.000Z
2022-03-18T20:33:18.000Z
/*========================================================================= * * Copyright NumFOCUS * * 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.or...
32.433071
119
0.717893
[ "object" ]
2414c8f4e324835edc94d6a9ef5bca041e0dd4e2
29,911
cc
C++
soa/service/runner.cc
datacratic/DasDB
5ccc1fc7c6c69c97e3dae0e02bb4009f95908d3b
[ "Apache-2.0" ]
3
2017-12-06T00:25:52.000Z
2021-08-24T20:46:54.000Z
soa/service/runner.cc
datacratic/DasDB
5ccc1fc7c6c69c97e3dae0e02bb4009f95908d3b
[ "Apache-2.0" ]
null
null
null
soa/service/runner.cc
datacratic/DasDB
5ccc1fc7c6c69c97e3dae0e02bb4009f95908d3b
[ "Apache-2.0" ]
1
2016-11-24T17:14:16.000Z
2016-11-24T17:14:16.000Z
/* runner.cc -*- C++ -*- Wolfgang Sourdeau, September 2013 Copyright (c) 2013 Datacratic. All rights reserved. A command runner class that hides the specifics of the underlying unix system calls and can intercept input and output. */ #include <fcntl.h...
27.491728
88
0.55167
[ "vector" ]
241b7e2bf4457a39656b37c09cf74e3ebe52552e
1,251
cpp
C++
examples/google-code-jam/Qwrk/Problem A.cpp
rbenic-fer/progauthfp
d0fd96c31ab0aab1a9acdcb7c75f2b430f51c675
[ "MIT" ]
null
null
null
examples/google-code-jam/Qwrk/Problem A.cpp
rbenic-fer/progauthfp
d0fd96c31ab0aab1a9acdcb7c75f2b430f51c675
[ "MIT" ]
null
null
null
examples/google-code-jam/Qwrk/Problem A.cpp
rbenic-fer/progauthfp
d0fd96c31ab0aab1a9acdcb7c75f2b430f51c675
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <fstream> #include <vector> #include <algorithm> typedef std::pair<char, char> PCC; char decode (char d) { if (d == ' ') return ' '; if (d == 'a') return 'y'; if (d == 'b') return 'h'; if (d == 'c') return 'e'; if (d == 'd') return 's'; if (d == 'e...
22.339286
53
0.43805
[ "vector" ]
2420404b82458ed62489c7d4d723d5c6c8747c35
1,769
hpp
C++
query_optimizer/cost_model/CostModel.hpp
spring-operator/quickstep
3e98776002eb5db7154031fd6ef1a7f000a89d81
[ "Apache-2.0" ]
31
2016-01-20T05:43:46.000Z
2022-02-07T09:14:06.000Z
query_optimizer/cost_model/CostModel.hpp
spring-operator/quickstep
3e98776002eb5db7154031fd6ef1a7f000a89d81
[ "Apache-2.0" ]
221
2016-01-20T18:25:10.000Z
2016-06-26T02:58:12.000Z
query_optimizer/cost_model/CostModel.hpp
spring-operator/quickstep
3e98776002eb5db7154031fd6ef1a7f000a89d81
[ "Apache-2.0" ]
17
2016-01-20T04:00:21.000Z
2019-03-12T02:41:25.000Z
/** * Copyright 2011-2015 Quickstep Technologies LLC. * Copyright 2015 Pivotal Software, 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...
24.915493
80
0.701526
[ "model" ]
242faaeb9dc6321173a2981a0c91ee42bdb369e8
1,652
hpp
C++
src/common/Config.hpp
vivint-smarthome/ceph-mesos
914f50c55aff4d8bbc9c00149e775ebaa3674a33
[ "Apache-2.0" ]
1
2017-06-12T22:58:11.000Z
2017-06-12T22:58:11.000Z
src/common/Config.hpp
vivint-smarthome/ceph-mesos
914f50c55aff4d8bbc9c00149e775ebaa3674a33
[ "Apache-2.0" ]
null
null
null
src/common/Config.hpp
vivint-smarthome/ceph-mesos
914f50c55aff4d8bbc9c00149e775ebaa3674a33
[ "Apache-2.0" ]
null
null
null
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
31.169811
75
0.755448
[ "vector" ]
2430c69cff0d7172650c280c315846d57726a09d
695
cpp
C++
b-LeetCode/55-Jump-Game.cpp
ftxj/4th-Semester
1d5c7e7e028176524bdafc64078775d42b73b51c
[ "MIT" ]
null
null
null
b-LeetCode/55-Jump-Game.cpp
ftxj/4th-Semester
1d5c7e7e028176524bdafc64078775d42b73b51c
[ "MIT" ]
null
null
null
b-LeetCode/55-Jump-Game.cpp
ftxj/4th-Semester
1d5c7e7e028176524bdafc64078775d42b73b51c
[ "MIT" ]
null
null
null
class Solution { public: bool canJump(vector<int>& nums) { if(nums.size() == 1) return true; for(int i = 0; i < nums.size();){ for(int j = i; j <= i + nums[i]; ++j){ if(j + 1 == nums.size()) return true; if(j >= nums.size()) ...
27.8
50
0.305036
[ "vector" ]
24366498a55576e711546c44a94d302712022278
3,887
cpp
C++
Code/Tools/AWSNativeSDKInit/source/Platform/Android/InitializeCerts_Android.cpp
BreakerOfThings/o3de
f4c59f868c726470ec910623facd836047d059c3
[ "Apache-2.0", "MIT" ]
11
2021-07-08T09:58:26.000Z
2022-03-17T17:59:26.000Z
Code/Tools/AWSNativeSDKInit/source/Platform/Android/InitializeCerts_Android.cpp
RoddieKieley/o3de
e804fd2a4241b039a42d9fa54eaae17dc94a7a92
[ "Apache-2.0", "MIT" ]
29
2021-07-06T19:33:52.000Z
2022-03-22T10:27:49.000Z
Code/Tools/AWSNativeSDKInit/source/Platform/Android/InitializeCerts_Android.cpp
RoddieKieley/o3de
e804fd2a4241b039a42d9fa54eaae17dc94a7a92
[ "Apache-2.0", "MIT" ]
4
2021-07-06T19:24:43.000Z
2022-03-31T12:42:27.000Z
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <AzCore/PlatformDef.h> // The AWS Native SDK AWSAllocator triggers a warning due...
42.714286
146
0.628763
[ "vector", "3d" ]
2436a413224af8a2a52aa1ff75e208f77825b0d4
3,694
cxx
C++
Tauola1_1_5/src/eventRecordInterfaces/TauolaHEPEVTEvent.cxx
klendathu2k/StarGenerator
7dd407c41d4eea059ca96ded80d30bda0bc014a4
[ "MIT" ]
2
2018-12-24T19:37:00.000Z
2022-02-28T06:57:20.000Z
Tauola1_1_5/src/eventRecordInterfaces/TauolaHEPEVTEvent.cxx
klendathu2k/StarGenerator
7dd407c41d4eea059ca96ded80d30bda0bc014a4
[ "MIT" ]
null
null
null
Tauola1_1_5/src/eventRecordInterfaces/TauolaHEPEVTEvent.cxx
klendathu2k/StarGenerator
7dd407c41d4eea059ca96ded80d30bda0bc014a4
[ "MIT" ]
null
null
null
#include "TauolaHEPEVTEvent.h" #include "Log.h" namespace Tauolapp { TauolaHEPEVTEvent::~TauolaHEPEVTEvent() { for(unsigned int i=0;i<particle_list.size();i++) delete particle_list[i]; } TauolaHEPEVTEvent::TauolaHEPEVTEvent() {} void TauolaHEPEVTEvent::addParticle(TauolaHEPEVTParticle *p) { p->setEvent(this); ...
25.652778
92
0.649161
[ "vector" ]
0f843193b4b833d62ec573e7bfd971b463b7a958
50,319
cc
C++
src/connectivity/bluetooth/core/bt-host/fidl/helpers.cc
PlugFox/fuchsia
39afe5230d41628b3c736a6e384393df954968c8
[ "BSD-2-Clause" ]
2
2021-12-29T10:11:08.000Z
2022-01-04T15:37:09.000Z
src/connectivity/bluetooth/core/bt-host/fidl/helpers.cc
PlugFox/fuchsia
39afe5230d41628b3c736a6e384393df954968c8
[ "BSD-2-Clause" ]
null
null
null
src/connectivity/bluetooth/core/bt-host/fidl/helpers.cc
PlugFox/fuchsia
39afe5230d41628b3c736a6e384393df954968c8
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2017 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "helpers.h" #include <endian.h> #include <algorithm> #include <charconv> #include <iterator> #include <unordered_set> #include "fuchsia/bluetoo...
36.019327
100
0.682088
[ "vector", "transform" ]
0f867fc3a196128d5ead0efb0660de9181b40234
13,452
cpp
C++
dev/Code/Sandbox/Editor/Objects/VisAreaShapeObject.cpp
crazyskateface/lumberyard
164512f8d415d6bdf37e195af319ffe5f96a8f0b
[ "AML" ]
5
2018-08-17T21:05:55.000Z
2021-04-17T10:48:26.000Z
dev/Code/Sandbox/Editor/Objects/VisAreaShapeObject.cpp
JulianoCristian/Lumberyard-3
dc523dd780f3cd1874251181b7cf6848b8db9959
[ "AML" ]
null
null
null
dev/Code/Sandbox/Editor/Objects/VisAreaShapeObject.cpp
JulianoCristian/Lumberyard-3
dc523dd780f3cd1874251181b7cf6848b8db9959
[ "AML" ]
5
2017-12-05T16:36:00.000Z
2021-04-27T06:33:54.000Z
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
32.889976
131
0.534865
[ "vector" ]
0f8b13b0927975f31dfb5d7195167a2bb026ec59
23,427
cc
C++
test/src/unit-capi-query.cc
upj977155/TileDB
1c96c6a0c030e058930ff9d47409865fbfe2178f
[ "MIT" ]
null
null
null
test/src/unit-capi-query.cc
upj977155/TileDB
1c96c6a0c030e058930ff9d47409865fbfe2178f
[ "MIT" ]
null
null
null
test/src/unit-capi-query.cc
upj977155/TileDB
1c96c6a0c030e058930ff9d47409865fbfe2178f
[ "MIT" ]
null
null
null
/** * @file unit-capi-query.cc * * @section LICENSE * * The MIT License * * @copyright Copyright (c) 2017-2021 TileDB, Inc. * @copyright Copyright (c) 2016 MIT and Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentatio...
32.810924
80
0.706364
[ "vector" ]
0f90aa43dccd0703b7b4b7ff25be765e7a774371
1,543
cpp
C++
src/Domain/Structure/CreateInitialMesh.cpp
keefemitman/spectre
a8c3e387addc34d8a4544728f405991e6c9e5e38
[ "MIT" ]
null
null
null
src/Domain/Structure/CreateInitialMesh.cpp
keefemitman/spectre
a8c3e387addc34d8a4544728f405991e6c9e5e38
[ "MIT" ]
null
null
null
src/Domain/Structure/CreateInitialMesh.cpp
keefemitman/spectre
a8c3e387addc34d8a4544728f405991e6c9e5e38
[ "MIT" ]
null
null
null
// Distributed under the MIT License. // See LICENSE.txt for details. #include "Domain/Structure/CreateInitialMesh.hpp" #include <array> #include <cstddef> #include <vector> #include "DataStructures/Index.hpp" #include "Domain/Structure/ElementId.hpp" #include "Domain/Structure/OrientationMap.hpp" #include "Numerica...
32.145833
78
0.706416
[ "mesh", "vector" ]
0f91d7c8e124f27e15d4af745683573e302ae44e
579
cc
C++
tests/CADMeshTests.cc
josephmckenna/CADMesh
cd867d46af7f6474f70c94f0dfdf2a4fcd3024ff
[ "MIT" ]
94
2015-02-03T18:20:30.000Z
2022-02-21T17:06:31.000Z
tests/CADMeshTests.cc
josephmckenna/CADMesh
cd867d46af7f6474f70c94f0dfdf2a4fcd3024ff
[ "MIT" ]
36
2015-02-19T12:32:09.000Z
2021-11-17T13:07:05.000Z
tests/CADMeshTests.cc
josephmckenna/CADMesh
cd867d46af7f6474f70c94f0dfdf2a4fcd3024ff
[ "MIT" ]
59
2015-03-04T10:52:39.000Z
2022-02-23T12:15:48.000Z
#define CATCH_CONFIG_MAIN #include "catch2/catch.hpp" // CADMesh // #include "CADMesh.hh" SCENARIO( "Load a PLY file as a tessellated mesh.") { GIVEN( "the PLY file on disk" ) { auto mesh = CADMesh::TessellatedMesh::FromPLY("../meshes/sphere.ply"); REQUIRE( mesh->GetFileName() == "../meshes/sp...
24.125
78
0.542314
[ "mesh" ]
0f93ac40776ae41f8614da6784c5d5c9ab2acd2b
4,898
cpp
C++
src/conformance/framework/bitmask_generator.cpp
rpavlik/OpenXR-CTS
5600673d550ddd5692614d11fabe0f9ceae16ed6
[ "Unlicense", "BSD-3-Clause", "Apache-2.0", "MIT" ]
35
2020-07-07T18:10:11.000Z
2022-03-13T10:48:45.000Z
src/conformance/framework/bitmask_generator.cpp
rpavlik/OpenXR-CTS
5600673d550ddd5692614d11fabe0f9ceae16ed6
[ "Unlicense", "BSD-3-Clause", "Apache-2.0", "MIT" ]
29
2020-09-10T16:36:59.000Z
2022-03-31T18:17:32.000Z
src/conformance/framework/bitmask_generator.cpp
rpavlik/OpenXR-CTS
5600673d550ddd5692614d11fabe0f9ceae16ed6
[ "Unlicense", "BSD-3-Clause", "Apache-2.0", "MIT" ]
9
2020-09-10T16:01:57.000Z
2022-01-21T18:28:35.000Z
// Copyright (c) 2019-2021, The Khronos Group Inc. // Copyright (c) 2019 Collabora, Ltd. // // SPDX-License-Identifier: Apache-2.0 // // 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 // // ...
32.872483
137
0.557575
[ "vector" ]
0f9777e74f57b3a39f976c89d6922d5cd92525e6
10,353
cpp
C++
src/other/ext/openscenegraph/src/osg/AutoTransform.cpp
lf-/brlcad
f91ea585c1a930a2e97c3f5a8274db8805ebbb46
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
src/other/ext/openscenegraph/src/osg/AutoTransform.cpp
lf-/brlcad
f91ea585c1a930a2e97c3f5a8274db8805ebbb46
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
src/other/ext/openscenegraph/src/osg/AutoTransform.cpp
lf-/brlcad
f91ea585c1a930a2e97c3f5a8274db8805ebbb46
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file * included with this...
32.659306
109
0.521781
[ "transform" ]
0f985575a724684b17581fbc94c41e18f61e0104
2,172
hpp
C++
openstudiocore/src/openstudio_lib/RunTabController.hpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
openstudiocore/src/openstudio_lib/RunTabController.hpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
openstudiocore/src/openstudio_lib/RunTabController.hpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
/********************************************************************** * Copyright (c) 2008-2014, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as publ...
27.493671
108
0.667587
[ "model" ]
0f99ae747491dfa92d2d8cce311aee723b00ef69
492
cpp
C++
src/Pathfinding-Visualizer/Search.cpp
joshuainovero/Pathfinding-Visualizer
da94f026d2a1c26cb5241500e8013d1e9d906543
[ "MIT" ]
4
2021-10-15T03:40:48.000Z
2022-01-19T18:48:01.000Z
src/Pathfinding-Visualizer/Search.cpp
joshuainovero/Pathfinding-Visualizer
da94f026d2a1c26cb5241500e8013d1e9d906543
[ "MIT" ]
null
null
null
src/Pathfinding-Visualizer/Search.cpp
joshuainovero/Pathfinding-Visualizer
da94f026d2a1c26cb5241500e8013d1e9d906543
[ "MIT" ]
2
2021-10-15T03:40:52.000Z
2022-01-05T10:07:42.000Z
#include "Search.hpp" Search_::Search_(std::vector<Node*>* tiles_, uint32_t total_rows_, Node* start, Node* end) : Algorithm_(tiles_, total_rows_){ start_node = start; end_node = end; } Search_::~Search_() {} void Search_::reconstruct_path(Node* current){ while (current != start_node){...
23.428571
90
0.650407
[ "vector" ]
0f9a32a4b0db516b0c88b292aad36702c4654b24
3,412
cpp
C++
velox/tpch/gen/DBGenIterator.cpp
laithsakka/velox
41c01f63276205f6afd7e1db49c9d09430dcfbcc
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
velox/tpch/gen/DBGenIterator.cpp
laithsakka/velox
41c01f63276205f6afd7e1db49c9d09430dcfbcc
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
velox/tpch/gen/DBGenIterator.cpp
laithsakka/velox
41c01f63276205f6afd7e1db49c9d09430dcfbcc
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
30.738739
80
0.720692
[ "object" ]
0f9d39758a45fdedd802b2bd02eebeaf08d1932e
2,477
cpp
C++
formresult.cpp
horsicq/StaticScan
8688d135e8a51f32398b099e255d56bca3c46da9
[ "MIT" ]
7
2018-05-10T14:03:07.000Z
2020-08-02T05:48:26.000Z
formresult.cpp
horsicq/StaticScan
8688d135e8a51f32398b099e255d56bca3c46da9
[ "MIT" ]
null
null
null
formresult.cpp
horsicq/StaticScan
8688d135e8a51f32398b099e255d56bca3c46da9
[ "MIT" ]
6
2017-06-03T17:58:36.000Z
2021-09-14T07:12:46.000Z
// copyright (c) 2017-2021 hors<horsicq@gmail.com> // // 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, mod...
32.168831
109
0.716996
[ "model" ]
0f9e7c030437e334a38f6b91eccfa694185053f7
11,162
cpp
C++
ovr_sdk_mobile/VrAppFramework/Src/App_Android.cpp
ejeinc/Meganekko
c62d82e8a5d2eb67af056282f4ff7c90cbd73494
[ "Apache-2.0" ]
25
2015-10-08T09:35:35.000Z
2018-09-14T06:53:39.000Z
ovr_sdk_mobile/VrAppFramework/Src/App_Android.cpp
ejeinc/Meganekko
c62d82e8a5d2eb67af056282f4ff7c90cbd73494
[ "Apache-2.0" ]
16
2015-09-28T07:21:55.000Z
2017-04-25T02:31:57.000Z
ovr_sdk_mobile/VrAppFramework/Src/App_Android.cpp
ejeinc/Meganekko
c62d82e8a5d2eb67af056282f4ff7c90cbd73494
[ "Apache-2.0" ]
11
2016-03-17T02:34:17.000Z
2022-01-19T08:10:35.000Z
/************************************************************************************ Filename : App_Android.cpp Content : Native counterpart to VrActivity and VrApp Created : September 30, 2013 Authors : John Carmack Copyright : Copyright 2014 Oculus VR, LLC. All Rights reserved. ********...
34.134557
139
0.698889
[ "object" ]
0fa4df1c5629039d3aa2f1f5aed0da934c422dbe
1,090
cpp
C++
codes/CodeForces/Round #259/cf453C.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/CodeForces/Round #259/cf453C.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/CodeForces/Round #259/cf453C.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <cstring> #include <vector> #include <algorithm> using namespace std; const int maxn = 1e5+5; int N, M, a, b, s; int ans, rec[maxn*4]; int c[maxn], v[maxn]; vector<int> g[maxn]; void init () { ans = s = 0; scanf("%d%d", &N, &M); memset(v, 0, sizeof(v)); for (int i = 0; i < M; i++) { ...
13.13253
40
0.457798
[ "vector" ]
0fa765a5d53650a9e15fe367820103c6c0e6b621
12,053
cpp
C++
src/IB/IBFEPostProcessor.cpp
syam-s/IBAMR
b6502f2f818835961d103fd2a2827d9336e68640
[ "BSD-3-Clause" ]
2
2020-03-03T12:29:36.000Z
2021-02-15T06:54:20.000Z
src/IB/IBFEPostProcessor.cpp
syam-s/IBAMR
b6502f2f818835961d103fd2a2827d9336e68640
[ "BSD-3-Clause" ]
null
null
null
src/IB/IBFEPostProcessor.cpp
syam-s/IBAMR
b6502f2f818835961d103fd2a2827d9336e68640
[ "BSD-3-Clause" ]
null
null
null
// --------------------------------------------------------------------- // // Copyright (c) 2014 - 2019 by the IBAMR developers // All rights reserved. // // This file is part of IBAMR. // // IBAMR is free software and is distributed under the 3-clause BSD // license. The full text of the license can be found in the f...
40.446309
119
0.628308
[ "mesh", "vector" ]
0fa81ec3a4e33c3b1ad1ed485a7d58f00bb8d0a0
1,438
cpp
C++
Chapter01/lambda_capturing_by_value/lambda_capturing_by_value.cpp
Vaibhav-Kashyap/-Learning-CPP-Functional-Programming-packt
3c7ef5fcfb161870b644595c69fdb3a3522d8411
[ "MIT" ]
41
2017-08-25T07:13:57.000Z
2022-01-06T12:28:33.000Z
Chapter01/lambda_capturing_by_value/lambda_capturing_by_value.cpp
Vaibhav-Kashyap/-Learning-CPP-Functional-Programming-packt
3c7ef5fcfb161870b644595c69fdb3a3522d8411
[ "MIT" ]
null
null
null
Chapter01/lambda_capturing_by_value/lambda_capturing_by_value.cpp
Vaibhav-Kashyap/-Learning-CPP-Functional-Programming-packt
3c7ef5fcfb161870b644595c69fdb3a3522d8411
[ "MIT" ]
26
2017-08-10T21:12:25.000Z
2021-11-17T07:25:04.000Z
/* lambda_capturing_by_value.cpp */ #include <vector> #include <algorithm> #include <iostream> using namespace std; auto main() -> int { cout << "[lambda_capturing_by_value.cpp]" << endl; // Initializing a vector containing integer element vector<int> vect; for (int i = 0; i < 10; ++i) vect.p...
23.57377
57
0.456885
[ "vector" ]
0fadda7fa420f51f251014cbfb942522cbab9ebf
12,099
cc
C++
chrome/renderer/spellchecker/spellcheck.cc
GnorTech/chromium
e1c7731d5bd099ca5544fcf8eda3867d4ce5bab5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2018-03-10T13:08:49.000Z
2018-03-10T13:08:49.000Z
chrome/renderer/spellchecker/spellcheck.cc
GnorTech/chromium
e1c7731d5bd099ca5544fcf8eda3867d4ce5bab5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/renderer/spellchecker/spellcheck.cc
GnorTech/chromium
e1c7731d5bd099ca5544fcf8eda3867d4ce5bab5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-11-04T07:19:31.000Z
2020-11-04T07:19:31.000Z
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/renderer/spellchecker/spellcheck.h" #include "base/bind.h" #include "base/message_loop_proxy.h" #include "base/utf_string_conversion...
34.767241
87
0.716175
[ "object", "vector" ]
0fadf5a26724ace632a0e10e8a67caf756d740df
6,550
cpp
C++
test/lcp-client-lib/tests/DateTimeTest.cpp
isabelleknott/readium-lcp-client
764b28f5f4d879f771be7e727cf4a79ac0d62d9f
[ "BSD-3-Clause" ]
11
2017-02-24T10:58:19.000Z
2021-12-28T11:24:45.000Z
test/lcp-client-lib/tests/DateTimeTest.cpp
isabelleknott/readium-lcp-client
764b28f5f4d879f771be7e727cf4a79ac0d62d9f
[ "BSD-3-Clause" ]
19
2017-03-10T09:16:04.000Z
2020-01-31T09:20:59.000Z
test/lcp-client-lib/tests/DateTimeTest.cpp
isabelleknott/readium-lcp-client
764b28f5f4d879f771be7e727cf4a79ac0d62d9f
[ "BSD-3-Clause" ]
10
2017-06-14T08:06:42.000Z
2022-01-25T16:49:43.000Z
// Copyright (c) 2016 Mantano // Licensed to the Readium Foundation under one or more contributor license agreements. // // 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 retai...
37.00565
87
0.676031
[ "object" ]
0faea998bf93a0c519df8b5aa5fde816ab0fce40
18,554
cpp
C++
src/Adanaxis/AdanaxisGame.cpp
mushware/adanaxis-core-app
679ac3e8a122e059bb208e84c73efc19753e87dd
[ "MIT" ]
9
2020-11-02T17:20:40.000Z
2021-12-25T15:35:36.000Z
src/Adanaxis/AdanaxisGame.cpp
mushware/adanaxis-core-app
679ac3e8a122e059bb208e84c73efc19753e87dd
[ "MIT" ]
2
2020-06-27T23:14:13.000Z
2020-11-02T17:28:32.000Z
src/Adanaxis/AdanaxisGame.cpp
mushware/adanaxis-core-app
679ac3e8a122e059bb208e84c73efc19753e87dd
[ "MIT" ]
1
2021-05-12T23:05:42.000Z
2021-05-12T23:05:42.000Z
//%Header { /***************************************************************************** * * File: src/Adanaxis/AdanaxisGame.cpp * * Copyright: Andy Southgate 2002-2007, 2020 * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (...
27.733931
123
0.649887
[ "mesh", "render", "object", "solid" ]
0fb43d1b22debfdcc56b759220839f5f1d1eede8
32,058
hpp
C++
SFML-UILoader/TGUI-0.8/include/TGUI/Container.hpp
ChrisAcornley/SFML-UILoader
ac84cc5502e1d5d7a8d680e0ac342dd1e97f6587
[ "MIT" ]
null
null
null
SFML-UILoader/TGUI-0.8/include/TGUI/Container.hpp
ChrisAcornley/SFML-UILoader
ac84cc5502e1d5d7a8d680e0ac342dd1e97f6587
[ "MIT" ]
null
null
null
SFML-UILoader/TGUI-0.8/include/TGUI/Container.hpp
ChrisAcornley/SFML-UILoader
ac84cc5502e1d5d7a8d680e0ac342dd1e97f6587
[ "MIT" ]
null
null
null
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // TGUI - Texus' Graphical User Interface // Copyright (C) 2012-2019 Bruno Van de Velde (vdv_b@tgui.eu) // // This software is provided 'as-is', without any express or implied warranty. /...
54.8
133
0.296494
[ "vector" ]
0fc10bdb62cf7566fbcd0f9e115a107babcb1010
70,996
cpp
C++
velox/dwio/dwrf/writer/ColumnWriter.cpp
ZJie1/velox
7ac665ad5ed6b973dcf5daef98045adc72a768d8
[ "Apache-2.0" ]
null
null
null
velox/dwio/dwrf/writer/ColumnWriter.cpp
ZJie1/velox
7ac665ad5ed6b973dcf5daef98045adc72a768d8
[ "Apache-2.0" ]
null
null
null
velox/dwio/dwrf/writer/ColumnWriter.cpp
ZJie1/velox
7ac665ad5ed6b973dcf5daef98045adc72a768d8
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
35.163943
83
0.674292
[ "vector" ]
0fc1cb532aeedf22b19b7d91dda8e7c98378d694
1,331
cpp
C++
Shader/ShaderAttribute.cpp
SatoshiMabuchi/Crystal
91b2d72e5544cf86183587d2cfea48ca7f390dd4
[ "MIT" ]
null
null
null
Shader/ShaderAttribute.cpp
SatoshiMabuchi/Crystal
91b2d72e5544cf86183587d2cfea48ca7f390dd4
[ "MIT" ]
null
null
null
Shader/ShaderAttribute.cpp
SatoshiMabuchi/Crystal
91b2d72e5544cf86183587d2cfea48ca7f390dd4
[ "MIT" ]
null
null
null
#include "ShaderAttribute.h" #include "ShaderObject.h" using namespace Crystal::Shader; std::string IShaderAttribute::getTypeName() const { return type.toString(); } void ShaderAttribute1f::render(ShaderObject& shader) { glVertexAttribPointer(shader.getAttribLocation(getName()), 1, GL_FLOAT, GL_FALSE, ...
30.25
102
0.752066
[ "render" ]
0fc27c30e3cc61e1b0cd1eed5219a138907c3d6c
4,089
cpp
C++
cpp_feature/test/test_parser.cpp
eozd/SIU-2018
81df1760be6a26c48d4140511ab194ffc8d700d7
[ "Apache-2.0" ]
1
2019-06-27T04:07:56.000Z
2019-06-27T04:07:56.000Z
cpp_feature/test/test_parser.cpp
eozd/SIU-2018
81df1760be6a26c48d4140511ab194ffc8d700d7
[ "Apache-2.0" ]
null
null
null
cpp_feature/test/test_parser.cpp
eozd/SIU-2018
81df1760be6a26c48d4140511ab194ffc8d700d7
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2018 Esref Ozdemir * * 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...
46.465909
79
0.480558
[ "vector" ]
0fc421ccdb5747cf0aa8238ed9d72db7da06a776
361
cpp
C++
cpp/example/src/BestTime2BuyAndSellStock/bestTime2BuyAndSellStock.cpp
zcemycl/algoTest
9518fb2b60fd83c85aeb2ab809ff647aaf643f0a
[ "MIT" ]
1
2022-01-26T16:33:45.000Z
2022-01-26T16:33:45.000Z
cpp/example/src/BestTime2BuyAndSellStock/bestTime2BuyAndSellStock.cpp
zcemycl/algoTest
9518fb2b60fd83c85aeb2ab809ff647aaf643f0a
[ "MIT" ]
null
null
null
cpp/example/src/BestTime2BuyAndSellStock/bestTime2BuyAndSellStock.cpp
zcemycl/algoTest
9518fb2b60fd83c85aeb2ab809ff647aaf643f0a
[ "MIT" ]
1
2022-01-26T16:35:44.000Z
2022-01-26T16:35:44.000Z
#include "bestTime2BuyAndSellStock.h" int bestTime2BuyAndSellStock::naive(vector<int>& prices){ int minVal = prices[0]; int maxReturn = 0; for (int i=1;i<prices.size();i++){ if (prices[i]-minVal>maxReturn) maxReturn = prices[i]-minVal; if (prices[i]<minVal) minVal = ...
25.785714
57
0.601108
[ "vector" ]
0fc57c641c5d2066f6b481a357fd95deda811062
2,237
hpp
C++
components/SNPSummaryComponent/include/components/SNPSummaryComponent/ConsensusCaller.hpp
CreRecombinase/qctool
6dad3a15c461177bf6940ba7b991337402ca5c41
[ "BSL-1.0" ]
3
2021-04-21T05:42:24.000Z
2022-01-26T14:59:43.000Z
components/SNPSummaryComponent/include/components/SNPSummaryComponent/ConsensusCaller.hpp
CreRecombinase/qctool
6dad3a15c461177bf6940ba7b991337402ca5c41
[ "BSL-1.0" ]
2
2020-04-09T16:11:04.000Z
2020-11-10T11:18:56.000Z
components/SNPSummaryComponent/include/components/SNPSummaryComponent/ConsensusCaller.hpp
gavinband/qctool
8d8adb45151c91f953fe4a9af00498073b1132ba
[ "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) #ifndef QCTOOL_CALLCOMPARERCOMPONENT_CONSENSUS_CALLER_HPP #define QCTOOL_CALLCOMPARERCOMPONENT_CONSENSUS...
32.897059
93
0.762181
[ "vector", "model" ]
0fc6ea7be0d35b98d08d5213a8c67d02da7dde7a
1,831
cpp
C++
test_deprecated/testUtil/example_tc_lock.cpp
SuckShit/TarsCpp
3f42f4e7a7bf43026a782c5d4b033155c27ed0c4
[ "BSD-3-Clause" ]
1
2019-09-05T07:25:51.000Z
2019-09-05T07:25:51.000Z
test_deprecated/testUtil/example_tc_lock.cpp
SuckShit/TarsCpp
3f42f4e7a7bf43026a782c5d4b033155c27ed0c4
[ "BSD-3-Clause" ]
null
null
null
test_deprecated/testUtil/example_tc_lock.cpp
SuckShit/TarsCpp
3f42f4e7a7bf43026a782c5d4b033155c27ed0c4
[ "BSD-3-Clause" ]
1
2021-05-21T09:59:06.000Z
2021-05-21T09:59:06.000Z
/** * Tencent is pleased to support the open source community by making Tars available. * * Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. * * Licensed under the BSD 3-Clause License (the "License"); you may not use this file except * in compliance with the License. You may obtain a ...
20.120879
92
0.575096
[ "vector" ]
0fc8c5e3cf1db6258b8c5902b5af96d976e6bb9b
4,417
cpp
C++
dev/Code/Sandbox/Editor/SettingsBlock.cpp
crazyskateface/lumberyard
164512f8d415d6bdf37e195af319ffe5f96a8f0b
[ "AML" ]
5
2018-08-17T21:05:55.000Z
2021-04-17T10:48:26.000Z
dev/Code/Sandbox/Editor/SettingsBlock.cpp
JulianoCristian/Lumberyard-3
dc523dd780f3cd1874251181b7cf6848b8db9959
[ "AML" ]
null
null
null
dev/Code/Sandbox/Editor/SettingsBlock.cpp
JulianoCristian/Lumberyard-3
dc523dd780f3cd1874251181b7cf6848b8db9959
[ "AML" ]
5
2017-12-05T16:36:00.000Z
2021-04-27T06:33:54.000Z
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
25.531792
100
0.676251
[ "vector" ]
0fc8db2a5a14be52ba83ab09873d43e4ba3d5a2d
15,947
cpp
C++
lib/extern/gmatutil/util/LeapSecsFileReader.cpp
ryanketzner/sphericalpolygon
de7ab321382d192b86e7ad9527f025a143f3f3f7
[ "Apache-2.0" ]
4
2021-12-23T16:49:06.000Z
2022-02-09T21:36:31.000Z
lib/extern/gmatutil/util/LeapSecsFileReader.cpp
ryanketzner/sphericalpolygon
de7ab321382d192b86e7ad9527f025a143f3f3f7
[ "Apache-2.0" ]
15
2022-01-14T17:28:14.000Z
2022-02-11T02:39:25.000Z
lib/extern/gmatutil/util/LeapSecsFileReader.cpp
ryanketzner/sphericalpolygon
de7ab321382d192b86e7ad9527f025a143f3f3f7
[ "Apache-2.0" ]
1
2022-02-03T15:44:16.000Z
2022-02-03T15:44:16.000Z
//$Id: LeapSecsFileReader.cpp 10525 2012-05-24 14:42:59Z wendys-dev $ //------------------------------------------------------------------------------ // LeapSecsFileReader //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Too...
37.434272
143
0.523045
[ "vector" ]
0fc99724c4f1e303661e2723057553fb20f15a6c
87,883
cpp
C++
king/rplot.cpp
statgen/topmed_variant_calling
cfd0242eada5a0c6ddd73695af22fa47af20f010
[ "Apache-2.0" ]
14
2018-09-06T18:04:33.000Z
2021-09-17T16:27:27.000Z
king/rplot.cpp
statgen/topmed_variant_calling
cfd0242eada5a0c6ddd73695af22fa47af20f010
[ "Apache-2.0" ]
6
2018-10-03T21:37:46.000Z
2022-01-17T08:43:53.000Z
king/rplot.cpp
statgen/topmed_variant_calling
cfd0242eada5a0c6ddd73695af22fa47af20f010
[ "Apache-2.0" ]
5
2019-05-14T18:30:22.000Z
2021-12-13T22:06:09.000Z
////////////////////////////////////////////////////////////////////// // rplot.cpp // (c) 2010-2019 Wei-Min Chen // // This file is distributed as part of the KING source code package // and may not be redistributed in any form, without prior written // permission from the author. Permission is granted for you to // ...
59.420554
199
0.591138
[ "shape", "vector" ]
0fc9dc89adffe8b4ab2a694a176a43f43ecc3fe8
14,348
cpp
C++
src/jablotron/JablotronDeviceManager.cpp
jalowiczor/gateway
612a08d6154e8768dfd30f1e1f00de1bfcad090f
[ "BSD-3-Clause" ]
null
null
null
src/jablotron/JablotronDeviceManager.cpp
jalowiczor/gateway
612a08d6154e8768dfd30f1e1f00de1bfcad090f
[ "BSD-3-Clause" ]
null
null
null
src/jablotron/JablotronDeviceManager.cpp
jalowiczor/gateway
612a08d6154e8768dfd30f1e1f00de1bfcad090f
[ "BSD-3-Clause" ]
null
null
null
#include <Poco/RegularExpression.h> #include <Poco/Thread.h> #include <Poco/StringTokenizer.h> #include "commands/NewDeviceCommand.h" #include "core/CommandDispatcher.h" #include "di/Injectable.h" #include "io/AutoClose.h" #include "jablotron/JablotronDeviceAC88.h" #include "jablotron/JablotronDeviceManager.h" #includ...
24.652921
90
0.709855
[ "vector" ]
0fcd0c56a49813011b63690692b4a8e1b75738be
27,160
cpp
C++
lib/Parser/rust-api.cpp
matinzd/hermes
14eec7ffd8889c1dceb7886b3fee86becdfed452
[ "MIT" ]
2
2021-09-28T13:22:37.000Z
2021-12-20T12:05:19.000Z
lib/Parser/rust-api.cpp
matinzd/hermes
14eec7ffd8889c1dceb7886b3fee86becdfed452
[ "MIT" ]
null
null
null
lib/Parser/rust-api.cpp
matinzd/hermes
14eec7ffd8889c1dceb7886b3fee86becdfed452
[ "MIT" ]
1
2021-12-24T11:25:24.000Z
2021-12-24T11:25:24.000Z
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /* * This file exposes a C API for use by Rust. It cannot actually be used from C * as is, because the function declarations them...
45.41806
79
0.405339
[ "object", "vector" ]
0fd13b9f745d8974c5f0fcff5a67e61224f568f0
5,786
cc
C++
tensorflow/compiler/xrt/client/xrt_client_test.cc
slavslav/tensorflow
e29e704c9c8d68113fc407243b75a09325c86d08
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/xrt/client/xrt_client_test.cc
slavslav/tensorflow
e29e704c9c8d68113fc407243b75a09325c86d08
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/xrt/client/xrt_client_test.cc
slavslav/tensorflow
e29e704c9c8d68113fc407243b75a09325c86d08
[ "Apache-2.0" ]
null
null
null
/* Copyright 2019 The TensorFlow Authors. 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 by applicable law or a...
41.328571
80
0.734013
[ "vector" ]