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
b17525b35b4dbd987a2a5c504df131ff75122399
6,256
cc
C++
bin/ui/screencap/main.cc
PowerOlive/garnet
16b5b38b765195699f41ccb6684cc58dd3512793
[ "BSD-3-Clause" ]
null
null
null
bin/ui/screencap/main.cc
PowerOlive/garnet
16b5b38b765195699f41ccb6684cc58dd3512793
[ "BSD-3-Clause" ]
null
null
null
bin/ui/screencap/main.cc
PowerOlive/garnet
16b5b38b765195699f41ccb6684cc58dd3512793
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2018 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 <cstdlib> #include <iostream> #include <memory> #include <fuchsia/ui/scenic/cpp/fidl.h> #include <lib/async-loop/cpp/loop.h> #include <trace-prov...
36.372093
79
0.588235
[ "vector" ]
b17578d38bc26453eecb5862a2eca30ba2abe945
13,551
cc
C++
chrome/browser/ui/views/web_apps/frame_toolbar/web_app_frame_toolbar_view.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
chrome/browser/ui/views/web_apps/frame_toolbar/web_app_frame_toolbar_view.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
chrome/browser/ui/views/web_apps/frame_toolbar/web_app_frame_toolbar_view.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "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 2017 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/ui/views/web_apps/frame_toolbar/web_app_frame_toolbar_view.h" #include <memory> #include "chrome/browser/ui/view_ids.h" #includ...
38.064607
97
0.74821
[ "vector" ]
b175ea32a4a74536c6b4dfcea34c81820505125a
6,375
cpp
C++
Source/Services/Presence/presence_writer.cpp
CameronGoodwin/xbox-live-api
ee0c3ee2413f2fed6a373df4b26035792e922fe2
[ "MIT" ]
3
2020-07-15T17:50:24.000Z
2021-11-17T11:15:11.000Z
Source/Services/Presence/presence_writer.cpp
CameronGoodwin/xbox-live-api
ee0c3ee2413f2fed6a373df4b26035792e922fe2
[ "MIT" ]
null
null
null
Source/Services/Presence/presence_writer.cpp
CameronGoodwin/xbox-live-api
ee0c3ee2413f2fed6a373df4b26035792e922fe2
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation // Licensed under the MIT license. See LICENSE file in the project root for full license information. #include "pch.h" #include "xsapi/presence.h" #include "xsapi/services.h" #include "user_context.h" #include "presence_internal.h" #ifdef __cplusplus_winrt #include "Utils_WinRT....
27.478448
161
0.615529
[ "vector" ]
b17ad694cbf11fcc3a108ba4d18e898905be496f
17,287
cc
C++
contrib/binutils-2.27/gold/incremental-dump.cc
lambdaxymox/DragonFlyBSD
6379cf2998a4a073c65b12d99e62988a375b4598
[ "BSD-3-Clause" ]
432
2015-01-03T20:05:29.000Z
2022-03-24T16:39:09.000Z
contrib/binutils-2.27/gold/incremental-dump.cc
lambdaxymox/DragonFlyBSD
6379cf2998a4a073c65b12d99e62988a375b4598
[ "BSD-3-Clause" ]
8
2015-12-03T15:45:38.000Z
2020-12-25T15:42:08.000Z
contrib/binutils-2.27/gold/incremental-dump.cc
lambdaxymox/DragonFlyBSD
6379cf2998a4a073c65b12d99e62988a375b4598
[ "BSD-3-Clause" ]
114
2015-01-07T16:23:00.000Z
2022-03-23T18:26:01.000Z
// incremental.cc -- incremental linking test/debug tool // Copyright (C) 2009-2016 Free Software Foundation, Inc. // Written by Rafael Avila de Espindola <rafael.espindola@gmail.com> // This file is part of gold. // This program is free software; you can redistribute it and/or modify // it under the terms of the GN...
33.308285
80
0.661364
[ "object", "3d" ]
b17fa1fe5427948a6ecb98ca7d3bd18dfac20a60
6,570
cpp
C++
devtools/tmcdbg/tmcdbgWDlg.cpp
flyingbluefish/tmc
27cf82a3b1b5090fc81dfc82a453ccbc932896ec
[ "BSD-2-Clause" ]
null
null
null
devtools/tmcdbg/tmcdbgWDlg.cpp
flyingbluefish/tmc
27cf82a3b1b5090fc81dfc82a453ccbc932896ec
[ "BSD-2-Clause" ]
null
null
null
devtools/tmcdbg/tmcdbgWDlg.cpp
flyingbluefish/tmc
27cf82a3b1b5090fc81dfc82a453ccbc932896ec
[ "BSD-2-Clause" ]
null
null
null
// tmcdbgWDlg.cpp : implementation file // /* Copyright (C) Shmuel Safonov 2009-2012 All rights reserved. Any usage of this file must be according to TMC License. */ #include "stdafx.h" #include <afxcview.h> #include "tmcdbgW.h" #include "SplitWnd.h" #include "tmcdbgWDlg.h" #ifdef HAS_PLOT_...
21.683168
79
0.654642
[ "model" ]
b184ce0d2abb4cc705a68787bd3cccb535db125b
12,364
cc
C++
sdk/cpp/src/core/entity_proto_converter.cc
lcrh/falken
7545431c7bfa34a9b45c2243cae40dbb58adefaa
[ "Apache-2.0" ]
213
2021-06-11T01:15:16.000Z
2022-02-25T16:18:57.000Z
sdk/cpp/src/core/entity_proto_converter.cc
lcrh/falken
7545431c7bfa34a9b45c2243cae40dbb58adefaa
[ "Apache-2.0" ]
32
2021-06-17T17:58:54.000Z
2022-02-02T05:58:10.000Z
sdk/cpp/src/core/entity_proto_converter.cc
lcrh/falken
7545431c7bfa34a9b45c2243cae40dbb58adefaa
[ "Apache-2.0" ]
28
2021-06-17T17:34:21.000Z
2022-03-24T14:05:20.000Z
// Copyright 2021 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 in ...
39.628205
80
0.660466
[ "vector" ]
b185db132a5ffec274346c4bd062174873d49440
10,455
cpp
C++
dosyaislemleri.cpp
rutku/uKiris
edabf5ac2fc4d86f4e814b18d0433e8486ee5c37
[ "BSD-2-Clause" ]
3
2017-11-01T08:26:06.000Z
2020-12-20T13:44:07.000Z
dosyaislemleri.cpp
rutku/uKiris
edabf5ac2fc4d86f4e814b18d0433e8486ee5c37
[ "BSD-2-Clause" ]
null
null
null
dosyaislemleri.cpp
rutku/uKiris
edabf5ac2fc4d86f4e814b18d0433e8486ee5c37
[ "BSD-2-Clause" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2017 Ramazan Utku ** Contact: ramazanutku@gmail.com ** ** This file is part of the examples of the Qt Toolkit. ** ** $UKIRIS_BEGIN_LICENSE:BSD$ ** BSD License Usage ** Alternatively, you may use this file under the terms o...
41.987952
102
0.659589
[ "render" ]
b1869339219c150beb7505e8eb971757ffc024db
1,468
cpp
C++
examples/gl-ball/paddle_renderer.cpp
EduRenesto/abcg
4f7ab2d02e20e2a9351af03c34360a7629c219d1
[ "MIT" ]
null
null
null
examples/gl-ball/paddle_renderer.cpp
EduRenesto/abcg
4f7ab2d02e20e2a9351af03c34360a7629c219d1
[ "MIT" ]
null
null
null
examples/gl-ball/paddle_renderer.cpp
EduRenesto/abcg
4f7ab2d02e20e2a9351af03c34360a7629c219d1
[ "MIT" ]
null
null
null
#include "paddle_renderer.hpp" #include <glm/gtx/matrix_transform_2d.hpp> glball::PaddleRenderer::PaddleRenderer(GLuint shader) { this->m_paddle_shader = shader; glGenBuffers(1, &this->m_paddle_vbo); glBindBuffer(GL_ARRAY_BUFFER, this->m_paddle_vbo); glBufferData(GL_ARRAY_BUFFER, sizeof(float) * 2 * 6, m_padd...
38.631579
103
0.775204
[ "render" ]
b18703de6d8c0f3956c6d35047b6be03012ca83e
95,721
cc
C++
dcmsr/tests/mkreport.cc
liyongjiandegithub/myDCMTK361
2968ddb51d7d2978d2cadea530a316e26784c0e3
[ "Apache-2.0" ]
null
null
null
dcmsr/tests/mkreport.cc
liyongjiandegithub/myDCMTK361
2968ddb51d7d2978d2cadea530a316e26784c0e3
[ "Apache-2.0" ]
null
null
null
dcmsr/tests/mkreport.cc
liyongjiandegithub/myDCMTK361
2968ddb51d7d2978d2cadea530a316e26784c0e3
[ "Apache-2.0" ]
null
null
null
/* * * Copyright (C) 2000-2016, OFFIS e.V. * All rights reserved. See COPYRIGHT file for details. * * This software and supporting documentation were developed by * * OFFIS e.V. * R&D Division Health * Escherweg 2 * D-26121 Oldenburg, Germany * * * Module: dcmsr * * Author: Joerg Riesme...
76.029388
1,102
0.752573
[ "solid" ]
b18d13d4186a3fb2b96cf69938d4f3e78d86fa6a
4,814
cc
C++
src/curl_util.cc
MobSlicer152/breadlauncher
e891c8d80d0bd6a34af8f94ff62877f5accb69c7
[ "Apache-2.0" ]
1
2021-09-15T22:46:12.000Z
2021-09-15T22:46:12.000Z
src/curl_util.cc
MobSlicer152/breadlauncher
e891c8d80d0bd6a34af8f94ff62877f5accb69c7
[ "Apache-2.0" ]
null
null
null
src/curl_util.cc
MobSlicer152/breadlauncher
e891c8d80d0bd6a34af8f94ff62877f5accb69c7
[ "Apache-2.0" ]
null
null
null
#include "curl_util.h" static size_t write_resp_to_mem(void *contents, size_t size, size_t nmemb, void *user) { std::vector<char> *out; size_t i; /* Resize the vector and copy the data in */ out = (std::vector<char> *)user; for (i = 0; i < size * nmemb; i++) { out->push_back(((char *)contents)[i]); ...
27.508571
106
0.64167
[ "vector" ]
b18d93906c994ebc6d786f20ec608f30a9dd008f
4,459
cpp
C++
bullet/Extras/CDTestFramework/BipartiteBoxPruning.cpp
microaaron/ammo.js
325d13a4bf40c1d490d81f3de40c5a80178390bc
[ "Zlib" ]
2,617
2015-01-01T11:22:33.000Z
2022-03-31T16:15:46.000Z
bullet/Extras/CDTestFramework/BipartiteBoxPruning.cpp
microaaron/ammo.js
325d13a4bf40c1d490d81f3de40c5a80178390bc
[ "Zlib" ]
286
2015-01-13T17:22:49.000Z
2022-03-03T15:10:50.000Z
bullet/Extras/CDTestFramework/BipartiteBoxPruning.cpp
microaaron/ammo.js
325d13a4bf40c1d490d81f3de40c5a80178390bc
[ "Zlib" ]
439
2015-01-12T21:50:57.000Z
2022-03-31T20:59:09.000Z
/* CDTestFramework http://codercorner.com Copyright (c) 2007-2008 Pierre Terdiman, pierre@codercorner.com 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 us...
26.700599
243
0.712267
[ "render" ]
b18e99e81dd1d9243cef47b420b60b5340bdf248
2,000
hpp
C++
Sources/Game/Textures.hpp
jpez1432/Project-Monster
a1f74934f4210cfd9ab4dac4875039b33c90d672
[ "Unlicense" ]
1
2021-12-20T09:18:25.000Z
2021-12-20T09:18:25.000Z
Sources/Game/Textures.hpp
jpez1432/Project-Monster
a1f74934f4210cfd9ab4dac4875039b33c90d672
[ "Unlicense" ]
null
null
null
Sources/Game/Textures.hpp
jpez1432/Project-Monster
a1f74934f4210cfd9ab4dac4875039b33c90d672
[ "Unlicense" ]
1
2021-12-15T14:44:34.000Z
2021-12-15T14:44:34.000Z
#ifndef TEXTURES_HPP #define TEXTURES_HPP #define GLEW_STATIC #include <GL/Glew.h> #include <GLFW/Glfw3.h> #include <Soil2/Soil2.h> #include "Pods.hpp" namespace Game { class CTexture { private: bool ActPalette; GLuint GLTexture; std::string Filename; public: CTex...
18.518519
96
0.6105
[ "vector" ]
b1972fa151759a38b45bf8d7175dee3725e1deea
5,099
cpp
C++
IGC/VectorCompiler/lib/GenXCodeGen/GenXRematerialization.cpp
isabella232/intel-graphics-compiler
1e6e958a2988022e5c67313cbafac855bff2cab0
[ "MIT" ]
null
null
null
IGC/VectorCompiler/lib/GenXCodeGen/GenXRematerialization.cpp
isabella232/intel-graphics-compiler
1e6e958a2988022e5c67313cbafac855bff2cab0
[ "MIT" ]
1
2021-02-24T08:39:15.000Z
2021-02-24T08:39:15.000Z
IGC/VectorCompiler/lib/GenXCodeGen/GenXRematerialization.cpp
isabella232/intel-graphics-compiler
1e6e958a2988022e5c67313cbafac855bff2cab0
[ "MIT" ]
null
null
null
/*===================== begin_copyright_notice ================================== Copyright (c) 2017 Intel Corporation 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, includi...
34.687075
108
0.686997
[ "vector" ]
b1a0935114c9b3de1c2e2c777e1487393cf72a2e
3,882
hpp
C++
Source/3rdParty/PlayRho/Dynamics/Contacts/ContactSolver.hpp
Karshilov/Dorothy-SSR
cce19ed2218d76f941977370f6b3894e2f87236a
[ "MIT" ]
1
2021-07-19T11:30:54.000Z
2021-07-19T11:30:54.000Z
Source/3rdParty/PlayRho/Dynamics/Contacts/ContactSolver.hpp
Jilliana8397/Dorothy-SSR
5ad647909c5e20cb7ebde9a1a054cdb944969dcb
[ "MIT" ]
null
null
null
Source/3rdParty/PlayRho/Dynamics/Contacts/ContactSolver.hpp
Jilliana8397/Dorothy-SSR
5ad647909c5e20cb7ebde9a1a054cdb944969dcb
[ "MIT" ]
null
null
null
/* * Original work Copyright (c) 2006-2009 Erin Catto http://www.box2d.org * Modified work Copyright (c) 2020 Louis Langholtz https://github.com/louis-langholtz/PlayRho * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * ...
36.622642
96
0.72102
[ "vector" ]
b1a332ac84fa0deeb33d26ac4d7eafca6f15b883
5,722
cpp
C++
library/src/cgfw/gl/vertex_array.cpp
IthronMinya/ProceduralFacadesInStrokeBasedRendering
6bdb2921c5489f44c7db8bce147f1d211608c58f
[ "MIT" ]
null
null
null
library/src/cgfw/gl/vertex_array.cpp
IthronMinya/ProceduralFacadesInStrokeBasedRendering
6bdb2921c5489f44c7db8bce147f1d211608c58f
[ "MIT" ]
null
null
null
library/src/cgfw/gl/vertex_array.cpp
IthronMinya/ProceduralFacadesInStrokeBasedRendering
6bdb2921c5489f44c7db8bce147f1d211608c58f
[ "MIT" ]
null
null
null
#include <cgfw/gl/vertex_array.h> #include <cgfw/debug.h> #include <cgfw/gl/context_utils.h> namespace cgfw { namespace gl { size_t vertext_attrib_type_size(GLenum type) { switch (type) { case GL_BYTE: return sizeof(GLbyte); case GL_UNSIGNED_BYTE: return sizeof(GLubyte); case GL_SHORT...
30.115789
78
0.592101
[ "vector" ]
b1a50e0a2d113d73901ce55d1c74ee6929cbe659
55,177
cpp
C++
src/serialgraphics.cpp
omniacreator/omniacreator
962b28dfeaffaae27a03dff9053aba4106a244d7
[ "MIT" ]
8
2015-03-04T18:46:07.000Z
2022-01-13T11:50:53.000Z
src/serialgraphics.cpp
omniacreator/omniacreator
962b28dfeaffaae27a03dff9053aba4106a244d7
[ "MIT" ]
null
null
null
src/serialgraphics.cpp
omniacreator/omniacreator
962b28dfeaffaae27a03dff9053aba4106a244d7
[ "MIT" ]
null
null
null
/***************************************************************************//** * @file * Serial Graphics * * @version @n 1.0 * @date @n 12/06/2013 * * @author @n Kwabena W. Agyeman * @copyright @n (c) 2013 Kwabena W. Agyeman * @n All rights reserved - Please see the end of the file for the terms of use * * @par Updat...
32.042393
80
0.480436
[ "geometry", "render", "object" ]
b1a7bbc51d4d772c91eeb2f394e99b144b3184ee
2,175
hpp
C++
ext/qstm/OF-QSTM/ptms/qstm/src/testconfig.hpp
roghnin/Montage
40dbd6bb5a506545f01931336bf37b24cdb72a64
[ "MIT" ]
null
null
null
ext/qstm/OF-QSTM/ptms/qstm/src/testconfig.hpp
roghnin/Montage
40dbd6bb5a506545f01931336bf37b24cdb72a64
[ "MIT" ]
1
2020-11-16T02:57:28.000Z
2020-11-16T02:57:28.000Z
ext/qstm/OF-QSTM/ptms/qstm/src/testconfig.hpp
roghnin/Montage
40dbd6bb5a506545f01931336bf37b24cdb72a64
[ "MIT" ]
null
null
null
#ifndef TESTCONFIG_HPP #define TESTCONFIG_HPP #include <iostream> #include <unistd.h> #include <vector> #include <map> #include <hwloc.h> #include <vector> #include "transaction.hpp" #include "concurrentprimitives.hpp" class RingSTMFactory; class QSTMFactory; class OLDQSTMFactory; class TransTestFactory; void errex...
24.166667
94
0.709425
[ "vector" ]
b1ab911eb46c4e43541ed5f45ff59081e19ba837
33,644
cpp
C++
source/lib3d/Vulkan/vk_descriptor_set.cpp
Lauvak/ray
906d3991ddd232a7f78f0e51f29aeead008a139a
[ "BSD-3-Clause" ]
113
2015-06-25T06:24:59.000Z
2021-09-26T02:46:02.000Z
source/lib3d/Vulkan/vk_descriptor_set.cpp
Lauvak/ray
906d3991ddd232a7f78f0e51f29aeead008a139a
[ "BSD-3-Clause" ]
2
2015-05-03T07:22:49.000Z
2017-12-11T09:17:20.000Z
source/lib3d/Vulkan/vk_descriptor_set.cpp
Lauvak/ray
906d3991ddd232a7f78f0e51f29aeead008a139a
[ "BSD-3-Clause" ]
17
2015-11-10T15:07:15.000Z
2021-01-19T15:28:16.000Z
// +---------------------------------------------------------------------- // | Project : ray. // | All rights reserved. // +---------------------------------------------------------------------- // | Copyright (c) 2013-2016. // +---------------------------------------------------------------------- // | * Redistributi...
27.023293
177
0.762454
[ "vector" ]
b1ac2ed6650e50495d987398b5bc6aa9ce67111e
4,804
cc
C++
shell/common/shell_io_manager_unittests.cc
charafau/engine
c4a1a72da5dde44cc6288f8c4c0020b03e1e9279
[ "BSD-3-Clause" ]
null
null
null
shell/common/shell_io_manager_unittests.cc
charafau/engine
c4a1a72da5dde44cc6288f8c4c0020b03e1e9279
[ "BSD-3-Clause" ]
2
2019-05-09T12:15:03.000Z
2020-03-09T09:24:39.000Z
shell/common/shell_io_manager_unittests.cc
charafau/engine
c4a1a72da5dde44cc6288f8c4c0020b03e1e9279
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2013 The Flutter 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 "flutter/shell/common/shell_io_manager.h" #include "flutter/common/task_runners.h" #include "flutter/fml/mapping.h" #include "flutter/lib/ui/pain...
35.065693
80
0.673189
[ "object" ]
b1af8415a89c9d19889e43e4ab6e90d807257d2f
2,843
cpp
C++
Convexhull.cpp
chauhan0707/Coding
760aea49bb468e191ec8f5aa3e3bda1e70018908
[ "MIT" ]
2
2020-09-05T18:20:17.000Z
2020-10-06T16:13:11.000Z
Convexhull.cpp
chauhan0707/Coding
760aea49bb468e191ec8f5aa3e3bda1e70018908
[ "MIT" ]
null
null
null
Convexhull.cpp
chauhan0707/Coding
760aea49bb468e191ec8f5aa3e3bda1e70018908
[ "MIT" ]
null
null
null
#include<iostream> #include<stack> #include<algorithm> #include<vector> using namespace std; struct point { //define points for 2d plane int x, y; }; point p0; //used to another two points point secondTop(stack<point> &stk) { point tempPoint = stk.top(); stk.pop(); point res = stk.top(); //get the se...
34.253012
98
0.560324
[ "vector" ]
b1b3cd42f33763c9f23223387ee4fd31581f0be6
12,071
cc
C++
device/vr/openvr/test/fake_openvr_impl_api.cc
avaer/overlay
6833fa7793fc1f0fffeea45efdfcfe13662389a3
[ "MIT" ]
null
null
null
device/vr/openvr/test/fake_openvr_impl_api.cc
avaer/overlay
6833fa7793fc1f0fffeea45efdfcfe13662389a3
[ "MIT" ]
null
null
null
device/vr/openvr/test/fake_openvr_impl_api.cc
avaer/overlay
6833fa7793fc1f0fffeea45efdfcfe13662389a3
[ "MIT" ]
2
2021-05-09T13:19:25.000Z
2021-07-03T22:36:08.000Z
// Copyright 2017 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. /* cd C:\Users\avaer\Documents\GitHub\metachromium\bin cmake -DCMAKE_GENERATOR_PLATFORM=x64 -DCMAKE_BUILD_TYPE=Release .. msbuild /p:Configuration=Release...
38.320635
355
0.698782
[ "vector" ]
b1b4eb97150d227b6d45df501619283bbadc6a1c
3,499
hpp
C++
control/json/actions/count_state_target.hpp
mikecgithub/phosphor-fan-presence
a66d154ed073fda465616a40670c98979c47ee91
[ "Apache-2.0" ]
8
2017-03-20T22:56:15.000Z
2020-10-28T06:45:05.000Z
control/json/actions/count_state_target.hpp
mikecgithub/phosphor-fan-presence
a66d154ed073fda465616a40670c98979c47ee91
[ "Apache-2.0" ]
25
2017-03-03T15:26:43.000Z
2022-02-11T15:00:39.000Z
control/json/actions/count_state_target.hpp
mikecgithub/phosphor-fan-presence
a66d154ed073fda465616a40670c98979c47ee91
[ "Apache-2.0" ]
9
2017-02-13T18:11:49.000Z
2022-01-19T12:12:46.000Z
/** * Copyright © 2021 IBM 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 agr...
29.403361
79
0.674478
[ "object", "vector" ]
b1b5bebb22660d4a60d478dfd7c5533307a55e98
19,478
cpp
C++
planning/behavior_velocity_planner/src/scene_module/intersection/util.cpp
yukke42/autoware.universe
a8e2308e0b9acbd66c7e6d13521ea1320e2fa1d5
[ "Apache-2.0" ]
58
2021-11-30T09:03:46.000Z
2022-03-31T15:25:17.000Z
planning/behavior_velocity_planner/src/scene_module/intersection/util.cpp
yukke42/autoware.universe
a8e2308e0b9acbd66c7e6d13521ea1320e2fa1d5
[ "Apache-2.0" ]
425
2021-11-30T02:24:44.000Z
2022-03-31T10:26:37.000Z
planning/behavior_velocity_planner/src/scene_module/intersection/util.cpp
yukke42/autoware.universe
a8e2308e0b9acbd66c7e6d13521ea1320e2fa1d5
[ "Apache-2.0" ]
69
2021-11-30T02:09:18.000Z
2022-03-31T15:38:29.000Z
// Copyright 2020 Tier IV, 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 i...
38.723658
100
0.720505
[ "geometry", "object", "vector" ]
b1b8fb899c68d13abe820225a641f8941122fcaf
11,183
cpp
C++
common/libex/src/ex_log.cpp
tinygg/teleport
5ac759c707d355767a209e29becaadf250b0e366
[ "Apache-2.0" ]
1
2021-05-28T11:22:15.000Z
2021-05-28T11:22:15.000Z
common/libex/src/ex_log.cpp
tinygg/teleport
5ac759c707d355767a209e29becaadf250b0e366
[ "Apache-2.0" ]
null
null
null
common/libex/src/ex_log.cpp
tinygg/teleport
5ac759c707d355767a209e29becaadf250b0e366
[ "Apache-2.0" ]
null
null
null
#include <ex/ex_log.h> #include <ex/ex_path.h> //#include <ex/ex_thread.h> //#include <vector> //#include <deque> //#include <algorithm> #ifdef EX_OS_WIN32 # include <io.h> # include <stdio.h> # include <direct.h> #else //# include <dirent.h> //# include <sys/time.h> #endif #define EX_LOG_CONTENT_MAX_LEN 2...
20.632841
173
0.667799
[ "vector" ]
04e24a83f557b9d2b3a69220355ee0bde77e098e
460
hpp
C++
src/Base/Math/Math.hpp
leafwaltz/MoeLP
ac94b17ec404721ece9940be91acf26b8a7f96a3
[ "MIT" ]
null
null
null
src/Base/Math/Math.hpp
leafwaltz/MoeLP
ac94b17ec404721ece9940be91acf26b8a7f96a3
[ "MIT" ]
null
null
null
src/Base/Math/Math.hpp
leafwaltz/MoeLP
ac94b17ec404721ece9940be91acf26b8a7f96a3
[ "MIT" ]
null
null
null
#ifndef MoeLP_Base_Math #define MoeLP_Base_Math #include "Matrix.hpp" #include "Vector.hpp" #include <cmath> #include "../Base.hpp" namespace MoeLP { inline double logSumExp(double x, double y) { const double a = max(x, y); return a + std::log(std::exp(x - a) + std::exp(y - a)); } template<typename ...Othe...
16.428571
66
0.671739
[ "vector" ]
04e3d31bcaaad3b416d538170b23bed21d9069d7
21,857
cc
C++
comm/tcp_lstnr.cc
codesloop/codesloop
d66e51c2d898a72624306f611a90364c76deed06
[ "BSD-2-Clause" ]
3
2016-05-09T15:29:29.000Z
2017-11-22T06:16:18.000Z
comm/tcp_lstnr.cc
codesloop/codesloop
d66e51c2d898a72624306f611a90364c76deed06
[ "BSD-2-Clause" ]
null
null
null
comm/tcp_lstnr.cc
codesloop/codesloop
d66e51c2d898a72624306f611a90364c76deed06
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (c) 2008,2009,2010, CodeSLoop Team Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaim...
30.698034
93
0.505559
[ "object" ]
04e680a9d17277d07ddbd63a47d841a8ef7792f8
14,624
cpp
C++
Samples/4_CUDA_Libraries/cuSolverSp_LowlevelQR/mmio_wrapper.cpp
Study-Repos-Forks/cuda-samples
b312abaa07ffdc1ba6e3d44a9bc1a8e89149c20b
[ "BSD-3-Clause" ]
1
2022-02-10T11:14:31.000Z
2022-02-10T11:14:31.000Z
Samples/4_CUDA_Libraries/cuSolverSp_LowlevelQR/mmio_wrapper.cpp
Study-Repos-Forks/cuda-samples
b312abaa07ffdc1ba6e3d44a9bc1a8e89149c20b
[ "BSD-3-Clause" ]
1
2022-02-28T10:28:48.000Z
2022-02-28T10:28:48.000Z
Samples/4_CUDA_Libraries/cuSolverSp_LowlevelQR/mmio_wrapper.cpp
Study-Repos-Forks/cuda-samples
b312abaa07ffdc1ba6e3d44a9bc1a8e89149c20b
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2022, 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 condi...
29.131474
80
0.602229
[ "transform" ]
04e8e3b66938f1db81c87205ed4afca0b584e66c
18,199
cpp
C++
samples/deeplearning/gxm/src/LMDBData.cpp
mjanderson09/libxsmm
d8359effcbe456e1e7625c0b9b0cf5533ee0e370
[ "BSD-3-Clause" ]
1
2018-06-29T03:07:54.000Z
2018-06-29T03:07:54.000Z
samples/deeplearning/gxm/src/LMDBData.cpp
qq332982511/libxsmm
e376c569252c042193ad2215857c35cfb598ec45
[ "BSD-3-Clause" ]
4
2018-03-19T18:18:22.000Z
2018-07-05T05:09:09.000Z
samples/deeplearning/gxm/src/LMDBData.cpp
qq332982511/libxsmm
e376c569252c042193ad2215857c35cfb598ec45
[ "BSD-3-Clause" ]
5
2017-06-28T21:48:18.000Z
2018-04-10T04:07:38.000Z
/****************************************************************************** ** Copyright (c) 2017-2018, Intel Corporation ** ** All rights reserved. ** ** ** ...
30.331667
154
0.594648
[ "shape", "vector" ]
04e9356cb522abd40b869917756c95f7552509ef
20,686
cpp
C++
Jit/inline_cache.cpp
penguin-wwy/cinder
2699849639420e1ed77269a671c0d480efe0981d
[ "CNRI-Python-GPL-Compatible" ]
null
null
null
Jit/inline_cache.cpp
penguin-wwy/cinder
2699849639420e1ed77269a671c0d480efe0981d
[ "CNRI-Python-GPL-Compatible" ]
null
null
null
Jit/inline_cache.cpp
penguin-wwy/cinder
2699849639420e1ed77269a671c0d480efe0981d
[ "CNRI-Python-GPL-Compatible" ]
null
null
null
// Copyright (c) Facebook, Inc. and its affiliates. (http://www.facebook.com) #include "Jit/inline_cache.h" #include "Objects/dict-common.h" #include "Python.h" #include "switchboard.h" #include "Jit/codegen/gen_asm.h" #include "Jit/dict_watch.h" #include <algorithm> // clang-format off #include "internal/pycore_py...
27.803763
80
0.669245
[ "object", "vector" ]
04ed6124d668789146ce60a52bf6b6154cd0bd4a
19,433
cpp
C++
libraries/chain/proposal_evaluator.cpp
nathanhourt/peerplays
a5a78dacf143e6b685ff2aab4834f33fa5d0e1df
[ "MIT" ]
null
null
null
libraries/chain/proposal_evaluator.cpp
nathanhourt/peerplays
a5a78dacf143e6b685ff2aab4834f33fa5d0e1df
[ "MIT" ]
1
2021-11-14T15:47:29.000Z
2021-11-14T16:17:53.000Z
libraries/chain/proposal_evaluator.cpp
nathanhourt/peerplays
a5a78dacf143e6b685ff2aab4834f33fa5d0e1df
[ "MIT" ]
2
2021-11-12T00:38:23.000Z
2021-12-04T12:14:16.000Z
/* * Copyright (c) 2015 Cryptonomex, Inc., and contributors. * * The MIT License * * 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...
42.898455
145
0.719035
[ "vector" ]
04f7346d928ce07cba1ee0de69e188d130e424b6
581
cpp
C++
BinarySearch/BOJ/02417.cpp
chiseungii/Algorithms
f0e7dd1c9fc29e77c97b644e602e94047b9cf887
[ "MIT" ]
null
null
null
BinarySearch/BOJ/02417.cpp
chiseungii/Algorithms
f0e7dd1c9fc29e77c97b644e602e94047b9cf887
[ "MIT" ]
null
null
null
BinarySearch/BOJ/02417.cpp
chiseungii/Algorithms
f0e7dd1c9fc29e77c97b644e602e94047b9cf887
[ "MIT" ]
null
null
null
#define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <vector> #include <algorithm> #include <map> #include <math.h> using namespace std; int main() { unsigned long long n; cin >> n; if (n == 0) cout << 0 << endl; else if (n == 1) cout << 1 << endl; else { // binary search unsigned long long low = 1, ...
17.606061
76
0.583477
[ "vector" ]
ca022661adcde36f23d6b4903e5dbe6337ea31f2
969
cpp
C++
aws-cpp-sdk-cloudcontrol/source/model/CancelResourceRequestRequest.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-cloudcontrol/source/model/CancelResourceRequestRequest.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-cloudcontrol/source/model/CancelResourceRequestRequest.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/cloudcontrol/model/CancelResourceRequestRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::CloudControlApi::Model; using namespace Aws::...
22.022727
102
0.77193
[ "model" ]
ca03b363e32503b6b49ca002fbad81303ae892c0
5,226
cpp
C++
mcrouter/tools/mcpiper/MessagePrinter.cpp
uubk/mcrouter
c2c8d045e773f23847112c06962748e45afdf6f0
[ "MIT" ]
null
null
null
mcrouter/tools/mcpiper/MessagePrinter.cpp
uubk/mcrouter
c2c8d045e773f23847112c06962748e45afdf6f0
[ "MIT" ]
null
null
null
mcrouter/tools/mcpiper/MessagePrinter.cpp
uubk/mcrouter
c2c8d045e773f23847112c06962748e45afdf6f0
[ "MIT" ]
null
null
null
/* * Copyright (c) 2016-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the LICENSE * file in the root directory of this source tree. * */ #include "MessagePrinter.h" #include <folly/lang/Bits.h> namespace facebook { namespace memcache { namespace { bool matchIPAddre...
26.13
79
0.638347
[ "vector" ]
ca0586f8c04cdf2e09935f1f1a2879e635dc588f
1,107
hpp
C++
Include/GoldenSun/Engine.hpp
gongminmin/GoldenSun
40846589f6a4b35279d2660a064c12c250a951a2
[ "MIT" ]
20
2021-02-23T06:07:44.000Z
2022-02-27T13:32:21.000Z
Include/GoldenSun/Engine.hpp
gongminmin/GoldenSun
40846589f6a4b35279d2660a064c12c250a951a2
[ "MIT" ]
18
2021-02-27T23:24:33.000Z
2021-04-06T05:12:03.000Z
Include/GoldenSun/Engine.hpp
gongminmin/GoldenSun
40846589f6a4b35279d2660a064c12c250a951a2
[ "MIT" ]
null
null
null
#pragma once #include <DirectXMath.h> #include <dxgiformat.h> struct ID3D12Device5; struct ID3D12CommandQueue; struct ID3D12GraphicsCommandList4; struct ID3D12Resource; namespace GoldenSun { class Mesh; class PointLight; class GOLDEN_SUN_API Engine final { DISALLOW_COPY_AND_ASSIGN(Engine) ...
25.744186
114
0.692864
[ "mesh", "render" ]
ca0b428fcec8c6d186e25aba9737a0c695a0a0b3
5,656
cc
C++
base/proxydetect_unittest.cc
mostynb/webrtc
24a16656da7249c0d836247bc77dbc475f71f0af
[ "DOC", "BSD-3-Clause" ]
139
2017-06-10T17:23:54.000Z
2022-03-23T21:08:17.000Z
base/proxydetect_unittest.cc
mostynb/webrtc
24a16656da7249c0d836247bc77dbc475f71f0af
[ "DOC", "BSD-3-Clause" ]
72
2017-09-30T17:58:56.000Z
2021-08-16T08:13:01.000Z
base/proxydetect_unittest.cc
mostynb/webrtc
24a16656da7249c0d836247bc77dbc475f71f0af
[ "DOC", "BSD-3-Clause" ]
67
2017-11-28T17:59:19.000Z
2022-02-22T04:09:38.000Z
/* * Copyright 2010 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 contributing ...
34.278788
77
0.729491
[ "vector" ]
ca11ee53c8fd9565640a17534b6f61687c30efa3
4,499
hxx
C++
opencascade/AppDef_LinearCriteria.hxx
valgur/OCP
2f7d9da73a08e4ffe80883614aedacb27351134f
[ "Apache-2.0" ]
117
2020-03-07T12:07:05.000Z
2022-03-27T07:35:22.000Z
opencascade/AppDef_LinearCriteria.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
66
2019-12-20T16:07:36.000Z
2022-03-15T21:56:10.000Z
opencascade/AppDef_LinearCriteria.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
76
2020-03-16T01:47:46.000Z
2022-03-21T16:37:07.000Z
// Created on: 1997-09-11 // Created by: Philippe MANGIN // Copyright (c) 1997-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GN...
35.706349
217
0.81796
[ "vector" ]
ca16a953e8a65335d6729ee415cc0a3e49461777
5,619
hpp
C++
data/text/ustring.hpp
usadson/WebEngine
73f436535a70c6c9d7f3a5c565650b6152effd8d
[ "BSD-2-Clause" ]
3
2020-03-28T01:36:44.000Z
2020-06-19T23:55:08.000Z
data/text/ustring.hpp
usadson/WebEngine
73f436535a70c6c9d7f3a5c565650b6152effd8d
[ "BSD-2-Clause" ]
null
null
null
data/text/ustring.hpp
usadson/WebEngine
73f436535a70c6c9d7f3a5c565650b6152effd8d
[ "BSD-2-Clause" ]
null
null
null
#pragma once /** * Copyright (C) 2020 Tristan. All Rights Reserved. * This file is licensed under the BSD 2-Clause license. * See the COPYING file for licensing information. */ #include <initializer_list> #include <ostream> #include <utility> #include <vector> #include <cstring> #include "unicode.hpp" namespac...
24.862832
105
0.681438
[ "vector" ]
ca1d0b652587217dbe600fec59f5e1837eb3a6b3
1,821
cpp
C++
src/thundersvm/model/nusvr.cpp
masterdoors/thundersvm
71634dacbb9db8cb5f02f7e8a7b77bf4d16e848c
[ "Apache-2.0" ]
null
null
null
src/thundersvm/model/nusvr.cpp
masterdoors/thundersvm
71634dacbb9db8cb5f02f7e8a7b77bf4d16e848c
[ "Apache-2.0" ]
null
null
null
src/thundersvm/model/nusvr.cpp
masterdoors/thundersvm
71634dacbb9db8cb5f02f7e8a7b77bf4d16e848c
[ "Apache-2.0" ]
null
null
null
// // Created by jiashuai on 17-10-30. // #include <thundersvm/model/nusvr.h> #include <thundersvm/solver/nusmosolver.h> void NuSVR::train(const DataSet &dataset, SvmParam param) { model_setup(dataset, param); int n_instances = dataset.n_instances(); //duplicate instances DataSet::node2d instances_2(d...
35.019231
125
0.676002
[ "model" ]
ca1e7c905d799662ee01551c7dc2fc0023406fba
4,582
cpp
C++
Utilities/Open3DMotion/src/Open3DMotion/OpenORM/Mappings/RichBinary/RichBinaryConvertFloat.cpp
mitkof6/BTKCore
d4c03aa9e354be16265d0efe0815c09b35abc642
[ "Barr", "Unlicense" ]
61
2015-04-21T20:40:37.000Z
2022-03-25T03:35:03.000Z
Utilities/Open3DMotion/src/Open3DMotion/OpenORM/Mappings/RichBinary/RichBinaryConvertFloat.cpp
mitkof6/BTKCore
d4c03aa9e354be16265d0efe0815c09b35abc642
[ "Barr", "Unlicense" ]
40
2018-03-11T15:14:50.000Z
2022-03-23T18:13:48.000Z
Utilities/Open3DMotion/src/Open3DMotion/OpenORM/Mappings/RichBinary/RichBinaryConvertFloat.cpp
mitkof6/BTKCore
d4c03aa9e354be16265d0efe0815c09b35abc642
[ "Barr", "Unlicense" ]
56
2015-05-11T11:04:35.000Z
2022-01-15T20:37:04.000Z
/*-- Open3DMotion Copyright (c) 2004-2012. All rights reserved. See LICENSE.txt for more information. --*/ #include "Open3DMotion/OpenORM/Mappings/RichBinary/RichBinary.h" #include "Open3DMotion/OpenORM/Mappings/RichBinary/BinMemFactory.h" #include "RichBinaryConvertFloat.h" namespace Open3DMotion...
37.867769
172
0.713226
[ "vector" ]
ca1ef6b86855895e3dd04c6e611fcb98cf7a2863
5,183
cpp
C++
src/widgets/audioportswidget.cpp
dehnhardt/mioconfig
6d1ac1d85379eaf168d2c2fce81b09f020500605
[ "MIT" ]
16
2018-07-16T14:13:10.000Z
2021-02-07T06:43:57.000Z
src/widgets/audioportswidget.cpp
dehnhardt/iconnconfig
6d1ac1d85379eaf168d2c2fce81b09f020500605
[ "MIT" ]
16
2017-09-06T19:38:15.000Z
2021-01-04T17:54:02.000Z
src/widgets/audioportswidget.cpp
dehnhardt/mioconfig
6d1ac1d85379eaf168d2c2fce81b09f020500605
[ "MIT" ]
10
2018-03-03T14:50:03.000Z
2020-09-30T18:08:55.000Z
#include "audioportswidget.h" #include "../sysex/getaudiodeviceparm.h" #include "../sysex/getaudioportparm.h" #include "../sysex/retcommandlist.h" #include "../sysex/retsetaudiodeviceparm.h" #include "../sysex/retsetaudioglobalparm.h" #include "audiocontrolparmwidget.h" #include "audioportparmwidget.h" #include "portdi...
36.5
76
0.762686
[ "vector" ]
ca20a75b788eb8b0072b619039291a8e173b8af6
3,758
cpp
C++
utils/examineBinary/examineBinary.cpp
NCIEVS/OPS-Native-Utilities
2ca0803ba1aa2ace8047673afe71d4e1f22d826d
[ "BSD-3-Clause" ]
null
null
null
utils/examineBinary/examineBinary.cpp
NCIEVS/OPS-Native-Utilities
2ca0803ba1aa2ace8047673afe71d4e1f22d826d
[ "BSD-3-Clause" ]
null
null
null
utils/examineBinary/examineBinary.cpp
NCIEVS/OPS-Native-Utilities
2ca0803ba1aa2ace8047673afe71d4e1f22d826d
[ "BSD-3-Clause" ]
null
null
null
// examines non-ascii characters and reports them with different options // #include <fstream> #include <iostream> #include <iomanip> #include <vector> #include <string> #include <cstdlib> // exit() #include "CommandLine.h" using namespace std; void showUsage(string prog) { cout << endl << "Usag...
28.044776
117
0.56413
[ "vector" ]
ca2233a7fda8a09c4761ccddb4639849717b2c5f
9,436
cc
C++
ppapi/native_client/src/trusted/plugin/scriptable_plugin.cc
Scopetta197/chromium
b7bf8e39baadfd9089de2ebdc0c5d982de4a9820
[ "BSD-3-Clause" ]
212
2015-01-31T11:55:58.000Z
2022-02-22T06:35:11.000Z
ppapi/native_client/src/trusted/plugin/scriptable_plugin.cc
1065672644894730302/Chromium
239dd49e906be4909e293d8991e998c9816eaa35
[ "BSD-3-Clause" ]
5
2015-03-27T14:29:23.000Z
2019-09-25T13:23:12.000Z
ppapi/native_client/src/trusted/plugin/scriptable_plugin.cc
1065672644894730302/Chromium
239dd49e906be4909e293d8991e998c9816eaa35
[ "BSD-3-Clause" ]
221
2015-01-07T06:21:24.000Z
2022-02-11T02:51:12.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. // Scriptable plugin implementation. #include "native_client/src/trusted/plugin/scriptable_plugin.h" #include <string.h> #include <sstream> #includ...
35.340824
80
0.656316
[ "object", "vector" ]
ca294fe29d50a02732dc1d97f6f9c15ece2948ed
2,385
cpp
C++
clients/gtest/stedc_gtest.cpp
rkamd/rocSOLVER
de338c6cfc78e9e00be141d11529b8faeaba911f
[ "BSD-2-Clause" ]
null
null
null
clients/gtest/stedc_gtest.cpp
rkamd/rocSOLVER
de338c6cfc78e9e00be141d11529b8faeaba911f
[ "BSD-2-Clause" ]
null
null
null
clients/gtest/stedc_gtest.cpp
rkamd/rocSOLVER
de338c6cfc78e9e00be141d11529b8faeaba911f
[ "BSD-2-Clause" ]
null
null
null
/* ************************************************************************ * Copyright (c) 2020-2022 Advanced Micro Devices, Inc. * * ************************************************************************ */ #include "testing_stedc.hpp" using ::testing::Combine; using ::testing::TestWithParam; using ::testing::...
22.5
89
0.586164
[ "vector" ]
ca2a869bef4eabcf66514527a38189e41299ed6a
5,287
cpp
C++
source/MaterialXRuntime/RtTypeDef.cpp
edgarv/MaterialX
b11267b2920c6645d44be6ff09de79a7eb853de2
[ "BSD-3-Clause" ]
null
null
null
source/MaterialXRuntime/RtTypeDef.cpp
edgarv/MaterialX
b11267b2920c6645d44be6ff09de79a7eb853de2
[ "BSD-3-Clause" ]
null
null
null
source/MaterialXRuntime/RtTypeDef.cpp
edgarv/MaterialX
b11267b2920c6645d44be6ff09de79a7eb853de2
[ "BSD-3-Clause" ]
null
null
null
// // TM & (c) 2017 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd. // All rights reserved. See LICENSE.txt for license. // #include <MaterialXRuntime/RtTypeDef.h> #include <MaterialXRuntime/Private/PvtTypeDef.h> namespace MaterialX { const RtToken RtType::BOOLEAN("boolean"); const RtToken RtType::INTEGER(...
31.470238
133
0.752601
[ "vector" ]
ca2aa83b9c10c4d1557c99feb9f3e7f8ea9721ef
9,039
cpp
C++
tests/extension/extension.cpp
jpmaloney/basic
13f4bb3643c2ff83577bf1bd3672e84b12bd613d
[ "Apache-2.0" ]
null
null
null
tests/extension/extension.cpp
jpmaloney/basic
13f4bb3643c2ff83577bf1bd3672e84b12bd613d
[ "Apache-2.0" ]
null
null
null
tests/extension/extension.cpp
jpmaloney/basic
13f4bb3643c2ff83577bf1bd3672e84b12bd613d
[ "Apache-2.0" ]
null
null
null
// Copyright 2012 John P. Maloney // // Distributed under the Apache License, Version 2.0. // (See accompanying file LICENSE_2_0 or copy at // http://www.apache.org/licenses/LICENSE-2.0) #include <array> #include <cstdlib> #include <iostream> #include <memory> #include <string> #include <vector> #include "extension.hp...
18.637113
87
0.554597
[ "object", "vector" ]
ca2e8e06e67760130416a855866f953864f3112a
848
cpp
C++
watchman/Shutdown.cpp
chadaustin/watchman
b01a841f3eca5ebaf5ce4a62e1937c95851f450e
[ "MIT" ]
9,308
2015-01-03T13:33:47.000Z
2022-03-31T06:45:26.000Z
watchman/Shutdown.cpp
00mjk/watchman
eb22a60e74f04065e24eb51ba1dd1342d66f2ad6
[ "MIT" ]
878
2015-01-07T15:28:33.000Z
2022-03-30T09:30:10.000Z
watchman/Shutdown.cpp
00mjk/watchman
eb22a60e74f04065e24eb51ba1dd1342d66f2ad6
[ "MIT" ]
932
2015-01-05T08:25:00.000Z
2022-03-25T11:11:42.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. */ #include "watchman/Shutdown.h" #include <atomic> #include <vector> #include "watchman/watchman_stream.h" namespace { static std::...
24.228571
75
0.744104
[ "vector" ]
ca32b9c88a59dc0038e6aadbf44a518fd8744af4
400
cpp
C++
455_Assign_Cookies.cpp
onlyless/leetcode
6ef9ab502dec94e94cc23e13f69fffce1f508c24
[ "Apache-2.0" ]
null
null
null
455_Assign_Cookies.cpp
onlyless/leetcode
6ef9ab502dec94e94cc23e13f69fffce1f508c24
[ "Apache-2.0" ]
null
null
null
455_Assign_Cookies.cpp
onlyless/leetcode
6ef9ab502dec94e94cc23e13f69fffce1f508c24
[ "Apache-2.0" ]
null
null
null
class Solution { public: int findContentChildren(vector<int>& g, vector<int>& s) { sort(g.begin(),g.end()); sort(s.begin(),s.end()); int ans=0; int index=0; for(int i=0;i<s.size();i++){ if(g[index]<=s[i]){ ans++; index++; ...
23.529412
61
0.41
[ "vector" ]
ca35ea129d31753c871b92fdaad19b7194e93f07
8,800
cpp
C++
moveitCpp/rviz/environment.cpp
awied1404/COPING
0fe36c1835928db15fb36f752ca83f8d2c2e33d4
[ "MIT" ]
null
null
null
moveitCpp/rviz/environment.cpp
awied1404/COPING
0fe36c1835928db15fb36f752ca83f8d2c2e33d4
[ "MIT" ]
null
null
null
moveitCpp/rviz/environment.cpp
awied1404/COPING
0fe36c1835928db15fb36f752ca83f8d2c2e33d4
[ "MIT" ]
null
null
null
// // Created by andreas on 06.11.20. // #include "environment.h" #include <tf2_eigen/tf2_eigen.h> #ifdef LOG_RESULTS extern LogFile logFile; #endif /*LOG_RESULTS*/ moveit_msgs::CollisionObject Environment::objectToGrip; double Environment::positionPrinterX; double Environment::positionPrinterY; std::string Environmen...
32.958801
116
0.692955
[ "mesh", "object", "shape", "vector" ]
ca381e53aaf70d607b730107af33459dc4ba27fb
10,179
cpp
C++
library/cge/src/filters/cgeMultipleEffects.cpp
Rahulclaritaz/rahul
c2a11d584895362ec2b6ca8cff0b94acdf4408c4
[ "MIT" ]
null
null
null
library/cge/src/filters/cgeMultipleEffects.cpp
Rahulclaritaz/rahul
c2a11d584895362ec2b6ca8cff0b94acdf4408c4
[ "MIT" ]
116
2017-05-04T14:10:36.000Z
2017-10-13T12:00:21.000Z
library/cge/src/filters/cgeMultipleEffects.cpp
Rahulclaritaz/rahul
c2a11d584895362ec2b6ca8cff0b94acdf4408c4
[ "MIT" ]
1
2019-10-17T04:10:34.000Z
2019-10-17T04:10:34.000Z
/* * cgeMultipleEffects.cpp * * Created on: 2013-12-13 * Author: Wang Yang * Mail: admin@wysaid.org */ #include "cgeMultipleEffects.h" #include "cgeDataParsingEngine.h" #include <cmath> #include <cctype> static CGEConstString s_fshHTFilterMix = CGE_SHADER_STRING_PRECISION_M ( varying vec2 textureCo...
25.258065
227
0.649573
[ "vector" ]
ca3a0948de5b85b9f170462a47849c3656564da6
11,879
cpp
C++
libvast/test/table_slice.cpp
laozhudetui/vast
3b41c8ef62df19f7e950d27e87ca9267c261706f
[ "BSD-3-Clause" ]
null
null
null
libvast/test/table_slice.cpp
laozhudetui/vast
3b41c8ef62df19f7e950d27e87ca9267c261706f
[ "BSD-3-Clause" ]
8
2021-10-15T09:12:56.000Z
2022-03-04T09:16:06.000Z
libvast/test/table_slice.cpp
laozhudetui/vast
3b41c8ef62df19f7e950d27e87ca9267c261706f
[ "BSD-3-Clause" ]
null
null
null
// _ _____ __________ // | | / / _ | / __/_ __/ Visibility // | |/ / __ |_\ \ / / Across // |___/_/ |_/___/ /_/ Space and Time // // SPDX-FileCopyrightText: (c) 2018 The VAST Contributors // SPDX-License-Identifier: BSD-3-Clause #define SUITE table_slice #include "vast/table_slice.hp...
31.847185
79
0.649381
[ "vector" ]
ca3d047f906161cb96ee8028b087b12c408bd257
3,169
cpp
C++
samples/BLE/BLE_Broadcast_and_Scan/BLE_Broadcast_and_Scan_Sample.cpp
letssteam/codal-stm32-B-L475E-IOT01A
dcaf35777195e8ca194398fd553f91f8c56099b0
[ "MIT" ]
null
null
null
samples/BLE/BLE_Broadcast_and_Scan/BLE_Broadcast_and_Scan_Sample.cpp
letssteam/codal-stm32-B-L475E-IOT01A
dcaf35777195e8ca194398fd553f91f8c56099b0
[ "MIT" ]
null
null
null
samples/BLE/BLE_Broadcast_and_Scan/BLE_Broadcast_and_Scan_Sample.cpp
letssteam/codal-stm32-B-L475E-IOT01A
dcaf35777195e8ca194398fd553f91f8c56099b0
[ "MIT" ]
null
null
null
#include "BLE_Broadcast_and_Scan_Sample.h" #include <string> #include "STM32AdvertisingBLE.h" #include "STM32duinoBLE.h" codal::STM32DISCO_L475VG_IOT_IO io; codal::STM32SPI spi3(io.miso3, io.mosi3, io.sclk3); HCISpiTransportClass hci(&spi3, SPBTLE_RF, pinNametoDigitalPin(PD_13), pinNametoDigitalPin(PE_6), ...
26.190083
98
0.535816
[ "vector" ]
ca4263365f70cb26e9f123e6c71b943228f4ceb5
1,880
cpp
C++
boj/_boj14500.cpp
Oxymoron957/Algorithm_Stduy_Cpp
1c7219bd42ac337426120bf29359ca0bae104590
[ "MIT" ]
null
null
null
boj/_boj14500.cpp
Oxymoron957/Algorithm_Stduy_Cpp
1c7219bd42ac337426120bf29359ca0bae104590
[ "MIT" ]
null
null
null
boj/_boj14500.cpp
Oxymoron957/Algorithm_Stduy_Cpp
1c7219bd42ac337426120bf29359ca0bae104590
[ "MIT" ]
null
null
null
/* 테트로미노 https://www.acmicpc.net/problem/14500 tip : ㅗㅜㅏㅓ의 경우 dfs로 해결이 안되는 것을 유의! */ #include <iostream> #include <vector> #include <algorithm> #include <cstring> using namespace std; #define MAX 501 int N, M; int board[MAX][MAX]; bool visited[MAX][MAX]; int max_value; int dx[4] = {1, -1, 0, 0}; int dy[4] = {0, 0, 1...
21.363636
76
0.518617
[ "vector" ]
ca42c8ec5302db2f2650cdbd104fb644776e0b25
2,753
cpp
C++
test/sql/decimal_functions_sql_test.cpp
phisiart/peloton
c2becb9d6f2e2c8f48696a371b0d7c0ff79d56fc
[ "Apache-2.0" ]
1
2017-04-17T15:19:36.000Z
2017-04-17T15:19:36.000Z
test/sql/decimal_functions_sql_test.cpp
phisiart/peloton
c2becb9d6f2e2c8f48696a371b0d7c0ff79d56fc
[ "Apache-2.0" ]
5
2017-04-23T17:16:14.000Z
2017-04-25T03:14:16.000Z
test/sql/decimal_functions_sql_test.cpp
phisiart/peloton-p3
c2becb9d6f2e2c8f48696a371b0d7c0ff79d56fc
[ "Apache-2.0" ]
null
null
null
//===----------------------------------------------------------------------===// // // Peloton // // decimal_functions_sql_test.cpp // // Identification: test/sql/decimal_functions_sql_test.cpp // // Copyright (c) 2015-2017, Carnegie Mellon University Database Group // //===---------------------...
33.573171
80
0.618235
[ "vector" ]
ca43bcbbd3330b88ac042fd3f5db4d11861769e6
6,470
hpp
C++
src/Utility.hpp
charlie-lee/slam_demo
0bb6cc6d20c6a728eea502a61456f83881144e59
[ "MIT" ]
null
null
null
src/Utility.hpp
charlie-lee/slam_demo
0bb6cc6d20c6a728eea502a61456f83881144e59
[ "MIT" ]
null
null
null
src/Utility.hpp
charlie-lee/slam_demo
0bb6cc6d20c6a728eea502a61456f83881144e59
[ "MIT" ]
null
null
null
/** * @file Utility.hpp * @brief Header of utility class in SLAM system for general functions. * @author Charlie Li * @date 2019.10.25 */ #ifndef UTILITY_HPP #define UTILITY_HPP #include <memory> #include <vector> #include <opencv2/core.hpp> #include <opencv2/features2d.hpp> namespace SLAM_demo { // forw...
41.741935
80
0.574961
[ "vector", "3d" ]
ca444f0b05726ebdc99d799e85ab2ae5b4aba92b
19,534
cpp
C++
NaoTHSoccer/Source/Motion/Engine/InverseKinematicsMotion/Motions/Walk2018/FootStepPlanner2018.cpp
BerlinUnited/NaoTH
02848ac10c16a5349f1735da8122a64d601a5c75
[ "ECL-2.0", "Apache-2.0" ]
15
2015-01-12T10:46:29.000Z
2022-03-28T05:13:14.000Z
NaoTHSoccer/Source/Motion/Engine/InverseKinematicsMotion/Motions/Walk2018/FootStepPlanner2018.cpp
BerlinUnited/NaoTH
02848ac10c16a5349f1735da8122a64d601a5c75
[ "ECL-2.0", "Apache-2.0" ]
2
2019-01-20T21:07:50.000Z
2020-01-22T14:00:28.000Z
NaoTHSoccer/Source/Motion/Engine/InverseKinematicsMotion/Motions/Walk2018/FootStepPlanner2018.cpp
BerlinUnited/NaoTH
02848ac10c16a5349f1735da8122a64d601a5c75
[ "ECL-2.0", "Apache-2.0" ]
5
2018-02-07T18:18:10.000Z
2019-10-15T17:01:41.000Z
/** * @file FootStepPlanner.cpp * * @author <a href="mailto:xu@informatik.hu-berlin.de">Xu, Yuan</a> * plan the foot step according to motion request */ #include "FootStepPlanner2018.h" using namespace InverseKinematic; using namespace std; FootStepPlanner2018::FootStepPlanner2018() : parameters(getWalk2018Paramet...
42.650655
219
0.72274
[ "transform" ]
ca45108b698bc2a18c19f93739f02171e778b60d
9,133
cpp
C++
searchcore/src/tests/proton/feed_and_search/feed_and_search.cpp
homerredroc/vespa
0a66f8f17eba82f9c0cbfbbbe37c2fcdefe93063
[ "Apache-2.0" ]
null
null
null
searchcore/src/tests/proton/feed_and_search/feed_and_search.cpp
homerredroc/vespa
0a66f8f17eba82f9c0cbfbbbe37c2fcdefe93063
[ "Apache-2.0" ]
null
null
null
searchcore/src/tests/proton/feed_and_search/feed_and_search.cpp
homerredroc/vespa
0a66f8f17eba82f9c0cbfbbbe37c2fcdefe93063
[ "Apache-2.0" ]
null
null
null
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/document/datatype/datatype.h> #include <vespa/document/fieldvalue/document.h> #include <vespa/document/fieldvalue/fieldvalue.h> #include <vespa/searchlib/common/documentsummary.h> #inc...
37.126016
118
0.696595
[ "vector" ]
ca45a93c8831ee55d518f851d1051ec4a103dcac
818
cpp
C++
Source/Core/Managers/network_manager.cpp
mlavik1/HikariOnline
47fb9457a1c5329859a4d41cb06442109bc507fa
[ "MIT" ]
null
null
null
Source/Core/Managers/network_manager.cpp
mlavik1/HikariOnline
47fb9457a1c5329859a4d41cb06442109bc507fa
[ "MIT" ]
null
null
null
Source/Core/Managers/network_manager.cpp
mlavik1/HikariOnline
47fb9457a1c5329859a4d41cb06442109bc507fa
[ "MIT" ]
null
null
null
#include "network_manager.h" #include "Core/Debug/st_assert.h" namespace Hikari { Hikari::Object* NetworkManager::GetObjectByGUID(NetGUID arg_guid) { auto objIter = mNetworkObjects.find(arg_guid); Hikari::Object* obj = (objIter != mNetworkObjects.end()) ? (*objIter).second : nullptr; return obj; } #if defin...
24.787879
89
0.748166
[ "object" ]
ca45fff994c13369e1ee0821377b4d5a87cacbfe
6,350
cpp
C++
3rdparty/jsonrpc-cpp-0.4/src/jsonrpc_handler.cpp
wohaaitinciu/zpublic
0e4896b16e774d2f87e1fa80f1b9c5650b85c57e
[ "Unlicense" ]
50
2015-01-07T01:54:54.000Z
2021-01-15T00:41:48.000Z
3rdparty/jsonrpc-cpp-0.4/src/jsonrpc_handler.cpp
lib1256/zpublic
64c2be9ef1abab878288680bb58122dcc25df81d
[ "Unlicense" ]
1
2015-05-26T07:40:19.000Z
2015-05-26T07:40:19.000Z
3rdparty/jsonrpc-cpp-0.4/src/jsonrpc_handler.cpp
lib1256/zpublic
64c2be9ef1abab878288680bb58122dcc25df81d
[ "Unlicense" ]
39
2015-01-07T02:03:15.000Z
2021-01-15T00:41:50.000Z
/* * JsonRpc-Cpp - JSON-RPC implementation. * Copyright (C) 2008-2011 Sebastien Vincent <sebastien.vincent@cppextrem.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, eith...
25.502008
111
0.545512
[ "object" ]
ca46e14c2b312046e5e3a3f27e342e40b3aa634b
1,452
cxx
C++
rdpfuzz-winafl/cmake-3.16.0/Source/cmMarkAsAdvancedCommand.cxx
fengjixuchui/rdpfuzz
4561b6fbf73ada553ce78ad44918fd0930ee4e85
[ "Apache-2.0" ]
107
2021-08-28T20:08:42.000Z
2022-03-22T08:02:16.000Z
rdpfuzz-winafl/cmake-3.16.0/Source/cmMarkAsAdvancedCommand.cxx
fengjixuchui/rdpfuzz
4561b6fbf73ada553ce78ad44918fd0930ee4e85
[ "Apache-2.0" ]
null
null
null
rdpfuzz-winafl/cmake-3.16.0/Source/cmMarkAsAdvancedCommand.cxx
fengjixuchui/rdpfuzz
4561b6fbf73ada553ce78ad44918fd0930ee4e85
[ "Apache-2.0" ]
16
2021-08-30T06:57:36.000Z
2022-03-22T08:05:52.000Z
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying file Copyright.txt or https://cmake.org/licensing for details. */ #include "cmMarkAsAdvancedCommand.h" #include "cmExecutionStatus.h" #include "cmMakefile.h" #include "cmState.h" #include "cmStateTypes.h" #include "cmSystemTools.h" #incl...
29.632653
77
0.645317
[ "vector" ]
ca4ac8db9ff17a305dcd93a8bf95d8b6ae66afe7
9,468
hpp
C++
include/System/IPv6AddressHelper.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/System/IPv6AddressHelper.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/System/IPv6AddressHelper.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Completed includes // Begin f...
66.676056
200
0.734157
[ "vector" ]
ca5139a6219a3702be00b50000f6f8cfff376021
590
cpp
C++
Other OJs/Random/Contest/NowCoder28/E.cpp
lxdlam/ACM
cde519ef9732ff9e4e9e3f53c00fb30d07bdb306
[ "MIT" ]
1
2019-11-12T15:08:16.000Z
2019-11-12T15:08:16.000Z
Other OJs/Random/Contest/NowCoder28/E.cpp
lxdlam/ACM
cde519ef9732ff9e4e9e3f53c00fb30d07bdb306
[ "MIT" ]
null
null
null
Other OJs/Random/Contest/NowCoder28/E.cpp
lxdlam/ACM
cde519ef9732ff9e4e9e3f53c00fb30d07bdb306
[ "MIT" ]
1
2018-01-22T08:06:11.000Z
2018-01-22T08:06:11.000Z
#include <algorithm> #include <cstring> #include <iostream> #include <map> #include <queue> #include <set> #include <sstream> #include <string> #include <vector> using namespace std; typedef long long ll; typedef pair<int, int> pii; typedef vector<int> vi; typedef vector<ll> vll; typedef set<int> si; int main() { ...
15.526316
30
0.615254
[ "vector" ]
ca589f8733d9dfb89bdf4a2d6200cf65cc6b2b62
2,291
hpp
C++
include/physicsengine/PhysicsEngine.hpp
ThePythonator/Rocket-Manager
61489a9df2ac25b96ac337afd5cb58375533c748
[ "MIT" ]
2
2022-03-17T18:11:07.000Z
2022-03-17T19:55:35.000Z
include/physicsengine/PhysicsEngine.hpp
ThePythonator/Rocket-Manager
61489a9df2ac25b96ac337afd5cb58375533c748
[ "MIT" ]
null
null
null
include/physicsengine/PhysicsEngine.hpp
ThePythonator/Rocket-Manager
61489a9df2ac25b96ac337afd5cb58375533c748
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include "Collisions.hpp" #include "Constraints.hpp" namespace PhysicsEngine { // This struct can be used by the user to store the pointers. struct PhysicsData { PhysicsData(); ~PhysicsData(); std::vector<Shape*> shapes; std::vector<RigidBody*> bodies; std::vector<Constrai...
28.6375
166
0.741598
[ "shape", "vector" ]
3ed14a7fedec50933fd816b24c350a085f06b5b3
1,318
cpp
C++
Leetcode/C++ Solutions/Arrays/longestConsecutiveSequence.cpp
Mostofa-Najmus-Sakib/Applied-Algorithm
bc656fd655617407856e0ce45b68585fa81c5035
[ "MIT" ]
1
2020-01-06T02:21:56.000Z
2020-01-06T02:21:56.000Z
Leetcode/C++ Solutions/Arrays/longestConsecutiveSequence.cpp
Mostofa-Najmus-Sakib/Applied-Algorithm
bc656fd655617407856e0ce45b68585fa81c5035
[ "MIT" ]
null
null
null
Leetcode/C++ Solutions/Arrays/longestConsecutiveSequence.cpp
Mostofa-Najmus-Sakib/Applied-Algorithm
bc656fd655617407856e0ce45b68585fa81c5035
[ "MIT" ]
3
2021-02-22T17:41:01.000Z
2022-01-13T05:03:19.000Z
/* LeetCode Problem 128. Longest Consecutive Sequence Link: https://leetcode.com/problems/longest-consecutive-sequence/ Written by: Mostofa Adib Shakib Language: C++ */ class Solution { public: int getMaximum(int x, int y) { return (x > y) ? x:y; } int longestConsecutive(vector<int>& nums...
28.042553
117
0.492413
[ "vector" ]
3ed2940a2ab0369b2eea84a623e58df4cde779fe
14,682
cpp
C++
example/json.cpp
tzlaine/parser
095aa362d777a480fffef415d27d214cd6ffec4a
[ "BSL-1.0" ]
7
2020-08-29T02:10:20.000Z
2022-03-29T20:31:59.000Z
example/json.cpp
tzlaine/parser
095aa362d777a480fffef415d27d214cd6ffec4a
[ "BSL-1.0" ]
16
2020-08-29T21:33:08.000Z
2022-03-22T03:01:02.000Z
example/json.cpp
tzlaine/parser
095aa362d777a480fffef415d27d214cd6ffec4a
[ "BSL-1.0" ]
1
2021-09-22T08:15:57.000Z
2021-09-22T08:15:57.000Z
// Copyright (C) 2020 T. Zachary Laine // // 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) //[ extended_json_example // This header includes a type called json::value that acts as a // Javascript-like polymorphic ...
40.335165
83
0.615243
[ "object" ]
3edbdb0ec4bb75a77120d73f136507cd7d798aaa
1,272
cpp
C++
src/hotrod/impl/operations/PingOperation.cpp
rigazilla/cpp-client
db7b1de589f4e227ee5b2b0a86913e036e17ca7a
[ "Apache-2.0" ]
null
null
null
src/hotrod/impl/operations/PingOperation.cpp
rigazilla/cpp-client
db7b1de589f4e227ee5b2b0a86913e036e17ca7a
[ "Apache-2.0" ]
null
null
null
src/hotrod/impl/operations/PingOperation.cpp
rigazilla/cpp-client
db7b1de589f4e227ee5b2b0a86913e036e17ca7a
[ "Apache-2.0" ]
null
null
null
#include "hotrod/impl/operations/PingOperation.h" #include "hotrod/impl/protocol/HeaderParams.h" #include "hotrod/impl/transport/Transport.h" namespace infinispan { namespace hotrod { using namespace protocol; using transport::Transport; namespace operations { PingOperation::PingOperation(const Codec& c, Topology& ...
28.909091
124
0.715409
[ "vector" ]
3edd6bdc8a5879f96a27f9b1829cf7fe148f7a39
13,820
cc
C++
src/chrome_frame/test/dll_redirector_test.cc
jxjnjjn/chromium
435c1d02fd1b99001dc9e1e831632c894523580d
[ "Apache-2.0" ]
9
2018-09-21T05:36:12.000Z
2021-11-15T15:14:36.000Z
chrome_frame/test/dll_redirector_test.cc
devasia1000/chromium
919a8a666862fb866a6bb7aa7f3ae8c0442b4828
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2015-02-02T06:55:08.000Z
2016-01-20T06:11:59.000Z
chrome_frame/test/dll_redirector_test.cc
devasia1000/chromium
919a8a666862fb866a6bb7aa7f3ae8c0442b4828
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
6
2016-11-14T10:13:35.000Z
2021-01-23T15:29:53.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_frame/dll_redirector.h" #include "base/shared_memory.h" #include "base/utf_string_conversions.h" #include "base/version.h" #include ...
34.89899
79
0.753763
[ "object" ]
3ee3354c1e8d7b0e4ec9697acee13b6513478f39
9,987
cc
C++
peridot/tests/benchmarks/story/modular_benchmark_story_session_shell.cc
yanyushr/fuchsia
98e70672a81a206d235503e398f37b7b65581f79
[ "BSD-3-Clause" ]
1
2019-10-09T10:50:57.000Z
2019-10-09T10:50:57.000Z
peridot/tests/benchmarks/story/modular_benchmark_story_session_shell.cc
bootingman/fuchsia2
04012f0aa1edd1d4108a2ac647a65e59730fc4c2
[ "BSD-3-Clause" ]
null
null
null
peridot/tests/benchmarks/story/modular_benchmark_story_session_shell.cc
bootingman/fuchsia2
04012f0aa1edd1d4108a2ac647a65e59730fc4c2
[ "BSD-3-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 <memory> #include <utility> #include <fuchsia/modular/cpp/fidl.h> #include <fuchsia/sys/cpp/fidl.h> #include <lib/async/cpp/task.h> #include <lib...
32.320388
80
0.701212
[ "vector" ]
3ee3699bb3561baf2465d02c4bbbd7482ccf9dbe
3,678
cpp
C++
test/ModuleTests/DVRStageTest.cpp
RWTHmediTEC/Carna
51a77304428ef7913c7006ed979d5d427fe5b1d3
[ "BSD-3-Clause" ]
null
null
null
test/ModuleTests/DVRStageTest.cpp
RWTHmediTEC/Carna
51a77304428ef7913c7006ed979d5d427fe5b1d3
[ "BSD-3-Clause" ]
null
null
null
test/ModuleTests/DVRStageTest.cpp
RWTHmediTEC/Carna
51a77304428ef7913c7006ed979d5d427fe5b1d3
[ "BSD-3-Clause" ]
3
2015-07-23T12:10:14.000Z
2021-06-08T16:07:05.000Z
/* * Copyright (C) 2010 - 2015 Leonid Kostrykin * * Chair of Medical Engineering (mediTEC) * RWTH Aachen University * Pauwelsstr. 20 * 52074 Aachen * Germany * */ #include "DVRStageTest.h" #include <Carna/base/Node.h> #include <Carna/base/FrameRenderer.h> #include <Carna/helpers/VolumeGridHelper.h> #inc...
27.447761
138
0.633496
[ "render" ]
3ee73736fbfec650fcd7f543f731e74fcf70eec8
13,585
cpp
C++
src/chrono/physics/ChConveyor.cpp
lucasw/chrono
e79d8c761c718ecb4c796725cff37026f357da8c
[ "BSD-3-Clause" ]
null
null
null
src/chrono/physics/ChConveyor.cpp
lucasw/chrono
e79d8c761c718ecb4c796725cff37026f357da8c
[ "BSD-3-Clause" ]
null
null
null
src/chrono/physics/ChConveyor.cpp
lucasw/chrono
e79d8c761c718ecb4c796725cff37026f357da8c
[ "BSD-3-Clause" ]
null
null
null
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of t...
39.263006
117
0.641664
[ "geometry", "object", "vector" ]
3ef2ea069842fc8f40fc7b053af05b8954e2a35b
4,485
cpp
C++
Data Structures and Coding Algorithm/12. OS Algorithms/CPP/Priority_Scheduling/preemptive.cpp
lakhan098/Technocrats-HacktoberFest
33968cf36747ec2342d53b8c38c2a48fc71be017
[ "MIT" ]
11
2021-10-01T15:39:40.000Z
2021-10-12T16:33:03.000Z
Data Structures and Coding Algorithm/12. OS Algorithms/CPP/Priority_Scheduling/preemptive.cpp
lakhan098/Technocrats-HacktoberFest
33968cf36747ec2342d53b8c38c2a48fc71be017
[ "MIT" ]
62
2021-10-01T14:40:32.000Z
2021-10-31T14:47:21.000Z
Data Structures and Coding Algorithm/12. OS Algorithms/CPP/Priority_Scheduling/preemptive.cpp
lakhan098/Technocrats-HacktoberFest
33968cf36747ec2342d53b8c38c2a48fc71be017
[ "MIT" ]
71
2021-10-01T14:42:03.000Z
2021-10-21T15:51:24.000Z
#include<bits/stdc++.h> using namespace std; struct process{ string name; int pid; int arrival_time; int burst_time; int priority; // priority of process int remaining_burst_time; int start_time = -1; int completion_time = -1; int turn_around_time = -1; int response_time = -1...
28.75
105
0.568562
[ "vector" ]
3ef76867f7c378d59e3dd787f237700e4c38a964
1,292
cpp
C++
chap4/ex4_11.cpp
ksvbka/pppuc
840962dd612ab4f2b2c638409089cd889c417c8f
[ "MIT" ]
2
2016-05-06T02:08:38.000Z
2016-05-10T02:19:05.000Z
chap4/ex4_11.cpp
ksvbka/pppuc
840962dd612ab4f2b2c638409089cd889c417c8f
[ "MIT" ]
null
null
null
chap4/ex4_11.cpp
ksvbka/pppuc
840962dd612ab4f2b2c638409089cd889c417c8f
[ "MIT" ]
1
2020-11-01T13:06:15.000Z
2020-11-01T13:06:15.000Z
/* Ex 4.11: Create a program to find all the prime numbers between 1 and 100. One way to do this is to write a function that will check if a number is prime (i.e., see if the number can be divided by a prime number smaller than itself) using a vector of primes in order (so that if the vector is called primes, primes[0]...
30.761905
80
0.633127
[ "vector" ]
41015e5fff889dca334363d8262a339260235816
4,695
hpp
C++
pwiz/data/vendor_readers/Waters/SpectrumList_Waters.hpp
vagisha/pwiz
aa65186bf863cdebde3d15c293d137085365bead
[ "Apache-2.0" ]
null
null
null
pwiz/data/vendor_readers/Waters/SpectrumList_Waters.hpp
vagisha/pwiz
aa65186bf863cdebde3d15c293d137085365bead
[ "Apache-2.0" ]
null
null
null
pwiz/data/vendor_readers/Waters/SpectrumList_Waters.hpp
vagisha/pwiz
aa65186bf863cdebde3d15c293d137085365bead
[ "Apache-2.0" ]
null
null
null
// // $Id$ // // // Original author: Matt Chambers <matt.chambers .@. vanderbilt.edu> // // Copyright 2009 Vanderbilt University - Nashville, TN 37232 // // 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...
39.788136
219
0.732694
[ "vector" ]
410717dee0f504eaf77a7fee4ecaeca1bb220629
9,495
cc
C++
content/browser/speech/speech_recognition_dispatcher_host.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
content/browser/speech/speech_recognition_dispatcher_host.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
content/browser/speech/speech_recognition_dispatcher_host.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.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 "content/browser/speech/speech_recognition_dispatcher_host.h" #include <memory> #include "base/bind.h" #include "base/command_line.h" #incl...
37.089844
80
0.739863
[ "render" ]
410e2db81aa7b2cb002cd7f4e63489f643e483de
581
hpp
C++
epoch/ayla/include/ayla/serialization/glm_serializer.hpp
oprogramadorreal/vize
042c16f96d8790303563be6787200558e1ec00b2
[ "MIT" ]
47
2020-03-30T14:36:46.000Z
2022-03-06T07:44:54.000Z
epoch/ayla/include/ayla/serialization/glm_serializer.hpp
oprogramadorreal/vize
042c16f96d8790303563be6787200558e1ec00b2
[ "MIT" ]
null
null
null
epoch/ayla/include/ayla/serialization/glm_serializer.hpp
oprogramadorreal/vize
042c16f96d8790303563be6787200558e1ec00b2
[ "MIT" ]
8
2020-04-01T01:22:45.000Z
2022-01-02T13:06:09.000Z
#ifndef AYLA_GLM_SERIALIZER_HPP #define AYLA_GLM_SERIALIZER_HPP #include <glm/glm.hpp> namespace boost { namespace serialization { template <class Archive> void serialize(Archive &ar, glm::vec2& vector, const unsigned int version); template <class Archive> void serialize(Archive &ar, glm::vec3& vector, const unsign...
23.24
75
0.774527
[ "vector" ]
410f4016f865598dac5f8dc600ff9d7fd28e9c5b
1,687
cpp
C++
tests/src/testing_server.cpp
smooresni/grpc-dynamic-client
7be29f78bcc9535e3ba5bb8360885a4b1f02be00
[ "MIT" ]
1
2022-02-25T17:54:32.000Z
2022-02-25T17:54:32.000Z
tests/src/testing_server.cpp
smooresni/grpc-dynamic-client
7be29f78bcc9535e3ba5bb8360885a4b1f02be00
[ "MIT" ]
8
2022-02-15T18:49:18.000Z
2022-03-25T18:27:28.000Z
tests/src/testing_server.cpp
ni/grpc-json-client
7be29f78bcc9535e3ba5bb8360885a4b1f02be00
[ "MIT" ]
null
null
null
#include "testing_server.h" #include <memory> #include <string> #include <vector> #include "grpcpp/grpcpp.h" #include "grpcpp/ext/proto_server_reflection_plugin.h" using grpc::ChannelArguments; using grpc::ServerBuilder; using grpc::ServerBuilderOption; using grpc::ServerBuilderPlugin; using grpc::reflection::Proto...
24.808824
83
0.692353
[ "vector" ]
4110e06ffc146e68554cb3336abd269358f87a80
4,626
cpp
C++
src/primitives/transaction.cpp
moorecoin/MooreCoinMiningAlgorithm
fe6a153e1392f6e18110b1e69481aa5c3c8b4a1d
[ "MIT" ]
null
null
null
src/primitives/transaction.cpp
moorecoin/MooreCoinMiningAlgorithm
fe6a153e1392f6e18110b1e69481aa5c3c8b4a1d
[ "MIT" ]
null
null
null
src/primitives/transaction.cpp
moorecoin/MooreCoinMiningAlgorithm
fe6a153e1392f6e18110b1e69481aa5c3c8b4a1d
[ "MIT" ]
null
null
null
// copyright (c) 2009-2010 satoshi nakamoto // copyright (c) 2009-2014 the moorecoin core developers // distributed under the mit software license, see the accompanying // file copying or http://www.opensource.org/licenses/mit-license.php. #include "primitives/transaction.h" #include "hash.h" #include "tinyformat.h" ...
32.34965
144
0.670774
[ "vector" ]
4117051a01cc590937034ed51b58a1a7de7f166d
5,853
cpp
C++
client/gamelogic/CPopulationManager.cpp
norelock/Project-MP-1
31dbb5c74b29a47df4cf41280887a66794fdc5ff
[ "MIT" ]
1
2022-02-19T15:52:29.000Z
2022-02-19T15:52:29.000Z
client/gamelogic/CPopulationManager.cpp
cleoppa/norasa
6f8d697922dca2fcc42a5830a384e790c687833a
[ "MIT" ]
2
2020-11-08T08:12:41.000Z
2022-01-08T07:20:45.000Z
client/gamelogic/CPopulationManager.cpp
cleoppa/norasa
6f8d697922dca2fcc42a5830a384e790c687833a
[ "MIT" ]
3
2020-03-23T06:56:35.000Z
2021-06-06T02:30:06.000Z
#include "main.h" int pedModelIds[] = { 7, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 32, 33, 34, 35, 36, 37, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 57, 58, 59, 60, 61, 62, 66, 67, 68, 70, 71, 72, 73, 78, 79, 80, 81, 82, 83, 84, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, ...
33.067797
169
0.663079
[ "model" ]
4117a3ffbd540443a4bb2d02ff3abba709809405
4,779
cpp
C++
tests/test_log.cpp
Fabio3rs/cppapiframework
14f1b1b42b77edbbf72d9d7f949ea6c9fcfa06a5
[ "MIT" ]
3
2021-12-27T14:38:53.000Z
2022-02-18T19:38:05.000Z
tests/test_log.cpp
Fabio3rs/cppapiframework
14f1b1b42b77edbbf72d9d7f949ea6c9fcfa06a5
[ "MIT" ]
null
null
null
tests/test_log.cpp
Fabio3rs/cppapiframework
14f1b1b42b77edbbf72d9d7f949ea6c9fcfa06a5
[ "MIT" ]
1
2021-12-27T18:20:32.000Z
2021-12-27T18:20:32.000Z
#include "../src/utils/CLog.hpp" #include "../src/utils/LogUtils.hpp" #include "../src/utils/ProcessHelper.hpp" #include "allocation_count.hpp" #include <chrono> #include <cstddef> #include <cstdlib> #include <filesystem> #include <fstream> #include <gtest/gtest.h> #include <ratio> #include <stdexcept> #include <string...
27.465517
78
0.624817
[ "vector" ]
4118d77cd9f84dc661c4ddbf1b7e046a40d7cdae
11,062
cpp
C++
Editors/ActorEditor_old/UI_MainCommand.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:19.000Z
2022-03-26T17:00:19.000Z
net.ssa/Editors/ActorEditor_old/UI_MainCommand.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
null
null
null
net.ssa/Editors/ActorEditor_old/UI_MainCommand.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:21.000Z
2022-03-26T17:00:21.000Z
//--------------------------------------------------------------------------- #include "stdafx.h" #pragma hdrstop #include "topbar.h" #include "leftbar.h" #include "bottombar.h" #include "EditorPref.h" #include "main.h" #include "UI_Tools.h" #include "Library.h" #include "D3DUtils.h" #include "ImageEdito...
31.971098
119
0.585789
[ "object" ]
411d89b5bf617ff71130020f82a1f3293caf7e81
918
cpp
C++
src/sd_detector.cpp
Sakushun63/sd_raspi_b2021
6eba60523caf4b27b18a94986082184282a120f4
[ "MIT" ]
null
null
null
src/sd_detector.cpp
Sakushun63/sd_raspi_b2021
6eba60523caf4b27b18a94986082184282a120f4
[ "MIT" ]
null
null
null
src/sd_detector.cpp
Sakushun63/sd_raspi_b2021
6eba60523caf4b27b18a94986082184282a120f4
[ "MIT" ]
null
null
null
#include <iostream> #include <unistd.h> #include <ros/ros.h> #include <darknet_ros_msgs/ObjectCount.h> // cunter #include <std_msgs/Int8.h> // velocity using namespace std; darknet_ros_msgs::ObjectCount msg_include_count; //int msg_include_count; const int loop_rate = 10; void detectorCallback(const darknet_ros_m...
24.157895
87
0.718954
[ "object" ]
411e3adc95383b87fcdf140e216c70f551d01157
2,250
cpp
C++
Kattis/proteins.cpp
hardik0899/Competitive_Programming
199039ad7a26a5f48152fe231a9ca5ac8685a707
[ "MIT" ]
1
2020-10-16T18:14:30.000Z
2020-10-16T18:14:30.000Z
Kattis/proteins.cpp
hardik0899/Competitive_Programming
199039ad7a26a5f48152fe231a9ca5ac8685a707
[ "MIT" ]
null
null
null
Kattis/proteins.cpp
hardik0899/Competitive_Programming
199039ad7a26a5f48152fe231a9ca5ac8685a707
[ "MIT" ]
1
2021-01-06T04:45:38.000Z
2021-01-06T04:45:38.000Z
#define __USE_MINGW_ANSI_STDIO 0 #include <iostream> #include <iomanip> #include <stdio.h> #include <stdlib.h> #include <vector> #include <algorithm> #include <queue> #include <map> #include <unordered_map> #include <set> #include <unordered_set> #include <stack> #include <deque> #include <string.h> #include <sstream> ...
31.25
155
0.581778
[ "vector" ]
4120df1812b4e37ae51a565fe7a3103b3ee3e6e6
6,048
cc
C++
packager/file/local_file.cc
koln67/shaka-packager
5b9fd409a5de502e8af2e46ee12840bd2226874d
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1,288
2016-05-25T01:20:31.000Z
2022-03-02T23:56:56.000Z
packager/file/local_file.cc
koln67/shaka-packager
5b9fd409a5de502e8af2e46ee12840bd2226874d
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
894
2016-05-17T00:39:30.000Z
2022-03-02T18:46:21.000Z
packager/file/local_file.cc
koln67/shaka-packager
5b9fd409a5de502e8af2e46ee12840bd2226874d
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
400
2016-05-25T01:20:35.000Z
2022-03-03T02:12:00.000Z
// Copyright 2014 Google Inc. All rights reserved. // // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file or at // https://developers.google.com/open-source/licenses/bsd #include "packager/file/local_file.h" #include <stdio.h> #if defined(OS_WIN) #include <windows.h>...
29.647059
80
0.676753
[ "vector" ]
41229501a6ccab361246d406b918f195016f948d
2,097
cpp
C++
homeworks/task14.cpp
PowerfullChild/NBU
8fd1a26346c2b0509cf33b63965719242bc1d4cb
[ "MIT" ]
null
null
null
homeworks/task14.cpp
PowerfullChild/NBU
8fd1a26346c2b0509cf33b63965719242bc1d4cb
[ "MIT" ]
null
null
null
homeworks/task14.cpp
PowerfullChild/NBU
8fd1a26346c2b0509cf33b63965719242bc1d4cb
[ "MIT" ]
null
null
null
/* NEEDS IMPROVING*/ #include<iostream> #include<string> using namespace std; int get_length(int coordinates_of_c_y, int coordinates_of_b_y) { int length = coordinates_of_c_y - coordinates_of_b_y; return length; } int get_width(int coordinates_of_b_x, int coordinates_of_a_x) { int width = coordinates_of_b_x - ...
19.971429
73
0.691464
[ "shape" ]
4122a07b592b504f51d00a66c3b4f741e37c7646
5,057
cc
C++
graphite/src/factory.cc
centreon-lab/centreon-broker
b412470204eedc01422bbfd00bcc306dfb3d2ef5
[ "Apache-2.0" ]
40
2015-03-10T07:55:39.000Z
2021-06-11T10:13:56.000Z
graphite/src/factory.cc
centreon-lab/centreon-broker
b412470204eedc01422bbfd00bcc306dfb3d2ef5
[ "Apache-2.0" ]
297
2015-04-30T10:02:04.000Z
2022-03-09T13:31:54.000Z
graphite/src/factory.cc
centreon-lab/centreon-broker
b412470204eedc01422bbfd00bcc306dfb3d2ef5
[ "Apache-2.0" ]
29
2015-08-03T10:04:15.000Z
2021-11-25T12:21:00.000Z
/* ** Copyright 2011-2017 Centreon ** ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed t...
32.837662
80
0.617164
[ "object" ]
412da658837b1f6884199e48fb64dc1483d38778
39,082
cpp
C++
source/grid/setup_fixed_grid.cpp
jfbucas/PION
e0a66aa301e4d94d581ba4df078f1a3b82faab99
[ "BSD-3-Clause" ]
null
null
null
source/grid/setup_fixed_grid.cpp
jfbucas/PION
e0a66aa301e4d94d581ba4df078f1a3b82faab99
[ "BSD-3-Clause" ]
null
null
null
source/grid/setup_fixed_grid.cpp
jfbucas/PION
e0a66aa301e4d94d581ba4df078f1a3b82faab99
[ "BSD-3-Clause" ]
null
null
null
/// \file setup_fixed_grid.cpp /// /// \brief Class for setting up grids. /// /// \author Jonathan Mackey /// /// /// Modifications: /// - 2015.02.09 JM: Split sim_control class into a setup class and /// a derived class for running simulations. /// - 2017.08.24 JM: moved evolving_RT_sources functions to setup. /...
31.851671
117
0.573487
[ "geometry", "vector", "3d", "solid" ]
412e2429c7aa87b15a371f4248a469e12099e8d3
5,472
cc
C++
SimCalorimetry/HcalSimAlgos/src/HcalSiPM.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
SimCalorimetry/HcalSimAlgos/src/HcalSiPM.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
SimCalorimetry/HcalSimAlgos/src/HcalSiPM.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
#include "SimCalorimetry/HcalSimAlgos/interface/HcalSiPM.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "CLHEP/Random/RandGaussQ.h" #include "CLHEP/Random/RandPoissonQ.h" #include "CLHEP/Random/RandFlat.h" #include "TMath.h" #include <cmath> #include <cassert> #include <utility> using std::vect...
27.77665
92
0.636148
[ "vector", "model" ]
413ac45445e4b345c006ad6ab875d43e75200c32
8,418
cpp
C++
physics/checkpointer_test.cpp
net-lisias-ksp/Principia
9292ea1fc2e4b4f0ce7a717e2f507168519f5f8a
[ "MIT" ]
2
2016-02-14T21:18:48.000Z
2017-02-11T23:23:20.000Z
physics/checkpointer_test.cpp
net-lisias-ksp/Principia
9292ea1fc2e4b4f0ce7a717e2f507168519f5f8a
[ "MIT" ]
1
2015-07-27T21:27:46.000Z
2015-07-27T21:27:46.000Z
physics/checkpointer_test.cpp
pleroy/Principia
64c4c6c124f4744381b6489e39e6b53e2a440ce9
[ "MIT" ]
null
null
null
#include "physics/checkpointer.hpp" #include "base/status_utilities.hpp" #include "geometry/named_quantities.hpp" #include "gmock/gmock.h" #include "gtest/gtest.h" #include "testing_utilities/matchers.hpp" namespace principia { namespace physics { using base::not_null; using geometry::InfinitePast; using geometry::I...
35.669492
78
0.686505
[ "geometry" ]
413bd049125c883391bdf93493be22f065367e3a
2,011
cc
C++
ui/views/controls/dot_indicator.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-10-18T02:33:40.000Z
2020-10-18T02:33:40.000Z
ui/views/controls/dot_indicator.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2021-05-17T16:28:52.000Z
2021-05-21T22:42:22.000Z
ui/views/controls/dot_indicator.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2021 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 "ui/views/controls/dot_indicator.h" #include <algorithm> #include <utility> #include "ui/base/metadata/metadata_impl_macros.h" #include "ui/bas...
26.460526
76
0.737444
[ "geometry" ]
413d81409a98169aa35c6ef99ff82e106fa210d6
5,613
hpp
C++
iRODS/server/re/include/reGlobalsExtern.hpp
PlantandFoodResearch/irods
9dfe7ffe5aa0760b7493bd9392ea1270df9335d4
[ "BSD-3-Clause" ]
null
null
null
iRODS/server/re/include/reGlobalsExtern.hpp
PlantandFoodResearch/irods
9dfe7ffe5aa0760b7493bd9392ea1270df9335d4
[ "BSD-3-Clause" ]
null
null
null
iRODS/server/re/include/reGlobalsExtern.hpp
PlantandFoodResearch/irods
9dfe7ffe5aa0760b7493bd9392ea1270df9335d4
[ "BSD-3-Clause" ]
null
null
null
/*** Copyright (c), The Regents of the University of California *** *** For more information please refer to files in the COPYRIGHT directory ***/ /* reGlobalsExtern.h - header file for global extern declaration for the * rule engine modules */ #ifndef RE_GLOBALS_EXTERN_HPP #define RE_GLOBALS_EXTERN_HPP ...
33.610778
80
0.687689
[ "object" ]
4140e9b8b69d1ba6e8d58bf7747dd0dfd2dbdd59
4,676
cpp
C++
TZXTool/TZXFile/main.cpp
MrReeMachine/TzxTool
a0685726b996a244e0f67790165bf7599fa5d535
[ "MIT" ]
7
2020-04-12T10:33:05.000Z
2021-01-20T13:48:20.000Z
TZXTool/TZXFile/main.cpp
MrReeMachine/TzxTool
a0685726b996a244e0f67790165bf7599fa5d535
[ "MIT" ]
1
2021-01-31T09:09:56.000Z
2021-02-11T19:36:27.000Z
TZXTool/TZXFile/main.cpp
MrReeMachine/TzxTool
a0685726b996a244e0f67790165bf7599fa5d535
[ "MIT" ]
1
2021-01-20T13:48:48.000Z
2021-01-20T13:48:48.000Z
// // main.cpp // Tzx2Wav // // Created by Richard Baxter on 31/10/2019. // Copyright © 2019 Richard Baxter. All rights reserved. // #include <iostream> #include "TZXFile.h" TZXFile *g_pTzxFile = NULL; #define BLOCKSIZE 22050 bool ConvertTzxFileToWav(const char *filePath, const char *outputPath) { //if (g_...
25.005348
231
0.556459
[ "object" ]
4144c542b449cd77b64ec6075f1625645161666b
1,010
cpp
C++
MyFiles/PCYCLE.cpp
manishSRM/solvedProblems
78492e51488605e46fd19bba472736825a2faf32
[ "Apache-2.0" ]
null
null
null
MyFiles/PCYCLE.cpp
manishSRM/solvedProblems
78492e51488605e46fd19bba472736825a2faf32
[ "Apache-2.0" ]
null
null
null
MyFiles/PCYCLE.cpp
manishSRM/solvedProblems
78492e51488605e46fd19bba472736825a2faf32
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <algorithm> #include <vector> using namespace std; int countCycles (vector<bool> &CHECK , int N, const vector <int> &P) { int count = 0; for (int i = 1; i <= N; i++) { if (CHECK[i] == true) continue; count++; CHECK[i] = true; for (int j = P[i]; j <= N;) { if (CHECK[j] == tr...
19.423077
72
0.513861
[ "vector" ]
41455059fe043686374faee491cb9afde3a76cb0
1,308
cpp
C++
TrainingGround/src/stl/iterator_test.cpp
elloop/algorithm
5485be0aedbc18968f775cff9533a2d444dbdcb5
[ "MIT" ]
15
2015-11-04T12:53:23.000Z
2021-08-10T09:53:12.000Z
TrainingGround/src/stl/iterator_test.cpp
elloop/algorithm
5485be0aedbc18968f775cff9533a2d444dbdcb5
[ "MIT" ]
null
null
null
TrainingGround/src/stl/iterator_test.cpp
elloop/algorithm
5485be0aedbc18968f775cff9533a2d444dbdcb5
[ "MIT" ]
6
2015-11-13T10:17:01.000Z
2020-05-14T07:25:48.000Z
#include "gtest/gtest.h" #include "inc.h" #include <functional> #include <type_traits> #include <fstream> #include <string> #include <streambuf> NS_BEGIN(elloop); using namespace std; using namespace std::placeholders; BEGIN_TEST(IteratorTest, AdapterBackInserter, @); //pcln("IteratorTest --> AdapterBackInserter"...
26.16
82
0.696483
[ "vector" ]
4146b2b8c30b88b02d8fa9a235578c70490c07a7
16,384
hpp
C++
.venv/Lib/site-packages/ipopt-0.1.9/Ipopt-3.11.1-win64-intel13.1/include/coin/IpDenseVector.hpp
AI-Assistant/FEMAG-Python
ff86e8f41485ae9df6034e6b8e810b59f8094c70
[ "MIT" ]
null
null
null
.venv/Lib/site-packages/ipopt-0.1.9/Ipopt-3.11.1-win64-intel13.1/include/coin/IpDenseVector.hpp
AI-Assistant/FEMAG-Python
ff86e8f41485ae9df6034e6b8e810b59f8094c70
[ "MIT" ]
null
null
null
.venv/Lib/site-packages/ipopt-0.1.9/Ipopt-3.11.1-win64-intel13.1/include/coin/IpDenseVector.hpp
AI-Assistant/FEMAG-Python
ff86e8f41485ae9df6034e6b8e810b59f8094c70
[ "MIT" ]
null
null
null
// Copyright (C) 2004, 2009 International Business Machines and others. // All Rights Reserved. // This code is published under the Eclipse Public License. // // $Id: IpDenseVector.hpp 2161 2013-01-01 20:39:05Z stefan $ // // Authors: Carl Laird, Andreas Waechter IBM 2004-08-13 #ifndef __IPDENSEVECTOR_HPP__ #d...
29.735027
99
0.658386
[ "vector" ]
a991d7997bc45bec6b99c636014812c323987145
6,351
cpp
C++
src/Layers/xrRender/SkeletonRigid.cpp
acidicMercury8/xray-1.5
ae094d82b76a8ce916e196654c163894bbf00146
[ "Linux-OpenIB" ]
5
2021-10-30T09:36:07.000Z
2021-12-30T08:14:32.000Z
src/Layers/xrRender/SkeletonRigid.cpp
Samsuper12/ixray-1.5
8070f833f8216d4ead294a9f19b7cd123bb76ba3
[ "Linux-OpenIB" ]
null
null
null
src/Layers/xrRender/SkeletonRigid.cpp
Samsuper12/ixray-1.5
8070f833f8216d4ead294a9f19b7cd123bb76ba3
[ "Linux-OpenIB" ]
2
2020-08-04T17:23:16.000Z
2020-10-16T16:53:38.000Z
//--------------------------------------------------------------------------- #include "stdafx.h" #pragma hdrstop #include "SkeletonCustom.h" extern int psSkeletonUpdate; #ifdef DEBUG void check_kinematics(CKinematics* _k, LPCSTR s); #endif void CKinematics::CalculateBones (BOOL bForceExact) { //...
31.132353
135
0.642104
[ "model", "transform" ]
a9929839c3f5d458f78b208acf9b512e0f980f06
865
cpp
C++
src/processor.cpp
b-ilya/CppND-System-Monitor-Project-Updated
7d0c0279520c2059a2f8176ad33328ac50ca9fff
[ "MIT" ]
null
null
null
src/processor.cpp
b-ilya/CppND-System-Monitor-Project-Updated
7d0c0279520c2059a2f8176ad33328ac50ca9fff
[ "MIT" ]
null
null
null
src/processor.cpp
b-ilya/CppND-System-Monitor-Project-Updated
7d0c0279520c2059a2f8176ad33328ac50ca9fff
[ "MIT" ]
null
null
null
#include "processor.h" #include <vector> #include "linux_parser.h" using LinuxParser::CPUStates; Processor::Processor() { Update(); } long Processor::Update() { auto currentJiffies = LinuxParser::CpuUtilization(); auto deltas = currentJiffies; if (!lastTotalJiffies.empty()) { for (unsigned i = 0; i < las...
27.03125
72
0.671676
[ "vector" ]
a993903f0b3e41b4f5cce14a37f08f8585dc1299
4,252
cpp
C++
Applications/DataExplorer/VtkVis/VtkSurfacesSource.cpp
ufz/ogs
97d0249e0c578c3055730f4e9d994b9970885098
[ "BSD-3-Clause" ]
111
2015-03-20T22:54:17.000Z
2022-03-30T04:37:21.000Z
Applications/DataExplorer/VtkVis/VtkSurfacesSource.cpp
ufz/ogs
97d0249e0c578c3055730f4e9d994b9970885098
[ "BSD-3-Clause" ]
3,015
2015-01-05T21:55:16.000Z
2021-02-15T01:09:17.000Z
Applications/DataExplorer/VtkVis/VtkSurfacesSource.cpp
ufz/ogs
97d0249e0c578c3055730f4e9d994b9970885098
[ "BSD-3-Clause" ]
250
2015-02-10T15:43:57.000Z
2022-03-30T04:37:20.000Z
/** * \file * \author Lars Bilke * \date 2010-02-03 * \brief Implementation of the VtkSurfacesSource class. * * \copyright * Copyright (c) 2012-2021, OpenGeoSys Community (http://www.opengeosys.org) * Distributed under a Modified BSD License. * See accompanying file LICENSE.txt or *...
28.15894
79
0.637347
[ "vector" ]
a99941d4bb71f9dbfb6efe0ecccb458509c08d7a
5,451
cpp
C++
vpc/src/v2/model/Privateip.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
5
2021-03-03T08:23:43.000Z
2022-02-16T02:16:39.000Z
vpc/src/v2/model/Privateip.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
null
null
null
vpc/src/v2/model/Privateip.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
7
2021-02-26T13:53:35.000Z
2022-03-18T02:36:43.000Z
#include "huaweicloud/vpc/v2/model/Privateip.h" namespace HuaweiCloud { namespace Sdk { namespace Vpc { namespace V2 { namespace Model { Privateip::Privateip() { status_ = ""; statusIsSet_ = false; id_ = ""; idIsSet_ = false; subnetId_ = ""; subnetIdIsSet_ = false; tenantId_ = ""; ...
21.210117
103
0.633278
[ "object", "model" ]
a999c0cb67174114d9fef40cc088c67660de108e
4,067
hpp
C++
src/include/duckdb/common/row_operations/row_operations.hpp
linkensphere201/duckdb
b77b1fa65290adfbad1bac4c44079718e6850497
[ "MIT" ]
null
null
null
src/include/duckdb/common/row_operations/row_operations.hpp
linkensphere201/duckdb
b77b1fa65290adfbad1bac4c44079718e6850497
[ "MIT" ]
null
null
null
src/include/duckdb/common/row_operations/row_operations.hpp
linkensphere201/duckdb
b77b1fa65290adfbad1bac4c44079718e6850497
[ "MIT" ]
null
null
null
//===----------------------------------------------------------------------===// // DuckDB // // duckdb/common/row_operations/row_operations.hpp // // //===----------------------------------------------------------------------===// #pragma once #include "duckdb/common/enums/expression_type.hpp...
50.209877
116
0.598476
[ "vector" ]
a99aa256842001575282dd7c70df4a61cdb8a972
1,283
hpp
C++
include/codegen/include/System/Runtime/Serialization/IObjectReference.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/System/Runtime/Serialization/IObjectReference.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/System/Runtime/Serialization/IObjectReference.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes // Completed includes // Begin forward declares // Forward declaring namespace: System::Runtime::Serialization namespace System::Ru...
41.387097
138
0.752923
[ "object" ]
a99fe63a763a4c3eefcfc744dfc1db05d057cca3
33,487
cc
C++
third_party/blink/renderer/modules/crypto/subtle_crypto.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-10-18T02:33:40.000Z
2020-10-18T02:33:40.000Z
third_party/blink/renderer/modules/crypto/subtle_crypto.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2021-05-17T16:28:52.000Z
2021-05-21T22:42:22.000Z
third_party/blink/renderer/modules/crypto/subtle_crypto.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2013 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
43.659713
107
0.687998
[ "object", "vector" ]