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
489feab8fc2b45c5c00da203e917f42ee0b19882
65,386
cpp
C++
src/engine/shader/shader.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
2
2019-06-22T23:29:44.000Z
2019-07-07T18:34:04.000Z
src/engine/shader/shader.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
null
null
null
src/engine/shader/shader.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
null
null
null
/** * @file shader.cpp * @brief Implementation of Shader.h * @author Frederic SCHERMA (frederic.scherma@dreamoverflow.org) * @author Emmanuel RUFFIO (emmanuel.ruffio@gmail.com) * @date 2005-10-19 * @copyright Copyright (c) 2001-2017 Dream Overflow. All rights reserved. * @details */ #include "o3d/engine/prec...
34.305352
192
0.660264
[ "geometry", "object", "vector", "transform" ]
48a2e0ca4789575b14126d132be9913286991540
8,143
hpp
C++
attic/test/Aligned_Allocator.hpp
grassofsky/llfio
8b27842c25c47fd49ab64209463fc23268270975
[ "Apache-2.0" ]
356
2018-07-09T23:00:22.000Z
2022-03-27T11:41:35.000Z
attic/test/Aligned_Allocator.hpp
grassofsky/llfio
8b27842c25c47fd49ab64209463fc23268270975
[ "Apache-2.0" ]
80
2018-07-22T13:05:36.000Z
2022-01-12T11:34:57.000Z
attic/test/Aligned_Allocator.hpp
grassofsky/llfio
8b27842c25c47fd49ab64209463fc23268270975
[ "Apache-2.0" ]
35
2018-11-08T20:44:11.000Z
2022-02-27T16:03:01.000Z
/* * File: Aligned_Allocator.hpp * Author: atlas * * Created on July 5, 2013, 6:52 PM Boost Software License - Version 1.0 - August 17th, 2003 Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (th...
31.319231
121
0.702812
[ "object", "vector" ]
48aa0da766541465201f066a59a1eef04d55aca0
10,729
hpp
C++
src/collision_tensor/dense/storage/vbcrs_sparsity.hpp
simonpintarelli/2dBoltzmann
bc6b7bbeffa242ce80937947444383b416ba3fc9
[ "BSD-3-Clause" ]
null
null
null
src/collision_tensor/dense/storage/vbcrs_sparsity.hpp
simonpintarelli/2dBoltzmann
bc6b7bbeffa242ce80937947444383b416ba3fc9
[ "BSD-3-Clause" ]
null
null
null
src/collision_tensor/dense/storage/vbcrs_sparsity.hpp
simonpintarelli/2dBoltzmann
bc6b7bbeffa242ce80937947444383b416ba3fc9
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <boost/assert.hpp> #include <iostream> #include <map> #include <ostream> #include <tuple> #include <vector> #include "enum/enum.hpp" #include "aux/filtered_range.hpp" namespace boltzmann { namespace ct_dense { /** * @brief Variable sized block compressed row storage format. E.g. CSR made up o...
29.802778
98
0.670426
[ "vector" ]
48ad00bea17bf3c58757ecf7c756cf03472a214f
5,431
cpp
C++
src/model/Document.cpp
rizwanniazigroupdocs/aspose-slides-cloud-cpp
f668947a72f717a955bc4579537e853b9e43eb45
[ "MIT" ]
null
null
null
src/model/Document.cpp
rizwanniazigroupdocs/aspose-slides-cloud-cpp
f668947a72f717a955bc4579537e853b9e43eb45
[ "MIT" ]
null
null
null
src/model/Document.cpp
rizwanniazigroupdocs/aspose-slides-cloud-cpp
f668947a72f717a955bc4579537e853b9e43eb45
[ "MIT" ]
1
2020-12-25T16:15:58.000Z
2020-12-25T16:15:58.000Z
// -------------------------------------------------------------------------------------------------------------------- // <copyright company="Aspose" file="ApiBase.cs"> // Copyright (c) 2020 Aspose.Slides for Cloud // </copyright> // <summary> // Permission is hereby granted, free of charge, to any person obtaining...
29.042781
119
0.710551
[ "model" ]
48ad17c90c18a2e85455550e2a99da9fe4aafc05
98,669
cpp
C++
src/DuMMForceFieldSubsystem.cpp
samuelflores/molmodel
d05a5b69fe0717ba4d9720023bff5a61d206c36f
[ "MIT" ]
null
null
null
src/DuMMForceFieldSubsystem.cpp
samuelflores/molmodel
d05a5b69fe0717ba4d9720023bff5a61d206c36f
[ "MIT" ]
1
2020-12-09T16:45:16.000Z
2020-12-09T16:56:52.000Z
src/DuMMForceFieldSubsystem.cpp
samuelflores/molmodel
d05a5b69fe0717ba4d9720023bff5a61d206c36f
[ "MIT" ]
4
2020-06-23T18:24:37.000Z
2021-04-29T14:44:25.000Z
/* -------------------------------------------------------------------------- * * SimTK Molmodel(tm) * * -------------------------------------------------------------------------- * * This is part of the SimTK biosimulation toolkit originating from ...
42.584808
149
0.664008
[ "vector", "model", "transform" ]
48b03782181094367aa8f5b74f99c5f7c853b931
33,479
cpp
C++
Mac/SolunaAlgorithm/SolunaAlgorithm/main.cpp
FrickHazard/SolunaAlgorithm
735feadcc6990853451ea598adda8bf373bc3f21
[ "MIT" ]
null
null
null
Mac/SolunaAlgorithm/SolunaAlgorithm/main.cpp
FrickHazard/SolunaAlgorithm
735feadcc6990853451ea598adda8bf373bc3f21
[ "MIT" ]
null
null
null
Mac/SolunaAlgorithm/SolunaAlgorithm/main.cpp
FrickHazard/SolunaAlgorithm
735feadcc6990853451ea598adda8bf373bc3f21
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <stdio.h> #include <assert.h> #include <vector> #include <set> #include <map> #include <unordered_set> #include <unordered_map> #include <chrono> // copy of boosts hash_combine template <class T> inline void hash_combine(std::size_t& s, const T& v) { std::hash<T> h...
37.281737
216
0.575734
[ "vector" ]
48b5e069d3a9a49cfef795c0ade66ab8163b04f0
8,110
hpp
C++
openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/boost/1.69.0-r0/boost_1_69_0/boost/container/detail/pool_resource.hpp
sotaoverride/backup
ca53a10b72295387ef4948a9289cb78ab70bc449
[ "Apache-2.0" ]
null
null
null
openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/boost/1.69.0-r0/boost_1_69_0/boost/container/detail/pool_resource.hpp
sotaoverride/backup
ca53a10b72295387ef4948a9289cb78ab70bc449
[ "Apache-2.0" ]
null
null
null
openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/boost/1.69.0-r0/boost_1_69_0/boost/container/detail/pool_resource.hpp
sotaoverride/backup
ca53a10b72295387ef4948a9289cb78ab70bc449
[ "Apache-2.0" ]
null
null
null
////////////////////////////////////////////////////////////////////////////// // // (C) Copyright Ion Gaztanaga 2015-2015. 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) // // See http://www.boost.org/libs/contain...
38.075117
80
0.661776
[ "object" ]
48bc102af7c156ac3b3abf4bf6019fc244dd52de
8,268
cpp
C++
HomeController/IRController.cpp
Yurik72/ESPHomeController
89561ee27c4e8d847dc1c3d6505dfc6436514a91
[ "MIT" ]
24
2019-03-02T20:21:15.000Z
2022-01-04T18:34:05.000Z
HomeController/IRController.cpp
Yurik72/ESPHomeController
89561ee27c4e8d847dc1c3d6505dfc6436514a91
[ "MIT" ]
null
null
null
HomeController/IRController.cpp
Yurik72/ESPHomeController
89561ee27c4e8d847dc1c3d6505dfc6436514a91
[ "MIT" ]
5
2019-09-20T10:11:22.000Z
2021-12-10T05:12:31.000Z
#include <Arduino.h> #include <ArduinoJson.h> #ifdef ESP32 #include <IRremote.h> #endif #ifdef ESP8266 #include <IRremoteESP8266.h> #include <IRrecv.h> #include <IRutils.h> #endif #include "config.h" #include "RCSwitch.h" #include "IRController.h" //REGISTER_CONTROLLER(RFController) #ifndef DISABLE_IR REGISTER_CONTR...
26.415335
125
0.723149
[ "object" ]
48bd887dbdda22aba70e29dbd38051458fa18a7c
7,983
hpp
C++
src/include/class_loader/constant_pool.hpp
claudiosegala/jvm
2e659c3e171283035fbac3ac7590b3afc9a96d9b
[ "MIT" ]
7
2018-04-24T12:15:04.000Z
2020-10-01T07:32:15.000Z
src/include/class_loader/constant_pool.hpp
claudiosegala/jvm
2e659c3e171283035fbac3ac7590b3afc9a96d9b
[ "MIT" ]
11
2018-05-05T18:53:15.000Z
2019-10-25T01:34:41.000Z
src/include/class_loader/constant_pool.hpp
claudiosegala/jvm
2e659c3e171283035fbac3ac7590b3afc9a96d9b
[ "MIT" ]
7
2018-05-05T20:15:47.000Z
2021-04-06T06:22:58.000Z
#pragma once #include "base.hpp" #include "util/reader.hpp" #include "util/JvmException.hpp" namespace jvm { enum CP_TAGS : uint8_t { Class = 7, FieldRef = 9, MethodRef = 10, InterfaceMethodRef = 11, String = 8, Integer = 3, Float ...
22.74359
108
0.662032
[ "vector" ]
48c7ddc89728ab47eecc5fa1dba18bb8e251057e
2,304
ipp
C++
include/geo/sphere.ipp
snsinfu/geo
ec7d35ce07a778864e6818d6ca32ee1eaae4ae5c
[ "BSL-1.0" ]
null
null
null
include/geo/sphere.ipp
snsinfu/geo
ec7d35ce07a778864e6818d6ca32ee1eaae4ae5c
[ "BSL-1.0" ]
null
null
null
include/geo/sphere.ipp
snsinfu/geo
ec7d35ce07a778864e6818d6ca32ee1eaae4ae5c
[ "BSL-1.0" ]
null
null
null
// 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 "assert.hpp" #include "box.hpp" #include "sphere.hpp" namespace geo { // Creation ------------------------------------------------------------ temp...
26.482759
88
0.552517
[ "vector" ]
48ca115bd2d9277878c207e20e0747637ddf2085
1,069
cpp
C++
cannon/graphics/light_collection.cpp
cannontwo/cannon
4be79f3a6200d1a3cd26c28c8f2250dbdf08f267
[ "MIT" ]
null
null
null
cannon/graphics/light_collection.cpp
cannontwo/cannon
4be79f3a6200d1a3cd26c28c8f2250dbdf08f267
[ "MIT" ]
46
2021-01-12T23:03:52.000Z
2021-10-01T17:29:01.000Z
cannon/graphics/light_collection.cpp
cannontwo/cannon
4be79f3a6200d1a3cd26c28c8f2250dbdf08f267
[ "MIT" ]
null
null
null
#include <cannon/graphics/light_collection.hpp> #include <cannon/graphics/shader_program.hpp> using namespace cannon::graphics; void LightCollection::apply(std::shared_ptr<geometry::DrawableGeom> g) const { g->program->set_uniform("num_point_lights", (int)point_lights_.size()); g->program->set_uniform("num_spotl...
28.131579
78
0.680075
[ "geometry" ]
48d27d643ee300d812f5e1e5ce7cfa1dff5b6a0b
1,367
hpp
C++
include/ny/wayland/bufferSurface.hpp
nyorain/ny
9349a6f668a9458d3a37b76bb3cd1e5c679d16ad
[ "BSL-1.0" ]
18
2015-12-14T09:04:06.000Z
2021-11-14T20:38:17.000Z
include/ny/wayland/bufferSurface.hpp
nyorain/ny
9349a6f668a9458d3a37b76bb3cd1e5c679d16ad
[ "BSL-1.0" ]
2
2015-06-26T09:26:05.000Z
2019-04-02T09:05:12.000Z
include/ny/wayland/bufferSurface.hpp
nyorain/ny
9349a6f668a9458d3a37b76bb3cd1e5c679d16ad
[ "BSL-1.0" ]
2
2017-08-23T06:04:26.000Z
2019-11-27T01:48:02.000Z
// Copyright (c) 2015-2018 nyorain // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt #pragma once #include <ny/wayland/include.hpp> #include <ny/wayland/windowContext.hpp> #include <ny/bufferSurface.hpp> #include <nytl/vec.h...
27.34
83
0.775421
[ "vector" ]
48d3c317dace4da20f87c557d37242959a3c9889
3,799
cpp
C++
resources/ModelImporter.cpp
ibequa/flexo
93b9b1287f33bd3420e33bf4a7bc5961d680b5e1
[ "MIT" ]
null
null
null
resources/ModelImporter.cpp
ibequa/flexo
93b9b1287f33bd3420e33bf4a7bc5961d680b5e1
[ "MIT" ]
null
null
null
resources/ModelImporter.cpp
ibequa/flexo
93b9b1287f33bd3420e33bf4a7bc5961d680b5e1
[ "MIT" ]
null
null
null
// // ModelImporter.cpp // Flexo // // Created by Ilya on 06/05/16. // Copyright © 2016 Flexo. All rights reserved. // #include <assert.h> #include <OpenGL/gltypes.h> #include <assimp/Importer.hpp> #include <assimp/postprocess.h> #include "ModelImporter.hpp" #include "MaterialInfoImported.hpp" #include "DefaultMa...
36.180952
152
0.637273
[ "mesh", "model" ]
48d4b5350aab0a39d59907232849180456b3bdd9
1,139
cpp
C++
Source/FpsFramework/CMagazine.cpp
shanefarris/CoreGameEngine
5bef275d1cd4e84aa059f2f4f9e97bfa2414d000
[ "MIT" ]
3
2019-04-12T15:22:53.000Z
2022-01-05T02:59:56.000Z
Source/FpsFramework/CMagazine.cpp
shanefarris/CoreGameEngine
5bef275d1cd4e84aa059f2f4f9e97bfa2414d000
[ "MIT" ]
null
null
null
Source/FpsFramework/CMagazine.cpp
shanefarris/CoreGameEngine
5bef275d1cd4e84aa059f2f4f9e97bfa2414d000
[ "MIT" ]
2
2019-04-10T22:46:21.000Z
2020-05-27T16:21:37.000Z
#include "CMagazine.h" #include "CProjectile.h" using namespace Core; CMagazine::CMagazine(const CMagazineProfile& Profile, CWeapon* Weapon) : m_Node(nullptr), m_Entity(nullptr), m_Weapon(Weapon), m_Profile(Profile) { m_Count = Profile.Capacity; // TODO: make dynamic (could pick up on the field and half of th...
23.244898
113
0.731343
[ "vector" ]
48d6ba4836e46c6742cf024fe734330abbed8fd0
1,367
cpp
C++
test/test-oeconvert.cpp
orbitalVelocity/orbitutils
06ad5ca39c091542a017494e8c6cbbde039d4ac0
[ "MIT" ]
null
null
null
test/test-oeconvert.cpp
orbitalVelocity/orbitutils
06ad5ca39c091542a017494e8c6cbbde039d4ac0
[ "MIT" ]
null
null
null
test/test-oeconvert.cpp
orbitalVelocity/orbitutils
06ad5ca39c091542a017494e8c6cbbde039d4ac0
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdio> #include <vector> #include "orbitalelements.h" #include "oeconvert.h" int main() { double grav_param = 2; std::vector<double> rv0(6); rv0[0] = 10; rv0[1] = 2; rv0[2] = 3; rv0[3] = 0.01; rv0[4] = 0.3; rv0[5] = 0.05; OrbitalElements oe0; oe0.sma = 7.04909391142183;...
31.790698
62
0.623263
[ "vector" ]
48d6baf1af73cfec388f0afcb95e6cc6ee61e4fd
4,600
hpp
C++
sparta/sparta/statistics/BasicHistogram.hpp
debjyoti0891/map
abdae67964420d7d36255dcbf83e4240a1ef4295
[ "MIT" ]
44
2019-12-13T06:39:13.000Z
2022-03-29T23:09:28.000Z
sparta/sparta/statistics/BasicHistogram.hpp
debjyoti0891/map
abdae67964420d7d36255dcbf83e4240a1ef4295
[ "MIT" ]
222
2020-01-14T21:58:56.000Z
2022-03-31T20:05:12.000Z
sparta/sparta/statistics/BasicHistogram.hpp
debjyoti0891/map
abdae67964420d7d36255dcbf83e4240a1ef4295
[ "MIT" ]
19
2020-01-03T19:03:22.000Z
2022-01-09T08:36:20.000Z
// <BasicHistogram.h> -*- C++ -*- /** * \file BasicHistogram.hpp * \brief A simple histogram with programmable ranges, using sparta::Counters */ #pragma once #include <string> #include <vector> #include <sstream> #include "sparta/statistics/Counter.hpp" namespace sparta { /** * \class BasicHistogram * \tparam B...
36.220472
123
0.621522
[ "object", "vector" ]
48e328eac0451f2c2519c8277a4d6359312f5af7
8,243
cc
C++
alljoyn/services/time/cpp/src/common/TimeServiceTimerUtility.cc
octoblu/alljoyn
a74003fa25af1d0790468bf781a4d49347ec05c4
[ "ISC" ]
37
2015-01-18T21:27:23.000Z
2018-01-12T00:33:43.000Z
alljoyn/services/time/cpp/src/common/TimeServiceTimerUtility.cc
octoblu/alljoyn
a74003fa25af1d0790468bf781a4d49347ec05c4
[ "ISC" ]
14
2015-02-24T11:44:01.000Z
2020-07-20T18:48:44.000Z
alljoyn/services/time/cpp/src/common/TimeServiceTimerUtility.cc
octoblu/alljoyn
a74003fa25af1d0790468bf781a4d49347ec05c4
[ "ISC" ]
29
2015-01-23T16:40:52.000Z
2019-10-21T12:22:30.000Z
/****************************************************************************** * Copyright AllSeen Alliance. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and th...
24.387574
127
0.652432
[ "object" ]
48e360a927b403f4c8e7ea155b2e0d3a6e492767
7,649
hpp
C++
ppmToBmp.hpp
PhilipNelson5/utils
03446cae6278b8fe1e835b28b6bfaf81ed891db2
[ "MIT" ]
null
null
null
ppmToBmp.hpp
PhilipNelson5/utils
03446cae6278b8fe1e835b28b6bfaf81ed891db2
[ "MIT" ]
null
null
null
ppmToBmp.hpp
PhilipNelson5/utils
03446cae6278b8fe1e835b28b6bfaf81ed891db2
[ "MIT" ]
null
null
null
#ifndef PPM_TO_BMP_HPP #define PPM_TO_BMP_HPP #include <cstdint> #include <fstream> #include <iostream> #include <string> #include <vector> /** * @author Bryan Hansen * @author Erik Falor * @author Philip Nelson * @date 10/9/2017 * * @history * 10/16/17 Fixed padding in generated BMP for non-word aligned size...
35.412037
89
0.681135
[ "vector" ]
48e551a89d8b2a92823d986e979f6cc492af2c78
9,018
cpp
C++
cpp/typer.cpp
nilern/brmh
db69e8ae0303eca6311db6871cace84517bd1124
[ "MIT" ]
1
2021-12-27T12:39:37.000Z
2021-12-27T12:39:37.000Z
cpp/typer.cpp
nilern/brmh
db69e8ae0303eca6311db6871cace84517bd1124
[ "MIT" ]
null
null
null
cpp/typer.cpp
nilern/brmh
db69e8ae0303eca6311db6871cace84517bd1124
[ "MIT" ]
null
null
null
#include <cstring> #include "type.hpp" #include "ast.hpp" #include "typeenv.hpp" #include "fast.hpp" namespace brmh { // # Program fast::Program ast::Program::check(Names& names, type::Types& types) { fast::Program program; TypeEnv env(names, types); for (auto def : defs) { def->declare(env); ...
31.642105
115
0.625305
[ "vector" ]
48ee9819cbc1dc023f3510981f2092042c298c4c
92,737
cc
C++
EnergyPlus/BranchNodeConnections.cc
yurigabrich/EnergyPlusShadow
396ca83aa82b842e6b177ba35c91b3f481dfbbf9
[ "BSD-3-Clause" ]
null
null
null
EnergyPlus/BranchNodeConnections.cc
yurigabrich/EnergyPlusShadow
396ca83aa82b842e6b177ba35c91b3f481dfbbf9
[ "BSD-3-Clause" ]
1
2020-07-08T13:32:09.000Z
2020-07-08T13:32:09.000Z
EnergyPlus/BranchNodeConnections.cc
yurigabrich/EnergyPlusShadow
396ca83aa82b842e6b177ba35c91b3f481dfbbf9
[ "BSD-3-Clause" ]
null
null
null
// EnergyPlus, Copyright (c) 1996-2018, The Board of Trustees of the University of Illinois, // The Regents of the University of California, through Lawrence Berkeley National Laboratory // (subject to receipt of any required approvals from the U.S. Dept. of Energy), Oak Ridge // National Laboratory, managed by UT-Batt...
48.91192
150
0.569956
[ "object" ]
48ef59d75d53ac1a60e9f1841efdd59d5299017a
24,686
cpp
C++
data-server/src/range/lock.cpp
gengdaomi/sharkstore
1b490176846d2da98ceca07a69b6c35646567a28
[ "Apache-2.0" ]
1
2021-08-11T02:31:52.000Z
2021-08-11T02:31:52.000Z
data-server/src/range/lock.cpp
gengdaomi/sharkstore
1b490176846d2da98ceca07a69b6c35646567a28
[ "Apache-2.0" ]
null
null
null
data-server/src/range/lock.cpp
gengdaomi/sharkstore
1b490176846d2da98ceca07a69b6c35646567a28
[ "Apache-2.0" ]
null
null
null
#include "range.h" #include "base/util.h" #include "server/range_server.h" #include "range_logger.h" namespace sharkstore { namespace dataserver { namespace range { namespace lock { void EncodeKey(std::string* buf, uint64_t tableId, const std::string* key) { assert(buf != nullptr && buf->length()...
35.570605
126
0.569027
[ "vector" ]
f705828499d55be41dd08afe7ca55b74f7dfc85b
3,585
cpp
C++
src/demo_framework/src/AgentPath.cpp
werchou/ai-programming-with-lua
d9290fde56c01839e75bb2ea7d13c8f6c3594f5e
[ "Zlib" ]
2
2021-03-31T07:25:53.000Z
2021-04-19T14:06:37.000Z
src/demo_framework/src/AgentPath.cpp
werchou/ai-programming-with-lua
d9290fde56c01839e75bb2ea7d13c8f6c3594f5e
[ "Zlib" ]
null
null
null
src/demo_framework/src/AgentPath.cpp
werchou/ai-programming-with-lua
d9290fde56c01839e75bb2ea7d13c8f6c3594f5e
[ "Zlib" ]
1
2021-02-22T04:38:57.000Z
2021-02-22T04:38:57.000Z
/** * Copyright (c) 2013 David Young dayoung@goliathdesigns.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 use this software for any purpose,...
26.753731
79
0.709623
[ "vector" ]
f706f98a922cf4989fb9005474bc5a3be62fd99e
262
cpp
C++
leetcode/189/main.cpp
yukienomiya/competitive-programming
6f5e502ba66da2f62fb37aaa786a841f64bb192a
[ "MIT" ]
null
null
null
leetcode/189/main.cpp
yukienomiya/competitive-programming
6f5e502ba66da2f62fb37aaa786a841f64bb192a
[ "MIT" ]
null
null
null
leetcode/189/main.cpp
yukienomiya/competitive-programming
6f5e502ba66da2f62fb37aaa786a841f64bb192a
[ "MIT" ]
null
null
null
#include <vector> using namespace std; class Solution { public: void rotate(vector<int> &nums, int k) { vector<int> nums2 = nums; int l = size(nums); for (int i = 0; i < l; i++) { nums2[(i + k) % l] = nums[i]; } nums = nums2; } };
17.466667
41
0.530534
[ "vector" ]
f7078ae937e0af8b8789ceb0d42ab71f1a98d9b2
20,494
cpp
C++
inetsrv/iis/svcs/infocomm/log/comlog/context.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetsrv/iis/svcs/infocomm/log/comlog/context.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetsrv/iis/svcs/infocomm/log/comlog/context.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*++ Copyright (c) 1995-1996 Microsoft Corporation Module Name : Context.cxx Abstract: The file contains the implementation of the Context object. A context job is an object which stored in the logging request queue. Author: Terence Kwan ( terryk ) ...
23.637832
107
0.459305
[ "object" ]
f7088db4855d8829ef3f09a6698fea8c77c96bd4
1,562
cpp
C++
src/ftxui/component/menu_test.cpp
azchatlanin/FTXUI
cdd63398493559238cf7c93bb76a4e6401696db3
[ "MIT" ]
1
2022-01-24T23:53:32.000Z
2022-01-24T23:53:32.000Z
src/ftxui/component/menu_test.cpp
azchatlanin/FTXUI
cdd63398493559238cf7c93bb76a4e6401696db3
[ "MIT" ]
null
null
null
src/ftxui/component/menu_test.cpp
azchatlanin/FTXUI
cdd63398493559238cf7c93bb76a4e6401696db3
[ "MIT" ]
null
null
null
#include <gtest/gtest-message.h> // for Message #include <gtest/gtest-test-part.h> // for TestPartResult, SuiteApiResolver, TestFactoryImpl #include <memory> // for allocator, __shared_ptr_access, shared_ptr #include <string> // for string, basic_string #include <vector> // for vector #include "ftxui/component/ca...
31.877551
92
0.713828
[ "render", "vector" ]
f70cbba67c33b8cf30602275f3883337e7b1fac7
12,830
cpp
C++
main.cpp
hensm/ddccli
300d01e43628e222bc8dddf5423da7717d10ccf8
[ "MIT" ]
33
2019-12-31T10:48:56.000Z
2022-03-31T14:57:41.000Z
main.cpp
hensm/ddccli
300d01e43628e222bc8dddf5423da7717d10ccf8
[ "MIT" ]
4
2019-02-02T20:07:35.000Z
2021-08-31T03:16:10.000Z
main.cpp
hensm/ddccli
300d01e43628e222bc8dddf5423da7717d10ccf8
[ "MIT" ]
2
2021-08-31T09:39:56.000Z
2022-01-13T01:32:28.000Z
/* Copyright (c) 2018 Matt Hensman <m@matt.tf> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, d...
31.446078
91
0.537178
[ "vector" ]
f7153b607ec7dc049ebb66a60814b44499246659
6,713
cc
C++
systems/rendering/test/pose_vector_test.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
2
2021-02-25T02:01:02.000Z
2021-03-17T04:52:04.000Z
systems/rendering/test/pose_vector_test.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
null
null
null
systems/rendering/test/pose_vector_test.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
1
2021-06-13T12:05:39.000Z
2021-06-13T12:05:39.000Z
#include "drake/systems/rendering/pose_vector.h" #include <memory> #include <sstream> #include <string> #include <vector> #include <Eigen/Dense> #include <Eigen/Geometry> #include <gtest/gtest.h> #include "drake/common/symbolic.h" #include "drake/common/test_utilities/eigen_matrix_compare.h" #include "drake/common/t...
33.733668
80
0.628929
[ "geometry", "vector" ]
f7287955b80a131cddf68ce7b3dbfe4426ee4bc4
5,359
cpp
C++
tests/util_test.cpp
sheny1xuan/casbin-cpp
5fd4056277d9ddb433b8db53dc5edd0a1a8a1237
[ "Apache-2.0" ]
null
null
null
tests/util_test.cpp
sheny1xuan/casbin-cpp
5fd4056277d9ddb433b8db53dc5edd0a1a8a1237
[ "Apache-2.0" ]
null
null
null
tests/util_test.cpp
sheny1xuan/casbin-cpp
5fd4056277d9ddb433b8db53dc5edd0a1a8a1237
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2021 The casbin 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 ...
46.6
167
0.61672
[ "vector" ]
f72d90f82e952ba892d9c92c63582cfc73a57482
3,126
cpp
C++
OrderMGMT.cpp
Jackie890621/Order-management
099f8e44d4d48cd5dc9a67427f8a4503d4392eed
[ "MIT" ]
null
null
null
OrderMGMT.cpp
Jackie890621/Order-management
099f8e44d4d48cd5dc9a67427f8a4503d4392eed
[ "MIT" ]
null
null
null
OrderMGMT.cpp
Jackie890621/Order-management
099f8e44d4d48cd5dc9a67427f8a4503d4392eed
[ "MIT" ]
null
null
null
#include "OrderMGMT.h" // Function to insert a new order. // date: Date of a order. // id: Order ID. node *insert(node *Root, unsigned id, unsigned date) { node *current; if (Root == NULL) { current = (node *)malloc(sizeof(node)); assert(current != NULL); data.push_back(date); current->date = ...
23.328358
107
0.565579
[ "vector" ]
f7366abfe523be014c3c4da44f16165e80d97bbf
3,621
cpp
C++
src/AglImagePool.cpp
philiphubbard/Agl
7ee5c6911d4cf2199f1ebf56f28d01d3e051e789
[ "MIT" ]
1
2016-04-09T00:41:41.000Z
2016-04-09T00:41:41.000Z
src/AglImagePool.cpp
philiphubbard/Agl
7ee5c6911d4cf2199f1ebf56f28d01d3e051e789
[ "MIT" ]
null
null
null
src/AglImagePool.cpp
philiphubbard/Agl
7ee5c6911d4cf2199f1ebf56f28d01d3e051e789
[ "MIT" ]
null
null
null
// Copyright (c) 2013 Philip M. Hubbard // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publ...
29.680328
80
0.562276
[ "vector" ]
f73bab9a1a5413dddf71c1369d5415d431d78f2c
1,331
cpp
C++
test/unit/test_itertools.cpp
mdklatt/pypp
4b17bdf8d57b777d6f22c0f359ce5e93bd81c5bc
[ "MIT" ]
null
null
null
test/unit/test_itertools.cpp
mdklatt/pypp
4b17bdf8d57b777d6f22c0f359ce5e93bd81c5bc
[ "MIT" ]
null
null
null
test/unit/test_itertools.cpp
mdklatt/pypp
4b17bdf8d57b777d6f22c0f359ce5e93bd81c5bc
[ "MIT" ]
null
null
null
/** * Test suite for the itertools module. * * Link all test files with the `gtest_main` library to create a command line * test runner. */ #include <iterator> #include <exception> #include <limits> #include <vector> #include <gtest/gtest.h> #include "pypp/pypp.hpp" using namespace pypp::itertools; using std::b...
21.467742
77
0.623591
[ "vector" ]
f740ce52d46d9836f3b6a5447301b8769863d9f4
1,131
cpp
C++
LeetCode/100/606.cpp
K-ona/C-_Training
d54970f7923607bdc54fc13677220d1b3daf09e5
[ "Apache-2.0" ]
null
null
null
LeetCode/100/606.cpp
K-ona/C-_Training
d54970f7923607bdc54fc13677220d1b3daf09e5
[ "Apache-2.0" ]
null
null
null
LeetCode/100/606.cpp
K-ona/C-_Training
d54970f7923607bdc54fc13677220d1b3daf09e5
[ "Apache-2.0" ]
null
null
null
// created by Kona @VSCode #include <algorithm> #include <iostream> #include <map> #include <string> #include <queue> #include <vector> #include <string.h> #define LOCAL_TEST typedef long long ll; using std::cin; using std::cout; using std::endl; using std::map; using std::queue; using std::string; using std::vector;...
17.4
59
0.597701
[ "vector" ]
f7460860d4a78d516ba70f570d9c2d9638c3c969
9,466
cpp
C++
src/hit/api/linearalgebra/encryptedrowvector.cpp
SalusaSecondus/homomorphic-implementors-toolkit
b7775b77cb0ff4ff42a1b47bf958bb0e3c75fb9b
[ "Apache-2.0" ]
38
2020-12-02T12:43:16.000Z
2022-03-15T19:27:39.000Z
src/hit/api/linearalgebra/encryptedrowvector.cpp
SalusaSecondus/homomorphic-implementors-toolkit
b7775b77cb0ff4ff42a1b47bf958bb0e3c75fb9b
[ "Apache-2.0" ]
15
2020-12-03T05:04:12.000Z
2021-08-20T21:26:27.000Z
src/hit/api/linearalgebra/encryptedrowvector.cpp
SalusaSecondus/homomorphic-implementors-toolkit
b7775b77cb0ff4ff42a1b47bf958bb0e3c75fb9b
[ "Apache-2.0" ]
6
2021-01-06T18:37:00.000Z
2021-09-20T06:43:13.000Z
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 #include "encryptedrowvector.h" #include <glog/logging.h> #include <algorithm> #include <execution> #include "common.h" using namespace std; namespace hit { EncryptedRowVector::EncryptedRowVector(int w...
40.801724
117
0.58895
[ "object", "vector" ]
f746e9b81325061ba7344c2de54b6e24f82a8318
4,342
cpp
C++
zzxcf/zzxcf.cpp
ZhangZexiao/ZhangZeXiaoCodeFormatter
609cb3dc3db9bff19fa7d410fdcd35331150c3ed
[ "MIT" ]
null
null
null
zzxcf/zzxcf.cpp
ZhangZexiao/ZhangZeXiaoCodeFormatter
609cb3dc3db9bff19fa7d410fdcd35331150c3ed
[ "MIT" ]
2
2018-05-02T04:42:22.000Z
2018-05-31T01:59:08.000Z
zzxcf/zzxcf.cpp
ZhangZexiao/ZhangZeXiaoCodeFormatter
609cb3dc3db9bff19fa7d410fdcd35331150c3ed
[ "MIT" ]
null
null
null
#include <algorithm> #include <cctype> #include <functional> #include <list> #include <locale> #include <map> #include <memory> #include <sstream> #include <stack> #include <string> #include <vector> #include <assert.h> #include <conio.h> #include <io.h> #include <stdio.h> #include <sys/stat.h> #includ...
38.767857
154
0.809535
[ "vector" ]
f7494fdefd9c7d5a868efb84b8a76ceb50eb0e08
38,982
cpp
C++
orchagent/p4orch/acl_util.cpp
pins/sonic-swss-public
4a443eaa33a3d354d99daa3c340cdcff882fc061
[ "Apache-2.0" ]
null
null
null
orchagent/p4orch/acl_util.cpp
pins/sonic-swss-public
4a443eaa33a3d354d99daa3c340cdcff882fc061
[ "Apache-2.0" ]
3
2021-11-19T21:46:50.000Z
2021-11-19T22:14:08.000Z
orchagent/p4orch/acl_util.cpp
pins/sonic-swss-public
4a443eaa33a3d354d99daa3c340cdcff882fc061
[ "Apache-2.0" ]
1
2021-11-19T19:42:07.000Z
2021-11-19T19:42:07.000Z
#include "p4orch/acl_util.h" #include "converter.h" #include "json.hpp" #include "logger.h" #include "sai_serialize.h" #include "table.h" #include "tokenize.h" namespace p4orch { std::string trim(const std::string& s) { size_t end = s.find_last_not_of(WHITESPACE); size_t start = s.find_first_not_of(WHITESPACE); ...
45.64637
80
0.654328
[ "vector" ]
f7528429212d9ca88dc27ea8e1e0848d125fbab0
2,476
cpp
C++
Glitter/Sources/main.cpp
reedlaw/breakout
702e912248576861116f9853a45ff54d9562e924
[ "MIT", "Unlicense" ]
2
2021-03-11T13:47:08.000Z
2021-04-12T23:57:42.000Z
Glitter/Sources/main.cpp
reedlaw/breakout
702e912248576861116f9853a45ff54d9562e924
[ "MIT", "Unlicense" ]
null
null
null
Glitter/Sources/main.cpp
reedlaw/breakout
702e912248576861116f9853a45ff54d9562e924
[ "MIT", "Unlicense" ]
null
null
null
// Local Headers #include "glitter.hpp" #include "shader.hpp" #include "game.hpp" // System Headers #include <glad/glad.h> #include <GLFW/glfw3.h> // Standard Headers #include <iostream> #include <cstdio> #include <cstdlib> Game Breakout(mWidth, mHeight); int main(int argc, char * argv[]) { // Load GLFW and Crea...
25.525773
114
0.696688
[ "render" ]
f75547577b2a9d6164cdb72e15c0a55fde9418df
2,509
cpp
C++
segmentation/Caffe_Segmentation/examples/seg/createFinalRes.cpp
USCDataScience/cmu-fg-bg-similarity
d8fc9a53937551f7a052bc2c6f442bcc29ea2615
[ "Apache-2.0" ]
8
2020-04-13T21:40:26.000Z
2022-01-22T11:32:31.000Z
segmentation/Caffe_Segmentation/examples/seg/createFinalRes.cpp
USCDataScience/cmu-fg-bg-similarity
d8fc9a53937551f7a052bc2c6f442bcc29ea2615
[ "Apache-2.0" ]
null
null
null
segmentation/Caffe_Segmentation/examples/seg/createFinalRes.cpp
USCDataScience/cmu-fg-bg-similarity
d8fc9a53937551f7a052bc2c6f442bcc29ea2615
[ "Apache-2.0" ]
null
null
null
/* * createFinalRes.cpp * * Created on: Dec 1, 2014 * Author: rohitgirdhar */ #include <glog/logging.h> #include <leveldb/db.h> #include <leveldb/write_batch.h> #include <algorithm> #include <string> #include <iostream> #include <fstream> #include <vector> #include <set> #include <algorithm> #include <libg...
25.343434
83
0.63053
[ "vector" ]
f75de404e24ab3a01009507ccb9928c3d0d47435
4,020
hpp
C++
lib/mtl4/boost/numeric/mtl/operation/qr.hpp
spraetor/amdis2
53c45c81a65752a8fafbb54f9ae6724a86639dcd
[ "MIT" ]
2
2018-07-04T16:44:04.000Z
2021-01-03T07:26:27.000Z
lib/mtl4/boost/numeric/mtl/operation/qr.hpp
spraetor/amdis2
53c45c81a65752a8fafbb54f9ae6724a86639dcd
[ "MIT" ]
null
null
null
lib/mtl4/boost/numeric/mtl/operation/qr.hpp
spraetor/amdis2
53c45c81a65752a8fafbb54f9ae6724a86639dcd
[ "MIT" ]
null
null
null
// Software License for MTL // // Copyright (c) 2007 The Trustees of Indiana University. // 2008 Dresden University of Technology and the Trustees of Indiana University. // 2010 SimuNova UG (haftungsbeschränkt), www.simunova.com. // All rights reserved. // Authors: Peter Gottschling and Andr...
36.216216
123
0.698507
[ "vector" ]
f76017bceed718f1690efba5660151a1b98f8e20
30,896
cpp
C++
testdata/csmith-git/src/ReducerOutputMgr.cpp
Konstantin8105/c2go-rating
edba6b8aa1ce2a69a17b076596764fec656cb2f9
[ "MIT" ]
null
null
null
testdata/csmith-git/src/ReducerOutputMgr.cpp
Konstantin8105/c2go-rating
edba6b8aa1ce2a69a17b076596764fec656cb2f9
[ "MIT" ]
null
null
null
testdata/csmith-git/src/ReducerOutputMgr.cpp
Konstantin8105/c2go-rating
edba6b8aa1ce2a69a17b076596764fec656cb2f9
[ "MIT" ]
null
null
null
// -*- mode: C++ -*- // // Copyright (c) 2007, 2008, 2009, 2010, 2011, 2013, 2015, 2017 The University of Utah // All rights reserved. // // This file is part of `csmith', a random generator of C programs. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided t...
30.23092
146
0.646783
[ "vector" ]
f760dff3b355cebcb1f4fda1ea45d1ec74ec07dc
6,624
cpp
C++
examples/xp_example2/xp_example2.cpp
GAMS-dev/gams-cpp
0e86b3a659865edd980ed37fada1453da1552786
[ "MIT" ]
3
2017-10-19T10:54:51.000Z
2020-07-02T09:32:34.000Z
examples/xp_example2/xp_example2.cpp
GAMS-dev/gams-cpp
0e86b3a659865edd980ed37fada1453da1552786
[ "MIT" ]
4
2017-07-24T08:51:10.000Z
2020-07-08T15:02:39.000Z
examples/xp_example2/xp_example2.cpp
GAMS-dev/gams-cpp
0e86b3a659865edd980ed37fada1453da1552786
[ "MIT" ]
1
2021-07-09T16:06:04.000Z
2021-07-09T16:06:04.000Z
/** * * GAMS - General Algebraic Modeling System C++ API * * Copyright (c) 2017 GAMS Software GmbH <support@gams.com> * Copyright (c) 2017 GAMS Development Corp. <support@gams.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation fi...
30.809302
134
0.62349
[ "object", "model" ]
f7634fe6f6e25045fbc49c6367bfddef512dba49
1,021
cpp
C++
src/simulation_observers/MultiSimulationObserver.cpp
IBM/dna-replication
2569f71c6eed0e6e9e201c1d531c2a93b69efcbe
[ "MIT" ]
null
null
null
src/simulation_observers/MultiSimulationObserver.cpp
IBM/dna-replication
2569f71c6eed0e6e9e201c1d531c2a93b69efcbe
[ "MIT" ]
null
null
null
src/simulation_observers/MultiSimulationObserver.cpp
IBM/dna-replication
2569f71c6eed0e6e9e201c1d531c2a93b69efcbe
[ "MIT" ]
3
2019-11-02T06:15:13.000Z
2022-03-09T08:51:08.000Z
#include "MultiSimulationObserver.h" namespace DNAReplication { void MultiSimulationObserver::handleOriginFired(SimulationOriginEvent const &e) { if (e.origin.getState() == Origin::State::ReplLR) { originFiringCounts[e.origin.getID()]++; originFiringTimeSums[e.origin.getID()] += e....
34.033333
110
0.63859
[ "vector" ]
f76ee8570ec63b6cc6ecc6f95abf94c63dd0b1da
21,412
cpp
C++
src/TFmini_plus.cpp
Leenix/TFmini_plus_driver
0876bdebefe3729eb0e4c22281990a3b7c1a827e
[ "MIT" ]
null
null
null
src/TFmini_plus.cpp
Leenix/TFmini_plus_driver
0876bdebefe3729eb0e4c22281990a3b7c1a827e
[ "MIT" ]
null
null
null
src/TFmini_plus.cpp
Leenix/TFmini_plus_driver
0876bdebefe3729eb0e4c22281990a3b7c1a827e
[ "MIT" ]
null
null
null
#include <TFmini_plus.h> /////////////////////////////////////////////////////////////////////////////// /** * Send a packet to the lidar. * Data is sent by either UART or I2C; whichever is actively in use. * * @param input: Array containing headers, payload, and checksum. * @param size: Number of bytes to send....
33.561129
147
0.692742
[ "object" ]
f76f7bfcd81df81fa4d72642ab725e2a4b07c015
7,324
cpp
C++
src/gui/src/axes_grid.cpp
Ruzzyy/anysim
6bc590056754e7dc89a1078ab4c41823075088d2
[ "MIT" ]
4
2019-05-13T11:51:27.000Z
2019-09-25T15:18:03.000Z
src/gui/src/axes_grid.cpp
Ruzzyy/anysim
6bc590056754e7dc89a1078ab4c41823075088d2
[ "MIT" ]
null
null
null
src/gui/src/axes_grid.cpp
Ruzzyy/anysim
6bc590056754e7dc89a1078ab4c41823075088d2
[ "MIT" ]
3
2019-06-08T12:46:13.000Z
2020-01-09T10:35:22.000Z
// // Created by egi on 5/23/19. // #include "axes_grid.h" #include "cpp/common_funcs.h" #include "core/gpu/coloring.cuh" #include <QPainter> axes_grid::axes_grid () : QOpenGLFunctions (), font ("Arial", 10) { } void axes_grid::initialize_gl (QObject *parent) { initializeOpenGLFunctions (); program = new QOpe...
31.843478
173
0.668624
[ "model" ]
f7733eadd44bab27aca9c353fb372c16ef05e77a
1,027
cpp
C++
codeforces/gym/2019-2020 ACM-ICPC Brazil Subregional Programming Contest/d.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
4
2020-10-05T19:24:10.000Z
2021-07-15T00:45:43.000Z
codeforces/gym/2019-2020 ACM-ICPC Brazil Subregional Programming Contest/d.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
null
null
null
codeforces/gym/2019-2020 ACM-ICPC Brazil Subregional Programming Contest/d.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define int long long #define ii pair<int, int> #define ff first #define ss second #define vi vector<int> #define vii vector<ii> #define pb push_back #define MAX (int32_t(1e6)+1) #define INF (int32_t(1e9)+1) using namespace std; vi adj[MAX]; vii leafs; void dfs(int s, int nvl){ if(adj[s]....
20.137255
49
0.491723
[ "vector" ]
f779cb8852c657de66150b25838c65cd5d8b7a17
9,614
cpp
C++
isis/src/mro/objs/HiCal/LoadCSV.cpp
kdl222/ISIS3
aab0e63088046690e6c031881825596c1c2cc380
[ "CC0-1.0" ]
134
2018-01-18T00:16:24.000Z
2022-03-24T03:53:33.000Z
isis/src/mro/objs/HiCal/LoadCSV.cpp
kdl222/ISIS3
aab0e63088046690e6c031881825596c1c2cc380
[ "CC0-1.0" ]
3,825
2017-12-11T21:27:34.000Z
2022-03-31T21:45:20.000Z
isis/src/mro/objs/HiCal/LoadCSV.cpp
jlaura/isis3
2c40e08caed09968ea01d5a767a676172ad20080
[ "CC0-1.0" ]
164
2017-11-30T21:15:44.000Z
2022-03-23T10:22:29.000Z
/** This is free and unencumbered software released into the public domain. The authors of ISIS do not claim copyright on the contents of this file. For more details about the LICENSE terms and the AUTHORS, you will find files of those names at the top level of this repository. **/ /* SPDX-License-Identifier: CC0-1.0...
32.47973
92
0.601103
[ "object", "vector" ]
f77f97081916ae993a1d737dfbae917c28ca8dfa
19,456
cpp
C++
OREAnalytics/orea/scenario/crossassetmodelscenariogenerator.cpp
nvolfango/Engine
a5ee0fc09d5a50ab36e50d55893b6e484d6e7004
[ "BSD-3-Clause" ]
1
2021-03-30T17:24:17.000Z
2021-03-30T17:24:17.000Z
OREAnalytics/orea/scenario/crossassetmodelscenariogenerator.cpp
zhangjiayin/Engine
a5ee0fc09d5a50ab36e50d55893b6e484d6e7004
[ "BSD-3-Clause" ]
null
null
null
OREAnalytics/orea/scenario/crossassetmodelscenariogenerator.cpp
zhangjiayin/Engine
a5ee0fc09d5a50ab36e50d55893b6e484d6e7004
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (C) 2016 Quaternion Risk Management Ltd All rights reserved. This file is part of ORE, a free-software/open-source library for transparent pricing and risk analysis - http://opensourcerisk.org ORE is free software: you can redistribute it and/or modify it under the terms of the Modified BSD License...
50.015424
120
0.611174
[ "vector", "model" ]
f78ac0a848a0e42b3fb982ecd01b11763a50b045
4,788
cpp
C++
openEAR-0.1.0/src/nnlPlugin.cpp
trimlab/Voice-Emotion-Detection
c7272dd2f70e2d4b8eee304e68578494d7ef624c
[ "MIT" ]
null
null
null
openEAR-0.1.0/src/nnlPlugin.cpp
trimlab/Voice-Emotion-Detection
c7272dd2f70e2d4b8eee304e68578494d7ef624c
[ "MIT" ]
null
null
null
openEAR-0.1.0/src/nnlPlugin.cpp
trimlab/Voice-Emotion-Detection
c7272dd2f70e2d4b8eee304e68578494d7ef624c
[ "MIT" ]
null
null
null
/*F****************************************************************************** * * openSMILE - open Speech and Music Interpretation by Large-space Extraction * the open-source Munich Audio Feature Extraction Toolkit * Copyright (C) 2008-2009 Florian Eyben, Martin Woellmer, Bjoern Schuller * * * Institu...
26.748603
115
0.694862
[ "vector" ]
f78b54fbd16ac17ad07e748046078fbee442b4c9
18,431
cpp
C++
Windows/WListDataDialog.cpp
cas-nctu/multispec
0bc840bdb073b5feaeec650c2da762cfa34ee37d
[ "Apache-2.0" ]
11
2020-03-10T02:06:00.000Z
2022-02-17T19:59:50.000Z
Windows/WListDataDialog.cpp
cas-nctu/multispec
0bc840bdb073b5feaeec650c2da762cfa34ee37d
[ "Apache-2.0" ]
null
null
null
Windows/WListDataDialog.cpp
cas-nctu/multispec
0bc840bdb073b5feaeec650c2da762cfa34ee37d
[ "Apache-2.0" ]
5
2020-05-30T00:59:22.000Z
2021-12-06T01:37:05.000Z
// MultiSpec // // Copyright 1988-2020 Purdue Research 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: https://www.apach...
30.667221
120
0.648473
[ "vector" ]
f78f9214f59f749dd8b17a33972e21b1d045d64a
1,747
cpp
C++
tc 160+/HandsShaking.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc 160+/HandsShaking.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc 160+/HandsShaking.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
5
2015-05-25T06:24:40.000Z
2021-08-19T19:22:29.000Z
#include <algorithm> #include <cassert> #include <cstdio> #include <iostream> #include <sstream> #include <string> #include <vector> #include <cstring> using namespace std; long long dp[51]; long long go(int n) { if (n == 0) return 1; if (dp[n] != -1) return dp[n]; dp[n] = 0; for (int i=1;...
29.116667
321
0.576989
[ "vector" ]
f7903f1e0e8432587227c498be596950bb408386
32,245
cpp
C++
Final_Project/EyeGazeTrackingSystem_speedUp_vf/EyeGazeTrackingSystem_speedUp_vf/MappingFunction.cpp
Coslate/Parallel_Programming
0b76be74426d25f9bd020f65d2051cf43bea7f40
[ "MIT" ]
null
null
null
Final_Project/EyeGazeTrackingSystem_speedUp_vf/EyeGazeTrackingSystem_speedUp_vf/MappingFunction.cpp
Coslate/Parallel_Programming
0b76be74426d25f9bd020f65d2051cf43bea7f40
[ "MIT" ]
null
null
null
Final_Project/EyeGazeTrackingSystem_speedUp_vf/EyeGazeTrackingSystem_speedUp_vf/MappingFunction.cpp
Coslate/Parallel_Programming
0b76be74426d25f9bd020f65d2051cf43bea7f40
[ "MIT" ]
null
null
null
#include "MappingFunction.h" inline Point2d* normalize_edge_pointSet(double &dis_scale, Point2d &nor_center, const int &ep_num , const vector<Point> &feature_point) { const float sqrt_2 = 1.414213; double sumx = 0, sumy = 0; double sumdis = 0; Point edge; Point original(0, 0); //#p...
33.379917
145
0.650892
[ "object", "vector", "model", "transform" ]
f7903ff34c73c32165bc53e980c11b1e1689238f
3,367
cpp
C++
lib/scudo/scudo_utils.cpp
andestech/riscv-compiler-rt
2409b3d2f11ab6c9f357f7158f217c7e5b4a952f
[ "MIT" ]
4
2017-09-11T16:48:00.000Z
2021-03-21T17:10:27.000Z
lib/scudo/scudo_utils.cpp
andestech/riscv-compiler-rt
2409b3d2f11ab6c9f357f7158f217c7e5b4a952f
[ "MIT" ]
null
null
null
lib/scudo/scudo_utils.cpp
andestech/riscv-compiler-rt
2409b3d2f11ab6c9f357f7158f217c7e5b4a952f
[ "MIT" ]
1
2017-10-05T01:07:38.000Z
2017-10-05T01:07:38.000Z
//===-- scudo_utils.cpp -----------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
26.511811
80
0.644194
[ "vector" ]
f799ada2adfc246fbfcba405c4ba8d81843d5a4d
10,775
cpp
C++
src/sysCommonU/mapCode.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
33
2021-12-08T11:10:59.000Z
2022-03-26T19:59:37.000Z
src/sysCommonU/mapCode.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
6
2021-12-22T17:54:31.000Z
2022-01-07T21:43:18.000Z
src/sysCommonU/mapCode.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
2
2022-01-04T06:00:49.000Z
2022-01-26T07:27:28.000Z
#include "types.h" #include "mapCode.h" #include "Sys/TriangleTable.h" /* Generated from dpostproc .section .rodata # 0x804732E0 - 0x8049E220 .global lbl_804997B8 lbl_804997B8: .asciz "# %d/%d\r\n" .skip 0x6 .section .data, "wa" # 0x8049E220 - 0x804EFC20 .global __vt__Q37Map...
22.974414
102
0.643248
[ "object" ]
f79ff1422de2b5e13a6df0646df5d50d7ee3efa1
5,239
cpp
C++
GLFW_gltut/Tut04/Aspect Ratio/AspectRatio.cpp
captainadamo/glfw_gltut
7be37447beaef8f97df748855ea532d014dd05b6
[ "MIT" ]
1
2020-11-09T05:03:38.000Z
2020-11-09T05:03:38.000Z
GLFW_gltut/Tut04/Aspect Ratio/AspectRatio.cpp
captainadamo/glfw_gltut
7be37447beaef8f97df748855ea532d014dd05b6
[ "MIT" ]
null
null
null
GLFW_gltut/Tut04/Aspect Ratio/AspectRatio.cpp
captainadamo/glfw_gltut
7be37447beaef8f97df748855ea532d014dd05b6
[ "MIT" ]
null
null
null
#include "Scene.h" #include "helpers.h" const char *tutorialName = "Tutorial 04 Aspect Ratio"; const float vertexData[] = { 0.25f, 0.25f, -1.25f, 1.0f, 0.25f, -0.25f, -1.25f, 1.0f, -0.25f, 0.25f, -1.25f, 1.0f, 0.25f, -0.25f, -1.25f, 1.0f, -0.25f, -0.25f, -1.25f, 1.0f, -0.25f, 0.25f, -1....
25.556098
82
0.565948
[ "vector" ]
f7a1bee5c381a7cfe884c89e90f5aaecf05face4
1,168
cpp
C++
Online-Judges/CodeForces/1100/158B.Taxi.cpp
shihab4t/Competitive-Programming
e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be
[ "Unlicense" ]
3
2021-06-15T01:19:23.000Z
2022-03-16T18:23:53.000Z
Online-Judges/CodeForces/1100/158B.Taxi.cpp
shihab4t/Competitive-Programming
e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be
[ "Unlicense" ]
null
null
null
Online-Judges/CodeForces/1100/158B.Taxi.cpp
shihab4t/Competitive-Programming
e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be
[ "Unlicense" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long int llint; typedef unsigned long long int ullint; typedef short int sint; #define endn "\n" #define umap unordered_map #define uset unordered_set bool cmp(int a, int b) { return a > b; } int main(void) { ios_base::sync_with_stdio(false); cin...
18.25
56
0.439212
[ "vector" ]
f7a3f4cc0dd09346b1a72c5d4528f94708156e66
2,185
cpp
C++
src/utils/mdc_content_provider.cpp
webosce/umediaserver
988605735c1e35937fbfb7ac28422dee678d70d6
[ "Apache-2.0" ]
8
2018-03-17T22:28:05.000Z
2021-11-16T15:29:06.000Z
src/utils/mdc_content_provider.cpp
webosce/umediaserver
988605735c1e35937fbfb7ac28422dee678d70d6
[ "Apache-2.0" ]
1
2021-05-21T22:51:00.000Z
2021-05-21T22:51:00.000Z
src/utils/mdc_content_provider.cpp
webosce/umediaserver
988605735c1e35937fbfb7ac28422dee678d70d6
[ "Apache-2.0" ]
4
2018-03-22T18:48:22.000Z
2021-11-16T15:29:08.000Z
// Copyright (c) 2008-2018 LG Electronics, 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...
22.295918
75
0.669108
[ "vector" ]
f7a5310ba14ed929e662a0928d9a36355013aa7b
3,954
cpp
C++
src/DslOdeAccumulator.cpp
canammex-tech/deepstream-driver
36e3175aa53ae6d877d9f7e7700cca4d7797a3e7
[ "MIT" ]
1
2020-05-09T16:18:48.000Z
2020-05-09T16:18:48.000Z
src/DslOdeAccumulator.cpp
jlerasmus/deepstream-services-library
36e3175aa53ae6d877d9f7e7700cca4d7797a3e7
[ "MIT" ]
null
null
null
src/DslOdeAccumulator.cpp
jlerasmus/deepstream-services-library
36e3175aa53ae6d877d9f7e7700cca4d7797a3e7
[ "MIT" ]
null
null
null
/* The MIT License Copyright (c) 2022, Prominence AI, 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 restriction, including without limitation the rights to use, copy, modify, merge...
31.887097
87
0.612291
[ "vector" ]
f7a744dca2c09b1f9b0d36b0191140d74bfe10f9
4,279
cpp
C++
src/tcp_command_client.cpp
jaehyuck0103/HesaiLidar_General_SDK
6541573ded3ada108bde70bba0bf7f74c6f32900
[ "BSD-2-Clause" ]
null
null
null
src/tcp_command_client.cpp
jaehyuck0103/HesaiLidar_General_SDK
6541573ded3ada108bde70bba0bf7f74c6f32900
[ "BSD-2-Clause" ]
null
null
null
src/tcp_command_client.cpp
jaehyuck0103/HesaiLidar_General_SDK
6541573ded3ada108bde70bba0bf7f74c6f32900
[ "BSD-2-Clause" ]
null
null
null
#include "tcp_command_client.h" #include <asio.hpp> #include <array> #include <iomanip> #include <iostream> namespace TcpCommand { std::pair<PTC_ErrCode, TC_Command> readCommand(asio::ip::tcp::socket &socket) { std::cout << "tcpCommandReadCommand\n"; asio::error_code ec; socket.wait(socket.wait_read); ...
30.564286
96
0.628418
[ "vector" ]
f7afb704d4de60797e785564839485eaa804b18d
1,017
cpp
C++
acpp/chp3/v2_student_grade.cpp
Binary-bug/Cplusplus
48e33d1c572062b34ca57fe61a186ef675a9980b
[ "MIT" ]
null
null
null
acpp/chp3/v2_student_grade.cpp
Binary-bug/Cplusplus
48e33d1c572062b34ca57fe61a186ef675a9980b
[ "MIT" ]
null
null
null
acpp/chp3/v2_student_grade.cpp
Binary-bug/Cplusplus
48e33d1c572062b34ca57fe61a186ef675a9980b
[ "MIT" ]
null
null
null
#include<iomanip> #include<ios> #include<iostream> #include<string> #include<algorithm> using namespace std; int main(){ // ask for and read the students name cout << "Please enter your first name"; string name; cin >> name; cout << "Hello, " << name << "!" << endl; // ask for and read the midterma and fina...
18.833333
80
0.653884
[ "vector" ]
f7b16cdfbf18681528968c2f07b6028059e67426
5,087
hpp
C++
electroslag/renderer/pipeline_descriptor.hpp
jwb1/electroslag
a0f81ec6f8f8485c2418193b2e3d3f5347c92df5
[ "Apache-2.0" ]
1
2018-08-19T11:06:17.000Z
2018-08-19T11:06:17.000Z
electroslag/renderer/pipeline_descriptor.hpp
jwb1/electroslag
a0f81ec6f8f8485c2418193b2e3d3f5347c92df5
[ "Apache-2.0" ]
null
null
null
electroslag/renderer/pipeline_descriptor.hpp
jwb1/electroslag
a0f81ec6f8f8485c2418193b2e3d3f5347c92df5
[ "Apache-2.0" ]
null
null
null
// Electroslag Interactive Graphics System // Copyright 2018 Joshua Buckman // // 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 // /...
35.573427
131
0.619422
[ "vector" ]
fc908463102c271ba26ef3673f6249d5120cfd3a
16,366
cpp
C++
dash_client_lib/source/api/discoverer.cpp
juergh/dash-sdk
16757836f1f96ee3220992f70bffe92c18e08e76
[ "AMDPLPA" ]
13
2015-08-06T14:55:10.000Z
2021-12-26T04:41:54.000Z
dash_client_lib/source/api/discoverer.cpp
juergh/dash-sdk
16757836f1f96ee3220992f70bffe92c18e08e76
[ "AMDPLPA" ]
null
null
null
dash_client_lib/source/api/discoverer.cpp
juergh/dash-sdk
16757836f1f96ee3220992f70bffe92c18e08e76
[ "AMDPLPA" ]
1
2017-06-17T14:15:41.000Z
2017-06-17T14:15:41.000Z
/* * License Agreement * * Copyright (c) 2007, 2008, 2009 Advanced Micro Devices Inc. * * All rights reserved. * * Redistribution and use in any form of this material and any product thereof including * software in source or binary forms, along with any related documentation, with or * without modification (...
32.280079
149
0.667298
[ "vector" ]
fc993ca8e93dd6b54f7eaddfb48aad51b1f8a36f
548
cpp
C++
XGF/Src/Core/Actor.cpp
kadds/XGF
610c98a93c0f287546f97efc654b95dc846721ad
[ "MIT" ]
5
2017-11-09T05:02:52.000Z
2020-06-23T09:50:25.000Z
XGF/Src/Core/Actor.cpp
kadds/XGF
610c98a93c0f287546f97efc654b95dc846721ad
[ "MIT" ]
null
null
null
XGF/Src/Core/Actor.cpp
kadds/XGF
610c98a93c0f287546f97efc654b95dc846721ad
[ "MIT" ]
null
null
null
#include "../../Include/Actor.hpp" #include "../../Include/Container.hpp" namespace XGF{ Actor::Actor():mParent(nullptr) { } Actor::Actor(int id):mId(id), mParent(nullptr) { } Actor::~Actor() { } void Actor::_Update(float deltaTime) { Update(deltaTime); } const SM::Matrix & Actor::GetMixMatrix() { ...
15.222222
78
0.627737
[ "render" ]
fc9c88f4531ec8d50b29fb23d208e3b9d090a652
2,024
hpp
C++
include/aikido/distance/CartesianProductWeighted.hpp
personalrobotics/r3
1303e3f3ef99a0c2249abc7415d19113f0026565
[ "BSD-3-Clause" ]
181
2016-04-22T15:11:23.000Z
2022-03-26T12:51:08.000Z
include/aikido/distance/CartesianProductWeighted.hpp
personalrobotics/r3
1303e3f3ef99a0c2249abc7415d19113f0026565
[ "BSD-3-Clause" ]
514
2016-04-20T04:29:51.000Z
2022-02-10T19:46:21.000Z
include/aikido/distance/CartesianProductWeighted.hpp
personalrobotics/r3
1303e3f3ef99a0c2249abc7415d19113f0026565
[ "BSD-3-Clause" ]
31
2017-03-17T09:53:02.000Z
2022-03-23T10:35:05.000Z
#ifndef AIKIDO_DISTANCE_CARTESIANPRODUCTWEIGHTED_HPP_ #define AIKIDO_DISTANCE_CARTESIANPRODUCTWEIGHTED_HPP_ #include "aikido/distance/DistanceMetric.hpp" #include "aikido/statespace/CartesianProduct.hpp" namespace aikido { namespace distance { /// Implements a distance metric on a CartesianProduct. /// /// This metr...
34.305085
80
0.75247
[ "vector" ]
fc9dc335bbb8172b9b57d47432d28361eab2e4c0
7,523
cpp
C++
smart_list_example.cpp
randomInteger/CPlusPlus_Smart_Linked_List
5e606b163a50e1f9047733a8a2b7ed6068243cc6
[ "MIT" ]
null
null
null
smart_list_example.cpp
randomInteger/CPlusPlus_Smart_Linked_List
5e606b163a50e1f9047733a8a2b7ed6068243cc6
[ "MIT" ]
null
null
null
smart_list_example.cpp
randomInteger/CPlusPlus_Smart_Linked_List
5e606b163a50e1f9047733a8a2b7ed6068243cc6
[ "MIT" ]
null
null
null
// // smart_list_example.cpp // A test and demo for the SMART_LIST.hpp class implementation. // // Created by Christopher Gleeson on 1/1/16. // Copyright © 2016 Christopher Gleeson. All rights reserved. // #include "SMART_LIST.hpp" int main(int argc, const char * argv[]) { //Create the list object Linked...
32.287554
86
0.591386
[ "object" ]
fca2757f85bf0973a138c2e5bb48869eb6085c25
7,776
cc
C++
content/renderer/media/crypto/proxy_media_keys.cc
hefen1/chromium
52f0b6830e000ca7c5e9aa19488af85be792cc88
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/renderer/media/crypto/proxy_media_keys.cc
hefen1/chromium
52f0b6830e000ca7c5e9aa19488af85be792cc88
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/renderer/media/crypto/proxy_media_keys.cc
hefen1/chromium
52f0b6830e000ca7c5e9aa19488af85be792cc88
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2020-04-04T13:34:56.000Z
2020-11-04T07:17:52.000Z
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/renderer/media/crypto/proxy_media_keys.h" #include <vector> #include "base/basictypes.h" #include "base/logging.h" #include "base/stl_...
37.384615
80
0.719264
[ "vector" ]
fca5d9fed7e5374c6c29d378c536a733a62317eb
1,546
cpp
C++
mdk/src/forces/Tether.cpp
if-pan-zpp/mdk
a66575ae2160b3d8408fe4dceb971706f650bd05
[ "MIT" ]
null
null
null
mdk/src/forces/Tether.cpp
if-pan-zpp/mdk
a66575ae2160b3d8408fe4dceb971706f650bd05
[ "MIT" ]
null
null
null
mdk/src/forces/Tether.cpp
if-pan-zpp/mdk
a66575ae2160b3d8408fe4dceb971706f650bd05
[ "MIT" ]
1
2021-06-19T09:24:34.000Z
2021-06-19T09:24:34.000Z
#include "forces/Tether.hpp" #include "data/Chains.hpp" #include "simul/Simulation.hpp" using namespace mdk; Tether::Tether(bool fromNative) { this->fromNative = fromNative; } void Tether::bind(Simulation &simulation) { Force::bind(simulation); n = state->n; dist0 = Scalars::Constant(n, 3.8 * angstrom...
30.313725
87
0.518758
[ "vector", "model" ]
fcb031fba6d7b19af6e53fd26b1380daf00ff0b5
5,627
cpp
C++
actions/context.cpp
SGSSGene/qrqma
3bef6ded0d336e0edbacf3852ba80b19a07a4c1b
[ "MIT" ]
null
null
null
actions/context.cpp
SGSSGene/qrqma
3bef6ded0d336e0edbacf3852ba80b19a07a4c1b
[ "MIT" ]
null
null
null
actions/context.cpp
SGSSGene/qrqma
3bef6ded0d336e0edbacf3852ba80b19a07a4c1b
[ "MIT" ]
null
null
null
#include "context.h" #include "types.h" #include "../demangle.h" #include <numeric> namespace { template <class... Ts> struct overloaded : Ts... { using Ts::operator()...; }; template <class... Ts> overloaded(Ts...)->overloaded<Ts...>; } // namespace namespace qrqma { namespace actions { Context::Symbol const& Co...
33.295858
152
0.5614
[ "vector" ]
fcb17f93048934317b45e5cb78ccc01c9232401a
1,190
hpp
C++
src/org/apache/poi/sl/draw/DrawSheet.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/sl/draw/DrawSheet.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/sl/draw/DrawSheet.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /POI/java/org/apache/poi/sl/draw/DrawSheet.java #pragma once #include <fwd-POI.hpp> #include <java/awt/fwd-POI.hpp> #include <org/apache/poi/sl/draw/fwd-POI.hpp> #include <org/apache/poi/sl/usermodel/fwd-POI.hpp> #include <java/lang/Object.hpp> #include <org/apache/poi/sl/draw/Drawable.hpp> struct ...
24.285714
96
0.687395
[ "object", "shape" ]
fcc240252bad4e275833186cadf95ebdeec1f8d4
662
hpp
C++
libpiga/include/piga/Renderer.hpp
maximaximal/piga
54530c208e59eaaf8d44c1f8d640f5ec028d4126
[ "Zlib" ]
2
2015-01-07T18:36:39.000Z
2015-01-08T13:54:43.000Z
libpiga/include/piga/Renderer.hpp
maximaximal/piga
54530c208e59eaaf8d44c1f8d640f5ec028d4126
[ "Zlib" ]
null
null
null
libpiga/include/piga/Renderer.hpp
maximaximal/piga
54530c208e59eaaf8d44c1f8d640f5ec028d4126
[ "Zlib" ]
null
null
null
#ifndef LIBPIGA_PIGA_RENDERER_HPP_INCLUDED #define LIBPIGA_PIGA_RENDERER_HPP_INCLUDED struct SDL_Renderer; struct SDL_Window; namespace piga { class Renderer { public: Renderer(SDL_Window *window = nullptr, SDL_Renderer *sdlRenderer = nullptr); virtual ~Renderer(); ...
22.827586
88
0.637462
[ "render" ]
fccbf024d12d3ebc8cbbcc6523b7e8c794dcab58
1,307
cpp
C++
neon/Helium/HeliumForWindows/Implementation/ActiveX/PBODAX/CeODAX/CeODAX.cpp
mensfeld/rhodes
2962610a314ed563a0b7c83fcae6136913a1b033
[ "MIT" ]
173
2015-01-02T11:14:08.000Z
2022-03-05T09:54:54.000Z
neon/Helium/HeliumForWindows/Implementation/ActiveX/PBODAX/CeODAX/CeODAX.cpp
mensfeld/rhodes
2962610a314ed563a0b7c83fcae6136913a1b033
[ "MIT" ]
263
2015-01-05T04:35:22.000Z
2021-09-07T06:00:02.000Z
neon/Helium/HeliumForWindows/Implementation/ActiveX/PBODAX/CeODAX/CeODAX.cpp
watusi/rhodes
07161cca58ff6a960bbd1b79b36447b819bfa0eb
[ "MIT" ]
77
2015-01-12T20:57:18.000Z
2022-02-17T15:15:14.000Z
// CeODAX.cpp : Implementation of DLL Exports. #include "stdafx.h" #ifdef POCKETPC2003_UI_MODEL #include "resourceppc.h" #endif #include "CeODAX.h" class CCeODAXModule : public CAtlDllModuleT< CCeODAXModule > { public : DECLARE_LIBID(LIBID_CeODAXLib) #ifndef _CE_DCOM DECLARE_REGISTRY_APPID_RESOURCEID(IDR_CEODA...
20.746032
88
0.767406
[ "object" ]
fccfa0f4da634332958082209ed616da8529a718
23,105
hh
C++
src/MultiOrderCounts_tmpl.hh
psmit/variKN
9623c5909bb43a5e3f9bb4df850284e30784e957
[ "BSD-3-Clause" ]
null
null
null
src/MultiOrderCounts_tmpl.hh
psmit/variKN
9623c5909bb43a5e3f9bb4df850284e30784e957
[ "BSD-3-Clause" ]
null
null
null
src/MultiOrderCounts_tmpl.hh
psmit/variKN
9623c5909bb43a5e3f9bb4df850284e30784e957
[ "BSD-3-Clause" ]
null
null
null
// Library for storing and modifying the n-gram counts /********************************************************************** These functions are for top level class (BOT abstracted away) **********************************************************************/ template <typename KT, typename CT> CT MultiOrderCounts...
32.090278
166
0.657866
[ "vector" ]
fcd627de8abda33677862b3fe48a1002561e0f20
38,752
cc
C++
agent/base/Synchronizer.cc
automenta/trex-autonomy
fcca1f7596af30735fe53d1bab54b3a0c1f97b89
[ "BSD-3-Clause" ]
null
null
null
agent/base/Synchronizer.cc
automenta/trex-autonomy
fcca1f7596af30735fe53d1bab54b3a0c1f97b89
[ "BSD-3-Clause" ]
null
null
null
agent/base/Synchronizer.cc
automenta/trex-autonomy
fcca1f7596af30735fe53d1bab54b3a0c1f97b89
[ "BSD-3-Clause" ]
null
null
null
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2007. MBARI. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are...
40.57801
182
0.684094
[ "object", "vector", "model" ]
fcd65227c2be60a84b43f0e44f033859321d8a9b
4,322
cc
C++
scrypt.cc
cheongwy/node-scrypt
638e5c50c491d959fec0b14c402f1eb23bc2849e
[ "MIT" ]
2
2015-04-30T17:16:34.000Z
2017-03-20T10:08:55.000Z
scrypt.cc
cheongwy/node-scrypt
638e5c50c491d959fec0b14c402f1eb23bc2849e
[ "MIT" ]
null
null
null
scrypt.cc
cheongwy/node-scrypt
638e5c50c491d959fec0b14c402f1eb23bc2849e
[ "MIT" ]
null
null
null
#include <v8.h> #include <node.h> #include <errno.h> #include <fcntl.h> #include <stdint.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <openssl/sha.h> #include <openssl/hmac.h> #include <openssl/evp.h> #include <openssl/bio.h> #include <openssl/buffer.h> // link as C since we compile as C an...
24.418079
118
0.643452
[ "object" ]
fce27e8689ca8d1567e60b72394ea7e7c8e4fa1e
1,408
cpp
C++
example/DMRG/dmrg_tfim.cpp
j9263178/Cytnx
cf7fb1cff75c1cea14fbbc370fd8e4d86d0ddc8b
[ "Apache-2.0" ]
11
2020-04-14T15:45:42.000Z
2022-03-31T14:37:03.000Z
example/DMRG/dmrg_tfim.cpp
j9263178/Cytnx
cf7fb1cff75c1cea14fbbc370fd8e4d86d0ddc8b
[ "Apache-2.0" ]
38
2019-08-02T15:15:51.000Z
2022-03-04T19:07:02.000Z
example/DMRG/dmrg_tfim.cpp
j9263178/Cytnx
cf7fb1cff75c1cea14fbbc370fd8e4d86d0ddc8b
[ "Apache-2.0" ]
7
2019-07-17T07:50:55.000Z
2021-07-03T06:44:52.000Z
#include "cytnx.hpp" using namespace std; using namespace cytnx; Scalar run_DMRG(tn_algo::MPO &mpo, tn_algo::MPS &mps, int Nsweeps, std::vector<tn_algo::MPS> ortho_mps={}, double weight=40){ auto model = tn_algo::DMRG(mpo,mps,ortho_mps,weight); model.initialize(); Scalar E; for(int xi=0;xi<Nsweeps; ...
23.081967
125
0.5625
[ "vector", "model" ]
fce81e748958d7e8d111cd89d820749d97203ce5
4,674
cc
C++
native/pwm.cc
melizalab/decide
057bf49ee745c4c47e75698e2453705b700f4e41
[ "BSD-3-Clause" ]
1
2020-07-28T22:35:15.000Z
2020-07-28T22:35:15.000Z
native/pwm.cc
bjoring/decide
057bf49ee745c4c47e75698e2453705b700f4e41
[ "BSD-3-Clause" ]
19
2015-02-25T23:03:42.000Z
2019-06-20T02:12:51.000Z
native/pwm.cc
bjoring/decide
057bf49ee745c4c47e75698e2453705b700f4e41
[ "BSD-3-Clause" ]
1
2019-11-08T18:06:35.000Z
2019-11-08T18:06:35.000Z
/* * node.js addon for PRU PWM control * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * Copyright (C) 2015 ...
33.148936
92
0.562473
[ "object" ]
fce9356308963dafd74573ab89cd2e8d77a5a933
6,385
cpp
C++
catkin_ws/src/srrg2_laser_slam_2d/srrg2_laser_slam_2d/apps/visual_test_scene_clipper_projective_2d.cpp
laaners/progetto-labiagi_pick_e_delivery
3453bfbc1dd7562c78ba06c0f79b069b0a952c0e
[ "MIT" ]
null
null
null
catkin_ws/src/srrg2_laser_slam_2d/srrg2_laser_slam_2d/apps/visual_test_scene_clipper_projective_2d.cpp
laaners/progetto-labiagi_pick_e_delivery
3453bfbc1dd7562c78ba06c0f79b069b0a952c0e
[ "MIT" ]
null
null
null
catkin_ws/src/srrg2_laser_slam_2d/srrg2_laser_slam_2d/apps/visual_test_scene_clipper_projective_2d.cpp
laaners/progetto-labiagi_pick_e_delivery
3453bfbc1dd7562c78ba06c0f79b069b0a952c0e
[ "MIT" ]
null
null
null
#include <iomanip> #include <iostream> #include <signal.h> #include "srrg2_laser_slam_2d/mapping/scene_clipper_projective_2d.h" #include "srrg2_laser_slam_2d/sensor_processing/raw_data_preprocessor_projective_2d.h" #include <srrg_data_structures/platform.h> #include <srrg_messages/instances.h> #include <srrg_pcl/insta...
32.576531
100
0.694283
[ "vector" ]
fcebbdd84f2941cec568a2eefd55163264f4640f
627
cpp
C++
src/algo/leetcode/0320_generateAbbreviations.cpp
donaldcao/simpleS
c3f74ae5de985be30d6fae8749b59485d44c3d88
[ "MIT" ]
3
2019-01-19T04:48:12.000Z
2019-06-15T01:06:32.000Z
src/algo/leetcode/0320_generateAbbreviations.cpp
donaldcao/hello-world
c3f74ae5de985be30d6fae8749b59485d44c3d88
[ "MIT" ]
2
2019-01-19T12:03:03.000Z
2019-06-15T01:46:02.000Z
src/algo/leetcode/0320_generateAbbreviations.cpp
donaldcao/simpleS
c3f74ae5de985be30d6fae8749b59485d44c3d88
[ "MIT" ]
null
null
null
#include <string> #include <vector> using namespace std; class Solution{ public: vector<string> generateAbbreviations(string word) { vector<string> res{word}; helper(word, 0, res); return res; } void helper(string word, int pos, vector<string> &res) { for(int i = pos; ...
26.125
60
0.491228
[ "vector" ]
fcecc464d07e83a7291d31a521495edc2d994bf5
3,606
cpp
C++
RTIDPRR/Source/Graphics/Core/CommandPool.cpp
brunosegiu/RTIDPRR
d7daef7611899db4e23ba6a2b5a91135c57e0871
[ "MIT" ]
3
2020-12-06T02:22:48.000Z
2021-06-24T13:52:10.000Z
RTIDPRR/Source/Graphics/Core/CommandPool.cpp
brunosegiu/RTIDPRR
d7daef7611899db4e23ba6a2b5a91135c57e0871
[ "MIT" ]
null
null
null
RTIDPRR/Source/Graphics/Core/CommandPool.cpp
brunosegiu/RTIDPRR
d7daef7611899db4e23ba6a2b5a91135c57e0871
[ "MIT" ]
1
2021-10-13T10:36:36.000Z
2021-10-13T10:36:36.000Z
#include "CommandPool.h" #include "../../Misc/DebugUtils.h" #include "Command.h" #include "Context.h" using namespace RTIDPRR::Graphics; vk::CommandPool allocateCommandPool(const vk::Device& logicalDevice, uint32_t queueFamilyIndex) { vk::CommandPoolCreateInfo commandPoolCreate...
36.06
76
0.695785
[ "vector" ]
fced96e30c635c39a0c6d4127abd14b24c1dc1e9
2,796
cc
C++
src/main.cc
leovalais/raytracer
5dc8c486a190a8bb1c1b0cd4a6fc7579576fd5e1
[ "MIT" ]
null
null
null
src/main.cc
leovalais/raytracer
5dc8c486a190a8bb1c1b0cd4a6fc7579576fd5e1
[ "MIT" ]
null
null
null
src/main.cc
leovalais/raytracer
5dc8c486a190a8bb1c1b0cd4a6fc7579576fd5e1
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <string> #include "vec.hh" #include "printers.hh" #include "color.hh" #include "triangle.hh" #include "ray.hh" #include "scene.hh" #include "json-serializers.hh" #include "utils.hh" void cli_help(char* argv0) { std::cerr << "Usage: " << argv0 << " SCENE [OUT_IMAGE]\n...
37.783784
89
0.480329
[ "mesh", "render" ]
fceff59ab13435c66f7c6614b046141fdc522e10
1,828
cpp
C++
tests/test051.cpp
0x0c/rapidcsv
93e25e7c60c7fc435a1fcb24ee0e19d0fcc056e1
[ "BSD-3-Clause" ]
439
2017-05-20T09:08:04.000Z
2022-03-30T21:20:58.000Z
tests/test051.cpp
0x0c/rapidcsv
93e25e7c60c7fc435a1fcb24ee0e19d0fcc056e1
[ "BSD-3-Clause" ]
500
2020-09-15T09:45:10.000Z
2022-03-30T04:28:38.000Z
tests/test051.cpp
0x0c/rapidcsv
93e25e7c60c7fc435a1fcb24ee0e19d0fcc056e1
[ "BSD-3-Clause" ]
148
2017-10-09T01:30:31.000Z
2022-03-24T04:10:31.000Z
// test051.cpp - get column and row names #include <rapidcsv.h> #include "unittest.h" int main() { int rv = 0; std::string csv = "-,A,B,C\n" "1,3,9,81\n" "2,4,16,256\n" ; std::string path = unittest::TempPath(); unittest::WriteFile(path, csv); try { rapidcsv::Document doc(path, rapidc...
31.517241
66
0.650985
[ "vector" ]
fcf1ceba5c19ced166ea4e3f4f3217b061b3c635
4,844
cpp
C++
Algorithms/1307.VerbalArithmeticPuzzle/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
Algorithms/1307.VerbalArithmeticPuzzle/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
Algorithms/1307.VerbalArithmeticPuzzle/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
#include <algorithm> #include <array> #include <string> #include <unordered_map> #include <vector> #include "gtest/gtest.h" namespace { class Solution { public: bool isSolvable(std::vector<std::string> const &words, std::string const &result) const { size_t maxWordSize = 0; for (std::string c...
36.977099
184
0.603633
[ "vector" ]
fcf8aaf287c7587ba9abc5671a53d61f5f5cef0f
22,563
hpp
C++
include/Valve/VR/CVRChaperoneSetup.hpp
sc2ad/BeatSaber-Quest-Codegen
ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab
[ "Unlicense" ]
23
2020-08-07T04:09:00.000Z
2022-03-31T22:10:29.000Z
include/Valve/VR/CVRChaperoneSetup.hpp
sc2ad/BeatSaber-Quest-Codegen
ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab
[ "Unlicense" ]
6
2021-09-29T23:47:31.000Z
2022-03-30T20:49:23.000Z
include/Valve/VR/CVRChaperoneSetup.hpp
sc2ad/BeatSaber-Quest-Codegen
ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab
[ "Unlicense" ]
17
2020-08-20T19:36:52.000Z
2022-03-30T18:28:24.000Z
// 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" // Including type: Valve.VR.IVRCh...
68.789634
228
0.763063
[ "vector" ]
1e01390964a3de4da77edd4f432a2d2fea5d3e9d
3,153
cpp
C++
client/trackerconnector.cpp
uroni/qstream
334c5d886fc626b3eff79870f283a906cdd353e0
[ "Apache-2.0" ]
4
2018-03-16T03:30:43.000Z
2022-02-24T09:42:37.000Z
client/trackerconnector.cpp
uroni/qstream
334c5d886fc626b3eff79870f283a906cdd353e0
[ "Apache-2.0" ]
null
null
null
client/trackerconnector.cpp
uroni/qstream
334c5d886fc626b3eff79870f283a906cdd353e0
[ "Apache-2.0" ]
2
2018-10-12T02:45:41.000Z
2019-07-03T11:55:32.000Z
#ifdef _WIN32 #include <windows.h> #endif #include "trackerconnector.h" #include "../common/socket_functions.h" #include "../common/log.h" #include "../common/stringtools.h" #include "../common/data.h" #include "../common/packet_ids.h" #include "../common/msg_tree.h" /** * Initialize the tracker connector ...
22.847826
147
0.649223
[ "vector" ]
1e019a24557479ea6afe6ad1ce341b39d92a5fdf
788
cpp
C++
Online Judges/URI/1547/main.cpp
AnneLivia/URI-Online
02ff972be172a62b8abe25030c3676f6c04efd1b
[ "MIT" ]
64
2019-03-17T08:56:28.000Z
2022-01-14T02:31:21.000Z
Online Judges/URI/1547/main.cpp
AnneLivia/URI-Online
02ff972be172a62b8abe25030c3676f6c04efd1b
[ "MIT" ]
1
2020-12-24T07:16:30.000Z
2021-03-23T20:51:05.000Z
Online Judges/URI/1547/main.cpp
AnneLivia/URI-Online
02ff972be172a62b8abe25030c3676f6c04efd1b
[ "MIT" ]
19
2019-05-25T10:48:16.000Z
2022-01-07T10:07:46.000Z
#include <iostream> #include <vector> #include <algorithm> using namespace std; int main() { int t, qtA, numM, n; vector<int>v; cin >> t; while(t--) { v.clear(); cin >> qtA >> numM; while(qtA--) { cin >> n; v.push_back(n); } int achou ...
19.219512
61
0.356599
[ "vector" ]
1e01faedee95d6affcbf3e9eff6cd37ad2a6aca5
53,429
cpp
C++
src/image.cpp
akivajp/lev
945aa438ce4718f60cde35556c55655515cb423b
[ "MIT" ]
null
null
null
src/image.cpp
akivajp/lev
945aa438ce4718f60cde35556c55655515cb423b
[ "MIT" ]
null
null
null
src/image.cpp
akivajp/lev
945aa438ce4718f60cde35556c55655515cb423b
[ "MIT" ]
null
null
null
///////////////////////////////////////////////////////////////////////////// // Name: src/image.cpp // Purpose: source for image handling classes // Author: Akiva Miura <akiva.miura@gmail.com> // Modified by: // Created: 01/25/2011 // Copyright: (C) 2010-2011 Akiva Miura // Licence: MIT Licen...
28.725269
101
0.499092
[ "object", "vector" ]
1e0618c51742a716886d7a400396976bd51385b6
4,589
cpp
C++
Sample_protocols/Protocols_from_OpenWetWare/OWW_DNA_extraction_salting_out.cpp
o-micron/BioCoderEditor
18037b1d85bee5973704bd2e6c8ab6eab171d554
[ "Unlicense" ]
null
null
null
Sample_protocols/Protocols_from_OpenWetWare/OWW_DNA_extraction_salting_out.cpp
o-micron/BioCoderEditor
18037b1d85bee5973704bd2e6c8ab6eab171d554
[ "Unlicense" ]
null
null
null
Sample_protocols/Protocols_from_OpenWetWare/OWW_DNA_extraction_salting_out.cpp
o-micron/BioCoderEditor
18037b1d85bee5973704bd2e6c8ab6eab171d554
[ "Unlicense" ]
null
null
null
#include "biocoder.h" int main() { start_protocol("DNA Extraction - salting out"); Fluid dig_buffer = new_fluid("Digestion Buffer", "10mM NaCl, 10mM TRIS (pH 8.0), 10mM EDTA (pH 8.0), 0.5% SDS"); Fluid proteinasek = new_fluid("Proteinase K", "20mg/ml"); Fluid naac = new_fluid("Sodium Acetate...
39.904348
80
0.705382
[ "solid" ]
1e098573d832b26c5e6037fc1245dd4284f3f2a5
12,022
inl
C++
projects/Phantom/phantom/utils/Variant.inl
vlmillet/phantom
e5579ea52dafded64fd2fe88aabfdf8a73534918
[ "MIT" ]
12
2019-12-26T00:55:39.000Z
2020-12-03T14:46:56.000Z
projects/Phantom/phantom/utils/Variant.inl
vlmillet/Phantom
e5579ea52dafded64fd2fe88aabfdf8a73534918
[ "MIT" ]
null
null
null
projects/Phantom/phantom/utils/Variant.inl
vlmillet/Phantom
e5579ea52dafded64fd2fe88aabfdf8a73534918
[ "MIT" ]
1
2020-12-09T11:47:13.000Z
2020-12-09T11:47:13.000Z
// license [ // This file is part of the Phantom project. Copyright 2011-2020 Vivien Millet. // Distributed under the MIT license. Text available here at // https://github.com/vlmillet/phantom // ] #include <phantom/lang/TypeOf.h> namespace phantom { namespace detail { template<class t_Ty> st...
32.058667
130
0.570621
[ "object" ]
1e0b1a0e88ddc6b74d2c3559b742dcb482a09692
32,783
cpp
C++
src/caffe/blob.cpp
naibaf7/caffe
29960153c828820b1abb55a5792283742f57caa2
[ "Intel", "BSD-2-Clause" ]
89
2015-04-20T01:25:01.000Z
2021-12-07T17:03:28.000Z
src/caffe/blob.cpp
Miaomz/caffe-opencl
505693d54298b89cf83b54778479087cff2f3bd6
[ "Intel", "BSD-2-Clause" ]
62
2015-06-18T13:11:20.000Z
2019-02-19T05:00:10.000Z
src/caffe/blob.cpp
Miaomz/caffe-opencl
505693d54298b89cf83b54778479087cff2f3bd6
[ "Intel", "BSD-2-Clause" ]
30
2015-07-05T17:08:09.000Z
2022-02-10T13:16:02.000Z
#include <climits> #include <vector> #include "caffe/blob.hpp" #include "caffe/backend/device.hpp" #include "caffe/common.hpp" #include "caffe/syncedmem.hpp" #include "caffe/util/math_functions.hpp" #include "caffe/util/type_utils.hpp" #include "caffe/quantizer.hpp" #include "caffe/quantizer_creator.hpp" namespace c...
28.38355
86
0.658207
[ "shape", "vector" ]
1e0b7329df7877b1baa963abbfde25354145b627
692
cpp
C++
Util/IDTriple.cpp
SoftlySpoken/gStore
b2cf71288ccef376640000965aff7c430101446a
[ "BSD-3-Clause" ]
150
2015-01-14T15:06:38.000Z
2018-08-28T09:34:17.000Z
Util/IDTriple.cpp
SoftlySpoken/gStore
b2cf71288ccef376640000965aff7c430101446a
[ "BSD-3-Clause" ]
28
2015-05-11T02:45:39.000Z
2018-08-24T11:43:17.000Z
Util/IDTriple.cpp
SoftlySpoken/gStore
b2cf71288ccef376640000965aff7c430101446a
[ "BSD-3-Clause" ]
91
2015-05-04T09:52:41.000Z
2018-08-18T13:02:15.000Z
#include "IDTriple.h" bool IDTriple::operator < (const IDTriple& a) const { if(this->subject < a.get_subject()) return true; else if(this->subject > a.get_subject()) return false; else { if(this->predicate < a.get_predicate()) return true; else if(this->predicate > a.get_predicate()) return false; else { ...
23.066667
117
0.66185
[ "object" ]
1e0eb9c103a71df75abaa97b62e4f670a880004f
483
hpp
C++
src/Kononov/Task5/Renderable.hpp
sadads1337/fit-gl
88d9ae1f1935301d71ae6e090aff24e6829a7580
[ "MIT" ]
2
2021-04-25T15:18:40.000Z
2022-02-27T15:44:04.000Z
src/Kononov/Task5/Renderable.hpp
sadads1337/fit-gl
88d9ae1f1935301d71ae6e090aff24e6829a7580
[ "MIT" ]
31
2021-02-17T21:12:59.000Z
2021-05-26T07:06:59.000Z
src/Kononov/Task5/Renderable.hpp
sadads1337/fit-gl
88d9ae1f1935301d71ae6e090aff24e6829a7580
[ "MIT" ]
9
2021-02-08T08:52:51.000Z
2022-02-27T15:43:55.000Z
#pragma once #include <optional> #include "Geometry.hpp" namespace Kononov { class Renderable { public: Renderable() = default; Renderable(const Renderable &) = default; Renderable(Renderable &&) noexcept = default; virtual ~Renderable() = default; Renderable &operator=(const Renderable &) = default; Re...
21.954545
79
0.710145
[ "geometry" ]
1f6154db3fd310b80559df4b7c95094d61c18a8d
10,868
cpp
C++
goodEatsSystem/src/System.cpp
PashaBarahimi/GoodEatsWeb
a8c173298323b072c973a8218bb63485fc1aba33
[ "MIT" ]
null
null
null
goodEatsSystem/src/System.cpp
PashaBarahimi/GoodEatsWeb
a8c173298323b072c973a8218bb63485fc1aba33
[ "MIT" ]
null
null
null
goodEatsSystem/src/System.cpp
PashaBarahimi/GoodEatsWeb
a8c173298323b072c973a8218bb63485fc1aba33
[ "MIT" ]
null
null
null
#include "include/System.hpp" System::~System() { for (Chef* chef : chefs_) delete chef; for (User* user : users_) delete user; for (Shelf* shelf : shelves_) delete shelf; for (Recipe* recipe : recipes_) delete recipe; for (Recipe* recipe : deletedRecipes_) delete recipe; } std::string System::randStri...
29.939394
135
0.71982
[ "vector" ]
1f6283a6f200854cb89a9e28ff255b00e9cf1132
2,165
cpp
C++
lab_dict/anagram_dict.cpp
RongW99/fa21_cs225
60f546c4867e6e20e48d7775fc3efb2365b87e6e
[ "MIT" ]
null
null
null
lab_dict/anagram_dict.cpp
RongW99/fa21_cs225
60f546c4867e6e20e48d7775fc3efb2365b87e6e
[ "MIT" ]
null
null
null
lab_dict/anagram_dict.cpp
RongW99/fa21_cs225
60f546c4867e6e20e48d7775fc3efb2365b87e6e
[ "MIT" ]
null
null
null
/** * @file anagram_dict.cpp * Implementation of the AnagramDict class. * * @author Matt Joras * @date Winter 2013 */ #include "anagram_dict.h" #include <algorithm> /* I wonder why this is included... */ #include <fstream> using std::string; using std::vector; using std::ifstream; /** * Constructs an Anagram...
26.084337
71
0.642956
[ "vector" ]
1f6654ce16e64ceb5e214a97a3e65d30008589f8
5,376
cpp
C++
NetcodeClient/Network/NetwUtil.cpp
tyekx/netcode
c46fef1eeb33ad029d0c262d39309dfa83f76c4d
[ "MIT" ]
null
null
null
NetcodeClient/Network/NetwUtil.cpp
tyekx/netcode
c46fef1eeb33ad029d0c262d39309dfa83f76c4d
[ "MIT" ]
null
null
null
NetcodeClient/Network/NetwUtil.cpp
tyekx/netcode
c46fef1eeb33ad029d0c262d39309dfa83f76c4d
[ "MIT" ]
null
null
null
#include "NetwUtil.h" #include "../Services.h" #include "ReplArguments.hpp" #include "../Asset/ClientConverters.h" np::ClientUpdate * ParseClientUpdate(nn::GameMessage * message) { if(message == nullptr) { return nullptr; } np::ClientUpdate * upd = message->allocator->MakeProto<np::ClientUpdate>(); if(upd->Par...
33.391304
168
0.751116
[ "object", "transform" ]
1f76d8656e4abd99b3d62e7248cd0f205a6363f2
2,725
cpp
C++
data/transcoder_evaluation_gfg/cpp/SMALLEST_DIFFERENCE_PAIR_VALUES_TWO_UNSORTED_ARRAYS.cpp
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
241
2021-07-20T08:35:20.000Z
2022-03-31T02:39:08.000Z
data/transcoder_evaluation_gfg/cpp/SMALLEST_DIFFERENCE_PAIR_VALUES_TWO_UNSORTED_ARRAYS.cpp
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
49
2021-07-22T23:18:42.000Z
2022-03-24T09:15:26.000Z
data/transcoder_evaluation_gfg/cpp/SMALLEST_DIFFERENCE_PAIR_VALUES_TWO_UNSORTED_ARRAYS.cpp
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
71
2021-07-21T05:17:52.000Z
2022-03-29T23:49:28.000Z
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // #include <iostream> #include <cstdlib> #include <string> #include <vector> #include <fstream> #include <iomanip> #include...
57.978723
778
0.559633
[ "vector" ]
1f7942be403cb861d47bd540c4f575b4ed4f26c7
1,048
cpp
C++
3sum.cpp
kunwar-vikrant/LeetCode-Problems
cf432b7723c53563dc7635617f53e43376493daa
[ "MIT" ]
1
2020-05-13T15:21:24.000Z
2020-05-13T15:21:24.000Z
3sum.cpp
kunwar-vikrant/Codechef
96d89e5efd0f32e88fdf2b9199adac99ef33804d
[ "MIT" ]
null
null
null
3sum.cpp
kunwar-vikrant/Codechef
96d89e5efd0f32e88fdf2b9199adac99ef33804d
[ "MIT" ]
null
null
null
#include<iostream> #include<vector> #include<algorithm> #include<unordered_set> using namespace std; // vector<vector<int>> find_duplicates(vector<vector<int>> v, int n){ // vector<vecto<int>> r; // for(int i = 0; i < n; i++){ // for(int j = 0; j < v[i].size(); j++){ // } // } // } i...
16.903226
70
0.501908
[ "vector" ]
1f7967adb481d2880453e5797092e0dc45586858
6,224
cpp
C++
mlir/transforms/optimizations/IdentityPairRemovalPass.cpp
tnguyen-ornl/qcor
f198798cdf8229906a52b54f872512debdb2e835
[ "BSD-3-Clause" ]
null
null
null
mlir/transforms/optimizations/IdentityPairRemovalPass.cpp
tnguyen-ornl/qcor
f198798cdf8229906a52b54f872512debdb2e835
[ "BSD-3-Clause" ]
null
null
null
mlir/transforms/optimizations/IdentityPairRemovalPass.cpp
tnguyen-ornl/qcor
f198798cdf8229906a52b54f872512debdb2e835
[ "BSD-3-Clause" ]
null
null
null
/******************************************************************************* * Copyright (c) 2018-, UT-Battelle, LLC. * All rights reserved. This program and the accompanying materials * are made available under the terms of the BSD 3-Clause License * which accompanies this distribution. * * Contributors: ...
32.416667
81
0.632873
[ "vector" ]
1f79bafc50b985ac399c57d171c48a893507ebcf
7,617
cpp
C++
BGSubtractor.cpp
rlczddl/avatar
8c03dbdf4eed15219797285dbac6ca04e8f1b6f4
[ "Apache-2.0" ]
1
2022-02-14T09:38:16.000Z
2022-02-14T09:38:16.000Z
BGSubtractor.cpp
SFM2020/avatar
8c03dbdf4eed15219797285dbac6ca04e8f1b6f4
[ "Apache-2.0" ]
null
null
null
BGSubtractor.cpp
SFM2020/avatar
8c03dbdf4eed15219797285dbac6ca04e8f1b6f4
[ "Apache-2.0" ]
null
null
null
#include "BGSubtractor.h" #include <atomic> #include <thread> #include <opencv2/imgcodecs.hpp> #include "Util.h" namespace ark { namespace { cv::Mat ffill( const cv::Mat& background, const cv::Mat& image, int size, int num_threads, float nn_dist_thresh, float neighb_thresh,...
46.163636
126
0.406591
[ "vector" ]
1f7b2aa0f32b2a604e645ef51397262541a1646e
9,063
cpp
C++
problem-solver/cxx/inferenceModule/test/units/TestTemplateSearchModule.cpp
NikitaZotov/ostis-inference
6c5c7ca37668e6b22ba1cf261101e12e1e46589d
[ "Apache-2.0" ]
null
null
null
problem-solver/cxx/inferenceModule/test/units/TestTemplateSearchModule.cpp
NikitaZotov/ostis-inference
6c5c7ca37668e6b22ba1cf261101e12e1e46589d
[ "Apache-2.0" ]
null
null
null
problem-solver/cxx/inferenceModule/test/units/TestTemplateSearchModule.cpp
NikitaZotov/ostis-inference
6c5c7ca37668e6b22ba1cf261101e12e1e46589d
[ "Apache-2.0" ]
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_test.hpp" #include "builder/src/scs_loader.hpp" #include "sc-agents-common/keynodes/coreKe...
42.549296
126
0.828644
[ "vector" ]
1f7fbcda2d501b014420f7ef318197f1040071bb
15,660
cpp
C++
src/vendor/mariadb-10.6.7/storage/columnstore/columnstore/dmlproc/batchinsertprocessor.cpp
zettadb/zettalib
3d5f96dc9e3e4aa255f4e6105489758944d37cc4
[ "Apache-2.0" ]
null
null
null
src/vendor/mariadb-10.6.7/storage/columnstore/columnstore/dmlproc/batchinsertprocessor.cpp
zettadb/zettalib
3d5f96dc9e3e4aa255f4e6105489758944d37cc4
[ "Apache-2.0" ]
null
null
null
src/vendor/mariadb-10.6.7/storage/columnstore/columnstore/dmlproc/batchinsertprocessor.cpp
zettadb/zettalib
3d5f96dc9e3e4aa255f4e6105489758944d37cc4
[ "Apache-2.0" ]
2
2022-02-27T14:00:01.000Z
2022-03-31T06:24:22.000Z
/* Copyright (C) 2014 InfiniDB, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in the hope that it will be useful, but W...
28.472727
146
0.559898
[ "vector" ]
1f81c07e1cd33d146fc665cda3db87c69cda1ba3
2,909
cpp
C++
SwaggerApi/source/model/SourceCodeFilesModel.cpp
macias2k4/Swagger-Qt
58182290f527a0999f7bda5fbfea3a338c29218a
[ "MIT" ]
1
2018-11-07T19:37:11.000Z
2018-11-07T19:37:11.000Z
SwaggerApi/source/model/SourceCodeFilesModel.cpp
macias2k4/Swagger-Qt
58182290f527a0999f7bda5fbfea3a338c29218a
[ "MIT" ]
1
2021-05-09T17:48:37.000Z
2021-05-09T17:48:37.000Z
SwaggerApi/source/model/SourceCodeFilesModel.cpp
macias2k4/Swagger-Qt
58182290f527a0999f7bda5fbfea3a338c29218a
[ "MIT" ]
null
null
null
#include "SourceCodeFilesModel.h" namespace Swagger { namespace Model { // ────────────────────────────────────────────────────────────────────────────────────────────── // SourceCodeFilesModel::SourceCodeFilesModel ( QObject *parent ) : QObject ( parent ) { } // ──────────────────────────────────────────────────...
44.753846
100
0.407356
[ "object", "model" ]
1f82f51ca50aa72dde73942ce4293c2262654e47
3,020
cc
C++
ecs/src/model/DescribeStorageSetDetailsResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
ecs/src/model/DescribeStorageSetDetailsResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
ecs/src/model/DescribeStorageSetDetailsResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
32.473118
109
0.757616
[ "vector", "model" ]