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
20b64950ecf8b7236b3a81cb6538d130cbdcdfc9
350
cpp
C++
Algorithms/Warmup/Staircase.cpp
pavstar619/HackerRank
697ee46b6e621ad884a064047461d7707b1413cd
[ "MIT" ]
61
2017-04-27T13:45:12.000Z
2022-01-27T11:40:15.000Z
Algorithms/Warmup/Staircase.cpp
fahad0193/HackerRank
eb6c95e16688c02921c1df6b6ea613667a251457
[ "MIT" ]
1
2017-06-24T14:16:06.000Z
2017-06-24T14:16:28.000Z
Algorithms/Warmup/Staircase.cpp
fahad0193/HackerRank
eb6c95e16688c02921c1df6b6ea613667a251457
[ "MIT" ]
78
2017-07-05T11:48:20.000Z
2022-02-08T08:04:22.000Z
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; int main(void) { int n; cin >> n; for(int i = 0; i < n; i++){ for(int j = i + 1; j < n; j++) cout << " "; for(int j = 0; j < i + 1; j++) cout << "#"; ...
15.909091
38
0.445714
[ "vector" ]
20c068933192745ab51b8c2b39286a1b74947fee
2,410
cpp
C++
damc_common/Osc/OscVariable.cpp
amurzeau/waveplay
e0fc097137138c4a6985998db502468074bf739f
[ "MIT" ]
5
2021-10-02T03:01:56.000Z
2022-01-24T20:59:19.000Z
damc_common/Osc/OscVariable.cpp
amurzeau/waveplay
e0fc097137138c4a6985998db502468074bf739f
[ "MIT" ]
null
null
null
damc_common/Osc/OscVariable.cpp
amurzeau/waveplay
e0fc097137138c4a6985998db502468074bf739f
[ "MIT" ]
null
null
null
#include "OscVariable.h" #include "OscRoot.h" #include <spdlog/spdlog.h> EXPLICIT_INSTANCIATE_OSC_VARIABLE(template, OscVariable) template<typename T> OscVariable<T>::OscVariable(OscContainer* parent, std::string name, T initialValue, bool fixedSize) noexcept : OscReadOnlyVariable<T>(parent, name, initialValue), ...
30.125
108
0.666805
[ "vector" ]
20c958b8a954ee598ba0dd0e438a76589f51a3e0
3,268
hpp
C++
src/scene/sample/rectangle.hpp
IsraelEfraim/cpp-engine
039bcad97d55635a7a8f31d0d80ce59095ebb6cb
[ "MIT" ]
null
null
null
src/scene/sample/rectangle.hpp
IsraelEfraim/cpp-engine
039bcad97d55635a7a8f31d0d80ce59095ebb6cb
[ "MIT" ]
null
null
null
src/scene/sample/rectangle.hpp
IsraelEfraim/cpp-engine
039bcad97d55635a7a8f31d0d80ce59095ebb6cb
[ "MIT" ]
2
2021-03-15T18:51:32.000Z
2021-07-19T23:45:49.000Z
#ifndef CPP_ENGINE_RECTANGLE_HPP #define CPP_ENGINE_RECTANGLE_HPP #include <numbers> #include <array> #include <SFML/Graphics.hpp> #include "../../geometry/core.hpp" #include "../../pixel-buffer.hpp" #include "../../draw.hpp" template <std::size_t width, std::size_t height, class T = double> class Rectangle_Runner ...
30.259259
85
0.517136
[ "geometry", "render", "transform" ]
20d0703b06029feae3d9a9cb8d89a57216ca4c68
296
cpp
C++
examples/cpp/hello_world/main.cpp
hartb/vision
f2f085bf099c4c31bc6f09c21844b2d57dabcb87
[ "BSD-3-Clause" ]
3
2020-11-04T03:18:12.000Z
2022-03-09T09:38:54.000Z
examples/cpp/hello_world/main.cpp
hartb/vision
f2f085bf099c4c31bc6f09c21844b2d57dabcb87
[ "BSD-3-Clause" ]
null
null
null
examples/cpp/hello_world/main.cpp
hartb/vision
f2f085bf099c4c31bc6f09c21844b2d57dabcb87
[ "BSD-3-Clause" ]
1
2021-06-01T11:15:53.000Z
2021-06-01T11:15:53.000Z
#include <iostream> #include <torchvision/models/resnet.h> int main() { auto model = vision::models::ResNet18(); model->eval(); // Create a random input tensor and run it through the model. auto in = torch::rand({1, 3, 10, 10}); auto out = model->forward(in); std::cout << out; }
18.5
63
0.641892
[ "model" ]
20d07062f93fc0a3f778dc08243b976f4940cacf
3,660
cpp
C++
libbrufs/test/PathParser.cpp
cmpsb/brufs
83a9cc296653f99042190e968a1499b3191dc8d2
[ "MIT" ]
null
null
null
libbrufs/test/PathParser.cpp
cmpsb/brufs
83a9cc296653f99042190e968a1499b3191dc8d2
[ "MIT" ]
null
null
null
libbrufs/test/PathParser.cpp
cmpsb/brufs
83a9cc296653f99042190e968a1499b3191dc8d2
[ "MIT" ]
null
null
null
#include "catch.hpp" #include "PathParser.hpp" TEST_CASE("Parsing paths", "[util]") { Brufs::PathParser parser; SECTION("Can parse bare slash") { const auto path = parser.parse("/"); CHECK_FALSE(path.has_partition()); CHECK(path.get_partition().empty()); CHECK_FALSE(path.has_...
30
100
0.581694
[ "vector" ]
20d0967859edf6400ec982edcf5a541ab0df40c1
39,362
cxx
C++
StRoot/StEvent/StEvent.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
2
2018-12-24T19:37:00.000Z
2022-02-28T06:57:20.000Z
StRoot/StEvent/StEvent.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
StRoot/StEvent/StEvent.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
/*************************************************************************** * * $Id: StEvent.cxx,v 2.57 2018/02/08 17:36:26 ullrich Exp $ * * Author: Thomas Ullrich, Sep 1999 *************************************************************************** * * Description: * * Do not touch anything here unless you ...
24.787154
121
0.65863
[ "object", "vector" ]
20d16f1d3fd08547bdadd2edd55428346caf0b74
6,271
cpp
C++
snippets/cpp/VS_Snippets_Winforms/MyDataGridClass_FlatMode_ReadOnly/CPP/mydatagridclass_flatmode_readonly.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
834
2017-06-24T10:40:36.000Z
2022-03-31T19:48:51.000Z
snippets/cpp/VS_Snippets_Winforms/MyDataGridClass_FlatMode_ReadOnly/CPP/mydatagridclass_flatmode_readonly.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
7,042
2017-06-23T22:34:47.000Z
2022-03-31T23:05:23.000Z
snippets/cpp/VS_Snippets_Winforms/MyDataGridClass_FlatMode_ReadOnly/CPP/mydatagridclass_flatmode_readonly.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
1,640
2017-06-23T22:31:39.000Z
2022-03-31T02:45:37.000Z
// System::Windows::Forms::DataGrid::ReadOnlyChanged // System::Windows::Forms::DataGrid::FlatModeChanged /* The following program demonstrates the methods 'ReadOnlyChanged' and 'FlatModeChanged' of the 'DataGrid' class. It creates a 'GridControl' and checks the properties 'ReadOnly' and 'FlatMode' of data grid, depen...
29.303738
134
0.634668
[ "object" ]
20dca2c64c7473753d737b0763126c43d9e9c483
39,647
hpp
C++
blog_code/ctcheckmm.hpp
pkeir/ctcheckmm
92351688f0c6d94c398f27e3efa7b9313ff85bd2
[ "CC0-1.0" ]
2
2020-12-01T16:47:15.000Z
2021-08-10T02:18:14.000Z
blog_code/ctcheckmm.hpp
pkeir/ctcheckmm
92351688f0c6d94c398f27e3efa7b9313ff85bd2
[ "CC0-1.0" ]
null
null
null
blog_code/ctcheckmm.hpp
pkeir/ctcheckmm
92351688f0c6d94c398f27e3efa7b9313ff85bd2
[ "CC0-1.0" ]
null
null
null
// Compile-time Metamath database verifier // Paul Keir, University of the West of Scotland // // This code is released to the public domain under the // Creative Commons "CC0 1.0 Universal" Public Domain Dedication: // // http://creativecommons.org/publicdomain/zero/1.0/ // // This is a C++20 standalone verifi...
29.066716
99
0.495422
[ "vector" ]
221bb2c9910ba310f35542d7f2e5ce7fb67cc27d
31,237
cpp
C++
my_computer/11/src/lib/vmwriter/vmwriter.cpp
kippesp/Nand2Tetris
b43d60f9267286eae5570244aaa76c34bda28c0e
[ "MIT" ]
null
null
null
my_computer/11/src/lib/vmwriter/vmwriter.cpp
kippesp/Nand2Tetris
b43d60f9267286eae5570244aaa76c34bda28c0e
[ "MIT" ]
null
null
null
my_computer/11/src/lib/vmwriter/vmwriter.cpp
kippesp/Nand2Tetris
b43d60f9267286eae5570244aaa76c34bda28c0e
[ "MIT" ]
null
null
null
#include "vmwriter/vmwriter.h" #include <signal.h> #include <algorithm> #include <cassert> #include <queue> #include "parser/parse_tree.h" #include "semantic_exception.h" using namespace std; // seven // dec-to-bin // square dance // average // pong // complex arrays static string get_term_node_str(const ParseTre...
30.534702
106
0.641099
[ "object", "vector" ]
2222d75c2d5164d138ad017d1869037f5ad2a963
3,855
hpp
C++
include/wiztk/base/memory/shared-ptr.hpp
wiztk/framework
179baf8a24406b19d3f4ea28e8405358b21f8446
[ "Apache-2.0" ]
37
2017-11-22T14:15:33.000Z
2021-11-25T20:39:39.000Z
include/wiztk/base/memory/shared-ptr.hpp
wiztk/framework
179baf8a24406b19d3f4ea28e8405358b21f8446
[ "Apache-2.0" ]
3
2018-03-01T12:44:22.000Z
2021-01-04T23:14:41.000Z
include/wiztk/base/memory/shared-ptr.hpp
wiztk/framework
179baf8a24406b19d3f4ea28e8405358b21f8446
[ "Apache-2.0" ]
10
2017-11-25T19:09:11.000Z
2020-12-02T02:05:47.000Z
/* * Copyright 2017 - 2018 The WizTK Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
22.283237
89
0.658366
[ "object" ]
222cf5f3418df598786022397f2c817c459e6442
6,447
cpp
C++
test/octree.cpp
proyan/hpp-fcl
d63ea45eeb60f39822dc258ea29f8b837da7c044
[ "BSD-3-Clause" ]
null
null
null
test/octree.cpp
proyan/hpp-fcl
d63ea45eeb60f39822dc258ea29f8b837da7c044
[ "BSD-3-Clause" ]
null
null
null
test/octree.cpp
proyan/hpp-fcl
d63ea45eeb60f39822dc258ea29f8b837da7c044
[ "BSD-3-Clause" ]
null
null
null
/* * Software License Agreement (BSD License) * * Copyright (c) 2019, CNRS-LAAS. * 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 retai...
38.147929
80
0.677214
[ "mesh", "shape", "vector", "model", "transform" ]
222df8ed5d09d8bf698d28babab86d6ad4c86e03
10,811
cpp
C++
dev/Gems/NvCloth/Code/Tests/NvClothTest.cpp
brianherrera/lumberyard
f85344403c1c2e77ec8c75deb2c116e97b713217
[ "AML" ]
1,738
2017-09-21T10:59:12.000Z
2022-03-31T21:05:46.000Z
dev/Gems/NvCloth/Code/Tests/NvClothTest.cpp
ArchitectureStudios/lumberyard
f85344403c1c2e77ec8c75deb2c116e97b713217
[ "AML" ]
427
2017-09-29T22:54:36.000Z
2022-02-15T19:26:50.000Z
dev/Gems/NvCloth/Code/Tests/NvClothTest.cpp
ArchitectureStudios/lumberyard
f85344403c1c2e77ec8c75deb2c116e97b713217
[ "AML" ]
671
2017-09-21T08:04:01.000Z
2022-03-29T14:30:07.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 belo...
39.892989
166
0.672648
[ "vector", "transform" ]
2237ae6764c3a4ab04d467f35e758cde04d306c4
5,888
hpp
C++
source/include/coffee/app/Application.hpp
ciscoruiz/wepa
e6d922157543c91b6804f11073424a0a9c6e8f51
[ "MIT" ]
2
2018-02-03T06:56:29.000Z
2021-04-20T10:28:32.000Z
source/include/coffee/app/Application.hpp
ciscoruiz/wepa
e6d922157543c91b6804f11073424a0a9c6e8f51
[ "MIT" ]
8
2018-02-18T21:00:07.000Z
2018-02-20T15:31:24.000Z
source/include/coffee/app/Application.hpp
ciscoruiz/wepa
e6d922157543c91b6804f11073424a0a9c6e8f51
[ "MIT" ]
1
2018-02-09T07:09:26.000Z
2018-02-09T07:09:26.000Z
// MIT License // // Copyright (c) 2018 Francisco Ruiz (francisco.ruiz.rayo@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 limitatio...
31.655914
154
0.715693
[ "vector" ]
223d8f06351d4399fd3055d468243992c67541a3
9,312
cpp
C++
src/dev/dhustigschultz/TC_MixedLearning/FlemonsSpineModelMixed.cpp
wangsd01/NTRT-Sim
a9f01ffb7aab411a1f14320f47dd2b599643b1ed
[ "Apache-2.0" ]
null
null
null
src/dev/dhustigschultz/TC_MixedLearning/FlemonsSpineModelMixed.cpp
wangsd01/NTRT-Sim
a9f01ffb7aab411a1f14320f47dd2b599643b1ed
[ "Apache-2.0" ]
null
null
null
src/dev/dhustigschultz/TC_MixedLearning/FlemonsSpineModelMixed.cpp
wangsd01/NTRT-Sim
a9f01ffb7aab411a1f14320f47dd2b599643b1ed
[ "Apache-2.0" ]
null
null
null
/* * Copyright © 2012, United States Government, as represented by the * Administrator of the National Aeronautics and Space Administration. * All rights reserved. * * The NASA Tensegrity Robotics Toolkit (NTRT) v1 platform is licensed * under the Apache License, Version 2.0 (the "License"); * you may not use t...
37.099602
93
0.61555
[ "vector", "model" ]
223dac6b106d694cf276a07196c11efdd2c272a2
7,112
cpp
C++
tke/src/v20180525/model/PrometheusAgentOverview.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
tke/src/v20180525/model/PrometheusAgentOverview.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
tke/src/v20180525/model/PrometheusAgentOverview.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
30.393162
153
0.688555
[ "vector", "model" ]
22442860d6cc5b6615a11ee16cb1968dbbc5b86f
13,514
cpp
C++
ogles_gpgpu/common/proc/flow.cpp
sniperkit/ogles_gpgpu
2acf6d576bbf013674bdee3f35a6bc0f5a193c2a
[ "Apache-2.0" ]
10
2016-04-17T16:35:47.000Z
2021-08-15T11:12:49.000Z
ogles_gpgpu/common/proc/flow.cpp
sniperkit/ogles_gpgpu
2acf6d576bbf013674bdee3f35a6bc0f5a193c2a
[ "Apache-2.0" ]
20
2017-07-09T21:03:37.000Z
2018-04-27T02:02:35.000Z
ogles_gpgpu/common/proc/flow.cpp
sniperkit/ogles_gpgpu
2acf6d576bbf013674bdee3f35a6bc0f5a193c2a
[ "Apache-2.0" ]
6
2016-07-09T13:06:38.000Z
2021-07-01T07:43:48.000Z
// // ogles_gpgpu project - GPGPU for mobile devices and embedded systems using OpenGL ES 2.0 // // See LICENSE file in project repository root for the license. // // Copyright (c) 2016-2017, David Hirvonen (this file) #include "flow.h" #include "../common_includes.h" // For the full pipeline #include "box_opt.h" #i...
27.191147
101
0.607296
[ "render", "object", "vector" ]
2254800056c8cb334ce692020c964fdeb8f2209f
644
cpp
C++
ch09/0909ex.cpp
mallius/CppPrimer
0285fabe5934492dfed0a9cf67ba5650982a5f76
[ "MIT" ]
null
null
null
ch09/0909ex.cpp
mallius/CppPrimer
0285fabe5934492dfed0a9cf67ba5650982a5f76
[ "MIT" ]
null
null
null
ch09/0909ex.cpp
mallius/CppPrimer
0285fabe5934492dfed0a9cf67ba5650982a5f76
[ "MIT" ]
1
2022-01-25T15:51:34.000Z
2022-01-25T15:51:34.000Z
#include <iostream> #include <string> #include <vector> #include <list> #include <deque> using std::string; using std::vector; using std::list; using std::deque; int main(void) { const char *words[] = {"This", "Is", "A", "Word"}; list<string> slist(words, words+(sizeof(words)/sizeof(words[0]))); for(list<string>:...
20.125
78
0.602484
[ "vector" ]
2259769df779732572aada83b1919636fc293167
801
cpp
C++
code/leetcode/src/0059.Spiral-Matrix-II.cpp
taseikyo/til
8f703e69a49cbd9854062b102ba307c775d43a56
[ "MIT" ]
1
2021-09-01T14:39:12.000Z
2021-09-01T14:39:12.000Z
code/leetcode/src/0059.Spiral-Matrix-II.cpp
taseikyo/til
8f703e69a49cbd9854062b102ba307c775d43a56
[ "MIT" ]
null
null
null
code/leetcode/src/0059.Spiral-Matrix-II.cpp
taseikyo/til
8f703e69a49cbd9854062b102ba307c775d43a56
[ "MIT" ]
null
null
null
/** * @date 2020-08-21 16:11:38 * @authors Lewis Tian (taseikyo@gmail.com) * @link github.com/taseikyo */ class Solution { public: vector<vector<int>> generateMatrix(int n) { if (n < 1) { return {} } if (n == 1) { return {1}; } vector<vector<int>> ans(n, vector<int>(n)); help(ans, 1, 0, 0,...
20.538462
61
0.470662
[ "vector" ]
226c7aca902ba2605897f47cc19902cbd066db4c
14,157
cpp
C++
gui/src/gui_fontstring.cpp
unnamed-mmo/lxgui
5c4b9d0c164d2d35cfe5c59888b10020184f717d
[ "MIT" ]
null
null
null
gui/src/gui_fontstring.cpp
unnamed-mmo/lxgui
5c4b9d0c164d2d35cfe5c59888b10020184f717d
[ "MIT" ]
null
null
null
gui/src/gui_fontstring.cpp
unnamed-mmo/lxgui
5c4b9d0c164d2d35cfe5c59888b10020184f717d
[ "MIT" ]
null
null
null
#include "lxgui/gui_fontstring.hpp" #include "lxgui/gui_layeredregion.hpp" #include "lxgui/gui_manager.hpp" #include "lxgui/gui_renderer.hpp" #include "lxgui/gui_out.hpp" #include "lxgui/gui_uiobject_tpl.hpp" #include <sstream> namespace lxgui { namespace gui { const uint OUTLINE_QUALITY = 10; const...
26.461682
112
0.591368
[ "render" ]
229041d2aeebe14509a8fc7881bfa3ef7d3e99fc
16,819
cpp
C++
sssh.cpp
brian-sigurdson/CS5080-Operating-Systems-Project
be83fd3fb27c69b196d96bb101fc5df6115e2af9
[ "Apache-2.0" ]
null
null
null
sssh.cpp
brian-sigurdson/CS5080-Operating-Systems-Project
be83fd3fb27c69b196d96bb101fc5df6115e2af9
[ "Apache-2.0" ]
null
null
null
sssh.cpp
brian-sigurdson/CS5080-Operating-Systems-Project
be83fd3fb27c69b196d96bb101fc5df6115e2af9
[ "Apache-2.0" ]
null
null
null
/* * File Name : sssh.cpp * Descripton : Develope a Super Simple SHell (sssh), per project specs. * Author : Brian K. Sigurson * Course : CS5080 * Assignment : Project 01 * Due Date : 2017-03-27 * * Extra Credit : 1) Command History !! * : 2) Environment variables * ...
22.606183
96
0.470242
[ "vector", "transform" ]
229064d7b69277e9b41514981ea9144d708e30cd
4,551
cc
C++
media/cast/logging/logging_raw.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2020-01-25T10:18:18.000Z
2021-01-23T15:29:56.000Z
media/cast/logging/logging_raw.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2018-02-10T21:00:08.000Z
2018-03-20T05:09:50.000Z
media/cast/logging/logging_raw.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2015-03-27T11:15:39.000Z
2016-08-17T14:19:56.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 "media/cast/logging/logging_raw.h" #include <algorithm> #include "base/logging.h" #include "base/time/time.h" namespace media { namespace cast...
39.573913
80
0.591958
[ "vector" ]
22a3be06fbc81624e1afbe5d285ad4d281ac5d40
1,193
cpp
C++
data/train/cpp/a64d0b1561c04b096563466ea9d7af42b006e7beModelManager.cpp
harshp8l/deep-learning-lang-detection
2a54293181c1c2b1a2b840ddee4d4d80177efb33
[ "MIT" ]
84
2017-10-25T15:49:21.000Z
2021-11-28T21:25:54.000Z
data/train/cpp/a64d0b1561c04b096563466ea9d7af42b006e7beModelManager.cpp
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
5
2018-03-29T11:50:46.000Z
2021-04-26T13:33:18.000Z
data/train/cpp/a64d0b1561c04b096563466ea9d7af42b006e7beModelManager.cpp
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
24
2017-11-22T08:31:00.000Z
2022-03-27T01:22:31.000Z
#include "ModelManager.h" #include "Global.h" using namespace std; using namespace DirectX; using namespace DirectX::SimpleMath; //********************************************************************* // コンストラクタ //********************************************************************* ModelManager::ModelManager() { }...
23.86
78
0.376362
[ "model" ]
22a6a5c640aa2ad3a51dfa7495eea54e0685b051
16,791
hpp
C++
include/src/Core/Eigen/BlockBindings.hpp
sjokic/WallDestruction
2e1c000096df4aa027a91ff1732ce50a205b221a
[ "MIT" ]
1
2021-11-03T11:30:05.000Z
2021-11-03T11:30:05.000Z
include/src/Core/Eigen/BlockBindings.hpp
sjokic/WallDestruction
2e1c000096df4aa027a91ff1732ce50a205b221a
[ "MIT" ]
null
null
null
include/src/Core/Eigen/BlockBindings.hpp
sjokic/WallDestruction
2e1c000096df4aa027a91ff1732ce50a205b221a
[ "MIT" ]
null
null
null
/* * This file is part of bogus, a C++ sparse block matrix library. * * Copyright 2013 Gilles Daviet <gdaviet@gmail.com> * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/M...
32.923529
132
0.731999
[ "object", "vector" ]
22aa4ae3ab39c71948f8f19e98bc8ddea416c290
1,907
cc
C++
services/device/public/cpp/hid/hid_device_filter.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
services/device/public/cpp/hid/hid_device_filter.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
services/device/public/cpp/hid/hid_device_filter.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 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 "services/device/public/cpp/hid/hid_device_filter.h" namespace device { HidDeviceFilter::HidDeviceFilter() : vendor_id_set_(false), p...
24.139241
79
0.683272
[ "vector" ]
22aa6afbca1c110837266763e9ee84929b6a7462
761
cpp
C++
1197. Lonesome Knight.cpp
satvik007/Timus
b1ed1d693b67fdbb17891e8612f596eabedfff67
[ "MIT" ]
null
null
null
1197. Lonesome Knight.cpp
satvik007/Timus
b1ed1d693b67fdbb17891e8612f596eabedfff67
[ "MIT" ]
null
null
null
1197. Lonesome Knight.cpp
satvik007/Timus
b1ed1d693b67fdbb17891e8612f596eabedfff67
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef vector <int> vi; typedef pair<int, int> ii; #define inf (int)1e9 int dr[] = {-2, -1, 1, 2, 2, 1, -1, -2}; int dc[] = {1, 2, 2, 1, -1, -2, -2, -1}; int main() { ios_base::sync_with_stdio(false); cin.tie(nullptr); freopen("in.txt"...
18.119048
61
0.425756
[ "vector" ]
22ac27786b2204cf58a057605ac781efd7dbedb2
5,150
cpp
C++
src/image/test_image_class/test_image.cpp
vrushank-agrawal/video_editor_BX23
3a458114f499e0ba3d1c61afde2b9d30bc76459b
[ "Apache-2.0" ]
null
null
null
src/image/test_image_class/test_image.cpp
vrushank-agrawal/video_editor_BX23
3a458114f499e0ba3d1c61afde2b9d30bc76459b
[ "Apache-2.0" ]
null
null
null
src/image/test_image_class/test_image.cpp
vrushank-agrawal/video_editor_BX23
3a458114f499e0ba3d1c61afde2b9d30bc76459b
[ "Apache-2.0" ]
null
null
null
// // Created by Vrushank on 11/20/2021. // #include "../image.cpp" #include "../blurs.cpp" #include "../collage/collage.cpp" #include <string> #include <unistd.h> #include <algorithm> using img::Image; using img::Collage; std::string get_curr_dir() { char add[256]; getcwd(add, 256); // convert char to...
30.473373
74
0.634951
[ "vector" ]
22b0029939c54a1b31541a7a7c843ca236602096
6,289
cpp
C++
src/other/ext/openscenegraph/src/osgViewer/HelpHandler.cpp
lf-/brlcad
f91ea585c1a930a2e97c3f5a8274db8805ebbb46
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
src/other/ext/openscenegraph/src/osgViewer/HelpHandler.cpp
lf-/brlcad
f91ea585c1a930a2e97c3f5a8274db8805ebbb46
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
src/other/ext/openscenegraph/src/osgViewer/HelpHandler.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...
29.805687
115
0.633964
[ "transform" ]
22b0aa3c76308253c3f3ffe5a5890fbc53b1b88c
14,068
cpp
C++
sd/sd_dx8/Dx8SoundBuffer.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
3
2019-04-20T10:16:36.000Z
2021-03-21T19:51:38.000Z
sd/sd_dx8/Dx8SoundBuffer.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
null
null
null
sd/sd_dx8/Dx8SoundBuffer.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
2
2020-04-18T20:04:24.000Z
2021-09-19T05:07:41.000Z
#include "StdAfx.h" #include "Dx8SoundDevice.h" #include "Dx8SoundBuffer.h" #include "error.h" #include "toDx8.h" #include "toString.h" #include <sd/Errors.h> #include <float.h> #include <assert.h> #include "config.h" //----------------------------------------------------------------------------- using n...
22.617363
111
0.646716
[ "transform", "3d" ]
22b206562318a543f8c3ac4385c14bdaeef5ab6b
67,863
hpp
C++
RX600/glcdc_mgr.hpp
hirakuni45/RX
3fb91bfc8d5282cde7aa00b8bd37f4aad32582d0
[ "BSD-3-Clause" ]
56
2015-06-04T14:15:38.000Z
2022-03-01T22:58:49.000Z
RX600/glcdc_mgr.hpp
hirakuni45/RX
3fb91bfc8d5282cde7aa00b8bd37f4aad32582d0
[ "BSD-3-Clause" ]
30
2019-07-27T11:03:14.000Z
2021-12-14T09:59:57.000Z
RX600/glcdc_mgr.hpp
hirakuni45/RX
3fb91bfc8d5282cde7aa00b8bd37f4aad32582d0
[ "BSD-3-Clause" ]
15
2017-06-24T11:33:39.000Z
2021-12-07T07:26:58.000Z
#pragma once //=====================================================================// /*! @file @brief RX600 グループ GLCDC 制御 @author 平松邦仁 (hira@rvf-rc45.net) @copyright Copyright (C) 2018, 2020 Kunihito Hiramatsu @n Released under the MIT license @n https://github.com/hirakuni45/RX/blob/master/LICENSE */ /...
31.490951
124
0.635678
[ "vector" ]
22c1781bb7e61796c4280c6dc9d0dd9c451797ef
2,285
cpp
C++
TSS.CPP/Samples/TpmConfig.cpp
dkov01/TSS.MSR
54629f1182c5e6aeaa10e06646e43d4bd1bd28be
[ "MIT" ]
null
null
null
TSS.CPP/Samples/TpmConfig.cpp
dkov01/TSS.MSR
54629f1182c5e6aeaa10e06646e43d4bd1bd28be
[ "MIT" ]
null
null
null
TSS.CPP/Samples/TpmConfig.cpp
dkov01/TSS.MSR
54629f1182c5e6aeaa10e06646e43d4bd1bd28be
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "TpmConfig.h" #include <algorithm> std::vector<TPM_ALG_ID> TpmConfig::ImplementedAlgs; // Implemented hash algorithms std::vector<TPM_ALG_ID> TpmConfig::HashAlgs; // All commands implemented by the TPM std::vector<TPM_CC> TpmConfig::ImplementedCommands; void TpmConfig::Ini...
32.183099
100
0.604814
[ "vector" ]
22c1f96603cff0fb0c8335816d8efe1e1e9cbb43
28,426
hpp
C++
src/inference/include/openvino/runtime/core.hpp
pfinashx/openvino
1d417e888b508415510fb0a92e4a9264cf8bdef7
[ "Apache-2.0" ]
1
2022-02-26T17:33:44.000Z
2022-02-26T17:33:44.000Z
src/inference/include/openvino/runtime/core.hpp
pfinashx/openvino
1d417e888b508415510fb0a92e4a9264cf8bdef7
[ "Apache-2.0" ]
17
2021-11-25T10:22:17.000Z
2022-03-28T13:19:31.000Z
src/inference/include/openvino/runtime/core.hpp
pfinashx/openvino
1d417e888b508415510fb0a92e4a9264cf8bdef7
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // /** * @brief This is a header file for the OpenVINO Runtime Core class C++ API * * @file openvino/runtime/core.hpp */ #pragma once #include <istream> #include <map> #include <memory> #include <string> #include <vector> #includ...
45.120635
120
0.658798
[ "object", "vector", "model" ]
42f64aeaa841cc7ada042e87db9983cba10e2e26
977
cpp
C++
src/APU.cpp
scottjcrouch/ScootNES
402ae3e598ec4ac9b8b61ca2c3d2008bb8a6de1e
[ "MIT" ]
null
null
null
src/APU.cpp
scottjcrouch/ScootNES
402ae3e598ec4ac9b8b61ca2c3d2008bb8a6de1e
[ "MIT" ]
null
null
null
src/APU.cpp
scottjcrouch/ScootNES
402ae3e598ec4ac9b8b61ca2c3d2008bb8a6de1e
[ "MIT" ]
null
null
null
#include <cstdint> #include <vector> #include <APU.h> static int null_dmc_reader(void*, unsigned int) { return 0x55; // causes dmc sample to be flat } APU::APU() { time = 0; frameLength = 29780; apu.dmc_reader(null_dmc_reader, NULL); apu.output(&buf); buf.clock_rate(1789773); buf.sample_r...
17.763636
74
0.664278
[ "vector" ]
42f88f40a7f8c8e4240df4400f118f4f53e43446
2,591
cpp
C++
CSCI-104/hw5/main.cpp
liyang990803/CSCI-103
6f84fbc242be90f7a9c3a58bdcc6f54352e4ae5a
[ "MIT" ]
null
null
null
CSCI-104/hw5/main.cpp
liyang990803/CSCI-103
6f84fbc242be90f7a9c3a58bdcc6f54352e4ae5a
[ "MIT" ]
null
null
null
CSCI-104/hw5/main.cpp
liyang990803/CSCI-103
6f84fbc242be90f7a9c3a58bdcc6f54352e4ae5a
[ "MIT" ]
1
2018-03-23T04:19:24.000Z
2018-03-23T04:19:24.000Z
#include <iostream> #include "Thanksgiving.cpp" #include "qsort.h" using namespace std; template<class Comparator> void static DoStringCompare(const std::string &s1, const std::string &s2, Comparator comp) { cout << comp(s1, s2) << endl; // calls comp.operator()(s1,s2); } void printNice(std::vector<std::pair<in...
26.989583
92
0.553068
[ "vector" ]
42fc2dcfc56280a1ed97ad5652ff2749e0a150de
26,919
cpp
C++
PhysBAM/Public_Library/PhysBAM_Tools/Parallel_Computation/FLOOD_FILL_MPI.cpp
uwgraphics/PhysicsBasedModeling-Core
dbc65b8e93b1a3d69fcc82aba06d28dc6c0adb8b
[ "BSD-3-Clause" ]
1
2020-01-31T13:28:41.000Z
2020-01-31T13:28:41.000Z
PhysBAM/Public_Library/PhysBAM_Tools/Parallel_Computation/FLOOD_FILL_MPI.cpp
uwgraphics/PhysicsBasedModeling-Core
dbc65b8e93b1a3d69fcc82aba06d28dc6c0adb8b
[ "BSD-3-Clause" ]
null
null
null
PhysBAM/Public_Library/PhysBAM_Tools/Parallel_Computation/FLOOD_FILL_MPI.cpp
uwgraphics/PhysicsBasedModeling-Core
dbc65b8e93b1a3d69fcc82aba06d28dc6c0adb8b
[ "BSD-3-Clause" ]
null
null
null
//##################################################################### // Copyright 2005-2006, Eran Guendelman, Geoffrey Irving, Andrew Selle, Tamar Shinar, Jerry Talton. // This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file PHYSBAM_COPYRIGHT.txt. //##########...
64.709135
258
0.705933
[ "vector" ]
42fee5b586c51b6f224d64b1b7a85011a5d7c0b2
1,523
hpp
C++
src/marker_manager.hpp
krgamestudios/Dungeon
828fe6adee17630a5bdb842cbc6d8a2b441dacc5
[ "Zlib" ]
3
2016-10-20T20:25:58.000Z
2017-11-07T00:53:26.000Z
src/marker_manager.hpp
Ratstail91/Dungeon
828fe6adee17630a5bdb842cbc6d8a2b441dacc5
[ "Zlib" ]
2
2018-03-19T12:57:23.000Z
2018-03-19T13:14:05.000Z
src/marker_manager.hpp
Ratstail91/Dungeon
828fe6adee17630a5bdb842cbc6d8a2b441dacc5
[ "Zlib" ]
null
null
null
/* Copyright: (c) Kayne Ruse 2017 * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose, * including commerci...
28.203704
105
0.731451
[ "render" ]
6e00befb1da14c37140e9a92c0f64ca71fd5646c
5,518
cpp
C++
tests/vector/vector2/vector2_tests.cpp
Gordath/libhelmath
da60a56c84dd7702e9e0f662e2af8a5d83c40758
[ "MIT" ]
null
null
null
tests/vector/vector2/vector2_tests.cpp
Gordath/libhelmath
da60a56c84dd7702e9e0f662e2af8a5d83c40758
[ "MIT" ]
null
null
null
tests/vector/vector2/vector2_tests.cpp
Gordath/libhelmath
da60a56c84dd7702e9e0f662e2af8a5d83c40758
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include "helmath.h" using namespace hm; class Vector2Fixture : public ::testing::Test { protected: Vec2f v1; Vec2f v2; void SetUp() override { v1 = Vec2f{1.0f, 2.0f}; v2 = Vec2f{3.0f, 2.0f}; } }; TEST_F(Vector2Fixture, test_member_function_length) { ...
19.293706
64
0.66419
[ "transform" ]
6e09949909ec2a19e51278c62558d750befdbe62
6,132
cpp
C++
test/container/grid/object.cpp
vinzenz/fcppt
3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a
[ "BSL-1.0" ]
null
null
null
test/container/grid/object.cpp
vinzenz/fcppt
3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a
[ "BSL-1.0" ]
null
null
null
test/container/grid/object.cpp
vinzenz/fcppt
3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2016. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <fcppt/make_int_range_count.hpp> #include <fcppt/no_init.hpp> #include <fcppt/cast/size.h...
11.724665
61
0.613503
[ "object", "vector" ]
6e14ad2376a0df22731b0d532dc3ca4e63277fd7
11,025
hpp
C++
include/jsoncons/json_array.hpp
watkinsr/jsoncons
c7ab614fe86670a423941b11704a02ad71d745a1
[ "BSL-1.0" ]
null
null
null
include/jsoncons/json_array.hpp
watkinsr/jsoncons
c7ab614fe86670a423941b11704a02ad71d745a1
[ "BSL-1.0" ]
null
null
null
include/jsoncons/json_array.hpp
watkinsr/jsoncons
c7ab614fe86670a423941b11704a02ad71d745a1
[ "BSL-1.0" ]
null
null
null
// Copyright 2013 Daniel Parker // Distributed under the Boost license, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // See https://github.com/danielaparker/jsoncons for latest version #ifndef JSONCONS_JSON_ARRAY_HPP #define JSONCONS_JSON_ARRAY_HPP #include ...
34.027778
139
0.567075
[ "object", "vector" ]
6e1996e57c6afa51989d48538e3382952dae72c8
7,467
cpp
C++
qu3e/shared/common.cpp
Shchvova/solar2d-plugins
d207849706372ef3a611fcaac5a0b599d9023d22
[ "MIT" ]
12
2020-05-04T08:49:04.000Z
2021-12-30T09:35:17.000Z
qu3e/shared/common.cpp
Shchvova/solar2d-plugins
d207849706372ef3a611fcaac5a0b599d9023d22
[ "MIT" ]
null
null
null
qu3e/shared/common.cpp
Shchvova/solar2d-plugins
d207849706372ef3a611fcaac5a0b599d9023d22
[ "MIT" ]
3
2021-02-19T18:39:02.000Z
2022-03-09T17:14:57.000Z
/* * 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, * distribute, sublicense, and/or sell c...
29.282353
134
0.57359
[ "vector" ]
6e26f402d411639604cf3200e2b963e65a7dcf19
9,220
cpp
C++
Tests/DiverApiTester/DiverApiTester.cpp
ShadowKnightMK4/DebugDotNet
e99fe2fe5da2bc2161d069ed12d035b7bce8d4b9
[ "MIT" ]
null
null
null
Tests/DiverApiTester/DiverApiTester.cpp
ShadowKnightMK4/DebugDotNet
e99fe2fe5da2bc2161d069ed12d035b7bce8d4b9
[ "MIT" ]
null
null
null
Tests/DiverApiTester/DiverApiTester.cpp
ShadowKnightMK4/DebugDotNet
e99fe2fe5da2bc2161d069ed12d035b7bce8d4b9
[ "MIT" ]
null
null
null
#include <Windows.h> #include <iostream> #include <vector> #include <process.h> enum TypeHints : unsigned int { CanBeNull = 1, AnsiCString = 2, UnicodeCString = 4, Uchar = 8, Schar = 16, Ushort = 32, Sshort = 64, Uint = 128, Sint = 256, Ulong = 512, SLong = 1024, Float = 2048, Double = 4096 }; enum DEBUGGE...
23.641026
163
0.685792
[ "vector" ]
6e359538419f2309aad3572325eb1a24bf2f9742
13,218
cpp
C++
src/cpp/eval/runtime/eval_object_data.cpp
paramah/hiphop-php-osx
5ed8c24abe8ad9fd7bc6dd4c28b4ffff23e54362
[ "PHP-3.01", "Zend-2.0" ]
1
2015-11-05T21:45:07.000Z
2015-11-05T21:45:07.000Z
src/cpp/eval/runtime/eval_object_data.cpp
brion/hiphop-php
df70a236e6418d533ac474be0c01f0ba87034d7f
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
src/cpp/eval/runtime/eval_object_data.cpp
brion/hiphop-php
df70a236e6418d533ac474be0c01f0ba87034d7f
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010 Facebook, Inc. (http://www.facebook.com) | +---------...
33.211055
79
0.605841
[ "object", "vector" ]
6e35e0bbda849228f1c450c15b629b83466c7e92
8,895
cpp
C++
GraphicsCore/src/GLCore/Renderer/MeshRenderer.cpp
zixin96/GEngine
43b63418ade5bdd49e81e16a077866cc3ff6dd06
[ "Apache-2.0" ]
null
null
null
GraphicsCore/src/GLCore/Renderer/MeshRenderer.cpp
zixin96/GEngine
43b63418ade5bdd49e81e16a077866cc3ff6dd06
[ "Apache-2.0" ]
null
null
null
GraphicsCore/src/GLCore/Renderer/MeshRenderer.cpp
zixin96/GEngine
43b63418ade5bdd49e81e16a077866cc3ff6dd06
[ "Apache-2.0" ]
null
null
null
#include "glpch.h" #include "MeshRenderer.h" #include "GLCore/Util/PerlinNoise.h" #include "GLCore/Renderer/VertexArray.h" #include "GLCore/Renderer/Shader.h" #include "GLCore/Renderer/PolyMesh.h" #include <glad/glad.h> #include <glfw/glfw3.h> #include <glm/gtc/matrix_transform.hpp> namespace GLCore { const glm::v...
35.58
117
0.583249
[ "mesh", "vector" ]
6e3cff91318169d2a83b7b93939ab49649af67b6
16,504
cpp
C++
src/smbioshandler.cpp
tohas1986/intel-ipmi-oem
ca99ef5912b9296e09c8f9cb246ce291f9970750
[ "Apache-2.0" ]
null
null
null
src/smbioshandler.cpp
tohas1986/intel-ipmi-oem
ca99ef5912b9296e09c8f9cb246ce291f9970750
[ "Apache-2.0" ]
null
null
null
src/smbioshandler.cpp
tohas1986/intel-ipmi-oem
ca99ef5912b9296e09c8f9cb246ce291f9970750
[ "Apache-2.0" ]
null
null
null
/* // Copyright (c) 2018 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
33.341414
80
0.639845
[ "vector" ]
6e4014ab0e16c1b445e0ff60d15d8e9bfa935fd3
14,746
cxx
C++
admin/netui/common/src/applib/applib/uidomain.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/netui/common/src/applib/applib/uidomain.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/netui/common/src/applib/applib/uidomain.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/**********************************************************************/ /** Microsoft Windows/NT **/ /** Copyright(c) Microsoft Corp., 1991 **/ /**********************************************************************/ /* uidomain.cxx ...
25.915641
83
0.427235
[ "object" ]
6e4a4d9ae0da0a9198dde3c55d2c916dd63d5093
669
cpp
C++
Camp_1-2563/Greedy/PeatShare.cpp
MasterIceZ/POSN_BUU
56e176fb843d7ddcee0cf4acf2bb141576c260cf
[ "MIT" ]
null
null
null
Camp_1-2563/Greedy/PeatShare.cpp
MasterIceZ/POSN_BUU
56e176fb843d7ddcee0cf4acf2bb141576c260cf
[ "MIT" ]
null
null
null
Camp_1-2563/Greedy/PeatShare.cpp
MasterIceZ/POSN_BUU
56e176fb843d7ddcee0cf4acf2bb141576c260cf
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; void solve(){ int n; cin >> n; vector<int>dp(n+1); for(int i=1; i<=n; ++i){ cin >> dp[i]; dp[i] += dp[i-1]; } if(dp[n]%2 == 1){ cout << "NO" ; return ; } for(int i=1; i<=n; ++i){ if(dp[n] - dp[i] == dp[i]){ cout << i ; return ; } } for(int i=1; i...
15.204545
95
0.479821
[ "vector" ]
6e4fbf2f5660ceb09194d3ebb5b3c8b4015894c3
2,916
cc
C++
content/browser/background_fetch/storage/get_num_requests_task.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
content/browser/background_fetch/storage/get_num_requests_task.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
content/browser/background_fetch/storage/get_num_requests_task.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2018 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 "content/browser/background_fetch/storage/get_num_requests_task.h" #include "content/browser/background_fetch/background_fetch.pb.h" #include "c...
32.764045
77
0.739369
[ "vector" ]
6e50a4361c56c5cee64e233f5c40acafc3f76e68
2,281
cpp
C++
CSES/List_Removals.cpp
aldew5/Competitve-Programming
eb0b93a35af3bd5e806aedc44b835830af01d496
[ "MIT" ]
2
2020-05-09T15:54:18.000Z
2021-01-23T22:32:53.000Z
CSES/List_Removals.cpp
aldew5/Competitive-Programming
fc93723fae739d0b06bcf2dbe3b9274584a79a66
[ "MIT" ]
null
null
null
CSES/List_Removals.cpp
aldew5/Competitive-Programming
fc93723fae739d0b06bcf2dbe3b9274584a79a66
[ "MIT" ]
null
null
null
/* ID: alec3 LANG: C++14 PROG: */ /* Credit to Benq */ #include <bits/stdc++.h> #define check(x) cout<<(#x)<<": "<<x<<" " << endl; #define line cout << "--------------------" << endl; #define io ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); #define ss second #define ff first #define pb push_back #define lb...
24.010526
95
0.543183
[ "vector" ]
6e77bcb71d83de666ab7f9da062feb89bda0616c
7,474
hpp
C++
src/utils.hpp
tobiasmarschall/mosaicatcher
42b078ec0964f3711f0f4871065be5157e63eb37
[ "MIT" ]
3
2019-12-26T01:36:59.000Z
2021-11-30T00:28:01.000Z
src/utils.hpp
tobiasmarschall/mosaicatcher
42b078ec0964f3711f0f4871065be5157e63eb37
[ "MIT" ]
5
2018-01-12T11:56:43.000Z
2019-01-29T16:09:34.000Z
src/utils.hpp
tobiasmarschall/mosaicatcher
42b078ec0964f3711f0f4871065be5157e63eb37
[ "MIT" ]
4
2018-05-24T09:12:56.000Z
2021-07-02T11:33:28.000Z
/* Copyright (C) 2017 Sascha Meiers Distributed under the MIT software license, see the accompanying file LICENSE.md or http://www.opensource.org/licenses/mit-license.php. */ #ifndef utils_hpp #define utils_hpp #include <boost/accumulators/accumulators.hpp> #include <boost/accumulators/statistics.hpp> #include <...
35.932692
234
0.582018
[ "vector" ]
6e77f1c9746d9c2deb79fa1ee6437cbbaf5df42d
1,417
cpp
C++
USACO/friday.cpp
tapaswenipathak/Competitive-Programming
97bba0f2ccdf587df93244a027050489f0905480
[ "MIT" ]
2
2019-04-20T18:03:20.000Z
2019-08-17T21:20:47.000Z
USACO/friday.cpp
tapaswenipathak/Competitive-Programming
97bba0f2ccdf587df93244a027050489f0905480
[ "MIT" ]
null
null
null
USACO/friday.cpp
tapaswenipathak/Competitive-Programming
97bba0f2ccdf587df93244a027050489f0905480
[ "MIT" ]
1
2019-04-20T18:03:26.000Z
2019-04-20T18:03:26.000Z
/* ID : tapaswe1 PROG : friday LANG : C++ */ #include <iostream> #include <cstdio> #include <cstring> #include <algorithm> #include <cmath> #include <vector> #include <cctype> #include <map> #include <stack> #include <queue> #include <set> #include <climits> #include <cstdlib> #include <fstream> #define FORALL(i,a,b...
21.149254
74
0.564573
[ "vector" ]
6e7965c7b6242a5bb0c1f80ca2d39b0cf62bad61
2,741
cxx
C++
visualization/Brush.cxx
RENCI/Segmentor
9a8cd6679626b656790c0fdc60892de531c3e80b
[ "MIT" ]
11
2021-01-17T04:52:29.000Z
2022-02-25T20:42:41.000Z
visualization/Brush.cxx
RENCI/Segmentor
9a8cd6679626b656790c0fdc60892de531c3e80b
[ "MIT" ]
42
2021-01-15T14:17:16.000Z
2022-03-21T23:30:25.000Z
visualization/Brush.cxx
RENCI/Segmentor
9a8cd6679626b656790c0fdc60892de531c3e80b
[ "MIT" ]
null
null
null
#include "Brush.h" #include <vtkActor.h> #include <vtkCutter.h> #include <vtkExtractVOI.h> #include <vtkGeometryFilter.h> #include <vtkImageCast.h> #include <vtkImageChangeInformation.h> #include <vtkImageData.h> #include <vtkPlane.h> #include <vtkPolyDataMapper.h> #include <vtkProperty.h> #include <vtkThreshold.h> #i...
24.918182
101
0.711054
[ "geometry" ]
6e7972b566daa42d68da24d3d0c86f6e1e9e8442
17,121
cpp
C++
tf2v2/ESP.cpp
matej0/source-engine-internals
c2d2014245e1ea901854280bf5f0b30f3c5aaa95
[ "MIT" ]
1
2021-11-14T17:29:05.000Z
2021-11-14T17:29:05.000Z
tf2v2/ESP.cpp
matej0/source-engine-internals
c2d2014245e1ea901854280bf5f0b30f3c5aaa95
[ "MIT" ]
null
null
null
tf2v2/ESP.cpp
matej0/source-engine-internals
c2d2014245e1ea901854280bf5f0b30f3c5aaa95
[ "MIT" ]
5
2021-09-18T01:13:24.000Z
2021-12-18T22:20:53.000Z
#include "ESP.h" #include "CDrawManager.h" #include "CMenu.h" #include "Aimbot.h" CEsp gESP; CRadar gRadar; void CEsp::Think(CBaseEntity* pLocal) { //gESP.m_Players.clear(); //gESP.m_Buildings.clear(); for (int i = 1; i <= gInts.EntList->GetHighestEntityIndex(); i++) { CBaseEntity* pEntity = Get...
27.047393
169
0.630804
[ "vector" ]
6e7d879dde3e6f6c498db9d4f0b4a21527dfc1bf
574
hpp
C++
include/BoardComputer.hpp
asiajo/Battlefield
6734f7dd29930b0bc8c243505e879703b27e8a15
[ "Apache-2.0" ]
null
null
null
include/BoardComputer.hpp
asiajo/Battlefield
6734f7dd29930b0bc8c243505e879703b27e8a15
[ "Apache-2.0" ]
null
null
null
include/BoardComputer.hpp
asiajo/Battlefield
6734f7dd29930b0bc8c243505e879703b27e8a15
[ "Apache-2.0" ]
null
null
null
#pragma once #include "Board.hpp" #include "Position.hpp" #include <random> #include <cstdlib> //abs class BoardComputer : public Board { std::vector<std::vector<FieldStatus>> hideBattleField; Position generatePosition(const int dirX, const int len); bool generateShip(const int len); bool chec...
26.090909
67
0.722997
[ "vector" ]
6e814df35e68a27d24659156f75e3f7aca664e21
2,406
hpp
C++
include/protoc/msgpack/detail/decoder.hpp
skyformat99/protoc
f0a72275c92bedc8492524cb98cc24c5821c4f11
[ "BSL-1.0" ]
null
null
null
include/protoc/msgpack/detail/decoder.hpp
skyformat99/protoc
f0a72275c92bedc8492524cb98cc24c5821c4f11
[ "BSL-1.0" ]
null
null
null
include/protoc/msgpack/detail/decoder.hpp
skyformat99/protoc
f0a72275c92bedc8492524cb98cc24c5821c4f11
[ "BSL-1.0" ]
null
null
null
#ifndef PROTOC_MSGPACK_DETAIL_DECODER_HPP #define PROTOC_MSGPACK_DETAIL_DECODER_HPP /////////////////////////////////////////////////////////////////////////////// // // http://protoc.sourceforge.net/ // // Copyright (C) 2014 Bjorn Reese <breese@users.sourceforge.net> // // Distributed under the Boost Software License...
25.326316
80
0.645885
[ "vector" ]
6e8488233f2d24116742f9b4bacc013cf4bf4362
5,490
cpp
C++
fancy2d/Sound/f2dWaveDecoder.cpp
Legacy-LuaSTG-Engine/Legacy-LuaSTG-Ex-Plus
1266de6c56f7486e95567c5bfb092294fa363c10
[ "MIT" ]
3
2021-08-07T16:07:59.000Z
2021-08-18T14:15:35.000Z
fancy2d/Sound/f2dWaveDecoder.cpp
Legacy-LuaSTG-Engine/Legacy-LuaSTG-Ex-Plus
1266de6c56f7486e95567c5bfb092294fa363c10
[ "MIT" ]
null
null
null
fancy2d/Sound/f2dWaveDecoder.cpp
Legacy-LuaSTG-Engine/Legacy-LuaSTG-Ex-Plus
1266de6c56f7486e95567c5bfb092294fa363c10
[ "MIT" ]
null
null
null
#include "f2dWaveDecoder.h" #include "fcyException.h" #include "fcyOS/fcyDebug.h" using namespace std; //////////////////////////////////////////////////////////////////////////////// const char* f2dWaveDecoder::tagRIFF = "RIFF"; const char* f2dWaveDecoder::tagFMT = "fmt "; const char* f2dWaveDecoder::tagFACT = "fa...
21.96
126
0.698725
[ "vector" ]
6e851c3e26893b1436c101793be2eee8c27091e5
1,042
cc
C++
leet_code/Longest_Consecutive_Sequence/solve.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
1
2020-04-11T22:04:23.000Z
2020-04-11T22:04:23.000Z
leet_code/Longest_Consecutive_Sequence/solve.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
null
null
null
leet_code/Longest_Consecutive_Sequence/solve.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
null
null
null
class Solution { public: int longestConsecutive(vector<int>& nums) { unordered_map<int, bool> hash; vector<int> key; int answer = 0; for_each(nums.begin(), nums.end(), [&hash, &key](const auto num) { if (hash.find(num) == hash.end()) { key.push_back(num); ...
28.944444
79
0.378119
[ "vector" ]
6e86443590becb7666287ac3062acb9abaf9bd66
6,479
cpp
C++
game/code/common/engine/render/ogl/oglrendertarget.cpp
justinctlam/MarbleStrike
64fe36a5a4db2b299983b0e2556ab1cd8126259b
[ "MIT" ]
null
null
null
game/code/common/engine/render/ogl/oglrendertarget.cpp
justinctlam/MarbleStrike
64fe36a5a4db2b299983b0e2556ab1cd8126259b
[ "MIT" ]
null
null
null
game/code/common/engine/render/ogl/oglrendertarget.cpp
justinctlam/MarbleStrike
64fe36a5a4db2b299983b0e2556ab1cd8126259b
[ "MIT" ]
2
2019-03-08T03:02:45.000Z
2019-05-14T08:41:26.000Z
#if defined( RENDER_PLAT_OPENGL ) ////////////////////////////////////////////////////// // INCLUDES ////////////////////////////////////////////////////// #include "common/engine/database/database.hpp" #include "common/engine/game/gameapp.hpp" #include "common/engine/render/ogl/oglrenderer.hpp" #include "common/engi...
32.557789
126
0.64084
[ "render" ]
6e8a0653c1132cb0a2796e61f8e3bd303105f2a9
241
cpp
C++
Practice/chapter_10/exercise_10_03.cpp
cotecsz/Cpp-Primer-Note
1f1bc0a3a23651a98afdf85e86852642fce526fa
[ "Apache-2.0" ]
2
2022-03-21T07:08:08.000Z
2022-03-21T07:08:13.000Z
Practice/chapter_10/exercise_10_03.cpp
cotecsz/Cpp-Primer-Note
1f1bc0a3a23651a98afdf85e86852642fce526fa
[ "Apache-2.0" ]
null
null
null
Practice/chapter_10/exercise_10_03.cpp
cotecsz/Cpp-Primer-Note
1f1bc0a3a23651a98afdf85e86852642fce526fa
[ "Apache-2.0" ]
1
2021-12-27T01:00:18.000Z
2021-12-27T01:00:18.000Z
#include <iostream> #include <vector> #include <numeric> using namespace std; int main(){ vector<int> ivec = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; int result = accumulate(ivec.cbegin(), ivec.cend(), 0); cout << result << endl; return 0; }
16.066667
56
0.614108
[ "vector" ]
6e9228029ecdc4246d1227bfd30f6f5ce443d0e6
1,941
hpp
C++
source/toy/canvas/detail/ImageA.hpp
ToyAuthor/ToyBox
f517a64d00e00ccaedd76e33ed5897edc6fde55e
[ "Unlicense" ]
4
2017-07-06T22:18:41.000Z
2021-05-24T21:28:37.000Z
source/toy/canvas/detail/ImageA.hpp
ToyAuthor/ToyBox
f517a64d00e00ccaedd76e33ed5897edc6fde55e
[ "Unlicense" ]
null
null
null
source/toy/canvas/detail/ImageA.hpp
ToyAuthor/ToyBox
f517a64d00e00ccaedd76e33ed5897edc6fde55e
[ "Unlicense" ]
1
2020-08-02T13:00:38.000Z
2020-08-02T13:00:38.000Z
#pragma once #include <atomic> #include "toy/canvas/Standard.hpp" #include "toy/canvas/detail/Image.hpp" #include "toy/canvas/Array.hpp" namespace toy{ namespace canvas{ namespace _detail{ class GcArrayBufferA; class GcIndicesA; }}} #define BRUSH_PTR std::shared_ptr<::toy::canvas::Brush> #define F_ARRAY_PTR std...
26.22973
76
0.658423
[ "render", "vector" ]
6e98407dd54dfcec46ee3ee2e0eafdc6703dc0e3
1,183
cpp
C++
Cpp/Sorting/mergesort.cpp
gankoji/datastructures
b09a463ef9cce4d0729568dae7b55c6b159dbdcf
[ "MIT" ]
null
null
null
Cpp/Sorting/mergesort.cpp
gankoji/datastructures
b09a463ef9cce4d0729568dae7b55c6b159dbdcf
[ "MIT" ]
null
null
null
Cpp/Sorting/mergesort.cpp
gankoji/datastructures
b09a463ef9cce4d0729568dae7b55c6b159dbdcf
[ "MIT" ]
null
null
null
#include "mergesort.h" // Basic mergesort std::vector<int> mergeSort(std::vector<int> arr) { // Check the base case, a 1 element array is vacuously sorted int len = arr.size(); if (len <= 1) { return arr; } // Split the array in two int halflen = len/2; std::vector<int> a, b; ...
24.142857
66
0.469146
[ "vector" ]
6e9e774c445e380ecacb0b6b9f2ff910c1a112f8
3,057
cpp
C++
leetcode/cpp/qt_longest_absolute_path.cpp
qiaotian/CodeInterview
294c1ba86d8ace41a121c5ada4ba4c3765ccc17d
[ "WTFPL" ]
5
2016-10-29T09:28:11.000Z
2019-10-19T23:02:48.000Z
leetcode/cpp/qt_longest_absolute_path.cpp
qiaotian/CodeInterview
294c1ba86d8ace41a121c5ada4ba4c3765ccc17d
[ "WTFPL" ]
null
null
null
leetcode/cpp/qt_longest_absolute_path.cpp
qiaotian/CodeInterview
294c1ba86d8ace41a121c5ada4ba4c3765ccc17d
[ "WTFPL" ]
null
null
null
/* Suppose we abstract our file system by a string in the following manner: The string "dir\n\tsubdir1\n\tsubdir2\n\t\tfile.ext" represents: dir subdir1 subdir2 file.ext The directory dir contains an empty sub-directory subdir1 and a sub-directory subdir2 containing a file file.ext. The string "dir\n...
36.831325
274
0.60844
[ "vector" ]
6ea2522255dc0f93342f1ad1d0e2c2319f2a2300
5,495
cpp
C++
path.cpp
mraggi/LongestSimplePath
7bc58044f32970481aba6d5c859975c30d2e0915
[ "Apache-2.0" ]
9
2017-02-23T15:18:26.000Z
2022-01-14T15:17:01.000Z
LongestSimplePath/path.cpp
eddiehung/nextpnr-lsp
de4deb5f973b0a2d4600c47bf6fbfaeaca6bb200
[ "0BSD" ]
1
2020-07-16T09:41:09.000Z
2020-07-16T13:42:15.000Z
path.cpp
mraggi/LongestSimplePath
7bc58044f32970481aba6d5c859975c30d2e0915
[ "Apache-2.0" ]
2
2019-08-20T07:14:10.000Z
2021-01-06T01:45:40.000Z
#include "path.hpp" #include <cassert> void Path::AddNodeBack(node_t t) { m_explored[t] = true; node_t l = m_path.back(); m_totalvalue += m_parent->edge_value(l,t); m_path.push_back(t); } void Path::AddNodeFront(node_t t) { m_explored[t] = true; node_t l = m_path.front(); m_totalvalue += m_paren...
21.134615
111
0.62202
[ "vector" ]
6ea7f3000197ba9a6d127e9bfeceb65cd47dab49
7,561
cpp
C++
dp/sg/xbar/src/ObjectObserver.cpp
asuessenbach/pipeline
2e49968cc3b9948a57f7ee6c4cc3258925c92ab2
[ "BSD-3-Clause" ]
217
2015-01-06T09:26:53.000Z
2022-03-23T14:03:18.000Z
dp/sg/xbar/src/ObjectObserver.cpp
asuessenbach/pipeline
2e49968cc3b9948a57f7ee6c4cc3258925c92ab2
[ "BSD-3-Clause" ]
10
2015-01-25T12:42:05.000Z
2017-11-28T16:10:16.000Z
dp/sg/xbar/src/ObjectObserver.cpp
asuessenbach/pipeline
2e49968cc3b9948a57f7ee6c4cc3258925c92ab2
[ "BSD-3-Clause" ]
44
2015-01-13T01:19:41.000Z
2022-02-21T21:35:08.000Z
// Copyright (c) 2010-2016, NVIDIA CORPORATION. All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // * Redistributions of source code must retain the above copyright // notice, this list of con...
39.380208
170
0.609311
[ "object", "transform" ]
6eab05a1aed0e7f0e9edea9a77cb6484210aba38
926
hpp
C++
include/athena/fields/Box.hpp
marovira/marching_rings
d4dbf3834a0a6b89801f6680c07303dbb7902ea0
[ "BSD-3-Clause" ]
null
null
null
include/athena/fields/Box.hpp
marovira/marching_rings
d4dbf3834a0a6b89801f6680c07303dbb7902ea0
[ "BSD-3-Clause" ]
null
null
null
include/athena/fields/Box.hpp
marovira/marching_rings
d4dbf3834a0a6b89801f6680c07303dbb7902ea0
[ "BSD-3-Clause" ]
null
null
null
#ifndef ATHENA_INCLUDE_ATHENA_FIELDS_CYLINDER_HPP #define ATHENA_INCLUDE_ATHENA_FIELDS_CYLINDER_HPP #pragma once #include "ImplicitField.hpp" namespace athena { namespace fields { class Box : public ImplicitField { public: Box() { } atlas::math::No...
21.045455
82
0.49676
[ "vector" ]
6eb464e55211a68c4e06db2a094b01eff836b1ac
13,157
cpp
C++
src/ImguiRenderer.cpp
am-lola/ARVisualizer
b262a0ee5ffb9de1a4ccac16eb5c6b8deacba16d
[ "MIT" ]
1
2018-05-29T07:55:52.000Z
2018-05-29T07:55:52.000Z
src/ImguiRenderer.cpp
am-lola/ARVisualizer
b262a0ee5ffb9de1a4ccac16eb5c6b8deacba16d
[ "MIT" ]
null
null
null
src/ImguiRenderer.cpp
am-lola/ARVisualizer
b262a0ee5ffb9de1a4ccac16eb5c6b8deacba16d
[ "MIT" ]
null
null
null
// ImGui GLFW3 binding with OpenGL3 + shaders. Adapted from imgui_impl_glfw_gl3.cpp. // https://github.com/ocornut/imgui #include "ImguiRenderer.hpp" #include "common.hpp" #include <mutex> #include <imgui.h> namespace ar { static int _openInstances = 0; static std::mutex _mutex; ImguiRenderer::ImguiRenderer(GLFWwi...
35.948087
222
0.733222
[ "render" ]
6eb9da780d8d5c0863a0a4680994df20b2e03264
1,223
cpp
C++
src/study/FindPrimesWithThreads.cpp
ViniciusCampanha/cpp_basic
d80a64c35791dd4525a08ecceb6ac08168b7601d
[ "Unlicense" ]
null
null
null
src/study/FindPrimesWithThreads.cpp
ViniciusCampanha/cpp_basic
d80a64c35791dd4525a08ecceb6ac08168b7601d
[ "Unlicense" ]
null
null
null
src/study/FindPrimesWithThreads.cpp
ViniciusCampanha/cpp_basic
d80a64c35791dd4525a08ecceb6ac08168b7601d
[ "Unlicense" ]
null
null
null
#include <iostream> #include <vector> #include <ctime> #include <mutex> #include <thread> std::vector<unsigned int> primeVect; std::mutex vectLock; void FindPrimes(unsigned int start, unsigned int end) { for(unsigned int x = start; x <= end; x+=2) { for(unsigned int y = 2; y < x; y++) { i...
18.530303
54
0.60507
[ "vector" ]
6ebc5291a945d4022e2056b5ae49019a25efac38
2,109
cpp
C++
wangha/test/rgb2nv21.cpp
wanghaMAX/yeah2020
efcb6d51d498bff9732f05396694ce7bf9b3a1fc
[ "MIT" ]
3
2019-12-11T03:08:50.000Z
2019-12-12T04:54:08.000Z
wangha/test/rgb2nv21.cpp
wanghaMAX/fwwb2020
efcb6d51d498bff9732f05396694ce7bf9b3a1fc
[ "MIT" ]
null
null
null
wangha/test/rgb2nv21.cpp
wanghaMAX/fwwb2020
efcb6d51d498bff9732f05396694ce7bf9b3a1fc
[ "MIT" ]
1
2019-12-23T11:31:59.000Z
2019-12-23T11:31:59.000Z
#include <iostream> #include <cstdlib> #include "opencv2/core.hpp" #include "opencv2/highgui.hpp" #include "opencv2/imgproc/imgproc.hpp" #include <vector> #include <fstream> #include <string> using namespace std; using namespace cv; void opencvRGB2NV21(string infile, char* outfile){ Mat Img = cv::imread(infile);...
26.3625
87
0.573257
[ "vector" ]
6ebf69146c5e3061216e7b4734129013b9b1cbbe
576
cpp
C++
941.cpp
zhulk3/leetCode
0a1dbf8d58558ab9b05c5150aafa9e4344cec5bc
[ "Apache-2.0" ]
2
2020-03-13T08:14:01.000Z
2021-09-03T15:27:49.000Z
941.cpp
zhulk3/LeetCode
0a1dbf8d58558ab9b05c5150aafa9e4344cec5bc
[ "Apache-2.0" ]
null
null
null
941.cpp
zhulk3/LeetCode
0a1dbf8d58558ab9b05c5150aafa9e4344cec5bc
[ "Apache-2.0" ]
null
null
null
#include <vector> #include <iostream> #include <algorithm> using namespace std; class Solution { public: bool validMountainArray(vector<int>& A) { bool up = true; bool down = false; int len = A.size(); int left = 0; int right = len - 1; if (len < 3) return false; for (int i = 1; i < len; i++) { i...
15.567568
42
0.524306
[ "vector" ]
6ebfea4240daa131495253ff0d70a6f4f908e84b
13,343
cpp
C++
RcsPySim/src/cpp/pyEnv/config/PropertySourceDict.cpp
theogruner/SimuRLacra
4893514ccdeb10a736c55de9aa7753fd51c5afec
[ "DOC", "Zlib", "BSD-3-Clause" ]
52
2020-05-02T13:55:09.000Z
2022-03-09T14:49:36.000Z
RcsPySim/src/cpp/pyEnv/config/PropertySourceDict.cpp
theogruner/SimuRLacra
4893514ccdeb10a736c55de9aa7753fd51c5afec
[ "DOC", "Zlib", "BSD-3-Clause" ]
40
2020-09-01T15:19:22.000Z
2021-11-02T14:51:41.000Z
RcsPySim/src/cpp/pyEnv/config/PropertySourceDict.cpp
theogruner/SimuRLacra
4893514ccdeb10a736c55de9aa7753fd51c5afec
[ "DOC", "Zlib", "BSD-3-Clause" ]
13
2020-07-03T11:39:21.000Z
2022-02-20T01:12:42.000Z
/******************************************************************************* Copyright (c) 2020, Fabio Muratore, Honda Research Institute Europe GmbH, and Technical University of Darmstadt. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted prov...
30.603211
115
0.590572
[ "object", "vector" ]
6ec767aa77903838782e1f51738081fd02208500
4,655
cc
C++
src/Protocols/HTTP/Request.cc
fuzziqersoftware/libevent-async
2054586d9de8e5c877f453a0d48d1bb8c4df1619
[ "MIT" ]
2
2021-11-07T15:00:33.000Z
2022-01-08T13:16:50.000Z
src/Protocols/HTTP/Request.cc
fuzziqersoftware/libevent-async
2054586d9de8e5c877f453a0d48d1bb8c4df1619
[ "MIT" ]
null
null
null
src/Protocols/HTTP/Request.cc
fuzziqersoftware/libevent-async
2054586d9de8e5c877f453a0d48d1bb8c4df1619
[ "MIT" ]
null
null
null
#include "Request.hh" #include <phosg/Strings.hh> #include <phosg/Time.hh> #include "Connection.hh" using namespace std; namespace EventAsync::HTTP { Request::Request(Base& base) : base(base), req(evhttp_request_new(&Request::on_response, this)), owned(false), is_complete(false), awaiter(nullpt...
28.558282
82
0.697959
[ "object" ]
6ec776771985147e3fb23f6f888cf80cac383a25
2,191
cpp
C++
learncpp.com/0P_Arrays_Strings_Pointers_and_References/Question02/src/Main.cpp
KoaLaYT/Learn-Cpp
0bfc98c3eca9c2fde5bff609c67d7e273fde5196
[ "MIT" ]
null
null
null
learncpp.com/0P_Arrays_Strings_Pointers_and_References/Question02/src/Main.cpp
KoaLaYT/Learn-Cpp
0bfc98c3eca9c2fde5bff609c67d7e273fde5196
[ "MIT" ]
null
null
null
learncpp.com/0P_Arrays_Strings_Pointers_and_References/Question02/src/Main.cpp
KoaLaYT/Learn-Cpp
0bfc98c3eca9c2fde5bff609c67d7e273fde5196
[ "MIT" ]
null
null
null
/** * Chapter P :: Question 2 * * Prompt user to input student infos, * and then list them by grade. * * KoaLaYT 20:56 31/01/2020 * */ #include <iostream> #include <limits> #include <vector> struct Student { std::string name; int grade; }; int get_number() { while (true) { std::cout << "How many s...
22.131313
88
0.571885
[ "vector" ]
6ecb4ab9bd8237c336f237c71bd8c252367d9541
1,013
cpp
C++
src/playground/menu.cpp
Cat-Lord/ppgso_project
fa2fc3fc16e3e20a656d87bfec865d629b197d00
[ "MIT" ]
null
null
null
src/playground/menu.cpp
Cat-Lord/ppgso_project
fa2fc3fc16e3e20a656d87bfec865d629b197d00
[ "MIT" ]
null
null
null
src/playground/menu.cpp
Cat-Lord/ppgso_project
fa2fc3fc16e3e20a656d87bfec865d629b197d00
[ "MIT" ]
null
null
null
#include <shaders/texture_vert_glsl.h> #include <shaders/texture_frag_glsl.h> #include <iostream> #include "menu.h" #include "scene.h" Menu::Menu(){ if (!shader) shader = std::make_unique<ppgso::Shader>(texture_vert_glsl, texture_frag_glsl); if (!texture) texture = std::make_unique<ppgso::Texture>(ppgso::image::load...
26.657895
93
0.688055
[ "mesh", "render" ]
6ed09ee54b1770bbb12f33a10c6a8e4ed4f711de
4,413
cpp
C++
Engine/addons/myguiplatforms/src/MyGUI_GenesisVertexBuffer.cpp
BikkyS/DreamEngine
47da4e22c65188c72f44591f6a96505d8ba5f5f3
[ "MIT" ]
26
2015-01-15T12:57:40.000Z
2022-02-16T10:07:12.000Z
Engine/addons/myguiplatforms/src/MyGUI_GenesisVertexBuffer.cpp
BikkyS/DreamEngine
47da4e22c65188c72f44591f6a96505d8ba5f5f3
[ "MIT" ]
null
null
null
Engine/addons/myguiplatforms/src/MyGUI_GenesisVertexBuffer.cpp
BikkyS/DreamEngine
47da4e22c65188c72f44591f6a96505d8ba5f5f3
[ "MIT" ]
17
2015-02-18T07:51:31.000Z
2020-06-01T01:10:12.000Z
/*! @file @author Albert Semenov @date 04/2009 */ /**************************************************************************** Copyright (c) 2011-2013,WebJet Business Division,CYOU http://www.genesis-3d.com.cn Permission is hereby granted, free of charge, to any person obtaining a copy of this software and asso...
36.471074
143
0.754589
[ "3d" ]
6ed4d23e75119015e284fbca2453eef6de56be71
665
cpp
C++
src/core/object.cpp
trukanduk/lispp
9fe4564b2197ae216214fa0408f1e5c4c5105237
[ "MIT" ]
null
null
null
src/core/object.cpp
trukanduk/lispp
9fe4564b2197ae216214fa0408f1e5c4c5105237
[ "MIT" ]
null
null
null
src/core/object.cpp
trukanduk/lispp
9fe4564b2197ae216214fa0408f1e5c4c5105237
[ "MIT" ]
null
null
null
#include <lispp/object.h> namespace lispp { Object::~Object() { } std::string Object::GetTypeName() { return "object"; } int Object::get_ref_count() const { return ref_count_; } int Object::ref() { return ++ref_count_; } int Object::unref() { const int result = unref_nodelete(); if (result == 0) { d...
16.219512
73
0.645113
[ "object" ]
6ed54600978f1d5d7cdc6eb38137667802a62f95
1,110
hpp
C++
include/runtime/Frame.hpp
Skalwalker/JVM
ac71e17cd224b5dee7ae421edc78ea1d186bdecf
[ "MIT" ]
1
2020-10-15T07:30:56.000Z
2020-10-15T07:30:56.000Z
include/runtime/Frame.hpp
Skalwalker/JVM
ac71e17cd224b5dee7ae421edc78ea1d186bdecf
[ "MIT" ]
27
2019-10-14T13:27:20.000Z
2019-12-04T19:43:32.000Z
include/runtime/Frame.hpp
Skalwalker/JVM
ac71e17cd224b5dee7ae421edc78ea1d186bdecf
[ "MIT" ]
null
null
null
#ifndef FRAME_H_INCLUDED #define FRAME_H_INCLUDED #include <cstdint> #include <vector> #include <stack> #include "../models/CPInfo.hpp" #include "../models/MethodInfo.hpp" #define TAG_EMPTY 0 #define TAG_BOOL 1 #define TAG_BYTE 2 #define TAG_CHAR 3 #define TAG_SHORT 4 #define TAG_INT 5 #define TAG_FLOAT 6 #define TAG...
20.555556
53
0.696396
[ "vector" ]
6ed5c1795e35ac33c9d7db1eef3101e9a410fb7a
1,723
cpp
C++
LightOJ/LightOJ - 1128/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
LightOJ/LightOJ - 1128/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
LightOJ/LightOJ - 1128/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: 2018-08-12 20:05:56 * solution_verdict: Accepted language: C++ * run...
25.338235
111
0.418456
[ "vector" ]
6ee5177ee99226d664f9154722b0b6b015155553
10,788
cpp
C++
CRAB/gameeventmanager.cpp
arvindrajayadav/unrest
d89f20e95fbcdef37a47ab1454b2479522a0e43f
[ "MIT" ]
11
2020-08-04T08:37:46.000Z
2022-03-31T22:35:15.000Z
CRAB/gameeventmanager.cpp
arvindrajayadav/unrest
d89f20e95fbcdef37a47ab1454b2479522a0e43f
[ "MIT" ]
1
2020-12-16T16:51:52.000Z
2020-12-18T06:35:38.000Z
Unrest-iOS/gameeventmanager.cpp
arvindrajayadav/unrest
d89f20e95fbcdef37a47ab1454b2479522a0e43f
[ "MIT" ]
7
2020-08-04T09:34:20.000Z
2021-09-11T03:00:16.000Z
#include "stdafx.h" #include "gameeventmanager.h" using namespace pyrodactyl::people; using namespace pyrodactyl::event; using namespace pyrodactyl::level; using namespace pyrodactyl::image; using namespace pyrodactyl::ui; void Manager::Init() { event_map.clear(); active_seq = UINT_MAX; cur_sp = nullptr; player =...
29.156757
144
0.58908
[ "object", "vector" ]
6eef41cec168ec2c9b1bcf9a4cfbda9b89f4669a
4,248
cpp
C++
SPOJ/POSTERS - Election Posters.cpp
ravirathee/Competitive-Programming
20a0bfda9f04ed186e2f475644e44f14f934b533
[ "Unlicense" ]
6
2018-11-26T02:38:07.000Z
2021-07-28T00:16:41.000Z
SPOJ/POSTERS - Election Posters.cpp
ravirathee/Competitive-Programming
20a0bfda9f04ed186e2f475644e44f14f934b533
[ "Unlicense" ]
1
2021-05-30T09:25:53.000Z
2021-06-05T08:33:56.000Z
SPOJ/POSTERS - Election Posters.cpp
ravirathee/Competitive-Programming
20a0bfda9f04ed186e2f475644e44f14f934b533
[ "Unlicense" ]
4
2020-04-16T07:15:01.000Z
2020-12-04T06:26:07.000Z
/*POSTERS - Election Posters #ad-hoc-1 A parliamentary election was being held in Byteland. Its enterprising and orderly citizens decided to limit the entire election campaign to a single dedicated wall, so as not to ruin the panorama with countless posters and billboards. Every politician was allowed to hang exactly ...
28.32
531
0.558616
[ "vector", "transform" ]
6ef51508084fc9c761455f671ab925ba6586da68
41,406
cpp
C++
src/newCompilerHelper.cpp
Fabio3rs/COFF-to-GTAScript-Helper
dc606372c48dd4f50ac822b77b71d5c0ea765544
[ "MIT" ]
null
null
null
src/newCompilerHelper.cpp
Fabio3rs/COFF-to-GTAScript-Helper
dc606372c48dd4f50ac822b77b71d5c0ea765544
[ "MIT" ]
null
null
null
src/newCompilerHelper.cpp
Fabio3rs/COFF-to-GTAScript-Helper
dc606372c48dd4f50ac822b77b71d5c0ea765544
[ "MIT" ]
null
null
null
/* Helper to convert compiled bytecode in COFF object to use with GTA3Script/CLEO Scripts in GTA San Andreas Write by Fabio3rs - https://github.com/Fabio3rs MIT License Copyright (c) 2020 Fabio3rs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentati...
26.356461
352
0.586582
[ "object", "vector" ]
6efda739cb6795e9b762f9fbd36fd28a98d9c2ba
8,584
hpp
C++
src/geometry/geometry_utils.hpp
lanl/phoebus
c570f42882c1c9e01e3bfe4b00b22e15a7a9992b
[ "BSD-3-Clause" ]
3
2022-03-24T22:09:12.000Z
2022-03-29T23:16:21.000Z
src/geometry/geometry_utils.hpp
lanl/phoebus
c570f42882c1c9e01e3bfe4b00b22e15a7a9992b
[ "BSD-3-Clause" ]
8
2022-03-15T20:49:43.000Z
2022-03-29T17:45:04.000Z
src/geometry/geometry_utils.hpp
lanl/phoebus
c570f42882c1c9e01e3bfe4b00b22e15a7a9992b
[ "BSD-3-Clause" ]
null
null
null
// © 2021. Triad National Security, LLC. All rights reserved. This // program was produced under U.S. Government contract // 89233218CNA000001 for Los Alamos National Laboratory (LANL), which // is operated by Triad National Security, LLC for the U.S. // Department of Energy/National Nuclear Security Administration. A...
34.894309
90
0.609739
[ "mesh", "geometry", "shape", "vector" ]
3e097b3e7b693127dc1fbc9eab82ce803702912f
13,121
cpp
C++
test/diff/lcs_test.cpp
G-P-S/SPIRV-Tools
19b156b940d17bf67e93ac2532c6cac840fb46d8
[ "Apache-2.0" ]
null
null
null
test/diff/lcs_test.cpp
G-P-S/SPIRV-Tools
19b156b940d17bf67e93ac2532c6cac840fb46d8
[ "Apache-2.0" ]
null
null
null
test/diff/lcs_test.cpp
G-P-S/SPIRV-Tools
19b156b940d17bf67e93ac2532c6cac840fb46d8
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2022 Google LLC. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to...
39.760606
80
0.769454
[ "vector" ]
3e17eba811b4e9f9d409466d04f2ab2c2f3888d7
1,431
cpp
C++
Codechef/CVOTE.cpp
jceplaras/competitiveprogramming
d92cbedd31d9aa812a6084aea50e573886e5e6e4
[ "MIT" ]
null
null
null
Codechef/CVOTE.cpp
jceplaras/competitiveprogramming
d92cbedd31d9aa812a6084aea50e573886e5e6e4
[ "MIT" ]
null
null
null
Codechef/CVOTE.cpp
jceplaras/competitiveprogramming
d92cbedd31d9aa812a6084aea50e573886e5e6e4
[ "MIT" ]
null
null
null
#include <algorithm> #include <cmath> #include <cctype> #include <cstdio> #include <cstring> #include <iostream> #include <map> #include <queue> #include <set> #include <string> #include <vector> #define FOR(i,a,b) for (int i = a; i <= b; i++) #define FORN(i,N) for (int i = 0; i < N; i++) #define FORD(i,a,b) for (int ...
21.358209
64
0.598882
[ "vector" ]
3e1a1f0de696a8e4066e08e30e8d9e4e488aca92
3,915
cpp
C++
Quoridor Game and Bot/kauts.cpp
kautsiitd/Games-and-BOTS
58f345064b2834a8ec53074679ef42e159a55889
[ "MIT" ]
2
2017-09-16T23:12:43.000Z
2021-01-26T16:25:58.000Z
Quoridor Game and Bot/kauts.cpp
kautsiitd/Games-and-BOTS
58f345064b2834a8ec53074679ef42e159a55889
[ "MIT" ]
null
null
null
Quoridor Game and Bot/kauts.cpp
kautsiitd/Games-and-BOTS
58f345064b2834a8ec53074679ef42e159a55889
[ "MIT" ]
1
2015-12-28T22:34:47.000Z
2015-12-28T22:34:47.000Z
#include "globals.h" #define mp make_pair using namespace std; // global variables //bool walls[N+1][M+1][2]; // walls are stored in zero index form [0] is horizontal walls and [1] is vertical walls // opponent last move om(type) oro(row) oc(column) // send answer in ans[3] (move,row,column) ...
30.826772
119
0.57931
[ "vector" ]
3e1b45fdc76e36f28e465dcb53e5d4d100029ce1
9,731
cc
C++
vision/locate_cameras.cc
cornell-cup/cs-reminibot
411d1ed4b4f67f07f3608cb6ddb7f0b8d7a22b24
[ "Apache-2.0" ]
5
2020-09-05T18:57:33.000Z
2022-03-15T00:14:57.000Z
vision/locate_cameras.cc
cornell-cup/cs-reminibot
411d1ed4b4f67f07f3608cb6ddb7f0b8d7a22b24
[ "Apache-2.0" ]
33
2019-11-07T22:42:13.000Z
2022-02-05T17:54:50.000Z
vision/locate_cameras.cc
cornell-cup/cs-reminibot
411d1ed4b4f67f07f3608cb6ddb7f0b8d7a22b24
[ "Apache-2.0" ]
10
2019-09-28T16:44:10.000Z
2022-03-12T20:23:50.000Z
/*Specifications: This is Step 2 in initializing the vision system. Compile the locate_cameras.cc file by the following command g++ -std=c++11 locate_cameras.cc (PATH TO)/cs-reminibot/vision `pkg-config --libs --cflags opencv` -l apriltag -o locate_cameras.o (Here --cflags are what you got while i...
36.582707
129
0.480526
[ "vector" ]
4a49726a46332bed12e20b3e6572079d89a15f9d
6,768
cpp
C++
third_party/libunwindstack/tests/MapInfoTest.cpp
ioperations/orbit
c7935085023cce1abb70ce96dd03339f47a1c826
[ "BSD-2-Clause" ]
716
2017-09-22T11:50:40.000Z
2020-03-14T21:52:22.000Z
third_party/libunwindstack/tests/MapInfoTest.cpp
ioperations/orbit
c7935085023cce1abb70ce96dd03339f47a1c826
[ "BSD-2-Clause" ]
132
2017-09-24T11:48:18.000Z
2020-03-17T17:39:45.000Z
third_party/libunwindstack/tests/MapInfoTest.cpp
ioperations/orbit
c7935085023cce1abb70ce96dd03339f47a1c826
[ "BSD-2-Clause" ]
49
2017-09-23T10:23:59.000Z
2020-03-14T09:27:49.000Z
/* * Copyright (C) 2018 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...
34.707692
94
0.712323
[ "object", "vector" ]
4a4ae37d1a5e37915d810652215b1a6a9061fbbc
13,069
cc
C++
sling/myelin/generator/elementwise.cc
anders-sandholm/sling
f3ab461cf378b31ad202cfa4892a007b85cf08af
[ "Apache-2.0" ]
1
2021-06-16T13:02:01.000Z
2021-06-16T13:02:01.000Z
sling/myelin/generator/elementwise.cc
anders-sandholm/sling
f3ab461cf378b31ad202cfa4892a007b85cf08af
[ "Apache-2.0" ]
null
null
null
sling/myelin/generator/elementwise.cc
anders-sandholm/sling
f3ab461cf378b31ad202cfa4892a007b85cf08af
[ "Apache-2.0" ]
null
null
null
// Copyright 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
32.591022
80
0.590328
[ "shape", "vector" ]
4a535ee82b38a272fb538efdcd44b6eb40432ca4
10,060
cpp
C++
src/components/input/mipalsainput.cpp
xchbx/fox
12787683ba10db8f5eedf21e2d0e7a63bebc1664
[ "Apache-2.0" ]
2
2019-04-12T10:26:43.000Z
2019-06-21T15:20:11.000Z
src/components/input/mipalsainput.cpp
xchbx/NetCamera
12787683ba10db8f5eedf21e2d0e7a63bebc1664
[ "Apache-2.0" ]
1
2019-08-06T16:57:49.000Z
2019-08-06T16:57:49.000Z
src/components/input/mipalsainput.cpp
xchbx/NetCamera
12787683ba10db8f5eedf21e2d0e7a63bebc1664
[ "Apache-2.0" ]
1
2020-12-31T08:52:03.000Z
2020-12-31T08:52:03.000Z
/* This file is a part of EMIPLIB, the EDM Media over IP Library. Copyright (C) 2006-2017 Hasselt University - Expertise Centre for Digital Media (EDM) (http://www.edm.uhasselt.be) This library is free software; you can redistribute it and/or modify it under the terms of the GNU ...
26.266319
120
0.741054
[ "vector" ]
4a55590dc3285fca917b4412b718b5e7ae1b3618
6,549
cpp
C++
src/paintown-engine/network/paintown_network.cpp
marstau/shinsango
d9468787ae8e18fa478f936770d88e9bf93c11c0
[ "BSD-3-Clause" ]
1
2021-06-16T15:25:47.000Z
2021-06-16T15:25:47.000Z
src/paintown-engine/network/paintown_network.cpp
marstau/shinsango
d9468787ae8e18fa478f936770d88e9bf93c11c0
[ "BSD-3-Clause" ]
null
null
null
src/paintown-engine/network/paintown_network.cpp
marstau/shinsango
d9468787ae8e18fa478f936770d88e9bf93c11c0
[ "BSD-3-Clause" ]
null
null
null
#include "network.h" #include "util/system.h" #include <vector> #include <string> #include <string.h> /* FIXME: these things should come from util/network/network.h */ #ifdef HAVE_NETWORKING #ifdef WII #include <network.h> #elif defined(WINDOWS) #include <winsock.h> #else #include <arpa/inet.h> #endif #else #ifndef ht...
24.345725
96
0.621622
[ "vector" ]
4a575e532de0907bb1108d75be1c921cf8d244af
3,220
cpp
C++
src/yamlcast/iarchive_test.cpp
unnonouno/yamlcast
cff7cc2c66f15850e3c97343d87fa546593ccfe0
[ "MIT" ]
2
2015-09-27T22:05:41.000Z
2015-10-28T05:34:05.000Z
src/yamlcast/iarchive_test.cpp
unnonouno/yamlcast
cff7cc2c66f15850e3c97343d87fa546593ccfe0
[ "MIT" ]
null
null
null
src/yamlcast/iarchive_test.cpp
unnonouno/yamlcast
cff7cc2c66f15850e3c97343d87fa546593ccfe0
[ "MIT" ]
null
null
null
#include <map> #include <string> #include <vector> #include <gtest/gtest.h> #include "exception.hpp" #include "iarchive.hpp" using std::map; using std::string; using std::vector; namespace yamlcast { template <typename T> void deserialize(const string& str, T& v) { document::ptr yaml = document::parse_string(str)...
18.941176
75
0.629503
[ "object", "vector" ]
4a5c9831dc7bf70018714c76b7270c8d517233f2
178,835
cpp
C++
source/game/vehicles/TransportComponents.cpp
JasonHutton/QWTA
7f42dc70eb230cf69a8048fc98d647a486e752f1
[ "MIT" ]
2
2021-05-02T18:37:48.000Z
2021-07-18T16:18:14.000Z
source/game/vehicles/TransportComponents.cpp
JasonHutton/QWTA
7f42dc70eb230cf69a8048fc98d647a486e752f1
[ "MIT" ]
null
null
null
source/game/vehicles/TransportComponents.cpp
JasonHutton/QWTA
7f42dc70eb230cf69a8048fc98d647a486e752f1
[ "MIT" ]
null
null
null
// Copyright (C) 2007 Id Software, Inc. // #include "../precompiled.h" #pragma hdrstop #if defined( _DEBUG ) && !defined( ID_REDIRECT_NEWDELETE ) #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif #include "TransportComponents.h" #include "Transport.h" #include "Vehicle_R...
30.659181
237
0.649817
[ "render", "object", "vector", "model", "transform" ]
4a5d005a10609fb8055d8b2e23cfda7a1e6766fa
176
hpp
C++
redist/deps/flif/src/transform/factory.hpp
FrostyLeaves/spot
703150893da7b586be772e716dab41687b85bc5b
[ "Zlib" ]
71
2015-01-08T06:52:45.000Z
2018-01-11T00:41:43.000Z
redist/deps/flif/src/transform/factory.hpp
FrostyLeaves/spot
703150893da7b586be772e716dab41687b85bc5b
[ "Zlib" ]
11
2015-02-12T10:04:50.000Z
2017-02-19T19:48:49.000Z
redist/deps/flif/src/transform/factory.hpp
FrostyLeaves/spot
703150893da7b586be772e716dab41687b85bc5b
[ "Zlib" ]
26
2015-02-28T03:24:31.000Z
2017-12-29T09:43:32.000Z
#ifndef FLIF_FACTORY_HPP #define FLIF_FACTORY_HPP #include "transform.hpp" #include <string> template <typename IO> Transform<IO> *create_transform(std::string desc); #endif
17.6
50
0.789773
[ "transform" ]
4a5d206496e517dd6367e76134f972f3a20c5b79
53,080
cpp
C++
src/VStarCatalogue.cpp
GernotMaier/Eventdisplay
b244d65856ddc26ea8ef88af53d2b247e8d5936c
[ "BSD-3-Clause" ]
11
2019-12-10T13:34:46.000Z
2021-08-24T15:39:35.000Z
src/VStarCatalogue.cpp
Eventdisplay/Eventdisplay
01ef380cf53a44f95351960a297a2d4f271a4160
[ "BSD-3-Clause" ]
53
2019-11-19T13:14:36.000Z
2022-02-16T14:22:27.000Z
src/VStarCatalogue.cpp
pivosb/Eventdisplay
6b299a1d3f77ddb641f98a511a37a5045ddd6b47
[ "BSD-3-Clause" ]
3
2020-05-07T13:52:46.000Z
2021-06-25T09:49:21.000Z
/*! \class VStarCatalogue * \brief bright star catalogue */ #include "VStarCatalogue.h" ClassImp( VStarCatalogue ) VStarCatalogue::VStarCatalogue() { fDebug = false; fCatalogue = "Hipparcos_MAG8_1997.dat"; fCatalogueVersion = 0; setTelescopePointing(); } VStarCatalogue::~VStarCatalogue(...
32.846535
253
0.522155
[ "object", "vector" ]
4a5dcd22820f789b1716a95e8e5cd489a4401bcb
2,173
cpp
C++
runtime/src/blueoil_data_processor.cpp
tvlenin/blueoil
810680df75e2640f67d515c377ba2b4531b9e584
[ "Apache-2.0" ]
null
null
null
runtime/src/blueoil_data_processor.cpp
tvlenin/blueoil
810680df75e2640f67d515c377ba2b4531b9e584
[ "Apache-2.0" ]
null
null
null
runtime/src/blueoil_data_processor.cpp
tvlenin/blueoil
810680df75e2640f67d515c377ba2b4531b9e584
[ "Apache-2.0" ]
null
null
null
#include <dlfcn.h> #include <string> #include <vector> #include <iostream> #include <numeric> #include <algorithm> #include "blueoil.hpp" #include "blueoil_image.hpp" #include "blueoil_data_processor.hpp" namespace blueoil { namespace data_processor { // TODO(wakisaka): imple resize. Tensor Resize(const Tensor& imag...
27.1625
80
0.623102
[ "vector", "transform" ]
4a712a91ee7442b90ce58dd9ca162c7cafba9136
671
hpp
C++
deprecated-material/include/aml/string.hpp
aandriko/libaml
9db1a3ac13ef8160a33ed03e861be5d8cc8ea311
[ "BSL-1.0" ]
null
null
null
deprecated-material/include/aml/string.hpp
aandriko/libaml
9db1a3ac13ef8160a33ed03e861be5d8cc8ea311
[ "BSL-1.0" ]
null
null
null
deprecated-material/include/aml/string.hpp
aandriko/libaml
9db1a3ac13ef8160a33ed03e861be5d8cc8ea311
[ "BSL-1.0" ]
null
null
null
///////////////////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2021 Andreas Milton Maniotis. // // Email: andreas.maniotis@gmail.com // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/...
29.173913
102
0.490313
[ "object" ]
4a76dd8508e69f2b0fade9cf1a08e8ab8bb782a2
1,927
cpp
C++
GameBackboneSln/GameBackbone/Source/Core/UniformAnimationSet.cpp
lavinrp/GameBackbone
35593a6ae1a68ca5e987e098c0270a94b54eb2dd
[ "MIT" ]
9
2017-04-16T20:15:48.000Z
2019-10-19T18:49:03.000Z
GameBackboneSln/GameBackbone/Source/Core/UniformAnimationSet.cpp
lavinrp/GameBackbone
35593a6ae1a68ca5e987e098c0270a94b54eb2dd
[ "MIT" ]
226
2017-02-10T04:01:31.000Z
2020-04-13T03:11:30.000Z
GameBackboneSln/GameBackbone/Source/Core/UniformAnimationSet.cpp
lavinrp/GameBackbone
35593a6ae1a68ca5e987e098c0270a94b54eb2dd
[ "MIT" ]
4
2017-04-09T14:56:52.000Z
2020-04-18T17:32:46.000Z
#include <GameBackbone/Core/AnimationSet.h> #include <GameBackbone/Core/UniformAnimationSet.h> #include <SFML/System/Vector2.hpp> #include <exception> #include <vector> using namespace GB; /// <summary> /// Construct a new UniformAnimationSet object. /// </summary> /// <param name="frameSize"> The default frame si...
35.685185
143
0.757135
[ "object", "vector" ]
4a76ddd6132e15715bd4e1484c87779a1d9d3ed4
2,694
cpp
C++
Codeforces/CF1394/D.cpp
jinzhengyu1212/Clovers
0efbb0d87b5c035e548103409c67914a1f776752
[ "MIT" ]
null
null
null
Codeforces/CF1394/D.cpp
jinzhengyu1212/Clovers
0efbb0d87b5c035e548103409c67914a1f776752
[ "MIT" ]
null
null
null
Codeforces/CF1394/D.cpp
jinzhengyu1212/Clovers
0efbb0d87b5c035e548103409c67914a1f776752
[ "MIT" ]
null
null
null
/* the vast starry sky, bright for those who chase the light. */ #include<bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int,int> pii; #define mk make_pair const int inf=(int)1e9; const ll INF=(ll)2e13; const int MOD=998244353; int _abs(int x){return x<0 ? -x : x;} int add(int x,int y){x+=y; ret...
27.212121
98
0.529696
[ "vector" ]
4a86472d23222d4a209e3b12baa435706ca55858
22,956
hpp
C++
alpaka/include/alpaka/core/Cuda.hpp
alpaka-group/mallocMC
ddba224b764885f816c42a7719551b14e6f5752b
[ "MIT" ]
6
2021-02-01T09:01:39.000Z
2021-11-14T17:09:03.000Z
alpaka/include/alpaka/core/Cuda.hpp
alpaka-group/mallocMC
ddba224b764885f816c42a7719551b14e6f5752b
[ "MIT" ]
17
2020-11-09T14:13:50.000Z
2021-11-03T11:54:54.000Z
alpaka/include/alpaka/core/Cuda.hpp
alpaka-group/mallocMC
ddba224b764885f816c42a7719551b14e6f5752b
[ "MIT" ]
null
null
null
/* Copyright 2019 Axel Huebl, Benjamin Worpitz, Matthias Werner, René Widera * * This file is part of alpaka. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */...
46.563895
117
0.487933
[ "3d" ]
4a86b61e691ee93d5e3ba5b45fb91bc76dedd9a1
2,484
cpp
C++
src/Elba/Core/Components/MAT362/GammaController.cpp
nicholasammann/elba
8d7a8ae7c8b55b87ee7dcd02aaea1b175e6dd8ce
[ "MIT" ]
1
2018-10-01T19:34:57.000Z
2018-10-01T19:34:57.000Z
src/Elba/Core/Components/MAT362/GammaController.cpp
nicholasammann/elba
8d7a8ae7c8b55b87ee7dcd02aaea1b175e6dd8ce
[ "MIT" ]
9
2018-09-09T16:07:22.000Z
2018-11-06T20:34:30.000Z
src/Elba/Core/Components/MAT362/GammaController.cpp
nicholasammann/elba
8d7a8ae7c8b55b87ee7dcd02aaea1b175e6dd8ce
[ "MIT" ]
null
null
null
#include "Elba/Core/Object.hpp" #include "Elba/Core/Components/MAT362/GammaController.hpp" #include "Elba/Core/CoreModule.hpp" #include "Elba/Engine.hpp" #include "Elba/Graphics/OpenGL/OpenGLMesh.hpp" #include "Elba/Graphics/OpenGL/OpenGLSubmesh.hpp" namespace Elba { GammaController::GammaController(Object* parent) ...
34.985915
169
0.698873
[ "mesh", "object", "vector", "model" ]
4a8c3b3c08e5cd6c8c2b206f21e0cd65428d3fd5
4,146
cpp
C++
src/copperfx/panels/NodeFlowViewPanel/NodeConnectionItem.cpp
all-in-one-of/CopperFX
9a50b69a57ebd6aa578d12456e34d792a7c51916
[ "Unlicense" ]
2
2019-06-25T23:36:55.000Z
2022-03-07T04:15:50.000Z
src/copperfx/panels/NodeFlowViewPanel/NodeConnectionItem.cpp
all-in-one-of/CopperFX
9a50b69a57ebd6aa578d12456e34d792a7c51916
[ "Unlicense" ]
null
null
null
src/copperfx/panels/NodeFlowViewPanel/NodeConnectionItem.cpp
all-in-one-of/CopperFX
9a50b69a57ebd6aa578d12456e34d792a7c51916
[ "Unlicense" ]
1
2019-08-22T08:23:37.000Z
2019-08-22T08:23:37.000Z
#include <iostream> #include <algorithm> // std::min #include <QBrush> #include <QPen> #include <QGraphicsItem> #include <QGraphicsScene> #include "NodeConnectionItem.h" #include "NodeSocketItem.h" #include "NodeFlowScene.h" namespace copper { namespace ui { NodeConnectionItem::NodeConnectionItem(NodeFlowScene *...
22.906077
145
0.710806
[ "shape" ]
4a8fccde5e47a002f0b048fceb7ea6c066e3652a
4,318
cpp
C++
java/cpp/com_automatak_dnp3_impl_CommandBuilderImpl.cpp
Kisensum/dnp3
0b525927562eb052e9406075811b283d80975bf8
[ "Apache-2.0" ]
1
2021-06-25T07:22:24.000Z
2021-06-25T07:22:24.000Z
deps/dnp3/java/cpp/com_automatak_dnp3_impl_CommandBuilderImpl.cpp
danilob2/pyopendnp3_mac
c6b8297f6817555ebff28293bef82e9bffddc1fd
[ "Apache-2.0" ]
null
null
null
deps/dnp3/java/cpp/com_automatak_dnp3_impl_CommandBuilderImpl.cpp
danilob2/pyopendnp3_mac
c6b8297f6817555ebff28293bef82e9bffddc1fd
[ "Apache-2.0" ]
1
2021-07-21T03:15:18.000Z
2021-07-21T03:15:18.000Z
/* * Copyright 2013-2016 Automatak, LLC * * Licensed to Automatak, LLC (www.automatak.com) under one or more * contributor license agreements. See the NOTICE file distributed with this * work for additional information regarding copyright ownership. Automatak, LLC * licenses this file to you under the Apache Lice...
34.269841
98
0.773043
[ "vector" ]
4a94cafde522deddf894b56a196fabb8fcf237c7
16,342
hpp
C++
tml/comm/comm_coll.hpp
danielfrascarelli/esys-particle
e56638000fd9c4af77e21c75aa35a4f8922fd9f0
[ "Apache-2.0" ]
null
null
null
tml/comm/comm_coll.hpp
danielfrascarelli/esys-particle
e56638000fd9c4af77e21c75aa35a4f8922fd9f0
[ "Apache-2.0" ]
null
null
null
tml/comm/comm_coll.hpp
danielfrascarelli/esys-particle
e56638000fd9c4af77e21c75aa35a4f8922fd9f0
[ "Apache-2.0" ]
null
null
null
///////////////////////////////////////////////////////////// // // // Copyright (c) 2003-2017 by The University of Queensland // // Centre for Geoscience Computing // // http://earth.uq.edu.au/centre-geoscience-computing // // ...
27.792517
107
0.662771
[ "object" ]