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
044a6e5ea4d8fd7b3fa8bc61819aeac5b8914a5e
6,555
ipp
C++
include/stats_incl/quant/qf.ipp
JohnGalbraith/stats
309c0e92d2326a58cad4544124c614e6a8a46079
[ "Apache-2.0" ]
381
2017-07-16T17:34:02.000Z
2022-03-30T09:47:58.000Z
include/stats_incl/quant/qf.ipp
myhhub/stats
309c0e92d2326a58cad4544124c614e6a8a46079
[ "Apache-2.0" ]
29
2017-07-14T20:45:42.000Z
2022-01-25T20:59:08.000Z
include/stats_incl/quant/qf.ipp
myhhub/stats
309c0e92d2326a58cad4544124c614e6a8a46079
[ "Apache-2.0" ]
70
2017-10-25T14:16:11.000Z
2022-01-25T20:57:02.000Z
/*################################################################################ ## ## Copyright (C) 2011-2021 Keith O'Hara ## ## This file is part of the StatsLib C++ library. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance...
26.22
95
0.65614
[ "vector" ]
044e43a15f6c22ccc13ff5613dd2a9486a75cfe8
3,571
cpp
C++
src/StringFunctions.cpp
simul/glfx
a192e069d4df45a31c10ca9adafe82e95dd09915
[ "BSD-2-Clause" ]
20
2015-03-01T14:01:27.000Z
2019-11-23T04:41:30.000Z
src/StringFunctions.cpp
simul/glfx
a192e069d4df45a31c10ca9adafe82e95dd09915
[ "BSD-2-Clause" ]
1
2015-08-30T08:00:54.000Z
2015-09-06T15:31:33.000Z
src/StringFunctions.cpp
simul/glfx
a192e069d4df45a31c10ca9adafe82e95dd09915
[ "BSD-2-Clause" ]
10
2015-03-04T11:34:39.000Z
2020-01-17T07:23:50.000Z
#include "StringFunctions.h" #include <stdio.h> #include <stdlib.h> #include <stdarg.h> #ifndef _MSC_VER #define sprintf_s(buffer, buffer_size, stringbuffer, ...) (snprintf(buffer, buffer_size, stringbuffer, ##__VA_ARGS__)) #endif using std::string; using std::vector; size_t ttab; bool IsWhitespace(char c) { return ...
19.407609
118
0.633156
[ "vector" ]
0453d3741eafeece208eae02409fc802f3b9c465
34,234
cpp
C++
Atomic/AtTreeStore.cpp
denisbider/Atomic
8e8e979a6ef24d217a77f17fa81a4129f3506952
[ "MIT" ]
4
2019-11-10T21:56:40.000Z
2021-12-11T20:10:55.000Z
Atomic/AtTreeStore.cpp
denisbider/Atomic
8e8e979a6ef24d217a77f17fa81a4129f3506952
[ "MIT" ]
null
null
null
Atomic/AtTreeStore.cpp
denisbider/Atomic
8e8e979a6ef24d217a77f17fa81a4129f3506952
[ "MIT" ]
1
2019-11-11T08:38:59.000Z
2019-11-11T08:38:59.000Z
#include "AtIncludes.h" #include "AtTreeStore.h" #include "AtNumCvt.h" namespace At { // TreeStore::Node void TreeStore::Node::Encode(Enc& enc) const { m_parentId.EncodeBin(enc); EncodeVarStr(enc, m_key); EncodeVarStr(enc, m_data); } bool TreeStore::Node::Decode(Seq& s) { Seq k...
27.083861
136
0.659315
[ "object" ]
045723536cc3ed04bb624389e6ec78f0fa859860
96,937
cc
C++
uhdm-plugin/UhdmAst.cc
hzeller/yosys-symbiflow-plugins
10f1af6fc5f472dfee7a18fffd1b7069f73f65e4
[ "0BSD" ]
null
null
null
uhdm-plugin/UhdmAst.cc
hzeller/yosys-symbiflow-plugins
10f1af6fc5f472dfee7a18fffd1b7069f73f65e4
[ "0BSD" ]
null
null
null
uhdm-plugin/UhdmAst.cc
hzeller/yosys-symbiflow-plugins
10f1af6fc5f472dfee7a18fffd1b7069f73f65e4
[ "0BSD" ]
null
null
null
#include <algorithm> #include <cstring> #include <functional> #include <vector> #include "UhdmAst.h" #include "frontends/ast/ast.h" #include "frontends/verilog/verilog_frontend.h" #include "headers/uhdm.h" #include "libs/sha1/sha1.h" #include "vpi_user.h" YOSYS_NAMESPACE_BEGIN static void sanitize_symbol_name(std::s...
39.695741
150
0.595242
[ "object", "vector" ]
045724b2abf2de378a4fea07346fd003be3f1777
38,341
cpp
C++
src/nbl/asset/CGraphicsPipelineLoaderMTL.cpp
Erfan-Ahmadi/Nabla
1ea023d3333f4fade4268b20ac878546fb4d5c82
[ "Apache-2.0" ]
2
2021-02-08T23:33:54.000Z
2021-02-09T18:21:16.000Z
src/nbl/asset/CGraphicsPipelineLoaderMTL.cpp
Erfan-Ahmadi/Nabla
1ea023d3333f4fade4268b20ac878546fb4d5c82
[ "Apache-2.0" ]
null
null
null
src/nbl/asset/CGraphicsPipelineLoaderMTL.cpp
Erfan-Ahmadi/Nabla
1ea023d3333f4fade4268b20ac878546fb4d5c82
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2018-2020 - DevSH Graphics Programming Sp. z O.O. // This file is part of the "Nabla Engine". // For conditions of distribution and use, see copyright notice in nabla.h #include <utility> #include <regex> #include "nbl/asset/asset.h" #include "os.h" #include "nbl/asset/CGraphicsPipelineLoaderMTL....
40.615466
224
0.638872
[ "vector" ]
04582bebd9cf4e43cecf400701497ffe6f2f6c8b
1,580
cc
C++
third_party/blink/renderer/core/html/html_object_element_test.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
third_party/blink/renderer/core/html/html_object_element_test.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
third_party/blink/renderer/core/html/html_object_element_test.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 "third_party/blink/renderer/core/html/html_object_element.h" #include "testing/gtest/include/gtest/gtest.h" #include "third_party/blink/renderer...
31.6
73
0.759494
[ "object" ]
0460883041663ce763481aa1aa3c7007bff0bcf4
5,996
cpp
C++
sc-memory/sc-memory/sc_utils.cpp
kroschenko/sc-machine
10a9535b3b9151ed683d351f2d222a95fc078e2b
[ "MIT" ]
null
null
null
sc-memory/sc-memory/sc_utils.cpp
kroschenko/sc-machine
10a9535b3b9151ed683d351f2d222a95fc078e2b
[ "MIT" ]
null
null
null
sc-memory/sc-memory/sc_utils.cpp
kroschenko/sc-machine
10a9535b3b9151ed683d351f2d222a95fc078e2b
[ "MIT" ]
null
null
null
/* * This source file is part of an OSTIS project. For the latest info, see http://ostis.net * Distributed under the MIT License * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT) */ #include "sc_utils.hpp" #include <algorithm> #include <cctype> #include <cstdlib> #include <sstrea...
24.080321
133
0.601234
[ "vector", "transform" ]
0465112f7b6fa0ff6154710b98f4ad8733d7bab4
1,168
cpp
C++
test/container/data.cpp
vinzenz/fcppt
3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a
[ "BSL-1.0" ]
null
null
null
test/container/data.cpp
vinzenz/fcppt
3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a
[ "BSL-1.0" ]
null
null
null
test/container/data.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/container/data.hpp> #include <fcppt/container/data_end.hpp> #include <fcppt/prepro...
16.685714
61
0.711473
[ "vector" ]
04680c9687b67c15a0de97591b87a82eded0834a
1,151
cc
C++
cpp/leetcode/257.binary-tree-paths.cc
liubang/laboratory
747f239a123cd0c2e5eeba893b9a4d1536555b1e
[ "MIT" ]
3
2021-03-03T13:18:23.000Z
2022-02-09T07:49:24.000Z
cpp/leetcode/257.binary-tree-paths.cc
liubang/laboratory
747f239a123cd0c2e5eeba893b9a4d1536555b1e
[ "MIT" ]
null
null
null
cpp/leetcode/257.binary-tree-paths.cc
liubang/laboratory
747f239a123cd0c2e5eeba893b9a4d1536555b1e
[ "MIT" ]
1
2021-03-29T15:21:42.000Z
2021-03-29T15:21:42.000Z
#include <gtest/gtest.h> #include <string> #include <vector> #include "includes/tree.h" namespace { class Solution { public: using TreeNode = leetcode::tree::TreeNode; std::vector<std::string> binaryTreePaths(TreeNode* root) { std::vector<std::string> ret; std::string cur; dfs(&ret, cur, root); ...
22.568627
77
0.577758
[ "vector" ]
04682ad530145472f2e3308d1b7f96db8ceee486
4,354
hh
C++
libsrc/pylith/topology/MeshOps.hh
Grant-Block/pylith
f6338261b17551eba879da998a5aaf2d91f5f658
[ "MIT" ]
null
null
null
libsrc/pylith/topology/MeshOps.hh
Grant-Block/pylith
f6338261b17551eba879da998a5aaf2d91f5f658
[ "MIT" ]
null
null
null
libsrc/pylith/topology/MeshOps.hh
Grant-Block/pylith
f6338261b17551eba879da998a5aaf2d91f5f658
[ "MIT" ]
null
null
null
// -*- C++ -*- // // ====================================================================== // // Brad T. Aagaard, U.S. Geological Survey // Charles A. Williams, GNS Science // Matthew G. Knepley, University of Chicago // // This code was developed as part of the Computational Infrastructure // for Geodynamics (http://...
32.984848
120
0.559486
[ "mesh", "object" ]
04710b6932273c0edf2f630376cbf27546fbf812
10,904
cpp
C++
src/FunctorOps.cpp
hyunsukimsokcho/souffle
3a60ce40455f38ded069d28de8405236b94529ed
[ "UPL-1.0" ]
null
null
null
src/FunctorOps.cpp
hyunsukimsokcho/souffle
3a60ce40455f38ded069d28de8405236b94529ed
[ "UPL-1.0" ]
null
null
null
src/FunctorOps.cpp
hyunsukimsokcho/souffle
3a60ce40455f38ded069d28de8405236b94529ed
[ "UPL-1.0" ]
null
null
null
#include "FunctorOps.h" #include "utility/FunctionalUtil.h" #include "utility/MiscUtil.h" #include <cassert> #include <cctype> #include <map> #include <memory> #include <ostream> #include <utility> #include <vector> namespace souffle { namespace { char const* functorOpNameLegacy(FunctorOp op) { switch (op) { ...
34.289308
109
0.621056
[ "vector" ]
047c8c31f0788f4ef40287df528454a0e4ad5e86
7,879
cpp
C++
Game/Source/Cores/CharacterCore.cpp
wobbier/MitchGame
a7b4099e93b8775de1797a7351bb0159d31a88a2
[ "MIT" ]
null
null
null
Game/Source/Cores/CharacterCore.cpp
wobbier/MitchGame
a7b4099e93b8775de1797a7351bb0159d31a88a2
[ "MIT" ]
null
null
null
Game/Source/Cores/CharacterCore.cpp
wobbier/MitchGame
a7b4099e93b8775de1797a7351bb0159d31a88a2
[ "MIT" ]
null
null
null
#include "CharacterCore.h" #include "Components/Transform.h" #include "Components/Camera.h" #include "Engine/Input.h" #include "Events/EventManager.h" #include "optick.h" #include "Components/Character.h" #include "Components/Audio/AudioSource.h" #include "Cores/AudioCore.h" #include "Engine/Engine.h" #include "Engine/...
28.139286
142
0.709989
[ "mesh", "vector", "model", "transform" ]
0480a1796cc51f51eeae2045ba28d07a5b6b3b8b
1,373
cpp
C++
graphs/lca_fast.cpp
prince776/CodeBook
874fc7f94011ad1d25a55bcd91fecd2a11eb5a9b
[ "CC0-1.0" ]
null
null
null
graphs/lca_fast.cpp
prince776/CodeBook
874fc7f94011ad1d25a55bcd91fecd2a11eb5a9b
[ "CC0-1.0" ]
null
null
null
graphs/lca_fast.cpp
prince776/CodeBook
874fc7f94011ad1d25a55bcd91fecd2a11eb5a9b
[ "CC0-1.0" ]
1
2021-11-20T10:14:08.000Z
2021-11-20T10:14:08.000Z
struct HLD_LCA { using graph = std::vector<std::vector<int>>; HLD_LCA(const graph &G, int root = 0) : N((int)G.size()), g(G), par(N), start(N), depth(N), sz(N), in_time(N) { par[root] = -1; timer = 0; dfs_sz(root); ...
24.963636
76
0.410779
[ "vector" ]
0481b6afb567de3314f3f06309710b355d646b78
11,159
cpp
C++
src/IECoreMaya/SceneShape.cpp
lucienfostier/cortex
b9916ee4c0392e41934df0e6d4e4b696c0e857ab
[ "BSD-3-Clause" ]
1
2018-09-02T13:05:18.000Z
2018-09-02T13:05:18.000Z
src/IECoreMaya/SceneShape.cpp
lucienfostier/cortex
b9916ee4c0392e41934df0e6d4e4b696c0e857ab
[ "BSD-3-Clause" ]
1
2018-11-07T19:40:15.000Z
2018-11-07T19:40:15.000Z
src/IECoreMaya/SceneShape.cpp
noizfactory/cortex
c2b5bd154d9d7919a0c498f865c5e40a7687e1ce
[ "BSD-3-Clause" ]
null
null
null
////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2013-2014, Image Engine Design 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: // // ...
26.569048
136
0.710637
[ "object" ]
04823dbb31459ff1ce68858379651d58f4ee4239
7,510
hpp
C++
src/xercesc/validators/common/CMLeaf.hpp
rherardi/xerces-c-src_2_7_0
a23711292bba70519940d7e6aeb07100319b607c
[ "ECL-2.0", "Apache-2.0" ]
1
2018-04-10T00:26:48.000Z
2018-04-10T00:26:48.000Z
src/xercesc/validators/common/CMLeaf.hpp
rherardi/xerces-c-src_2_7_0
a23711292bba70519940d7e6aeb07100319b607c
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/xercesc/validators/common/CMLeaf.hpp
rherardi/xerces-c-src_2_7_0
a23711292bba70519940d7e6aeb07100319b607c
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright 1999-2001,2004 The Apache Software Foundation. * * 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 * * Unle...
30.778689
80
0.447537
[ "model" ]
04878888e56904f1560aa84dea89569ef3bec993
6,343
hpp
C++
Common/src/Protocol.hpp
Rhoban/RhIO
3420308a864cdc0e9cd33a051904bdc7d6fe5281
[ "MIT" ]
7
2015-10-04T08:23:45.000Z
2021-05-22T09:59:45.000Z
Common/src/Protocol.hpp
Rhoban/RhIO
3420308a864cdc0e9cd33a051904bdc7d6fe5281
[ "MIT" ]
4
2016-07-10T11:36:47.000Z
2020-03-06T14:06:09.000Z
Common/src/Protocol.hpp
Rhoban/RhIO
3420308a864cdc0e9cd33a051904bdc7d6fe5281
[ "MIT" ]
7
2016-07-15T06:08:14.000Z
2019-09-20T17:25:45.000Z
#ifndef RHIO_PROTOCOL_HPP #define RHIO_PROTOCOL_HPP #include <vector> #include <string> namespace RhIO { /** * Server replier and Server publisher port */ extern unsigned int ServersPortBase; /** * Protocol message type */ enum MsgType : uint8_t { /** * Client. * Ask for listing children Nodes. * Args...
18.934328
55
0.622734
[ "vector" ]
048b5367f24a5eea5fbb25e35e7da59dfe921353
14,219
cc
C++
src/lib/dhcp_ddns/ncr_udp.cc
sebschrader/debian-pkg-isc-kea
1bdb18f90c48dd9674374fb8454d0efb846656bc
[ "Apache-2.0" ]
null
null
null
src/lib/dhcp_ddns/ncr_udp.cc
sebschrader/debian-pkg-isc-kea
1bdb18f90c48dd9674374fb8454d0efb846656bc
[ "Apache-2.0" ]
null
null
null
src/lib/dhcp_ddns/ncr_udp.cc
sebschrader/debian-pkg-isc-kea
1bdb18f90c48dd9674374fb8454d0efb846656bc
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2013-2016 Internet Systems Consortium, Inc. ("ISC") // // 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/. #include <config.h> #include <dhcp_ddns/dhcp...
37.32021
86
0.622055
[ "object" ]
048ee84fa133f9b8063efaf46d010d9c7ce03312
224,723
cpp
C++
libraries/value/test/src/CachingStrategy_test.cpp
n-gineer/ELL
2e5b93fe13993073a9486fc8720359ae4a49f737
[ "MIT" ]
2,094
2016-09-28T05:55:24.000Z
2019-05-04T19:06:36.000Z
libraries/value/test/src/CachingStrategy_test.cpp
n-gineer/ELL
2e5b93fe13993073a9486fc8720359ae4a49f737
[ "MIT" ]
213
2017-06-30T12:53:40.000Z
2019-05-03T06:35:38.000Z
libraries/value/test/src/CachingStrategy_test.cpp
n-gineer/ELL
2e5b93fe13993073a9486fc8720359ae4a49f737
[ "MIT" ]
301
2017-03-24T08:40:00.000Z
2019-05-02T21:22:28.000Z
//////////////////////////////////////////////////////////////////////////////////////////////////// // // Project: Embedded Learning Library (ELL) // File: CachingStrategy_test.cpp (value) // Authors: Mason Remy // ///////////////////////////////////////////////////////////////////////////////////////////////...
36.410078
295
0.52825
[ "vector" ]
049431eb50059c216165a57e629fe103d1ffac44
19,122
cc
C++
src/sys/appmgr/component_controller_impl.cc
billchen1977/fuchsia
d443f9c7b03ad317d1700c2c9457be8ed1147b86
[ "BSD-2-Clause" ]
null
null
null
src/sys/appmgr/component_controller_impl.cc
billchen1977/fuchsia
d443f9c7b03ad317d1700c2c9457be8ed1147b86
[ "BSD-2-Clause" ]
null
null
null
src/sys/appmgr/component_controller_impl.cc
billchen1977/fuchsia
d443f9c7b03ad317d1700c2c9457be8ed1147b86
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2016 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 "src/sys/appmgr/component_controller_impl.h" #include <fuchsia/inspect/cpp/fidl.h> #include <lib/async/default.h> #include <lib/fdio/directory.h>...
39.672199
100
0.698829
[ "object", "vector" ]
04970bf48531d51ea2c8c8cf5377345699b74838
83,169
cpp
C++
src/graysvr/CObjBase.cpp
JakubLinhart/SphereServer99
989e5819f781af87390b12656291138d00648ec8
[ "Apache-2.0" ]
null
null
null
src/graysvr/CObjBase.cpp
JakubLinhart/SphereServer99
989e5819f781af87390b12656291138d00648ec8
[ "Apache-2.0" ]
null
null
null
src/graysvr/CObjBase.cpp
JakubLinhart/SphereServer99
989e5819f781af87390b12656291138d00648ec8
[ "Apache-2.0" ]
null
null
null
#include "graysvr.h" // predef header #include "../network/send.h" bool CObjBaseTemplate::IsDeleted() const { ADDTOCALLSTACK("CObjBaseTemplate::IsDeleted"); return (!m_UID.IsValidUID() || (GetParent() == &g_World.m_ObjDelete)); } int CObjBaseTemplate::IsWeird() const { ADDTOCALLSTACK_INTENSIVE("CObjBaseTemplate::I...
26.967899
303
0.660486
[ "render", "object" ]
049ac44cda8db39983c6096e031793807d3ff1d8
10,853
cpp
C++
compiler/nnc/unittests/transformations/Switcher.cpp
periannath/ONE
61e0bdf2bcd0bc146faef42b85d469440e162886
[ "Apache-2.0" ]
1
2020-05-22T13:53:40.000Z
2020-05-22T13:53:40.000Z
compiler/nnc/unittests/transformations/Switcher.cpp
periannath/ONE
61e0bdf2bcd0bc146faef42b85d469440e162886
[ "Apache-2.0" ]
1
2020-09-23T23:12:23.000Z
2020-09-23T23:20:34.000Z
compiler/nnc/unittests/transformations/Switcher.cpp
periannath/ONE
61e0bdf2bcd0bc146faef42b85d469440e162886
[ "Apache-2.0" ]
1
2021-07-22T11:02:43.000Z
2021-07-22T11:02:43.000Z
/* * Copyright (c) 2019 Samsung Electronics Co., Ltd. All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
39.754579
99
0.709389
[ "vector" ]
049bfea0f1128a115a006efae65a06c125bf3a09
696
cpp
C++
src/QRtMidiIn.cpp
dalfry/hairless-simicat
76f7badfe09d1528addd304bb64c56c55acb766b
[ "BSD-2-Clause" ]
1
2019-07-31T11:57:22.000Z
2019-07-31T11:57:22.000Z
src/QRtMidiIn.cpp
dalfry/hairless-simicat
76f7badfe09d1528addd304bb64c56c55acb766b
[ "BSD-2-Clause" ]
null
null
null
src/QRtMidiIn.cpp
dalfry/hairless-simicat
76f7badfe09d1528addd304bb64c56c55acb766b
[ "BSD-2-Clause" ]
1
2021-05-22T11:17:46.000Z
2021-05-22T11:17:46.000Z
#include "QRtMidiIn.h" static void midiCallbackOuter(double timeStamp, std::vector<unsigned char> *message, void *userData) { QRtMidiIn *midi =(QRtMidiIn *)userData; midi->midiCallback(timeStamp, message); } QRtMidiIn::QRtMidiIn(const std::string clientName) : QObject(0), RtMidiIn(clie...
30.26087
100
0.712644
[ "vector" ]
04a0f9c385b64c3dde7468e00cc757576b1350ba
4,714
cc
C++
libsrc/pylith/problems/SolverLinear.cc
joegeisz/pylith
f74060b7b19d7e90abf8597bbe9250c96593c0ad
[ "MIT" ]
1
2021-01-20T17:18:28.000Z
2021-01-20T17:18:28.000Z
libsrc/pylith/problems/SolverLinear.cc
joegeisz/pylith
f74060b7b19d7e90abf8597bbe9250c96593c0ad
[ "MIT" ]
null
null
null
libsrc/pylith/problems/SolverLinear.cc
joegeisz/pylith
f74060b7b19d7e90abf8597bbe9250c96593c0ad
[ "MIT" ]
null
null
null
// -*- C++ -*- // // ====================================================================== // // Brad T. Aagaard, U.S. Geological Survey // Charles A. Williams, GNS Science // Matthew G. Knepley, University of Chicago // // This code was developed as part of the Computational Infrastructure // for Geodynamics (http://...
28.227545
82
0.63916
[ "mesh" ]
04a56dfdb676af279b8f6de0c4eda1163ed18514
11,516
cpp
C++
3rdparty/wxWidgets/src/msw/dlmsw.cpp
mikiec84/winsparkle
e73db4ddb3be830b36b58e2f90f4bee6a0c684b7
[ "MIT" ]
2
2015-01-10T09:15:16.000Z
2018-01-03T21:21:46.000Z
3rdparty/wxWidgets/src/msw/dlmsw.cpp
mikiec84/winsparkle
e73db4ddb3be830b36b58e2f90f4bee6a0c684b7
[ "MIT" ]
null
null
null
3rdparty/wxWidgets/src/msw/dlmsw.cpp
mikiec84/winsparkle
e73db4ddb3be830b36b58e2f90f4bee6a0c684b7
[ "MIT" ]
1
2019-01-20T12:55:33.000Z
2019-01-20T12:55:33.000Z
///////////////////////////////////////////////////////////////////////////// // Name: msw/dlmsw.cpp // Purpose: Win32-specific part of wxDynamicLibrary and related classes // Author: Vadim Zeitlin // Modified by: // Created: 2005-01-10 (partly extracted from common/dynlib.cpp) // RCS-ID: $Id: ...
33.672515
81
0.496179
[ "object" ]
04a662ec420020678596807f3ec52b7111a2a685
29,238
cc
C++
chrome/browser/ash/power/ml/adaptive_screen_brightness_manager_unittest.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
chrome/browser/ash/power/ml/adaptive_screen_brightness_manager_unittest.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
chrome/browser/ash/power/ml/adaptive_screen_brightness_manager_unittest.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// 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 "chrome/browser/ash/power/ml/adaptive_screen_brightness_manager.h" #include <memory> #include <vector> #include "base/test/test_mock_time_task_...
37.971429
80
0.740338
[ "geometry", "vector", "model" ]
04a7a2975b123bf6d0a632ab5968cc3cfab190cb
11,392
cc
C++
goopdate/update_response_utils.cc
rocious/omaha
44a58900e58979362ad18de6867d804bee0f1b91
[ "Apache-2.0" ]
4
2016-05-19T09:22:52.000Z
2020-10-22T03:45:41.000Z
goopdate/update_response_utils.cc
rocious/omaha
44a58900e58979362ad18de6867d804bee0f1b91
[ "Apache-2.0" ]
1
2015-06-15T06:26:34.000Z
2015-06-15T06:26:34.000Z
goopdate/update_response_utils.cc
rocious/omaha
44a58900e58979362ad18de6867d804bee0f1b91
[ "Apache-2.0" ]
1
2015-06-24T19:26:58.000Z
2015-06-24T19:26:58.000Z
// Copyright 2010 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...
35.936909
80
0.65309
[ "object", "vector", "model" ]
04a878b6bf1cee3b616e2db1a2c754f96c19d137
107,434
hpp
C++
include/DG/Tweening/DOTween.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/DG/Tweening/DOTween.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/DG/Tweening/DOTween.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include <initializer_list> #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: DG.Twee...
81.885671
582
0.742186
[ "object", "vector" ]
04aa9c627623f0c5a06b8484924223387735d4fe
7,642
cpp
C++
histogram_item.cpp
hsiaoairplane/3d-watermark-lsd
168df211b579fafc77a9bccba6ed54ae30a0ee23
[ "MIT" ]
1
2018-07-20T02:44:11.000Z
2018-07-20T02:44:11.000Z
histogram_item.cpp
hsiaoairplane/3d-watermark-lsd
168df211b579fafc77a9bccba6ed54ae30a0ee23
[ "MIT" ]
null
null
null
histogram_item.cpp
hsiaoairplane/3d-watermark-lsd
168df211b579fafc77a9bccba6ed54ae30a0ee23
[ "MIT" ]
null
null
null
#include "histogram_item.h" #include <qstring.h> #include <qpainter.h> #include <qwt_plot.h> #include <qwt_interval_data.h> #include <qwt_painter.h> #include <qwt_scale_map.h> class HistogramItem::PrivateData { public: int attributes; QwtIntervalData data; QColor color; double reference...
26.814035
81
0.528788
[ "transform" ]
04bd6cd96c57c65e4b52d91ba22e11e74cbb49f6
594
cpp
C++
src/solutions/47.cpp
bshankar/euler
c866a661a94d15d3744c74d85149534efac2ca23
[ "MIT" ]
null
null
null
src/solutions/47.cpp
bshankar/euler
c866a661a94d15d3744c74d85149534efac2ca23
[ "MIT" ]
null
null
null
src/solutions/47.cpp
bshankar/euler
c866a661a94d15d3744c74d85149534efac2ca23
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include "../lib/euler.hpp" using namespace std; typedef unsigned long ul; int main() { vector<bool> v = sieve(1000); // primes below 1000 ?? ul k = 650; int seq = 0; while (1) { int dpd = 0; for (int i = 0; i < v.size(); ++i) { if (v[i]...
19.8
57
0.388889
[ "vector" ]
04be00c6b0c5863c6e3967d6663461f43bafbbed
37,320
cc
C++
agent/wptdriver/wpt_test.cc
AutomationConsultant/webpagetest
37aff455ea1b99ba319f6558a676c0e72ba6e1eb
[ "BSD-3-Clause" ]
1
2015-03-29T02:31:02.000Z
2015-03-29T02:31:02.000Z
agent/wptdriver/wpt_test.cc
AutomationConsultant/webpagetest
37aff455ea1b99ba319f6558a676c0e72ba6e1eb
[ "BSD-3-Clause" ]
null
null
null
agent/wptdriver/wpt_test.cc
AutomationConsultant/webpagetest
37aff455ea1b99ba319f6558a676c0e72ba6e1eb
[ "BSD-3-Clause" ]
null
null
null
/****************************************************************************** Copyright (c) 2010, 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 co...
36.696165
80
0.537031
[ "object" ]
04bfc9ee94036e6feef47b51d277802f1a94148b
1,172
cpp
C++
android-28/android/graphics/drawable/shapes/OvalShape.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-28/android/graphics/drawable/shapes/OvalShape.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-30/android/graphics/drawable/shapes/OvalShape.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../Canvas.hpp" #include "../../Outline.hpp" #include "../../Paint.hpp" #include "./RectShape.hpp" #include "./Shape.hpp" #include "../../../../JObject.hpp" #include "./OvalShape.hpp" namespace android::graphics::drawable::shapes { // Fields // QJniObject forward OvalShape::OvalShape(QJniObject obj) :...
23.44
94
0.674915
[ "object", "shape" ]
04c123881f4bcbf5d4016e0bd3b63237387ec592
6,468
cxx
C++
Modules/IO/TransformBase/src/itkCompositeTransformIOHelper.cxx
ltmakela/ITK
21f48c6d98e21ecece09be16a747221d7094d8a9
[ "Apache-2.0" ]
4
2015-05-22T03:47:43.000Z
2016-06-16T20:57:21.000Z
Modules/IO/TransformBase/src/itkCompositeTransformIOHelper.cxx
ltmakela/ITK
21f48c6d98e21ecece09be16a747221d7094d8a9
[ "Apache-2.0" ]
null
null
null
Modules/IO/TransformBase/src/itkCompositeTransformIOHelper.cxx
ltmakela/ITK
21f48c6d98e21ecece09be16a747221d7094d8a9
[ "Apache-2.0" ]
9
2016-06-23T16:03:12.000Z
2022-03-31T09:25:08.000Z
/*========================================================================= * * Copyright Insight Software Consortium * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * h...
39.2
96
0.673315
[ "transform" ]
04c45eee232793d1a1a0d646d49e1329249095a9
10,926
cpp
C++
activity_recognition_server/src/vector_encoding.cpp
kazuto1011/fps-activity-recognition
e937ec5722b16fea6bb704b455894c2f113384bb
[ "MIT" ]
null
null
null
activity_recognition_server/src/vector_encoding.cpp
kazuto1011/fps-activity-recognition
e937ec5722b16fea6bb704b455894c2f113384bb
[ "MIT" ]
null
null
null
activity_recognition_server/src/vector_encoding.cpp
kazuto1011/fps-activity-recognition
e937ec5722b16fea6bb704b455894c2f113384bb
[ "MIT" ]
null
null
null
/* * vector_encoding.cpp * * Created on: Dec 8, 2014 * Author: kazuto */ #include "common.h" #include "vector_encoding.h" //---------------------------------------------------------------------------------- // Fisher Vector encoding //------------------------------------------------------------------------...
30.18232
116
0.569376
[ "object", "vector" ]
04c52a58b657f488021bf6c37c71b8bb05cb3b61
1,449
cpp
C++
src/modules/filter/benchmark/threshold_benchmark.cpp
mangosroom/mvk-nodes
0ec3a7853e949d192ee54daeaf25875cd3cb6d18
[ "Apache-2.0" ]
5
2021-12-24T10:18:46.000Z
2022-03-15T14:11:04.000Z
src/modules/filter/benchmark/threshold_benchmark.cpp
mangosroom/mvk-nodes
0ec3a7853e949d192ee54daeaf25875cd3cb6d18
[ "Apache-2.0" ]
null
null
null
src/modules/filter/benchmark/threshold_benchmark.cpp
mangosroom/mvk-nodes
0ec3a7853e949d192ee54daeaf25875cd3cb6d18
[ "Apache-2.0" ]
null
null
null
/** * @file threshold_benchmark.cpp * @author mango (2321544362@qq.com) * @brief * @version 0.1 * @date 2022-04-15 * * @copyright Copyright (c) 2022 * */ #include "filter/threshold.hpp" #include <chrono> #include <iostream> #include <vector> #include <tuple> #include <fstream> using namespace mvk; int ma...
32.2
207
0.5804
[ "vector" ]
04c81f482505249205b84d6f7c5b48bf1cf79303
1,105
cpp
C++
Closet/VisualWardrobe/CSceneNodeBoxyScalar.cpp
ducis/pile-of-cpp
af5a123ec67cff589f27bf20d435b2db29a0a7c8
[ "MIT" ]
null
null
null
Closet/VisualWardrobe/CSceneNodeBoxyScalar.cpp
ducis/pile-of-cpp
af5a123ec67cff589f27bf20d435b2db29a0a7c8
[ "MIT" ]
null
null
null
Closet/VisualWardrobe/CSceneNodeBoxyScalar.cpp
ducis/pile-of-cpp
af5a123ec67cff589f27bf20d435b2db29a0a7c8
[ "MIT" ]
null
null
null
#include "CSceneNodeBoxyScalar.h" namespace CSceneNodeBoxyScalar_impl{ const matrix44 GetTransform(const AABB &aabb){ return TranslateMatrix44( GetCenter(aabb) )*ScaleMatrix44( GetDim(aabb) ); } } using namespace CSceneNodeBoxyScalar_impl; CSceneNodeBoxyScalar::CSceneNodeBoxyScalar( ISceneNode *pSN, ...
20.849057
105
0.734842
[ "render" ]
04d582dc4c036abfbbbf4b20c268178e833fc94a
20,665
cpp
C++
solutions/predict_min.cpp
kborozdin/palindromic-length
2fad58e82b5cc079bfceb9e782b7e2a8ee4306d2
[ "MIT" ]
null
null
null
solutions/predict_min.cpp
kborozdin/palindromic-length
2fad58e82b5cc079bfceb9e782b7e2a8ee4306d2
[ "MIT" ]
null
null
null
solutions/predict_min.cpp
kborozdin/palindromic-length
2fad58e82b5cc079bfceb9e782b7e2a8ee4306d2
[ "MIT" ]
null
null
null
#define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <vector> #include <algorithm> #include <cstdio> #include <cstring> #include <ctime> using namespace std; #ifdef LOCAL #define eprintf(...) fprintf(stderr, __VA_ARGS__) #else #define eprintf(...) (void)0 #endif #ifdef LOCAL #define STRESS #e...
22.054429
109
0.549722
[ "vector" ]
3e20ee075ac42a07751e30d270ef00d4fa00ad7d
3,788
hh
C++
src/mem/cache/replacement_policies/ship_rp.hh
tanvisharma/gem5_565
c093eef0befde08ca852c6709dff34e5190a134b
[ "BSD-3-Clause" ]
6
2021-12-03T22:57:45.000Z
2021-12-20T04:42:14.000Z
src/mem/cache/replacement_policies/ship_rp.hh
tanvisharma/gem5_565
c093eef0befde08ca852c6709dff34e5190a134b
[ "BSD-3-Clause" ]
null
null
null
src/mem/cache/replacement_policies/ship_rp.hh
tanvisharma/gem5_565
c093eef0befde08ca852c6709dff34e5190a134b
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright (c) 2018 Inria * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: redistributions of source code must retain the above copyright * notice, this list of conditions and the fol...
35.074074
78
0.692978
[ "vector" ]
3e2158e545195ce3fe1ce46aa21f815b1e895a98
154
cpp
C++
main1.cpp
acmorrow/msvc-pch-vs-zi
1cae7eba68cb9f230e027ca28e9f3dd13b07a796
[ "MIT" ]
null
null
null
main1.cpp
acmorrow/msvc-pch-vs-zi
1cae7eba68cb9f230e027ca28e9f3dd13b07a796
[ "MIT" ]
null
null
null
main1.cpp
acmorrow/msvc-pch-vs-zi
1cae7eba68cb9f230e027ca28e9f3dd13b07a796
[ "MIT" ]
null
null
null
#include "common.hpp" #ifndef PCH_INCLUDED #include <vector> #endif int main() { std::vector<int> xs = { 1, 2, 3 }; return common(xs.size()); }
14
38
0.61039
[ "vector" ]
3e28d96616e64364e2d84dc91ea3cf558613738b
3,334
cpp
C++
test/median-filter-test.cpp
ademuri/arduino-input-filter
856109442c81fec36f614c79a5273313f02046af
[ "Apache-2.0" ]
null
null
null
test/median-filter-test.cpp
ademuri/arduino-input-filter
856109442c81fec36f614c79a5273313f02046af
[ "Apache-2.0" ]
null
null
null
test/median-filter-test.cpp
ademuri/arduino-input-filter
856109442c81fec36f614c79a5273313f02046af
[ "Apache-2.0" ]
null
null
null
#include "gtest/gtest.h" #include <cstdio> #include "../src/median-filter.h" #include "run-data-test.h" namespace median_filter_input_test { TEST(MedianFilter, loading_in_order) { MedianFilter<uint32_t, uint32_t, 5> *input = new MedianFilter<uint32_t, uint32_t, 5>(analog_read_function); std::vector<InputOutput<u...
28.254237
113
0.647271
[ "vector" ]
3e2e4a184e90dc2433f590a022531f69d261ec46
513
cpp
C++
Problems/Dynamic_Programming/minimizeCutSegments.cpp
vishwajeet-hogale/LearnSTL
0cbfc12b66ba844de23d7966d18cadc7b2d5a77f
[ "MIT" ]
null
null
null
Problems/Dynamic_Programming/minimizeCutSegments.cpp
vishwajeet-hogale/LearnSTL
0cbfc12b66ba844de23d7966d18cadc7b2d5a77f
[ "MIT" ]
null
null
null
Problems/Dynamic_Programming/minimizeCutSegments.cpp
vishwajeet-hogale/LearnSTL
0cbfc12b66ba844de23d7966d18cadc7b2d5a77f
[ "MIT" ]
null
null
null
#include<iostream> #include<math.h> #include<bits/stdc++.h> using namespace std; int minimizeCuts(vector<int> &nums,int target){ vector<int> dp(target+1,target+1); dp[0] = 0; for(int i=1;i<=target;i++){ for(int j=0;j<nums.size();j++){ if(i>=nums[j]){ dp[i] = min(...
21.375
51
0.497076
[ "vector" ]
3e31c8774bde517efb3a74e7dac0cd6f546dfa52
8,474
cpp
C++
src/Router/EtcdHost.cpp
langio/DCache
80006bb25f30c12337b4600a4791aefccc9aab03
[ "BSD-3-Clause" ]
1
2019-10-21T09:34:21.000Z
2019-10-21T09:34:21.000Z
src/Router/EtcdHost.cpp
langio/DCache
80006bb25f30c12337b4600a4791aefccc9aab03
[ "BSD-3-Clause" ]
null
null
null
src/Router/EtcdHost.cpp
langio/DCache
80006bb25f30c12337b4600a4791aefccc9aab03
[ "BSD-3-Clause" ]
null
null
null
/** * Tencent is pleased to support the open source community by making DCache available. * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. * Licensed under the BSD 3-Clause License (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of t...
26.987261
100
0.549799
[ "vector" ]
3e33ca0fdbc6d48e2138d7fde515038d51cb9e1d
132,555
cpp
C++
test/cl/ScanTest/ScanTest.cpp
jayavanth/Bolt
ea1045126efc060c56f43eef926d65490bca7375
[ "BSL-1.0" ]
1
2016-11-29T21:03:54.000Z
2016-11-29T21:03:54.000Z
test/cl/ScanTest/ScanTest.cpp
jayavanth/Bolt
ea1045126efc060c56f43eef926d65490bca7375
[ "BSL-1.0" ]
null
null
null
test/cl/ScanTest/ScanTest.cpp
jayavanth/Bolt
ea1045126efc060c56f43eef926d65490bca7375
[ "BSL-1.0" ]
null
null
null
/*************************************************************************** * Copyright 2012 - 2013 Advanced Micro Devices, Inc. * ...
39.194264
268
0.617615
[ "object", "vector", "transform" ]
3e3718336ca39977cd5c2c3ac36e882b942a24be
322
cpp
C++
Dataset/Leetcode/train/53/283.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/53/283.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/53/283.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: int XXX(vector<int>& nums) { int max = nums[0], temp = 0; for(int i = 0; i < nums.size(); i++){ temp = temp + nums[i]; if(temp > max) max = temp; if(temp < 0) temp = 0; } return max; } };...
20.125
45
0.378882
[ "vector" ]
3e3ab29b0e8545e926619e5af35dda4bf6c5daf3
12,492
cpp
C++
src/datatypes/attributes.cpp
EmanuelHerrendorf/mapping-core
d28d85547e8ed08df37dad1da142594d3f07a366
[ "MIT" ]
null
null
null
src/datatypes/attributes.cpp
EmanuelHerrendorf/mapping-core
d28d85547e8ed08df37dad1da142594d3f07a366
[ "MIT" ]
10
2018-03-02T13:58:32.000Z
2020-06-05T11:12:42.000Z
src/datatypes/attributes.cpp
EmanuelHerrendorf/mapping-core
d28d85547e8ed08df37dad1da142594d3f07a366
[ "MIT" ]
3
2018-02-26T14:01:43.000Z
2019-12-09T10:03:17.000Z
#include "util/exceptions.h" #include "datatypes/attributes.h" #include "util/binarystream.h" #include <limits> AttributeMaps::AttributeMaps() { } AttributeMaps::~AttributeMaps() { } AttributeMaps::AttributeMaps(BinaryReadBuffer &buffer) { deserialize(buffer); } void AttributeMaps::deserialize(BinaryReadBuffer &...
31.867347
194
0.725504
[ "vector" ]
3e3edc8f8179dcc1cf3f42998f7955e2e4068e73
21,756
cpp
C++
libgramtools/tests/genotype/quasimap/coverage/test_allele_base.cpp
bricoletc/gramtools
1ce06178b7b26f42d72e47d3d7b8a7a606e6f256
[ "MIT" ]
null
null
null
libgramtools/tests/genotype/quasimap/coverage/test_allele_base.cpp
bricoletc/gramtools
1ce06178b7b26f42d72e47d3d7b8a7a606e6f256
[ "MIT" ]
null
null
null
libgramtools/tests/genotype/quasimap/coverage/test_allele_base.cpp
bricoletc/gramtools
1ce06178b7b26f42d72e47d3d7b8a7a606e6f256
[ "MIT" ]
null
null
null
#include <cctype> #include "gtest/gtest.h" #include "genotype/quasimap/coverage/allele_base.hpp" #include "submod_resources.hpp" #include "test_resources.hpp" using namespace gram::submods; using namespace gram::coverage::per_base; TEST(AlleleBaseCoverageDump, GivenPopulatedAlleleBaseCoverage_CorrectJsonDump) { S...
36.079602
80
0.689511
[ "vector" ]
3e40310757bd594c2f5851ba6c528c65e289d613
927
hpp
C++
host-bmc/dbus/global.hpp
raviteja-b/pldm
413866955ff9b3dca362d8f9c7a77cd7670f37dc
[ "Apache-2.0" ]
null
null
null
host-bmc/dbus/global.hpp
raviteja-b/pldm
413866955ff9b3dca362d8f9c7a77cd7670f37dc
[ "Apache-2.0" ]
null
null
null
host-bmc/dbus/global.hpp
raviteja-b/pldm
413866955ff9b3dca362d8f9c7a77cd7670f37dc
[ "Apache-2.0" ]
null
null
null
#pragma once #include "serialize.hpp" #include <sdbusplus/bus.hpp> #include <sdbusplus/server.hpp> #include <sdbusplus/server/object.hpp> #include <xyz/openbmc_project/Inventory/Item/Global/server.hpp> #include <string> namespace pldm { namespace dbus { using ItemGlobal = sdbusplus::server::object::object< sdbu...
22.609756
77
0.68069
[ "object" ]
3e421cfeac6a62c0a867467405230dc41a825d08
21,971
cc
C++
tensorflow/lite/delegates/gpu/metal/kernels/depthwise_conv.cc
kuroko1t/tensorflow
cd567562de4743dad0ff8a33cceceac3d53f0a13
[ "Apache-2.0" ]
5
2021-04-01T15:14:48.000Z
2021-04-02T02:56:07.000Z
tensorflow/lite/delegates/gpu/metal/kernels/depthwise_conv.cc
kuroko1t/tensorflow
cd567562de4743dad0ff8a33cceceac3d53f0a13
[ "Apache-2.0" ]
null
null
null
tensorflow/lite/delegates/gpu/metal/kernels/depthwise_conv.cc
kuroko1t/tensorflow
cd567562de4743dad0ff8a33cceceac3d53f0a13
[ "Apache-2.0" ]
1
2022-01-11T00:57:23.000Z
2022-01-11T00:57:23.000Z
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
38.343805
94
0.662555
[ "shape", "vector", "model" ]
3e45a431f6f37eb7c7486efa5df1e7a842217dd9
8,141
cpp
C++
pyunidoe/wrapper.cpp
SelfExplainML/pyunidoe
01ab0af7d494d3622b55443fec9e3fa7597574b7
[ "BSD-3-Clause" ]
null
null
null
pyunidoe/wrapper.cpp
SelfExplainML/pyunidoe
01ab0af7d494d3622b55443fec9e3fa7597574b7
[ "BSD-3-Clause" ]
null
null
null
pyunidoe/wrapper.cpp
SelfExplainML/pyunidoe
01ab0af7d494d3622b55443fec9e3fa7597574b7
[ "BSD-3-Clause" ]
null
null
null
#include "wrapper.h" int criteria_selector(char* crit) { int critopt; critopt = 1; if(!strcmp(crit,"CD2")) critopt=1; else if(!strcmp(crit,"MD2")) critopt=2; else if(!strcmp(crit,"WD2")) critopt=3; else if(!strcmp(crit,"maximin")) critopt=4; else if(!strcmp(crit,"MC")) critopt=5; else if(!strcmp(crit,"...
31.92549
125
0.634197
[ "vector" ]
3e4f68efc1f8cf14fe82e1403383a9276de077ed
5,586
cpp
C++
HelloWorldDemo/Classes/SocketSever.cpp
omf2333/TjRedAlert
c0d9535d5969adccc3013db82a15639e9b94cd59
[ "MIT" ]
null
null
null
HelloWorldDemo/Classes/SocketSever.cpp
omf2333/TjRedAlert
c0d9535d5969adccc3013db82a15639e9b94cd59
[ "MIT" ]
null
null
null
HelloWorldDemo/Classes/SocketSever.cpp
omf2333/TjRedAlert
c0d9535d5969adccc3013db82a15639e9b94cd59
[ "MIT" ]
null
null
null
#include"SocketServer.h" io_service * socket_server::io_service_ = new io_service; void talk_to_client::start() { async_read(socket_, buffer(read_msg_.data(), socket_message::header_length), boost::bind(&talk_to_client::handle_read_header, this, _1)); } talk_to_client::ptr talk_to_client::create(io_service & io_...
22.615385
120
0.701038
[ "vector" ]
3e54c1eb4a3341b1f5288673ce317f6e732da7e3
9,974
cxx
C++
cgv/media/mesh/simple_mesh.cxx
kahlertfr/cgv
a48139eb8af777ab63c78c09fc6aa44592908bc7
[ "BSD-3-Clause" ]
null
null
null
cgv/media/mesh/simple_mesh.cxx
kahlertfr/cgv
a48139eb8af777ab63c78c09fc6aa44592908bc7
[ "BSD-3-Clause" ]
null
null
null
cgv/media/mesh/simple_mesh.cxx
kahlertfr/cgv
a48139eb8af777ab63c78c09fc6aa44592908bc7
[ "BSD-3-Clause" ]
null
null
null
#include "simple_mesh.h" #include <cgv/media/mesh/obj_reader.h> #include <cgv/math/bucket_sort.h> namespace cgv { namespace media { namespace mesh { /// sort faces by group and material indices with two bucket sorts void simple_mesh_base::sort_faces(std::vector<idx_type>& perm, bool by_group, bool by_material) con...
35.119718
167
0.720373
[ "mesh", "vector" ]
3e554ad379c93a1e15809cb7ac848b0ae4959dfe
7,008
tcc
C++
include/meta/util/sparse_vector.tcc
Lolik111/meta
c7019401185cdfa15e1193aad821894c35a83e3f
[ "MIT" ]
615
2015-01-31T17:14:03.000Z
2022-03-27T03:03:02.000Z
include/meta/util/sparse_vector.tcc
Lolik111/meta
c7019401185cdfa15e1193aad821894c35a83e3f
[ "MIT" ]
167
2015-01-20T17:48:16.000Z
2021-12-20T00:15:29.000Z
include/meta/util/sparse_vector.tcc
Lolik111/meta
c7019401185cdfa15e1193aad821894c35a83e3f
[ "MIT" ]
264
2015-01-30T00:08:01.000Z
2022-03-02T17:19:11.000Z
/** * @file sparse_vector.tcc * @author Chase Geigle */ #include <algorithm> #include "meta/util/sparse_vector.h" namespace meta { namespace util { template <class Index, class Value> sparse_vector<Index, Value>::sparse_vector(uint64_t size) : storage_(size) { // nothing } template <class Index, class Value...
24.589474
76
0.619578
[ "vector" ]
3e5c05665c299e235c7b68b5dcc7d47c409d8196
3,488
cpp
C++
yices2/src/yices2_sort.cpp
kris-brown/smt-switch
f7fd018eea079dbd05eebf10ac7cc1db146568b0
[ "BSD-3-Clause" ]
null
null
null
yices2/src/yices2_sort.cpp
kris-brown/smt-switch
f7fd018eea079dbd05eebf10ac7cc1db146568b0
[ "BSD-3-Clause" ]
null
null
null
yices2/src/yices2_sort.cpp
kris-brown/smt-switch
f7fd018eea079dbd05eebf10ac7cc1db146568b0
[ "BSD-3-Clause" ]
null
null
null
/********************* */ /*! \file yices2_sort.cpp ** \verbatim ** Top contributors (to current version): ** Amalee Wilson ** This file is part of the smt-switch project. ** Copyright (c) 2020 by the authors listed in the file AUTHORS ** in the top-level source ...
21.530864
80
0.668005
[ "vector" ]
3e63c0647ea7a17a62a0400226b052b1d1f4f637
8,935
cpp
C++
client/client-multi/client-cpp/impl/channel/impl/AbstractHttpChannel.cpp
jbt-iot/kaa
530787f373b8f8f77d0836698fa2280821c47bbd
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
client/client-multi/client-cpp/impl/channel/impl/AbstractHttpChannel.cpp
jbt-iot/kaa
530787f373b8f8f77d0836698fa2280821c47bbd
[ "ECL-2.0", "Apache-2.0" ]
2
2022-01-21T23:49:37.000Z
2022-02-16T01:16:18.000Z
client/client-multi/client-cpp/impl/channel/impl/AbstractHttpChannel.cpp
jbt-iot/kaa
530787f373b8f8f77d0836698fa2280821c47bbd
[ "ECL-2.0", "Apache-2.0" ]
1
2018-08-02T17:56:24.000Z
2018-08-02T17:56:24.000Z
/* * Copyright 2014-2016 CyberVision, 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 o...
38.183761
140
0.5831
[ "vector" ]
3e65cc557e6b50b1bb2a0d80020c775ccddf4168
6,769
hh
C++
src/physics/material/MaterialData.hh
tmdelellis/celeritas
5252bcb0659892ae9082ca2b6716e3c84e18004b
[ "Apache-2.0", "MIT" ]
22
2020-03-31T14:18:22.000Z
2022-01-10T09:43:06.000Z
src/physics/material/MaterialData.hh
tmdelellis/celeritas
5252bcb0659892ae9082ca2b6716e3c84e18004b
[ "Apache-2.0", "MIT" ]
261
2020-04-29T15:14:29.000Z
2022-03-31T19:07:14.000Z
src/physics/material/MaterialData.hh
tmdelellis/celeritas
5252bcb0659892ae9082ca2b6716e3c84e18004b
[ "Apache-2.0", "MIT" ]
15
2020-05-01T19:47:19.000Z
2021-12-25T06:12:09.000Z
//----------------------------------*-C++-*----------------------------------// // Copyright 2020 UT-Battelle, LLC, and other Celeritas developers. // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: (Apache-2.0 OR MIT) //-------------------------------------------------------------------------...
34.535714
81
0.569213
[ "vector", "model", "solid" ]
3e6b9aa877b4c0f09f8ddf4f6820422d6267fffc
15,619
cpp
C++
flashlight/fl/distributed/backend/cuda/DistributedBackend.cpp
codekansas/flashlight
6b9e1f5d00269bda8ca6f453ab7f15bd2b8627f9
[ "BSD-3-Clause" ]
1
2021-05-26T11:56:41.000Z
2021-05-26T11:56:41.000Z
flashlight/fl/distributed/backend/cuda/DistributedBackend.cpp
codekansas/flashlight
6b9e1f5d00269bda8ca6f453ab7f15bd2b8627f9
[ "BSD-3-Clause" ]
null
null
null
flashlight/fl/distributed/backend/cuda/DistributedBackend.cpp
codekansas/flashlight
6b9e1f5d00269bda8ca6f453ab7f15bd2b8627f9
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <algorithm> #include <cstring> #include <mutex> #include <stdexcept> #include <mpi.h> #include <nccl.h> #include "...
30.328155
80
0.70299
[ "vector" ]
3e7a3c75d085b91037d843b91e132f28bcfa834b
2,555
cpp
C++
Vic2ToHoI4/Source/HOI4World/Ideologies/Ideologies.cpp
kingofmen/Vic2ToHoI4
04e3b872f84cf8aa56e44a63021fe66db1cfe233
[ "MIT" ]
1
2020-12-19T07:55:43.000Z
2020-12-19T07:55:43.000Z
Vic2ToHoI4/Source/HOI4World/Ideologies/Ideologies.cpp
kingofmen/Vic2ToHoI4
04e3b872f84cf8aa56e44a63021fe66db1cfe233
[ "MIT" ]
null
null
null
Vic2ToHoI4/Source/HOI4World/Ideologies/Ideologies.cpp
kingofmen/Vic2ToHoI4
04e3b872f84cf8aa56e44a63021fe66db1cfe233
[ "MIT" ]
null
null
null
#include "Ideologies.h" #include "HOI4World/HoI4Country.h" #include "IdeologyFile.h" #include "Log.h" #include "ParserHelpers.h" HoI4::Ideologies::Ideologies(const Configuration& theConfiguration) { Log(LogLevel::Info) << "\tReading ideologies"; registerKeyword("ideologies", [this](const std::string& unused, std:...
26.340206
116
0.732681
[ "vector" ]
3e7c2c447f2d7e3931a038e20e99d90c6cb49a13
1,727
hpp
C++
src/mbgl/annotation/annotation_tile.hpp
PareshGupta-WAL/mapbox-gl-native
de0cb554d676a8a84e01ed18508fd3ef52661368
[ "BSL-1.0", "Apache-2.0" ]
1
2021-04-26T05:41:57.000Z
2021-04-26T05:41:57.000Z
src/mbgl/annotation/annotation_tile.hpp
PareshGupta-WAL/mapbox-gl-native
de0cb554d676a8a84e01ed18508fd3ef52661368
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
src/mbgl/annotation/annotation_tile.hpp
PareshGupta-WAL/mapbox-gl-native
de0cb554d676a8a84e01ed18508fd3ef52661368
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
#pragma once #include <mbgl/tile/geometry_tile.hpp> #include <mbgl/tile/geometry_tile_data.hpp> namespace mbgl { class AnnotationManager; namespace style { class UpdateParameters; } // namespace style class AnnotationTile : public GeometryTile { public: AnnotationTile(const OverscaledTileID&, ...
27.854839
105
0.730168
[ "vector" ]
3e7c495d1477c70afd323b7e9006c7340605c70d
6,078
hpp
C++
include/derecho/sst/multicast.hpp
xinzheyang/derecho-unified
b5e79638fcf667cdba42a78fe1404db4235cd462
[ "BSD-3-Clause" ]
null
null
null
include/derecho/sst/multicast.hpp
xinzheyang/derecho-unified
b5e79638fcf667cdba42a78fe1404db4235cd462
[ "BSD-3-Clause" ]
null
null
null
include/derecho/sst/multicast.hpp
xinzheyang/derecho-unified
b5e79638fcf667cdba42a78fe1404db4235cd462
[ "BSD-3-Clause" ]
null
null
null
#include <cassert> #include <chrono> #include <cstdlib> #include <ctime> #include <functional> #include <iostream> #include <map> #include <memory> #include <thread> #include <vector> #include "sst.hpp" namespace sst { template <typename sstType> class multicast_group { // number of messages for which get_buffer ...
35.132948
147
0.55051
[ "vector" ]
3e7d44f7f3ff4622052427b248b3880afb97cdc4
3,585
hpp
C++
data_structures/vector/vector.hpp
JD235/algorithms
71346a498720dc3da064b3e61de0b369cf7eb76a
[ "MIT" ]
44
2017-12-11T11:13:07.000Z
2022-03-15T02:59:43.000Z
data_structures/vector/vector.hpp
JD235/algorithms
71346a498720dc3da064b3e61de0b369cf7eb76a
[ "MIT" ]
23
2018-10-06T06:17:21.000Z
2021-03-08T17:13:53.000Z
data_structures/vector/vector.hpp
JD235/algorithms
71346a498720dc3da064b3e61de0b369cf7eb76a
[ "MIT" ]
113
2017-12-12T06:46:04.000Z
2021-11-15T17:33:11.000Z
#pragma once #include <memory> #include <iterator> #include <utility> #include <cstddef> namespace ds { template <typename T, typename Alloc = std::allocator<T>> class vector { using alloc_traits = std::allocator_traits<Alloc>; public: // Aliases using value_type = T; using allocator_type = Alloc; ...
37.34375
98
0.704881
[ "vector" ]
3e89d665334d9a621b270abfc7221da4deae43ef
895
hpp
C++
Engine/Code/Engine/Renderer/RenderSceneGraph.hpp
tonyatpeking/SmuSpecialTopic
b61d44e4efacb3c504847deb4d00234601bca49c
[ "MIT" ]
null
null
null
Engine/Code/Engine/Renderer/RenderSceneGraph.hpp
tonyatpeking/SmuSpecialTopic
b61d44e4efacb3c504847deb4d00234601bca49c
[ "MIT" ]
null
null
null
Engine/Code/Engine/Renderer/RenderSceneGraph.hpp
tonyatpeking/SmuSpecialTopic
b61d44e4efacb3c504847deb4d00234601bca49c
[ "MIT" ]
null
null
null
#pragma once #include <vector> class Light; class Camera; class GameObject; class Renderable; class GameObjectManager; class RenderSceneGraph { public: static RenderSceneGraph* GetDefault(); static void SetCurrentScene( RenderSceneGraph* scene ) { s_default = scene; }; RenderSceneGraph(); ~RenderScen...
23.552632
85
0.70838
[ "vector" ]
3e8e2241b448246dcf2ef7fe364c34e611ef52c2
5,520
cpp
C++
src/interface/TWBitcoinScript.cpp
codeFarmL/wallet-core
88b6e3c065ebb2965c2d45ac470958d9a863f650
[ "MIT" ]
null
null
null
src/interface/TWBitcoinScript.cpp
codeFarmL/wallet-core
88b6e3c065ebb2965c2d45ac470958d9a863f650
[ "MIT" ]
null
null
null
src/interface/TWBitcoinScript.cpp
codeFarmL/wallet-core
88b6e3c065ebb2965c2d45ac470958d9a863f650
[ "MIT" ]
1
2020-09-03T16:07:07.000Z
2020-09-03T16:07:07.000Z
// Copyright © 2017-2020 Trust Wallet. // // This file is part of Trust. The full Trust copyright notice, including // terms governing use, modification, and redistribution, is contained in the // file LICENSE at the root of the source code distribution tree. #include <TrustWalletCore/TWBitcoinScript.h> #include "../...
35.844156
120
0.753623
[ "vector" ]
3e94b398779ed0e1377322ef3ed8977ec9f8a5e2
2,387
hpp
C++
include/unicomm/server_comm.hpp
Chrizzly/libunicomm
3aefc02445a5b1e047cc40daaddb7cf9b5082404
[ "BSL-1.0" ]
null
null
null
include/unicomm/server_comm.hpp
Chrizzly/libunicomm
3aefc02445a5b1e047cc40daaddb7cf9b5082404
[ "BSL-1.0" ]
null
null
null
include/unicomm/server_comm.hpp
Chrizzly/libunicomm
3aefc02445a5b1e047cc40daaddb7cf9b5082404
[ "BSL-1.0" ]
2
2019-03-16T07:07:16.000Z
2020-01-05T11:14:58.000Z
/////////////////////////////////////////////////////////////////////////////// // server_comm.hpp // // unicomm - Unified Communication protocol C++ library. // // Server's communication service definition. // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or co...
25.126316
80
0.656054
[ "object" ]
3e98a004b766912d0a1997e57347d5b8f1d0b070
9,049
cpp
C++
src/Database.cpp
ArlingtonBrooks/tfstat
1e0164710587024247ced249be1c900024c06d1e
[ "BSD-2-Clause" ]
null
null
null
src/Database.cpp
ArlingtonBrooks/tfstat
1e0164710587024247ced249be1c900024c06d1e
[ "BSD-2-Clause" ]
null
null
null
src/Database.cpp
ArlingtonBrooks/tfstat
1e0164710587024247ced249be1c900024c06d1e
[ "BSD-2-Clause" ]
null
null
null
#include "Common.hpp" #include "Database.hpp" bool operator<(DBASE_ENTRY a, const DBASE_ENTRY b) {return (a.TimeVal < b.TimeVal);}; bool operator>(DBASE_ENTRY a, const DBASE_ENTRY b) {return (a.TimeVal < b.TimeVal);}; bool operator<=(DBASE_ENTRY a, const DBASE_ENTRY b) {return (a.TimeVal < b.TimeVal);}; bool operator>...
35.073643
178
0.575091
[ "vector" ]
3e993debe6b74a1554ff70c0e4d41a185fa335a3
23,732
cpp
C++
catboost/libs/quantized_pool/serialization.cpp
bsharchilev/catboost
c6e4a9375c1650668750dd4b127ccb387365423d
[ "Apache-2.0" ]
null
null
null
catboost/libs/quantized_pool/serialization.cpp
bsharchilev/catboost
c6e4a9375c1650668750dd4b127ccb387365423d
[ "Apache-2.0" ]
null
null
null
catboost/libs/quantized_pool/serialization.cpp
bsharchilev/catboost
c6e4a9375c1650668750dd4b127ccb387365423d
[ "Apache-2.0" ]
null
null
null
#include "serialization.h" #include "pool.h" #include <catboost/idl/pool/flat/quantized_chunk_t.fbs.h> #include <catboost/idl/pool/proto/metainfo.pb.h> #include <catboost/idl/pool/proto/quantization_schema.pb.h> #include <catboost/libs/helpers/exception.h> #include <contrib/libs/flatbuffers/include/flatbuffers/flatbu...
36.567026
112
0.650514
[ "vector" ]
3e99ff921d53015971f4049328e9796c04d3c99c
1,717
cc
C++
src/main/Rasterizer.cc
gaetano-foster/SoftwareRasterizer_PGE
85ba331de3a95d424a8663caf6491ac57af375ef
[ "MIT" ]
null
null
null
src/main/Rasterizer.cc
gaetano-foster/SoftwareRasterizer_PGE
85ba331de3a95d424a8663caf6491ac57af375ef
[ "MIT" ]
null
null
null
src/main/Rasterizer.cc
gaetano-foster/SoftwareRasterizer_PGE
85ba331de3a95d424a8663caf6491ac57af375ef
[ "MIT" ]
null
null
null
#include "Rasterizer.h" Rasterizer::Rasterizer() { sAppName = "SoftwareRasterizer"; olc_hideCursor = true; } bool Rasterizer::OnUserCreate() { depth_buffer = new float[ScreenWidth() * ScreenHeight()]; matProj.MakeProjection(0.1f, 1000.0f, camera.fov); if (!mesh.mesh.LoadFromObjectFile("res/castle.obj", true)...
27.693548
62
0.65463
[ "mesh", "render" ]
3e9bdd26b597d734b960aab3a66014b7f42951c2
16,342
cpp
C++
Tools/TestWebKitAPI/Tests/WebCore/CBORWriterTest.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
6
2021-07-05T16:09:39.000Z
2022-03-06T22:44:42.000Z
Tools/TestWebKitAPI/Tests/WebCore/CBORWriterTest.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
7
2022-03-15T13:25:39.000Z
2022-03-15T13:25:44.000Z
Tools/TestWebKitAPI/Tests/WebCore/CBORWriterTest.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2017 The Chromium Authors. All rights reserved. // Copyright (C) 2018 Apple 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 ret...
35.06867
102
0.62936
[ "object", "vector" ]
3ea03b56be0eae644c91024cf520a4a305a73199
848
cpp
C++
leetcode/test.cpp
alyapunov/contests
05524fb652cddb3d6d341cb43dd71e95802d8699
[ "BSD-2-Clause" ]
null
null
null
leetcode/test.cpp
alyapunov/contests
05524fb652cddb3d6d341cb43dd71e95802d8699
[ "BSD-2-Clause" ]
null
null
null
leetcode/test.cpp
alyapunov/contests
05524fb652cddb3d6d341cb43dd71e95802d8699
[ "BSD-2-Clause" ]
null
null
null
#include <alya.h> #include <vector> using namespace std; // Definition for singly-linked list. struct ListNode { int val; ListNode *next; }; class Solution { public: ListNode* reverseKGroup(ListNode* head, int k) { } }; void check(std::initializer_list<int> orig, int k, std::initializer_list<int> res) { std:...
16.307692
77
0.566038
[ "vector" ]
3ea4db0467777421fa56aa5fc536a4c7299d8aa6
1,948
cpp
C++
scenes/examples/01_cgp_usage/03_implicit_surface/01_marching_cube_simple/src/scene.cpp
drohmer/CGP
3e7651649320d0bff19394ecd9546e872802c3e7
[ "MIT" ]
null
null
null
scenes/examples/01_cgp_usage/03_implicit_surface/01_marching_cube_simple/src/scene.cpp
drohmer/CGP
3e7651649320d0bff19394ecd9546e872802c3e7
[ "MIT" ]
2
2022-03-03T16:34:03.000Z
2022-03-20T13:08:56.000Z
scenes/examples/01_cgp_usage/03_implicit_surface/01_marching_cube_simple/src/scene.cpp
drohmer/CGP
3e7651649320d0bff19394ecd9546e872802c3e7
[ "MIT" ]
null
null
null
#include "scene.hpp" #include "implicit_surface/implicit_surface.hpp" using namespace cgp; void scene_structure::initialize() { // Create the Implicit Surface // ***************************************** // // Number of voxels int3 const samples = { 50, 50, 50 }; // Dimension of the domain vec3 co...
28.231884
105
0.665811
[ "mesh" ]
3ea6bd6a4bb32e69ed34ae78f19fb38a6581543f
3,471
hpp
C++
src/solvers/krylov/idr.hpp
pruthvistony/rocALUTION
2a5c602f41194f7730f59b4f0ce8c5cfff77fa07
[ "MIT" ]
1
2020-04-15T18:26:58.000Z
2020-04-15T18:26:58.000Z
src/solvers/krylov/idr.hpp
pruthvistony/rocALUTION
2a5c602f41194f7730f59b4f0ce8c5cfff77fa07
[ "MIT" ]
null
null
null
src/solvers/krylov/idr.hpp
pruthvistony/rocALUTION
2a5c602f41194f7730f59b4f0ce8c5cfff77fa07
[ "MIT" ]
null
null
null
/* ************************************************************************ * Copyright (c) 2018 Advanced Micro Devices, Inc. * * 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 re...
34.366337
89
0.664938
[ "vector" ]
3eb29295e70ea85f300ed8ec2786b3280e8e234c
10,904
cxx
C++
src/mod/pub/lib/fonts/mws-text-vxo.cxx
indigoabstract/appplex
83c3b903db6c6ea83690ccffbd533ff6ab01d246
[ "MIT" ]
1
2017-12-26T14:29:37.000Z
2017-12-26T14:29:37.000Z
src/mod/pub/lib/fonts/mws-text-vxo.cxx
indigoabstract/appplex
83c3b903db6c6ea83690ccffbd533ff6ab01d246
[ "MIT" ]
null
null
null
src/mod/pub/lib/fonts/mws-text-vxo.cxx
indigoabstract/appplex
83c3b903db6c6ea83690ccffbd533ff6ab01d246
[ "MIT" ]
null
null
null
#include "stdafx.hxx" #include "appplex-conf.hxx" #if defined MOD_VECTOR_FONTS #include "mws-text-vxo.hxx" #include "mws-font.hxx" #include "mws-font-db.hxx" #include "gfx.hxx" #include "gfx-color.hxx" #include "gfx-camera.hxx" #include "gfx-shader.hxx" #include "gfx-tex.hxx" #include "gfx-state.hxx" #include "gfx-v...
29.711172
150
0.536684
[ "vector", "model" ]
3eb4c78ca91ca214af5e183c6b5b2c5b65fd0e94
722
cpp
C++
clang/test/PCH/pch-no-hdrstop.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
3,102
2015-01-04T02:28:35.000Z
2022-03-30T12:53:41.000Z
clang/test/PCH/pch-no-hdrstop.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
clang/test/PCH/pch-no-hdrstop.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
1,868
2015-01-03T04:27:11.000Z
2022-03-25T13:37:35.000Z
// expected-no-diagnostics // Create PCH with #pragma hdrstop processing with no #pragma hdrstop // RUN: %clang_cc1 -verify -I %S -emit-pch -pch-through-hdrstop-create \ // RUN: -fms-extensions -o %t.pch -x c++-header %s // Create the PCH object // RUN: %clang_cc1 -verify -I %S -emit-obj -include-pch %t.pch \ // RUN...
38
73
0.668975
[ "object" ]
3eb4f882f74232b6f9b45486f09531e6fa6a08c2
28,363
cc
C++
third_party/blink/renderer/core/layout/ng/table/ng_table_borders.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
third_party/blink/renderer/core/layout/ng/table/ng_table_borders.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
third_party/blink/renderer/core/layout/ng/table/ng_table_borders.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/core/layout/ng/table/ng_table_borders.h" #include "third_party/blink/renderer/core/frame/web_feature.h" #include "th...
42.144131
94
0.654197
[ "vector" ]
3ebb310680ce9c2f4f6a6deb92dd95ffe3457808
4,172
cpp
C++
src/parser/Statements.cpp
dead-tech/tek
dbf8b8b55e318792fbfc9e26a56f2fab605ed89e
[ "MIT" ]
null
null
null
src/parser/Statements.cpp
dead-tech/tek
dbf8b8b55e318792fbfc9e26a56f2fab605ed89e
[ "MIT" ]
1
2022-02-27T13:20:49.000Z
2022-02-27T13:20:49.000Z
src/parser/Statements.cpp
dead-tech/tek
dbf8b8b55e318792fbfc9e26a56f2fab605ed89e
[ "MIT" ]
null
null
null
#include "Statements.hpp" namespace tek::parser { PrintStatement::PrintStatement(Statement::ExpressionPtr expression) : expression{ std::move(expression) } {} std::string PrintStatement::accept(StatementVisitor<std::string> &visitor) { return visitor.visit_print_statement(*this); } void ...
37.585586
119
0.708293
[ "vector" ]
3ebcab8733369c81636c7395843f704a85a9047c
6,059
cpp
C++
src/plugins/fontiac/substsmanager.cpp
rayslava/leechcraft
4ecc8aa56dc6030d2593922ff41b00ff50902db8
[ "BSL-1.0" ]
1
2017-01-12T07:05:45.000Z
2017-01-12T07:05:45.000Z
src/plugins/fontiac/substsmanager.cpp
ForNeVeR/leechcraft
384d041d23b1cdb7cc3c758612ac8d68d3d3d88c
[ "BSL-1.0" ]
null
null
null
src/plugins/fontiac/substsmanager.cpp
ForNeVeR/leechcraft
384d041d23b1cdb7cc3c758612ac8d68d3d3d88c
[ "BSL-1.0" ]
null
null
null
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Boost Software License - Version 1.0 - August 17th, 2003 * * Permission is hereby granted, free of charge, to any person or organiz...
28.71564
93
0.682291
[ "object" ]
3ebe613fd0ff8b6bf597b084235c7e1c42f01d97
676
hpp
C++
src/ComputeSYMGS.hpp
hpcg-benchmark/KHPCG3.0
9591b148ea6552342a0471a932d2abf332e490e0
[ "BSD-3-Clause" ]
null
null
null
src/ComputeSYMGS.hpp
hpcg-benchmark/KHPCG3.0
9591b148ea6552342a0471a932d2abf332e490e0
[ "BSD-3-Clause" ]
null
null
null
src/ComputeSYMGS.hpp
hpcg-benchmark/KHPCG3.0
9591b148ea6552342a0471a932d2abf332e490e0
[ "BSD-3-Clause" ]
3
2019-03-05T16:46:25.000Z
2021-12-22T03:49:00.000Z
//@HEADER // *************************************************** // // HPCG: High Performance Conjugate Gradient Benchmark // // Contact: // Michael A. Heroux ( maherou@sandia.gov) // Jack Dongarra (dongarra@eecs.utk.edu) // Piotr Luszczek (luszczek@eecs.utk.edu) // // ******************************************...
21.806452
73
0.610947
[ "vector" ]
3ec1999edc4f0549cc348d9da39e3e23b76a1a91
7,582
cc
C++
paddle/fluid/platform/device/ipu/popart_canonicalization/op_builder.cc
zmxdream/Paddle
04f042a5d507ad98f7f2cfc3cbc44b06d7a7f45c
[ "Apache-2.0" ]
1
2022-02-22T01:08:00.000Z
2022-02-22T01:08:00.000Z
paddle/fluid/platform/device/ipu/popart_canonicalization/op_builder.cc
zmxdream/Paddle
04f042a5d507ad98f7f2cfc3cbc44b06d7a7f45c
[ "Apache-2.0" ]
null
null
null
paddle/fluid/platform/device/ipu/popart_canonicalization/op_builder.cc
zmxdream/Paddle
04f042a5d507ad98f7f2cfc3cbc44b06d7a7f45c
[ "Apache-2.0" ]
1
2022-03-02T11:36:03.000Z
2022-03-02T11:36:03.000Z
// Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
34.779817
80
0.604722
[ "vector", "model" ]
3ece0468450be26c61b204d97a28cb1a39751447
16,542
cpp
C++
Gems/EMotionFX/Code/Tests/BlendTreeFloatMath1NodeTests.cpp
RonnieXiong/o3de
3fb903b03b64cdf7f04a59c051f272a194d43655
[ "Apache-2.0", "MIT" ]
null
null
null
Gems/EMotionFX/Code/Tests/BlendTreeFloatMath1NodeTests.cpp
RonnieXiong/o3de
3fb903b03b64cdf7f04a59c051f272a194d43655
[ "Apache-2.0", "MIT" ]
null
null
null
Gems/EMotionFX/Code/Tests/BlendTreeFloatMath1NodeTests.cpp
RonnieXiong/o3de
3fb903b03b64cdf7f04a59c051f272a194d43655
[ "Apache-2.0", "MIT" ]
null
null
null
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <AzCore/Math/MathUtils.h> #include <AzCore/Math/Random.h> #include <EMotionFX/Source/Anim...
43.190601
139
0.589711
[ "vector", "3d" ]
3ecf513b0a470a14a16975cfd860cbada5ef3257
1,747
cpp
C++
Free_And_Delete_Kernel/Free_Delete.cpp
M0rtale/KernelDel
3b960ccbcf71bf4372b5003257ee44f3c9e65892
[ "MIT" ]
12
2020-11-11T23:45:41.000Z
2022-03-01T03:47:27.000Z
Free_And_Delete_Kernel/Free_Delete.cpp
c3358/KernelDel
3b960ccbcf71bf4372b5003257ee44f3c9e65892
[ "MIT" ]
null
null
null
Free_And_Delete_Kernel/Free_Delete.cpp
c3358/KernelDel
3b960ccbcf71bf4372b5003257ee44f3c9e65892
[ "MIT" ]
6
2019-05-16T13:52:15.000Z
2022-01-21T01:14:44.000Z
#include "Free_Delete.h" bool Free_Delete::Delete_Model(wchar_t *Path) { HANDLE hFile; UNICODE_STRING uPath; OBJECT_ATTRIBUTES oaFileObject; IO_STATUS_BLOCK ioBlock; DEVICE_OBJECT *device = 0; PEPROCESS peProc = PsGetCurrentProcess(); //R3 Context KeAttachProcess(peProc); RtlInitUnicodeString(&uPath, Path)...
22.986842
109
0.734974
[ "object" ]
3ed06b7e02ea411f6177da7b3d2dc6f55482c17b
9,766
hpp
C++
autodiff/forward/utils/derivative.hpp
ruelj2/autodiff
2c241bec04d3924fdd42a342165d0cc168a843c6
[ "MIT" ]
null
null
null
autodiff/forward/utils/derivative.hpp
ruelj2/autodiff
2c241bec04d3924fdd42a342165d0cc168a843c6
[ "MIT" ]
null
null
null
autodiff/forward/utils/derivative.hpp
ruelj2/autodiff
2c241bec04d3924fdd42a342165d0cc168a843c6
[ "MIT" ]
null
null
null
// _ _ // _ _|_ _ _|o_|__|_ // (_||_||_(_)(_|| | | // // automatic differentiation made easier in C++ // https://github.com/autodiff/autodiff // // Licensed under the MIT License <http://opensource.org/licenses/MIT>. // // Copyright (c) 2018-2020 Allan Leal // // Permission is hereby granted, fre...
36.304833
303
0.661786
[ "vector" ]
a796b71017bb7fb7e384e190c81a389079632f3c
990
hpp
C++
libs/core/include/fcppt/math/from_array.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
13
2015-02-21T18:35:14.000Z
2019-12-29T14:08:29.000Z
libs/core/include/fcppt/math/from_array.hpp
cpreh/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
5
2016-08-27T07:35:47.000Z
2019-04-21T10:55:34.000Z
libs/core/include/fcppt/math/from_array.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
8
2015-01-10T09:22:37.000Z
2019-12-01T08:31:12.000Z
// Copyright Carl Philipp Reh 2009 - 2021. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef FCPPT_MATH_FROM_ARRAY_HPP_INCLUDED #define FCPPT_MATH_FROM_ARRAY_HPP_INCLUDED #include <fc...
24.146341
70
0.755556
[ "object" ]
a796d0305c371306fe3faf59c706170f1f870fad
6,528
cpp
C++
src/kits/debug/DebugLooper.cpp
stasinek/BHAPI
5d9aa61665ae2cc5c6e34415957d49a769325b2b
[ "BSD-3-Clause", "MIT" ]
3
2018-05-21T15:32:32.000Z
2019-03-21T13:34:55.000Z
src/kits/debug/DebugLooper.cpp
stasinek/BHAPI
5d9aa61665ae2cc5c6e34415957d49a769325b2b
[ "BSD-3-Clause", "MIT" ]
null
null
null
src/kits/debug/DebugLooper.cpp
stasinek/BHAPI
5d9aa61665ae2cc5c6e34415957d49a769325b2b
[ "BSD-3-Clause", "MIT" ]
null
null
null
/* * Copyright 2010, Ingo Weinhold, ingo_weinhold@gmx.de. * Distributed under the terms of the MIT License. */ #include <DebugLooper.h> #include <new> #include <AutoLocker.h> #include <DebugMessageHandler.h> #include <TeamDebugger.h> #include <util/DoublyLinkedList.h> struct BDebugLooper::Debugger { BTeamDebu...
18.651429
73
0.696691
[ "object" ]
a7978b4d3c15f25bed5f8285bfc84b0b40cb0172
3,522
hpp
C++
testing/utils/order_of_accuracy.hpp
mlohry/maDGiCart-CH
36723e992449fce670d17279b606f54d4b5b5545
[ "MIT" ]
3
2022-01-25T19:31:17.000Z
2022-01-25T21:10:39.000Z
testing/utils/order_of_accuracy.hpp
mlohry/maDGiCart-CH
36723e992449fce670d17279b606f54d4b5b5545
[ "MIT" ]
20
2021-12-17T14:58:00.000Z
2022-02-05T21:25:35.000Z
testing/utils/order_of_accuracy.hpp
mlohry/maDGiCart-CH
36723e992449fce670d17279b606f54d4b5b5545
[ "MIT" ]
null
null
null
#pragma once #include <algorithm> #include <cmath> #include <fstream> #include <map> #include <set> #include <utility> #include <vector> #include <iomanip> #include "typedefs.hpp" inline double errorRateByNdof(double ndof0, double ndof1, double e0, double e1) { return -log10(e1 / e0) / log10(ndof1 / ndof0); } c...
28.176
98
0.555934
[ "vector" ]
a79d62273acb87d8a8b1cda51cbe4cd7468469b3
8,341
cpp
C++
ze_vi_simulation/src/camera_simulator.cpp
rockenbf/ze_oss
ee04158e2d51acb07a267196f618e9afbc3ffd83
[ "BSD-3-Clause" ]
30
2016-09-27T07:41:28.000Z
2021-12-03T20:44:28.000Z
ze_vi_simulation/src/camera_simulator.cpp
rockenbf/ze_oss
ee04158e2d51acb07a267196f618e9afbc3ffd83
[ "BSD-3-Clause" ]
1
2018-12-18T15:53:06.000Z
2018-12-21T03:10:06.000Z
ze_vi_simulation/src/camera_simulator.cpp
rockenbf/ze_oss
ee04158e2d51acb07a267196f618e9afbc3ffd83
[ "BSD-3-Clause" ]
12
2016-11-05T07:51:29.000Z
2020-07-13T02:26:08.000Z
// Copyright (c) 2015-2016, ETH Zurich, Wyss Zurich, Zurich Eye // 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 // ...
37.236607
102
0.660113
[ "vector" ]
a7a1bb4723a4be573f94786627eca48af3ec4be9
9,064
cpp
C++
dev/Code/CryEngine/Cry3DEngine/CloudRenderNode.cpp
horvay/lumberyardtutor
63b0681a7ed2a98d651b699984de92951721353e
[ "AML" ]
5
2018-08-17T21:05:55.000Z
2021-04-17T10:48:26.000Z
dev/Code/CryEngine/Cry3DEngine/CloudRenderNode.cpp
horvay/lumberyardtutor
63b0681a7ed2a98d651b699984de92951721353e
[ "AML" ]
null
null
null
dev/Code/CryEngine/Cry3DEngine/CloudRenderNode.cpp
horvay/lumberyardtutor
63b0681a7ed2a98d651b699984de92951721353e
[ "AML" ]
5
2017-12-05T16:36:00.000Z
2021-04-27T06:33:54.000Z
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
32.256228
173
0.598742
[ "render" ]
a7a4d78b80ef0825c619ce7ff41994148e2058d6
37,908
cpp
C++
src/backpacktravel/app/table/impl/TableSyncItem.cpp
Py9595/Backpack-Travel-Underlying-Code
c5758792eba7cdd62cb6ff46e642e8e4e4e5417e
[ "BSL-1.0" ]
null
null
null
src/backpacktravel/app/table/impl/TableSyncItem.cpp
Py9595/Backpack-Travel-Underlying-Code
c5758792eba7cdd62cb6ff46e642e8e4e4e5417e
[ "BSL-1.0" ]
null
null
null
src/backpacktravel/app/table/impl/TableSyncItem.cpp
Py9595/Backpack-Travel-Underlying-Code
c5758792eba7cdd62cb6ff46e642e8e4e4e5417e
[ "BSL-1.0" ]
null
null
null
//------------------------------------------------------------------------------ /* This file is part of backpacktravelalliancesd: https://github.com/backpacktravelalliances/backpacktravelalliancesd 2016-2018 BACKPACK FOUNDATION W18235552G Corp. backpacktravelalliancesd is free software: you can redistribute it an...
27.955752
315
0.616624
[ "vector" ]
a7a509eaa15b96b754153ff0d167d93575da9eff
30,552
cpp
C++
src/game/skin_change_req_handler.cpp
0x384c0/jc4-console-thingy
29910373c2758138ca50c0f3aa3916890a333e85
[ "MIT" ]
null
null
null
src/game/skin_change_req_handler.cpp
0x384c0/jc4-console-thingy
29910373c2758138ca50c0f3aa3916890a333e85
[ "MIT" ]
null
null
null
src/game/skin_change_req_handler.cpp
0x384c0/jc4-console-thingy
29910373c2758138ca50c0f3aa3916890a333e85
[ "MIT" ]
null
null
null
#include "skin_change_req_handler.h" #include "allocator.h" #include "character.h" #include "spawn_system.h" #include "entity_provider.h" #include "player_manager.h" #include <algorithm> #include <array> namespace jc { SkinChangeRequestHandler::SkinChangeRequestHandler() { static std::once_flag _once; std::...
56.788104
120
0.677501
[ "render", "vector" ]
a7ab1357428f5c7c035f961674125ce4487c9918
62,675
cc
C++
chrome/browser/web_applications/web_app_icon_manager_unittest.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
chrome/browser/web_applications/web_app_icon_manager_unittest.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
chrome/browser/web_applications/web_app_icon_manager_unittest.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// 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 "chrome/browser/web_applications/web_app_icon_manager.h" #include <algorithm> #include <memory> #include <string> #include <utility> #include "...
36.207395
82
0.678676
[ "vector" ]
a7ac9827f52fa10aed4ed717290b84c8df94d8ec
1,362
cpp
C++
15.cpp
zhangchbin/LeetRecord
7f377b1a61e8f2a6fd86d028911c2722c1d03650
[ "MIT" ]
1
2020-09-12T07:38:23.000Z
2020-09-12T07:38:23.000Z
15.cpp
zhangchbin/LeetRecord
7f377b1a61e8f2a6fd86d028911c2722c1d03650
[ "MIT" ]
1
2020-09-12T07:38:27.000Z
2020-09-12T07:40:26.000Z
15.cpp
zhangchbin/LeetRecord
7f377b1a61e8f2a6fd86d028911c2722c1d03650
[ "MIT" ]
null
null
null
class Solution { public: long long hash(vector<int>& pp){ return pp[0] * 100000LL + pp[1]; } vector<vector<int>> threeSum(vector<int>& nums) { sort(nums.begin(), nums.end()); int n=nums.size(); vector<vector<int>>ans; int dp[200100]; memset(dp, 0, sizeof(dp));...
34.923077
87
0.428781
[ "vector" ]
a7aecb87abba73b9cc5ff642e082bdf8828dae06
1,213
cpp
C++
src/LoggerAdapter.cpp
vitsh1974/fakranwallet
b368ba6dacc98e238cab3db445d54c579d795217
[ "MIT" ]
null
null
null
src/LoggerAdapter.cpp
vitsh1974/fakranwallet
b368ba6dacc98e238cab3db445d54c579d795217
[ "MIT" ]
null
null
null
src/LoggerAdapter.cpp
vitsh1974/fakranwallet
b368ba6dacc98e238cab3db445d54c579d795217
[ "MIT" ]
null
null
null
// Copyright (c) 2011-2016 The Cryptonote developers // Copyright (c) 2015-2016 XDN developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "LoggerAdapter.h" #include "Settings.h" namespace WalletGui { LoggerAd...
31.921053
118
0.762572
[ "object" ]
a7af6ccbb65d183e528de018d85c6bfa155d7cdf
16,666
hpp
C++
hibernation.hpp
FarbodHassani/nonlinear_kevolution
16b408b01b73e75c993a15263769d0bef011644d
[ "MIT" ]
null
null
null
hibernation.hpp
FarbodHassani/nonlinear_kevolution
16b408b01b73e75c993a15263769d0bef011644d
[ "MIT" ]
null
null
null
hibernation.hpp
FarbodHassani/nonlinear_kevolution
16b408b01b73e75c993a15263769d0bef011644d
[ "MIT" ]
null
null
null
////////////////////////// // hibernation.hpp ////////////////////////// // // Auxiliary functions for hibernation // // Author: Julian Adamek (Université de Genève & Observatoire de Paris) // // Last modified: December 2016 // ////////////////////////// #ifndef HIBERNATION_HEADER #define HIBERNATION_HEADER /////////...
31.093284
478
0.619345
[ "vector" ]
a7afd7a8274e987c17f90d3e939005d65463ad34
10,406
cxx
C++
IO/Export/vtkX3DExporterXMLWriter.cxx
stephansmit/VTK
caa1eabb4612a0253171723bd1f1ddc599d7eea8
[ "BSD-3-Clause" ]
3
2015-07-28T18:07:50.000Z
2018-02-28T20:59:58.000Z
IO/Export/vtkX3DExporterXMLWriter.cxx
stephansmit/VTK
caa1eabb4612a0253171723bd1f1ddc599d7eea8
[ "BSD-3-Clause" ]
null
null
null
IO/Export/vtkX3DExporterXMLWriter.cxx
stephansmit/VTK
caa1eabb4612a0253171723bd1f1ddc599d7eea8
[ "BSD-3-Clause" ]
4
2016-09-08T02:11:00.000Z
2019-08-15T02:38:39.000Z
/*========================================================================= Program: Visualization Toolkit Module: vtkX3DExporterXMLWriter.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen, Kristian Sons All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for detail...
28.666667
111
0.490486
[ "vector" ]
a7b4ed75e9f45f68968443e9d4e68f05ec986b31
30,831
cpp
C++
NMEA0183AISMessages.cpp
ronzeiller/NMEA0183-AIS
29df9b3f7afde03b0a7907bfb9f0320fb4d8a925
[ "Unlicense" ]
5
2020-01-10T12:39:17.000Z
2022-03-15T22:45:13.000Z
NMEA0183AISMessages.cpp
ronzeiller/NMEA0183-AIS
29df9b3f7afde03b0a7907bfb9f0320fb4d8a925
[ "Unlicense" ]
2
2020-12-23T06:30:48.000Z
2022-03-15T22:43:48.000Z
NMEA0183AISMessages.cpp
ronzeiller/NMEA0183-AIS
29df9b3f7afde03b0a7907bfb9f0320fb4d8a925
[ "Unlicense" ]
2
2020-10-01T07:06:55.000Z
2021-11-22T04:23:08.000Z
/* NMEA0183AISMessages.cpp Copyright (c) 2019 Ronnie Zeiller Based on the works of Timo Lappalainen NMEA2000 and NMEA0183 Library Thanks to Eric S. Raymond (https://gpsd.gitlab.io/gpsd/AIVDM.html) and Kurt Schwehr for their informations on AIS encoding. Permission is hereby granted, free of charge, to any person ob...
53.90035
174
0.632837
[ "vector", "model" ]
a7b5cc7ff2c76f85e019513861abaf495dc4aa99
1,089
cpp
C++
src/transforms/linear.cpp
vorsselmansphilip/SenseEsp-Universal-Module
41af4dca2f65c527551848f1246986d639d4fdfd
[ "Apache-2.0" ]
1
2020-12-05T01:50:56.000Z
2020-12-05T01:50:56.000Z
src/transforms/linear.cpp
vorsselmansphilip/SenseEsp-Universal-Module
41af4dca2f65c527551848f1246986d639d4fdfd
[ "Apache-2.0" ]
null
null
null
src/transforms/linear.cpp
vorsselmansphilip/SenseEsp-Universal-Module
41af4dca2f65c527551848f1246986d639d4fdfd
[ "Apache-2.0" ]
null
null
null
#include "linear.h" // Linear Linear::Linear(float k, float c, String config_path) : NumericTransform(config_path), k{ k }, c{ c } { className = "Linear"; load_configuration(); } void Linear::set_input(float input, uint8_t inputChannel) { output = k * input + c; notify(); } JsonObject& Lin...
20.942308
79
0.58494
[ "object" ]
a7b6755686dc0fcc70a516c8dc706677c84afffe
3,531
hpp
C++
include/dialogs/LoadNukeProjDialog.hpp
vinben/Rotopp
f0c25db5bd25074c55ff0f67539a2452d92aaf72
[ "Unlicense" ]
47
2016-07-27T07:22:06.000Z
2021-08-17T13:08:19.000Z
include/dialogs/LoadNukeProjDialog.hpp
vinben/Rotopp
f0c25db5bd25074c55ff0f67539a2452d92aaf72
[ "Unlicense" ]
1
2016-09-24T06:04:39.000Z
2016-09-25T10:34:19.000Z
include/dialogs/LoadNukeProjDialog.hpp
vinben/Rotopp
f0c25db5bd25074c55ff0f67539a2452d92aaf72
[ "Unlicense" ]
13
2016-07-27T10:44:35.000Z
2020-07-01T21:08:33.000Z
/************************************************************************** ** This file is a part of our work (Siggraph'16 paper, binary, code and dataset): ** ** Roto++: Accelerating Professional Rotoscoping using Shape Manifolds ** Wenbin Li, Fabio Viola, Jonathan Starck, Gabriel J. Brostow and Neill D.F. Campbell *...
32.394495
86
0.708864
[ "shape" ]
a7b71d30cb97a7a0c49bdeb3fa9c5cf2a62a2ee4
5,548
cpp
C++
CSPong/AppSource/Game/Camera/CameraTiltComponent.cpp
angelahnicole/Benchmarking-CSPong
7efa0913410919291ea8de9ee4d0c4993b5d761e
[ "MIT" ]
null
null
null
CSPong/AppSource/Game/Camera/CameraTiltComponent.cpp
angelahnicole/Benchmarking-CSPong
7efa0913410919291ea8de9ee4d0c4993b5d761e
[ "MIT" ]
null
null
null
CSPong/AppSource/Game/Camera/CameraTiltComponent.cpp
angelahnicole/Benchmarking-CSPong
7efa0913410919291ea8de9ee4d0c4993b5d761e
[ "MIT" ]
null
null
null
// // CameraTiltComponent.cpp // CSPong // Created by Scott Downie on 02/07/2014. // // The MIT License (MIT) // // Copyright (c) 2014 Tag Games Limited // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to d...
43.007752
106
0.583814
[ "vector" ]
a7b98834ac4dc78eb0321b1d9c0aaab229230180
142,346
cpp
C++
libraries/ine-vm/tests/spec/const_tests.cpp
inery-blockchain/inery
2823539f76a0debae22b6783781b1374c63a59d8
[ "MIT" ]
null
null
null
libraries/ine-vm/tests/spec/const_tests.cpp
inery-blockchain/inery
2823539f76a0debae22b6783781b1374c63a59d8
[ "MIT" ]
null
null
null
libraries/ine-vm/tests/spec/const_tests.cpp
inery-blockchain/inery
2823539f76a0debae22b6783781b1374c63a59d8
[ "MIT" ]
null
null
null
#include <algorithm> #include <vector> #include <iostream> #include <iterator> #include <cmath> #include <cstdlib> #include <catch2/catch.hpp> #include <utils.hpp> #include <wasm_config.hpp> #include <inery/vm/backend.hpp> using namespace inery; using namespace inery::vm; extern wasm_allocator wa; BACKEND_TEST_CASE( ...
42.390113
118
0.713592
[ "vector" ]
a7bb6e94c954e0ee074e1f2a010f559242faff4d
5,828
cc
C++
src/sst/elements/simpleElementExample/basicClocks.cc
sudhanshu2/sst-elements
d658e5e4b26e5725488f9e93528506ddb22072ee
[ "BSD-3-Clause" ]
58
2015-10-05T15:22:27.000Z
2022-03-31T01:58:36.000Z
src/sst/elements/simpleElementExample/basicClocks.cc
sudhanshu2/sst-elements
d658e5e4b26e5725488f9e93528506ddb22072ee
[ "BSD-3-Clause" ]
1,453
2015-10-07T14:51:06.000Z
2022-03-31T22:22:28.000Z
src/sst/elements/simpleElementExample/basicClocks.cc
sudhanshu2/sst-elements
d658e5e4b26e5725488f9e93528506ddb22072ee
[ "BSD-3-Clause" ]
109
2015-10-16T22:03:10.000Z
2022-03-22T23:21:32.000Z
// Copyright 2009-2021 NTESS. Under the terms // of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // // Copyright (c) 2009-2021, NTESS // All rights reserved. // // Portions are copyright of other developers: // See the file CONTRIBUTORS.TXT in the top level directory...
38.596026
166
0.688572
[ "object" ]
a7c0b55243f07cbc1e3673a04284851594ae9612
11,108
cpp
C++
demos/demo_scenerender_json/demo_scenerender_json.cpp
walkfish8/scenerender
89518cbbcad38d2db5e586648025e772dcbbee42
[ "MIT" ]
3
2019-04-16T15:45:44.000Z
2020-03-29T02:29:07.000Z
demos/demo_scenerender_json/demo_scenerender_json.cpp
walkfish8/scenerender
89518cbbcad38d2db5e586648025e772dcbbee42
[ "MIT" ]
null
null
null
demos/demo_scenerender_json/demo_scenerender_json.cpp
walkfish8/scenerender
89518cbbcad38d2db5e586648025e772dcbbee42
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include "json\json.h" #include "timer.h" #include "logger.h" #include "scenerender.h" #include <chrono> #include <Windows.h> std::vector<std::string> FindFilesInDirectory(const std::string& _dir, const std::string& _format); std::string FileName(const std::string& _file_path...
40.838235
163
0.593806
[ "vector", "model" ]
a7c95b34a76a1b098a96c10fd63a64c84635a7ae
2,504
cpp
C++
deps/libgeos/geos/src/index/sweepline/SweepLineEvent_index.cpp
khrushjing/node-gdal-async
6546b0c8690f2db677d5385b40b407523503b314
[ "Apache-2.0" ]
42
2021-03-26T17:34:52.000Z
2022-03-18T14:15:31.000Z
deps/libgeos/geos/src/index/sweepline/SweepLineEvent_index.cpp
khrushjing/node-gdal-async
6546b0c8690f2db677d5385b40b407523503b314
[ "Apache-2.0" ]
29
2021-06-03T14:24:01.000Z
2022-03-23T15:43:58.000Z
deps/libgeos/geos/src/index/sweepline/SweepLineEvent_index.cpp
khrushjing/node-gdal-async
6546b0c8690f2db677d5385b40b407523503b314
[ "Apache-2.0" ]
8
2021-05-14T19:26:37.000Z
2022-03-21T13:44:42.000Z
/********************************************************************** * * GEOS - Geometry Engine Open Source * http://geos.osgeo.org * * Copyright (C) 2006 Refractions Research Inc. * Copyright (C) 2001-2002 Vivid Solutions Inc. * * This is free software; you can redistribute and/or modify it under * the ter...
19.873016
99
0.618211
[ "geometry" ]
a7cc1a6e1d08a16d879c7f5d39b75cc93b189abc
2,811
cc
C++
engine/collision/planeExtractor.cc
ClayHanson/B4v21-Public-Repo
c812aa7bf2ecb267e02969c85f0c9c2a29be0d28
[ "MIT" ]
1
2020-08-18T19:45:34.000Z
2020-08-18T19:45:34.000Z
engine/collision/planeExtractor.cc
ClayHanson/B4v21-Launcher-Public-Repo
c812aa7bf2ecb267e02969c85f0c9c2a29be0d28
[ "MIT" ]
null
null
null
engine/collision/planeExtractor.cc
ClayHanson/B4v21-Launcher-Public-Repo
c812aa7bf2ecb267e02969c85f0c9c2a29be0d28
[ "MIT" ]
null
null
null
//----------------------------------------------------------------------------- // Torque Game Engine // Copyright (C) GarageGames.com, Inc. //----------------------------------------------------------------------------- #include "platform/platform.h" #include "dgl/dgl.h" #include "math/mMath.h" #include "console/cons...
23.822034
79
0.563501
[ "render", "transform" ]